2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Cycript 0.9.
5 # Report bugs to <saurik@saurik.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.
14 # Copyright (C) 2009-2015 Jay Freeman (saurik)
15 ## -------------------- ##
16 ## M4sh Initialization. ##
17 ## -------------------- ##
19 # Be more Bourne compatible
20 DUALCASE
=1; export DUALCASE
# for MKS sh
21 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
24 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25 # is contrary to our usage. Disable this feature.
26 alias -g '${1+"$@"}'='"$@"'
29 case `(set -o) 2>/dev/null` in #(
41 # Printing a long string crashes Solaris 7 /usr/bin/printf.
42 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45 # Prefer a ksh shell builtin over an external printf program on Solaris,
46 # but without wasting forks for bash or zsh.
47 if test -z "$BASH_VERSION$ZSH_VERSION" \
48 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo_n='print
-rn --'
51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
55 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
57 as_echo_n='/usr
/ucb
/echo -n'
59 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
64 expr "X$arg" : "X\\(.*\\)$as_nl";
65 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
67 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
70 as_echo_n='sh
-c $as_echo_n_body as_echo
'
73 as_echo='sh
-c $as_echo_body as_echo
'
76 # The user is always right.
77 if test "${PATH_SEPARATOR+set}" != set; then
79 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
87 # We need space, tab and new line, in precisely that order. Quoting is
88 # there to prevent editors from complaining about space-tab.
89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
90 # splitting by setting IFS to empty value.)
93 # Find who we are. Look in the path if we contain no directory separator.
96 *[\\/]* ) as_myself=$0 ;;
97 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
101 test -z "$as_dir" && as_dir=.
102 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
108 # We did not find ourselves, most probably we were run as `sh COMMAND'
109 # in which case we are not to be found in the path.
110 if test "x$as_myself" = x
; then
113 if test ! -f "$as_myself"; then
114 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
118 # Unset variables that we do not need and which cause bugs (e.g. in
119 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
120 # suppresses any "Segmentation fault" message there. '((' could
121 # trigger a bug in pdksh 5.2.14.
122 for as_var
in BASH_ENV ENV MAIL MAILPATH
123 do eval test x\
${$as_var+set} = xset \
124 && ( (unset $as_var) || exit 1) >/dev
/null
2>&1 && unset $as_var || :
137 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
139 # Use a proper internal environment variable to ensure we don't fall
140 # into an infinite loop, continuously re-executing ourselves.
141 if test x
"${_as_can_reexec}" != xno
&& test "x$CONFIG_SHELL" != x
; then
142 _as_can_reexec
=no
; export _as_can_reexec
;
143 # We cannot yet assume a decent shell, so we have to provide a
144 # neutralization value for shells without unset; and this also
145 # works around shells that cannot unset nonexistent variables.
146 # Preserve -v and -x to the replacement shell.
149 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
151 *v
*x
* | *x
*v
* ) as_opts
=-vx ;;
156 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
157 # Admittedly, this is quite paranoid, since all the known shells bail
158 # out after a failed `exec'.
159 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
162 # We don't want this to propagate to other subprocesses.
163 { _as_can_reexec
=; unset _as_can_reexec
;}
164 if test "x$CONFIG_SHELL" = x
; then
165 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
168 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
169 # is contrary to our usage. Disable this feature.
170 alias -g '\${1+\"\$@\"}'='\"\$@\"'
173 case \`(set -o) 2>/dev/null\` in #(
181 as_required
="as_fn_return () { (exit \$1); }
182 as_fn_success () { as_fn_return 0; }
183 as_fn_failure () { as_fn_return 1; }
184 as_fn_ret_success () { return 0; }
185 as_fn_ret_failure () { return 1; }
188 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
189 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
190 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
191 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
192 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
195 exitcode=1; echo positional parameters were not saved.
197 test x\$exitcode = x0 || exit 1
199 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
200 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
201 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
202 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
204 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
205 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
206 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
207 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
208 PATH=/empty FPATH=/empty; export PATH FPATH
209 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
210 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
211 test \$(( 1 + 1 )) = 2 || exit 1"
212 if (eval "$as_required") 2>/dev
/null
; then :
217 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
220 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
222 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
225 test -z "$as_dir" && as_dir
=.
229 for as_base
in sh bash ksh sh5
; do
230 # Try only shells that exist, to save several forks.
231 as_shell
=$as_dir/$as_base
232 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
233 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
234 CONFIG_SHELL
=$as_shell as_have_required
=yes
235 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
243 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
244 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
245 CONFIG_SHELL
=$SHELL as_have_required
=yes
250 if test "x$CONFIG_SHELL" != x
; then :
252 # We cannot yet assume a decent shell, so we have to provide a
253 # neutralization value for shells without unset; and this also
254 # works around shells that cannot unset nonexistent variables.
255 # Preserve -v and -x to the replacement shell.
258 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
260 *v
*x
* | *x
*v
* ) as_opts
=-vx ;;
265 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
266 # Admittedly, this is quite paranoid, since all the known shells bail
267 # out after a failed `exec'.
268 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
272 if test x
$as_have_required = xno
; then :
273 $as_echo "$0: This script requires a shell more modern than all"
274 $as_echo "$0: the shells that I found on your system."
275 if test x
${ZSH_VERSION+set} = xset
; then
276 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
277 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
279 $as_echo "$0: Please tell bug-autoconf@gnu.org and saurik@saurik.com
280 $0: about your system, including any error possibly output
281 $0: before this message. Then install a modern shell, or
282 $0: manually run the script under such a shell if you do
289 SHELL
=${CONFIG_SHELL-/bin/sh}
291 # Unset more variables known to interfere with behavior of common tools.
292 CLICOLOR_FORCE
= GREP_OPTIONS
=
293 unset CLICOLOR_FORCE GREP_OPTIONS
295 ## --------------------- ##
296 ## M4sh Shell Functions. ##
297 ## --------------------- ##
300 # Portably unset VAR.
303 { eval $1=; unset $1;}
307 # as_fn_set_status STATUS
308 # -----------------------
309 # Set $? to STATUS, without forking.
317 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
327 # Create "$as_dir" as a directory, including parents if necessary.
332 -*) as_dir
=.
/$as_dir;;
334 test -d "$as_dir" || eval $as_mkdir_p || {
338 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
341 as_dirs
="'$as_qdir' $as_dirs"
342 as_dir
=`$as_dirname -- "$as_dir" ||
343 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
344 X"$as_dir" : 'X\(//\)[^/]' \| \
345 X"$as_dir" : 'X\(//\)$' \| \
346 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
347 $as_echo X"$as_dir" |
348 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
365 test -d "$as_dir" && break
367 test -z "$as_dirs" || eval "mkdir $as_dirs"
368 } || test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
373 # as_fn_executable_p FILE
374 # -----------------------
375 # Test if FILE is an executable regular file.
376 as_fn_executable_p
()
378 test -f "$1" && test -x "$1"
379 } # as_fn_executable_p
380 # as_fn_append VAR VALUE
381 # ----------------------
382 # Append the text in VALUE to the end of the definition contained in VAR. Take
383 # advantage of any shell optimizations that allow amortized linear growth over
384 # repeated appends, instead of the typical quadratic growth present in naive
386 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
387 eval 'as_fn_append ()
400 # Perform arithmetic evaluation on the ARGs, and store the result in the
401 # global $as_val. Take advantage of shells that can avoid forks. The arguments
402 # must be portable across $(()) and expr.
403 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
411 as_val
=`expr "$@" || test $? -eq 1`
416 # as_fn_error STATUS ERROR [LINENO LOG_FD]
417 # ----------------------------------------
418 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
419 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
420 # script with STATUS, using 1 if that was 0.
423 as_status
=$1; test $as_status -eq 0 && as_status
=1
425 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
426 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
428 $as_echo "$as_me: error: $2" >&2
429 as_fn_exit
$as_status
432 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
433 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
439 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
445 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
451 as_me
=`$as_basename -- "$0" ||
452 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
453 X"$0" : 'X\(//\)$' \| \
454 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
456 sed '/^.*\/\([^/][^/]*\)\/*$/{
470 # Avoid depending upon Character Ranges.
471 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
472 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
473 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
474 as_cr_digits
='0123456789'
475 as_cr_alnum
=$as_cr_Letters$as_cr_digits
478 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
479 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
480 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
481 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
482 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
494 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
498 chmod +x
"$as_me.lineno" ||
499 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
501 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
502 # already done that, so ensure we don't try to do so again and fall
503 # in an infinite loop. This has already happened in practice.
504 _as_can_reexec
=no
; export _as_can_reexec
505 # Don't try to exec as it changes $[0], causing all sort of problems
506 # (the dirname of $[0] is not the place where we might find the
507 # original and so on. Autoconf is especially sensitive to this).
509 # Exit status is that of the last command.
513 ECHO_C
= ECHO_N
= ECHO_T
=
514 case `echo -n x` in #(((((
516 case `echo 'xy\c'` in
517 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
519 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
526 rm -f conf$$ conf$$.exe conf$$.
file
527 if test -d conf$$.dir
; then
528 rm -f conf$$.dir
/conf$$.
file
531 mkdir conf$$.dir
2>/dev
/null
533 if (echo >conf$$.
file) 2>/dev
/null
; then
534 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
536 # ... but there are two gotchas:
537 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
538 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
539 # In both cases, we have to default to `cp -pR'.
540 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
542 elif ln conf$$.
file conf$$
2>/dev
/null
; then
550 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
551 rmdir conf$$.dir
2>/dev
/null
553 if mkdir -p .
2>/dev
/null
; then
554 as_mkdir_p
='mkdir -p "$as_dir"'
556 test -d .
/-p && rmdir .
/-p
561 as_executable_p
=as_fn_executable_p
563 # Sed expression to map a string onto a valid CPP name.
564 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
566 # Sed expression to map a string onto a valid variable name.
567 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
569 SHELL
=${CONFIG_SHELL-/bin/sh}
572 test -n "$DJDIR" || exec 7<&0 </dev
/null
576 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
577 # so uname gets run too.
578 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
583 ac_default_prefix
=/usr
/local
585 ac_config_libobj_dir
=.
592 # Identity of this package.
593 PACKAGE_NAME
='Cycript'
594 PACKAGE_TARNAME
='cycript'
595 PACKAGE_VERSION
='0.9'
596 PACKAGE_STRING
='Cycript 0.9'
597 PACKAGE_BUGREPORT
='saurik@saurik.com'
598 PACKAGE_URL
='http://www.cycript.org/'
600 ac_unique_file
="Console.cpp"
601 # Factoring default headers for most tests.
602 ac_includes_default
="\
604 #ifdef HAVE_SYS_TYPES_H
605 # include <sys/types.h>
607 #ifdef HAVE_SYS_STAT_H
608 # include <sys/stat.h>
614 # ifdef HAVE_STDLIB_H
619 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
624 #ifdef HAVE_STRINGS_H
625 # include <strings.h>
627 #ifdef HAVE_INTTYPES_H
628 # include <inttypes.h>
637 ac_subst_vars
='am__EXEEXT_FALSE
711 CXXCPPFLAGS_FOR_BUILD
734 am__fastdepOBJCXX_FALSE
735 am__fastdepOBJCXX_TRUE
764 MAINTAINER_MODE_FALSE
778 INSTALL_STRIP_PROGRAM
820 program_transform_name
833 enable_option_checking
835 enable_maintainer_mode
836 enable_dependency_tracking
850 ac_precious_vars
='build_alias
881 # Initialize some variables set by options.
883 ac_init_version
=false
884 ac_unrecognized_opts
=
886 # The variables have the same names as the options, with
887 # dashes changed to underlines.
895 program_transform_name
=s
,x
,x
,
903 # Installation directory options.
904 # These are left unexpanded so users can "make install exec_prefix=/foo"
905 # and all the variables that are supposed to be based on exec_prefix
906 # by default will actually change.
907 # Use braces instead of parens because sh, perl, etc. also accept them.
908 # (The list follows the same order as the GNU Coding Standards.)
909 bindir
='${exec_prefix}/bin'
910 sbindir
='${exec_prefix}/sbin'
911 libexecdir
='${exec_prefix}/libexec'
912 datarootdir
='${prefix}/share'
913 datadir
='${datarootdir}'
914 sysconfdir
='${prefix}/etc'
915 sharedstatedir
='${prefix}/com'
916 localstatedir
='${prefix}/var'
917 includedir
='${prefix}/include'
918 oldincludedir
='/usr/include'
919 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
920 infodir
='${datarootdir}/info'
925 libdir
='${exec_prefix}/lib'
926 localedir
='${datarootdir}/locale'
927 mandir
='${datarootdir}/man'
933 # If the previous option needs an argument, assign it.
934 if test -n "$ac_prev"; then
935 eval $ac_prev=\
$ac_option
941 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
946 # Accept the important Cygnus configure options, so we can diagnose typos.
948 case $ac_dashdash$ac_option in
952 -bindir | --bindir | --bindi | --bind | --bin | --bi)
954 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
957 -build | --build | --buil | --bui | --bu)
958 ac_prev
=build_alias
;;
959 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
960 build_alias
=$ac_optarg ;;
962 -cache-file | --cache-file | --cache-fil | --cache-fi \
963 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
964 ac_prev
=cache_file
;;
965 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
966 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
967 cache_file
=$ac_optarg ;;
970 cache_file
=config.cache
;;
972 -datadir | --datadir | --datadi | --datad)
974 -datadir=* | --datadir=* | --datadi=* | --datad=*)
975 datadir
=$ac_optarg ;;
977 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
978 | --dataroo | --dataro | --datar)
979 ac_prev
=datarootdir
;;
980 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
981 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
982 datarootdir
=$ac_optarg ;;
984 -disable-* | --disable-*)
985 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
986 # Reject names that are not valid shell variable names.
987 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
988 as_fn_error $?
"invalid feature name: $ac_useropt"
989 ac_useropt_orig
=$ac_useropt
990 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
991 case $ac_user_opts in
995 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
996 ac_unrecognized_sep
=', ';;
998 eval enable_
$ac_useropt=no
;;
1000 -docdir | --docdir | --docdi | --doc | --do)
1002 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1003 docdir
=$ac_optarg ;;
1005 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1007 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1008 dvidir
=$ac_optarg ;;
1010 -enable-* | --enable-*)
1011 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1012 # Reject names that are not valid shell variable names.
1013 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1014 as_fn_error $?
"invalid feature name: $ac_useropt"
1015 ac_useropt_orig
=$ac_useropt
1016 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1017 case $ac_user_opts in
1019 "enable_
$ac_useropt"
1021 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1022 ac_unrecognized_sep
=', ';;
1024 eval enable_
$ac_useropt=\
$ac_optarg ;;
1026 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1027 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1028 | --exec | --exe | --ex)
1029 ac_prev
=exec_prefix
;;
1030 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1031 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1032 | --exec=* | --exe=* | --ex=*)
1033 exec_prefix
=$ac_optarg ;;
1035 -gas | --gas | --ga | --g)
1036 # Obsolete; use --with-gas.
1039 -help | --help | --hel | --he | -h)
1040 ac_init_help
=long
;;
1041 -help=r
* | --help=r
* | --hel=r
* | --he=r
* | -hr*)
1042 ac_init_help
=recursive
;;
1043 -help=s
* | --help=s
* | --hel=s
* | --he=s
* | -hs*)
1044 ac_init_help
=short
;;
1046 -host | --host | --hos | --ho)
1047 ac_prev
=host_alias
;;
1048 -host=* | --host=* | --hos=* | --ho=*)
1049 host_alias
=$ac_optarg ;;
1051 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1053 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1055 htmldir
=$ac_optarg ;;
1057 -includedir | --includedir | --includedi | --included | --include \
1058 | --includ | --inclu | --incl | --inc)
1059 ac_prev
=includedir
;;
1060 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1061 | --includ=* | --inclu=* | --incl=* | --inc=*)
1062 includedir
=$ac_optarg ;;
1064 -infodir | --infodir | --infodi | --infod | --info | --inf)
1066 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1067 infodir
=$ac_optarg ;;
1069 -libdir | --libdir | --libdi | --libd)
1071 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1072 libdir
=$ac_optarg ;;
1074 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1075 | --libexe | --libex | --libe)
1076 ac_prev
=libexecdir
;;
1077 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1078 | --libexe=* | --libex=* | --libe=*)
1079 libexecdir
=$ac_optarg ;;
1081 -localedir | --localedir | --localedi | --localed | --locale)
1082 ac_prev
=localedir
;;
1083 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1084 localedir
=$ac_optarg ;;
1086 -localstatedir | --localstatedir | --localstatedi | --localstated \
1087 | --localstate | --localstat | --localsta | --localst | --locals)
1088 ac_prev
=localstatedir
;;
1089 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1090 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1091 localstatedir
=$ac_optarg ;;
1093 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1095 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1096 mandir
=$ac_optarg ;;
1098 -nfp | --nfp | --nf)
1099 # Obsolete; use --without-fp.
1102 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1103 | --no-cr | --no-c | -n)
1106 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1107 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1110 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1111 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1112 | --oldin | --oldi | --old | --ol | --o)
1113 ac_prev
=oldincludedir
;;
1114 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1115 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1116 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1117 oldincludedir
=$ac_optarg ;;
1119 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1121 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1122 prefix
=$ac_optarg ;;
1124 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1125 | --program-pre | --program-pr | --program-p)
1126 ac_prev
=program_prefix
;;
1127 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1128 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1129 program_prefix
=$ac_optarg ;;
1131 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1132 | --program-suf | --program-su | --program-s)
1133 ac_prev
=program_suffix
;;
1134 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1135 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1136 program_suffix
=$ac_optarg ;;
1138 -program-transform-name | --program-transform-name \
1139 | --program-transform-nam | --program-transform-na \
1140 | --program-transform-n | --program-transform- \
1141 | --program-transform | --program-transfor \
1142 | --program-transfo | --program-transf \
1143 | --program-trans | --program-tran \
1144 | --progr-tra | --program-tr | --program-t)
1145 ac_prev
=program_transform_name
;;
1146 -program-transform-name=* | --program-transform-name=* \
1147 | --program-transform-nam=* | --program-transform-na=* \
1148 | --program-transform-n=* | --program-transform-=* \
1149 | --program-transform=* | --program-transfor=* \
1150 | --program-transfo=* | --program-transf=* \
1151 | --program-trans=* | --program-tran=* \
1152 | --progr-tra=* | --program-tr=* | --program-t=*)
1153 program_transform_name
=$ac_optarg ;;
1155 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1157 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1158 pdfdir
=$ac_optarg ;;
1160 -psdir | --psdir | --psdi | --psd | --ps)
1162 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1165 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1166 | -silent | --silent | --silen | --sile | --sil)
1169 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1171 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1173 sbindir
=$ac_optarg ;;
1175 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1176 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1177 | --sharedst | --shareds | --shared | --share | --shar \
1179 ac_prev
=sharedstatedir
;;
1180 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1181 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1182 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1184 sharedstatedir
=$ac_optarg ;;
1186 -site | --site | --sit)
1188 -site=* | --site=* | --sit=*)
1191 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1193 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1194 srcdir
=$ac_optarg ;;
1196 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1197 | --syscon | --sysco | --sysc | --sys | --sy)
1198 ac_prev
=sysconfdir
;;
1199 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1200 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1201 sysconfdir
=$ac_optarg ;;
1203 -target | --target | --targe | --targ | --tar | --ta | --t)
1204 ac_prev
=target_alias
;;
1205 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1206 target_alias
=$ac_optarg ;;
1208 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1211 -version | --version | --versio | --versi | --vers | -V)
1212 ac_init_version
=: ;;
1215 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1216 # Reject names that are not valid shell variable names.
1217 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1218 as_fn_error $?
"invalid package name: $ac_useropt"
1219 ac_useropt_orig
=$ac_useropt
1220 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1221 case $ac_user_opts in
1225 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1226 ac_unrecognized_sep
=', ';;
1228 eval with_
$ac_useropt=\
$ac_optarg ;;
1230 -without-* | --without-*)
1231 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1232 # Reject names that are not valid shell variable names.
1233 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1234 as_fn_error $?
"invalid package name: $ac_useropt"
1235 ac_useropt_orig
=$ac_useropt
1236 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1237 case $ac_user_opts in
1241 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1242 ac_unrecognized_sep
=', ';;
1244 eval with_
$ac_useropt=no
;;
1247 # Obsolete; use --with-x.
1250 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1251 | --x-incl | --x-inc | --x-in | --x-i)
1252 ac_prev
=x_includes
;;
1253 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1254 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1255 x_includes
=$ac_optarg ;;
1257 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1258 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1259 ac_prev
=x_libraries
;;
1260 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1261 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1262 x_libraries
=$ac_optarg ;;
1264 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1265 Try \`$0 --help' for more information"
1269 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1270 # Reject names that are not valid shell variable names.
1271 case $ac_envvar in #(
1272 '' | [0-9]* | *[!_$as_cr_alnum]* )
1273 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1275 eval $ac_envvar=\
$ac_optarg
1276 export $ac_envvar ;;
1279 # FIXME: should be removed in autoconf 3.0.
1280 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1281 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1282 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1283 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1289 if test -n "$ac_prev"; then
1290 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1291 as_fn_error $?
"missing argument to $ac_option"
1294 if test -n "$ac_unrecognized_opts"; then
1295 case $enable_option_checking in
1297 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1298 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1302 # Check all directory arguments for consistency.
1303 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1304 datadir sysconfdir sharedstatedir localstatedir includedir \
1305 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1306 libdir localedir mandir
1308 eval ac_val
=\$
$ac_var
1309 # Remove trailing slashes.
1312 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1313 eval $ac_var=\
$ac_val;;
1315 # Be sure to have absolute directory names.
1317 [\\/$
]* | ?
:[\\/]* ) continue;;
1318 NONE
| '' ) case $ac_var in *prefix
) continue;; esac;;
1320 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1323 # There might be people who depend on the old broken behavior: `$host'
1324 # used to hold the argument of --host etc.
1325 # FIXME: To remove some day.
1328 target
=$target_alias
1330 # FIXME: To remove some day.
1331 if test "x$host_alias" != x
; then
1332 if test "x$build_alias" = x
; then
1333 cross_compiling
=maybe
1334 elif test "x$build_alias" != "x$host_alias"; then
1340 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1342 test "$silent" = yes && exec 6>/dev
/null
1345 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1346 ac_ls_di
=`ls -di .` &&
1347 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1348 as_fn_error $?
"working directory cannot be determined"
1349 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1350 as_fn_error $?
"pwd does not report name of working directory"
1353 # Find the source files, if location was not specified.
1354 if test -z "$srcdir"; then
1355 ac_srcdir_defaulted
=yes
1356 # Try the directory containing this script, then the parent directory.
1357 ac_confdir
=`$as_dirname -- "$as_myself" ||
1358 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1359 X"$as_myself" : 'X\(//\)[^/]' \| \
1360 X"$as_myself" : 'X\(//\)$' \| \
1361 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1362 $as_echo X"$as_myself" |
1363 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1381 if test ! -r "$srcdir/$ac_unique_file"; then
1385 ac_srcdir_defaulted
=no
1387 if test ! -r "$srcdir/$ac_unique_file"; then
1388 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1389 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1391 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1393 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1395 # When building in place, set srcdir=.
1396 if test "$ac_abs_confdir" = "$ac_pwd"; then
1399 # Remove unnecessary trailing slashes from srcdir.
1400 # Double slashes in file names in object file debugging info
1401 # mess up M-x gdb in Emacs.
1403 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1405 for ac_var
in $ac_precious_vars; do
1406 eval ac_env_
${ac_var}_set
=\
${${ac_var}+set}
1407 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1408 eval ac_cv_env_
${ac_var}_set
=\
${${ac_var}+set}
1409 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1413 # Report the --help message.
1415 if test "$ac_init_help" = "long"; then
1416 # Omit some internal or obsolete options to make the list less imposing.
1417 # This message is too long to be a string in the A/UX 3.1 sh.
1419 \`configure' configures Cycript 0.9 to adapt to many kinds of systems.
1421 Usage: $0 [OPTION]... [VAR=VALUE]...
1423 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1424 VAR=VALUE. See below for descriptions of some of the useful variables.
1426 Defaults for the options are specified in brackets.
1429 -h, --help display this help and exit
1430 --help=short display options specific to this package
1431 --help=recursive display the short help of all the included packages
1432 -V, --version display version information and exit
1433 -q, --quiet, --silent do not print \`checking ...' messages
1434 --cache-file=FILE cache test results in FILE [disabled]
1435 -C, --config-cache alias for \`--cache-file=config.cache'
1436 -n, --no-create do not create output files
1437 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1439 Installation directories:
1440 --prefix=PREFIX install architecture-independent files in PREFIX
1441 [$ac_default_prefix]
1442 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1445 By default, \`make install' will install all the files in
1446 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1447 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1448 for instance \`--prefix=\$HOME'.
1450 For better control, use the options below.
1452 Fine tuning of the installation directories:
1453 --bindir=DIR user executables [EPREFIX/bin]
1454 --sbindir=DIR system admin executables [EPREFIX/sbin]
1455 --libexecdir=DIR program executables [EPREFIX/libexec]
1456 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1457 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1458 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1459 --libdir=DIR object code libraries [EPREFIX/lib]
1460 --includedir=DIR C header files [PREFIX/include]
1461 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1462 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1463 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1464 --infodir=DIR info documentation [DATAROOTDIR/info]
1465 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1466 --mandir=DIR man documentation [DATAROOTDIR/man]
1467 --docdir=DIR documentation root [DATAROOTDIR/doc/cycript]
1468 --htmldir=DIR html documentation [DOCDIR]
1469 --dvidir=DIR dvi documentation [DOCDIR]
1470 --pdfdir=DIR pdf documentation [DOCDIR]
1471 --psdir=DIR ps documentation [DOCDIR]
1477 --program-prefix=PREFIX prepend PREFIX to installed program names
1478 --program-suffix=SUFFIX append SUFFIX to installed program names
1479 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1482 --build=BUILD configure
for building on BUILD
[guessed
]
1483 --host=HOST cross
-compile to build programs to run on HOST
[BUILD
]
1487 if test -n "$ac_init_help"; then
1488 case $ac_init_help in
1489 short
| recursive
) echo "Configuration of Cycript 0.9:";;
1494 --disable-option-checking ignore unrecognized
--enable/--with options
1495 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1496 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1497 --enable-silent-rules less verbose build output
(undo
: "make V=1")
1498 --disable-silent-rules verbose build output
(undo
: "make V=0")
1499 --enable-maintainer-mode
1500 enable make rules and dependencies not useful
(and
1501 sometimes confusing
) to the casual installer
1502 --enable-dependency-tracking
1503 do not reject slow dependency extractors
1504 --disable-dependency-tracking
1505 speeds up one
-time build
1506 --enable-static[=PKGS
] build static libraries
[default
=no
]
1507 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1508 --enable-fast-install[=PKGS
]
1509 optimize
for fast installation
[default
=yes]
1510 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1511 --enable-javascript[=ENGINE
]
1512 use a JavaScript runtime
(currently the only
1513 available option
for ENGINE is JavaScriptCore
)
1515 --disable-console disable console
1516 --disable-attach disable attach
1519 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1520 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1521 --with-pic[=PKGS
] try to use only PIC
/non
-PIC objects
[default
=use
1523 --with-aix-soname=aix
|svr4
|both
1524 shared library versioning
(aka
"SONAME") variant to
1525 provide on AIX
, [default
=aix
].
1526 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1527 --with-sysroot[=DIR
] Search
for dependent libraries within DIR
(or the
1528 compiler
's sysroot if not specified).
1529 --with-libclang build bridge definitions using this libclang
1531 Some influential environment variables:
1532 CC C compiler command
1533 CFLAGS C compiler flags
1534 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1535 nonstandard directory <lib dir>
1536 LIBS libraries to pass to the linker, e.g. -l<library>
1537 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1538 you have headers in a nonstandard directory <include dir>
1539 CXX C++ compiler command
1540 CXXFLAGS C++ compiler flags
1541 OBJCXX Objective C++ compiler command
1542 OBJCXXFLAGS Objective C++ compiler flags
1544 CXXCPP C++ preprocessor
1546 User-defined run-time library search path.
1547 PKG_CONFIG path to pkg-config utility
1549 directories to add to pkg-config's search path
1551 path overriding pkg
-config's built-in search path
1552 BISON GNU Project parser generator (yacc replacement)
1553 FLEX the fast lexical analyser generator
1554 GPERF perfect hash function generator
1555 GNUTAR a very sticky lump of files
1558 C compiler flags for WEBKIT, overriding pkg-config
1559 WEBKIT_LIBS linker flags for WEBKIT, overriding pkg-config
1561 C compiler flags for LIBFFI, overriding pkg-config
1562 LIBFFI_LIBS linker flags for LIBFFI, overriding pkg-config
1564 prints information about the current gnustep installation
1566 Use these variables to override the choices made by `configure' or to
help
1567 it to
find libraries and programs with nonstandard names
/locations.
1569 Report bugs to
<saurik@saurik.com
>.
1570 Cycript home page
: <http
://www.cycript.org
/>.
1575 if test "$ac_init_help" = "recursive"; then
1576 # If there are subdirs, report their specific --help.
1577 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1578 test -d "$ac_dir" ||
1579 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1584 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1586 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1587 # A ".." for each directory in $ac_dir_suffix.
1588 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1589 case $ac_top_builddir_sub in
1590 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1591 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1594 ac_abs_top_builddir
=$ac_pwd
1595 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1596 # for backward compatibility:
1597 ac_top_builddir
=$ac_top_build_prefix
1600 .
) # We are building in place.
1602 ac_top_srcdir
=$ac_top_builddir_sub
1603 ac_abs_top_srcdir
=$ac_pwd ;;
1604 [\\/]* | ?
:[\\/]* ) # Absolute name.
1605 ac_srcdir
=$srcdir$ac_dir_suffix;
1606 ac_top_srcdir
=$srcdir
1607 ac_abs_top_srcdir
=$srcdir ;;
1609 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1610 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1611 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1613 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1615 cd "$ac_dir" || { ac_status
=$?
; continue; }
1616 # Check for guested configure.
1617 if test -f "$ac_srcdir/configure.gnu"; then
1619 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1620 elif test -f "$ac_srcdir/configure"; then
1622 $SHELL "$ac_srcdir/configure" --help=recursive
1624 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1626 cd "$ac_pwd" || { ac_status
=$?
; break; }
1630 test -n "$ac_init_help" && exit $ac_status
1631 if $ac_init_version; then
1633 Cycript configure
0.9
1634 generated by GNU Autoconf
2.69
1636 Copyright
(C
) 2012 Free Software Foundation
, Inc.
1637 This configure
script is free software
; the Free Software Foundation
1638 gives unlimited permission to copy
, distribute and modify it.
1640 Copyright
(C
) 2009-2015 Jay Freeman
(saurik
)
1645 ## ------------------------ ##
1646 ## Autoconf initialization. ##
1647 ## ------------------------ ##
1649 # ac_fn_c_try_compile LINENO
1650 # --------------------------
1651 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1652 ac_fn_c_try_compile
()
1654 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1655 rm -f conftest.
$ac_objext
1656 if { { ac_try
="$ac_compile"
1658 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
1659 *) ac_try_echo=$ac_try;;
1661 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1662 $as_echo "$ac_try_echo"; } >&5
1663 (eval "$ac_compile") 2>conftest.err
1665 if test -s conftest.err; then
1666 grep -v '^ *+' conftest.err >conftest.er1
1667 cat conftest.er1 >&5
1668 mv -f conftest.er1 conftest.err
1670 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1671 test $ac_status = 0; } && {
1672 test -z "$ac_c_werror_flag" ||
1673 test ! -s conftest.err
1674 } && test -s conftest.$ac_objext; then :
1677 $as_echo "$as_me: failed program was:" >&5
1678 sed 's/^/| /' conftest.$ac_ext >&5
1682 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1683 as_fn_set_status $ac_retval
1685 } # ac_fn_c_try_compile
1687 # ac_fn_cxx_try_compile LINENO
1688 # ----------------------------
1689 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1690 ac_fn_cxx_try_compile ()
1692 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1693 rm -f conftest.$ac_objext
1694 if { { ac_try="$ac_compile"
1696 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
1697 *) ac_try_echo
=$ac_try;;
1699 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1700 $as_echo "$ac_try_echo"; } >&5
1701 (eval "$ac_compile") 2>conftest.err
1703 if test -s conftest.err
; then
1704 grep -v '^ *+' conftest.err
>conftest.er1
1705 cat conftest.er1
>&5
1706 mv -f conftest.er1 conftest.err
1708 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1709 test $ac_status = 0; } && {
1710 test -z "$ac_cxx_werror_flag" ||
1711 test ! -s conftest.err
1712 } && test -s conftest.
$ac_objext; then :
1715 $as_echo "$as_me: failed program was:" >&5
1716 sed 's/^/| /' conftest.
$ac_ext >&5
1720 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1721 as_fn_set_status
$ac_retval
1723 } # ac_fn_cxx_try_compile
1725 # ac_fn_objcxx_try_compile LINENO
1726 # -------------------------------
1727 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1728 ac_fn_objcxx_try_compile
()
1730 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1731 rm -f conftest.
$ac_objext
1732 if { { ac_try
="$ac_compile"
1734 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
1735 *) ac_try_echo=$ac_try;;
1737 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1738 $as_echo "$ac_try_echo"; } >&5
1739 (eval "$ac_compile") 2>conftest.err
1741 if test -s conftest.err; then
1742 grep -v '^ *+' conftest.err >conftest.er1
1743 cat conftest.er1 >&5
1744 mv -f conftest.er1 conftest.err
1746 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1747 test $ac_status = 0; } && {
1748 test -z "$ac_objcxx_werror_flag" ||
1749 test ! -s conftest.err
1750 } && test -s conftest.$ac_objext; then :
1753 $as_echo "$as_me: failed program was:" >&5
1754 sed 's/^/| /' conftest.$ac_ext >&5
1758 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1759 as_fn_set_status $ac_retval
1761 } # ac_fn_objcxx_try_compile
1763 # ac_fn_c_try_cpp LINENO
1764 # ----------------------
1765 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1768 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1769 if { { ac_try="$ac_cpp conftest.$ac_ext"
1771 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
1772 *) ac_try_echo
=$ac_try;;
1774 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1775 $as_echo "$ac_try_echo"; } >&5
1776 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1778 if test -s conftest.err
; then
1779 grep -v '^ *+' conftest.err
>conftest.er1
1780 cat conftest.er1
>&5
1781 mv -f conftest.er1 conftest.err
1783 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1784 test $ac_status = 0; } > conftest.i
&& {
1785 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1786 test ! -s conftest.err
1790 $as_echo "$as_me: failed program was:" >&5
1791 sed 's/^/| /' conftest.
$ac_ext >&5
1795 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1796 as_fn_set_status
$ac_retval
1800 # ac_fn_cxx_try_cpp LINENO
1801 # ------------------------
1802 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1803 ac_fn_cxx_try_cpp
()
1805 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1806 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1808 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
1809 *) ac_try_echo=$ac_try;;
1811 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1812 $as_echo "$ac_try_echo"; } >&5
1813 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1815 if test -s conftest.err; then
1816 grep -v '^ *+' conftest.err >conftest.er1
1817 cat conftest.er1 >&5
1818 mv -f conftest.er1 conftest.err
1820 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1821 test $ac_status = 0; } > conftest.i && {
1822 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1823 test ! -s conftest.err
1827 $as_echo "$as_me: failed program was:" >&5
1828 sed 's/^/| /' conftest.$ac_ext >&5
1832 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1833 as_fn_set_status $ac_retval
1835 } # ac_fn_cxx_try_cpp
1837 # ac_fn_c_try_link LINENO
1838 # -----------------------
1839 # Try to link conftest.$ac_ext, and return whether this succeeded.
1842 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1843 rm -f conftest.$ac_objext conftest$ac_exeext
1844 if { { ac_try="$ac_link"
1846 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
1847 *) ac_try_echo
=$ac_try;;
1849 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1850 $as_echo "$ac_try_echo"; } >&5
1851 (eval "$ac_link") 2>conftest.err
1853 if test -s conftest.err
; then
1854 grep -v '^ *+' conftest.err
>conftest.er1
1855 cat conftest.er1
>&5
1856 mv -f conftest.er1 conftest.err
1858 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1859 test $ac_status = 0; } && {
1860 test -z "$ac_c_werror_flag" ||
1861 test ! -s conftest.err
1862 } && test -s conftest
$ac_exeext && {
1863 test "$cross_compiling" = yes ||
1864 test -x conftest
$ac_exeext
1868 $as_echo "$as_me: failed program was:" >&5
1869 sed 's/^/| /' conftest.
$ac_ext >&5
1873 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1874 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1875 # interfere with the next link command; also delete a directory that is
1876 # left behind by Apple's compiler. We do this before executing the actions.
1877 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1878 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1879 as_fn_set_status
$ac_retval
1881 } # ac_fn_c_try_link
1883 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1884 # -------------------------------------------------------
1885 # Tests whether HEADER exists and can be compiled using the include files in
1886 # INCLUDES, setting the cache variable VAR accordingly.
1887 ac_fn_c_check_header_compile
()
1889 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1891 $as_echo_n "checking for $2... " >&6; }
1892 if eval \
${$3+:} false
; then :
1893 $as_echo_n "(cached) " >&6
1895 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1896 /* end confdefs.h. */
1900 if ac_fn_c_try_compile
"$LINENO"; then :
1905 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1909 $as_echo "$ac_res" >&6; }
1910 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1912 } # ac_fn_c_check_header_compile
1914 # ac_fn_c_try_run LINENO
1915 # ----------------------
1916 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1917 # that executables *can* be run.
1920 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1921 if { { ac_try
="$ac_link"
1923 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
1924 *) ac_try_echo=$ac_try;;
1926 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1927 $as_echo "$ac_try_echo"; } >&5
1928 (eval "$ac_link") 2>&5
1930 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1931 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1932 { { case "(($ac_try" in
1933 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
1934 *) ac_try_echo
=$ac_try;;
1936 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1937 $as_echo "$ac_try_echo"; } >&5
1938 (eval "$ac_try") 2>&5
1940 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1941 test $ac_status = 0; }; }; then :
1944 $as_echo "$as_me: program exited with status $ac_status" >&5
1945 $as_echo "$as_me: failed program was:" >&5
1946 sed 's/^/| /' conftest.
$ac_ext >&5
1948 ac_retval
=$ac_status
1950 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1951 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1952 as_fn_set_status
$ac_retval
1956 # ac_fn_c_check_func LINENO FUNC VAR
1957 # ----------------------------------
1958 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1959 ac_fn_c_check_func
()
1961 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1963 $as_echo_n "checking for $2... " >&6; }
1964 if eval \
${$3+:} false
; then :
1965 $as_echo_n "(cached) " >&6
1967 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1968 /* end confdefs.h. */
1969 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1970 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1971 #define $2 innocuous_$2
1973 /* System header to define __stub macros and hopefully few prototypes,
1974 which can conflict with char $2 (); below.
1975 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1976 <limits.h> exists even on freestanding compilers. */
1979 # include <limits.h>
1981 # include <assert.h>
1986 /* Override any GCC internal prototype to avoid an error.
1987 Use char because int might match the return type of a GCC
1988 builtin and then its argument prototype would still apply. */
1993 /* The GNU C library defines this for functions which it implements
1994 to always fail with ENOSYS. Some functions are actually named
1995 something starting with __ and the normal name is an alias. */
1996 #if defined __stub_$2 || defined __stub___$2
2008 if ac_fn_c_try_link
"$LINENO"; then :
2013 rm -f core conftest.err conftest.
$ac_objext \
2014 conftest
$ac_exeext conftest.
$ac_ext
2017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2018 $as_echo "$ac_res" >&6; }
2019 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2021 } # ac_fn_c_check_func
2023 # ac_fn_cxx_try_link LINENO
2024 # -------------------------
2025 # Try to link conftest.$ac_ext, and return whether this succeeded.
2026 ac_fn_cxx_try_link
()
2028 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2029 rm -f conftest.
$ac_objext conftest
$ac_exeext
2030 if { { ac_try
="$ac_link"
2032 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
2033 *) ac_try_echo=$ac_try;;
2035 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2036 $as_echo "$ac_try_echo"; } >&5
2037 (eval "$ac_link") 2>conftest.err
2039 if test -s conftest.err; then
2040 grep -v '^ *+' conftest.err >conftest.er1
2041 cat conftest.er1 >&5
2042 mv -f conftest.er1 conftest.err
2044 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2045 test $ac_status = 0; } && {
2046 test -z "$ac_cxx_werror_flag" ||
2047 test ! -s conftest.err
2048 } && test -s conftest$ac_exeext && {
2049 test "$cross_compiling" = yes ||
2050 test -x conftest$ac_exeext
2054 $as_echo "$as_me: failed program was:" >&5
2055 sed 's/^/| /' conftest.$ac_ext >&5
2059 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2060 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2061 # interfere with the next link command; also delete a directory that is
2062 # left behind by Apple's compiler. We do this before executing the actions.
2063 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2064 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2065 as_fn_set_status $ac_retval
2067 } # ac_fn_cxx_try_link
2069 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2070 # ---------------------------------------------------------
2071 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2072 # the include files in INCLUDES and setting the cache variable VAR
2074 ac_fn_cxx_check_header_mongrel ()
2076 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2077 if eval \${$3+:} false; then :
2078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2079 $as_echo_n "checking for $2... " >&6; }
2080 if eval \${$3+:} false; then :
2081 $as_echo_n "(cached) " >&6
2084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2085 $as_echo "$ac_res" >&6; }
2087 # Is the header compilable?
2088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2089 $as_echo_n "checking $2 usability... " >&6; }
2090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2091 /* end confdefs.h. */
2095 if ac_fn_cxx_try_compile "$LINENO"; then :
2096 ac_header_compiler=yes
2098 ac_header_compiler=no
2100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2102 $as_echo "$ac_header_compiler" >&6; }
2104 # Is the header present?
2105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2106 $as_echo_n "checking $2 presence... " >&6; }
2107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2108 /* end confdefs.h. */
2111 if ac_fn_cxx_try_cpp "$LINENO"; then :
2112 ac_header_preproc=yes
2114 ac_header_preproc=no
2116 rm -f conftest.err conftest.i conftest.$ac_ext
2117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2118 $as_echo "$ac_header_preproc" >&6; }
2120 # So? What about this header?
2121 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2123 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2124 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2125 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2126 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2129 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2130 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2131 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2132 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2133 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2134 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2135 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2136 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2137 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2138 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2139 ( $as_echo "## -------------------------------- ##
2140 ## Report this to saurik@saurik.com ##
2141 ## -------------------------------- ##"
2142 ) | sed "s/^/$as_me: WARNING: /" >&2
2145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2146 $as_echo_n "checking for $2... " >&6; }
2147 if eval \${$3+:} false; then :
2148 $as_echo_n "(cached) " >&6
2150 eval "$3=\$ac_header_compiler"
2153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2154 $as_echo "$ac_res" >&6; }
2156 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2158 } # ac_fn_cxx_check_header_mongrel
2160 # ac_fn_cxx_check_func LINENO FUNC VAR
2161 # ------------------------------------
2162 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2163 ac_fn_cxx_check_func ()
2165 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2167 $as_echo_n "checking for $2... " >&6; }
2168 if eval \${$3+:} false; then :
2169 $as_echo_n "(cached) " >&6
2171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2172 /* end confdefs.h. */
2173 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2174 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2175 #define $2 innocuous_$2
2177 /* System header to define __stub macros and hopefully few prototypes,
2178 which can conflict with char $2 (); below.
2179 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2180 <limits.h> exists even on freestanding compilers. */
2183 # include <limits.h>
2185 # include <assert.h>
2190 /* Override any GCC internal prototype to avoid an error.
2191 Use char because int might match the return type of a GCC
2192 builtin and then its argument prototype would still apply. */
2197 /* The GNU C library defines this for functions which it implements
2198 to always fail with ENOSYS. Some functions are actually named
2199 something starting with __ and the normal name is an alias. */
2200 #if defined __stub_$2 || defined __stub___$2
2212 if ac_fn_cxx_try_link "$LINENO"; then :
2217 rm -f core conftest.err conftest.$ac_objext \
2218 conftest$ac_exeext conftest.$ac_ext
2221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2222 $as_echo "$ac_res" >&6; }
2223 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2225 } # ac_fn_cxx_check_func
2227 # ac_fn_objcxx_try_link LINENO
2228 # ----------------------------
2229 # Try to link conftest.$ac_ext, and return whether this succeeded.
2230 ac_fn_objcxx_try_link ()
2232 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2233 rm -f conftest.$ac_objext conftest$ac_exeext
2234 if { { ac_try="$ac_link"
2236 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
2237 *) ac_try_echo
=$ac_try;;
2239 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2240 $as_echo "$ac_try_echo"; } >&5
2241 (eval "$ac_link") 2>conftest.err
2243 if test -s conftest.err
; then
2244 grep -v '^ *+' conftest.err
>conftest.er1
2245 cat conftest.er1
>&5
2246 mv -f conftest.er1 conftest.err
2248 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2249 test $ac_status = 0; } && {
2250 test -z "$ac_objcxx_werror_flag" ||
2251 test ! -s conftest.err
2252 } && test -s conftest
$ac_exeext && {
2253 test "$cross_compiling" = yes ||
2254 test -x conftest
$ac_exeext
2258 $as_echo "$as_me: failed program was:" >&5
2259 sed 's/^/| /' conftest.
$ac_ext >&5
2263 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2264 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2265 # interfere with the next link command; also delete a directory that is
2266 # left behind by Apple's compiler. We do this before executing the actions.
2267 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2268 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2269 as_fn_set_status
$ac_retval
2271 } # ac_fn_objcxx_try_link
2272 cat >config.log
<<_ACEOF
2273 This file contains any messages produced by compilers while
2274 running configure, to aid debugging if configure makes a mistake.
2276 It was created by Cycript $as_me 0.9, which was
2277 generated by GNU Autoconf 2.69. Invocation command line was
2289 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2290 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2291 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2292 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2293 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2295 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2296 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2298 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2299 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2300 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2301 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2302 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2303 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2304 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2308 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2312 test -z "$as_dir" && as_dir
=.
2313 $as_echo "PATH: $as_dir"
2329 # Keep a trace of the command line.
2330 # Strip out --no-create and --no-recursion so they do not pile up.
2331 # Strip out --silent because we don't want to record it for future runs.
2332 # Also quote any args containing shell meta-characters.
2333 # Make two passes to allow for proper duplicate-argument suppression.
2337 ac_must_keep_next
=false
2343 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2344 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2345 | -silent | --silent | --silen | --sile | --sil)
2348 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2351 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2353 as_fn_append ac_configure_args1
" '$ac_arg'"
2354 if test $ac_must_keep_next = true
; then
2355 ac_must_keep_next
=false
# Got value, back to normal.
2358 *=* | --config-cache | -C | -disable-* | --disable-* \
2359 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2360 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2361 | -with-* | --with-* | -without-* | --without-* | --x)
2362 case "$ac_configure_args0 " in
2363 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2366 -* ) ac_must_keep_next
=true
;;
2369 as_fn_append ac_configure_args
" '$ac_arg'"
2374 { ac_configure_args0
=; unset ac_configure_args0
;}
2375 { ac_configure_args1
=; unset ac_configure_args1
;}
2377 # When interrupted or exit'd, cleanup temporary files, and complete
2378 # config.log. We remove comments because anyway the quotes in there
2379 # would cause problems or look ugly.
2380 # WARNING: Use '\'' to represent an apostrophe within the trap.
2381 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2382 trap 'exit_status=$?
2383 # Save into config.log some information that might help in debugging.
2387 $as_echo "## ---------------- ##
2388 ## Cache variables. ##
2389 ## ---------------- ##"
2391 # The following way of writing the cache mishandles newlines in values,
2393 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2394 eval ac_val=\$$ac_var
2398 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2399 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2402 _ | IFS | as_nl) ;; #(
2403 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2404 *) { eval $ac_var=; unset $ac_var;} ;;
2409 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2410 *${as_nl}ac_space=\ *)
2412 "s/'\''/'\''\\\\'\'''\''/g;
2413 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2416 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2423 $as_echo "## ----------------- ##
2424 ## Output variables. ##
2425 ## ----------------- ##"
2427 for ac_var in $ac_subst_vars
2429 eval ac_val=\$$ac_var
2431 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2433 $as_echo "$ac_var='\''$ac_val'\''"
2437 if test -n "$ac_subst_files"; then
2438 $as_echo "## ------------------- ##
2439 ## File substitutions. ##
2440 ## ------------------- ##"
2442 for ac_var
in $ac_subst_files
2444 eval ac_val
=\$
$ac_var
2446 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2448 $as_echo "$ac_var='\''$ac_val'\''"
2453 if test -s confdefs.h; then
2454 $as_echo "## ----------- ##
2461 test "$ac_signal" != 0 &&
2462 $as_echo "$as_me: caught signal $ac_signal"
2463 $as_echo "$as_me: exit $exit_status"
2465 rm -f core *.core core.conftest.* &&
2466 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2469 for ac_signal
in 1 2 13 15; do
2470 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2474 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2475 rm -f -r conftest
* confdefs.h
2477 $as_echo "/* confdefs.h */" > confdefs.h
2479 # Predefined preprocessor variables.
2481 cat >>confdefs.h
<<_ACEOF
2482 #define PACKAGE_NAME "$PACKAGE_NAME"
2485 cat >>confdefs.h
<<_ACEOF
2486 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2489 cat >>confdefs.h
<<_ACEOF
2490 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2493 cat >>confdefs.h
<<_ACEOF
2494 #define PACKAGE_STRING "$PACKAGE_STRING"
2497 cat >>confdefs.h
<<_ACEOF
2498 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2501 cat >>confdefs.h
<<_ACEOF
2502 #define PACKAGE_URL "$PACKAGE_URL"
2506 # Let the site file select an alternate cache file if it wants to.
2507 # Prefer an explicitly selected file to automatically selected ones.
2510 if test -n "$CONFIG_SITE"; then
2511 # We do not want a PATH search for config.site.
2512 case $CONFIG_SITE in #((
2513 -*) ac_site_file1
=.
/$CONFIG_SITE;;
2514 */*) ac_site_file1
=$CONFIG_SITE;;
2515 *) ac_site_file1
=.
/$CONFIG_SITE;;
2517 elif test "x$prefix" != xNONE
; then
2518 ac_site_file1
=$prefix/share
/config.site
2519 ac_site_file2
=$prefix/etc
/config.site
2521 ac_site_file1
=$ac_default_prefix/share
/config.site
2522 ac_site_file2
=$ac_default_prefix/etc
/config.site
2524 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2526 test "x$ac_site_file" = xNONE
&& continue
2527 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2528 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2529 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2530 sed 's/^/| /' "$ac_site_file" >&5
2532 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2533 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2534 as_fn_error $?
"failed to load site script $ac_site_file
2535 See \`config.log' for more details" "$LINENO" 5; }
2539 if test -r "$cache_file"; then
2540 # Some versions of bash will fail to source /dev/null (special files
2541 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2542 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2543 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2544 $as_echo "$as_me: loading cache $cache_file" >&6;}
2546 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2547 *) .
"./$cache_file";;
2551 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2552 $as_echo "$as_me: creating cache $cache_file" >&6;}
2556 # Check that the precious variables saved in the cache have kept the same
2558 ac_cache_corrupted
=false
2559 for ac_var
in $ac_precious_vars; do
2560 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2561 eval ac_new_set
=\
$ac_env_${ac_var}_set
2562 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2563 eval ac_new_val
=\
$ac_env_${ac_var}_value
2564 case $ac_old_set,$ac_new_set in
2566 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2567 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2568 ac_cache_corrupted
=: ;;
2570 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2571 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2572 ac_cache_corrupted
=: ;;
2575 if test "x$ac_old_val" != "x$ac_new_val"; then
2576 # differences in whitespace do not lead to failure.
2577 ac_old_val_w
=`echo x $ac_old_val`
2578 ac_new_val_w
=`echo x $ac_new_val`
2579 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2580 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2581 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2582 ac_cache_corrupted
=:
2584 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2585 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2586 eval $ac_var=\
$ac_old_val
2588 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2589 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2590 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2591 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2594 # Pass precious variables to config.status.
2595 if test "$ac_new_set" = set; then
2597 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2598 *) ac_arg
=$ac_var=$ac_new_val ;;
2600 case " $ac_configure_args " in
2601 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2602 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2606 if $ac_cache_corrupted; then
2607 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2608 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2609 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2610 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2611 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2613 ## -------------------- ##
2614 ## Main body of script. ##
2615 ## -------------------- ##
2618 ac_cpp
='$CPP $CPPFLAGS'
2619 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2620 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2621 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2628 for ac_dir
in .
"$srcdir"/.
; do
2629 if test -f "$ac_dir/install-sh"; then
2631 ac_install_sh
="$ac_aux_dir/install-sh -c"
2633 elif test -f "$ac_dir/install.sh"; then
2635 ac_install_sh
="$ac_aux_dir/install.sh -c"
2637 elif test -f "$ac_dir/shtool"; then
2639 ac_install_sh
="$ac_aux_dir/shtool install -c"
2643 if test -z "$ac_aux_dir"; then
2644 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in . \"$srcdir\"/." "$LINENO" 5
2647 # These three variables are undocumented and unsupported,
2648 # and are intended to be withdrawn in a future Autoconf release.
2649 # They can cause serious problems if a builder's source tree is in a directory
2650 # whose full name contains unusual characters.
2651 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2652 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2653 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2657 ac_config_headers
="$ac_config_headers config.h"
2660 am__api_version
='1.15'
2662 # Find a good install program. We prefer a C program (faster),
2663 # so one script is as good as another. But avoid the broken or
2664 # incompatible versions:
2665 # SysV /etc/install, /usr/sbin/install
2666 # SunOS /usr/etc/install
2667 # IRIX /sbin/install
2669 # AmigaOS /C/install, which installs bootblocks on floppy discs
2670 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2671 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2672 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2673 # OS/2's system install, which has a completely different semantic
2674 # ./install, which can be erroneously created by make from ./install.sh.
2675 # Reject install programs that cannot install multiple files.
2676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2677 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2678 if test -z "$INSTALL"; then
2679 if ${ac_cv_path_install+:} false
; then :
2680 $as_echo_n "(cached) " >&6
2682 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2686 test -z "$as_dir" && as_dir
=.
2687 # Account for people who put trailing slashes in PATH elements.
2688 case $as_dir/ in #((
2689 .
/ | .
// | /[cC
]/* | \
2690 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
2691 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
2694 # OSF1 and SCO ODT 3.0 have their own names for install.
2695 # Don't use installbsd from OSF since it installs stuff as root
2697 for ac_prog
in ginstall scoinst
install; do
2698 for ac_exec_ext
in '' $ac_executable_extensions; do
2699 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
2700 if test $ac_prog = install &&
2701 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2702 # AIX install. It has an incompatible calling convention.
2704 elif test $ac_prog = install &&
2705 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2706 # program-specific install script used by HP pwplus--don't use.
2709 rm -rf conftest.one conftest.two conftest.dir
2710 echo one
> conftest.one
2711 echo two
> conftest.two
2713 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2714 test -s conftest.one
&& test -s conftest.two
&&
2715 test -s conftest.dir
/conftest.one
&&
2716 test -s conftest.dir
/conftest.two
2718 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2731 rm -rf conftest.one conftest.two conftest.dir
2734 if test "${ac_cv_path_install+set}" = set; then
2735 INSTALL
=$ac_cv_path_install
2737 # As a last resort, use the slow shell script. Don't cache a
2738 # value for INSTALL within a source directory, because that will
2739 # break other packages using the cache if that directory is
2740 # removed, or if the value is a relative name.
2741 INSTALL
=$ac_install_sh
2744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2745 $as_echo "$INSTALL" >&6; }
2747 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2748 # It thinks the first close brace ends the variable substitution.
2749 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2751 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2753 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2756 $as_echo_n "checking whether build environment is sane... " >&6; }
2757 # Reject unsafe characters in $srcdir or the absolute working directory
2758 # name. Accept space and tab only in the latter.
2762 *[\\\"\#\$\&\'\`$am_lf]*)
2763 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5;;
2766 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2767 as_fn_error $?
"unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2770 # Do 'set' in a subshell so we don't clobber the current shell's
2771 # arguments. Must try -L first in case configure is actually a
2772 # symlink; some systems play weird games with the mod time of symlinks
2773 # (eg FreeBSD returns the mod time of the symlink's containing
2777 for am_try
in 1 2; do
2778 echo "timestamp, slept: $am_has_slept" > conftest.
file
2779 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2780 if test "$*" = "X"; then
2782 set X
`ls -t "$srcdir/configure" conftest.file`
2784 if test "$*" != "X $srcdir/configure conftest.file" \
2785 && test "$*" != "X conftest.file $srcdir/configure"; then
2787 # If neither matched, then we have a broken ls. This can happen
2788 # if, for instance, CONFIG_SHELL is bash and it inherits a
2789 # broken ls alias from the environment. This has actually
2790 # happened. Such a system could not be considered "sane".
2791 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
2792 alias in your environment" "$LINENO" 5
2794 if test "$2" = conftest.
file || test $am_try -eq 2; then
2801 test "$2" = conftest.
file
2807 as_fn_error $?
"newly created file is older than distributed files!
2808 Check your system clock" "$LINENO" 5
2810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2811 $as_echo "yes" >&6; }
2812 # If we didn't sleep, we still need to ensure time stamps of config.status and
2813 # generated files are strictly newer.
2815 if grep 'slept: no' conftest.
file >/dev
/null
2>&1; then
2822 test "$program_prefix" != NONE
&&
2823 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2824 # Use a double $ so make ignores it.
2825 test "$program_suffix" != NONE
&&
2826 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2827 # Double any \ or $.
2828 # By default was `s,x,x', remove it if useless.
2829 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2830 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2832 # Expand $ac_aux_dir to an absolute path.
2833 am_aux_dir
=`cd "$ac_aux_dir" && pwd`
2835 if test x
"${MISSING+set}" != xset
; then
2838 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2840 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2843 # Use eval to expand $SHELL
2844 if eval "$MISSING --is-lightweight"; then
2845 am_missing_run
="$MISSING "
2848 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2849 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2852 if test x
"${install_sh+set}" != xset
; then
2855 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2857 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2861 # Installed binaries are usually stripped using 'strip' when the user
2862 # run "make install-strip". However 'strip' might not be the right
2863 # tool to use in cross-compilation environments, therefore Automake
2864 # will honor the 'STRIP' environment variable to overrule this program.
2865 if test "$cross_compiling" != no
; then
2866 if test -n "$ac_tool_prefix"; then
2867 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2868 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2870 $as_echo_n "checking for $ac_word... " >&6; }
2871 if ${ac_cv_prog_STRIP+:} false
; then :
2872 $as_echo_n "(cached) " >&6
2874 if test -n "$STRIP"; then
2875 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2877 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2881 test -z "$as_dir" && as_dir
=.
2882 for ac_exec_ext
in '' $ac_executable_extensions; do
2883 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2884 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2885 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2894 STRIP
=$ac_cv_prog_STRIP
2895 if test -n "$STRIP"; then
2896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2897 $as_echo "$STRIP" >&6; }
2899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2900 $as_echo "no" >&6; }
2905 if test -z "$ac_cv_prog_STRIP"; then
2907 # Extract the first word of "strip", so it can be a program name with args.
2908 set dummy strip
; ac_word
=$2
2909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2910 $as_echo_n "checking for $ac_word... " >&6; }
2911 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
2912 $as_echo_n "(cached) " >&6
2914 if test -n "$ac_ct_STRIP"; then
2915 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2917 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2921 test -z "$as_dir" && as_dir
=.
2922 for ac_exec_ext
in '' $ac_executable_extensions; do
2923 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2924 ac_cv_prog_ac_ct_STRIP
="strip"
2925 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2934 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2935 if test -n "$ac_ct_STRIP"; then
2936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2937 $as_echo "$ac_ct_STRIP" >&6; }
2939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2940 $as_echo "no" >&6; }
2943 if test "x$ac_ct_STRIP" = x
; then
2946 case $cross_compiling:$ac_tool_warned in
2948 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2949 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2950 ac_tool_warned
=yes ;;
2955 STRIP
="$ac_cv_prog_STRIP"
2959 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2962 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2963 if test -z "$MKDIR_P"; then
2964 if ${ac_cv_path_mkdir+:} false
; then :
2965 $as_echo_n "(cached) " >&6
2967 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2968 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2971 test -z "$as_dir" && as_dir
=.
2972 for ac_prog
in mkdir gmkdir
; do
2973 for ac_exec_ext
in '' $ac_executable_extensions; do
2974 as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext" || continue
2975 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2976 'mkdir (GNU coreutils) '* | \
2977 'mkdir (coreutils) '* | \
2978 'mkdir (fileutils) '4.1*)
2979 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2989 test -d .
/--version && rmdir .
/--version
2990 if test "${ac_cv_path_mkdir+set}" = set; then
2991 MKDIR_P
="$ac_cv_path_mkdir -p"
2993 # As a last resort, use the slow shell script. Don't cache a
2994 # value for MKDIR_P within a source directory, because that will
2995 # break other packages using the cache if that directory is
2996 # removed, or if the value is a relative name.
2997 MKDIR_P
="$ac_install_sh -d"
3000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3001 $as_echo "$MKDIR_P" >&6; }
3003 for ac_prog
in gawk mawk nawk
awk
3005 # Extract the first word of "$ac_prog", so it can be a program name with args.
3006 set dummy
$ac_prog; ac_word
=$2
3007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3008 $as_echo_n "checking for $ac_word... " >&6; }
3009 if ${ac_cv_prog_AWK+:} false
; then :
3010 $as_echo_n "(cached) " >&6
3012 if test -n "$AWK"; then
3013 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
3015 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3019 test -z "$as_dir" && as_dir
=.
3020 for ac_exec_ext
in '' $ac_executable_extensions; do
3021 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3022 ac_cv_prog_AWK
="$ac_prog"
3023 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3033 if test -n "$AWK"; then
3034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3035 $as_echo "$AWK" >&6; }
3037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3038 $as_echo "no" >&6; }
3042 test -n "$AWK" && break
3045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3046 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3048 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3049 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
3050 $as_echo_n "(cached) " >&6
3052 cat >conftest.
make <<\_ACEOF
3055 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3057 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3058 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3060 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3062 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3066 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3068 $as_echo "yes" >&6; }
3071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3072 $as_echo "no" >&6; }
3073 SET_MAKE
="MAKE=${MAKE-make}"
3076 rm -rf .tst
2>/dev
/null
3077 mkdir .tst
2>/dev
/null
3078 if test -d .tst
; then
3083 rmdir .tst
2>/dev
/null
3085 # Check whether --enable-silent-rules was given.
3086 if test "${enable_silent_rules+set}" = set; then :
3087 enableval
=$enable_silent_rules;
3090 case $enable_silent_rules in # (((
3091 yes) AM_DEFAULT_VERBOSITY
=0;;
3092 no
) AM_DEFAULT_VERBOSITY
=1;;
3093 *) AM_DEFAULT_VERBOSITY
=1;;
3095 am_make
=${MAKE-make}
3096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3097 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3098 if ${am_cv_make_support_nested_variables+:} false
; then :
3099 $as_echo_n "(cached) " >&6
3101 if $as_echo 'TRUE=$(BAR$(V))
3107 .PHONY: am__doit' | $am_make -f - >/dev
/null
2>&1; then
3108 am_cv_make_support_nested_variables
=yes
3110 am_cv_make_support_nested_variables
=no
3113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3114 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3115 if test $am_cv_make_support_nested_variables = yes; then
3117 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
3119 AM_V
=$AM_DEFAULT_VERBOSITY
3120 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
3124 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3125 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3126 # is not polluted with repeated "-I."
3127 am__isrc
=' -I$(srcdir)'
3128 # test to see if srcdir already configured
3129 if test -f $srcdir/config.status
; then
3130 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3134 # test whether we have cygpath
3135 if test -z "$CYGPATH_W"; then
3136 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
3137 CYGPATH_W
='cygpath -w'
3144 # Define the identity of the package.
3149 cat >>confdefs.h
<<_ACEOF
3150 #define PACKAGE "$PACKAGE"
3154 cat >>confdefs.h
<<_ACEOF
3155 #define VERSION "$VERSION"
3158 # Some tools Automake needs.
3160 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3163 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3166 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3169 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
3172 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
3174 # For better backward compatibility. To be removed once Automake 1.9.x
3175 # dies out for good. For more background, see:
3176 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3177 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3178 mkdir_p
='$(MKDIR_P)'
3180 # We need awk for the "check" target (and possibly the TAP driver). The
3181 # system "awk" is bad on some platforms.
3182 # Always define AMTAR for backward compatibility. Yes, it's still used
3183 # in the wild :-( We should find a proper way to deprecate it ...
3187 # We'll loop over all known methods to create a tar archive until one works.
3188 _am_tools
='gnutar pax cpio none'
3190 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
3197 # POSIX will say in a future version that running "rm -f" with no argument
3198 # is OK; and we want to be able to make that assumption in our Makefile
3199 # recipes. So use an aggressive probe to check that the usage we want is
3200 # actually supported "in the wild" to an acceptable degree.
3201 # See automake bug#10828.
3202 # To make any issue more visible, cause the running configure to be aborted
3203 # by default if the 'rm' program in use doesn't match our expectations; the
3204 # user can still override this though.
3205 if rm -f && rm -fr && rm -rf; then : OK
; else
3209 Your 'rm' program seems unable to run without file operands specified
3210 on the command line, even when the '-f' option is present. This is contrary
3211 to the behaviour of most rm programs out there, and not conforming with
3212 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3214 Please tell bug-automake@gnu.org about your system, including the value
3215 of your $PATH and any error possibly output before this message. This
3216 can help us improve future automake versions.
3219 if test x
"$ACCEPT_INFERIOR_RM_PROGRAM" = x
"yes"; then
3220 echo 'Configuration will proceed anyway, since you have set the' >&2
3221 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3225 Aborting the configuration process, to ensure you take notice of the issue.
3227 You can download and install GNU coreutils to get an 'rm' implementation
3228 that behaves properly: <http://www.gnu.org/software/coreutils/>.
3230 If you want to complete the configuration process using your problematic
3231 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3232 to "yes", and re-run configure.
3235 as_fn_error $?
"Your 'rm' program is bad, sorry." "$LINENO" 5
3240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3241 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3242 # Check whether --enable-maintainer-mode was given.
3243 if test "${enable_maintainer_mode+set}" = set; then :
3244 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
3246 USE_MAINTAINER_MODE
=no
3249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3250 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3251 if test $USE_MAINTAINER_MODE = yes; then
3252 MAINTAINER_MODE_TRUE
=
3253 MAINTAINER_MODE_FALSE
='#'
3255 MAINTAINER_MODE_TRUE
='#'
3256 MAINTAINER_MODE_FALSE
=
3259 MAINT
=$MAINTAINER_MODE_TRUE
3264 ac_cpp
='$CPP $CPPFLAGS'
3265 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3266 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3267 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3268 if test -n "$ac_tool_prefix"; then
3269 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3270 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3272 $as_echo_n "checking for $ac_word... " >&6; }
3273 if ${ac_cv_prog_CC+:} false
; then :
3274 $as_echo_n "(cached) " >&6
3276 if test -n "$CC"; then
3277 ac_cv_prog_CC
="$CC" # Let the user override the test.
3279 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3283 test -z "$as_dir" && as_dir
=.
3284 for ac_exec_ext
in '' $ac_executable_extensions; do
3285 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3286 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3287 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3297 if test -n "$CC"; then
3298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3299 $as_echo "$CC" >&6; }
3301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3302 $as_echo "no" >&6; }
3307 if test -z "$ac_cv_prog_CC"; then
3309 # Extract the first word of "gcc", so it can be a program name with args.
3310 set dummy gcc
; ac_word
=$2
3311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3312 $as_echo_n "checking for $ac_word... " >&6; }
3313 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3314 $as_echo_n "(cached) " >&6
3316 if test -n "$ac_ct_CC"; then
3317 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3319 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3323 test -z "$as_dir" && as_dir
=.
3324 for ac_exec_ext
in '' $ac_executable_extensions; do
3325 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3326 ac_cv_prog_ac_ct_CC
="gcc"
3327 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3336 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3337 if test -n "$ac_ct_CC"; then
3338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3339 $as_echo "$ac_ct_CC" >&6; }
3341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3342 $as_echo "no" >&6; }
3345 if test "x$ac_ct_CC" = x
; then
3348 case $cross_compiling:$ac_tool_warned in
3350 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3351 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3352 ac_tool_warned
=yes ;;
3360 if test -z "$CC"; then
3361 if test -n "$ac_tool_prefix"; then
3362 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3363 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3365 $as_echo_n "checking for $ac_word... " >&6; }
3366 if ${ac_cv_prog_CC+:} false
; then :
3367 $as_echo_n "(cached) " >&6
3369 if test -n "$CC"; then
3370 ac_cv_prog_CC
="$CC" # Let the user override the test.
3372 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3376 test -z "$as_dir" && as_dir
=.
3377 for ac_exec_ext
in '' $ac_executable_extensions; do
3378 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3379 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3380 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3390 if test -n "$CC"; then
3391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3392 $as_echo "$CC" >&6; }
3394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3395 $as_echo "no" >&6; }
3401 if test -z "$CC"; then
3402 # Extract the first word of "cc", so it can be a program name with args.
3403 set dummy cc
; ac_word
=$2
3404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3405 $as_echo_n "checking for $ac_word... " >&6; }
3406 if ${ac_cv_prog_CC+:} false
; then :
3407 $as_echo_n "(cached) " >&6
3409 if test -n "$CC"; then
3410 ac_cv_prog_CC
="$CC" # Let the user override the test.
3413 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3417 test -z "$as_dir" && as_dir
=.
3418 for ac_exec_ext
in '' $ac_executable_extensions; do
3419 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3420 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3421 ac_prog_rejected
=yes
3425 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3432 if test $ac_prog_rejected = yes; then
3433 # We found a bogon in the path, so make sure we never use it.
3434 set dummy
$ac_cv_prog_CC
3436 if test $# != 0; then
3437 # We chose a different compiler from the bogus one.
3438 # However, it has the same basename, so the bogon will be chosen
3439 # first if we set CC to just the basename; use the full file name.
3441 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3447 if test -n "$CC"; then
3448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3449 $as_echo "$CC" >&6; }
3451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3452 $as_echo "no" >&6; }
3457 if test -z "$CC"; then
3458 if test -n "$ac_tool_prefix"; then
3459 for ac_prog
in cl.exe
3461 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3462 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3464 $as_echo_n "checking for $ac_word... " >&6; }
3465 if ${ac_cv_prog_CC+:} false
; then :
3466 $as_echo_n "(cached) " >&6
3468 if test -n "$CC"; then
3469 ac_cv_prog_CC
="$CC" # Let the user override the test.
3471 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3475 test -z "$as_dir" && as_dir
=.
3476 for ac_exec_ext
in '' $ac_executable_extensions; do
3477 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3478 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3479 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3489 if test -n "$CC"; then
3490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3491 $as_echo "$CC" >&6; }
3493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3494 $as_echo "no" >&6; }
3498 test -n "$CC" && break
3501 if test -z "$CC"; then
3503 for ac_prog
in cl.exe
3505 # Extract the first word of "$ac_prog", so it can be a program name with args.
3506 set dummy
$ac_prog; ac_word
=$2
3507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3508 $as_echo_n "checking for $ac_word... " >&6; }
3509 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3510 $as_echo_n "(cached) " >&6
3512 if test -n "$ac_ct_CC"; then
3513 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3515 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3519 test -z "$as_dir" && as_dir
=.
3520 for ac_exec_ext
in '' $ac_executable_extensions; do
3521 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3522 ac_cv_prog_ac_ct_CC
="$ac_prog"
3523 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3532 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3533 if test -n "$ac_ct_CC"; then
3534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3535 $as_echo "$ac_ct_CC" >&6; }
3537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3538 $as_echo "no" >&6; }
3542 test -n "$ac_ct_CC" && break
3545 if test "x$ac_ct_CC" = x
; then
3548 case $cross_compiling:$ac_tool_warned in
3550 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3551 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3552 ac_tool_warned
=yes ;;
3561 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3562 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3563 as_fn_error $?
"no acceptable C compiler found in \$PATH
3564 See \`config.log' for more details" "$LINENO" 5; }
3566 # Provide some information about the compiler.
3567 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3570 for ac_option
in --version -v -V -qversion; do
3571 { { ac_try
="$ac_compiler $ac_option >&5"
3573 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3574 *) ac_try_echo=$ac_try;;
3576 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3577 $as_echo "$ac_try_echo"; } >&5
3578 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3580 if test -s conftest.err; then
3582 ... rest of stderr output deleted ...
3583 10q' conftest.err >conftest.er1
3584 cat conftest.er1 >&5
3586 rm -f conftest.er1 conftest.err
3587 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3588 test $ac_status = 0; }
3591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3592 /* end confdefs.h. */
3602 ac_clean_files_save=$ac_clean_files
3603 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3604 # Try to create an executable without -o first, disregard a.out.
3605 # It will help us diagnose broken compilers, and finding out an intuition
3607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3608 $as_echo_n "checking whether the C compiler works... " >&6; }
3609 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3611 # The possible output files:
3612 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3615 for ac_file in $ac_files
3618 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3619 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3624 if { { ac_try="$ac_link_default"
3626 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
3627 *) ac_try_echo
=$ac_try;;
3629 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3630 $as_echo "$ac_try_echo"; } >&5
3631 (eval "$ac_link_default") 2>&5
3633 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3634 test $ac_status = 0; }; then :
3635 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3636 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3637 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3638 # so that the user can short-circuit this test for compilers unknown to
3640 for ac_file
in $ac_files ''
3642 test -f "$ac_file" || continue
3644 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.dSYM
| *.o
| *.obj
)
3647 # We found the default executable, but exeext='' is most
3651 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3653 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3655 # We set ac_cv_exeext here because the later test for it is not
3656 # safe: cross compilers may not add the suffix if given an `-o'
3657 # argument, so we may need to know it at that point already.
3658 # Even if this section looks crufty: it has the advantage of
3665 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3670 if test -z "$ac_file"; then :
3671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3672 $as_echo "no" >&6; }
3673 $as_echo "$as_me: failed program was:" >&5
3674 sed 's/^/| /' conftest.
$ac_ext >&5
3676 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3677 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3678 as_fn_error
77 "C compiler cannot create executables
3679 See \`config.log' for more details" "$LINENO" 5; }
3681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3682 $as_echo "yes" >&6; }
3684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3685 $as_echo_n "checking for C compiler default output file name... " >&6; }
3686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3687 $as_echo "$ac_file" >&6; }
3688 ac_exeext
=$ac_cv_exeext
3690 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3691 ac_clean_files
=$ac_clean_files_save
3692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3693 $as_echo_n "checking for suffix of executables... " >&6; }
3694 if { { ac_try
="$ac_link"
3696 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3697 *) ac_try_echo=$ac_try;;
3699 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3700 $as_echo "$ac_try_echo"; } >&5
3701 (eval "$ac_link") 2>&5
3703 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3704 test $ac_status = 0; }; then :
3705 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3706 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3707 # work properly (i.e., refer to `conftest.exe'), while it won't with
3709 for ac_file
in conftest.exe conftest conftest.
*; do
3710 test -f "$ac_file" || continue
3712 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.dSYM
| *.o
| *.obj
) ;;
3713 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3719 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3720 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3721 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3722 See \`config.log' for more details" "$LINENO" 5; }
3724 rm -f conftest conftest
$ac_cv_exeext
3725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3726 $as_echo "$ac_cv_exeext" >&6; }
3728 rm -f conftest.
$ac_ext
3729 EXEEXT
=$ac_cv_exeext
3731 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3732 /* end confdefs.h. */
3737 FILE *f = fopen ("conftest.out", "w");
3738 return ferror (f) || fclose (f) != 0;
3744 ac_clean_files
="$ac_clean_files conftest.out"
3745 # Check that the compiler produces executables we can run. If not, either
3746 # the compiler is broken, or we cross compile.
3747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3748 $as_echo_n "checking whether we are cross compiling... " >&6; }
3749 if test "$cross_compiling" != yes; then
3750 { { ac_try
="$ac_link"
3752 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3753 *) ac_try_echo=$ac_try;;
3755 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3756 $as_echo "$ac_try_echo"; } >&5
3757 (eval "$ac_link") 2>&5
3759 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3760 test $ac_status = 0; }
3761 if { ac_try='./conftest$ac_cv_exeext'
3762 { { case "(($ac_try" in
3763 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
3764 *) ac_try_echo
=$ac_try;;
3766 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3767 $as_echo "$ac_try_echo"; } >&5
3768 (eval "$ac_try") 2>&5
3770 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3771 test $ac_status = 0; }; }; then
3774 if test "$cross_compiling" = maybe
; then
3777 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3778 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3779 as_fn_error $?
"cannot run C compiled programs.
3780 If you meant to cross compile, use \`--host'.
3781 See \`config.log' for more details" "$LINENO" 5; }
3785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3786 $as_echo "$cross_compiling" >&6; }
3788 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3789 ac_clean_files
=$ac_clean_files_save
3790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3791 $as_echo_n "checking for suffix of object files... " >&6; }
3792 if ${ac_cv_objext+:} false
; then :
3793 $as_echo_n "(cached) " >&6
3795 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3796 /* end confdefs.h. */
3806 rm -f conftest.o conftest.obj
3807 if { { ac_try
="$ac_compile"
3809 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3810 *) ac_try_echo=$ac_try;;
3812 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3813 $as_echo "$ac_try_echo"; } >&5
3814 (eval "$ac_compile") 2>&5
3816 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3817 test $ac_status = 0; }; then :
3818 for ac_file in conftest.o conftest.obj conftest.*; do
3819 test -f "$ac_file" || continue;
3821 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3822 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3827 $as_echo "$as_me: failed program was:" >&5
3828 sed 's/^/| /' conftest.$ac_ext >&5
3830 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3831 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3832 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3833 See \
`config.log' for more details" "$LINENO" 5; }
3835 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3838 $as_echo "$ac_cv_objext" >&6; }
3839 OBJEXT=$ac_cv_objext
3841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3842 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3843 if ${ac_cv_c_compiler_gnu+:} false; then :
3844 $as_echo_n "(cached) " >&6
3846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3847 /* end confdefs.h. */
3860 if ac_fn_c_try_compile "$LINENO"; then :
3865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3866 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3870 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3871 if test $ac_compiler_gnu = yes; then
3876 ac_test_CFLAGS=${CFLAGS+set}
3877 ac_save_CFLAGS=$CFLAGS
3878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3879 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3880 if ${ac_cv_prog_cc_g+:} false; then :
3881 $as_echo_n "(cached) " >&6
3883 ac_save_c_werror_flag=$ac_c_werror_flag
3884 ac_c_werror_flag=yes
3887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3888 /* end confdefs.h. */
3898 if ac_fn_c_try_compile "$LINENO"; then :
3902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3903 /* end confdefs.h. */
3913 if ac_fn_c_try_compile "$LINENO"; then :
3916 ac_c_werror_flag=$ac_save_c_werror_flag
3918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3919 /* end confdefs.h. */
3929 if ac_fn_c_try_compile "$LINENO"; then :
3932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3937 ac_c_werror_flag=$ac_save_c_werror_flag
3939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3940 $as_echo "$ac_cv_prog_cc_g" >&6; }
3941 if test "$ac_test_CFLAGS" = set; then
3942 CFLAGS=$ac_save_CFLAGS
3943 elif test $ac_cv_prog_cc_g = yes; then
3944 if test "$GCC" = yes; then
3950 if test "$GCC" = yes; then
3956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3957 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3958 if ${ac_cv_prog_cc_c89+:} false; then :
3959 $as_echo_n "(cached) " >&6
3961 ac_cv_prog_cc_c89=no
3963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3964 /* end confdefs.h. */
3968 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3969 struct buf { int x; };
3970 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3971 static char *e (p, i)
3977 static char *f (char * (*g) (char **, int), char **p, ...)
3982 s = g (p, va_arg (v,int));
3987 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3988 function prototypes and stuff, but not '\xHH' hex character constants.
3989 These don't provoke an error unfortunately, instead are silently treated
3990 as 'x'. The following induces an error, until -std is added to get
3991 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3992 array size at least. It's necessary to write '\x00'==0 to get something
3993 that's true only with -std. */
3994 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3996 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3997 inside strings and character constants. */
3999 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4001 int test (int i, double x);
4002 struct s1 {int (*f) (int a);};
4003 struct s2 {int (*f) (double a);};
4004 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4010 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4015 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4016 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4018 CC="$ac_save_CC $ac_arg"
4019 if ac_fn_c_try_compile "$LINENO"; then :
4020 ac_cv_prog_cc_c89=$ac_arg
4022 rm -f core conftest.err conftest.$ac_objext
4023 test "x$ac_cv_prog_cc_c89" != "xno" && break
4025 rm -f conftest.$ac_ext
4030 case "x$ac_cv_prog_cc_c89" in
4032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4033 $as_echo "none needed" >&6; } ;;
4035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4036 $as_echo "unsupported" >&6; } ;;
4038 CC="$CC $ac_cv_prog_cc_c89"
4039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4040 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4042 if test "x$ac_cv_prog_cc_c89" != xno; then :
4047 ac_cpp='$CPP $CPPFLAGS'
4048 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4049 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4050 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4053 ac_cpp='$CPP $CPPFLAGS'
4054 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4055 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4056 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4058 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4059 if ${am_cv_prog_cc_c_o+:} false; then :
4060 $as_echo_n "(cached) " >&6
4062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4063 /* end confdefs.h. */
4073 # Make sure it works both with $CC and with simple cc.
4074 # Following AC_PROG_CC_C_O, we do the test twice because some
4075 # compilers refuse to overwrite an existing .o file with -o,
4076 # though they will create one.
4077 am_cv_prog_cc_c_o=yes
4079 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4080 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4083 (exit $ac_status); } \
4084 && test -f conftest2.$ac_objext; then
4087 am_cv_prog_cc_c_o=no
4091 rm -f core conftest*
4094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4095 $as_echo "$am_cv_prog_cc_c_o" >&6; }
4096 if test "$am_cv_prog_cc_c_o" != yes; then
4097 # Losing compiler, so override with the script.
4098 # FIXME: It is wrong to rewrite CC.
4099 # But if we don't then we get into trouble of one sort or another.
4100 # A longer-term fix would be to have automake use am__CC in this case,
4101 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4102 CC="$am_aux_dir/compile $CC"
4105 ac_cpp='$CPP $CPPFLAGS'
4106 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4107 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4108 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4110 DEPDIR="${am__leading_dot}deps"
4112 ac_config_commands="$ac_config_commands depfiles"
4115 am_make=${MAKE-make}
4116 cat > confinc << 'END'
4118 @echo this is the am__doit target
4121 # If we don't find an include directive, just comment out the code.
4122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4123 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4127 # First try GNU make style include.
4128 echo "include confinc" > confmf
4129 # Ignore all kinds of additional output from 'make'.
4130 case `$am_make -s -f confmf
2> /dev
/null
` in #(
4131 *the\ am__doit\ target*)
4137 # Now try BSD make style include.
4138 if test "$am__include" = "#"; then
4139 echo '.include "confinc"' > confmf
4140 case `$am_make -s -f confmf
2> /dev
/null
` in #(
4141 *the\ am__doit\ target*)
4142 am__include=.include
4150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4151 $as_echo "$_am_result" >&6; }
4152 rm -f confinc confmf
4154 # Check whether --enable-dependency-tracking was given.
4155 if test "${enable_dependency_tracking+set}" = set; then :
4156 enableval=$enable_dependency_tracking;
4159 if test "x$enable_dependency_tracking" != xno; then
4160 am_depcomp="$ac_aux_dir/depcomp"
4164 if test "x$enable_dependency_tracking" != xno; then
4174 depcc="$CC" am_compiler_list=
4176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4177 $as_echo_n "checking dependency style of $depcc... " >&6; }
4178 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4179 $as_echo_n "(cached) " >&6
4181 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4182 # We make a subdir and do the tests there. Otherwise we can end up
4183 # making bogus files that we don't know about and never remove. For
4184 # instance it was reported that on HP-UX the gcc test will end up
4185 # making a dummy file named 'D' -- because '-MD' means "put the output
4189 # Copy depcomp to subdir because otherwise we won't find it if we're
4190 # using a relative directory.
4191 cp "$am_depcomp" conftest.dir
4193 # We will build objects and dependencies in a subdirectory because
4194 # it helps to detect inapplicable dependency modes. For instance
4195 # both Tru64's cc and ICC support -MD to output dependencies as a
4196 # side effect of compilation, but ICC will put the dependencies in
4197 # the current directory while Tru64 will put them in the object
4201 am_cv_CC_dependencies_compiler_type=none
4202 if test "$am_compiler_list" = ""; then
4203 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
4206 case " $depcc " in #(
4207 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4210 for depmode in $am_compiler_list; do
4211 # Setup a source with many dependencies, because some compilers
4212 # like to wrap large dependency lists on column 80 (with \), and
4213 # we should not choose a depcomp mode which is confused by this.
4215 # We need to recreate these files for each test, as the compiler may
4216 # overwrite some of them when testing with obscure command lines.
4217 # This happens at least with the AIX C compiler.
4219 for i in 1 2 3 4 5 6; do
4220 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4221 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4222 # Solaris 10 /bin/sh.
4223 echo '/* dummy */' > sub/conftst$i.h
4225 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4227 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4228 # mode. It turns out that the SunPro C++ compiler does not properly
4229 # handle '-M -o', and we need to detect this. Also, some Intel
4230 # versions had trouble with output in subdirs.
4231 am__obj=sub/conftest.${OBJEXT-o}
4232 am__minus_obj="-o $am__obj"
4235 # This depmode causes a compiler race in universal mode.
4236 test "$am__universal" = false || continue
4239 # After this tag, mechanisms are not by side-effect, so they'll
4240 # only be used when explicitly requested.
4241 if test "x$enable_dependency_tracking" = xyes; then
4247 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4248 # This compiler won't grok '-c -o', but also, the minuso test has
4249 # not run yet. These depmodes are late enough in the game, and
4250 # so weak that their functioning should not be impacted.
4251 am__obj=conftest.${OBJEXT-o}
4256 if depmode=$depmode \
4257 source=sub/conftest.c object=$am__obj \
4258 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4259 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4260 >/dev/null 2>conftest.err &&
4261 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4262 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4263 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4264 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4265 # icc doesn't choke on unknown options, it will just issue warnings
4266 # or remarks (even with -Werror). So we grep stderr for any message
4267 # that says an option was ignored or not supported.
4268 # When given -MP, icc 7.0 and 7.1 complain thusly:
4269 # icc: Command line warning: ignoring option '-M'; no argument required
4270 # The diagnosis changed in icc 8.0:
4271 # icc: Command line remark: option '-MP' not supported
4272 if (grep 'ignoring option' conftest.err ||
4273 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4274 am_cv_CC_dependencies_compiler_type=$depmode
4283 am_cv_CC_dependencies_compiler_type=none
4287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4288 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4289 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4292 test "x$enable_dependency_tracking" != xno \
4293 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4295 am__fastdepCC_FALSE='#'
4297 am__fastdepCC_TRUE='#'
4298 am__fastdepCC_FALSE=
4303 ac_cpp='$CXXCPP $CPPFLAGS'
4304 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4305 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4306 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4307 if test -z "$CXX"; then
4308 if test -n "$CCC"; then
4311 if test -n "$ac_tool_prefix"; then
4312 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4314 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4315 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4317 $as_echo_n "checking for $ac_word... " >&6; }
4318 if ${ac_cv_prog_CXX+:} false; then :
4319 $as_echo_n "(cached) " >&6
4321 if test -n "$CXX"; then
4322 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4324 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4328 test -z "$as_dir" && as_dir=.
4329 for ac_exec_ext in '' $ac_executable_extensions; do
4330 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4331 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4332 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4342 if test -n "$CXX"; then
4343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4344 $as_echo "$CXX" >&6; }
4346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4347 $as_echo "no" >&6; }
4351 test -n "$CXX" && break
4354 if test -z "$CXX"; then
4356 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4358 # Extract the first word of "$ac_prog", so it can be a program name with args.
4359 set dummy $ac_prog; ac_word=$2
4360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4361 $as_echo_n "checking for $ac_word... " >&6; }
4362 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4363 $as_echo_n "(cached) " >&6
4365 if test -n "$ac_ct_CXX"; then
4366 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4368 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4372 test -z "$as_dir" && as_dir=.
4373 for ac_exec_ext in '' $ac_executable_extensions; do
4374 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4375 ac_cv_prog_ac_ct_CXX="$ac_prog"
4376 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4385 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4386 if test -n "$ac_ct_CXX"; then
4387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4388 $as_echo "$ac_ct_CXX" >&6; }
4390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4391 $as_echo "no" >&6; }
4395 test -n "$ac_ct_CXX" && break
4398 if test "x$ac_ct_CXX" = x; then
4401 case $cross_compiling:$ac_tool_warned in
4403 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4404 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4405 ac_tool_warned=yes ;;
4413 # Provide some information about the compiler.
4414 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4417 for ac_option in --version -v -V -qversion; do
4418 { { ac_try="$ac_compiler $ac_option >&5"
4420 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
4421 *) ac_try_echo
=$ac_try;;
4423 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4424 $as_echo "$ac_try_echo"; } >&5
4425 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4427 if test -s conftest.err
; then
4429 ... rest of stderr output deleted ...
4430 10q' conftest.err
>conftest.er1
4431 cat conftest.er1
>&5
4433 rm -f conftest.er1 conftest.err
4434 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4435 test $ac_status = 0; }
4438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4439 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4440 if ${ac_cv_cxx_compiler_gnu+:} false
; then :
4441 $as_echo_n "(cached) " >&6
4443 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4444 /* end confdefs.h. */
4457 if ac_fn_cxx_try_compile
"$LINENO"; then :
4462 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4463 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
4466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4467 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4468 if test $ac_compiler_gnu = yes; then
4473 ac_test_CXXFLAGS
=${CXXFLAGS+set}
4474 ac_save_CXXFLAGS
=$CXXFLAGS
4475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4476 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4477 if ${ac_cv_prog_cxx_g+:} false
; then :
4478 $as_echo_n "(cached) " >&6
4480 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
4481 ac_cxx_werror_flag
=yes
4484 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4485 /* end confdefs.h. */
4495 if ac_fn_cxx_try_compile
"$LINENO"; then :
4496 ac_cv_prog_cxx_g
=yes
4499 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4500 /* end confdefs.h. */
4510 if ac_fn_cxx_try_compile
"$LINENO"; then :
4513 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4515 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4516 /* end confdefs.h. */
4526 if ac_fn_cxx_try_compile
"$LINENO"; then :
4527 ac_cv_prog_cxx_g
=yes
4529 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4531 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4533 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4534 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4537 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4538 if test "$ac_test_CXXFLAGS" = set; then
4539 CXXFLAGS
=$ac_save_CXXFLAGS
4540 elif test $ac_cv_prog_cxx_g = yes; then
4541 if test "$GXX" = yes; then
4547 if test "$GXX" = yes; then
4554 ac_cpp
='$CPP $CPPFLAGS'
4555 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4556 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4557 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4559 depcc
="$CXX" am_compiler_list
=
4561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4562 $as_echo_n "checking dependency style of $depcc... " >&6; }
4563 if ${am_cv_CXX_dependencies_compiler_type+:} false
; then :
4564 $as_echo_n "(cached) " >&6
4566 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4567 # We make a subdir and do the tests there. Otherwise we can end up
4568 # making bogus files that we don't know about and never remove. For
4569 # instance it was reported that on HP-UX the gcc test will end up
4570 # making a dummy file named 'D' -- because '-MD' means "put the output
4574 # Copy depcomp to subdir because otherwise we won't find it if we're
4575 # using a relative directory.
4576 cp "$am_depcomp" conftest.dir
4578 # We will build objects and dependencies in a subdirectory because
4579 # it helps to detect inapplicable dependency modes. For instance
4580 # both Tru64's cc and ICC support -MD to output dependencies as a
4581 # side effect of compilation, but ICC will put the dependencies in
4582 # the current directory while Tru64 will put them in the object
4586 am_cv_CXX_dependencies_compiler_type
=none
4587 if test "$am_compiler_list" = ""; then
4588 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4591 case " $depcc " in #(
4592 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
4595 for depmode
in $am_compiler_list; do
4596 # Setup a source with many dependencies, because some compilers
4597 # like to wrap large dependency lists on column 80 (with \), and
4598 # we should not choose a depcomp mode which is confused by this.
4600 # We need to recreate these files for each test, as the compiler may
4601 # overwrite some of them when testing with obscure command lines.
4602 # This happens at least with the AIX C compiler.
4604 for i
in 1 2 3 4 5 6; do
4605 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4606 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4607 # Solaris 10 /bin/sh.
4608 echo '/* dummy */' > sub
/conftst
$i.h
4610 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4612 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4613 # mode. It turns out that the SunPro C++ compiler does not properly
4614 # handle '-M -o', and we need to detect this. Also, some Intel
4615 # versions had trouble with output in subdirs.
4616 am__obj
=sub
/conftest.
${OBJEXT-o}
4617 am__minus_obj
="-o $am__obj"
4620 # This depmode causes a compiler race in universal mode.
4621 test "$am__universal" = false
|| continue
4624 # After this tag, mechanisms are not by side-effect, so they'll
4625 # only be used when explicitly requested.
4626 if test "x$enable_dependency_tracking" = xyes
; then
4632 msvc7
| msvc7msys
| msvisualcpp
| msvcmsys
)
4633 # This compiler won't grok '-c -o', but also, the minuso test has
4634 # not run yet. These depmodes are late enough in the game, and
4635 # so weak that their functioning should not be impacted.
4636 am__obj
=conftest.
${OBJEXT-o}
4641 if depmode
=$depmode \
4642 source=sub
/conftest.c object
=$am__obj \
4643 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4644 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4645 >/dev
/null
2>conftest.err
&&
4646 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4647 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4648 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4649 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4650 # icc doesn't choke on unknown options, it will just issue warnings
4651 # or remarks (even with -Werror). So we grep stderr for any message
4652 # that says an option was ignored or not supported.
4653 # When given -MP, icc 7.0 and 7.1 complain thusly:
4654 # icc: Command line warning: ignoring option '-M'; no argument required
4655 # The diagnosis changed in icc 8.0:
4656 # icc: Command line remark: option '-MP' not supported
4657 if (grep 'ignoring option' conftest.err
||
4658 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4659 am_cv_CXX_dependencies_compiler_type
=$depmode
4668 am_cv_CXX_dependencies_compiler_type
=none
4672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
4673 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
4674 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
4677 test "x$enable_dependency_tracking" != xno \
4678 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
4679 am__fastdepCXX_TRUE
=
4680 am__fastdepCXX_FALSE
='#'
4682 am__fastdepCXX_TRUE
='#'
4683 am__fastdepCXX_FALSE
=
4688 ac_cpp
='$OBJCXXCPP $CPPFLAGS'
4689 ac_compile
='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4690 ac_link
='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4691 ac_compiler_gnu
=$ac_cv_objcxx_compiler_gnu
4692 if test -n "$ac_tool_prefix"; then
4693 for ac_prog
in g
++ objc
++ objcxx c
++ CXX
4695 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4696 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4698 $as_echo_n "checking for $ac_word... " >&6; }
4699 if ${ac_cv_prog_OBJCXX+:} false
; then :
4700 $as_echo_n "(cached) " >&6
4702 if test -n "$OBJCXX"; then
4703 ac_cv_prog_OBJCXX
="$OBJCXX" # Let the user override the test.
4705 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4709 test -z "$as_dir" && as_dir
=.
4710 for ac_exec_ext
in '' $ac_executable_extensions; do
4711 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4712 ac_cv_prog_OBJCXX
="$ac_tool_prefix$ac_prog"
4713 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4722 OBJCXX
=$ac_cv_prog_OBJCXX
4723 if test -n "$OBJCXX"; then
4724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCXX" >&5
4725 $as_echo "$OBJCXX" >&6; }
4727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4728 $as_echo "no" >&6; }
4732 test -n "$OBJCXX" && break
4735 if test -z "$OBJCXX"; then
4736 ac_ct_OBJCXX
=$OBJCXX
4737 for ac_prog
in g
++ objc
++ objcxx c
++ CXX
4739 # Extract the first word of "$ac_prog", so it can be a program name with args.
4740 set dummy
$ac_prog; ac_word
=$2
4741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4742 $as_echo_n "checking for $ac_word... " >&6; }
4743 if ${ac_cv_prog_ac_ct_OBJCXX+:} false
; then :
4744 $as_echo_n "(cached) " >&6
4746 if test -n "$ac_ct_OBJCXX"; then
4747 ac_cv_prog_ac_ct_OBJCXX
="$ac_ct_OBJCXX" # Let the user override the test.
4749 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4753 test -z "$as_dir" && as_dir
=.
4754 for ac_exec_ext
in '' $ac_executable_extensions; do
4755 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4756 ac_cv_prog_ac_ct_OBJCXX
="$ac_prog"
4757 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4766 ac_ct_OBJCXX
=$ac_cv_prog_ac_ct_OBJCXX
4767 if test -n "$ac_ct_OBJCXX"; then
4768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJCXX" >&5
4769 $as_echo "$ac_ct_OBJCXX" >&6; }
4771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4772 $as_echo "no" >&6; }
4776 test -n "$ac_ct_OBJCXX" && break
4779 if test "x$ac_ct_OBJCXX" = x
; then
4782 case $cross_compiling:$ac_tool_warned in
4784 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4785 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4786 ac_tool_warned
=yes ;;
4788 OBJCXX
=$ac_ct_OBJCXX
4792 # Provide some information about the compiler.
4793 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Objective C++ compiler version" >&5
4796 for ac_option
in --version -v -V -qversion; do
4797 { { ac_try
="$ac_compiler $ac_option >&5"
4799 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
4800 *) ac_try_echo=$ac_try;;
4802 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4803 $as_echo "$ac_try_echo"; } >&5
4804 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4806 if test -s conftest.err; then
4808 ... rest of stderr output deleted ...
4809 10q' conftest.err >conftest.er1
4810 cat conftest.er1 >&5
4812 rm -f conftest.er1 conftest.err
4813 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4814 test $ac_status = 0; }
4817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Objective C++ compiler" >&5
4818 $as_echo_n "checking whether we are using the GNU Objective C++ compiler... " >&6; }
4819 if ${ac_cv_objcxx_compiler_gnu+:} false; then :
4820 $as_echo_n "(cached) " >&6
4822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4823 /* end confdefs.h. */
4836 if ac_fn_objcxx_try_compile "$LINENO"; then :
4841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4842 ac_cv_objcxx_compiler_gnu=$ac_compiler_gnu
4845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objcxx_compiler_gnu" >&5
4846 $as_echo "$ac_cv_objcxx_compiler_gnu" >&6; }
4847 if test $ac_compiler_gnu = yes; then
4852 ac_test_OBJCXXFLAGS=${OBJCXXFLAGS+set}
4853 ac_save_OBJCXXFLAGS=$OBJCXXFLAGS
4854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $OBJCXX accepts -g" >&5
4855 $as_echo_n "checking whether $OBJCXX accepts -g... " >&6; }
4856 if ${ac_cv_prog_objcxx_g+:} false; then :
4857 $as_echo_n "(cached) " >&6
4859 ac_save_objcxx_werror_flag=$ac_objcxx_werror_flag
4860 ac_objcxx_werror_flag=yes
4861 ac_cv_prog_objcxx_g=no
4863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4864 /* end confdefs.h. */
4874 if ac_fn_objcxx_try_compile "$LINENO"; then :
4875 ac_cv_prog_objcxx_g=yes
4878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4879 /* end confdefs.h. */
4889 if ac_fn_objcxx_try_compile "$LINENO"; then :
4892 ac_objcxx_werror_flag=$ac_save_objcxx_werror_flag
4894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4895 /* end confdefs.h. */
4905 if ac_fn_objcxx_try_compile "$LINENO"; then :
4906 ac_cv_prog_objcxx_g=yes
4908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4913 ac_objcxx_werror_flag=$ac_save_objcx_werror_flag
4915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objcxx_g" >&5
4916 $as_echo "$ac_cv_prog_objcxx_g" >&6; }
4917 if test "$ac_test_OBJCXXFLAGS" = set; then
4918 OBJCXXFLAGS=$ac_save_OBJCXXFLAGS
4919 elif test $ac_cv_prog_objcxx_g = yes; then
4920 if test "$GOBJCXX" = yes; then
4921 OBJCXXFLAGS="-g -O2"
4926 if test "$GOBJCXX" = yes; then
4933 ac_cpp='$CPP $CPPFLAGS'
4934 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4935 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4936 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4938 depcc="$OBJCXX" am_compiler_list='gcc3 gcc'
4940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4941 $as_echo_n "checking dependency style of $depcc... " >&6; }
4942 if ${am_cv_OBJCXX_dependencies_compiler_type+:} false; then :
4943 $as_echo_n "(cached) " >&6
4945 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4946 # We make a subdir and do the tests there. Otherwise we can end up
4947 # making bogus files that we don't know about and never remove. For
4948 # instance it was reported that on HP-UX the gcc test will end up
4949 # making a dummy file named 'D' -- because '-MD' means "put the output
4953 # Copy depcomp to subdir because otherwise we won't find it if we're
4954 # using a relative directory.
4955 cp "$am_depcomp" conftest.dir
4957 # We will build objects and dependencies in a subdirectory because
4958 # it helps to detect inapplicable dependency modes. For instance
4959 # both Tru64's cc and ICC support -MD to output dependencies as a
4960 # side effect of compilation, but ICC will put the dependencies in
4961 # the current directory while Tru64 will put them in the object
4965 am_cv_OBJCXX_dependencies_compiler_type=none
4966 if test "$am_compiler_list" = ""; then
4967 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
4972 for depmode in $am_compiler_list; do
4973 # Setup a source with many dependencies, because some compilers
4974 # like to wrap large dependency lists on column 80 (with \), and
4975 # we should not choose a depcomp mode which is confused by this.
4977 # We need to recreate these files for each test, as the compiler may
4978 # overwrite some of them when testing with obscure command lines.
4979 # This happens at least with the AIX C compiler.
4981 for i in 1 2 3 4 5 6; do
4982 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4983 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4984 # Solaris 10 /bin/sh.
4985 echo '/* dummy */' > sub/conftst$i.h
4987 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4989 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4990 # mode. It turns out that the SunPro C++ compiler does not properly
4991 # handle '-M -o', and we need to detect this. Also, some Intel
4992 # versions had trouble with output in subdirs.
4993 am__obj=sub/conftest.${OBJEXT-o}
4994 am__minus_obj="-o $am__obj"
4997 # This depmode causes a compiler race in universal mode.
4998 test "$am__universal" = false || continue
5001 # After this tag, mechanisms are not by side-effect, so they'll
5002 # only be used when explicitly requested.
5003 if test "x$enable_dependency_tracking" = xyes; then
5009 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
5010 # This compiler won't grok '-c -o', but also, the minuso test has
5011 # not run yet. These depmodes are late enough in the game, and
5012 # so weak that their functioning should not be impacted.
5013 am__obj=conftest.${OBJEXT-o}
5018 if depmode=$depmode \
5019 source=sub/conftest.c object=$am__obj \
5020 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5021 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5022 >/dev/null 2>conftest.err &&
5023 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5024 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5025 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5026 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5027 # icc doesn't choke on unknown options, it will just issue warnings
5028 # or remarks (even with -Werror). So we grep stderr for any message
5029 # that says an option was ignored or not supported.
5030 # When given -MP, icc 7.0 and 7.1 complain thusly:
5031 # icc: Command line warning: ignoring option '-M'; no argument required
5032 # The diagnosis changed in icc 8.0:
5033 # icc: Command line remark: option '-MP' not supported
5034 if (grep 'ignoring option' conftest.err ||
5035 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5036 am_cv_OBJCXX_dependencies_compiler_type=$depmode
5045 am_cv_OBJCXX_dependencies_compiler_type=none
5049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_OBJCXX_dependencies_compiler_type" >&5
5050 $as_echo "$am_cv_OBJCXX_dependencies_compiler_type" >&6; }
5051 OBJCXXDEPMODE=depmode=$am_cv_OBJCXX_dependencies_compiler_type
5054 test "x$enable_dependency_tracking" != xno \
5055 && test "$am_cv_OBJCXX_dependencies_compiler_type" = gcc3; then
5056 am__fastdepOBJCXX_TRUE=
5057 am__fastdepOBJCXX_FALSE='#'
5059 am__fastdepOBJCXX_TRUE='#'
5060 am__fastdepOBJCXX_FALSE=
5066 ac_cpp='$CPP $CPPFLAGS'
5067 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5068 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5069 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
5071 $as_echo_n "checking how to run the C preprocessor... " >&6; }
5072 # On Suns, sometimes $CPP names a directory.
5073 if test -n "$CPP" && test -d "$CPP"; then
5076 if test -z "$CPP"; then
5077 if ${ac_cv_prog_CPP+:} false; then :
5078 $as_echo_n "(cached) " >&6
5080 # Double quotes because CPP needs to be expanded
5081 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5084 for ac_c_preproc_warn_flag in '' yes
5086 # Use a header file that comes with gcc, so configuring glibc
5087 # with a fresh cross-compiler works.
5088 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5089 # <limits.h> exists even on freestanding compilers.
5090 # On the NeXT, cc -E runs the code through the compiler's parser,
5091 # not just through cpp. "Syntax error" is here to catch this case.
5092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5093 /* end confdefs.h. */
5095 # include <limits.h>
5097 # include <assert.h>
5101 if ac_fn_c_try_cpp "$LINENO"; then :
5104 # Broken: fails on valid input.
5107 rm -f conftest.err conftest.i conftest.$ac_ext
5109 # OK, works on sane cases. Now check whether nonexistent headers
5110 # can be detected and how.
5111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5112 /* end confdefs.h. */
5113 #include <ac_nonexistent.h>
5115 if ac_fn_c_try_cpp "$LINENO"; then :
5116 # Broken: success on invalid input.
5119 # Passes both tests.
5123 rm -f conftest.err conftest.i conftest.$ac_ext
5126 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5127 rm -f conftest.i conftest.err conftest.
$ac_ext
5128 if $ac_preproc_ok; then :
5140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5141 $as_echo "$CPP" >&6; }
5143 for ac_c_preproc_warn_flag
in '' yes
5145 # Use a header file that comes with gcc, so configuring glibc
5146 # with a fresh cross-compiler works.
5147 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5148 # <limits.h> exists even on freestanding compilers.
5149 # On the NeXT, cc -E runs the code through the compiler's parser,
5150 # not just through cpp. "Syntax error" is here to catch this case.
5151 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5152 /* end confdefs.h. */
5154 # include <limits.h>
5156 # include <assert.h>
5160 if ac_fn_c_try_cpp
"$LINENO"; then :
5163 # Broken: fails on valid input.
5166 rm -f conftest.err conftest.i conftest.
$ac_ext
5168 # OK, works on sane cases. Now check whether nonexistent headers
5169 # can be detected and how.
5170 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5171 /* end confdefs.h. */
5172 #include <ac_nonexistent.h>
5174 if ac_fn_c_try_cpp
"$LINENO"; then :
5175 # Broken: success on invalid input.
5178 # Passes both tests.
5182 rm -f conftest.err conftest.i conftest.
$ac_ext
5185 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5186 rm -f conftest.i conftest.err conftest.
$ac_ext
5187 if $ac_preproc_ok; then :
5190 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5191 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5192 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
5193 See \`config.log' for more details" "$LINENO" 5; }
5197 ac_cpp
='$CPP $CPPFLAGS'
5198 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5199 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5200 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5203 # Make sure we can run config.sub.
5204 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
5205 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
5207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
5208 $as_echo_n "checking build system type... " >&6; }
5209 if ${ac_cv_build+:} false
; then :
5210 $as_echo_n "(cached) " >&6
5212 ac_build_alias
=$build_alias
5213 test "x$ac_build_alias" = x
&&
5214 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
5215 test "x$ac_build_alias" = x
&&
5216 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
5217 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
5218 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
5221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
5222 $as_echo "$ac_cv_build" >&6; }
5223 case $ac_cv_build in
5225 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
5228 ac_save_IFS
=$IFS; IFS
='-'
5234 # Remember, the first character of IFS is used to create $*,
5235 # except with old shells:
5238 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
5241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
5242 $as_echo_n "checking host system type... " >&6; }
5243 if ${ac_cv_host+:} false
; then :
5244 $as_echo_n "(cached) " >&6
5246 if test "x$host_alias" = x
; then
5247 ac_cv_host
=$ac_cv_build
5249 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
5250 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
5254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
5255 $as_echo "$ac_cv_host" >&6; }
5258 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
5261 ac_save_IFS
=$IFS; IFS
='-'
5267 # Remember, the first character of IFS is used to create $*,
5268 # except with old shells:
5271 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
5276 save_cross_compiling
=$cross_compiling
5277 save_ac_tool_prefix
=$ac_tool_prefix
5282 ac_build_cpp
='$CPP_FOR_BUILD $CPPFLAGS_FOR_BUILD'
5283 ac_build_compile
='$CC_FOR_BUILD -c $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD conftest.$ac_ext >&5'
5284 ac_build_link
='$CC_FOR_BUILD -o conftest$ac_build_exeext $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD $LDFLAGS_FOR_BUILD conftest.$ac_ext $LIBS >&5'
5285 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5286 if test -n "$ac_tool_prefix"; then
5287 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
5288 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
5289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5290 $as_echo_n "checking for $ac_word... " >&6; }
5291 if ${ac_cv_prog_CC_FOR_BUILD+:} false
; then :
5292 $as_echo_n "(cached) " >&6
5294 if test -n "$CC_FOR_BUILD"; then
5295 ac_cv_prog_CC_FOR_BUILD
="$CC_FOR_BUILD" # Let the user override the test.
5297 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5301 test -z "$as_dir" && as_dir
=.
5302 for ac_exec_ext
in '' $ac_executable_extensions; do
5303 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5304 ac_cv_prog_CC_FOR_BUILD
="${ac_tool_prefix}gcc"
5305 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5314 CC_FOR_BUILD
=$ac_cv_prog_CC_FOR_BUILD
5315 if test -n "$CC_FOR_BUILD"; then
5316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC_FOR_BUILD" >&5
5317 $as_echo "$CC_FOR_BUILD" >&6; }
5319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5320 $as_echo "no" >&6; }
5325 if test -z "$ac_cv_prog_CC_FOR_BUILD"; then
5326 ac_ct_CC_FOR_BUILD
=$CC_FOR_BUILD
5327 # Extract the first word of "gcc", so it can be a program name with args.
5328 set dummy gcc
; ac_word
=$2
5329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5330 $as_echo_n "checking for $ac_word... " >&6; }
5331 if ${ac_cv_prog_ac_ct_CC_FOR_BUILD+:} false
; then :
5332 $as_echo_n "(cached) " >&6
5334 if test -n "$ac_ct_CC_FOR_BUILD"; then
5335 ac_cv_prog_ac_ct_CC_FOR_BUILD
="$ac_ct_CC_FOR_BUILD" # Let the user override the test.
5337 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5341 test -z "$as_dir" && as_dir
=.
5342 for ac_exec_ext
in '' $ac_executable_extensions; do
5343 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5344 ac_cv_prog_ac_ct_CC_FOR_BUILD
="gcc"
5345 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5354 ac_ct_CC_FOR_BUILD
=$ac_cv_prog_ac_ct_CC_FOR_BUILD
5355 if test -n "$ac_ct_CC_FOR_BUILD"; then
5356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC_FOR_BUILD" >&5
5357 $as_echo "$ac_ct_CC_FOR_BUILD" >&6; }
5359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5360 $as_echo "no" >&6; }
5363 if test "x$ac_ct_CC_FOR_BUILD" = x
; then
5366 case $cross_compiling:$ac_tool_warned in
5368 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with build triplet" >&5
5369 $as_echo "$as_me: WARNING: using cross tools not prefixed with build triplet" >&2;}
5370 ac_tool_warned
=yes ;;
5372 CC_FOR_BUILD
=$ac_ct_CC_FOR_BUILD
5375 CC_FOR_BUILD
="$ac_cv_prog_CC_FOR_BUILD"
5378 if test -z "$CC_FOR_BUILD"; then
5379 if test -n "$ac_tool_prefix"; then
5380 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
5381 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
5382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5383 $as_echo_n "checking for $ac_word... " >&6; }
5384 if ${ac_cv_prog_CC_FOR_BUILD+:} false
; then :
5385 $as_echo_n "(cached) " >&6
5387 if test -n "$CC_FOR_BUILD"; then
5388 ac_cv_prog_CC_FOR_BUILD
="$CC_FOR_BUILD" # Let the user override the test.
5390 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5394 test -z "$as_dir" && as_dir
=.
5395 for ac_exec_ext
in '' $ac_executable_extensions; do
5396 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5397 ac_cv_prog_CC_FOR_BUILD
="${ac_tool_prefix}cc"
5398 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5407 CC_FOR_BUILD
=$ac_cv_prog_CC_FOR_BUILD
5408 if test -n "$CC_FOR_BUILD"; then
5409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC_FOR_BUILD" >&5
5410 $as_echo "$CC_FOR_BUILD" >&6; }
5412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5413 $as_echo "no" >&6; }
5419 if test -z "$CC_FOR_BUILD"; then
5420 # Extract the first word of "cc", so it can be a program name with args.
5421 set dummy cc
; ac_word
=$2
5422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5423 $as_echo_n "checking for $ac_word... " >&6; }
5424 if ${ac_cv_prog_CC_FOR_BUILD+:} false
; then :
5425 $as_echo_n "(cached) " >&6
5427 if test -n "$CC_FOR_BUILD"; then
5428 ac_cv_prog_CC_FOR_BUILD
="$CC_FOR_BUILD" # Let the user override the test.
5431 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5435 test -z "$as_dir" && as_dir
=.
5436 for ac_exec_ext
in '' $ac_executable_extensions; do
5437 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5438 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
5439 ac_prog_rejected
=yes
5442 ac_cv_prog_CC_FOR_BUILD
="cc"
5443 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5450 if test $ac_prog_rejected = yes; then
5451 # We found a bogon in the path, so make sure we never use it.
5452 set dummy
$ac_cv_prog_CC_FOR_BUILD
5454 if test $# != 0; then
5455 # We chose a different compiler from the bogus one.
5456 # However, it has the same basename, so the bogon will be chosen
5457 # first if we set CC_FOR_BUILD to just the basename; use the full file name.
5459 ac_cv_prog_CC_FOR_BUILD
="$as_dir/$ac_word${1+' '}$@"
5464 CC_FOR_BUILD
=$ac_cv_prog_CC_FOR_BUILD
5465 if test -n "$CC_FOR_BUILD"; then
5466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC_FOR_BUILD" >&5
5467 $as_echo "$CC_FOR_BUILD" >&6; }
5469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5470 $as_echo "no" >&6; }
5475 if test -z "$CC_FOR_BUILD"; then
5476 if test -n "$ac_tool_prefix"; then
5477 for ac_prog
in cl.exe
5479 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5480 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5482 $as_echo_n "checking for $ac_word... " >&6; }
5483 if ${ac_cv_prog_CC_FOR_BUILD+:} false
; then :
5484 $as_echo_n "(cached) " >&6
5486 if test -n "$CC_FOR_BUILD"; then
5487 ac_cv_prog_CC_FOR_BUILD
="$CC_FOR_BUILD" # Let the user override the test.
5489 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5493 test -z "$as_dir" && as_dir
=.
5494 for ac_exec_ext
in '' $ac_executable_extensions; do
5495 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5496 ac_cv_prog_CC_FOR_BUILD
="$ac_tool_prefix$ac_prog"
5497 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5506 CC_FOR_BUILD
=$ac_cv_prog_CC_FOR_BUILD
5507 if test -n "$CC_FOR_BUILD"; then
5508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC_FOR_BUILD" >&5
5509 $as_echo "$CC_FOR_BUILD" >&6; }
5511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5512 $as_echo "no" >&6; }
5516 test -n "$CC_FOR_BUILD" && break
5519 if test -z "$CC_FOR_BUILD"; then
5520 ac_ct_CC_FOR_BUILD
=$CC_FOR_BUILD
5521 for ac_prog
in cl.exe
5523 # Extract the first word of "$ac_prog", so it can be a program name with args.
5524 set dummy
$ac_prog; ac_word
=$2
5525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5526 $as_echo_n "checking for $ac_word... " >&6; }
5527 if ${ac_cv_prog_ac_ct_CC_FOR_BUILD+:} false
; then :
5528 $as_echo_n "(cached) " >&6
5530 if test -n "$ac_ct_CC_FOR_BUILD"; then
5531 ac_cv_prog_ac_ct_CC_FOR_BUILD
="$ac_ct_CC_FOR_BUILD" # Let the user override the test.
5533 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5537 test -z "$as_dir" && as_dir
=.
5538 for ac_exec_ext
in '' $ac_executable_extensions; do
5539 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5540 ac_cv_prog_ac_ct_CC_FOR_BUILD
="$ac_prog"
5541 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5550 ac_ct_CC_FOR_BUILD
=$ac_cv_prog_ac_ct_CC_FOR_BUILD
5551 if test -n "$ac_ct_CC_FOR_BUILD"; then
5552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC_FOR_BUILD" >&5
5553 $as_echo "$ac_ct_CC_FOR_BUILD" >&6; }
5555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5556 $as_echo "no" >&6; }
5560 test -n "$ac_ct_CC_FOR_BUILD" && break
5563 if test "x$ac_ct_CC_FOR_BUILD" = x
; then
5566 case $cross_compiling:$ac_tool_warned in
5568 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with build triplet" >&5
5569 $as_echo "$as_me: WARNING: using cross tools not prefixed with build triplet" >&2;}
5570 ac_tool_warned
=yes ;;
5572 CC_FOR_BUILD
=$ac_ct_CC_FOR_BUILD
5579 test -z "$CC_FOR_BUILD" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5580 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5581 as_fn_error $?
"no acceptable C compiler found in \$PATH
5582 See \`config.log' for more details" "$LINENO" 5; }
5584 # Provide some information about the compiler.
5585 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5586 set X
$ac_build_compile
5588 for ac_option
in --version -v -V -qversion; do
5589 { { ac_try
="$ac_compiler $ac_option >&5"
5591 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
5592 *) ac_try_echo=$ac_try;;
5594 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5595 $as_echo "$ac_try_echo"; } >&5
5596 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5598 if test -s conftest.err; then
5600 ... rest of stderr output deleted ...
5601 10q' conftest.err >conftest.er1
5602 cat conftest.er1 >&5
5604 rm -f conftest.er1 conftest.err
5605 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5606 test $ac_status = 0; }
5609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
5610 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
5611 if ${ac_cv_c_compiler_gnu+:} false; then :
5612 $as_echo_n "(cached) " >&6
5614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5615 /* end confdefs.h. */
5628 if ac_fn_c_try_compile "$LINENO"; then :
5633 rm -f core conftest.err conftest.$ac_build_objext conftest.$ac_ext
5634 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5638 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
5639 if test $ac_compiler_gnu = yes; then
5644 ac_test_CFLAGS=${CFLAGS_FOR_BUILD+set}
5645 ac_save_CFLAGS=$CFLAGS_FOR_BUILD
5646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD accepts -g" >&5
5647 $as_echo_n "checking whether $CC_FOR_BUILD accepts -g... " >&6; }
5648 if ${ac_cv_build_prog_cc_g+:} false; then :
5649 $as_echo_n "(cached) " >&6
5651 ac_save_c_werror_flag=$ac_c_werror_flag
5652 ac_c_werror_flag=yes
5653 ac_cv_build_prog_cc_g=no
5654 CFLAGS_FOR_BUILD="-g"
5655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5656 /* end confdefs.h. */
5666 if ac_fn_c_try_compile "$LINENO"; then :
5667 ac_cv_build_prog_cc_g=yes
5670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5671 /* end confdefs.h. */
5681 if ac_fn_c_try_compile "$LINENO"; then :
5684 ac_c_werror_flag=$ac_save_c_werror_flag
5685 CFLAGS_FOR_BUILD="-g"
5686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5687 /* end confdefs.h. */
5697 if ac_fn_c_try_compile "$LINENO"; then :
5698 ac_cv_build_prog_cc_g=yes
5700 rm -f core conftest.err conftest.$ac_build_objext conftest.$ac_ext
5702 rm -f core conftest.err conftest.$ac_build_objext conftest.$ac_ext
5704 rm -f core conftest.err conftest.$ac_build_objext conftest.$ac_ext
5705 ac_c_werror_flag=$ac_save_c_werror_flag
5707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build_prog_cc_g" >&5
5708 $as_echo "$ac_cv_build_prog_cc_g" >&6; }
5709 if test "$ac_test_CFLAGS" = set; then
5710 CFLAGS_FOR_BUILD=$ac_save_CFLAGS
5711 elif test $ac_cv_build_prog_cc_g = yes; then
5712 if test "$GCC" = yes; then
5713 CFLAGS_FOR_BUILD="-g -O2"
5715 CFLAGS_FOR_BUILD="-g"
5718 if test "$GCC" = yes; then
5719 CFLAGS_FOR_BUILD="-O2"
5724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC_FOR_BUILD option to accept ISO C89" >&5
5725 $as_echo_n "checking for $CC_FOR_BUILD option to accept ISO C89... " >&6; }
5726 if ${ac_cv_prog_cc_c89+:} false; then :
5727 $as_echo_n "(cached) " >&6
5729 ac_cv_prog_cc_c89=no
5730 ac_save_CC=$CC_FOR_BUILD
5731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5732 /* end confdefs.h. */
5736 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5737 struct buf { int x; };
5738 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5739 static char *e (p, i)
5745 static char *f (char * (*g) (char **, int), char **p, ...)
5750 s = g (p, va_arg (v,int));
5755 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5756 function prototypes and stuff, but not '\xHH' hex character constants.
5757 These don't provoke an error unfortunately, instead are silently treated
5758 as 'x'. The following induces an error, until -std is added to get
5759 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5760 array size at least. It's necessary to write '\x00'==0 to get something
5761 that's true only with -std. */
5762 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5764 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5765 inside strings and character constants. */
5767 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5769 int test (int i, double x);
5770 struct s1 {int (*f) (int a);};
5771 struct s2 {int (*f) (double a);};
5772 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5778 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5783 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5784 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5786 CC_FOR_BUILD="$ac_save_CC $ac_arg"
5787 if ac_fn_c_try_compile "$LINENO"; then :
5788 ac_cv_prog_cc_c89=$ac_arg
5790 rm -f core conftest.err conftest.$ac_build_objext
5791 test "x$ac_cv_prog_cc_c89" != "xno" && break
5793 rm -f conftest.$ac_ext
5794 CC_FOR_BUILD=$ac_save_CC
5798 case "x$ac_cv_prog_cc_c89" in
5800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5801 $as_echo "none needed" >&6; } ;;
5803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5804 $as_echo "unsupported" >&6; } ;;
5806 CC_FOR_BUILD="$CC_FOR_BUILD $ac_cv_prog_cc_c89"
5807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5808 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5810 if test "x$ac_cv_prog_cc_c89" != xno; then :
5815 ac_build_cpp='$CPP_FOR_BUILD $CPPFLAGS_FOR_BUILD'
5816 ac_build_compile='$CC_FOR_BUILD -c $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD conftest.$ac_ext >&5'
5817 ac_build_link='$CC_FOR_BUILD -o conftest$ac_build_exeext $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD $LDFLAGS_FOR_BUILD conftest.$ac_ext $LIBS >&5'
5818 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5821 ac_build_cpp='$CPP_FOR_BUILD $CPPFLAGS_FOR_BUILD'
5822 ac_build_compile='$CC_FOR_BUILD -c $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD conftest.$ac_ext >&5'
5823 ac_build_link='$CC_FOR_BUILD -o conftest$ac_build_exeext $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD $LDFLAGS_FOR_BUILD conftest.$ac_ext $LIBS >&5'
5824 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD understands -c and -o together" >&5
5826 $as_echo_n "checking whether $CC_FOR_BUILD understands -c and -o together... " >&6; }
5827 if ${am_cv_prog_cc_c_o+:} false; then :
5828 $as_echo_n "(cached) " >&6
5830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5831 /* end confdefs.h. */
5841 # Make sure it works both with $CC and with simple cc.
5842 # Following AC_PROG_CC_C_O, we do the test twice because some
5843 # compilers refuse to overwrite an existing .o file with -o,
5844 # though they will create one.
5845 am_cv_prog_cc_c_o=yes
5847 if { echo "$as_me:$LINENO: $CC_FOR_BUILD -c conftest.$ac_ext -o conftest2.$ac_build_objext" >&5
5848 ($CC_FOR_BUILD -c conftest.$ac_ext -o conftest2.$ac_build_objext) >&5 2>&5
5850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5851 (exit $ac_status); } \
5852 && test -f conftest2.$ac_build_objext; then
5855 am_cv_prog_cc_c_o=no
5859 rm -f core conftest*
5862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
5863 $as_echo "$am_cv_prog_cc_c_o" >&6; }
5864 if test "$am_cv_prog_cc_c_o" != yes; then
5865 # Losing compiler, so override with the script.
5866 # FIXME: It is wrong to rewrite CC.
5867 # But if we don't then we get into trouble of one sort or another.
5868 # A longer-term fix would be to have automake use am__CC in this case,
5869 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
5870 CC_FOR_BUILD="$am_aux_dir/compile $CC_FOR_BUILD"
5873 ac_build_cpp='$CPP_FOR_BUILD $CPPFLAGS_FOR_BUILD'
5874 ac_build_compile='$CC_FOR_BUILD -c $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD conftest.$ac_ext >&5'
5875 ac_build_link='$CC_FOR_BUILD -o conftest$ac_build_exeext $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD $LDFLAGS_FOR_BUILD conftest.$ac_ext $LIBS >&5'
5876 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5879 depcc="$CC_FOR_BUILD" am_compiler_list=
5881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5882 $as_echo_n "checking dependency style of $depcc... " >&6; }
5883 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
5884 $as_echo_n "(cached) " >&6
5886 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5887 # We make a subdir and do the tests there. Otherwise we can end up
5888 # making bogus files that we don't know about and never remove. For
5889 # instance it was reported that on HP-UX the gcc test will end up
5890 # making a dummy file named 'D' -- because '-MD' means "put the output
5894 # Copy depcomp to subdir because otherwise we won't find it if we're
5895 # using a relative directory.
5896 cp "$am_depcomp" conftest.dir
5898 # We will build objects and dependencies in a subdirectory because
5899 # it helps to detect inapplicable dependency modes. For instance
5900 # both Tru64's cc and ICC support -MD to output dependencies as a
5901 # side effect of compilation, but ICC will put the dependencies in
5902 # the current directory while Tru64 will put them in the object
5906 am_cv_CC_dependencies_compiler_type=none
5907 if test "$am_compiler_list" = ""; then
5908 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
5911 case " $depcc " in #(
5912 *\ -arch\ *\ -arch\ *) am__universal=true ;;
5915 for depmode in $am_compiler_list; do
5916 # Setup a source with many dependencies, because some compilers
5917 # like to wrap large dependency lists on column 80 (with \), and
5918 # we should not choose a depcomp mode which is confused by this.
5920 # We need to recreate these files for each test, as the compiler may
5921 # overwrite some of them when testing with obscure command lines.
5922 # This happens at least with the AIX C compiler.
5924 for i in 1 2 3 4 5 6; do
5925 echo '#include "conftst'$i'.h"' >> sub/conftest.c
5926 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
5927 # Solaris 10 /bin/sh.
5928 echo '/* dummy */' > sub/conftst$i.h
5930 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5932 # We check with '-c' and '-o' for the sake of the "dashmstdout"
5933 # mode. It turns out that the SunPro C++ compiler does not properly
5934 # handle '-M -o', and we need to detect this. Also, some Intel
5935 # versions had trouble with output in subdirs.
5936 am__obj=sub/conftest.${OBJEXT-o}
5937 am__minus_obj="-o $am__obj"
5940 # This depmode causes a compiler race in universal mode.
5941 test "$am__universal" = false || continue
5944 # After this tag, mechanisms are not by side-effect, so they'll
5945 # only be used when explicitly requested.
5946 if test "x$enable_dependency_tracking" = xyes; then
5952 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
5953 # This compiler won't grok '-c -o', but also, the minuso test has
5954 # not run yet. These depmodes are late enough in the game, and
5955 # so weak that their functioning should not be impacted.
5956 am__obj=conftest.${OBJEXT-o}
5961 if depmode=$depmode \
5962 source=sub/conftest.c object=$am__obj \
5963 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5964 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5965 >/dev/null 2>conftest.err &&
5966 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5967 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5968 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5969 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5970 # icc doesn't choke on unknown options, it will just issue warnings
5971 # or remarks (even with -Werror). So we grep stderr for any message
5972 # that says an option was ignored or not supported.
5973 # When given -MP, icc 7.0 and 7.1 complain thusly:
5974 # icc: Command line warning: ignoring option '-M'; no argument required
5975 # The diagnosis changed in icc 8.0:
5976 # icc: Command line remark: option '-MP' not supported
5977 if (grep 'ignoring option' conftest.err ||
5978 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5979 am_cv_CC_dependencies_compiler_type=$depmode
5988 am_cv_CC_dependencies_compiler_type=none
5992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5993 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5994 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
5997 test "x$enable_dependency_tracking" != xno \
5998 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
6000 am__fastdepCC_FALSE='#'
6002 am__fastdepCC_TRUE='#'
6003 am__fastdepCC_FALSE=
6008 ac_build_cpp='$CPP_FOR_BUILD $CPPFLAGS_FOR_BUILD'
6009 ac_build_compile='$CC_FOR_BUILD -c $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD conftest.$ac_ext >&5'
6010 ac_build_link='$CC_FOR_BUILD -o conftest$ac_build_exeext $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD $LDFLAGS_FOR_BUILD conftest.$ac_ext $LIBS >&5'
6011 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6013 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6014 # On Suns, sometimes $CPP names a directory.
6015 if test -n "$CPP_FOR_BUILD" && test -d "$CPP_FOR_BUILD"; then
6018 if test -z "$CPP_FOR_BUILD"; then
6019 if ${ac_cv_build_prog_CPP+:} false; then :
6020 $as_echo_n "(cached) " >&6
6022 # Double quotes because CPP needs to be expanded
6023 for CPP_FOR_BUILD in "$CC_FOR_BUILD -E" "$CC_FOR_BUILD -E -traditional-cpp" "/lib/cpp"
6026 for ac_c_preproc_warn_flag in '' yes
6028 # Use a header file that comes with gcc, so configuring glibc
6029 # with a fresh cross-compiler works.
6030 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6031 # <limits.h> exists even on freestanding compilers.
6032 # On the NeXT, cc -E runs the code through the compiler's parser,
6033 # not just through cpp. "Syntax error" is here to catch this case.
6034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6035 /* end confdefs.h. */
6037 # include <limits.h>
6039 # include <assert.h>
6043 if ac_fn_c_try_cpp "$LINENO"; then :
6046 # Broken: fails on valid input.
6049 rm -f conftest.err conftest.i conftest.$ac_ext
6051 # OK, works on sane cases. Now check whether nonexistent headers
6052 # can be detected and how.
6053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6054 /* end confdefs.h. */
6055 #include <ac_nonexistent.h>
6057 if ac_fn_c_try_cpp "$LINENO"; then :
6058 # Broken: success on invalid input.
6061 # Passes both tests.
6065 rm -f conftest.err conftest.i conftest.$ac_ext
6068 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6069 rm -f conftest.i conftest.err conftest.
$ac_ext
6070 if $ac_preproc_ok; then :
6075 ac_cv_build_prog_CPP
=$CPP_FOR_BUILD
6078 CPP_FOR_BUILD
=$ac_cv_build_prog_CPP
6080 ac_cv_build_prog_CPP
=$CPP_FOR_BUILD
6082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP_FOR_BUILD" >&5
6083 $as_echo "$CPP_FOR_BUILD" >&6; }
6085 for ac_c_preproc_warn_flag
in '' yes
6087 # Use a header file that comes with gcc, so configuring glibc
6088 # with a fresh cross-compiler works.
6089 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6090 # <limits.h> exists even on freestanding compilers.
6091 # On the NeXT, cc -E runs the code through the compiler's parser,
6092 # not just through cpp. "Syntax error" is here to catch this case.
6093 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6094 /* end confdefs.h. */
6096 # include <limits.h>
6098 # include <assert.h>
6102 if ac_fn_c_try_cpp
"$LINENO"; then :
6105 # Broken: fails on valid input.
6108 rm -f conftest.err conftest.i conftest.
$ac_ext
6110 # OK, works on sane cases. Now check whether nonexistent headers
6111 # can be detected and how.
6112 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6113 /* end confdefs.h. */
6114 #include <ac_nonexistent.h>
6116 if ac_fn_c_try_cpp
"$LINENO"; then :
6117 # Broken: success on invalid input.
6120 # Passes both tests.
6124 rm -f conftest.err conftest.i conftest.
$ac_ext
6127 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6128 rm -f conftest.i conftest.err conftest.
$ac_ext
6129 if $ac_preproc_ok; then :
6132 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6133 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6134 as_fn_error $?
"C preprocessor \"$CPP_FOR_BUILD\" fails sanity check
6135 See \`config.log' for more details" "$LINENO" 5; }
6139 ac_build_cpp
='$CPP_FOR_BUILD $CPPFLAGS_FOR_BUILD'
6140 ac_build_compile
='$CC_FOR_BUILD -c $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD conftest.$ac_ext >&5'
6141 ac_build_link
='$CC_FOR_BUILD -o conftest$ac_build_exeext $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD $LDFLAGS_FOR_BUILD conftest.$ac_ext $LIBS >&5'
6142 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6146 ac_tool_prefix
=$save_ac_tool_prefix
6147 cross_compiling
=$save_cross_compiling
6150 BUILD_EXEEXT
=$ac_build_exeext
6151 BUILD_OBJEXT
=$ac_build_objext
6154 ac_cpp
='$CXXCPP $CPPFLAGS'
6155 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6156 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6157 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
6158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
6159 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
6160 if test -z "$CXXCPP"; then
6161 if ${ac_cv_prog_CXXCPP+:} false
; then :
6162 $as_echo_n "(cached) " >&6
6164 # Double quotes because CXXCPP needs to be expanded
6165 for CXXCPP
in "$CXX -E" "/lib/cpp"
6168 for ac_cxx_preproc_warn_flag
in '' yes
6170 # Use a header file that comes with gcc, so configuring glibc
6171 # with a fresh cross-compiler works.
6172 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6173 # <limits.h> exists even on freestanding compilers.
6174 # On the NeXT, cc -E runs the code through the compiler's parser,
6175 # not just through cpp. "Syntax error" is here to catch this case.
6176 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6177 /* end confdefs.h. */
6179 # include <limits.h>
6181 # include <assert.h>
6185 if ac_fn_cxx_try_cpp
"$LINENO"; then :
6188 # Broken: fails on valid input.
6191 rm -f conftest.err conftest.i conftest.
$ac_ext
6193 # OK, works on sane cases. Now check whether nonexistent headers
6194 # can be detected and how.
6195 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6196 /* end confdefs.h. */
6197 #include <ac_nonexistent.h>
6199 if ac_fn_cxx_try_cpp
"$LINENO"; then :
6200 # Broken: success on invalid input.
6203 # Passes both tests.
6207 rm -f conftest.err conftest.i conftest.
$ac_ext
6210 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6211 rm -f conftest.i conftest.err conftest.
$ac_ext
6212 if $ac_preproc_ok; then :
6217 ac_cv_prog_CXXCPP
=$CXXCPP
6220 CXXCPP
=$ac_cv_prog_CXXCPP
6222 ac_cv_prog_CXXCPP
=$CXXCPP
6224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
6225 $as_echo "$CXXCPP" >&6; }
6227 for ac_cxx_preproc_warn_flag
in '' yes
6229 # Use a header file that comes with gcc, so configuring glibc
6230 # with a fresh cross-compiler works.
6231 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6232 # <limits.h> exists even on freestanding compilers.
6233 # On the NeXT, cc -E runs the code through the compiler's parser,
6234 # not just through cpp. "Syntax error" is here to catch this case.
6235 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6236 /* end confdefs.h. */
6238 # include <limits.h>
6240 # include <assert.h>
6244 if ac_fn_cxx_try_cpp
"$LINENO"; then :
6247 # Broken: fails on valid input.
6250 rm -f conftest.err conftest.i conftest.
$ac_ext
6252 # OK, works on sane cases. Now check whether nonexistent headers
6253 # can be detected and how.
6254 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6255 /* end confdefs.h. */
6256 #include <ac_nonexistent.h>
6258 if ac_fn_cxx_try_cpp
"$LINENO"; then :
6259 # Broken: success on invalid input.
6262 # Passes both tests.
6266 rm -f conftest.err conftest.i conftest.
$ac_ext
6269 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6270 rm -f conftest.i conftest.err conftest.
$ac_ext
6271 if $ac_preproc_ok; then :
6274 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6275 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6276 as_fn_error $?
"C++ preprocessor \"$CXXCPP\" fails sanity check
6277 See \`config.log' for more details" "$LINENO" 5; }
6281 ac_cpp
='$CPP $CPPFLAGS'
6282 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6283 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6284 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6288 save_cross_compiling
=$cross_compiling
6289 save_ac_tool_prefix
=$ac_tool_prefix
6294 ac_cpp
='$CXXCPP_FOR_BUILD $CPPFLAGS_FOR_BUILD'
6295 ac_build_compile
='$CXX_FOR_BUILD -c $CXXFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD conftest.$ac_ext >&5'
6296 ac_build_link
='$CXX_FOR_BUILD -o conftest$ac_exeext $CXXFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD $LDFLAGS conftest.$ac_ext $LIBS >&5'
6297 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
6298 if test -z "$CXX_FOR_BUILD"; then
6299 if test -n "$CCC"; then
6302 if test -n "$ac_tool_prefix"; then
6303 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
6305 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6306 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
6307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6308 $as_echo_n "checking for $ac_word... " >&6; }
6309 if ${ac_cv_prog_CXX_FOR_BUILD+:} false
; then :
6310 $as_echo_n "(cached) " >&6
6312 if test -n "$CXX_FOR_BUILD"; then
6313 ac_cv_prog_CXX_FOR_BUILD
="$CXX_FOR_BUILD" # Let the user override the test.
6315 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6319 test -z "$as_dir" && as_dir
=.
6320 for ac_exec_ext
in '' $ac_executable_extensions; do
6321 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6322 ac_cv_prog_CXX_FOR_BUILD
="$ac_tool_prefix$ac_prog"
6323 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6332 CXX_FOR_BUILD
=$ac_cv_prog_CXX_FOR_BUILD
6333 if test -n "$CXX_FOR_BUILD"; then
6334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX_FOR_BUILD" >&5
6335 $as_echo "$CXX_FOR_BUILD" >&6; }
6337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6338 $as_echo "no" >&6; }
6342 test -n "$CXX_FOR_BUILD" && break
6345 if test -z "$CXX_FOR_BUILD"; then
6346 ac_ct_CXX_FOR_BUILD
=$CXX_FOR_BUILD
6347 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
6349 # Extract the first word of "$ac_prog", so it can be a program name with args.
6350 set dummy
$ac_prog; ac_word
=$2
6351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6352 $as_echo_n "checking for $ac_word... " >&6; }
6353 if ${ac_cv_prog_ac_ct_CXX_FOR_BUILD+:} false
; then :
6354 $as_echo_n "(cached) " >&6
6356 if test -n "$ac_ct_CXX_FOR_BUILD"; then
6357 ac_cv_prog_ac_ct_CXX_FOR_BUILD
="$ac_ct_CXX_FOR_BUILD" # Let the user override the test.
6359 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6363 test -z "$as_dir" && as_dir
=.
6364 for ac_exec_ext
in '' $ac_executable_extensions; do
6365 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6366 ac_cv_prog_ac_ct_CXX_FOR_BUILD
="$ac_prog"
6367 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6376 ac_ct_CXX_FOR_BUILD
=$ac_cv_prog_ac_ct_CXX_FOR_BUILD
6377 if test -n "$ac_ct_CXX_FOR_BUILD"; then
6378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX_FOR_BUILD" >&5
6379 $as_echo "$ac_ct_CXX_FOR_BUILD" >&6; }
6381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6382 $as_echo "no" >&6; }
6386 test -n "$ac_ct_CXX_FOR_BUILD" && break
6389 if test "x$ac_ct_CXX_FOR_BUILD" = x
; then
6392 case $cross_compiling:$ac_tool_warned in
6394 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with build triplet" >&5
6395 $as_echo "$as_me: WARNING: using cross tools not prefixed with build triplet" >&2;}
6396 ac_tool_warned
=yes ;;
6398 CXX_FOR_BUILD
=$ac_ct_CXX_FOR_BUILD
6404 # Provide some information about the compiler.
6405 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
6406 set X
$ac_build_compile
6408 for ac_option
in --version -v -V -qversion; do
6409 { { ac_try
="$ac_compiler $ac_option >&5"
6411 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
6412 *) ac_try_echo=$ac_try;;
6414 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
6415 $as_echo "$ac_try_echo"; } >&5
6416 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
6418 if test -s conftest.err; then
6420 ... rest of stderr output deleted ...
6421 10q' conftest.err >conftest.er1
6422 cat conftest.er1 >&5
6424 rm -f conftest.er1 conftest.err
6425 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6426 test $ac_status = 0; }
6429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
6430 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
6431 if ${ac_cv_cxx_compiler_gnu+:} false; then :
6432 $as_echo_n "(cached) " >&6
6434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6435 /* end confdefs.h. */
6448 if ac_fn_cxx_try_compile "$LINENO"; then :
6453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6454 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
6457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
6458 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
6459 if test $ac_compiler_gnu = yes; then
6464 ac_test_CXXFLAGS=${CXXFLAGS_FOR_BUILD+set}
6465 ac_save_CXXFLAGS=$CXXFLAGS_FOR_BUILD
6466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX_FOR_BUILD accepts -g" >&5
6467 $as_echo_n "checking whether $CXX_FOR_BUILD accepts -g... " >&6; }
6468 if ${ac_cv_build_prog_cxx_g+:} false; then :
6469 $as_echo_n "(cached) " >&6
6471 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
6472 ac_cxx_werror_flag=yes
6473 ac_cv_build_prog_cxx_g=no
6474 CXXFLAGS_FOR_BUILD="-g"
6475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6476 /* end confdefs.h. */
6486 if ac_fn_cxx_try_compile "$LINENO"; then :
6487 ac_cv_build_prog_cxx_g=yes
6489 CXXFLAGS_FOR_BUILD=""
6490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6491 /* end confdefs.h. */
6501 if ac_fn_cxx_try_compile "$LINENO"; then :
6504 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
6505 CXXFLAGS_FOR_BUILD="-g"
6506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6507 /* end confdefs.h. */
6517 if ac_fn_cxx_try_compile "$LINENO"; then :
6518 ac_cv_build_prog_cxx_g=yes
6520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6525 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
6527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build_prog_cxx_g" >&5
6528 $as_echo "$ac_cv_build_prog_cxx_g" >&6; }
6529 if test "$ac_test_CXXFLAGS" = set; then
6530 CXXFLAGS_FOR_BUILD=$ac_save_CXXFLAGS
6531 elif test $ac_cv_build_prog_cxx_g = yes; then
6532 if test "$GXX" = yes; then
6533 CXXFLAGS_FOR_BUILD="-g -O2"
6535 CXXFLAGS_FOR_BUILD="-g"
6538 if test "$GXX" = yes; then
6539 CXXFLAGS_FOR_BUILD="-O2"
6545 ac_cpp='$CPP $CPPFLAGS_FOR_BUILD'
6546 ac_build_compile='$CC -c $CFLAGS $CPPFLAGS_FOR_BUILD conftest.$ac_ext >&5'
6547 ac_build_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS_FOR_BUILD $LDFLAGS conftest.$ac_ext $LIBS >&5'
6548 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6550 depcc="$CXX_FOR_BUILD" am_compiler_list=
6552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
6553 $as_echo_n "checking dependency style of $depcc... " >&6; }
6554 if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
6555 $as_echo_n "(cached) " >&6
6557 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
6558 # We make a subdir and do the tests there. Otherwise we can end up
6559 # making bogus files that we don't know about and never remove. For
6560 # instance it was reported that on HP-UX the gcc test will end up
6561 # making a dummy file named 'D' -- because '-MD' means "put the output
6565 # Copy depcomp to subdir because otherwise we won't find it if we're
6566 # using a relative directory.
6567 cp "$am_depcomp" conftest.dir
6569 # We will build objects and dependencies in a subdirectory because
6570 # it helps to detect inapplicable dependency modes. For instance
6571 # both Tru64's cc and ICC support -MD to output dependencies as a
6572 # side effect of compilation, but ICC will put the dependencies in
6573 # the current directory while Tru64 will put them in the object
6577 am_cv_CXX_dependencies_compiler_type=none
6578 if test "$am_compiler_list" = ""; then
6579 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
6582 case " $depcc " in #(
6583 *\ -arch\ *\ -arch\ *) am__universal=true ;;
6586 for depmode in $am_compiler_list; do
6587 # Setup a source with many dependencies, because some compilers
6588 # like to wrap large dependency lists on column 80 (with \), and
6589 # we should not choose a depcomp mode which is confused by this.
6591 # We need to recreate these files for each test, as the compiler may
6592 # overwrite some of them when testing with obscure command lines.
6593 # This happens at least with the AIX C compiler.
6595 for i in 1 2 3 4 5 6; do
6596 echo '#include "conftst'$i'.h"' >> sub/conftest.c
6597 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
6598 # Solaris 10 /bin/sh.
6599 echo '/* dummy */' > sub/conftst$i.h
6601 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
6603 # We check with '-c' and '-o' for the sake of the "dashmstdout"
6604 # mode. It turns out that the SunPro C++ compiler does not properly
6605 # handle '-M -o', and we need to detect this. Also, some Intel
6606 # versions had trouble with output in subdirs.
6607 am__obj=sub/conftest.${OBJEXT-o}
6608 am__minus_obj="-o $am__obj"
6611 # This depmode causes a compiler race in universal mode.
6612 test "$am__universal" = false || continue
6615 # After this tag, mechanisms are not by side-effect, so they'll
6616 # only be used when explicitly requested.
6617 if test "x$enable_dependency_tracking" = xyes; then
6623 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
6624 # This compiler won't grok '-c -o', but also, the minuso test has
6625 # not run yet. These depmodes are late enough in the game, and
6626 # so weak that their functioning should not be impacted.
6627 am__obj=conftest.${OBJEXT-o}
6632 if depmode=$depmode \
6633 source=sub/conftest.c object=$am__obj \
6634 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
6635 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
6636 >/dev/null 2>conftest.err &&
6637 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
6638 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
6639 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
6640 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
6641 # icc doesn't choke on unknown options, it will just issue warnings
6642 # or remarks (even with -Werror). So we grep stderr for any message
6643 # that says an option was ignored or not supported.
6644 # When given -MP, icc 7.0 and 7.1 complain thusly:
6645 # icc: Command line warning: ignoring option '-M'; no argument required
6646 # The diagnosis changed in icc 8.0:
6647 # icc: Command line remark: option '-MP' not supported
6648 if (grep 'ignoring option' conftest.err ||
6649 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
6650 am_cv_CXX_dependencies_compiler_type=$depmode
6659 am_cv_CXX_dependencies_compiler_type=none
6663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
6664 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
6665 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
6668 test "x$enable_dependency_tracking" != xno \
6669 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
6670 am__fastdepCXX_TRUE=
6671 am__fastdepCXX_FALSE='#'
6673 am__fastdepCXX_TRUE='#'
6674 am__fastdepCXX_FALSE=
6679 ac_cpp='$CXXCPP_FOR_BUILD $CPPFLAGS_FOR_BUILD'
6680 ac_build_compile='$CXX_FOR_BUILD -c $CXXFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD conftest.$ac_ext >&5'
6681 ac_build_link='$CXX_FOR_BUILD -o conftest$ac_exeext $CXXFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD $LDFLAGS conftest.$ac_ext $LIBS >&5'
6682 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
6684 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
6685 if test -z "$CXXCPP_FOR_BUILD"; then
6686 if ${ac_cv_build_prog_CXXCPP+:} false; then :
6687 $as_echo_n "(cached) " >&6
6689 # Double quotes because CXXCPP needs to be expanded
6690 for CXXCPP_FOR_BUILD in "$CXX_FOR_BUILD -E" "/lib/cpp"
6693 for ac_cxx_preproc_warn_flag in '' yes
6695 # Use a header file that comes with gcc, so configuring glibc
6696 # with a fresh cross-compiler works.
6697 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6698 # <limits.h> exists even on freestanding compilers.
6699 # On the NeXT, cc -E runs the code through the compiler's parser,
6700 # not just through cpp. "Syntax error" is here to catch this case.
6701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6702 /* end confdefs.h. */
6704 # include <limits.h>
6706 # include <assert.h>
6710 if ac_fn_cxx_try_cpp "$LINENO"; then :
6713 # Broken: fails on valid input.
6716 rm -f conftest.err conftest.i conftest.$ac_ext
6718 # OK, works on sane cases. Now check whether nonexistent headers
6719 # can be detected and how.
6720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6721 /* end confdefs.h. */
6722 #include <ac_nonexistent.h>
6724 if ac_fn_cxx_try_cpp "$LINENO"; then :
6725 # Broken: success on invalid input.
6728 # Passes both tests.
6732 rm -f conftest.err conftest.i conftest.$ac_ext
6735 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6736 rm -f conftest.i conftest.err conftest.
$ac_ext
6737 if $ac_preproc_ok; then :
6742 ac_cv_build_prog_CXXCPP
=$CXXCPP_FOR_BUILD
6745 CXXCPP_FOR_BUILD
=$ac_cv_build_prog_CXXCPP
6747 ac_cv_build_prog_CXXCPP
=$CXXCPP_FOR_BUILD
6749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP_FOR_BUILD" >&5
6750 $as_echo "$CXXCPP_FOR_BUILD" >&6; }
6752 for ac_cxx_preproc_warn_flag
in '' yes
6754 # Use a header file that comes with gcc, so configuring glibc
6755 # with a fresh cross-compiler works.
6756 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6757 # <limits.h> exists even on freestanding compilers.
6758 # On the NeXT, cc -E runs the code through the compiler's parser,
6759 # not just through cpp. "Syntax error" is here to catch this case.
6760 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6761 /* end confdefs.h. */
6763 # include <limits.h>
6765 # include <assert.h>
6769 if ac_fn_cxx_try_cpp
"$LINENO"; then :
6772 # Broken: fails on valid input.
6775 rm -f conftest.err conftest.i conftest.
$ac_ext
6777 # OK, works on sane cases. Now check whether nonexistent headers
6778 # can be detected and how.
6779 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6780 /* end confdefs.h. */
6781 #include <ac_nonexistent.h>
6783 if ac_fn_cxx_try_cpp
"$LINENO"; then :
6784 # Broken: success on invalid input.
6787 # Passes both tests.
6791 rm -f conftest.err conftest.i conftest.
$ac_ext
6794 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6795 rm -f conftest.i conftest.err conftest.
$ac_ext
6796 if $ac_preproc_ok; then :
6799 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6800 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6801 as_fn_error $?
"C++ preprocessor \"$CXXCPP_FOR_BUILD\" fails sanity check
6802 See \`config.log' for more details" "$LINENO" 5; }
6806 ac_cpp
='$CPP $CPPFLAGS_FOR_BUILD'
6807 ac_build_compile
='$CC -c $CFLAGS $CPPFLAGS_FOR_BUILD conftest.$ac_ext >&5'
6808 ac_build_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS_FOR_BUILD $LDFLAGS conftest.$ac_ext $LIBS >&5'
6809 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6812 ac_tool_prefix
=$save_ac_tool_prefix
6813 cross_compiling
=$save_cross_compiling
6819 if test -n "$ac_tool_prefix"; then
6820 for ac_prog
in ar lib
"link -lib"
6822 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6823 set dummy
$ac_tool_prefix$ac_prog; 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_AR+:} false
; then :
6827 $as_echo_n "(cached) " >&6
6829 if test -n "$AR"; then
6830 ac_cv_prog_AR
="$AR" # 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_AR
="$ac_tool_prefix$ac_prog"
6840 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6850 if test -n "$AR"; then
6851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6852 $as_echo "$AR" >&6; }
6854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6855 $as_echo "no" >&6; }
6859 test -n "$AR" && break
6862 if test -z "$AR"; then
6864 for ac_prog
in ar lib
"link -lib"
6866 # Extract the first word of "$ac_prog", so it can be a program name with args.
6867 set dummy
$ac_prog; ac_word
=$2
6868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6869 $as_echo_n "checking for $ac_word... " >&6; }
6870 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
6871 $as_echo_n "(cached) " >&6
6873 if test -n "$ac_ct_AR"; then
6874 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
6876 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6880 test -z "$as_dir" && as_dir
=.
6881 for ac_exec_ext
in '' $ac_executable_extensions; do
6882 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6883 ac_cv_prog_ac_ct_AR
="$ac_prog"
6884 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6893 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
6894 if test -n "$ac_ct_AR"; then
6895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6896 $as_echo "$ac_ct_AR" >&6; }
6898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6899 $as_echo "no" >&6; }
6903 test -n "$ac_ct_AR" && break
6906 if test "x$ac_ct_AR" = x
; then
6909 case $cross_compiling:$ac_tool_warned in
6911 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6912 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6913 ac_tool_warned
=yes ;;
6921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the archiver ($AR) interface" >&5
6922 $as_echo_n "checking the archiver ($AR) interface... " >&6; }
6923 if ${am_cv_ar_interface+:} false
; then :
6924 $as_echo_n "(cached) " >&6
6927 ac_cpp
='$CPP $CPPFLAGS'
6928 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6929 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6930 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6932 am_cv_ar_interface
=ar
6933 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6934 /* end confdefs.h. */
6935 int some_variable = 0;
6937 if ac_fn_c_try_compile
"$LINENO"; then :
6938 am_ar_try
='$AR cru libconftest.a conftest.$ac_objext >&5'
6939 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
6940 (eval $am_ar_try) 2>&5
6942 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6943 test $ac_status = 0; }
6944 if test "$ac_status" -eq 0; then
6945 am_cv_ar_interface
=ar
6947 am_ar_try
='$AR -NOLOGO -OUT:conftest.lib conftest.$ac_objext >&5'
6948 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
6949 (eval $am_ar_try) 2>&5
6951 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6952 test $ac_status = 0; }
6953 if test "$ac_status" -eq 0; then
6954 am_cv_ar_interface
=lib
6956 am_cv_ar_interface
=unknown
6959 rm -f conftest.lib libconftest.a
6962 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6964 ac_cpp
='$CPP $CPPFLAGS'
6965 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6966 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6967 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_ar_interface" >&5
6971 $as_echo "$am_cv_ar_interface" >&6; }
6973 case $am_cv_ar_interface in
6977 # Microsoft lib, so override with the ar-lib wrapper script.
6978 # FIXME: It is wrong to rewrite AR.
6979 # But if we don't then we get into trouble of one sort or another.
6980 # A longer-term fix would be to have automake use am__AR in this case,
6981 # and then we could set am__AR="$am_aux_dir/ar-lib \$(AR)" or something
6983 AR
="$am_aux_dir/ar-lib $AR"
6986 as_fn_error $?
"could not determine $AR interface" "$LINENO" 5
6994 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
6995 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
7000 macro_version
='2.4.6'
7001 macro_revision
='2.4.6'
7015 ltmain
=$ac_aux_dir/ltmain.sh
7017 # Backslashify metacharacters that are still active within
7018 # double-quoted strings.
7019 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g'
7021 # Same as above, but do not quote variable references.
7022 double_quote_subst
='s/\(["`\\]\)/\\\1/g'
7024 # Sed substitution to delay expansion of an escaped shell variable in a
7025 # double_quote_subst'ed string.
7026 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
7028 # Sed substitution to delay expansion of an escaped single quote.
7029 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
7031 # Sed substitution to avoid accidental globbing in evaled expressions
7032 no_glob_subst
='s/\*/\\\*/g'
7034 ECHO
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
7035 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
7036 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
7038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
7039 $as_echo_n "checking how to print strings... " >&6; }
7040 # Test print first, because it will be a builtin if present.
7041 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
7042 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
7044 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
7047 # Use this function as a fallback that always works.
7048 func_fallback_echo ()
7050 eval 'cat <<_LTECHO_EOF
7054 ECHO='func_fallback_echo
'
7057 # func_echo_all arg...
7058 # Invoke $ECHO with all args, space-separated.
7065 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
7066 $as_echo "printf" >&6; } ;;
7067 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
7068 $as_echo "print -r" >&6; } ;;
7069 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
7070 $as_echo "cat" >&6; } ;;
7086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
7087 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
7088 if ${ac_cv_path_SED+:} false; then :
7089 $as_echo_n "(cached) " >&6
7091 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
7092 for ac_i in 1 2 3 4 5 6 7; do
7093 ac_script="$ac_script$as_nl$ac_script"
7095 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
7096 { ac_script=; unset ac_script;}
7097 if test -z "$SED"; then
7098 ac_path_SED_found=false
7099 # Loop through the user's path and
test for each of PROGNAME
-LIST
7100 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7104 test -z "$as_dir" && as_dir
=.
7105 for ac_prog
in sed gsed
; do
7106 for ac_exec_ext
in '' $ac_executable_extensions; do
7107 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
7108 as_fn_executable_p
"$ac_path_SED" || continue
7109 # Check for GNU ac_path_SED and select it if it is found.
7110 # Check for GNU $ac_path_SED
7111 case `"$ac_path_SED" --version 2>&1` in
7113 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
7116 $as_echo_n 0123456789 >"conftest.in"
7119 cat "conftest.in" "conftest.in" >"conftest.tmp"
7120 mv "conftest.tmp" "conftest.in"
7121 cp "conftest.in" "conftest.nl"
7122 $as_echo '' >> "conftest.nl"
7123 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
7124 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
7125 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
7126 if test $ac_count -gt ${ac_path_SED_max-0}; then
7127 # Best one so far, save it but keep looking for a better one
7128 ac_cv_path_SED
="$ac_path_SED"
7129 ac_path_SED_max
=$ac_count
7131 # 10*(2^10) chars as input seems more than enough
7132 test $ac_count -gt 10 && break
7134 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
7137 $ac_path_SED_found && break 3
7142 if test -z "$ac_cv_path_SED"; then
7143 as_fn_error $?
"no acceptable sed could be found in \$PATH" "$LINENO" 5
7150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
7151 $as_echo "$ac_cv_path_SED" >&6; }
7152 SED
="$ac_cv_path_SED"
7155 test -z "$SED" && SED
=sed
7156 Xsed
="$SED -e 1s/^X//"
7168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
7169 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
7170 if ${ac_cv_path_GREP+:} false
; then :
7171 $as_echo_n "(cached) " >&6
7173 if test -z "$GREP"; then
7174 ac_path_GREP_found
=false
7175 # Loop through the user's path and test for each of PROGNAME-LIST
7176 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7177 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
7180 test -z "$as_dir" && as_dir
=.
7181 for ac_prog
in grep ggrep
; do
7182 for ac_exec_ext
in '' $ac_executable_extensions; do
7183 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
7184 as_fn_executable_p
"$ac_path_GREP" || continue
7185 # Check for GNU ac_path_GREP and select it if it is found.
7186 # Check for GNU $ac_path_GREP
7187 case `"$ac_path_GREP" --version 2>&1` in
7189 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
7192 $as_echo_n 0123456789 >"conftest.in"
7195 cat "conftest.in" "conftest.in" >"conftest.tmp"
7196 mv "conftest.tmp" "conftest.in"
7197 cp "conftest.in" "conftest.nl"
7198 $as_echo 'GREP' >> "conftest.nl"
7199 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
7200 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
7201 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
7202 if test $ac_count -gt ${ac_path_GREP_max-0}; then
7203 # Best one so far, save it but keep looking for a better one
7204 ac_cv_path_GREP
="$ac_path_GREP"
7205 ac_path_GREP_max
=$ac_count
7207 # 10*(2^10) chars as input seems more than enough
7208 test $ac_count -gt 10 && break
7210 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
7213 $ac_path_GREP_found && break 3
7218 if test -z "$ac_cv_path_GREP"; then
7219 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7222 ac_cv_path_GREP
=$GREP
7226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
7227 $as_echo "$ac_cv_path_GREP" >&6; }
7228 GREP
="$ac_cv_path_GREP"
7231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
7232 $as_echo_n "checking for egrep... " >&6; }
7233 if ${ac_cv_path_EGREP+:} false
; then :
7234 $as_echo_n "(cached) " >&6
7236 if echo a
| $GREP -E '(a|b)' >/dev
/null
2>&1
7237 then ac_cv_path_EGREP
="$GREP -E"
7239 if test -z "$EGREP"; then
7240 ac_path_EGREP_found
=false
7241 # Loop through the user's path and test for each of PROGNAME-LIST
7242 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7243 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
7246 test -z "$as_dir" && as_dir
=.
7247 for ac_prog
in egrep; do
7248 for ac_exec_ext
in '' $ac_executable_extensions; do
7249 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
7250 as_fn_executable_p
"$ac_path_EGREP" || continue
7251 # Check for GNU ac_path_EGREP and select it if it is found.
7252 # Check for GNU $ac_path_EGREP
7253 case `"$ac_path_EGREP" --version 2>&1` in
7255 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
7258 $as_echo_n 0123456789 >"conftest.in"
7261 cat "conftest.in" "conftest.in" >"conftest.tmp"
7262 mv "conftest.tmp" "conftest.in"
7263 cp "conftest.in" "conftest.nl"
7264 $as_echo 'EGREP' >> "conftest.nl"
7265 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
7266 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
7267 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
7268 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
7269 # Best one so far, save it but keep looking for a better one
7270 ac_cv_path_EGREP
="$ac_path_EGREP"
7271 ac_path_EGREP_max
=$ac_count
7273 # 10*(2^10) chars as input seems more than enough
7274 test $ac_count -gt 10 && break
7276 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
7279 $ac_path_EGREP_found && break 3
7284 if test -z "$ac_cv_path_EGREP"; then
7285 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7288 ac_cv_path_EGREP
=$EGREP
7293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
7294 $as_echo "$ac_cv_path_EGREP" >&6; }
7295 EGREP
="$ac_cv_path_EGREP"
7298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
7299 $as_echo_n "checking for fgrep... " >&6; }
7300 if ${ac_cv_path_FGREP+:} false
; then :
7301 $as_echo_n "(cached) " >&6
7303 if echo 'ab*c' | $GREP -F 'ab*c' >/dev
/null
2>&1
7304 then ac_cv_path_FGREP
="$GREP -F"
7306 if test -z "$FGREP"; then
7307 ac_path_FGREP_found
=false
7308 # Loop through the user's path and test for each of PROGNAME-LIST
7309 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7310 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
7313 test -z "$as_dir" && as_dir
=.
7314 for ac_prog
in fgrep
; do
7315 for ac_exec_ext
in '' $ac_executable_extensions; do
7316 ac_path_FGREP
="$as_dir/$ac_prog$ac_exec_ext"
7317 as_fn_executable_p
"$ac_path_FGREP" || continue
7318 # Check for GNU ac_path_FGREP and select it if it is found.
7319 # Check for GNU $ac_path_FGREP
7320 case `"$ac_path_FGREP" --version 2>&1` in
7322 ac_cv_path_FGREP
="$ac_path_FGREP" ac_path_FGREP_found
=:;;
7325 $as_echo_n 0123456789 >"conftest.in"
7328 cat "conftest.in" "conftest.in" >"conftest.tmp"
7329 mv "conftest.tmp" "conftest.in"
7330 cp "conftest.in" "conftest.nl"
7331 $as_echo 'FGREP' >> "conftest.nl"
7332 "$ac_path_FGREP" FGREP
< "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
7333 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
7334 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
7335 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
7336 # Best one so far, save it but keep looking for a better one
7337 ac_cv_path_FGREP
="$ac_path_FGREP"
7338 ac_path_FGREP_max
=$ac_count
7340 # 10*(2^10) chars as input seems more than enough
7341 test $ac_count -gt 10 && break
7343 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
7346 $ac_path_FGREP_found && break 3
7351 if test -z "$ac_cv_path_FGREP"; then
7352 as_fn_error $?
"no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7355 ac_cv_path_FGREP
=$FGREP
7360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
7361 $as_echo "$ac_cv_path_FGREP" >&6; }
7362 FGREP
="$ac_cv_path_FGREP"
7365 test -z "$GREP" && GREP
=grep
7385 # Check whether --with-gnu-ld was given.
7386 if test "${with_gnu_ld+set}" = set; then :
7387 withval
=$with_gnu_ld; test no
= "$withval" || with_gnu_ld
=yes
7393 if test yes = "$GCC"; then
7394 # Check if gcc -print-prog-name=ld gives a path.
7395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
7396 $as_echo_n "checking for ld used by $CC... " >&6; }
7399 # gcc leaves a trailing carriage return, which upsets mingw
7400 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
7402 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
7405 # Accept absolute paths.
7407 re_direlt
='/[^/][^/]*/\.\./'
7408 # Canonicalize the pathname of ld
7409 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
7410 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev
/null
2>&1; do
7411 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
7413 test -z "$LD" && LD
=$ac_prog
7416 # If it fails, then pretend we aren't using GCC.
7420 # If it is relative, then search for the first ld in PATH.
7424 elif test yes = "$with_gnu_ld"; then
7425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
7426 $as_echo_n "checking for GNU ld... " >&6; }
7428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
7429 $as_echo_n "checking for non-GNU ld... " >&6; }
7431 if ${lt_cv_path_LD+:} false
; then :
7432 $as_echo_n "(cached) " >&6
7434 if test -z "$LD"; then
7435 lt_save_ifs
=$IFS; IFS
=$PATH_SEPARATOR
7436 for ac_dir
in $PATH; do
7438 test -z "$ac_dir" && ac_dir
=.
7439 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
7440 lt_cv_path_LD
=$ac_dir/$ac_prog
7441 # Check to see if the program is GNU ld. I'd rather use --version,
7442 # but apparently some variants of GNU ld only accept -v.
7443 # Break only if it was the GNU/non-GNU ld that we prefer.
7444 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
7445 *GNU
* | *'with BFD'*)
7446 test no
!= "$with_gnu_ld" && break
7449 test yes != "$with_gnu_ld" && break
7456 lt_cv_path_LD
=$LD # Let the user override the test with a path.
7461 if test -n "$LD"; then
7462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
7463 $as_echo "$LD" >&6; }
7465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7466 $as_echo "no" >&6; }
7468 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
7469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
7470 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
7471 if ${lt_cv_prog_gnu_ld+:} false
; then :
7472 $as_echo_n "(cached) " >&6
7474 # I'd rather use --version here, but apparently some GNU lds only accept -v.
7475 case `$LD -v 2>&1 </dev/null` in
7476 *GNU
* | *'with BFD'*)
7477 lt_cv_prog_gnu_ld
=yes
7480 lt_cv_prog_gnu_ld
=no
7484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
7485 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
7486 with_gnu_ld
=$lt_cv_prog_gnu_ld
7496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
7497 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
7498 if ${lt_cv_path_NM+:} false
; then :
7499 $as_echo_n "(cached) " >&6
7501 if test -n "$NM"; then
7502 # Let the user override the test.
7505 lt_nm_to_check
=${ac_tool_prefix}nm
7506 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
7507 lt_nm_to_check
="$lt_nm_to_check nm"
7509 for lt_tmp_nm
in $lt_nm_to_check; do
7510 lt_save_ifs
=$IFS; IFS
=$PATH_SEPARATOR
7511 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
7513 test -z "$ac_dir" && ac_dir
=.
7514 tmp_nm
=$ac_dir/$lt_tmp_nm
7515 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
7516 # Check to see if the nm accepts a BSD-compat flag.
7517 # Adding the 'sed 1q' prevents false positives on HP-UX, which says:
7518 # nm: unknown option "B" ignored
7519 # Tru64's nm complains that /dev/null is an invalid object file
7520 # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
7522 mingw
*) lt_bad_file
=conftest.nm
/nofile
;;
7523 *) lt_bad_file
=/dev
/null
;;
7525 case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
7526 *$lt_bad_file* | *'Invalid file or object type'*)
7527 lt_cv_path_NM
="$tmp_nm -B"
7531 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
7533 lt_cv_path_NM
="$tmp_nm -p"
7537 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
7538 continue # so that we can try to find one that supports BSD flags
7547 : ${lt_cv_path_NM=no}
7550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
7551 $as_echo "$lt_cv_path_NM" >&6; }
7552 if test no
!= "$lt_cv_path_NM"; then
7555 # Didn't find any BSD compatible name lister, look for dumpbin.
7556 if test -n "$DUMPBIN"; then :
7557 # Let the user override the test.
7559 if test -n "$ac_tool_prefix"; then
7560 for ac_prog
in dumpbin
"link -dump"
7562 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7563 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
7564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7565 $as_echo_n "checking for $ac_word... " >&6; }
7566 if ${ac_cv_prog_DUMPBIN+:} false
; then :
7567 $as_echo_n "(cached) " >&6
7569 if test -n "$DUMPBIN"; then
7570 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
7572 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7576 test -z "$as_dir" && as_dir
=.
7577 for ac_exec_ext
in '' $ac_executable_extensions; do
7578 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7579 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
7580 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7589 DUMPBIN
=$ac_cv_prog_DUMPBIN
7590 if test -n "$DUMPBIN"; then
7591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
7592 $as_echo "$DUMPBIN" >&6; }
7594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7595 $as_echo "no" >&6; }
7599 test -n "$DUMPBIN" && break
7602 if test -z "$DUMPBIN"; then
7603 ac_ct_DUMPBIN
=$DUMPBIN
7604 for ac_prog
in dumpbin
"link -dump"
7606 # Extract the first word of "$ac_prog", so it can be a program name with args.
7607 set dummy
$ac_prog; ac_word
=$2
7608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7609 $as_echo_n "checking for $ac_word... " >&6; }
7610 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false
; then :
7611 $as_echo_n "(cached) " >&6
7613 if test -n "$ac_ct_DUMPBIN"; then
7614 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
7616 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7620 test -z "$as_dir" && as_dir
=.
7621 for ac_exec_ext
in '' $ac_executable_extensions; do
7622 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7623 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
7624 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7633 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
7634 if test -n "$ac_ct_DUMPBIN"; then
7635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
7636 $as_echo "$ac_ct_DUMPBIN" >&6; }
7638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7639 $as_echo "no" >&6; }
7643 test -n "$ac_ct_DUMPBIN" && break
7646 if test "x$ac_ct_DUMPBIN" = x
; then
7649 case $cross_compiling:$ac_tool_warned in
7651 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7652 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7653 ac_tool_warned
=yes ;;
7655 DUMPBIN
=$ac_ct_DUMPBIN
7659 case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
7661 DUMPBIN
="$DUMPBIN -symbols -headers"
7669 if test : != "$DUMPBIN"; then
7673 test -z "$NM" && NM
=nm
7680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
7681 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
7682 if ${lt_cv_nm_interface+:} false
; then :
7683 $as_echo_n "(cached) " >&6
7685 lt_cv_nm_interface
="BSD nm"
7686 echo "int some_variable = 0;" > conftest.
$ac_ext
7687 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
7688 (eval "$ac_compile" 2>conftest.err
)
7689 cat conftest.err
>&5
7690 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
7691 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
7692 cat conftest.err
>&5
7693 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
7694 cat conftest.out
>&5
7695 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
7696 lt_cv_nm_interface
="MS dumpbin"
7700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
7701 $as_echo "$lt_cv_nm_interface" >&6; }
7703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
7704 $as_echo_n "checking whether ln -s works... " >&6; }
7706 if test "$LN_S" = "ln -s"; then
7707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7708 $as_echo "yes" >&6; }
7710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
7711 $as_echo "no, using $LN_S" >&6; }
7714 # find the maximum length of command line arguments
7715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
7716 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
7717 if ${lt_cv_sys_max_cmd_len+:} false
; then :
7718 $as_echo_n "(cached) " >&6
7725 # On DJGPP, this test can blow up pretty badly due to problems in libc
7726 # (any single argument exceeding 2000 bytes causes a buffer overrun
7727 # during glob expansion). Even if it were fixed, the result of this
7728 # check would be larger than it should be.
7729 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
7733 # Under GNU Hurd, this test is not required because there is
7734 # no limit to the length of command line arguments.
7735 # Libtool will interpret -1 as no limit whatsoever
7736 lt_cv_sys_max_cmd_len
=-1;
7739 cygwin
* | mingw
* | cegcc
*)
7740 # On Win9x/ME, this test blows up -- it succeeds, but takes
7741 # about 5 minutes as the teststring grows exponentially.
7742 # Worse, since 9x/ME are not pre-emptively multitasking,
7743 # you end up with a "frozen" computer, even though with patience
7744 # the test eventually succeeds (with a max line length of 256k).
7745 # Instead, let's just punt: use the minimum linelength reported by
7746 # all of the supported platforms: 8192 (on NT/2K/XP).
7747 lt_cv_sys_max_cmd_len
=8192;
7751 # On MiNT this can take a long time and run out of memory.
7752 lt_cv_sys_max_cmd_len
=8192;
7756 # On AmigaOS with pdksh, this test takes hours, literally.
7757 # So we just punt and use a minimum line length of 8192.
7758 lt_cv_sys_max_cmd_len
=8192;
7761 bitrig
* | darwin
* | dragonfly
* | freebsd
* | netbsd
* | openbsd
*)
7762 # This has been around since 386BSD, at least. Likely further.
7763 if test -x /sbin
/sysctl
; then
7764 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
7765 elif test -x /usr
/sbin
/sysctl
; then
7766 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
7768 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
7770 # And add a safety zone
7771 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
7772 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
7776 # We know the value 262144 and hardcode it with a safety zone (like BSD)
7777 lt_cv_sys_max_cmd_len
=196608
7781 # The test takes a long time on OS/2.
7782 lt_cv_sys_max_cmd_len
=8192
7786 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
7787 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
7788 # nice to cause kernel panics so lets avoid the loop below.
7789 # First set a reasonable default.
7790 lt_cv_sys_max_cmd_len
=16384
7792 if test -x /sbin
/sysconfig
; then
7793 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
7794 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
7799 lt_cv_sys_max_cmd_len
=102400
7801 sysv5
* | sco5v6
* | sysv4.2uw2
*)
7802 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
7803 if test -n "$kargmax"; then
7804 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
7806 lt_cv_sys_max_cmd_len
=32768
7810 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
7811 if test -n "$lt_cv_sys_max_cmd_len" && \
7812 test undefined
!= "$lt_cv_sys_max_cmd_len"; then
7813 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
7814 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
7816 # Make teststring a little bigger before we do anything with it.
7817 # a 1K string should be a reasonable start.
7818 for i
in 1 2 3 4 5 6 7 8; do
7819 teststring
=$teststring$teststring
7821 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
7822 # If test is not a shell built-in, we'll probably end up computing a
7823 # maximum length that is only half of the actual maximum length, but
7825 while { test X
`env echo "$teststring$teststring" 2>/dev/null` \
7826 = "X$teststring$teststring"; } >/dev
/null
2>&1 &&
7827 test 17 != "$i" # 1/2 MB should be enough
7830 teststring
=$teststring$teststring
7832 # Only check the string length outside the loop.
7833 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
7835 # Add a significant safety factor because C++ compilers can tack on
7836 # massive amounts of additional arguments before passing them to the
7837 # linker. It appears as though 1/2 is a usable value.
7838 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
7845 if test -n "$lt_cv_sys_max_cmd_len"; then
7846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
7847 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
7849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
7850 $as_echo "none" >&6; }
7852 max_cmd_len
=$lt_cv_sys_max_cmd_len
7863 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
7873 # test EBCDIC or ASCII
7874 case `echo X|tr X '\101'` in
7875 A
) # ASCII based system
7876 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
7877 lt_SP2NL
='tr \040 \012'
7878 lt_NL2SP
='tr \015\012 \040\040'
7880 *) # EBCDIC based system
7881 lt_SP2NL
='tr \100 \n'
7882 lt_NL2SP
='tr \r\n \100\100'
7894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
7895 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
7896 if ${lt_cv_to_host_file_cmd+:} false
; then :
7897 $as_echo_n "(cached) " >&6
7902 *-*-mingw* ) # actually msys
7903 lt_cv_to_host_file_cmd
=func_convert_file_msys_to_w32
7906 lt_cv_to_host_file_cmd
=func_convert_file_cygwin_to_w32
7908 * ) # otherwise, assume *nix
7909 lt_cv_to_host_file_cmd
=func_convert_file_nix_to_w32
7915 *-*-mingw* ) # actually msys
7916 lt_cv_to_host_file_cmd
=func_convert_file_msys_to_cygwin
7919 lt_cv_to_host_file_cmd
=func_convert_file_noop
7921 * ) # otherwise, assume *nix
7922 lt_cv_to_host_file_cmd
=func_convert_file_nix_to_cygwin
7926 * ) # unhandled hosts (and "normal" native builds)
7927 lt_cv_to_host_file_cmd
=func_convert_file_noop
7933 to_host_file_cmd
=$lt_cv_to_host_file_cmd
7934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
7935 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
7941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
7942 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
7943 if ${lt_cv_to_tool_file_cmd+:} false
; then :
7944 $as_echo_n "(cached) " >&6
7946 #assume ordinary cross tools, or native build.
7947 lt_cv_to_tool_file_cmd
=func_convert_file_noop
7951 *-*-mingw* ) # actually msys
7952 lt_cv_to_tool_file_cmd
=func_convert_file_msys_to_w32
7960 to_tool_file_cmd
=$lt_cv_to_tool_file_cmd
7961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
7962 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
7968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
7969 $as_echo_n "checking for $LD option to reload object files... " >&6; }
7970 if ${lt_cv_ld_reload_flag+:} false
; then :
7971 $as_echo_n "(cached) " >&6
7973 lt_cv_ld_reload_flag
='-r'
7975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
7976 $as_echo "$lt_cv_ld_reload_flag" >&6; }
7977 reload_flag
=$lt_cv_ld_reload_flag
7978 case $reload_flag in
7980 *) reload_flag
=" $reload_flag" ;;
7982 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
7984 cygwin
* | mingw
* | pw32
* | cegcc
*)
7985 if test yes != "$GCC"; then
7990 if test yes = "$GCC"; then
7991 reload_cmds
='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
7993 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
8006 if test -n "$ac_tool_prefix"; then
8007 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
8008 set dummy
${ac_tool_prefix}objdump
; ac_word
=$2
8009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8010 $as_echo_n "checking for $ac_word... " >&6; }
8011 if ${ac_cv_prog_OBJDUMP+:} false
; then :
8012 $as_echo_n "(cached) " >&6
8014 if test -n "$OBJDUMP"; then
8015 ac_cv_prog_OBJDUMP
="$OBJDUMP" # Let the user override the test.
8017 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8021 test -z "$as_dir" && as_dir
=.
8022 for ac_exec_ext
in '' $ac_executable_extensions; do
8023 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8024 ac_cv_prog_OBJDUMP
="${ac_tool_prefix}objdump"
8025 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8034 OBJDUMP
=$ac_cv_prog_OBJDUMP
8035 if test -n "$OBJDUMP"; then
8036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
8037 $as_echo "$OBJDUMP" >&6; }
8039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8040 $as_echo "no" >&6; }
8045 if test -z "$ac_cv_prog_OBJDUMP"; then
8046 ac_ct_OBJDUMP
=$OBJDUMP
8047 # Extract the first word of "objdump", so it can be a program name with args.
8048 set dummy objdump
; ac_word
=$2
8049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8050 $as_echo_n "checking for $ac_word... " >&6; }
8051 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false
; then :
8052 $as_echo_n "(cached) " >&6
8054 if test -n "$ac_ct_OBJDUMP"; then
8055 ac_cv_prog_ac_ct_OBJDUMP
="$ac_ct_OBJDUMP" # Let the user override the test.
8057 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8061 test -z "$as_dir" && as_dir
=.
8062 for ac_exec_ext
in '' $ac_executable_extensions; do
8063 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8064 ac_cv_prog_ac_ct_OBJDUMP
="objdump"
8065 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8074 ac_ct_OBJDUMP
=$ac_cv_prog_ac_ct_OBJDUMP
8075 if test -n "$ac_ct_OBJDUMP"; then
8076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
8077 $as_echo "$ac_ct_OBJDUMP" >&6; }
8079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8080 $as_echo "no" >&6; }
8083 if test "x$ac_ct_OBJDUMP" = x
; then
8086 case $cross_compiling:$ac_tool_warned in
8088 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8089 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8090 ac_tool_warned
=yes ;;
8092 OBJDUMP
=$ac_ct_OBJDUMP
8095 OBJDUMP
="$ac_cv_prog_OBJDUMP"
8098 test -z "$OBJDUMP" && OBJDUMP
=objdump
8108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
8109 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
8110 if ${lt_cv_deplibs_check_method+:} false
; then :
8111 $as_echo_n "(cached) " >&6
8113 lt_cv_file_magic_cmd
='$MAGIC_CMD'
8114 lt_cv_file_magic_test_file
=
8115 lt_cv_deplibs_check_method
='unknown'
8116 # Need to set the preceding variable on all platforms that support
8117 # interlibrary dependencies.
8118 # 'none' -- dependencies not supported.
8119 # 'unknown' -- same as none, but documents that we really don't know.
8120 # 'pass_all' -- all dependencies passed with no checks.
8121 # 'test_compile' -- check by making test program.
8122 # 'file_magic [[regex]]' -- check by looking for files in library path
8123 # that responds to the $file_magic_cmd with a given extended regex.
8124 # If you have 'file' or equivalent on your system and you're not sure
8125 # whether 'pass_all' will *always* work, you probably want this one.
8129 lt_cv_deplibs_check_method
=pass_all
8133 lt_cv_deplibs_check_method
=pass_all
8137 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
8138 lt_cv_file_magic_cmd
='/usr/bin/file -L'
8139 lt_cv_file_magic_test_file
=/shlib
/libc.so
8143 # func_win32_libid is a shell function defined in ltmain.sh
8144 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
8145 lt_cv_file_magic_cmd
='func_win32_libid'
8149 # Base MSYS/MinGW do not provide the 'file' command needed by
8150 # func_win32_libid shell function, so use a weaker test based on 'objdump',
8151 # unless we find 'file', for example because we are cross-compiling.
8152 if ( file / ) >/dev
/null
2>&1; then
8153 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
8154 lt_cv_file_magic_cmd
='func_win32_libid'
8156 # Keep this pattern in sync with the one in func_win32_libid.
8157 lt_cv_deplibs_check_method
='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
8158 lt_cv_file_magic_cmd
='$OBJDUMP -f'
8163 # use the weaker test based on 'objdump'. See mingw*.
8164 lt_cv_deplibs_check_method
='file_magic file format pe-arm-.*little(.*architecture: arm)?'
8165 lt_cv_file_magic_cmd
='$OBJDUMP -f'
8168 darwin
* | rhapsody
*)
8169 lt_cv_deplibs_check_method
=pass_all
8172 freebsd
* | dragonfly
*)
8173 if echo __ELF__
| $CC -E - | $GREP __ELF__
> /dev
/null
; then
8176 # Not sure whether the presence of OpenBSD here was a mistake.
8177 # Let's accept both of them until this is cleared up.
8178 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
8179 lt_cv_file_magic_cmd
=/usr
/bin
/file
8180 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
8184 lt_cv_deplibs_check_method
=pass_all
8189 lt_cv_deplibs_check_method
=pass_all
8192 hpux10.20
* | hpux11
*)
8193 lt_cv_file_magic_cmd
=/usr
/bin
/file
8196 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
8197 lt_cv_file_magic_test_file
=/usr
/lib
/hpux
32/libc.so
8200 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]'
8201 lt_cv_file_magic_test_file
=/usr
/lib
/pa
20_
64/libc.sl
8204 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
8205 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
8211 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
8212 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|\.a)$'
8215 irix5
* | irix6
* | nonstopux
*)
8217 *-32|*"-32 ") libmagic
=32-bit;;
8218 *-n32|*"-n32 ") libmagic
=N32
;;
8219 *-64|*"-64 ") libmagic
=64-bit;;
8220 *) libmagic
=never
-match;;
8222 lt_cv_deplibs_check_method
=pass_all
8225 # This must be glibc/ELF.
8226 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
8227 lt_cv_deplibs_check_method
=pass_all
8231 if echo __ELF__
| $CC -E - | $GREP __ELF__
> /dev
/null
; then
8232 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
8234 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|_pic\.a)$'
8239 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
8240 lt_cv_file_magic_cmd
=/usr
/bin
/file
8241 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
8245 lt_cv_deplibs_check_method
=pass_all
8249 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
8250 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
8252 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
8256 osf3
* | osf4
* | osf5
*)
8257 lt_cv_deplibs_check_method
=pass_all
8261 lt_cv_deplibs_check_method
=pass_all
8265 lt_cv_deplibs_check_method
=pass_all
8268 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
8269 lt_cv_deplibs_check_method
=pass_all
8273 case $host_vendor in
8275 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]'
8276 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
8279 lt_cv_deplibs_check_method
=pass_all
8282 lt_cv_file_magic_cmd
='/bin/file'
8283 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
8286 lt_cv_file_magic_cmd
='/bin/file'
8287 lt_cv_deplibs_check_method
="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
8288 lt_cv_file_magic_test_file
=/lib
/libc.so
8291 lt_cv_deplibs_check_method
=pass_all
8294 lt_cv_deplibs_check_method
=pass_all
8300 lt_cv_deplibs_check_method
=pass_all
8303 lt_cv_deplibs_check_method
=pass_all
8308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
8309 $as_echo "$lt_cv_deplibs_check_method" >&6; }
8313 if test "$build" = "$host"; then
8316 if ( shopt | grep nocaseglob
) >/dev
/null
2>&1; then
8319 file_magic_glob
=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
8325 file_magic_cmd
=$lt_cv_file_magic_cmd
8326 deplibs_check_method
=$lt_cv_deplibs_check_method
8327 test -z "$deplibs_check_method" && deplibs_check_method
=unknown
8350 if test -n "$ac_tool_prefix"; then
8351 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8352 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
8353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8354 $as_echo_n "checking for $ac_word... " >&6; }
8355 if ${ac_cv_prog_DLLTOOL+:} false
; then :
8356 $as_echo_n "(cached) " >&6
8358 if test -n "$DLLTOOL"; then
8359 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
8361 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8365 test -z "$as_dir" && as_dir
=.
8366 for ac_exec_ext
in '' $ac_executable_extensions; do
8367 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8368 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
8369 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8378 DLLTOOL
=$ac_cv_prog_DLLTOOL
8379 if test -n "$DLLTOOL"; then
8380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8381 $as_echo "$DLLTOOL" >&6; }
8383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8384 $as_echo "no" >&6; }
8389 if test -z "$ac_cv_prog_DLLTOOL"; then
8390 ac_ct_DLLTOOL
=$DLLTOOL
8391 # Extract the first word of "dlltool", so it can be a program name with args.
8392 set dummy dlltool
; ac_word
=$2
8393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8394 $as_echo_n "checking for $ac_word... " >&6; }
8395 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false
; then :
8396 $as_echo_n "(cached) " >&6
8398 if test -n "$ac_ct_DLLTOOL"; then
8399 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
8401 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8405 test -z "$as_dir" && as_dir
=.
8406 for ac_exec_ext
in '' $ac_executable_extensions; do
8407 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8408 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
8409 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8418 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
8419 if test -n "$ac_ct_DLLTOOL"; then
8420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8421 $as_echo "$ac_ct_DLLTOOL" >&6; }
8423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8424 $as_echo "no" >&6; }
8427 if test "x$ac_ct_DLLTOOL" = x
; then
8430 case $cross_compiling:$ac_tool_warned in
8432 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8433 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8434 ac_tool_warned
=yes ;;
8436 DLLTOOL
=$ac_ct_DLLTOOL
8439 DLLTOOL
="$ac_cv_prog_DLLTOOL"
8442 test -z "$DLLTOOL" && DLLTOOL
=dlltool
8453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
8454 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
8455 if ${lt_cv_sharedlib_from_linklib_cmd+:} false
; then :
8456 $as_echo_n "(cached) " >&6
8458 lt_cv_sharedlib_from_linklib_cmd
='unknown'
8461 cygwin
* | mingw
* | pw32
* | cegcc
*)
8462 # two different shell functions defined in ltmain.sh;
8463 # decide which one to use based on capabilities of $DLLTOOL
8464 case `$DLLTOOL --help 2>&1` in
8465 *--identify-strict*)
8466 lt_cv_sharedlib_from_linklib_cmd
=func_cygming_dll_for_implib
8469 lt_cv_sharedlib_from_linklib_cmd
=func_cygming_dll_for_implib_fallback
8474 # fallback: assume linklib IS sharedlib
8475 lt_cv_sharedlib_from_linklib_cmd
=$ECHO
8480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
8481 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
8482 sharedlib_from_linklib_cmd
=$lt_cv_sharedlib_from_linklib_cmd
8483 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd
=$ECHO
8491 if test -n "$ac_tool_prefix"; then
8494 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
8495 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
8496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8497 $as_echo_n "checking for $ac_word... " >&6; }
8498 if ${ac_cv_prog_AR+:} false
; then :
8499 $as_echo_n "(cached) " >&6
8501 if test -n "$AR"; then
8502 ac_cv_prog_AR
="$AR" # Let the user override the test.
8504 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8508 test -z "$as_dir" && as_dir
=.
8509 for ac_exec_ext
in '' $ac_executable_extensions; do
8510 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8511 ac_cv_prog_AR
="$ac_tool_prefix$ac_prog"
8512 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8522 if test -n "$AR"; then
8523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
8524 $as_echo "$AR" >&6; }
8526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8527 $as_echo "no" >&6; }
8531 test -n "$AR" && break
8534 if test -z "$AR"; then
8538 # Extract the first word of "$ac_prog", so it can be a program name with args.
8539 set dummy
$ac_prog; ac_word
=$2
8540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8541 $as_echo_n "checking for $ac_word... " >&6; }
8542 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
8543 $as_echo_n "(cached) " >&6
8545 if test -n "$ac_ct_AR"; then
8546 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
8548 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8552 test -z "$as_dir" && as_dir
=.
8553 for ac_exec_ext
in '' $ac_executable_extensions; do
8554 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8555 ac_cv_prog_ac_ct_AR
="$ac_prog"
8556 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8565 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
8566 if test -n "$ac_ct_AR"; then
8567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
8568 $as_echo "$ac_ct_AR" >&6; }
8570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8571 $as_echo "no" >&6; }
8575 test -n "$ac_ct_AR" && break
8578 if test "x$ac_ct_AR" = x
; then
8581 case $cross_compiling:$ac_tool_warned in
8583 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8584 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8585 ac_tool_warned
=yes ;;
8604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
8605 $as_echo_n "checking for archiver @FILE support... " >&6; }
8606 if ${lt_cv_ar_at_file+:} false
; then :
8607 $as_echo_n "(cached) " >&6
8610 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8611 /* end confdefs.h. */
8621 if ac_fn_c_try_compile
"$LINENO"; then :
8622 echo conftest.
$ac_objext > conftest.lst
8623 lt_ar_try
='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
8624 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
8625 (eval $lt_ar_try) 2>&5
8627 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8628 test $ac_status = 0; }
8629 if test 0 -eq "$ac_status"; then
8630 # Ensure the archiver fails upon bogus file names.
8631 rm -f conftest.
$ac_objext libconftest.a
8632 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
8633 (eval $lt_ar_try) 2>&5
8635 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8636 test $ac_status = 0; }
8637 if test 0 -ne "$ac_status"; then
8641 rm -f conftest.
* libconftest.a
8644 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
8648 $as_echo "$lt_cv_ar_at_file" >&6; }
8650 if test no
= "$lt_cv_ar_at_file"; then
8653 archiver_list_spec
=$lt_cv_ar_at_file
8662 if test -n "$ac_tool_prefix"; then
8663 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
8664 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
8665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8666 $as_echo_n "checking for $ac_word... " >&6; }
8667 if ${ac_cv_prog_STRIP+:} false
; then :
8668 $as_echo_n "(cached) " >&6
8670 if test -n "$STRIP"; then
8671 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
8673 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8677 test -z "$as_dir" && as_dir
=.
8678 for ac_exec_ext
in '' $ac_executable_extensions; do
8679 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8680 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
8681 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8690 STRIP
=$ac_cv_prog_STRIP
8691 if test -n "$STRIP"; then
8692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
8693 $as_echo "$STRIP" >&6; }
8695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8696 $as_echo "no" >&6; }
8701 if test -z "$ac_cv_prog_STRIP"; then
8703 # Extract the first word of "strip", so it can be a program name with args.
8704 set dummy strip
; ac_word
=$2
8705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8706 $as_echo_n "checking for $ac_word... " >&6; }
8707 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
8708 $as_echo_n "(cached) " >&6
8710 if test -n "$ac_ct_STRIP"; then
8711 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
8713 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8717 test -z "$as_dir" && as_dir
=.
8718 for ac_exec_ext
in '' $ac_executable_extensions; do
8719 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8720 ac_cv_prog_ac_ct_STRIP
="strip"
8721 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8730 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
8731 if test -n "$ac_ct_STRIP"; then
8732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
8733 $as_echo "$ac_ct_STRIP" >&6; }
8735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8736 $as_echo "no" >&6; }
8739 if test "x$ac_ct_STRIP" = x
; then
8742 case $cross_compiling:$ac_tool_warned in
8744 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8745 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8746 ac_tool_warned
=yes ;;
8751 STRIP
="$ac_cv_prog_STRIP"
8754 test -z "$STRIP" && STRIP
=:
8761 if test -n "$ac_tool_prefix"; then
8762 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
8763 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
8764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8765 $as_echo_n "checking for $ac_word... " >&6; }
8766 if ${ac_cv_prog_RANLIB+:} false
; then :
8767 $as_echo_n "(cached) " >&6
8769 if test -n "$RANLIB"; then
8770 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
8772 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8776 test -z "$as_dir" && as_dir
=.
8777 for ac_exec_ext
in '' $ac_executable_extensions; do
8778 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8779 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
8780 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8789 RANLIB
=$ac_cv_prog_RANLIB
8790 if test -n "$RANLIB"; then
8791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
8792 $as_echo "$RANLIB" >&6; }
8794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8795 $as_echo "no" >&6; }
8800 if test -z "$ac_cv_prog_RANLIB"; then
8801 ac_ct_RANLIB
=$RANLIB
8802 # Extract the first word of "ranlib", so it can be a program name with args.
8803 set dummy ranlib
; ac_word
=$2
8804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8805 $as_echo_n "checking for $ac_word... " >&6; }
8806 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
8807 $as_echo_n "(cached) " >&6
8809 if test -n "$ac_ct_RANLIB"; then
8810 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
8812 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8816 test -z "$as_dir" && as_dir
=.
8817 for ac_exec_ext
in '' $ac_executable_extensions; do
8818 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8819 ac_cv_prog_ac_ct_RANLIB
="ranlib"
8820 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8829 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
8830 if test -n "$ac_ct_RANLIB"; then
8831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
8832 $as_echo "$ac_ct_RANLIB" >&6; }
8834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8835 $as_echo "no" >&6; }
8838 if test "x$ac_ct_RANLIB" = x
; then
8841 case $cross_compiling:$ac_tool_warned in
8843 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8844 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8845 ac_tool_warned
=yes ;;
8847 RANLIB
=$ac_ct_RANLIB
8850 RANLIB
="$ac_cv_prog_RANLIB"
8853 test -z "$RANLIB" && RANLIB
=:
8860 # Determine commands to create old-style static archives.
8861 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs'
8862 old_postinstall_cmds
='chmod 644 $oldlib'
8863 old_postuninstall_cmds
=
8865 if test -n "$RANLIB"; then
8868 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
8871 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
8874 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$tool_oldlib"
8879 lock_old_archive_extraction
=yes ;;
8881 lock_old_archive_extraction
=no
;;
8922 # If no C compiler was specified, use CC.
8925 # If no C compiler flags were specified, use CFLAGS.
8926 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
8928 # Allow CC to be a program name with arguments.
8932 # Check for command to grab the raw symbol name followed by C symbol from nm.
8933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
8934 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
8935 if ${lt_cv_sys_global_symbol_pipe+:} false
; then :
8936 $as_echo_n "(cached) " >&6
8939 # These are sane defaults that work on at least a few old systems.
8940 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
8942 # Character class describing NM global symbol codes.
8943 symcode
='[BCDEGRST]'
8945 # Regexp to match symbols that can be accessed directly from C.
8946 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
8948 # Define system-specific variables.
8953 cygwin
* | mingw
* | pw32
* | cegcc
*)
8954 symcode
='[ABCDGISTW]'
8957 if test ia64
= "$host_cpu"; then
8958 symcode
='[ABCDEGRST]'
8962 symcode
='[BCDEGRST]'
8965 symcode
='[BCDEGQRST]'
8976 sysv5
* | sco5v6
* | unixware
* | OpenUNIX
*)
8984 # If we're using GNU nm, then use its standard symbol codes.
8985 case `$NM -V 2>&1` in
8986 *GNU
* | *'with BFD'*)
8987 symcode
='[ABCDGIRSTW]' ;;
8990 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
8991 # Gets list of data symbols to import.
8992 lt_cv_sys_global_symbol_to_import
="sed -n -e 's/^I .* \(.*\)$/\1/p'"
8993 # Adjust the below global symbol transforms to fixup imported variables.
8994 lt_cdecl_hook
=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
8995 lt_c_name_hook
=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'"
8996 lt_c_name_lib_hook
="\
8997 -e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\
8998 -e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'"
9000 # Disable hooks by default.
9001 lt_cv_sys_global_symbol_to_import
=
9007 # Transform an extracted symbol line into a proper C declaration.
9008 # Some systems (esp. on ia64) link data and code symbols differently,
9009 # so use this general approach.
9010 lt_cv_sys_global_symbol_to_cdecl
="sed -n"\
9012 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
9013 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
9015 # Transform an extracted symbol line into symbol name and symbol address
9016 lt_cv_sys_global_symbol_to_c_name_address
="sed -n"\
9018 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
9019 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'"
9021 # Transform an extracted symbol line into symbol name with lib prefix and
9023 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
="sed -n"\
9024 $lt_c_name_lib_hook\
9025 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
9026 " -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\
9027 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'"
9029 # Handle CRLF in mingw tool chain
9033 opt_cr
=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
9037 # Try without a prefix underscore, then with it.
9038 for ac_symprfx
in "" "_"; do
9040 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
9041 symxfrm
="\\1 $ac_symprfx\\2 \\2"
9043 # Write the raw and C identifiers.
9044 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
9045 # Fake it for dumpbin and say T for any non-static function,
9046 # D for any global variable and I for any imported variable.
9047 # Also find C++ and __fastcall symbols from MSVC++,
9048 # which start with @ or ?.
9049 lt_cv_sys_global_symbol_pipe
="$AWK '"\
9050 " {last_section=section; section=\$ 3};"\
9051 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
9052 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
9053 " /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
9054 " /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
9055 " /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
9056 " \$ 0!~/External *\|/{next};"\
9057 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
9058 " {if(hide[section]) next};"\
9059 " {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
9060 " {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
9061 " s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
9062 " s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
9063 " ' prfx=^$ac_symprfx"
9065 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
9067 lt_cv_sys_global_symbol_pipe
="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
9069 # Check to see that the pipe works correctly.
9073 cat > conftest.
$ac_ext <<_LT_EOF
9078 void nm_test_func(void);
9079 void nm_test_func(void){}
9083 int main(){nm_test_var='a';nm_test_func();return(0);}
9086 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9087 (eval $ac_compile) 2>&5
9089 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9090 test $ac_status = 0; }; then
9091 # Now try to grab the symbols.
9093 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
9094 (eval $NM conftest.
$ac_objext \
| "$lt_cv_sys_global_symbol_pipe" \
> $nlist) 2>&5
9096 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9097 test $ac_status = 0; } && test -s "$nlist"; then
9098 # Try sorting and uniquifying the output.
9099 if sort "$nlist" | uniq > "$nlist"T
; then
9100 mv -f "$nlist"T
"$nlist"
9105 # Make sure that we snagged all the symbols we need.
9106 if $GREP ' nm_test_var$' "$nlist" >/dev
/null
; then
9107 if $GREP ' nm_test_func$' "$nlist" >/dev
/null
; then
9108 cat <<_LT_EOF > conftest.$ac_ext
9109 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
9110 #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
9111 /* DATA imports from DLLs on WIN32 can't be const, because runtime
9112 relocations are performed -- see ld's documentation on pseudo-relocs. */
9113 # define LT_DLSYM_CONST
9114 #elif defined __osf__
9115 /* This system does not cope well with relocations in const data. */
9116 # define LT_DLSYM_CONST
9118 # define LT_DLSYM_CONST const
9126 # Now generate the symbol file.
9127 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
9129 cat <<_LT_EOF >> conftest.$ac_ext
9131 /* The mapping between symbol names and symbols. */
9132 LT_DLSYM_CONST struct {
9136 lt__PROGRAM__LTX_preloaded_symbols[] =
9138 { "@PROGRAM@", (void *) 0 },
9140 $SED "s/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main
>> conftest.
$ac_ext
9141 cat <<\_LT_EOF
>> conftest.
$ac_ext
9145 /* This works around a problem
in FreeBSD linker
*/
9146 #ifdef FREEBSD_WORKAROUND
9147 static const void
*lt_preloaded_setup
() {
9148 return lt__PROGRAM__LTX_preloaded_symbols
;
9156 # Now try linking the two files.
9157 mv conftest.
$ac_objext conftstm.
$ac_objext
9158 lt_globsym_save_LIBS
=$LIBS
9159 lt_globsym_save_CFLAGS
=$CFLAGS
9160 LIBS
=conftstm.
$ac_objext
9161 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
9162 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
9163 (eval $ac_link) 2>&5
9165 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9166 test $ac_status = 0; } && test -s conftest
$ac_exeext; then
9169 LIBS
=$lt_globsym_save_LIBS
9170 CFLAGS
=$lt_globsym_save_CFLAGS
9172 echo "cannot find nm_test_func in $nlist" >&5
9175 echo "cannot find nm_test_var in $nlist" >&5
9178 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
9181 echo "$progname: failed program was:" >&5
9182 cat conftest.
$ac_ext >&5
9184 rm -rf conftest
* conftst
*
9186 # Do not use the global_symbol_pipe unless it works.
9187 if test yes = "$pipe_works"; then
9190 lt_cv_sys_global_symbol_pipe
=
9196 if test -z "$lt_cv_sys_global_symbol_pipe"; then
9197 lt_cv_sys_global_symbol_to_cdecl
=
9199 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
9200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
9201 $as_echo "failed" >&6; }
9203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
9204 $as_echo "ok" >&6; }
9207 # Response file support.
9208 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
9209 nm_file_list_spec
='@'
9210 elif $NM --help 2>/dev
/null
| grep '[@]FILE' >/dev
/null
; then
9211 nm_file_list_spec
='@'
9250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
9251 $as_echo_n "checking for sysroot... " >&6; }
9253 # Check whether --with-sysroot was given.
9254 if test "${with_sysroot+set}" = set; then :
9255 withval
=$with_sysroot;
9262 case $with_sysroot in #(
9264 if test yes = "$GCC"; then
9265 lt_sysroot
=`$CC --print-sysroot 2>/dev/null`
9269 lt_sysroot
=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
9274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
9275 $as_echo "$with_sysroot" >&6; }
9276 as_fn_error $?
"The sysroot must be an absolute path." "$LINENO" 5
9280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
9281 $as_echo "${lt_sysroot:-no}" >&6; }
9287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
9288 $as_echo_n "checking for a working dd... " >&6; }
9289 if ${ac_cv_path_lt_DD+:} false
; then :
9290 $as_echo_n "(cached) " >&6
9292 printf 0123456789abcdef0123456789abcdef
>conftest.i
9293 cat conftest.i conftest.i
>conftest2.i
9295 if test -z "$lt_DD"; then
9296 ac_path_lt_DD_found
=false
9297 # Loop through the user's path and test for each of PROGNAME-LIST
9298 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9302 test -z "$as_dir" && as_dir
=.
9303 for ac_prog
in dd; do
9304 for ac_exec_ext
in '' $ac_executable_extensions; do
9305 ac_path_lt_DD
="$as_dir/$ac_prog$ac_exec_ext"
9306 as_fn_executable_p
"$ac_path_lt_DD" || continue
9307 if "$ac_path_lt_DD" bs
=32 count
=1 <conftest2.i
>conftest.out
2>/dev
/null
; then
9308 cmp -s conftest.i conftest.out \
9309 && ac_cv_path_lt_DD
="$ac_path_lt_DD" ac_path_lt_DD_found
=:
9311 $ac_path_lt_DD_found && break 3
9316 if test -z "$ac_cv_path_lt_DD"; then
9320 ac_cv_path_lt_DD
=$lt_DD
9323 rm -f conftest.i conftest2.i conftest.out
9325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
9326 $as_echo "$ac_cv_path_lt_DD" >&6; }
9329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
9330 $as_echo_n "checking how to truncate binary pipes... " >&6; }
9331 if ${lt_cv_truncate_bin+:} false
; then :
9332 $as_echo_n "(cached) " >&6
9334 printf 0123456789abcdef0123456789abcdef
>conftest.i
9335 cat conftest.i conftest.i
>conftest2.i
9337 if "$ac_cv_path_lt_DD" bs
=32 count
=1 <conftest2.i
>conftest.out
2>/dev
/null
; then
9338 cmp -s conftest.i conftest.out \
9339 && lt_cv_truncate_bin
="$ac_cv_path_lt_DD bs=4096 count=1"
9341 rm -f conftest.i conftest2.i conftest.out
9342 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin
="$SED -e 4q"
9344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
9345 $as_echo "$lt_cv_truncate_bin" >&6; }
9353 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
9356 for cc_temp
in $
*""; do
9358 compile
| *[\\/]compile
| ccache
| *[\\/]ccache
) ;;
9359 distcc
| *[\\/]distcc
| purify
| *[\\/]purify
) ;;
9364 func_cc_basename_result
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
9367 # Check whether --enable-libtool-lock was given.
9368 if test "${enable_libtool_lock+set}" = set; then :
9369 enableval
=$enable_libtool_lock;
9372 test no
= "$enable_libtool_lock" || enable_libtool_lock
=yes
9374 # Some flags need to be propagated to the compiler or linker for good
9378 # Find out what ABI is being produced by ac_compile, and set mode
9379 # options accordingly.
9380 echo 'int i;' > conftest.
$ac_ext
9381 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9382 (eval $ac_compile) 2>&5
9384 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9385 test $ac_status = 0; }; then
9386 case `/usr/bin/file conftest.$ac_objext` in
9398 # Find out what ABI is being produced by ac_compile, and set linker
9399 # options accordingly.
9400 echo '#line '$LINENO' "configure"' > conftest.
$ac_ext
9401 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9402 (eval $ac_compile) 2>&5
9404 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9405 test $ac_status = 0; }; then
9406 if test yes = "$lt_cv_prog_gnu_ld"; then
9407 case `/usr/bin/file conftest.$ac_objext` in
9409 LD
="${LD-ld} -melf32bsmip"
9412 LD
="${LD-ld} -melf32bmipn32"
9415 LD
="${LD-ld} -melf64bmip"
9419 case `/usr/bin/file conftest.$ac_objext` in
9436 # Find out what ABI is being produced by ac_compile, and set linker
9437 # options accordingly.
9438 echo '#line '$LINENO' "configure"' > conftest.
$ac_ext
9439 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9440 (eval $ac_compile) 2>&5
9442 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9443 test $ac_status = 0; }; then
9445 case `/usr/bin/file conftest.$ac_objext` in
9453 case `/usr/bin/file conftest.$ac_objext` in
9455 emul
="${emul}btsmip"
9458 emul
="${emul}ltsmip"
9461 case `/usr/bin/file conftest.$ac_objext` in
9466 LD
="${LD-ld} -m $emul"
9471 x86_64
-*kfreebsd
*-gnu|x86_64
-*linux
*|powerpc
*-*linux
*| \
9472 s390
*-*linux
*|s390
*-*tpf
*|sparc
*-*linux
*)
9473 # Find out what ABI is being produced by ac_compile, and set linker
9474 # options accordingly. Note that the listed cases only cover the
9475 # situations where additional linker options are needed (such as when
9476 # doing 32-bit compilation for a host where ld defaults to 64-bit, or
9477 # vice versa); the common cases where no linker options are needed do
9478 # not appear in the list.
9479 echo 'int i;' > conftest.
$ac_ext
9480 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9481 (eval $ac_compile) 2>&5
9483 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9484 test $ac_status = 0; }; then
9485 case `/usr/bin/file conftest.o` in
9488 x86_64
-*kfreebsd
*-gnu)
9489 LD
="${LD-ld} -m elf_i386_fbsd"
9492 case `/usr/bin/file conftest.o` in
9494 LD
="${LD-ld} -m elf32_x86_64"
9497 LD
="${LD-ld} -m elf_i386"
9501 powerpc64le
-*linux
*)
9502 LD
="${LD-ld} -m elf32lppclinux"
9505 LD
="${LD-ld} -m elf32ppclinux"
9508 LD
="${LD-ld} -m elf_s390"
9511 LD
="${LD-ld} -m elf32_sparc"
9517 x86_64
-*kfreebsd
*-gnu)
9518 LD
="${LD-ld} -m elf_x86_64_fbsd"
9521 LD
="${LD-ld} -m elf_x86_64"
9524 LD
="${LD-ld} -m elf64lppc"
9527 LD
="${LD-ld} -m elf64ppc"
9529 s390
*-*linux
*|s390
*-*tpf
*)
9530 LD
="${LD-ld} -m elf64_s390"
9533 LD
="${LD-ld} -m elf64_sparc"
9543 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
9545 CFLAGS
="$CFLAGS -belf"
9546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
9547 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
9548 if ${lt_cv_cc_needs_belf+:} false
; then :
9549 $as_echo_n "(cached) " >&6
9552 ac_cpp
='$CPP $CPPFLAGS'
9553 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9554 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9555 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
9557 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9558 /* end confdefs.h. */
9568 if ac_fn_c_try_link
"$LINENO"; then :
9569 lt_cv_cc_needs_belf
=yes
9571 lt_cv_cc_needs_belf
=no
9573 rm -f core conftest.err conftest.
$ac_objext \
9574 conftest
$ac_exeext conftest.
$ac_ext
9576 ac_cpp
='$CPP $CPPFLAGS'
9577 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9578 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9579 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
9582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
9583 $as_echo "$lt_cv_cc_needs_belf" >&6; }
9584 if test yes != "$lt_cv_cc_needs_belf"; then
9585 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
9590 # Find out what ABI is being produced by ac_compile, and set linker
9591 # options accordingly.
9592 echo 'int i;' > conftest.
$ac_ext
9593 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9594 (eval $ac_compile) 2>&5
9596 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9597 test $ac_status = 0; }; then
9598 case `/usr/bin/file conftest.o` in
9600 case $lt_cv_prog_gnu_ld in
9603 i?
86-*-solaris*|x86_64
-*-solaris*)
9604 LD
="${LD-ld} -m elf_x86_64"
9607 LD
="${LD-ld} -m elf64_sparc"
9610 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
9611 if ${LD-ld} -V | grep _sol2
>/dev
/null
2>&1; then
9616 if ${LD-ld} -64 -r -o conftest2.o conftest.o
>/dev
/null
2>&1; then
9628 need_locks
=$enable_libtool_lock
9630 if test -n "$ac_tool_prefix"; then
9631 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
9632 set dummy
${ac_tool_prefix}mt
; ac_word
=$2
9633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9634 $as_echo_n "checking for $ac_word... " >&6; }
9635 if ${ac_cv_prog_MANIFEST_TOOL+:} false
; then :
9636 $as_echo_n "(cached) " >&6
9638 if test -n "$MANIFEST_TOOL"; then
9639 ac_cv_prog_MANIFEST_TOOL
="$MANIFEST_TOOL" # Let the user override the test.
9641 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9645 test -z "$as_dir" && as_dir
=.
9646 for ac_exec_ext
in '' $ac_executable_extensions; do
9647 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9648 ac_cv_prog_MANIFEST_TOOL
="${ac_tool_prefix}mt"
9649 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9658 MANIFEST_TOOL
=$ac_cv_prog_MANIFEST_TOOL
9659 if test -n "$MANIFEST_TOOL"; then
9660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
9661 $as_echo "$MANIFEST_TOOL" >&6; }
9663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9664 $as_echo "no" >&6; }
9669 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
9670 ac_ct_MANIFEST_TOOL
=$MANIFEST_TOOL
9671 # Extract the first word of "mt", so it can be a program name with args.
9672 set dummy mt
; ac_word
=$2
9673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9674 $as_echo_n "checking for $ac_word... " >&6; }
9675 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false
; then :
9676 $as_echo_n "(cached) " >&6
9678 if test -n "$ac_ct_MANIFEST_TOOL"; then
9679 ac_cv_prog_ac_ct_MANIFEST_TOOL
="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
9681 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9685 test -z "$as_dir" && as_dir
=.
9686 for ac_exec_ext
in '' $ac_executable_extensions; do
9687 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9688 ac_cv_prog_ac_ct_MANIFEST_TOOL
="mt"
9689 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9698 ac_ct_MANIFEST_TOOL
=$ac_cv_prog_ac_ct_MANIFEST_TOOL
9699 if test -n "$ac_ct_MANIFEST_TOOL"; then
9700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
9701 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
9703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9704 $as_echo "no" >&6; }
9707 if test "x$ac_ct_MANIFEST_TOOL" = x
; then
9710 case $cross_compiling:$ac_tool_warned in
9712 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9713 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9714 ac_tool_warned
=yes ;;
9716 MANIFEST_TOOL
=$ac_ct_MANIFEST_TOOL
9719 MANIFEST_TOOL
="$ac_cv_prog_MANIFEST_TOOL"
9722 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL
=mt
9723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
9724 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
9725 if ${lt_cv_path_mainfest_tool+:} false
; then :
9726 $as_echo_n "(cached) " >&6
9728 lt_cv_path_mainfest_tool
=no
9729 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
9730 $MANIFEST_TOOL '-?' 2>conftest.err
> conftest.out
9731 cat conftest.err
>&5
9732 if $GREP 'Manifest Tool' conftest.out
> /dev
/null
; then
9733 lt_cv_path_mainfest_tool
=yes
9737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
9738 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
9739 if test yes != "$lt_cv_path_mainfest_tool"; then
9749 rhapsody
* | darwin
*)
9750 if test -n "$ac_tool_prefix"; then
9751 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
9752 set dummy
${ac_tool_prefix}dsymutil
; ac_word
=$2
9753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9754 $as_echo_n "checking for $ac_word... " >&6; }
9755 if ${ac_cv_prog_DSYMUTIL+:} false
; then :
9756 $as_echo_n "(cached) " >&6
9758 if test -n "$DSYMUTIL"; then
9759 ac_cv_prog_DSYMUTIL
="$DSYMUTIL" # Let the user override the test.
9761 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9765 test -z "$as_dir" && as_dir
=.
9766 for ac_exec_ext
in '' $ac_executable_extensions; do
9767 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9768 ac_cv_prog_DSYMUTIL
="${ac_tool_prefix}dsymutil"
9769 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9778 DSYMUTIL
=$ac_cv_prog_DSYMUTIL
9779 if test -n "$DSYMUTIL"; then
9780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
9781 $as_echo "$DSYMUTIL" >&6; }
9783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9784 $as_echo "no" >&6; }
9789 if test -z "$ac_cv_prog_DSYMUTIL"; then
9790 ac_ct_DSYMUTIL
=$DSYMUTIL
9791 # Extract the first word of "dsymutil", so it can be a program name with args.
9792 set dummy dsymutil
; ac_word
=$2
9793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9794 $as_echo_n "checking for $ac_word... " >&6; }
9795 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false
; then :
9796 $as_echo_n "(cached) " >&6
9798 if test -n "$ac_ct_DSYMUTIL"; then
9799 ac_cv_prog_ac_ct_DSYMUTIL
="$ac_ct_DSYMUTIL" # Let the user override the test.
9801 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9805 test -z "$as_dir" && as_dir
=.
9806 for ac_exec_ext
in '' $ac_executable_extensions; do
9807 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9808 ac_cv_prog_ac_ct_DSYMUTIL
="dsymutil"
9809 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9818 ac_ct_DSYMUTIL
=$ac_cv_prog_ac_ct_DSYMUTIL
9819 if test -n "$ac_ct_DSYMUTIL"; then
9820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
9821 $as_echo "$ac_ct_DSYMUTIL" >&6; }
9823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9824 $as_echo "no" >&6; }
9827 if test "x$ac_ct_DSYMUTIL" = x
; then
9830 case $cross_compiling:$ac_tool_warned in
9832 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9833 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9834 ac_tool_warned
=yes ;;
9836 DSYMUTIL
=$ac_ct_DSYMUTIL
9839 DSYMUTIL
="$ac_cv_prog_DSYMUTIL"
9842 if test -n "$ac_tool_prefix"; then
9843 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
9844 set dummy
${ac_tool_prefix}nmedit
; ac_word
=$2
9845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9846 $as_echo_n "checking for $ac_word... " >&6; }
9847 if ${ac_cv_prog_NMEDIT+:} false
; then :
9848 $as_echo_n "(cached) " >&6
9850 if test -n "$NMEDIT"; then
9851 ac_cv_prog_NMEDIT
="$NMEDIT" # Let the user override the test.
9853 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9857 test -z "$as_dir" && as_dir
=.
9858 for ac_exec_ext
in '' $ac_executable_extensions; do
9859 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9860 ac_cv_prog_NMEDIT
="${ac_tool_prefix}nmedit"
9861 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9870 NMEDIT
=$ac_cv_prog_NMEDIT
9871 if test -n "$NMEDIT"; then
9872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
9873 $as_echo "$NMEDIT" >&6; }
9875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9876 $as_echo "no" >&6; }
9881 if test -z "$ac_cv_prog_NMEDIT"; then
9882 ac_ct_NMEDIT
=$NMEDIT
9883 # Extract the first word of "nmedit", so it can be a program name with args.
9884 set dummy nmedit
; ac_word
=$2
9885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9886 $as_echo_n "checking for $ac_word... " >&6; }
9887 if ${ac_cv_prog_ac_ct_NMEDIT+:} false
; then :
9888 $as_echo_n "(cached) " >&6
9890 if test -n "$ac_ct_NMEDIT"; then
9891 ac_cv_prog_ac_ct_NMEDIT
="$ac_ct_NMEDIT" # Let the user override the test.
9893 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9897 test -z "$as_dir" && as_dir
=.
9898 for ac_exec_ext
in '' $ac_executable_extensions; do
9899 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9900 ac_cv_prog_ac_ct_NMEDIT
="nmedit"
9901 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9910 ac_ct_NMEDIT
=$ac_cv_prog_ac_ct_NMEDIT
9911 if test -n "$ac_ct_NMEDIT"; then
9912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
9913 $as_echo "$ac_ct_NMEDIT" >&6; }
9915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9916 $as_echo "no" >&6; }
9919 if test "x$ac_ct_NMEDIT" = x
; then
9922 case $cross_compiling:$ac_tool_warned in
9924 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9925 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9926 ac_tool_warned
=yes ;;
9928 NMEDIT
=$ac_ct_NMEDIT
9931 NMEDIT
="$ac_cv_prog_NMEDIT"
9934 if test -n "$ac_tool_prefix"; then
9935 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
9936 set dummy
${ac_tool_prefix}lipo
; ac_word
=$2
9937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9938 $as_echo_n "checking for $ac_word... " >&6; }
9939 if ${ac_cv_prog_LIPO+:} false
; then :
9940 $as_echo_n "(cached) " >&6
9942 if test -n "$LIPO"; then
9943 ac_cv_prog_LIPO
="$LIPO" # Let the user override the test.
9945 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9949 test -z "$as_dir" && as_dir
=.
9950 for ac_exec_ext
in '' $ac_executable_extensions; do
9951 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9952 ac_cv_prog_LIPO
="${ac_tool_prefix}lipo"
9953 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9962 LIPO
=$ac_cv_prog_LIPO
9963 if test -n "$LIPO"; then
9964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
9965 $as_echo "$LIPO" >&6; }
9967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9968 $as_echo "no" >&6; }
9973 if test -z "$ac_cv_prog_LIPO"; then
9975 # Extract the first word of "lipo", so it can be a program name with args.
9976 set dummy lipo
; ac_word
=$2
9977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9978 $as_echo_n "checking for $ac_word... " >&6; }
9979 if ${ac_cv_prog_ac_ct_LIPO+:} false
; then :
9980 $as_echo_n "(cached) " >&6
9982 if test -n "$ac_ct_LIPO"; then
9983 ac_cv_prog_ac_ct_LIPO
="$ac_ct_LIPO" # Let the user override the test.
9985 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9989 test -z "$as_dir" && as_dir
=.
9990 for ac_exec_ext
in '' $ac_executable_extensions; do
9991 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9992 ac_cv_prog_ac_ct_LIPO
="lipo"
9993 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10002 ac_ct_LIPO
=$ac_cv_prog_ac_ct_LIPO
10003 if test -n "$ac_ct_LIPO"; then
10004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
10005 $as_echo "$ac_ct_LIPO" >&6; }
10007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10008 $as_echo "no" >&6; }
10011 if test "x$ac_ct_LIPO" = x
; then
10014 case $cross_compiling:$ac_tool_warned in
10016 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10017 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10018 ac_tool_warned
=yes ;;
10023 LIPO
="$ac_cv_prog_LIPO"
10026 if test -n "$ac_tool_prefix"; then
10027 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
10028 set dummy
${ac_tool_prefix}otool
; ac_word
=$2
10029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10030 $as_echo_n "checking for $ac_word... " >&6; }
10031 if ${ac_cv_prog_OTOOL+:} false
; then :
10032 $as_echo_n "(cached) " >&6
10034 if test -n "$OTOOL"; then
10035 ac_cv_prog_OTOOL
="$OTOOL" # Let the user override the test.
10037 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10038 for as_dir
in $PATH
10041 test -z "$as_dir" && as_dir
=.
10042 for ac_exec_ext
in '' $ac_executable_extensions; do
10043 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10044 ac_cv_prog_OTOOL
="${ac_tool_prefix}otool"
10045 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10054 OTOOL
=$ac_cv_prog_OTOOL
10055 if test -n "$OTOOL"; then
10056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
10057 $as_echo "$OTOOL" >&6; }
10059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10060 $as_echo "no" >&6; }
10065 if test -z "$ac_cv_prog_OTOOL"; then
10067 # Extract the first word of "otool", so it can be a program name with args.
10068 set dummy otool
; ac_word
=$2
10069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10070 $as_echo_n "checking for $ac_word... " >&6; }
10071 if ${ac_cv_prog_ac_ct_OTOOL+:} false
; then :
10072 $as_echo_n "(cached) " >&6
10074 if test -n "$ac_ct_OTOOL"; then
10075 ac_cv_prog_ac_ct_OTOOL
="$ac_ct_OTOOL" # Let the user override the test.
10077 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10078 for as_dir
in $PATH
10081 test -z "$as_dir" && as_dir
=.
10082 for ac_exec_ext
in '' $ac_executable_extensions; do
10083 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10084 ac_cv_prog_ac_ct_OTOOL
="otool"
10085 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10094 ac_ct_OTOOL
=$ac_cv_prog_ac_ct_OTOOL
10095 if test -n "$ac_ct_OTOOL"; then
10096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
10097 $as_echo "$ac_ct_OTOOL" >&6; }
10099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10100 $as_echo "no" >&6; }
10103 if test "x$ac_ct_OTOOL" = x
; then
10106 case $cross_compiling:$ac_tool_warned in
10108 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10109 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10110 ac_tool_warned
=yes ;;
10115 OTOOL
="$ac_cv_prog_OTOOL"
10118 if test -n "$ac_tool_prefix"; then
10119 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
10120 set dummy
${ac_tool_prefix}otool64
; ac_word
=$2
10121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10122 $as_echo_n "checking for $ac_word... " >&6; }
10123 if ${ac_cv_prog_OTOOL64+:} false
; then :
10124 $as_echo_n "(cached) " >&6
10126 if test -n "$OTOOL64"; then
10127 ac_cv_prog_OTOOL64
="$OTOOL64" # Let the user override the test.
10129 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10130 for as_dir
in $PATH
10133 test -z "$as_dir" && as_dir
=.
10134 for ac_exec_ext
in '' $ac_executable_extensions; do
10135 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10136 ac_cv_prog_OTOOL64
="${ac_tool_prefix}otool64"
10137 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10146 OTOOL64
=$ac_cv_prog_OTOOL64
10147 if test -n "$OTOOL64"; then
10148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
10149 $as_echo "$OTOOL64" >&6; }
10151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10152 $as_echo "no" >&6; }
10157 if test -z "$ac_cv_prog_OTOOL64"; then
10158 ac_ct_OTOOL64
=$OTOOL64
10159 # Extract the first word of "otool64", so it can be a program name with args.
10160 set dummy otool64
; ac_word
=$2
10161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10162 $as_echo_n "checking for $ac_word... " >&6; }
10163 if ${ac_cv_prog_ac_ct_OTOOL64+:} false
; then :
10164 $as_echo_n "(cached) " >&6
10166 if test -n "$ac_ct_OTOOL64"; then
10167 ac_cv_prog_ac_ct_OTOOL64
="$ac_ct_OTOOL64" # Let the user override the test.
10169 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10170 for as_dir
in $PATH
10173 test -z "$as_dir" && as_dir
=.
10174 for ac_exec_ext
in '' $ac_executable_extensions; do
10175 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10176 ac_cv_prog_ac_ct_OTOOL64
="otool64"
10177 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10186 ac_ct_OTOOL64
=$ac_cv_prog_ac_ct_OTOOL64
10187 if test -n "$ac_ct_OTOOL64"; then
10188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
10189 $as_echo "$ac_ct_OTOOL64" >&6; }
10191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10192 $as_echo "no" >&6; }
10195 if test "x$ac_ct_OTOOL64" = x
; then
10198 case $cross_compiling:$ac_tool_warned in
10200 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10201 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10202 ac_tool_warned
=yes ;;
10204 OTOOL64
=$ac_ct_OTOOL64
10207 OTOOL64
="$ac_cv_prog_OTOOL64"
10236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
10237 $as_echo_n "checking for -single_module linker flag... " >&6; }
10238 if ${lt_cv_apple_cc_single_mod+:} false
; then :
10239 $as_echo_n "(cached) " >&6
10241 lt_cv_apple_cc_single_mod
=no
10242 if test -z "$LT_MULTI_MODULE"; then
10243 # By default we will add the -single_module flag. You can override
10244 # by either setting the environment variable LT_MULTI_MODULE
10245 # non-empty at configure time, or by adding -multi_module to the
10247 rm -rf libconftest.dylib
*
10248 echo "int foo(void){return 1;}" > conftest.c
10249 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
10250 -dynamiclib -Wl,-single_module conftest.c" >&5
10251 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
10252 -dynamiclib -Wl,-single_module conftest.c
2>conftest.err
10254 # If there is a non-empty error log, and "single_module"
10255 # appears in it, assume the flag caused a linker warning
10256 if test -s conftest.err
&& $GREP single_module conftest.err
; then
10257 cat conftest.err
>&5
10258 # Otherwise, if the output was created with a 0 exit code from
10259 # the compiler, it worked.
10260 elif test -f libconftest.dylib
&& test 0 = "$_lt_result"; then
10261 lt_cv_apple_cc_single_mod
=yes
10263 cat conftest.err
>&5
10265 rm -rf libconftest.dylib
*
10269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
10270 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
10272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
10273 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
10274 if ${lt_cv_ld_exported_symbols_list+:} false
; then :
10275 $as_echo_n "(cached) " >&6
10277 lt_cv_ld_exported_symbols_list
=no
10278 save_LDFLAGS
=$LDFLAGS
10279 echo "_main" > conftest.sym
10280 LDFLAGS
="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
10281 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10282 /* end confdefs.h. */
10292 if ac_fn_c_try_link
"$LINENO"; then :
10293 lt_cv_ld_exported_symbols_list
=yes
10295 lt_cv_ld_exported_symbols_list
=no
10297 rm -f core conftest.err conftest.
$ac_objext \
10298 conftest
$ac_exeext conftest.
$ac_ext
10299 LDFLAGS
=$save_LDFLAGS
10302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
10303 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
10305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
10306 $as_echo_n "checking for -force_load linker flag... " >&6; }
10307 if ${lt_cv_ld_force_load+:} false
; then :
10308 $as_echo_n "(cached) " >&6
10310 lt_cv_ld_force_load
=no
10311 cat > conftest.c
<< _LT_EOF
10312 int forced_loaded() { return 2;}
10314 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
10315 $LTCC $LTCFLAGS -c -o conftest.o conftest.c
2>&5
10316 echo "$AR cru libconftest.a conftest.o" >&5
10317 $AR cru libconftest.a conftest.o
2>&5
10318 echo "$RANLIB libconftest.a" >&5
10319 $RANLIB libconftest.a
2>&5
10320 cat > conftest.c
<< _LT_EOF
10321 int main() { return 0;}
10323 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
10324 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
2>conftest.err
10326 if test -s conftest.err
&& $GREP force_load conftest.err
; then
10327 cat conftest.err
>&5
10328 elif test -f conftest
&& test 0 = "$_lt_result" && $GREP forced_load conftest
>/dev
/null
2>&1; then
10329 lt_cv_ld_force_load
=yes
10331 cat conftest.err
>&5
10333 rm -f conftest.err libconftest.a conftest conftest.c
10334 rm -rf conftest.dSYM
10337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
10338 $as_echo "$lt_cv_ld_force_load" >&6; }
10340 rhapsody
* | darwin1.
[012])
10341 _lt_dar_allow_undefined
='$wl-undefined ${wl}suppress' ;;
10343 _lt_dar_allow_undefined
='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
10344 darwin
*) # darwin 5.x on
10345 # if running on 10.5 or later, the deployment target defaults
10346 # to the OS version, if on x86, and 10.4, the deployment
10347 # target defaults to 10.4. Don't you love it?
10348 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
10349 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
10350 _lt_dar_allow_undefined
='$wl-undefined ${wl}dynamic_lookup' ;;
10352 _lt_dar_allow_undefined
='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
10354 _lt_dar_allow_undefined
='$wl-undefined ${wl}dynamic_lookup' ;;
10358 if test yes = "$lt_cv_apple_cc_single_mod"; then
10359 _lt_dar_single_mod
='$single_module'
10361 if test yes = "$lt_cv_ld_exported_symbols_list"; then
10362 _lt_dar_export_syms
=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
10364 _lt_dar_export_syms
='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
10366 if test : != "$DSYMUTIL" && test no
= "$lt_cv_ld_force_load"; then
10367 _lt_dsymutil
='~$DSYMUTIL $lib || :'
10374 # func_munge_path_list VARIABLE PATH
10375 # -----------------------------------
10376 # VARIABLE is name of variable containing _space_ separated list of
10377 # directories to be munged by the contents of PATH, which is string
10380 # string "DIR[ DIR]" will be prepended to VARIABLE
10382 # string "DIR[ DIR]" will be appended to VARIABLE
10383 # "DIRP[:DIRP]::[DIRA:]DIRA"
10384 # string "DIRP[ DIRP]" will be prepended to VARIABLE and string
10385 # "DIRA[ DIRA]" will be appended to VARIABLE
10387 # VARIABLE will be replaced by "DIR[ DIR]"
10388 func_munge_path_list
()
10394 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$
$1\"
10397 eval $1=\"\$
$1 `$ECHO $2 | $SED 's/:/ /g'`\"
10400 eval $1=\"\$
$1\
`$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
10401 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$
$1\"
10404 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
10410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
10411 $as_echo_n "checking for ANSI C header files... " >&6; }
10412 if ${ac_cv_header_stdc+:} false
; then :
10413 $as_echo_n "(cached) " >&6
10415 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10416 /* end confdefs.h. */
10417 #include <stdlib.h>
10418 #include <stdarg.h>
10419 #include <string.h>
10430 if ac_fn_c_try_compile
"$LINENO"; then :
10431 ac_cv_header_stdc
=yes
10433 ac_cv_header_stdc
=no
10435 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10437 if test $ac_cv_header_stdc = yes; then
10438 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
10439 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10440 /* end confdefs.h. */
10441 #include <string.h>
10444 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10445 $EGREP "memchr" >/dev
/null
2>&1; then :
10448 ac_cv_header_stdc
=no
10454 if test $ac_cv_header_stdc = yes; then
10455 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
10456 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10457 /* end confdefs.h. */
10458 #include <stdlib.h>
10461 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10462 $EGREP "free" >/dev
/null
2>&1; then :
10465 ac_cv_header_stdc
=no
10471 if test $ac_cv_header_stdc = yes; then
10472 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
10473 if test "$cross_compiling" = yes; then :
10476 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10477 /* end confdefs.h. */
10479 #include <stdlib.h>
10480 #if ((' ' & 0x0FF) == 0x020)
10481 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
10482 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
10484 # define ISLOWER(c) \
10485 (('a' <= (c) && (c) <= 'i') \
10486 || ('j' <= (c) && (c) <= 'r') \
10487 || ('s' <= (c) && (c) <= 'z'))
10488 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
10491 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
10496 for (i = 0; i < 256; i++)
10497 if (XOR (islower (i), ISLOWER (i))
10498 || toupper (i) != TOUPPER (i))
10503 if ac_fn_c_try_run
"$LINENO"; then :
10506 ac_cv_header_stdc
=no
10508 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
10509 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
10514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
10515 $as_echo "$ac_cv_header_stdc" >&6; }
10516 if test $ac_cv_header_stdc = yes; then
10518 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
10522 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
10523 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
10524 inttypes.h stdint.h unistd.h
10526 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10527 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
10529 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
10530 cat >>confdefs.h
<<_ACEOF
10531 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10539 for ac_header
in dlfcn.h
10541 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
10543 if test "x$ac_cv_header_dlfcn_h" = xyes
; then :
10544 cat >>confdefs.h
<<_ACEOF
10545 #define HAVE_DLFCN_H 1
10555 func_stripname_cnf
()
10558 .
*) func_stripname_result
=`$ECHO "$3" | $SED "s%^$1%%; s%\\\\$2\$%%"`;;
10559 *) func_stripname_result
=`$ECHO "$3" | $SED "s%^$1%%; s%$2\$%%"`;;
10561 } # func_stripname_cnf
10568 # Check whether --enable-static was given.
10569 if test "${enable_static+set}" = set; then :
10570 enableval
=$enable_static; p
=${PACKAGE-default}
10572 yes) enable_static
=yes ;;
10573 no
) enable_static
=no
;;
10576 # Look at the argument we got. We use all the common list separators.
10577 lt_save_ifs
=$IFS; IFS
=$IFS$PATH_SEPARATOR,
10578 for pkg
in $enableval; do
10580 if test "X$pkg" = "X$p"; then
10603 enable_win32_dll
=no
10606 # Check whether --enable-shared was given.
10607 if test "${enable_shared+set}" = set; then :
10608 enableval
=$enable_shared; p
=${PACKAGE-default}
10610 yes) enable_shared
=yes ;;
10611 no
) enable_shared
=no
;;
10614 # Look at the argument we got. We use all the common list separators.
10615 lt_save_ifs
=$IFS; IFS
=$IFS$PATH_SEPARATOR,
10616 for pkg
in $enableval; do
10618 if test "X$pkg" = "X$p"; then
10639 # Check whether --with-pic was given.
10640 if test "${with_pic+set}" = set; then :
10641 withval
=$with_pic; lt_p
=${PACKAGE-default}
10643 yes|no
) pic_mode
=$withval ;;
10646 # Look at the argument we got. We use all the common list separators.
10647 lt_save_ifs
=$IFS; IFS
=$IFS$PATH_SEPARATOR,
10648 for lt_pkg
in $withval; do
10650 if test "X$lt_pkg" = "X$lt_p"; then
10668 # Check whether --enable-fast-install was given.
10669 if test "${enable_fast_install+set}" = set; then :
10670 enableval
=$enable_fast_install; p
=${PACKAGE-default}
10672 yes) enable_fast_install
=yes ;;
10673 no
) enable_fast_install
=no
;;
10675 enable_fast_install
=no
10676 # Look at the argument we got. We use all the common list separators.
10677 lt_save_ifs
=$IFS; IFS
=$IFS$PATH_SEPARATOR,
10678 for pkg
in $enableval; do
10680 if test "X$pkg" = "X$p"; then
10681 enable_fast_install
=yes
10688 enable_fast_install
=yes
10698 shared_archive_member_spec
=
10699 case $host,$enable_shared in
10700 power
*-*-aix[5-9]*,yes)
10701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
10702 $as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
10704 # Check whether --with-aix-soname was given.
10705 if test "${with_aix_soname+set}" = set; then :
10706 withval
=$with_aix_soname; case $withval in
10710 as_fn_error $?
"Unknown argument to --with-aix-soname" "$LINENO" 5
10713 lt_cv_with_aix_soname
=$with_aix_soname
10715 if ${lt_cv_with_aix_soname+:} false
; then :
10716 $as_echo_n "(cached) " >&6
10718 lt_cv_with_aix_soname
=aix
10721 with_aix_soname
=$lt_cv_with_aix_soname
10724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
10725 $as_echo "$with_aix_soname" >&6; }
10726 if test aix
!= "$with_aix_soname"; then
10727 # For the AIX way of multilib, we name the shared archive member
10728 # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
10729 # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
10730 # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
10731 # the AIX toolchain works better with OBJECT_MODE set (default 32).
10732 if test 64 = "${OBJECT_MODE-32}"; then
10733 shared_archive_member_spec
=shr_64
10735 shared_archive_member_spec
=shr
10740 with_aix_soname
=aix
10753 # This can be used to rebuild libtool when needed
10754 LIBTOOL_DEPS
=$ltmain
10756 # Always use our own libtool.
10757 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
10788 test -z "$LN_S" && LN_S
="ln -s"
10803 if test -n "${ZSH_VERSION+set}"; then
10804 setopt NO_GLOB_SUBST
10807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
10808 $as_echo_n "checking for objdir... " >&6; }
10809 if ${lt_cv_objdir+:} false
; then :
10810 $as_echo_n "(cached) " >&6
10812 rm -f .libs
2>/dev
/null
10813 mkdir .libs
2>/dev
/null
10814 if test -d .libs
; then
10817 # MS-DOS does not allow filenames that begin with a dot.
10820 rmdir .libs
2>/dev
/null
10822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
10823 $as_echo "$lt_cv_objdir" >&6; }
10824 objdir
=$lt_cv_objdir
10830 cat >>confdefs.h
<<_ACEOF
10831 #define LT_OBJDIR "$lt_cv_objdir/"
10839 # AIX sometimes has problems with the GCC collect2 program. For some
10840 # reason, if we set the COLLECT_NAMES environment variable, the problems
10841 # vanish in a puff of smoke.
10842 if test set != "${COLLECT_NAMES+set}"; then
10844 export COLLECT_NAMES
10849 # Global variables:
10851 can_build_shared
=yes
10853 # All known linkers require a '.a' archive for static linking (except MSVC,
10854 # which needs '.lib').
10857 with_gnu_ld
=$lt_cv_prog_gnu_ld
10862 # Set sane defaults for various variables
10863 test -z "$CC" && CC
=cc
10864 test -z "$LTCC" && LTCC
=$CC
10865 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
10866 test -z "$LD" && LD
=ld
10867 test -z "$ac_objext" && ac_objext
=o
10869 func_cc_basename
$compiler
10870 cc_basename
=$func_cc_basename_result
10873 # Only perform the check for file, if the check method requires it
10874 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
10875 case $deplibs_check_method in
10877 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
10878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
10879 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
10880 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
10881 $as_echo_n "(cached) " >&6
10885 lt_cv_path_MAGIC_CMD
=$MAGIC_CMD # Let the user override the test with a path.
10888 lt_save_MAGIC_CMD
=$MAGIC_CMD
10889 lt_save_ifs
=$IFS; IFS
=$PATH_SEPARATOR
10890 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
10891 for ac_dir
in $ac_dummy; do
10893 test -z "$ac_dir" && ac_dir
=.
10894 if test -f "$ac_dir/${ac_tool_prefix}file"; then
10895 lt_cv_path_MAGIC_CMD
=$ac_dir/"${ac_tool_prefix}file"
10896 if test -n "$file_magic_test_file"; then
10897 case $deplibs_check_method in
10899 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
10900 MAGIC_CMD
=$lt_cv_path_MAGIC_CMD
10901 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null
|
10902 $EGREP "$file_magic_regex" > /dev
/null
; then
10907 *** Warning: the command libtool uses to detect shared libraries,
10908 *** $file_magic_cmd, produces output that libtool cannot recognize.
10909 *** The result is that libtool may fail to recognize shared libraries
10910 *** as such. This will affect the creation of libtool libraries that
10911 *** depend on shared libraries, but programs linked with such libtool
10912 *** libraries will work regardless of this problem. Nevertheless, you
10913 *** may want to report the problem to your system manager and/or to
10914 *** bug-libtool@gnu.org
10924 MAGIC_CMD
=$lt_save_MAGIC_CMD
10929 MAGIC_CMD
=$lt_cv_path_MAGIC_CMD
10930 if test -n "$MAGIC_CMD"; then
10931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
10932 $as_echo "$MAGIC_CMD" >&6; }
10934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10935 $as_echo "no" >&6; }
10942 if test -z "$lt_cv_path_MAGIC_CMD"; then
10943 if test -n "$ac_tool_prefix"; then
10944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
10945 $as_echo_n "checking for file... " >&6; }
10946 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
10947 $as_echo_n "(cached) " >&6
10951 lt_cv_path_MAGIC_CMD
=$MAGIC_CMD # Let the user override the test with a path.
10954 lt_save_MAGIC_CMD
=$MAGIC_CMD
10955 lt_save_ifs
=$IFS; IFS
=$PATH_SEPARATOR
10956 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
10957 for ac_dir
in $ac_dummy; do
10959 test -z "$ac_dir" && ac_dir
=.
10960 if test -f "$ac_dir/file"; then
10961 lt_cv_path_MAGIC_CMD
=$ac_dir/"file"
10962 if test -n "$file_magic_test_file"; then
10963 case $deplibs_check_method in
10965 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
10966 MAGIC_CMD
=$lt_cv_path_MAGIC_CMD
10967 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null
|
10968 $EGREP "$file_magic_regex" > /dev
/null
; then
10973 *** Warning: the command libtool uses to detect shared libraries,
10974 *** $file_magic_cmd, produces output that libtool cannot recognize.
10975 *** The result is that libtool may fail to recognize shared libraries
10976 *** as such. This will affect the creation of libtool libraries that
10977 *** depend on shared libraries, but programs linked with such libtool
10978 *** libraries will work regardless of this problem. Nevertheless, you
10979 *** may want to report the problem to your system manager and/or to
10980 *** bug-libtool@gnu.org
10990 MAGIC_CMD
=$lt_save_MAGIC_CMD
10995 MAGIC_CMD
=$lt_cv_path_MAGIC_CMD
10996 if test -n "$MAGIC_CMD"; then
10997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
10998 $as_echo "$MAGIC_CMD" >&6; }
11000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11001 $as_echo "no" >&6; }
11014 # Use C for the default configuration in the libtool script
11018 ac_cpp
='$CPP $CPPFLAGS'
11019 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11020 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11021 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11024 # Source file extension for C test sources.
11027 # Object file extension for compiled C test sources.
11031 # Code to be used in simple compile tests
11032 lt_simple_compile_test_code
="int some_variable = 0;"
11034 # Code to be used in simple link tests
11035 lt_simple_link_test_code
='int main(){return(0);}'
11043 # If no C compiler was specified, use CC.
11046 # If no C compiler flags were specified, use CFLAGS.
11047 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
11049 # Allow CC to be a program name with arguments.
11052 # Save the default compiler, since it gets overwritten when the other
11053 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
11054 compiler_DEFAULT
=$CC
11056 # save warnings/boilerplate of simple test code
11057 ac_outfile
=conftest.
$ac_objext
11058 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
11059 eval "$ac_compile" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
11060 _lt_compiler_boilerplate
=`cat conftest.err`
11063 ac_outfile
=conftest.
$ac_objext
11064 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
11065 eval "$ac_link" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
11066 _lt_linker_boilerplate
=`cat conftest.err`
11071 ## There is no encapsulation within the following macros, do not change
11072 ## the running order or otherwise move them around unless you know exactly
11073 ## what you are doing...
11074 if test -n "$compiler"; then
11076 lt_prog_compiler_no_builtin_flag
=
11078 if test yes = "$GCC"; then
11079 case $cc_basename in
11081 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
11083 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
11086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
11087 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
11088 if ${lt_cv_prog_compiler_rtti_exceptions+:} false
; then :
11089 $as_echo_n "(cached) " >&6
11091 lt_cv_prog_compiler_rtti_exceptions
=no
11092 ac_outfile
=conftest.
$ac_objext
11093 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
11094 lt_compiler_flag
="-fno-rtti -fno-exceptions" ## exclude from sc_useless_quotes_in_assignment
11095 # Insert the option either (1) after the last *FLAGS variable, or
11096 # (2) before a word containing "conftest.", or (3) at the end.
11097 # Note that $ac_compile itself does not contain backslashes and begins
11098 # with a dollar sign (not a hyphen), so the echo should work correctly.
11099 # The option is referenced via a variable to avoid confusing sed.
11100 lt_compile
=`echo "$ac_compile" | $SED \
11101 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11102 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11103 -e 's:$: $lt_compiler_flag:'`
11104 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
11105 (eval "$lt_compile" 2>conftest.err
)
11107 cat conftest.err
>&5
11108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11109 if (exit $ac_status) && test -s "$ac_outfile"; then
11110 # The compiler can only warn and ignore the option if not recognized
11111 # So say no if there are warnings other than the usual output.
11112 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
11113 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
11114 if test ! -s conftest.er2
|| diff conftest.exp conftest.er2
>/dev
/null
; then
11115 lt_cv_prog_compiler_rtti_exceptions
=yes
11121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
11122 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
11124 if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
11125 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
11137 lt_prog_compiler_wl
=
11138 lt_prog_compiler_pic
=
11139 lt_prog_compiler_static
=
11142 if test yes = "$GCC"; then
11143 lt_prog_compiler_wl
='-Wl,'
11144 lt_prog_compiler_static
='-static'
11148 # All AIX code is PIC.
11149 if test ia64
= "$host_cpu"; then
11150 # AIX 5 now supports IA64 processor
11151 lt_prog_compiler_static
='-Bstatic'
11153 lt_prog_compiler_pic
='-fPIC'
11159 # see comment about AmigaOS4 .so support
11160 lt_prog_compiler_pic
='-fPIC'
11163 # FIXME: we need at least 68020 code to build shared libraries, but
11164 # adding the '-m68020' flag to GCC prevents building anything better,
11166 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
11171 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
11172 # PIC is the default for these OSes.
11175 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
11176 # This hack is so that the source file can tell whether it is being
11177 # built for inclusion in a dll (and should export symbols for example).
11178 # Although the cygwin gcc ignores -fPIC, still need this for old-style
11179 # (--disable-auto-import) libraries
11180 lt_prog_compiler_pic
='-DDLL_EXPORT'
11183 lt_prog_compiler_static
='$wl-static'
11188 darwin
* | rhapsody
*)
11189 # PIC is the default on this platform
11190 # Common symbols not allowed in MH_DYLIB files
11191 lt_prog_compiler_pic
='-fno-common'
11195 # PIC is the default for Haiku.
11196 # The "-static" flag exists, but is broken.
11197 lt_prog_compiler_static
=
11201 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
11202 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
11203 # sets the default TLS model and affects inlining.
11209 lt_prog_compiler_pic
='-fPIC'
11215 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
11216 # Instead, we relocate shared libraries at runtime.
11220 # Just because we use GCC doesn't mean we suddenly get shared libraries
11221 # on systems that don't support them.
11222 lt_prog_compiler_can_build_shared
=no
11227 # QNX uses GNU C++, but need to define -shared option too, otherwise
11228 # it will coredump.
11229 lt_prog_compiler_pic
='-fPIC -shared'
11233 if test -d /usr
/nec
; then
11234 lt_prog_compiler_pic
=-Kconform_pic
11239 lt_prog_compiler_pic
='-fPIC'
11243 case $cc_basename in
11244 nvcc
*) # Cuda Compiler Driver 2.2
11245 lt_prog_compiler_wl
='-Xlinker '
11246 if test -n "$lt_prog_compiler_pic"; then
11247 lt_prog_compiler_pic
="-Xcompiler $lt_prog_compiler_pic"
11252 # PORTME Check for flag to pass linker flags through the system compiler.
11255 lt_prog_compiler_wl
='-Wl,'
11256 if test ia64
= "$host_cpu"; then
11257 # AIX 5 now supports IA64 processor
11258 lt_prog_compiler_static
='-Bstatic'
11260 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
11264 darwin
* | rhapsody
*)
11265 # PIC is the default on this platform
11266 # Common symbols not allowed in MH_DYLIB files
11267 lt_prog_compiler_pic
='-fno-common'
11268 case $cc_basename in
11270 # NAG Fortran compiler
11271 lt_prog_compiler_wl
='-Wl,-Wl,,'
11272 lt_prog_compiler_pic
='-PIC'
11273 lt_prog_compiler_static
='-Bstatic'
11278 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
11279 # This hack is so that the source file can tell whether it is being
11280 # built for inclusion in a dll (and should export symbols for example).
11281 lt_prog_compiler_pic
='-DDLL_EXPORT'
11284 lt_prog_compiler_static
='$wl-static'
11289 hpux9
* | hpux10
* | hpux11
*)
11290 lt_prog_compiler_wl
='-Wl,'
11291 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
11292 # not for PA HP-UX.
11298 lt_prog_compiler_pic
='+Z'
11301 # Is there a better lt_prog_compiler_static that works with the bundled CC?
11302 lt_prog_compiler_static
='$wl-a ${wl}archive'
11305 irix5
* | irix6
* | nonstopux
*)
11306 lt_prog_compiler_wl
='-Wl,'
11307 # PIC (with -KPIC) is the default.
11308 lt_prog_compiler_static
='-non_shared'
11311 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
11312 case $cc_basename in
11313 # old Intel for x86_64, which still supported -KPIC.
11315 lt_prog_compiler_wl
='-Wl,'
11316 lt_prog_compiler_pic
='-KPIC'
11317 lt_prog_compiler_static
='-static'
11319 # icc used to be incompatible with GCC.
11320 # ICC 10 doesn't accept -KPIC any more.
11322 lt_prog_compiler_wl
='-Wl,'
11323 lt_prog_compiler_pic
='-fPIC'
11324 lt_prog_compiler_static
='-static'
11326 # Lahey Fortran 8.1.
11328 lt_prog_compiler_wl
='-Wl,'
11329 lt_prog_compiler_pic
='--shared'
11330 lt_prog_compiler_static
='--static'
11333 # NAG Fortran compiler
11334 lt_prog_compiler_wl
='-Wl,-Wl,,'
11335 lt_prog_compiler_pic
='-PIC'
11336 lt_prog_compiler_static
='-Bstatic'
11339 # Fabrice Bellard et al's Tiny C Compiler
11340 lt_prog_compiler_wl
='-Wl,'
11341 lt_prog_compiler_pic
='-fPIC'
11342 lt_prog_compiler_static
='-static'
11344 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
11345 # Portland Group compilers (*not* the Pentium gcc compiler,
11346 # which looks to be a dead project)
11347 lt_prog_compiler_wl
='-Wl,'
11348 lt_prog_compiler_pic
='-fpic'
11349 lt_prog_compiler_static
='-Bstatic'
11352 lt_prog_compiler_wl
='-Wl,'
11353 # All Alpha code is PIC.
11354 lt_prog_compiler_static
='-non_shared'
11356 xl
* | bgxl
* | bgf
* | mpixl
*)
11357 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
11358 lt_prog_compiler_wl
='-Wl,'
11359 lt_prog_compiler_pic
='-qpic'
11360 lt_prog_compiler_static
='-qstaticlink'
11363 case `$CC -V 2>&1 | sed 5q` in
11364 *Sun\ Ceres\ Fortran
* | *Sun
*Fortran
*\
[1-7].
* | *Sun
*Fortran
*\
8.
[0-3]*)
11365 # Sun Fortran 8.3 passes all unrecognized flags to the linker
11366 lt_prog_compiler_pic
='-KPIC'
11367 lt_prog_compiler_static
='-Bstatic'
11368 lt_prog_compiler_wl
=''
11370 *Sun\ F
* | *Sun
*Fortran
*)
11371 lt_prog_compiler_pic
='-KPIC'
11372 lt_prog_compiler_static
='-Bstatic'
11373 lt_prog_compiler_wl
='-Qoption ld '
11377 lt_prog_compiler_pic
='-KPIC'
11378 lt_prog_compiler_static
='-Bstatic'
11379 lt_prog_compiler_wl
='-Wl,'
11381 *Intel
*\
[CF
]*Compiler
*)
11382 lt_prog_compiler_wl
='-Wl,'
11383 lt_prog_compiler_pic
='-fPIC'
11384 lt_prog_compiler_static
='-static'
11387 lt_prog_compiler_wl
='-Wl,'
11388 lt_prog_compiler_pic
='-fpic'
11389 lt_prog_compiler_static
='-Bstatic'
11397 lt_prog_compiler_pic
='-KPIC'
11398 lt_prog_compiler_static
='-Bstatic'
11402 # QNX uses GNU C++, but need to define -shared option too, otherwise
11403 # it will coredump.
11404 lt_prog_compiler_pic
='-fPIC -shared'
11407 osf3
* | osf4
* | osf5
*)
11408 lt_prog_compiler_wl
='-Wl,'
11409 # All OSF/1 code is PIC.
11410 lt_prog_compiler_static
='-non_shared'
11414 lt_prog_compiler_static
='-non_shared'
11418 lt_prog_compiler_pic
='-KPIC'
11419 lt_prog_compiler_static
='-Bstatic'
11420 case $cc_basename in
11421 f77
* | f90
* | f95
* | sunf77
* | sunf90
* | sunf95
*)
11422 lt_prog_compiler_wl
='-Qoption ld ';;
11424 lt_prog_compiler_wl
='-Wl,';;
11429 lt_prog_compiler_wl
='-Qoption ld '
11430 lt_prog_compiler_pic
='-PIC'
11431 lt_prog_compiler_static
='-Bstatic'
11434 sysv4
| sysv4.2uw2
* | sysv4.3
*)
11435 lt_prog_compiler_wl
='-Wl,'
11436 lt_prog_compiler_pic
='-KPIC'
11437 lt_prog_compiler_static
='-Bstatic'
11441 if test -d /usr
/nec
; then
11442 lt_prog_compiler_pic
='-Kconform_pic'
11443 lt_prog_compiler_static
='-Bstatic'
11447 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
11448 lt_prog_compiler_wl
='-Wl,'
11449 lt_prog_compiler_pic
='-KPIC'
11450 lt_prog_compiler_static
='-Bstatic'
11454 lt_prog_compiler_wl
='-Wl,'
11455 lt_prog_compiler_can_build_shared
=no
11459 lt_prog_compiler_pic
='-pic'
11460 lt_prog_compiler_static
='-Bstatic'
11464 lt_prog_compiler_can_build_shared
=no
11470 # For platforms that do not support PIC, -DPIC is meaningless:
11472 lt_prog_compiler_pic
=
11475 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
11479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
11480 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
11481 if ${lt_cv_prog_compiler_pic+:} false
; then :
11482 $as_echo_n "(cached) " >&6
11484 lt_cv_prog_compiler_pic
=$lt_prog_compiler_pic
11486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
11487 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
11488 lt_prog_compiler_pic
=$lt_cv_prog_compiler_pic
11491 # Check to make sure the PIC flag actually works.
11493 if test -n "$lt_prog_compiler_pic"; then
11494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
11495 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
11496 if ${lt_cv_prog_compiler_pic_works+:} false
; then :
11497 $as_echo_n "(cached) " >&6
11499 lt_cv_prog_compiler_pic_works
=no
11500 ac_outfile
=conftest.
$ac_objext
11501 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
11502 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC" ## exclude from sc_useless_quotes_in_assignment
11503 # Insert the option either (1) after the last *FLAGS variable, or
11504 # (2) before a word containing "conftest.", or (3) at the end.
11505 # Note that $ac_compile itself does not contain backslashes and begins
11506 # with a dollar sign (not a hyphen), so the echo should work correctly.
11507 # The option is referenced via a variable to avoid confusing sed.
11508 lt_compile
=`echo "$ac_compile" | $SED \
11509 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11510 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11511 -e 's:$: $lt_compiler_flag:'`
11512 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
11513 (eval "$lt_compile" 2>conftest.err
)
11515 cat conftest.err
>&5
11516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11517 if (exit $ac_status) && test -s "$ac_outfile"; then
11518 # The compiler can only warn and ignore the option if not recognized
11519 # So say no if there are warnings other than the usual output.
11520 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
11521 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
11522 if test ! -s conftest.er2
|| diff conftest.exp conftest.er2
>/dev
/null
; then
11523 lt_cv_prog_compiler_pic_works
=yes
11529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
11530 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
11532 if test yes = "$lt_cv_prog_compiler_pic_works"; then
11533 case $lt_prog_compiler_pic in
11535 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
11538 lt_prog_compiler_pic
=
11539 lt_prog_compiler_can_build_shared
=no
11555 # Check to make sure the static flag actually works.
11557 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
11558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
11559 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
11560 if ${lt_cv_prog_compiler_static_works+:} false
; then :
11561 $as_echo_n "(cached) " >&6
11563 lt_cv_prog_compiler_static_works
=no
11564 save_LDFLAGS
=$LDFLAGS
11565 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
11566 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
11567 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
11568 # The linker can only warn and ignore the option if not recognized
11569 # So say no if there are warnings
11570 if test -s conftest.err
; then
11571 # Append any errors to the config.log.
11572 cat conftest.err
1>&5
11573 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
11574 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
11575 if diff conftest.exp conftest.er2
>/dev
/null
; then
11576 lt_cv_prog_compiler_static_works
=yes
11579 lt_cv_prog_compiler_static_works
=yes
11583 LDFLAGS
=$save_LDFLAGS
11586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
11587 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
11589 if test yes = "$lt_cv_prog_compiler_static_works"; then
11592 lt_prog_compiler_static
=
11601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
11602 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
11603 if ${lt_cv_prog_compiler_c_o+:} false
; then :
11604 $as_echo_n "(cached) " >&6
11606 lt_cv_prog_compiler_c_o
=no
11607 $RM -r conftest
2>/dev
/null
11611 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
11613 lt_compiler_flag
="-o out/conftest2.$ac_objext"
11614 # Insert the option either (1) after the last *FLAGS variable, or
11615 # (2) before a word containing "conftest.", or (3) at the end.
11616 # Note that $ac_compile itself does not contain backslashes and begins
11617 # with a dollar sign (not a hyphen), so the echo should work correctly.
11618 lt_compile
=`echo "$ac_compile" | $SED \
11619 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11620 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11621 -e 's:$: $lt_compiler_flag:'`
11622 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
11623 (eval "$lt_compile" 2>out
/conftest.err
)
11625 cat out
/conftest.err
>&5
11626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11627 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
11629 # The compiler can only warn and ignore the option if not recognized
11630 # So say no if there are warnings
11631 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out
/conftest.exp
11632 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
11633 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
11634 lt_cv_prog_compiler_c_o
=yes
11639 # SGI C++ compiler will create directory out/ii_files/ for
11640 # template instantiation
11641 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
11642 $RM out
/* && rmdir out
11648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
11649 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
11656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
11657 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
11658 if ${lt_cv_prog_compiler_c_o+:} false
; then :
11659 $as_echo_n "(cached) " >&6
11661 lt_cv_prog_compiler_c_o
=no
11662 $RM -r conftest
2>/dev
/null
11666 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
11668 lt_compiler_flag
="-o out/conftest2.$ac_objext"
11669 # Insert the option either (1) after the last *FLAGS variable, or
11670 # (2) before a word containing "conftest.", or (3) at the end.
11671 # Note that $ac_compile itself does not contain backslashes and begins
11672 # with a dollar sign (not a hyphen), so the echo should work correctly.
11673 lt_compile
=`echo "$ac_compile" | $SED \
11674 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11675 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11676 -e 's:$: $lt_compiler_flag:'`
11677 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
11678 (eval "$lt_compile" 2>out
/conftest.err
)
11680 cat out
/conftest.err
>&5
11681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11682 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
11684 # The compiler can only warn and ignore the option if not recognized
11685 # So say no if there are warnings
11686 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out
/conftest.exp
11687 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
11688 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
11689 lt_cv_prog_compiler_c_o
=yes
11694 # SGI C++ compiler will create directory out/ii_files/ for
11695 # template instantiation
11696 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
11697 $RM out
/* && rmdir out
11703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
11704 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
11709 hard_links
=nottested
11710 if test no
= "$lt_cv_prog_compiler_c_o" && test no
!= "$need_locks"; then
11711 # do not overwrite the value of need_locks provided by the user
11712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
11713 $as_echo_n "checking if we can lock with hard links... " >&6; }
11716 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
11718 ln conftest.a conftest.b
2>&5 || hard_links
=no
11719 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
11720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
11721 $as_echo "$hard_links" >&6; }
11722 if test no
= "$hard_links"; then
11723 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
11724 $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
11736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11737 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
11740 allow_undefined_flag
=
11741 always_export_symbols
=no
11743 archive_expsym_cmds
=
11744 compiler_needs_object
=no
11745 enable_shared_with_static_runtimes
=no
11746 export_dynamic_flag_spec
=
11747 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
11748 hardcode_automatic
=no
11750 hardcode_direct_absolute
=no
11751 hardcode_libdir_flag_spec
=
11752 hardcode_libdir_separator
=
11753 hardcode_minus_L
=no
11754 hardcode_shlibpath_var
=unsupported
11756 link_all_deplibs
=unknown
11758 module_expsym_cmds
=
11759 old_archive_from_new_cmds
=
11760 old_archive_from_expsyms_cmds
=
11761 thread_safe_flag_spec
=
11762 whole_archive_flag_spec
=
11763 # include_expsyms should be a list of space-separated symbols to be *always*
11764 # included in the symbol list
11766 # exclude_expsyms can be an extended regexp of symbols to exclude
11767 # it will be wrapped by ' (' and ')$', so one must not match beginning or
11768 # end of line. Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
11769 # as well as any symbol that contains 'd'.
11770 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
11771 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
11772 # platforms (ab)use it in PIC code, but their linkers get confused if
11773 # the symbol is explicitly referenced. Since portable code cannot
11774 # rely on this symbol name, it's probably fine to never include it in
11775 # preloaded symbol tables.
11776 # Exclude shared library initialization/finalization symbols.
11777 extract_expsyms_cmds
=
11780 cygwin
* | mingw
* | pw32
* | cegcc
*)
11781 # FIXME: the MSVC++ port hasn't been tested in a loooong time
11782 # When not using gcc, we currently assume that we are using
11783 # Microsoft Visual C++.
11784 if test yes != "$GCC"; then
11789 # we just hope/assume this is gcc and not c89 (= MSVC++)
11792 openbsd
* | bitrig
*)
11799 # On some targets, GNU ld is compatible enough with the native linker
11800 # that we're better off using the native interface for both.
11801 lt_use_gnu_ld_interface
=no
11802 if test yes = "$with_gnu_ld"; then
11805 # The AIX port of GNU ld has always aspired to compatibility
11806 # with the native linker. However, as the warning in the GNU ld
11807 # block says, versions before 2.19.5* couldn't really create working
11808 # shared libraries, regardless of the interface used.
11809 case `$LD -v 2>&1` in
11810 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
11811 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
11812 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
11814 lt_use_gnu_ld_interface
=yes
11819 lt_use_gnu_ld_interface
=yes
11824 if test yes = "$lt_use_gnu_ld_interface"; then
11825 # If archive_cmds runs LD, not CC, wlarc should be empty
11828 # Set some defaults for GNU ld with shared library support. These
11829 # are reset later if shared libraries are not supported. Putting them
11830 # here allows them to be overridden if necessary.
11831 runpath_var
=LD_RUN_PATH
11832 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
11833 export_dynamic_flag_spec
='$wl--export-dynamic'
11834 # ancient GNU ld didn't support --whole-archive et. al.
11835 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev
/null
; then
11836 whole_archive_flag_spec
=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
11838 whole_archive_flag_spec
=
11840 supports_anon_versioning
=no
11841 case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
11842 *GNU\ gold
*) supports_anon_versioning
=yes ;;
11843 *\
[01].
* | *\
2.
[0-9].
* | *\
2.10.
*) ;; # catch versions < 2.11
11844 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
11845 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
11846 *\
2.11.
*) ;; # other 2.11 versions
11847 *) supports_anon_versioning
=yes ;;
11850 # See if GNU ld supports shared libraries.
11853 # On AIX/PPC, the GNU linker is very broken
11854 if test ia64
!= "$host_cpu"; then
11858 *** Warning: the GNU linker, at least up to release 2.19, is reported
11859 *** to be unable to reliably create shared libraries on AIX.
11860 *** Therefore, libtool is disabling shared libraries support. If you
11861 *** really care for shared libraries, you may want to install binutils
11862 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
11863 *** You will then need to restart the configuration process.
11872 # see comment about AmigaOS4 .so support
11873 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11874 archive_expsym_cmds
=''
11877 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)'
11878 hardcode_libdir_flag_spec
='-L$libdir'
11879 hardcode_minus_L
=yes
11885 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
11886 allow_undefined_flag
=unsupported
11887 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
11888 # support --undefined. This deserves some investigation. FIXME
11889 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11895 cygwin
* | mingw
* | pw32
* | cegcc
*)
11896 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
11897 # as there is no search path for DLLs.
11898 hardcode_libdir_flag_spec
='-L$libdir'
11899 export_dynamic_flag_spec
='$wl--export-all-symbols'
11900 allow_undefined_flag
=unsupported
11901 always_export_symbols
=no
11902 enable_shared_with_static_runtimes
=yes
11903 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'
11904 exclude_expsyms
='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
11906 if $LD --help 2>&1 | $GREP 'auto-import' > /dev
/null
; then
11907 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
11908 # If the export-symbols file already is a .def file, use it as
11909 # is; otherwise, prepend EXPORTS...
11910 archive_expsym_cmds
='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
11911 cp $export_symbols $output_objdir/$soname.def;
11913 echo EXPORTS > $output_objdir/$soname.def;
11914 cat $export_symbols >> $output_objdir/$soname.def;
11916 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
11923 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11924 link_all_deplibs
=yes
11928 hardcode_libdir_flag_spec
='-L$libdir'
11929 hardcode_minus_L
=yes
11930 allow_undefined_flag
=unsupported
11932 archive_cmds
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
11933 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
11934 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
11935 $ECHO EXPORTS >> $output_objdir/$libname.def~
11936 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
11937 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
11938 emximp -o $lib $output_objdir/$libname.def'
11939 archive_expsym_cmds
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
11940 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
11941 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
11942 $ECHO EXPORTS >> $output_objdir/$libname.def~
11943 prefix_cmds="$SED"~
11944 if test EXPORTS = "`$SED 1q $export_symbols`"; then
11945 prefix_cmds="$prefix_cmds -e 1d";
11947 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
11948 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
11949 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
11950 emximp -o $lib $output_objdir/$libname.def'
11951 old_archive_From_new_cmds
='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
11952 enable_shared_with_static_runtimes
=yes
11957 hardcode_shlibpath_var
=no
11958 hardcode_libdir_flag_spec
='$wl-rpath,$libdir'
11959 export_dynamic_flag_spec
='$wl-E'
11960 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
11961 # Instead, shared libraries are loaded at an image base (0x10000000 by
11962 # default) and relocated if they conflict, which is a slow very memory
11963 # consuming and fragmenting process. To avoid this, we pick a random,
11964 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
11965 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
11966 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
11967 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'
11970 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
11972 if test linux
-dietlibc = "$host_os"; then
11973 case $cc_basename in
11974 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
11977 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev
/null \
11978 && test no
= "$tmp_diet"
11980 tmp_addflag
=' $pic_flag'
11981 tmp_sharedflag
='-shared'
11982 case $cc_basename,$host_cpu in
11983 pgcc
*) # Portland Group C compiler
11984 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'
11985 tmp_addflag
=' $pic_flag'
11987 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
11988 # Portland Group f77 and f90 compilers
11989 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'
11990 tmp_addflag
=' $pic_flag -Mnomain' ;;
11991 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
11992 tmp_addflag
=' -i_dynamic' ;;
11993 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
11994 tmp_addflag
=' -i_dynamic -nofor_main' ;;
11995 ifc
* | ifort
*) # Intel Fortran compiler
11996 tmp_addflag
=' -nofor_main' ;;
11997 lf95
*) # Lahey Fortran 8.1
11998 whole_archive_flag_spec
=
11999 tmp_sharedflag
='--shared' ;;
12000 nagfor
*) # NAGFOR 5.3
12001 tmp_sharedflag
='-Wl,-shared' ;;
12002 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
12003 tmp_sharedflag
='-qmkshrobj'
12005 nvcc
*) # Cuda Compiler Driver 2.2
12006 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'
12007 compiler_needs_object
=yes
12010 case `$CC -V 2>&1 | sed 5q` in
12011 *Sun\ C
*) # Sun C 5.9
12012 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'
12013 compiler_needs_object
=yes
12014 tmp_sharedflag
='-G' ;;
12015 *Sun\ F
*) # Sun Fortran 8.3
12016 tmp_sharedflag
='-G' ;;
12018 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
12020 if test yes = "$supports_anon_versioning"; then
12021 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
12022 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12023 echo "local: *; };" >> $output_objdir/$libname.ver~
12024 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
12027 case $cc_basename in
12029 export_dynamic_flag_spec
='-rdynamic'
12031 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
12032 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
12033 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
12034 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
12035 archive_cmds
='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
12036 if test yes = "$supports_anon_versioning"; then
12037 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
12038 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12039 echo "local: *; };" >> $output_objdir/$libname.ver~
12040 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
12050 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
12051 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
12054 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
12055 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
12060 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev
/null
; then
12064 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
12065 *** create shared libraries on Solaris systems. Therefore, libtool
12066 *** is disabling shared libraries support. We urge you to upgrade GNU
12067 *** binutils to release 2.9.1 or newer. Another option is to modify
12068 *** your PATH or compiler configuration so that the native linker is
12069 *** used, and then restart.
12072 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
12073 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
12074 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
12080 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
12081 case `$LD -v 2>&1` in
12082 *\
[01].
* | *\
2.
[0-9].
* | *\
2.1[0-5].
*)
12086 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
12087 *** reliably create shared libraries on SCO systems. Therefore, libtool
12088 *** is disabling shared libraries support. We urge you to upgrade GNU
12089 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
12090 *** your PATH or compiler configuration so that the native linker is
12091 *** used, and then restart.
12096 # For security reasons, it is highly recommended that you always
12097 # use absolute paths for naming shared libraries, and exclude the
12098 # DT_RUNPATH tag from executables and libraries. But doing so
12099 # requires that you compile everything twice, which is a pain.
12100 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
12101 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
12102 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
12103 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
12112 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
12114 hardcode_direct
=yes
12115 hardcode_shlibpath_var
=no
12119 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
12120 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
12121 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
12128 if test no
= "$ld_shlibs"; then
12130 hardcode_libdir_flag_spec
=
12131 export_dynamic_flag_spec
=
12132 whole_archive_flag_spec
=
12135 # PORTME fill in a description of your system's linker (not GNU ld)
12138 allow_undefined_flag
=unsupported
12139 always_export_symbols
=yes
12140 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'
12141 # Note: this linker hardcodes the directories in LIBPATH if there
12142 # are no directories specified by -L.
12143 hardcode_minus_L
=yes
12144 if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
12145 # Neither direct hardcoding nor static linking is supported with a
12147 hardcode_direct
=unsupported
12152 if test ia64
= "$host_cpu"; then
12153 # On IA64, the linker does run time linking by default, so we don't
12154 # have to do anything special.
12155 aix_use_runtimelinking
=no
12156 exp_sym_flag
='-Bexport'
12159 # If we're using GNU nm, then we don't want the "-C" option.
12160 # -C means demangle to GNU nm, but means don't demangle to AIX nm.
12161 # Without the "-l" option, or with the "-B" option, AIX nm treats
12162 # weak defined symbols like other global defined symbols, whereas
12163 # GNU nm marks them as "W".
12164 # While the 'weak' keyword is ignored in the Export File, we need
12165 # it in the Import File for the 'aix-soname' feature, so we have
12166 # to replace the "-B" option with "-P" for AIX nm.
12167 if $NM -V 2>&1 | $GREP 'GNU' > /dev
/null
; then
12168 export_symbols_cmds
='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols'
12170 export_symbols_cmds
='`func_echo_all $NM | $SED -e '\''s/B\([^B]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && (substr(\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols'
12172 aix_use_runtimelinking
=no
12174 # Test if we are trying to use run time linking or normal
12175 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12176 # have runtime linking enabled, and use it for executables.
12177 # For shared libraries, we enable/disable runtime linking
12178 # depending on the kind of the shared library created -
12179 # when "with_aix_soname,aix_use_runtimelinking" is:
12180 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables
12181 # "aix,yes" lib.so shared, rtl:yes, for executables
12182 # lib.a static archive
12183 # "both,no" lib.so.V(shr.o) shared, rtl:yes
12184 # lib.a(lib.so.V) shared, rtl:no, for executables
12185 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
12186 # lib.a(lib.so.V) shared, rtl:no
12187 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables
12188 # lib.a static archive
12189 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
12190 for ld_flag
in $LDFLAGS; do
12191 if (test x
-brtl = "x$ld_flag" || test x
-Wl,-brtl = "x$ld_flag"); then
12192 aix_use_runtimelinking
=yes
12196 if test svr4
,no
= "$with_aix_soname,$aix_use_runtimelinking"; then
12197 # With aix-soname=svr4, we create the lib.so.V shared archives only,
12198 # so we don't have lib.a shared libs to link our executables.
12199 # We have to force runtime linking in this case.
12200 aix_use_runtimelinking
=yes
12201 LDFLAGS
="$LDFLAGS -Wl,-brtl"
12206 exp_sym_flag
='-bexport'
12207 no_entry_flag
='-bnoentry'
12210 # When large executables or shared objects are built, AIX ld can
12211 # have problems creating the table of contents. If linking a library
12212 # or program results in "error TOC overflow" add -mminimal-toc to
12213 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12214 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12217 hardcode_direct
=yes
12218 hardcode_direct_absolute
=yes
12219 hardcode_libdir_separator
=':'
12220 link_all_deplibs
=yes
12221 file_list_spec
='$wl-f,'
12222 case $with_aix_soname,$aix_use_runtimelinking in
12223 aix
,*) ;; # traditional, no import file
12224 svr4
,* | *,yes) # use import file
12225 # The Import File defines what to hardcode.
12227 hardcode_direct_absolute
=no
12231 if test yes = "$GCC"; then
12232 case $host_os in aix4.
[012]|aix4.
[012].
*)
12233 # We only want to do this on AIX 4.2 and lower, the check
12234 # below for broken collect2 doesn't work under 4.3+
12235 collect2name
=`$CC -print-prog-name=collect2`
12236 if test -f "$collect2name" &&
12237 strings "$collect2name" | $GREP resolve_lib_name
>/dev
/null
12239 # We have reworked collect2
12242 # We have old collect2
12243 hardcode_direct
=unsupported
12244 # It fails to find uninstalled libraries when the uninstalled
12245 # path is not listed in the libpath. Setting hardcode_minus_L
12246 # to unsupported forces relinking
12247 hardcode_minus_L
=yes
12248 hardcode_libdir_flag_spec
='-L$libdir'
12249 hardcode_libdir_separator
=
12253 shared_flag
='-shared'
12254 if test yes = "$aix_use_runtimelinking"; then
12255 shared_flag
="$shared_flag "'$wl-G'
12257 # Need to ensure runtime linking is disabled for the traditional
12258 # shared library, or the linker may eventually find shared libraries
12259 # /with/ Import File - we do not want to mix them.
12260 shared_flag_aix
='-shared'
12261 shared_flag_svr4
='-shared $wl-G'
12264 if test ia64
= "$host_cpu"; then
12265 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12266 # chokes on -Wl,-G. The following line is correct:
12269 if test yes = "$aix_use_runtimelinking"; then
12270 shared_flag
='$wl-G'
12272 shared_flag
='$wl-bM:SRE'
12274 shared_flag_aix
='$wl-bM:SRE'
12275 shared_flag_svr4
='$wl-G'
12279 export_dynamic_flag_spec
='$wl-bexpall'
12280 # It seems that -bexpall does not export symbols beginning with
12281 # underscore (_), so it is better to generate a list of symbols to export.
12282 always_export_symbols
=yes
12283 if test aix
,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
12284 # Warning - without using the other runtime loading flags (-brtl),
12285 # -berok will link without error, but may produce a broken library.
12286 allow_undefined_flag
='-berok'
12287 # Determine the default libpath from the value encoded in an
12288 # empty executable.
12289 if test set = "${lt_cv_aix_libpath+set}"; then
12290 aix_libpath
=$lt_cv_aix_libpath
12292 if ${lt_cv_aix_libpath_+:} false
; then :
12293 $as_echo_n "(cached) " >&6
12295 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12296 /* end confdefs.h. */
12306 if ac_fn_c_try_link
"$LINENO"; then :
12308 lt_aix_libpath_sed
='
12309 /Import File Strings/,/^$/ {
12311 s/^0 *\([^ ]*\) *$/\1/
12315 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12316 # Check for a 64-bit object if we didn't find anything.
12317 if test -z "$lt_cv_aix_libpath_"; then
12318 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12321 rm -f core conftest.err conftest.
$ac_objext \
12322 conftest
$ac_exeext conftest.
$ac_ext
12323 if test -z "$lt_cv_aix_libpath_"; then
12324 lt_cv_aix_libpath_
=/usr
/lib
:/lib
12329 aix_libpath
=$lt_cv_aix_libpath_
12332 hardcode_libdir_flag_spec
='$wl-blibpath:$libdir:'"$aix_libpath"
12333 archive_expsym_cmds
='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler_flags `if test -n "$allow_undefined_flag"; then func_echo_all "$wl$allow_undefined_flag"; else :; fi` $wl'$exp_sym_flag:\
$export_symbols' '$shared_flag
12335 if test ia64
= "$host_cpu"; then
12336 hardcode_libdir_flag_spec
='$wl-R $libdir:/usr/lib:/lib'
12337 allow_undefined_flag
="-z nodefs"
12338 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"
12340 # Determine the default libpath from the value encoded in an
12341 # empty executable.
12342 if test set = "${lt_cv_aix_libpath+set}"; then
12343 aix_libpath
=$lt_cv_aix_libpath
12345 if ${lt_cv_aix_libpath_+:} false
; then :
12346 $as_echo_n "(cached) " >&6
12348 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12349 /* end confdefs.h. */
12359 if ac_fn_c_try_link
"$LINENO"; then :
12361 lt_aix_libpath_sed
='
12362 /Import File Strings/,/^$/ {
12364 s/^0 *\([^ ]*\) *$/\1/
12368 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12369 # Check for a 64-bit object if we didn't find anything.
12370 if test -z "$lt_cv_aix_libpath_"; then
12371 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12374 rm -f core conftest.err conftest.
$ac_objext \
12375 conftest
$ac_exeext conftest.
$ac_ext
12376 if test -z "$lt_cv_aix_libpath_"; then
12377 lt_cv_aix_libpath_
=/usr
/lib
:/lib
12382 aix_libpath
=$lt_cv_aix_libpath_
12385 hardcode_libdir_flag_spec
='$wl-blibpath:$libdir:'"$aix_libpath"
12386 # Warning - without using the other run time loading flags,
12387 # -berok will link without error, but may produce a broken library.
12388 no_undefined_flag
=' $wl-bernotok'
12389 allow_undefined_flag
=' $wl-berok'
12390 if test yes = "$with_gnu_ld"; then
12391 # We only use this code for GNU lds that support --whole-archive.
12392 whole_archive_flag_spec
='$wl--whole-archive$convenience $wl--no-whole-archive'
12394 # Exported symbols can be pulled into shared objects from archives
12395 whole_archive_flag_spec
='$convenience'
12397 archive_cmds_need_lc
=yes
12398 archive_expsym_cmds
='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
12399 # -brtl affects multiple linker settings, -berok does not and is overridden later
12400 compiler_flags_filtered
='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
12401 if test svr4
!= "$with_aix_soname"; then
12402 # This is similar to how AIX traditionally builds its shared libraries.
12403 archive_expsym_cmds
="$archive_expsym_cmds"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$realname.d/$soname'
12405 if test aix
!= "$with_aix_soname"; then
12406 archive_expsym_cmds
="$archive_expsym_cmds"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_archive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)"; if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; else func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/$shared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp'
12408 # used by -dlpreopen to get the symbols
12409 archive_expsym_cmds
="$archive_expsym_cmds"'~$MV $output_objdir/$realname.d/$soname $output_objdir'
12411 archive_expsym_cmds
="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
12419 # see comment about AmigaOS4 .so support
12420 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
12421 archive_expsym_cmds
=''
12424 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)'
12425 hardcode_libdir_flag_spec
='-L$libdir'
12426 hardcode_minus_L
=yes
12432 export_dynamic_flag_spec
=-rdynamic
12435 cygwin
* | mingw
* | pw32
* | cegcc
*)
12436 # When not using gcc, we currently assume that we are using
12437 # Microsoft Visual C++.
12438 # hardcode_libdir_flag_spec is actually meaningless, as there is
12439 # no search path for DLLs.
12440 case $cc_basename in
12443 hardcode_libdir_flag_spec
=' '
12444 allow_undefined_flag
=unsupported
12445 always_export_symbols
=yes
12447 # Tell ltmain to make .lib files, not .a files.
12449 # Tell ltmain to make .dll files, not .so files.
12451 # FIXME: Setting linknames here is a bad hack.
12452 archive_cmds
='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
12453 archive_expsym_cmds
='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
12454 cp "$export_symbols" "$output_objdir/$soname.def";
12455 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
12457 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
12459 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
12461 # The linker will not automatically build a static lib if we build a DLL.
12462 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
12463 enable_shared_with_static_runtimes
=yes
12464 exclude_expsyms
='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
12465 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
12467 old_postinstall_cmds
='chmod 644 $oldlib'
12468 postlink_cmds
='lt_outputfile="@OUTPUT@"~
12469 lt_tool_outputfile="@TOOL_OUTPUT@"~
12470 case $lt_outputfile in
12473 lt_outputfile=$lt_outputfile.exe
12474 lt_tool_outputfile=$lt_tool_outputfile.exe
12477 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
12478 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
12479 $RM "$lt_outputfile.manifest";
12483 # Assume MSVC wrapper
12484 hardcode_libdir_flag_spec
=' '
12485 allow_undefined_flag
=unsupported
12486 # Tell ltmain to make .lib files, not .a files.
12488 # Tell ltmain to make .dll files, not .so files.
12490 # FIXME: Setting linknames here is a bad hack.
12491 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
12492 # The linker will automatically build a .lib file if we build a DLL.
12493 old_archive_from_new_cmds
='true'
12494 # FIXME: Should let the user specify the lib program.
12495 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
12496 enable_shared_with_static_runtimes
=yes
12501 darwin
* | rhapsody
*)
12504 archive_cmds_need_lc
=no
12506 hardcode_automatic
=yes
12507 hardcode_shlibpath_var
=unsupported
12508 if test yes = "$lt_cv_ld_force_load"; then
12509 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\"`'
12512 whole_archive_flag_spec
=''
12514 link_all_deplibs
=yes
12515 allow_undefined_flag
=$_lt_dar_allow_undefined
12516 case $cc_basename in
12517 ifort
*|nagfor
*) _lt_dar_can_shared
=yes ;;
12518 *) _lt_dar_can_shared
=$GCC ;;
12520 if test yes = "$_lt_dar_can_shared"; then
12521 output_verbose_link_cmd
=func_echo_all
12522 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
12523 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
12524 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"
12525 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"
12534 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12535 hardcode_libdir_flag_spec
='-L$libdir'
12536 hardcode_shlibpath_var
=no
12539 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
12540 # support. Future versions do this automatically, but an explicit c++rt0.o
12541 # does not break anything, and helps significantly (at the cost of a little
12544 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
12545 hardcode_libdir_flag_spec
='-R$libdir'
12546 hardcode_direct
=yes
12547 hardcode_shlibpath_var
=no
12550 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
12552 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
12553 hardcode_direct
=yes
12554 hardcode_minus_L
=yes
12555 hardcode_shlibpath_var
=no
12558 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
12559 freebsd
* | dragonfly
*)
12560 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
12561 hardcode_libdir_flag_spec
='-R$libdir'
12562 hardcode_direct
=yes
12563 hardcode_shlibpath_var
=no
12567 if test yes = "$GCC"; then
12568 archive_cmds
='$RM $output_objdir/$soname~$CC -shared $pic_flag $wl+b $wl$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
12570 archive_cmds
='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
12572 hardcode_libdir_flag_spec
='$wl+b $wl$libdir'
12573 hardcode_libdir_separator
=:
12574 hardcode_direct
=yes
12576 # hardcode_minus_L: Not really in the search PATH,
12577 # but as the default location of the library.
12578 hardcode_minus_L
=yes
12579 export_dynamic_flag_spec
='$wl-E'
12583 if test yes,no
= "$GCC,$with_gnu_ld"; then
12584 archive_cmds
='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12586 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
12588 if test no
= "$with_gnu_ld"; then
12589 hardcode_libdir_flag_spec
='$wl+b $wl$libdir'
12590 hardcode_libdir_separator
=:
12591 hardcode_direct
=yes
12592 hardcode_direct_absolute
=yes
12593 export_dynamic_flag_spec
='$wl-E'
12594 # hardcode_minus_L: Not really in the search PATH,
12595 # but as the default location of the library.
12596 hardcode_minus_L
=yes
12601 if test yes,no
= "$GCC,$with_gnu_ld"; then
12604 archive_cmds
='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
12607 archive_cmds
='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
12610 archive_cmds
='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12616 archive_cmds
='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
12619 archive_cmds
='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
12623 # Older versions of the 11.00 compiler do not understand -b yet
12624 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
12625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
12626 $as_echo_n "checking if $CC understands -b... " >&6; }
12627 if ${lt_cv_prog_compiler__b+:} false
; then :
12628 $as_echo_n "(cached) " >&6
12630 lt_cv_prog_compiler__b
=no
12631 save_LDFLAGS
=$LDFLAGS
12632 LDFLAGS
="$LDFLAGS -b"
12633 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
12634 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
12635 # The linker can only warn and ignore the option if not recognized
12636 # So say no if there are warnings
12637 if test -s conftest.err
; then
12638 # Append any errors to the config.log.
12639 cat conftest.err
1>&5
12640 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
12641 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
12642 if diff conftest.exp conftest.er2
>/dev
/null
; then
12643 lt_cv_prog_compiler__b
=yes
12646 lt_cv_prog_compiler__b
=yes
12650 LDFLAGS
=$save_LDFLAGS
12653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
12654 $as_echo "$lt_cv_prog_compiler__b" >&6; }
12656 if test yes = "$lt_cv_prog_compiler__b"; then
12657 archive_cmds
='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12659 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
12665 if test no
= "$with_gnu_ld"; then
12666 hardcode_libdir_flag_spec
='$wl+b $wl$libdir'
12667 hardcode_libdir_separator
=:
12672 hardcode_shlibpath_var
=no
12675 hardcode_direct
=yes
12676 hardcode_direct_absolute
=yes
12677 export_dynamic_flag_spec
='$wl-E'
12679 # hardcode_minus_L: Not really in the search PATH,
12680 # but as the default location of the library.
12681 hardcode_minus_L
=yes
12687 irix5
* | irix6
* | nonstopux
*)
12688 if test yes = "$GCC"; then
12689 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'
12690 # Try to use the -exported_symbol ld option, if it does not
12691 # work, assume that -exports_file does not work either and
12692 # implicitly export all symbols.
12693 # This should be the same for all languages, so no per-tag cache variable.
12694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
12695 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
12696 if ${lt_cv_irix_exported_symbol+:} false
; then :
12697 $as_echo_n "(cached) " >&6
12699 save_LDFLAGS
=$LDFLAGS
12700 LDFLAGS
="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
12701 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12702 /* end confdefs.h. */
12703 int foo (void) { return 0; }
12705 if ac_fn_c_try_link
"$LINENO"; then :
12706 lt_cv_irix_exported_symbol
=yes
12708 lt_cv_irix_exported_symbol
=no
12710 rm -f core conftest.err conftest.
$ac_objext \
12711 conftest
$ac_exeext conftest.
$ac_ext
12712 LDFLAGS
=$save_LDFLAGS
12714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
12715 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
12716 if test yes = "$lt_cv_irix_exported_symbol"; then
12717 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'
12720 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'
12721 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'
12723 archive_cmds_need_lc
='no'
12724 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
12725 hardcode_libdir_separator
=:
12727 link_all_deplibs
=yes
12731 case $cc_basename in
12733 # Fabrice Bellard et al's Tiny C Compiler
12735 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
12741 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
12742 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
12744 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
12746 hardcode_libdir_flag_spec
='-R$libdir'
12747 hardcode_direct
=yes
12748 hardcode_shlibpath_var
=no
12752 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12753 hardcode_direct
=yes
12754 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
12755 hardcode_libdir_separator
=:
12756 hardcode_shlibpath_var
=no
12762 openbsd
* | bitrig
*)
12763 if test -f /usr
/libexec
/ld.so
; then
12764 hardcode_direct
=yes
12765 hardcode_shlibpath_var
=no
12766 hardcode_direct_absolute
=yes
12767 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
12768 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
12769 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
12770 hardcode_libdir_flag_spec
='$wl-rpath,$libdir'
12771 export_dynamic_flag_spec
='$wl-E'
12773 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
12774 hardcode_libdir_flag_spec
='$wl-rpath,$libdir'
12782 hardcode_libdir_flag_spec
='-L$libdir'
12783 hardcode_minus_L
=yes
12784 allow_undefined_flag
=unsupported
12786 archive_cmds
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
12787 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
12788 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
12789 $ECHO EXPORTS >> $output_objdir/$libname.def~
12790 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
12791 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
12792 emximp -o $lib $output_objdir/$libname.def'
12793 archive_expsym_cmds
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
12794 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
12795 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
12796 $ECHO EXPORTS >> $output_objdir/$libname.def~
12797 prefix_cmds="$SED"~
12798 if test EXPORTS = "`$SED 1q $export_symbols`"; then
12799 prefix_cmds="$prefix_cmds -e 1d";
12801 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
12802 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
12803 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
12804 emximp -o $lib $output_objdir/$libname.def'
12805 old_archive_From_new_cmds
='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
12806 enable_shared_with_static_runtimes
=yes
12810 if test yes = "$GCC"; then
12811 allow_undefined_flag
=' $wl-expect_unresolved $wl\*'
12812 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'
12814 allow_undefined_flag
=' -expect_unresolved \*'
12815 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'
12817 archive_cmds_need_lc
='no'
12818 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
12819 hardcode_libdir_separator
=:
12822 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
12823 if test yes = "$GCC"; then
12824 allow_undefined_flag
=' $wl-expect_unresolved $wl\*'
12825 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'
12826 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
12828 allow_undefined_flag
=' -expect_unresolved \*'
12829 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'
12830 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~
12831 $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'
12833 # Both c and cxx compiler support -rpath directly
12834 hardcode_libdir_flag_spec
='-rpath $libdir'
12836 archive_cmds_need_lc
='no'
12837 hardcode_libdir_separator
=:
12841 no_undefined_flag
=' -z defs'
12842 if test yes = "$GCC"; then
12844 archive_cmds
='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
12845 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12846 $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'
12848 case `$CC -V 2>&1` in
12851 archive_cmds
='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
12852 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12853 $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
12857 archive_cmds
='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
12858 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12859 $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
12863 hardcode_libdir_flag_spec
='-R$libdir'
12864 hardcode_shlibpath_var
=no
12866 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
12868 # The compiler driver will combine and reorder linker options,
12869 # but understands '-z linker_flag'. GCC discards it without '$wl',
12870 # but is careful enough not to reorder.
12871 # Supported since Solaris 2.6 (maybe 2.5.1?)
12872 if test yes = "$GCC"; then
12873 whole_archive_flag_spec
='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
12875 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
12879 link_all_deplibs
=yes
12883 if test sequent
= "$host_vendor"; then
12884 # Use $CC to link under sequent, because it throws in some extra .o
12885 # files that make .init and .fini sections work.
12886 archive_cmds
='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
12888 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
12890 hardcode_libdir_flag_spec
='-L$libdir'
12891 hardcode_direct
=yes
12892 hardcode_minus_L
=yes
12893 hardcode_shlibpath_var
=no
12897 case $host_vendor in
12899 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12900 hardcode_direct
=yes # is this really true???
12903 ## LD is ld it makes a PLAMLIB
12904 ## CC just makes a GrossModule.
12905 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
12906 reload_cmds
='$CC -r -o $output$reload_objs'
12910 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12911 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
12914 runpath_var
='LD_RUN_PATH'
12915 hardcode_shlibpath_var
=no
12919 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12920 hardcode_shlibpath_var
=no
12921 export_dynamic_flag_spec
='-Bexport'
12925 if test -d /usr
/nec
; then
12926 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12927 hardcode_shlibpath_var
=no
12928 runpath_var
=LD_RUN_PATH
12929 hardcode_runpath_var
=yes
12934 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
12935 no_undefined_flag
='$wl-z,text'
12936 archive_cmds_need_lc
=no
12937 hardcode_shlibpath_var
=no
12938 runpath_var
='LD_RUN_PATH'
12940 if test yes = "$GCC"; then
12941 archive_cmds
='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12942 archive_expsym_cmds
='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12944 archive_cmds
='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12945 archive_expsym_cmds
='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12949 sysv5
* | sco3.2v5
* | sco5v6
*)
12950 # Note: We CANNOT use -z defs as we might desire, because we do not
12951 # link with -lc, and that would cause any symbols used from libc to
12952 # always be unresolved, which means just about no library would
12953 # ever link correctly. If we're not using GNU ld we use -z text
12954 # though, which does catch some bad symbols but isn't as heavy-handed
12956 no_undefined_flag
='$wl-z,text'
12957 allow_undefined_flag
='$wl-z,nodefs'
12958 archive_cmds_need_lc
=no
12959 hardcode_shlibpath_var
=no
12960 hardcode_libdir_flag_spec
='$wl-R,$libdir'
12961 hardcode_libdir_separator
=':'
12962 link_all_deplibs
=yes
12963 export_dynamic_flag_spec
='$wl-Bexport'
12964 runpath_var
='LD_RUN_PATH'
12966 if test yes = "$GCC"; then
12967 archive_cmds
='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12968 archive_expsym_cmds
='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12970 archive_cmds
='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12971 archive_expsym_cmds
='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12976 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12977 hardcode_libdir_flag_spec
='-L$libdir'
12978 hardcode_shlibpath_var
=no
12986 if test sni
= "$host_vendor"; then
12988 sysv4
| sysv4.2uw2
* | sysv4.3
* | sysv5
*)
12989 export_dynamic_flag_spec
='$wl-Blargedynsym'
12995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
12996 $as_echo "$ld_shlibs" >&6; }
12997 test no
= "$ld_shlibs" && can_build_shared
=no
12999 with_gnu_ld
=$with_gnu_ld
13016 # Do we need to explicitly link libc?
13018 case "x$archive_cmds_need_lc" in
13020 # Assume -lc should be added
13021 archive_cmds_need_lc
=yes
13023 if test yes,yes = "$GCC,$enable_shared"; then
13024 case $archive_cmds in
13026 # FIXME: we may have to deal with multi-command sequences.
13029 # Test whether the compiler implicitly links with -lc since on some
13030 # systems, -lgcc has to come before -lc. If gcc already passes -lc
13031 # to ld, don't add -lc before -lgcc.
13032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
13033 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
13034 if ${lt_cv_archive_cmds_need_lc+:} false
; then :
13035 $as_echo_n "(cached) " >&6
13038 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13040 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13041 (eval $ac_compile) 2>&5
13043 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13044 test $ac_status = 0; } 2>conftest.err
; then
13047 libobjs
=conftest.
$ac_objext
13049 wl
=$lt_prog_compiler_wl
13050 pic_flag
=$lt_prog_compiler_pic
13056 lt_save_allow_undefined_flag
=$allow_undefined_flag
13057 allow_undefined_flag
=
13058 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
13059 (eval $archive_cmds 2\
>\
&1 \
| $GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
13061 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13062 test $ac_status = 0; }
13064 lt_cv_archive_cmds_need_lc
=no
13066 lt_cv_archive_cmds_need_lc
=yes
13068 allow_undefined_flag
=$lt_save_allow_undefined_flag
13070 cat conftest.err
1>&5
13075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
13076 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
13077 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
13235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
13236 $as_echo_n "checking dynamic linker characteristics... " >&6; }
13238 if test yes = "$GCC"; then
13240 darwin
*) lt_awk_arg
='/^libraries:/,/LR/' ;;
13241 *) lt_awk_arg
='/^libraries:/' ;;
13244 mingw
* | cegcc
*) lt_sed_strip_eq
='s|=\([A-Za-z]:\)|\1|g' ;;
13245 *) lt_sed_strip_eq
='s|=/|/|g' ;;
13247 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
13248 case $lt_search_path_spec in
13250 # if the path contains ";" then we assume it to be the separator
13251 # otherwise default to the standard path separator (i.e. ":") - it is
13252 # assumed that no part of a normal pathname contains ";" but that should
13253 # okay in the real world where ";" in dirpaths is itself problematic.
13254 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
13257 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
13260 # Ok, now we have the path, separated by spaces, we can step through it
13261 # and add multilib dir if necessary...
13262 lt_tmp_lt_search_path_spec
=
13263 lt_multi_os_dir
=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
13264 # ...but if some path component already ends with the multilib dir we assume
13265 # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
13266 case "$lt_multi_os_dir; $lt_search_path_spec " in
13267 "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
13271 for lt_sys_path
in $lt_search_path_spec; do
13272 if test -d "$lt_sys_path$lt_multi_os_dir"; then
13273 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
13274 elif test -n "$lt_multi_os_dir"; then
13275 test -d "$lt_sys_path" && \
13276 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
13279 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
13280 BEGIN {RS = " "; FS = "/|\n";} {
13283 for (lt_i = NF; lt_i > 0; lt_i--) {
13284 if ($lt_i != "" && $lt_i != ".") {
13285 if ($lt_i == "..") {
13288 if (lt_count == 0) {
13289 lt_foo = "/" $lt_i lt_foo;
13296 if (lt_foo != "") { lt_freq[lt_foo]++; }
13297 if (lt_freq[lt_foo] == 1) { print lt_foo; }
13299 # AWK program above erroneously prepends '/' to C:/dos/paths
13302 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
13303 $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
13305 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
13307 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
13309 library_names_spec
=
13310 libname_spec
='lib$name'
13314 postuninstall_cmds
=
13318 shlibpath_overrides_runpath
=unknown
13320 dynamic_linker
="$host_os ld.so"
13321 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
13322 need_lib_prefix
=unknown
13323 hardcode_into_libs
=no
13325 # when you set need_version to no, make sure it does not cause -set_version
13326 # flags to be left without arguments
13327 need_version
=unknown
13333 version_type
=linux
# correct to gnu/linux during the next big refactor
13334 library_names_spec
='$libname$release$shared_ext$versuffix $libname.a'
13335 shlibpath_var
=LIBPATH
13337 # AIX 3 has no versioning support, so we append a major version to the name.
13338 soname_spec
='$libname$release$shared_ext$major'
13342 version_type
=linux
# correct to gnu/linux during the next big refactor
13345 hardcode_into_libs
=yes
13346 if test ia64
= "$host_cpu"; then
13347 # AIX 5 supports IA64
13348 library_names_spec
='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
13349 shlibpath_var
=LD_LIBRARY_PATH
13351 # With GCC up to 2.95.x, collect2 would create an import file
13352 # for dependence libraries. The import file would start with
13353 # the line '#! .'. This would cause the generated library to
13354 # depend on '.', always an invalid library. This was fixed in
13355 # development snapshots of GCC prior to 3.0.
13357 aix4
| aix4.
[01] | aix4.
[01].
*)
13358 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
13360 echo '#endif'; } | $CC -E - | $GREP yes > /dev
/null
; then
13363 can_build_shared
=no
13367 # Using Import Files as archive members, it is possible to support
13368 # filename-based versioning of shared library archives on AIX. While
13369 # this would work for both with and without runtime linking, it will
13370 # prevent static linking of such archives. So we do filename-based
13371 # shared library versioning with .so extension only, which is used
13372 # when both runtime linking and shared linking is enabled.
13373 # Unfortunately, runtime linking may impact performance, so we do
13374 # not want this to be the default eventually. Also, we use the
13375 # versioned .so libs for executables only if there is the -brtl
13376 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
13377 # To allow for filename-based versioning support, we need to create
13378 # libNAME.so.V as an archive file, containing:
13379 # *) an Import File, referring to the versioned filename of the
13380 # archive as well as the shared archive member, telling the
13381 # bitwidth (32 or 64) of that shared object, and providing the
13382 # list of exported symbols of that shared object, eventually
13383 # decorated with the 'weak' keyword
13384 # *) the shared object with the F_LOADONLY flag set, to really avoid
13385 # it being seen by the linker.
13386 # At run time we better use the real file rather than another symlink,
13387 # but for link time we create the symlink libNAME.so -> libNAME.so.V
13389 case $with_aix_soname,$aix_use_runtimelinking in
13390 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
13391 # soname into executable. Probably we can add versioning support to
13392 # collect2, so additional links can be useful in future.
13393 aix
,yes) # traditional libtool
13394 dynamic_linker
='AIX unversionable lib.so'
13395 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
13396 # instead of lib<name>.a to let people know that these are not
13397 # typical AIX shared libraries.
13398 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13400 aix
,no
) # traditional AIX only
13401 dynamic_linker
='AIX lib.a(lib.so.V)'
13402 # We preserve .a as extension for shared libraries through AIX4.2
13403 # and later when we are not doing run time linking.
13404 library_names_spec
='$libname$release.a $libname.a'
13405 soname_spec
='$libname$release$shared_ext$major'
13407 svr4
,*) # full svr4 only
13408 dynamic_linker
="AIX lib.so.V($shared_archive_member_spec.o)"
13409 library_names_spec
='$libname$release$shared_ext$major $libname$shared_ext'
13410 # We do not specify a path in Import Files, so LIBPATH fires.
13411 shlibpath_overrides_runpath
=yes
13413 *,yes) # both, prefer svr4
13414 dynamic_linker
="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
13415 library_names_spec
='$libname$release$shared_ext$major $libname$shared_ext'
13416 # unpreferred sharedlib libNAME.a needs extra handling
13417 postinstall_cmds
='test -n "$linkname" || linkname="$realname"~func_stripname "" ".so" "$linkname"~$install_shared_prog "$dir/$func_stripname_result.$libext" "$destdir/$func_stripname_result.$libext"~test -z "$tstripme" || test -z "$striplib" || $striplib "$destdir/$func_stripname_result.$libext"'
13418 postuninstall_cmds
='for n in $library_names $old_library; do :; done~func_stripname "" ".so" "$n"~test "$func_stripname_result" = "$n" || func_append rmfiles " $odir/$func_stripname_result.$libext"'
13419 # We do not specify a path in Import Files, so LIBPATH fires.
13420 shlibpath_overrides_runpath
=yes
13422 *,no
) # both, prefer aix
13423 dynamic_linker
="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
13424 library_names_spec
='$libname$release.a $libname.a'
13425 soname_spec
='$libname$release$shared_ext$major'
13426 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
13427 postinstall_cmds
='test -z "$dlname" || $install_shared_prog $dir/$dlname $destdir/$dlname~test -z "$tstripme" || test -z "$striplib" || $striplib $destdir/$dlname~test -n "$linkname" || linkname=$realname~func_stripname "" ".a" "$linkname"~(cd "$destdir" && $LN_S -f $dlname $func_stripname_result.so)'
13428 postuninstall_cmds
='test -z "$dlname" || func_append rmfiles " $odir/$dlname"~for n in $old_library $library_names; do :; done~func_stripname "" ".a" "$n"~func_append rmfiles " $odir/$func_stripname_result.so"'
13431 shlibpath_var
=LIBPATH
13438 # Since July 2007 AmigaOS4 officially supports .so libraries.
13439 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
13440 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13443 library_names_spec
='$libname.ixlibrary $libname.a'
13444 # Create ${libname}_ixlibrary.a entries in /sys/libs.
13445 finish_eval
='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; $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'
13451 library_names_spec
='$libname$shared_ext'
13452 dynamic_linker
="$host_os ld.so"
13453 shlibpath_var
=LIBRARY_PATH
13457 version_type
=linux
# correct to gnu/linux during the next big refactor
13459 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13460 soname_spec
='$libname$release$shared_ext$major'
13461 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
13462 shlibpath_var
=LD_LIBRARY_PATH
13463 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
13464 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
13465 # the default ld.so.conf also contains /usr/contrib/lib and
13466 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
13467 # libtool to hard-code these into programs
13470 cygwin
* | mingw
* | pw32
* | cegcc
*)
13471 version_type
=windows
13476 case $GCC,$cc_basename in
13479 library_names_spec
='$libname.dll.a'
13480 # DLL is installed to $(libdir)/../bin by postinstall_cmds
13481 postinstall_cmds
='base_file=`basename \$file`~
13482 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
13483 dldir=$destdir/`dirname \$dlpath`~
13484 test -d \$dldir || mkdir -p \$dldir~
13485 $install_prog $dir/$dlname \$dldir/$dlname~
13486 chmod a+x \$dldir/$dlname~
13487 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
13488 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
13490 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
13491 dlpath=$dir/\$dldll~
13493 shlibpath_overrides_runpath
=yes
13497 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
13498 soname_spec
='`echo $libname | sed -e 's
/^lib
/cyg
/'``echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
13500 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
13503 # MinGW DLLs use traditional 'lib' prefix
13504 soname_spec
='$libname`echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
13507 # pw32 DLLs use 'pw' prefix rather than 'lib'
13508 library_names_spec
='`echo $libname | sed -e 's
/^lib
/pw
/'``echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
13511 dynamic_linker
='Win32 ld.exe'
13516 libname_spec
='$name'
13517 soname_spec
='$libname`echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
13518 library_names_spec
='$libname.dll.lib'
13522 sys_lib_search_path_spec
=
13525 for lt_path
in $LIB
13528 # Let DOS variable expansion print the short 8.3 style file name.
13529 lt_path
=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
13530 sys_lib_search_path_spec
="$sys_lib_search_path_spec $lt_path"
13533 # Convert to MSYS style.
13534 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
13537 # Convert to unix form, then to dos form, then back to unix form
13538 # but this time dos style (no spaces!) so that the unix form looks
13539 # like /cygdrive/c/PROGRA~1:/cygdr...
13540 sys_lib_search_path_spec
=`cygpath --path --unix "$LIB"`
13541 sys_lib_search_path_spec
=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
13542 sys_lib_search_path_spec
=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
13545 sys_lib_search_path_spec
=$LIB
13546 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev
/null
; then
13547 # It is most probably a Windows format PATH.
13548 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
13550 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
13552 # FIXME: find the short name or the path components, as spaces are
13553 # common. (e.g. "Program Files" -> "PROGRA~1")
13557 # DLL is installed to $(libdir)/../bin by postinstall_cmds
13558 postinstall_cmds
='base_file=`basename \$file`~
13559 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
13560 dldir=$destdir/`dirname \$dlpath`~
13561 test -d \$dldir || mkdir -p \$dldir~
13562 $install_prog $dir/$dlname \$dldir/$dlname'
13563 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
13564 dlpath=$dir/\$dldll~
13566 shlibpath_overrides_runpath
=yes
13567 dynamic_linker
='Win32 link.exe'
13571 # Assume MSVC wrapper
13572 library_names_spec
='$libname`echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext $libname.lib'
13573 dynamic_linker
='Win32 ld.exe'
13576 # FIXME: first we should search . and the directory the executable is in
13580 darwin
* | rhapsody
*)
13581 dynamic_linker
="$host_os dyld"
13582 version_type
=darwin
13585 library_names_spec
='$libname$release$major$shared_ext $libname$shared_ext'
13586 soname_spec
='$libname$release$major$shared_ext'
13587 shlibpath_overrides_runpath
=yes
13588 shlibpath_var
=DYLD_LIBRARY_PATH
13589 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
13591 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
13592 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
13596 version_type
=linux
# correct to gnu/linux during the next big refactor
13599 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13600 soname_spec
='$libname$release$shared_ext$major'
13601 shlibpath_var
=LD_LIBRARY_PATH
13604 freebsd
* | dragonfly
*)
13605 # DragonFly does not have aout. When/if they implement a new
13606 # versioning mechanism, adjust this.
13607 if test -x /usr
/bin
/objformat
; then
13608 objformat
=`/usr/bin/objformat`
13611 freebsd
[23].
*) objformat
=aout
;;
13612 *) objformat
=elf
;;
13615 version_type
=freebsd
-$objformat
13616 case $version_type in
13618 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13619 soname_spec
='$libname$release$shared_ext$major'
13624 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
13628 shlibpath_var
=LD_LIBRARY_PATH
13631 shlibpath_overrides_runpath
=yes
13633 freebsd3.
[01]* | freebsdelf3.
[01]*)
13634 shlibpath_overrides_runpath
=yes
13635 hardcode_into_libs
=yes
13637 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
13638 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
13639 shlibpath_overrides_runpath
=no
13640 hardcode_into_libs
=yes
13642 *) # from 4.6 on, and DragonFly
13643 shlibpath_overrides_runpath
=yes
13644 hardcode_into_libs
=yes
13650 version_type
=linux
# correct to gnu/linux during the next big refactor
13653 dynamic_linker
="$host_os runtime_loader"
13654 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13655 soname_spec
='$libname$release$shared_ext$major'
13656 shlibpath_var
=LIBRARY_PATH
13657 shlibpath_overrides_runpath
=no
13658 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
13659 hardcode_into_libs
=yes
13662 hpux9
* | hpux10
* | hpux11
*)
13663 # Give a soname corresponding to the major version so that dld.sl refuses to
13664 # link against other versions.
13671 hardcode_into_libs
=yes
13672 dynamic_linker
="$host_os dld.so"
13673 shlibpath_var
=LD_LIBRARY_PATH
13674 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
13675 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13676 soname_spec
='$libname$release$shared_ext$major'
13677 if test 32 = "$HPUX_IA64_MODE"; then
13678 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
13679 sys_lib_dlsearch_path_spec
=/usr
/lib
/hpux32
13681 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
13682 sys_lib_dlsearch_path_spec
=/usr
/lib
/hpux64
13687 hardcode_into_libs
=yes
13688 dynamic_linker
="$host_os dld.sl"
13689 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
13690 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
13691 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13692 soname_spec
='$libname$release$shared_ext$major'
13693 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
13694 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
13698 dynamic_linker
="$host_os dld.sl"
13699 shlibpath_var
=SHLIB_PATH
13700 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
13701 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13702 soname_spec
='$libname$release$shared_ext$major'
13705 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
13706 postinstall_cmds
='chmod 555 $lib'
13707 # or fails outright, so override atomically:
13708 install_override_mode
=555
13712 version_type
=linux
# correct to gnu/linux during the next big refactor
13715 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13716 soname_spec
='$libname$release$shared_ext$major'
13717 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
13718 shlibpath_var
=LD_LIBRARY_PATH
13719 shlibpath_overrides_runpath
=no
13720 hardcode_into_libs
=yes
13723 irix5
* | irix6
* | nonstopux
*)
13725 nonstopux
*) version_type
=nonstopux
;;
13727 if test yes = "$lt_cv_prog_gnu_ld"; then
13728 version_type
=linux
# correct to gnu/linux during the next big refactor
13735 soname_spec
='$libname$release$shared_ext$major'
13736 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
13738 irix5
* | nonstopux
*)
13739 libsuff
= shlibsuff
=
13742 case $LD in # libtool.m4 will add one of these switches to LD
13743 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
13744 libsuff
= shlibsuff
= libmagic
=32-bit;;
13745 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
13746 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
13747 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
13748 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
13749 *) libsuff
= shlibsuff
= libmagic
=never
-match;;
13753 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
13754 shlibpath_overrides_runpath
=no
13755 sys_lib_search_path_spec
="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
13756 sys_lib_dlsearch_path_spec
="/usr/lib$libsuff /lib$libsuff"
13757 hardcode_into_libs
=yes
13760 # No shared lib support for Linux oldld, aout, or coff.
13761 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
13766 version_type
=none
# Android doesn't support versioned libraries.
13769 library_names_spec
='$libname$release$shared_ext'
13770 soname_spec
='$libname$release$shared_ext'
13772 shlibpath_var
=LD_LIBRARY_PATH
13773 shlibpath_overrides_runpath
=yes
13775 # This implies no fast_install, which is unacceptable.
13776 # Some rework will be needed to allow for fast_install
13777 # before this can be enabled.
13778 hardcode_into_libs
=yes
13780 dynamic_linker
='Android linker'
13781 # Don't embed -rpath directories since the linker doesn't support them.
13782 hardcode_libdir_flag_spec
='-L$libdir'
13785 # This must be glibc/ELF.
13786 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
13787 version_type
=linux
# correct to gnu/linux during the next big refactor
13790 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13791 soname_spec
='$libname$release$shared_ext$major'
13792 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
13793 shlibpath_var
=LD_LIBRARY_PATH
13794 shlibpath_overrides_runpath
=no
13796 # Some binutils ld are patched to set DT_RUNPATH
13797 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
13798 $as_echo_n "(cached) " >&6
13800 lt_cv_shlibpath_overrides_runpath
=no
13801 save_LDFLAGS
=$LDFLAGS
13802 save_libdir
=$libdir
13803 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
13804 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
13805 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13806 /* end confdefs.h. */
13816 if ac_fn_c_try_link
"$LINENO"; then :
13817 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null
| grep "RUNPATH.*$libdir" >/dev
/null
; then :
13818 lt_cv_shlibpath_overrides_runpath
=yes
13821 rm -f core conftest.err conftest.
$ac_objext \
13822 conftest
$ac_exeext conftest.
$ac_ext
13823 LDFLAGS
=$save_LDFLAGS
13824 libdir
=$save_libdir
13828 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
13830 # This implies no fast_install, which is unacceptable.
13831 # Some rework will be needed to allow for fast_install
13832 # before this can be enabled.
13833 hardcode_into_libs
=yes
13835 # Ideally, we could use ldconfig to report *all* directores which are
13836 # searched for libraries, however this is still not possible. Aside from not
13837 # being certain /sbin/ldconfig is available, command
13838 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
13839 # even though it is searched at run-time. Try to do the best guess by
13840 # appending ld.so.conf contents (and includes) to the search path.
13841 if test -f /etc
/ld.so.conf
; then
13842 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' ' '`
13843 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
13846 # We used to test for /lib/ld.so.1 and disable shared libraries on
13847 # powerpc, because MkLinux only supported shared libraries with the
13848 # GNU dynamic linker. Since this was broken with cross compilers,
13849 # most powerpc-linux boxes support dynamic linking these days and
13850 # people can always --disable-shared, the test was removed, and we
13851 # assume the GNU/Linux dynamic linker is in use.
13852 dynamic_linker
='GNU/Linux ld.so'
13859 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
13860 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
13861 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13862 dynamic_linker
='NetBSD (a.out) ld.so'
13864 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13865 soname_spec
='$libname$release$shared_ext$major'
13866 dynamic_linker
='NetBSD ld.elf_so'
13868 shlibpath_var
=LD_LIBRARY_PATH
13869 shlibpath_overrides_runpath
=yes
13870 hardcode_into_libs
=yes
13874 version_type
=linux
# correct to gnu/linux during the next big refactor
13875 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13876 shlibpath_var
=LD_LIBRARY_PATH
13877 shlibpath_overrides_runpath
=yes
13884 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13885 soname_spec
='$libname$release$shared_ext$major'
13886 shlibpath_var
=LD_LIBRARY_PATH
13887 shlibpath_overrides_runpath
=no
13888 hardcode_into_libs
=yes
13889 dynamic_linker
='ldqnx.so'
13892 openbsd
* | bitrig
*)
13894 sys_lib_dlsearch_path_spec
=/usr
/lib
13896 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
13901 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
13902 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13903 shlibpath_var
=LD_LIBRARY_PATH
13904 shlibpath_overrides_runpath
=yes
13908 libname_spec
='$name'
13909 version_type
=windows
13913 # OS/2 can only load a DLL with a base name of 8 characters or less.
13914 soname_spec
='`test -n "$os2dllname" && libname="$os2dllname";
13915 v=$($ECHO $release$versuffix | tr -d .-);
13916 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
13917 $ECHO $n$v`$shared_ext'
13918 library_names_spec
='${libname}_dll.$libext'
13919 dynamic_linker
='OS/2 ld.exe'
13920 shlibpath_var
=BEGINLIBPATH
13921 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
13922 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
13923 postinstall_cmds
='base_file=`basename \$file`~
13924 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
13925 dldir=$destdir/`dirname \$dlpath`~
13926 test -d \$dldir || mkdir -p \$dldir~
13927 $install_prog $dir/$dlname \$dldir/$dlname~
13928 chmod a+x \$dldir/$dlname~
13929 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
13930 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
13932 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
13933 dlpath=$dir/\$dldll~
13937 osf3
* | osf4
* | osf5
*)
13941 soname_spec
='$libname$release$shared_ext$major'
13942 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13943 shlibpath_var
=LD_LIBRARY_PATH
13944 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
13945 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
13953 version_type
=linux
# correct to gnu/linux during the next big refactor
13956 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13957 soname_spec
='$libname$release$shared_ext$major'
13958 shlibpath_var
=LD_LIBRARY_PATH
13959 shlibpath_overrides_runpath
=yes
13960 hardcode_into_libs
=yes
13961 # ldd complains unless libraries are executable
13962 postinstall_cmds
='chmod +x $lib'
13967 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
13968 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
13969 shlibpath_var
=LD_LIBRARY_PATH
13970 shlibpath_overrides_runpath
=yes
13971 if test yes = "$with_gnu_ld"; then
13978 version_type
=linux
# correct to gnu/linux during the next big refactor
13979 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13980 soname_spec
='$libname$release$shared_ext$major'
13981 shlibpath_var
=LD_LIBRARY_PATH
13982 case $host_vendor in
13984 shlibpath_overrides_runpath
=no
13986 runpath_var
=LD_RUN_PATH
13994 shlibpath_overrides_runpath
=no
13995 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
14001 if test -d /usr
/nec
; then
14002 version_type
=linux
# correct to gnu/linux during the next big refactor
14003 library_names_spec
='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
14004 soname_spec
='$libname$shared_ext.$major'
14005 shlibpath_var
=LD_LIBRARY_PATH
14009 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
14013 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
14014 soname_spec
='$libname$release$shared_ext$major'
14015 shlibpath_var
=LD_LIBRARY_PATH
14016 shlibpath_overrides_runpath
=yes
14017 hardcode_into_libs
=yes
14018 if test yes = "$with_gnu_ld"; then
14019 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14021 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
14024 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
14028 sys_lib_dlsearch_path_spec
='/usr/lib'
14032 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
14033 version_type
=linux
# correct to gnu/linux during the next big refactor
14036 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
14037 shlibpath_var
=LD_LIBRARY_PATH
14038 shlibpath_overrides_runpath
=no
14039 hardcode_into_libs
=yes
14043 version_type
=linux
# correct to gnu/linux during the next big refactor
14044 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
14045 soname_spec
='$libname$release$shared_ext$major'
14046 shlibpath_var
=LD_LIBRARY_PATH
14053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14054 $as_echo "$dynamic_linker" >&6; }
14055 test no
= "$dynamic_linker" && can_build_shared
=no
14057 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
14058 if test yes = "$GCC"; then
14059 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14062 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
14063 sys_lib_search_path_spec
=$lt_cv_sys_lib_search_path_spec
14066 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
14067 sys_lib_dlsearch_path_spec
=$lt_cv_sys_lib_dlsearch_path_spec
14070 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
14071 configure_time_dlsearch_path
=$sys_lib_dlsearch_path_spec
14073 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
14074 func_munge_path_list sys_lib_dlsearch_path_spec
"$LT_SYS_LIBRARY_PATH"
14076 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
14077 configure_time_lt_sys_library_path
=$LT_SYS_LIBRARY_PATH
14175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14176 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14178 if test -n "$hardcode_libdir_flag_spec" ||
14179 test -n "$runpath_var" ||
14180 test yes = "$hardcode_automatic"; then
14182 # We can hardcode non-existent directories.
14183 if test no
!= "$hardcode_direct" &&
14184 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14185 # have to relink, otherwise we might link with an installed library
14186 # when we should be linking with a yet-to-be-installed one
14187 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
14188 test no
!= "$hardcode_minus_L"; then
14189 # Linking always hardcodes the temporary library directory.
14190 hardcode_action
=relink
14192 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14193 hardcode_action
=immediate
14196 # We cannot hardcode anything, or else we can only hardcode existing
14198 hardcode_action
=unsupported
14200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
14201 $as_echo "$hardcode_action" >&6; }
14203 if test relink
= "$hardcode_action" ||
14204 test yes = "$inherit_rpath"; then
14205 # Fast installation is not supported
14206 enable_fast_install
=no
14207 elif test yes = "$shlibpath_overrides_runpath" ||
14208 test no
= "$enable_shared"; then
14209 # Fast installation is not necessary
14210 enable_fast_install
=needless
14218 if test yes != "$enable_dlopen"; then
14219 enable_dlopen
=unknown
14220 enable_dlopen_self
=unknown
14221 enable_dlopen_self_static
=unknown
14228 lt_cv_dlopen
=load_add_on
14230 lt_cv_dlopen_self
=yes
14233 mingw
* | pw32
* | cegcc
*)
14234 lt_cv_dlopen
=LoadLibrary
14239 lt_cv_dlopen
=dlopen
14244 # if libdl is installed we need to link against it
14245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14246 $as_echo_n "checking for dlopen in -ldl... " >&6; }
14247 if ${ac_cv_lib_dl_dlopen+:} false
; then :
14248 $as_echo_n "(cached) " >&6
14250 ac_check_lib_save_LIBS
=$LIBS
14252 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14253 /* end confdefs.h. */
14255 /* Override any GCC internal prototype to avoid an error.
14256 Use char because int might match the return type of a GCC
14257 builtin and then its argument prototype would still apply. */
14270 if ac_fn_c_try_link
"$LINENO"; then :
14271 ac_cv_lib_dl_dlopen
=yes
14273 ac_cv_lib_dl_dlopen
=no
14275 rm -f core conftest.err conftest.
$ac_objext \
14276 conftest
$ac_exeext conftest.
$ac_ext
14277 LIBS
=$ac_check_lib_save_LIBS
14279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14280 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
14281 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
14282 lt_cv_dlopen
=dlopen lt_cv_dlopen_libs
=-ldl
14287 lt_cv_dlopen_self
=yes
14294 # Don't try to run any link tests for TPF. We know it's impossible
14295 # because TPF is a cross-compiler, and we know how we open DSOs.
14296 lt_cv_dlopen
=dlopen
14298 lt_cv_dlopen_self
=no
14302 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
14303 if test "x$ac_cv_func_shl_load" = xyes
; then :
14304 lt_cv_dlopen
=shl_load
14306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
14307 $as_echo_n "checking for shl_load in -ldld... " >&6; }
14308 if ${ac_cv_lib_dld_shl_load+:} false
; then :
14309 $as_echo_n "(cached) " >&6
14311 ac_check_lib_save_LIBS
=$LIBS
14313 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14314 /* end confdefs.h. */
14316 /* Override any GCC internal prototype to avoid an error.
14317 Use char because int might match the return type of a GCC
14318 builtin and then its argument prototype would still apply. */
14326 return shl_load ();
14331 if ac_fn_c_try_link
"$LINENO"; then :
14332 ac_cv_lib_dld_shl_load
=yes
14334 ac_cv_lib_dld_shl_load
=no
14336 rm -f core conftest.err conftest.
$ac_objext \
14337 conftest
$ac_exeext conftest.
$ac_ext
14338 LIBS
=$ac_check_lib_save_LIBS
14340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
14341 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
14342 if test "x$ac_cv_lib_dld_shl_load" = xyes
; then :
14343 lt_cv_dlopen
=shl_load lt_cv_dlopen_libs
=-ldld
14345 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
14346 if test "x$ac_cv_func_dlopen" = xyes
; then :
14347 lt_cv_dlopen
=dlopen
14349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14350 $as_echo_n "checking for dlopen in -ldl... " >&6; }
14351 if ${ac_cv_lib_dl_dlopen+:} false
; then :
14352 $as_echo_n "(cached) " >&6
14354 ac_check_lib_save_LIBS
=$LIBS
14356 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14357 /* end confdefs.h. */
14359 /* Override any GCC internal prototype to avoid an error.
14360 Use char because int might match the return type of a GCC
14361 builtin and then its argument prototype would still apply. */
14374 if ac_fn_c_try_link
"$LINENO"; then :
14375 ac_cv_lib_dl_dlopen
=yes
14377 ac_cv_lib_dl_dlopen
=no
14379 rm -f core conftest.err conftest.
$ac_objext \
14380 conftest
$ac_exeext conftest.
$ac_ext
14381 LIBS
=$ac_check_lib_save_LIBS
14383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14384 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
14385 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
14386 lt_cv_dlopen
=dlopen lt_cv_dlopen_libs
=-ldl
14388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
14389 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
14390 if ${ac_cv_lib_svld_dlopen+:} false
; then :
14391 $as_echo_n "(cached) " >&6
14393 ac_check_lib_save_LIBS
=$LIBS
14394 LIBS
="-lsvld $LIBS"
14395 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14396 /* end confdefs.h. */
14398 /* Override any GCC internal prototype to avoid an error.
14399 Use char because int might match the return type of a GCC
14400 builtin and then its argument prototype would still apply. */
14413 if ac_fn_c_try_link
"$LINENO"; then :
14414 ac_cv_lib_svld_dlopen
=yes
14416 ac_cv_lib_svld_dlopen
=no
14418 rm -f core conftest.err conftest.
$ac_objext \
14419 conftest
$ac_exeext conftest.
$ac_ext
14420 LIBS
=$ac_check_lib_save_LIBS
14422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
14423 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
14424 if test "x$ac_cv_lib_svld_dlopen" = xyes
; then :
14425 lt_cv_dlopen
=dlopen lt_cv_dlopen_libs
=-lsvld
14427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
14428 $as_echo_n "checking for dld_link in -ldld... " >&6; }
14429 if ${ac_cv_lib_dld_dld_link+:} false
; then :
14430 $as_echo_n "(cached) " >&6
14432 ac_check_lib_save_LIBS
=$LIBS
14434 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14435 /* end confdefs.h. */
14437 /* Override any GCC internal prototype to avoid an error.
14438 Use char because int might match the return type of a GCC
14439 builtin and then its argument prototype would still apply. */
14447 return dld_link ();
14452 if ac_fn_c_try_link
"$LINENO"; then :
14453 ac_cv_lib_dld_dld_link
=yes
14455 ac_cv_lib_dld_dld_link
=no
14457 rm -f core conftest.err conftest.
$ac_objext \
14458 conftest
$ac_exeext conftest.
$ac_ext
14459 LIBS
=$ac_check_lib_save_LIBS
14461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
14462 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
14463 if test "x$ac_cv_lib_dld_dld_link" = xyes
; then :
14464 lt_cv_dlopen
=dld_link lt_cv_dlopen_libs
=-ldld
14485 if test no
= "$lt_cv_dlopen"; then
14491 case $lt_cv_dlopen in
14493 save_CPPFLAGS
=$CPPFLAGS
14494 test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
14496 save_LDFLAGS
=$LDFLAGS
14497 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
14500 LIBS
="$lt_cv_dlopen_libs $LIBS"
14502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
14503 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
14504 if ${lt_cv_dlopen_self+:} false
; then :
14505 $as_echo_n "(cached) " >&6
14507 if test yes = "$cross_compiling"; then :
14508 lt_cv_dlopen_self
=cross
14510 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
14511 lt_status
=$lt_dlunknown
14512 cat > conftest.
$ac_ext <<_LT_EOF
14513 #line $LINENO "configure"
14514 #include "confdefs.h"
14523 # define LT_DLGLOBAL RTLD_GLOBAL
14526 # define LT_DLGLOBAL DL_GLOBAL
14528 # define LT_DLGLOBAL 0
14532 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
14533 find out it does not work in some platform. */
14534 #ifndef LT_DLLAZY_OR_NOW
14536 # define LT_DLLAZY_OR_NOW RTLD_LAZY
14539 # define LT_DLLAZY_OR_NOW DL_LAZY
14542 # define LT_DLLAZY_OR_NOW RTLD_NOW
14545 # define LT_DLLAZY_OR_NOW DL_NOW
14547 # define LT_DLLAZY_OR_NOW 0
14554 /* When -fvisibility=hidden is used, assume the code has been annotated
14555 correspondingly for the symbols needed. */
14556 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
14557 int fnord () __attribute__((visibility("default")));
14560 int fnord () { return 42; }
14563 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
14564 int status = $lt_dlunknown;
14568 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
14571 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
14572 else puts (dlerror ());
14574 /* dlclose (self); */
14582 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
14583 (eval $ac_link) 2>&5
14585 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14586 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev
/null
; then
14587 (.
/conftest
; exit; ) >&5 2>/dev
/null
14589 case x
$lt_status in
14590 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
14591 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
14592 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
14595 # compilation failed
14596 lt_cv_dlopen_self
=no
14603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
14604 $as_echo "$lt_cv_dlopen_self" >&6; }
14606 if test yes = "$lt_cv_dlopen_self"; then
14607 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
14608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
14609 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
14610 if ${lt_cv_dlopen_self_static+:} false
; then :
14611 $as_echo_n "(cached) " >&6
14613 if test yes = "$cross_compiling"; then :
14614 lt_cv_dlopen_self_static
=cross
14616 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
14617 lt_status
=$lt_dlunknown
14618 cat > conftest.
$ac_ext <<_LT_EOF
14619 #line $LINENO "configure"
14620 #include "confdefs.h"
14629 # define LT_DLGLOBAL RTLD_GLOBAL
14632 # define LT_DLGLOBAL DL_GLOBAL
14634 # define LT_DLGLOBAL 0
14638 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
14639 find out it does not work in some platform. */
14640 #ifndef LT_DLLAZY_OR_NOW
14642 # define LT_DLLAZY_OR_NOW RTLD_LAZY
14645 # define LT_DLLAZY_OR_NOW DL_LAZY
14648 # define LT_DLLAZY_OR_NOW RTLD_NOW
14651 # define LT_DLLAZY_OR_NOW DL_NOW
14653 # define LT_DLLAZY_OR_NOW 0
14660 /* When -fvisibility=hidden is used, assume the code has been annotated
14661 correspondingly for the symbols needed. */
14662 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
14663 int fnord () __attribute__((visibility("default")));
14666 int fnord () { return 42; }
14669 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
14670 int status = $lt_dlunknown;
14674 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
14677 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
14678 else puts (dlerror ());
14680 /* dlclose (self); */
14688 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
14689 (eval $ac_link) 2>&5
14691 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14692 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev
/null
; then
14693 (.
/conftest
; exit; ) >&5 2>/dev
/null
14695 case x
$lt_status in
14696 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
14697 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
14698 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
14701 # compilation failed
14702 lt_cv_dlopen_self_static
=no
14709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
14710 $as_echo "$lt_cv_dlopen_self_static" >&6; }
14713 CPPFLAGS
=$save_CPPFLAGS
14714 LDFLAGS
=$save_LDFLAGS
14719 case $lt_cv_dlopen_self in
14720 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
14721 *) enable_dlopen_self
=unknown
;;
14724 case $lt_cv_dlopen_self_static in
14725 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
14726 *) enable_dlopen_self_static
=unknown
;;
14748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
14749 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
14750 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev
/null
; then
14751 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
14752 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
14753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14754 $as_echo "yes" >&6; }
14756 # FIXME - insert some real tests, host_os isn't really good enough
14759 if test -n "$STRIP"; then
14760 striplib
="$STRIP -x"
14761 old_striplib
="$STRIP -S"
14762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14763 $as_echo "yes" >&6; }
14765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14766 $as_echo "no" >&6; }
14770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14771 $as_echo "no" >&6; }
14787 # Report what library types will actually be built
14788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
14789 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
14790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
14791 $as_echo "$can_build_shared" >&6; }
14793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
14794 $as_echo_n "checking whether to build shared libraries... " >&6; }
14795 test no
= "$can_build_shared" && enable_shared
=no
14797 # On AIX, shared libraries and static libraries use the same namespace, and
14798 # are all built from PIC.
14801 test yes = "$enable_shared" && enable_static
=no
14802 if test -n "$RANLIB"; then
14803 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
14804 postinstall_cmds
='$RANLIB $lib'
14809 if test ia64
!= "$host_cpu"; then
14810 case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
14811 yes,aix
,yes) ;; # shared object as lib.so file only
14812 yes,svr4
,*) ;; # shared object as lib.so archive member only
14813 yes,*) enable_static
=no
;; # shared object in lib.a archive as well
14818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
14819 $as_echo "$enable_shared" >&6; }
14821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
14822 $as_echo_n "checking whether to build static libraries... " >&6; }
14823 # Make sure either enable_shared or enable_static is yes.
14824 test yes = "$enable_shared" || enable_static
=yes
14825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
14826 $as_echo "$enable_static" >&6; }
14833 ac_cpp
='$CPP $CPPFLAGS'
14834 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14835 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14836 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14840 if test -n "$CXX" && ( test no
!= "$CXX" &&
14841 ( (test g
++ = "$CXX" && `g++ -v >/dev/null 2>&1` ) ||
14842 (test g
++ != "$CXX"))); then
14844 ac_cpp
='$CXXCPP $CPPFLAGS'
14845 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14846 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14847 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
14849 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
14850 if test -z "$CXXCPP"; then
14851 if ${ac_cv_prog_CXXCPP+:} false
; then :
14852 $as_echo_n "(cached) " >&6
14854 # Double quotes because CXXCPP needs to be expanded
14855 for CXXCPP
in "$CXX -E" "/lib/cpp"
14857 ac_preproc_ok
=false
14858 for ac_cxx_preproc_warn_flag
in '' yes
14860 # Use a header file that comes with gcc, so configuring glibc
14861 # with a fresh cross-compiler works.
14862 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14863 # <limits.h> exists even on freestanding compilers.
14864 # On the NeXT, cc -E runs the code through the compiler's parser,
14865 # not just through cpp. "Syntax error" is here to catch this case.
14866 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14867 /* end confdefs.h. */
14869 # include <limits.h>
14871 # include <assert.h>
14875 if ac_fn_cxx_try_cpp
"$LINENO"; then :
14878 # Broken: fails on valid input.
14881 rm -f conftest.err conftest.i conftest.
$ac_ext
14883 # OK, works on sane cases. Now check whether nonexistent headers
14884 # can be detected and how.
14885 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14886 /* end confdefs.h. */
14887 #include <ac_nonexistent.h>
14889 if ac_fn_cxx_try_cpp
"$LINENO"; then :
14890 # Broken: success on invalid input.
14893 # Passes both tests.
14897 rm -f conftest.err conftest.i conftest.
$ac_ext
14900 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
14901 rm -f conftest.i conftest.err conftest.
$ac_ext
14902 if $ac_preproc_ok; then :
14907 ac_cv_prog_CXXCPP
=$CXXCPP
14910 CXXCPP
=$ac_cv_prog_CXXCPP
14912 ac_cv_prog_CXXCPP
=$CXXCPP
14914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
14915 $as_echo "$CXXCPP" >&6; }
14916 ac_preproc_ok
=false
14917 for ac_cxx_preproc_warn_flag
in '' yes
14919 # Use a header file that comes with gcc, so configuring glibc
14920 # with a fresh cross-compiler works.
14921 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14922 # <limits.h> exists even on freestanding compilers.
14923 # On the NeXT, cc -E runs the code through the compiler's parser,
14924 # not just through cpp. "Syntax error" is here to catch this case.
14925 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14926 /* end confdefs.h. */
14928 # include <limits.h>
14930 # include <assert.h>
14934 if ac_fn_cxx_try_cpp
"$LINENO"; then :
14937 # Broken: fails on valid input.
14940 rm -f conftest.err conftest.i conftest.
$ac_ext
14942 # OK, works on sane cases. Now check whether nonexistent headers
14943 # can be detected and how.
14944 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14945 /* end confdefs.h. */
14946 #include <ac_nonexistent.h>
14948 if ac_fn_cxx_try_cpp
"$LINENO"; then :
14949 # Broken: success on invalid input.
14952 # Passes both tests.
14956 rm -f conftest.err conftest.i conftest.
$ac_ext
14959 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
14960 rm -f conftest.i conftest.err conftest.
$ac_ext
14961 if $ac_preproc_ok; then :
14964 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14965 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14966 as_fn_error $?
"C++ preprocessor \"$CXXCPP\" fails sanity check
14967 See \`config.log' for more details" "$LINENO" 5; }
14971 ac_cpp
='$CPP $CPPFLAGS'
14972 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14973 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14974 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14977 _lt_caught_CXX_error
=yes
14981 ac_cpp
='$CXXCPP $CPPFLAGS'
14982 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14983 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14984 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14986 archive_cmds_need_lc_CXX
=no
14987 allow_undefined_flag_CXX
=
14988 always_export_symbols_CXX
=no
14989 archive_expsym_cmds_CXX
=
14990 compiler_needs_object_CXX
=no
14991 export_dynamic_flag_spec_CXX
=
14992 hardcode_direct_CXX
=no
14993 hardcode_direct_absolute_CXX
=no
14994 hardcode_libdir_flag_spec_CXX
=
14995 hardcode_libdir_separator_CXX
=
14996 hardcode_minus_L_CXX
=no
14997 hardcode_shlibpath_var_CXX
=unsupported
14998 hardcode_automatic_CXX
=no
14999 inherit_rpath_CXX
=no
15001 module_expsym_cmds_CXX
=
15002 link_all_deplibs_CXX
=unknown
15003 old_archive_cmds_CXX
=$old_archive_cmds
15004 reload_flag_CXX
=$reload_flag
15005 reload_cmds_CXX
=$reload_cmds
15006 no_undefined_flag_CXX
=
15007 whole_archive_flag_spec_CXX
=
15008 enable_shared_with_static_runtimes_CXX
=no
15010 # Source file extension for C++ test sources.
15013 # Object file extension for compiled C++ test sources.
15017 # No sense in running all these tests if we already determined that
15018 # the CXX compiler isn't working. Some variables (like enable_shared)
15019 # are currently assumed to apply to all compilers on this platform,
15020 # and will be corrupted by setting them based on a non-working compiler.
15021 if test yes != "$_lt_caught_CXX_error"; then
15022 # Code to be used in simple compile tests
15023 lt_simple_compile_test_code
="int some_variable = 0;"
15025 # Code to be used in simple link tests
15026 lt_simple_link_test_code
='int main(int, char *[]) { return(0); }'
15028 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
15035 # If no C compiler was specified, use CC.
15038 # If no C compiler flags were specified, use CFLAGS.
15039 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
15041 # Allow CC to be a program name with arguments.
15045 # save warnings/boilerplate of simple test code
15046 ac_outfile
=conftest.
$ac_objext
15047 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
15048 eval "$ac_compile" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
15049 _lt_compiler_boilerplate
=`cat conftest.err`
15052 ac_outfile
=conftest.
$ac_objext
15053 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
15054 eval "$ac_link" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
15055 _lt_linker_boilerplate
=`cat conftest.err`
15059 # Allow CC to be a program name with arguments.
15061 lt_save_CFLAGS
=$CFLAGS
15065 lt_save_with_gnu_ld
=$with_gnu_ld
15066 lt_save_path_LD
=$lt_cv_path_LD
15067 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
15068 lt_cv_prog_gnu_ld
=$lt_cv_prog_gnu_ldcxx
15070 $as_unset lt_cv_prog_gnu_ld
15072 if test -n "${lt_cv_path_LDCXX+set}"; then
15073 lt_cv_path_LD
=$lt_cv_path_LDCXX
15075 $as_unset lt_cv_path_LD
15077 test -z "${LDCXX+set}" || LD
=$LDCXX
15082 func_cc_basename
$compiler
15083 cc_basename
=$func_cc_basename_result
15086 if test -n "$compiler"; then
15087 # We don't want -fno-exception when compiling C++ code, so set the
15088 # no_builtin_flag separately
15089 if test yes = "$GXX"; then
15090 lt_prog_compiler_no_builtin_flag_CXX
=' -fno-builtin'
15092 lt_prog_compiler_no_builtin_flag_CXX
=
15095 if test yes = "$GXX"; then
15096 # Set up default GNU C++ configuration
15100 # Check whether --with-gnu-ld was given.
15101 if test "${with_gnu_ld+set}" = set; then :
15102 withval
=$with_gnu_ld; test no
= "$withval" || with_gnu_ld
=yes
15108 if test yes = "$GCC"; then
15109 # Check if gcc -print-prog-name=ld gives a path.
15110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
15111 $as_echo_n "checking for ld used by $CC... " >&6; }
15114 # gcc leaves a trailing carriage return, which upsets mingw
15115 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
15117 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
15120 # Accept absolute paths.
15122 re_direlt
='/[^/][^/]*/\.\./'
15123 # Canonicalize the pathname of ld
15124 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
15125 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev
/null
2>&1; do
15126 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
15128 test -z "$LD" && LD
=$ac_prog
15131 # If it fails, then pretend we aren't using GCC.
15135 # If it is relative, then search for the first ld in PATH.
15136 with_gnu_ld
=unknown
15139 elif test yes = "$with_gnu_ld"; then
15140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
15141 $as_echo_n "checking for GNU ld... " >&6; }
15143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
15144 $as_echo_n "checking for non-GNU ld... " >&6; }
15146 if ${lt_cv_path_LD+:} false
; then :
15147 $as_echo_n "(cached) " >&6
15149 if test -z "$LD"; then
15150 lt_save_ifs
=$IFS; IFS
=$PATH_SEPARATOR
15151 for ac_dir
in $PATH; do
15153 test -z "$ac_dir" && ac_dir
=.
15154 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
15155 lt_cv_path_LD
=$ac_dir/$ac_prog
15156 # Check to see if the program is GNU ld. I'd rather use --version,
15157 # but apparently some variants of GNU ld only accept -v.
15158 # Break only if it was the GNU/non-GNU ld that we prefer.
15159 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
15160 *GNU
* | *'with BFD'*)
15161 test no
!= "$with_gnu_ld" && break
15164 test yes != "$with_gnu_ld" && break
15171 lt_cv_path_LD
=$LD # Let the user override the test with a path.
15176 if test -n "$LD"; then
15177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
15178 $as_echo "$LD" >&6; }
15180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15181 $as_echo "no" >&6; }
15183 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
15184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
15185 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
15186 if ${lt_cv_prog_gnu_ld+:} false
; then :
15187 $as_echo_n "(cached) " >&6
15189 # I'd rather use --version here, but apparently some GNU lds only accept -v.
15190 case `$LD -v 2>&1 </dev/null` in
15191 *GNU
* | *'with BFD'*)
15192 lt_cv_prog_gnu_ld
=yes
15195 lt_cv_prog_gnu_ld
=no
15199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
15200 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
15201 with_gnu_ld
=$lt_cv_prog_gnu_ld
15209 # Check if GNU C++ uses GNU ld as the underlying linker, since the
15210 # archiving commands below assume that GNU ld is being used.
15211 if test yes = "$with_gnu_ld"; then
15212 archive_cmds_CXX
='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
15213 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'
15215 hardcode_libdir_flag_spec_CXX
='$wl-rpath $wl$libdir'
15216 export_dynamic_flag_spec_CXX
='$wl--export-dynamic'
15218 # If archive_cmds runs LD, not CC, wlarc should be empty
15219 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
15220 # investigate it a little bit more. (MM)
15223 # ancient GNU ld didn't support --whole-archive et. al.
15224 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
15225 $GREP 'no-whole-archive' > /dev
/null
; then
15226 whole_archive_flag_spec_CXX
=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
15228 whole_archive_flag_spec_CXX
=
15234 # A generic and very simple default shared library creation
15235 # command for GNU C++ for the case where it uses the native
15236 # linker, instead of GNU ld. If possible, this setting should
15237 # overridden to take advantage of the native linker features on
15238 # the platform it is being used on.
15239 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
15242 # Commands to make compiler produce verbose output that lists
15243 # what "hidden" libraries, object files and flags are used when
15244 # linking a shared library.
15245 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
15253 # PORTME: fill in a description of your system's C++ link characteristics
15254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15255 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
15259 # FIXME: insert proper C++ library support
15263 if test ia64
= "$host_cpu"; then
15264 # On IA64, the linker does run time linking by default, so we don't
15265 # have to do anything special.
15266 aix_use_runtimelinking
=no
15267 exp_sym_flag
='-Bexport'
15270 aix_use_runtimelinking
=no
15272 # Test if we are trying to use run time linking or normal
15273 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
15274 # have runtime linking enabled, and use it for executables.
15275 # For shared libraries, we enable/disable runtime linking
15276 # depending on the kind of the shared library created -
15277 # when "with_aix_soname,aix_use_runtimelinking" is:
15278 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables
15279 # "aix,yes" lib.so shared, rtl:yes, for executables
15280 # lib.a static archive
15281 # "both,no" lib.so.V(shr.o) shared, rtl:yes
15282 # lib.a(lib.so.V) shared, rtl:no, for executables
15283 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
15284 # lib.a(lib.so.V) shared, rtl:no
15285 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables
15286 # lib.a static archive
15287 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
15288 for ld_flag
in $LDFLAGS; do
15291 aix_use_runtimelinking
=yes
15296 if test svr4
,no
= "$with_aix_soname,$aix_use_runtimelinking"; then
15297 # With aix-soname=svr4, we create the lib.so.V shared archives only,
15298 # so we don't have lib.a shared libs to link our executables.
15299 # We have to force runtime linking in this case.
15300 aix_use_runtimelinking
=yes
15301 LDFLAGS
="$LDFLAGS -Wl,-brtl"
15306 exp_sym_flag
='-bexport'
15307 no_entry_flag
='-bnoentry'
15310 # When large executables or shared objects are built, AIX ld can
15311 # have problems creating the table of contents. If linking a library
15312 # or program results in "error TOC overflow" add -mminimal-toc to
15313 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
15314 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
15316 archive_cmds_CXX
=''
15317 hardcode_direct_CXX
=yes
15318 hardcode_direct_absolute_CXX
=yes
15319 hardcode_libdir_separator_CXX
=':'
15320 link_all_deplibs_CXX
=yes
15321 file_list_spec_CXX
='$wl-f,'
15322 case $with_aix_soname,$aix_use_runtimelinking in
15323 aix
,*) ;; # no import file
15324 svr4
,* | *,yes) # use import file
15325 # The Import File defines what to hardcode.
15326 hardcode_direct_CXX
=no
15327 hardcode_direct_absolute_CXX
=no
15331 if test yes = "$GXX"; then
15332 case $host_os in aix4.
[012]|aix4.
[012].
*)
15333 # We only want to do this on AIX 4.2 and lower, the check
15334 # below for broken collect2 doesn't work under 4.3+
15335 collect2name
=`$CC -print-prog-name=collect2`
15336 if test -f "$collect2name" &&
15337 strings "$collect2name" | $GREP resolve_lib_name
>/dev
/null
15339 # We have reworked collect2
15342 # We have old collect2
15343 hardcode_direct_CXX
=unsupported
15344 # It fails to find uninstalled libraries when the uninstalled
15345 # path is not listed in the libpath. Setting hardcode_minus_L
15346 # to unsupported forces relinking
15347 hardcode_minus_L_CXX
=yes
15348 hardcode_libdir_flag_spec_CXX
='-L$libdir'
15349 hardcode_libdir_separator_CXX
=
15352 shared_flag
='-shared'
15353 if test yes = "$aix_use_runtimelinking"; then
15354 shared_flag
=$shared_flag' $wl-G'
15356 # Need to ensure runtime linking is disabled for the traditional
15357 # shared library, or the linker may eventually find shared libraries
15358 # /with/ Import File - we do not want to mix them.
15359 shared_flag_aix
='-shared'
15360 shared_flag_svr4
='-shared $wl-G'
15363 if test ia64
= "$host_cpu"; then
15364 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
15365 # chokes on -Wl,-G. The following line is correct:
15368 if test yes = "$aix_use_runtimelinking"; then
15369 shared_flag
='$wl-G'
15371 shared_flag
='$wl-bM:SRE'
15373 shared_flag_aix
='$wl-bM:SRE'
15374 shared_flag_svr4
='$wl-G'
15378 export_dynamic_flag_spec_CXX
='$wl-bexpall'
15379 # It seems that -bexpall does not export symbols beginning with
15380 # underscore (_), so it is better to generate a list of symbols to
15382 always_export_symbols_CXX
=yes
15383 if test aix
,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
15384 # Warning - without using the other runtime loading flags (-brtl),
15385 # -berok will link without error, but may produce a broken library.
15386 # The "-G" linker flag allows undefined symbols.
15387 no_undefined_flag_CXX
='-bernotok'
15388 # Determine the default libpath from the value encoded in an empty
15390 if test set = "${lt_cv_aix_libpath+set}"; then
15391 aix_libpath
=$lt_cv_aix_libpath
15393 if ${lt_cv_aix_libpath__CXX+:} false
; then :
15394 $as_echo_n "(cached) " >&6
15396 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15397 /* end confdefs.h. */
15407 if ac_fn_cxx_try_link
"$LINENO"; then :
15409 lt_aix_libpath_sed
='
15410 /Import File Strings/,/^$/ {
15412 s/^0 *\([^ ]*\) *$/\1/
15416 lt_cv_aix_libpath__CXX
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15417 # Check for a 64-bit object if we didn't find anything.
15418 if test -z "$lt_cv_aix_libpath__CXX"; then
15419 lt_cv_aix_libpath__CXX
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15422 rm -f core conftest.err conftest.
$ac_objext \
15423 conftest
$ac_exeext conftest.
$ac_ext
15424 if test -z "$lt_cv_aix_libpath__CXX"; then
15425 lt_cv_aix_libpath__CXX
=/usr
/lib
:/lib
15430 aix_libpath
=$lt_cv_aix_libpath__CXX
15433 hardcode_libdir_flag_spec_CXX
='$wl-blibpath:$libdir:'"$aix_libpath"
15435 archive_expsym_cmds_CXX
='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler_flags `if test -n "$allow_undefined_flag"; then func_echo_all "$wl$allow_undefined_flag"; else :; fi` $wl'$exp_sym_flag:\
$export_symbols' '$shared_flag
15437 if test ia64
= "$host_cpu"; then
15438 hardcode_libdir_flag_spec_CXX
='$wl-R $libdir:/usr/lib:/lib'
15439 allow_undefined_flag_CXX
="-z nodefs"
15440 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"
15442 # Determine the default libpath from the value encoded in an
15443 # empty executable.
15444 if test set = "${lt_cv_aix_libpath+set}"; then
15445 aix_libpath
=$lt_cv_aix_libpath
15447 if ${lt_cv_aix_libpath__CXX+:} false
; then :
15448 $as_echo_n "(cached) " >&6
15450 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15451 /* end confdefs.h. */
15461 if ac_fn_cxx_try_link
"$LINENO"; then :
15463 lt_aix_libpath_sed
='
15464 /Import File Strings/,/^$/ {
15466 s/^0 *\([^ ]*\) *$/\1/
15470 lt_cv_aix_libpath__CXX
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15471 # Check for a 64-bit object if we didn't find anything.
15472 if test -z "$lt_cv_aix_libpath__CXX"; then
15473 lt_cv_aix_libpath__CXX
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15476 rm -f core conftest.err conftest.
$ac_objext \
15477 conftest
$ac_exeext conftest.
$ac_ext
15478 if test -z "$lt_cv_aix_libpath__CXX"; then
15479 lt_cv_aix_libpath__CXX
=/usr
/lib
:/lib
15484 aix_libpath
=$lt_cv_aix_libpath__CXX
15487 hardcode_libdir_flag_spec_CXX
='$wl-blibpath:$libdir:'"$aix_libpath"
15488 # Warning - without using the other run time loading flags,
15489 # -berok will link without error, but may produce a broken library.
15490 no_undefined_flag_CXX
=' $wl-bernotok'
15491 allow_undefined_flag_CXX
=' $wl-berok'
15492 if test yes = "$with_gnu_ld"; then
15493 # We only use this code for GNU lds that support --whole-archive.
15494 whole_archive_flag_spec_CXX
='$wl--whole-archive$convenience $wl--no-whole-archive'
15496 # Exported symbols can be pulled into shared objects from archives
15497 whole_archive_flag_spec_CXX
='$convenience'
15499 archive_cmds_need_lc_CXX
=yes
15500 archive_expsym_cmds_CXX
='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
15501 # -brtl affects multiple linker settings, -berok does not and is overridden later
15502 compiler_flags_filtered
='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
15503 if test svr4
!= "$with_aix_soname"; then
15504 # This is similar to how AIX traditionally builds its shared
15505 # libraries. Need -bnortl late, we may have -brtl in LDFLAGS.
15506 archive_expsym_cmds_CXX
="$archive_expsym_cmds_CXX"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$realname.d/$soname'
15508 if test aix
!= "$with_aix_soname"; then
15509 archive_expsym_cmds_CXX
="$archive_expsym_cmds_CXX"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_archive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)"; if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; else func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/$shared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp'
15511 # used by -dlpreopen to get the symbols
15512 archive_expsym_cmds_CXX
="$archive_expsym_cmds_CXX"'~$MV $output_objdir/$realname.d/$soname $output_objdir'
15514 archive_expsym_cmds_CXX
="$archive_expsym_cmds_CXX"'~$RM -r $output_objdir/$realname.d'
15520 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
15521 allow_undefined_flag_CXX
=unsupported
15522 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
15523 # support --undefined. This deserves some investigation. FIXME
15524 archive_cmds_CXX
='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
15531 case $cc_basename in
15533 # FIXME: insert proper C++ library support
15539 cygwin
* | mingw
* | pw32
* | cegcc
*)
15540 case $GXX,$cc_basename in
15543 # hardcode_libdir_flag_spec is actually meaningless, as there is
15544 # no search path for DLLs.
15545 hardcode_libdir_flag_spec_CXX
=' '
15546 allow_undefined_flag_CXX
=unsupported
15547 always_export_symbols_CXX
=yes
15548 file_list_spec_CXX
='@'
15549 # Tell ltmain to make .lib files, not .a files.
15551 # Tell ltmain to make .dll files, not .so files.
15553 # FIXME: Setting linknames here is a bad hack.
15554 archive_cmds_CXX
='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
15555 archive_expsym_cmds_CXX
='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
15556 cp "$export_symbols" "$output_objdir/$soname.def";
15557 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
15559 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
15561 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
15563 # The linker will not automatically build a static lib if we build a DLL.
15564 # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
15565 enable_shared_with_static_runtimes_CXX
=yes
15567 old_postinstall_cmds_CXX
='chmod 644 $oldlib'
15568 postlink_cmds_CXX
='lt_outputfile="@OUTPUT@"~
15569 lt_tool_outputfile="@TOOL_OUTPUT@"~
15570 case $lt_outputfile in
15573 lt_outputfile=$lt_outputfile.exe
15574 lt_tool_outputfile=$lt_tool_outputfile.exe
15577 func_to_tool_file "$lt_outputfile"~
15578 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
15579 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
15580 $RM "$lt_outputfile.manifest";
15585 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
15586 # as there is no search path for DLLs.
15587 hardcode_libdir_flag_spec_CXX
='-L$libdir'
15588 export_dynamic_flag_spec_CXX
='$wl--export-all-symbols'
15589 allow_undefined_flag_CXX
=unsupported
15590 always_export_symbols_CXX
=no
15591 enable_shared_with_static_runtimes_CXX
=yes
15593 if $LD --help 2>&1 | $GREP 'auto-import' > /dev
/null
; then
15594 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'
15595 # If the export-symbols file already is a .def file, use it as
15596 # is; otherwise, prepend EXPORTS...
15597 archive_expsym_cmds_CXX
='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
15598 cp $export_symbols $output_objdir/$soname.def;
15600 echo EXPORTS > $output_objdir/$soname.def;
15601 cat $export_symbols >> $output_objdir/$soname.def;
15603 $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'
15610 darwin
* | rhapsody
*)
15613 archive_cmds_need_lc_CXX
=no
15614 hardcode_direct_CXX
=no
15615 hardcode_automatic_CXX
=yes
15616 hardcode_shlibpath_var_CXX
=unsupported
15617 if test yes = "$lt_cv_ld_force_load"; then
15618 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\"`'
15621 whole_archive_flag_spec_CXX
=''
15623 link_all_deplibs_CXX
=yes
15624 allow_undefined_flag_CXX
=$_lt_dar_allow_undefined
15625 case $cc_basename in
15626 ifort
*|nagfor
*) _lt_dar_can_shared
=yes ;;
15627 *) _lt_dar_can_shared
=$GCC ;;
15629 if test yes = "$_lt_dar_can_shared"; then
15630 output_verbose_link_cmd
=func_echo_all
15631 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"
15632 module_cmds_CXX
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
15633 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"
15634 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"
15635 if test yes != "$lt_cv_apple_cc_single_mod"; then
15636 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"
15637 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"
15647 hardcode_libdir_flag_spec_CXX
='-L$libdir'
15648 hardcode_minus_L_CXX
=yes
15649 allow_undefined_flag_CXX
=unsupported
15651 archive_cmds_CXX
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
15652 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
15653 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
15654 $ECHO EXPORTS >> $output_objdir/$libname.def~
15655 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
15656 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
15657 emximp -o $lib $output_objdir/$libname.def'
15658 archive_expsym_cmds_CXX
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
15659 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
15660 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
15661 $ECHO EXPORTS >> $output_objdir/$libname.def~
15662 prefix_cmds="$SED"~
15663 if test EXPORTS = "`$SED 1q $export_symbols`"; then
15664 prefix_cmds="$prefix_cmds -e 1d";
15666 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
15667 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
15668 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
15669 emximp -o $lib $output_objdir/$libname.def'
15670 old_archive_From_new_cmds_CXX
='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
15671 enable_shared_with_static_runtimes_CXX
=yes
15675 case $cc_basename in
15677 # FIXME: insert proper C++ library support
15681 # Green Hills C++ Compiler
15682 # FIXME: insert proper C++ library support
15686 # FIXME: insert proper C++ library support
15693 # C++ shared libraries reported to be fairly broken before
15699 archive_cmds_need_lc_CXX
=no
15702 freebsd
* | dragonfly
*)
15703 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
15709 archive_cmds_CXX
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
15710 link_all_deplibs_CXX
=yes
15714 hardcode_libdir_flag_spec_CXX
='$wl+b $wl$libdir'
15715 hardcode_libdir_separator_CXX
=:
15716 export_dynamic_flag_spec_CXX
='$wl-E'
15717 hardcode_direct_CXX
=yes
15718 hardcode_minus_L_CXX
=yes # Not in the search PATH,
15719 # but as the default
15720 # location of the library.
15722 case $cc_basename in
15724 # FIXME: insert proper C++ library support
15728 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 "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
15729 # Commands to make compiler produce verbose output that lists
15730 # what "hidden" libraries, object files and flags are used when
15731 # linking a shared library.
15733 # There doesn't appear to be a way to prevent this compiler from
15734 # explicitly linking system object files so we need to strip them
15735 # from the output so that they don't get included in the library
15737 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"'
15740 if test yes = "$GXX"; then
15741 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 "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
15743 # FIXME: insert proper C++ library support
15751 if test no
= "$with_gnu_ld"; then
15752 hardcode_libdir_flag_spec_CXX
='$wl+b $wl$libdir'
15753 hardcode_libdir_separator_CXX
=:
15759 export_dynamic_flag_spec_CXX
='$wl-E'
15765 hardcode_direct_CXX
=no
15766 hardcode_shlibpath_var_CXX
=no
15769 hardcode_direct_CXX
=yes
15770 hardcode_direct_absolute_CXX
=yes
15771 hardcode_minus_L_CXX
=yes # Not in the search PATH,
15772 # but as the default
15773 # location of the library.
15777 case $cc_basename in
15779 # FIXME: insert proper C++ library support
15785 archive_cmds_CXX
='$CC -b $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15788 archive_cmds_CXX
='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15791 archive_cmds_CXX
='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15794 # Commands to make compiler produce verbose output that lists
15795 # what "hidden" libraries, object files and flags are used when
15796 # linking a shared library.
15798 # There doesn't appear to be a way to prevent this compiler from
15799 # explicitly linking system object files so we need to strip them
15800 # from the output so that they don't get included in the library
15802 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"'
15805 if test yes = "$GXX"; then
15806 if test no
= "$with_gnu_ld"; then
15809 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15812 archive_cmds_CXX
='$CC -shared -nostdlib $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15815 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'
15820 # FIXME: insert proper C++ library support
15828 hardcode_direct_CXX
=no
15829 hardcode_shlibpath_var_CXX
=no
15830 hardcode_libdir_flag_spec_CXX
='$wl-rpath,$libdir'
15831 export_dynamic_flag_spec_CXX
='$wl-E'
15832 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
15833 # Instead, shared libraries are loaded at an image base (0x10000000 by
15834 # default) and relocated if they conflict, which is a slow very memory
15835 # consuming and fragmenting process. To avoid this, we pick a random,
15836 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
15837 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
15838 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'
15839 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'
15842 case $cc_basename in
15845 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'
15847 # Archives containing C++ object files must be created using
15848 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
15849 # necessary to make sure instantiated templates are included
15851 old_archive_cmds_CXX
='$CC -ar -WR,-u -o $oldlib $oldobjs'
15854 if test yes = "$GXX"; then
15855 if test no
= "$with_gnu_ld"; then
15856 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'
15858 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'
15861 link_all_deplibs_CXX
=yes
15864 hardcode_libdir_flag_spec_CXX
='$wl-rpath $wl$libdir'
15865 hardcode_libdir_separator_CXX
=:
15866 inherit_rpath_CXX
=yes
15869 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
15870 case $cc_basename in
15872 # Kuck and Associates, Inc. (KAI) C++ Compiler
15874 # KCC will only create a shared library if the output file
15875 # ends with ".so" (or ".sl" for HP-UX), so rename the library
15876 # to its proper name (with version) after linking.
15877 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'
15878 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'
15879 # Commands to make compiler produce verbose output that lists
15880 # what "hidden" libraries, object files and flags are used when
15881 # linking a shared library.
15883 # There doesn't appear to be a way to prevent this compiler from
15884 # explicitly linking system object files so we need to strip them
15885 # from the output so that they don't get included in the library
15887 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"'
15889 hardcode_libdir_flag_spec_CXX
='$wl-rpath,$libdir'
15890 export_dynamic_flag_spec_CXX
='$wl--export-dynamic'
15892 # Archives containing C++ object files must be created using
15893 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
15894 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
15899 # version 8.0 and above of icpc choke on multiply defined symbols
15900 # if we add $predep_objects and $postdep_objects, however 7.1 and
15901 # earlier do not add the objects themselves.
15902 case `$CC -V 2>&1` in
15904 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
15905 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'
15907 *) # Version 8.0 or newer
15910 ia64
*) tmp_idyn
=' -i_dynamic';;
15912 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
15913 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'
15916 archive_cmds_need_lc_CXX
=no
15917 hardcode_libdir_flag_spec_CXX
='$wl-rpath,$libdir'
15918 export_dynamic_flag_spec_CXX
='$wl--export-dynamic'
15919 whole_archive_flag_spec_CXX
='$wl--whole-archive$convenience $wl--no-whole-archive'
15922 # Portland Group C++ compiler
15924 *pgCC\
[1-5].
* | *pgcpp\
[1-5].
*)
15925 prelink_cmds_CXX
='tpldir=Template.dir~
15927 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
15928 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
15929 old_archive_cmds_CXX
='tpldir=Template.dir~
15931 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
15932 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
15934 archive_cmds_CXX
='tpldir=Template.dir~
15936 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
15937 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
15938 archive_expsym_cmds_CXX
='tpldir=Template.dir~
15940 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
15941 $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'
15943 *) # Version 6 and above use weak symbols
15944 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
15945 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'
15949 hardcode_libdir_flag_spec_CXX
='$wl--rpath $wl$libdir'
15950 export_dynamic_flag_spec_CXX
='$wl--export-dynamic'
15951 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'
15955 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
15956 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'
15958 runpath_var
=LD_RUN_PATH
15959 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
15960 hardcode_libdir_separator_CXX
=:
15962 # Commands to make compiler produce verbose output that lists
15963 # what "hidden" libraries, object files and flags are used when
15964 # linking a shared library.
15966 # There doesn't appear to be a way to prevent this compiler from
15967 # explicitly linking system object files so we need to strip them
15968 # from the output so that they don't get included in the library
15970 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'
15972 xl
* | mpixl
* | bgxl
*)
15973 # IBM XL 8.0 on PPC, with GNU ld
15974 hardcode_libdir_flag_spec_CXX
='$wl-rpath $wl$libdir'
15975 export_dynamic_flag_spec_CXX
='$wl--export-dynamic'
15976 archive_cmds_CXX
='$CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
15977 if test yes = "$supports_anon_versioning"; then
15978 archive_expsym_cmds_CXX
='echo "{ global:" > $output_objdir/$libname.ver~
15979 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
15980 echo "local: *; };" >> $output_objdir/$libname.ver~
15981 $CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
15985 case `$CC -V 2>&1 | sed 5q` in
15988 no_undefined_flag_CXX
=' -zdefs'
15989 archive_cmds_CXX
='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15990 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'
15991 hardcode_libdir_flag_spec_CXX
='-R$libdir'
15992 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'
15993 compiler_needs_object_CXX
=yes
15995 # Not sure whether something based on
15996 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
15998 output_verbose_link_cmd
='func_echo_all'
16000 # Archives containing C++ object files must be created using
16001 # "CC -xar", where "CC" is the Sun C++ compiler. This is
16002 # necessary to make sure instantiated templates are included
16004 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
16012 # FIXME: insert proper C++ library support
16017 # FIXME: insert proper C++ library support
16022 case $cc_basename in
16024 # FIXME: insert proper C++ library support
16028 # FIXME: insert proper C++ library support
16035 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
16036 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
16038 hardcode_libdir_flag_spec_CXX
='-R$libdir'
16039 hardcode_direct_CXX
=yes
16040 hardcode_shlibpath_var_CXX
=no
16042 # Workaround some broken pre-1.5 toolchains
16043 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
16050 openbsd
* | bitrig
*)
16051 if test -f /usr
/libexec
/ld.so
; then
16052 hardcode_direct_CXX
=yes
16053 hardcode_shlibpath_var_CXX
=no
16054 hardcode_direct_absolute_CXX
=yes
16055 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
16056 hardcode_libdir_flag_spec_CXX
='$wl-rpath,$libdir'
16057 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`"; then
16058 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-retain-symbols-file,$export_symbols -o $lib'
16059 export_dynamic_flag_spec_CXX
='$wl-E'
16060 whole_archive_flag_spec_CXX
=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
16062 output_verbose_link_cmd
=func_echo_all
16068 osf3
* | osf4
* | osf5
*)
16069 case $cc_basename in
16071 # Kuck and Associates, Inc. (KAI) C++ Compiler
16073 # KCC will only create a shared library if the output file
16074 # ends with ".so" (or ".sl" for HP-UX), so rename the library
16075 # to its proper name (with version) after linking.
16076 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'
16078 hardcode_libdir_flag_spec_CXX
='$wl-rpath,$libdir'
16079 hardcode_libdir_separator_CXX
=:
16081 # Archives containing C++ object files must be created using
16082 # the KAI C++ compiler.
16084 osf3
*) old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs' ;;
16085 *) old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs' ;;
16089 # Rational C++ 2.4.1
16090 # FIXME: insert proper C++ library support
16096 allow_undefined_flag_CXX
=' $wl-expect_unresolved $wl\*'
16097 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'
16098 hardcode_libdir_flag_spec_CXX
='$wl-rpath $wl$libdir'
16101 allow_undefined_flag_CXX
=' -expect_unresolved \*'
16102 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'
16103 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
16104 echo "-hidden">> $lib.exp~
16105 $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~
16107 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
16111 hardcode_libdir_separator_CXX
=:
16113 # Commands to make compiler produce verbose output that lists
16114 # what "hidden" libraries, object files and flags are used when
16115 # linking a shared library.
16117 # There doesn't appear to be a way to prevent this compiler from
16118 # explicitly linking system object files so we need to strip them
16119 # from the output so that they don't get included in the library
16121 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"'
16124 if test yes,no
= "$GXX,$with_gnu_ld"; then
16125 allow_undefined_flag_CXX
=' $wl-expect_unresolved $wl\*'
16128 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'
16131 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'
16135 hardcode_libdir_flag_spec_CXX
='$wl-rpath $wl$libdir'
16136 hardcode_libdir_separator_CXX
=:
16138 # Commands to make compiler produce verbose output that lists
16139 # what "hidden" libraries, object files and flags are used when
16140 # linking a shared library.
16141 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
16144 # FIXME: insert proper C++ library support
16152 # FIXME: insert proper C++ library support
16157 case $cc_basename in
16160 # FIXME: insert proper C++ library support
16165 # FIXME: insert proper C++ library support
16169 # FIXME: insert proper C++ library support
16176 case $cc_basename in
16178 # Sun C++ 4.2, 5.x and Centerline C++
16179 archive_cmds_need_lc_CXX
=yes
16180 no_undefined_flag_CXX
=' -zdefs'
16181 archive_cmds_CXX
='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
16182 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
16183 $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'
16185 hardcode_libdir_flag_spec_CXX
='-R$libdir'
16186 hardcode_shlibpath_var_CXX
=no
16188 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
16190 # The compiler driver will combine and reorder linker options,
16191 # but understands '-z linker_flag'.
16192 # Supported since Solaris 2.6 (maybe 2.5.1?)
16193 whole_archive_flag_spec_CXX
='-z allextract$convenience -z defaultextract'
16196 link_all_deplibs_CXX
=yes
16198 output_verbose_link_cmd
='func_echo_all'
16200 # Archives containing C++ object files must be created using
16201 # "CC -xar", where "CC" is the Sun C++ compiler. This is
16202 # necessary to make sure instantiated templates are included
16204 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
16207 # Green Hills C++ Compiler
16208 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
16210 # The C++ compiler must be used to create the archive.
16211 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
16214 # GNU C++ compiler with Solaris linker
16215 if test yes,no
= "$GXX,$with_gnu_ld"; then
16216 no_undefined_flag_CXX
=' $wl-z ${wl}defs'
16217 if $CC --version | $GREP -v '^2\.7' > /dev
/null
; then
16218 archive_cmds_CXX
='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
16219 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
16220 $CC -shared $pic_flag -nostdlib $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
16222 # Commands to make compiler produce verbose output that lists
16223 # what "hidden" libraries, object files and flags are used when
16224 # linking a shared library.
16225 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
16227 # g++ 2.7 appears to require '-G' NOT '-shared' on this
16229 archive_cmds_CXX
='$CC -G -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
16230 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
16231 $CC -G -nostdlib $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
16233 # Commands to make compiler produce verbose output that lists
16234 # what "hidden" libraries, object files and flags are used when
16235 # linking a shared library.
16236 output_verbose_link_cmd
='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
16239 hardcode_libdir_flag_spec_CXX
='$wl-R $wl$libdir'
16241 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
16243 whole_archive_flag_spec_CXX
='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
16251 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
16252 no_undefined_flag_CXX
='$wl-z,text'
16253 archive_cmds_need_lc_CXX
=no
16254 hardcode_shlibpath_var_CXX
=no
16255 runpath_var
='LD_RUN_PATH'
16257 case $cc_basename in
16259 archive_cmds_CXX
='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16260 archive_expsym_cmds_CXX
='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16263 archive_cmds_CXX
='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16264 archive_expsym_cmds_CXX
='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16269 sysv5
* | sco3.2v5
* | sco5v6
*)
16270 # Note: We CANNOT use -z defs as we might desire, because we do not
16271 # link with -lc, and that would cause any symbols used from libc to
16272 # always be unresolved, which means just about no library would
16273 # ever link correctly. If we're not using GNU ld we use -z text
16274 # though, which does catch some bad symbols but isn't as heavy-handed
16276 no_undefined_flag_CXX
='$wl-z,text'
16277 allow_undefined_flag_CXX
='$wl-z,nodefs'
16278 archive_cmds_need_lc_CXX
=no
16279 hardcode_shlibpath_var_CXX
=no
16280 hardcode_libdir_flag_spec_CXX
='$wl-R,$libdir'
16281 hardcode_libdir_separator_CXX
=':'
16282 link_all_deplibs_CXX
=yes
16283 export_dynamic_flag_spec_CXX
='$wl-Bexport'
16284 runpath_var
='LD_RUN_PATH'
16286 case $cc_basename in
16288 archive_cmds_CXX
='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16289 archive_expsym_cmds_CXX
='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16290 old_archive_cmds_CXX
='$CC -Tprelink_objects $oldobjs~
16291 '"$old_archive_cmds_CXX"
16292 reload_cmds_CXX
='$CC -Tprelink_objects $reload_objs~
16293 '"$reload_cmds_CXX"
16296 archive_cmds_CXX
='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16297 archive_expsym_cmds_CXX
='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16303 case $cc_basename in
16305 # NonStop-UX NCC 3.20
16306 # FIXME: insert proper C++ library support
16310 # FIXME: insert proper C++ library support
16317 # FIXME: insert proper C++ library support
16322 # FIXME: insert proper C++ library support
16327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
16328 $as_echo "$ld_shlibs_CXX" >&6; }
16329 test no
= "$ld_shlibs_CXX" && can_build_shared
=no
16335 ## There is no encapsulation within the following macros, do not change
16336 ## the running order or otherwise move them around unless you know exactly
16337 ## what you are doing...
16338 # Dependencies to place before and after the object being linked:
16339 predep_objects_CXX
=
16340 postdep_objects_CXX
=
16343 compiler_lib_search_path_CXX
=
16345 cat > conftest.
$ac_ext <<_LT_EOF
16349 Foo (void) { a = 0; }
16356 _lt_libdeps_save_CFLAGS
=$CFLAGS
16357 case "$CC $CFLAGS " in #(
16358 *\
-flto*\
*) CFLAGS
="$CFLAGS -fno-lto" ;;
16359 *\
-fwhopr*\
*) CFLAGS
="$CFLAGS -fno-whopr" ;;
16360 *\
-fuse-linker-plugin*\
*) CFLAGS
="$CFLAGS -fno-use-linker-plugin" ;;
16363 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
16364 (eval $ac_compile) 2>&5
16366 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16367 test $ac_status = 0; }; then
16368 # Parse the compiler output and extract the necessary
16369 # objects, libraries and library flags.
16371 # Sentinel used to keep track of whether or not we are before
16372 # the conftest object file.
16373 pre_test_object_deps_done
=no
16375 for p
in `eval "$output_verbose_link_cmd"`; do
16379 # Some compilers place space between "-{L,R}" and the path.
16380 # Remove the space.
16381 if test x
-L = "$p" ||
16382 test x
-R = "$p"; then
16387 # Expand the sysroot to ease extracting the directories later.
16388 if test -z "$prev"; then
16390 -L*) func_stripname_cnf
'-L' '' "$p"; prev
=-L; p
=$func_stripname_result ;;
16391 -R*) func_stripname_cnf
'-R' '' "$p"; prev
=-R; p
=$func_stripname_result ;;
16392 -l*) func_stripname_cnf
'-l' '' "$p"; prev
=-l; p
=$func_stripname_result ;;
16396 =*) func_stripname_cnf
'=' '' "$p"; p
=$lt_sysroot$func_stripname_result ;;
16398 if test no
= "$pre_test_object_deps_done"; then
16401 # Internal compiler library paths should come after those
16402 # provided the user. The postdeps already come after the
16403 # user supplied libs so there is no need to process them.
16404 if test -z "$compiler_lib_search_path_CXX"; then
16405 compiler_lib_search_path_CXX
=$prev$p
16407 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} $prev$p"
16410 # The "-l" case would never come before the object being
16411 # linked, so don't bother handling this case.
16414 if test -z "$postdeps_CXX"; then
16415 postdeps_CXX
=$prev$p
16417 postdeps_CXX
="${postdeps_CXX} $prev$p"
16423 *.lto.
$objext) ;; # Ignore GCC LTO objects
16425 # This assumes that the test object file only shows up
16426 # once in the compiler output.
16427 if test "$p" = "conftest.$objext"; then
16428 pre_test_object_deps_done
=yes
16432 if test no
= "$pre_test_object_deps_done"; then
16433 if test -z "$predep_objects_CXX"; then
16434 predep_objects_CXX
=$p
16436 predep_objects_CXX
="$predep_objects_CXX $p"
16439 if test -z "$postdep_objects_CXX"; then
16440 postdep_objects_CXX
=$p
16442 postdep_objects_CXX
="$postdep_objects_CXX $p"
16447 *) ;; # Ignore the rest.
16455 echo "libtool.m4: error: problem compiling CXX test program"
16458 $RM -f confest.
$objext
16459 CFLAGS
=$_lt_libdeps_save_CFLAGS
16461 # PORTME: override above test on systems where it is broken
16464 # Interix 3.5 installs completely hosed .la files for C++, so rather than
16465 # hack all around it, let's just trust "g++" to DTRT.
16466 predep_objects_CXX
=
16467 postdep_objects_CXX
=
16473 case " $postdeps_CXX " in
16474 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
16476 compiler_lib_search_dirs_CXX
=
16477 if test -n "${compiler_lib_search_path_CXX}"; then
16478 compiler_lib_search_dirs_CXX
=`echo " ${compiler_lib_search_path_CXX}" | $SED -e 's! -L! !g' -e 's!^ !!'`
16511 lt_prog_compiler_wl_CXX
=
16512 lt_prog_compiler_pic_CXX
=
16513 lt_prog_compiler_static_CXX
=
16516 # C++ specific cases for pic, static, wl, etc.
16517 if test yes = "$GXX"; then
16518 lt_prog_compiler_wl_CXX
='-Wl,'
16519 lt_prog_compiler_static_CXX
='-static'
16523 # All AIX code is PIC.
16524 if test ia64
= "$host_cpu"; then
16525 # AIX 5 now supports IA64 processor
16526 lt_prog_compiler_static_CXX
='-Bstatic'
16528 lt_prog_compiler_pic_CXX
='-fPIC'
16534 # see comment about AmigaOS4 .so support
16535 lt_prog_compiler_pic_CXX
='-fPIC'
16538 # FIXME: we need at least 68020 code to build shared libraries, but
16539 # adding the '-m68020' flag to GCC prevents building anything better,
16541 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
16546 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
16547 # PIC is the default for these OSes.
16549 mingw
* | cygwin
* | os2
* | pw32
* | cegcc
*)
16550 # This hack is so that the source file can tell whether it is being
16551 # built for inclusion in a dll (and should export symbols for example).
16552 # Although the cygwin gcc ignores -fPIC, still need this for old-style
16553 # (--disable-auto-import) libraries
16554 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
16557 lt_prog_compiler_static_CXX
='$wl-static'
16561 darwin
* | rhapsody
*)
16562 # PIC is the default on this platform
16563 # Common symbols not allowed in MH_DYLIB files
16564 lt_prog_compiler_pic_CXX
='-fno-common'
16567 # DJGPP does not support shared libraries at all
16568 lt_prog_compiler_pic_CXX
=
16571 # PIC is the default for Haiku.
16572 # The "-static" flag exists, but is broken.
16573 lt_prog_compiler_static_CXX
=
16576 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
16577 # Instead, we relocate shared libraries at runtime.
16580 if test -d /usr
/nec
; then
16581 lt_prog_compiler_pic_CXX
=-Kconform_pic
16585 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
16586 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
16587 # sets the default TLS model and affects inlining.
16592 lt_prog_compiler_pic_CXX
='-fPIC'
16597 # QNX uses GNU C++, but need to define -shared option too, otherwise
16598 # it will coredump.
16599 lt_prog_compiler_pic_CXX
='-fPIC -shared'
16602 lt_prog_compiler_pic_CXX
='-fPIC'
16608 # All AIX code is PIC.
16609 if test ia64
= "$host_cpu"; then
16610 # AIX 5 now supports IA64 processor
16611 lt_prog_compiler_static_CXX
='-Bstatic'
16613 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
16617 case $cc_basename in
16619 # Green Hills C++ Compiler
16620 # _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"
16624 mingw
* | cygwin
* | os2
* | pw32
* | cegcc
*)
16625 # This hack is so that the source file can tell whether it is being
16626 # built for inclusion in a dll (and should export symbols for example).
16627 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
16630 case $cc_basename in
16632 lt_prog_compiler_pic_CXX
='-KPIC'
16635 # Green Hills C++ Compiler
16636 lt_prog_compiler_pic_CXX
='-pic'
16642 freebsd
* | dragonfly
*)
16643 # FreeBSD uses GNU C++
16645 hpux9
* | hpux10
* | hpux11
*)
16646 case $cc_basename in
16648 lt_prog_compiler_wl_CXX
='-Wl,'
16649 lt_prog_compiler_static_CXX
='$wl-a ${wl}archive'
16650 if test ia64
!= "$host_cpu"; then
16651 lt_prog_compiler_pic_CXX
='+Z'
16655 lt_prog_compiler_wl_CXX
='-Wl,'
16656 lt_prog_compiler_static_CXX
='$wl-a ${wl}archive'
16662 lt_prog_compiler_pic_CXX
='+Z'
16671 # This is c89, which is MS Visual C++ (no shared libs)
16672 # Anyone wants to do a port?
16674 irix5
* | irix6
* | nonstopux
*)
16675 case $cc_basename in
16677 lt_prog_compiler_wl_CXX
='-Wl,'
16678 lt_prog_compiler_static_CXX
='-non_shared'
16679 # CC pic flag -KPIC is the default.
16685 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
16686 case $cc_basename in
16689 lt_prog_compiler_wl_CXX
='--backend -Wl,'
16690 lt_prog_compiler_pic_CXX
='-fPIC'
16693 # old Intel C++ for x86_64, which still supported -KPIC.
16694 lt_prog_compiler_wl_CXX
='-Wl,'
16695 lt_prog_compiler_pic_CXX
='-KPIC'
16696 lt_prog_compiler_static_CXX
='-static'
16699 # Intel C++, used to be incompatible with GCC.
16700 # ICC 10 doesn't accept -KPIC any more.
16701 lt_prog_compiler_wl_CXX
='-Wl,'
16702 lt_prog_compiler_pic_CXX
='-fPIC'
16703 lt_prog_compiler_static_CXX
='-static'
16706 # Portland Group C++ compiler
16707 lt_prog_compiler_wl_CXX
='-Wl,'
16708 lt_prog_compiler_pic_CXX
='-fpic'
16709 lt_prog_compiler_static_CXX
='-Bstatic'
16713 # Make sure the PIC flag is empty. It appears that all Alpha
16714 # Linux and Compaq Tru64 Unix objects are PIC.
16715 lt_prog_compiler_pic_CXX
=
16716 lt_prog_compiler_static_CXX
='-non_shared'
16718 xlc
* | xlC
* | bgxl
[cC
]* | mpixl
[cC
]*)
16719 # IBM XL 8.0, 9.0 on PPC and BlueGene
16720 lt_prog_compiler_wl_CXX
='-Wl,'
16721 lt_prog_compiler_pic_CXX
='-qpic'
16722 lt_prog_compiler_static_CXX
='-qstaticlink'
16725 case `$CC -V 2>&1 | sed 5q` in
16728 lt_prog_compiler_pic_CXX
='-KPIC'
16729 lt_prog_compiler_static_CXX
='-Bstatic'
16730 lt_prog_compiler_wl_CXX
='-Qoption ld '
16741 case $cc_basename in
16743 lt_prog_compiler_pic_CXX
='-W c,exportall'
16752 # QNX uses GNU C++, but need to define -shared option too, otherwise
16753 # it will coredump.
16754 lt_prog_compiler_pic_CXX
='-fPIC -shared'
16756 osf3
* | osf4
* | osf5
*)
16757 case $cc_basename in
16759 lt_prog_compiler_wl_CXX
='--backend -Wl,'
16762 # Rational C++ 2.4.1
16763 lt_prog_compiler_pic_CXX
='-pic'
16766 # Digital/Compaq C++
16767 lt_prog_compiler_wl_CXX
='-Wl,'
16768 # Make sure the PIC flag is empty. It appears that all Alpha
16769 # Linux and Compaq Tru64 Unix objects are PIC.
16770 lt_prog_compiler_pic_CXX
=
16771 lt_prog_compiler_static_CXX
='-non_shared'
16780 case $cc_basename in
16782 # Sun C++ 4.2, 5.x and Centerline C++
16783 lt_prog_compiler_pic_CXX
='-KPIC'
16784 lt_prog_compiler_static_CXX
='-Bstatic'
16785 lt_prog_compiler_wl_CXX
='-Qoption ld '
16788 # Green Hills C++ Compiler
16789 lt_prog_compiler_pic_CXX
='-PIC'
16796 case $cc_basename in
16799 lt_prog_compiler_pic_CXX
='-pic'
16800 lt_prog_compiler_static_CXX
='-Bstatic'
16804 lt_prog_compiler_pic_CXX
='-pic'
16810 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
16811 case $cc_basename in
16813 lt_prog_compiler_wl_CXX
='-Wl,'
16814 lt_prog_compiler_pic_CXX
='-KPIC'
16815 lt_prog_compiler_static_CXX
='-Bstatic'
16820 case $cc_basename in
16822 # NonStop-UX NCC 3.20
16823 lt_prog_compiler_pic_CXX
='-KPIC'
16832 lt_prog_compiler_can_build_shared_CXX
=no
16838 # For platforms that do not support PIC, -DPIC is meaningless:
16840 lt_prog_compiler_pic_CXX
=
16843 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
16847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
16848 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
16849 if ${lt_cv_prog_compiler_pic_CXX+:} false
; then :
16850 $as_echo_n "(cached) " >&6
16852 lt_cv_prog_compiler_pic_CXX
=$lt_prog_compiler_pic_CXX
16854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
16855 $as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
16856 lt_prog_compiler_pic_CXX
=$lt_cv_prog_compiler_pic_CXX
16859 # Check to make sure the PIC flag actually works.
16861 if test -n "$lt_prog_compiler_pic_CXX"; then
16862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
16863 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
16864 if ${lt_cv_prog_compiler_pic_works_CXX+:} false
; then :
16865 $as_echo_n "(cached) " >&6
16867 lt_cv_prog_compiler_pic_works_CXX
=no
16868 ac_outfile
=conftest.
$ac_objext
16869 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
16870 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC" ## exclude from sc_useless_quotes_in_assignment
16871 # Insert the option either (1) after the last *FLAGS variable, or
16872 # (2) before a word containing "conftest.", or (3) at the end.
16873 # Note that $ac_compile itself does not contain backslashes and begins
16874 # with a dollar sign (not a hyphen), so the echo should work correctly.
16875 # The option is referenced via a variable to avoid confusing sed.
16876 lt_compile
=`echo "$ac_compile" | $SED \
16877 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16878 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16879 -e 's:$: $lt_compiler_flag:'`
16880 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
16881 (eval "$lt_compile" 2>conftest.err
)
16883 cat conftest.err
>&5
16884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16885 if (exit $ac_status) && test -s "$ac_outfile"; then
16886 # The compiler can only warn and ignore the option if not recognized
16887 # So say no if there are warnings other than the usual output.
16888 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
16889 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
16890 if test ! -s conftest.er2
|| diff conftest.exp conftest.er2
>/dev
/null
; then
16891 lt_cv_prog_compiler_pic_works_CXX
=yes
16897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
16898 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
16900 if test yes = "$lt_cv_prog_compiler_pic_works_CXX"; then
16901 case $lt_prog_compiler_pic_CXX in
16903 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
16906 lt_prog_compiler_pic_CXX
=
16907 lt_prog_compiler_can_build_shared_CXX
=no
16917 # Check to make sure the static flag actually works.
16919 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
16920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
16921 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
16922 if ${lt_cv_prog_compiler_static_works_CXX+:} false
; then :
16923 $as_echo_n "(cached) " >&6
16925 lt_cv_prog_compiler_static_works_CXX
=no
16926 save_LDFLAGS
=$LDFLAGS
16927 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
16928 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
16929 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
16930 # The linker can only warn and ignore the option if not recognized
16931 # So say no if there are warnings
16932 if test -s conftest.err
; then
16933 # Append any errors to the config.log.
16934 cat conftest.err
1>&5
16935 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
16936 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
16937 if diff conftest.exp conftest.er2
>/dev
/null
; then
16938 lt_cv_prog_compiler_static_works_CXX
=yes
16941 lt_cv_prog_compiler_static_works_CXX
=yes
16945 LDFLAGS
=$save_LDFLAGS
16948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
16949 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
16951 if test yes = "$lt_cv_prog_compiler_static_works_CXX"; then
16954 lt_prog_compiler_static_CXX
=
16960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
16961 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
16962 if ${lt_cv_prog_compiler_c_o_CXX+:} false
; then :
16963 $as_echo_n "(cached) " >&6
16965 lt_cv_prog_compiler_c_o_CXX
=no
16966 $RM -r conftest
2>/dev
/null
16970 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
16972 lt_compiler_flag
="-o out/conftest2.$ac_objext"
16973 # Insert the option either (1) after the last *FLAGS variable, or
16974 # (2) before a word containing "conftest.", or (3) at the end.
16975 # Note that $ac_compile itself does not contain backslashes and begins
16976 # with a dollar sign (not a hyphen), so the echo should work correctly.
16977 lt_compile
=`echo "$ac_compile" | $SED \
16978 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16979 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16980 -e 's:$: $lt_compiler_flag:'`
16981 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
16982 (eval "$lt_compile" 2>out
/conftest.err
)
16984 cat out
/conftest.err
>&5
16985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16986 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
16988 # The compiler can only warn and ignore the option if not recognized
16989 # So say no if there are warnings
16990 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out
/conftest.exp
16991 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
16992 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
16993 lt_cv_prog_compiler_c_o_CXX
=yes
16998 # SGI C++ compiler will create directory out/ii_files/ for
16999 # template instantiation
17000 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
17001 $RM out
/* && rmdir out
17007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
17008 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
17012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
17013 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
17014 if ${lt_cv_prog_compiler_c_o_CXX+:} false
; then :
17015 $as_echo_n "(cached) " >&6
17017 lt_cv_prog_compiler_c_o_CXX
=no
17018 $RM -r conftest
2>/dev
/null
17022 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
17024 lt_compiler_flag
="-o out/conftest2.$ac_objext"
17025 # Insert the option either (1) after the last *FLAGS variable, or
17026 # (2) before a word containing "conftest.", or (3) at the end.
17027 # Note that $ac_compile itself does not contain backslashes and begins
17028 # with a dollar sign (not a hyphen), so the echo should work correctly.
17029 lt_compile
=`echo "$ac_compile" | $SED \
17030 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17031 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17032 -e 's:$: $lt_compiler_flag:'`
17033 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
17034 (eval "$lt_compile" 2>out
/conftest.err
)
17036 cat out
/conftest.err
>&5
17037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17038 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
17040 # The compiler can only warn and ignore the option if not recognized
17041 # So say no if there are warnings
17042 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out
/conftest.exp
17043 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
17044 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
17045 lt_cv_prog_compiler_c_o_CXX
=yes
17050 # SGI C++ compiler will create directory out/ii_files/ for
17051 # template instantiation
17052 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
17053 $RM out
/* && rmdir out
17059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
17060 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
17065 hard_links
=nottested
17066 if test no
= "$lt_cv_prog_compiler_c_o_CXX" && test no
!= "$need_locks"; then
17067 # do not overwrite the value of need_locks provided by the user
17068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
17069 $as_echo_n "checking if we can lock with hard links... " >&6; }
17072 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
17074 ln conftest.a conftest.b
2>&5 || hard_links
=no
17075 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
17076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
17077 $as_echo "$hard_links" >&6; }
17078 if test no
= "$hard_links"; then
17079 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
17080 $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
17089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
17090 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
17092 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
17093 exclude_expsyms_CXX
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
17096 # If we're using GNU nm, then we don't want the "-C" option.
17097 # -C means demangle to GNU nm, but means don't demangle to AIX nm.
17098 # Without the "-l" option, or with the "-B" option, AIX nm treats
17099 # weak defined symbols like other global defined symbols, whereas
17100 # GNU nm marks them as "W".
17101 # While the 'weak' keyword is ignored in the Export File, we need
17102 # it in the Import File for the 'aix-soname' feature, so we have
17103 # to replace the "-B" option with "-P" for AIX nm.
17104 if $NM -V 2>&1 | $GREP 'GNU' > /dev
/null
; then
17105 export_symbols_cmds_CXX
='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols'
17107 export_symbols_cmds_CXX
='`func_echo_all $NM | $SED -e '\''s/B\([^B]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && (substr(\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols'
17111 export_symbols_cmds_CXX
=$ltdll_cmds
17113 cygwin
* | mingw
* | cegcc
*)
17114 case $cc_basename in
17116 exclude_expsyms_CXX
='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
17119 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'
17120 exclude_expsyms_CXX
='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
17125 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
17129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
17130 $as_echo "$ld_shlibs_CXX" >&6; }
17131 test no
= "$ld_shlibs_CXX" && can_build_shared
=no
17133 with_gnu_ld_CXX
=$with_gnu_ld
17141 # Do we need to explicitly link libc?
17143 case "x$archive_cmds_need_lc_CXX" in
17145 # Assume -lc should be added
17146 archive_cmds_need_lc_CXX
=yes
17148 if test yes,yes = "$GCC,$enable_shared"; then
17149 case $archive_cmds_CXX in
17151 # FIXME: we may have to deal with multi-command sequences.
17154 # Test whether the compiler implicitly links with -lc since on some
17155 # systems, -lgcc has to come before -lc. If gcc already passes -lc
17156 # to ld, don't add -lc before -lgcc.
17157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
17158 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
17159 if ${lt_cv_archive_cmds_need_lc_CXX+:} false
; then :
17160 $as_echo_n "(cached) " >&6
17163 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
17165 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
17166 (eval $ac_compile) 2>&5
17168 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17169 test $ac_status = 0; } 2>conftest.err
; then
17172 libobjs
=conftest.
$ac_objext
17174 wl
=$lt_prog_compiler_wl_CXX
17175 pic_flag
=$lt_prog_compiler_pic_CXX
17181 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
17182 allow_undefined_flag_CXX
=
17183 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
17184 (eval $archive_cmds_CXX 2\
>\
&1 \
| $GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
17186 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17187 test $ac_status = 0; }
17189 lt_cv_archive_cmds_need_lc_CXX
=no
17191 lt_cv_archive_cmds_need_lc_CXX
=yes
17193 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
17195 cat conftest.err
1>&5
17200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
17201 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
17202 archive_cmds_need_lc_CXX
=$lt_cv_archive_cmds_need_lc_CXX
17270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
17271 $as_echo_n "checking dynamic linker characteristics... " >&6; }
17273 library_names_spec
=
17274 libname_spec
='lib$name'
17278 postuninstall_cmds
=
17282 shlibpath_overrides_runpath
=unknown
17284 dynamic_linker
="$host_os ld.so"
17285 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
17286 need_lib_prefix
=unknown
17287 hardcode_into_libs
=no
17289 # when you set need_version to no, make sure it does not cause -set_version
17290 # flags to be left without arguments
17291 need_version
=unknown
17297 version_type
=linux
# correct to gnu/linux during the next big refactor
17298 library_names_spec
='$libname$release$shared_ext$versuffix $libname.a'
17299 shlibpath_var
=LIBPATH
17301 # AIX 3 has no versioning support, so we append a major version to the name.
17302 soname_spec
='$libname$release$shared_ext$major'
17306 version_type
=linux
# correct to gnu/linux during the next big refactor
17309 hardcode_into_libs
=yes
17310 if test ia64
= "$host_cpu"; then
17311 # AIX 5 supports IA64
17312 library_names_spec
='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
17313 shlibpath_var
=LD_LIBRARY_PATH
17315 # With GCC up to 2.95.x, collect2 would create an import file
17316 # for dependence libraries. The import file would start with
17317 # the line '#! .'. This would cause the generated library to
17318 # depend on '.', always an invalid library. This was fixed in
17319 # development snapshots of GCC prior to 3.0.
17321 aix4
| aix4.
[01] | aix4.
[01].
*)
17322 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
17324 echo '#endif'; } | $CC -E - | $GREP yes > /dev
/null
; then
17327 can_build_shared
=no
17331 # Using Import Files as archive members, it is possible to support
17332 # filename-based versioning of shared library archives on AIX. While
17333 # this would work for both with and without runtime linking, it will
17334 # prevent static linking of such archives. So we do filename-based
17335 # shared library versioning with .so extension only, which is used
17336 # when both runtime linking and shared linking is enabled.
17337 # Unfortunately, runtime linking may impact performance, so we do
17338 # not want this to be the default eventually. Also, we use the
17339 # versioned .so libs for executables only if there is the -brtl
17340 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
17341 # To allow for filename-based versioning support, we need to create
17342 # libNAME.so.V as an archive file, containing:
17343 # *) an Import File, referring to the versioned filename of the
17344 # archive as well as the shared archive member, telling the
17345 # bitwidth (32 or 64) of that shared object, and providing the
17346 # list of exported symbols of that shared object, eventually
17347 # decorated with the 'weak' keyword
17348 # *) the shared object with the F_LOADONLY flag set, to really avoid
17349 # it being seen by the linker.
17350 # At run time we better use the real file rather than another symlink,
17351 # but for link time we create the symlink libNAME.so -> libNAME.so.V
17353 case $with_aix_soname,$aix_use_runtimelinking in
17354 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
17355 # soname into executable. Probably we can add versioning support to
17356 # collect2, so additional links can be useful in future.
17357 aix
,yes) # traditional libtool
17358 dynamic_linker
='AIX unversionable lib.so'
17359 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
17360 # instead of lib<name>.a to let people know that these are not
17361 # typical AIX shared libraries.
17362 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17364 aix
,no
) # traditional AIX only
17365 dynamic_linker
='AIX lib.a(lib.so.V)'
17366 # We preserve .a as extension for shared libraries through AIX4.2
17367 # and later when we are not doing run time linking.
17368 library_names_spec
='$libname$release.a $libname.a'
17369 soname_spec
='$libname$release$shared_ext$major'
17371 svr4
,*) # full svr4 only
17372 dynamic_linker
="AIX lib.so.V($shared_archive_member_spec.o)"
17373 library_names_spec
='$libname$release$shared_ext$major $libname$shared_ext'
17374 # We do not specify a path in Import Files, so LIBPATH fires.
17375 shlibpath_overrides_runpath
=yes
17377 *,yes) # both, prefer svr4
17378 dynamic_linker
="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
17379 library_names_spec
='$libname$release$shared_ext$major $libname$shared_ext'
17380 # unpreferred sharedlib libNAME.a needs extra handling
17381 postinstall_cmds
='test -n "$linkname" || linkname="$realname"~func_stripname "" ".so" "$linkname"~$install_shared_prog "$dir/$func_stripname_result.$libext" "$destdir/$func_stripname_result.$libext"~test -z "$tstripme" || test -z "$striplib" || $striplib "$destdir/$func_stripname_result.$libext"'
17382 postuninstall_cmds
='for n in $library_names $old_library; do :; done~func_stripname "" ".so" "$n"~test "$func_stripname_result" = "$n" || func_append rmfiles " $odir/$func_stripname_result.$libext"'
17383 # We do not specify a path in Import Files, so LIBPATH fires.
17384 shlibpath_overrides_runpath
=yes
17386 *,no
) # both, prefer aix
17387 dynamic_linker
="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
17388 library_names_spec
='$libname$release.a $libname.a'
17389 soname_spec
='$libname$release$shared_ext$major'
17390 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
17391 postinstall_cmds
='test -z "$dlname" || $install_shared_prog $dir/$dlname $destdir/$dlname~test -z "$tstripme" || test -z "$striplib" || $striplib $destdir/$dlname~test -n "$linkname" || linkname=$realname~func_stripname "" ".a" "$linkname"~(cd "$destdir" && $LN_S -f $dlname $func_stripname_result.so)'
17392 postuninstall_cmds
='test -z "$dlname" || func_append rmfiles " $odir/$dlname"~for n in $old_library $library_names; do :; done~func_stripname "" ".a" "$n"~func_append rmfiles " $odir/$func_stripname_result.so"'
17395 shlibpath_var
=LIBPATH
17402 # Since July 2007 AmigaOS4 officially supports .so libraries.
17403 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
17404 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17407 library_names_spec
='$libname.ixlibrary $libname.a'
17408 # Create ${libname}_ixlibrary.a entries in /sys/libs.
17409 finish_eval
='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; $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'
17415 library_names_spec
='$libname$shared_ext'
17416 dynamic_linker
="$host_os ld.so"
17417 shlibpath_var
=LIBRARY_PATH
17421 version_type
=linux
# correct to gnu/linux during the next big refactor
17423 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17424 soname_spec
='$libname$release$shared_ext$major'
17425 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
17426 shlibpath_var
=LD_LIBRARY_PATH
17427 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
17428 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
17429 # the default ld.so.conf also contains /usr/contrib/lib and
17430 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
17431 # libtool to hard-code these into programs
17434 cygwin
* | mingw
* | pw32
* | cegcc
*)
17435 version_type
=windows
17440 case $GCC,$cc_basename in
17443 library_names_spec
='$libname.dll.a'
17444 # DLL is installed to $(libdir)/../bin by postinstall_cmds
17445 postinstall_cmds
='base_file=`basename \$file`~
17446 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
17447 dldir=$destdir/`dirname \$dlpath`~
17448 test -d \$dldir || mkdir -p \$dldir~
17449 $install_prog $dir/$dlname \$dldir/$dlname~
17450 chmod a+x \$dldir/$dlname~
17451 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
17452 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
17454 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
17455 dlpath=$dir/\$dldll~
17457 shlibpath_overrides_runpath
=yes
17461 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
17462 soname_spec
='`echo $libname | sed -e 's
/^lib
/cyg
/'``echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
17466 # MinGW DLLs use traditional 'lib' prefix
17467 soname_spec
='$libname`echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
17470 # pw32 DLLs use 'pw' prefix rather than 'lib'
17471 library_names_spec
='`echo $libname | sed -e 's
/^lib
/pw
/'``echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
17474 dynamic_linker
='Win32 ld.exe'
17479 libname_spec
='$name'
17480 soname_spec
='$libname`echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
17481 library_names_spec
='$libname.dll.lib'
17485 sys_lib_search_path_spec
=
17488 for lt_path
in $LIB
17491 # Let DOS variable expansion print the short 8.3 style file name.
17492 lt_path
=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
17493 sys_lib_search_path_spec
="$sys_lib_search_path_spec $lt_path"
17496 # Convert to MSYS style.
17497 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
17500 # Convert to unix form, then to dos form, then back to unix form
17501 # but this time dos style (no spaces!) so that the unix form looks
17502 # like /cygdrive/c/PROGRA~1:/cygdr...
17503 sys_lib_search_path_spec
=`cygpath --path --unix "$LIB"`
17504 sys_lib_search_path_spec
=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
17505 sys_lib_search_path_spec
=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
17508 sys_lib_search_path_spec
=$LIB
17509 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev
/null
; then
17510 # It is most probably a Windows format PATH.
17511 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
17513 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
17515 # FIXME: find the short name or the path components, as spaces are
17516 # common. (e.g. "Program Files" -> "PROGRA~1")
17520 # DLL is installed to $(libdir)/../bin by postinstall_cmds
17521 postinstall_cmds
='base_file=`basename \$file`~
17522 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
17523 dldir=$destdir/`dirname \$dlpath`~
17524 test -d \$dldir || mkdir -p \$dldir~
17525 $install_prog $dir/$dlname \$dldir/$dlname'
17526 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
17527 dlpath=$dir/\$dldll~
17529 shlibpath_overrides_runpath
=yes
17530 dynamic_linker
='Win32 link.exe'
17534 # Assume MSVC wrapper
17535 library_names_spec
='$libname`echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext $libname.lib'
17536 dynamic_linker
='Win32 ld.exe'
17539 # FIXME: first we should search . and the directory the executable is in
17543 darwin
* | rhapsody
*)
17544 dynamic_linker
="$host_os dyld"
17545 version_type
=darwin
17548 library_names_spec
='$libname$release$major$shared_ext $libname$shared_ext'
17549 soname_spec
='$libname$release$major$shared_ext'
17550 shlibpath_overrides_runpath
=yes
17551 shlibpath_var
=DYLD_LIBRARY_PATH
17552 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
17554 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
17558 version_type
=linux
# correct to gnu/linux during the next big refactor
17561 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17562 soname_spec
='$libname$release$shared_ext$major'
17563 shlibpath_var
=LD_LIBRARY_PATH
17566 freebsd
* | dragonfly
*)
17567 # DragonFly does not have aout. When/if they implement a new
17568 # versioning mechanism, adjust this.
17569 if test -x /usr
/bin
/objformat
; then
17570 objformat
=`/usr/bin/objformat`
17573 freebsd
[23].
*) objformat
=aout
;;
17574 *) objformat
=elf
;;
17577 version_type
=freebsd
-$objformat
17578 case $version_type in
17580 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17581 soname_spec
='$libname$release$shared_ext$major'
17586 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
17590 shlibpath_var
=LD_LIBRARY_PATH
17593 shlibpath_overrides_runpath
=yes
17595 freebsd3.
[01]* | freebsdelf3.
[01]*)
17596 shlibpath_overrides_runpath
=yes
17597 hardcode_into_libs
=yes
17599 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
17600 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
17601 shlibpath_overrides_runpath
=no
17602 hardcode_into_libs
=yes
17604 *) # from 4.6 on, and DragonFly
17605 shlibpath_overrides_runpath
=yes
17606 hardcode_into_libs
=yes
17612 version_type
=linux
# correct to gnu/linux during the next big refactor
17615 dynamic_linker
="$host_os runtime_loader"
17616 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17617 soname_spec
='$libname$release$shared_ext$major'
17618 shlibpath_var
=LIBRARY_PATH
17619 shlibpath_overrides_runpath
=no
17620 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
17621 hardcode_into_libs
=yes
17624 hpux9
* | hpux10
* | hpux11
*)
17625 # Give a soname corresponding to the major version so that dld.sl refuses to
17626 # link against other versions.
17633 hardcode_into_libs
=yes
17634 dynamic_linker
="$host_os dld.so"
17635 shlibpath_var
=LD_LIBRARY_PATH
17636 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
17637 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17638 soname_spec
='$libname$release$shared_ext$major'
17639 if test 32 = "$HPUX_IA64_MODE"; then
17640 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
17641 sys_lib_dlsearch_path_spec
=/usr
/lib
/hpux32
17643 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
17644 sys_lib_dlsearch_path_spec
=/usr
/lib
/hpux64
17649 hardcode_into_libs
=yes
17650 dynamic_linker
="$host_os dld.sl"
17651 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
17652 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
17653 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17654 soname_spec
='$libname$release$shared_ext$major'
17655 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
17656 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
17660 dynamic_linker
="$host_os dld.sl"
17661 shlibpath_var
=SHLIB_PATH
17662 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
17663 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17664 soname_spec
='$libname$release$shared_ext$major'
17667 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
17668 postinstall_cmds
='chmod 555 $lib'
17669 # or fails outright, so override atomically:
17670 install_override_mode
=555
17674 version_type
=linux
# correct to gnu/linux during the next big refactor
17677 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17678 soname_spec
='$libname$release$shared_ext$major'
17679 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
17680 shlibpath_var
=LD_LIBRARY_PATH
17681 shlibpath_overrides_runpath
=no
17682 hardcode_into_libs
=yes
17685 irix5
* | irix6
* | nonstopux
*)
17687 nonstopux
*) version_type
=nonstopux
;;
17689 if test yes = "$lt_cv_prog_gnu_ld"; then
17690 version_type
=linux
# correct to gnu/linux during the next big refactor
17697 soname_spec
='$libname$release$shared_ext$major'
17698 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
17700 irix5
* | nonstopux
*)
17701 libsuff
= shlibsuff
=
17704 case $LD in # libtool.m4 will add one of these switches to LD
17705 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
17706 libsuff
= shlibsuff
= libmagic
=32-bit;;
17707 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
17708 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
17709 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
17710 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
17711 *) libsuff
= shlibsuff
= libmagic
=never
-match;;
17715 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
17716 shlibpath_overrides_runpath
=no
17717 sys_lib_search_path_spec
="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
17718 sys_lib_dlsearch_path_spec
="/usr/lib$libsuff /lib$libsuff"
17719 hardcode_into_libs
=yes
17722 # No shared lib support for Linux oldld, aout, or coff.
17723 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
17728 version_type
=none
# Android doesn't support versioned libraries.
17731 library_names_spec
='$libname$release$shared_ext'
17732 soname_spec
='$libname$release$shared_ext'
17734 shlibpath_var
=LD_LIBRARY_PATH
17735 shlibpath_overrides_runpath
=yes
17737 # This implies no fast_install, which is unacceptable.
17738 # Some rework will be needed to allow for fast_install
17739 # before this can be enabled.
17740 hardcode_into_libs
=yes
17742 dynamic_linker
='Android linker'
17743 # Don't embed -rpath directories since the linker doesn't support them.
17744 hardcode_libdir_flag_spec_CXX
='-L$libdir'
17747 # This must be glibc/ELF.
17748 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
17749 version_type
=linux
# correct to gnu/linux during the next big refactor
17752 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17753 soname_spec
='$libname$release$shared_ext$major'
17754 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
17755 shlibpath_var
=LD_LIBRARY_PATH
17756 shlibpath_overrides_runpath
=no
17758 # Some binutils ld are patched to set DT_RUNPATH
17759 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
17760 $as_echo_n "(cached) " >&6
17762 lt_cv_shlibpath_overrides_runpath
=no
17763 save_LDFLAGS
=$LDFLAGS
17764 save_libdir
=$libdir
17765 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
17766 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
17767 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17768 /* end confdefs.h. */
17778 if ac_fn_cxx_try_link
"$LINENO"; then :
17779 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null
| grep "RUNPATH.*$libdir" >/dev
/null
; then :
17780 lt_cv_shlibpath_overrides_runpath
=yes
17783 rm -f core conftest.err conftest.
$ac_objext \
17784 conftest
$ac_exeext conftest.
$ac_ext
17785 LDFLAGS
=$save_LDFLAGS
17786 libdir
=$save_libdir
17790 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
17792 # This implies no fast_install, which is unacceptable.
17793 # Some rework will be needed to allow for fast_install
17794 # before this can be enabled.
17795 hardcode_into_libs
=yes
17797 # Ideally, we could use ldconfig to report *all* directores which are
17798 # searched for libraries, however this is still not possible. Aside from not
17799 # being certain /sbin/ldconfig is available, command
17800 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
17801 # even though it is searched at run-time. Try to do the best guess by
17802 # appending ld.so.conf contents (and includes) to the search path.
17803 if test -f /etc
/ld.so.conf
; then
17804 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' ' '`
17805 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
17808 # We used to test for /lib/ld.so.1 and disable shared libraries on
17809 # powerpc, because MkLinux only supported shared libraries with the
17810 # GNU dynamic linker. Since this was broken with cross compilers,
17811 # most powerpc-linux boxes support dynamic linking these days and
17812 # people can always --disable-shared, the test was removed, and we
17813 # assume the GNU/Linux dynamic linker is in use.
17814 dynamic_linker
='GNU/Linux ld.so'
17821 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
17822 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
17823 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17824 dynamic_linker
='NetBSD (a.out) ld.so'
17826 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17827 soname_spec
='$libname$release$shared_ext$major'
17828 dynamic_linker
='NetBSD ld.elf_so'
17830 shlibpath_var
=LD_LIBRARY_PATH
17831 shlibpath_overrides_runpath
=yes
17832 hardcode_into_libs
=yes
17836 version_type
=linux
# correct to gnu/linux during the next big refactor
17837 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17838 shlibpath_var
=LD_LIBRARY_PATH
17839 shlibpath_overrides_runpath
=yes
17846 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17847 soname_spec
='$libname$release$shared_ext$major'
17848 shlibpath_var
=LD_LIBRARY_PATH
17849 shlibpath_overrides_runpath
=no
17850 hardcode_into_libs
=yes
17851 dynamic_linker
='ldqnx.so'
17854 openbsd
* | bitrig
*)
17856 sys_lib_dlsearch_path_spec
=/usr
/lib
17858 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
17863 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
17864 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17865 shlibpath_var
=LD_LIBRARY_PATH
17866 shlibpath_overrides_runpath
=yes
17870 libname_spec
='$name'
17871 version_type
=windows
17875 # OS/2 can only load a DLL with a base name of 8 characters or less.
17876 soname_spec
='`test -n "$os2dllname" && libname="$os2dllname";
17877 v=$($ECHO $release$versuffix | tr -d .-);
17878 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
17879 $ECHO $n$v`$shared_ext'
17880 library_names_spec
='${libname}_dll.$libext'
17881 dynamic_linker
='OS/2 ld.exe'
17882 shlibpath_var
=BEGINLIBPATH
17883 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
17884 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
17885 postinstall_cmds
='base_file=`basename \$file`~
17886 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
17887 dldir=$destdir/`dirname \$dlpath`~
17888 test -d \$dldir || mkdir -p \$dldir~
17889 $install_prog $dir/$dlname \$dldir/$dlname~
17890 chmod a+x \$dldir/$dlname~
17891 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
17892 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
17894 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
17895 dlpath=$dir/\$dldll~
17899 osf3
* | osf4
* | osf5
*)
17903 soname_spec
='$libname$release$shared_ext$major'
17904 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17905 shlibpath_var
=LD_LIBRARY_PATH
17906 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
17907 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
17915 version_type
=linux
# correct to gnu/linux during the next big refactor
17918 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17919 soname_spec
='$libname$release$shared_ext$major'
17920 shlibpath_var
=LD_LIBRARY_PATH
17921 shlibpath_overrides_runpath
=yes
17922 hardcode_into_libs
=yes
17923 # ldd complains unless libraries are executable
17924 postinstall_cmds
='chmod +x $lib'
17929 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
17930 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
17931 shlibpath_var
=LD_LIBRARY_PATH
17932 shlibpath_overrides_runpath
=yes
17933 if test yes = "$with_gnu_ld"; then
17940 version_type
=linux
# correct to gnu/linux during the next big refactor
17941 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17942 soname_spec
='$libname$release$shared_ext$major'
17943 shlibpath_var
=LD_LIBRARY_PATH
17944 case $host_vendor in
17946 shlibpath_overrides_runpath
=no
17948 runpath_var
=LD_RUN_PATH
17956 shlibpath_overrides_runpath
=no
17957 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
17963 if test -d /usr
/nec
; then
17964 version_type
=linux
# correct to gnu/linux during the next big refactor
17965 library_names_spec
='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
17966 soname_spec
='$libname$shared_ext.$major'
17967 shlibpath_var
=LD_LIBRARY_PATH
17971 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
17975 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
17976 soname_spec
='$libname$release$shared_ext$major'
17977 shlibpath_var
=LD_LIBRARY_PATH
17978 shlibpath_overrides_runpath
=yes
17979 hardcode_into_libs
=yes
17980 if test yes = "$with_gnu_ld"; then
17981 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
17983 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
17986 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
17990 sys_lib_dlsearch_path_spec
='/usr/lib'
17994 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
17995 version_type
=linux
# correct to gnu/linux during the next big refactor
17998 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17999 shlibpath_var
=LD_LIBRARY_PATH
18000 shlibpath_overrides_runpath
=no
18001 hardcode_into_libs
=yes
18005 version_type
=linux
# correct to gnu/linux during the next big refactor
18006 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
18007 soname_spec
='$libname$release$shared_ext$major'
18008 shlibpath_var
=LD_LIBRARY_PATH
18015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
18016 $as_echo "$dynamic_linker" >&6; }
18017 test no
= "$dynamic_linker" && can_build_shared
=no
18019 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
18020 if test yes = "$GCC"; then
18021 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
18024 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
18025 sys_lib_search_path_spec
=$lt_cv_sys_lib_search_path_spec
18028 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
18029 sys_lib_dlsearch_path_spec
=$lt_cv_sys_lib_dlsearch_path_spec
18032 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
18033 configure_time_dlsearch_path
=$sys_lib_dlsearch_path_spec
18035 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
18036 func_munge_path_list sys_lib_dlsearch_path_spec
"$LT_SYS_LIBRARY_PATH"
18038 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
18039 configure_time_lt_sys_library_path
=$LT_SYS_LIBRARY_PATH
18080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
18081 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
18082 hardcode_action_CXX
=
18083 if test -n "$hardcode_libdir_flag_spec_CXX" ||
18084 test -n "$runpath_var_CXX" ||
18085 test yes = "$hardcode_automatic_CXX"; then
18087 # We can hardcode non-existent directories.
18088 if test no
!= "$hardcode_direct_CXX" &&
18089 # If the only mechanism to avoid hardcoding is shlibpath_var, we
18090 # have to relink, otherwise we might link with an installed library
18091 # when we should be linking with a yet-to-be-installed one
18092 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" &&
18093 test no
!= "$hardcode_minus_L_CXX"; then
18094 # Linking always hardcodes the temporary library directory.
18095 hardcode_action_CXX
=relink
18097 # We can link without hardcoding, and we can hardcode nonexisting dirs.
18098 hardcode_action_CXX
=immediate
18101 # We cannot hardcode anything, or else we can only hardcode existing
18103 hardcode_action_CXX
=unsupported
18105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
18106 $as_echo "$hardcode_action_CXX" >&6; }
18108 if test relink
= "$hardcode_action_CXX" ||
18109 test yes = "$inherit_rpath_CXX"; then
18110 # Fast installation is not supported
18111 enable_fast_install
=no
18112 elif test yes = "$shlibpath_overrides_runpath" ||
18113 test no
= "$enable_shared"; then
18114 # Fast installation is not necessary
18115 enable_fast_install
=needless
18124 fi # test -n "$compiler"
18127 CFLAGS
=$lt_save_CFLAGS
18131 with_gnu_ld
=$lt_save_with_gnu_ld
18132 lt_cv_path_LDCXX
=$lt_cv_path_LD
18133 lt_cv_path_LD
=$lt_save_path_LD
18134 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
18135 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
18136 fi # test yes != "$_lt_caught_CXX_error"
18139 ac_cpp
='$CPP $CPPFLAGS'
18140 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18141 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18142 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18158 ac_config_commands
="$ac_config_commands libtool"
18163 # Only expand once:
18168 ac_cpp
='$CXXCPP $CPPFLAGS'
18169 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18170 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18171 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18174 ax_cxx_compile_cxx11_required
=true
18176 ac_cpp
='$CXXCPP $CPPFLAGS'
18177 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18178 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18179 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX supports C++11 features by default" >&5
18182 $as_echo_n "checking whether $CXX supports C++11 features by default... " >&6; }
18183 if ${ax_cv_cxx_compile_cxx11+:} false
; then :
18184 $as_echo_n "(cached) " >&6
18186 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18187 /* end confdefs.h. */
18189 template <typename T>
18192 static_assert(sizeof(int) <= sizeof(T), "not big enough");
18196 virtual void f() {}
18198 struct Child : public Base {
18199 virtual void f() override {}
18202 typedef check<check<bool>> right_angle_brackets;
18207 typedef check<int> check_type;
18209 check_type&& cr = static_cast<check_type&&>(c);
18215 if ac_fn_cxx_try_compile
"$LINENO"; then :
18216 ax_cv_cxx_compile_cxx11
=yes
18218 ax_cv_cxx_compile_cxx11
=no
18220 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_cxx_compile_cxx11" >&5
18223 $as_echo "$ax_cv_cxx_compile_cxx11" >&6; }
18224 if test x
$ax_cv_cxx_compile_cxx11 = xyes
; then
18228 if test x
$ac_success = xno
; then
18229 for switch
in -std=gnu
++11 -std=gnu
++0x
; do
18230 cachevar
=`$as_echo "ax_cv_cxx_compile_cxx11_$switch" | $as_tr_sh`
18231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX supports C++11 features with $switch" >&5
18232 $as_echo_n "checking whether $CXX supports C++11 features with $switch... " >&6; }
18233 if eval \
${$cachevar+:} false
; then :
18234 $as_echo_n "(cached) " >&6
18236 ac_save_CXXFLAGS
="$CXXFLAGS"
18237 CXXFLAGS
="$CXXFLAGS $switch"
18238 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18239 /* end confdefs.h. */
18241 template <typename T>
18244 static_assert(sizeof(int) <= sizeof(T), "not big enough");
18248 virtual void f() {}
18250 struct Child : public Base {
18251 virtual void f() override {}
18254 typedef check<check<bool>> right_angle_brackets;
18259 typedef check<int> check_type;
18261 check_type&& cr = static_cast<check_type&&>(c);
18267 if ac_fn_cxx_try_compile
"$LINENO"; then :
18272 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18273 CXXFLAGS
="$ac_save_CXXFLAGS"
18275 eval ac_res
=\$
$cachevar
18276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
18277 $as_echo "$ac_res" >&6; }
18278 if eval test x\$
$cachevar = xyes
; then
18279 CXXFLAGS
="$CXXFLAGS $switch"
18288 ac_cpp
='$CXXCPP $CPPFLAGS'
18289 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18290 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18291 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18293 if test x
$ax_cxx_compile_cxx11_required = xtrue
; then
18294 if test x
$ac_success = xno
; then
18295 as_fn_error $?
"*** A compiler with support for C++11 language features is required." "$LINENO" 5
18298 if test x
$ac_success = xno
; then
18300 { $as_echo "$as_me:${as_lineno-$LINENO}: No compiler with C++11 support was found" >&5
18301 $as_echo "$as_me: No compiler with C++11 support was found" >&6;}
18305 $as_echo "#define HAVE_CXX11 1" >>confdefs.h
18312 OBJCXXFLAGS
="${OBJCXXFLAGS} ${CXXFLAGS##*' '}"
18321 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
18322 if test -n "$ac_tool_prefix"; then
18323 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
18324 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
18325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18326 $as_echo_n "checking for $ac_word... " >&6; }
18327 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
18328 $as_echo_n "(cached) " >&6
18330 case $PKG_CONFIG in
18332 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
18335 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18336 for as_dir
in $PATH
18339 test -z "$as_dir" && as_dir
=.
18340 for ac_exec_ext
in '' $ac_executable_extensions; do
18341 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
18342 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
18343 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18353 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
18354 if test -n "$PKG_CONFIG"; then
18355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
18356 $as_echo "$PKG_CONFIG" >&6; }
18358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18359 $as_echo "no" >&6; }
18364 if test -z "$ac_cv_path_PKG_CONFIG"; then
18365 ac_pt_PKG_CONFIG
=$PKG_CONFIG
18366 # Extract the first word of "pkg-config", so it can be a program name with args.
18367 set dummy pkg
-config; ac_word
=$2
18368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18369 $as_echo_n "checking for $ac_word... " >&6; }
18370 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
18371 $as_echo_n "(cached) " >&6
18373 case $ac_pt_PKG_CONFIG in
18375 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
18378 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18379 for as_dir
in $PATH
18382 test -z "$as_dir" && as_dir
=.
18383 for ac_exec_ext
in '' $ac_executable_extensions; do
18384 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
18385 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
18386 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18396 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
18397 if test -n "$ac_pt_PKG_CONFIG"; then
18398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
18399 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
18401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18402 $as_echo "no" >&6; }
18405 if test "x$ac_pt_PKG_CONFIG" = x
; then
18408 case $cross_compiling:$ac_tool_warned in
18410 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
18411 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
18412 ac_tool_warned
=yes ;;
18414 PKG_CONFIG
=$ac_pt_PKG_CONFIG
18417 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
18421 if test -n "$PKG_CONFIG"; then
18422 _pkg_min_version
=0.22
18423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
18424 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
18425 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
18426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18427 $as_echo "yes" >&6; }
18429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18430 $as_echo "no" >&6; }
18435 # Extract the first word of "git", so it can be a program name with args.
18436 set dummy git
; ac_word
=$2
18437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18438 $as_echo_n "checking for $ac_word... " >&6; }
18439 if ${ac_cv_path_GIT+:} false
; then :
18440 $as_echo_n "(cached) " >&6
18444 ac_cv_path_GIT
="$GIT" # Let the user override the test with a path.
18447 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18448 for as_dir
in $PATH
18451 test -z "$as_dir" && as_dir
=.
18452 for ac_exec_ext
in '' $ac_executable_extensions; do
18453 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
18454 ac_cv_path_GIT
="$as_dir/$ac_word$ac_exec_ext"
18455 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18465 GIT
=$ac_cv_path_GIT
18466 if test -n "$GIT"; then
18467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GIT" >&5
18468 $as_echo "$GIT" >&6; }
18470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18471 $as_echo "no" >&6; }
18475 # Extract the first word of "time", so it can be a program name with args.
18476 set dummy
time; ac_word
=$2
18477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18478 $as_echo_n "checking for $ac_word... " >&6; }
18479 if ${ac_cv_path_TIME+:} false
; then :
18480 $as_echo_n "(cached) " >&6
18484 ac_cv_path_TIME
="$TIME" # Let the user override the test with a path.
18487 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18488 for as_dir
in $PATH
18491 test -z "$as_dir" && as_dir
=.
18492 for ac_exec_ext
in '' $ac_executable_extensions; do
18493 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
18494 ac_cv_path_TIME
="$as_dir/$ac_word$ac_exec_ext"
18495 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18505 TIME
=$ac_cv_path_TIME
18506 if test -n "$TIME"; then
18507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TIME" >&5
18508 $as_echo "$TIME" >&6; }
18510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18511 $as_echo "no" >&6; }
18520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bison >= 3.0" >&5
18521 $as_echo_n "checking for bison >= 3.0... " >&6; }
18522 if test -z "$BISON"; then
18523 ac_path_BISON_found
=false
18524 # Loop through the user's path and test for each of PROGNAME-LIST
18525 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18526 for as_dir
in $PATH
18529 test -z "$as_dir" && as_dir
=.
18530 for ac_prog
in bison
; do
18531 for ac_exec_ext
in '' $ac_executable_extensions; do
18532 ac_path_BISON
="$as_dir/$ac_prog$ac_exec_ext"
18533 as_fn_executable_p
"$ac_path_BISON" || continue
18534 version
=`$ac_path_BISON -V | $SED -e '1 s/^bison (GNU Bison) \(.*\)$/\1/p;d'`
18535 if ${version:+false} :; then :
18538 as_awk_strverscmp
='
18539 # Use only awk features that work with 7th edition Unix awk (1978).
18540 # My, what an old awk you have, Mr. Solaris!
18542 while (length(v1) && length(v2)) {
18543 # Set d1 to be the next thing to compare from v1, and likewise for d2.
18544 # Normally this is a single character, but if v1 and v2 contain digits,
18545 # compare them as integers and fractions as strverscmp does.
18546 if (v1 ~ /^0-9/ && v2 ~ /^0-9/) {
18547 # Split v1 and v2 into their leading digit string components d1 and d2,
18548 # and advance v1 and v2 past the leading digit strings.
18549 for (len1 = 1; substr(v1, len1 + 1) ~ /^0-9/; len1++) continue
18550 for (len2 = 1; substr(v2, len2 + 1) ~ /^0-9/; len2++) continue
18551 d1 = substr(v1, 1, len1); v1 = substr(v1, len1 + 1)
18552 d2 = substr(v2, 1, len2); v2 = substr(v2, len2 + 1)
18555 # Compare two fractions.
18556 while (d1 ~ /^0/ && d2 ~ /^0/) {
18557 d1 = substr(d1, 2); len1--
18558 d2 = substr(d2, 2); len2--
18560 if (len1 != len2 && ! (len1 && len2 && substr(d1, 1, 1) == substr(d2, 1, 1))) {
18561 # The two components differ in length, and the common prefix
18562 # contains only leading zeros. Consider the longer to be less.
18566 # Otherwise, compare as strings.
18571 # A fraction is less than an integer.
18576 # An integer is greater than a fraction.
18579 # Compare two integers.
18585 # The normal case, without worrying about digits.
18586 d1 = substr(v1, 1, 1); v1 = substr(v1, 2)
18587 d2 = substr(v2, 1, 1); v2 = substr(v2, 2)
18589 if (d1 < d2) exit 1
18590 if (d1 > d2) exit 2
18592 # Beware Solaris /usr/xgp4/bin/awk (at least through Solaris 10),
18593 # which mishandles some comparisons of empty strings to integers.
18594 if (length(v2)) exit 1
18595 if (length(v1)) exit 2
18600 awk "$as_awk_strverscmp" v1
="$as_arg_v1" v2
="$as_arg_v2" /dev
/null
18605 ac_cv_path_BISON
=$ac_path_BISON ;; #(
18607 ac_cv_path_BISON
=$ac_path_BISON ;; #(
18613 $ac_path_BISON_found && break 3
18618 if test -z "$ac_cv_path_BISON"; then
18619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18620 $as_echo "no" >&6; }
18623 ac_cv_path_BISON
=$BISON
18629 BISON
=$ac_cv_path_BISON
18631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
18632 $as_echo "$BISON" >&6; }
18637 as_fn_error $?
"You need bison 3.0 or greater" "$LINENO" 5
18643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18644 $as_echo "no" >&6; }
18652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for flex >= 2.5.33" >&5
18653 $as_echo_n "checking for flex >= 2.5.33... " >&6; }
18654 if test -z "$FLEX"; then
18655 ac_path_FLEX_found
=false
18656 # Loop through the user's path and test for each of PROGNAME-LIST
18657 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18658 for as_dir
in $PATH
18661 test -z "$as_dir" && as_dir
=.
18662 for ac_prog
in flex
; do
18663 for ac_exec_ext
in '' $ac_executable_extensions; do
18664 ac_path_FLEX
="$as_dir/$ac_prog$ac_exec_ext"
18665 as_fn_executable_p
"$ac_path_FLEX" || continue
18666 version
=`$ac_path_FLEX --version | $SED -e '1 s/^[^0-9.]* \([0-9.]*\).*$/\1/p;d'`
18667 if ${version:+false} :; then :
18672 awk "$as_awk_strverscmp" v1
="$as_arg_v1" v2
="$as_arg_v2" /dev
/null
18677 ac_cv_path_FLEX
=$ac_path_FLEX ;; #(
18679 ac_cv_path_FLEX
=$ac_path_FLEX ;; #(
18685 $ac_path_FLEX_found && break 3
18690 if test -z "$ac_cv_path_FLEX"; then
18691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18692 $as_echo "no" >&6; }
18695 ac_cv_path_FLEX
=$FLEX
18701 FLEX
=$ac_cv_path_FLEX
18703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
18704 $as_echo "$FLEX" >&6; }
18709 as_fn_error $?
"You need flex 2.5.33 or greater" "$LINENO" 5
18715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18716 $as_echo "no" >&6; }
18724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gperf >= 3.0.3" >&5
18725 $as_echo_n "checking for gperf >= 3.0.3... " >&6; }
18726 if test -z "$GPERF"; then
18727 ac_path_GPERF_found
=false
18728 # Loop through the user's path and test for each of PROGNAME-LIST
18729 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18730 for as_dir
in $PATH
18733 test -z "$as_dir" && as_dir
=.
18734 for ac_prog
in gperf
; do
18735 for ac_exec_ext
in '' $ac_executable_extensions; do
18736 ac_path_GPERF
="$as_dir/$ac_prog$ac_exec_ext"
18737 as_fn_executable_p
"$ac_path_GPERF" || continue
18738 version
=`$ac_path_GPERF --version | $SED -e '1 s/^.* \([0-9.]*\)$/\1/p;d'`
18739 if ${version:+false} :; then :
18744 awk "$as_awk_strverscmp" v1
="$as_arg_v1" v2
="$as_arg_v2" /dev
/null
18749 ac_cv_path_GPERF
=$ac_path_GPERF ;; #(
18751 ac_cv_path_GPERF
=$ac_path_GPERF ;; #(
18757 $ac_path_GPERF_found && break 3
18762 if test -z "$ac_cv_path_GPERF"; then
18763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18764 $as_echo "no" >&6; }
18767 ac_cv_path_GPERF
=$GPERF
18773 GPERF
=$ac_cv_path_GPERF
18775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GPERF" >&5
18776 $as_echo "$GPERF" >&6; }
18781 as_fn_error $?
"You need gperf 3.0.3 or greater" "$LINENO" 5
18787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18788 $as_echo "no" >&6; }
18796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tar gtar gnutar >= 1.19" >&5
18797 $as_echo_n "checking for tar gtar gnutar >= 1.19... " >&6; }
18798 if test -z "$GNUTAR"; then
18799 ac_path_GNUTAR_found
=false
18800 # Loop through the user's path and test for each of PROGNAME-LIST
18801 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18802 for as_dir
in $PATH
18805 test -z "$as_dir" && as_dir
=.
18806 for ac_prog
in tar gtar gnutar
; do
18807 for ac_exec_ext
in '' $ac_executable_extensions; do
18808 ac_path_GNUTAR
="$as_dir/$ac_prog$ac_exec_ext"
18809 as_fn_executable_p
"$ac_path_GNUTAR" || continue
18810 version
=`$ac_path_GNUTAR --version | $SED -e '1 s/^tar (GNU tar) \(.*\)$/\1/p;d'`
18811 if ${version:+false} :; then :
18816 awk "$as_awk_strverscmp" v1
="$as_arg_v1" v2
="$as_arg_v2" /dev
/null
18821 ac_cv_path_GNUTAR
=$ac_path_GNUTAR ;; #(
18823 ac_cv_path_GNUTAR
=$ac_path_GNUTAR ;; #(
18829 $ac_path_GNUTAR_found && break 3
18834 if test -z "$ac_cv_path_GNUTAR"; then
18835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18836 $as_echo "no" >&6; }
18839 ac_cv_path_GNUTAR
=$GNUTAR
18845 GNUTAR
=$ac_cv_path_GNUTAR
18847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNUTAR" >&5
18848 $as_echo "$GNUTAR" >&6; }
18853 as_fn_error $?
"You need tar gtar gnutar 1.19 or greater" "$LINENO" 5
18859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18860 $as_echo "no" >&6; }
18871 if test "x$LFLAGS" = x
; then :
18872 LFLAGS
="--full --ecs"
18880 ac_cpp
='$CPP $CPPFLAGS'
18881 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18882 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18883 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking CFLAGS for maximum warnings" >&5
18886 $as_echo_n "checking CFLAGS for maximum warnings... " >&6; }
18887 if ${ac_cv_cflags_warn_all+:} false
; then :
18888 $as_echo_n "(cached) " >&6
18890 ac_cv_cflags_warn_all
="no, unknown"
18891 ac_save_CFLAGS
="$CFLAGS"
18892 for ac_arg
in "-warn all % -warn all" "-pedantic % -Wall" "-xstrconst % -v" "-std1 % -verbose -w0 -warnprotos" "-qlanglvl=ansi % -qsrcmsg -qinfo=all:noppt:noppc:noobs:nocnd" "-ansi -ansiE % -fullwarn" "+ESlit % +w1" "-Xc % -pvctl,fullmsg" "-h conform % -h msglevel 2" #
18893 do CFLAGS
="$ac_save_CFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
18894 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18895 /* end confdefs.h. */
18905 if ac_fn_c_try_compile
"$LINENO"; then :
18906 ac_cv_cflags_warn_all
=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
18908 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18910 CFLAGS
="$ac_save_CFLAGS"
18913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags_warn_all" >&5
18914 $as_echo "$ac_cv_cflags_warn_all" >&6; }
18917 case ".$ac_cv_cflags_warn_all" in
18920 *) if ${CFLAGS+:} false
; then :
18921 case " $CFLAGS " in
18922 *" $ac_cv_cflags_warn_all "*)
18923 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$ac_cv_cflags_warn_all"; } >&5
18924 (: CFLAGS already contains
$ac_cv_cflags_warn_all) 2>&5
18926 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18927 test $ac_status = 0; }
18930 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$ac_cv_cflags_warn_all\""; } >&5
18931 (: CFLAGS
="$CFLAGS $ac_cv_cflags_warn_all") 2>&5
18933 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18934 test $ac_status = 0; }
18935 CFLAGS
="$CFLAGS $ac_cv_cflags_warn_all"
18939 CFLAGS
="$ac_cv_cflags_warn_all"
18945 ac_cpp
='$CXXCPP $CPPFLAGS'
18946 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18947 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18948 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18952 ac_cpp
='$CXXCPP $CPPFLAGS'
18953 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18954 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18955 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking CXXFLAGS for maximum warnings" >&5
18958 $as_echo_n "checking CXXFLAGS for maximum warnings... " >&6; }
18959 if ${ac_cv_cxxflags_warn_all+:} false
; then :
18960 $as_echo_n "(cached) " >&6
18962 ac_cv_cxxflags_warn_all
="no, unknown"
18963 ac_save_CXXFLAGS
="$CXXFLAGS"
18964 for ac_arg
in "-warn all % -warn all" "-pedantic % -Wall" "-xstrconst % -v" "-std1 % -verbose -w0 -warnprotos" "-qlanglvl=ansi % -qsrcmsg -qinfo=all:noppt:noppc:noobs:nocnd" "-ansi -ansiE % -fullwarn" "+ESlit % +w1" "-Xc % -pvctl,fullmsg" "-h conform % -h msglevel 2" #
18965 do CXXFLAGS
="$ac_save_CXXFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
18966 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18967 /* end confdefs.h. */
18977 if ac_fn_cxx_try_compile
"$LINENO"; then :
18978 ac_cv_cxxflags_warn_all
=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
18980 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18982 CXXFLAGS
="$ac_save_CXXFLAGS"
18985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxxflags_warn_all" >&5
18986 $as_echo "$ac_cv_cxxflags_warn_all" >&6; }
18989 case ".$ac_cv_cxxflags_warn_all" in
18992 *) if ${CXXFLAGS+:} false
; then :
18993 case " $CXXFLAGS " in
18994 *" $ac_cv_cxxflags_warn_all "*)
18995 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXFLAGS already contains \$ac_cv_cxxflags_warn_all"; } >&5
18996 (: CXXFLAGS already contains
$ac_cv_cxxflags_warn_all) 2>&5
18998 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18999 test $ac_status = 0; }
19002 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXFLAGS=\"\$CXXFLAGS \$ac_cv_cxxflags_warn_all\""; } >&5
19003 (: CXXFLAGS
="$CXXFLAGS $ac_cv_cxxflags_warn_all") 2>&5
19005 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19006 test $ac_status = 0; }
19007 CXXFLAGS
="$CXXFLAGS $ac_cv_cxxflags_warn_all"
19011 CXXFLAGS
="$ac_cv_cxxflags_warn_all"
19017 ac_cpp
='$CXXCPP $CPPFLAGS'
19018 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19019 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19020 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking CXXFLAGS for maximum warnings" >&5
19024 $as_echo_n "checking CXXFLAGS for maximum warnings... " >&6; }
19025 if ${ac_cv_cxxflags_warn_all+:} false
; then :
19026 $as_echo_n "(cached) " >&6
19028 ac_cv_cxxflags_warn_all
="no, unknown"
19029 ac_save_CXXFLAGS
="$CXXFLAGS"
19030 for ac_arg
in "-warn all % -warn all" "-pedantic % -Wall" "-xstrconst % -v" "-std1 % -verbose -w0 -warnprotos" "-qlanglvl=ansi % -qsrcmsg -qinfo=all:noppt:noppc:noobs:nocnd" "-ansi -ansiE % -fullwarn" "+ESlit % +w1" "-Xc % -pvctl,fullmsg" "-h conform % -h msglevel 2" #
19031 do CXXFLAGS
="$ac_save_CXXFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
19032 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19033 /* end confdefs.h. */
19043 if ac_fn_cxx_try_compile
"$LINENO"; then :
19044 ac_cv_cxxflags_warn_all
=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
19046 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19048 CXXFLAGS
="$ac_save_CXXFLAGS"
19051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxxflags_warn_all" >&5
19052 $as_echo "$ac_cv_cxxflags_warn_all" >&6; }
19055 case ".$ac_cv_cxxflags_warn_all" in
19058 *) if ${CXXFLAGS+:} false
; then :
19059 case " $CXXFLAGS " in
19060 *" $ac_cv_cxxflags_warn_all "*)
19061 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXFLAGS already contains \$ac_cv_cxxflags_warn_all"; } >&5
19062 (: CXXFLAGS already contains
$ac_cv_cxxflags_warn_all) 2>&5
19064 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19065 test $ac_status = 0; }
19068 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXFLAGS=\"\$CXXFLAGS \$ac_cv_cxxflags_warn_all\""; } >&5
19069 (: CXXFLAGS
="$CXXFLAGS $ac_cv_cxxflags_warn_all") 2>&5
19071 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19072 test $ac_status = 0; }
19073 CXXFLAGS
="$CXXFLAGS $ac_cv_cxxflags_warn_all"
19077 CXXFLAGS
="$ac_cv_cxxflags_warn_all"
19087 ac_cpp
='$CPP $CPPFLAGS'
19088 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19089 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19090 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cc -Werror" >&5
19093 $as_echo_n "checking for cc -Werror... " >&6; }
19097 for element
in -Werror; do
19099 for x
in $CFLAGS; do
19101 acl_save_prefix
="$prefix"
19102 prefix
="$acl_final_prefix"
19103 acl_save_exec_prefix
="$exec_prefix"
19104 exec_prefix
="$acl_final_exec_prefix"
19106 exec_prefix
="$acl_save_exec_prefix"
19107 prefix
="$acl_save_prefix"
19109 if test "X$x" = "X$element"; then
19114 if test -z "$haveit"; then
19115 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
19120 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19121 /* end confdefs.h. */
19124 if ac_fn_c_try_compile
"$LINENO"; then :
19129 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19132 if test "x$cy_good" = x1
; then :
19133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19134 $as_echo "yes" >&6; }
19136 for element
in -Werror; do
19138 for x
in $CFLAGS; do
19140 acl_save_prefix
="$prefix"
19141 prefix
="$acl_final_prefix"
19142 acl_save_exec_prefix
="$exec_prefix"
19143 exec_prefix
="$acl_final_exec_prefix"
19145 exec_prefix
="$acl_save_exec_prefix"
19146 prefix
="$acl_save_prefix"
19148 if test "X$x" = "X$element"; then
19153 if test -z "$haveit"; then
19154 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
19160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19161 $as_echo "no" >&6; }
19165 ac_cpp
='$CXXCPP $CPPFLAGS'
19166 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19167 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19168 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19173 ac_cpp
='$CXXCPP $CPPFLAGS'
19174 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19175 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19176 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -Werror" >&5
19179 $as_echo_n "checking for c++ -Werror... " >&6; }
19183 for element
in -Werror; do
19185 for x
in $CXXFLAGS; do
19187 acl_save_prefix
="$prefix"
19188 prefix
="$acl_final_prefix"
19189 acl_save_exec_prefix
="$exec_prefix"
19190 exec_prefix
="$acl_final_exec_prefix"
19192 exec_prefix
="$acl_save_exec_prefix"
19193 prefix
="$acl_save_prefix"
19195 if test "X$x" = "X$element"; then
19200 if test -z "$haveit"; then
19201 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
19206 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19207 /* end confdefs.h. */
19210 if ac_fn_cxx_try_compile
"$LINENO"; then :
19215 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19218 if test "x$cy_good" = x1
; then :
19219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19220 $as_echo "yes" >&6; }
19222 for element
in -Werror; do
19224 for x
in $CXXFLAGS; do
19226 acl_save_prefix
="$prefix"
19227 prefix
="$acl_final_prefix"
19228 acl_save_exec_prefix
="$exec_prefix"
19229 exec_prefix
="$acl_final_exec_prefix"
19231 exec_prefix
="$acl_save_exec_prefix"
19232 prefix
="$acl_save_prefix"
19234 if test "X$x" = "X$element"; then
19239 if test -z "$haveit"; then
19240 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
19246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19247 $as_echo "no" >&6; }
19251 ac_cpp
='$CXXCPP $CPPFLAGS'
19252 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19253 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19254 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19259 ac_cpp
='$OBJCXXCPP $CPPFLAGS'
19260 ac_compile
='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19261 ac_link
='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19262 ac_compiler_gnu
=$ac_cv_objcxx_compiler_gnu
19264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -ObjC -Werror" >&5
19265 $as_echo_n "checking for c++ -ObjC -Werror... " >&6; }
19267 cy_save
=$OBJCXXFLAGS
19269 for element
in -Werror; do
19271 for x
in $OBJCXXFLAGS; do
19273 acl_save_prefix
="$prefix"
19274 prefix
="$acl_final_prefix"
19275 acl_save_exec_prefix
="$exec_prefix"
19276 exec_prefix
="$acl_final_exec_prefix"
19278 exec_prefix
="$acl_save_exec_prefix"
19279 prefix
="$acl_save_prefix"
19281 if test "X$x" = "X$element"; then
19286 if test -z "$haveit"; then
19287 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
19292 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19293 /* end confdefs.h. */
19296 if ac_fn_objcxx_try_compile
"$LINENO"; then :
19301 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19303 OBJCXXFLAGS
=$cy_save
19304 if test "x$cy_good" = x1
; then :
19305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19306 $as_echo "yes" >&6; }
19308 for element
in -Werror; do
19310 for x
in $OBJCXXFLAGS; do
19312 acl_save_prefix
="$prefix"
19313 prefix
="$acl_final_prefix"
19314 acl_save_exec_prefix
="$exec_prefix"
19315 exec_prefix
="$acl_final_exec_prefix"
19317 exec_prefix
="$acl_save_exec_prefix"
19318 prefix
="$acl_save_prefix"
19320 if test "X$x" = "X$element"; then
19325 if test -z "$haveit"; then
19326 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
19332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19333 $as_echo "no" >&6; }
19337 ac_cpp
='$CXXCPP $CPPFLAGS'
19338 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19339 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19340 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19348 ac_cpp
='$CPP $CPPFLAGS'
19349 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19350 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19351 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cc -Wno-deprecated-declarations" >&5
19354 $as_echo_n "checking for cc -Wno-deprecated-declarations... " >&6; }
19358 for element
in -Wno-deprecated-declarations; do
19360 for x
in $CFLAGS; do
19362 acl_save_prefix
="$prefix"
19363 prefix
="$acl_final_prefix"
19364 acl_save_exec_prefix
="$exec_prefix"
19365 exec_prefix
="$acl_final_exec_prefix"
19367 exec_prefix
="$acl_save_exec_prefix"
19368 prefix
="$acl_save_prefix"
19370 if test "X$x" = "X$element"; then
19375 if test -z "$haveit"; then
19376 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
19381 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19382 /* end confdefs.h. */
19385 if ac_fn_c_try_compile
"$LINENO"; then :
19390 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19393 if test "x$cy_good" = x1
; then :
19394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19395 $as_echo "yes" >&6; }
19397 for element
in -Wno-deprecated-declarations; do
19399 for x
in $CFLAGS; do
19401 acl_save_prefix
="$prefix"
19402 prefix
="$acl_final_prefix"
19403 acl_save_exec_prefix
="$exec_prefix"
19404 exec_prefix
="$acl_final_exec_prefix"
19406 exec_prefix
="$acl_save_exec_prefix"
19407 prefix
="$acl_save_prefix"
19409 if test "X$x" = "X$element"; then
19414 if test -z "$haveit"; then
19415 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
19421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19422 $as_echo "no" >&6; }
19426 ac_cpp
='$CXXCPP $CPPFLAGS'
19427 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19428 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19429 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19434 ac_cpp
='$CXXCPP $CPPFLAGS'
19435 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19436 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19437 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -Wno-deprecated-declarations" >&5
19440 $as_echo_n "checking for c++ -Wno-deprecated-declarations... " >&6; }
19444 for element
in -Wno-deprecated-declarations; do
19446 for x
in $CXXFLAGS; do
19448 acl_save_prefix
="$prefix"
19449 prefix
="$acl_final_prefix"
19450 acl_save_exec_prefix
="$exec_prefix"
19451 exec_prefix
="$acl_final_exec_prefix"
19453 exec_prefix
="$acl_save_exec_prefix"
19454 prefix
="$acl_save_prefix"
19456 if test "X$x" = "X$element"; then
19461 if test -z "$haveit"; then
19462 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
19467 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19468 /* end confdefs.h. */
19471 if ac_fn_cxx_try_compile
"$LINENO"; then :
19476 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19479 if test "x$cy_good" = x1
; then :
19480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19481 $as_echo "yes" >&6; }
19483 for element
in -Wno-deprecated-declarations; do
19485 for x
in $CXXFLAGS; do
19487 acl_save_prefix
="$prefix"
19488 prefix
="$acl_final_prefix"
19489 acl_save_exec_prefix
="$exec_prefix"
19490 exec_prefix
="$acl_final_exec_prefix"
19492 exec_prefix
="$acl_save_exec_prefix"
19493 prefix
="$acl_save_prefix"
19495 if test "X$x" = "X$element"; then
19500 if test -z "$haveit"; then
19501 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
19507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19508 $as_echo "no" >&6; }
19512 ac_cpp
='$CXXCPP $CPPFLAGS'
19513 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19514 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19515 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19520 ac_cpp
='$OBJCXXCPP $CPPFLAGS'
19521 ac_compile
='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19522 ac_link
='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19523 ac_compiler_gnu
=$ac_cv_objcxx_compiler_gnu
19525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -ObjC -Wno-deprecated-declarations" >&5
19526 $as_echo_n "checking for c++ -ObjC -Wno-deprecated-declarations... " >&6; }
19528 cy_save
=$OBJCXXFLAGS
19530 for element
in -Wno-deprecated-declarations; do
19532 for x
in $OBJCXXFLAGS; do
19534 acl_save_prefix
="$prefix"
19535 prefix
="$acl_final_prefix"
19536 acl_save_exec_prefix
="$exec_prefix"
19537 exec_prefix
="$acl_final_exec_prefix"
19539 exec_prefix
="$acl_save_exec_prefix"
19540 prefix
="$acl_save_prefix"
19542 if test "X$x" = "X$element"; then
19547 if test -z "$haveit"; then
19548 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
19553 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19554 /* end confdefs.h. */
19557 if ac_fn_objcxx_try_compile
"$LINENO"; then :
19562 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19564 OBJCXXFLAGS
=$cy_save
19565 if test "x$cy_good" = x1
; then :
19566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19567 $as_echo "yes" >&6; }
19569 for element
in -Wno-deprecated-declarations; do
19571 for x
in $OBJCXXFLAGS; do
19573 acl_save_prefix
="$prefix"
19574 prefix
="$acl_final_prefix"
19575 acl_save_exec_prefix
="$exec_prefix"
19576 exec_prefix
="$acl_final_exec_prefix"
19578 exec_prefix
="$acl_save_exec_prefix"
19579 prefix
="$acl_save_prefix"
19581 if test "X$x" = "X$element"; then
19586 if test -z "$haveit"; then
19587 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
19593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19594 $as_echo "no" >&6; }
19598 ac_cpp
='$CXXCPP $CPPFLAGS'
19599 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19600 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19601 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19609 ac_cpp
='$CPP $CPPFLAGS'
19610 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19611 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19612 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cc -Wno-dangling-else" >&5
19615 $as_echo_n "checking for cc -Wno-dangling-else... " >&6; }
19619 for element
in -Wno-dangling-else; do
19621 for x
in $CFLAGS; do
19623 acl_save_prefix
="$prefix"
19624 prefix
="$acl_final_prefix"
19625 acl_save_exec_prefix
="$exec_prefix"
19626 exec_prefix
="$acl_final_exec_prefix"
19628 exec_prefix
="$acl_save_exec_prefix"
19629 prefix
="$acl_save_prefix"
19631 if test "X$x" = "X$element"; then
19636 if test -z "$haveit"; then
19637 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
19642 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19643 /* end confdefs.h. */
19646 if ac_fn_c_try_compile
"$LINENO"; then :
19651 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19654 if test "x$cy_good" = x1
; then :
19655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19656 $as_echo "yes" >&6; }
19658 for element
in -Wno-dangling-else; do
19660 for x
in $CFLAGS; do
19662 acl_save_prefix
="$prefix"
19663 prefix
="$acl_final_prefix"
19664 acl_save_exec_prefix
="$exec_prefix"
19665 exec_prefix
="$acl_final_exec_prefix"
19667 exec_prefix
="$acl_save_exec_prefix"
19668 prefix
="$acl_save_prefix"
19670 if test "X$x" = "X$element"; then
19675 if test -z "$haveit"; then
19676 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
19682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19683 $as_echo "no" >&6; }
19687 ac_cpp
='$CXXCPP $CPPFLAGS'
19688 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19689 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19690 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19695 ac_cpp
='$CXXCPP $CPPFLAGS'
19696 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19697 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19698 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -Wno-dangling-else" >&5
19701 $as_echo_n "checking for c++ -Wno-dangling-else... " >&6; }
19705 for element
in -Wno-dangling-else; do
19707 for x
in $CXXFLAGS; do
19709 acl_save_prefix
="$prefix"
19710 prefix
="$acl_final_prefix"
19711 acl_save_exec_prefix
="$exec_prefix"
19712 exec_prefix
="$acl_final_exec_prefix"
19714 exec_prefix
="$acl_save_exec_prefix"
19715 prefix
="$acl_save_prefix"
19717 if test "X$x" = "X$element"; then
19722 if test -z "$haveit"; then
19723 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
19728 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19729 /* end confdefs.h. */
19732 if ac_fn_cxx_try_compile
"$LINENO"; then :
19737 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19740 if test "x$cy_good" = x1
; then :
19741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19742 $as_echo "yes" >&6; }
19744 for element
in -Wno-dangling-else; do
19746 for x
in $CXXFLAGS; do
19748 acl_save_prefix
="$prefix"
19749 prefix
="$acl_final_prefix"
19750 acl_save_exec_prefix
="$exec_prefix"
19751 exec_prefix
="$acl_final_exec_prefix"
19753 exec_prefix
="$acl_save_exec_prefix"
19754 prefix
="$acl_save_prefix"
19756 if test "X$x" = "X$element"; then
19761 if test -z "$haveit"; then
19762 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
19768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19769 $as_echo "no" >&6; }
19773 ac_cpp
='$CXXCPP $CPPFLAGS'
19774 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19775 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19776 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19781 ac_cpp
='$OBJCXXCPP $CPPFLAGS'
19782 ac_compile
='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19783 ac_link
='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19784 ac_compiler_gnu
=$ac_cv_objcxx_compiler_gnu
19786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -ObjC -Wno-dangling-else" >&5
19787 $as_echo_n "checking for c++ -ObjC -Wno-dangling-else... " >&6; }
19789 cy_save
=$OBJCXXFLAGS
19791 for element
in -Wno-dangling-else; do
19793 for x
in $OBJCXXFLAGS; do
19795 acl_save_prefix
="$prefix"
19796 prefix
="$acl_final_prefix"
19797 acl_save_exec_prefix
="$exec_prefix"
19798 exec_prefix
="$acl_final_exec_prefix"
19800 exec_prefix
="$acl_save_exec_prefix"
19801 prefix
="$acl_save_prefix"
19803 if test "X$x" = "X$element"; then
19808 if test -z "$haveit"; then
19809 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
19814 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19815 /* end confdefs.h. */
19818 if ac_fn_objcxx_try_compile
"$LINENO"; then :
19823 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19825 OBJCXXFLAGS
=$cy_save
19826 if test "x$cy_good" = x1
; then :
19827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19828 $as_echo "yes" >&6; }
19830 for element
in -Wno-dangling-else; do
19832 for x
in $OBJCXXFLAGS; do
19834 acl_save_prefix
="$prefix"
19835 prefix
="$acl_final_prefix"
19836 acl_save_exec_prefix
="$exec_prefix"
19837 exec_prefix
="$acl_final_exec_prefix"
19839 exec_prefix
="$acl_save_exec_prefix"
19840 prefix
="$acl_save_prefix"
19842 if test "X$x" = "X$element"; then
19847 if test -z "$haveit"; then
19848 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
19854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19855 $as_echo "no" >&6; }
19859 ac_cpp
='$CXXCPP $CPPFLAGS'
19860 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19861 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19862 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19869 ac_cpp
='$CPP $CPPFLAGS'
19870 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19871 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19872 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cc -Wno-empty-body" >&5
19875 $as_echo_n "checking for cc -Wno-empty-body... " >&6; }
19879 for element
in -Wno-empty-body; do
19881 for x
in $CFLAGS; do
19883 acl_save_prefix
="$prefix"
19884 prefix
="$acl_final_prefix"
19885 acl_save_exec_prefix
="$exec_prefix"
19886 exec_prefix
="$acl_final_exec_prefix"
19888 exec_prefix
="$acl_save_exec_prefix"
19889 prefix
="$acl_save_prefix"
19891 if test "X$x" = "X$element"; then
19896 if test -z "$haveit"; then
19897 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
19902 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19903 /* end confdefs.h. */
19906 if ac_fn_c_try_compile
"$LINENO"; then :
19911 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19914 if test "x$cy_good" = x1
; then :
19915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19916 $as_echo "yes" >&6; }
19918 for element
in -Wno-empty-body; do
19920 for x
in $CFLAGS; do
19922 acl_save_prefix
="$prefix"
19923 prefix
="$acl_final_prefix"
19924 acl_save_exec_prefix
="$exec_prefix"
19925 exec_prefix
="$acl_final_exec_prefix"
19927 exec_prefix
="$acl_save_exec_prefix"
19928 prefix
="$acl_save_prefix"
19930 if test "X$x" = "X$element"; then
19935 if test -z "$haveit"; then
19936 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
19942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19943 $as_echo "no" >&6; }
19947 ac_cpp
='$CXXCPP $CPPFLAGS'
19948 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19949 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19950 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19955 ac_cpp
='$CXXCPP $CPPFLAGS'
19956 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19957 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19958 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -Wno-empty-body" >&5
19961 $as_echo_n "checking for c++ -Wno-empty-body... " >&6; }
19965 for element
in -Wno-empty-body; do
19967 for x
in $CXXFLAGS; do
19969 acl_save_prefix
="$prefix"
19970 prefix
="$acl_final_prefix"
19971 acl_save_exec_prefix
="$exec_prefix"
19972 exec_prefix
="$acl_final_exec_prefix"
19974 exec_prefix
="$acl_save_exec_prefix"
19975 prefix
="$acl_save_prefix"
19977 if test "X$x" = "X$element"; then
19982 if test -z "$haveit"; then
19983 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
19988 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19989 /* end confdefs.h. */
19992 if ac_fn_cxx_try_compile
"$LINENO"; then :
19997 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20000 if test "x$cy_good" = x1
; then :
20001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20002 $as_echo "yes" >&6; }
20004 for element
in -Wno-empty-body; do
20006 for x
in $CXXFLAGS; do
20008 acl_save_prefix
="$prefix"
20009 prefix
="$acl_final_prefix"
20010 acl_save_exec_prefix
="$exec_prefix"
20011 exec_prefix
="$acl_final_exec_prefix"
20013 exec_prefix
="$acl_save_exec_prefix"
20014 prefix
="$acl_save_prefix"
20016 if test "X$x" = "X$element"; then
20021 if test -z "$haveit"; then
20022 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
20028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20029 $as_echo "no" >&6; }
20033 ac_cpp
='$CXXCPP $CPPFLAGS'
20034 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20035 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20036 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20041 ac_cpp
='$OBJCXXCPP $CPPFLAGS'
20042 ac_compile
='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20043 ac_link
='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20044 ac_compiler_gnu
=$ac_cv_objcxx_compiler_gnu
20046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -ObjC -Wno-empty-body" >&5
20047 $as_echo_n "checking for c++ -ObjC -Wno-empty-body... " >&6; }
20049 cy_save
=$OBJCXXFLAGS
20051 for element
in -Wno-empty-body; do
20053 for x
in $OBJCXXFLAGS; do
20055 acl_save_prefix
="$prefix"
20056 prefix
="$acl_final_prefix"
20057 acl_save_exec_prefix
="$exec_prefix"
20058 exec_prefix
="$acl_final_exec_prefix"
20060 exec_prefix
="$acl_save_exec_prefix"
20061 prefix
="$acl_save_prefix"
20063 if test "X$x" = "X$element"; then
20068 if test -z "$haveit"; then
20069 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
20074 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20075 /* end confdefs.h. */
20078 if ac_fn_objcxx_try_compile
"$LINENO"; then :
20083 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20085 OBJCXXFLAGS
=$cy_save
20086 if test "x$cy_good" = x1
; then :
20087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20088 $as_echo "yes" >&6; }
20090 for element
in -Wno-empty-body; do
20092 for x
in $OBJCXXFLAGS; do
20094 acl_save_prefix
="$prefix"
20095 prefix
="$acl_final_prefix"
20096 acl_save_exec_prefix
="$exec_prefix"
20097 exec_prefix
="$acl_final_exec_prefix"
20099 exec_prefix
="$acl_save_exec_prefix"
20100 prefix
="$acl_save_prefix"
20102 if test "X$x" = "X$element"; then
20107 if test -z "$haveit"; then
20108 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
20114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20115 $as_echo "no" >&6; }
20119 ac_cpp
='$CXXCPP $CPPFLAGS'
20120 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20121 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20122 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20129 ac_cpp
='$CPP $CPPFLAGS'
20130 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20131 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20132 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cc -Wno-overloaded-virtual" >&5
20135 $as_echo_n "checking for cc -Wno-overloaded-virtual... " >&6; }
20139 for element
in -Wno-overloaded-virtual; do
20141 for x
in $CFLAGS; do
20143 acl_save_prefix
="$prefix"
20144 prefix
="$acl_final_prefix"
20145 acl_save_exec_prefix
="$exec_prefix"
20146 exec_prefix
="$acl_final_exec_prefix"
20148 exec_prefix
="$acl_save_exec_prefix"
20149 prefix
="$acl_save_prefix"
20151 if test "X$x" = "X$element"; then
20156 if test -z "$haveit"; then
20157 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
20162 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20163 /* end confdefs.h. */
20166 if ac_fn_c_try_compile
"$LINENO"; then :
20171 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20174 if test "x$cy_good" = x1
; then :
20175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20176 $as_echo "yes" >&6; }
20178 for element
in -Wno-overloaded-virtual; do
20180 for x
in $CFLAGS; do
20182 acl_save_prefix
="$prefix"
20183 prefix
="$acl_final_prefix"
20184 acl_save_exec_prefix
="$exec_prefix"
20185 exec_prefix
="$acl_final_exec_prefix"
20187 exec_prefix
="$acl_save_exec_prefix"
20188 prefix
="$acl_save_prefix"
20190 if test "X$x" = "X$element"; then
20195 if test -z "$haveit"; then
20196 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
20202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20203 $as_echo "no" >&6; }
20207 ac_cpp
='$CXXCPP $CPPFLAGS'
20208 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20209 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20210 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20215 ac_cpp
='$CXXCPP $CPPFLAGS'
20216 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20217 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20218 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -Wno-overloaded-virtual" >&5
20221 $as_echo_n "checking for c++ -Wno-overloaded-virtual... " >&6; }
20225 for element
in -Wno-overloaded-virtual; do
20227 for x
in $CXXFLAGS; do
20229 acl_save_prefix
="$prefix"
20230 prefix
="$acl_final_prefix"
20231 acl_save_exec_prefix
="$exec_prefix"
20232 exec_prefix
="$acl_final_exec_prefix"
20234 exec_prefix
="$acl_save_exec_prefix"
20235 prefix
="$acl_save_prefix"
20237 if test "X$x" = "X$element"; then
20242 if test -z "$haveit"; then
20243 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
20248 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20249 /* end confdefs.h. */
20252 if ac_fn_cxx_try_compile
"$LINENO"; then :
20257 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20260 if test "x$cy_good" = x1
; then :
20261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20262 $as_echo "yes" >&6; }
20264 for element
in -Wno-overloaded-virtual; do
20266 for x
in $CXXFLAGS; do
20268 acl_save_prefix
="$prefix"
20269 prefix
="$acl_final_prefix"
20270 acl_save_exec_prefix
="$exec_prefix"
20271 exec_prefix
="$acl_final_exec_prefix"
20273 exec_prefix
="$acl_save_exec_prefix"
20274 prefix
="$acl_save_prefix"
20276 if test "X$x" = "X$element"; then
20281 if test -z "$haveit"; then
20282 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
20288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20289 $as_echo "no" >&6; }
20293 ac_cpp
='$CXXCPP $CPPFLAGS'
20294 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20295 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20296 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20301 ac_cpp
='$OBJCXXCPP $CPPFLAGS'
20302 ac_compile
='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20303 ac_link
='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20304 ac_compiler_gnu
=$ac_cv_objcxx_compiler_gnu
20306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -ObjC -Wno-overloaded-virtual" >&5
20307 $as_echo_n "checking for c++ -ObjC -Wno-overloaded-virtual... " >&6; }
20309 cy_save
=$OBJCXXFLAGS
20311 for element
in -Wno-overloaded-virtual; do
20313 for x
in $OBJCXXFLAGS; do
20315 acl_save_prefix
="$prefix"
20316 prefix
="$acl_final_prefix"
20317 acl_save_exec_prefix
="$exec_prefix"
20318 exec_prefix
="$acl_final_exec_prefix"
20320 exec_prefix
="$acl_save_exec_prefix"
20321 prefix
="$acl_save_prefix"
20323 if test "X$x" = "X$element"; then
20328 if test -z "$haveit"; then
20329 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
20334 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20335 /* end confdefs.h. */
20338 if ac_fn_objcxx_try_compile
"$LINENO"; then :
20343 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20345 OBJCXXFLAGS
=$cy_save
20346 if test "x$cy_good" = x1
; then :
20347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20348 $as_echo "yes" >&6; }
20350 for element
in -Wno-overloaded-virtual; do
20352 for x
in $OBJCXXFLAGS; do
20354 acl_save_prefix
="$prefix"
20355 prefix
="$acl_final_prefix"
20356 acl_save_exec_prefix
="$exec_prefix"
20357 exec_prefix
="$acl_final_exec_prefix"
20359 exec_prefix
="$acl_save_exec_prefix"
20360 prefix
="$acl_save_prefix"
20362 if test "X$x" = "X$element"; then
20367 if test -z "$haveit"; then
20368 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
20374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20375 $as_echo "no" >&6; }
20379 ac_cpp
='$CXXCPP $CPPFLAGS'
20380 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20381 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20382 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20389 ac_cpp
='$CPP $CPPFLAGS'
20390 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20391 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20392 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cc -Wno-parentheses" >&5
20395 $as_echo_n "checking for cc -Wno-parentheses... " >&6; }
20399 for element
in -Wno-parentheses; do
20401 for x
in $CFLAGS; do
20403 acl_save_prefix
="$prefix"
20404 prefix
="$acl_final_prefix"
20405 acl_save_exec_prefix
="$exec_prefix"
20406 exec_prefix
="$acl_final_exec_prefix"
20408 exec_prefix
="$acl_save_exec_prefix"
20409 prefix
="$acl_save_prefix"
20411 if test "X$x" = "X$element"; then
20416 if test -z "$haveit"; then
20417 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
20422 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20423 /* end confdefs.h. */
20426 if ac_fn_c_try_compile
"$LINENO"; then :
20431 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20434 if test "x$cy_good" = x1
; then :
20435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20436 $as_echo "yes" >&6; }
20438 for element
in -Wno-parentheses; do
20440 for x
in $CFLAGS; do
20442 acl_save_prefix
="$prefix"
20443 prefix
="$acl_final_prefix"
20444 acl_save_exec_prefix
="$exec_prefix"
20445 exec_prefix
="$acl_final_exec_prefix"
20447 exec_prefix
="$acl_save_exec_prefix"
20448 prefix
="$acl_save_prefix"
20450 if test "X$x" = "X$element"; then
20455 if test -z "$haveit"; then
20456 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
20462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20463 $as_echo "no" >&6; }
20467 ac_cpp
='$CXXCPP $CPPFLAGS'
20468 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20469 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20470 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20475 ac_cpp
='$CXXCPP $CPPFLAGS'
20476 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20477 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20478 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -Wno-parentheses" >&5
20481 $as_echo_n "checking for c++ -Wno-parentheses... " >&6; }
20485 for element
in -Wno-parentheses; do
20487 for x
in $CXXFLAGS; do
20489 acl_save_prefix
="$prefix"
20490 prefix
="$acl_final_prefix"
20491 acl_save_exec_prefix
="$exec_prefix"
20492 exec_prefix
="$acl_final_exec_prefix"
20494 exec_prefix
="$acl_save_exec_prefix"
20495 prefix
="$acl_save_prefix"
20497 if test "X$x" = "X$element"; then
20502 if test -z "$haveit"; then
20503 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
20508 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20509 /* end confdefs.h. */
20512 if ac_fn_cxx_try_compile
"$LINENO"; then :
20517 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20520 if test "x$cy_good" = x1
; then :
20521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20522 $as_echo "yes" >&6; }
20524 for element
in -Wno-parentheses; do
20526 for x
in $CXXFLAGS; do
20528 acl_save_prefix
="$prefix"
20529 prefix
="$acl_final_prefix"
20530 acl_save_exec_prefix
="$exec_prefix"
20531 exec_prefix
="$acl_final_exec_prefix"
20533 exec_prefix
="$acl_save_exec_prefix"
20534 prefix
="$acl_save_prefix"
20536 if test "X$x" = "X$element"; then
20541 if test -z "$haveit"; then
20542 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
20548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20549 $as_echo "no" >&6; }
20553 ac_cpp
='$CXXCPP $CPPFLAGS'
20554 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20555 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20556 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20561 ac_cpp
='$OBJCXXCPP $CPPFLAGS'
20562 ac_compile
='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20563 ac_link
='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20564 ac_compiler_gnu
=$ac_cv_objcxx_compiler_gnu
20566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -ObjC -Wno-parentheses" >&5
20567 $as_echo_n "checking for c++ -ObjC -Wno-parentheses... " >&6; }
20569 cy_save
=$OBJCXXFLAGS
20571 for element
in -Wno-parentheses; do
20573 for x
in $OBJCXXFLAGS; do
20575 acl_save_prefix
="$prefix"
20576 prefix
="$acl_final_prefix"
20577 acl_save_exec_prefix
="$exec_prefix"
20578 exec_prefix
="$acl_final_exec_prefix"
20580 exec_prefix
="$acl_save_exec_prefix"
20581 prefix
="$acl_save_prefix"
20583 if test "X$x" = "X$element"; then
20588 if test -z "$haveit"; then
20589 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
20594 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20595 /* end confdefs.h. */
20598 if ac_fn_objcxx_try_compile
"$LINENO"; then :
20603 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20605 OBJCXXFLAGS
=$cy_save
20606 if test "x$cy_good" = x1
; then :
20607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20608 $as_echo "yes" >&6; }
20610 for element
in -Wno-parentheses; do
20612 for x
in $OBJCXXFLAGS; do
20614 acl_save_prefix
="$prefix"
20615 prefix
="$acl_final_prefix"
20616 acl_save_exec_prefix
="$exec_prefix"
20617 exec_prefix
="$acl_final_exec_prefix"
20619 exec_prefix
="$acl_save_exec_prefix"
20620 prefix
="$acl_save_prefix"
20622 if test "X$x" = "X$element"; then
20627 if test -z "$haveit"; then
20628 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
20634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20635 $as_echo "no" >&6; }
20639 ac_cpp
='$CXXCPP $CPPFLAGS'
20640 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20641 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20642 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20649 ac_cpp
='$CPP $CPPFLAGS'
20650 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20651 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20652 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cc -Wno-tautological-undefined-compare" >&5
20655 $as_echo_n "checking for cc -Wno-tautological-undefined-compare... " >&6; }
20659 for element
in -Wno-tautological-undefined-compare; do
20661 for x
in $CFLAGS; do
20663 acl_save_prefix
="$prefix"
20664 prefix
="$acl_final_prefix"
20665 acl_save_exec_prefix
="$exec_prefix"
20666 exec_prefix
="$acl_final_exec_prefix"
20668 exec_prefix
="$acl_save_exec_prefix"
20669 prefix
="$acl_save_prefix"
20671 if test "X$x" = "X$element"; then
20676 if test -z "$haveit"; then
20677 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
20682 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20683 /* end confdefs.h. */
20686 if ac_fn_c_try_compile
"$LINENO"; then :
20691 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20694 if test "x$cy_good" = x1
; then :
20695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20696 $as_echo "yes" >&6; }
20698 for element
in -Wno-tautological-undefined-compare; do
20700 for x
in $CFLAGS; do
20702 acl_save_prefix
="$prefix"
20703 prefix
="$acl_final_prefix"
20704 acl_save_exec_prefix
="$exec_prefix"
20705 exec_prefix
="$acl_final_exec_prefix"
20707 exec_prefix
="$acl_save_exec_prefix"
20708 prefix
="$acl_save_prefix"
20710 if test "X$x" = "X$element"; then
20715 if test -z "$haveit"; then
20716 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
20722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20723 $as_echo "no" >&6; }
20727 ac_cpp
='$CXXCPP $CPPFLAGS'
20728 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20729 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20730 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20735 ac_cpp
='$CXXCPP $CPPFLAGS'
20736 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20737 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20738 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -Wno-tautological-undefined-compare" >&5
20741 $as_echo_n "checking for c++ -Wno-tautological-undefined-compare... " >&6; }
20745 for element
in -Wno-tautological-undefined-compare; do
20747 for x
in $CXXFLAGS; do
20749 acl_save_prefix
="$prefix"
20750 prefix
="$acl_final_prefix"
20751 acl_save_exec_prefix
="$exec_prefix"
20752 exec_prefix
="$acl_final_exec_prefix"
20754 exec_prefix
="$acl_save_exec_prefix"
20755 prefix
="$acl_save_prefix"
20757 if test "X$x" = "X$element"; then
20762 if test -z "$haveit"; then
20763 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
20768 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20769 /* end confdefs.h. */
20772 if ac_fn_cxx_try_compile
"$LINENO"; then :
20777 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20780 if test "x$cy_good" = x1
; then :
20781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20782 $as_echo "yes" >&6; }
20784 for element
in -Wno-tautological-undefined-compare; do
20786 for x
in $CXXFLAGS; do
20788 acl_save_prefix
="$prefix"
20789 prefix
="$acl_final_prefix"
20790 acl_save_exec_prefix
="$exec_prefix"
20791 exec_prefix
="$acl_final_exec_prefix"
20793 exec_prefix
="$acl_save_exec_prefix"
20794 prefix
="$acl_save_prefix"
20796 if test "X$x" = "X$element"; then
20801 if test -z "$haveit"; then
20802 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
20808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20809 $as_echo "no" >&6; }
20813 ac_cpp
='$CXXCPP $CPPFLAGS'
20814 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20815 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20816 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20821 ac_cpp
='$OBJCXXCPP $CPPFLAGS'
20822 ac_compile
='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20823 ac_link
='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20824 ac_compiler_gnu
=$ac_cv_objcxx_compiler_gnu
20826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -ObjC -Wno-tautological-undefined-compare" >&5
20827 $as_echo_n "checking for c++ -ObjC -Wno-tautological-undefined-compare... " >&6; }
20829 cy_save
=$OBJCXXFLAGS
20831 for element
in -Wno-tautological-undefined-compare; do
20833 for x
in $OBJCXXFLAGS; do
20835 acl_save_prefix
="$prefix"
20836 prefix
="$acl_final_prefix"
20837 acl_save_exec_prefix
="$exec_prefix"
20838 exec_prefix
="$acl_final_exec_prefix"
20840 exec_prefix
="$acl_save_exec_prefix"
20841 prefix
="$acl_save_prefix"
20843 if test "X$x" = "X$element"; then
20848 if test -z "$haveit"; then
20849 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
20854 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20855 /* end confdefs.h. */
20858 if ac_fn_objcxx_try_compile
"$LINENO"; then :
20863 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20865 OBJCXXFLAGS
=$cy_save
20866 if test "x$cy_good" = x1
; then :
20867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20868 $as_echo "yes" >&6; }
20870 for element
in -Wno-tautological-undefined-compare; do
20872 for x
in $OBJCXXFLAGS; do
20874 acl_save_prefix
="$prefix"
20875 prefix
="$acl_final_prefix"
20876 acl_save_exec_prefix
="$exec_prefix"
20877 exec_prefix
="$acl_final_exec_prefix"
20879 exec_prefix
="$acl_save_exec_prefix"
20880 prefix
="$acl_save_prefix"
20882 if test "X$x" = "X$element"; then
20887 if test -z "$haveit"; then
20888 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
20894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20895 $as_echo "no" >&6; }
20899 ac_cpp
='$CXXCPP $CPPFLAGS'
20900 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20901 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20902 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20909 ac_cpp
='$CPP $CPPFLAGS'
20910 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20911 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20912 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cc -Wno-unneeded-internal-declaration" >&5
20915 $as_echo_n "checking for cc -Wno-unneeded-internal-declaration... " >&6; }
20919 for element
in -Wno-unneeded-internal-declaration; do
20921 for x
in $CFLAGS; do
20923 acl_save_prefix
="$prefix"
20924 prefix
="$acl_final_prefix"
20925 acl_save_exec_prefix
="$exec_prefix"
20926 exec_prefix
="$acl_final_exec_prefix"
20928 exec_prefix
="$acl_save_exec_prefix"
20929 prefix
="$acl_save_prefix"
20931 if test "X$x" = "X$element"; then
20936 if test -z "$haveit"; then
20937 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
20942 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20943 /* end confdefs.h. */
20946 if ac_fn_c_try_compile
"$LINENO"; then :
20951 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20954 if test "x$cy_good" = x1
; then :
20955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20956 $as_echo "yes" >&6; }
20958 for element
in -Wno-unneeded-internal-declaration; do
20960 for x
in $CFLAGS; do
20962 acl_save_prefix
="$prefix"
20963 prefix
="$acl_final_prefix"
20964 acl_save_exec_prefix
="$exec_prefix"
20965 exec_prefix
="$acl_final_exec_prefix"
20967 exec_prefix
="$acl_save_exec_prefix"
20968 prefix
="$acl_save_prefix"
20970 if test "X$x" = "X$element"; then
20975 if test -z "$haveit"; then
20976 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
20982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20983 $as_echo "no" >&6; }
20987 ac_cpp
='$CXXCPP $CPPFLAGS'
20988 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20989 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20990 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20995 ac_cpp
='$CXXCPP $CPPFLAGS'
20996 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20997 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20998 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -Wno-unneeded-internal-declaration" >&5
21001 $as_echo_n "checking for c++ -Wno-unneeded-internal-declaration... " >&6; }
21005 for element
in -Wno-unneeded-internal-declaration; do
21007 for x
in $CXXFLAGS; do
21009 acl_save_prefix
="$prefix"
21010 prefix
="$acl_final_prefix"
21011 acl_save_exec_prefix
="$exec_prefix"
21012 exec_prefix
="$acl_final_exec_prefix"
21014 exec_prefix
="$acl_save_exec_prefix"
21015 prefix
="$acl_save_prefix"
21017 if test "X$x" = "X$element"; then
21022 if test -z "$haveit"; then
21023 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
21028 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21029 /* end confdefs.h. */
21032 if ac_fn_cxx_try_compile
"$LINENO"; then :
21037 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21040 if test "x$cy_good" = x1
; then :
21041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21042 $as_echo "yes" >&6; }
21044 for element
in -Wno-unneeded-internal-declaration; do
21046 for x
in $CXXFLAGS; do
21048 acl_save_prefix
="$prefix"
21049 prefix
="$acl_final_prefix"
21050 acl_save_exec_prefix
="$exec_prefix"
21051 exec_prefix
="$acl_final_exec_prefix"
21053 exec_prefix
="$acl_save_exec_prefix"
21054 prefix
="$acl_save_prefix"
21056 if test "X$x" = "X$element"; then
21061 if test -z "$haveit"; then
21062 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
21068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21069 $as_echo "no" >&6; }
21073 ac_cpp
='$CXXCPP $CPPFLAGS'
21074 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21075 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21076 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21081 ac_cpp
='$OBJCXXCPP $CPPFLAGS'
21082 ac_compile
='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21083 ac_link
='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21084 ac_compiler_gnu
=$ac_cv_objcxx_compiler_gnu
21086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -ObjC -Wno-unneeded-internal-declaration" >&5
21087 $as_echo_n "checking for c++ -ObjC -Wno-unneeded-internal-declaration... " >&6; }
21089 cy_save
=$OBJCXXFLAGS
21091 for element
in -Wno-unneeded-internal-declaration; do
21093 for x
in $OBJCXXFLAGS; do
21095 acl_save_prefix
="$prefix"
21096 prefix
="$acl_final_prefix"
21097 acl_save_exec_prefix
="$exec_prefix"
21098 exec_prefix
="$acl_final_exec_prefix"
21100 exec_prefix
="$acl_save_exec_prefix"
21101 prefix
="$acl_save_prefix"
21103 if test "X$x" = "X$element"; then
21108 if test -z "$haveit"; then
21109 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
21114 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21115 /* end confdefs.h. */
21118 if ac_fn_objcxx_try_compile
"$LINENO"; then :
21123 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21125 OBJCXXFLAGS
=$cy_save
21126 if test "x$cy_good" = x1
; then :
21127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21128 $as_echo "yes" >&6; }
21130 for element
in -Wno-unneeded-internal-declaration; do
21132 for x
in $OBJCXXFLAGS; do
21134 acl_save_prefix
="$prefix"
21135 prefix
="$acl_final_prefix"
21136 acl_save_exec_prefix
="$exec_prefix"
21137 exec_prefix
="$acl_final_exec_prefix"
21139 exec_prefix
="$acl_save_exec_prefix"
21140 prefix
="$acl_save_prefix"
21142 if test "X$x" = "X$element"; then
21147 if test -z "$haveit"; then
21148 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
21154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21155 $as_echo "no" >&6; }
21159 ac_cpp
='$CXXCPP $CPPFLAGS'
21160 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21161 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21162 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21171 ac_cpp
='$CPP $CPPFLAGS'
21172 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21173 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21174 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21178 # We used to check for pthread.h first, but this fails if pthread.h
21179 # requires special compiler flags (e.g. on Tru64 or Sequent).
21180 # It gets checked for in the link test anyway.
21182 # First of all, check if the user has set any of the PTHREAD_LIBS,
21183 # etcetera environment variables, and if threads linking works using
21185 if test x
"$PTHREAD_LIBS$PTHREAD_CFLAGS" != x
; then
21186 save_CFLAGS
="$CFLAGS"
21187 CFLAGS
="$CFLAGS $PTHREAD_CFLAGS"
21189 LIBS
="$PTHREAD_LIBS $LIBS"
21190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_join using $CC $PTHREAD_CFLAGS $PTHREAD_LIBS" >&5
21191 $as_echo_n "checking for pthread_join using $CC $PTHREAD_CFLAGS $PTHREAD_LIBS... " >&6; }
21192 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21193 /* end confdefs.h. */
21195 /* Override any GCC internal prototype to avoid an error.
21196 Use char because int might match the return type of a GCC
21197 builtin and then its argument prototype would still apply. */
21201 char pthread_join ();
21205 return pthread_join ();
21210 if ac_fn_c_try_link
"$LINENO"; then :
21213 rm -f core conftest.err conftest.
$ac_objext \
21214 conftest
$ac_exeext conftest.
$ac_ext
21215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_pthread_ok" >&5
21216 $as_echo "$ax_pthread_ok" >&6; }
21217 if test x
"$ax_pthread_ok" = xno
; then
21222 CFLAGS
="$save_CFLAGS"
21225 # We must check for the threads library under a number of different
21226 # names; the ordering is very important because some systems
21227 # (e.g. DEC) have both -lpthread and -lpthreads, where one of the
21228 # libraries is broken (non-POSIX).
21230 # Create a list of thread flags to try. Items starting with a "-" are
21231 # C compiler flags, and other items are library names, except for "none"
21232 # which indicates that we try without any flags at all, and "pthread-config"
21233 # which is a program returning the flags for the Pth emulation library.
21235 ax_pthread_flags
="pthreads none -Kthread -kthread lthread -pthread -pthreads -mt -mthreads pthread --thread-safe pthread-config"
21237 # The ordering *is* (sometimes) important. Some notes on the
21238 # individual items follow:
21240 # pthreads: AIX (must check this before -lpthread)
21241 # none: in case threads are in libc; should be tried before -Kthread and
21242 # other compiler flags to prevent continual compiler warnings
21243 # -Kthread: Sequent (threads in libc, but -Kthread needed for pthread.h)
21244 # -kthread: FreeBSD kernel threads (preferred to -pthread since SMP-able)
21245 # lthread: LinuxThreads port on FreeBSD (also preferred to -pthread)
21246 # -pthread: Linux/gcc (kernel threads), BSD/gcc (userland threads), Tru64
21247 # -pthreads: Solaris/gcc
21248 # -mt: Sun Workshop C (may only link SunOS threads [-lthread], but it
21249 # doesn't hurt to check since this sometimes defines pthreads and
21250 # -D_REENTRANT too), HP C (must be checked before -lpthread, which
21251 # is present but should not be used directly)
21252 # -mthreads: Mingw32/gcc, Lynx/gcc
21253 # pthread: Linux, etcetera
21254 # --thread-safe: KAI C++
21255 # pthread-config: use pthread-config program (for GNU Pth library)
21261 # From the cc(1) man page: "[-mt] Sets various -D flags to enable
21262 # multi-threading and also sets -lpthread."
21264 ax_pthread_flags
="-mt -pthread pthread $ax_pthread_flags"
21269 # IBM z/OS requires a feature-test macro to be defined in order to
21270 # enable POSIX threads at all, so give the user a hint if this is
21271 # not set. (We don't define these ourselves, as they can affect
21272 # other portions of the system API in unpredictable ways.)
21274 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21275 /* end confdefs.h. */
21277 # if !defined(_OPEN_THREADS) && !defined(_UNIX03_THREADS)
21278 AX_PTHREAD_ZOS_MISSING
21282 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21283 $EGREP "AX_PTHREAD_ZOS_MISSING" >/dev
/null
2>&1; then :
21284 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: IBM z/OS requires -D_OPEN_THREADS or -D_UNIX03_THREADS to enable pthreads support." >&5
21285 $as_echo "$as_me: WARNING: IBM z/OS requires -D_OPEN_THREADS or -D_UNIX03_THREADS to enable pthreads support." >&2;}
21293 # Newer versions of Solaris require the "-mt -lpthread" pair, and we
21294 # check that first. On some older versions, libc contains stubbed
21295 # (non-functional) versions of the pthreads routines, so link-based
21296 # tests will erroneously succeed. (We need to link with -pthreads/-mt/
21297 # -lpthread.) (The stubs are missing pthread_cleanup_push, or rather
21298 # a function called by this macro, so we could check for that, but
21299 # who knows whether they'll stub that too in a future libc.) So
21300 # we'll look for -pthreads and -lpthread shortly thereafter.
21302 ax_pthread_flags
="-mt,pthread -pthreads -pthread pthread $ax_pthread_flags"
21306 # Older versions of Clang only give a warning instead of an error for an
21307 # unrecognized option, unless we specify -Werror. (We throw in some extra
21308 # Clang warning flags for good measure.)
21310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler needs certain flags to reject unknown flags" >&5
21311 $as_echo_n "checking if compiler needs certain flags to reject unknown flags... " >&6; }
21312 if ${ax_cv_PTHREAD_REJECT_UNKNOWN+:} false
; then :
21313 $as_echo_n "(cached) " >&6
21315 ax_cv_PTHREAD_REJECT_UNKNOWN
=unknown
21316 save_CFLAGS
="$CFLAGS"
21317 ax_pthread_extra_flags
="-Wunknown-warning-option -Wunused-command-line-argument"
21318 CFLAGS
="$CFLAGS $ax_pthread_extra_flags -Wfoobaz -foobaz"
21319 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21320 /* end confdefs.h. */
21330 if ac_fn_c_try_compile
"$LINENO"; then :
21331 ax_cv_PTHREAD_REJECT_UNKNOWN
="-Werror $ax_pthread_extra_flags"
21333 ax_cv_PTHREAD_REJECT_UNKNOWN
=no
21335 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21336 CFLAGS
="$save_CFLAGS"
21339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_PTHREAD_REJECT_UNKNOWN" >&5
21340 $as_echo "$ax_cv_PTHREAD_REJECT_UNKNOWN" >&6; }
21341 ax_pthread_extra_flags
=
21342 if test "x$ax_cv_PTHREAD_REJECT_UNKNOWN" != "xno"; then :
21343 ax_pthread_extra_flags
="$ax_cv_PTHREAD_REJECT_UNKNOWN"
21346 if test x
"$ax_pthread_ok" = xno
; then
21347 for flag
in $ax_pthread_flags; do
21351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work without any flags" >&5
21352 $as_echo_n "checking whether pthreads work without any flags... " >&6; }
21356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work with -mt -lpthread" >&5
21357 $as_echo_n "checking whether pthreads work with -mt -lpthread... " >&6; }
21358 PTHREAD_CFLAGS
="-mt"
21359 PTHREAD_LIBS
="-lpthread"
21363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work with $flag" >&5
21364 $as_echo_n "checking whether pthreads work with $flag... " >&6; }
21365 PTHREAD_CFLAGS
="$flag"
21369 # Extract the first word of "pthread-config", so it can be a program name with args.
21370 set dummy pthread
-config; ac_word
=$2
21371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21372 $as_echo_n "checking for $ac_word... " >&6; }
21373 if ${ac_cv_prog_ax_pthread_config+:} false
; then :
21374 $as_echo_n "(cached) " >&6
21376 if test -n "$ax_pthread_config"; then
21377 ac_cv_prog_ax_pthread_config
="$ax_pthread_config" # Let the user override the test.
21379 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21380 for as_dir
in $PATH
21383 test -z "$as_dir" && as_dir
=.
21384 for ac_exec_ext
in '' $ac_executable_extensions; do
21385 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
21386 ac_cv_prog_ax_pthread_config
="yes"
21387 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21394 test -z "$ac_cv_prog_ax_pthread_config" && ac_cv_prog_ax_pthread_config
="no"
21397 ax_pthread_config
=$ac_cv_prog_ax_pthread_config
21398 if test -n "$ax_pthread_config"; then
21399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_pthread_config" >&5
21400 $as_echo "$ax_pthread_config" >&6; }
21402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21403 $as_echo "no" >&6; }
21407 if test x
"$ax_pthread_config" = xno
; then continue; fi
21408 PTHREAD_CFLAGS
="`pthread-config --cflags`"
21409 PTHREAD_LIBS
="`pthread-config --ldflags` `pthread-config --libs`"
21413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the pthreads library -l$flag" >&5
21414 $as_echo_n "checking for the pthreads library -l$flag... " >&6; }
21415 PTHREAD_LIBS
="-l$flag"
21420 save_CFLAGS
="$CFLAGS"
21421 LIBS
="$PTHREAD_LIBS $LIBS"
21422 CFLAGS
="$CFLAGS $PTHREAD_CFLAGS $ax_pthread_extra_flags"
21424 # Check for various functions. We must include pthread.h,
21425 # since some functions may be macros. (On the Sequent, we
21426 # need a special flag -Kthread to make this header compile.)
21427 # We check for pthread_join because it is in -lpthread on IRIX
21428 # while pthread_create is in libc. We check for pthread_attr_init
21429 # due to DEC craziness with -lpthreads. We check for
21430 # pthread_cleanup_push because it is one of the few pthread
21431 # functions on Solaris that doesn't have a non-functional libc stub.
21432 # We try pthread_create on general principles.
21433 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21434 /* end confdefs.h. */
21435 #include <pthread.h>
21436 static void routine(void *a) { a = 0; }
21437 static void *start_routine(void *a) { return a; }
21441 pthread_t th; pthread_attr_t attr;
21442 pthread_create(&th, 0, start_routine, 0);
21443 pthread_join(th, 0);
21444 pthread_attr_init(&attr);
21445 pthread_cleanup_push(routine, 0);
21446 pthread_cleanup_pop(0) /* ; */
21451 if ac_fn_c_try_link
"$LINENO"; then :
21454 rm -f core conftest.err conftest.
$ac_objext \
21455 conftest
$ac_exeext conftest.
$ac_ext
21458 CFLAGS
="$save_CFLAGS"
21460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_pthread_ok" >&5
21461 $as_echo "$ax_pthread_ok" >&6; }
21462 if test "x$ax_pthread_ok" = xyes
; then
21471 # Various other checks:
21472 if test "x$ax_pthread_ok" = xyes
; then
21474 LIBS
="$PTHREAD_LIBS $LIBS"
21475 save_CFLAGS
="$CFLAGS"
21476 CFLAGS
="$CFLAGS $PTHREAD_CFLAGS"
21478 # Detect AIX lossage: JOINABLE attribute is called UNDETACHED.
21479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for joinable pthread attribute" >&5
21480 $as_echo_n "checking for joinable pthread attribute... " >&6; }
21481 if ${ax_cv_PTHREAD_JOINABLE_ATTR+:} false
; then :
21482 $as_echo_n "(cached) " >&6
21484 ax_cv_PTHREAD_JOINABLE_ATTR
=unknown
21485 for attr
in PTHREAD_CREATE_JOINABLE PTHREAD_CREATE_UNDETACHED
; do
21486 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21487 /* end confdefs.h. */
21488 #include <pthread.h>
21492 int attr = $attr; return attr /* ; */
21497 if ac_fn_c_try_link
"$LINENO"; then :
21498 ax_cv_PTHREAD_JOINABLE_ATTR
=$attr; break
21500 rm -f core conftest.err conftest.
$ac_objext \
21501 conftest
$ac_exeext conftest.
$ac_ext
21505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_PTHREAD_JOINABLE_ATTR" >&5
21506 $as_echo "$ax_cv_PTHREAD_JOINABLE_ATTR" >&6; }
21507 if test "$ax_cv_PTHREAD_JOINABLE_ATTR" != unknown
&& \
21508 test "$ax_cv_PTHREAD_JOINABLE_ATTR" != PTHREAD_CREATE_JOINABLE
; then :
21510 cat >>confdefs.h
<<_ACEOF
21511 #define PTHREAD_CREATE_JOINABLE $ax_cv_PTHREAD_JOINABLE_ATTR
21516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if more special flags are required for pthreads" >&5
21517 $as_echo_n "checking if more special flags are required for pthreads... " >&6; }
21518 if ${ax_cv_PTHREAD_SPECIAL_FLAGS+:} false
; then :
21519 $as_echo_n "(cached) " >&6
21521 ax_cv_PTHREAD_SPECIAL_FLAGS
=no
21522 ax_pthread_special_flags_added
=no
21523 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21524 /* end confdefs.h. */
21526 # if !defined(_REENTRANT) && !defined(_THREAD_SAFE)
21527 AX_PTHREAD_NEED_SPECIAL_FLAG
21531 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21532 $EGREP "AX_PTHREAD_NEED_SPECIAL_FLAG" >/dev
/null
2>&1; then :
21535 ax_cv_PTHREAD_SPECIAL_FLAGS
="-D_THREAD_SAFE"
21537 darwin
* | hpux
* | osf
* | solaris
*)
21538 ax_cv_PTHREAD_SPECIAL_FLAGS
="-D_REENTRANT"
21547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_PTHREAD_SPECIAL_FLAGS" >&5
21548 $as_echo "$ax_cv_PTHREAD_SPECIAL_FLAGS" >&6; }
21549 if test "x$ax_cv_PTHREAD_SPECIAL_FLAGS" != "xno" && \
21550 test "x$ax_pthread_special_flags_added" != "xyes"; then :
21551 PTHREAD_CFLAGS
="$ax_cv_PTHREAD_SPECIAL_FLAGS $PTHREAD_CFLAGS"
21552 ax_pthread_special_flags_added
=yes
21555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PTHREAD_PRIO_INHERIT" >&5
21556 $as_echo_n "checking for PTHREAD_PRIO_INHERIT... " >&6; }
21557 if ${ax_cv_PTHREAD_PRIO_INHERIT+:} false
; then :
21558 $as_echo_n "(cached) " >&6
21560 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21561 /* end confdefs.h. */
21562 #include <pthread.h>
21566 int i = PTHREAD_PRIO_INHERIT;
21571 if ac_fn_c_try_link
"$LINENO"; then :
21572 ax_cv_PTHREAD_PRIO_INHERIT
=yes
21574 ax_cv_PTHREAD_PRIO_INHERIT
=no
21576 rm -f core conftest.err conftest.
$ac_objext \
21577 conftest
$ac_exeext conftest.
$ac_ext
21580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_PTHREAD_PRIO_INHERIT" >&5
21581 $as_echo "$ax_cv_PTHREAD_PRIO_INHERIT" >&6; }
21582 if test "x$ax_cv_PTHREAD_PRIO_INHERIT" = "xyes"; then :
21584 $as_echo "#define HAVE_PTHREAD_PRIO_INHERIT 1" >>confdefs.h
21589 CFLAGS
="$save_CFLAGS"
21591 # More AIX lossage: compile with *_r variant
21592 if test "x$GCC" != xyes
; then
21596 x
*/c89
|x
*/c89_128
|x
*/c99
|x
*/c99_128
|x
*/cc
|x
*/cc128
|x
*/xlc
|x
*/xlc_v6
|x
*/xlc128
|x
*/xlc128_v6
) :
21597 #handle absolute path differently from PATH based program lookup
21600 if as_fn_executable_p
${CC}_r
; then :
21601 PTHREAD_CC
="${CC}_r"
21604 for ac_prog
in ${CC}_r
21606 # Extract the first word of "$ac_prog", so it can be a program name with args.
21607 set dummy
$ac_prog; ac_word
=$2
21608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21609 $as_echo_n "checking for $ac_word... " >&6; }
21610 if ${ac_cv_prog_PTHREAD_CC+:} false
; then :
21611 $as_echo_n "(cached) " >&6
21613 if test -n "$PTHREAD_CC"; then
21614 ac_cv_prog_PTHREAD_CC
="$PTHREAD_CC" # Let the user override the test.
21616 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21617 for as_dir
in $PATH
21620 test -z "$as_dir" && as_dir
=.
21621 for ac_exec_ext
in '' $ac_executable_extensions; do
21622 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
21623 ac_cv_prog_PTHREAD_CC
="$ac_prog"
21624 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21633 PTHREAD_CC
=$ac_cv_prog_PTHREAD_CC
21634 if test -n "$PTHREAD_CC"; then
21635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PTHREAD_CC" >&5
21636 $as_echo "$PTHREAD_CC" >&6; }
21638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21639 $as_echo "no" >&6; }
21643 test -n "$PTHREAD_CC" && break
21645 test -n "$PTHREAD_CC" || PTHREAD_CC
="$CC"
21656 test -n "$PTHREAD_CC" || PTHREAD_CC
="$CC"
21662 # Finally, execute ACTION-IF-FOUND/ACTION-IF-NOT-FOUND:
21663 if test x
"$ax_pthread_ok" = xyes
; then
21665 $as_echo "#define HAVE_PTHREAD 1" >>confdefs.h
21673 ac_cpp
='$CXXCPP $CPPFLAGS'
21674 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21675 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21676 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21686 # Check whether --enable-javascript was given.
21687 if test "${enable_javascript+set}" = set; then :
21688 enableval
=$enable_javascript;
21689 case $enableval in #(
21697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing JSEvaluateScript" >&5
21698 $as_echo_n "checking for library containing JSEvaluateScript... " >&6; }
21699 if ${ac_cv_search_JSEvaluateScript+:} false
; then :
21700 $as_echo_n "(cached) " >&6
21702 ac_func_search_save_LIBS
=$LIBS
21703 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21704 /* end confdefs.h. */
21706 /* Override any GCC internal prototype to avoid an error.
21707 Use char because int might match the return type of a GCC
21708 builtin and then its argument prototype would still apply. */
21712 char JSEvaluateScript ();
21716 return JSEvaluateScript ();
21721 for ac_lib
in '' JavaScriptCore
; do
21722 if test -z "$ac_lib"; then
21723 ac_res
="none required"
21726 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
21728 if ac_fn_cxx_try_link
"$LINENO"; then :
21729 ac_cv_search_JSEvaluateScript
=$ac_res
21731 rm -f core conftest.err conftest.
$ac_objext \
21733 if ${ac_cv_search_JSEvaluateScript+:} false
; then :
21737 if ${ac_cv_search_JSEvaluateScript+:} false
; then :
21740 ac_cv_search_JSEvaluateScript
=no
21742 rm conftest.
$ac_ext
21743 LIBS
=$ac_func_search_save_LIBS
21745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_JSEvaluateScript" >&5
21746 $as_echo "$ac_cv_search_JSEvaluateScript" >&6; }
21747 ac_res
=$ac_cv_search_JSEvaluateScript
21748 if test "$ac_res" != no
; then :
21749 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
21756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
21757 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
21758 if ${ac_cv_framework_JavaScriptCore+:} false
; then :
21759 $as_echo_n "(cached) " >&6
21762 ac_check_framework_save_LIBS
=$LIBS
21763 LIBS
="-framework JavaScriptCore $LIBS"
21764 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21765 /* end confdefs.h. */
21767 #include <JavaScriptCore/JSBase.h>
21773 JSEvaluateScript(0, 0, 0, 0, 0, 0);
21779 if ac_fn_cxx_try_link
"$LINENO"; then :
21781 ac_cv_framework_JavaScriptCore
=yes
21784 ac_cv_framework_JavaScriptCore
=no
21786 rm -f core conftest.err conftest.
$ac_objext \
21787 conftest
$ac_exeext conftest.
$ac_ext
21788 LIBS
=$ac_check_framework_save_LIBS
21791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
21792 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
21793 if test $ac_cv_framework_JavaScriptCore = yes; then :
21796 for element
in "-framework JavaScriptCore"; do
21800 acl_save_prefix
="$prefix"
21801 prefix
="$acl_final_prefix"
21802 acl_save_exec_prefix
="$exec_prefix"
21803 exec_prefix
="$acl_final_exec_prefix"
21805 exec_prefix
="$acl_save_exec_prefix"
21806 prefix
="$acl_save_prefix"
21808 if test "X$x" = "X$element"; then
21813 if test -z "$haveit"; then
21814 LIBS
="${LIBS}${LIBS:+ }$element"
21825 for cy_webkit_pkg
in "javascriptcoregtk-4.0"; do
21828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
21829 $as_echo_n "checking for WEBKIT... " >&6; }
21831 if test -n "$WEBKIT_CFLAGS"; then
21832 pkg_cv_WEBKIT_CFLAGS
="$WEBKIT_CFLAGS"
21833 elif test -n "$PKG_CONFIG"; then
21834 if test -n "$PKG_CONFIG" && \
21835 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$cy_webkit_pkg\""; } >&5
21836 ($PKG_CONFIG --exists --print-errors "$cy_webkit_pkg") 2>&5
21838 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21839 test $ac_status = 0; }; then
21840 pkg_cv_WEBKIT_CFLAGS
=`$PKG_CONFIG --cflags "$cy_webkit_pkg" 2>/dev/null`
21841 test "x$?" != "x0" && pkg_failed
=yes
21848 if test -n "$WEBKIT_LIBS"; then
21849 pkg_cv_WEBKIT_LIBS
="$WEBKIT_LIBS"
21850 elif test -n "$PKG_CONFIG"; then
21851 if test -n "$PKG_CONFIG" && \
21852 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$cy_webkit_pkg\""; } >&5
21853 ($PKG_CONFIG --exists --print-errors "$cy_webkit_pkg") 2>&5
21855 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21856 test $ac_status = 0; }; then
21857 pkg_cv_WEBKIT_LIBS
=`$PKG_CONFIG --libs "$cy_webkit_pkg" 2>/dev/null`
21858 test "x$?" != "x0" && pkg_failed
=yes
21868 if test $pkg_failed = yes; then
21869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21870 $as_echo "no" >&6; }
21872 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
21873 _pkg_short_errors_supported
=yes
21875 _pkg_short_errors_supported
=no
21877 if test $_pkg_short_errors_supported = yes; then
21878 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$cy_webkit_pkg" 2>&1`
21880 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "$cy_webkit_pkg" 2>&1`
21882 # Put the nasty error message in config.log where it belongs
21883 echo "$WEBKIT_PKG_ERRORS" >&5
21886 elif test $pkg_failed = untried
; then
21887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21888 $as_echo "no" >&6; }
21891 WEBKIT_CFLAGS
=$pkg_cv_WEBKIT_CFLAGS
21892 WEBKIT_LIBS
=$pkg_cv_WEBKIT_LIBS
21893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21894 $as_echo "yes" >&6; }
21899 for element
in `$PKG_CONFIG --cflags $cy_webkit_pkg`; do
21901 for x
in $CPPFLAGS; do
21903 acl_save_prefix
="$prefix"
21904 prefix
="$acl_final_prefix"
21905 acl_save_exec_prefix
="$exec_prefix"
21906 exec_prefix
="$acl_final_exec_prefix"
21908 exec_prefix
="$acl_save_exec_prefix"
21909 prefix
="$acl_save_prefix"
21911 if test "X$x" = "X$element"; then
21916 if test -z "$haveit"; then
21917 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
21922 for element
in `$PKG_CONFIG --libs $cy_webkit_pkg`; do
21926 acl_save_prefix
="$prefix"
21927 prefix
="$acl_final_prefix"
21928 acl_save_exec_prefix
="$exec_prefix"
21929 exec_prefix
="$acl_final_exec_prefix"
21931 exec_prefix
="$acl_save_exec_prefix"
21932 prefix
="$acl_save_prefix"
21934 if test "X$x" = "X$element"; then
21939 if test -z "$haveit"; then
21940 LIBS
="${LIBS}${LIBS:+ }$element"
21945 fi; if test "x$CY_EXECUTE" = x1
; then break; fi
21951 LTJAVASCRIPTCORE
=$LIBS
21966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing JSEvaluateScript" >&5
21967 $as_echo_n "checking for library containing JSEvaluateScript... " >&6; }
21968 if ${ac_cv_search_JSEvaluateScript+:} false
; then :
21969 $as_echo_n "(cached) " >&6
21971 ac_func_search_save_LIBS
=$LIBS
21972 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21973 /* end confdefs.h. */
21975 /* Override any GCC internal prototype to avoid an error.
21976 Use char because int might match the return type of a GCC
21977 builtin and then its argument prototype would still apply. */
21981 char JSEvaluateScript ();
21985 return JSEvaluateScript ();
21990 for ac_lib
in '' JavaScriptCore
; do
21991 if test -z "$ac_lib"; then
21992 ac_res
="none required"
21995 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
21997 if ac_fn_cxx_try_link
"$LINENO"; then :
21998 ac_cv_search_JSEvaluateScript
=$ac_res
22000 rm -f core conftest.err conftest.
$ac_objext \
22002 if ${ac_cv_search_JSEvaluateScript+:} false
; then :
22006 if ${ac_cv_search_JSEvaluateScript+:} false
; then :
22009 ac_cv_search_JSEvaluateScript
=no
22011 rm conftest.
$ac_ext
22012 LIBS
=$ac_func_search_save_LIBS
22014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_JSEvaluateScript" >&5
22015 $as_echo "$ac_cv_search_JSEvaluateScript" >&6; }
22016 ac_res
=$ac_cv_search_JSEvaluateScript
22017 if test "$ac_res" != no
; then :
22018 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
22025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
22026 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
22027 if ${ac_cv_framework_JavaScriptCore+:} false
; then :
22028 $as_echo_n "(cached) " >&6
22031 ac_check_framework_save_LIBS
=$LIBS
22032 LIBS
="-framework JavaScriptCore $LIBS"
22033 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22034 /* end confdefs.h. */
22036 #include <JavaScriptCore/JSBase.h>
22042 JSEvaluateScript(0, 0, 0, 0, 0, 0);
22048 if ac_fn_cxx_try_link
"$LINENO"; then :
22050 ac_cv_framework_JavaScriptCore
=yes
22053 ac_cv_framework_JavaScriptCore
=no
22055 rm -f core conftest.err conftest.
$ac_objext \
22056 conftest
$ac_exeext conftest.
$ac_ext
22057 LIBS
=$ac_check_framework_save_LIBS
22060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
22061 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
22062 if test $ac_cv_framework_JavaScriptCore = yes; then :
22065 for element
in "-framework JavaScriptCore"; do
22069 acl_save_prefix
="$prefix"
22070 prefix
="$acl_final_prefix"
22071 acl_save_exec_prefix
="$exec_prefix"
22072 exec_prefix
="$acl_final_exec_prefix"
22074 exec_prefix
="$acl_save_exec_prefix"
22075 prefix
="$acl_save_prefix"
22077 if test "X$x" = "X$element"; then
22082 if test -z "$haveit"; then
22083 LIBS
="${LIBS}${LIBS:+ }$element"
22094 for cy_webkit_pkg
in "javascriptcoregtk-4.0"; do
22097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
22098 $as_echo_n "checking for WEBKIT... " >&6; }
22100 if test -n "$WEBKIT_CFLAGS"; then
22101 pkg_cv_WEBKIT_CFLAGS
="$WEBKIT_CFLAGS"
22102 elif test -n "$PKG_CONFIG"; then
22103 if test -n "$PKG_CONFIG" && \
22104 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$cy_webkit_pkg\""; } >&5
22105 ($PKG_CONFIG --exists --print-errors "$cy_webkit_pkg") 2>&5
22107 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22108 test $ac_status = 0; }; then
22109 pkg_cv_WEBKIT_CFLAGS
=`$PKG_CONFIG --cflags "$cy_webkit_pkg" 2>/dev/null`
22110 test "x$?" != "x0" && pkg_failed
=yes
22117 if test -n "$WEBKIT_LIBS"; then
22118 pkg_cv_WEBKIT_LIBS
="$WEBKIT_LIBS"
22119 elif test -n "$PKG_CONFIG"; then
22120 if test -n "$PKG_CONFIG" && \
22121 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$cy_webkit_pkg\""; } >&5
22122 ($PKG_CONFIG --exists --print-errors "$cy_webkit_pkg") 2>&5
22124 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22125 test $ac_status = 0; }; then
22126 pkg_cv_WEBKIT_LIBS
=`$PKG_CONFIG --libs "$cy_webkit_pkg" 2>/dev/null`
22127 test "x$?" != "x0" && pkg_failed
=yes
22137 if test $pkg_failed = yes; then
22138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22139 $as_echo "no" >&6; }
22141 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
22142 _pkg_short_errors_supported
=yes
22144 _pkg_short_errors_supported
=no
22146 if test $_pkg_short_errors_supported = yes; then
22147 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$cy_webkit_pkg" 2>&1`
22149 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "$cy_webkit_pkg" 2>&1`
22151 # Put the nasty error message in config.log where it belongs
22152 echo "$WEBKIT_PKG_ERRORS" >&5
22155 elif test $pkg_failed = untried
; then
22156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22157 $as_echo "no" >&6; }
22160 WEBKIT_CFLAGS
=$pkg_cv_WEBKIT_CFLAGS
22161 WEBKIT_LIBS
=$pkg_cv_WEBKIT_LIBS
22162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22163 $as_echo "yes" >&6; }
22168 for element
in `$PKG_CONFIG --cflags $cy_webkit_pkg`; do
22170 for x
in $CPPFLAGS; do
22172 acl_save_prefix
="$prefix"
22173 prefix
="$acl_final_prefix"
22174 acl_save_exec_prefix
="$exec_prefix"
22175 exec_prefix
="$acl_final_exec_prefix"
22177 exec_prefix
="$acl_save_exec_prefix"
22178 prefix
="$acl_save_prefix"
22180 if test "X$x" = "X$element"; then
22185 if test -z "$haveit"; then
22186 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
22191 for element
in `$PKG_CONFIG --libs $cy_webkit_pkg`; do
22195 acl_save_prefix
="$prefix"
22196 prefix
="$acl_final_prefix"
22197 acl_save_exec_prefix
="$exec_prefix"
22198 exec_prefix
="$acl_final_exec_prefix"
22200 exec_prefix
="$acl_save_exec_prefix"
22201 prefix
="$acl_save_prefix"
22203 if test "X$x" = "X$element"; then
22208 if test -z "$haveit"; then
22209 LIBS
="${LIBS}${LIBS:+ }$element"
22214 fi; if test "x$CY_EXECUTE" = x1
; then break; fi
22220 LTJAVASCRIPTCORE
=$LIBS
22226 as_fn_error $?
"Unknown JavaScript engine: $enableval" "$LINENO" 5 ;;
22235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing JSEvaluateScript" >&5
22236 $as_echo_n "checking for library containing JSEvaluateScript... " >&6; }
22237 if ${ac_cv_search_JSEvaluateScript+:} false
; then :
22238 $as_echo_n "(cached) " >&6
22240 ac_func_search_save_LIBS
=$LIBS
22241 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22242 /* end confdefs.h. */
22244 /* Override any GCC internal prototype to avoid an error.
22245 Use char because int might match the return type of a GCC
22246 builtin and then its argument prototype would still apply. */
22250 char JSEvaluateScript ();
22254 return JSEvaluateScript ();
22259 for ac_lib
in '' JavaScriptCore
; do
22260 if test -z "$ac_lib"; then
22261 ac_res
="none required"
22264 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
22266 if ac_fn_cxx_try_link
"$LINENO"; then :
22267 ac_cv_search_JSEvaluateScript
=$ac_res
22269 rm -f core conftest.err conftest.
$ac_objext \
22271 if ${ac_cv_search_JSEvaluateScript+:} false
; then :
22275 if ${ac_cv_search_JSEvaluateScript+:} false
; then :
22278 ac_cv_search_JSEvaluateScript
=no
22280 rm conftest.
$ac_ext
22281 LIBS
=$ac_func_search_save_LIBS
22283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_JSEvaluateScript" >&5
22284 $as_echo "$ac_cv_search_JSEvaluateScript" >&6; }
22285 ac_res
=$ac_cv_search_JSEvaluateScript
22286 if test "$ac_res" != no
; then :
22287 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
22294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
22295 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
22296 if ${ac_cv_framework_JavaScriptCore+:} false
; then :
22297 $as_echo_n "(cached) " >&6
22300 ac_check_framework_save_LIBS
=$LIBS
22301 LIBS
="-framework JavaScriptCore $LIBS"
22302 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22303 /* end confdefs.h. */
22305 #include <JavaScriptCore/JSBase.h>
22311 JSEvaluateScript(0, 0, 0, 0, 0, 0);
22317 if ac_fn_cxx_try_link
"$LINENO"; then :
22319 ac_cv_framework_JavaScriptCore
=yes
22322 ac_cv_framework_JavaScriptCore
=no
22324 rm -f core conftest.err conftest.
$ac_objext \
22325 conftest
$ac_exeext conftest.
$ac_ext
22326 LIBS
=$ac_check_framework_save_LIBS
22329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
22330 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
22331 if test $ac_cv_framework_JavaScriptCore = yes; then :
22334 for element
in "-framework JavaScriptCore"; do
22338 acl_save_prefix
="$prefix"
22339 prefix
="$acl_final_prefix"
22340 acl_save_exec_prefix
="$exec_prefix"
22341 exec_prefix
="$acl_final_exec_prefix"
22343 exec_prefix
="$acl_save_exec_prefix"
22344 prefix
="$acl_save_prefix"
22346 if test "X$x" = "X$element"; then
22351 if test -z "$haveit"; then
22352 LIBS
="${LIBS}${LIBS:+ }$element"
22363 for cy_webkit_pkg
in "javascriptcoregtk-4.0"; do
22366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
22367 $as_echo_n "checking for WEBKIT... " >&6; }
22369 if test -n "$WEBKIT_CFLAGS"; then
22370 pkg_cv_WEBKIT_CFLAGS
="$WEBKIT_CFLAGS"
22371 elif test -n "$PKG_CONFIG"; then
22372 if test -n "$PKG_CONFIG" && \
22373 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$cy_webkit_pkg\""; } >&5
22374 ($PKG_CONFIG --exists --print-errors "$cy_webkit_pkg") 2>&5
22376 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22377 test $ac_status = 0; }; then
22378 pkg_cv_WEBKIT_CFLAGS
=`$PKG_CONFIG --cflags "$cy_webkit_pkg" 2>/dev/null`
22379 test "x$?" != "x0" && pkg_failed
=yes
22386 if test -n "$WEBKIT_LIBS"; then
22387 pkg_cv_WEBKIT_LIBS
="$WEBKIT_LIBS"
22388 elif test -n "$PKG_CONFIG"; then
22389 if test -n "$PKG_CONFIG" && \
22390 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$cy_webkit_pkg\""; } >&5
22391 ($PKG_CONFIG --exists --print-errors "$cy_webkit_pkg") 2>&5
22393 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22394 test $ac_status = 0; }; then
22395 pkg_cv_WEBKIT_LIBS
=`$PKG_CONFIG --libs "$cy_webkit_pkg" 2>/dev/null`
22396 test "x$?" != "x0" && pkg_failed
=yes
22406 if test $pkg_failed = yes; then
22407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22408 $as_echo "no" >&6; }
22410 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
22411 _pkg_short_errors_supported
=yes
22413 _pkg_short_errors_supported
=no
22415 if test $_pkg_short_errors_supported = yes; then
22416 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$cy_webkit_pkg" 2>&1`
22418 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "$cy_webkit_pkg" 2>&1`
22420 # Put the nasty error message in config.log where it belongs
22421 echo "$WEBKIT_PKG_ERRORS" >&5
22424 elif test $pkg_failed = untried
; then
22425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22426 $as_echo "no" >&6; }
22429 WEBKIT_CFLAGS
=$pkg_cv_WEBKIT_CFLAGS
22430 WEBKIT_LIBS
=$pkg_cv_WEBKIT_LIBS
22431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22432 $as_echo "yes" >&6; }
22437 for element
in `$PKG_CONFIG --cflags $cy_webkit_pkg`; do
22439 for x
in $CPPFLAGS; do
22441 acl_save_prefix
="$prefix"
22442 prefix
="$acl_final_prefix"
22443 acl_save_exec_prefix
="$exec_prefix"
22444 exec_prefix
="$acl_final_exec_prefix"
22446 exec_prefix
="$acl_save_exec_prefix"
22447 prefix
="$acl_save_prefix"
22449 if test "X$x" = "X$element"; then
22454 if test -z "$haveit"; then
22455 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
22460 for element
in `$PKG_CONFIG --libs $cy_webkit_pkg`; do
22464 acl_save_prefix
="$prefix"
22465 prefix
="$acl_final_prefix"
22466 acl_save_exec_prefix
="$exec_prefix"
22467 exec_prefix
="$acl_final_exec_prefix"
22469 exec_prefix
="$acl_save_exec_prefix"
22470 prefix
="$acl_save_prefix"
22472 if test "X$x" = "X$element"; then
22477 if test -z "$haveit"; then
22478 LIBS
="${LIBS}${LIBS:+ }$element"
22483 fi; if test "x$CY_EXECUTE" = x1
; then break; fi
22489 LTJAVASCRIPTCORE
=$LIBS
22497 # Check whether --enable-console was given.
22498 if test "${enable_console+set}" = set; then :
22499 enableval
=$enable_console;
22502 if test "x$enable_console" != "xno"; then
22504 CY_CONSOLE_FALSE
='#'
22506 CY_CONSOLE_TRUE
='#'
22511 # Check whether --enable-attach was given.
22512 if test "${enable_attach+set}" = set; then :
22513 enableval
=$enable_attach;
22516 if test "x$enable_attach" != "xno" -a "x$CY_EXECUTE" = x1
; then
22518 CY_ATTACH_FALSE
='#'
22527 if test "x$CY_EXECUTE" = x1
; then
22529 CY_EXECUTE_FALSE
='#'
22531 CY_EXECUTE_TRUE
='#'
22536 if test "x$CY_SYSTEM" = x
; then CY_SYSTEM
=1; fi
22540 case $CY_EXECUTE in #(
22546 for ac_header
in uv.h
22548 ac_fn_cxx_check_header_mongrel
"$LINENO" "uv.h" "ac_cv_header_uv_h" "$ac_includes_default"
22549 if test "x$ac_cv_header_uv_h" = xyes
; then :
22550 cat >>confdefs.h
<<_ACEOF
22551 #define HAVE_UV_H 1
22554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing uv_loop_init" >&5
22555 $as_echo_n "checking for library containing uv_loop_init... " >&6; }
22556 if ${ac_cv_search_uv_loop_init+:} false
; then :
22557 $as_echo_n "(cached) " >&6
22559 ac_func_search_save_LIBS
=$LIBS
22560 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22561 /* end confdefs.h. */
22563 /* Override any GCC internal prototype to avoid an error.
22564 Use char because int might match the return type of a GCC
22565 builtin and then its argument prototype would still apply. */
22569 char uv_loop_init ();
22573 return uv_loop_init ();
22578 for ac_lib
in '' uv
; do
22579 if test -z "$ac_lib"; then
22580 ac_res
="none required"
22583 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
22585 if ac_fn_cxx_try_link
"$LINENO"; then :
22586 ac_cv_search_uv_loop_init
=$ac_res
22588 rm -f core conftest.err conftest.
$ac_objext \
22590 if ${ac_cv_search_uv_loop_init+:} false
; then :
22594 if ${ac_cv_search_uv_loop_init+:} false
; then :
22597 ac_cv_search_uv_loop_init
=no
22599 rm conftest.
$ac_ext
22600 LIBS
=$ac_func_search_save_LIBS
22602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_uv_loop_init" >&5
22603 $as_echo "$ac_cv_search_uv_loop_init" >&6; }
22604 ac_res
=$ac_cv_search_uv_loop_init
22605 if test "$ac_res" != no
; then :
22606 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
22623 for ac_header
in sqlite3.h
22625 ac_fn_cxx_check_header_mongrel
"$LINENO" "sqlite3.h" "ac_cv_header_sqlite3_h" "$ac_includes_default"
22626 if test "x$ac_cv_header_sqlite3_h" = xyes
; then :
22627 cat >>confdefs.h
<<_ACEOF
22628 #define HAVE_SQLITE3_H 1
22631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sqlite3_open_v2" >&5
22632 $as_echo_n "checking for library containing sqlite3_open_v2... " >&6; }
22633 if ${ac_cv_search_sqlite3_open_v2+:} false
; then :
22634 $as_echo_n "(cached) " >&6
22636 ac_func_search_save_LIBS
=$LIBS
22637 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22638 /* end confdefs.h. */
22640 /* Override any GCC internal prototype to avoid an error.
22641 Use char because int might match the return type of a GCC
22642 builtin and then its argument prototype would still apply. */
22646 char sqlite3_open_v2 ();
22650 return sqlite3_open_v2 ();
22655 for ac_lib
in '' sqlite3
; do
22656 if test -z "$ac_lib"; then
22657 ac_res
="none required"
22660 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
22662 if ac_fn_cxx_try_link
"$LINENO"; then :
22663 ac_cv_search_sqlite3_open_v2
=$ac_res
22665 rm -f core conftest.err conftest.
$ac_objext \
22667 if ${ac_cv_search_sqlite3_open_v2+:} false
; then :
22671 if ${ac_cv_search_sqlite3_open_v2+:} false
; then :
22674 ac_cv_search_sqlite3_open_v2
=no
22676 rm conftest.
$ac_ext
22677 LIBS
=$ac_func_search_save_LIBS
22679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sqlite3_open_v2" >&5
22680 $as_echo "$ac_cv_search_sqlite3_open_v2" >&6; }
22681 ac_res
=$ac_cv_search_sqlite3_open_v2
22682 if test "$ac_res" != no
; then :
22683 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
22697 for ac_header
in ffi.h ffi
/ffi.h
22699 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
22700 ac_fn_cxx_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
22701 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
22702 cat >>confdefs.h
<<_ACEOF
22703 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
22714 if test "x$ac_cv_header_ffi_h" = xno
&& test "x$ac_cv_header_ffi_ffi_h" = xno
; then :
22719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBFFI" >&5
22720 $as_echo_n "checking for LIBFFI... " >&6; }
22722 if test -n "$LIBFFI_CFLAGS"; then
22723 pkg_cv_LIBFFI_CFLAGS
="$LIBFFI_CFLAGS"
22724 elif test -n "$PKG_CONFIG"; then
22725 if test -n "$PKG_CONFIG" && \
22726 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libffi\""; } >&5
22727 ($PKG_CONFIG --exists --print-errors "libffi") 2>&5
22729 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22730 test $ac_status = 0; }; then
22731 pkg_cv_LIBFFI_CFLAGS
=`$PKG_CONFIG --cflags "libffi" 2>/dev/null`
22732 test "x$?" != "x0" && pkg_failed
=yes
22739 if test -n "$LIBFFI_LIBS"; then
22740 pkg_cv_LIBFFI_LIBS
="$LIBFFI_LIBS"
22741 elif test -n "$PKG_CONFIG"; then
22742 if test -n "$PKG_CONFIG" && \
22743 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libffi\""; } >&5
22744 ($PKG_CONFIG --exists --print-errors "libffi") 2>&5
22746 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22747 test $ac_status = 0; }; then
22748 pkg_cv_LIBFFI_LIBS
=`$PKG_CONFIG --libs "libffi" 2>/dev/null`
22749 test "x$?" != "x0" && pkg_failed
=yes
22759 if test $pkg_failed = yes; then
22760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22761 $as_echo "no" >&6; }
22763 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
22764 _pkg_short_errors_supported
=yes
22766 _pkg_short_errors_supported
=no
22768 if test $_pkg_short_errors_supported = yes; then
22769 LIBFFI_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libffi" 2>&1`
22771 LIBFFI_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "libffi" 2>&1`
22773 # Put the nasty error message in config.log where it belongs
22774 echo "$LIBFFI_PKG_ERRORS" >&5
22776 as_fn_error $?
"missing \"libffi\"" "$LINENO" 5
22777 elif test $pkg_failed = untried
; then
22778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22779 $as_echo "no" >&6; }
22780 as_fn_error $?
"missing \"libffi\"" "$LINENO" 5
22782 LIBFFI_CFLAGS
=$pkg_cv_LIBFFI_CFLAGS
22783 LIBFFI_LIBS
=$pkg_cv_LIBFFI_LIBS
22784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22785 $as_echo "yes" >&6; }
22788 for element
in `$PKG_CONFIG --cflags libffi`; do
22790 for x
in $CPPFLAGS; do
22792 acl_save_prefix
="$prefix"
22793 prefix
="$acl_final_prefix"
22794 acl_save_exec_prefix
="$exec_prefix"
22795 exec_prefix
="$acl_final_exec_prefix"
22797 exec_prefix
="$acl_save_exec_prefix"
22798 prefix
="$acl_save_prefix"
22800 if test "X$x" = "X$element"; then
22805 if test -z "$haveit"; then
22806 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
22811 for element
in `$PKG_CONFIG --libs libffi`; do
22815 acl_save_prefix
="$prefix"
22816 prefix
="$acl_final_prefix"
22817 acl_save_exec_prefix
="$exec_prefix"
22818 exec_prefix
="$acl_final_exec_prefix"
22820 exec_prefix
="$acl_save_exec_prefix"
22821 prefix
="$acl_save_prefix"
22823 if test "X$x" = "X$element"; then
22828 if test -z "$haveit"; then
22829 LIBS
="${LIBS}${LIBS:+ }$element"
22838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing ffi_call" >&5
22839 $as_echo_n "checking for library containing ffi_call... " >&6; }
22840 if ${ac_cv_search_ffi_call+:} false
; then :
22841 $as_echo_n "(cached) " >&6
22843 ac_func_search_save_LIBS
=$LIBS
22844 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22845 /* end confdefs.h. */
22847 /* Override any GCC internal prototype to avoid an error.
22848 Use char because int might match the return type of a GCC
22849 builtin and then its argument prototype would still apply. */
22857 return ffi_call ();
22862 for ac_lib
in '' ffi
; do
22863 if test -z "$ac_lib"; then
22864 ac_res
="none required"
22867 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
22869 if ac_fn_cxx_try_link
"$LINENO"; then :
22870 ac_cv_search_ffi_call
=$ac_res
22872 rm -f core conftest.err conftest.
$ac_objext \
22874 if ${ac_cv_search_ffi_call+:} false
; then :
22878 if ${ac_cv_search_ffi_call+:} false
; then :
22881 ac_cv_search_ffi_call
=no
22883 rm conftest.
$ac_ext
22884 LIBS
=$ac_func_search_save_LIBS
22886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_ffi_call" >&5
22887 $as_echo "$ac_cv_search_ffi_call" >&6; }
22888 ac_res
=$ac_cv_search_ffi_call
22889 if test "$ac_res" != no
; then :
22890 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
22894 case $ac_cv_search_ffi_call in #(
22899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBFFI" >&5
22900 $as_echo_n "checking for LIBFFI... " >&6; }
22902 if test -n "$LIBFFI_CFLAGS"; then
22903 pkg_cv_LIBFFI_CFLAGS
="$LIBFFI_CFLAGS"
22904 elif test -n "$PKG_CONFIG"; then
22905 if test -n "$PKG_CONFIG" && \
22906 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libffi\""; } >&5
22907 ($PKG_CONFIG --exists --print-errors "libffi") 2>&5
22909 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22910 test $ac_status = 0; }; then
22911 pkg_cv_LIBFFI_CFLAGS
=`$PKG_CONFIG --cflags "libffi" 2>/dev/null`
22912 test "x$?" != "x0" && pkg_failed
=yes
22919 if test -n "$LIBFFI_LIBS"; then
22920 pkg_cv_LIBFFI_LIBS
="$LIBFFI_LIBS"
22921 elif test -n "$PKG_CONFIG"; then
22922 if test -n "$PKG_CONFIG" && \
22923 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libffi\""; } >&5
22924 ($PKG_CONFIG --exists --print-errors "libffi") 2>&5
22926 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22927 test $ac_status = 0; }; then
22928 pkg_cv_LIBFFI_LIBS
=`$PKG_CONFIG --libs "libffi" 2>/dev/null`
22929 test "x$?" != "x0" && pkg_failed
=yes
22939 if test $pkg_failed = yes; then
22940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22941 $as_echo "no" >&6; }
22943 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
22944 _pkg_short_errors_supported
=yes
22946 _pkg_short_errors_supported
=no
22948 if test $_pkg_short_errors_supported = yes; then
22949 LIBFFI_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libffi" 2>&1`
22951 LIBFFI_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "libffi" 2>&1`
22953 # Put the nasty error message in config.log where it belongs
22954 echo "$LIBFFI_PKG_ERRORS" >&5
22956 as_fn_error $?
"missing \"libffi\"" "$LINENO" 5
22957 elif test $pkg_failed = untried
; then
22958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22959 $as_echo "no" >&6; }
22960 as_fn_error $?
"missing \"libffi\"" "$LINENO" 5
22962 LIBFFI_CFLAGS
=$pkg_cv_LIBFFI_CFLAGS
22963 LIBFFI_LIBS
=$pkg_cv_LIBFFI_LIBS
22964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22965 $as_echo "yes" >&6; }
22968 for element
in `$PKG_CONFIG --cflags libffi`; do
22970 for x
in $CPPFLAGS; do
22972 acl_save_prefix
="$prefix"
22973 prefix
="$acl_final_prefix"
22974 acl_save_exec_prefix
="$exec_prefix"
22975 exec_prefix
="$acl_final_exec_prefix"
22977 exec_prefix
="$acl_save_exec_prefix"
22978 prefix
="$acl_save_prefix"
22980 if test "X$x" = "X$element"; then
22985 if test -z "$haveit"; then
22986 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
22991 for element
in `$PKG_CONFIG --libs libffi`; do
22995 acl_save_prefix
="$prefix"
22996 prefix
="$acl_final_prefix"
22997 acl_save_exec_prefix
="$exec_prefix"
22998 exec_prefix
="$acl_final_exec_prefix"
23000 exec_prefix
="$acl_save_exec_prefix"
23001 prefix
="$acl_save_prefix"
23003 if test "X$x" = "X$element"; then
23008 if test -z "$haveit"; then
23009 LIBS
="${LIBS}${LIBS:+ }$element"
23018 for ac_func
in ffi_prep_cif_var
23020 ac_fn_cxx_check_func
"$LINENO" "ffi_prep_cif_var" "ac_cv_func_ffi_prep_cif_var"
23021 if test "x$ac_cv_func_ffi_prep_cif_var" = xyes
; then :
23022 cat >>confdefs.h
<<_ACEOF
23023 #define HAVE_FFI_PREP_CIF_VAR 1
23037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaVM" >&5
23038 $as_echo_n "checking for framework JavaVM... " >&6; }
23039 if ${ac_cv_framework_JavaVM+:} false
; then :
23040 $as_echo_n "(cached) " >&6
23043 ac_check_framework_save_LIBS
=$LIBS
23044 LIBS
="-framework JavaVM $LIBS"
23045 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23046 /* end confdefs.h. */
23048 #include <JavaVM/jni.h>
23053 JNI_GetCreatedJavaVMs(NULL, 0, NULL);
23058 if ac_fn_cxx_try_link
"$LINENO"; then :
23060 ac_cv_framework_JavaVM
=yes
23063 ac_cv_framework_JavaVM
=no
23065 rm -f core conftest.err conftest.
$ac_objext \
23066 conftest
$ac_exeext conftest.
$ac_ext
23067 LIBS
=$ac_check_framework_save_LIBS
23070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaVM" >&5
23071 $as_echo "$ac_cv_framework_JavaVM" >&6; }
23072 if test $ac_cv_framework_JavaVM = yes; then :
23075 for element
in "-framework JavaVM"; do
23079 acl_save_prefix
="$prefix"
23080 prefix
="$acl_final_prefix"
23081 acl_save_exec_prefix
="$exec_prefix"
23082 exec_prefix
="$acl_final_exec_prefix"
23084 exec_prefix
="$acl_save_exec_prefix"
23085 prefix
="$acl_save_prefix"
23087 if test "X$x" = "X$element"; then
23092 if test -z "$haveit"; then
23093 LIBS
="${LIBS}${LIBS:+ }$element"
23103 ac_fn_cxx_check_header_mongrel
"$LINENO" "jni.h" "ac_cv_header_jni_h" "$ac_includes_default"
23104 if test "x$ac_cv_header_jni_h" = xyes
; then :
23111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing JNI_GetCreatedJavaVMs" >&5
23112 $as_echo_n "checking for library containing JNI_GetCreatedJavaVMs... " >&6; }
23113 if ${ac_cv_search_JNI_GetCreatedJavaVMs+:} false
; then :
23114 $as_echo_n "(cached) " >&6
23116 ac_func_search_save_LIBS
=$LIBS
23117 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23118 /* end confdefs.h. */
23120 /* Override any GCC internal prototype to avoid an error.
23121 Use char because int might match the return type of a GCC
23122 builtin and then its argument prototype would still apply. */
23126 char JNI_GetCreatedJavaVMs ();
23130 return JNI_GetCreatedJavaVMs ();
23135 for ac_lib
in '' dvm
; do
23136 if test -z "$ac_lib"; then
23137 ac_res
="none required"
23140 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
23142 if ac_fn_cxx_try_link
"$LINENO"; then :
23143 ac_cv_search_JNI_GetCreatedJavaVMs
=$ac_res
23145 rm -f core conftest.err conftest.
$ac_objext \
23147 if ${ac_cv_search_JNI_GetCreatedJavaVMs+:} false
; then :
23151 if ${ac_cv_search_JNI_GetCreatedJavaVMs+:} false
; then :
23154 ac_cv_search_JNI_GetCreatedJavaVMs
=no
23156 rm conftest.
$ac_ext
23157 LIBS
=$ac_func_search_save_LIBS
23159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_JNI_GetCreatedJavaVMs" >&5
23160 $as_echo "$ac_cv_search_JNI_GetCreatedJavaVMs" >&6; }
23161 ac_res
=$ac_cv_search_JNI_GetCreatedJavaVMs
23162 if test "$ac_res" != no
; then :
23163 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
23184 ac_cpp
='$OBJCXXCPP $CPPFLAGS'
23185 ac_compile
='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23186 ac_link
='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23187 ac_compiler_gnu
=$ac_cv_objcxx_compiler_gnu
23190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we really have Objective C++" >&5
23191 $as_echo_n "checking if we really have Objective C++... " >&6; }
23192 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23193 /* end confdefs.h. */
23196 if ac_fn_objcxx_try_compile
"$LINENO"; then :
23199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23200 $as_echo "yes" >&6; }
23203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23204 $as_echo "no" >&6; }
23206 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23208 if test "x$CY_OBJECTIVEC" = x1
; then :
23214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework CoreFoundation" >&5
23215 $as_echo_n "checking for framework CoreFoundation... " >&6; }
23216 if ${ac_cv_framework_CoreFoundation+:} false
; then :
23217 $as_echo_n "(cached) " >&6
23220 ac_check_framework_save_LIBS
=$LIBS
23221 LIBS
="-framework CoreFoundation $LIBS"
23222 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23223 /* end confdefs.h. */
23225 #include <CoreFoundation/CFBase.h>
23230 CFAllocatorGetDefault();
23235 if ac_fn_objcxx_try_link
"$LINENO"; then :
23237 ac_cv_framework_CoreFoundation
=yes
23240 ac_cv_framework_CoreFoundation
=no
23242 rm -f core conftest.err conftest.
$ac_objext \
23243 conftest
$ac_exeext conftest.
$ac_ext
23244 LIBS
=$ac_check_framework_save_LIBS
23247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_CoreFoundation" >&5
23248 $as_echo "$ac_cv_framework_CoreFoundation" >&6; }
23249 if test $ac_cv_framework_CoreFoundation = yes; then :
23252 for element
in "-framework CoreFoundation"; do
23256 acl_save_prefix
="$prefix"
23257 prefix
="$acl_final_prefix"
23258 acl_save_exec_prefix
="$exec_prefix"
23259 exec_prefix
="$acl_final_exec_prefix"
23261 exec_prefix
="$acl_save_exec_prefix"
23262 prefix
="$acl_save_prefix"
23264 if test "X$x" = "X$element"; then
23269 if test -z "$haveit"; then
23270 LIBS
="${LIBS}${LIBS:+ }$element"
23279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework Foundation" >&5
23280 $as_echo_n "checking for framework Foundation... " >&6; }
23281 if ${ac_cv_framework_Foundation+:} false
; then :
23282 $as_echo_n "(cached) " >&6
23285 ac_check_framework_save_LIBS
=$LIBS
23286 LIBS
="-framework Foundation $LIBS"
23287 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23288 /* end confdefs.h. */
23290 #include <Foundation/NSObject.h>
23295 [[NSObject alloc] init];
23300 if ac_fn_objcxx_try_link
"$LINENO"; then :
23302 ac_cv_framework_Foundation
=yes
23305 ac_cv_framework_Foundation
=no
23307 rm -f core conftest.err conftest.
$ac_objext \
23308 conftest
$ac_exeext conftest.
$ac_ext
23309 LIBS
=$ac_check_framework_save_LIBS
23312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_Foundation" >&5
23313 $as_echo "$ac_cv_framework_Foundation" >&6; }
23314 if test $ac_cv_framework_Foundation = yes; then :
23317 for element
in "-framework Foundation"; do
23321 acl_save_prefix
="$prefix"
23322 prefix
="$acl_final_prefix"
23323 acl_save_exec_prefix
="$exec_prefix"
23324 exec_prefix
="$acl_final_exec_prefix"
23326 exec_prefix
="$acl_save_exec_prefix"
23327 prefix
="$acl_save_prefix"
23329 if test "X$x" = "X$element"; then
23334 if test -z "$haveit"; then
23335 LIBS
="${LIBS}${LIBS:+ }$element"
23339 cat >>confdefs.h
<<_ACEOF
23340 #define HAVE_FRAMEWORK_FOUNDATION 1
23350 for ac_prog
in gnustep
-config
23352 # Extract the first word of "$ac_prog", so it can be a program name with args.
23353 set dummy
$ac_prog; ac_word
=$2
23354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23355 $as_echo_n "checking for $ac_word... " >&6; }
23356 if ${ac_cv_prog_GNUSTEP_CONFIG+:} false
; then :
23357 $as_echo_n "(cached) " >&6
23359 if test -n "$GNUSTEP_CONFIG"; then
23360 ac_cv_prog_GNUSTEP_CONFIG
="$GNUSTEP_CONFIG" # Let the user override the test.
23362 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23363 for as_dir
in $PATH
23366 test -z "$as_dir" && as_dir
=.
23367 for ac_exec_ext
in '' $ac_executable_extensions; do
23368 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
23369 ac_cv_prog_GNUSTEP_CONFIG
="$ac_prog"
23370 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23379 GNUSTEP_CONFIG
=$ac_cv_prog_GNUSTEP_CONFIG
23380 if test -n "$GNUSTEP_CONFIG"; then
23381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNUSTEP_CONFIG" >&5
23382 $as_echo "$GNUSTEP_CONFIG" >&6; }
23384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23385 $as_echo "no" >&6; }
23389 test -n "$GNUSTEP_CONFIG" && break
23393 if test "x$GNUSTEP_CONFIG" != x
; then :
23397 for element
in `$GNUSTEP_CONFIG --objc-flags`; do
23399 for x
in $OBJCXXFLAGS; do
23401 acl_save_prefix
="$prefix"
23402 prefix
="$acl_final_prefix"
23403 acl_save_exec_prefix
="$exec_prefix"
23404 exec_prefix
="$acl_final_exec_prefix"
23406 exec_prefix
="$acl_save_exec_prefix"
23407 prefix
="$acl_save_prefix"
23409 if test "X$x" = "X$element"; then
23414 if test -z "$haveit"; then
23415 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
23420 for element
in `$GNUSTEP_CONFIG --base-libs`; do
23424 acl_save_prefix
="$prefix"
23425 prefix
="$acl_final_prefix"
23426 acl_save_exec_prefix
="$exec_prefix"
23427 exec_prefix
="$acl_final_exec_prefix"
23429 exec_prefix
="$acl_save_exec_prefix"
23430 prefix
="$acl_save_prefix"
23432 if test "X$x" = "X$element"; then
23437 if test -z "$haveit"; then
23438 LIBS
="${LIBS}${LIBS:+ }$element"
23457 ac_cpp
='$CXXCPP $CPPFLAGS'
23458 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23459 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23460 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23467 if test "x$CY_JAVA" = x1
; then
23475 if test "x$CY_OBJECTIVEC" = x1
; then
23476 CY_OBJECTIVEC_TRUE
=
23477 CY_OBJECTIVEC_FALSE
='#'
23479 CY_OBJECTIVEC_TRUE
='#'
23480 CY_OBJECTIVEC_FALSE
=
23485 # Check whether --with-libclang was given.
23486 if test "${with_libclang+set}" = set; then :
23487 withval
=$with_libclang;
23493 if test "x$with_libclang" != "xno"; then :
23495 CY_LIBCLANG
="$with_libclang"
23498 if test "x$with_libclang" != "xno"; then
23500 CY_PRELINK_FALSE
='#'
23502 CY_PRELINK_TRUE
='#'
23511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a readline compatible library" >&5
23512 $as_echo_n "checking for a readline compatible library... " >&6; }
23513 if ${ax_cv_lib_readline+:} false
; then :
23514 $as_echo_n "(cached) " >&6
23518 for readline_lib
in readline edit editline
; do
23519 for termcap_lib
in "" termcap curses ncurses
; do
23520 if test -z "$termcap_lib"; then
23521 TRY_LIB
="-l$readline_lib"
23523 TRY_LIB
="-l$readline_lib -l$termcap_lib"
23525 LIBS
="$ORIG_LIBS $TRY_LIB"
23526 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23527 /* end confdefs.h. */
23529 /* Override any GCC internal prototype to avoid an error.
23530 Use char because int might match the return type of a GCC
23531 builtin and then its argument prototype would still apply. */
23539 return readline ();
23544 if ac_fn_cxx_try_link
"$LINENO"; then :
23545 ax_cv_lib_readline
="$TRY_LIB"
23547 rm -f core conftest.err conftest.
$ac_objext \
23548 conftest
$ac_exeext conftest.
$ac_ext
23549 if test -n "$ax_cv_lib_readline"; then
23553 if test -n "$ax_cv_lib_readline"; then
23557 if test -z "$ax_cv_lib_readline"; then
23558 ax_cv_lib_readline
="no"
23563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_lib_readline" >&5
23564 $as_echo "$ax_cv_lib_readline" >&6; }
23566 if test "$ax_cv_lib_readline" != "no"; then
23567 LIBS
="$LIBS $ax_cv_lib_readline"
23569 $as_echo "#define HAVE_LIBREADLINE 1" >>confdefs.h
23571 for ac_header
in readline.h readline
/readline.h
23573 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
23574 ac_fn_cxx_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
23575 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
23576 cat >>confdefs.h
<<_ACEOF
23577 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
23584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether readline supports history" >&5
23585 $as_echo_n "checking whether readline supports history... " >&6; }
23586 if ${ax_cv_lib_readline_history+:} false
; then :
23587 $as_echo_n "(cached) " >&6
23590 ax_cv_lib_readline_history
="no"
23591 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23592 /* end confdefs.h. */
23594 /* Override any GCC internal prototype to avoid an error.
23595 Use char because int might match the return type of a GCC
23596 builtin and then its argument prototype would still apply. */
23600 char add_history ();
23604 return add_history ();
23609 if ac_fn_cxx_try_link
"$LINENO"; then :
23610 ax_cv_lib_readline_history
="yes"
23612 rm -f core conftest.err conftest.
$ac_objext \
23613 conftest
$ac_exeext conftest.
$ac_ext
23616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_lib_readline_history" >&5
23617 $as_echo "$ax_cv_lib_readline_history" >&6; }
23618 if test "$ax_cv_lib_readline_history" = "yes"; then
23620 $as_echo "#define HAVE_READLINE_HISTORY 1" >>confdefs.h
23622 for ac_header
in history.h readline
/history.h
23624 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
23625 ac_fn_cxx_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
23626 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
23627 cat >>confdefs.h
<<_ACEOF
23628 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
23638 LTLIBREADLINE
=$LIBS
23642 case $ax_cv_lib_readline in #(
23644 as_fn_error $?
"missing \"libreadline\"" "$LINENO" 5 ;; #(
23652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing cur_term" >&5
23653 $as_echo_n "checking for library containing cur_term... " >&6; }
23654 if ${ac_cv_search_cur_term+:} false
; then :
23655 $as_echo_n "(cached) " >&6
23657 ac_func_search_save_LIBS
=$LIBS
23658 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23659 /* end confdefs.h. */
23661 /* Override any GCC internal prototype to avoid an error.
23662 Use char because int might match the return type of a GCC
23663 builtin and then its argument prototype would still apply. */
23671 return cur_term ();
23676 for ac_lib
in '' termcap ncurses
; do
23677 if test -z "$ac_lib"; then
23678 ac_res
="none required"
23681 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
23683 if ac_fn_cxx_try_link
"$LINENO"; then :
23684 ac_cv_search_cur_term
=$ac_res
23686 rm -f core conftest.err conftest.
$ac_objext \
23688 if ${ac_cv_search_cur_term+:} false
; then :
23692 if ${ac_cv_search_cur_term+:} false
; then :
23695 ac_cv_search_cur_term
=no
23697 rm conftest.
$ac_ext
23698 LIBS
=$ac_func_search_save_LIBS
23700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_cur_term" >&5
23701 $as_echo "$ac_cv_search_cur_term" >&6; }
23702 ac_res
=$ac_cv_search_cur_term
23703 if test "$ac_res" != no
; then :
23704 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
23719 ac_config_files
="$ac_config_files Makefile"
23721 cat >confcache
<<\_ACEOF
23722 # This file is a shell script that caches the results of configure
23723 # tests run on this system so they can be shared between configure
23724 # scripts and configure runs, see configure's option --config-cache.
23725 # It is not useful on other systems. If it contains results you don't
23726 # want to keep, you may remove or edit it.
23728 # config.status only pays attention to the cache file if you give it
23729 # the --recheck option to rerun configure.
23731 # `ac_cv_env_foo' variables (set or unset) will be overridden when
23732 # loading this file, other *unset* `ac_cv_foo' will be assigned the
23733 # following values.
23737 # The following way of writing the cache mishandles newlines in values,
23738 # but we know of no workaround that is simple, portable, and efficient.
23739 # So, we kill variables containing newlines.
23740 # Ultrix sh set writes to stderr and can't be redirected directly,
23741 # and sets the high bit in the cache file unless we assign to the vars.
23743 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
23744 eval ac_val
=\$
$ac_var
23748 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
23749 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
23752 _
| IFS
| as_nl
) ;; #(
23753 BASH_ARGV
| BASH_SOURCE
) eval $ac_var= ;; #(
23754 *) { eval $ac_var=; unset $ac_var;} ;;
23760 case $as_nl`(ac_space=' '; set) 2>&1` in #(
23761 *${as_nl}ac_space
=\
*)
23762 # `set' does not quote correctly, so add quotes: double-quote
23763 # substitution turns \\\\ into \\, and sed turns \\ into \.
23766 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
23769 # `set' quotes correctly as required by POSIX, so do not add quotes.
23770 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
23779 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
23781 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
23783 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
23784 if test -w "$cache_file"; then
23785 if test "x$cache_file" != "x/dev/null"; then
23786 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
23787 $as_echo "$as_me: updating cache $cache_file" >&6;}
23788 if test ! -f "$cache_file" || test -h "$cache_file"; then
23789 cat confcache
>"$cache_file"
23791 case $cache_file in #(
23793 mv -f confcache
"$cache_file"$$
&&
23794 mv -f "$cache_file"$$
"$cache_file" ;; #(
23796 mv -f confcache
"$cache_file" ;;
23801 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
23802 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
23807 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
23808 # Let make expand exec_prefix.
23809 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
23811 DEFS
=-DHAVE_CONFIG_H
23816 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
23817 # 1. Remove the extension, and $U if already installed.
23818 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
23819 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
23820 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
23821 # will be set to the directory where LIBOBJS objects are built.
23822 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
23823 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
23825 LIBOBJS
=$ac_libobjs
23827 LTLIBOBJS
=$ac_ltlibobjs
23830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
23831 $as_echo_n "checking that generated files are newer than configure... " >&6; }
23832 if test -n "$am_sleep_pid"; then
23833 # Hide warnings about reused PIDs.
23834 wait $am_sleep_pid 2>/dev
/null
23836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
23837 $as_echo "done" >&6; }
23838 if test -n "$EXEEXT"; then
23840 am__EXEEXT_FALSE
='#'
23842 am__EXEEXT_TRUE
='#'
23846 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
23847 as_fn_error $?
"conditional \"MAINTAINER_MODE\" was never defined.
23848 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23850 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
23851 as_fn_error $?
"conditional \"AMDEP\" was never defined.
23852 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23854 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
23855 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
23856 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23858 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
23859 as_fn_error $?
"conditional \"am__fastdepCXX\" was never defined.
23860 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23862 if test -z "${am__fastdepOBJCXX_TRUE}" && test -z "${am__fastdepOBJCXX_FALSE}"; then
23863 as_fn_error $?
"conditional \"am__fastdepOBJCXX\" was never defined.
23864 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23866 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
23867 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
23868 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23870 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
23871 as_fn_error $?
"conditional \"am__fastdepCXX\" was never defined.
23872 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23874 if test -z "${CY_CONSOLE_TRUE}" && test -z "${CY_CONSOLE_FALSE}"; then
23875 as_fn_error $?
"conditional \"CY_CONSOLE\" was never defined.
23876 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23878 if test -z "${CY_ATTACH_TRUE}" && test -z "${CY_ATTACH_FALSE}"; then
23879 as_fn_error $?
"conditional \"CY_ATTACH\" was never defined.
23880 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23882 if test -z "${CY_EXECUTE_TRUE}" && test -z "${CY_EXECUTE_FALSE}"; then
23883 as_fn_error $?
"conditional \"CY_EXECUTE\" was never defined.
23884 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23886 if test -z "${CY_JAVA_TRUE}" && test -z "${CY_JAVA_FALSE}"; then
23887 as_fn_error $?
"conditional \"CY_JAVA\" was never defined.
23888 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23890 if test -z "${CY_OBJECTIVEC_TRUE}" && test -z "${CY_OBJECTIVEC_FALSE}"; then
23891 as_fn_error $?
"conditional \"CY_OBJECTIVEC\" was never defined.
23892 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23894 if test -z "${CY_PRELINK_TRUE}" && test -z "${CY_PRELINK_FALSE}"; then
23895 as_fn_error $?
"conditional \"CY_PRELINK\" was never defined.
23896 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23899 : "${CONFIG_STATUS=./config.status}"
23901 ac_clean_files_save
=$ac_clean_files
23902 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
23903 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
23904 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
23906 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
23908 # Generated by $as_me.
23909 # Run this file to recreate the current configuration.
23910 # Compiler output produced by configure, useful for debugging
23911 # configure, is in config.log if it exists.
23914 ac_cs_recheck=false
23917 SHELL=\${CONFIG_SHELL-$SHELL}
23920 cat >>$CONFIG_STATUS <<\_ASEOF
|| as_write_fail
=1
23921 ## -------------------- ##
23922 ## M4sh Initialization. ##
23923 ## -------------------- ##
23925 # Be more Bourne compatible
23926 DUALCASE
=1; export DUALCASE
# for MKS sh
23927 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
23930 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23931 # is contrary to our usage. Disable this feature.
23932 alias -g '${1+"$@"}'='"$@"'
23933 setopt NO_GLOB_SUBST
23935 case `(set -o) 2>/dev/null` in #(
23947 # Printing a long string crashes Solaris 7 /usr/bin/printf.
23948 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
23949 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
23950 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
23951 # Prefer a ksh shell builtin over an external printf program on Solaris,
23952 # but without wasting forks for bash or zsh.
23953 if test -z "$BASH_VERSION$ZSH_VERSION" \
23954 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
23955 as_echo='print
-r --'
23956 as_echo_n='print
-rn --'
23957 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
23958 as_echo='printf %s
\n'
23959 as_echo_n='printf %s
'
23961 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
23962 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
23963 as_echo_n='/usr
/ucb
/echo -n'
23965 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
23966 as_echo_n_body='eval
23970 expr "X$arg" : "X\\(.*\\)$as_nl";
23971 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
23973 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
23975 export as_echo_n_body
23976 as_echo_n='sh
-c $as_echo_n_body as_echo
'
23978 export as_echo_body
23979 as_echo='sh
-c $as_echo_body as_echo
'
23982 # The user is always right.
23983 if test "${PATH_SEPARATOR+set}" != set; then
23985 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
23986 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
23993 # We need space, tab and new line, in precisely that order. Quoting is
23994 # there to prevent editors from complaining about space-tab.
23995 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
23996 # splitting by setting IFS to empty value.)
23999 # Find who we are. Look in the path if we contain no directory separator.
24002 *[\\/]* ) as_myself=$0 ;;
24003 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24004 for as_dir in $PATH
24007 test -z "$as_dir" && as_dir=.
24008 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
24014 # We did not find ourselves, most probably we were run as `sh COMMAND'
24015 # in which case we are not to be found in the path.
24016 if test "x$as_myself" = x
; then
24019 if test ! -f "$as_myself"; then
24020 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
24024 # Unset variables that we do not need and which cause bugs (e.g. in
24025 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
24026 # suppresses any "Segmentation fault" message there. '((' could
24027 # trigger a bug in pdksh 5.2.14.
24028 for as_var
in BASH_ENV ENV MAIL MAILPATH
24029 do eval test x\
${$as_var+set} = xset \
24030 && ( (unset $as_var) || exit 1) >/dev
/null
2>&1 && unset $as_var || :
24043 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
24046 # as_fn_error STATUS ERROR [LINENO LOG_FD]
24047 # ----------------------------------------
24048 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
24049 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
24050 # script with STATUS, using 1 if that was 0.
24053 as_status
=$1; test $as_status -eq 0 && as_status
=1
24055 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
24056 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
24058 $as_echo "$as_me: error: $2" >&2
24059 as_fn_exit
$as_status
24063 # as_fn_set_status STATUS
24064 # -----------------------
24065 # Set $? to STATUS, without forking.
24066 as_fn_set_status
()
24069 } # as_fn_set_status
24071 # as_fn_exit STATUS
24072 # -----------------
24073 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
24077 as_fn_set_status
$1
24083 # Portably unset VAR.
24086 { eval $1=; unset $1;}
24088 as_unset
=as_fn_unset
24089 # as_fn_append VAR VALUE
24090 # ----------------------
24091 # Append the text in VALUE to the end of the definition contained in VAR. Take
24092 # advantage of any shell optimizations that allow amortized linear growth over
24093 # repeated appends, instead of the typical quadratic growth present in naive
24095 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
24096 eval 'as_fn_append ()
24107 # as_fn_arith ARG...
24108 # ------------------
24109 # Perform arithmetic evaluation on the ARGs, and store the result in the
24110 # global $as_val. Take advantage of shells that can avoid forks. The arguments
24111 # must be portable across $(()) and expr.
24112 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
24113 eval 'as_fn_arith ()
24120 as_val
=`expr "$@" || test $? -eq 1`
24125 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
24126 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
24132 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
24133 as_basename
=basename
24138 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
24144 as_me
=`$as_basename -- "$0" ||
24145 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
24146 X"$0" : 'X\(//\)$' \| \
24147 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
24149 sed '/^.*\/\([^/][^/]*\)\/*$/{
24163 # Avoid depending upon Character Ranges.
24164 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
24165 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
24166 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
24167 as_cr_digits
='0123456789'
24168 as_cr_alnum
=$as_cr_Letters$as_cr_digits
24170 ECHO_C
= ECHO_N
= ECHO_T
=
24171 case `echo -n x` in #(((((
24173 case `echo 'xy\c'` in
24174 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
24176 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
24183 rm -f conf$$ conf$$.exe conf$$.
file
24184 if test -d conf$$.dir
; then
24185 rm -f conf$$.dir
/conf$$.
file
24188 mkdir conf$$.dir
2>/dev
/null
24190 if (echo >conf$$.
file) 2>/dev
/null
; then
24191 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
24193 # ... but there are two gotchas:
24194 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
24195 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
24196 # In both cases, we have to default to `cp -pR'.
24197 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
24199 elif ln conf$$.
file conf$$
2>/dev
/null
; then
24207 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
24208 rmdir conf$$.dir
2>/dev
/null
24213 # Create "$as_dir" as a directory, including parents if necessary.
24218 -*) as_dir
=.
/$as_dir;;
24220 test -d "$as_dir" || eval $as_mkdir_p || {
24224 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
24225 *) as_qdir
=$as_dir;;
24227 as_dirs
="'$as_qdir' $as_dirs"
24228 as_dir
=`$as_dirname -- "$as_dir" ||
24229 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24230 X"$as_dir" : 'X\(//\)[^/]' \| \
24231 X"$as_dir" : 'X\(//\)$' \| \
24232 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
24233 $as_echo X"$as_dir" |
24234 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
24238 /^X\(\/\/\)[^/].*/{
24251 test -d "$as_dir" && break
24253 test -z "$as_dirs" || eval "mkdir $as_dirs"
24254 } || test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
24258 if mkdir -p .
2>/dev
/null
; then
24259 as_mkdir_p
='mkdir -p "$as_dir"'
24261 test -d .
/-p && rmdir .
/-p
24266 # as_fn_executable_p FILE
24267 # -----------------------
24268 # Test if FILE is an executable regular file.
24269 as_fn_executable_p
()
24271 test -f "$1" && test -x "$1"
24272 } # as_fn_executable_p
24273 as_test_x
='test -x'
24274 as_executable_p
=as_fn_executable_p
24276 # Sed expression to map a string onto a valid CPP name.
24277 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
24279 # Sed expression to map a string onto a valid variable name.
24280 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
24284 ## ----------------------------------- ##
24285 ## Main body of $CONFIG_STATUS script. ##
24286 ## ----------------------------------- ##
24288 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
24290 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
24291 # Save the log message, to keep $0 and so on meaningful, and to
24292 # report actual input values of CONFIG_FILES etc. instead of their
24293 # values after options handling.
24295 This file was extended by Cycript $as_me 0.9, which was
24296 generated by GNU Autoconf 2.69. Invocation command line was
24298 CONFIG_FILES = $CONFIG_FILES
24299 CONFIG_HEADERS = $CONFIG_HEADERS
24300 CONFIG_LINKS = $CONFIG_LINKS
24301 CONFIG_COMMANDS = $CONFIG_COMMANDS
24304 on `(hostname || uname -n) 2>/dev/null | sed 1q`
24309 case $ac_config_files in *"
24310 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
24313 case $ac_config_headers in *"
24314 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
24318 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
24319 # Files that config.status was made for.
24320 config_files="$ac_config_files"
24321 config_headers="$ac_config_headers"
24322 config_commands="$ac_config_commands"
24326 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
24328 \`$as_me' instantiates files and other configuration actions
24329 from templates according to the current configuration. Unless the files
24330 and actions are specified as TAGs, all are instantiated by default.
24332 Usage: $0 [OPTION]... [TAG]...
24334 -h, --help print this help, then exit
24335 -V, --version print version number and configuration settings, then exit
24336 --config print configuration, then exit
24337 -q, --quiet, --silent
24338 do not print progress messages
24339 -d, --debug don't remove temporary files
24340 --recheck update $as_me by reconfiguring in the same conditions
24341 --file=FILE[:TEMPLATE]
24342 instantiate the configuration file FILE
24343 --header=FILE[:TEMPLATE]
24344 instantiate the configuration header FILE
24346 Configuration files:
24349 Configuration headers:
24352 Configuration commands:
24355 Report bugs to <saurik@saurik.com>.
24356 Cycript home page: <http://www.cycript.org/>."
24359 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
24360 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
24362 Cycript config.status 0.9
24363 configured by $0, generated by GNU Autoconf 2.69,
24364 with options \\"\$ac_cs_config\\"
24366 Copyright (C) 2012 Free Software Foundation, Inc.
24367 This config.status script is free software; the Free Software Foundation
24368 gives unlimited permission to copy, distribute and modify it."
24375 test -n "\$AWK" || AWK=awk
24378 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
24379 # The default lists apply if the user does not specify any file.
24385 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
24386 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
24390 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
24402 # Handling of the options.
24403 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
24405 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
24406 $as_echo "$ac_cs_version"; exit ;;
24407 --config | --confi | --conf | --con | --co | --c )
24408 $as_echo "$ac_cs_config"; exit ;;
24409 --debug | --debu | --deb | --de | --d | -d )
24411 --file | --fil | --fi | --f )
24414 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
24415 '') as_fn_error $?
"missing file argument" ;;
24417 as_fn_append CONFIG_FILES
" '$ac_optarg'"
24418 ac_need_defaults
=false
;;
24419 --header | --heade | --head | --hea )
24422 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
24424 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
24425 ac_need_defaults
=false
;;
24427 # Conflict between --help and --header
24428 as_fn_error $?
"ambiguous option: \`$1'
24429 Try \`$0 --help' for more information.";;
24430 --help | --hel | -h )
24431 $as_echo "$ac_cs_usage"; exit ;;
24432 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
24433 | -silent | --silent | --silen | --sile | --sil | --si | --s)
24436 # This is an error.
24437 -*) as_fn_error $?
"unrecognized option: \`$1'
24438 Try \`$0 --help' for more information." ;;
24440 *) as_fn_append ac_config_targets
" $1"
24441 ac_need_defaults
=false
;;
24447 ac_configure_extra_args
=
24449 if $ac_cs_silent; then
24451 ac_configure_extra_args
="$ac_configure_extra_args --silent"
24455 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
24456 if \$ac_cs_recheck; then
24457 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
24459 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
24460 CONFIG_SHELL='$SHELL'
24461 export CONFIG_SHELL
24466 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
24470 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
24471 ## Running $as_me. ##
24477 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
24481 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
24484 # The HP-UX ksh and POSIX shell print the target directory to stdout
24485 # if CDPATH is set.
24486 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
24488 sed_quote_subst='$sed_quote_subst'
24489 double_quote_subst='$double_quote_subst'
24490 delay_variable_subst='$delay_variable_subst'
24491 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
24492 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
24493 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
24494 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
24495 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
24496 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
24497 shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
24498 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
24499 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
24500 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
24501 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
24502 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
24503 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
24504 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
24505 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
24506 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
24507 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
24508 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
24509 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
24510 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
24511 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
24512 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
24513 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
24514 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
24515 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
24516 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
24517 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
24518 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
24519 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
24520 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
24521 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
24522 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
24523 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
24524 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
24525 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
24526 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
24527 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
24528 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
24529 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
24530 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
24531 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
24532 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
24533 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
24534 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
24535 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
24536 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
24537 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
24538 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
24539 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
24540 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
24541 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
24542 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
24543 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
24544 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
24545 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
24546 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
24547 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
24548 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
24549 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"`'
24550 lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
24551 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
24552 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
24553 lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
24554 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
24555 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
24556 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
24557 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
24558 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
24559 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
24560 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
24561 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
24562 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
24563 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
24564 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
24565 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
24566 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
24567 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
24568 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
24569 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
24570 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
24571 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
24572 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
24573 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
24574 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
24575 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
24576 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
24577 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
24578 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
24579 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
24580 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
24581 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
24582 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
24583 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
24584 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
24585 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
24586 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
24587 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
24588 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
24589 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
24590 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
24591 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
24592 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
24593 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
24594 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
24595 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
24596 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
24597 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
24598 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
24599 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
24600 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
24601 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
24602 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
24603 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
24604 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
24605 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
24606 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
24607 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
24608 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
24609 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
24610 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
24611 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
24612 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
24613 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
24614 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
24615 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
24616 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
24617 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
24618 configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
24619 configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
24620 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
24621 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
24622 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
24623 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
24624 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
24625 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
24626 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
24627 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
24628 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
24629 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
24630 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
24631 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
24632 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
24633 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
24634 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
24635 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
24636 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
24637 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
24638 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
24639 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
24640 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
24641 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
24642 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
24643 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
24644 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
24645 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
24646 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
24647 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
24648 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
24649 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
24650 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
24651 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
24652 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
24653 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
24654 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
24655 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
24656 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
24657 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
24658 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
24659 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
24660 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
24661 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
24662 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
24663 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
24664 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
24665 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
24666 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
24667 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
24668 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
24669 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
24670 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
24671 postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
24672 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
24673 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
24674 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
24675 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
24676 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
24677 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
24678 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
24679 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
24682 LTCFLAGS='$LTCFLAGS'
24683 compiler='$compiler_DEFAULT'
24685 # A function that is used when there is no print builtin or printf.
24686 func_fallback_echo ()
24688 eval 'cat <<_LTECHO_EOF
24693 # Quote evaled strings.
24708 deplibs_check_method \
24713 sharedlib_from_linklib_cmd \
24716 archiver_list_spec \
24722 lt_cv_sys_global_symbol_pipe \
24723 lt_cv_sys_global_symbol_to_cdecl \
24724 lt_cv_sys_global_symbol_to_import \
24725 lt_cv_sys_global_symbol_to_c_name_address \
24726 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
24727 lt_cv_nm_interface \
24728 nm_file_list_spec \
24729 lt_cv_truncate_bin \
24730 lt_prog_compiler_no_builtin_flag \
24731 lt_prog_compiler_pic \
24732 lt_prog_compiler_wl \
24733 lt_prog_compiler_static \
24734 lt_cv_prog_compiler_c_o \
24743 export_dynamic_flag_spec \
24744 whole_archive_flag_spec \
24745 compiler_needs_object \
24747 allow_undefined_flag \
24748 no_undefined_flag \
24749 hardcode_libdir_flag_spec \
24750 hardcode_libdir_separator \
24754 variables_saved_for_relink \
24756 library_names_spec \
24758 install_override_mode \
24762 compiler_lib_search_dirs \
24767 compiler_lib_search_path \
24771 lt_prog_compiler_no_builtin_flag_CXX \
24772 lt_prog_compiler_pic_CXX \
24773 lt_prog_compiler_wl_CXX \
24774 lt_prog_compiler_static_CXX \
24775 lt_cv_prog_compiler_c_o_CXX \
24776 export_dynamic_flag_spec_CXX \
24777 whole_archive_flag_spec_CXX \
24778 compiler_needs_object_CXX \
24780 allow_undefined_flag_CXX \
24781 no_undefined_flag_CXX \
24782 hardcode_libdir_flag_spec_CXX \
24783 hardcode_libdir_separator_CXX \
24784 exclude_expsyms_CXX \
24785 include_expsyms_CXX \
24786 file_list_spec_CXX \
24787 compiler_lib_search_dirs_CXX \
24788 predep_objects_CXX \
24789 postdep_objects_CXX \
24792 compiler_lib_search_path_CXX; do
24793 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
24794 *[\\\\\\\`\\"\\\$]*)
24795 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
24798 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
24803 # Double-quote double-evaled strings.
24804 for var in reload_cmds \
24805 old_postinstall_cmds \
24806 old_postuninstall_cmds \
24808 extract_expsyms_cmds \
24809 old_archive_from_new_cmds \
24810 old_archive_from_expsyms_cmds \
24812 archive_expsym_cmds \
24814 module_expsym_cmds \
24815 export_symbols_cmds \
24819 postuninstall_cmds \
24821 sys_lib_search_path_spec \
24822 configure_time_dlsearch_path \
24823 configure_time_lt_sys_library_path \
24825 old_archive_cmds_CXX \
24826 old_archive_from_new_cmds_CXX \
24827 old_archive_from_expsyms_cmds_CXX \
24829 archive_expsym_cmds_CXX \
24831 module_expsym_cmds_CXX \
24832 export_symbols_cmds_CXX \
24834 postlink_cmds_CXX; do
24835 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
24836 *[\\\\\\\`\\"\\\$]*)
24837 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
24840 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
24845 ac_aux_dir='$ac_aux_dir'
24847 # See if we are running on zsh, and set the options that allow our
24848 # commands through without removal of \ escapes INIT.
24849 if test -n "\${ZSH_VERSION+set}"; then
24850 setopt NO_GLOB_SUBST
24866 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
24868 # Handling of arguments.
24869 for ac_config_target
in $ac_config_targets
24871 case $ac_config_target in
24872 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
24873 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
24874 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
24875 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
24877 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
24882 # If the user did not use the arguments to specify the items to instantiate,
24883 # then the envvar interface is used. Set only those that are not.
24884 # We use the long form for the default assignment because of an extremely
24885 # bizarre bug on SunOS 4.1.3.
24886 if $ac_need_defaults; then
24887 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
24888 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
24889 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
24892 # Have a temporary directory for convenience. Make it in the build tree
24893 # simply because there is no reason against having it here, and in addition,
24894 # creating and moving files from /tmp can sometimes cause problems.
24895 # Hook for its removal unless debugging.
24896 # Note that there is a small window in which the directory will not be cleaned:
24897 # after its creation but before its name has been assigned to `$tmp'.
24901 trap 'exit_status=$?
24902 : "${ac_tmp:=$tmp}"
24903 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
24905 trap 'as_fn_exit 1' 1 2 13 15
24907 # Create a (secure) tmp directory for tmp files.
24910 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
24914 tmp
=.
/conf$$
-$RANDOM
24915 (umask 077 && mkdir "$tmp")
24916 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
24919 # Set up the scripts for CONFIG_FILES section.
24920 # No need to generate them if there are no CONFIG_FILES.
24921 # This happens for instance with `./config.status config.h'.
24922 if test -n "$CONFIG_FILES"; then
24925 ac_cr
=`echo X | tr X '\015'`
24926 # On cygwin, bash can eat \r inside `` if the user requested igncr.
24927 # But we know of no other shell where ac_cr would be empty at this
24928 # point, so we can use a bashism as a fallback.
24929 if test "x$ac_cr" = x
; then
24930 eval ac_cr
=\$
\'\\r
\'
24932 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
24933 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
24936 ac_cs_awk_cr
=$ac_cr
24939 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
24944 echo "cat >conf$$subs.awk <<_ACEOF" &&
24945 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
24947 } >conf$$subs.sh ||
24948 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
24949 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
24951 for ac_last_try in false false false false false :; do
24952 . ./conf$$subs.sh ||
24953 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
24955 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
24956 if test $ac_delim_n = $ac_delim_num; then
24958 elif $ac_last_try; then
24959 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
24961 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
24964 rm -f conf$$subs.sh
24966 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
24967 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
24971 s/^/S["/; s
/!.
*/"]=/
24981 s/\(.\{148\}\)..*/\1/
24983 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
24988 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
24995 s/\(.\{148\}\)..*/\1/
24997 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
25001 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
25006 ' <conf$$subs.awk | sed '
25011 ' >>$CONFIG_STATUS || ac_write_fail=1
25012 rm -f conf$$subs.awk
25013 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25015 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
25016 for (key in S) S_is_set[key] = 1
25022 nfields = split(line, field, "@
")
25024 len = length(field[1])
25025 for (i = 2; i < nfields; i++) {
25027 keylen = length(key)
25028 if (S_is_set[key]) {
25030 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
25031 len += length(value) + length(field[++i])
25042 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
25043 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
25044 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
25047 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
25048 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
25051 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
25052 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
25053 # trailing colons and then remove the whole line if VPATH becomes empty
25054 # (actually we leave an empty line to preserve line numbers).
25055 if test "x
$srcdir" = x.; then
25056 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
25074 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
25075 fi # test -n "$CONFIG_FILES"
25077 # Set up the scripts for CONFIG_HEADERS section.
25078 # No need to generate them if there are no CONFIG_HEADERS.
25079 # This happens for instance with `./config.status Makefile'.
25080 if test -n "$CONFIG_HEADERS"; then
25081 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
25085 # Transform confdefs.h into an awk script `defines.awk', embedded as
25086 # here-document in config.status, that substitutes the proper values into
25087 # config.h.in to produce config.h.
25089 # Create a delimiter string that does not exist in confdefs.h, to ease
25090 # handling of long lines.
25092 for ac_last_try in false false :; do
25093 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
25094 if test -z "$ac_tt"; then
25096 elif $ac_last_try; then
25097 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
25099 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
25103 # For the awk script, D is an array of macro values keyed by name,
25104 # likewise P contains macro parameters if any. Preserve backslash
25105 # newline sequences.
25107 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
25109 s/.\{148\}/&'"$ac_delim"'/g
25112 s/^[ ]*#[ ]*define[ ][ ]*/ /
25119 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
25121 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
25125 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
25126 D["\
1"]=" \
3\\\\\\n
"\\/p
25128 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
25133 s/.\{148\}/&'"$ac_delim"'/g
25138 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
25141 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
25143 ' <confdefs.h | sed '
25144 s/'"$ac_delim"'/"\\\
25145 "/g' >>$CONFIG_STATUS || ac_write_fail=1
25147 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25148 for (key in D) D_is_set[key] = 1
25151 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
25153 split(line, arg, " ")
25154 if (arg[1] == "#") {
25158 defundef
= substr
(arg
[1], 2)
25161 split(mac1
, mac2
, "(") #)
25163 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
25164 if (D_is_set
[macro
]) {
25165 # Preserve the white space surrounding the "#".
25166 print prefix
"define", macro P
[macro
] D
[macro
]
25169 # Replace #undef with comments. This is necessary, for example,
25170 # in the case of _POSIX_SOURCE, which is predefined and required
25171 # on some systems where configure will not decide to define it.
25172 if (defundef
== "undef") {
25173 print
"/*", prefix defundef
, macro
, "*/"
25181 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
25182 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
25183 fi # test -n "$CONFIG_HEADERS"
25186 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
25191 :[FHLC
]) ac_mode
=$ac_tag; continue;;
25193 case $ac_mode$ac_tag in
25195 :L
* | :C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
25196 :[FH
]-) ac_tag
=-:-;;
25197 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
25214 -) ac_f
="$ac_tmp/stdin";;
25215 *) # Look for the file first in the build tree, then in the source tree
25216 # (if the path is not absolute). The absolute path cannot be DOS-style,
25217 # because $ac_f cannot contain `:'.
25221 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
25223 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
25225 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
25226 as_fn_append ac_file_inputs
" '$ac_f'"
25229 # Let's still pretend it is `configure' which instantiates (i.e., don't
25230 # use $as_me), people would be surprised to read:
25231 # /* config.h. Generated by config.status. */
25232 configure_input
='Generated from '`
25233 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
25235 if test x
"$ac_file" != x
-; then
25236 configure_input
="$ac_file. $configure_input"
25237 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
25238 $as_echo "$as_me: creating $ac_file" >&6;}
25240 # Neutralize special characters interpreted by sed in replacement strings.
25241 case $configure_input in #(
25242 *\
&* | *\
|* | *\\* )
25243 ac_sed_conf_input
=`$as_echo "$configure_input" |
25244 sed 's/[\\\\&|]/\\\\&/g'`;; #(
25245 *) ac_sed_conf_input
=$configure_input;;
25249 *:-:* | *:-) cat >"$ac_tmp/stdin" \
25250 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
25255 ac_dir
=`$as_dirname -- "$ac_file" ||
25256 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25257 X"$ac_file" : 'X\(//\)[^/]' \| \
25258 X"$ac_file" : 'X\(//\)$' \| \
25259 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
25260 $as_echo X"$ac_file" |
25261 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
25265 /^X\(\/\/\)[^/].*/{
25278 as_dir
="$ac_dir"; as_fn_mkdir_p
25282 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
25284 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
25285 # A ".." for each directory in $ac_dir_suffix.
25286 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
25287 case $ac_top_builddir_sub in
25288 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
25289 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
25292 ac_abs_top_builddir
=$ac_pwd
25293 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
25294 # for backward compatibility:
25295 ac_top_builddir
=$ac_top_build_prefix
25298 .
) # We are building in place.
25300 ac_top_srcdir
=$ac_top_builddir_sub
25301 ac_abs_top_srcdir
=$ac_pwd ;;
25302 [\\/]* | ?
:[\\/]* ) # Absolute name.
25303 ac_srcdir
=$srcdir$ac_dir_suffix;
25304 ac_top_srcdir
=$srcdir
25305 ac_abs_top_srcdir
=$srcdir ;;
25306 *) # Relative name.
25307 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
25308 ac_top_srcdir
=$ac_top_build_prefix$srcdir
25309 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
25311 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
25321 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
25322 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
25324 ac_MKDIR_P
=$MKDIR_P
25326 [\\/$
]* | ?
:[\\/]* ) ;;
25327 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
25331 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
25332 # If the template does not know about datarootdir, expand it.
25333 # FIXME: This hack should be removed a few years after 2.60.
25334 ac_datarootdir_hack
=; ac_datarootdir_seen
=
25345 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
25346 *datarootdir
*) ac_datarootdir_seen
=yes;;
25347 *@datadir@
*|*@docdir@
*|*@infodir@
*|*@localedir@
*|*@mandir@
*)
25348 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
25349 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
25351 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25352 ac_datarootdir_hack='
25353 s&@datadir@&$datadir&g
25354 s&@docdir@&$docdir&g
25355 s&@infodir@&$infodir&g
25356 s&@localedir@&$localedir&g
25357 s&@mandir@&$mandir&g
25358 s&\\\${datarootdir}&$datarootdir&g' ;;
25362 # Neutralize VPATH when `$srcdir' = `.'.
25363 # Shell code in configure.ac might set extrasub.
25364 # FIXME: do we really want to maintain this feature?
25365 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25366 ac_sed_extra="$ac_vpsub
25369 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
25371 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
25372 s
|@configure_input@
|$ac_sed_conf_input|;t t
25373 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
25374 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
25375 s
&@srcdir@
&$ac_srcdir&;t t
25376 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
25377 s
&@top_srcdir@
&$ac_top_srcdir&;t t
25378 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
25379 s
&@builddir@
&$ac_builddir&;t t
25380 s
&@abs_builddir@
&$ac_abs_builddir&;t t
25381 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
25382 s
&@INSTALL@
&$ac_INSTALL&;t t
25383 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
25384 $ac_datarootdir_hack
25386 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
25387 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
25389 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
25390 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
25391 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
25392 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
25393 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
25394 which seems to be undefined. Please make sure it is defined" >&5
25395 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
25396 which seems to be undefined. Please make sure it is defined" >&2;}
25398 rm -f "$ac_tmp/stdin"
25400 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
25401 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
25403 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
25409 if test x"$ac_file" != x-; then
25411 $as_echo "/* $configure_input */" \
25412 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
25413 } >"$ac_tmp/config.h" \
25414 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
25415 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
25416 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
25417 $as_echo "$as_me: $ac_file is unchanged" >&6;}
25420 mv "$ac_tmp/config.h" "$ac_file" \
25421 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
25424 $as_echo "/* $configure_input */" \
25425 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
25426 || as_fn_error $? "could not create -" "$LINENO" 5
25428 # Compute "$ac_file"'s index
in $config_headers.
25431 for _am_header
in $config_headers :; do
25432 case $_am_header in
25433 $_am_arg | $_am_arg:* )
25436 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
25439 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
25440 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25441 X"$_am_arg" : 'X\(//\)[^/]' \| \
25442 X"$_am_arg" : 'X\(//\)$' \| \
25443 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
25444 $as_echo X"$_am_arg" |
25445 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
25449 /^X\(\/\/\)[^/].*/{
25461 s/.*/./; q'`/stamp
-h$_am_stamp_count
25464 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
25465 $as_echo "$as_me: executing $ac_file commands" >&6;}
25470 case $ac_file$ac_mode in
25471 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" || {
25472 # Older Autoconf quotes --file arguments for eval, but not when files
25473 # are listed without --file. Let's play safe and only enable the eval
25474 # if we detect the quoting.
25475 case $CONFIG_FILES in
25476 *\'*) eval set x
"$CONFIG_FILES" ;;
25477 *) set x
$CONFIG_FILES ;;
25482 # Strip MF so we end up with the name of the file.
25483 mf
=`echo "$mf" | sed -e 's/:.*$//'`
25484 # Check whether this is an Automake generated Makefile or not.
25485 # We used to match only the files named 'Makefile.in', but
25486 # some people rename them; so instead we look at the file content.
25487 # Grep'ing the first line is not enough: some people post-process
25488 # each Makefile.in and add a new line on top of each file to say so.
25489 # Grep'ing the whole file is not good either: AIX grep has a line
25490 # limit of 2048, but all sed's we know have understand at least 4000.
25491 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X
>/dev
/null
2>&1; then
25492 dirpart
=`$as_dirname -- "$mf" ||
25493 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25494 X"$mf" : 'X\(//\)[^/]' \| \
25495 X"$mf" : 'X\(//\)$' \| \
25496 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
25498 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
25502 /^X\(\/\/\)[^/].*/{
25518 # Extract the definition of DEPDIR, am__include, and am__quote
25519 # from the Makefile without running 'make'.
25520 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
25521 test -z "$DEPDIR" && continue
25522 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
25523 test -z "$am__include" && continue
25524 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
25525 # Find all dependency output files, they are included files with
25526 # $(DEPDIR) in their names. We invoke sed twice because it is the
25527 # simplest approach to changing $(DEPDIR) to its actual value in the
25529 for file in `sed -n "
25530 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
25531 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
25532 # Make sure the directory exists.
25533 test -f "$dirpart/$file" && continue
25534 fdir
=`$as_dirname -- "$file" ||
25535 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25536 X"$file" : 'X\(//\)[^/]' \| \
25537 X"$file" : 'X\(//\)$' \| \
25538 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
25539 $as_echo X"$file" |
25540 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
25544 /^X\(\/\/\)[^/].*/{
25557 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
25558 # echo "creating $dirpart/$file"
25559 echo '# dummy' > "$dirpart/$file"
25566 # See if we are running on zsh, and set the options that allow our
25567 # commands through without removal of \ escapes.
25568 if test -n "${ZSH_VERSION+set}"; then
25569 setopt NO_GLOB_SUBST
25573 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
25576 cat <<_LT_EOF >> "$cfgfile"
25578 # Generated automatically by $as_me ($PACKAGE) $VERSION
25579 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
25580 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
25582 # Provide generalized library-building support services.
25583 # Written by Gordon Matzigkeit, 1996
25585 # Copyright (C) 2014 Free Software Foundation, Inc.
25586 # This is free software; see the source for copying conditions. There is NO
25587 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
25589 # GNU Libtool is free software; you can redistribute it and/or modify
25590 # it under the terms of the GNU General Public License as published by
25591 # the Free Software Foundation; either version 2 of of the License, or
25592 # (at your option) any later version.
25594 # As a special exception to the GNU General Public License, if you
25595 # distribute this file as part of a program or library that is built
25596 # using GNU Libtool, you may include this file under the same
25597 # distribution terms that you use for the rest of that program.
25599 # GNU Libtool is distributed in the hope that it will be useful, but
25600 # WITHOUT ANY WARRANTY; without even the implied warranty of
25601 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
25602 # GNU General Public License for more details.
25604 # You should have received a copy of the GNU General Public License
25605 # along with this program. If not, see <http://www.gnu.org/licenses/>.
25608 # The names of the tagged configurations supported by this script.
25609 available_tags='CXX '
25611 # Configured defaults for sys_lib_dlsearch_path munging.
25612 : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
25614 # ### BEGIN LIBTOOL CONFIG
25616 # Which release of libtool.m4 was used?
25617 macro_version=$macro_version
25618 macro_revision=$macro_revision
25620 # Whether or not to build static libraries.
25621 build_old_libs=$enable_static
25623 # Whether or not to build shared libraries.
25624 build_libtool_libs=$enable_shared
25626 # What type of objects to build.
25629 # Whether or not to optimize for fast installation.
25630 fast_install=$enable_fast_install
25632 # Shared archive member basename,for filename based shared library versioning on AIX.
25633 shared_archive_member_spec=$shared_archive_member_spec
25635 # Shell to use when invoking shell scripts.
25638 # An echo program that protects backslashes.
25641 # The PATH separator for the build system.
25642 PATH_SEPARATOR=$lt_PATH_SEPARATOR
25645 host_alias=$host_alias
25649 # The build system.
25650 build_alias=$build_alias
25654 # A sed program that does not truncate output.
25657 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
25658 Xsed="\$SED -e 1s/^X//"
25660 # A grep program that handles long lines.
25666 # A literal string matcher.
25669 # A BSD- or MS-compatible name lister.
25672 # Whether we need soft or hard links.
25675 # What is the maximum length of a command?
25676 max_cmd_len=$max_cmd_len
25678 # Object file suffix (normally "o").
25681 # Executable file suffix (normally "").
25684 # whether the shell understands "unset".
25687 # turn spaces into newlines.
25690 # turn newlines into spaces.
25693 # convert \$build file names to \$host format.
25694 to_host_file_cmd=$lt_cv_to_host_file_cmd
25696 # convert \$build files to toolchain format.
25697 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
25699 # An object symbol dumper.
25700 OBJDUMP=$lt_OBJDUMP
25702 # Method to check whether dependent libraries are shared objects.
25703 deplibs_check_method=$lt_deplibs_check_method
25705 # Command to use when deplibs_check_method = "file_magic".
25706 file_magic_cmd=$lt_file_magic_cmd
25708 # How to find potential files when deplibs_check_method = "file_magic".
25709 file_magic_glob=$lt_file_magic_glob
25711 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
25712 want_nocaseglob=$lt_want_nocaseglob
25714 # DLL creation program.
25715 DLLTOOL=$lt_DLLTOOL
25717 # Command to associate shared and link libraries.
25718 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
25723 # Flags to create an archive.
25724 AR_FLAGS=$lt_AR_FLAGS
25726 # How to feed a file listing to the archiver.
25727 archiver_list_spec=$lt_archiver_list_spec
25729 # A symbol stripping program.
25732 # Commands used to install an old-style archive.
25734 old_postinstall_cmds=$lt_old_postinstall_cmds
25735 old_postuninstall_cmds=$lt_old_postuninstall_cmds
25737 # Whether to use a lock for old archive extraction.
25738 lock_old_archive_extraction=$lock_old_archive_extraction
25743 # LTCC compiler flags.
25744 LTCFLAGS=$lt_CFLAGS
25746 # Take the output of nm and produce a listing of raw symbols and C names.
25747 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
25749 # Transform the output of nm in a proper C declaration.
25750 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
25752 # Transform the output of nm into a list of symbols to manually relocate.
25753 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
25755 # Transform the output of nm in a C name address pair.
25756 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
25758 # Transform the output of nm in a C name address pair when lib prefix is needed.
25759 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
25761 # The name lister interface.
25762 nm_interface=$lt_lt_cv_nm_interface
25764 # Specify filename containing input files for \$NM.
25765 nm_file_list_spec=$lt_nm_file_list_spec
25767 # The root where to search for dependent libraries,and where our libraries should be installed.
25768 lt_sysroot=$lt_sysroot
25770 # Command to truncate a binary pipe.
25771 lt_truncate_bin=$lt_lt_cv_truncate_bin
25773 # The name of the directory that contains temporary libtool files.
25776 # Used to examine libraries when file_magic_cmd begins with "file".
25777 MAGIC_CMD=$MAGIC_CMD
25779 # Must we lock files when doing compilation?
25780 need_locks=$lt_need_locks
25783 MANIFEST_TOOL=$lt_MANIFEST_TOOL
25785 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
25786 DSYMUTIL=$lt_DSYMUTIL
25788 # Tool to change global to local symbols on Mac OS X.
25791 # Tool to manipulate fat objects and archives on Mac OS X.
25794 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
25797 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
25798 OTOOL64=$lt_OTOOL64
25800 # Old archive suffix (normally "a").
25803 # Shared library suffix (normally ".so").
25804 shrext_cmds=$lt_shrext_cmds
25806 # The commands to extract the exported symbol list from a shared archive.
25807 extract_expsyms_cmds=$lt_extract_expsyms_cmds
25809 # Variables whose values should be saved in libtool wrapper scripts and
25810 # restored at link time.
25811 variables_saved_for_relink=$lt_variables_saved_for_relink
25813 # Do we need the "lib" prefix for modules?
25814 need_lib_prefix=$need_lib_prefix
25816 # Do we need a version for libraries?
25817 need_version=$need_version
25819 # Library versioning type.
25820 version_type=$version_type
25822 # Shared library runtime path variable.
25823 runpath_var=$runpath_var
25825 # Shared library path variable.
25826 shlibpath_var=$shlibpath_var
25828 # Is shlibpath searched before the hard-coded library search path?
25829 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
25831 # Format of library name prefix.
25832 libname_spec=$lt_libname_spec
25834 # List of archive names. First name is the real one, the rest are links.
25835 # The last name is the one that the linker finds with -lNAME
25836 library_names_spec=$lt_library_names_spec
25838 # The coded name of the library, if different from the real name.
25839 soname_spec=$lt_soname_spec
25841 # Permission mode override for installation of shared libraries.
25842 install_override_mode=$lt_install_override_mode
25844 # Command to use after installation of a shared archive.
25845 postinstall_cmds=$lt_postinstall_cmds
25847 # Command to use after uninstallation of a shared archive.
25848 postuninstall_cmds=$lt_postuninstall_cmds
25850 # Commands used to finish a libtool library installation in a directory.
25851 finish_cmds=$lt_finish_cmds
25853 # As "finish_cmds", except a single script fragment to be evaled but
25855 finish_eval=$lt_finish_eval
25857 # Whether we should hardcode library paths into libraries.
25858 hardcode_into_libs=$hardcode_into_libs
25860 # Compile-time system search path for libraries.
25861 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
25863 # Detected run-time system search path for libraries.
25864 sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
25866 # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
25867 configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
25869 # Whether dlopen is supported.
25870 dlopen_support=$enable_dlopen
25872 # Whether dlopen of programs is supported.
25873 dlopen_self=$enable_dlopen_self
25875 # Whether dlopen of statically linked programs is supported.
25876 dlopen_self_static=$enable_dlopen_self_static
25878 # Commands to strip libraries.
25879 old_striplib=$lt_old_striplib
25880 striplib=$lt_striplib
25883 # The linker used to build libraries.
25886 # How to create reloadable object files.
25887 reload_flag=$lt_reload_flag
25888 reload_cmds=$lt_reload_cmds
25890 # Commands used to build an old-style archive.
25891 old_archive_cmds=$lt_old_archive_cmds
25893 # A language specific compiler.
25896 # Is the compiler the GNU compiler?
25899 # Compiler flag to turn off builtin functions.
25900 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
25902 # Additional compiler flags for building library objects.
25903 pic_flag=$lt_lt_prog_compiler_pic
25905 # How to pass a linker flag through the compiler.
25906 wl=$lt_lt_prog_compiler_wl
25908 # Compiler flag to prevent dynamic linking.
25909 link_static_flag=$lt_lt_prog_compiler_static
25911 # Does compiler simultaneously support -c and -o options?
25912 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
25914 # Whether or not to add -lc for building shared libraries.
25915 build_libtool_need_lc=$archive_cmds_need_lc
25917 # Whether or not to disallow shared libs when runtime libs are static.
25918 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
25920 # Compiler flag to allow reflexive dlopens.
25921 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
25923 # Compiler flag to generate shared objects directly from archives.
25924 whole_archive_flag_spec=$lt_whole_archive_flag_spec
25926 # Whether the compiler copes with passing no objects directly.
25927 compiler_needs_object=$lt_compiler_needs_object
25929 # Create an old-style archive from a shared archive.
25930 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
25932 # Create a temporary old-style archive to link instead of a shared archive.
25933 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
25935 # Commands used to build a shared archive.
25936 archive_cmds=$lt_archive_cmds
25937 archive_expsym_cmds=$lt_archive_expsym_cmds
25939 # Commands used to build a loadable module if different from building
25940 # a shared archive.
25941 module_cmds=$lt_module_cmds
25942 module_expsym_cmds=$lt_module_expsym_cmds
25944 # Whether we are building with GNU ld or not.
25945 with_gnu_ld=$lt_with_gnu_ld
25947 # Flag that allows shared libraries with undefined symbols to be built.
25948 allow_undefined_flag=$lt_allow_undefined_flag
25950 # Flag that enforces no undefined symbols.
25951 no_undefined_flag=$lt_no_undefined_flag
25953 # Flag to hardcode \$libdir into a binary during linking.
25954 # This must work even if \$libdir does not exist
25955 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
25957 # Whether we need a single "-rpath" flag with a separated argument.
25958 hardcode_libdir_separator=$lt_hardcode_libdir_separator
25960 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
25961 # DIR into the resulting binary.
25962 hardcode_direct=$hardcode_direct
25964 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
25965 # DIR into the resulting binary and the resulting library dependency is
25966 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
25967 # library is relocated.
25968 hardcode_direct_absolute=$hardcode_direct_absolute
25970 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
25971 # into the resulting binary.
25972 hardcode_minus_L=$hardcode_minus_L
25974 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
25975 # into the resulting binary.
25976 hardcode_shlibpath_var=$hardcode_shlibpath_var
25978 # Set to "yes" if building a shared library automatically hardcodes DIR
25979 # into the library and all subsequent libraries and executables linked
25981 hardcode_automatic=$hardcode_automatic
25983 # Set to yes if linker adds runtime paths of dependent libraries
25984 # to runtime path list.
25985 inherit_rpath=$inherit_rpath
25987 # Whether libtool must link a program against all its dependency libraries.
25988 link_all_deplibs=$link_all_deplibs
25990 # Set to "yes" if exported symbols are required.
25991 always_export_symbols=$always_export_symbols
25993 # The commands to list exported symbols.
25994 export_symbols_cmds=$lt_export_symbols_cmds
25996 # Symbols that should not be listed in the preloaded symbols.
25997 exclude_expsyms=$lt_exclude_expsyms
25999 # Symbols that must always be exported.
26000 include_expsyms=$lt_include_expsyms
26002 # Commands necessary for linking programs (against libraries) with templates.
26003 prelink_cmds=$lt_prelink_cmds
26005 # Commands necessary for finishing linking programs.
26006 postlink_cmds=$lt_postlink_cmds
26008 # Specify filename containing input files.
26009 file_list_spec=$lt_file_list_spec
26011 # How to hardcode a shared library path into an executable.
26012 hardcode_action=$hardcode_action
26014 # The directories searched by this compiler when creating a shared library.
26015 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
26017 # Dependencies to place before and after the objects being linked to
26018 # create a shared library.
26019 predep_objects=$lt_predep_objects
26020 postdep_objects=$lt_postdep_objects
26021 predeps=$lt_predeps
26022 postdeps=$lt_postdeps
26024 # The library search path used internally by the compiler when linking
26025 # a shared library.
26026 compiler_lib_search_path=$lt_compiler_lib_search_path
26028 # ### END LIBTOOL CONFIG
26032 cat <<'_LT_EOF' >> "$cfgfile"
26034 # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
26036 # func_munge_path_list VARIABLE PATH
26037 # -----------------------------------
26038 # VARIABLE is name of variable containing _space_ separated list of
26039 # directories to be munged by the contents of PATH, which is string
26042 # string "DIR[ DIR]" will be prepended to VARIABLE
26044 # string "DIR[ DIR]" will be appended to VARIABLE
26045 # "DIRP[:DIRP]::[DIRA:]DIRA"
26046 # string "DIRP[ DIRP]" will be prepended to VARIABLE and string
26047 # "DIRA[ DIRA]" will be appended to VARIABLE
26049 # VARIABLE will be replaced by "DIR[ DIR]"
26050 func_munge_path_list ()
26056 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
26059 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
26062 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
26063 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
26066 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
26072 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
26073 func_cc_basename ()
26075 for cc_temp in $*""; do
26077 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
26078 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
26083 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
26087 # ### END FUNCTIONS SHARED WITH CONFIGURE
26093 cat <<\_LT_EOF
>> "$cfgfile"
26094 # AIX sometimes has problems with the GCC collect2 program. For some
26095 # reason, if we set the COLLECT_NAMES environment variable, the problems
26096 # vanish in a puff of smoke.
26097 if test set != "${COLLECT_NAMES+set}"; then
26099 export COLLECT_NAMES
26106 ltmain
=$ac_aux_dir/ltmain.sh
26109 # We use sed instead of cat because bash on DJGPP gets confused if
26110 # if finds mixed CR/LF and LF-only lines. Since sed operates in
26111 # text mode, it properly converts lines to CR/LF. This bash problem
26112 # is reportedly fixed, but why not run on old versions too?
26113 sed '$q' "$ltmain" >> "$cfgfile" \
26114 || (rm -f "$cfgfile"; exit 1)
26116 mv -f "$cfgfile" "$ofile" ||
26117 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
26121 cat <<_LT_EOF >> "$ofile"
26123 # ### BEGIN LIBTOOL TAG CONFIG: CXX
26125 # The linker used to build libraries.
26128 # How to create reloadable object files.
26129 reload_flag=$lt_reload_flag_CXX
26130 reload_cmds=$lt_reload_cmds_CXX
26132 # Commands used to build an old-style archive.
26133 old_archive_cmds=$lt_old_archive_cmds_CXX
26135 # A language specific compiler.
26136 CC=$lt_compiler_CXX
26138 # Is the compiler the GNU compiler?
26141 # Compiler flag to turn off builtin functions.
26142 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
26144 # Additional compiler flags for building library objects.
26145 pic_flag=$lt_lt_prog_compiler_pic_CXX
26147 # How to pass a linker flag through the compiler.
26148 wl=$lt_lt_prog_compiler_wl_CXX
26150 # Compiler flag to prevent dynamic linking.
26151 link_static_flag=$lt_lt_prog_compiler_static_CXX
26153 # Does compiler simultaneously support -c and -o options?
26154 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
26156 # Whether or not to add -lc for building shared libraries.
26157 build_libtool_need_lc=$archive_cmds_need_lc_CXX
26159 # Whether or not to disallow shared libs when runtime libs are static.
26160 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
26162 # Compiler flag to allow reflexive dlopens.
26163 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
26165 # Compiler flag to generate shared objects directly from archives.
26166 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
26168 # Whether the compiler copes with passing no objects directly.
26169 compiler_needs_object=$lt_compiler_needs_object_CXX
26171 # Create an old-style archive from a shared archive.
26172 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
26174 # Create a temporary old-style archive to link instead of a shared archive.
26175 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
26177 # Commands used to build a shared archive.
26178 archive_cmds=$lt_archive_cmds_CXX
26179 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
26181 # Commands used to build a loadable module if different from building
26182 # a shared archive.
26183 module_cmds=$lt_module_cmds_CXX
26184 module_expsym_cmds=$lt_module_expsym_cmds_CXX
26186 # Whether we are building with GNU ld or not.
26187 with_gnu_ld=$lt_with_gnu_ld_CXX
26189 # Flag that allows shared libraries with undefined symbols to be built.
26190 allow_undefined_flag=$lt_allow_undefined_flag_CXX
26192 # Flag that enforces no undefined symbols.
26193 no_undefined_flag=$lt_no_undefined_flag_CXX
26195 # Flag to hardcode \$libdir into a binary during linking.
26196 # This must work even if \$libdir does not exist
26197 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
26199 # Whether we need a single "-rpath" flag with a separated argument.
26200 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
26202 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
26203 # DIR into the resulting binary.
26204 hardcode_direct=$hardcode_direct_CXX
26206 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
26207 # DIR into the resulting binary and the resulting library dependency is
26208 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
26209 # library is relocated.
26210 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
26212 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
26213 # into the resulting binary.
26214 hardcode_minus_L=$hardcode_minus_L_CXX
26216 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
26217 # into the resulting binary.
26218 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
26220 # Set to "yes" if building a shared library automatically hardcodes DIR
26221 # into the library and all subsequent libraries and executables linked
26223 hardcode_automatic=$hardcode_automatic_CXX
26225 # Set to yes if linker adds runtime paths of dependent libraries
26226 # to runtime path list.
26227 inherit_rpath=$inherit_rpath_CXX
26229 # Whether libtool must link a program against all its dependency libraries.
26230 link_all_deplibs=$link_all_deplibs_CXX
26232 # Set to "yes" if exported symbols are required.
26233 always_export_symbols=$always_export_symbols_CXX
26235 # The commands to list exported symbols.
26236 export_symbols_cmds=$lt_export_symbols_cmds_CXX
26238 # Symbols that should not be listed in the preloaded symbols.
26239 exclude_expsyms=$lt_exclude_expsyms_CXX
26241 # Symbols that must always be exported.
26242 include_expsyms=$lt_include_expsyms_CXX
26244 # Commands necessary for linking programs (against libraries) with templates.
26245 prelink_cmds=$lt_prelink_cmds_CXX
26247 # Commands necessary for finishing linking programs.
26248 postlink_cmds=$lt_postlink_cmds_CXX
26250 # Specify filename containing input files.
26251 file_list_spec=$lt_file_list_spec_CXX
26253 # How to hardcode a shared library path into an executable.
26254 hardcode_action=$hardcode_action_CXX
26256 # The directories searched by this compiler when creating a shared library.
26257 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
26259 # Dependencies to place before and after the objects being linked to
26260 # create a shared library.
26261 predep_objects=$lt_predep_objects_CXX
26262 postdep_objects=$lt_postdep_objects_CXX
26263 predeps=$lt_predeps_CXX
26264 postdeps=$lt_postdeps_CXX
26266 # The library search path used internally by the compiler when linking
26267 # a shared library.
26268 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
26270 # ### END LIBTOOL TAG CONFIG: CXX
26281 ac_clean_files
=$ac_clean_files_save
26283 test $ac_write_fail = 0 ||
26284 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
26287 # configure is writing to config.log, and then calls config.status.
26288 # config.status does its own redirection, appending to config.log.
26289 # Unfortunately, on DOS this fails, as config.log is still kept open
26290 # by configure, so config.status won't be able to write to it; its
26291 # output is simply discarded. So we exec the FD to /dev/null,
26292 # effectively closing config.log, so it can be properly (re)opened and
26293 # appended to by config.status. When coming back to configure, we
26294 # need to make the FD available again.
26295 if test "$no_create" != yes; then
26297 ac_config_status_args
=
26298 test "$silent" = yes &&
26299 ac_config_status_args
="$ac_config_status_args --quiet"
26301 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
26303 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
26304 # would make configure fail if this is the last instruction.
26305 $ac_cs_success || as_fn_exit
1
26307 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
26308 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
26309 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}