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
717 CXXCPPFLAGS_FOR_BUILD
740 am__fastdepOBJCXX_FALSE
741 am__fastdepOBJCXX_TRUE
770 MAINTAINER_MODE_FALSE
784 INSTALL_STRIP_PROGRAM
826 program_transform_name
839 enable_option_checking
841 enable_maintainer_mode
842 enable_dependency_tracking
856 ac_precious_vars
='build_alias
889 # Initialize some variables set by options.
891 ac_init_version
=false
892 ac_unrecognized_opts
=
894 # The variables have the same names as the options, with
895 # dashes changed to underlines.
903 program_transform_name
=s
,x
,x
,
911 # Installation directory options.
912 # These are left unexpanded so users can "make install exec_prefix=/foo"
913 # and all the variables that are supposed to be based on exec_prefix
914 # by default will actually change.
915 # Use braces instead of parens because sh, perl, etc. also accept them.
916 # (The list follows the same order as the GNU Coding Standards.)
917 bindir
='${exec_prefix}/bin'
918 sbindir
='${exec_prefix}/sbin'
919 libexecdir
='${exec_prefix}/libexec'
920 datarootdir
='${prefix}/share'
921 datadir
='${datarootdir}'
922 sysconfdir
='${prefix}/etc'
923 sharedstatedir
='${prefix}/com'
924 localstatedir
='${prefix}/var'
925 includedir
='${prefix}/include'
926 oldincludedir
='/usr/include'
927 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
928 infodir
='${datarootdir}/info'
933 libdir
='${exec_prefix}/lib'
934 localedir
='${datarootdir}/locale'
935 mandir
='${datarootdir}/man'
941 # If the previous option needs an argument, assign it.
942 if test -n "$ac_prev"; then
943 eval $ac_prev=\
$ac_option
949 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
954 # Accept the important Cygnus configure options, so we can diagnose typos.
956 case $ac_dashdash$ac_option in
960 -bindir | --bindir | --bindi | --bind | --bin | --bi)
962 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
965 -build | --build | --buil | --bui | --bu)
966 ac_prev
=build_alias
;;
967 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
968 build_alias
=$ac_optarg ;;
970 -cache-file | --cache-file | --cache-fil | --cache-fi \
971 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
972 ac_prev
=cache_file
;;
973 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
974 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
975 cache_file
=$ac_optarg ;;
978 cache_file
=config.cache
;;
980 -datadir | --datadir | --datadi | --datad)
982 -datadir=* | --datadir=* | --datadi=* | --datad=*)
983 datadir
=$ac_optarg ;;
985 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
986 | --dataroo | --dataro | --datar)
987 ac_prev
=datarootdir
;;
988 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
989 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
990 datarootdir
=$ac_optarg ;;
992 -disable-* | --disable-*)
993 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
994 # Reject names that are not valid shell variable names.
995 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
996 as_fn_error $?
"invalid feature name: $ac_useropt"
997 ac_useropt_orig
=$ac_useropt
998 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
999 case $ac_user_opts in
1001 "enable_
$ac_useropt"
1003 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1004 ac_unrecognized_sep
=', ';;
1006 eval enable_
$ac_useropt=no
;;
1008 -docdir | --docdir | --docdi | --doc | --do)
1010 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1011 docdir
=$ac_optarg ;;
1013 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1015 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1016 dvidir
=$ac_optarg ;;
1018 -enable-* | --enable-*)
1019 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1020 # Reject names that are not valid shell variable names.
1021 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1022 as_fn_error $?
"invalid feature name: $ac_useropt"
1023 ac_useropt_orig
=$ac_useropt
1024 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1025 case $ac_user_opts in
1027 "enable_
$ac_useropt"
1029 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1030 ac_unrecognized_sep
=', ';;
1032 eval enable_
$ac_useropt=\
$ac_optarg ;;
1034 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1035 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1036 | --exec | --exe | --ex)
1037 ac_prev
=exec_prefix
;;
1038 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1039 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1040 | --exec=* | --exe=* | --ex=*)
1041 exec_prefix
=$ac_optarg ;;
1043 -gas | --gas | --ga | --g)
1044 # Obsolete; use --with-gas.
1047 -help | --help | --hel | --he | -h)
1048 ac_init_help
=long
;;
1049 -help=r
* | --help=r
* | --hel=r
* | --he=r
* | -hr*)
1050 ac_init_help
=recursive
;;
1051 -help=s
* | --help=s
* | --hel=s
* | --he=s
* | -hs*)
1052 ac_init_help
=short
;;
1054 -host | --host | --hos | --ho)
1055 ac_prev
=host_alias
;;
1056 -host=* | --host=* | --hos=* | --ho=*)
1057 host_alias
=$ac_optarg ;;
1059 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1061 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1063 htmldir
=$ac_optarg ;;
1065 -includedir | --includedir | --includedi | --included | --include \
1066 | --includ | --inclu | --incl | --inc)
1067 ac_prev
=includedir
;;
1068 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1069 | --includ=* | --inclu=* | --incl=* | --inc=*)
1070 includedir
=$ac_optarg ;;
1072 -infodir | --infodir | --infodi | --infod | --info | --inf)
1074 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1075 infodir
=$ac_optarg ;;
1077 -libdir | --libdir | --libdi | --libd)
1079 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1080 libdir
=$ac_optarg ;;
1082 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1083 | --libexe | --libex | --libe)
1084 ac_prev
=libexecdir
;;
1085 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1086 | --libexe=* | --libex=* | --libe=*)
1087 libexecdir
=$ac_optarg ;;
1089 -localedir | --localedir | --localedi | --localed | --locale)
1090 ac_prev
=localedir
;;
1091 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1092 localedir
=$ac_optarg ;;
1094 -localstatedir | --localstatedir | --localstatedi | --localstated \
1095 | --localstate | --localstat | --localsta | --localst | --locals)
1096 ac_prev
=localstatedir
;;
1097 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1098 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1099 localstatedir
=$ac_optarg ;;
1101 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1103 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1104 mandir
=$ac_optarg ;;
1106 -nfp | --nfp | --nf)
1107 # Obsolete; use --without-fp.
1110 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1111 | --no-cr | --no-c | -n)
1114 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1115 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1118 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1119 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1120 | --oldin | --oldi | --old | --ol | --o)
1121 ac_prev
=oldincludedir
;;
1122 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1123 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1124 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1125 oldincludedir
=$ac_optarg ;;
1127 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1129 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1130 prefix
=$ac_optarg ;;
1132 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1133 | --program-pre | --program-pr | --program-p)
1134 ac_prev
=program_prefix
;;
1135 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1136 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1137 program_prefix
=$ac_optarg ;;
1139 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1140 | --program-suf | --program-su | --program-s)
1141 ac_prev
=program_suffix
;;
1142 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1143 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1144 program_suffix
=$ac_optarg ;;
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 ac_prev
=program_transform_name
;;
1154 -program-transform-name=* | --program-transform-name=* \
1155 | --program-transform-nam=* | --program-transform-na=* \
1156 | --program-transform-n=* | --program-transform-=* \
1157 | --program-transform=* | --program-transfor=* \
1158 | --program-transfo=* | --program-transf=* \
1159 | --program-trans=* | --program-tran=* \
1160 | --progr-tra=* | --program-tr=* | --program-t=*)
1161 program_transform_name
=$ac_optarg ;;
1163 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1165 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1166 pdfdir
=$ac_optarg ;;
1168 -psdir | --psdir | --psdi | --psd | --ps)
1170 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1173 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1174 | -silent | --silent | --silen | --sile | --sil)
1177 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1179 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1181 sbindir
=$ac_optarg ;;
1183 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1184 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1185 | --sharedst | --shareds | --shared | --share | --shar \
1187 ac_prev
=sharedstatedir
;;
1188 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1189 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1190 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1192 sharedstatedir
=$ac_optarg ;;
1194 -site | --site | --sit)
1196 -site=* | --site=* | --sit=*)
1199 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1201 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1202 srcdir
=$ac_optarg ;;
1204 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1205 | --syscon | --sysco | --sysc | --sys | --sy)
1206 ac_prev
=sysconfdir
;;
1207 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1208 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1209 sysconfdir
=$ac_optarg ;;
1211 -target | --target | --targe | --targ | --tar | --ta | --t)
1212 ac_prev
=target_alias
;;
1213 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1214 target_alias
=$ac_optarg ;;
1216 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1219 -version | --version | --versio | --versi | --vers | -V)
1220 ac_init_version
=: ;;
1223 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1224 # Reject names that are not valid shell variable names.
1225 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1226 as_fn_error $?
"invalid package name: $ac_useropt"
1227 ac_useropt_orig
=$ac_useropt
1228 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1229 case $ac_user_opts in
1233 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1234 ac_unrecognized_sep
=', ';;
1236 eval with_
$ac_useropt=\
$ac_optarg ;;
1238 -without-* | --without-*)
1239 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1240 # Reject names that are not valid shell variable names.
1241 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1242 as_fn_error $?
"invalid package name: $ac_useropt"
1243 ac_useropt_orig
=$ac_useropt
1244 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1245 case $ac_user_opts in
1249 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1250 ac_unrecognized_sep
=', ';;
1252 eval with_
$ac_useropt=no
;;
1255 # Obsolete; use --with-x.
1258 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1259 | --x-incl | --x-inc | --x-in | --x-i)
1260 ac_prev
=x_includes
;;
1261 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1262 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1263 x_includes
=$ac_optarg ;;
1265 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1266 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1267 ac_prev
=x_libraries
;;
1268 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1269 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1270 x_libraries
=$ac_optarg ;;
1272 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1273 Try \`$0 --help' for more information"
1277 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1278 # Reject names that are not valid shell variable names.
1279 case $ac_envvar in #(
1280 '' | [0-9]* | *[!_$as_cr_alnum]* )
1281 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1283 eval $ac_envvar=\
$ac_optarg
1284 export $ac_envvar ;;
1287 # FIXME: should be removed in autoconf 3.0.
1288 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1289 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1290 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1291 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1297 if test -n "$ac_prev"; then
1298 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1299 as_fn_error $?
"missing argument to $ac_option"
1302 if test -n "$ac_unrecognized_opts"; then
1303 case $enable_option_checking in
1305 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1306 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1310 # Check all directory arguments for consistency.
1311 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1312 datadir sysconfdir sharedstatedir localstatedir includedir \
1313 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1314 libdir localedir mandir
1316 eval ac_val
=\$
$ac_var
1317 # Remove trailing slashes.
1320 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1321 eval $ac_var=\
$ac_val;;
1323 # Be sure to have absolute directory names.
1325 [\\/$
]* | ?
:[\\/]* ) continue;;
1326 NONE
| '' ) case $ac_var in *prefix
) continue;; esac;;
1328 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1331 # There might be people who depend on the old broken behavior: `$host'
1332 # used to hold the argument of --host etc.
1333 # FIXME: To remove some day.
1336 target
=$target_alias
1338 # FIXME: To remove some day.
1339 if test "x$host_alias" != x
; then
1340 if test "x$build_alias" = x
; then
1341 cross_compiling
=maybe
1342 elif test "x$build_alias" != "x$host_alias"; then
1348 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1350 test "$silent" = yes && exec 6>/dev
/null
1353 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1354 ac_ls_di
=`ls -di .` &&
1355 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1356 as_fn_error $?
"working directory cannot be determined"
1357 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1358 as_fn_error $?
"pwd does not report name of working directory"
1361 # Find the source files, if location was not specified.
1362 if test -z "$srcdir"; then
1363 ac_srcdir_defaulted
=yes
1364 # Try the directory containing this script, then the parent directory.
1365 ac_confdir
=`$as_dirname -- "$as_myself" ||
1366 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1367 X"$as_myself" : 'X\(//\)[^/]' \| \
1368 X"$as_myself" : 'X\(//\)$' \| \
1369 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1370 $as_echo X"$as_myself" |
1371 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1389 if test ! -r "$srcdir/$ac_unique_file"; then
1393 ac_srcdir_defaulted
=no
1395 if test ! -r "$srcdir/$ac_unique_file"; then
1396 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1397 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1399 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1401 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1403 # When building in place, set srcdir=.
1404 if test "$ac_abs_confdir" = "$ac_pwd"; then
1407 # Remove unnecessary trailing slashes from srcdir.
1408 # Double slashes in file names in object file debugging info
1409 # mess up M-x gdb in Emacs.
1411 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1413 for ac_var
in $ac_precious_vars; do
1414 eval ac_env_
${ac_var}_set
=\
${${ac_var}+set}
1415 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1416 eval ac_cv_env_
${ac_var}_set
=\
${${ac_var}+set}
1417 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1421 # Report the --help message.
1423 if test "$ac_init_help" = "long"; then
1424 # Omit some internal or obsolete options to make the list less imposing.
1425 # This message is too long to be a string in the A/UX 3.1 sh.
1427 \`configure' configures Cycript 0.9 to adapt to many kinds of systems.
1429 Usage: $0 [OPTION]... [VAR=VALUE]...
1431 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1432 VAR=VALUE. See below for descriptions of some of the useful variables.
1434 Defaults for the options are specified in brackets.
1437 -h, --help display this help and exit
1438 --help=short display options specific to this package
1439 --help=recursive display the short help of all the included packages
1440 -V, --version display version information and exit
1441 -q, --quiet, --silent do not print \`checking ...' messages
1442 --cache-file=FILE cache test results in FILE [disabled]
1443 -C, --config-cache alias for \`--cache-file=config.cache'
1444 -n, --no-create do not create output files
1445 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1447 Installation directories:
1448 --prefix=PREFIX install architecture-independent files in PREFIX
1449 [$ac_default_prefix]
1450 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1453 By default, \`make install' will install all the files in
1454 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1455 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1456 for instance \`--prefix=\$HOME'.
1458 For better control, use the options below.
1460 Fine tuning of the installation directories:
1461 --bindir=DIR user executables [EPREFIX/bin]
1462 --sbindir=DIR system admin executables [EPREFIX/sbin]
1463 --libexecdir=DIR program executables [EPREFIX/libexec]
1464 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1465 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1466 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1467 --libdir=DIR object code libraries [EPREFIX/lib]
1468 --includedir=DIR C header files [PREFIX/include]
1469 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1470 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1471 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1472 --infodir=DIR info documentation [DATAROOTDIR/info]
1473 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1474 --mandir=DIR man documentation [DATAROOTDIR/man]
1475 --docdir=DIR documentation root [DATAROOTDIR/doc/cycript]
1476 --htmldir=DIR html documentation [DOCDIR]
1477 --dvidir=DIR dvi documentation [DOCDIR]
1478 --pdfdir=DIR pdf documentation [DOCDIR]
1479 --psdir=DIR ps documentation [DOCDIR]
1485 --program-prefix=PREFIX prepend PREFIX to installed program names
1486 --program-suffix=SUFFIX append SUFFIX to installed program names
1487 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1490 --build=BUILD configure
for building on BUILD
[guessed
]
1491 --host=HOST cross
-compile to build programs to run on HOST
[BUILD
]
1495 if test -n "$ac_init_help"; then
1496 case $ac_init_help in
1497 short
| recursive
) echo "Configuration of Cycript 0.9:";;
1502 --disable-option-checking ignore unrecognized
--enable/--with options
1503 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1504 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1505 --enable-silent-rules less verbose build output
(undo
: "make V=1")
1506 --disable-silent-rules verbose build output
(undo
: "make V=0")
1507 --enable-maintainer-mode
1508 enable make rules and dependencies not useful
(and
1509 sometimes confusing
) to the casual installer
1510 --enable-dependency-tracking
1511 do not reject slow dependency extractors
1512 --disable-dependency-tracking
1513 speeds up one
-time build
1514 --enable-static[=PKGS
] build static libraries
[default
=no
]
1515 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1516 --enable-fast-install[=PKGS
]
1517 optimize
for fast installation
[default
=yes]
1518 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1519 --enable-javascript[=ENGINE
]
1520 use a JavaScript runtime
(currently the only
1521 available option
for ENGINE is JavaScriptCore
)
1523 --disable-console disable console
1524 --disable-attach disable attach
1527 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1528 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1529 --with-pic[=PKGS
] try to use only PIC
/non
-PIC objects
[default
=use
1531 --with-aix-soname=aix
|svr4
|both
1532 shared library versioning
(aka
"SONAME") variant to
1533 provide on AIX
, [default
=aix
].
1534 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1535 --with-sysroot[=DIR
] Search
for dependent libraries within DIR
(or the
1536 compiler
's sysroot if not specified).
1537 --with-libclang build bridge definitions using this libclang
1539 Some influential environment variables:
1540 CC C compiler command
1541 CFLAGS C compiler flags
1542 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1543 nonstandard directory <lib dir>
1544 LIBS libraries to pass to the linker, e.g. -l<library>
1545 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1546 you have headers in a nonstandard directory <include dir>
1547 CXX C++ compiler command
1548 CXXFLAGS C++ compiler flags
1549 OBJCXX Objective C++ compiler command
1550 OBJCXXFLAGS Objective C++ compiler flags
1552 CXXCPP C++ preprocessor
1554 User-defined run-time library search path.
1555 PKG_CONFIG path to pkg-config utility
1557 directories to add to pkg-config's search path
1559 path overriding pkg
-config's built-in search path
1560 BISON GNU Project parser generator (yacc replacement)
1561 FLEX the fast lexical analyser generator
1562 GPERF perfect hash function generator
1563 GNUTAR a very sticky lump of files
1566 C compiler flags for WEBKIT, overriding pkg-config
1567 WEBKIT_LIBS linker flags for WEBKIT, overriding pkg-config
1569 C compiler flags for LIBFFI, overriding pkg-config
1570 LIBFFI_LIBS linker flags for LIBFFI, overriding pkg-config
1572 C compiler flags for LIBRUBY21, overriding pkg-config
1574 linker flags for LIBRUBY21, overriding pkg-config
1576 prints information about the current gnustep installation
1578 Use these variables to override the choices made by `configure' or to
help
1579 it to
find libraries and programs with nonstandard names
/locations.
1581 Report bugs to
<saurik@saurik.com
>.
1582 Cycript home page
: <http
://www.cycript.org
/>.
1587 if test "$ac_init_help" = "recursive"; then
1588 # If there are subdirs, report their specific --help.
1589 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1590 test -d "$ac_dir" ||
1591 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1596 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1598 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1599 # A ".." for each directory in $ac_dir_suffix.
1600 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1601 case $ac_top_builddir_sub in
1602 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1603 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1606 ac_abs_top_builddir
=$ac_pwd
1607 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1608 # for backward compatibility:
1609 ac_top_builddir
=$ac_top_build_prefix
1612 .
) # We are building in place.
1614 ac_top_srcdir
=$ac_top_builddir_sub
1615 ac_abs_top_srcdir
=$ac_pwd ;;
1616 [\\/]* | ?
:[\\/]* ) # Absolute name.
1617 ac_srcdir
=$srcdir$ac_dir_suffix;
1618 ac_top_srcdir
=$srcdir
1619 ac_abs_top_srcdir
=$srcdir ;;
1621 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1622 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1623 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1625 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1627 cd "$ac_dir" || { ac_status
=$?
; continue; }
1628 # Check for guested configure.
1629 if test -f "$ac_srcdir/configure.gnu"; then
1631 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1632 elif test -f "$ac_srcdir/configure"; then
1634 $SHELL "$ac_srcdir/configure" --help=recursive
1636 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1638 cd "$ac_pwd" || { ac_status
=$?
; break; }
1642 test -n "$ac_init_help" && exit $ac_status
1643 if $ac_init_version; then
1645 Cycript configure
0.9
1646 generated by GNU Autoconf
2.69
1648 Copyright
(C
) 2012 Free Software Foundation
, Inc.
1649 This configure
script is free software
; the Free Software Foundation
1650 gives unlimited permission to copy
, distribute and modify it.
1652 Copyright
(C
) 2009-2015 Jay Freeman
(saurik
)
1657 ## ------------------------ ##
1658 ## Autoconf initialization. ##
1659 ## ------------------------ ##
1661 # ac_fn_c_try_compile LINENO
1662 # --------------------------
1663 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1664 ac_fn_c_try_compile
()
1666 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1667 rm -f conftest.
$ac_objext
1668 if { { ac_try
="$ac_compile"
1670 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
1671 *) ac_try_echo=$ac_try;;
1673 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1674 $as_echo "$ac_try_echo"; } >&5
1675 (eval "$ac_compile") 2>conftest.err
1677 if test -s conftest.err; then
1678 grep -v '^ *+' conftest.err >conftest.er1
1679 cat conftest.er1 >&5
1680 mv -f conftest.er1 conftest.err
1682 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1683 test $ac_status = 0; } && {
1684 test -z "$ac_c_werror_flag" ||
1685 test ! -s conftest.err
1686 } && test -s conftest.$ac_objext; then :
1689 $as_echo "$as_me: failed program was:" >&5
1690 sed 's/^/| /' conftest.$ac_ext >&5
1694 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1695 as_fn_set_status $ac_retval
1697 } # ac_fn_c_try_compile
1699 # ac_fn_cxx_try_compile LINENO
1700 # ----------------------------
1701 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1702 ac_fn_cxx_try_compile ()
1704 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1705 rm -f conftest.$ac_objext
1706 if { { ac_try="$ac_compile"
1708 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
1709 *) ac_try_echo
=$ac_try;;
1711 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1712 $as_echo "$ac_try_echo"; } >&5
1713 (eval "$ac_compile") 2>conftest.err
1715 if test -s conftest.err
; then
1716 grep -v '^ *+' conftest.err
>conftest.er1
1717 cat conftest.er1
>&5
1718 mv -f conftest.er1 conftest.err
1720 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1721 test $ac_status = 0; } && {
1722 test -z "$ac_cxx_werror_flag" ||
1723 test ! -s conftest.err
1724 } && test -s conftest.
$ac_objext; then :
1727 $as_echo "$as_me: failed program was:" >&5
1728 sed 's/^/| /' conftest.
$ac_ext >&5
1732 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1733 as_fn_set_status
$ac_retval
1735 } # ac_fn_cxx_try_compile
1737 # ac_fn_objcxx_try_compile LINENO
1738 # -------------------------------
1739 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1740 ac_fn_objcxx_try_compile
()
1742 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1743 rm -f conftest.
$ac_objext
1744 if { { ac_try
="$ac_compile"
1746 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
1747 *) ac_try_echo=$ac_try;;
1749 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1750 $as_echo "$ac_try_echo"; } >&5
1751 (eval "$ac_compile") 2>conftest.err
1753 if test -s conftest.err; then
1754 grep -v '^ *+' conftest.err >conftest.er1
1755 cat conftest.er1 >&5
1756 mv -f conftest.er1 conftest.err
1758 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1759 test $ac_status = 0; } && {
1760 test -z "$ac_objcxx_werror_flag" ||
1761 test ! -s conftest.err
1762 } && test -s conftest.$ac_objext; then :
1765 $as_echo "$as_me: failed program was:" >&5
1766 sed 's/^/| /' conftest.$ac_ext >&5
1770 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1771 as_fn_set_status $ac_retval
1773 } # ac_fn_objcxx_try_compile
1775 # ac_fn_c_try_cpp LINENO
1776 # ----------------------
1777 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1780 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1781 if { { ac_try="$ac_cpp conftest.$ac_ext"
1783 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
1784 *) ac_try_echo
=$ac_try;;
1786 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1787 $as_echo "$ac_try_echo"; } >&5
1788 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1790 if test -s conftest.err
; then
1791 grep -v '^ *+' conftest.err
>conftest.er1
1792 cat conftest.er1
>&5
1793 mv -f conftest.er1 conftest.err
1795 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1796 test $ac_status = 0; } > conftest.i
&& {
1797 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1798 test ! -s conftest.err
1802 $as_echo "$as_me: failed program was:" >&5
1803 sed 's/^/| /' conftest.
$ac_ext >&5
1807 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1808 as_fn_set_status
$ac_retval
1812 # ac_fn_cxx_try_cpp LINENO
1813 # ------------------------
1814 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1815 ac_fn_cxx_try_cpp
()
1817 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1818 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1820 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
1821 *) ac_try_echo=$ac_try;;
1823 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1824 $as_echo "$ac_try_echo"; } >&5
1825 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1827 if test -s conftest.err; then
1828 grep -v '^ *+' conftest.err >conftest.er1
1829 cat conftest.er1 >&5
1830 mv -f conftest.er1 conftest.err
1832 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1833 test $ac_status = 0; } > conftest.i && {
1834 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1835 test ! -s conftest.err
1839 $as_echo "$as_me: failed program was:" >&5
1840 sed 's/^/| /' conftest.$ac_ext >&5
1844 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1845 as_fn_set_status $ac_retval
1847 } # ac_fn_cxx_try_cpp
1849 # ac_fn_c_try_link LINENO
1850 # -----------------------
1851 # Try to link conftest.$ac_ext, and return whether this succeeded.
1854 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1855 rm -f conftest.$ac_objext conftest$ac_exeext
1856 if { { ac_try="$ac_link"
1858 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
1859 *) ac_try_echo
=$ac_try;;
1861 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1862 $as_echo "$ac_try_echo"; } >&5
1863 (eval "$ac_link") 2>conftest.err
1865 if test -s conftest.err
; then
1866 grep -v '^ *+' conftest.err
>conftest.er1
1867 cat conftest.er1
>&5
1868 mv -f conftest.er1 conftest.err
1870 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1871 test $ac_status = 0; } && {
1872 test -z "$ac_c_werror_flag" ||
1873 test ! -s conftest.err
1874 } && test -s conftest
$ac_exeext && {
1875 test "$cross_compiling" = yes ||
1876 test -x conftest
$ac_exeext
1880 $as_echo "$as_me: failed program was:" >&5
1881 sed 's/^/| /' conftest.
$ac_ext >&5
1885 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1886 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1887 # interfere with the next link command; also delete a directory that is
1888 # left behind by Apple's compiler. We do this before executing the actions.
1889 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1890 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1891 as_fn_set_status
$ac_retval
1893 } # ac_fn_c_try_link
1895 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1896 # -------------------------------------------------------
1897 # Tests whether HEADER exists and can be compiled using the include files in
1898 # INCLUDES, setting the cache variable VAR accordingly.
1899 ac_fn_c_check_header_compile
()
1901 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1903 $as_echo_n "checking for $2... " >&6; }
1904 if eval \
${$3+:} false
; then :
1905 $as_echo_n "(cached) " >&6
1907 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1908 /* end confdefs.h. */
1912 if ac_fn_c_try_compile
"$LINENO"; then :
1917 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1921 $as_echo "$ac_res" >&6; }
1922 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1924 } # ac_fn_c_check_header_compile
1926 # ac_fn_c_try_run LINENO
1927 # ----------------------
1928 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1929 # that executables *can* be run.
1932 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1933 if { { ac_try
="$ac_link"
1935 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
1936 *) ac_try_echo=$ac_try;;
1938 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1939 $as_echo "$ac_try_echo"; } >&5
1940 (eval "$ac_link") 2>&5
1942 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1943 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1944 { { case "(($ac_try" in
1945 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
1946 *) ac_try_echo
=$ac_try;;
1948 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1949 $as_echo "$ac_try_echo"; } >&5
1950 (eval "$ac_try") 2>&5
1952 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1953 test $ac_status = 0; }; }; then :
1956 $as_echo "$as_me: program exited with status $ac_status" >&5
1957 $as_echo "$as_me: failed program was:" >&5
1958 sed 's/^/| /' conftest.
$ac_ext >&5
1960 ac_retval
=$ac_status
1962 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1963 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1964 as_fn_set_status
$ac_retval
1968 # ac_fn_c_check_func LINENO FUNC VAR
1969 # ----------------------------------
1970 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1971 ac_fn_c_check_func
()
1973 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1975 $as_echo_n "checking for $2... " >&6; }
1976 if eval \
${$3+:} false
; then :
1977 $as_echo_n "(cached) " >&6
1979 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1980 /* end confdefs.h. */
1981 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1982 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1983 #define $2 innocuous_$2
1985 /* System header to define __stub macros and hopefully few prototypes,
1986 which can conflict with char $2 (); below.
1987 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1988 <limits.h> exists even on freestanding compilers. */
1991 # include <limits.h>
1993 # include <assert.h>
1998 /* Override any GCC internal prototype to avoid an error.
1999 Use char because int might match the return type of a GCC
2000 builtin and then its argument prototype would still apply. */
2005 /* The GNU C library defines this for functions which it implements
2006 to always fail with ENOSYS. Some functions are actually named
2007 something starting with __ and the normal name is an alias. */
2008 #if defined __stub_$2 || defined __stub___$2
2020 if ac_fn_c_try_link
"$LINENO"; then :
2025 rm -f core conftest.err conftest.
$ac_objext \
2026 conftest
$ac_exeext conftest.
$ac_ext
2029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2030 $as_echo "$ac_res" >&6; }
2031 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2033 } # ac_fn_c_check_func
2035 # ac_fn_cxx_try_link LINENO
2036 # -------------------------
2037 # Try to link conftest.$ac_ext, and return whether this succeeded.
2038 ac_fn_cxx_try_link
()
2040 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2041 rm -f conftest.
$ac_objext conftest
$ac_exeext
2042 if { { ac_try
="$ac_link"
2044 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
2045 *) ac_try_echo=$ac_try;;
2047 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2048 $as_echo "$ac_try_echo"; } >&5
2049 (eval "$ac_link") 2>conftest.err
2051 if test -s conftest.err; then
2052 grep -v '^ *+' conftest.err >conftest.er1
2053 cat conftest.er1 >&5
2054 mv -f conftest.er1 conftest.err
2056 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2057 test $ac_status = 0; } && {
2058 test -z "$ac_cxx_werror_flag" ||
2059 test ! -s conftest.err
2060 } && test -s conftest$ac_exeext && {
2061 test "$cross_compiling" = yes ||
2062 test -x conftest$ac_exeext
2066 $as_echo "$as_me: failed program was:" >&5
2067 sed 's/^/| /' conftest.$ac_ext >&5
2071 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2072 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2073 # interfere with the next link command; also delete a directory that is
2074 # left behind by Apple's compiler. We do this before executing the actions.
2075 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2076 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2077 as_fn_set_status $ac_retval
2079 } # ac_fn_cxx_try_link
2081 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2082 # ---------------------------------------------------------
2083 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2084 # the include files in INCLUDES and setting the cache variable VAR
2086 ac_fn_cxx_check_header_mongrel ()
2088 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2089 if eval \${$3+:} false; then :
2090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2091 $as_echo_n "checking for $2... " >&6; }
2092 if eval \${$3+:} false; then :
2093 $as_echo_n "(cached) " >&6
2096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2097 $as_echo "$ac_res" >&6; }
2099 # Is the header compilable?
2100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2101 $as_echo_n "checking $2 usability... " >&6; }
2102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2103 /* end confdefs.h. */
2107 if ac_fn_cxx_try_compile "$LINENO"; then :
2108 ac_header_compiler=yes
2110 ac_header_compiler=no
2112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2114 $as_echo "$ac_header_compiler" >&6; }
2116 # Is the header present?
2117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2118 $as_echo_n "checking $2 presence... " >&6; }
2119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2120 /* end confdefs.h. */
2123 if ac_fn_cxx_try_cpp "$LINENO"; then :
2124 ac_header_preproc=yes
2126 ac_header_preproc=no
2128 rm -f conftest.err conftest.i conftest.$ac_ext
2129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2130 $as_echo "$ac_header_preproc" >&6; }
2132 # So? What about this header?
2133 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2135 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2136 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&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;}
2141 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2142 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2143 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2144 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2145 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2146 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2147 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2148 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2149 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2150 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2151 ( $as_echo "## -------------------------------- ##
2152 ## Report this to saurik@saurik.com ##
2153 ## -------------------------------- ##"
2154 ) | sed "s/^/$as_me: WARNING: /" >&2
2157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2158 $as_echo_n "checking for $2... " >&6; }
2159 if eval \${$3+:} false; then :
2160 $as_echo_n "(cached) " >&6
2162 eval "$3=\$ac_header_compiler"
2165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2166 $as_echo "$ac_res" >&6; }
2168 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2170 } # ac_fn_cxx_check_header_mongrel
2172 # ac_fn_cxx_check_func LINENO FUNC VAR
2173 # ------------------------------------
2174 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2175 ac_fn_cxx_check_func ()
2177 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2179 $as_echo_n "checking for $2... " >&6; }
2180 if eval \${$3+:} false; then :
2181 $as_echo_n "(cached) " >&6
2183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2184 /* end confdefs.h. */
2185 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2186 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2187 #define $2 innocuous_$2
2189 /* System header to define __stub macros and hopefully few prototypes,
2190 which can conflict with char $2 (); below.
2191 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2192 <limits.h> exists even on freestanding compilers. */
2195 # include <limits.h>
2197 # include <assert.h>
2202 /* Override any GCC internal prototype to avoid an error.
2203 Use char because int might match the return type of a GCC
2204 builtin and then its argument prototype would still apply. */
2209 /* The GNU C library defines this for functions which it implements
2210 to always fail with ENOSYS. Some functions are actually named
2211 something starting with __ and the normal name is an alias. */
2212 #if defined __stub_$2 || defined __stub___$2
2224 if ac_fn_cxx_try_link "$LINENO"; then :
2229 rm -f core conftest.err conftest.$ac_objext \
2230 conftest$ac_exeext conftest.$ac_ext
2233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2234 $as_echo "$ac_res" >&6; }
2235 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2237 } # ac_fn_cxx_check_func
2239 # ac_fn_objcxx_try_link LINENO
2240 # ----------------------------
2241 # Try to link conftest.$ac_ext, and return whether this succeeded.
2242 ac_fn_objcxx_try_link ()
2244 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2245 rm -f conftest.$ac_objext conftest$ac_exeext
2246 if { { ac_try="$ac_link"
2248 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
2249 *) ac_try_echo
=$ac_try;;
2251 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2252 $as_echo "$ac_try_echo"; } >&5
2253 (eval "$ac_link") 2>conftest.err
2255 if test -s conftest.err
; then
2256 grep -v '^ *+' conftest.err
>conftest.er1
2257 cat conftest.er1
>&5
2258 mv -f conftest.er1 conftest.err
2260 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2261 test $ac_status = 0; } && {
2262 test -z "$ac_objcxx_werror_flag" ||
2263 test ! -s conftest.err
2264 } && test -s conftest
$ac_exeext && {
2265 test "$cross_compiling" = yes ||
2266 test -x conftest
$ac_exeext
2270 $as_echo "$as_me: failed program was:" >&5
2271 sed 's/^/| /' conftest.
$ac_ext >&5
2275 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2276 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2277 # interfere with the next link command; also delete a directory that is
2278 # left behind by Apple's compiler. We do this before executing the actions.
2279 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2280 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2281 as_fn_set_status
$ac_retval
2283 } # ac_fn_objcxx_try_link
2284 cat >config.log
<<_ACEOF
2285 This file contains any messages produced by compilers while
2286 running configure, to aid debugging if configure makes a mistake.
2288 It was created by Cycript $as_me 0.9, which was
2289 generated by GNU Autoconf 2.69. Invocation command line was
2301 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2302 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2303 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2304 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2305 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2307 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2308 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2310 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2311 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2312 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2313 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2314 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2315 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2316 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2320 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2324 test -z "$as_dir" && as_dir
=.
2325 $as_echo "PATH: $as_dir"
2341 # Keep a trace of the command line.
2342 # Strip out --no-create and --no-recursion so they do not pile up.
2343 # Strip out --silent because we don't want to record it for future runs.
2344 # Also quote any args containing shell meta-characters.
2345 # Make two passes to allow for proper duplicate-argument suppression.
2349 ac_must_keep_next
=false
2355 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2356 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2357 | -silent | --silent | --silen | --sile | --sil)
2360 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2363 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2365 as_fn_append ac_configure_args1
" '$ac_arg'"
2366 if test $ac_must_keep_next = true
; then
2367 ac_must_keep_next
=false
# Got value, back to normal.
2370 *=* | --config-cache | -C | -disable-* | --disable-* \
2371 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2372 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2373 | -with-* | --with-* | -without-* | --without-* | --x)
2374 case "$ac_configure_args0 " in
2375 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2378 -* ) ac_must_keep_next
=true
;;
2381 as_fn_append ac_configure_args
" '$ac_arg'"
2386 { ac_configure_args0
=; unset ac_configure_args0
;}
2387 { ac_configure_args1
=; unset ac_configure_args1
;}
2389 # When interrupted or exit'd, cleanup temporary files, and complete
2390 # config.log. We remove comments because anyway the quotes in there
2391 # would cause problems or look ugly.
2392 # WARNING: Use '\'' to represent an apostrophe within the trap.
2393 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2394 trap 'exit_status=$?
2395 # Save into config.log some information that might help in debugging.
2399 $as_echo "## ---------------- ##
2400 ## Cache variables. ##
2401 ## ---------------- ##"
2403 # The following way of writing the cache mishandles newlines in values,
2405 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2406 eval ac_val=\$$ac_var
2410 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2411 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2414 _ | IFS | as_nl) ;; #(
2415 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2416 *) { eval $ac_var=; unset $ac_var;} ;;
2421 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2422 *${as_nl}ac_space=\ *)
2424 "s/'\''/'\''\\\\'\'''\''/g;
2425 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2428 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2435 $as_echo "## ----------------- ##
2436 ## Output variables. ##
2437 ## ----------------- ##"
2439 for ac_var in $ac_subst_vars
2441 eval ac_val=\$$ac_var
2443 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2445 $as_echo "$ac_var='\''$ac_val'\''"
2449 if test -n "$ac_subst_files"; then
2450 $as_echo "## ------------------- ##
2451 ## File substitutions. ##
2452 ## ------------------- ##"
2454 for ac_var
in $ac_subst_files
2456 eval ac_val
=\$
$ac_var
2458 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2460 $as_echo "$ac_var='\''$ac_val'\''"
2465 if test -s confdefs.h; then
2466 $as_echo "## ----------- ##
2473 test "$ac_signal" != 0 &&
2474 $as_echo "$as_me: caught signal $ac_signal"
2475 $as_echo "$as_me: exit $exit_status"
2477 rm -f core *.core core.conftest.* &&
2478 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2481 for ac_signal
in 1 2 13 15; do
2482 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2486 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2487 rm -f -r conftest
* confdefs.h
2489 $as_echo "/* confdefs.h */" > confdefs.h
2491 # Predefined preprocessor variables.
2493 cat >>confdefs.h
<<_ACEOF
2494 #define PACKAGE_NAME "$PACKAGE_NAME"
2497 cat >>confdefs.h
<<_ACEOF
2498 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2501 cat >>confdefs.h
<<_ACEOF
2502 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2505 cat >>confdefs.h
<<_ACEOF
2506 #define PACKAGE_STRING "$PACKAGE_STRING"
2509 cat >>confdefs.h
<<_ACEOF
2510 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2513 cat >>confdefs.h
<<_ACEOF
2514 #define PACKAGE_URL "$PACKAGE_URL"
2518 # Let the site file select an alternate cache file if it wants to.
2519 # Prefer an explicitly selected file to automatically selected ones.
2522 if test -n "$CONFIG_SITE"; then
2523 # We do not want a PATH search for config.site.
2524 case $CONFIG_SITE in #((
2525 -*) ac_site_file1
=.
/$CONFIG_SITE;;
2526 */*) ac_site_file1
=$CONFIG_SITE;;
2527 *) ac_site_file1
=.
/$CONFIG_SITE;;
2529 elif test "x$prefix" != xNONE
; then
2530 ac_site_file1
=$prefix/share
/config.site
2531 ac_site_file2
=$prefix/etc
/config.site
2533 ac_site_file1
=$ac_default_prefix/share
/config.site
2534 ac_site_file2
=$ac_default_prefix/etc
/config.site
2536 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2538 test "x$ac_site_file" = xNONE
&& continue
2539 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2540 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2541 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2542 sed 's/^/| /' "$ac_site_file" >&5
2544 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2545 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2546 as_fn_error $?
"failed to load site script $ac_site_file
2547 See \`config.log' for more details" "$LINENO" 5; }
2551 if test -r "$cache_file"; then
2552 # Some versions of bash will fail to source /dev/null (special files
2553 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2554 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2555 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2556 $as_echo "$as_me: loading cache $cache_file" >&6;}
2558 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2559 *) .
"./$cache_file";;
2563 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2564 $as_echo "$as_me: creating cache $cache_file" >&6;}
2568 # Check that the precious variables saved in the cache have kept the same
2570 ac_cache_corrupted
=false
2571 for ac_var
in $ac_precious_vars; do
2572 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2573 eval ac_new_set
=\
$ac_env_${ac_var}_set
2574 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2575 eval ac_new_val
=\
$ac_env_${ac_var}_value
2576 case $ac_old_set,$ac_new_set in
2578 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2579 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2580 ac_cache_corrupted
=: ;;
2582 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2583 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2584 ac_cache_corrupted
=: ;;
2587 if test "x$ac_old_val" != "x$ac_new_val"; then
2588 # differences in whitespace do not lead to failure.
2589 ac_old_val_w
=`echo x $ac_old_val`
2590 ac_new_val_w
=`echo x $ac_new_val`
2591 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2592 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2593 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2594 ac_cache_corrupted
=:
2596 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2597 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2598 eval $ac_var=\
$ac_old_val
2600 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2601 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2602 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2603 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2606 # Pass precious variables to config.status.
2607 if test "$ac_new_set" = set; then
2609 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2610 *) ac_arg
=$ac_var=$ac_new_val ;;
2612 case " $ac_configure_args " in
2613 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2614 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2618 if $ac_cache_corrupted; then
2619 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2620 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2621 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2622 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2623 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2625 ## -------------------- ##
2626 ## Main body of script. ##
2627 ## -------------------- ##
2630 ac_cpp
='$CPP $CPPFLAGS'
2631 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2632 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2633 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2640 for ac_dir
in .
"$srcdir"/.
; do
2641 if test -f "$ac_dir/install-sh"; then
2643 ac_install_sh
="$ac_aux_dir/install-sh -c"
2645 elif test -f "$ac_dir/install.sh"; then
2647 ac_install_sh
="$ac_aux_dir/install.sh -c"
2649 elif test -f "$ac_dir/shtool"; then
2651 ac_install_sh
="$ac_aux_dir/shtool install -c"
2655 if test -z "$ac_aux_dir"; then
2656 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in . \"$srcdir\"/." "$LINENO" 5
2659 # These three variables are undocumented and unsupported,
2660 # and are intended to be withdrawn in a future Autoconf release.
2661 # They can cause serious problems if a builder's source tree is in a directory
2662 # whose full name contains unusual characters.
2663 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2664 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2665 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2669 ac_config_headers
="$ac_config_headers config.h"
2672 am__api_version
='1.15'
2674 # Find a good install program. We prefer a C program (faster),
2675 # so one script is as good as another. But avoid the broken or
2676 # incompatible versions:
2677 # SysV /etc/install, /usr/sbin/install
2678 # SunOS /usr/etc/install
2679 # IRIX /sbin/install
2681 # AmigaOS /C/install, which installs bootblocks on floppy discs
2682 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2683 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2684 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2685 # OS/2's system install, which has a completely different semantic
2686 # ./install, which can be erroneously created by make from ./install.sh.
2687 # Reject install programs that cannot install multiple files.
2688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2689 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2690 if test -z "$INSTALL"; then
2691 if ${ac_cv_path_install+:} false
; then :
2692 $as_echo_n "(cached) " >&6
2694 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2698 test -z "$as_dir" && as_dir
=.
2699 # Account for people who put trailing slashes in PATH elements.
2700 case $as_dir/ in #((
2701 .
/ | .
// | /[cC
]/* | \
2702 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
2703 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
2706 # OSF1 and SCO ODT 3.0 have their own names for install.
2707 # Don't use installbsd from OSF since it installs stuff as root
2709 for ac_prog
in ginstall scoinst
install; do
2710 for ac_exec_ext
in '' $ac_executable_extensions; do
2711 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
2712 if test $ac_prog = install &&
2713 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2714 # AIX install. It has an incompatible calling convention.
2716 elif test $ac_prog = install &&
2717 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2718 # program-specific install script used by HP pwplus--don't use.
2721 rm -rf conftest.one conftest.two conftest.dir
2722 echo one
> conftest.one
2723 echo two
> conftest.two
2725 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2726 test -s conftest.one
&& test -s conftest.two
&&
2727 test -s conftest.dir
/conftest.one
&&
2728 test -s conftest.dir
/conftest.two
2730 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2743 rm -rf conftest.one conftest.two conftest.dir
2746 if test "${ac_cv_path_install+set}" = set; then
2747 INSTALL
=$ac_cv_path_install
2749 # As a last resort, use the slow shell script. Don't cache a
2750 # value for INSTALL within a source directory, because that will
2751 # break other packages using the cache if that directory is
2752 # removed, or if the value is a relative name.
2753 INSTALL
=$ac_install_sh
2756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2757 $as_echo "$INSTALL" >&6; }
2759 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2760 # It thinks the first close brace ends the variable substitution.
2761 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2763 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2765 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2768 $as_echo_n "checking whether build environment is sane... " >&6; }
2769 # Reject unsafe characters in $srcdir or the absolute working directory
2770 # name. Accept space and tab only in the latter.
2774 *[\\\"\#\$\&\'\`$am_lf]*)
2775 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5;;
2778 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2779 as_fn_error $?
"unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2782 # Do 'set' in a subshell so we don't clobber the current shell's
2783 # arguments. Must try -L first in case configure is actually a
2784 # symlink; some systems play weird games with the mod time of symlinks
2785 # (eg FreeBSD returns the mod time of the symlink's containing
2789 for am_try
in 1 2; do
2790 echo "timestamp, slept: $am_has_slept" > conftest.
file
2791 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2792 if test "$*" = "X"; then
2794 set X
`ls -t "$srcdir/configure" conftest.file`
2796 if test "$*" != "X $srcdir/configure conftest.file" \
2797 && test "$*" != "X conftest.file $srcdir/configure"; then
2799 # If neither matched, then we have a broken ls. This can happen
2800 # if, for instance, CONFIG_SHELL is bash and it inherits a
2801 # broken ls alias from the environment. This has actually
2802 # happened. Such a system could not be considered "sane".
2803 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
2804 alias in your environment" "$LINENO" 5
2806 if test "$2" = conftest.
file || test $am_try -eq 2; then
2813 test "$2" = conftest.
file
2819 as_fn_error $?
"newly created file is older than distributed files!
2820 Check your system clock" "$LINENO" 5
2822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2823 $as_echo "yes" >&6; }
2824 # If we didn't sleep, we still need to ensure time stamps of config.status and
2825 # generated files are strictly newer.
2827 if grep 'slept: no' conftest.
file >/dev
/null
2>&1; then
2834 test "$program_prefix" != NONE
&&
2835 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2836 # Use a double $ so make ignores it.
2837 test "$program_suffix" != NONE
&&
2838 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2839 # Double any \ or $.
2840 # By default was `s,x,x', remove it if useless.
2841 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2842 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2844 # Expand $ac_aux_dir to an absolute path.
2845 am_aux_dir
=`cd "$ac_aux_dir" && pwd`
2847 if test x
"${MISSING+set}" != xset
; then
2850 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2852 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2855 # Use eval to expand $SHELL
2856 if eval "$MISSING --is-lightweight"; then
2857 am_missing_run
="$MISSING "
2860 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2861 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2864 if test x
"${install_sh+set}" != xset
; then
2867 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2869 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2873 # Installed binaries are usually stripped using 'strip' when the user
2874 # run "make install-strip". However 'strip' might not be the right
2875 # tool to use in cross-compilation environments, therefore Automake
2876 # will honor the 'STRIP' environment variable to overrule this program.
2877 if test "$cross_compiling" != no
; then
2878 if test -n "$ac_tool_prefix"; then
2879 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2880 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2882 $as_echo_n "checking for $ac_word... " >&6; }
2883 if ${ac_cv_prog_STRIP+:} false
; then :
2884 $as_echo_n "(cached) " >&6
2886 if test -n "$STRIP"; then
2887 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2889 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2893 test -z "$as_dir" && as_dir
=.
2894 for ac_exec_ext
in '' $ac_executable_extensions; do
2895 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2896 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2897 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2906 STRIP
=$ac_cv_prog_STRIP
2907 if test -n "$STRIP"; then
2908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2909 $as_echo "$STRIP" >&6; }
2911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2912 $as_echo "no" >&6; }
2917 if test -z "$ac_cv_prog_STRIP"; then
2919 # Extract the first word of "strip", so it can be a program name with args.
2920 set dummy strip
; ac_word
=$2
2921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2922 $as_echo_n "checking for $ac_word... " >&6; }
2923 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
2924 $as_echo_n "(cached) " >&6
2926 if test -n "$ac_ct_STRIP"; then
2927 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2929 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2933 test -z "$as_dir" && as_dir
=.
2934 for ac_exec_ext
in '' $ac_executable_extensions; do
2935 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2936 ac_cv_prog_ac_ct_STRIP
="strip"
2937 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2946 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2947 if test -n "$ac_ct_STRIP"; then
2948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2949 $as_echo "$ac_ct_STRIP" >&6; }
2951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2952 $as_echo "no" >&6; }
2955 if test "x$ac_ct_STRIP" = x
; then
2958 case $cross_compiling:$ac_tool_warned in
2960 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2961 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2962 ac_tool_warned
=yes ;;
2967 STRIP
="$ac_cv_prog_STRIP"
2971 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2974 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2975 if test -z "$MKDIR_P"; then
2976 if ${ac_cv_path_mkdir+:} false
; then :
2977 $as_echo_n "(cached) " >&6
2979 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2980 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2983 test -z "$as_dir" && as_dir
=.
2984 for ac_prog
in mkdir gmkdir
; do
2985 for ac_exec_ext
in '' $ac_executable_extensions; do
2986 as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext" || continue
2987 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2988 'mkdir (GNU coreutils) '* | \
2989 'mkdir (coreutils) '* | \
2990 'mkdir (fileutils) '4.1*)
2991 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
3001 test -d .
/--version && rmdir .
/--version
3002 if test "${ac_cv_path_mkdir+set}" = set; then
3003 MKDIR_P
="$ac_cv_path_mkdir -p"
3005 # As a last resort, use the slow shell script. Don't cache a
3006 # value for MKDIR_P within a source directory, because that will
3007 # break other packages using the cache if that directory is
3008 # removed, or if the value is a relative name.
3009 MKDIR_P
="$ac_install_sh -d"
3012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3013 $as_echo "$MKDIR_P" >&6; }
3015 for ac_prog
in gawk mawk nawk
awk
3017 # Extract the first word of "$ac_prog", so it can be a program name with args.
3018 set dummy
$ac_prog; ac_word
=$2
3019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3020 $as_echo_n "checking for $ac_word... " >&6; }
3021 if ${ac_cv_prog_AWK+:} false
; then :
3022 $as_echo_n "(cached) " >&6
3024 if test -n "$AWK"; then
3025 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
3027 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3031 test -z "$as_dir" && as_dir
=.
3032 for ac_exec_ext
in '' $ac_executable_extensions; do
3033 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3034 ac_cv_prog_AWK
="$ac_prog"
3035 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3045 if test -n "$AWK"; then
3046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3047 $as_echo "$AWK" >&6; }
3049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3050 $as_echo "no" >&6; }
3054 test -n "$AWK" && break
3057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3058 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3060 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3061 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
3062 $as_echo_n "(cached) " >&6
3064 cat >conftest.
make <<\_ACEOF
3067 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3069 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3070 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3072 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3074 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3078 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3080 $as_echo "yes" >&6; }
3083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3084 $as_echo "no" >&6; }
3085 SET_MAKE
="MAKE=${MAKE-make}"
3088 rm -rf .tst
2>/dev
/null
3089 mkdir .tst
2>/dev
/null
3090 if test -d .tst
; then
3095 rmdir .tst
2>/dev
/null
3097 # Check whether --enable-silent-rules was given.
3098 if test "${enable_silent_rules+set}" = set; then :
3099 enableval
=$enable_silent_rules;
3102 case $enable_silent_rules in # (((
3103 yes) AM_DEFAULT_VERBOSITY
=0;;
3104 no
) AM_DEFAULT_VERBOSITY
=1;;
3105 *) AM_DEFAULT_VERBOSITY
=1;;
3107 am_make
=${MAKE-make}
3108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3109 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3110 if ${am_cv_make_support_nested_variables+:} false
; then :
3111 $as_echo_n "(cached) " >&6
3113 if $as_echo 'TRUE=$(BAR$(V))
3119 .PHONY: am__doit' | $am_make -f - >/dev
/null
2>&1; then
3120 am_cv_make_support_nested_variables
=yes
3122 am_cv_make_support_nested_variables
=no
3125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3126 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3127 if test $am_cv_make_support_nested_variables = yes; then
3129 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
3131 AM_V
=$AM_DEFAULT_VERBOSITY
3132 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
3136 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3137 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3138 # is not polluted with repeated "-I."
3139 am__isrc
=' -I$(srcdir)'
3140 # test to see if srcdir already configured
3141 if test -f $srcdir/config.status
; then
3142 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3146 # test whether we have cygpath
3147 if test -z "$CYGPATH_W"; then
3148 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
3149 CYGPATH_W
='cygpath -w'
3156 # Define the identity of the package.
3161 cat >>confdefs.h
<<_ACEOF
3162 #define PACKAGE "$PACKAGE"
3166 cat >>confdefs.h
<<_ACEOF
3167 #define VERSION "$VERSION"
3170 # Some tools Automake needs.
3172 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3175 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3178 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3181 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
3184 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
3186 # For better backward compatibility. To be removed once Automake 1.9.x
3187 # dies out for good. For more background, see:
3188 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3189 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3190 mkdir_p
='$(MKDIR_P)'
3192 # We need awk for the "check" target (and possibly the TAP driver). The
3193 # system "awk" is bad on some platforms.
3194 # Always define AMTAR for backward compatibility. Yes, it's still used
3195 # in the wild :-( We should find a proper way to deprecate it ...
3199 # We'll loop over all known methods to create a tar archive until one works.
3200 _am_tools
='gnutar pax cpio none'
3202 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
3209 # POSIX will say in a future version that running "rm -f" with no argument
3210 # is OK; and we want to be able to make that assumption in our Makefile
3211 # recipes. So use an aggressive probe to check that the usage we want is
3212 # actually supported "in the wild" to an acceptable degree.
3213 # See automake bug#10828.
3214 # To make any issue more visible, cause the running configure to be aborted
3215 # by default if the 'rm' program in use doesn't match our expectations; the
3216 # user can still override this though.
3217 if rm -f && rm -fr && rm -rf; then : OK
; else
3221 Your 'rm' program seems unable to run without file operands specified
3222 on the command line, even when the '-f' option is present. This is contrary
3223 to the behaviour of most rm programs out there, and not conforming with
3224 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3226 Please tell bug-automake@gnu.org about your system, including the value
3227 of your $PATH and any error possibly output before this message. This
3228 can help us improve future automake versions.
3231 if test x
"$ACCEPT_INFERIOR_RM_PROGRAM" = x
"yes"; then
3232 echo 'Configuration will proceed anyway, since you have set the' >&2
3233 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3237 Aborting the configuration process, to ensure you take notice of the issue.
3239 You can download and install GNU coreutils to get an 'rm' implementation
3240 that behaves properly: <http://www.gnu.org/software/coreutils/>.
3242 If you want to complete the configuration process using your problematic
3243 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3244 to "yes", and re-run configure.
3247 as_fn_error $?
"Your 'rm' program is bad, sorry." "$LINENO" 5
3252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3253 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3254 # Check whether --enable-maintainer-mode was given.
3255 if test "${enable_maintainer_mode+set}" = set; then :
3256 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
3258 USE_MAINTAINER_MODE
=no
3261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3262 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3263 if test $USE_MAINTAINER_MODE = yes; then
3264 MAINTAINER_MODE_TRUE
=
3265 MAINTAINER_MODE_FALSE
='#'
3267 MAINTAINER_MODE_TRUE
='#'
3268 MAINTAINER_MODE_FALSE
=
3271 MAINT
=$MAINTAINER_MODE_TRUE
3276 ac_cpp
='$CPP $CPPFLAGS'
3277 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3278 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3279 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3280 if test -n "$ac_tool_prefix"; then
3281 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3282 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3284 $as_echo_n "checking for $ac_word... " >&6; }
3285 if ${ac_cv_prog_CC+:} false
; then :
3286 $as_echo_n "(cached) " >&6
3288 if test -n "$CC"; then
3289 ac_cv_prog_CC
="$CC" # Let the user override the test.
3291 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3295 test -z "$as_dir" && as_dir
=.
3296 for ac_exec_ext
in '' $ac_executable_extensions; do
3297 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3298 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3299 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3309 if test -n "$CC"; then
3310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3311 $as_echo "$CC" >&6; }
3313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3314 $as_echo "no" >&6; }
3319 if test -z "$ac_cv_prog_CC"; then
3321 # Extract the first word of "gcc", so it can be a program name with args.
3322 set dummy gcc
; ac_word
=$2
3323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3324 $as_echo_n "checking for $ac_word... " >&6; }
3325 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3326 $as_echo_n "(cached) " >&6
3328 if test -n "$ac_ct_CC"; then
3329 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3331 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3335 test -z "$as_dir" && as_dir
=.
3336 for ac_exec_ext
in '' $ac_executable_extensions; do
3337 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3338 ac_cv_prog_ac_ct_CC
="gcc"
3339 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3348 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3349 if test -n "$ac_ct_CC"; then
3350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3351 $as_echo "$ac_ct_CC" >&6; }
3353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3354 $as_echo "no" >&6; }
3357 if test "x$ac_ct_CC" = x
; then
3360 case $cross_compiling:$ac_tool_warned in
3362 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3363 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3364 ac_tool_warned
=yes ;;
3372 if test -z "$CC"; then
3373 if test -n "$ac_tool_prefix"; then
3374 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3375 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3377 $as_echo_n "checking for $ac_word... " >&6; }
3378 if ${ac_cv_prog_CC+:} false
; then :
3379 $as_echo_n "(cached) " >&6
3381 if test -n "$CC"; then
3382 ac_cv_prog_CC
="$CC" # Let the user override the test.
3384 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3388 test -z "$as_dir" && as_dir
=.
3389 for ac_exec_ext
in '' $ac_executable_extensions; do
3390 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3391 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3392 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3402 if test -n "$CC"; then
3403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3404 $as_echo "$CC" >&6; }
3406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3407 $as_echo "no" >&6; }
3413 if test -z "$CC"; then
3414 # Extract the first word of "cc", so it can be a program name with args.
3415 set dummy cc
; ac_word
=$2
3416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3417 $as_echo_n "checking for $ac_word... " >&6; }
3418 if ${ac_cv_prog_CC+:} false
; then :
3419 $as_echo_n "(cached) " >&6
3421 if test -n "$CC"; then
3422 ac_cv_prog_CC
="$CC" # Let the user override the test.
3425 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3429 test -z "$as_dir" && as_dir
=.
3430 for ac_exec_ext
in '' $ac_executable_extensions; do
3431 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3432 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3433 ac_prog_rejected
=yes
3437 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3444 if test $ac_prog_rejected = yes; then
3445 # We found a bogon in the path, so make sure we never use it.
3446 set dummy
$ac_cv_prog_CC
3448 if test $# != 0; then
3449 # We chose a different compiler from the bogus one.
3450 # However, it has the same basename, so the bogon will be chosen
3451 # first if we set CC to just the basename; use the full file name.
3453 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3459 if test -n "$CC"; then
3460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3461 $as_echo "$CC" >&6; }
3463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3464 $as_echo "no" >&6; }
3469 if test -z "$CC"; then
3470 if test -n "$ac_tool_prefix"; then
3471 for ac_prog
in cl.exe
3473 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3474 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3476 $as_echo_n "checking for $ac_word... " >&6; }
3477 if ${ac_cv_prog_CC+:} false
; then :
3478 $as_echo_n "(cached) " >&6
3480 if test -n "$CC"; then
3481 ac_cv_prog_CC
="$CC" # Let the user override the test.
3483 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3487 test -z "$as_dir" && as_dir
=.
3488 for ac_exec_ext
in '' $ac_executable_extensions; do
3489 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3490 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3491 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3501 if test -n "$CC"; then
3502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3503 $as_echo "$CC" >&6; }
3505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3506 $as_echo "no" >&6; }
3510 test -n "$CC" && break
3513 if test -z "$CC"; then
3515 for ac_prog
in cl.exe
3517 # Extract the first word of "$ac_prog", so it can be a program name with args.
3518 set dummy
$ac_prog; ac_word
=$2
3519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3520 $as_echo_n "checking for $ac_word... " >&6; }
3521 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3522 $as_echo_n "(cached) " >&6
3524 if test -n "$ac_ct_CC"; then
3525 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3527 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3531 test -z "$as_dir" && as_dir
=.
3532 for ac_exec_ext
in '' $ac_executable_extensions; do
3533 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3534 ac_cv_prog_ac_ct_CC
="$ac_prog"
3535 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3544 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3545 if test -n "$ac_ct_CC"; then
3546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3547 $as_echo "$ac_ct_CC" >&6; }
3549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3550 $as_echo "no" >&6; }
3554 test -n "$ac_ct_CC" && break
3557 if test "x$ac_ct_CC" = x
; then
3560 case $cross_compiling:$ac_tool_warned in
3562 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3563 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3564 ac_tool_warned
=yes ;;
3573 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3574 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3575 as_fn_error $?
"no acceptable C compiler found in \$PATH
3576 See \`config.log' for more details" "$LINENO" 5; }
3578 # Provide some information about the compiler.
3579 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3582 for ac_option
in --version -v -V -qversion; do
3583 { { ac_try
="$ac_compiler $ac_option >&5"
3585 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3586 *) ac_try_echo=$ac_try;;
3588 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3589 $as_echo "$ac_try_echo"; } >&5
3590 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3592 if test -s conftest.err; then
3594 ... rest of stderr output deleted ...
3595 10q' conftest.err >conftest.er1
3596 cat conftest.er1 >&5
3598 rm -f conftest.er1 conftest.err
3599 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3600 test $ac_status = 0; }
3603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3604 /* end confdefs.h. */
3614 ac_clean_files_save=$ac_clean_files
3615 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3616 # Try to create an executable without -o first, disregard a.out.
3617 # It will help us diagnose broken compilers, and finding out an intuition
3619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3620 $as_echo_n "checking whether the C compiler works... " >&6; }
3621 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3623 # The possible output files:
3624 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3627 for ac_file in $ac_files
3630 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3631 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3636 if { { ac_try="$ac_link_default"
3638 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
3639 *) ac_try_echo
=$ac_try;;
3641 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3642 $as_echo "$ac_try_echo"; } >&5
3643 (eval "$ac_link_default") 2>&5
3645 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3646 test $ac_status = 0; }; then :
3647 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3648 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3649 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3650 # so that the user can short-circuit this test for compilers unknown to
3652 for ac_file
in $ac_files ''
3654 test -f "$ac_file" || continue
3656 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.dSYM
| *.o
| *.obj
)
3659 # We found the default executable, but exeext='' is most
3663 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3665 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3667 # We set ac_cv_exeext here because the later test for it is not
3668 # safe: cross compilers may not add the suffix if given an `-o'
3669 # argument, so we may need to know it at that point already.
3670 # Even if this section looks crufty: it has the advantage of
3677 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3682 if test -z "$ac_file"; then :
3683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3684 $as_echo "no" >&6; }
3685 $as_echo "$as_me: failed program was:" >&5
3686 sed 's/^/| /' conftest.
$ac_ext >&5
3688 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3689 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3690 as_fn_error
77 "C compiler cannot create executables
3691 See \`config.log' for more details" "$LINENO" 5; }
3693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3694 $as_echo "yes" >&6; }
3696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3697 $as_echo_n "checking for C compiler default output file name... " >&6; }
3698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3699 $as_echo "$ac_file" >&6; }
3700 ac_exeext
=$ac_cv_exeext
3702 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3703 ac_clean_files
=$ac_clean_files_save
3704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3705 $as_echo_n "checking for suffix of executables... " >&6; }
3706 if { { ac_try
="$ac_link"
3708 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3709 *) ac_try_echo=$ac_try;;
3711 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3712 $as_echo "$ac_try_echo"; } >&5
3713 (eval "$ac_link") 2>&5
3715 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3716 test $ac_status = 0; }; then :
3717 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3718 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3719 # work properly (i.e., refer to `conftest.exe'), while it won't with
3721 for ac_file
in conftest.exe conftest conftest.
*; do
3722 test -f "$ac_file" || continue
3724 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.dSYM
| *.o
| *.obj
) ;;
3725 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3731 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3732 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3733 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3734 See \`config.log' for more details" "$LINENO" 5; }
3736 rm -f conftest conftest
$ac_cv_exeext
3737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3738 $as_echo "$ac_cv_exeext" >&6; }
3740 rm -f conftest.
$ac_ext
3741 EXEEXT
=$ac_cv_exeext
3743 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3744 /* end confdefs.h. */
3749 FILE *f = fopen ("conftest.out", "w");
3750 return ferror (f) || fclose (f) != 0;
3756 ac_clean_files
="$ac_clean_files conftest.out"
3757 # Check that the compiler produces executables we can run. If not, either
3758 # the compiler is broken, or we cross compile.
3759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3760 $as_echo_n "checking whether we are cross compiling... " >&6; }
3761 if test "$cross_compiling" != yes; then
3762 { { ac_try
="$ac_link"
3764 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3765 *) ac_try_echo=$ac_try;;
3767 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3768 $as_echo "$ac_try_echo"; } >&5
3769 (eval "$ac_link") 2>&5
3771 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3772 test $ac_status = 0; }
3773 if { ac_try='./conftest$ac_cv_exeext'
3774 { { case "(($ac_try" in
3775 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
3776 *) ac_try_echo
=$ac_try;;
3778 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3779 $as_echo "$ac_try_echo"; } >&5
3780 (eval "$ac_try") 2>&5
3782 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3783 test $ac_status = 0; }; }; then
3786 if test "$cross_compiling" = maybe
; then
3789 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3790 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3791 as_fn_error $?
"cannot run C compiled programs.
3792 If you meant to cross compile, use \`--host'.
3793 See \`config.log' for more details" "$LINENO" 5; }
3797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3798 $as_echo "$cross_compiling" >&6; }
3800 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3801 ac_clean_files
=$ac_clean_files_save
3802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3803 $as_echo_n "checking for suffix of object files... " >&6; }
3804 if ${ac_cv_objext+:} false
; then :
3805 $as_echo_n "(cached) " >&6
3807 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3808 /* end confdefs.h. */
3818 rm -f conftest.o conftest.obj
3819 if { { ac_try
="$ac_compile"
3821 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3822 *) ac_try_echo=$ac_try;;
3824 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3825 $as_echo "$ac_try_echo"; } >&5
3826 (eval "$ac_compile") 2>&5
3828 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3829 test $ac_status = 0; }; then :
3830 for ac_file in conftest.o conftest.obj conftest.*; do
3831 test -f "$ac_file" || continue;
3833 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3834 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3839 $as_echo "$as_me: failed program was:" >&5
3840 sed 's/^/| /' conftest.$ac_ext >&5
3842 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3843 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3844 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3845 See \
`config.log' for more details" "$LINENO" 5; }
3847 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3850 $as_echo "$ac_cv_objext" >&6; }
3851 OBJEXT=$ac_cv_objext
3853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3854 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3855 if ${ac_cv_c_compiler_gnu+:} false; then :
3856 $as_echo_n "(cached) " >&6
3858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3859 /* end confdefs.h. */
3872 if ac_fn_c_try_compile "$LINENO"; then :
3877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3878 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3882 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3883 if test $ac_compiler_gnu = yes; then
3888 ac_test_CFLAGS=${CFLAGS+set}
3889 ac_save_CFLAGS=$CFLAGS
3890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3891 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3892 if ${ac_cv_prog_cc_g+:} false; then :
3893 $as_echo_n "(cached) " >&6
3895 ac_save_c_werror_flag=$ac_c_werror_flag
3896 ac_c_werror_flag=yes
3899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3900 /* end confdefs.h. */
3910 if ac_fn_c_try_compile "$LINENO"; then :
3914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3915 /* end confdefs.h. */
3925 if ac_fn_c_try_compile "$LINENO"; then :
3928 ac_c_werror_flag=$ac_save_c_werror_flag
3930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3931 /* end confdefs.h. */
3941 if ac_fn_c_try_compile "$LINENO"; then :
3944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3949 ac_c_werror_flag=$ac_save_c_werror_flag
3951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3952 $as_echo "$ac_cv_prog_cc_g" >&6; }
3953 if test "$ac_test_CFLAGS" = set; then
3954 CFLAGS=$ac_save_CFLAGS
3955 elif test $ac_cv_prog_cc_g = yes; then
3956 if test "$GCC" = yes; then
3962 if test "$GCC" = yes; then
3968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3969 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3970 if ${ac_cv_prog_cc_c89+:} false; then :
3971 $as_echo_n "(cached) " >&6
3973 ac_cv_prog_cc_c89=no
3975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3976 /* end confdefs.h. */
3980 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3981 struct buf { int x; };
3982 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3983 static char *e (p, i)
3989 static char *f (char * (*g) (char **, int), char **p, ...)
3994 s = g (p, va_arg (v,int));
3999 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4000 function prototypes and stuff, but not '\xHH' hex character constants.
4001 These don't provoke an error unfortunately, instead are silently treated
4002 as 'x'. The following induces an error, until -std is added to get
4003 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4004 array size at least. It's necessary to write '\x00'==0 to get something
4005 that's true only with -std. */
4006 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4008 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4009 inside strings and character constants. */
4011 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4013 int test (int i, double x);
4014 struct s1 {int (*f) (int a);};
4015 struct s2 {int (*f) (double a);};
4016 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4022 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4027 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4028 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4030 CC="$ac_save_CC $ac_arg"
4031 if ac_fn_c_try_compile "$LINENO"; then :
4032 ac_cv_prog_cc_c89=$ac_arg
4034 rm -f core conftest.err conftest.$ac_objext
4035 test "x$ac_cv_prog_cc_c89" != "xno" && break
4037 rm -f conftest.$ac_ext
4042 case "x$ac_cv_prog_cc_c89" in
4044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4045 $as_echo "none needed" >&6; } ;;
4047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4048 $as_echo "unsupported" >&6; } ;;
4050 CC="$CC $ac_cv_prog_cc_c89"
4051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4052 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4054 if test "x$ac_cv_prog_cc_c89" != xno; then :
4059 ac_cpp='$CPP $CPPFLAGS'
4060 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4061 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4062 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4065 ac_cpp='$CPP $CPPFLAGS'
4066 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4067 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4068 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4070 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4071 if ${am_cv_prog_cc_c_o+:} false; then :
4072 $as_echo_n "(cached) " >&6
4074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4075 /* end confdefs.h. */
4085 # Make sure it works both with $CC and with simple cc.
4086 # Following AC_PROG_CC_C_O, we do the test twice because some
4087 # compilers refuse to overwrite an existing .o file with -o,
4088 # though they will create one.
4089 am_cv_prog_cc_c_o=yes
4091 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4092 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4095 (exit $ac_status); } \
4096 && test -f conftest2.$ac_objext; then
4099 am_cv_prog_cc_c_o=no
4103 rm -f core conftest*
4106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4107 $as_echo "$am_cv_prog_cc_c_o" >&6; }
4108 if test "$am_cv_prog_cc_c_o" != yes; then
4109 # Losing compiler, so override with the script.
4110 # FIXME: It is wrong to rewrite CC.
4111 # But if we don't then we get into trouble of one sort or another.
4112 # A longer-term fix would be to have automake use am__CC in this case,
4113 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4114 CC="$am_aux_dir/compile $CC"
4117 ac_cpp='$CPP $CPPFLAGS'
4118 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4119 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4120 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4122 DEPDIR="${am__leading_dot}deps"
4124 ac_config_commands="$ac_config_commands depfiles"
4127 am_make=${MAKE-make}
4128 cat > confinc << 'END'
4130 @echo this is the am__doit target
4133 # If we don't find an include directive, just comment out the code.
4134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4135 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4139 # First try GNU make style include.
4140 echo "include confinc" > confmf
4141 # Ignore all kinds of additional output from 'make'.
4142 case `$am_make -s -f confmf
2> /dev
/null
` in #(
4143 *the\ am__doit\ target*)
4149 # Now try BSD make style include.
4150 if test "$am__include" = "#"; then
4151 echo '.include "confinc"' > confmf
4152 case `$am_make -s -f confmf
2> /dev
/null
` in #(
4153 *the\ am__doit\ target*)
4154 am__include=.include
4162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4163 $as_echo "$_am_result" >&6; }
4164 rm -f confinc confmf
4166 # Check whether --enable-dependency-tracking was given.
4167 if test "${enable_dependency_tracking+set}" = set; then :
4168 enableval=$enable_dependency_tracking;
4171 if test "x$enable_dependency_tracking" != xno; then
4172 am_depcomp="$ac_aux_dir/depcomp"
4176 if test "x$enable_dependency_tracking" != xno; then
4186 depcc="$CC" am_compiler_list=
4188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4189 $as_echo_n "checking dependency style of $depcc... " >&6; }
4190 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4191 $as_echo_n "(cached) " >&6
4193 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4194 # We make a subdir and do the tests there. Otherwise we can end up
4195 # making bogus files that we don't know about and never remove. For
4196 # instance it was reported that on HP-UX the gcc test will end up
4197 # making a dummy file named 'D' -- because '-MD' means "put the output
4201 # Copy depcomp to subdir because otherwise we won't find it if we're
4202 # using a relative directory.
4203 cp "$am_depcomp" conftest.dir
4205 # We will build objects and dependencies in a subdirectory because
4206 # it helps to detect inapplicable dependency modes. For instance
4207 # both Tru64's cc and ICC support -MD to output dependencies as a
4208 # side effect of compilation, but ICC will put the dependencies in
4209 # the current directory while Tru64 will put them in the object
4213 am_cv_CC_dependencies_compiler_type=none
4214 if test "$am_compiler_list" = ""; then
4215 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
4218 case " $depcc " in #(
4219 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4222 for depmode in $am_compiler_list; do
4223 # Setup a source with many dependencies, because some compilers
4224 # like to wrap large dependency lists on column 80 (with \), and
4225 # we should not choose a depcomp mode which is confused by this.
4227 # We need to recreate these files for each test, as the compiler may
4228 # overwrite some of them when testing with obscure command lines.
4229 # This happens at least with the AIX C compiler.
4231 for i in 1 2 3 4 5 6; do
4232 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4233 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4234 # Solaris 10 /bin/sh.
4235 echo '/* dummy */' > sub/conftst$i.h
4237 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4239 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4240 # mode. It turns out that the SunPro C++ compiler does not properly
4241 # handle '-M -o', and we need to detect this. Also, some Intel
4242 # versions had trouble with output in subdirs.
4243 am__obj=sub/conftest.${OBJEXT-o}
4244 am__minus_obj="-o $am__obj"
4247 # This depmode causes a compiler race in universal mode.
4248 test "$am__universal" = false || continue
4251 # After this tag, mechanisms are not by side-effect, so they'll
4252 # only be used when explicitly requested.
4253 if test "x$enable_dependency_tracking" = xyes; then
4259 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4260 # This compiler won't grok '-c -o', but also, the minuso test has
4261 # not run yet. These depmodes are late enough in the game, and
4262 # so weak that their functioning should not be impacted.
4263 am__obj=conftest.${OBJEXT-o}
4268 if depmode=$depmode \
4269 source=sub/conftest.c object=$am__obj \
4270 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4271 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4272 >/dev/null 2>conftest.err &&
4273 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4274 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4275 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4276 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4277 # icc doesn't choke on unknown options, it will just issue warnings
4278 # or remarks (even with -Werror). So we grep stderr for any message
4279 # that says an option was ignored or not supported.
4280 # When given -MP, icc 7.0 and 7.1 complain thusly:
4281 # icc: Command line warning: ignoring option '-M'; no argument required
4282 # The diagnosis changed in icc 8.0:
4283 # icc: Command line remark: option '-MP' not supported
4284 if (grep 'ignoring option' conftest.err ||
4285 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4286 am_cv_CC_dependencies_compiler_type=$depmode
4295 am_cv_CC_dependencies_compiler_type=none
4299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4300 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4301 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4304 test "x$enable_dependency_tracking" != xno \
4305 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4307 am__fastdepCC_FALSE='#'
4309 am__fastdepCC_TRUE='#'
4310 am__fastdepCC_FALSE=
4315 ac_cpp='$CXXCPP $CPPFLAGS'
4316 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4317 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4318 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4319 if test -z "$CXX"; then
4320 if test -n "$CCC"; then
4323 if test -n "$ac_tool_prefix"; then
4324 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4326 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4327 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4329 $as_echo_n "checking for $ac_word... " >&6; }
4330 if ${ac_cv_prog_CXX+:} false; then :
4331 $as_echo_n "(cached) " >&6
4333 if test -n "$CXX"; then
4334 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4336 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4340 test -z "$as_dir" && as_dir=.
4341 for ac_exec_ext in '' $ac_executable_extensions; do
4342 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4343 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4344 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4354 if test -n "$CXX"; then
4355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4356 $as_echo "$CXX" >&6; }
4358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4359 $as_echo "no" >&6; }
4363 test -n "$CXX" && break
4366 if test -z "$CXX"; then
4368 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4370 # Extract the first word of "$ac_prog", so it can be a program name with args.
4371 set dummy $ac_prog; ac_word=$2
4372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4373 $as_echo_n "checking for $ac_word... " >&6; }
4374 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4375 $as_echo_n "(cached) " >&6
4377 if test -n "$ac_ct_CXX"; then
4378 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4380 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4384 test -z "$as_dir" && as_dir=.
4385 for ac_exec_ext in '' $ac_executable_extensions; do
4386 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4387 ac_cv_prog_ac_ct_CXX="$ac_prog"
4388 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4397 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4398 if test -n "$ac_ct_CXX"; then
4399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4400 $as_echo "$ac_ct_CXX" >&6; }
4402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4403 $as_echo "no" >&6; }
4407 test -n "$ac_ct_CXX" && break
4410 if test "x$ac_ct_CXX" = x; then
4413 case $cross_compiling:$ac_tool_warned in
4415 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4416 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4417 ac_tool_warned=yes ;;
4425 # Provide some information about the compiler.
4426 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4429 for ac_option in --version -v -V -qversion; do
4430 { { ac_try="$ac_compiler $ac_option >&5"
4432 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
4433 *) ac_try_echo
=$ac_try;;
4435 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4436 $as_echo "$ac_try_echo"; } >&5
4437 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4439 if test -s conftest.err
; then
4441 ... rest of stderr output deleted ...
4442 10q' conftest.err
>conftest.er1
4443 cat conftest.er1
>&5
4445 rm -f conftest.er1 conftest.err
4446 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4447 test $ac_status = 0; }
4450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4451 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4452 if ${ac_cv_cxx_compiler_gnu+:} false
; then :
4453 $as_echo_n "(cached) " >&6
4455 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4456 /* end confdefs.h. */
4469 if ac_fn_cxx_try_compile
"$LINENO"; then :
4474 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4475 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
4478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4479 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4480 if test $ac_compiler_gnu = yes; then
4485 ac_test_CXXFLAGS
=${CXXFLAGS+set}
4486 ac_save_CXXFLAGS
=$CXXFLAGS
4487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4488 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4489 if ${ac_cv_prog_cxx_g+:} false
; then :
4490 $as_echo_n "(cached) " >&6
4492 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
4493 ac_cxx_werror_flag
=yes
4496 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4497 /* end confdefs.h. */
4507 if ac_fn_cxx_try_compile
"$LINENO"; then :
4508 ac_cv_prog_cxx_g
=yes
4511 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4512 /* end confdefs.h. */
4522 if ac_fn_cxx_try_compile
"$LINENO"; then :
4525 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4527 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4528 /* end confdefs.h. */
4538 if ac_fn_cxx_try_compile
"$LINENO"; then :
4539 ac_cv_prog_cxx_g
=yes
4541 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4543 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4545 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4546 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4549 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4550 if test "$ac_test_CXXFLAGS" = set; then
4551 CXXFLAGS
=$ac_save_CXXFLAGS
4552 elif test $ac_cv_prog_cxx_g = yes; then
4553 if test "$GXX" = yes; then
4559 if test "$GXX" = yes; then
4566 ac_cpp
='$CPP $CPPFLAGS'
4567 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4568 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4569 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4571 depcc
="$CXX" am_compiler_list
=
4573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4574 $as_echo_n "checking dependency style of $depcc... " >&6; }
4575 if ${am_cv_CXX_dependencies_compiler_type+:} false
; then :
4576 $as_echo_n "(cached) " >&6
4578 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4579 # We make a subdir and do the tests there. Otherwise we can end up
4580 # making bogus files that we don't know about and never remove. For
4581 # instance it was reported that on HP-UX the gcc test will end up
4582 # making a dummy file named 'D' -- because '-MD' means "put the output
4586 # Copy depcomp to subdir because otherwise we won't find it if we're
4587 # using a relative directory.
4588 cp "$am_depcomp" conftest.dir
4590 # We will build objects and dependencies in a subdirectory because
4591 # it helps to detect inapplicable dependency modes. For instance
4592 # both Tru64's cc and ICC support -MD to output dependencies as a
4593 # side effect of compilation, but ICC will put the dependencies in
4594 # the current directory while Tru64 will put them in the object
4598 am_cv_CXX_dependencies_compiler_type
=none
4599 if test "$am_compiler_list" = ""; then
4600 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4603 case " $depcc " in #(
4604 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
4607 for depmode
in $am_compiler_list; do
4608 # Setup a source with many dependencies, because some compilers
4609 # like to wrap large dependency lists on column 80 (with \), and
4610 # we should not choose a depcomp mode which is confused by this.
4612 # We need to recreate these files for each test, as the compiler may
4613 # overwrite some of them when testing with obscure command lines.
4614 # This happens at least with the AIX C compiler.
4616 for i
in 1 2 3 4 5 6; do
4617 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4618 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4619 # Solaris 10 /bin/sh.
4620 echo '/* dummy */' > sub
/conftst
$i.h
4622 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4624 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4625 # mode. It turns out that the SunPro C++ compiler does not properly
4626 # handle '-M -o', and we need to detect this. Also, some Intel
4627 # versions had trouble with output in subdirs.
4628 am__obj
=sub
/conftest.
${OBJEXT-o}
4629 am__minus_obj
="-o $am__obj"
4632 # This depmode causes a compiler race in universal mode.
4633 test "$am__universal" = false
|| continue
4636 # After this tag, mechanisms are not by side-effect, so they'll
4637 # only be used when explicitly requested.
4638 if test "x$enable_dependency_tracking" = xyes
; then
4644 msvc7
| msvc7msys
| msvisualcpp
| msvcmsys
)
4645 # This compiler won't grok '-c -o', but also, the minuso test has
4646 # not run yet. These depmodes are late enough in the game, and
4647 # so weak that their functioning should not be impacted.
4648 am__obj
=conftest.
${OBJEXT-o}
4653 if depmode
=$depmode \
4654 source=sub
/conftest.c object
=$am__obj \
4655 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4656 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4657 >/dev
/null
2>conftest.err
&&
4658 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4659 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4660 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4661 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4662 # icc doesn't choke on unknown options, it will just issue warnings
4663 # or remarks (even with -Werror). So we grep stderr for any message
4664 # that says an option was ignored or not supported.
4665 # When given -MP, icc 7.0 and 7.1 complain thusly:
4666 # icc: Command line warning: ignoring option '-M'; no argument required
4667 # The diagnosis changed in icc 8.0:
4668 # icc: Command line remark: option '-MP' not supported
4669 if (grep 'ignoring option' conftest.err
||
4670 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4671 am_cv_CXX_dependencies_compiler_type
=$depmode
4680 am_cv_CXX_dependencies_compiler_type
=none
4684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
4685 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
4686 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
4689 test "x$enable_dependency_tracking" != xno \
4690 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
4691 am__fastdepCXX_TRUE
=
4692 am__fastdepCXX_FALSE
='#'
4694 am__fastdepCXX_TRUE
='#'
4695 am__fastdepCXX_FALSE
=
4700 ac_cpp
='$OBJCXXCPP $CPPFLAGS'
4701 ac_compile
='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4702 ac_link
='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4703 ac_compiler_gnu
=$ac_cv_objcxx_compiler_gnu
4704 if test -n "$ac_tool_prefix"; then
4705 for ac_prog
in g
++ objc
++ objcxx c
++ CXX
4707 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4708 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4710 $as_echo_n "checking for $ac_word... " >&6; }
4711 if ${ac_cv_prog_OBJCXX+:} false
; then :
4712 $as_echo_n "(cached) " >&6
4714 if test -n "$OBJCXX"; then
4715 ac_cv_prog_OBJCXX
="$OBJCXX" # Let the user override the test.
4717 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4721 test -z "$as_dir" && as_dir
=.
4722 for ac_exec_ext
in '' $ac_executable_extensions; do
4723 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4724 ac_cv_prog_OBJCXX
="$ac_tool_prefix$ac_prog"
4725 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4734 OBJCXX
=$ac_cv_prog_OBJCXX
4735 if test -n "$OBJCXX"; then
4736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCXX" >&5
4737 $as_echo "$OBJCXX" >&6; }
4739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4740 $as_echo "no" >&6; }
4744 test -n "$OBJCXX" && break
4747 if test -z "$OBJCXX"; then
4748 ac_ct_OBJCXX
=$OBJCXX
4749 for ac_prog
in g
++ objc
++ objcxx c
++ CXX
4751 # Extract the first word of "$ac_prog", so it can be a program name with args.
4752 set dummy
$ac_prog; ac_word
=$2
4753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4754 $as_echo_n "checking for $ac_word... " >&6; }
4755 if ${ac_cv_prog_ac_ct_OBJCXX+:} false
; then :
4756 $as_echo_n "(cached) " >&6
4758 if test -n "$ac_ct_OBJCXX"; then
4759 ac_cv_prog_ac_ct_OBJCXX
="$ac_ct_OBJCXX" # Let the user override the test.
4761 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4765 test -z "$as_dir" && as_dir
=.
4766 for ac_exec_ext
in '' $ac_executable_extensions; do
4767 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4768 ac_cv_prog_ac_ct_OBJCXX
="$ac_prog"
4769 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4778 ac_ct_OBJCXX
=$ac_cv_prog_ac_ct_OBJCXX
4779 if test -n "$ac_ct_OBJCXX"; then
4780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJCXX" >&5
4781 $as_echo "$ac_ct_OBJCXX" >&6; }
4783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4784 $as_echo "no" >&6; }
4788 test -n "$ac_ct_OBJCXX" && break
4791 if test "x$ac_ct_OBJCXX" = x
; then
4794 case $cross_compiling:$ac_tool_warned in
4796 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4797 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4798 ac_tool_warned
=yes ;;
4800 OBJCXX
=$ac_ct_OBJCXX
4804 # Provide some information about the compiler.
4805 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Objective C++ compiler version" >&5
4808 for ac_option
in --version -v -V -qversion; do
4809 { { ac_try
="$ac_compiler $ac_option >&5"
4811 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
4812 *) ac_try_echo=$ac_try;;
4814 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4815 $as_echo "$ac_try_echo"; } >&5
4816 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4818 if test -s conftest.err; then
4820 ... rest of stderr output deleted ...
4821 10q' conftest.err >conftest.er1
4822 cat conftest.er1 >&5
4824 rm -f conftest.er1 conftest.err
4825 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4826 test $ac_status = 0; }
4829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Objective C++ compiler" >&5
4830 $as_echo_n "checking whether we are using the GNU Objective C++ compiler... " >&6; }
4831 if ${ac_cv_objcxx_compiler_gnu+:} false; then :
4832 $as_echo_n "(cached) " >&6
4834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4835 /* end confdefs.h. */
4848 if ac_fn_objcxx_try_compile "$LINENO"; then :
4853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4854 ac_cv_objcxx_compiler_gnu=$ac_compiler_gnu
4857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objcxx_compiler_gnu" >&5
4858 $as_echo "$ac_cv_objcxx_compiler_gnu" >&6; }
4859 if test $ac_compiler_gnu = yes; then
4864 ac_test_OBJCXXFLAGS=${OBJCXXFLAGS+set}
4865 ac_save_OBJCXXFLAGS=$OBJCXXFLAGS
4866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $OBJCXX accepts -g" >&5
4867 $as_echo_n "checking whether $OBJCXX accepts -g... " >&6; }
4868 if ${ac_cv_prog_objcxx_g+:} false; then :
4869 $as_echo_n "(cached) " >&6
4871 ac_save_objcxx_werror_flag=$ac_objcxx_werror_flag
4872 ac_objcxx_werror_flag=yes
4873 ac_cv_prog_objcxx_g=no
4875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4876 /* end confdefs.h. */
4886 if ac_fn_objcxx_try_compile "$LINENO"; then :
4887 ac_cv_prog_objcxx_g=yes
4890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4891 /* end confdefs.h. */
4901 if ac_fn_objcxx_try_compile "$LINENO"; then :
4904 ac_objcxx_werror_flag=$ac_save_objcxx_werror_flag
4906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4907 /* end confdefs.h. */
4917 if ac_fn_objcxx_try_compile "$LINENO"; then :
4918 ac_cv_prog_objcxx_g=yes
4920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4925 ac_objcxx_werror_flag=$ac_save_objcx_werror_flag
4927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objcxx_g" >&5
4928 $as_echo "$ac_cv_prog_objcxx_g" >&6; }
4929 if test "$ac_test_OBJCXXFLAGS" = set; then
4930 OBJCXXFLAGS=$ac_save_OBJCXXFLAGS
4931 elif test $ac_cv_prog_objcxx_g = yes; then
4932 if test "$GOBJCXX" = yes; then
4933 OBJCXXFLAGS="-g -O2"
4938 if test "$GOBJCXX" = yes; then
4945 ac_cpp='$CPP $CPPFLAGS'
4946 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4947 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4948 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4950 depcc="$OBJCXX" am_compiler_list='gcc3 gcc'
4952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4953 $as_echo_n "checking dependency style of $depcc... " >&6; }
4954 if ${am_cv_OBJCXX_dependencies_compiler_type+:} false; then :
4955 $as_echo_n "(cached) " >&6
4957 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4958 # We make a subdir and do the tests there. Otherwise we can end up
4959 # making bogus files that we don't know about and never remove. For
4960 # instance it was reported that on HP-UX the gcc test will end up
4961 # making a dummy file named 'D' -- because '-MD' means "put the output
4965 # Copy depcomp to subdir because otherwise we won't find it if we're
4966 # using a relative directory.
4967 cp "$am_depcomp" conftest.dir
4969 # We will build objects and dependencies in a subdirectory because
4970 # it helps to detect inapplicable dependency modes. For instance
4971 # both Tru64's cc and ICC support -MD to output dependencies as a
4972 # side effect of compilation, but ICC will put the dependencies in
4973 # the current directory while Tru64 will put them in the object
4977 am_cv_OBJCXX_dependencies_compiler_type=none
4978 if test "$am_compiler_list" = ""; then
4979 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
4984 for depmode in $am_compiler_list; do
4985 # Setup a source with many dependencies, because some compilers
4986 # like to wrap large dependency lists on column 80 (with \), and
4987 # we should not choose a depcomp mode which is confused by this.
4989 # We need to recreate these files for each test, as the compiler may
4990 # overwrite some of them when testing with obscure command lines.
4991 # This happens at least with the AIX C compiler.
4993 for i in 1 2 3 4 5 6; do
4994 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4995 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4996 # Solaris 10 /bin/sh.
4997 echo '/* dummy */' > sub/conftst$i.h
4999 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5001 # We check with '-c' and '-o' for the sake of the "dashmstdout"
5002 # mode. It turns out that the SunPro C++ compiler does not properly
5003 # handle '-M -o', and we need to detect this. Also, some Intel
5004 # versions had trouble with output in subdirs.
5005 am__obj=sub/conftest.${OBJEXT-o}
5006 am__minus_obj="-o $am__obj"
5009 # This depmode causes a compiler race in universal mode.
5010 test "$am__universal" = false || continue
5013 # After this tag, mechanisms are not by side-effect, so they'll
5014 # only be used when explicitly requested.
5015 if test "x$enable_dependency_tracking" = xyes; then
5021 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
5022 # This compiler won't grok '-c -o', but also, the minuso test has
5023 # not run yet. These depmodes are late enough in the game, and
5024 # so weak that their functioning should not be impacted.
5025 am__obj=conftest.${OBJEXT-o}
5030 if depmode=$depmode \
5031 source=sub/conftest.c object=$am__obj \
5032 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5033 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5034 >/dev/null 2>conftest.err &&
5035 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5036 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5037 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5038 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5039 # icc doesn't choke on unknown options, it will just issue warnings
5040 # or remarks (even with -Werror). So we grep stderr for any message
5041 # that says an option was ignored or not supported.
5042 # When given -MP, icc 7.0 and 7.1 complain thusly:
5043 # icc: Command line warning: ignoring option '-M'; no argument required
5044 # The diagnosis changed in icc 8.0:
5045 # icc: Command line remark: option '-MP' not supported
5046 if (grep 'ignoring option' conftest.err ||
5047 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5048 am_cv_OBJCXX_dependencies_compiler_type=$depmode
5057 am_cv_OBJCXX_dependencies_compiler_type=none
5061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_OBJCXX_dependencies_compiler_type" >&5
5062 $as_echo "$am_cv_OBJCXX_dependencies_compiler_type" >&6; }
5063 OBJCXXDEPMODE=depmode=$am_cv_OBJCXX_dependencies_compiler_type
5066 test "x$enable_dependency_tracking" != xno \
5067 && test "$am_cv_OBJCXX_dependencies_compiler_type" = gcc3; then
5068 am__fastdepOBJCXX_TRUE=
5069 am__fastdepOBJCXX_FALSE='#'
5071 am__fastdepOBJCXX_TRUE='#'
5072 am__fastdepOBJCXX_FALSE=
5078 ac_cpp='$CPP $CPPFLAGS'
5079 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5080 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5081 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
5083 $as_echo_n "checking how to run the C preprocessor... " >&6; }
5084 # On Suns, sometimes $CPP names a directory.
5085 if test -n "$CPP" && test -d "$CPP"; then
5088 if test -z "$CPP"; then
5089 if ${ac_cv_prog_CPP+:} false; then :
5090 $as_echo_n "(cached) " >&6
5092 # Double quotes because CPP needs to be expanded
5093 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5096 for ac_c_preproc_warn_flag in '' yes
5098 # Use a header file that comes with gcc, so configuring glibc
5099 # with a fresh cross-compiler works.
5100 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5101 # <limits.h> exists even on freestanding compilers.
5102 # On the NeXT, cc -E runs the code through the compiler's parser,
5103 # not just through cpp. "Syntax error" is here to catch this case.
5104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5105 /* end confdefs.h. */
5107 # include <limits.h>
5109 # include <assert.h>
5113 if ac_fn_c_try_cpp "$LINENO"; then :
5116 # Broken: fails on valid input.
5119 rm -f conftest.err conftest.i conftest.$ac_ext
5121 # OK, works on sane cases. Now check whether nonexistent headers
5122 # can be detected and how.
5123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5124 /* end confdefs.h. */
5125 #include <ac_nonexistent.h>
5127 if ac_fn_c_try_cpp "$LINENO"; then :
5128 # Broken: success on invalid input.
5131 # Passes both tests.
5135 rm -f conftest.err conftest.i conftest.$ac_ext
5138 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5139 rm -f conftest.i conftest.err conftest.
$ac_ext
5140 if $ac_preproc_ok; then :
5152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5153 $as_echo "$CPP" >&6; }
5155 for ac_c_preproc_warn_flag
in '' yes
5157 # Use a header file that comes with gcc, so configuring glibc
5158 # with a fresh cross-compiler works.
5159 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5160 # <limits.h> exists even on freestanding compilers.
5161 # On the NeXT, cc -E runs the code through the compiler's parser,
5162 # not just through cpp. "Syntax error" is here to catch this case.
5163 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5164 /* end confdefs.h. */
5166 # include <limits.h>
5168 # include <assert.h>
5172 if ac_fn_c_try_cpp
"$LINENO"; then :
5175 # Broken: fails on valid input.
5178 rm -f conftest.err conftest.i conftest.
$ac_ext
5180 # OK, works on sane cases. Now check whether nonexistent headers
5181 # can be detected and how.
5182 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5183 /* end confdefs.h. */
5184 #include <ac_nonexistent.h>
5186 if ac_fn_c_try_cpp
"$LINENO"; then :
5187 # Broken: success on invalid input.
5190 # Passes both tests.
5194 rm -f conftest.err conftest.i conftest.
$ac_ext
5197 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5198 rm -f conftest.i conftest.err conftest.
$ac_ext
5199 if $ac_preproc_ok; then :
5202 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5203 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5204 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
5205 See \`config.log' for more details" "$LINENO" 5; }
5209 ac_cpp
='$CPP $CPPFLAGS'
5210 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5211 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5212 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5215 # Make sure we can run config.sub.
5216 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
5217 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
5219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
5220 $as_echo_n "checking build system type... " >&6; }
5221 if ${ac_cv_build+:} false
; then :
5222 $as_echo_n "(cached) " >&6
5224 ac_build_alias
=$build_alias
5225 test "x$ac_build_alias" = x
&&
5226 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
5227 test "x$ac_build_alias" = x
&&
5228 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
5229 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
5230 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
5233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
5234 $as_echo "$ac_cv_build" >&6; }
5235 case $ac_cv_build in
5237 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
5240 ac_save_IFS
=$IFS; IFS
='-'
5246 # Remember, the first character of IFS is used to create $*,
5247 # except with old shells:
5250 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
5253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
5254 $as_echo_n "checking host system type... " >&6; }
5255 if ${ac_cv_host+:} false
; then :
5256 $as_echo_n "(cached) " >&6
5258 if test "x$host_alias" = x
; then
5259 ac_cv_host
=$ac_cv_build
5261 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
5262 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
5266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
5267 $as_echo "$ac_cv_host" >&6; }
5270 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
5273 ac_save_IFS
=$IFS; IFS
='-'
5279 # Remember, the first character of IFS is used to create $*,
5280 # except with old shells:
5283 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
5288 save_cross_compiling
=$cross_compiling
5289 save_ac_tool_prefix
=$ac_tool_prefix
5294 ac_build_cpp
='$CPP_FOR_BUILD $CPPFLAGS_FOR_BUILD'
5295 ac_build_compile
='$CC_FOR_BUILD -c $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD conftest.$ac_ext >&5'
5296 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'
5297 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5298 if test -n "$ac_tool_prefix"; then
5299 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
5300 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
5301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5302 $as_echo_n "checking for $ac_word... " >&6; }
5303 if ${ac_cv_prog_CC_FOR_BUILD+:} false
; then :
5304 $as_echo_n "(cached) " >&6
5306 if test -n "$CC_FOR_BUILD"; then
5307 ac_cv_prog_CC_FOR_BUILD
="$CC_FOR_BUILD" # Let the user override the test.
5309 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5313 test -z "$as_dir" && as_dir
=.
5314 for ac_exec_ext
in '' $ac_executable_extensions; do
5315 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5316 ac_cv_prog_CC_FOR_BUILD
="${ac_tool_prefix}gcc"
5317 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5326 CC_FOR_BUILD
=$ac_cv_prog_CC_FOR_BUILD
5327 if test -n "$CC_FOR_BUILD"; then
5328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC_FOR_BUILD" >&5
5329 $as_echo "$CC_FOR_BUILD" >&6; }
5331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5332 $as_echo "no" >&6; }
5337 if test -z "$ac_cv_prog_CC_FOR_BUILD"; then
5338 ac_ct_CC_FOR_BUILD
=$CC_FOR_BUILD
5339 # Extract the first word of "gcc", so it can be a program name with args.
5340 set dummy gcc
; ac_word
=$2
5341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5342 $as_echo_n "checking for $ac_word... " >&6; }
5343 if ${ac_cv_prog_ac_ct_CC_FOR_BUILD+:} false
; then :
5344 $as_echo_n "(cached) " >&6
5346 if test -n "$ac_ct_CC_FOR_BUILD"; then
5347 ac_cv_prog_ac_ct_CC_FOR_BUILD
="$ac_ct_CC_FOR_BUILD" # Let the user override the test.
5349 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5353 test -z "$as_dir" && as_dir
=.
5354 for ac_exec_ext
in '' $ac_executable_extensions; do
5355 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5356 ac_cv_prog_ac_ct_CC_FOR_BUILD
="gcc"
5357 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5366 ac_ct_CC_FOR_BUILD
=$ac_cv_prog_ac_ct_CC_FOR_BUILD
5367 if test -n "$ac_ct_CC_FOR_BUILD"; then
5368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC_FOR_BUILD" >&5
5369 $as_echo "$ac_ct_CC_FOR_BUILD" >&6; }
5371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5372 $as_echo "no" >&6; }
5375 if test "x$ac_ct_CC_FOR_BUILD" = x
; then
5378 case $cross_compiling:$ac_tool_warned in
5380 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with build triplet" >&5
5381 $as_echo "$as_me: WARNING: using cross tools not prefixed with build triplet" >&2;}
5382 ac_tool_warned
=yes ;;
5384 CC_FOR_BUILD
=$ac_ct_CC_FOR_BUILD
5387 CC_FOR_BUILD
="$ac_cv_prog_CC_FOR_BUILD"
5390 if test -z "$CC_FOR_BUILD"; then
5391 if test -n "$ac_tool_prefix"; then
5392 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
5393 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
5394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5395 $as_echo_n "checking for $ac_word... " >&6; }
5396 if ${ac_cv_prog_CC_FOR_BUILD+:} false
; then :
5397 $as_echo_n "(cached) " >&6
5399 if test -n "$CC_FOR_BUILD"; then
5400 ac_cv_prog_CC_FOR_BUILD
="$CC_FOR_BUILD" # Let the user override the test.
5402 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5406 test -z "$as_dir" && as_dir
=.
5407 for ac_exec_ext
in '' $ac_executable_extensions; do
5408 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5409 ac_cv_prog_CC_FOR_BUILD
="${ac_tool_prefix}cc"
5410 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5419 CC_FOR_BUILD
=$ac_cv_prog_CC_FOR_BUILD
5420 if test -n "$CC_FOR_BUILD"; then
5421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC_FOR_BUILD" >&5
5422 $as_echo "$CC_FOR_BUILD" >&6; }
5424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5425 $as_echo "no" >&6; }
5431 if test -z "$CC_FOR_BUILD"; then
5432 # Extract the first word of "cc", so it can be a program name with args.
5433 set dummy cc
; ac_word
=$2
5434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5435 $as_echo_n "checking for $ac_word... " >&6; }
5436 if ${ac_cv_prog_CC_FOR_BUILD+:} false
; then :
5437 $as_echo_n "(cached) " >&6
5439 if test -n "$CC_FOR_BUILD"; then
5440 ac_cv_prog_CC_FOR_BUILD
="$CC_FOR_BUILD" # Let the user override the test.
5443 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5447 test -z "$as_dir" && as_dir
=.
5448 for ac_exec_ext
in '' $ac_executable_extensions; do
5449 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5450 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
5451 ac_prog_rejected
=yes
5454 ac_cv_prog_CC_FOR_BUILD
="cc"
5455 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5462 if test $ac_prog_rejected = yes; then
5463 # We found a bogon in the path, so make sure we never use it.
5464 set dummy
$ac_cv_prog_CC_FOR_BUILD
5466 if test $# != 0; then
5467 # We chose a different compiler from the bogus one.
5468 # However, it has the same basename, so the bogon will be chosen
5469 # first if we set CC_FOR_BUILD to just the basename; use the full file name.
5471 ac_cv_prog_CC_FOR_BUILD
="$as_dir/$ac_word${1+' '}$@"
5476 CC_FOR_BUILD
=$ac_cv_prog_CC_FOR_BUILD
5477 if test -n "$CC_FOR_BUILD"; then
5478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC_FOR_BUILD" >&5
5479 $as_echo "$CC_FOR_BUILD" >&6; }
5481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5482 $as_echo "no" >&6; }
5487 if test -z "$CC_FOR_BUILD"; then
5488 if test -n "$ac_tool_prefix"; then
5489 for ac_prog
in cl.exe
5491 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5492 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5494 $as_echo_n "checking for $ac_word... " >&6; }
5495 if ${ac_cv_prog_CC_FOR_BUILD+:} false
; then :
5496 $as_echo_n "(cached) " >&6
5498 if test -n "$CC_FOR_BUILD"; then
5499 ac_cv_prog_CC_FOR_BUILD
="$CC_FOR_BUILD" # Let the user override the test.
5501 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5505 test -z "$as_dir" && as_dir
=.
5506 for ac_exec_ext
in '' $ac_executable_extensions; do
5507 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5508 ac_cv_prog_CC_FOR_BUILD
="$ac_tool_prefix$ac_prog"
5509 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5518 CC_FOR_BUILD
=$ac_cv_prog_CC_FOR_BUILD
5519 if test -n "$CC_FOR_BUILD"; then
5520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC_FOR_BUILD" >&5
5521 $as_echo "$CC_FOR_BUILD" >&6; }
5523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5524 $as_echo "no" >&6; }
5528 test -n "$CC_FOR_BUILD" && break
5531 if test -z "$CC_FOR_BUILD"; then
5532 ac_ct_CC_FOR_BUILD
=$CC_FOR_BUILD
5533 for ac_prog
in cl.exe
5535 # Extract the first word of "$ac_prog", so it can be a program name with args.
5536 set dummy
$ac_prog; ac_word
=$2
5537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5538 $as_echo_n "checking for $ac_word... " >&6; }
5539 if ${ac_cv_prog_ac_ct_CC_FOR_BUILD+:} false
; then :
5540 $as_echo_n "(cached) " >&6
5542 if test -n "$ac_ct_CC_FOR_BUILD"; then
5543 ac_cv_prog_ac_ct_CC_FOR_BUILD
="$ac_ct_CC_FOR_BUILD" # Let the user override the test.
5545 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5549 test -z "$as_dir" && as_dir
=.
5550 for ac_exec_ext
in '' $ac_executable_extensions; do
5551 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5552 ac_cv_prog_ac_ct_CC_FOR_BUILD
="$ac_prog"
5553 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5562 ac_ct_CC_FOR_BUILD
=$ac_cv_prog_ac_ct_CC_FOR_BUILD
5563 if test -n "$ac_ct_CC_FOR_BUILD"; then
5564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC_FOR_BUILD" >&5
5565 $as_echo "$ac_ct_CC_FOR_BUILD" >&6; }
5567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5568 $as_echo "no" >&6; }
5572 test -n "$ac_ct_CC_FOR_BUILD" && break
5575 if test "x$ac_ct_CC_FOR_BUILD" = x
; then
5578 case $cross_compiling:$ac_tool_warned in
5580 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with build triplet" >&5
5581 $as_echo "$as_me: WARNING: using cross tools not prefixed with build triplet" >&2;}
5582 ac_tool_warned
=yes ;;
5584 CC_FOR_BUILD
=$ac_ct_CC_FOR_BUILD
5591 test -z "$CC_FOR_BUILD" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5592 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5593 as_fn_error $?
"no acceptable C compiler found in \$PATH
5594 See \`config.log' for more details" "$LINENO" 5; }
5596 # Provide some information about the compiler.
5597 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5598 set X
$ac_build_compile
5600 for ac_option
in --version -v -V -qversion; do
5601 { { ac_try
="$ac_compiler $ac_option >&5"
5603 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
5604 *) ac_try_echo=$ac_try;;
5606 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5607 $as_echo "$ac_try_echo"; } >&5
5608 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5610 if test -s conftest.err; then
5612 ... rest of stderr output deleted ...
5613 10q' conftest.err >conftest.er1
5614 cat conftest.er1 >&5
5616 rm -f conftest.er1 conftest.err
5617 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5618 test $ac_status = 0; }
5621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
5622 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
5623 if ${ac_cv_c_compiler_gnu+:} false; then :
5624 $as_echo_n "(cached) " >&6
5626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5627 /* end confdefs.h. */
5640 if ac_fn_c_try_compile "$LINENO"; then :
5645 rm -f core conftest.err conftest.$ac_build_objext conftest.$ac_ext
5646 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5650 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
5651 if test $ac_compiler_gnu = yes; then
5656 ac_test_CFLAGS=${CFLAGS_FOR_BUILD+set}
5657 ac_save_CFLAGS=$CFLAGS_FOR_BUILD
5658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD accepts -g" >&5
5659 $as_echo_n "checking whether $CC_FOR_BUILD accepts -g... " >&6; }
5660 if ${ac_cv_build_prog_cc_g+:} false; then :
5661 $as_echo_n "(cached) " >&6
5663 ac_save_c_werror_flag=$ac_c_werror_flag
5664 ac_c_werror_flag=yes
5665 ac_cv_build_prog_cc_g=no
5666 CFLAGS_FOR_BUILD="-g"
5667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5668 /* end confdefs.h. */
5678 if ac_fn_c_try_compile "$LINENO"; then :
5679 ac_cv_build_prog_cc_g=yes
5682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5683 /* end confdefs.h. */
5693 if ac_fn_c_try_compile "$LINENO"; then :
5696 ac_c_werror_flag=$ac_save_c_werror_flag
5697 CFLAGS_FOR_BUILD="-g"
5698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5699 /* end confdefs.h. */
5709 if ac_fn_c_try_compile "$LINENO"; then :
5710 ac_cv_build_prog_cc_g=yes
5712 rm -f core conftest.err conftest.$ac_build_objext conftest.$ac_ext
5714 rm -f core conftest.err conftest.$ac_build_objext conftest.$ac_ext
5716 rm -f core conftest.err conftest.$ac_build_objext conftest.$ac_ext
5717 ac_c_werror_flag=$ac_save_c_werror_flag
5719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build_prog_cc_g" >&5
5720 $as_echo "$ac_cv_build_prog_cc_g" >&6; }
5721 if test "$ac_test_CFLAGS" = set; then
5722 CFLAGS_FOR_BUILD=$ac_save_CFLAGS
5723 elif test $ac_cv_build_prog_cc_g = yes; then
5724 if test "$GCC" = yes; then
5725 CFLAGS_FOR_BUILD="-g -O2"
5727 CFLAGS_FOR_BUILD="-g"
5730 if test "$GCC" = yes; then
5731 CFLAGS_FOR_BUILD="-O2"
5736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC_FOR_BUILD option to accept ISO C89" >&5
5737 $as_echo_n "checking for $CC_FOR_BUILD option to accept ISO C89... " >&6; }
5738 if ${ac_cv_prog_cc_c89+:} false; then :
5739 $as_echo_n "(cached) " >&6
5741 ac_cv_prog_cc_c89=no
5742 ac_save_CC=$CC_FOR_BUILD
5743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5744 /* end confdefs.h. */
5748 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5749 struct buf { int x; };
5750 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5751 static char *e (p, i)
5757 static char *f (char * (*g) (char **, int), char **p, ...)
5762 s = g (p, va_arg (v,int));
5767 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5768 function prototypes and stuff, but not '\xHH' hex character constants.
5769 These don't provoke an error unfortunately, instead are silently treated
5770 as 'x'. The following induces an error, until -std is added to get
5771 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5772 array size at least. It's necessary to write '\x00'==0 to get something
5773 that's true only with -std. */
5774 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5776 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5777 inside strings and character constants. */
5779 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5781 int test (int i, double x);
5782 struct s1 {int (*f) (int a);};
5783 struct s2 {int (*f) (double a);};
5784 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5790 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5795 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5796 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5798 CC_FOR_BUILD="$ac_save_CC $ac_arg"
5799 if ac_fn_c_try_compile "$LINENO"; then :
5800 ac_cv_prog_cc_c89=$ac_arg
5802 rm -f core conftest.err conftest.$ac_build_objext
5803 test "x$ac_cv_prog_cc_c89" != "xno" && break
5805 rm -f conftest.$ac_ext
5806 CC_FOR_BUILD=$ac_save_CC
5810 case "x$ac_cv_prog_cc_c89" in
5812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5813 $as_echo "none needed" >&6; } ;;
5815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5816 $as_echo "unsupported" >&6; } ;;
5818 CC_FOR_BUILD="$CC_FOR_BUILD $ac_cv_prog_cc_c89"
5819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5820 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5822 if test "x$ac_cv_prog_cc_c89" != xno; then :
5827 ac_build_cpp='$CPP_FOR_BUILD $CPPFLAGS_FOR_BUILD'
5828 ac_build_compile='$CC_FOR_BUILD -c $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD conftest.$ac_ext >&5'
5829 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'
5830 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5833 ac_build_cpp='$CPP_FOR_BUILD $CPPFLAGS_FOR_BUILD'
5834 ac_build_compile='$CC_FOR_BUILD -c $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD conftest.$ac_ext >&5'
5835 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'
5836 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD understands -c and -o together" >&5
5838 $as_echo_n "checking whether $CC_FOR_BUILD understands -c and -o together... " >&6; }
5839 if ${am_cv_prog_cc_c_o+:} false; then :
5840 $as_echo_n "(cached) " >&6
5842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5843 /* end confdefs.h. */
5853 # Make sure it works both with $CC and with simple cc.
5854 # Following AC_PROG_CC_C_O, we do the test twice because some
5855 # compilers refuse to overwrite an existing .o file with -o,
5856 # though they will create one.
5857 am_cv_prog_cc_c_o=yes
5859 if { echo "$as_me:$LINENO: $CC_FOR_BUILD -c conftest.$ac_ext -o conftest2.$ac_build_objext" >&5
5860 ($CC_FOR_BUILD -c conftest.$ac_ext -o conftest2.$ac_build_objext) >&5 2>&5
5862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5863 (exit $ac_status); } \
5864 && test -f conftest2.$ac_build_objext; then
5867 am_cv_prog_cc_c_o=no
5871 rm -f core conftest*
5874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
5875 $as_echo "$am_cv_prog_cc_c_o" >&6; }
5876 if test "$am_cv_prog_cc_c_o" != yes; then
5877 # Losing compiler, so override with the script.
5878 # FIXME: It is wrong to rewrite CC.
5879 # But if we don't then we get into trouble of one sort or another.
5880 # A longer-term fix would be to have automake use am__CC in this case,
5881 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
5882 CC_FOR_BUILD="$am_aux_dir/compile $CC_FOR_BUILD"
5885 ac_build_cpp='$CPP_FOR_BUILD $CPPFLAGS_FOR_BUILD'
5886 ac_build_compile='$CC_FOR_BUILD -c $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD conftest.$ac_ext >&5'
5887 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'
5888 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5891 depcc="$CC_FOR_BUILD" am_compiler_list=
5893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5894 $as_echo_n "checking dependency style of $depcc... " >&6; }
5895 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
5896 $as_echo_n "(cached) " >&6
5898 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5899 # We make a subdir and do the tests there. Otherwise we can end up
5900 # making bogus files that we don't know about and never remove. For
5901 # instance it was reported that on HP-UX the gcc test will end up
5902 # making a dummy file named 'D' -- because '-MD' means "put the output
5906 # Copy depcomp to subdir because otherwise we won't find it if we're
5907 # using a relative directory.
5908 cp "$am_depcomp" conftest.dir
5910 # We will build objects and dependencies in a subdirectory because
5911 # it helps to detect inapplicable dependency modes. For instance
5912 # both Tru64's cc and ICC support -MD to output dependencies as a
5913 # side effect of compilation, but ICC will put the dependencies in
5914 # the current directory while Tru64 will put them in the object
5918 am_cv_CC_dependencies_compiler_type=none
5919 if test "$am_compiler_list" = ""; then
5920 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
5923 case " $depcc " in #(
5924 *\ -arch\ *\ -arch\ *) am__universal=true ;;
5927 for depmode in $am_compiler_list; do
5928 # Setup a source with many dependencies, because some compilers
5929 # like to wrap large dependency lists on column 80 (with \), and
5930 # we should not choose a depcomp mode which is confused by this.
5932 # We need to recreate these files for each test, as the compiler may
5933 # overwrite some of them when testing with obscure command lines.
5934 # This happens at least with the AIX C compiler.
5936 for i in 1 2 3 4 5 6; do
5937 echo '#include "conftst'$i'.h"' >> sub/conftest.c
5938 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
5939 # Solaris 10 /bin/sh.
5940 echo '/* dummy */' > sub/conftst$i.h
5942 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5944 # We check with '-c' and '-o' for the sake of the "dashmstdout"
5945 # mode. It turns out that the SunPro C++ compiler does not properly
5946 # handle '-M -o', and we need to detect this. Also, some Intel
5947 # versions had trouble with output in subdirs.
5948 am__obj=sub/conftest.${OBJEXT-o}
5949 am__minus_obj="-o $am__obj"
5952 # This depmode causes a compiler race in universal mode.
5953 test "$am__universal" = false || continue
5956 # After this tag, mechanisms are not by side-effect, so they'll
5957 # only be used when explicitly requested.
5958 if test "x$enable_dependency_tracking" = xyes; then
5964 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
5965 # This compiler won't grok '-c -o', but also, the minuso test has
5966 # not run yet. These depmodes are late enough in the game, and
5967 # so weak that their functioning should not be impacted.
5968 am__obj=conftest.${OBJEXT-o}
5973 if depmode=$depmode \
5974 source=sub/conftest.c object=$am__obj \
5975 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5976 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5977 >/dev/null 2>conftest.err &&
5978 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5979 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5980 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5981 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5982 # icc doesn't choke on unknown options, it will just issue warnings
5983 # or remarks (even with -Werror). So we grep stderr for any message
5984 # that says an option was ignored or not supported.
5985 # When given -MP, icc 7.0 and 7.1 complain thusly:
5986 # icc: Command line warning: ignoring option '-M'; no argument required
5987 # The diagnosis changed in icc 8.0:
5988 # icc: Command line remark: option '-MP' not supported
5989 if (grep 'ignoring option' conftest.err ||
5990 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5991 am_cv_CC_dependencies_compiler_type=$depmode
6000 am_cv_CC_dependencies_compiler_type=none
6004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
6005 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
6006 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
6009 test "x$enable_dependency_tracking" != xno \
6010 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
6012 am__fastdepCC_FALSE='#'
6014 am__fastdepCC_TRUE='#'
6015 am__fastdepCC_FALSE=
6020 ac_build_cpp='$CPP_FOR_BUILD $CPPFLAGS_FOR_BUILD'
6021 ac_build_compile='$CC_FOR_BUILD -c $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD conftest.$ac_ext >&5'
6022 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'
6023 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6025 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6026 # On Suns, sometimes $CPP names a directory.
6027 if test -n "$CPP_FOR_BUILD" && test -d "$CPP_FOR_BUILD"; then
6030 if test -z "$CPP_FOR_BUILD"; then
6031 if ${ac_cv_build_prog_CPP+:} false; then :
6032 $as_echo_n "(cached) " >&6
6034 # Double quotes because CPP needs to be expanded
6035 for CPP_FOR_BUILD in "$CC_FOR_BUILD -E" "$CC_FOR_BUILD -E -traditional-cpp" "/lib/cpp"
6038 for ac_c_preproc_warn_flag in '' yes
6040 # Use a header file that comes with gcc, so configuring glibc
6041 # with a fresh cross-compiler works.
6042 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6043 # <limits.h> exists even on freestanding compilers.
6044 # On the NeXT, cc -E runs the code through the compiler's parser,
6045 # not just through cpp. "Syntax error" is here to catch this case.
6046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6047 /* end confdefs.h. */
6049 # include <limits.h>
6051 # include <assert.h>
6055 if ac_fn_c_try_cpp "$LINENO"; then :
6058 # Broken: fails on valid input.
6061 rm -f conftest.err conftest.i conftest.$ac_ext
6063 # OK, works on sane cases. Now check whether nonexistent headers
6064 # can be detected and how.
6065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6066 /* end confdefs.h. */
6067 #include <ac_nonexistent.h>
6069 if ac_fn_c_try_cpp "$LINENO"; then :
6070 # Broken: success on invalid input.
6073 # Passes both tests.
6077 rm -f conftest.err conftest.i conftest.$ac_ext
6080 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6081 rm -f conftest.i conftest.err conftest.
$ac_ext
6082 if $ac_preproc_ok; then :
6087 ac_cv_build_prog_CPP
=$CPP_FOR_BUILD
6090 CPP_FOR_BUILD
=$ac_cv_build_prog_CPP
6092 ac_cv_build_prog_CPP
=$CPP_FOR_BUILD
6094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP_FOR_BUILD" >&5
6095 $as_echo "$CPP_FOR_BUILD" >&6; }
6097 for ac_c_preproc_warn_flag
in '' yes
6099 # Use a header file that comes with gcc, so configuring glibc
6100 # with a fresh cross-compiler works.
6101 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6102 # <limits.h> exists even on freestanding compilers.
6103 # On the NeXT, cc -E runs the code through the compiler's parser,
6104 # not just through cpp. "Syntax error" is here to catch this case.
6105 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6106 /* end confdefs.h. */
6108 # include <limits.h>
6110 # include <assert.h>
6114 if ac_fn_c_try_cpp
"$LINENO"; then :
6117 # Broken: fails on valid input.
6120 rm -f conftest.err conftest.i conftest.
$ac_ext
6122 # OK, works on sane cases. Now check whether nonexistent headers
6123 # can be detected and how.
6124 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6125 /* end confdefs.h. */
6126 #include <ac_nonexistent.h>
6128 if ac_fn_c_try_cpp
"$LINENO"; then :
6129 # Broken: success on invalid input.
6132 # Passes both tests.
6136 rm -f conftest.err conftest.i conftest.
$ac_ext
6139 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6140 rm -f conftest.i conftest.err conftest.
$ac_ext
6141 if $ac_preproc_ok; then :
6144 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6145 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6146 as_fn_error $?
"C preprocessor \"$CPP_FOR_BUILD\" fails sanity check
6147 See \`config.log' for more details" "$LINENO" 5; }
6151 ac_build_cpp
='$CPP_FOR_BUILD $CPPFLAGS_FOR_BUILD'
6152 ac_build_compile
='$CC_FOR_BUILD -c $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD conftest.$ac_ext >&5'
6153 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'
6154 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6158 ac_tool_prefix
=$save_ac_tool_prefix
6159 cross_compiling
=$save_cross_compiling
6162 BUILD_EXEEXT
=$ac_build_exeext
6163 BUILD_OBJEXT
=$ac_build_objext
6166 ac_cpp
='$CXXCPP $CPPFLAGS'
6167 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6168 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6169 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
6170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
6171 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
6172 if test -z "$CXXCPP"; then
6173 if ${ac_cv_prog_CXXCPP+:} false
; then :
6174 $as_echo_n "(cached) " >&6
6176 # Double quotes because CXXCPP needs to be expanded
6177 for CXXCPP
in "$CXX -E" "/lib/cpp"
6180 for ac_cxx_preproc_warn_flag
in '' yes
6182 # Use a header file that comes with gcc, so configuring glibc
6183 # with a fresh cross-compiler works.
6184 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6185 # <limits.h> exists even on freestanding compilers.
6186 # On the NeXT, cc -E runs the code through the compiler's parser,
6187 # not just through cpp. "Syntax error" is here to catch this case.
6188 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6189 /* end confdefs.h. */
6191 # include <limits.h>
6193 # include <assert.h>
6197 if ac_fn_cxx_try_cpp
"$LINENO"; then :
6200 # Broken: fails on valid input.
6203 rm -f conftest.err conftest.i conftest.
$ac_ext
6205 # OK, works on sane cases. Now check whether nonexistent headers
6206 # can be detected and how.
6207 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6208 /* end confdefs.h. */
6209 #include <ac_nonexistent.h>
6211 if ac_fn_cxx_try_cpp
"$LINENO"; then :
6212 # Broken: success on invalid input.
6215 # Passes both tests.
6219 rm -f conftest.err conftest.i conftest.
$ac_ext
6222 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6223 rm -f conftest.i conftest.err conftest.
$ac_ext
6224 if $ac_preproc_ok; then :
6229 ac_cv_prog_CXXCPP
=$CXXCPP
6232 CXXCPP
=$ac_cv_prog_CXXCPP
6234 ac_cv_prog_CXXCPP
=$CXXCPP
6236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
6237 $as_echo "$CXXCPP" >&6; }
6239 for ac_cxx_preproc_warn_flag
in '' yes
6241 # Use a header file that comes with gcc, so configuring glibc
6242 # with a fresh cross-compiler works.
6243 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6244 # <limits.h> exists even on freestanding compilers.
6245 # On the NeXT, cc -E runs the code through the compiler's parser,
6246 # not just through cpp. "Syntax error" is here to catch this case.
6247 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6248 /* end confdefs.h. */
6250 # include <limits.h>
6252 # include <assert.h>
6256 if ac_fn_cxx_try_cpp
"$LINENO"; then :
6259 # Broken: fails on valid input.
6262 rm -f conftest.err conftest.i conftest.
$ac_ext
6264 # OK, works on sane cases. Now check whether nonexistent headers
6265 # can be detected and how.
6266 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6267 /* end confdefs.h. */
6268 #include <ac_nonexistent.h>
6270 if ac_fn_cxx_try_cpp
"$LINENO"; then :
6271 # Broken: success on invalid input.
6274 # Passes both tests.
6278 rm -f conftest.err conftest.i conftest.
$ac_ext
6281 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6282 rm -f conftest.i conftest.err conftest.
$ac_ext
6283 if $ac_preproc_ok; then :
6286 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6287 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6288 as_fn_error $?
"C++ preprocessor \"$CXXCPP\" fails sanity check
6289 See \`config.log' for more details" "$LINENO" 5; }
6293 ac_cpp
='$CPP $CPPFLAGS'
6294 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6295 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6296 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6300 save_cross_compiling
=$cross_compiling
6301 save_ac_tool_prefix
=$ac_tool_prefix
6306 ac_cpp
='$CXXCPP_FOR_BUILD $CPPFLAGS_FOR_BUILD'
6307 ac_build_compile
='$CXX_FOR_BUILD -c $CXXFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD conftest.$ac_ext >&5'
6308 ac_build_link
='$CXX_FOR_BUILD -o conftest$ac_exeext $CXXFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD $LDFLAGS conftest.$ac_ext $LIBS >&5'
6309 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
6310 if test -z "$CXX_FOR_BUILD"; then
6311 if test -n "$CCC"; then
6314 if test -n "$ac_tool_prefix"; then
6315 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
6317 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6318 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
6319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6320 $as_echo_n "checking for $ac_word... " >&6; }
6321 if ${ac_cv_prog_CXX_FOR_BUILD+:} false
; then :
6322 $as_echo_n "(cached) " >&6
6324 if test -n "$CXX_FOR_BUILD"; then
6325 ac_cv_prog_CXX_FOR_BUILD
="$CXX_FOR_BUILD" # Let the user override the test.
6327 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6331 test -z "$as_dir" && as_dir
=.
6332 for ac_exec_ext
in '' $ac_executable_extensions; do
6333 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6334 ac_cv_prog_CXX_FOR_BUILD
="$ac_tool_prefix$ac_prog"
6335 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6344 CXX_FOR_BUILD
=$ac_cv_prog_CXX_FOR_BUILD
6345 if test -n "$CXX_FOR_BUILD"; then
6346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX_FOR_BUILD" >&5
6347 $as_echo "$CXX_FOR_BUILD" >&6; }
6349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6350 $as_echo "no" >&6; }
6354 test -n "$CXX_FOR_BUILD" && break
6357 if test -z "$CXX_FOR_BUILD"; then
6358 ac_ct_CXX_FOR_BUILD
=$CXX_FOR_BUILD
6359 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
6361 # Extract the first word of "$ac_prog", so it can be a program name with args.
6362 set dummy
$ac_prog; ac_word
=$2
6363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6364 $as_echo_n "checking for $ac_word... " >&6; }
6365 if ${ac_cv_prog_ac_ct_CXX_FOR_BUILD+:} false
; then :
6366 $as_echo_n "(cached) " >&6
6368 if test -n "$ac_ct_CXX_FOR_BUILD"; then
6369 ac_cv_prog_ac_ct_CXX_FOR_BUILD
="$ac_ct_CXX_FOR_BUILD" # Let the user override the test.
6371 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6375 test -z "$as_dir" && as_dir
=.
6376 for ac_exec_ext
in '' $ac_executable_extensions; do
6377 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6378 ac_cv_prog_ac_ct_CXX_FOR_BUILD
="$ac_prog"
6379 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6388 ac_ct_CXX_FOR_BUILD
=$ac_cv_prog_ac_ct_CXX_FOR_BUILD
6389 if test -n "$ac_ct_CXX_FOR_BUILD"; then
6390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX_FOR_BUILD" >&5
6391 $as_echo "$ac_ct_CXX_FOR_BUILD" >&6; }
6393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6394 $as_echo "no" >&6; }
6398 test -n "$ac_ct_CXX_FOR_BUILD" && break
6401 if test "x$ac_ct_CXX_FOR_BUILD" = x
; then
6404 case $cross_compiling:$ac_tool_warned in
6406 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with build triplet" >&5
6407 $as_echo "$as_me: WARNING: using cross tools not prefixed with build triplet" >&2;}
6408 ac_tool_warned
=yes ;;
6410 CXX_FOR_BUILD
=$ac_ct_CXX_FOR_BUILD
6416 # Provide some information about the compiler.
6417 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
6418 set X
$ac_build_compile
6420 for ac_option
in --version -v -V -qversion; do
6421 { { ac_try
="$ac_compiler $ac_option >&5"
6423 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
6424 *) ac_try_echo=$ac_try;;
6426 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
6427 $as_echo "$ac_try_echo"; } >&5
6428 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
6430 if test -s conftest.err; then
6432 ... rest of stderr output deleted ...
6433 10q' conftest.err >conftest.er1
6434 cat conftest.er1 >&5
6436 rm -f conftest.er1 conftest.err
6437 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6438 test $ac_status = 0; }
6441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
6442 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
6443 if ${ac_cv_cxx_compiler_gnu+:} false; then :
6444 $as_echo_n "(cached) " >&6
6446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6447 /* end confdefs.h. */
6460 if ac_fn_cxx_try_compile "$LINENO"; then :
6465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6466 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
6469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
6470 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
6471 if test $ac_compiler_gnu = yes; then
6476 ac_test_CXXFLAGS=${CXXFLAGS_FOR_BUILD+set}
6477 ac_save_CXXFLAGS=$CXXFLAGS_FOR_BUILD
6478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX_FOR_BUILD accepts -g" >&5
6479 $as_echo_n "checking whether $CXX_FOR_BUILD accepts -g... " >&6; }
6480 if ${ac_cv_build_prog_cxx_g+:} false; then :
6481 $as_echo_n "(cached) " >&6
6483 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
6484 ac_cxx_werror_flag=yes
6485 ac_cv_build_prog_cxx_g=no
6486 CXXFLAGS_FOR_BUILD="-g"
6487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6488 /* end confdefs.h. */
6498 if ac_fn_cxx_try_compile "$LINENO"; then :
6499 ac_cv_build_prog_cxx_g=yes
6501 CXXFLAGS_FOR_BUILD=""
6502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6503 /* end confdefs.h. */
6513 if ac_fn_cxx_try_compile "$LINENO"; then :
6516 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
6517 CXXFLAGS_FOR_BUILD="-g"
6518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6519 /* end confdefs.h. */
6529 if ac_fn_cxx_try_compile "$LINENO"; then :
6530 ac_cv_build_prog_cxx_g=yes
6532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6537 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
6539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build_prog_cxx_g" >&5
6540 $as_echo "$ac_cv_build_prog_cxx_g" >&6; }
6541 if test "$ac_test_CXXFLAGS" = set; then
6542 CXXFLAGS_FOR_BUILD=$ac_save_CXXFLAGS
6543 elif test $ac_cv_build_prog_cxx_g = yes; then
6544 if test "$GXX" = yes; then
6545 CXXFLAGS_FOR_BUILD="-g -O2"
6547 CXXFLAGS_FOR_BUILD="-g"
6550 if test "$GXX" = yes; then
6551 CXXFLAGS_FOR_BUILD="-O2"
6557 ac_cpp='$CPP $CPPFLAGS_FOR_BUILD'
6558 ac_build_compile='$CC -c $CFLAGS $CPPFLAGS_FOR_BUILD conftest.$ac_ext >&5'
6559 ac_build_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS_FOR_BUILD $LDFLAGS conftest.$ac_ext $LIBS >&5'
6560 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6562 depcc="$CXX_FOR_BUILD" am_compiler_list=
6564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
6565 $as_echo_n "checking dependency style of $depcc... " >&6; }
6566 if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
6567 $as_echo_n "(cached) " >&6
6569 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
6570 # We make a subdir and do the tests there. Otherwise we can end up
6571 # making bogus files that we don't know about and never remove. For
6572 # instance it was reported that on HP-UX the gcc test will end up
6573 # making a dummy file named 'D' -- because '-MD' means "put the output
6577 # Copy depcomp to subdir because otherwise we won't find it if we're
6578 # using a relative directory.
6579 cp "$am_depcomp" conftest.dir
6581 # We will build objects and dependencies in a subdirectory because
6582 # it helps to detect inapplicable dependency modes. For instance
6583 # both Tru64's cc and ICC support -MD to output dependencies as a
6584 # side effect of compilation, but ICC will put the dependencies in
6585 # the current directory while Tru64 will put them in the object
6589 am_cv_CXX_dependencies_compiler_type=none
6590 if test "$am_compiler_list" = ""; then
6591 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
6594 case " $depcc " in #(
6595 *\ -arch\ *\ -arch\ *) am__universal=true ;;
6598 for depmode in $am_compiler_list; do
6599 # Setup a source with many dependencies, because some compilers
6600 # like to wrap large dependency lists on column 80 (with \), and
6601 # we should not choose a depcomp mode which is confused by this.
6603 # We need to recreate these files for each test, as the compiler may
6604 # overwrite some of them when testing with obscure command lines.
6605 # This happens at least with the AIX C compiler.
6607 for i in 1 2 3 4 5 6; do
6608 echo '#include "conftst'$i'.h"' >> sub/conftest.c
6609 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
6610 # Solaris 10 /bin/sh.
6611 echo '/* dummy */' > sub/conftst$i.h
6613 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
6615 # We check with '-c' and '-o' for the sake of the "dashmstdout"
6616 # mode. It turns out that the SunPro C++ compiler does not properly
6617 # handle '-M -o', and we need to detect this. Also, some Intel
6618 # versions had trouble with output in subdirs.
6619 am__obj=sub/conftest.${OBJEXT-o}
6620 am__minus_obj="-o $am__obj"
6623 # This depmode causes a compiler race in universal mode.
6624 test "$am__universal" = false || continue
6627 # After this tag, mechanisms are not by side-effect, so they'll
6628 # only be used when explicitly requested.
6629 if test "x$enable_dependency_tracking" = xyes; then
6635 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
6636 # This compiler won't grok '-c -o', but also, the minuso test has
6637 # not run yet. These depmodes are late enough in the game, and
6638 # so weak that their functioning should not be impacted.
6639 am__obj=conftest.${OBJEXT-o}
6644 if depmode=$depmode \
6645 source=sub/conftest.c object=$am__obj \
6646 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
6647 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
6648 >/dev/null 2>conftest.err &&
6649 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
6650 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
6651 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
6652 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
6653 # icc doesn't choke on unknown options, it will just issue warnings
6654 # or remarks (even with -Werror). So we grep stderr for any message
6655 # that says an option was ignored or not supported.
6656 # When given -MP, icc 7.0 and 7.1 complain thusly:
6657 # icc: Command line warning: ignoring option '-M'; no argument required
6658 # The diagnosis changed in icc 8.0:
6659 # icc: Command line remark: option '-MP' not supported
6660 if (grep 'ignoring option' conftest.err ||
6661 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
6662 am_cv_CXX_dependencies_compiler_type=$depmode
6671 am_cv_CXX_dependencies_compiler_type=none
6675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
6676 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
6677 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
6680 test "x$enable_dependency_tracking" != xno \
6681 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
6682 am__fastdepCXX_TRUE=
6683 am__fastdepCXX_FALSE='#'
6685 am__fastdepCXX_TRUE='#'
6686 am__fastdepCXX_FALSE=
6691 ac_cpp='$CXXCPP_FOR_BUILD $CPPFLAGS_FOR_BUILD'
6692 ac_build_compile='$CXX_FOR_BUILD -c $CXXFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD conftest.$ac_ext >&5'
6693 ac_build_link='$CXX_FOR_BUILD -o conftest$ac_exeext $CXXFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD $LDFLAGS conftest.$ac_ext $LIBS >&5'
6694 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
6696 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
6697 if test -z "$CXXCPP_FOR_BUILD"; then
6698 if ${ac_cv_build_prog_CXXCPP+:} false; then :
6699 $as_echo_n "(cached) " >&6
6701 # Double quotes because CXXCPP needs to be expanded
6702 for CXXCPP_FOR_BUILD in "$CXX_FOR_BUILD -E" "/lib/cpp"
6705 for ac_cxx_preproc_warn_flag in '' yes
6707 # Use a header file that comes with gcc, so configuring glibc
6708 # with a fresh cross-compiler works.
6709 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6710 # <limits.h> exists even on freestanding compilers.
6711 # On the NeXT, cc -E runs the code through the compiler's parser,
6712 # not just through cpp. "Syntax error" is here to catch this case.
6713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6714 /* end confdefs.h. */
6716 # include <limits.h>
6718 # include <assert.h>
6722 if ac_fn_cxx_try_cpp "$LINENO"; then :
6725 # Broken: fails on valid input.
6728 rm -f conftest.err conftest.i conftest.$ac_ext
6730 # OK, works on sane cases. Now check whether nonexistent headers
6731 # can be detected and how.
6732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6733 /* end confdefs.h. */
6734 #include <ac_nonexistent.h>
6736 if ac_fn_cxx_try_cpp "$LINENO"; then :
6737 # Broken: success on invalid input.
6740 # Passes both tests.
6744 rm -f conftest.err conftest.i conftest.$ac_ext
6747 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6748 rm -f conftest.i conftest.err conftest.
$ac_ext
6749 if $ac_preproc_ok; then :
6754 ac_cv_build_prog_CXXCPP
=$CXXCPP_FOR_BUILD
6757 CXXCPP_FOR_BUILD
=$ac_cv_build_prog_CXXCPP
6759 ac_cv_build_prog_CXXCPP
=$CXXCPP_FOR_BUILD
6761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP_FOR_BUILD" >&5
6762 $as_echo "$CXXCPP_FOR_BUILD" >&6; }
6764 for ac_cxx_preproc_warn_flag
in '' yes
6766 # Use a header file that comes with gcc, so configuring glibc
6767 # with a fresh cross-compiler works.
6768 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6769 # <limits.h> exists even on freestanding compilers.
6770 # On the NeXT, cc -E runs the code through the compiler's parser,
6771 # not just through cpp. "Syntax error" is here to catch this case.
6772 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6773 /* end confdefs.h. */
6775 # include <limits.h>
6777 # include <assert.h>
6781 if ac_fn_cxx_try_cpp
"$LINENO"; then :
6784 # Broken: fails on valid input.
6787 rm -f conftest.err conftest.i conftest.
$ac_ext
6789 # OK, works on sane cases. Now check whether nonexistent headers
6790 # can be detected and how.
6791 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6792 /* end confdefs.h. */
6793 #include <ac_nonexistent.h>
6795 if ac_fn_cxx_try_cpp
"$LINENO"; then :
6796 # Broken: success on invalid input.
6799 # Passes both tests.
6803 rm -f conftest.err conftest.i conftest.
$ac_ext
6806 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6807 rm -f conftest.i conftest.err conftest.
$ac_ext
6808 if $ac_preproc_ok; then :
6811 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6812 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6813 as_fn_error $?
"C++ preprocessor \"$CXXCPP_FOR_BUILD\" fails sanity check
6814 See \`config.log' for more details" "$LINENO" 5; }
6818 ac_cpp
='$CPP $CPPFLAGS_FOR_BUILD'
6819 ac_build_compile
='$CC -c $CFLAGS $CPPFLAGS_FOR_BUILD conftest.$ac_ext >&5'
6820 ac_build_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS_FOR_BUILD $LDFLAGS conftest.$ac_ext $LIBS >&5'
6821 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6824 ac_tool_prefix
=$save_ac_tool_prefix
6825 cross_compiling
=$save_cross_compiling
6831 if test -n "$ac_tool_prefix"; then
6832 for ac_prog
in ar lib
"link -lib"
6834 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6835 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
6836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6837 $as_echo_n "checking for $ac_word... " >&6; }
6838 if ${ac_cv_prog_AR+:} false
; then :
6839 $as_echo_n "(cached) " >&6
6841 if test -n "$AR"; then
6842 ac_cv_prog_AR
="$AR" # Let the user override the test.
6844 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6848 test -z "$as_dir" && as_dir
=.
6849 for ac_exec_ext
in '' $ac_executable_extensions; do
6850 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6851 ac_cv_prog_AR
="$ac_tool_prefix$ac_prog"
6852 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6862 if test -n "$AR"; then
6863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6864 $as_echo "$AR" >&6; }
6866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6867 $as_echo "no" >&6; }
6871 test -n "$AR" && break
6874 if test -z "$AR"; then
6876 for ac_prog
in ar lib
"link -lib"
6878 # Extract the first word of "$ac_prog", so it can be a program name with args.
6879 set dummy
$ac_prog; ac_word
=$2
6880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6881 $as_echo_n "checking for $ac_word... " >&6; }
6882 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
6883 $as_echo_n "(cached) " >&6
6885 if test -n "$ac_ct_AR"; then
6886 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
6888 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6892 test -z "$as_dir" && as_dir
=.
6893 for ac_exec_ext
in '' $ac_executable_extensions; do
6894 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6895 ac_cv_prog_ac_ct_AR
="$ac_prog"
6896 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6905 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
6906 if test -n "$ac_ct_AR"; then
6907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6908 $as_echo "$ac_ct_AR" >&6; }
6910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6911 $as_echo "no" >&6; }
6915 test -n "$ac_ct_AR" && break
6918 if test "x$ac_ct_AR" = x
; then
6921 case $cross_compiling:$ac_tool_warned in
6923 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6924 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6925 ac_tool_warned
=yes ;;
6933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the archiver ($AR) interface" >&5
6934 $as_echo_n "checking the archiver ($AR) interface... " >&6; }
6935 if ${am_cv_ar_interface+:} false
; then :
6936 $as_echo_n "(cached) " >&6
6939 ac_cpp
='$CPP $CPPFLAGS'
6940 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6941 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6942 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6944 am_cv_ar_interface
=ar
6945 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6946 /* end confdefs.h. */
6947 int some_variable = 0;
6949 if ac_fn_c_try_compile
"$LINENO"; then :
6950 am_ar_try
='$AR cru libconftest.a conftest.$ac_objext >&5'
6951 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
6952 (eval $am_ar_try) 2>&5
6954 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6955 test $ac_status = 0; }
6956 if test "$ac_status" -eq 0; then
6957 am_cv_ar_interface
=ar
6959 am_ar_try
='$AR -NOLOGO -OUT:conftest.lib conftest.$ac_objext >&5'
6960 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
6961 (eval $am_ar_try) 2>&5
6963 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6964 test $ac_status = 0; }
6965 if test "$ac_status" -eq 0; then
6966 am_cv_ar_interface
=lib
6968 am_cv_ar_interface
=unknown
6971 rm -f conftest.lib libconftest.a
6974 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6976 ac_cpp
='$CPP $CPPFLAGS'
6977 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6978 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6979 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_ar_interface" >&5
6983 $as_echo "$am_cv_ar_interface" >&6; }
6985 case $am_cv_ar_interface in
6989 # Microsoft lib, so override with the ar-lib wrapper script.
6990 # FIXME: It is wrong to rewrite AR.
6991 # But if we don't then we get into trouble of one sort or another.
6992 # A longer-term fix would be to have automake use am__AR in this case,
6993 # and then we could set am__AR="$am_aux_dir/ar-lib \$(AR)" or something
6995 AR
="$am_aux_dir/ar-lib $AR"
6998 as_fn_error $?
"could not determine $AR interface" "$LINENO" 5
7006 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
7007 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
7012 macro_version
='2.4.6'
7013 macro_revision
='2.4.6'
7027 ltmain
=$ac_aux_dir/ltmain.sh
7029 # Backslashify metacharacters that are still active within
7030 # double-quoted strings.
7031 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g'
7033 # Same as above, but do not quote variable references.
7034 double_quote_subst
='s/\(["`\\]\)/\\\1/g'
7036 # Sed substitution to delay expansion of an escaped shell variable in a
7037 # double_quote_subst'ed string.
7038 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
7040 # Sed substitution to delay expansion of an escaped single quote.
7041 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
7043 # Sed substitution to avoid accidental globbing in evaled expressions
7044 no_glob_subst
='s/\*/\\\*/g'
7046 ECHO
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
7047 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
7048 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
7050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
7051 $as_echo_n "checking how to print strings... " >&6; }
7052 # Test print first, because it will be a builtin if present.
7053 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
7054 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
7056 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
7059 # Use this function as a fallback that always works.
7060 func_fallback_echo ()
7062 eval 'cat <<_LTECHO_EOF
7066 ECHO='func_fallback_echo
'
7069 # func_echo_all arg...
7070 # Invoke $ECHO with all args, space-separated.
7077 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
7078 $as_echo "printf" >&6; } ;;
7079 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
7080 $as_echo "print -r" >&6; } ;;
7081 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
7082 $as_echo "cat" >&6; } ;;
7098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
7099 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
7100 if ${ac_cv_path_SED+:} false; then :
7101 $as_echo_n "(cached) " >&6
7103 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
7104 for ac_i in 1 2 3 4 5 6 7; do
7105 ac_script="$ac_script$as_nl$ac_script"
7107 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
7108 { ac_script=; unset ac_script;}
7109 if test -z "$SED"; then
7110 ac_path_SED_found=false
7111 # Loop through the user's path and
test for each of PROGNAME
-LIST
7112 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7116 test -z "$as_dir" && as_dir
=.
7117 for ac_prog
in sed gsed
; do
7118 for ac_exec_ext
in '' $ac_executable_extensions; do
7119 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
7120 as_fn_executable_p
"$ac_path_SED" || continue
7121 # Check for GNU ac_path_SED and select it if it is found.
7122 # Check for GNU $ac_path_SED
7123 case `"$ac_path_SED" --version 2>&1` in
7125 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
7128 $as_echo_n 0123456789 >"conftest.in"
7131 cat "conftest.in" "conftest.in" >"conftest.tmp"
7132 mv "conftest.tmp" "conftest.in"
7133 cp "conftest.in" "conftest.nl"
7134 $as_echo '' >> "conftest.nl"
7135 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
7136 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
7137 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
7138 if test $ac_count -gt ${ac_path_SED_max-0}; then
7139 # Best one so far, save it but keep looking for a better one
7140 ac_cv_path_SED
="$ac_path_SED"
7141 ac_path_SED_max
=$ac_count
7143 # 10*(2^10) chars as input seems more than enough
7144 test $ac_count -gt 10 && break
7146 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
7149 $ac_path_SED_found && break 3
7154 if test -z "$ac_cv_path_SED"; then
7155 as_fn_error $?
"no acceptable sed could be found in \$PATH" "$LINENO" 5
7162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
7163 $as_echo "$ac_cv_path_SED" >&6; }
7164 SED
="$ac_cv_path_SED"
7167 test -z "$SED" && SED
=sed
7168 Xsed
="$SED -e 1s/^X//"
7180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
7181 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
7182 if ${ac_cv_path_GREP+:} false
; then :
7183 $as_echo_n "(cached) " >&6
7185 if test -z "$GREP"; then
7186 ac_path_GREP_found
=false
7187 # Loop through the user's path and test for each of PROGNAME-LIST
7188 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7189 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
7192 test -z "$as_dir" && as_dir
=.
7193 for ac_prog
in grep ggrep
; do
7194 for ac_exec_ext
in '' $ac_executable_extensions; do
7195 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
7196 as_fn_executable_p
"$ac_path_GREP" || continue
7197 # Check for GNU ac_path_GREP and select it if it is found.
7198 # Check for GNU $ac_path_GREP
7199 case `"$ac_path_GREP" --version 2>&1` in
7201 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
7204 $as_echo_n 0123456789 >"conftest.in"
7207 cat "conftest.in" "conftest.in" >"conftest.tmp"
7208 mv "conftest.tmp" "conftest.in"
7209 cp "conftest.in" "conftest.nl"
7210 $as_echo 'GREP' >> "conftest.nl"
7211 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
7212 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
7213 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
7214 if test $ac_count -gt ${ac_path_GREP_max-0}; then
7215 # Best one so far, save it but keep looking for a better one
7216 ac_cv_path_GREP
="$ac_path_GREP"
7217 ac_path_GREP_max
=$ac_count
7219 # 10*(2^10) chars as input seems more than enough
7220 test $ac_count -gt 10 && break
7222 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
7225 $ac_path_GREP_found && break 3
7230 if test -z "$ac_cv_path_GREP"; then
7231 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7234 ac_cv_path_GREP
=$GREP
7238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
7239 $as_echo "$ac_cv_path_GREP" >&6; }
7240 GREP
="$ac_cv_path_GREP"
7243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
7244 $as_echo_n "checking for egrep... " >&6; }
7245 if ${ac_cv_path_EGREP+:} false
; then :
7246 $as_echo_n "(cached) " >&6
7248 if echo a
| $GREP -E '(a|b)' >/dev
/null
2>&1
7249 then ac_cv_path_EGREP
="$GREP -E"
7251 if test -z "$EGREP"; then
7252 ac_path_EGREP_found
=false
7253 # Loop through the user's path and test for each of PROGNAME-LIST
7254 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7255 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
7258 test -z "$as_dir" && as_dir
=.
7259 for ac_prog
in egrep; do
7260 for ac_exec_ext
in '' $ac_executable_extensions; do
7261 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
7262 as_fn_executable_p
"$ac_path_EGREP" || continue
7263 # Check for GNU ac_path_EGREP and select it if it is found.
7264 # Check for GNU $ac_path_EGREP
7265 case `"$ac_path_EGREP" --version 2>&1` in
7267 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
7270 $as_echo_n 0123456789 >"conftest.in"
7273 cat "conftest.in" "conftest.in" >"conftest.tmp"
7274 mv "conftest.tmp" "conftest.in"
7275 cp "conftest.in" "conftest.nl"
7276 $as_echo 'EGREP' >> "conftest.nl"
7277 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
7278 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
7279 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
7280 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
7281 # Best one so far, save it but keep looking for a better one
7282 ac_cv_path_EGREP
="$ac_path_EGREP"
7283 ac_path_EGREP_max
=$ac_count
7285 # 10*(2^10) chars as input seems more than enough
7286 test $ac_count -gt 10 && break
7288 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
7291 $ac_path_EGREP_found && break 3
7296 if test -z "$ac_cv_path_EGREP"; then
7297 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7300 ac_cv_path_EGREP
=$EGREP
7305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
7306 $as_echo "$ac_cv_path_EGREP" >&6; }
7307 EGREP
="$ac_cv_path_EGREP"
7310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
7311 $as_echo_n "checking for fgrep... " >&6; }
7312 if ${ac_cv_path_FGREP+:} false
; then :
7313 $as_echo_n "(cached) " >&6
7315 if echo 'ab*c' | $GREP -F 'ab*c' >/dev
/null
2>&1
7316 then ac_cv_path_FGREP
="$GREP -F"
7318 if test -z "$FGREP"; then
7319 ac_path_FGREP_found
=false
7320 # Loop through the user's path and test for each of PROGNAME-LIST
7321 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7322 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
7325 test -z "$as_dir" && as_dir
=.
7326 for ac_prog
in fgrep
; do
7327 for ac_exec_ext
in '' $ac_executable_extensions; do
7328 ac_path_FGREP
="$as_dir/$ac_prog$ac_exec_ext"
7329 as_fn_executable_p
"$ac_path_FGREP" || continue
7330 # Check for GNU ac_path_FGREP and select it if it is found.
7331 # Check for GNU $ac_path_FGREP
7332 case `"$ac_path_FGREP" --version 2>&1` in
7334 ac_cv_path_FGREP
="$ac_path_FGREP" ac_path_FGREP_found
=:;;
7337 $as_echo_n 0123456789 >"conftest.in"
7340 cat "conftest.in" "conftest.in" >"conftest.tmp"
7341 mv "conftest.tmp" "conftest.in"
7342 cp "conftest.in" "conftest.nl"
7343 $as_echo 'FGREP' >> "conftest.nl"
7344 "$ac_path_FGREP" FGREP
< "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
7345 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
7346 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
7347 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
7348 # Best one so far, save it but keep looking for a better one
7349 ac_cv_path_FGREP
="$ac_path_FGREP"
7350 ac_path_FGREP_max
=$ac_count
7352 # 10*(2^10) chars as input seems more than enough
7353 test $ac_count -gt 10 && break
7355 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
7358 $ac_path_FGREP_found && break 3
7363 if test -z "$ac_cv_path_FGREP"; then
7364 as_fn_error $?
"no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7367 ac_cv_path_FGREP
=$FGREP
7372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
7373 $as_echo "$ac_cv_path_FGREP" >&6; }
7374 FGREP
="$ac_cv_path_FGREP"
7377 test -z "$GREP" && GREP
=grep
7397 # Check whether --with-gnu-ld was given.
7398 if test "${with_gnu_ld+set}" = set; then :
7399 withval
=$with_gnu_ld; test no
= "$withval" || with_gnu_ld
=yes
7405 if test yes = "$GCC"; then
7406 # Check if gcc -print-prog-name=ld gives a path.
7407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
7408 $as_echo_n "checking for ld used by $CC... " >&6; }
7411 # gcc leaves a trailing carriage return, which upsets mingw
7412 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
7414 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
7417 # Accept absolute paths.
7419 re_direlt
='/[^/][^/]*/\.\./'
7420 # Canonicalize the pathname of ld
7421 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
7422 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev
/null
2>&1; do
7423 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
7425 test -z "$LD" && LD
=$ac_prog
7428 # If it fails, then pretend we aren't using GCC.
7432 # If it is relative, then search for the first ld in PATH.
7436 elif test yes = "$with_gnu_ld"; then
7437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
7438 $as_echo_n "checking for GNU ld... " >&6; }
7440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
7441 $as_echo_n "checking for non-GNU ld... " >&6; }
7443 if ${lt_cv_path_LD+:} false
; then :
7444 $as_echo_n "(cached) " >&6
7446 if test -z "$LD"; then
7447 lt_save_ifs
=$IFS; IFS
=$PATH_SEPARATOR
7448 for ac_dir
in $PATH; do
7450 test -z "$ac_dir" && ac_dir
=.
7451 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
7452 lt_cv_path_LD
=$ac_dir/$ac_prog
7453 # Check to see if the program is GNU ld. I'd rather use --version,
7454 # but apparently some variants of GNU ld only accept -v.
7455 # Break only if it was the GNU/non-GNU ld that we prefer.
7456 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
7457 *GNU
* | *'with BFD'*)
7458 test no
!= "$with_gnu_ld" && break
7461 test yes != "$with_gnu_ld" && break
7468 lt_cv_path_LD
=$LD # Let the user override the test with a path.
7473 if test -n "$LD"; then
7474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
7475 $as_echo "$LD" >&6; }
7477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7478 $as_echo "no" >&6; }
7480 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
7481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
7482 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
7483 if ${lt_cv_prog_gnu_ld+:} false
; then :
7484 $as_echo_n "(cached) " >&6
7486 # I'd rather use --version here, but apparently some GNU lds only accept -v.
7487 case `$LD -v 2>&1 </dev/null` in
7488 *GNU
* | *'with BFD'*)
7489 lt_cv_prog_gnu_ld
=yes
7492 lt_cv_prog_gnu_ld
=no
7496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
7497 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
7498 with_gnu_ld
=$lt_cv_prog_gnu_ld
7508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
7509 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
7510 if ${lt_cv_path_NM+:} false
; then :
7511 $as_echo_n "(cached) " >&6
7513 if test -n "$NM"; then
7514 # Let the user override the test.
7517 lt_nm_to_check
=${ac_tool_prefix}nm
7518 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
7519 lt_nm_to_check
="$lt_nm_to_check nm"
7521 for lt_tmp_nm
in $lt_nm_to_check; do
7522 lt_save_ifs
=$IFS; IFS
=$PATH_SEPARATOR
7523 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
7525 test -z "$ac_dir" && ac_dir
=.
7526 tmp_nm
=$ac_dir/$lt_tmp_nm
7527 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
7528 # Check to see if the nm accepts a BSD-compat flag.
7529 # Adding the 'sed 1q' prevents false positives on HP-UX, which says:
7530 # nm: unknown option "B" ignored
7531 # Tru64's nm complains that /dev/null is an invalid object file
7532 # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
7534 mingw
*) lt_bad_file
=conftest.nm
/nofile
;;
7535 *) lt_bad_file
=/dev
/null
;;
7537 case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
7538 *$lt_bad_file* | *'Invalid file or object type'*)
7539 lt_cv_path_NM
="$tmp_nm -B"
7543 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
7545 lt_cv_path_NM
="$tmp_nm -p"
7549 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
7550 continue # so that we can try to find one that supports BSD flags
7559 : ${lt_cv_path_NM=no}
7562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
7563 $as_echo "$lt_cv_path_NM" >&6; }
7564 if test no
!= "$lt_cv_path_NM"; then
7567 # Didn't find any BSD compatible name lister, look for dumpbin.
7568 if test -n "$DUMPBIN"; then :
7569 # Let the user override the test.
7571 if test -n "$ac_tool_prefix"; then
7572 for ac_prog
in dumpbin
"link -dump"
7574 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7575 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
7576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7577 $as_echo_n "checking for $ac_word... " >&6; }
7578 if ${ac_cv_prog_DUMPBIN+:} false
; then :
7579 $as_echo_n "(cached) " >&6
7581 if test -n "$DUMPBIN"; then
7582 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
7584 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7588 test -z "$as_dir" && as_dir
=.
7589 for ac_exec_ext
in '' $ac_executable_extensions; do
7590 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7591 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
7592 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7601 DUMPBIN
=$ac_cv_prog_DUMPBIN
7602 if test -n "$DUMPBIN"; then
7603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
7604 $as_echo "$DUMPBIN" >&6; }
7606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7607 $as_echo "no" >&6; }
7611 test -n "$DUMPBIN" && break
7614 if test -z "$DUMPBIN"; then
7615 ac_ct_DUMPBIN
=$DUMPBIN
7616 for ac_prog
in dumpbin
"link -dump"
7618 # Extract the first word of "$ac_prog", so it can be a program name with args.
7619 set dummy
$ac_prog; ac_word
=$2
7620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7621 $as_echo_n "checking for $ac_word... " >&6; }
7622 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false
; then :
7623 $as_echo_n "(cached) " >&6
7625 if test -n "$ac_ct_DUMPBIN"; then
7626 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
7628 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7632 test -z "$as_dir" && as_dir
=.
7633 for ac_exec_ext
in '' $ac_executable_extensions; do
7634 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7635 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
7636 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7645 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
7646 if test -n "$ac_ct_DUMPBIN"; then
7647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
7648 $as_echo "$ac_ct_DUMPBIN" >&6; }
7650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7651 $as_echo "no" >&6; }
7655 test -n "$ac_ct_DUMPBIN" && break
7658 if test "x$ac_ct_DUMPBIN" = x
; then
7661 case $cross_compiling:$ac_tool_warned in
7663 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7664 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7665 ac_tool_warned
=yes ;;
7667 DUMPBIN
=$ac_ct_DUMPBIN
7671 case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
7673 DUMPBIN
="$DUMPBIN -symbols -headers"
7681 if test : != "$DUMPBIN"; then
7685 test -z "$NM" && NM
=nm
7692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
7693 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
7694 if ${lt_cv_nm_interface+:} false
; then :
7695 $as_echo_n "(cached) " >&6
7697 lt_cv_nm_interface
="BSD nm"
7698 echo "int some_variable = 0;" > conftest.
$ac_ext
7699 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
7700 (eval "$ac_compile" 2>conftest.err
)
7701 cat conftest.err
>&5
7702 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
7703 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
7704 cat conftest.err
>&5
7705 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
7706 cat conftest.out
>&5
7707 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
7708 lt_cv_nm_interface
="MS dumpbin"
7712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
7713 $as_echo "$lt_cv_nm_interface" >&6; }
7715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
7716 $as_echo_n "checking whether ln -s works... " >&6; }
7718 if test "$LN_S" = "ln -s"; then
7719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7720 $as_echo "yes" >&6; }
7722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
7723 $as_echo "no, using $LN_S" >&6; }
7726 # find the maximum length of command line arguments
7727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
7728 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
7729 if ${lt_cv_sys_max_cmd_len+:} false
; then :
7730 $as_echo_n "(cached) " >&6
7737 # On DJGPP, this test can blow up pretty badly due to problems in libc
7738 # (any single argument exceeding 2000 bytes causes a buffer overrun
7739 # during glob expansion). Even if it were fixed, the result of this
7740 # check would be larger than it should be.
7741 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
7745 # Under GNU Hurd, this test is not required because there is
7746 # no limit to the length of command line arguments.
7747 # Libtool will interpret -1 as no limit whatsoever
7748 lt_cv_sys_max_cmd_len
=-1;
7751 cygwin
* | mingw
* | cegcc
*)
7752 # On Win9x/ME, this test blows up -- it succeeds, but takes
7753 # about 5 minutes as the teststring grows exponentially.
7754 # Worse, since 9x/ME are not pre-emptively multitasking,
7755 # you end up with a "frozen" computer, even though with patience
7756 # the test eventually succeeds (with a max line length of 256k).
7757 # Instead, let's just punt: use the minimum linelength reported by
7758 # all of the supported platforms: 8192 (on NT/2K/XP).
7759 lt_cv_sys_max_cmd_len
=8192;
7763 # On MiNT this can take a long time and run out of memory.
7764 lt_cv_sys_max_cmd_len
=8192;
7768 # On AmigaOS with pdksh, this test takes hours, literally.
7769 # So we just punt and use a minimum line length of 8192.
7770 lt_cv_sys_max_cmd_len
=8192;
7773 bitrig
* | darwin
* | dragonfly
* | freebsd
* | netbsd
* | openbsd
*)
7774 # This has been around since 386BSD, at least. Likely further.
7775 if test -x /sbin
/sysctl
; then
7776 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
7777 elif test -x /usr
/sbin
/sysctl
; then
7778 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
7780 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
7782 # And add a safety zone
7783 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
7784 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
7788 # We know the value 262144 and hardcode it with a safety zone (like BSD)
7789 lt_cv_sys_max_cmd_len
=196608
7793 # The test takes a long time on OS/2.
7794 lt_cv_sys_max_cmd_len
=8192
7798 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
7799 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
7800 # nice to cause kernel panics so lets avoid the loop below.
7801 # First set a reasonable default.
7802 lt_cv_sys_max_cmd_len
=16384
7804 if test -x /sbin
/sysconfig
; then
7805 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
7806 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
7811 lt_cv_sys_max_cmd_len
=102400
7813 sysv5
* | sco5v6
* | sysv4.2uw2
*)
7814 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
7815 if test -n "$kargmax"; then
7816 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
7818 lt_cv_sys_max_cmd_len
=32768
7822 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
7823 if test -n "$lt_cv_sys_max_cmd_len" && \
7824 test undefined
!= "$lt_cv_sys_max_cmd_len"; then
7825 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
7826 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
7828 # Make teststring a little bigger before we do anything with it.
7829 # a 1K string should be a reasonable start.
7830 for i
in 1 2 3 4 5 6 7 8; do
7831 teststring
=$teststring$teststring
7833 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
7834 # If test is not a shell built-in, we'll probably end up computing a
7835 # maximum length that is only half of the actual maximum length, but
7837 while { test X
`env echo "$teststring$teststring" 2>/dev/null` \
7838 = "X$teststring$teststring"; } >/dev
/null
2>&1 &&
7839 test 17 != "$i" # 1/2 MB should be enough
7842 teststring
=$teststring$teststring
7844 # Only check the string length outside the loop.
7845 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
7847 # Add a significant safety factor because C++ compilers can tack on
7848 # massive amounts of additional arguments before passing them to the
7849 # linker. It appears as though 1/2 is a usable value.
7850 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
7857 if test -n "$lt_cv_sys_max_cmd_len"; then
7858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
7859 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
7861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
7862 $as_echo "none" >&6; }
7864 max_cmd_len
=$lt_cv_sys_max_cmd_len
7875 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
7885 # test EBCDIC or ASCII
7886 case `echo X|tr X '\101'` in
7887 A
) # ASCII based system
7888 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
7889 lt_SP2NL
='tr \040 \012'
7890 lt_NL2SP
='tr \015\012 \040\040'
7892 *) # EBCDIC based system
7893 lt_SP2NL
='tr \100 \n'
7894 lt_NL2SP
='tr \r\n \100\100'
7906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
7907 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
7908 if ${lt_cv_to_host_file_cmd+:} false
; then :
7909 $as_echo_n "(cached) " >&6
7914 *-*-mingw* ) # actually msys
7915 lt_cv_to_host_file_cmd
=func_convert_file_msys_to_w32
7918 lt_cv_to_host_file_cmd
=func_convert_file_cygwin_to_w32
7920 * ) # otherwise, assume *nix
7921 lt_cv_to_host_file_cmd
=func_convert_file_nix_to_w32
7927 *-*-mingw* ) # actually msys
7928 lt_cv_to_host_file_cmd
=func_convert_file_msys_to_cygwin
7931 lt_cv_to_host_file_cmd
=func_convert_file_noop
7933 * ) # otherwise, assume *nix
7934 lt_cv_to_host_file_cmd
=func_convert_file_nix_to_cygwin
7938 * ) # unhandled hosts (and "normal" native builds)
7939 lt_cv_to_host_file_cmd
=func_convert_file_noop
7945 to_host_file_cmd
=$lt_cv_to_host_file_cmd
7946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
7947 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
7953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
7954 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
7955 if ${lt_cv_to_tool_file_cmd+:} false
; then :
7956 $as_echo_n "(cached) " >&6
7958 #assume ordinary cross tools, or native build.
7959 lt_cv_to_tool_file_cmd
=func_convert_file_noop
7963 *-*-mingw* ) # actually msys
7964 lt_cv_to_tool_file_cmd
=func_convert_file_msys_to_w32
7972 to_tool_file_cmd
=$lt_cv_to_tool_file_cmd
7973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
7974 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
7980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
7981 $as_echo_n "checking for $LD option to reload object files... " >&6; }
7982 if ${lt_cv_ld_reload_flag+:} false
; then :
7983 $as_echo_n "(cached) " >&6
7985 lt_cv_ld_reload_flag
='-r'
7987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
7988 $as_echo "$lt_cv_ld_reload_flag" >&6; }
7989 reload_flag
=$lt_cv_ld_reload_flag
7990 case $reload_flag in
7992 *) reload_flag
=" $reload_flag" ;;
7994 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
7996 cygwin
* | mingw
* | pw32
* | cegcc
*)
7997 if test yes != "$GCC"; then
8002 if test yes = "$GCC"; then
8003 reload_cmds
='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
8005 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
8018 if test -n "$ac_tool_prefix"; then
8019 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
8020 set dummy
${ac_tool_prefix}objdump
; ac_word
=$2
8021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8022 $as_echo_n "checking for $ac_word... " >&6; }
8023 if ${ac_cv_prog_OBJDUMP+:} false
; then :
8024 $as_echo_n "(cached) " >&6
8026 if test -n "$OBJDUMP"; then
8027 ac_cv_prog_OBJDUMP
="$OBJDUMP" # Let the user override the test.
8029 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8033 test -z "$as_dir" && as_dir
=.
8034 for ac_exec_ext
in '' $ac_executable_extensions; do
8035 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8036 ac_cv_prog_OBJDUMP
="${ac_tool_prefix}objdump"
8037 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8046 OBJDUMP
=$ac_cv_prog_OBJDUMP
8047 if test -n "$OBJDUMP"; then
8048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
8049 $as_echo "$OBJDUMP" >&6; }
8051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8052 $as_echo "no" >&6; }
8057 if test -z "$ac_cv_prog_OBJDUMP"; then
8058 ac_ct_OBJDUMP
=$OBJDUMP
8059 # Extract the first word of "objdump", so it can be a program name with args.
8060 set dummy objdump
; ac_word
=$2
8061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8062 $as_echo_n "checking for $ac_word... " >&6; }
8063 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false
; then :
8064 $as_echo_n "(cached) " >&6
8066 if test -n "$ac_ct_OBJDUMP"; then
8067 ac_cv_prog_ac_ct_OBJDUMP
="$ac_ct_OBJDUMP" # Let the user override the test.
8069 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8073 test -z "$as_dir" && as_dir
=.
8074 for ac_exec_ext
in '' $ac_executable_extensions; do
8075 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8076 ac_cv_prog_ac_ct_OBJDUMP
="objdump"
8077 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8086 ac_ct_OBJDUMP
=$ac_cv_prog_ac_ct_OBJDUMP
8087 if test -n "$ac_ct_OBJDUMP"; then
8088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
8089 $as_echo "$ac_ct_OBJDUMP" >&6; }
8091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8092 $as_echo "no" >&6; }
8095 if test "x$ac_ct_OBJDUMP" = x
; then
8098 case $cross_compiling:$ac_tool_warned in
8100 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8101 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8102 ac_tool_warned
=yes ;;
8104 OBJDUMP
=$ac_ct_OBJDUMP
8107 OBJDUMP
="$ac_cv_prog_OBJDUMP"
8110 test -z "$OBJDUMP" && OBJDUMP
=objdump
8120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
8121 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
8122 if ${lt_cv_deplibs_check_method+:} false
; then :
8123 $as_echo_n "(cached) " >&6
8125 lt_cv_file_magic_cmd
='$MAGIC_CMD'
8126 lt_cv_file_magic_test_file
=
8127 lt_cv_deplibs_check_method
='unknown'
8128 # Need to set the preceding variable on all platforms that support
8129 # interlibrary dependencies.
8130 # 'none' -- dependencies not supported.
8131 # 'unknown' -- same as none, but documents that we really don't know.
8132 # 'pass_all' -- all dependencies passed with no checks.
8133 # 'test_compile' -- check by making test program.
8134 # 'file_magic [[regex]]' -- check by looking for files in library path
8135 # that responds to the $file_magic_cmd with a given extended regex.
8136 # If you have 'file' or equivalent on your system and you're not sure
8137 # whether 'pass_all' will *always* work, you probably want this one.
8141 lt_cv_deplibs_check_method
=pass_all
8145 lt_cv_deplibs_check_method
=pass_all
8149 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
8150 lt_cv_file_magic_cmd
='/usr/bin/file -L'
8151 lt_cv_file_magic_test_file
=/shlib
/libc.so
8155 # func_win32_libid is a shell function defined in ltmain.sh
8156 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
8157 lt_cv_file_magic_cmd
='func_win32_libid'
8161 # Base MSYS/MinGW do not provide the 'file' command needed by
8162 # func_win32_libid shell function, so use a weaker test based on 'objdump',
8163 # unless we find 'file', for example because we are cross-compiling.
8164 if ( file / ) >/dev
/null
2>&1; then
8165 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
8166 lt_cv_file_magic_cmd
='func_win32_libid'
8168 # Keep this pattern in sync with the one in func_win32_libid.
8169 lt_cv_deplibs_check_method
='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
8170 lt_cv_file_magic_cmd
='$OBJDUMP -f'
8175 # use the weaker test based on 'objdump'. See mingw*.
8176 lt_cv_deplibs_check_method
='file_magic file format pe-arm-.*little(.*architecture: arm)?'
8177 lt_cv_file_magic_cmd
='$OBJDUMP -f'
8180 darwin
* | rhapsody
*)
8181 lt_cv_deplibs_check_method
=pass_all
8184 freebsd
* | dragonfly
*)
8185 if echo __ELF__
| $CC -E - | $GREP __ELF__
> /dev
/null
; then
8188 # Not sure whether the presence of OpenBSD here was a mistake.
8189 # Let's accept both of them until this is cleared up.
8190 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
8191 lt_cv_file_magic_cmd
=/usr
/bin
/file
8192 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
8196 lt_cv_deplibs_check_method
=pass_all
8201 lt_cv_deplibs_check_method
=pass_all
8204 hpux10.20
* | hpux11
*)
8205 lt_cv_file_magic_cmd
=/usr
/bin
/file
8208 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
8209 lt_cv_file_magic_test_file
=/usr
/lib
/hpux
32/libc.so
8212 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]'
8213 lt_cv_file_magic_test_file
=/usr
/lib
/pa
20_
64/libc.sl
8216 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
8217 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
8223 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
8224 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|\.a)$'
8227 irix5
* | irix6
* | nonstopux
*)
8229 *-32|*"-32 ") libmagic
=32-bit;;
8230 *-n32|*"-n32 ") libmagic
=N32
;;
8231 *-64|*"-64 ") libmagic
=64-bit;;
8232 *) libmagic
=never
-match;;
8234 lt_cv_deplibs_check_method
=pass_all
8237 # This must be glibc/ELF.
8238 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
8239 lt_cv_deplibs_check_method
=pass_all
8243 if echo __ELF__
| $CC -E - | $GREP __ELF__
> /dev
/null
; then
8244 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
8246 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|_pic\.a)$'
8251 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
8252 lt_cv_file_magic_cmd
=/usr
/bin
/file
8253 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
8257 lt_cv_deplibs_check_method
=pass_all
8261 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
8262 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
8264 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
8268 osf3
* | osf4
* | osf5
*)
8269 lt_cv_deplibs_check_method
=pass_all
8273 lt_cv_deplibs_check_method
=pass_all
8277 lt_cv_deplibs_check_method
=pass_all
8280 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
8281 lt_cv_deplibs_check_method
=pass_all
8285 case $host_vendor in
8287 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]'
8288 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
8291 lt_cv_deplibs_check_method
=pass_all
8294 lt_cv_file_magic_cmd
='/bin/file'
8295 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
8298 lt_cv_file_magic_cmd
='/bin/file'
8299 lt_cv_deplibs_check_method
="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
8300 lt_cv_file_magic_test_file
=/lib
/libc.so
8303 lt_cv_deplibs_check_method
=pass_all
8306 lt_cv_deplibs_check_method
=pass_all
8312 lt_cv_deplibs_check_method
=pass_all
8315 lt_cv_deplibs_check_method
=pass_all
8320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
8321 $as_echo "$lt_cv_deplibs_check_method" >&6; }
8325 if test "$build" = "$host"; then
8328 if ( shopt | grep nocaseglob
) >/dev
/null
2>&1; then
8331 file_magic_glob
=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
8337 file_magic_cmd
=$lt_cv_file_magic_cmd
8338 deplibs_check_method
=$lt_cv_deplibs_check_method
8339 test -z "$deplibs_check_method" && deplibs_check_method
=unknown
8362 if test -n "$ac_tool_prefix"; then
8363 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8364 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
8365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8366 $as_echo_n "checking for $ac_word... " >&6; }
8367 if ${ac_cv_prog_DLLTOOL+:} false
; then :
8368 $as_echo_n "(cached) " >&6
8370 if test -n "$DLLTOOL"; then
8371 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
8373 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8377 test -z "$as_dir" && as_dir
=.
8378 for ac_exec_ext
in '' $ac_executable_extensions; do
8379 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8380 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
8381 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8390 DLLTOOL
=$ac_cv_prog_DLLTOOL
8391 if test -n "$DLLTOOL"; then
8392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8393 $as_echo "$DLLTOOL" >&6; }
8395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8396 $as_echo "no" >&6; }
8401 if test -z "$ac_cv_prog_DLLTOOL"; then
8402 ac_ct_DLLTOOL
=$DLLTOOL
8403 # Extract the first word of "dlltool", so it can be a program name with args.
8404 set dummy dlltool
; ac_word
=$2
8405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8406 $as_echo_n "checking for $ac_word... " >&6; }
8407 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false
; then :
8408 $as_echo_n "(cached) " >&6
8410 if test -n "$ac_ct_DLLTOOL"; then
8411 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
8413 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8417 test -z "$as_dir" && as_dir
=.
8418 for ac_exec_ext
in '' $ac_executable_extensions; do
8419 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8420 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
8421 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8430 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
8431 if test -n "$ac_ct_DLLTOOL"; then
8432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8433 $as_echo "$ac_ct_DLLTOOL" >&6; }
8435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8436 $as_echo "no" >&6; }
8439 if test "x$ac_ct_DLLTOOL" = x
; then
8442 case $cross_compiling:$ac_tool_warned in
8444 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8445 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8446 ac_tool_warned
=yes ;;
8448 DLLTOOL
=$ac_ct_DLLTOOL
8451 DLLTOOL
="$ac_cv_prog_DLLTOOL"
8454 test -z "$DLLTOOL" && DLLTOOL
=dlltool
8465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
8466 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
8467 if ${lt_cv_sharedlib_from_linklib_cmd+:} false
; then :
8468 $as_echo_n "(cached) " >&6
8470 lt_cv_sharedlib_from_linklib_cmd
='unknown'
8473 cygwin
* | mingw
* | pw32
* | cegcc
*)
8474 # two different shell functions defined in ltmain.sh;
8475 # decide which one to use based on capabilities of $DLLTOOL
8476 case `$DLLTOOL --help 2>&1` in
8477 *--identify-strict*)
8478 lt_cv_sharedlib_from_linklib_cmd
=func_cygming_dll_for_implib
8481 lt_cv_sharedlib_from_linklib_cmd
=func_cygming_dll_for_implib_fallback
8486 # fallback: assume linklib IS sharedlib
8487 lt_cv_sharedlib_from_linklib_cmd
=$ECHO
8492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
8493 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
8494 sharedlib_from_linklib_cmd
=$lt_cv_sharedlib_from_linklib_cmd
8495 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd
=$ECHO
8503 if test -n "$ac_tool_prefix"; then
8506 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
8507 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
8508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8509 $as_echo_n "checking for $ac_word... " >&6; }
8510 if ${ac_cv_prog_AR+:} false
; then :
8511 $as_echo_n "(cached) " >&6
8513 if test -n "$AR"; then
8514 ac_cv_prog_AR
="$AR" # Let the user override the test.
8516 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8520 test -z "$as_dir" && as_dir
=.
8521 for ac_exec_ext
in '' $ac_executable_extensions; do
8522 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8523 ac_cv_prog_AR
="$ac_tool_prefix$ac_prog"
8524 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8534 if test -n "$AR"; then
8535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
8536 $as_echo "$AR" >&6; }
8538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8539 $as_echo "no" >&6; }
8543 test -n "$AR" && break
8546 if test -z "$AR"; then
8550 # Extract the first word of "$ac_prog", so it can be a program name with args.
8551 set dummy
$ac_prog; ac_word
=$2
8552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8553 $as_echo_n "checking for $ac_word... " >&6; }
8554 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
8555 $as_echo_n "(cached) " >&6
8557 if test -n "$ac_ct_AR"; then
8558 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
8560 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8564 test -z "$as_dir" && as_dir
=.
8565 for ac_exec_ext
in '' $ac_executable_extensions; do
8566 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8567 ac_cv_prog_ac_ct_AR
="$ac_prog"
8568 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8577 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
8578 if test -n "$ac_ct_AR"; then
8579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
8580 $as_echo "$ac_ct_AR" >&6; }
8582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8583 $as_echo "no" >&6; }
8587 test -n "$ac_ct_AR" && break
8590 if test "x$ac_ct_AR" = x
; then
8593 case $cross_compiling:$ac_tool_warned in
8595 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8596 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8597 ac_tool_warned
=yes ;;
8616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
8617 $as_echo_n "checking for archiver @FILE support... " >&6; }
8618 if ${lt_cv_ar_at_file+:} false
; then :
8619 $as_echo_n "(cached) " >&6
8622 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8623 /* end confdefs.h. */
8633 if ac_fn_c_try_compile
"$LINENO"; then :
8634 echo conftest.
$ac_objext > conftest.lst
8635 lt_ar_try
='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
8636 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
8637 (eval $lt_ar_try) 2>&5
8639 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8640 test $ac_status = 0; }
8641 if test 0 -eq "$ac_status"; then
8642 # Ensure the archiver fails upon bogus file names.
8643 rm -f conftest.
$ac_objext libconftest.a
8644 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
8645 (eval $lt_ar_try) 2>&5
8647 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8648 test $ac_status = 0; }
8649 if test 0 -ne "$ac_status"; then
8653 rm -f conftest.
* libconftest.a
8656 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
8660 $as_echo "$lt_cv_ar_at_file" >&6; }
8662 if test no
= "$lt_cv_ar_at_file"; then
8665 archiver_list_spec
=$lt_cv_ar_at_file
8674 if test -n "$ac_tool_prefix"; then
8675 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
8676 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
8677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8678 $as_echo_n "checking for $ac_word... " >&6; }
8679 if ${ac_cv_prog_STRIP+:} false
; then :
8680 $as_echo_n "(cached) " >&6
8682 if test -n "$STRIP"; then
8683 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
8685 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8689 test -z "$as_dir" && as_dir
=.
8690 for ac_exec_ext
in '' $ac_executable_extensions; do
8691 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8692 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
8693 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8702 STRIP
=$ac_cv_prog_STRIP
8703 if test -n "$STRIP"; then
8704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
8705 $as_echo "$STRIP" >&6; }
8707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8708 $as_echo "no" >&6; }
8713 if test -z "$ac_cv_prog_STRIP"; then
8715 # Extract the first word of "strip", so it can be a program name with args.
8716 set dummy strip
; ac_word
=$2
8717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8718 $as_echo_n "checking for $ac_word... " >&6; }
8719 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
8720 $as_echo_n "(cached) " >&6
8722 if test -n "$ac_ct_STRIP"; then
8723 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
8725 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8729 test -z "$as_dir" && as_dir
=.
8730 for ac_exec_ext
in '' $ac_executable_extensions; do
8731 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8732 ac_cv_prog_ac_ct_STRIP
="strip"
8733 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8742 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
8743 if test -n "$ac_ct_STRIP"; then
8744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
8745 $as_echo "$ac_ct_STRIP" >&6; }
8747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8748 $as_echo "no" >&6; }
8751 if test "x$ac_ct_STRIP" = x
; then
8754 case $cross_compiling:$ac_tool_warned in
8756 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8757 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8758 ac_tool_warned
=yes ;;
8763 STRIP
="$ac_cv_prog_STRIP"
8766 test -z "$STRIP" && STRIP
=:
8773 if test -n "$ac_tool_prefix"; then
8774 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
8775 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
8776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8777 $as_echo_n "checking for $ac_word... " >&6; }
8778 if ${ac_cv_prog_RANLIB+:} false
; then :
8779 $as_echo_n "(cached) " >&6
8781 if test -n "$RANLIB"; then
8782 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
8784 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8788 test -z "$as_dir" && as_dir
=.
8789 for ac_exec_ext
in '' $ac_executable_extensions; do
8790 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8791 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
8792 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8801 RANLIB
=$ac_cv_prog_RANLIB
8802 if test -n "$RANLIB"; then
8803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
8804 $as_echo "$RANLIB" >&6; }
8806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8807 $as_echo "no" >&6; }
8812 if test -z "$ac_cv_prog_RANLIB"; then
8813 ac_ct_RANLIB
=$RANLIB
8814 # Extract the first word of "ranlib", so it can be a program name with args.
8815 set dummy ranlib
; ac_word
=$2
8816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8817 $as_echo_n "checking for $ac_word... " >&6; }
8818 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
8819 $as_echo_n "(cached) " >&6
8821 if test -n "$ac_ct_RANLIB"; then
8822 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
8824 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8828 test -z "$as_dir" && as_dir
=.
8829 for ac_exec_ext
in '' $ac_executable_extensions; do
8830 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8831 ac_cv_prog_ac_ct_RANLIB
="ranlib"
8832 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8841 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
8842 if test -n "$ac_ct_RANLIB"; then
8843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
8844 $as_echo "$ac_ct_RANLIB" >&6; }
8846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8847 $as_echo "no" >&6; }
8850 if test "x$ac_ct_RANLIB" = x
; then
8853 case $cross_compiling:$ac_tool_warned in
8855 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8856 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8857 ac_tool_warned
=yes ;;
8859 RANLIB
=$ac_ct_RANLIB
8862 RANLIB
="$ac_cv_prog_RANLIB"
8865 test -z "$RANLIB" && RANLIB
=:
8872 # Determine commands to create old-style static archives.
8873 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs'
8874 old_postinstall_cmds
='chmod 644 $oldlib'
8875 old_postuninstall_cmds
=
8877 if test -n "$RANLIB"; then
8880 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
8883 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
8886 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$tool_oldlib"
8891 lock_old_archive_extraction
=yes ;;
8893 lock_old_archive_extraction
=no
;;
8934 # If no C compiler was specified, use CC.
8937 # If no C compiler flags were specified, use CFLAGS.
8938 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
8940 # Allow CC to be a program name with arguments.
8944 # Check for command to grab the raw symbol name followed by C symbol from nm.
8945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
8946 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
8947 if ${lt_cv_sys_global_symbol_pipe+:} false
; then :
8948 $as_echo_n "(cached) " >&6
8951 # These are sane defaults that work on at least a few old systems.
8952 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
8954 # Character class describing NM global symbol codes.
8955 symcode
='[BCDEGRST]'
8957 # Regexp to match symbols that can be accessed directly from C.
8958 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
8960 # Define system-specific variables.
8965 cygwin
* | mingw
* | pw32
* | cegcc
*)
8966 symcode
='[ABCDGISTW]'
8969 if test ia64
= "$host_cpu"; then
8970 symcode
='[ABCDEGRST]'
8974 symcode
='[BCDEGRST]'
8977 symcode
='[BCDEGQRST]'
8988 sysv5
* | sco5v6
* | unixware
* | OpenUNIX
*)
8996 # If we're using GNU nm, then use its standard symbol codes.
8997 case `$NM -V 2>&1` in
8998 *GNU
* | *'with BFD'*)
8999 symcode
='[ABCDGIRSTW]' ;;
9002 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
9003 # Gets list of data symbols to import.
9004 lt_cv_sys_global_symbol_to_import
="sed -n -e 's/^I .* \(.*\)$/\1/p'"
9005 # Adjust the below global symbol transforms to fixup imported variables.
9006 lt_cdecl_hook
=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
9007 lt_c_name_hook
=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'"
9008 lt_c_name_lib_hook
="\
9009 -e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\
9010 -e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'"
9012 # Disable hooks by default.
9013 lt_cv_sys_global_symbol_to_import
=
9019 # Transform an extracted symbol line into a proper C declaration.
9020 # Some systems (esp. on ia64) link data and code symbols differently,
9021 # so use this general approach.
9022 lt_cv_sys_global_symbol_to_cdecl
="sed -n"\
9024 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
9025 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
9027 # Transform an extracted symbol line into symbol name and symbol address
9028 lt_cv_sys_global_symbol_to_c_name_address
="sed -n"\
9030 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
9031 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'"
9033 # Transform an extracted symbol line into symbol name with lib prefix and
9035 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
="sed -n"\
9036 $lt_c_name_lib_hook\
9037 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
9038 " -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\
9039 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'"
9041 # Handle CRLF in mingw tool chain
9045 opt_cr
=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
9049 # Try without a prefix underscore, then with it.
9050 for ac_symprfx
in "" "_"; do
9052 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
9053 symxfrm
="\\1 $ac_symprfx\\2 \\2"
9055 # Write the raw and C identifiers.
9056 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
9057 # Fake it for dumpbin and say T for any non-static function,
9058 # D for any global variable and I for any imported variable.
9059 # Also find C++ and __fastcall symbols from MSVC++,
9060 # which start with @ or ?.
9061 lt_cv_sys_global_symbol_pipe
="$AWK '"\
9062 " {last_section=section; section=\$ 3};"\
9063 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
9064 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
9065 " /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
9066 " /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
9067 " /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
9068 " \$ 0!~/External *\|/{next};"\
9069 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
9070 " {if(hide[section]) next};"\
9071 " {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
9072 " {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
9073 " s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
9074 " s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
9075 " ' prfx=^$ac_symprfx"
9077 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
9079 lt_cv_sys_global_symbol_pipe
="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
9081 # Check to see that the pipe works correctly.
9085 cat > conftest.
$ac_ext <<_LT_EOF
9090 void nm_test_func(void);
9091 void nm_test_func(void){}
9095 int main(){nm_test_var='a';nm_test_func();return(0);}
9098 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9099 (eval $ac_compile) 2>&5
9101 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9102 test $ac_status = 0; }; then
9103 # Now try to grab the symbols.
9105 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
9106 (eval $NM conftest.
$ac_objext \
| "$lt_cv_sys_global_symbol_pipe" \
> $nlist) 2>&5
9108 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9109 test $ac_status = 0; } && test -s "$nlist"; then
9110 # Try sorting and uniquifying the output.
9111 if sort "$nlist" | uniq > "$nlist"T
; then
9112 mv -f "$nlist"T
"$nlist"
9117 # Make sure that we snagged all the symbols we need.
9118 if $GREP ' nm_test_var$' "$nlist" >/dev
/null
; then
9119 if $GREP ' nm_test_func$' "$nlist" >/dev
/null
; then
9120 cat <<_LT_EOF > conftest.$ac_ext
9121 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
9122 #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
9123 /* DATA imports from DLLs on WIN32 can't be const, because runtime
9124 relocations are performed -- see ld's documentation on pseudo-relocs. */
9125 # define LT_DLSYM_CONST
9126 #elif defined __osf__
9127 /* This system does not cope well with relocations in const data. */
9128 # define LT_DLSYM_CONST
9130 # define LT_DLSYM_CONST const
9138 # Now generate the symbol file.
9139 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
9141 cat <<_LT_EOF >> conftest.$ac_ext
9143 /* The mapping between symbol names and symbols. */
9144 LT_DLSYM_CONST struct {
9148 lt__PROGRAM__LTX_preloaded_symbols[] =
9150 { "@PROGRAM@", (void *) 0 },
9152 $SED "s/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main
>> conftest.
$ac_ext
9153 cat <<\_LT_EOF
>> conftest.
$ac_ext
9157 /* This works around a problem
in FreeBSD linker
*/
9158 #ifdef FREEBSD_WORKAROUND
9159 static const void
*lt_preloaded_setup
() {
9160 return lt__PROGRAM__LTX_preloaded_symbols
;
9168 # Now try linking the two files.
9169 mv conftest.
$ac_objext conftstm.
$ac_objext
9170 lt_globsym_save_LIBS
=$LIBS
9171 lt_globsym_save_CFLAGS
=$CFLAGS
9172 LIBS
=conftstm.
$ac_objext
9173 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
9174 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
9175 (eval $ac_link) 2>&5
9177 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9178 test $ac_status = 0; } && test -s conftest
$ac_exeext; then
9181 LIBS
=$lt_globsym_save_LIBS
9182 CFLAGS
=$lt_globsym_save_CFLAGS
9184 echo "cannot find nm_test_func in $nlist" >&5
9187 echo "cannot find nm_test_var in $nlist" >&5
9190 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
9193 echo "$progname: failed program was:" >&5
9194 cat conftest.
$ac_ext >&5
9196 rm -rf conftest
* conftst
*
9198 # Do not use the global_symbol_pipe unless it works.
9199 if test yes = "$pipe_works"; then
9202 lt_cv_sys_global_symbol_pipe
=
9208 if test -z "$lt_cv_sys_global_symbol_pipe"; then
9209 lt_cv_sys_global_symbol_to_cdecl
=
9211 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
9212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
9213 $as_echo "failed" >&6; }
9215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
9216 $as_echo "ok" >&6; }
9219 # Response file support.
9220 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
9221 nm_file_list_spec
='@'
9222 elif $NM --help 2>/dev
/null
| grep '[@]FILE' >/dev
/null
; then
9223 nm_file_list_spec
='@'
9262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
9263 $as_echo_n "checking for sysroot... " >&6; }
9265 # Check whether --with-sysroot was given.
9266 if test "${with_sysroot+set}" = set; then :
9267 withval
=$with_sysroot;
9274 case $with_sysroot in #(
9276 if test yes = "$GCC"; then
9277 lt_sysroot
=`$CC --print-sysroot 2>/dev/null`
9281 lt_sysroot
=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
9286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
9287 $as_echo "$with_sysroot" >&6; }
9288 as_fn_error $?
"The sysroot must be an absolute path." "$LINENO" 5
9292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
9293 $as_echo "${lt_sysroot:-no}" >&6; }
9299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
9300 $as_echo_n "checking for a working dd... " >&6; }
9301 if ${ac_cv_path_lt_DD+:} false
; then :
9302 $as_echo_n "(cached) " >&6
9304 printf 0123456789abcdef0123456789abcdef
>conftest.i
9305 cat conftest.i conftest.i
>conftest2.i
9307 if test -z "$lt_DD"; then
9308 ac_path_lt_DD_found
=false
9309 # Loop through the user's path and test for each of PROGNAME-LIST
9310 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9314 test -z "$as_dir" && as_dir
=.
9315 for ac_prog
in dd; do
9316 for ac_exec_ext
in '' $ac_executable_extensions; do
9317 ac_path_lt_DD
="$as_dir/$ac_prog$ac_exec_ext"
9318 as_fn_executable_p
"$ac_path_lt_DD" || continue
9319 if "$ac_path_lt_DD" bs
=32 count
=1 <conftest2.i
>conftest.out
2>/dev
/null
; then
9320 cmp -s conftest.i conftest.out \
9321 && ac_cv_path_lt_DD
="$ac_path_lt_DD" ac_path_lt_DD_found
=:
9323 $ac_path_lt_DD_found && break 3
9328 if test -z "$ac_cv_path_lt_DD"; then
9332 ac_cv_path_lt_DD
=$lt_DD
9335 rm -f conftest.i conftest2.i conftest.out
9337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
9338 $as_echo "$ac_cv_path_lt_DD" >&6; }
9341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
9342 $as_echo_n "checking how to truncate binary pipes... " >&6; }
9343 if ${lt_cv_truncate_bin+:} false
; then :
9344 $as_echo_n "(cached) " >&6
9346 printf 0123456789abcdef0123456789abcdef
>conftest.i
9347 cat conftest.i conftest.i
>conftest2.i
9349 if "$ac_cv_path_lt_DD" bs
=32 count
=1 <conftest2.i
>conftest.out
2>/dev
/null
; then
9350 cmp -s conftest.i conftest.out \
9351 && lt_cv_truncate_bin
="$ac_cv_path_lt_DD bs=4096 count=1"
9353 rm -f conftest.i conftest2.i conftest.out
9354 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin
="$SED -e 4q"
9356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
9357 $as_echo "$lt_cv_truncate_bin" >&6; }
9365 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
9368 for cc_temp
in $
*""; do
9370 compile
| *[\\/]compile
| ccache
| *[\\/]ccache
) ;;
9371 distcc
| *[\\/]distcc
| purify
| *[\\/]purify
) ;;
9376 func_cc_basename_result
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
9379 # Check whether --enable-libtool-lock was given.
9380 if test "${enable_libtool_lock+set}" = set; then :
9381 enableval
=$enable_libtool_lock;
9384 test no
= "$enable_libtool_lock" || enable_libtool_lock
=yes
9386 # Some flags need to be propagated to the compiler or linker for good
9390 # Find out what ABI is being produced by ac_compile, and set mode
9391 # options accordingly.
9392 echo 'int i;' > conftest.
$ac_ext
9393 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9394 (eval $ac_compile) 2>&5
9396 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9397 test $ac_status = 0; }; then
9398 case `/usr/bin/file conftest.$ac_objext` in
9410 # Find out what ABI is being produced by ac_compile, and set linker
9411 # options accordingly.
9412 echo '#line '$LINENO' "configure"' > conftest.
$ac_ext
9413 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9414 (eval $ac_compile) 2>&5
9416 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9417 test $ac_status = 0; }; then
9418 if test yes = "$lt_cv_prog_gnu_ld"; then
9419 case `/usr/bin/file conftest.$ac_objext` in
9421 LD
="${LD-ld} -melf32bsmip"
9424 LD
="${LD-ld} -melf32bmipn32"
9427 LD
="${LD-ld} -melf64bmip"
9431 case `/usr/bin/file conftest.$ac_objext` in
9448 # Find out what ABI is being produced by ac_compile, and set linker
9449 # options accordingly.
9450 echo '#line '$LINENO' "configure"' > conftest.
$ac_ext
9451 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9452 (eval $ac_compile) 2>&5
9454 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9455 test $ac_status = 0; }; then
9457 case `/usr/bin/file conftest.$ac_objext` in
9465 case `/usr/bin/file conftest.$ac_objext` in
9467 emul
="${emul}btsmip"
9470 emul
="${emul}ltsmip"
9473 case `/usr/bin/file conftest.$ac_objext` in
9478 LD
="${LD-ld} -m $emul"
9483 x86_64
-*kfreebsd
*-gnu|x86_64
-*linux
*|powerpc
*-*linux
*| \
9484 s390
*-*linux
*|s390
*-*tpf
*|sparc
*-*linux
*)
9485 # Find out what ABI is being produced by ac_compile, and set linker
9486 # options accordingly. Note that the listed cases only cover the
9487 # situations where additional linker options are needed (such as when
9488 # doing 32-bit compilation for a host where ld defaults to 64-bit, or
9489 # vice versa); the common cases where no linker options are needed do
9490 # not appear in the list.
9491 echo 'int i;' > conftest.
$ac_ext
9492 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9493 (eval $ac_compile) 2>&5
9495 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9496 test $ac_status = 0; }; then
9497 case `/usr/bin/file conftest.o` in
9500 x86_64
-*kfreebsd
*-gnu)
9501 LD
="${LD-ld} -m elf_i386_fbsd"
9504 case `/usr/bin/file conftest.o` in
9506 LD
="${LD-ld} -m elf32_x86_64"
9509 LD
="${LD-ld} -m elf_i386"
9513 powerpc64le
-*linux
*)
9514 LD
="${LD-ld} -m elf32lppclinux"
9517 LD
="${LD-ld} -m elf32ppclinux"
9520 LD
="${LD-ld} -m elf_s390"
9523 LD
="${LD-ld} -m elf32_sparc"
9529 x86_64
-*kfreebsd
*-gnu)
9530 LD
="${LD-ld} -m elf_x86_64_fbsd"
9533 LD
="${LD-ld} -m elf_x86_64"
9536 LD
="${LD-ld} -m elf64lppc"
9539 LD
="${LD-ld} -m elf64ppc"
9541 s390
*-*linux
*|s390
*-*tpf
*)
9542 LD
="${LD-ld} -m elf64_s390"
9545 LD
="${LD-ld} -m elf64_sparc"
9555 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
9557 CFLAGS
="$CFLAGS -belf"
9558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
9559 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
9560 if ${lt_cv_cc_needs_belf+:} false
; then :
9561 $as_echo_n "(cached) " >&6
9564 ac_cpp
='$CPP $CPPFLAGS'
9565 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9566 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9567 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
9569 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9570 /* end confdefs.h. */
9580 if ac_fn_c_try_link
"$LINENO"; then :
9581 lt_cv_cc_needs_belf
=yes
9583 lt_cv_cc_needs_belf
=no
9585 rm -f core conftest.err conftest.
$ac_objext \
9586 conftest
$ac_exeext conftest.
$ac_ext
9588 ac_cpp
='$CPP $CPPFLAGS'
9589 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9590 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9591 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
9594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
9595 $as_echo "$lt_cv_cc_needs_belf" >&6; }
9596 if test yes != "$lt_cv_cc_needs_belf"; then
9597 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
9602 # Find out what ABI is being produced by ac_compile, and set linker
9603 # options accordingly.
9604 echo 'int i;' > conftest.
$ac_ext
9605 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9606 (eval $ac_compile) 2>&5
9608 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9609 test $ac_status = 0; }; then
9610 case `/usr/bin/file conftest.o` in
9612 case $lt_cv_prog_gnu_ld in
9615 i?
86-*-solaris*|x86_64
-*-solaris*)
9616 LD
="${LD-ld} -m elf_x86_64"
9619 LD
="${LD-ld} -m elf64_sparc"
9622 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
9623 if ${LD-ld} -V | grep _sol2
>/dev
/null
2>&1; then
9628 if ${LD-ld} -64 -r -o conftest2.o conftest.o
>/dev
/null
2>&1; then
9640 need_locks
=$enable_libtool_lock
9642 if test -n "$ac_tool_prefix"; then
9643 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
9644 set dummy
${ac_tool_prefix}mt
; ac_word
=$2
9645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9646 $as_echo_n "checking for $ac_word... " >&6; }
9647 if ${ac_cv_prog_MANIFEST_TOOL+:} false
; then :
9648 $as_echo_n "(cached) " >&6
9650 if test -n "$MANIFEST_TOOL"; then
9651 ac_cv_prog_MANIFEST_TOOL
="$MANIFEST_TOOL" # Let the user override the test.
9653 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9657 test -z "$as_dir" && as_dir
=.
9658 for ac_exec_ext
in '' $ac_executable_extensions; do
9659 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9660 ac_cv_prog_MANIFEST_TOOL
="${ac_tool_prefix}mt"
9661 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9670 MANIFEST_TOOL
=$ac_cv_prog_MANIFEST_TOOL
9671 if test -n "$MANIFEST_TOOL"; then
9672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
9673 $as_echo "$MANIFEST_TOOL" >&6; }
9675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9676 $as_echo "no" >&6; }
9681 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
9682 ac_ct_MANIFEST_TOOL
=$MANIFEST_TOOL
9683 # Extract the first word of "mt", so it can be a program name with args.
9684 set dummy mt
; ac_word
=$2
9685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9686 $as_echo_n "checking for $ac_word... " >&6; }
9687 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false
; then :
9688 $as_echo_n "(cached) " >&6
9690 if test -n "$ac_ct_MANIFEST_TOOL"; then
9691 ac_cv_prog_ac_ct_MANIFEST_TOOL
="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
9693 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9697 test -z "$as_dir" && as_dir
=.
9698 for ac_exec_ext
in '' $ac_executable_extensions; do
9699 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9700 ac_cv_prog_ac_ct_MANIFEST_TOOL
="mt"
9701 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9710 ac_ct_MANIFEST_TOOL
=$ac_cv_prog_ac_ct_MANIFEST_TOOL
9711 if test -n "$ac_ct_MANIFEST_TOOL"; then
9712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
9713 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
9715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9716 $as_echo "no" >&6; }
9719 if test "x$ac_ct_MANIFEST_TOOL" = x
; then
9722 case $cross_compiling:$ac_tool_warned in
9724 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9725 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9726 ac_tool_warned
=yes ;;
9728 MANIFEST_TOOL
=$ac_ct_MANIFEST_TOOL
9731 MANIFEST_TOOL
="$ac_cv_prog_MANIFEST_TOOL"
9734 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL
=mt
9735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
9736 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
9737 if ${lt_cv_path_mainfest_tool+:} false
; then :
9738 $as_echo_n "(cached) " >&6
9740 lt_cv_path_mainfest_tool
=no
9741 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
9742 $MANIFEST_TOOL '-?' 2>conftest.err
> conftest.out
9743 cat conftest.err
>&5
9744 if $GREP 'Manifest Tool' conftest.out
> /dev
/null
; then
9745 lt_cv_path_mainfest_tool
=yes
9749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
9750 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
9751 if test yes != "$lt_cv_path_mainfest_tool"; then
9761 rhapsody
* | darwin
*)
9762 if test -n "$ac_tool_prefix"; then
9763 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
9764 set dummy
${ac_tool_prefix}dsymutil
; ac_word
=$2
9765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9766 $as_echo_n "checking for $ac_word... " >&6; }
9767 if ${ac_cv_prog_DSYMUTIL+:} false
; then :
9768 $as_echo_n "(cached) " >&6
9770 if test -n "$DSYMUTIL"; then
9771 ac_cv_prog_DSYMUTIL
="$DSYMUTIL" # Let the user override the test.
9773 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9777 test -z "$as_dir" && as_dir
=.
9778 for ac_exec_ext
in '' $ac_executable_extensions; do
9779 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9780 ac_cv_prog_DSYMUTIL
="${ac_tool_prefix}dsymutil"
9781 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9790 DSYMUTIL
=$ac_cv_prog_DSYMUTIL
9791 if test -n "$DSYMUTIL"; then
9792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
9793 $as_echo "$DSYMUTIL" >&6; }
9795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9796 $as_echo "no" >&6; }
9801 if test -z "$ac_cv_prog_DSYMUTIL"; then
9802 ac_ct_DSYMUTIL
=$DSYMUTIL
9803 # Extract the first word of "dsymutil", so it can be a program name with args.
9804 set dummy dsymutil
; ac_word
=$2
9805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9806 $as_echo_n "checking for $ac_word... " >&6; }
9807 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false
; then :
9808 $as_echo_n "(cached) " >&6
9810 if test -n "$ac_ct_DSYMUTIL"; then
9811 ac_cv_prog_ac_ct_DSYMUTIL
="$ac_ct_DSYMUTIL" # Let the user override the test.
9813 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9817 test -z "$as_dir" && as_dir
=.
9818 for ac_exec_ext
in '' $ac_executable_extensions; do
9819 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9820 ac_cv_prog_ac_ct_DSYMUTIL
="dsymutil"
9821 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9830 ac_ct_DSYMUTIL
=$ac_cv_prog_ac_ct_DSYMUTIL
9831 if test -n "$ac_ct_DSYMUTIL"; then
9832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
9833 $as_echo "$ac_ct_DSYMUTIL" >&6; }
9835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9836 $as_echo "no" >&6; }
9839 if test "x$ac_ct_DSYMUTIL" = x
; then
9842 case $cross_compiling:$ac_tool_warned in
9844 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9845 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9846 ac_tool_warned
=yes ;;
9848 DSYMUTIL
=$ac_ct_DSYMUTIL
9851 DSYMUTIL
="$ac_cv_prog_DSYMUTIL"
9854 if test -n "$ac_tool_prefix"; then
9855 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
9856 set dummy
${ac_tool_prefix}nmedit
; ac_word
=$2
9857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9858 $as_echo_n "checking for $ac_word... " >&6; }
9859 if ${ac_cv_prog_NMEDIT+:} false
; then :
9860 $as_echo_n "(cached) " >&6
9862 if test -n "$NMEDIT"; then
9863 ac_cv_prog_NMEDIT
="$NMEDIT" # Let the user override the test.
9865 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9869 test -z "$as_dir" && as_dir
=.
9870 for ac_exec_ext
in '' $ac_executable_extensions; do
9871 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9872 ac_cv_prog_NMEDIT
="${ac_tool_prefix}nmedit"
9873 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9882 NMEDIT
=$ac_cv_prog_NMEDIT
9883 if test -n "$NMEDIT"; then
9884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
9885 $as_echo "$NMEDIT" >&6; }
9887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9888 $as_echo "no" >&6; }
9893 if test -z "$ac_cv_prog_NMEDIT"; then
9894 ac_ct_NMEDIT
=$NMEDIT
9895 # Extract the first word of "nmedit", so it can be a program name with args.
9896 set dummy nmedit
; ac_word
=$2
9897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9898 $as_echo_n "checking for $ac_word... " >&6; }
9899 if ${ac_cv_prog_ac_ct_NMEDIT+:} false
; then :
9900 $as_echo_n "(cached) " >&6
9902 if test -n "$ac_ct_NMEDIT"; then
9903 ac_cv_prog_ac_ct_NMEDIT
="$ac_ct_NMEDIT" # Let the user override the test.
9905 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9909 test -z "$as_dir" && as_dir
=.
9910 for ac_exec_ext
in '' $ac_executable_extensions; do
9911 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9912 ac_cv_prog_ac_ct_NMEDIT
="nmedit"
9913 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9922 ac_ct_NMEDIT
=$ac_cv_prog_ac_ct_NMEDIT
9923 if test -n "$ac_ct_NMEDIT"; then
9924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
9925 $as_echo "$ac_ct_NMEDIT" >&6; }
9927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9928 $as_echo "no" >&6; }
9931 if test "x$ac_ct_NMEDIT" = x
; then
9934 case $cross_compiling:$ac_tool_warned in
9936 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9937 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9938 ac_tool_warned
=yes ;;
9940 NMEDIT
=$ac_ct_NMEDIT
9943 NMEDIT
="$ac_cv_prog_NMEDIT"
9946 if test -n "$ac_tool_prefix"; then
9947 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
9948 set dummy
${ac_tool_prefix}lipo
; ac_word
=$2
9949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9950 $as_echo_n "checking for $ac_word... " >&6; }
9951 if ${ac_cv_prog_LIPO+:} false
; then :
9952 $as_echo_n "(cached) " >&6
9954 if test -n "$LIPO"; then
9955 ac_cv_prog_LIPO
="$LIPO" # Let the user override the test.
9957 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9961 test -z "$as_dir" && as_dir
=.
9962 for ac_exec_ext
in '' $ac_executable_extensions; do
9963 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9964 ac_cv_prog_LIPO
="${ac_tool_prefix}lipo"
9965 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9974 LIPO
=$ac_cv_prog_LIPO
9975 if test -n "$LIPO"; then
9976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
9977 $as_echo "$LIPO" >&6; }
9979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9980 $as_echo "no" >&6; }
9985 if test -z "$ac_cv_prog_LIPO"; then
9987 # Extract the first word of "lipo", so it can be a program name with args.
9988 set dummy lipo
; ac_word
=$2
9989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9990 $as_echo_n "checking for $ac_word... " >&6; }
9991 if ${ac_cv_prog_ac_ct_LIPO+:} false
; then :
9992 $as_echo_n "(cached) " >&6
9994 if test -n "$ac_ct_LIPO"; then
9995 ac_cv_prog_ac_ct_LIPO
="$ac_ct_LIPO" # Let the user override the test.
9997 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10001 test -z "$as_dir" && as_dir
=.
10002 for ac_exec_ext
in '' $ac_executable_extensions; do
10003 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10004 ac_cv_prog_ac_ct_LIPO
="lipo"
10005 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10014 ac_ct_LIPO
=$ac_cv_prog_ac_ct_LIPO
10015 if test -n "$ac_ct_LIPO"; then
10016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
10017 $as_echo "$ac_ct_LIPO" >&6; }
10019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10020 $as_echo "no" >&6; }
10023 if test "x$ac_ct_LIPO" = x
; then
10026 case $cross_compiling:$ac_tool_warned in
10028 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10029 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10030 ac_tool_warned
=yes ;;
10035 LIPO
="$ac_cv_prog_LIPO"
10038 if test -n "$ac_tool_prefix"; then
10039 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
10040 set dummy
${ac_tool_prefix}otool
; ac_word
=$2
10041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10042 $as_echo_n "checking for $ac_word... " >&6; }
10043 if ${ac_cv_prog_OTOOL+:} false
; then :
10044 $as_echo_n "(cached) " >&6
10046 if test -n "$OTOOL"; then
10047 ac_cv_prog_OTOOL
="$OTOOL" # Let the user override the test.
10049 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10050 for as_dir
in $PATH
10053 test -z "$as_dir" && as_dir
=.
10054 for ac_exec_ext
in '' $ac_executable_extensions; do
10055 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10056 ac_cv_prog_OTOOL
="${ac_tool_prefix}otool"
10057 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10066 OTOOL
=$ac_cv_prog_OTOOL
10067 if test -n "$OTOOL"; then
10068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
10069 $as_echo "$OTOOL" >&6; }
10071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10072 $as_echo "no" >&6; }
10077 if test -z "$ac_cv_prog_OTOOL"; then
10079 # Extract the first word of "otool", so it can be a program name with args.
10080 set dummy otool
; ac_word
=$2
10081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10082 $as_echo_n "checking for $ac_word... " >&6; }
10083 if ${ac_cv_prog_ac_ct_OTOOL+:} false
; then :
10084 $as_echo_n "(cached) " >&6
10086 if test -n "$ac_ct_OTOOL"; then
10087 ac_cv_prog_ac_ct_OTOOL
="$ac_ct_OTOOL" # Let the user override the test.
10089 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10090 for as_dir
in $PATH
10093 test -z "$as_dir" && as_dir
=.
10094 for ac_exec_ext
in '' $ac_executable_extensions; do
10095 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10096 ac_cv_prog_ac_ct_OTOOL
="otool"
10097 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10106 ac_ct_OTOOL
=$ac_cv_prog_ac_ct_OTOOL
10107 if test -n "$ac_ct_OTOOL"; then
10108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
10109 $as_echo "$ac_ct_OTOOL" >&6; }
10111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10112 $as_echo "no" >&6; }
10115 if test "x$ac_ct_OTOOL" = x
; then
10118 case $cross_compiling:$ac_tool_warned in
10120 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10121 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10122 ac_tool_warned
=yes ;;
10127 OTOOL
="$ac_cv_prog_OTOOL"
10130 if test -n "$ac_tool_prefix"; then
10131 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
10132 set dummy
${ac_tool_prefix}otool64
; ac_word
=$2
10133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10134 $as_echo_n "checking for $ac_word... " >&6; }
10135 if ${ac_cv_prog_OTOOL64+:} false
; then :
10136 $as_echo_n "(cached) " >&6
10138 if test -n "$OTOOL64"; then
10139 ac_cv_prog_OTOOL64
="$OTOOL64" # Let the user override the test.
10141 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10142 for as_dir
in $PATH
10145 test -z "$as_dir" && as_dir
=.
10146 for ac_exec_ext
in '' $ac_executable_extensions; do
10147 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10148 ac_cv_prog_OTOOL64
="${ac_tool_prefix}otool64"
10149 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10158 OTOOL64
=$ac_cv_prog_OTOOL64
10159 if test -n "$OTOOL64"; then
10160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
10161 $as_echo "$OTOOL64" >&6; }
10163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10164 $as_echo "no" >&6; }
10169 if test -z "$ac_cv_prog_OTOOL64"; then
10170 ac_ct_OTOOL64
=$OTOOL64
10171 # Extract the first word of "otool64", so it can be a program name with args.
10172 set dummy otool64
; ac_word
=$2
10173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10174 $as_echo_n "checking for $ac_word... " >&6; }
10175 if ${ac_cv_prog_ac_ct_OTOOL64+:} false
; then :
10176 $as_echo_n "(cached) " >&6
10178 if test -n "$ac_ct_OTOOL64"; then
10179 ac_cv_prog_ac_ct_OTOOL64
="$ac_ct_OTOOL64" # Let the user override the test.
10181 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10182 for as_dir
in $PATH
10185 test -z "$as_dir" && as_dir
=.
10186 for ac_exec_ext
in '' $ac_executable_extensions; do
10187 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10188 ac_cv_prog_ac_ct_OTOOL64
="otool64"
10189 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10198 ac_ct_OTOOL64
=$ac_cv_prog_ac_ct_OTOOL64
10199 if test -n "$ac_ct_OTOOL64"; then
10200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
10201 $as_echo "$ac_ct_OTOOL64" >&6; }
10203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10204 $as_echo "no" >&6; }
10207 if test "x$ac_ct_OTOOL64" = x
; then
10210 case $cross_compiling:$ac_tool_warned in
10212 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10213 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10214 ac_tool_warned
=yes ;;
10216 OTOOL64
=$ac_ct_OTOOL64
10219 OTOOL64
="$ac_cv_prog_OTOOL64"
10248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
10249 $as_echo_n "checking for -single_module linker flag... " >&6; }
10250 if ${lt_cv_apple_cc_single_mod+:} false
; then :
10251 $as_echo_n "(cached) " >&6
10253 lt_cv_apple_cc_single_mod
=no
10254 if test -z "$LT_MULTI_MODULE"; then
10255 # By default we will add the -single_module flag. You can override
10256 # by either setting the environment variable LT_MULTI_MODULE
10257 # non-empty at configure time, or by adding -multi_module to the
10259 rm -rf libconftest.dylib
*
10260 echo "int foo(void){return 1;}" > conftest.c
10261 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
10262 -dynamiclib -Wl,-single_module conftest.c" >&5
10263 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
10264 -dynamiclib -Wl,-single_module conftest.c
2>conftest.err
10266 # If there is a non-empty error log, and "single_module"
10267 # appears in it, assume the flag caused a linker warning
10268 if test -s conftest.err
&& $GREP single_module conftest.err
; then
10269 cat conftest.err
>&5
10270 # Otherwise, if the output was created with a 0 exit code from
10271 # the compiler, it worked.
10272 elif test -f libconftest.dylib
&& test 0 = "$_lt_result"; then
10273 lt_cv_apple_cc_single_mod
=yes
10275 cat conftest.err
>&5
10277 rm -rf libconftest.dylib
*
10281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
10282 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
10284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
10285 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
10286 if ${lt_cv_ld_exported_symbols_list+:} false
; then :
10287 $as_echo_n "(cached) " >&6
10289 lt_cv_ld_exported_symbols_list
=no
10290 save_LDFLAGS
=$LDFLAGS
10291 echo "_main" > conftest.sym
10292 LDFLAGS
="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
10293 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10294 /* end confdefs.h. */
10304 if ac_fn_c_try_link
"$LINENO"; then :
10305 lt_cv_ld_exported_symbols_list
=yes
10307 lt_cv_ld_exported_symbols_list
=no
10309 rm -f core conftest.err conftest.
$ac_objext \
10310 conftest
$ac_exeext conftest.
$ac_ext
10311 LDFLAGS
=$save_LDFLAGS
10314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
10315 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
10317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
10318 $as_echo_n "checking for -force_load linker flag... " >&6; }
10319 if ${lt_cv_ld_force_load+:} false
; then :
10320 $as_echo_n "(cached) " >&6
10322 lt_cv_ld_force_load
=no
10323 cat > conftest.c
<< _LT_EOF
10324 int forced_loaded() { return 2;}
10326 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
10327 $LTCC $LTCFLAGS -c -o conftest.o conftest.c
2>&5
10328 echo "$AR cru libconftest.a conftest.o" >&5
10329 $AR cru libconftest.a conftest.o
2>&5
10330 echo "$RANLIB libconftest.a" >&5
10331 $RANLIB libconftest.a
2>&5
10332 cat > conftest.c
<< _LT_EOF
10333 int main() { return 0;}
10335 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
10336 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
2>conftest.err
10338 if test -s conftest.err
&& $GREP force_load conftest.err
; then
10339 cat conftest.err
>&5
10340 elif test -f conftest
&& test 0 = "$_lt_result" && $GREP forced_load conftest
>/dev
/null
2>&1; then
10341 lt_cv_ld_force_load
=yes
10343 cat conftest.err
>&5
10345 rm -f conftest.err libconftest.a conftest conftest.c
10346 rm -rf conftest.dSYM
10349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
10350 $as_echo "$lt_cv_ld_force_load" >&6; }
10352 rhapsody
* | darwin1.
[012])
10353 _lt_dar_allow_undefined
='$wl-undefined ${wl}suppress' ;;
10355 _lt_dar_allow_undefined
='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
10356 darwin
*) # darwin 5.x on
10357 # if running on 10.5 or later, the deployment target defaults
10358 # to the OS version, if on x86, and 10.4, the deployment
10359 # target defaults to 10.4. Don't you love it?
10360 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
10361 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
10362 _lt_dar_allow_undefined
='$wl-undefined ${wl}dynamic_lookup' ;;
10364 _lt_dar_allow_undefined
='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
10366 _lt_dar_allow_undefined
='$wl-undefined ${wl}dynamic_lookup' ;;
10370 if test yes = "$lt_cv_apple_cc_single_mod"; then
10371 _lt_dar_single_mod
='$single_module'
10373 if test yes = "$lt_cv_ld_exported_symbols_list"; then
10374 _lt_dar_export_syms
=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
10376 _lt_dar_export_syms
='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
10378 if test : != "$DSYMUTIL" && test no
= "$lt_cv_ld_force_load"; then
10379 _lt_dsymutil
='~$DSYMUTIL $lib || :'
10386 # func_munge_path_list VARIABLE PATH
10387 # -----------------------------------
10388 # VARIABLE is name of variable containing _space_ separated list of
10389 # directories to be munged by the contents of PATH, which is string
10392 # string "DIR[ DIR]" will be prepended to VARIABLE
10394 # string "DIR[ DIR]" will be appended to VARIABLE
10395 # "DIRP[:DIRP]::[DIRA:]DIRA"
10396 # string "DIRP[ DIRP]" will be prepended to VARIABLE and string
10397 # "DIRA[ DIRA]" will be appended to VARIABLE
10399 # VARIABLE will be replaced by "DIR[ DIR]"
10400 func_munge_path_list
()
10406 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$
$1\"
10409 eval $1=\"\$
$1 `$ECHO $2 | $SED 's/:/ /g'`\"
10412 eval $1=\"\$
$1\
`$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
10413 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$
$1\"
10416 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
10422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
10423 $as_echo_n "checking for ANSI C header files... " >&6; }
10424 if ${ac_cv_header_stdc+:} false
; then :
10425 $as_echo_n "(cached) " >&6
10427 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10428 /* end confdefs.h. */
10429 #include <stdlib.h>
10430 #include <stdarg.h>
10431 #include <string.h>
10442 if ac_fn_c_try_compile
"$LINENO"; then :
10443 ac_cv_header_stdc
=yes
10445 ac_cv_header_stdc
=no
10447 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10449 if test $ac_cv_header_stdc = yes; then
10450 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
10451 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10452 /* end confdefs.h. */
10453 #include <string.h>
10456 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10457 $EGREP "memchr" >/dev
/null
2>&1; then :
10460 ac_cv_header_stdc
=no
10466 if test $ac_cv_header_stdc = yes; then
10467 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
10468 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10469 /* end confdefs.h. */
10470 #include <stdlib.h>
10473 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10474 $EGREP "free" >/dev
/null
2>&1; then :
10477 ac_cv_header_stdc
=no
10483 if test $ac_cv_header_stdc = yes; then
10484 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
10485 if test "$cross_compiling" = yes; then :
10488 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10489 /* end confdefs.h. */
10491 #include <stdlib.h>
10492 #if ((' ' & 0x0FF) == 0x020)
10493 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
10494 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
10496 # define ISLOWER(c) \
10497 (('a' <= (c) && (c) <= 'i') \
10498 || ('j' <= (c) && (c) <= 'r') \
10499 || ('s' <= (c) && (c) <= 'z'))
10500 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
10503 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
10508 for (i = 0; i < 256; i++)
10509 if (XOR (islower (i), ISLOWER (i))
10510 || toupper (i) != TOUPPER (i))
10515 if ac_fn_c_try_run
"$LINENO"; then :
10518 ac_cv_header_stdc
=no
10520 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
10521 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
10526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
10527 $as_echo "$ac_cv_header_stdc" >&6; }
10528 if test $ac_cv_header_stdc = yes; then
10530 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
10534 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
10535 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
10536 inttypes.h stdint.h unistd.h
10538 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10539 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
10541 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
10542 cat >>confdefs.h
<<_ACEOF
10543 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10551 for ac_header
in dlfcn.h
10553 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
10555 if test "x$ac_cv_header_dlfcn_h" = xyes
; then :
10556 cat >>confdefs.h
<<_ACEOF
10557 #define HAVE_DLFCN_H 1
10567 func_stripname_cnf
()
10570 .
*) func_stripname_result
=`$ECHO "$3" | $SED "s%^$1%%; s%\\\\$2\$%%"`;;
10571 *) func_stripname_result
=`$ECHO "$3" | $SED "s%^$1%%; s%$2\$%%"`;;
10573 } # func_stripname_cnf
10580 # Check whether --enable-static was given.
10581 if test "${enable_static+set}" = set; then :
10582 enableval
=$enable_static; p
=${PACKAGE-default}
10584 yes) enable_static
=yes ;;
10585 no
) enable_static
=no
;;
10588 # Look at the argument we got. We use all the common list separators.
10589 lt_save_ifs
=$IFS; IFS
=$IFS$PATH_SEPARATOR,
10590 for pkg
in $enableval; do
10592 if test "X$pkg" = "X$p"; then
10615 enable_win32_dll
=no
10618 # Check whether --enable-shared was given.
10619 if test "${enable_shared+set}" = set; then :
10620 enableval
=$enable_shared; p
=${PACKAGE-default}
10622 yes) enable_shared
=yes ;;
10623 no
) enable_shared
=no
;;
10626 # Look at the argument we got. We use all the common list separators.
10627 lt_save_ifs
=$IFS; IFS
=$IFS$PATH_SEPARATOR,
10628 for pkg
in $enableval; do
10630 if test "X$pkg" = "X$p"; then
10651 # Check whether --with-pic was given.
10652 if test "${with_pic+set}" = set; then :
10653 withval
=$with_pic; lt_p
=${PACKAGE-default}
10655 yes|no
) pic_mode
=$withval ;;
10658 # Look at the argument we got. We use all the common list separators.
10659 lt_save_ifs
=$IFS; IFS
=$IFS$PATH_SEPARATOR,
10660 for lt_pkg
in $withval; do
10662 if test "X$lt_pkg" = "X$lt_p"; then
10680 # Check whether --enable-fast-install was given.
10681 if test "${enable_fast_install+set}" = set; then :
10682 enableval
=$enable_fast_install; p
=${PACKAGE-default}
10684 yes) enable_fast_install
=yes ;;
10685 no
) enable_fast_install
=no
;;
10687 enable_fast_install
=no
10688 # Look at the argument we got. We use all the common list separators.
10689 lt_save_ifs
=$IFS; IFS
=$IFS$PATH_SEPARATOR,
10690 for pkg
in $enableval; do
10692 if test "X$pkg" = "X$p"; then
10693 enable_fast_install
=yes
10700 enable_fast_install
=yes
10710 shared_archive_member_spec
=
10711 case $host,$enable_shared in
10712 power
*-*-aix[5-9]*,yes)
10713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
10714 $as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
10716 # Check whether --with-aix-soname was given.
10717 if test "${with_aix_soname+set}" = set; then :
10718 withval
=$with_aix_soname; case $withval in
10722 as_fn_error $?
"Unknown argument to --with-aix-soname" "$LINENO" 5
10725 lt_cv_with_aix_soname
=$with_aix_soname
10727 if ${lt_cv_with_aix_soname+:} false
; then :
10728 $as_echo_n "(cached) " >&6
10730 lt_cv_with_aix_soname
=aix
10733 with_aix_soname
=$lt_cv_with_aix_soname
10736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
10737 $as_echo "$with_aix_soname" >&6; }
10738 if test aix
!= "$with_aix_soname"; then
10739 # For the AIX way of multilib, we name the shared archive member
10740 # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
10741 # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
10742 # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
10743 # the AIX toolchain works better with OBJECT_MODE set (default 32).
10744 if test 64 = "${OBJECT_MODE-32}"; then
10745 shared_archive_member_spec
=shr_64
10747 shared_archive_member_spec
=shr
10752 with_aix_soname
=aix
10765 # This can be used to rebuild libtool when needed
10766 LIBTOOL_DEPS
=$ltmain
10768 # Always use our own libtool.
10769 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
10800 test -z "$LN_S" && LN_S
="ln -s"
10815 if test -n "${ZSH_VERSION+set}"; then
10816 setopt NO_GLOB_SUBST
10819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
10820 $as_echo_n "checking for objdir... " >&6; }
10821 if ${lt_cv_objdir+:} false
; then :
10822 $as_echo_n "(cached) " >&6
10824 rm -f .libs
2>/dev
/null
10825 mkdir .libs
2>/dev
/null
10826 if test -d .libs
; then
10829 # MS-DOS does not allow filenames that begin with a dot.
10832 rmdir .libs
2>/dev
/null
10834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
10835 $as_echo "$lt_cv_objdir" >&6; }
10836 objdir
=$lt_cv_objdir
10842 cat >>confdefs.h
<<_ACEOF
10843 #define LT_OBJDIR "$lt_cv_objdir/"
10851 # AIX sometimes has problems with the GCC collect2 program. For some
10852 # reason, if we set the COLLECT_NAMES environment variable, the problems
10853 # vanish in a puff of smoke.
10854 if test set != "${COLLECT_NAMES+set}"; then
10856 export COLLECT_NAMES
10861 # Global variables:
10863 can_build_shared
=yes
10865 # All known linkers require a '.a' archive for static linking (except MSVC,
10866 # which needs '.lib').
10869 with_gnu_ld
=$lt_cv_prog_gnu_ld
10874 # Set sane defaults for various variables
10875 test -z "$CC" && CC
=cc
10876 test -z "$LTCC" && LTCC
=$CC
10877 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
10878 test -z "$LD" && LD
=ld
10879 test -z "$ac_objext" && ac_objext
=o
10881 func_cc_basename
$compiler
10882 cc_basename
=$func_cc_basename_result
10885 # Only perform the check for file, if the check method requires it
10886 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
10887 case $deplibs_check_method in
10889 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
10890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
10891 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
10892 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
10893 $as_echo_n "(cached) " >&6
10897 lt_cv_path_MAGIC_CMD
=$MAGIC_CMD # Let the user override the test with a path.
10900 lt_save_MAGIC_CMD
=$MAGIC_CMD
10901 lt_save_ifs
=$IFS; IFS
=$PATH_SEPARATOR
10902 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
10903 for ac_dir
in $ac_dummy; do
10905 test -z "$ac_dir" && ac_dir
=.
10906 if test -f "$ac_dir/${ac_tool_prefix}file"; then
10907 lt_cv_path_MAGIC_CMD
=$ac_dir/"${ac_tool_prefix}file"
10908 if test -n "$file_magic_test_file"; then
10909 case $deplibs_check_method in
10911 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
10912 MAGIC_CMD
=$lt_cv_path_MAGIC_CMD
10913 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null
|
10914 $EGREP "$file_magic_regex" > /dev
/null
; then
10919 *** Warning: the command libtool uses to detect shared libraries,
10920 *** $file_magic_cmd, produces output that libtool cannot recognize.
10921 *** The result is that libtool may fail to recognize shared libraries
10922 *** as such. This will affect the creation of libtool libraries that
10923 *** depend on shared libraries, but programs linked with such libtool
10924 *** libraries will work regardless of this problem. Nevertheless, you
10925 *** may want to report the problem to your system manager and/or to
10926 *** bug-libtool@gnu.org
10936 MAGIC_CMD
=$lt_save_MAGIC_CMD
10941 MAGIC_CMD
=$lt_cv_path_MAGIC_CMD
10942 if test -n "$MAGIC_CMD"; then
10943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
10944 $as_echo "$MAGIC_CMD" >&6; }
10946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10947 $as_echo "no" >&6; }
10954 if test -z "$lt_cv_path_MAGIC_CMD"; then
10955 if test -n "$ac_tool_prefix"; then
10956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
10957 $as_echo_n "checking for file... " >&6; }
10958 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
10959 $as_echo_n "(cached) " >&6
10963 lt_cv_path_MAGIC_CMD
=$MAGIC_CMD # Let the user override the test with a path.
10966 lt_save_MAGIC_CMD
=$MAGIC_CMD
10967 lt_save_ifs
=$IFS; IFS
=$PATH_SEPARATOR
10968 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
10969 for ac_dir
in $ac_dummy; do
10971 test -z "$ac_dir" && ac_dir
=.
10972 if test -f "$ac_dir/file"; then
10973 lt_cv_path_MAGIC_CMD
=$ac_dir/"file"
10974 if test -n "$file_magic_test_file"; then
10975 case $deplibs_check_method in
10977 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
10978 MAGIC_CMD
=$lt_cv_path_MAGIC_CMD
10979 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null
|
10980 $EGREP "$file_magic_regex" > /dev
/null
; then
10985 *** Warning: the command libtool uses to detect shared libraries,
10986 *** $file_magic_cmd, produces output that libtool cannot recognize.
10987 *** The result is that libtool may fail to recognize shared libraries
10988 *** as such. This will affect the creation of libtool libraries that
10989 *** depend on shared libraries, but programs linked with such libtool
10990 *** libraries will work regardless of this problem. Nevertheless, you
10991 *** may want to report the problem to your system manager and/or to
10992 *** bug-libtool@gnu.org
11002 MAGIC_CMD
=$lt_save_MAGIC_CMD
11007 MAGIC_CMD
=$lt_cv_path_MAGIC_CMD
11008 if test -n "$MAGIC_CMD"; then
11009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
11010 $as_echo "$MAGIC_CMD" >&6; }
11012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11013 $as_echo "no" >&6; }
11026 # Use C for the default configuration in the libtool script
11030 ac_cpp
='$CPP $CPPFLAGS'
11031 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11032 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11033 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11036 # Source file extension for C test sources.
11039 # Object file extension for compiled C test sources.
11043 # Code to be used in simple compile tests
11044 lt_simple_compile_test_code
="int some_variable = 0;"
11046 # Code to be used in simple link tests
11047 lt_simple_link_test_code
='int main(){return(0);}'
11055 # If no C compiler was specified, use CC.
11058 # If no C compiler flags were specified, use CFLAGS.
11059 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
11061 # Allow CC to be a program name with arguments.
11064 # Save the default compiler, since it gets overwritten when the other
11065 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
11066 compiler_DEFAULT
=$CC
11068 # save warnings/boilerplate of simple test code
11069 ac_outfile
=conftest.
$ac_objext
11070 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
11071 eval "$ac_compile" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
11072 _lt_compiler_boilerplate
=`cat conftest.err`
11075 ac_outfile
=conftest.
$ac_objext
11076 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
11077 eval "$ac_link" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
11078 _lt_linker_boilerplate
=`cat conftest.err`
11083 ## There is no encapsulation within the following macros, do not change
11084 ## the running order or otherwise move them around unless you know exactly
11085 ## what you are doing...
11086 if test -n "$compiler"; then
11088 lt_prog_compiler_no_builtin_flag
=
11090 if test yes = "$GCC"; then
11091 case $cc_basename in
11093 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
11095 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
11098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
11099 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
11100 if ${lt_cv_prog_compiler_rtti_exceptions+:} false
; then :
11101 $as_echo_n "(cached) " >&6
11103 lt_cv_prog_compiler_rtti_exceptions
=no
11104 ac_outfile
=conftest.
$ac_objext
11105 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
11106 lt_compiler_flag
="-fno-rtti -fno-exceptions" ## exclude from sc_useless_quotes_in_assignment
11107 # Insert the option either (1) after the last *FLAGS variable, or
11108 # (2) before a word containing "conftest.", or (3) at the end.
11109 # Note that $ac_compile itself does not contain backslashes and begins
11110 # with a dollar sign (not a hyphen), so the echo should work correctly.
11111 # The option is referenced via a variable to avoid confusing sed.
11112 lt_compile
=`echo "$ac_compile" | $SED \
11113 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11114 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11115 -e 's:$: $lt_compiler_flag:'`
11116 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
11117 (eval "$lt_compile" 2>conftest.err
)
11119 cat conftest.err
>&5
11120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11121 if (exit $ac_status) && test -s "$ac_outfile"; then
11122 # The compiler can only warn and ignore the option if not recognized
11123 # So say no if there are warnings other than the usual output.
11124 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
11125 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
11126 if test ! -s conftest.er2
|| diff conftest.exp conftest.er2
>/dev
/null
; then
11127 lt_cv_prog_compiler_rtti_exceptions
=yes
11133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
11134 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
11136 if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
11137 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
11149 lt_prog_compiler_wl
=
11150 lt_prog_compiler_pic
=
11151 lt_prog_compiler_static
=
11154 if test yes = "$GCC"; then
11155 lt_prog_compiler_wl
='-Wl,'
11156 lt_prog_compiler_static
='-static'
11160 # All AIX code is PIC.
11161 if test ia64
= "$host_cpu"; then
11162 # AIX 5 now supports IA64 processor
11163 lt_prog_compiler_static
='-Bstatic'
11165 lt_prog_compiler_pic
='-fPIC'
11171 # see comment about AmigaOS4 .so support
11172 lt_prog_compiler_pic
='-fPIC'
11175 # FIXME: we need at least 68020 code to build shared libraries, but
11176 # adding the '-m68020' flag to GCC prevents building anything better,
11178 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
11183 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
11184 # PIC is the default for these OSes.
11187 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
11188 # This hack is so that the source file can tell whether it is being
11189 # built for inclusion in a dll (and should export symbols for example).
11190 # Although the cygwin gcc ignores -fPIC, still need this for old-style
11191 # (--disable-auto-import) libraries
11192 lt_prog_compiler_pic
='-DDLL_EXPORT'
11195 lt_prog_compiler_static
='$wl-static'
11200 darwin
* | rhapsody
*)
11201 # PIC is the default on this platform
11202 # Common symbols not allowed in MH_DYLIB files
11203 lt_prog_compiler_pic
='-fno-common'
11207 # PIC is the default for Haiku.
11208 # The "-static" flag exists, but is broken.
11209 lt_prog_compiler_static
=
11213 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
11214 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
11215 # sets the default TLS model and affects inlining.
11221 lt_prog_compiler_pic
='-fPIC'
11227 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
11228 # Instead, we relocate shared libraries at runtime.
11232 # Just because we use GCC doesn't mean we suddenly get shared libraries
11233 # on systems that don't support them.
11234 lt_prog_compiler_can_build_shared
=no
11239 # QNX uses GNU C++, but need to define -shared option too, otherwise
11240 # it will coredump.
11241 lt_prog_compiler_pic
='-fPIC -shared'
11245 if test -d /usr
/nec
; then
11246 lt_prog_compiler_pic
=-Kconform_pic
11251 lt_prog_compiler_pic
='-fPIC'
11255 case $cc_basename in
11256 nvcc
*) # Cuda Compiler Driver 2.2
11257 lt_prog_compiler_wl
='-Xlinker '
11258 if test -n "$lt_prog_compiler_pic"; then
11259 lt_prog_compiler_pic
="-Xcompiler $lt_prog_compiler_pic"
11264 # PORTME Check for flag to pass linker flags through the system compiler.
11267 lt_prog_compiler_wl
='-Wl,'
11268 if test ia64
= "$host_cpu"; then
11269 # AIX 5 now supports IA64 processor
11270 lt_prog_compiler_static
='-Bstatic'
11272 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
11276 darwin
* | rhapsody
*)
11277 # PIC is the default on this platform
11278 # Common symbols not allowed in MH_DYLIB files
11279 lt_prog_compiler_pic
='-fno-common'
11280 case $cc_basename in
11282 # NAG Fortran compiler
11283 lt_prog_compiler_wl
='-Wl,-Wl,,'
11284 lt_prog_compiler_pic
='-PIC'
11285 lt_prog_compiler_static
='-Bstatic'
11290 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
11291 # This hack is so that the source file can tell whether it is being
11292 # built for inclusion in a dll (and should export symbols for example).
11293 lt_prog_compiler_pic
='-DDLL_EXPORT'
11296 lt_prog_compiler_static
='$wl-static'
11301 hpux9
* | hpux10
* | hpux11
*)
11302 lt_prog_compiler_wl
='-Wl,'
11303 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
11304 # not for PA HP-UX.
11310 lt_prog_compiler_pic
='+Z'
11313 # Is there a better lt_prog_compiler_static that works with the bundled CC?
11314 lt_prog_compiler_static
='$wl-a ${wl}archive'
11317 irix5
* | irix6
* | nonstopux
*)
11318 lt_prog_compiler_wl
='-Wl,'
11319 # PIC (with -KPIC) is the default.
11320 lt_prog_compiler_static
='-non_shared'
11323 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
11324 case $cc_basename in
11325 # old Intel for x86_64, which still supported -KPIC.
11327 lt_prog_compiler_wl
='-Wl,'
11328 lt_prog_compiler_pic
='-KPIC'
11329 lt_prog_compiler_static
='-static'
11331 # icc used to be incompatible with GCC.
11332 # ICC 10 doesn't accept -KPIC any more.
11334 lt_prog_compiler_wl
='-Wl,'
11335 lt_prog_compiler_pic
='-fPIC'
11336 lt_prog_compiler_static
='-static'
11338 # Lahey Fortran 8.1.
11340 lt_prog_compiler_wl
='-Wl,'
11341 lt_prog_compiler_pic
='--shared'
11342 lt_prog_compiler_static
='--static'
11345 # NAG Fortran compiler
11346 lt_prog_compiler_wl
='-Wl,-Wl,,'
11347 lt_prog_compiler_pic
='-PIC'
11348 lt_prog_compiler_static
='-Bstatic'
11351 # Fabrice Bellard et al's Tiny C Compiler
11352 lt_prog_compiler_wl
='-Wl,'
11353 lt_prog_compiler_pic
='-fPIC'
11354 lt_prog_compiler_static
='-static'
11356 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
11357 # Portland Group compilers (*not* the Pentium gcc compiler,
11358 # which looks to be a dead project)
11359 lt_prog_compiler_wl
='-Wl,'
11360 lt_prog_compiler_pic
='-fpic'
11361 lt_prog_compiler_static
='-Bstatic'
11364 lt_prog_compiler_wl
='-Wl,'
11365 # All Alpha code is PIC.
11366 lt_prog_compiler_static
='-non_shared'
11368 xl
* | bgxl
* | bgf
* | mpixl
*)
11369 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
11370 lt_prog_compiler_wl
='-Wl,'
11371 lt_prog_compiler_pic
='-qpic'
11372 lt_prog_compiler_static
='-qstaticlink'
11375 case `$CC -V 2>&1 | sed 5q` in
11376 *Sun\ Ceres\ Fortran
* | *Sun
*Fortran
*\
[1-7].
* | *Sun
*Fortran
*\
8.
[0-3]*)
11377 # Sun Fortran 8.3 passes all unrecognized flags to the linker
11378 lt_prog_compiler_pic
='-KPIC'
11379 lt_prog_compiler_static
='-Bstatic'
11380 lt_prog_compiler_wl
=''
11382 *Sun\ F
* | *Sun
*Fortran
*)
11383 lt_prog_compiler_pic
='-KPIC'
11384 lt_prog_compiler_static
='-Bstatic'
11385 lt_prog_compiler_wl
='-Qoption ld '
11389 lt_prog_compiler_pic
='-KPIC'
11390 lt_prog_compiler_static
='-Bstatic'
11391 lt_prog_compiler_wl
='-Wl,'
11393 *Intel
*\
[CF
]*Compiler
*)
11394 lt_prog_compiler_wl
='-Wl,'
11395 lt_prog_compiler_pic
='-fPIC'
11396 lt_prog_compiler_static
='-static'
11399 lt_prog_compiler_wl
='-Wl,'
11400 lt_prog_compiler_pic
='-fpic'
11401 lt_prog_compiler_static
='-Bstatic'
11409 lt_prog_compiler_pic
='-KPIC'
11410 lt_prog_compiler_static
='-Bstatic'
11414 # QNX uses GNU C++, but need to define -shared option too, otherwise
11415 # it will coredump.
11416 lt_prog_compiler_pic
='-fPIC -shared'
11419 osf3
* | osf4
* | osf5
*)
11420 lt_prog_compiler_wl
='-Wl,'
11421 # All OSF/1 code is PIC.
11422 lt_prog_compiler_static
='-non_shared'
11426 lt_prog_compiler_static
='-non_shared'
11430 lt_prog_compiler_pic
='-KPIC'
11431 lt_prog_compiler_static
='-Bstatic'
11432 case $cc_basename in
11433 f77
* | f90
* | f95
* | sunf77
* | sunf90
* | sunf95
*)
11434 lt_prog_compiler_wl
='-Qoption ld ';;
11436 lt_prog_compiler_wl
='-Wl,';;
11441 lt_prog_compiler_wl
='-Qoption ld '
11442 lt_prog_compiler_pic
='-PIC'
11443 lt_prog_compiler_static
='-Bstatic'
11446 sysv4
| sysv4.2uw2
* | sysv4.3
*)
11447 lt_prog_compiler_wl
='-Wl,'
11448 lt_prog_compiler_pic
='-KPIC'
11449 lt_prog_compiler_static
='-Bstatic'
11453 if test -d /usr
/nec
; then
11454 lt_prog_compiler_pic
='-Kconform_pic'
11455 lt_prog_compiler_static
='-Bstatic'
11459 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
11460 lt_prog_compiler_wl
='-Wl,'
11461 lt_prog_compiler_pic
='-KPIC'
11462 lt_prog_compiler_static
='-Bstatic'
11466 lt_prog_compiler_wl
='-Wl,'
11467 lt_prog_compiler_can_build_shared
=no
11471 lt_prog_compiler_pic
='-pic'
11472 lt_prog_compiler_static
='-Bstatic'
11476 lt_prog_compiler_can_build_shared
=no
11482 # For platforms that do not support PIC, -DPIC is meaningless:
11484 lt_prog_compiler_pic
=
11487 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
11491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
11492 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
11493 if ${lt_cv_prog_compiler_pic+:} false
; then :
11494 $as_echo_n "(cached) " >&6
11496 lt_cv_prog_compiler_pic
=$lt_prog_compiler_pic
11498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
11499 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
11500 lt_prog_compiler_pic
=$lt_cv_prog_compiler_pic
11503 # Check to make sure the PIC flag actually works.
11505 if test -n "$lt_prog_compiler_pic"; then
11506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
11507 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
11508 if ${lt_cv_prog_compiler_pic_works+:} false
; then :
11509 $as_echo_n "(cached) " >&6
11511 lt_cv_prog_compiler_pic_works
=no
11512 ac_outfile
=conftest.
$ac_objext
11513 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
11514 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC" ## exclude from sc_useless_quotes_in_assignment
11515 # Insert the option either (1) after the last *FLAGS variable, or
11516 # (2) before a word containing "conftest.", or (3) at the end.
11517 # Note that $ac_compile itself does not contain backslashes and begins
11518 # with a dollar sign (not a hyphen), so the echo should work correctly.
11519 # The option is referenced via a variable to avoid confusing sed.
11520 lt_compile
=`echo "$ac_compile" | $SED \
11521 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11522 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11523 -e 's:$: $lt_compiler_flag:'`
11524 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
11525 (eval "$lt_compile" 2>conftest.err
)
11527 cat conftest.err
>&5
11528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11529 if (exit $ac_status) && test -s "$ac_outfile"; then
11530 # The compiler can only warn and ignore the option if not recognized
11531 # So say no if there are warnings other than the usual output.
11532 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
11533 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
11534 if test ! -s conftest.er2
|| diff conftest.exp conftest.er2
>/dev
/null
; then
11535 lt_cv_prog_compiler_pic_works
=yes
11541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
11542 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
11544 if test yes = "$lt_cv_prog_compiler_pic_works"; then
11545 case $lt_prog_compiler_pic in
11547 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
11550 lt_prog_compiler_pic
=
11551 lt_prog_compiler_can_build_shared
=no
11567 # Check to make sure the static flag actually works.
11569 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
11570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
11571 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
11572 if ${lt_cv_prog_compiler_static_works+:} false
; then :
11573 $as_echo_n "(cached) " >&6
11575 lt_cv_prog_compiler_static_works
=no
11576 save_LDFLAGS
=$LDFLAGS
11577 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
11578 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
11579 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
11580 # The linker can only warn and ignore the option if not recognized
11581 # So say no if there are warnings
11582 if test -s conftest.err
; then
11583 # Append any errors to the config.log.
11584 cat conftest.err
1>&5
11585 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
11586 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
11587 if diff conftest.exp conftest.er2
>/dev
/null
; then
11588 lt_cv_prog_compiler_static_works
=yes
11591 lt_cv_prog_compiler_static_works
=yes
11595 LDFLAGS
=$save_LDFLAGS
11598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
11599 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
11601 if test yes = "$lt_cv_prog_compiler_static_works"; then
11604 lt_prog_compiler_static
=
11613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
11614 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
11615 if ${lt_cv_prog_compiler_c_o+:} false
; then :
11616 $as_echo_n "(cached) " >&6
11618 lt_cv_prog_compiler_c_o
=no
11619 $RM -r conftest
2>/dev
/null
11623 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
11625 lt_compiler_flag
="-o out/conftest2.$ac_objext"
11626 # Insert the option either (1) after the last *FLAGS variable, or
11627 # (2) before a word containing "conftest.", or (3) at the end.
11628 # Note that $ac_compile itself does not contain backslashes and begins
11629 # with a dollar sign (not a hyphen), so the echo should work correctly.
11630 lt_compile
=`echo "$ac_compile" | $SED \
11631 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11632 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11633 -e 's:$: $lt_compiler_flag:'`
11634 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
11635 (eval "$lt_compile" 2>out
/conftest.err
)
11637 cat out
/conftest.err
>&5
11638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11639 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
11641 # The compiler can only warn and ignore the option if not recognized
11642 # So say no if there are warnings
11643 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out
/conftest.exp
11644 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
11645 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
11646 lt_cv_prog_compiler_c_o
=yes
11651 # SGI C++ compiler will create directory out/ii_files/ for
11652 # template instantiation
11653 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
11654 $RM out
/* && rmdir out
11660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
11661 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
11668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
11669 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
11670 if ${lt_cv_prog_compiler_c_o+:} false
; then :
11671 $as_echo_n "(cached) " >&6
11673 lt_cv_prog_compiler_c_o
=no
11674 $RM -r conftest
2>/dev
/null
11678 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
11680 lt_compiler_flag
="-o out/conftest2.$ac_objext"
11681 # Insert the option either (1) after the last *FLAGS variable, or
11682 # (2) before a word containing "conftest.", or (3) at the end.
11683 # Note that $ac_compile itself does not contain backslashes and begins
11684 # with a dollar sign (not a hyphen), so the echo should work correctly.
11685 lt_compile
=`echo "$ac_compile" | $SED \
11686 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11687 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11688 -e 's:$: $lt_compiler_flag:'`
11689 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
11690 (eval "$lt_compile" 2>out
/conftest.err
)
11692 cat out
/conftest.err
>&5
11693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11694 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
11696 # The compiler can only warn and ignore the option if not recognized
11697 # So say no if there are warnings
11698 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out
/conftest.exp
11699 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
11700 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
11701 lt_cv_prog_compiler_c_o
=yes
11706 # SGI C++ compiler will create directory out/ii_files/ for
11707 # template instantiation
11708 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
11709 $RM out
/* && rmdir out
11715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
11716 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
11721 hard_links
=nottested
11722 if test no
= "$lt_cv_prog_compiler_c_o" && test no
!= "$need_locks"; then
11723 # do not overwrite the value of need_locks provided by the user
11724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
11725 $as_echo_n "checking if we can lock with hard links... " >&6; }
11728 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
11730 ln conftest.a conftest.b
2>&5 || hard_links
=no
11731 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
11732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
11733 $as_echo "$hard_links" >&6; }
11734 if test no
= "$hard_links"; then
11735 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
11736 $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
11748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11749 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
11752 allow_undefined_flag
=
11753 always_export_symbols
=no
11755 archive_expsym_cmds
=
11756 compiler_needs_object
=no
11757 enable_shared_with_static_runtimes
=no
11758 export_dynamic_flag_spec
=
11759 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
11760 hardcode_automatic
=no
11762 hardcode_direct_absolute
=no
11763 hardcode_libdir_flag_spec
=
11764 hardcode_libdir_separator
=
11765 hardcode_minus_L
=no
11766 hardcode_shlibpath_var
=unsupported
11768 link_all_deplibs
=unknown
11770 module_expsym_cmds
=
11771 old_archive_from_new_cmds
=
11772 old_archive_from_expsyms_cmds
=
11773 thread_safe_flag_spec
=
11774 whole_archive_flag_spec
=
11775 # include_expsyms should be a list of space-separated symbols to be *always*
11776 # included in the symbol list
11778 # exclude_expsyms can be an extended regexp of symbols to exclude
11779 # it will be wrapped by ' (' and ')$', so one must not match beginning or
11780 # end of line. Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
11781 # as well as any symbol that contains 'd'.
11782 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
11783 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
11784 # platforms (ab)use it in PIC code, but their linkers get confused if
11785 # the symbol is explicitly referenced. Since portable code cannot
11786 # rely on this symbol name, it's probably fine to never include it in
11787 # preloaded symbol tables.
11788 # Exclude shared library initialization/finalization symbols.
11789 extract_expsyms_cmds
=
11792 cygwin
* | mingw
* | pw32
* | cegcc
*)
11793 # FIXME: the MSVC++ port hasn't been tested in a loooong time
11794 # When not using gcc, we currently assume that we are using
11795 # Microsoft Visual C++.
11796 if test yes != "$GCC"; then
11801 # we just hope/assume this is gcc and not c89 (= MSVC++)
11804 openbsd
* | bitrig
*)
11811 # On some targets, GNU ld is compatible enough with the native linker
11812 # that we're better off using the native interface for both.
11813 lt_use_gnu_ld_interface
=no
11814 if test yes = "$with_gnu_ld"; then
11817 # The AIX port of GNU ld has always aspired to compatibility
11818 # with the native linker. However, as the warning in the GNU ld
11819 # block says, versions before 2.19.5* couldn't really create working
11820 # shared libraries, regardless of the interface used.
11821 case `$LD -v 2>&1` in
11822 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
11823 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
11824 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
11826 lt_use_gnu_ld_interface
=yes
11831 lt_use_gnu_ld_interface
=yes
11836 if test yes = "$lt_use_gnu_ld_interface"; then
11837 # If archive_cmds runs LD, not CC, wlarc should be empty
11840 # Set some defaults for GNU ld with shared library support. These
11841 # are reset later if shared libraries are not supported. Putting them
11842 # here allows them to be overridden if necessary.
11843 runpath_var
=LD_RUN_PATH
11844 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
11845 export_dynamic_flag_spec
='$wl--export-dynamic'
11846 # ancient GNU ld didn't support --whole-archive et. al.
11847 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev
/null
; then
11848 whole_archive_flag_spec
=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
11850 whole_archive_flag_spec
=
11852 supports_anon_versioning
=no
11853 case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
11854 *GNU\ gold
*) supports_anon_versioning
=yes ;;
11855 *\
[01].
* | *\
2.
[0-9].
* | *\
2.10.
*) ;; # catch versions < 2.11
11856 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
11857 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
11858 *\
2.11.
*) ;; # other 2.11 versions
11859 *) supports_anon_versioning
=yes ;;
11862 # See if GNU ld supports shared libraries.
11865 # On AIX/PPC, the GNU linker is very broken
11866 if test ia64
!= "$host_cpu"; then
11870 *** Warning: the GNU linker, at least up to release 2.19, is reported
11871 *** to be unable to reliably create shared libraries on AIX.
11872 *** Therefore, libtool is disabling shared libraries support. If you
11873 *** really care for shared libraries, you may want to install binutils
11874 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
11875 *** You will then need to restart the configuration process.
11884 # see comment about AmigaOS4 .so support
11885 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11886 archive_expsym_cmds
=''
11889 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)'
11890 hardcode_libdir_flag_spec
='-L$libdir'
11891 hardcode_minus_L
=yes
11897 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
11898 allow_undefined_flag
=unsupported
11899 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
11900 # support --undefined. This deserves some investigation. FIXME
11901 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11907 cygwin
* | mingw
* | pw32
* | cegcc
*)
11908 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
11909 # as there is no search path for DLLs.
11910 hardcode_libdir_flag_spec
='-L$libdir'
11911 export_dynamic_flag_spec
='$wl--export-all-symbols'
11912 allow_undefined_flag
=unsupported
11913 always_export_symbols
=no
11914 enable_shared_with_static_runtimes
=yes
11915 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'
11916 exclude_expsyms
='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
11918 if $LD --help 2>&1 | $GREP 'auto-import' > /dev
/null
; then
11919 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
11920 # If the export-symbols file already is a .def file, use it as
11921 # is; otherwise, prepend EXPORTS...
11922 archive_expsym_cmds
='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
11923 cp $export_symbols $output_objdir/$soname.def;
11925 echo EXPORTS > $output_objdir/$soname.def;
11926 cat $export_symbols >> $output_objdir/$soname.def;
11928 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
11935 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11936 link_all_deplibs
=yes
11940 hardcode_libdir_flag_spec
='-L$libdir'
11941 hardcode_minus_L
=yes
11942 allow_undefined_flag
=unsupported
11944 archive_cmds
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
11945 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
11946 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
11947 $ECHO EXPORTS >> $output_objdir/$libname.def~
11948 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $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 archive_expsym_cmds
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
11952 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
11953 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
11954 $ECHO EXPORTS >> $output_objdir/$libname.def~
11955 prefix_cmds="$SED"~
11956 if test EXPORTS = "`$SED 1q $export_symbols`"; then
11957 prefix_cmds="$prefix_cmds -e 1d";
11959 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
11960 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
11961 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
11962 emximp -o $lib $output_objdir/$libname.def'
11963 old_archive_From_new_cmds
='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
11964 enable_shared_with_static_runtimes
=yes
11969 hardcode_shlibpath_var
=no
11970 hardcode_libdir_flag_spec
='$wl-rpath,$libdir'
11971 export_dynamic_flag_spec
='$wl-E'
11972 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
11973 # Instead, shared libraries are loaded at an image base (0x10000000 by
11974 # default) and relocated if they conflict, which is a slow very memory
11975 # consuming and fragmenting process. To avoid this, we pick a random,
11976 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
11977 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
11978 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
11979 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'
11982 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
11984 if test linux
-dietlibc = "$host_os"; then
11985 case $cc_basename in
11986 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
11989 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev
/null \
11990 && test no
= "$tmp_diet"
11992 tmp_addflag
=' $pic_flag'
11993 tmp_sharedflag
='-shared'
11994 case $cc_basename,$host_cpu in
11995 pgcc
*) # Portland Group C compiler
11996 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'
11997 tmp_addflag
=' $pic_flag'
11999 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
12000 # Portland Group f77 and f90 compilers
12001 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'
12002 tmp_addflag
=' $pic_flag -Mnomain' ;;
12003 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
12004 tmp_addflag
=' -i_dynamic' ;;
12005 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
12006 tmp_addflag
=' -i_dynamic -nofor_main' ;;
12007 ifc
* | ifort
*) # Intel Fortran compiler
12008 tmp_addflag
=' -nofor_main' ;;
12009 lf95
*) # Lahey Fortran 8.1
12010 whole_archive_flag_spec
=
12011 tmp_sharedflag
='--shared' ;;
12012 nagfor
*) # NAGFOR 5.3
12013 tmp_sharedflag
='-Wl,-shared' ;;
12014 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
12015 tmp_sharedflag
='-qmkshrobj'
12017 nvcc
*) # Cuda Compiler Driver 2.2
12018 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'
12019 compiler_needs_object
=yes
12022 case `$CC -V 2>&1 | sed 5q` in
12023 *Sun\ C
*) # Sun C 5.9
12024 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'
12025 compiler_needs_object
=yes
12026 tmp_sharedflag
='-G' ;;
12027 *Sun\ F
*) # Sun Fortran 8.3
12028 tmp_sharedflag
='-G' ;;
12030 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
12032 if test yes = "$supports_anon_versioning"; then
12033 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
12034 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12035 echo "local: *; };" >> $output_objdir/$libname.ver~
12036 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
12039 case $cc_basename in
12041 export_dynamic_flag_spec
='-rdynamic'
12043 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
12044 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
12045 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
12046 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
12047 archive_cmds
='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
12048 if test yes = "$supports_anon_versioning"; then
12049 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
12050 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12051 echo "local: *; };" >> $output_objdir/$libname.ver~
12052 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
12062 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
12063 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
12066 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
12067 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
12072 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev
/null
; then
12076 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
12077 *** create shared libraries on Solaris systems. Therefore, libtool
12078 *** is disabling shared libraries support. We urge you to upgrade GNU
12079 *** binutils to release 2.9.1 or newer. Another option is to modify
12080 *** your PATH or compiler configuration so that the native linker is
12081 *** used, and then restart.
12084 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
12085 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
12086 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
12092 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
12093 case `$LD -v 2>&1` in
12094 *\
[01].
* | *\
2.
[0-9].
* | *\
2.1[0-5].
*)
12098 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
12099 *** reliably create shared libraries on SCO systems. Therefore, libtool
12100 *** is disabling shared libraries support. We urge you to upgrade GNU
12101 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
12102 *** your PATH or compiler configuration so that the native linker is
12103 *** used, and then restart.
12108 # For security reasons, it is highly recommended that you always
12109 # use absolute paths for naming shared libraries, and exclude the
12110 # DT_RUNPATH tag from executables and libraries. But doing so
12111 # requires that you compile everything twice, which is a pain.
12112 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
12113 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
12114 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
12115 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
12124 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
12126 hardcode_direct
=yes
12127 hardcode_shlibpath_var
=no
12131 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
12132 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
12133 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
12140 if test no
= "$ld_shlibs"; then
12142 hardcode_libdir_flag_spec
=
12143 export_dynamic_flag_spec
=
12144 whole_archive_flag_spec
=
12147 # PORTME fill in a description of your system's linker (not GNU ld)
12150 allow_undefined_flag
=unsupported
12151 always_export_symbols
=yes
12152 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'
12153 # Note: this linker hardcodes the directories in LIBPATH if there
12154 # are no directories specified by -L.
12155 hardcode_minus_L
=yes
12156 if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
12157 # Neither direct hardcoding nor static linking is supported with a
12159 hardcode_direct
=unsupported
12164 if test ia64
= "$host_cpu"; then
12165 # On IA64, the linker does run time linking by default, so we don't
12166 # have to do anything special.
12167 aix_use_runtimelinking
=no
12168 exp_sym_flag
='-Bexport'
12171 # If we're using GNU nm, then we don't want the "-C" option.
12172 # -C means demangle to GNU nm, but means don't demangle to AIX nm.
12173 # Without the "-l" option, or with the "-B" option, AIX nm treats
12174 # weak defined symbols like other global defined symbols, whereas
12175 # GNU nm marks them as "W".
12176 # While the 'weak' keyword is ignored in the Export File, we need
12177 # it in the Import File for the 'aix-soname' feature, so we have
12178 # to replace the "-B" option with "-P" for AIX nm.
12179 if $NM -V 2>&1 | $GREP 'GNU' > /dev
/null
; then
12180 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'
12182 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'
12184 aix_use_runtimelinking
=no
12186 # Test if we are trying to use run time linking or normal
12187 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12188 # have runtime linking enabled, and use it for executables.
12189 # For shared libraries, we enable/disable runtime linking
12190 # depending on the kind of the shared library created -
12191 # when "with_aix_soname,aix_use_runtimelinking" is:
12192 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables
12193 # "aix,yes" lib.so shared, rtl:yes, for executables
12194 # lib.a static archive
12195 # "both,no" lib.so.V(shr.o) shared, rtl:yes
12196 # lib.a(lib.so.V) shared, rtl:no, for executables
12197 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
12198 # lib.a(lib.so.V) shared, rtl:no
12199 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables
12200 # lib.a static archive
12201 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
12202 for ld_flag
in $LDFLAGS; do
12203 if (test x
-brtl = "x$ld_flag" || test x
-Wl,-brtl = "x$ld_flag"); then
12204 aix_use_runtimelinking
=yes
12208 if test svr4
,no
= "$with_aix_soname,$aix_use_runtimelinking"; then
12209 # With aix-soname=svr4, we create the lib.so.V shared archives only,
12210 # so we don't have lib.a shared libs to link our executables.
12211 # We have to force runtime linking in this case.
12212 aix_use_runtimelinking
=yes
12213 LDFLAGS
="$LDFLAGS -Wl,-brtl"
12218 exp_sym_flag
='-bexport'
12219 no_entry_flag
='-bnoentry'
12222 # When large executables or shared objects are built, AIX ld can
12223 # have problems creating the table of contents. If linking a library
12224 # or program results in "error TOC overflow" add -mminimal-toc to
12225 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12226 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12229 hardcode_direct
=yes
12230 hardcode_direct_absolute
=yes
12231 hardcode_libdir_separator
=':'
12232 link_all_deplibs
=yes
12233 file_list_spec
='$wl-f,'
12234 case $with_aix_soname,$aix_use_runtimelinking in
12235 aix
,*) ;; # traditional, no import file
12236 svr4
,* | *,yes) # use import file
12237 # The Import File defines what to hardcode.
12239 hardcode_direct_absolute
=no
12243 if test yes = "$GCC"; then
12244 case $host_os in aix4.
[012]|aix4.
[012].
*)
12245 # We only want to do this on AIX 4.2 and lower, the check
12246 # below for broken collect2 doesn't work under 4.3+
12247 collect2name
=`$CC -print-prog-name=collect2`
12248 if test -f "$collect2name" &&
12249 strings "$collect2name" | $GREP resolve_lib_name
>/dev
/null
12251 # We have reworked collect2
12254 # We have old collect2
12255 hardcode_direct
=unsupported
12256 # It fails to find uninstalled libraries when the uninstalled
12257 # path is not listed in the libpath. Setting hardcode_minus_L
12258 # to unsupported forces relinking
12259 hardcode_minus_L
=yes
12260 hardcode_libdir_flag_spec
='-L$libdir'
12261 hardcode_libdir_separator
=
12265 shared_flag
='-shared'
12266 if test yes = "$aix_use_runtimelinking"; then
12267 shared_flag
="$shared_flag "'$wl-G'
12269 # Need to ensure runtime linking is disabled for the traditional
12270 # shared library, or the linker may eventually find shared libraries
12271 # /with/ Import File - we do not want to mix them.
12272 shared_flag_aix
='-shared'
12273 shared_flag_svr4
='-shared $wl-G'
12276 if test ia64
= "$host_cpu"; then
12277 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12278 # chokes on -Wl,-G. The following line is correct:
12281 if test yes = "$aix_use_runtimelinking"; then
12282 shared_flag
='$wl-G'
12284 shared_flag
='$wl-bM:SRE'
12286 shared_flag_aix
='$wl-bM:SRE'
12287 shared_flag_svr4
='$wl-G'
12291 export_dynamic_flag_spec
='$wl-bexpall'
12292 # It seems that -bexpall does not export symbols beginning with
12293 # underscore (_), so it is better to generate a list of symbols to export.
12294 always_export_symbols
=yes
12295 if test aix
,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
12296 # Warning - without using the other runtime loading flags (-brtl),
12297 # -berok will link without error, but may produce a broken library.
12298 allow_undefined_flag
='-berok'
12299 # Determine the default libpath from the value encoded in an
12300 # empty executable.
12301 if test set = "${lt_cv_aix_libpath+set}"; then
12302 aix_libpath
=$lt_cv_aix_libpath
12304 if ${lt_cv_aix_libpath_+:} false
; then :
12305 $as_echo_n "(cached) " >&6
12307 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12308 /* end confdefs.h. */
12318 if ac_fn_c_try_link
"$LINENO"; then :
12320 lt_aix_libpath_sed
='
12321 /Import File Strings/,/^$/ {
12323 s/^0 *\([^ ]*\) *$/\1/
12327 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12328 # Check for a 64-bit object if we didn't find anything.
12329 if test -z "$lt_cv_aix_libpath_"; then
12330 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12333 rm -f core conftest.err conftest.
$ac_objext \
12334 conftest
$ac_exeext conftest.
$ac_ext
12335 if test -z "$lt_cv_aix_libpath_"; then
12336 lt_cv_aix_libpath_
=/usr
/lib
:/lib
12341 aix_libpath
=$lt_cv_aix_libpath_
12344 hardcode_libdir_flag_spec
='$wl-blibpath:$libdir:'"$aix_libpath"
12345 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
12347 if test ia64
= "$host_cpu"; then
12348 hardcode_libdir_flag_spec
='$wl-R $libdir:/usr/lib:/lib'
12349 allow_undefined_flag
="-z nodefs"
12350 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"
12352 # Determine the default libpath from the value encoded in an
12353 # empty executable.
12354 if test set = "${lt_cv_aix_libpath+set}"; then
12355 aix_libpath
=$lt_cv_aix_libpath
12357 if ${lt_cv_aix_libpath_+:} false
; then :
12358 $as_echo_n "(cached) " >&6
12360 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12361 /* end confdefs.h. */
12371 if ac_fn_c_try_link
"$LINENO"; then :
12373 lt_aix_libpath_sed
='
12374 /Import File Strings/,/^$/ {
12376 s/^0 *\([^ ]*\) *$/\1/
12380 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12381 # Check for a 64-bit object if we didn't find anything.
12382 if test -z "$lt_cv_aix_libpath_"; then
12383 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12386 rm -f core conftest.err conftest.
$ac_objext \
12387 conftest
$ac_exeext conftest.
$ac_ext
12388 if test -z "$lt_cv_aix_libpath_"; then
12389 lt_cv_aix_libpath_
=/usr
/lib
:/lib
12394 aix_libpath
=$lt_cv_aix_libpath_
12397 hardcode_libdir_flag_spec
='$wl-blibpath:$libdir:'"$aix_libpath"
12398 # Warning - without using the other run time loading flags,
12399 # -berok will link without error, but may produce a broken library.
12400 no_undefined_flag
=' $wl-bernotok'
12401 allow_undefined_flag
=' $wl-berok'
12402 if test yes = "$with_gnu_ld"; then
12403 # We only use this code for GNU lds that support --whole-archive.
12404 whole_archive_flag_spec
='$wl--whole-archive$convenience $wl--no-whole-archive'
12406 # Exported symbols can be pulled into shared objects from archives
12407 whole_archive_flag_spec
='$convenience'
12409 archive_cmds_need_lc
=yes
12410 archive_expsym_cmds
='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
12411 # -brtl affects multiple linker settings, -berok does not and is overridden later
12412 compiler_flags_filtered
='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
12413 if test svr4
!= "$with_aix_soname"; then
12414 # This is similar to how AIX traditionally builds its shared libraries.
12415 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'
12417 if test aix
!= "$with_aix_soname"; then
12418 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'
12420 # used by -dlpreopen to get the symbols
12421 archive_expsym_cmds
="$archive_expsym_cmds"'~$MV $output_objdir/$realname.d/$soname $output_objdir'
12423 archive_expsym_cmds
="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
12431 # see comment about AmigaOS4 .so support
12432 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
12433 archive_expsym_cmds
=''
12436 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)'
12437 hardcode_libdir_flag_spec
='-L$libdir'
12438 hardcode_minus_L
=yes
12444 export_dynamic_flag_spec
=-rdynamic
12447 cygwin
* | mingw
* | pw32
* | cegcc
*)
12448 # When not using gcc, we currently assume that we are using
12449 # Microsoft Visual C++.
12450 # hardcode_libdir_flag_spec is actually meaningless, as there is
12451 # no search path for DLLs.
12452 case $cc_basename in
12455 hardcode_libdir_flag_spec
=' '
12456 allow_undefined_flag
=unsupported
12457 always_export_symbols
=yes
12459 # Tell ltmain to make .lib files, not .a files.
12461 # Tell ltmain to make .dll files, not .so files.
12463 # FIXME: Setting linknames here is a bad hack.
12464 archive_cmds
='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
12465 archive_expsym_cmds
='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
12466 cp "$export_symbols" "$output_objdir/$soname.def";
12467 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
12469 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
12471 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
12473 # The linker will not automatically build a static lib if we build a DLL.
12474 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
12475 enable_shared_with_static_runtimes
=yes
12476 exclude_expsyms
='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
12477 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
12479 old_postinstall_cmds
='chmod 644 $oldlib'
12480 postlink_cmds
='lt_outputfile="@OUTPUT@"~
12481 lt_tool_outputfile="@TOOL_OUTPUT@"~
12482 case $lt_outputfile in
12485 lt_outputfile=$lt_outputfile.exe
12486 lt_tool_outputfile=$lt_tool_outputfile.exe
12489 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
12490 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
12491 $RM "$lt_outputfile.manifest";
12495 # Assume MSVC wrapper
12496 hardcode_libdir_flag_spec
=' '
12497 allow_undefined_flag
=unsupported
12498 # Tell ltmain to make .lib files, not .a files.
12500 # Tell ltmain to make .dll files, not .so files.
12502 # FIXME: Setting linknames here is a bad hack.
12503 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
12504 # The linker will automatically build a .lib file if we build a DLL.
12505 old_archive_from_new_cmds
='true'
12506 # FIXME: Should let the user specify the lib program.
12507 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
12508 enable_shared_with_static_runtimes
=yes
12513 darwin
* | rhapsody
*)
12516 archive_cmds_need_lc
=no
12518 hardcode_automatic
=yes
12519 hardcode_shlibpath_var
=unsupported
12520 if test yes = "$lt_cv_ld_force_load"; then
12521 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\"`'
12524 whole_archive_flag_spec
=''
12526 link_all_deplibs
=yes
12527 allow_undefined_flag
=$_lt_dar_allow_undefined
12528 case $cc_basename in
12529 ifort
*|nagfor
*) _lt_dar_can_shared
=yes ;;
12530 *) _lt_dar_can_shared
=$GCC ;;
12532 if test yes = "$_lt_dar_can_shared"; then
12533 output_verbose_link_cmd
=func_echo_all
12534 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
12535 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
12536 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"
12537 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"
12546 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12547 hardcode_libdir_flag_spec
='-L$libdir'
12548 hardcode_shlibpath_var
=no
12551 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
12552 # support. Future versions do this automatically, but an explicit c++rt0.o
12553 # does not break anything, and helps significantly (at the cost of a little
12556 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
12557 hardcode_libdir_flag_spec
='-R$libdir'
12558 hardcode_direct
=yes
12559 hardcode_shlibpath_var
=no
12562 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
12564 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
12565 hardcode_direct
=yes
12566 hardcode_minus_L
=yes
12567 hardcode_shlibpath_var
=no
12570 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
12571 freebsd
* | dragonfly
*)
12572 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
12573 hardcode_libdir_flag_spec
='-R$libdir'
12574 hardcode_direct
=yes
12575 hardcode_shlibpath_var
=no
12579 if test yes = "$GCC"; then
12580 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'
12582 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'
12584 hardcode_libdir_flag_spec
='$wl+b $wl$libdir'
12585 hardcode_libdir_separator
=:
12586 hardcode_direct
=yes
12588 # hardcode_minus_L: Not really in the search PATH,
12589 # but as the default location of the library.
12590 hardcode_minus_L
=yes
12591 export_dynamic_flag_spec
='$wl-E'
12595 if test yes,no
= "$GCC,$with_gnu_ld"; then
12596 archive_cmds
='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12598 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
12600 if test no
= "$with_gnu_ld"; then
12601 hardcode_libdir_flag_spec
='$wl+b $wl$libdir'
12602 hardcode_libdir_separator
=:
12603 hardcode_direct
=yes
12604 hardcode_direct_absolute
=yes
12605 export_dynamic_flag_spec
='$wl-E'
12606 # hardcode_minus_L: Not really in the search PATH,
12607 # but as the default location of the library.
12608 hardcode_minus_L
=yes
12613 if test yes,no
= "$GCC,$with_gnu_ld"; then
12616 archive_cmds
='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
12619 archive_cmds
='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
12622 archive_cmds
='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12628 archive_cmds
='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
12631 archive_cmds
='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
12635 # Older versions of the 11.00 compiler do not understand -b yet
12636 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
12637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
12638 $as_echo_n "checking if $CC understands -b... " >&6; }
12639 if ${lt_cv_prog_compiler__b+:} false
; then :
12640 $as_echo_n "(cached) " >&6
12642 lt_cv_prog_compiler__b
=no
12643 save_LDFLAGS
=$LDFLAGS
12644 LDFLAGS
="$LDFLAGS -b"
12645 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
12646 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
12647 # The linker can only warn and ignore the option if not recognized
12648 # So say no if there are warnings
12649 if test -s conftest.err
; then
12650 # Append any errors to the config.log.
12651 cat conftest.err
1>&5
12652 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
12653 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
12654 if diff conftest.exp conftest.er2
>/dev
/null
; then
12655 lt_cv_prog_compiler__b
=yes
12658 lt_cv_prog_compiler__b
=yes
12662 LDFLAGS
=$save_LDFLAGS
12665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
12666 $as_echo "$lt_cv_prog_compiler__b" >&6; }
12668 if test yes = "$lt_cv_prog_compiler__b"; then
12669 archive_cmds
='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12671 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
12677 if test no
= "$with_gnu_ld"; then
12678 hardcode_libdir_flag_spec
='$wl+b $wl$libdir'
12679 hardcode_libdir_separator
=:
12684 hardcode_shlibpath_var
=no
12687 hardcode_direct
=yes
12688 hardcode_direct_absolute
=yes
12689 export_dynamic_flag_spec
='$wl-E'
12691 # hardcode_minus_L: Not really in the search PATH,
12692 # but as the default location of the library.
12693 hardcode_minus_L
=yes
12699 irix5
* | irix6
* | nonstopux
*)
12700 if test yes = "$GCC"; then
12701 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'
12702 # Try to use the -exported_symbol ld option, if it does not
12703 # work, assume that -exports_file does not work either and
12704 # implicitly export all symbols.
12705 # This should be the same for all languages, so no per-tag cache variable.
12706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
12707 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
12708 if ${lt_cv_irix_exported_symbol+:} false
; then :
12709 $as_echo_n "(cached) " >&6
12711 save_LDFLAGS
=$LDFLAGS
12712 LDFLAGS
="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
12713 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12714 /* end confdefs.h. */
12715 int foo (void) { return 0; }
12717 if ac_fn_c_try_link
"$LINENO"; then :
12718 lt_cv_irix_exported_symbol
=yes
12720 lt_cv_irix_exported_symbol
=no
12722 rm -f core conftest.err conftest.
$ac_objext \
12723 conftest
$ac_exeext conftest.
$ac_ext
12724 LDFLAGS
=$save_LDFLAGS
12726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
12727 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
12728 if test yes = "$lt_cv_irix_exported_symbol"; then
12729 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'
12732 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'
12733 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'
12735 archive_cmds_need_lc
='no'
12736 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
12737 hardcode_libdir_separator
=:
12739 link_all_deplibs
=yes
12743 case $cc_basename in
12745 # Fabrice Bellard et al's Tiny C Compiler
12747 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
12753 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
12754 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
12756 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
12758 hardcode_libdir_flag_spec
='-R$libdir'
12759 hardcode_direct
=yes
12760 hardcode_shlibpath_var
=no
12764 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12765 hardcode_direct
=yes
12766 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
12767 hardcode_libdir_separator
=:
12768 hardcode_shlibpath_var
=no
12774 openbsd
* | bitrig
*)
12775 if test -f /usr
/libexec
/ld.so
; then
12776 hardcode_direct
=yes
12777 hardcode_shlibpath_var
=no
12778 hardcode_direct_absolute
=yes
12779 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
12780 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
12781 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
12782 hardcode_libdir_flag_spec
='$wl-rpath,$libdir'
12783 export_dynamic_flag_spec
='$wl-E'
12785 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
12786 hardcode_libdir_flag_spec
='$wl-rpath,$libdir'
12794 hardcode_libdir_flag_spec
='-L$libdir'
12795 hardcode_minus_L
=yes
12796 allow_undefined_flag
=unsupported
12798 archive_cmds
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
12799 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
12800 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
12801 $ECHO EXPORTS >> $output_objdir/$libname.def~
12802 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $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 archive_expsym_cmds
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
12806 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
12807 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
12808 $ECHO EXPORTS >> $output_objdir/$libname.def~
12809 prefix_cmds="$SED"~
12810 if test EXPORTS = "`$SED 1q $export_symbols`"; then
12811 prefix_cmds="$prefix_cmds -e 1d";
12813 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
12814 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
12815 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
12816 emximp -o $lib $output_objdir/$libname.def'
12817 old_archive_From_new_cmds
='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
12818 enable_shared_with_static_runtimes
=yes
12822 if test yes = "$GCC"; then
12823 allow_undefined_flag
=' $wl-expect_unresolved $wl\*'
12824 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'
12826 allow_undefined_flag
=' -expect_unresolved \*'
12827 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'
12829 archive_cmds_need_lc
='no'
12830 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
12831 hardcode_libdir_separator
=:
12834 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
12835 if test yes = "$GCC"; then
12836 allow_undefined_flag
=' $wl-expect_unresolved $wl\*'
12837 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'
12838 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
12840 allow_undefined_flag
=' -expect_unresolved \*'
12841 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'
12842 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~
12843 $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'
12845 # Both c and cxx compiler support -rpath directly
12846 hardcode_libdir_flag_spec
='-rpath $libdir'
12848 archive_cmds_need_lc
='no'
12849 hardcode_libdir_separator
=:
12853 no_undefined_flag
=' -z defs'
12854 if test yes = "$GCC"; then
12856 archive_cmds
='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
12857 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12858 $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'
12860 case `$CC -V 2>&1` in
12863 archive_cmds
='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
12864 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12865 $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
12869 archive_cmds
='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
12870 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12871 $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
12875 hardcode_libdir_flag_spec
='-R$libdir'
12876 hardcode_shlibpath_var
=no
12878 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
12880 # The compiler driver will combine and reorder linker options,
12881 # but understands '-z linker_flag'. GCC discards it without '$wl',
12882 # but is careful enough not to reorder.
12883 # Supported since Solaris 2.6 (maybe 2.5.1?)
12884 if test yes = "$GCC"; then
12885 whole_archive_flag_spec
='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
12887 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
12891 link_all_deplibs
=yes
12895 if test sequent
= "$host_vendor"; then
12896 # Use $CC to link under sequent, because it throws in some extra .o
12897 # files that make .init and .fini sections work.
12898 archive_cmds
='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
12900 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
12902 hardcode_libdir_flag_spec
='-L$libdir'
12903 hardcode_direct
=yes
12904 hardcode_minus_L
=yes
12905 hardcode_shlibpath_var
=no
12909 case $host_vendor in
12911 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12912 hardcode_direct
=yes # is this really true???
12915 ## LD is ld it makes a PLAMLIB
12916 ## CC just makes a GrossModule.
12917 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
12918 reload_cmds
='$CC -r -o $output$reload_objs'
12922 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12923 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
12926 runpath_var
='LD_RUN_PATH'
12927 hardcode_shlibpath_var
=no
12931 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12932 hardcode_shlibpath_var
=no
12933 export_dynamic_flag_spec
='-Bexport'
12937 if test -d /usr
/nec
; then
12938 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12939 hardcode_shlibpath_var
=no
12940 runpath_var
=LD_RUN_PATH
12941 hardcode_runpath_var
=yes
12946 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
12947 no_undefined_flag
='$wl-z,text'
12948 archive_cmds_need_lc
=no
12949 hardcode_shlibpath_var
=no
12950 runpath_var
='LD_RUN_PATH'
12952 if test yes = "$GCC"; then
12953 archive_cmds
='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12954 archive_expsym_cmds
='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12956 archive_cmds
='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12957 archive_expsym_cmds
='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12961 sysv5
* | sco3.2v5
* | sco5v6
*)
12962 # Note: We CANNOT use -z defs as we might desire, because we do not
12963 # link with -lc, and that would cause any symbols used from libc to
12964 # always be unresolved, which means just about no library would
12965 # ever link correctly. If we're not using GNU ld we use -z text
12966 # though, which does catch some bad symbols but isn't as heavy-handed
12968 no_undefined_flag
='$wl-z,text'
12969 allow_undefined_flag
='$wl-z,nodefs'
12970 archive_cmds_need_lc
=no
12971 hardcode_shlibpath_var
=no
12972 hardcode_libdir_flag_spec
='$wl-R,$libdir'
12973 hardcode_libdir_separator
=':'
12974 link_all_deplibs
=yes
12975 export_dynamic_flag_spec
='$wl-Bexport'
12976 runpath_var
='LD_RUN_PATH'
12978 if test yes = "$GCC"; then
12979 archive_cmds
='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12980 archive_expsym_cmds
='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12982 archive_cmds
='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12983 archive_expsym_cmds
='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12988 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12989 hardcode_libdir_flag_spec
='-L$libdir'
12990 hardcode_shlibpath_var
=no
12998 if test sni
= "$host_vendor"; then
13000 sysv4
| sysv4.2uw2
* | sysv4.3
* | sysv5
*)
13001 export_dynamic_flag_spec
='$wl-Blargedynsym'
13007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
13008 $as_echo "$ld_shlibs" >&6; }
13009 test no
= "$ld_shlibs" && can_build_shared
=no
13011 with_gnu_ld
=$with_gnu_ld
13028 # Do we need to explicitly link libc?
13030 case "x$archive_cmds_need_lc" in
13032 # Assume -lc should be added
13033 archive_cmds_need_lc
=yes
13035 if test yes,yes = "$GCC,$enable_shared"; then
13036 case $archive_cmds in
13038 # FIXME: we may have to deal with multi-command sequences.
13041 # Test whether the compiler implicitly links with -lc since on some
13042 # systems, -lgcc has to come before -lc. If gcc already passes -lc
13043 # to ld, don't add -lc before -lgcc.
13044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
13045 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
13046 if ${lt_cv_archive_cmds_need_lc+:} false
; then :
13047 $as_echo_n "(cached) " >&6
13050 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13052 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13053 (eval $ac_compile) 2>&5
13055 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13056 test $ac_status = 0; } 2>conftest.err
; then
13059 libobjs
=conftest.
$ac_objext
13061 wl
=$lt_prog_compiler_wl
13062 pic_flag
=$lt_prog_compiler_pic
13068 lt_save_allow_undefined_flag
=$allow_undefined_flag
13069 allow_undefined_flag
=
13070 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
13071 (eval $archive_cmds 2\
>\
&1 \
| $GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
13073 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13074 test $ac_status = 0; }
13076 lt_cv_archive_cmds_need_lc
=no
13078 lt_cv_archive_cmds_need_lc
=yes
13080 allow_undefined_flag
=$lt_save_allow_undefined_flag
13082 cat conftest.err
1>&5
13087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
13088 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
13089 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
13247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
13248 $as_echo_n "checking dynamic linker characteristics... " >&6; }
13250 if test yes = "$GCC"; then
13252 darwin
*) lt_awk_arg
='/^libraries:/,/LR/' ;;
13253 *) lt_awk_arg
='/^libraries:/' ;;
13256 mingw
* | cegcc
*) lt_sed_strip_eq
='s|=\([A-Za-z]:\)|\1|g' ;;
13257 *) lt_sed_strip_eq
='s|=/|/|g' ;;
13259 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
13260 case $lt_search_path_spec in
13262 # if the path contains ";" then we assume it to be the separator
13263 # otherwise default to the standard path separator (i.e. ":") - it is
13264 # assumed that no part of a normal pathname contains ";" but that should
13265 # okay in the real world where ";" in dirpaths is itself problematic.
13266 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
13269 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
13272 # Ok, now we have the path, separated by spaces, we can step through it
13273 # and add multilib dir if necessary...
13274 lt_tmp_lt_search_path_spec
=
13275 lt_multi_os_dir
=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
13276 # ...but if some path component already ends with the multilib dir we assume
13277 # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
13278 case "$lt_multi_os_dir; $lt_search_path_spec " in
13279 "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
13283 for lt_sys_path
in $lt_search_path_spec; do
13284 if test -d "$lt_sys_path$lt_multi_os_dir"; then
13285 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
13286 elif test -n "$lt_multi_os_dir"; then
13287 test -d "$lt_sys_path" && \
13288 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
13291 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
13292 BEGIN {RS = " "; FS = "/|\n";} {
13295 for (lt_i = NF; lt_i > 0; lt_i--) {
13296 if ($lt_i != "" && $lt_i != ".") {
13297 if ($lt_i == "..") {
13300 if (lt_count == 0) {
13301 lt_foo = "/" $lt_i lt_foo;
13308 if (lt_foo != "") { lt_freq[lt_foo]++; }
13309 if (lt_freq[lt_foo] == 1) { print lt_foo; }
13311 # AWK program above erroneously prepends '/' to C:/dos/paths
13314 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
13315 $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
13317 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
13319 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
13321 library_names_spec
=
13322 libname_spec
='lib$name'
13326 postuninstall_cmds
=
13330 shlibpath_overrides_runpath
=unknown
13332 dynamic_linker
="$host_os ld.so"
13333 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
13334 need_lib_prefix
=unknown
13335 hardcode_into_libs
=no
13337 # when you set need_version to no, make sure it does not cause -set_version
13338 # flags to be left without arguments
13339 need_version
=unknown
13345 version_type
=linux
# correct to gnu/linux during the next big refactor
13346 library_names_spec
='$libname$release$shared_ext$versuffix $libname.a'
13347 shlibpath_var
=LIBPATH
13349 # AIX 3 has no versioning support, so we append a major version to the name.
13350 soname_spec
='$libname$release$shared_ext$major'
13354 version_type
=linux
# correct to gnu/linux during the next big refactor
13357 hardcode_into_libs
=yes
13358 if test ia64
= "$host_cpu"; then
13359 # AIX 5 supports IA64
13360 library_names_spec
='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
13361 shlibpath_var
=LD_LIBRARY_PATH
13363 # With GCC up to 2.95.x, collect2 would create an import file
13364 # for dependence libraries. The import file would start with
13365 # the line '#! .'. This would cause the generated library to
13366 # depend on '.', always an invalid library. This was fixed in
13367 # development snapshots of GCC prior to 3.0.
13369 aix4
| aix4.
[01] | aix4.
[01].
*)
13370 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
13372 echo '#endif'; } | $CC -E - | $GREP yes > /dev
/null
; then
13375 can_build_shared
=no
13379 # Using Import Files as archive members, it is possible to support
13380 # filename-based versioning of shared library archives on AIX. While
13381 # this would work for both with and without runtime linking, it will
13382 # prevent static linking of such archives. So we do filename-based
13383 # shared library versioning with .so extension only, which is used
13384 # when both runtime linking and shared linking is enabled.
13385 # Unfortunately, runtime linking may impact performance, so we do
13386 # not want this to be the default eventually. Also, we use the
13387 # versioned .so libs for executables only if there is the -brtl
13388 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
13389 # To allow for filename-based versioning support, we need to create
13390 # libNAME.so.V as an archive file, containing:
13391 # *) an Import File, referring to the versioned filename of the
13392 # archive as well as the shared archive member, telling the
13393 # bitwidth (32 or 64) of that shared object, and providing the
13394 # list of exported symbols of that shared object, eventually
13395 # decorated with the 'weak' keyword
13396 # *) the shared object with the F_LOADONLY flag set, to really avoid
13397 # it being seen by the linker.
13398 # At run time we better use the real file rather than another symlink,
13399 # but for link time we create the symlink libNAME.so -> libNAME.so.V
13401 case $with_aix_soname,$aix_use_runtimelinking in
13402 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
13403 # soname into executable. Probably we can add versioning support to
13404 # collect2, so additional links can be useful in future.
13405 aix
,yes) # traditional libtool
13406 dynamic_linker
='AIX unversionable lib.so'
13407 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
13408 # instead of lib<name>.a to let people know that these are not
13409 # typical AIX shared libraries.
13410 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13412 aix
,no
) # traditional AIX only
13413 dynamic_linker
='AIX lib.a(lib.so.V)'
13414 # We preserve .a as extension for shared libraries through AIX4.2
13415 # and later when we are not doing run time linking.
13416 library_names_spec
='$libname$release.a $libname.a'
13417 soname_spec
='$libname$release$shared_ext$major'
13419 svr4
,*) # full svr4 only
13420 dynamic_linker
="AIX lib.so.V($shared_archive_member_spec.o)"
13421 library_names_spec
='$libname$release$shared_ext$major $libname$shared_ext'
13422 # We do not specify a path in Import Files, so LIBPATH fires.
13423 shlibpath_overrides_runpath
=yes
13425 *,yes) # both, prefer svr4
13426 dynamic_linker
="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
13427 library_names_spec
='$libname$release$shared_ext$major $libname$shared_ext'
13428 # unpreferred sharedlib libNAME.a needs extra handling
13429 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"'
13430 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"'
13431 # We do not specify a path in Import Files, so LIBPATH fires.
13432 shlibpath_overrides_runpath
=yes
13434 *,no
) # both, prefer aix
13435 dynamic_linker
="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
13436 library_names_spec
='$libname$release.a $libname.a'
13437 soname_spec
='$libname$release$shared_ext$major'
13438 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
13439 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)'
13440 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"'
13443 shlibpath_var
=LIBPATH
13450 # Since July 2007 AmigaOS4 officially supports .so libraries.
13451 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
13452 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13455 library_names_spec
='$libname.ixlibrary $libname.a'
13456 # Create ${libname}_ixlibrary.a entries in /sys/libs.
13457 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'
13463 library_names_spec
='$libname$shared_ext'
13464 dynamic_linker
="$host_os ld.so"
13465 shlibpath_var
=LIBRARY_PATH
13469 version_type
=linux
# correct to gnu/linux during the next big refactor
13471 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13472 soname_spec
='$libname$release$shared_ext$major'
13473 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
13474 shlibpath_var
=LD_LIBRARY_PATH
13475 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
13476 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
13477 # the default ld.so.conf also contains /usr/contrib/lib and
13478 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
13479 # libtool to hard-code these into programs
13482 cygwin
* | mingw
* | pw32
* | cegcc
*)
13483 version_type
=windows
13488 case $GCC,$cc_basename in
13491 library_names_spec
='$libname.dll.a'
13492 # DLL is installed to $(libdir)/../bin by postinstall_cmds
13493 postinstall_cmds
='base_file=`basename \$file`~
13494 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
13495 dldir=$destdir/`dirname \$dlpath`~
13496 test -d \$dldir || mkdir -p \$dldir~
13497 $install_prog $dir/$dlname \$dldir/$dlname~
13498 chmod a+x \$dldir/$dlname~
13499 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
13500 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
13502 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
13503 dlpath=$dir/\$dldll~
13505 shlibpath_overrides_runpath
=yes
13509 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
13510 soname_spec
='`echo $libname | sed -e 's
/^lib
/cyg
/'``echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
13512 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
13515 # MinGW DLLs use traditional 'lib' prefix
13516 soname_spec
='$libname`echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
13519 # pw32 DLLs use 'pw' prefix rather than 'lib'
13520 library_names_spec
='`echo $libname | sed -e 's
/^lib
/pw
/'``echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
13523 dynamic_linker
='Win32 ld.exe'
13528 libname_spec
='$name'
13529 soname_spec
='$libname`echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
13530 library_names_spec
='$libname.dll.lib'
13534 sys_lib_search_path_spec
=
13537 for lt_path
in $LIB
13540 # Let DOS variable expansion print the short 8.3 style file name.
13541 lt_path
=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
13542 sys_lib_search_path_spec
="$sys_lib_search_path_spec $lt_path"
13545 # Convert to MSYS style.
13546 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
13549 # Convert to unix form, then to dos form, then back to unix form
13550 # but this time dos style (no spaces!) so that the unix form looks
13551 # like /cygdrive/c/PROGRA~1:/cygdr...
13552 sys_lib_search_path_spec
=`cygpath --path --unix "$LIB"`
13553 sys_lib_search_path_spec
=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
13554 sys_lib_search_path_spec
=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
13557 sys_lib_search_path_spec
=$LIB
13558 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev
/null
; then
13559 # It is most probably a Windows format PATH.
13560 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
13562 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
13564 # FIXME: find the short name or the path components, as spaces are
13565 # common. (e.g. "Program Files" -> "PROGRA~1")
13569 # DLL is installed to $(libdir)/../bin by postinstall_cmds
13570 postinstall_cmds
='base_file=`basename \$file`~
13571 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
13572 dldir=$destdir/`dirname \$dlpath`~
13573 test -d \$dldir || mkdir -p \$dldir~
13574 $install_prog $dir/$dlname \$dldir/$dlname'
13575 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
13576 dlpath=$dir/\$dldll~
13578 shlibpath_overrides_runpath
=yes
13579 dynamic_linker
='Win32 link.exe'
13583 # Assume MSVC wrapper
13584 library_names_spec
='$libname`echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext $libname.lib'
13585 dynamic_linker
='Win32 ld.exe'
13588 # FIXME: first we should search . and the directory the executable is in
13592 darwin
* | rhapsody
*)
13593 dynamic_linker
="$host_os dyld"
13594 version_type
=darwin
13597 library_names_spec
='$libname$release$major$shared_ext $libname$shared_ext'
13598 soname_spec
='$libname$release$major$shared_ext'
13599 shlibpath_overrides_runpath
=yes
13600 shlibpath_var
=DYLD_LIBRARY_PATH
13601 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
13603 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
13604 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
13608 version_type
=linux
# correct to gnu/linux during the next big refactor
13611 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13612 soname_spec
='$libname$release$shared_ext$major'
13613 shlibpath_var
=LD_LIBRARY_PATH
13616 freebsd
* | dragonfly
*)
13617 # DragonFly does not have aout. When/if they implement a new
13618 # versioning mechanism, adjust this.
13619 if test -x /usr
/bin
/objformat
; then
13620 objformat
=`/usr/bin/objformat`
13623 freebsd
[23].
*) objformat
=aout
;;
13624 *) objformat
=elf
;;
13627 version_type
=freebsd
-$objformat
13628 case $version_type in
13630 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13631 soname_spec
='$libname$release$shared_ext$major'
13636 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
13640 shlibpath_var
=LD_LIBRARY_PATH
13643 shlibpath_overrides_runpath
=yes
13645 freebsd3.
[01]* | freebsdelf3.
[01]*)
13646 shlibpath_overrides_runpath
=yes
13647 hardcode_into_libs
=yes
13649 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
13650 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
13651 shlibpath_overrides_runpath
=no
13652 hardcode_into_libs
=yes
13654 *) # from 4.6 on, and DragonFly
13655 shlibpath_overrides_runpath
=yes
13656 hardcode_into_libs
=yes
13662 version_type
=linux
# correct to gnu/linux during the next big refactor
13665 dynamic_linker
="$host_os runtime_loader"
13666 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13667 soname_spec
='$libname$release$shared_ext$major'
13668 shlibpath_var
=LIBRARY_PATH
13669 shlibpath_overrides_runpath
=no
13670 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
13671 hardcode_into_libs
=yes
13674 hpux9
* | hpux10
* | hpux11
*)
13675 # Give a soname corresponding to the major version so that dld.sl refuses to
13676 # link against other versions.
13683 hardcode_into_libs
=yes
13684 dynamic_linker
="$host_os dld.so"
13685 shlibpath_var
=LD_LIBRARY_PATH
13686 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
13687 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13688 soname_spec
='$libname$release$shared_ext$major'
13689 if test 32 = "$HPUX_IA64_MODE"; then
13690 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
13691 sys_lib_dlsearch_path_spec
=/usr
/lib
/hpux32
13693 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
13694 sys_lib_dlsearch_path_spec
=/usr
/lib
/hpux64
13699 hardcode_into_libs
=yes
13700 dynamic_linker
="$host_os dld.sl"
13701 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
13702 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
13703 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13704 soname_spec
='$libname$release$shared_ext$major'
13705 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
13706 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
13710 dynamic_linker
="$host_os dld.sl"
13711 shlibpath_var
=SHLIB_PATH
13712 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
13713 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13714 soname_spec
='$libname$release$shared_ext$major'
13717 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
13718 postinstall_cmds
='chmod 555 $lib'
13719 # or fails outright, so override atomically:
13720 install_override_mode
=555
13724 version_type
=linux
# correct to gnu/linux during the next big refactor
13727 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13728 soname_spec
='$libname$release$shared_ext$major'
13729 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
13730 shlibpath_var
=LD_LIBRARY_PATH
13731 shlibpath_overrides_runpath
=no
13732 hardcode_into_libs
=yes
13735 irix5
* | irix6
* | nonstopux
*)
13737 nonstopux
*) version_type
=nonstopux
;;
13739 if test yes = "$lt_cv_prog_gnu_ld"; then
13740 version_type
=linux
# correct to gnu/linux during the next big refactor
13747 soname_spec
='$libname$release$shared_ext$major'
13748 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
13750 irix5
* | nonstopux
*)
13751 libsuff
= shlibsuff
=
13754 case $LD in # libtool.m4 will add one of these switches to LD
13755 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
13756 libsuff
= shlibsuff
= libmagic
=32-bit;;
13757 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
13758 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
13759 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
13760 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
13761 *) libsuff
= shlibsuff
= libmagic
=never
-match;;
13765 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
13766 shlibpath_overrides_runpath
=no
13767 sys_lib_search_path_spec
="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
13768 sys_lib_dlsearch_path_spec
="/usr/lib$libsuff /lib$libsuff"
13769 hardcode_into_libs
=yes
13772 # No shared lib support for Linux oldld, aout, or coff.
13773 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
13778 version_type
=none
# Android doesn't support versioned libraries.
13781 library_names_spec
='$libname$release$shared_ext'
13782 soname_spec
='$libname$release$shared_ext'
13784 shlibpath_var
=LD_LIBRARY_PATH
13785 shlibpath_overrides_runpath
=yes
13787 # This implies no fast_install, which is unacceptable.
13788 # Some rework will be needed to allow for fast_install
13789 # before this can be enabled.
13790 hardcode_into_libs
=yes
13792 dynamic_linker
='Android linker'
13793 # Don't embed -rpath directories since the linker doesn't support them.
13794 hardcode_libdir_flag_spec
='-L$libdir'
13797 # This must be glibc/ELF.
13798 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
13799 version_type
=linux
# correct to gnu/linux during the next big refactor
13802 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13803 soname_spec
='$libname$release$shared_ext$major'
13804 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
13805 shlibpath_var
=LD_LIBRARY_PATH
13806 shlibpath_overrides_runpath
=no
13808 # Some binutils ld are patched to set DT_RUNPATH
13809 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
13810 $as_echo_n "(cached) " >&6
13812 lt_cv_shlibpath_overrides_runpath
=no
13813 save_LDFLAGS
=$LDFLAGS
13814 save_libdir
=$libdir
13815 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
13816 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
13817 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13818 /* end confdefs.h. */
13828 if ac_fn_c_try_link
"$LINENO"; then :
13829 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null
| grep "RUNPATH.*$libdir" >/dev
/null
; then :
13830 lt_cv_shlibpath_overrides_runpath
=yes
13833 rm -f core conftest.err conftest.
$ac_objext \
13834 conftest
$ac_exeext conftest.
$ac_ext
13835 LDFLAGS
=$save_LDFLAGS
13836 libdir
=$save_libdir
13840 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
13842 # This implies no fast_install, which is unacceptable.
13843 # Some rework will be needed to allow for fast_install
13844 # before this can be enabled.
13845 hardcode_into_libs
=yes
13847 # Ideally, we could use ldconfig to report *all* directores which are
13848 # searched for libraries, however this is still not possible. Aside from not
13849 # being certain /sbin/ldconfig is available, command
13850 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
13851 # even though it is searched at run-time. Try to do the best guess by
13852 # appending ld.so.conf contents (and includes) to the search path.
13853 if test -f /etc
/ld.so.conf
; then
13854 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' ' '`
13855 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
13858 # We used to test for /lib/ld.so.1 and disable shared libraries on
13859 # powerpc, because MkLinux only supported shared libraries with the
13860 # GNU dynamic linker. Since this was broken with cross compilers,
13861 # most powerpc-linux boxes support dynamic linking these days and
13862 # people can always --disable-shared, the test was removed, and we
13863 # assume the GNU/Linux dynamic linker is in use.
13864 dynamic_linker
='GNU/Linux ld.so'
13871 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
13872 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
13873 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13874 dynamic_linker
='NetBSD (a.out) ld.so'
13876 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13877 soname_spec
='$libname$release$shared_ext$major'
13878 dynamic_linker
='NetBSD ld.elf_so'
13880 shlibpath_var
=LD_LIBRARY_PATH
13881 shlibpath_overrides_runpath
=yes
13882 hardcode_into_libs
=yes
13886 version_type
=linux
# correct to gnu/linux during the next big refactor
13887 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13888 shlibpath_var
=LD_LIBRARY_PATH
13889 shlibpath_overrides_runpath
=yes
13896 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13897 soname_spec
='$libname$release$shared_ext$major'
13898 shlibpath_var
=LD_LIBRARY_PATH
13899 shlibpath_overrides_runpath
=no
13900 hardcode_into_libs
=yes
13901 dynamic_linker
='ldqnx.so'
13904 openbsd
* | bitrig
*)
13906 sys_lib_dlsearch_path_spec
=/usr
/lib
13908 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
13913 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
13914 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13915 shlibpath_var
=LD_LIBRARY_PATH
13916 shlibpath_overrides_runpath
=yes
13920 libname_spec
='$name'
13921 version_type
=windows
13925 # OS/2 can only load a DLL with a base name of 8 characters or less.
13926 soname_spec
='`test -n "$os2dllname" && libname="$os2dllname";
13927 v=$($ECHO $release$versuffix | tr -d .-);
13928 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
13929 $ECHO $n$v`$shared_ext'
13930 library_names_spec
='${libname}_dll.$libext'
13931 dynamic_linker
='OS/2 ld.exe'
13932 shlibpath_var
=BEGINLIBPATH
13933 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
13934 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
13935 postinstall_cmds
='base_file=`basename \$file`~
13936 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
13937 dldir=$destdir/`dirname \$dlpath`~
13938 test -d \$dldir || mkdir -p \$dldir~
13939 $install_prog $dir/$dlname \$dldir/$dlname~
13940 chmod a+x \$dldir/$dlname~
13941 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
13942 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
13944 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
13945 dlpath=$dir/\$dldll~
13949 osf3
* | osf4
* | osf5
*)
13953 soname_spec
='$libname$release$shared_ext$major'
13954 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13955 shlibpath_var
=LD_LIBRARY_PATH
13956 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
13957 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
13965 version_type
=linux
# correct to gnu/linux during the next big refactor
13968 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13969 soname_spec
='$libname$release$shared_ext$major'
13970 shlibpath_var
=LD_LIBRARY_PATH
13971 shlibpath_overrides_runpath
=yes
13972 hardcode_into_libs
=yes
13973 # ldd complains unless libraries are executable
13974 postinstall_cmds
='chmod +x $lib'
13979 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
13980 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
13981 shlibpath_var
=LD_LIBRARY_PATH
13982 shlibpath_overrides_runpath
=yes
13983 if test yes = "$with_gnu_ld"; then
13990 version_type
=linux
# correct to gnu/linux during the next big refactor
13991 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13992 soname_spec
='$libname$release$shared_ext$major'
13993 shlibpath_var
=LD_LIBRARY_PATH
13994 case $host_vendor in
13996 shlibpath_overrides_runpath
=no
13998 runpath_var
=LD_RUN_PATH
14006 shlibpath_overrides_runpath
=no
14007 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
14013 if test -d /usr
/nec
; then
14014 version_type
=linux
# correct to gnu/linux during the next big refactor
14015 library_names_spec
='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
14016 soname_spec
='$libname$shared_ext.$major'
14017 shlibpath_var
=LD_LIBRARY_PATH
14021 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
14025 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
14026 soname_spec
='$libname$release$shared_ext$major'
14027 shlibpath_var
=LD_LIBRARY_PATH
14028 shlibpath_overrides_runpath
=yes
14029 hardcode_into_libs
=yes
14030 if test yes = "$with_gnu_ld"; then
14031 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14033 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
14036 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
14040 sys_lib_dlsearch_path_spec
='/usr/lib'
14044 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
14045 version_type
=linux
# correct to gnu/linux during the next big refactor
14048 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
14049 shlibpath_var
=LD_LIBRARY_PATH
14050 shlibpath_overrides_runpath
=no
14051 hardcode_into_libs
=yes
14055 version_type
=linux
# correct to gnu/linux during the next big refactor
14056 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
14057 soname_spec
='$libname$release$shared_ext$major'
14058 shlibpath_var
=LD_LIBRARY_PATH
14065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14066 $as_echo "$dynamic_linker" >&6; }
14067 test no
= "$dynamic_linker" && can_build_shared
=no
14069 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
14070 if test yes = "$GCC"; then
14071 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14074 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
14075 sys_lib_search_path_spec
=$lt_cv_sys_lib_search_path_spec
14078 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
14079 sys_lib_dlsearch_path_spec
=$lt_cv_sys_lib_dlsearch_path_spec
14082 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
14083 configure_time_dlsearch_path
=$sys_lib_dlsearch_path_spec
14085 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
14086 func_munge_path_list sys_lib_dlsearch_path_spec
"$LT_SYS_LIBRARY_PATH"
14088 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
14089 configure_time_lt_sys_library_path
=$LT_SYS_LIBRARY_PATH
14187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14188 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14190 if test -n "$hardcode_libdir_flag_spec" ||
14191 test -n "$runpath_var" ||
14192 test yes = "$hardcode_automatic"; then
14194 # We can hardcode non-existent directories.
14195 if test no
!= "$hardcode_direct" &&
14196 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14197 # have to relink, otherwise we might link with an installed library
14198 # when we should be linking with a yet-to-be-installed one
14199 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
14200 test no
!= "$hardcode_minus_L"; then
14201 # Linking always hardcodes the temporary library directory.
14202 hardcode_action
=relink
14204 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14205 hardcode_action
=immediate
14208 # We cannot hardcode anything, or else we can only hardcode existing
14210 hardcode_action
=unsupported
14212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
14213 $as_echo "$hardcode_action" >&6; }
14215 if test relink
= "$hardcode_action" ||
14216 test yes = "$inherit_rpath"; then
14217 # Fast installation is not supported
14218 enable_fast_install
=no
14219 elif test yes = "$shlibpath_overrides_runpath" ||
14220 test no
= "$enable_shared"; then
14221 # Fast installation is not necessary
14222 enable_fast_install
=needless
14230 if test yes != "$enable_dlopen"; then
14231 enable_dlopen
=unknown
14232 enable_dlopen_self
=unknown
14233 enable_dlopen_self_static
=unknown
14240 lt_cv_dlopen
=load_add_on
14242 lt_cv_dlopen_self
=yes
14245 mingw
* | pw32
* | cegcc
*)
14246 lt_cv_dlopen
=LoadLibrary
14251 lt_cv_dlopen
=dlopen
14256 # if libdl is installed we need to link against it
14257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14258 $as_echo_n "checking for dlopen in -ldl... " >&6; }
14259 if ${ac_cv_lib_dl_dlopen+:} false
; then :
14260 $as_echo_n "(cached) " >&6
14262 ac_check_lib_save_LIBS
=$LIBS
14264 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14265 /* end confdefs.h. */
14267 /* Override any GCC internal prototype to avoid an error.
14268 Use char because int might match the return type of a GCC
14269 builtin and then its argument prototype would still apply. */
14282 if ac_fn_c_try_link
"$LINENO"; then :
14283 ac_cv_lib_dl_dlopen
=yes
14285 ac_cv_lib_dl_dlopen
=no
14287 rm -f core conftest.err conftest.
$ac_objext \
14288 conftest
$ac_exeext conftest.
$ac_ext
14289 LIBS
=$ac_check_lib_save_LIBS
14291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14292 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
14293 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
14294 lt_cv_dlopen
=dlopen lt_cv_dlopen_libs
=-ldl
14299 lt_cv_dlopen_self
=yes
14306 # Don't try to run any link tests for TPF. We know it's impossible
14307 # because TPF is a cross-compiler, and we know how we open DSOs.
14308 lt_cv_dlopen
=dlopen
14310 lt_cv_dlopen_self
=no
14314 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
14315 if test "x$ac_cv_func_shl_load" = xyes
; then :
14316 lt_cv_dlopen
=shl_load
14318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
14319 $as_echo_n "checking for shl_load in -ldld... " >&6; }
14320 if ${ac_cv_lib_dld_shl_load+:} false
; then :
14321 $as_echo_n "(cached) " >&6
14323 ac_check_lib_save_LIBS
=$LIBS
14325 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14326 /* end confdefs.h. */
14328 /* Override any GCC internal prototype to avoid an error.
14329 Use char because int might match the return type of a GCC
14330 builtin and then its argument prototype would still apply. */
14338 return shl_load ();
14343 if ac_fn_c_try_link
"$LINENO"; then :
14344 ac_cv_lib_dld_shl_load
=yes
14346 ac_cv_lib_dld_shl_load
=no
14348 rm -f core conftest.err conftest.
$ac_objext \
14349 conftest
$ac_exeext conftest.
$ac_ext
14350 LIBS
=$ac_check_lib_save_LIBS
14352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
14353 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
14354 if test "x$ac_cv_lib_dld_shl_load" = xyes
; then :
14355 lt_cv_dlopen
=shl_load lt_cv_dlopen_libs
=-ldld
14357 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
14358 if test "x$ac_cv_func_dlopen" = xyes
; then :
14359 lt_cv_dlopen
=dlopen
14361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14362 $as_echo_n "checking for dlopen in -ldl... " >&6; }
14363 if ${ac_cv_lib_dl_dlopen+:} false
; then :
14364 $as_echo_n "(cached) " >&6
14366 ac_check_lib_save_LIBS
=$LIBS
14368 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14369 /* end confdefs.h. */
14371 /* Override any GCC internal prototype to avoid an error.
14372 Use char because int might match the return type of a GCC
14373 builtin and then its argument prototype would still apply. */
14386 if ac_fn_c_try_link
"$LINENO"; then :
14387 ac_cv_lib_dl_dlopen
=yes
14389 ac_cv_lib_dl_dlopen
=no
14391 rm -f core conftest.err conftest.
$ac_objext \
14392 conftest
$ac_exeext conftest.
$ac_ext
14393 LIBS
=$ac_check_lib_save_LIBS
14395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14396 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
14397 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
14398 lt_cv_dlopen
=dlopen lt_cv_dlopen_libs
=-ldl
14400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
14401 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
14402 if ${ac_cv_lib_svld_dlopen+:} false
; then :
14403 $as_echo_n "(cached) " >&6
14405 ac_check_lib_save_LIBS
=$LIBS
14406 LIBS
="-lsvld $LIBS"
14407 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14408 /* end confdefs.h. */
14410 /* Override any GCC internal prototype to avoid an error.
14411 Use char because int might match the return type of a GCC
14412 builtin and then its argument prototype would still apply. */
14425 if ac_fn_c_try_link
"$LINENO"; then :
14426 ac_cv_lib_svld_dlopen
=yes
14428 ac_cv_lib_svld_dlopen
=no
14430 rm -f core conftest.err conftest.
$ac_objext \
14431 conftest
$ac_exeext conftest.
$ac_ext
14432 LIBS
=$ac_check_lib_save_LIBS
14434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
14435 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
14436 if test "x$ac_cv_lib_svld_dlopen" = xyes
; then :
14437 lt_cv_dlopen
=dlopen lt_cv_dlopen_libs
=-lsvld
14439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
14440 $as_echo_n "checking for dld_link in -ldld... " >&6; }
14441 if ${ac_cv_lib_dld_dld_link+:} false
; then :
14442 $as_echo_n "(cached) " >&6
14444 ac_check_lib_save_LIBS
=$LIBS
14446 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14447 /* end confdefs.h. */
14449 /* Override any GCC internal prototype to avoid an error.
14450 Use char because int might match the return type of a GCC
14451 builtin and then its argument prototype would still apply. */
14459 return dld_link ();
14464 if ac_fn_c_try_link
"$LINENO"; then :
14465 ac_cv_lib_dld_dld_link
=yes
14467 ac_cv_lib_dld_dld_link
=no
14469 rm -f core conftest.err conftest.
$ac_objext \
14470 conftest
$ac_exeext conftest.
$ac_ext
14471 LIBS
=$ac_check_lib_save_LIBS
14473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
14474 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
14475 if test "x$ac_cv_lib_dld_dld_link" = xyes
; then :
14476 lt_cv_dlopen
=dld_link lt_cv_dlopen_libs
=-ldld
14497 if test no
= "$lt_cv_dlopen"; then
14503 case $lt_cv_dlopen in
14505 save_CPPFLAGS
=$CPPFLAGS
14506 test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
14508 save_LDFLAGS
=$LDFLAGS
14509 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
14512 LIBS
="$lt_cv_dlopen_libs $LIBS"
14514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
14515 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
14516 if ${lt_cv_dlopen_self+:} false
; then :
14517 $as_echo_n "(cached) " >&6
14519 if test yes = "$cross_compiling"; then :
14520 lt_cv_dlopen_self
=cross
14522 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
14523 lt_status
=$lt_dlunknown
14524 cat > conftest.
$ac_ext <<_LT_EOF
14525 #line $LINENO "configure"
14526 #include "confdefs.h"
14535 # define LT_DLGLOBAL RTLD_GLOBAL
14538 # define LT_DLGLOBAL DL_GLOBAL
14540 # define LT_DLGLOBAL 0
14544 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
14545 find out it does not work in some platform. */
14546 #ifndef LT_DLLAZY_OR_NOW
14548 # define LT_DLLAZY_OR_NOW RTLD_LAZY
14551 # define LT_DLLAZY_OR_NOW DL_LAZY
14554 # define LT_DLLAZY_OR_NOW RTLD_NOW
14557 # define LT_DLLAZY_OR_NOW DL_NOW
14559 # define LT_DLLAZY_OR_NOW 0
14566 /* When -fvisibility=hidden is used, assume the code has been annotated
14567 correspondingly for the symbols needed. */
14568 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
14569 int fnord () __attribute__((visibility("default")));
14572 int fnord () { return 42; }
14575 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
14576 int status = $lt_dlunknown;
14580 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
14583 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
14584 else puts (dlerror ());
14586 /* dlclose (self); */
14594 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
14595 (eval $ac_link) 2>&5
14597 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14598 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev
/null
; then
14599 (.
/conftest
; exit; ) >&5 2>/dev
/null
14601 case x
$lt_status in
14602 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
14603 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
14604 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
14607 # compilation failed
14608 lt_cv_dlopen_self
=no
14615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
14616 $as_echo "$lt_cv_dlopen_self" >&6; }
14618 if test yes = "$lt_cv_dlopen_self"; then
14619 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
14620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
14621 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
14622 if ${lt_cv_dlopen_self_static+:} false
; then :
14623 $as_echo_n "(cached) " >&6
14625 if test yes = "$cross_compiling"; then :
14626 lt_cv_dlopen_self_static
=cross
14628 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
14629 lt_status
=$lt_dlunknown
14630 cat > conftest.
$ac_ext <<_LT_EOF
14631 #line $LINENO "configure"
14632 #include "confdefs.h"
14641 # define LT_DLGLOBAL RTLD_GLOBAL
14644 # define LT_DLGLOBAL DL_GLOBAL
14646 # define LT_DLGLOBAL 0
14650 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
14651 find out it does not work in some platform. */
14652 #ifndef LT_DLLAZY_OR_NOW
14654 # define LT_DLLAZY_OR_NOW RTLD_LAZY
14657 # define LT_DLLAZY_OR_NOW DL_LAZY
14660 # define LT_DLLAZY_OR_NOW RTLD_NOW
14663 # define LT_DLLAZY_OR_NOW DL_NOW
14665 # define LT_DLLAZY_OR_NOW 0
14672 /* When -fvisibility=hidden is used, assume the code has been annotated
14673 correspondingly for the symbols needed. */
14674 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
14675 int fnord () __attribute__((visibility("default")));
14678 int fnord () { return 42; }
14681 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
14682 int status = $lt_dlunknown;
14686 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
14689 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
14690 else puts (dlerror ());
14692 /* dlclose (self); */
14700 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
14701 (eval $ac_link) 2>&5
14703 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14704 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev
/null
; then
14705 (.
/conftest
; exit; ) >&5 2>/dev
/null
14707 case x
$lt_status in
14708 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
14709 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
14710 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
14713 # compilation failed
14714 lt_cv_dlopen_self_static
=no
14721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
14722 $as_echo "$lt_cv_dlopen_self_static" >&6; }
14725 CPPFLAGS
=$save_CPPFLAGS
14726 LDFLAGS
=$save_LDFLAGS
14731 case $lt_cv_dlopen_self in
14732 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
14733 *) enable_dlopen_self
=unknown
;;
14736 case $lt_cv_dlopen_self_static in
14737 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
14738 *) enable_dlopen_self_static
=unknown
;;
14760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
14761 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
14762 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev
/null
; then
14763 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
14764 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
14765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14766 $as_echo "yes" >&6; }
14768 # FIXME - insert some real tests, host_os isn't really good enough
14771 if test -n "$STRIP"; then
14772 striplib
="$STRIP -x"
14773 old_striplib
="$STRIP -S"
14774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14775 $as_echo "yes" >&6; }
14777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14778 $as_echo "no" >&6; }
14782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14783 $as_echo "no" >&6; }
14799 # Report what library types will actually be built
14800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
14801 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
14802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
14803 $as_echo "$can_build_shared" >&6; }
14805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
14806 $as_echo_n "checking whether to build shared libraries... " >&6; }
14807 test no
= "$can_build_shared" && enable_shared
=no
14809 # On AIX, shared libraries and static libraries use the same namespace, and
14810 # are all built from PIC.
14813 test yes = "$enable_shared" && enable_static
=no
14814 if test -n "$RANLIB"; then
14815 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
14816 postinstall_cmds
='$RANLIB $lib'
14821 if test ia64
!= "$host_cpu"; then
14822 case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
14823 yes,aix
,yes) ;; # shared object as lib.so file only
14824 yes,svr4
,*) ;; # shared object as lib.so archive member only
14825 yes,*) enable_static
=no
;; # shared object in lib.a archive as well
14830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
14831 $as_echo "$enable_shared" >&6; }
14833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
14834 $as_echo_n "checking whether to build static libraries... " >&6; }
14835 # Make sure either enable_shared or enable_static is yes.
14836 test yes = "$enable_shared" || enable_static
=yes
14837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
14838 $as_echo "$enable_static" >&6; }
14845 ac_cpp
='$CPP $CPPFLAGS'
14846 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14847 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14848 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14852 if test -n "$CXX" && ( test no
!= "$CXX" &&
14853 ( (test g
++ = "$CXX" && `g++ -v >/dev/null 2>&1` ) ||
14854 (test g
++ != "$CXX"))); then
14856 ac_cpp
='$CXXCPP $CPPFLAGS'
14857 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14858 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14859 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
14861 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
14862 if test -z "$CXXCPP"; then
14863 if ${ac_cv_prog_CXXCPP+:} false
; then :
14864 $as_echo_n "(cached) " >&6
14866 # Double quotes because CXXCPP needs to be expanded
14867 for CXXCPP
in "$CXX -E" "/lib/cpp"
14869 ac_preproc_ok
=false
14870 for ac_cxx_preproc_warn_flag
in '' yes
14872 # Use a header file that comes with gcc, so configuring glibc
14873 # with a fresh cross-compiler works.
14874 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14875 # <limits.h> exists even on freestanding compilers.
14876 # On the NeXT, cc -E runs the code through the compiler's parser,
14877 # not just through cpp. "Syntax error" is here to catch this case.
14878 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14879 /* end confdefs.h. */
14881 # include <limits.h>
14883 # include <assert.h>
14887 if ac_fn_cxx_try_cpp
"$LINENO"; then :
14890 # Broken: fails on valid input.
14893 rm -f conftest.err conftest.i conftest.
$ac_ext
14895 # OK, works on sane cases. Now check whether nonexistent headers
14896 # can be detected and how.
14897 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14898 /* end confdefs.h. */
14899 #include <ac_nonexistent.h>
14901 if ac_fn_cxx_try_cpp
"$LINENO"; then :
14902 # Broken: success on invalid input.
14905 # Passes both tests.
14909 rm -f conftest.err conftest.i conftest.
$ac_ext
14912 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
14913 rm -f conftest.i conftest.err conftest.
$ac_ext
14914 if $ac_preproc_ok; then :
14919 ac_cv_prog_CXXCPP
=$CXXCPP
14922 CXXCPP
=$ac_cv_prog_CXXCPP
14924 ac_cv_prog_CXXCPP
=$CXXCPP
14926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
14927 $as_echo "$CXXCPP" >&6; }
14928 ac_preproc_ok
=false
14929 for ac_cxx_preproc_warn_flag
in '' yes
14931 # Use a header file that comes with gcc, so configuring glibc
14932 # with a fresh cross-compiler works.
14933 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14934 # <limits.h> exists even on freestanding compilers.
14935 # On the NeXT, cc -E runs the code through the compiler's parser,
14936 # not just through cpp. "Syntax error" is here to catch this case.
14937 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14938 /* end confdefs.h. */
14940 # include <limits.h>
14942 # include <assert.h>
14946 if ac_fn_cxx_try_cpp
"$LINENO"; then :
14949 # Broken: fails on valid input.
14952 rm -f conftest.err conftest.i conftest.
$ac_ext
14954 # OK, works on sane cases. Now check whether nonexistent headers
14955 # can be detected and how.
14956 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14957 /* end confdefs.h. */
14958 #include <ac_nonexistent.h>
14960 if ac_fn_cxx_try_cpp
"$LINENO"; then :
14961 # Broken: success on invalid input.
14964 # Passes both tests.
14968 rm -f conftest.err conftest.i conftest.
$ac_ext
14971 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
14972 rm -f conftest.i conftest.err conftest.
$ac_ext
14973 if $ac_preproc_ok; then :
14976 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14977 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14978 as_fn_error $?
"C++ preprocessor \"$CXXCPP\" fails sanity check
14979 See \`config.log' for more details" "$LINENO" 5; }
14983 ac_cpp
='$CPP $CPPFLAGS'
14984 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14985 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14986 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14989 _lt_caught_CXX_error
=yes
14993 ac_cpp
='$CXXCPP $CPPFLAGS'
14994 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14995 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14996 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14998 archive_cmds_need_lc_CXX
=no
14999 allow_undefined_flag_CXX
=
15000 always_export_symbols_CXX
=no
15001 archive_expsym_cmds_CXX
=
15002 compiler_needs_object_CXX
=no
15003 export_dynamic_flag_spec_CXX
=
15004 hardcode_direct_CXX
=no
15005 hardcode_direct_absolute_CXX
=no
15006 hardcode_libdir_flag_spec_CXX
=
15007 hardcode_libdir_separator_CXX
=
15008 hardcode_minus_L_CXX
=no
15009 hardcode_shlibpath_var_CXX
=unsupported
15010 hardcode_automatic_CXX
=no
15011 inherit_rpath_CXX
=no
15013 module_expsym_cmds_CXX
=
15014 link_all_deplibs_CXX
=unknown
15015 old_archive_cmds_CXX
=$old_archive_cmds
15016 reload_flag_CXX
=$reload_flag
15017 reload_cmds_CXX
=$reload_cmds
15018 no_undefined_flag_CXX
=
15019 whole_archive_flag_spec_CXX
=
15020 enable_shared_with_static_runtimes_CXX
=no
15022 # Source file extension for C++ test sources.
15025 # Object file extension for compiled C++ test sources.
15029 # No sense in running all these tests if we already determined that
15030 # the CXX compiler isn't working. Some variables (like enable_shared)
15031 # are currently assumed to apply to all compilers on this platform,
15032 # and will be corrupted by setting them based on a non-working compiler.
15033 if test yes != "$_lt_caught_CXX_error"; then
15034 # Code to be used in simple compile tests
15035 lt_simple_compile_test_code
="int some_variable = 0;"
15037 # Code to be used in simple link tests
15038 lt_simple_link_test_code
='int main(int, char *[]) { return(0); }'
15040 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
15047 # If no C compiler was specified, use CC.
15050 # If no C compiler flags were specified, use CFLAGS.
15051 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
15053 # Allow CC to be a program name with arguments.
15057 # save warnings/boilerplate of simple test code
15058 ac_outfile
=conftest.
$ac_objext
15059 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
15060 eval "$ac_compile" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
15061 _lt_compiler_boilerplate
=`cat conftest.err`
15064 ac_outfile
=conftest.
$ac_objext
15065 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
15066 eval "$ac_link" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
15067 _lt_linker_boilerplate
=`cat conftest.err`
15071 # Allow CC to be a program name with arguments.
15073 lt_save_CFLAGS
=$CFLAGS
15077 lt_save_with_gnu_ld
=$with_gnu_ld
15078 lt_save_path_LD
=$lt_cv_path_LD
15079 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
15080 lt_cv_prog_gnu_ld
=$lt_cv_prog_gnu_ldcxx
15082 $as_unset lt_cv_prog_gnu_ld
15084 if test -n "${lt_cv_path_LDCXX+set}"; then
15085 lt_cv_path_LD
=$lt_cv_path_LDCXX
15087 $as_unset lt_cv_path_LD
15089 test -z "${LDCXX+set}" || LD
=$LDCXX
15094 func_cc_basename
$compiler
15095 cc_basename
=$func_cc_basename_result
15098 if test -n "$compiler"; then
15099 # We don't want -fno-exception when compiling C++ code, so set the
15100 # no_builtin_flag separately
15101 if test yes = "$GXX"; then
15102 lt_prog_compiler_no_builtin_flag_CXX
=' -fno-builtin'
15104 lt_prog_compiler_no_builtin_flag_CXX
=
15107 if test yes = "$GXX"; then
15108 # Set up default GNU C++ configuration
15112 # Check whether --with-gnu-ld was given.
15113 if test "${with_gnu_ld+set}" = set; then :
15114 withval
=$with_gnu_ld; test no
= "$withval" || with_gnu_ld
=yes
15120 if test yes = "$GCC"; then
15121 # Check if gcc -print-prog-name=ld gives a path.
15122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
15123 $as_echo_n "checking for ld used by $CC... " >&6; }
15126 # gcc leaves a trailing carriage return, which upsets mingw
15127 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
15129 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
15132 # Accept absolute paths.
15134 re_direlt
='/[^/][^/]*/\.\./'
15135 # Canonicalize the pathname of ld
15136 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
15137 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev
/null
2>&1; do
15138 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
15140 test -z "$LD" && LD
=$ac_prog
15143 # If it fails, then pretend we aren't using GCC.
15147 # If it is relative, then search for the first ld in PATH.
15148 with_gnu_ld
=unknown
15151 elif test yes = "$with_gnu_ld"; then
15152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
15153 $as_echo_n "checking for GNU ld... " >&6; }
15155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
15156 $as_echo_n "checking for non-GNU ld... " >&6; }
15158 if ${lt_cv_path_LD+:} false
; then :
15159 $as_echo_n "(cached) " >&6
15161 if test -z "$LD"; then
15162 lt_save_ifs
=$IFS; IFS
=$PATH_SEPARATOR
15163 for ac_dir
in $PATH; do
15165 test -z "$ac_dir" && ac_dir
=.
15166 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
15167 lt_cv_path_LD
=$ac_dir/$ac_prog
15168 # Check to see if the program is GNU ld. I'd rather use --version,
15169 # but apparently some variants of GNU ld only accept -v.
15170 # Break only if it was the GNU/non-GNU ld that we prefer.
15171 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
15172 *GNU
* | *'with BFD'*)
15173 test no
!= "$with_gnu_ld" && break
15176 test yes != "$with_gnu_ld" && break
15183 lt_cv_path_LD
=$LD # Let the user override the test with a path.
15188 if test -n "$LD"; then
15189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
15190 $as_echo "$LD" >&6; }
15192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15193 $as_echo "no" >&6; }
15195 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
15196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
15197 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
15198 if ${lt_cv_prog_gnu_ld+:} false
; then :
15199 $as_echo_n "(cached) " >&6
15201 # I'd rather use --version here, but apparently some GNU lds only accept -v.
15202 case `$LD -v 2>&1 </dev/null` in
15203 *GNU
* | *'with BFD'*)
15204 lt_cv_prog_gnu_ld
=yes
15207 lt_cv_prog_gnu_ld
=no
15211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
15212 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
15213 with_gnu_ld
=$lt_cv_prog_gnu_ld
15221 # Check if GNU C++ uses GNU ld as the underlying linker, since the
15222 # archiving commands below assume that GNU ld is being used.
15223 if test yes = "$with_gnu_ld"; then
15224 archive_cmds_CXX
='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
15225 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'
15227 hardcode_libdir_flag_spec_CXX
='$wl-rpath $wl$libdir'
15228 export_dynamic_flag_spec_CXX
='$wl--export-dynamic'
15230 # If archive_cmds runs LD, not CC, wlarc should be empty
15231 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
15232 # investigate it a little bit more. (MM)
15235 # ancient GNU ld didn't support --whole-archive et. al.
15236 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
15237 $GREP 'no-whole-archive' > /dev
/null
; then
15238 whole_archive_flag_spec_CXX
=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
15240 whole_archive_flag_spec_CXX
=
15246 # A generic and very simple default shared library creation
15247 # command for GNU C++ for the case where it uses the native
15248 # linker, instead of GNU ld. If possible, this setting should
15249 # overridden to take advantage of the native linker features on
15250 # the platform it is being used on.
15251 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
15254 # Commands to make compiler produce verbose output that lists
15255 # what "hidden" libraries, object files and flags are used when
15256 # linking a shared library.
15257 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
15265 # PORTME: fill in a description of your system's C++ link characteristics
15266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15267 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
15271 # FIXME: insert proper C++ library support
15275 if test ia64
= "$host_cpu"; then
15276 # On IA64, the linker does run time linking by default, so we don't
15277 # have to do anything special.
15278 aix_use_runtimelinking
=no
15279 exp_sym_flag
='-Bexport'
15282 aix_use_runtimelinking
=no
15284 # Test if we are trying to use run time linking or normal
15285 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
15286 # have runtime linking enabled, and use it for executables.
15287 # For shared libraries, we enable/disable runtime linking
15288 # depending on the kind of the shared library created -
15289 # when "with_aix_soname,aix_use_runtimelinking" is:
15290 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables
15291 # "aix,yes" lib.so shared, rtl:yes, for executables
15292 # lib.a static archive
15293 # "both,no" lib.so.V(shr.o) shared, rtl:yes
15294 # lib.a(lib.so.V) shared, rtl:no, for executables
15295 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
15296 # lib.a(lib.so.V) shared, rtl:no
15297 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables
15298 # lib.a static archive
15299 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
15300 for ld_flag
in $LDFLAGS; do
15303 aix_use_runtimelinking
=yes
15308 if test svr4
,no
= "$with_aix_soname,$aix_use_runtimelinking"; then
15309 # With aix-soname=svr4, we create the lib.so.V shared archives only,
15310 # so we don't have lib.a shared libs to link our executables.
15311 # We have to force runtime linking in this case.
15312 aix_use_runtimelinking
=yes
15313 LDFLAGS
="$LDFLAGS -Wl,-brtl"
15318 exp_sym_flag
='-bexport'
15319 no_entry_flag
='-bnoentry'
15322 # When large executables or shared objects are built, AIX ld can
15323 # have problems creating the table of contents. If linking a library
15324 # or program results in "error TOC overflow" add -mminimal-toc to
15325 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
15326 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
15328 archive_cmds_CXX
=''
15329 hardcode_direct_CXX
=yes
15330 hardcode_direct_absolute_CXX
=yes
15331 hardcode_libdir_separator_CXX
=':'
15332 link_all_deplibs_CXX
=yes
15333 file_list_spec_CXX
='$wl-f,'
15334 case $with_aix_soname,$aix_use_runtimelinking in
15335 aix
,*) ;; # no import file
15336 svr4
,* | *,yes) # use import file
15337 # The Import File defines what to hardcode.
15338 hardcode_direct_CXX
=no
15339 hardcode_direct_absolute_CXX
=no
15343 if test yes = "$GXX"; then
15344 case $host_os in aix4.
[012]|aix4.
[012].
*)
15345 # We only want to do this on AIX 4.2 and lower, the check
15346 # below for broken collect2 doesn't work under 4.3+
15347 collect2name
=`$CC -print-prog-name=collect2`
15348 if test -f "$collect2name" &&
15349 strings "$collect2name" | $GREP resolve_lib_name
>/dev
/null
15351 # We have reworked collect2
15354 # We have old collect2
15355 hardcode_direct_CXX
=unsupported
15356 # It fails to find uninstalled libraries when the uninstalled
15357 # path is not listed in the libpath. Setting hardcode_minus_L
15358 # to unsupported forces relinking
15359 hardcode_minus_L_CXX
=yes
15360 hardcode_libdir_flag_spec_CXX
='-L$libdir'
15361 hardcode_libdir_separator_CXX
=
15364 shared_flag
='-shared'
15365 if test yes = "$aix_use_runtimelinking"; then
15366 shared_flag
=$shared_flag' $wl-G'
15368 # Need to ensure runtime linking is disabled for the traditional
15369 # shared library, or the linker may eventually find shared libraries
15370 # /with/ Import File - we do not want to mix them.
15371 shared_flag_aix
='-shared'
15372 shared_flag_svr4
='-shared $wl-G'
15375 if test ia64
= "$host_cpu"; then
15376 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
15377 # chokes on -Wl,-G. The following line is correct:
15380 if test yes = "$aix_use_runtimelinking"; then
15381 shared_flag
='$wl-G'
15383 shared_flag
='$wl-bM:SRE'
15385 shared_flag_aix
='$wl-bM:SRE'
15386 shared_flag_svr4
='$wl-G'
15390 export_dynamic_flag_spec_CXX
='$wl-bexpall'
15391 # It seems that -bexpall does not export symbols beginning with
15392 # underscore (_), so it is better to generate a list of symbols to
15394 always_export_symbols_CXX
=yes
15395 if test aix
,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
15396 # Warning - without using the other runtime loading flags (-brtl),
15397 # -berok will link without error, but may produce a broken library.
15398 # The "-G" linker flag allows undefined symbols.
15399 no_undefined_flag_CXX
='-bernotok'
15400 # Determine the default libpath from the value encoded in an empty
15402 if test set = "${lt_cv_aix_libpath+set}"; then
15403 aix_libpath
=$lt_cv_aix_libpath
15405 if ${lt_cv_aix_libpath__CXX+:} false
; then :
15406 $as_echo_n "(cached) " >&6
15408 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15409 /* end confdefs.h. */
15419 if ac_fn_cxx_try_link
"$LINENO"; then :
15421 lt_aix_libpath_sed
='
15422 /Import File Strings/,/^$/ {
15424 s/^0 *\([^ ]*\) *$/\1/
15428 lt_cv_aix_libpath__CXX
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15429 # Check for a 64-bit object if we didn't find anything.
15430 if test -z "$lt_cv_aix_libpath__CXX"; then
15431 lt_cv_aix_libpath__CXX
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15434 rm -f core conftest.err conftest.
$ac_objext \
15435 conftest
$ac_exeext conftest.
$ac_ext
15436 if test -z "$lt_cv_aix_libpath__CXX"; then
15437 lt_cv_aix_libpath__CXX
=/usr
/lib
:/lib
15442 aix_libpath
=$lt_cv_aix_libpath__CXX
15445 hardcode_libdir_flag_spec_CXX
='$wl-blibpath:$libdir:'"$aix_libpath"
15447 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
15449 if test ia64
= "$host_cpu"; then
15450 hardcode_libdir_flag_spec_CXX
='$wl-R $libdir:/usr/lib:/lib'
15451 allow_undefined_flag_CXX
="-z nodefs"
15452 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"
15454 # Determine the default libpath from the value encoded in an
15455 # empty executable.
15456 if test set = "${lt_cv_aix_libpath+set}"; then
15457 aix_libpath
=$lt_cv_aix_libpath
15459 if ${lt_cv_aix_libpath__CXX+:} false
; then :
15460 $as_echo_n "(cached) " >&6
15462 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15463 /* end confdefs.h. */
15473 if ac_fn_cxx_try_link
"$LINENO"; then :
15475 lt_aix_libpath_sed
='
15476 /Import File Strings/,/^$/ {
15478 s/^0 *\([^ ]*\) *$/\1/
15482 lt_cv_aix_libpath__CXX
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15483 # Check for a 64-bit object if we didn't find anything.
15484 if test -z "$lt_cv_aix_libpath__CXX"; then
15485 lt_cv_aix_libpath__CXX
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15488 rm -f core conftest.err conftest.
$ac_objext \
15489 conftest
$ac_exeext conftest.
$ac_ext
15490 if test -z "$lt_cv_aix_libpath__CXX"; then
15491 lt_cv_aix_libpath__CXX
=/usr
/lib
:/lib
15496 aix_libpath
=$lt_cv_aix_libpath__CXX
15499 hardcode_libdir_flag_spec_CXX
='$wl-blibpath:$libdir:'"$aix_libpath"
15500 # Warning - without using the other run time loading flags,
15501 # -berok will link without error, but may produce a broken library.
15502 no_undefined_flag_CXX
=' $wl-bernotok'
15503 allow_undefined_flag_CXX
=' $wl-berok'
15504 if test yes = "$with_gnu_ld"; then
15505 # We only use this code for GNU lds that support --whole-archive.
15506 whole_archive_flag_spec_CXX
='$wl--whole-archive$convenience $wl--no-whole-archive'
15508 # Exported symbols can be pulled into shared objects from archives
15509 whole_archive_flag_spec_CXX
='$convenience'
15511 archive_cmds_need_lc_CXX
=yes
15512 archive_expsym_cmds_CXX
='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
15513 # -brtl affects multiple linker settings, -berok does not and is overridden later
15514 compiler_flags_filtered
='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
15515 if test svr4
!= "$with_aix_soname"; then
15516 # This is similar to how AIX traditionally builds its shared
15517 # libraries. Need -bnortl late, we may have -brtl in LDFLAGS.
15518 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'
15520 if test aix
!= "$with_aix_soname"; then
15521 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'
15523 # used by -dlpreopen to get the symbols
15524 archive_expsym_cmds_CXX
="$archive_expsym_cmds_CXX"'~$MV $output_objdir/$realname.d/$soname $output_objdir'
15526 archive_expsym_cmds_CXX
="$archive_expsym_cmds_CXX"'~$RM -r $output_objdir/$realname.d'
15532 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
15533 allow_undefined_flag_CXX
=unsupported
15534 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
15535 # support --undefined. This deserves some investigation. FIXME
15536 archive_cmds_CXX
='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
15543 case $cc_basename in
15545 # FIXME: insert proper C++ library support
15551 cygwin
* | mingw
* | pw32
* | cegcc
*)
15552 case $GXX,$cc_basename in
15555 # hardcode_libdir_flag_spec is actually meaningless, as there is
15556 # no search path for DLLs.
15557 hardcode_libdir_flag_spec_CXX
=' '
15558 allow_undefined_flag_CXX
=unsupported
15559 always_export_symbols_CXX
=yes
15560 file_list_spec_CXX
='@'
15561 # Tell ltmain to make .lib files, not .a files.
15563 # Tell ltmain to make .dll files, not .so files.
15565 # FIXME: Setting linknames here is a bad hack.
15566 archive_cmds_CXX
='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
15567 archive_expsym_cmds_CXX
='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
15568 cp "$export_symbols" "$output_objdir/$soname.def";
15569 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
15571 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
15573 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
15575 # The linker will not automatically build a static lib if we build a DLL.
15576 # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
15577 enable_shared_with_static_runtimes_CXX
=yes
15579 old_postinstall_cmds_CXX
='chmod 644 $oldlib'
15580 postlink_cmds_CXX
='lt_outputfile="@OUTPUT@"~
15581 lt_tool_outputfile="@TOOL_OUTPUT@"~
15582 case $lt_outputfile in
15585 lt_outputfile=$lt_outputfile.exe
15586 lt_tool_outputfile=$lt_tool_outputfile.exe
15589 func_to_tool_file "$lt_outputfile"~
15590 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
15591 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
15592 $RM "$lt_outputfile.manifest";
15597 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
15598 # as there is no search path for DLLs.
15599 hardcode_libdir_flag_spec_CXX
='-L$libdir'
15600 export_dynamic_flag_spec_CXX
='$wl--export-all-symbols'
15601 allow_undefined_flag_CXX
=unsupported
15602 always_export_symbols_CXX
=no
15603 enable_shared_with_static_runtimes_CXX
=yes
15605 if $LD --help 2>&1 | $GREP 'auto-import' > /dev
/null
; then
15606 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'
15607 # If the export-symbols file already is a .def file, use it as
15608 # is; otherwise, prepend EXPORTS...
15609 archive_expsym_cmds_CXX
='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
15610 cp $export_symbols $output_objdir/$soname.def;
15612 echo EXPORTS > $output_objdir/$soname.def;
15613 cat $export_symbols >> $output_objdir/$soname.def;
15615 $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'
15622 darwin
* | rhapsody
*)
15625 archive_cmds_need_lc_CXX
=no
15626 hardcode_direct_CXX
=no
15627 hardcode_automatic_CXX
=yes
15628 hardcode_shlibpath_var_CXX
=unsupported
15629 if test yes = "$lt_cv_ld_force_load"; then
15630 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\"`'
15633 whole_archive_flag_spec_CXX
=''
15635 link_all_deplibs_CXX
=yes
15636 allow_undefined_flag_CXX
=$_lt_dar_allow_undefined
15637 case $cc_basename in
15638 ifort
*|nagfor
*) _lt_dar_can_shared
=yes ;;
15639 *) _lt_dar_can_shared
=$GCC ;;
15641 if test yes = "$_lt_dar_can_shared"; then
15642 output_verbose_link_cmd
=func_echo_all
15643 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"
15644 module_cmds_CXX
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
15645 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"
15646 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"
15647 if test yes != "$lt_cv_apple_cc_single_mod"; then
15648 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"
15649 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"
15659 hardcode_libdir_flag_spec_CXX
='-L$libdir'
15660 hardcode_minus_L_CXX
=yes
15661 allow_undefined_flag_CXX
=unsupported
15663 archive_cmds_CXX
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
15664 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
15665 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
15666 $ECHO EXPORTS >> $output_objdir/$libname.def~
15667 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $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 archive_expsym_cmds_CXX
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
15671 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
15672 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
15673 $ECHO EXPORTS >> $output_objdir/$libname.def~
15674 prefix_cmds="$SED"~
15675 if test EXPORTS = "`$SED 1q $export_symbols`"; then
15676 prefix_cmds="$prefix_cmds -e 1d";
15678 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
15679 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
15680 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
15681 emximp -o $lib $output_objdir/$libname.def'
15682 old_archive_From_new_cmds_CXX
='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
15683 enable_shared_with_static_runtimes_CXX
=yes
15687 case $cc_basename in
15689 # FIXME: insert proper C++ library support
15693 # Green Hills C++ Compiler
15694 # FIXME: insert proper C++ library support
15698 # FIXME: insert proper C++ library support
15705 # C++ shared libraries reported to be fairly broken before
15711 archive_cmds_need_lc_CXX
=no
15714 freebsd
* | dragonfly
*)
15715 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
15721 archive_cmds_CXX
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
15722 link_all_deplibs_CXX
=yes
15726 hardcode_libdir_flag_spec_CXX
='$wl+b $wl$libdir'
15727 hardcode_libdir_separator_CXX
=:
15728 export_dynamic_flag_spec_CXX
='$wl-E'
15729 hardcode_direct_CXX
=yes
15730 hardcode_minus_L_CXX
=yes # Not in the search PATH,
15731 # but as the default
15732 # location of the library.
15734 case $cc_basename in
15736 # FIXME: insert proper C++ library support
15740 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'
15741 # Commands to make compiler produce verbose output that lists
15742 # what "hidden" libraries, object files and flags are used when
15743 # linking a shared library.
15745 # There doesn't appear to be a way to prevent this compiler from
15746 # explicitly linking system object files so we need to strip them
15747 # from the output so that they don't get included in the library
15749 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"'
15752 if test yes = "$GXX"; then
15753 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'
15755 # FIXME: insert proper C++ library support
15763 if test no
= "$with_gnu_ld"; then
15764 hardcode_libdir_flag_spec_CXX
='$wl+b $wl$libdir'
15765 hardcode_libdir_separator_CXX
=:
15771 export_dynamic_flag_spec_CXX
='$wl-E'
15777 hardcode_direct_CXX
=no
15778 hardcode_shlibpath_var_CXX
=no
15781 hardcode_direct_CXX
=yes
15782 hardcode_direct_absolute_CXX
=yes
15783 hardcode_minus_L_CXX
=yes # Not in the search PATH,
15784 # but as the default
15785 # location of the library.
15789 case $cc_basename in
15791 # FIXME: insert proper C++ library support
15797 archive_cmds_CXX
='$CC -b $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15800 archive_cmds_CXX
='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15803 archive_cmds_CXX
='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15806 # Commands to make compiler produce verbose output that lists
15807 # what "hidden" libraries, object files and flags are used when
15808 # linking a shared library.
15810 # There doesn't appear to be a way to prevent this compiler from
15811 # explicitly linking system object files so we need to strip them
15812 # from the output so that they don't get included in the library
15814 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"'
15817 if test yes = "$GXX"; then
15818 if test no
= "$with_gnu_ld"; then
15821 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15824 archive_cmds_CXX
='$CC -shared -nostdlib $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15827 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'
15832 # FIXME: insert proper C++ library support
15840 hardcode_direct_CXX
=no
15841 hardcode_shlibpath_var_CXX
=no
15842 hardcode_libdir_flag_spec_CXX
='$wl-rpath,$libdir'
15843 export_dynamic_flag_spec_CXX
='$wl-E'
15844 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
15845 # Instead, shared libraries are loaded at an image base (0x10000000 by
15846 # default) and relocated if they conflict, which is a slow very memory
15847 # consuming and fragmenting process. To avoid this, we pick a random,
15848 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
15849 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
15850 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'
15851 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'
15854 case $cc_basename in
15857 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'
15859 # Archives containing C++ object files must be created using
15860 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
15861 # necessary to make sure instantiated templates are included
15863 old_archive_cmds_CXX
='$CC -ar -WR,-u -o $oldlib $oldobjs'
15866 if test yes = "$GXX"; then
15867 if test no
= "$with_gnu_ld"; then
15868 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'
15870 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'
15873 link_all_deplibs_CXX
=yes
15876 hardcode_libdir_flag_spec_CXX
='$wl-rpath $wl$libdir'
15877 hardcode_libdir_separator_CXX
=:
15878 inherit_rpath_CXX
=yes
15881 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
15882 case $cc_basename in
15884 # Kuck and Associates, Inc. (KAI) C++ Compiler
15886 # KCC will only create a shared library if the output file
15887 # ends with ".so" (or ".sl" for HP-UX), so rename the library
15888 # to its proper name (with version) after linking.
15889 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'
15890 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'
15891 # Commands to make compiler produce verbose output that lists
15892 # what "hidden" libraries, object files and flags are used when
15893 # linking a shared library.
15895 # There doesn't appear to be a way to prevent this compiler from
15896 # explicitly linking system object files so we need to strip them
15897 # from the output so that they don't get included in the library
15899 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"'
15901 hardcode_libdir_flag_spec_CXX
='$wl-rpath,$libdir'
15902 export_dynamic_flag_spec_CXX
='$wl--export-dynamic'
15904 # Archives containing C++ object files must be created using
15905 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
15906 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
15911 # version 8.0 and above of icpc choke on multiply defined symbols
15912 # if we add $predep_objects and $postdep_objects, however 7.1 and
15913 # earlier do not add the objects themselves.
15914 case `$CC -V 2>&1` in
15916 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
15917 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'
15919 *) # Version 8.0 or newer
15922 ia64
*) tmp_idyn
=' -i_dynamic';;
15924 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
15925 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'
15928 archive_cmds_need_lc_CXX
=no
15929 hardcode_libdir_flag_spec_CXX
='$wl-rpath,$libdir'
15930 export_dynamic_flag_spec_CXX
='$wl--export-dynamic'
15931 whole_archive_flag_spec_CXX
='$wl--whole-archive$convenience $wl--no-whole-archive'
15934 # Portland Group C++ compiler
15936 *pgCC\
[1-5].
* | *pgcpp\
[1-5].
*)
15937 prelink_cmds_CXX
='tpldir=Template.dir~
15939 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
15940 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
15941 old_archive_cmds_CXX
='tpldir=Template.dir~
15943 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
15944 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
15946 archive_cmds_CXX
='tpldir=Template.dir~
15948 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
15949 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
15950 archive_expsym_cmds_CXX
='tpldir=Template.dir~
15952 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
15953 $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'
15955 *) # Version 6 and above use weak symbols
15956 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
15957 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'
15961 hardcode_libdir_flag_spec_CXX
='$wl--rpath $wl$libdir'
15962 export_dynamic_flag_spec_CXX
='$wl--export-dynamic'
15963 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'
15967 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
15968 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'
15970 runpath_var
=LD_RUN_PATH
15971 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
15972 hardcode_libdir_separator_CXX
=:
15974 # Commands to make compiler produce verbose output that lists
15975 # what "hidden" libraries, object files and flags are used when
15976 # linking a shared library.
15978 # There doesn't appear to be a way to prevent this compiler from
15979 # explicitly linking system object files so we need to strip them
15980 # from the output so that they don't get included in the library
15982 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'
15984 xl
* | mpixl
* | bgxl
*)
15985 # IBM XL 8.0 on PPC, with GNU ld
15986 hardcode_libdir_flag_spec_CXX
='$wl-rpath $wl$libdir'
15987 export_dynamic_flag_spec_CXX
='$wl--export-dynamic'
15988 archive_cmds_CXX
='$CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
15989 if test yes = "$supports_anon_versioning"; then
15990 archive_expsym_cmds_CXX
='echo "{ global:" > $output_objdir/$libname.ver~
15991 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
15992 echo "local: *; };" >> $output_objdir/$libname.ver~
15993 $CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
15997 case `$CC -V 2>&1 | sed 5q` in
16000 no_undefined_flag_CXX
=' -zdefs'
16001 archive_cmds_CXX
='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
16002 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'
16003 hardcode_libdir_flag_spec_CXX
='-R$libdir'
16004 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'
16005 compiler_needs_object_CXX
=yes
16007 # Not sure whether something based on
16008 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
16010 output_verbose_link_cmd
='func_echo_all'
16012 # Archives containing C++ object files must be created using
16013 # "CC -xar", where "CC" is the Sun C++ compiler. This is
16014 # necessary to make sure instantiated templates are included
16016 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
16024 # FIXME: insert proper C++ library support
16029 # FIXME: insert proper C++ library support
16034 case $cc_basename in
16036 # FIXME: insert proper C++ library support
16040 # FIXME: insert proper C++ library support
16047 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
16048 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
16050 hardcode_libdir_flag_spec_CXX
='-R$libdir'
16051 hardcode_direct_CXX
=yes
16052 hardcode_shlibpath_var_CXX
=no
16054 # Workaround some broken pre-1.5 toolchains
16055 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
16062 openbsd
* | bitrig
*)
16063 if test -f /usr
/libexec
/ld.so
; then
16064 hardcode_direct_CXX
=yes
16065 hardcode_shlibpath_var_CXX
=no
16066 hardcode_direct_absolute_CXX
=yes
16067 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
16068 hardcode_libdir_flag_spec_CXX
='$wl-rpath,$libdir'
16069 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`"; then
16070 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-retain-symbols-file,$export_symbols -o $lib'
16071 export_dynamic_flag_spec_CXX
='$wl-E'
16072 whole_archive_flag_spec_CXX
=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
16074 output_verbose_link_cmd
=func_echo_all
16080 osf3
* | osf4
* | osf5
*)
16081 case $cc_basename in
16083 # Kuck and Associates, Inc. (KAI) C++ Compiler
16085 # KCC will only create a shared library if the output file
16086 # ends with ".so" (or ".sl" for HP-UX), so rename the library
16087 # to its proper name (with version) after linking.
16088 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'
16090 hardcode_libdir_flag_spec_CXX
='$wl-rpath,$libdir'
16091 hardcode_libdir_separator_CXX
=:
16093 # Archives containing C++ object files must be created using
16094 # the KAI C++ compiler.
16096 osf3
*) old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs' ;;
16097 *) old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs' ;;
16101 # Rational C++ 2.4.1
16102 # FIXME: insert proper C++ library support
16108 allow_undefined_flag_CXX
=' $wl-expect_unresolved $wl\*'
16109 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'
16110 hardcode_libdir_flag_spec_CXX
='$wl-rpath $wl$libdir'
16113 allow_undefined_flag_CXX
=' -expect_unresolved \*'
16114 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'
16115 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
16116 echo "-hidden">> $lib.exp~
16117 $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~
16119 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
16123 hardcode_libdir_separator_CXX
=:
16125 # Commands to make compiler produce verbose output that lists
16126 # what "hidden" libraries, object files and flags are used when
16127 # linking a shared library.
16129 # There doesn't appear to be a way to prevent this compiler from
16130 # explicitly linking system object files so we need to strip them
16131 # from the output so that they don't get included in the library
16133 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"'
16136 if test yes,no
= "$GXX,$with_gnu_ld"; then
16137 allow_undefined_flag_CXX
=' $wl-expect_unresolved $wl\*'
16140 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'
16143 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'
16147 hardcode_libdir_flag_spec_CXX
='$wl-rpath $wl$libdir'
16148 hardcode_libdir_separator_CXX
=:
16150 # Commands to make compiler produce verbose output that lists
16151 # what "hidden" libraries, object files and flags are used when
16152 # linking a shared library.
16153 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
16156 # FIXME: insert proper C++ library support
16164 # FIXME: insert proper C++ library support
16169 case $cc_basename in
16172 # FIXME: insert proper C++ library support
16177 # FIXME: insert proper C++ library support
16181 # FIXME: insert proper C++ library support
16188 case $cc_basename in
16190 # Sun C++ 4.2, 5.x and Centerline C++
16191 archive_cmds_need_lc_CXX
=yes
16192 no_undefined_flag_CXX
=' -zdefs'
16193 archive_cmds_CXX
='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
16194 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
16195 $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'
16197 hardcode_libdir_flag_spec_CXX
='-R$libdir'
16198 hardcode_shlibpath_var_CXX
=no
16200 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
16202 # The compiler driver will combine and reorder linker options,
16203 # but understands '-z linker_flag'.
16204 # Supported since Solaris 2.6 (maybe 2.5.1?)
16205 whole_archive_flag_spec_CXX
='-z allextract$convenience -z defaultextract'
16208 link_all_deplibs_CXX
=yes
16210 output_verbose_link_cmd
='func_echo_all'
16212 # Archives containing C++ object files must be created using
16213 # "CC -xar", where "CC" is the Sun C++ compiler. This is
16214 # necessary to make sure instantiated templates are included
16216 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
16219 # Green Hills C++ Compiler
16220 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
16222 # The C++ compiler must be used to create the archive.
16223 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
16226 # GNU C++ compiler with Solaris linker
16227 if test yes,no
= "$GXX,$with_gnu_ld"; then
16228 no_undefined_flag_CXX
=' $wl-z ${wl}defs'
16229 if $CC --version | $GREP -v '^2\.7' > /dev
/null
; then
16230 archive_cmds_CXX
='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
16231 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
16232 $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'
16234 # Commands to make compiler produce verbose output that lists
16235 # what "hidden" libraries, object files and flags are used when
16236 # linking a shared library.
16237 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
16239 # g++ 2.7 appears to require '-G' NOT '-shared' on this
16241 archive_cmds_CXX
='$CC -G -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
16242 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
16243 $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'
16245 # Commands to make compiler produce verbose output that lists
16246 # what "hidden" libraries, object files and flags are used when
16247 # linking a shared library.
16248 output_verbose_link_cmd
='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
16251 hardcode_libdir_flag_spec_CXX
='$wl-R $wl$libdir'
16253 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
16255 whole_archive_flag_spec_CXX
='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
16263 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
16264 no_undefined_flag_CXX
='$wl-z,text'
16265 archive_cmds_need_lc_CXX
=no
16266 hardcode_shlibpath_var_CXX
=no
16267 runpath_var
='LD_RUN_PATH'
16269 case $cc_basename in
16271 archive_cmds_CXX
='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16272 archive_expsym_cmds_CXX
='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16275 archive_cmds_CXX
='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16276 archive_expsym_cmds_CXX
='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16281 sysv5
* | sco3.2v5
* | sco5v6
*)
16282 # Note: We CANNOT use -z defs as we might desire, because we do not
16283 # link with -lc, and that would cause any symbols used from libc to
16284 # always be unresolved, which means just about no library would
16285 # ever link correctly. If we're not using GNU ld we use -z text
16286 # though, which does catch some bad symbols but isn't as heavy-handed
16288 no_undefined_flag_CXX
='$wl-z,text'
16289 allow_undefined_flag_CXX
='$wl-z,nodefs'
16290 archive_cmds_need_lc_CXX
=no
16291 hardcode_shlibpath_var_CXX
=no
16292 hardcode_libdir_flag_spec_CXX
='$wl-R,$libdir'
16293 hardcode_libdir_separator_CXX
=':'
16294 link_all_deplibs_CXX
=yes
16295 export_dynamic_flag_spec_CXX
='$wl-Bexport'
16296 runpath_var
='LD_RUN_PATH'
16298 case $cc_basename in
16300 archive_cmds_CXX
='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16301 archive_expsym_cmds_CXX
='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16302 old_archive_cmds_CXX
='$CC -Tprelink_objects $oldobjs~
16303 '"$old_archive_cmds_CXX"
16304 reload_cmds_CXX
='$CC -Tprelink_objects $reload_objs~
16305 '"$reload_cmds_CXX"
16308 archive_cmds_CXX
='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16309 archive_expsym_cmds_CXX
='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16315 case $cc_basename in
16317 # NonStop-UX NCC 3.20
16318 # FIXME: insert proper C++ library support
16322 # FIXME: insert proper C++ library support
16329 # FIXME: insert proper C++ library support
16334 # FIXME: insert proper C++ library support
16339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
16340 $as_echo "$ld_shlibs_CXX" >&6; }
16341 test no
= "$ld_shlibs_CXX" && can_build_shared
=no
16347 ## There is no encapsulation within the following macros, do not change
16348 ## the running order or otherwise move them around unless you know exactly
16349 ## what you are doing...
16350 # Dependencies to place before and after the object being linked:
16351 predep_objects_CXX
=
16352 postdep_objects_CXX
=
16355 compiler_lib_search_path_CXX
=
16357 cat > conftest.
$ac_ext <<_LT_EOF
16361 Foo (void) { a = 0; }
16368 _lt_libdeps_save_CFLAGS
=$CFLAGS
16369 case "$CC $CFLAGS " in #(
16370 *\
-flto*\
*) CFLAGS
="$CFLAGS -fno-lto" ;;
16371 *\
-fwhopr*\
*) CFLAGS
="$CFLAGS -fno-whopr" ;;
16372 *\
-fuse-linker-plugin*\
*) CFLAGS
="$CFLAGS -fno-use-linker-plugin" ;;
16375 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
16376 (eval $ac_compile) 2>&5
16378 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16379 test $ac_status = 0; }; then
16380 # Parse the compiler output and extract the necessary
16381 # objects, libraries and library flags.
16383 # Sentinel used to keep track of whether or not we are before
16384 # the conftest object file.
16385 pre_test_object_deps_done
=no
16387 for p
in `eval "$output_verbose_link_cmd"`; do
16391 # Some compilers place space between "-{L,R}" and the path.
16392 # Remove the space.
16393 if test x
-L = "$p" ||
16394 test x
-R = "$p"; then
16399 # Expand the sysroot to ease extracting the directories later.
16400 if test -z "$prev"; then
16402 -L*) func_stripname_cnf
'-L' '' "$p"; prev
=-L; p
=$func_stripname_result ;;
16403 -R*) func_stripname_cnf
'-R' '' "$p"; prev
=-R; p
=$func_stripname_result ;;
16404 -l*) func_stripname_cnf
'-l' '' "$p"; prev
=-l; p
=$func_stripname_result ;;
16408 =*) func_stripname_cnf
'=' '' "$p"; p
=$lt_sysroot$func_stripname_result ;;
16410 if test no
= "$pre_test_object_deps_done"; then
16413 # Internal compiler library paths should come after those
16414 # provided the user. The postdeps already come after the
16415 # user supplied libs so there is no need to process them.
16416 if test -z "$compiler_lib_search_path_CXX"; then
16417 compiler_lib_search_path_CXX
=$prev$p
16419 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} $prev$p"
16422 # The "-l" case would never come before the object being
16423 # linked, so don't bother handling this case.
16426 if test -z "$postdeps_CXX"; then
16427 postdeps_CXX
=$prev$p
16429 postdeps_CXX
="${postdeps_CXX} $prev$p"
16435 *.lto.
$objext) ;; # Ignore GCC LTO objects
16437 # This assumes that the test object file only shows up
16438 # once in the compiler output.
16439 if test "$p" = "conftest.$objext"; then
16440 pre_test_object_deps_done
=yes
16444 if test no
= "$pre_test_object_deps_done"; then
16445 if test -z "$predep_objects_CXX"; then
16446 predep_objects_CXX
=$p
16448 predep_objects_CXX
="$predep_objects_CXX $p"
16451 if test -z "$postdep_objects_CXX"; then
16452 postdep_objects_CXX
=$p
16454 postdep_objects_CXX
="$postdep_objects_CXX $p"
16459 *) ;; # Ignore the rest.
16467 echo "libtool.m4: error: problem compiling CXX test program"
16470 $RM -f confest.
$objext
16471 CFLAGS
=$_lt_libdeps_save_CFLAGS
16473 # PORTME: override above test on systems where it is broken
16476 # Interix 3.5 installs completely hosed .la files for C++, so rather than
16477 # hack all around it, let's just trust "g++" to DTRT.
16478 predep_objects_CXX
=
16479 postdep_objects_CXX
=
16485 case " $postdeps_CXX " in
16486 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
16488 compiler_lib_search_dirs_CXX
=
16489 if test -n "${compiler_lib_search_path_CXX}"; then
16490 compiler_lib_search_dirs_CXX
=`echo " ${compiler_lib_search_path_CXX}" | $SED -e 's! -L! !g' -e 's!^ !!'`
16523 lt_prog_compiler_wl_CXX
=
16524 lt_prog_compiler_pic_CXX
=
16525 lt_prog_compiler_static_CXX
=
16528 # C++ specific cases for pic, static, wl, etc.
16529 if test yes = "$GXX"; then
16530 lt_prog_compiler_wl_CXX
='-Wl,'
16531 lt_prog_compiler_static_CXX
='-static'
16535 # All AIX code is PIC.
16536 if test ia64
= "$host_cpu"; then
16537 # AIX 5 now supports IA64 processor
16538 lt_prog_compiler_static_CXX
='-Bstatic'
16540 lt_prog_compiler_pic_CXX
='-fPIC'
16546 # see comment about AmigaOS4 .so support
16547 lt_prog_compiler_pic_CXX
='-fPIC'
16550 # FIXME: we need at least 68020 code to build shared libraries, but
16551 # adding the '-m68020' flag to GCC prevents building anything better,
16553 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
16558 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
16559 # PIC is the default for these OSes.
16561 mingw
* | cygwin
* | os2
* | pw32
* | cegcc
*)
16562 # This hack is so that the source file can tell whether it is being
16563 # built for inclusion in a dll (and should export symbols for example).
16564 # Although the cygwin gcc ignores -fPIC, still need this for old-style
16565 # (--disable-auto-import) libraries
16566 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
16569 lt_prog_compiler_static_CXX
='$wl-static'
16573 darwin
* | rhapsody
*)
16574 # PIC is the default on this platform
16575 # Common symbols not allowed in MH_DYLIB files
16576 lt_prog_compiler_pic_CXX
='-fno-common'
16579 # DJGPP does not support shared libraries at all
16580 lt_prog_compiler_pic_CXX
=
16583 # PIC is the default for Haiku.
16584 # The "-static" flag exists, but is broken.
16585 lt_prog_compiler_static_CXX
=
16588 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
16589 # Instead, we relocate shared libraries at runtime.
16592 if test -d /usr
/nec
; then
16593 lt_prog_compiler_pic_CXX
=-Kconform_pic
16597 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
16598 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
16599 # sets the default TLS model and affects inlining.
16604 lt_prog_compiler_pic_CXX
='-fPIC'
16609 # QNX uses GNU C++, but need to define -shared option too, otherwise
16610 # it will coredump.
16611 lt_prog_compiler_pic_CXX
='-fPIC -shared'
16614 lt_prog_compiler_pic_CXX
='-fPIC'
16620 # All AIX code is PIC.
16621 if test ia64
= "$host_cpu"; then
16622 # AIX 5 now supports IA64 processor
16623 lt_prog_compiler_static_CXX
='-Bstatic'
16625 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
16629 case $cc_basename in
16631 # Green Hills C++ Compiler
16632 # _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"
16636 mingw
* | cygwin
* | os2
* | pw32
* | cegcc
*)
16637 # This hack is so that the source file can tell whether it is being
16638 # built for inclusion in a dll (and should export symbols for example).
16639 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
16642 case $cc_basename in
16644 lt_prog_compiler_pic_CXX
='-KPIC'
16647 # Green Hills C++ Compiler
16648 lt_prog_compiler_pic_CXX
='-pic'
16654 freebsd
* | dragonfly
*)
16655 # FreeBSD uses GNU C++
16657 hpux9
* | hpux10
* | hpux11
*)
16658 case $cc_basename in
16660 lt_prog_compiler_wl_CXX
='-Wl,'
16661 lt_prog_compiler_static_CXX
='$wl-a ${wl}archive'
16662 if test ia64
!= "$host_cpu"; then
16663 lt_prog_compiler_pic_CXX
='+Z'
16667 lt_prog_compiler_wl_CXX
='-Wl,'
16668 lt_prog_compiler_static_CXX
='$wl-a ${wl}archive'
16674 lt_prog_compiler_pic_CXX
='+Z'
16683 # This is c89, which is MS Visual C++ (no shared libs)
16684 # Anyone wants to do a port?
16686 irix5
* | irix6
* | nonstopux
*)
16687 case $cc_basename in
16689 lt_prog_compiler_wl_CXX
='-Wl,'
16690 lt_prog_compiler_static_CXX
='-non_shared'
16691 # CC pic flag -KPIC is the default.
16697 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
16698 case $cc_basename in
16701 lt_prog_compiler_wl_CXX
='--backend -Wl,'
16702 lt_prog_compiler_pic_CXX
='-fPIC'
16705 # old Intel C++ for x86_64, which still supported -KPIC.
16706 lt_prog_compiler_wl_CXX
='-Wl,'
16707 lt_prog_compiler_pic_CXX
='-KPIC'
16708 lt_prog_compiler_static_CXX
='-static'
16711 # Intel C++, used to be incompatible with GCC.
16712 # ICC 10 doesn't accept -KPIC any more.
16713 lt_prog_compiler_wl_CXX
='-Wl,'
16714 lt_prog_compiler_pic_CXX
='-fPIC'
16715 lt_prog_compiler_static_CXX
='-static'
16718 # Portland Group C++ compiler
16719 lt_prog_compiler_wl_CXX
='-Wl,'
16720 lt_prog_compiler_pic_CXX
='-fpic'
16721 lt_prog_compiler_static_CXX
='-Bstatic'
16725 # Make sure the PIC flag is empty. It appears that all Alpha
16726 # Linux and Compaq Tru64 Unix objects are PIC.
16727 lt_prog_compiler_pic_CXX
=
16728 lt_prog_compiler_static_CXX
='-non_shared'
16730 xlc
* | xlC
* | bgxl
[cC
]* | mpixl
[cC
]*)
16731 # IBM XL 8.0, 9.0 on PPC and BlueGene
16732 lt_prog_compiler_wl_CXX
='-Wl,'
16733 lt_prog_compiler_pic_CXX
='-qpic'
16734 lt_prog_compiler_static_CXX
='-qstaticlink'
16737 case `$CC -V 2>&1 | sed 5q` in
16740 lt_prog_compiler_pic_CXX
='-KPIC'
16741 lt_prog_compiler_static_CXX
='-Bstatic'
16742 lt_prog_compiler_wl_CXX
='-Qoption ld '
16753 case $cc_basename in
16755 lt_prog_compiler_pic_CXX
='-W c,exportall'
16764 # QNX uses GNU C++, but need to define -shared option too, otherwise
16765 # it will coredump.
16766 lt_prog_compiler_pic_CXX
='-fPIC -shared'
16768 osf3
* | osf4
* | osf5
*)
16769 case $cc_basename in
16771 lt_prog_compiler_wl_CXX
='--backend -Wl,'
16774 # Rational C++ 2.4.1
16775 lt_prog_compiler_pic_CXX
='-pic'
16778 # Digital/Compaq C++
16779 lt_prog_compiler_wl_CXX
='-Wl,'
16780 # Make sure the PIC flag is empty. It appears that all Alpha
16781 # Linux and Compaq Tru64 Unix objects are PIC.
16782 lt_prog_compiler_pic_CXX
=
16783 lt_prog_compiler_static_CXX
='-non_shared'
16792 case $cc_basename in
16794 # Sun C++ 4.2, 5.x and Centerline C++
16795 lt_prog_compiler_pic_CXX
='-KPIC'
16796 lt_prog_compiler_static_CXX
='-Bstatic'
16797 lt_prog_compiler_wl_CXX
='-Qoption ld '
16800 # Green Hills C++ Compiler
16801 lt_prog_compiler_pic_CXX
='-PIC'
16808 case $cc_basename in
16811 lt_prog_compiler_pic_CXX
='-pic'
16812 lt_prog_compiler_static_CXX
='-Bstatic'
16816 lt_prog_compiler_pic_CXX
='-pic'
16822 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
16823 case $cc_basename in
16825 lt_prog_compiler_wl_CXX
='-Wl,'
16826 lt_prog_compiler_pic_CXX
='-KPIC'
16827 lt_prog_compiler_static_CXX
='-Bstatic'
16832 case $cc_basename in
16834 # NonStop-UX NCC 3.20
16835 lt_prog_compiler_pic_CXX
='-KPIC'
16844 lt_prog_compiler_can_build_shared_CXX
=no
16850 # For platforms that do not support PIC, -DPIC is meaningless:
16852 lt_prog_compiler_pic_CXX
=
16855 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
16859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
16860 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
16861 if ${lt_cv_prog_compiler_pic_CXX+:} false
; then :
16862 $as_echo_n "(cached) " >&6
16864 lt_cv_prog_compiler_pic_CXX
=$lt_prog_compiler_pic_CXX
16866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
16867 $as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
16868 lt_prog_compiler_pic_CXX
=$lt_cv_prog_compiler_pic_CXX
16871 # Check to make sure the PIC flag actually works.
16873 if test -n "$lt_prog_compiler_pic_CXX"; then
16874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
16875 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
16876 if ${lt_cv_prog_compiler_pic_works_CXX+:} false
; then :
16877 $as_echo_n "(cached) " >&6
16879 lt_cv_prog_compiler_pic_works_CXX
=no
16880 ac_outfile
=conftest.
$ac_objext
16881 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
16882 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC" ## exclude from sc_useless_quotes_in_assignment
16883 # Insert the option either (1) after the last *FLAGS variable, or
16884 # (2) before a word containing "conftest.", or (3) at the end.
16885 # Note that $ac_compile itself does not contain backslashes and begins
16886 # with a dollar sign (not a hyphen), so the echo should work correctly.
16887 # The option is referenced via a variable to avoid confusing sed.
16888 lt_compile
=`echo "$ac_compile" | $SED \
16889 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16890 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16891 -e 's:$: $lt_compiler_flag:'`
16892 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
16893 (eval "$lt_compile" 2>conftest.err
)
16895 cat conftest.err
>&5
16896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16897 if (exit $ac_status) && test -s "$ac_outfile"; then
16898 # The compiler can only warn and ignore the option if not recognized
16899 # So say no if there are warnings other than the usual output.
16900 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
16901 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
16902 if test ! -s conftest.er2
|| diff conftest.exp conftest.er2
>/dev
/null
; then
16903 lt_cv_prog_compiler_pic_works_CXX
=yes
16909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
16910 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
16912 if test yes = "$lt_cv_prog_compiler_pic_works_CXX"; then
16913 case $lt_prog_compiler_pic_CXX in
16915 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
16918 lt_prog_compiler_pic_CXX
=
16919 lt_prog_compiler_can_build_shared_CXX
=no
16929 # Check to make sure the static flag actually works.
16931 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
16932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
16933 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
16934 if ${lt_cv_prog_compiler_static_works_CXX+:} false
; then :
16935 $as_echo_n "(cached) " >&6
16937 lt_cv_prog_compiler_static_works_CXX
=no
16938 save_LDFLAGS
=$LDFLAGS
16939 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
16940 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
16941 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
16942 # The linker can only warn and ignore the option if not recognized
16943 # So say no if there are warnings
16944 if test -s conftest.err
; then
16945 # Append any errors to the config.log.
16946 cat conftest.err
1>&5
16947 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
16948 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
16949 if diff conftest.exp conftest.er2
>/dev
/null
; then
16950 lt_cv_prog_compiler_static_works_CXX
=yes
16953 lt_cv_prog_compiler_static_works_CXX
=yes
16957 LDFLAGS
=$save_LDFLAGS
16960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
16961 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
16963 if test yes = "$lt_cv_prog_compiler_static_works_CXX"; then
16966 lt_prog_compiler_static_CXX
=
16972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
16973 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
16974 if ${lt_cv_prog_compiler_c_o_CXX+:} false
; then :
16975 $as_echo_n "(cached) " >&6
16977 lt_cv_prog_compiler_c_o_CXX
=no
16978 $RM -r conftest
2>/dev
/null
16982 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
16984 lt_compiler_flag
="-o out/conftest2.$ac_objext"
16985 # Insert the option either (1) after the last *FLAGS variable, or
16986 # (2) before a word containing "conftest.", or (3) at the end.
16987 # Note that $ac_compile itself does not contain backslashes and begins
16988 # with a dollar sign (not a hyphen), so the echo should work correctly.
16989 lt_compile
=`echo "$ac_compile" | $SED \
16990 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16991 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16992 -e 's:$: $lt_compiler_flag:'`
16993 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
16994 (eval "$lt_compile" 2>out
/conftest.err
)
16996 cat out
/conftest.err
>&5
16997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16998 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
17000 # The compiler can only warn and ignore the option if not recognized
17001 # So say no if there are warnings
17002 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out
/conftest.exp
17003 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
17004 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
17005 lt_cv_prog_compiler_c_o_CXX
=yes
17010 # SGI C++ compiler will create directory out/ii_files/ for
17011 # template instantiation
17012 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
17013 $RM out
/* && rmdir out
17019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
17020 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
17024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
17025 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
17026 if ${lt_cv_prog_compiler_c_o_CXX+:} false
; then :
17027 $as_echo_n "(cached) " >&6
17029 lt_cv_prog_compiler_c_o_CXX
=no
17030 $RM -r conftest
2>/dev
/null
17034 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
17036 lt_compiler_flag
="-o out/conftest2.$ac_objext"
17037 # Insert the option either (1) after the last *FLAGS variable, or
17038 # (2) before a word containing "conftest.", or (3) at the end.
17039 # Note that $ac_compile itself does not contain backslashes and begins
17040 # with a dollar sign (not a hyphen), so the echo should work correctly.
17041 lt_compile
=`echo "$ac_compile" | $SED \
17042 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17043 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17044 -e 's:$: $lt_compiler_flag:'`
17045 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
17046 (eval "$lt_compile" 2>out
/conftest.err
)
17048 cat out
/conftest.err
>&5
17049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17050 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
17052 # The compiler can only warn and ignore the option if not recognized
17053 # So say no if there are warnings
17054 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out
/conftest.exp
17055 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
17056 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
17057 lt_cv_prog_compiler_c_o_CXX
=yes
17062 # SGI C++ compiler will create directory out/ii_files/ for
17063 # template instantiation
17064 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
17065 $RM out
/* && rmdir out
17071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
17072 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
17077 hard_links
=nottested
17078 if test no
= "$lt_cv_prog_compiler_c_o_CXX" && test no
!= "$need_locks"; then
17079 # do not overwrite the value of need_locks provided by the user
17080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
17081 $as_echo_n "checking if we can lock with hard links... " >&6; }
17084 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
17086 ln conftest.a conftest.b
2>&5 || hard_links
=no
17087 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
17088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
17089 $as_echo "$hard_links" >&6; }
17090 if test no
= "$hard_links"; then
17091 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
17092 $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
17101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
17102 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
17104 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
17105 exclude_expsyms_CXX
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
17108 # If we're using GNU nm, then we don't want the "-C" option.
17109 # -C means demangle to GNU nm, but means don't demangle to AIX nm.
17110 # Without the "-l" option, or with the "-B" option, AIX nm treats
17111 # weak defined symbols like other global defined symbols, whereas
17112 # GNU nm marks them as "W".
17113 # While the 'weak' keyword is ignored in the Export File, we need
17114 # it in the Import File for the 'aix-soname' feature, so we have
17115 # to replace the "-B" option with "-P" for AIX nm.
17116 if $NM -V 2>&1 | $GREP 'GNU' > /dev
/null
; then
17117 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'
17119 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'
17123 export_symbols_cmds_CXX
=$ltdll_cmds
17125 cygwin
* | mingw
* | cegcc
*)
17126 case $cc_basename in
17128 exclude_expsyms_CXX
='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
17131 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'
17132 exclude_expsyms_CXX
='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
17137 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
17141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
17142 $as_echo "$ld_shlibs_CXX" >&6; }
17143 test no
= "$ld_shlibs_CXX" && can_build_shared
=no
17145 with_gnu_ld_CXX
=$with_gnu_ld
17153 # Do we need to explicitly link libc?
17155 case "x$archive_cmds_need_lc_CXX" in
17157 # Assume -lc should be added
17158 archive_cmds_need_lc_CXX
=yes
17160 if test yes,yes = "$GCC,$enable_shared"; then
17161 case $archive_cmds_CXX in
17163 # FIXME: we may have to deal with multi-command sequences.
17166 # Test whether the compiler implicitly links with -lc since on some
17167 # systems, -lgcc has to come before -lc. If gcc already passes -lc
17168 # to ld, don't add -lc before -lgcc.
17169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
17170 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
17171 if ${lt_cv_archive_cmds_need_lc_CXX+:} false
; then :
17172 $as_echo_n "(cached) " >&6
17175 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
17177 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
17178 (eval $ac_compile) 2>&5
17180 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17181 test $ac_status = 0; } 2>conftest.err
; then
17184 libobjs
=conftest.
$ac_objext
17186 wl
=$lt_prog_compiler_wl_CXX
17187 pic_flag
=$lt_prog_compiler_pic_CXX
17193 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
17194 allow_undefined_flag_CXX
=
17195 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
17196 (eval $archive_cmds_CXX 2\
>\
&1 \
| $GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
17198 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17199 test $ac_status = 0; }
17201 lt_cv_archive_cmds_need_lc_CXX
=no
17203 lt_cv_archive_cmds_need_lc_CXX
=yes
17205 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
17207 cat conftest.err
1>&5
17212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
17213 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
17214 archive_cmds_need_lc_CXX
=$lt_cv_archive_cmds_need_lc_CXX
17282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
17283 $as_echo_n "checking dynamic linker characteristics... " >&6; }
17285 library_names_spec
=
17286 libname_spec
='lib$name'
17290 postuninstall_cmds
=
17294 shlibpath_overrides_runpath
=unknown
17296 dynamic_linker
="$host_os ld.so"
17297 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
17298 need_lib_prefix
=unknown
17299 hardcode_into_libs
=no
17301 # when you set need_version to no, make sure it does not cause -set_version
17302 # flags to be left without arguments
17303 need_version
=unknown
17309 version_type
=linux
# correct to gnu/linux during the next big refactor
17310 library_names_spec
='$libname$release$shared_ext$versuffix $libname.a'
17311 shlibpath_var
=LIBPATH
17313 # AIX 3 has no versioning support, so we append a major version to the name.
17314 soname_spec
='$libname$release$shared_ext$major'
17318 version_type
=linux
# correct to gnu/linux during the next big refactor
17321 hardcode_into_libs
=yes
17322 if test ia64
= "$host_cpu"; then
17323 # AIX 5 supports IA64
17324 library_names_spec
='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
17325 shlibpath_var
=LD_LIBRARY_PATH
17327 # With GCC up to 2.95.x, collect2 would create an import file
17328 # for dependence libraries. The import file would start with
17329 # the line '#! .'. This would cause the generated library to
17330 # depend on '.', always an invalid library. This was fixed in
17331 # development snapshots of GCC prior to 3.0.
17333 aix4
| aix4.
[01] | aix4.
[01].
*)
17334 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
17336 echo '#endif'; } | $CC -E - | $GREP yes > /dev
/null
; then
17339 can_build_shared
=no
17343 # Using Import Files as archive members, it is possible to support
17344 # filename-based versioning of shared library archives on AIX. While
17345 # this would work for both with and without runtime linking, it will
17346 # prevent static linking of such archives. So we do filename-based
17347 # shared library versioning with .so extension only, which is used
17348 # when both runtime linking and shared linking is enabled.
17349 # Unfortunately, runtime linking may impact performance, so we do
17350 # not want this to be the default eventually. Also, we use the
17351 # versioned .so libs for executables only if there is the -brtl
17352 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
17353 # To allow for filename-based versioning support, we need to create
17354 # libNAME.so.V as an archive file, containing:
17355 # *) an Import File, referring to the versioned filename of the
17356 # archive as well as the shared archive member, telling the
17357 # bitwidth (32 or 64) of that shared object, and providing the
17358 # list of exported symbols of that shared object, eventually
17359 # decorated with the 'weak' keyword
17360 # *) the shared object with the F_LOADONLY flag set, to really avoid
17361 # it being seen by the linker.
17362 # At run time we better use the real file rather than another symlink,
17363 # but for link time we create the symlink libNAME.so -> libNAME.so.V
17365 case $with_aix_soname,$aix_use_runtimelinking in
17366 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
17367 # soname into executable. Probably we can add versioning support to
17368 # collect2, so additional links can be useful in future.
17369 aix
,yes) # traditional libtool
17370 dynamic_linker
='AIX unversionable lib.so'
17371 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
17372 # instead of lib<name>.a to let people know that these are not
17373 # typical AIX shared libraries.
17374 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17376 aix
,no
) # traditional AIX only
17377 dynamic_linker
='AIX lib.a(lib.so.V)'
17378 # We preserve .a as extension for shared libraries through AIX4.2
17379 # and later when we are not doing run time linking.
17380 library_names_spec
='$libname$release.a $libname.a'
17381 soname_spec
='$libname$release$shared_ext$major'
17383 svr4
,*) # full svr4 only
17384 dynamic_linker
="AIX lib.so.V($shared_archive_member_spec.o)"
17385 library_names_spec
='$libname$release$shared_ext$major $libname$shared_ext'
17386 # We do not specify a path in Import Files, so LIBPATH fires.
17387 shlibpath_overrides_runpath
=yes
17389 *,yes) # both, prefer svr4
17390 dynamic_linker
="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
17391 library_names_spec
='$libname$release$shared_ext$major $libname$shared_ext'
17392 # unpreferred sharedlib libNAME.a needs extra handling
17393 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"'
17394 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"'
17395 # We do not specify a path in Import Files, so LIBPATH fires.
17396 shlibpath_overrides_runpath
=yes
17398 *,no
) # both, prefer aix
17399 dynamic_linker
="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
17400 library_names_spec
='$libname$release.a $libname.a'
17401 soname_spec
='$libname$release$shared_ext$major'
17402 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
17403 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)'
17404 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"'
17407 shlibpath_var
=LIBPATH
17414 # Since July 2007 AmigaOS4 officially supports .so libraries.
17415 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
17416 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17419 library_names_spec
='$libname.ixlibrary $libname.a'
17420 # Create ${libname}_ixlibrary.a entries in /sys/libs.
17421 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'
17427 library_names_spec
='$libname$shared_ext'
17428 dynamic_linker
="$host_os ld.so"
17429 shlibpath_var
=LIBRARY_PATH
17433 version_type
=linux
# correct to gnu/linux during the next big refactor
17435 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17436 soname_spec
='$libname$release$shared_ext$major'
17437 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
17438 shlibpath_var
=LD_LIBRARY_PATH
17439 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
17440 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
17441 # the default ld.so.conf also contains /usr/contrib/lib and
17442 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
17443 # libtool to hard-code these into programs
17446 cygwin
* | mingw
* | pw32
* | cegcc
*)
17447 version_type
=windows
17452 case $GCC,$cc_basename in
17455 library_names_spec
='$libname.dll.a'
17456 # DLL is installed to $(libdir)/../bin by postinstall_cmds
17457 postinstall_cmds
='base_file=`basename \$file`~
17458 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
17459 dldir=$destdir/`dirname \$dlpath`~
17460 test -d \$dldir || mkdir -p \$dldir~
17461 $install_prog $dir/$dlname \$dldir/$dlname~
17462 chmod a+x \$dldir/$dlname~
17463 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
17464 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
17466 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
17467 dlpath=$dir/\$dldll~
17469 shlibpath_overrides_runpath
=yes
17473 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
17474 soname_spec
='`echo $libname | sed -e 's
/^lib
/cyg
/'``echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
17478 # MinGW DLLs use traditional 'lib' prefix
17479 soname_spec
='$libname`echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
17482 # pw32 DLLs use 'pw' prefix rather than 'lib'
17483 library_names_spec
='`echo $libname | sed -e 's
/^lib
/pw
/'``echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
17486 dynamic_linker
='Win32 ld.exe'
17491 libname_spec
='$name'
17492 soname_spec
='$libname`echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
17493 library_names_spec
='$libname.dll.lib'
17497 sys_lib_search_path_spec
=
17500 for lt_path
in $LIB
17503 # Let DOS variable expansion print the short 8.3 style file name.
17504 lt_path
=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
17505 sys_lib_search_path_spec
="$sys_lib_search_path_spec $lt_path"
17508 # Convert to MSYS style.
17509 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
17512 # Convert to unix form, then to dos form, then back to unix form
17513 # but this time dos style (no spaces!) so that the unix form looks
17514 # like /cygdrive/c/PROGRA~1:/cygdr...
17515 sys_lib_search_path_spec
=`cygpath --path --unix "$LIB"`
17516 sys_lib_search_path_spec
=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
17517 sys_lib_search_path_spec
=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
17520 sys_lib_search_path_spec
=$LIB
17521 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev
/null
; then
17522 # It is most probably a Windows format PATH.
17523 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
17525 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
17527 # FIXME: find the short name or the path components, as spaces are
17528 # common. (e.g. "Program Files" -> "PROGRA~1")
17532 # DLL is installed to $(libdir)/../bin by postinstall_cmds
17533 postinstall_cmds
='base_file=`basename \$file`~
17534 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
17535 dldir=$destdir/`dirname \$dlpath`~
17536 test -d \$dldir || mkdir -p \$dldir~
17537 $install_prog $dir/$dlname \$dldir/$dlname'
17538 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
17539 dlpath=$dir/\$dldll~
17541 shlibpath_overrides_runpath
=yes
17542 dynamic_linker
='Win32 link.exe'
17546 # Assume MSVC wrapper
17547 library_names_spec
='$libname`echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext $libname.lib'
17548 dynamic_linker
='Win32 ld.exe'
17551 # FIXME: first we should search . and the directory the executable is in
17555 darwin
* | rhapsody
*)
17556 dynamic_linker
="$host_os dyld"
17557 version_type
=darwin
17560 library_names_spec
='$libname$release$major$shared_ext $libname$shared_ext'
17561 soname_spec
='$libname$release$major$shared_ext'
17562 shlibpath_overrides_runpath
=yes
17563 shlibpath_var
=DYLD_LIBRARY_PATH
17564 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
17566 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
17570 version_type
=linux
# correct to gnu/linux during the next big refactor
17573 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17574 soname_spec
='$libname$release$shared_ext$major'
17575 shlibpath_var
=LD_LIBRARY_PATH
17578 freebsd
* | dragonfly
*)
17579 # DragonFly does not have aout. When/if they implement a new
17580 # versioning mechanism, adjust this.
17581 if test -x /usr
/bin
/objformat
; then
17582 objformat
=`/usr/bin/objformat`
17585 freebsd
[23].
*) objformat
=aout
;;
17586 *) objformat
=elf
;;
17589 version_type
=freebsd
-$objformat
17590 case $version_type in
17592 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17593 soname_spec
='$libname$release$shared_ext$major'
17598 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
17602 shlibpath_var
=LD_LIBRARY_PATH
17605 shlibpath_overrides_runpath
=yes
17607 freebsd3.
[01]* | freebsdelf3.
[01]*)
17608 shlibpath_overrides_runpath
=yes
17609 hardcode_into_libs
=yes
17611 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
17612 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
17613 shlibpath_overrides_runpath
=no
17614 hardcode_into_libs
=yes
17616 *) # from 4.6 on, and DragonFly
17617 shlibpath_overrides_runpath
=yes
17618 hardcode_into_libs
=yes
17624 version_type
=linux
# correct to gnu/linux during the next big refactor
17627 dynamic_linker
="$host_os runtime_loader"
17628 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17629 soname_spec
='$libname$release$shared_ext$major'
17630 shlibpath_var
=LIBRARY_PATH
17631 shlibpath_overrides_runpath
=no
17632 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
17633 hardcode_into_libs
=yes
17636 hpux9
* | hpux10
* | hpux11
*)
17637 # Give a soname corresponding to the major version so that dld.sl refuses to
17638 # link against other versions.
17645 hardcode_into_libs
=yes
17646 dynamic_linker
="$host_os dld.so"
17647 shlibpath_var
=LD_LIBRARY_PATH
17648 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
17649 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17650 soname_spec
='$libname$release$shared_ext$major'
17651 if test 32 = "$HPUX_IA64_MODE"; then
17652 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
17653 sys_lib_dlsearch_path_spec
=/usr
/lib
/hpux32
17655 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
17656 sys_lib_dlsearch_path_spec
=/usr
/lib
/hpux64
17661 hardcode_into_libs
=yes
17662 dynamic_linker
="$host_os dld.sl"
17663 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
17664 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
17665 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17666 soname_spec
='$libname$release$shared_ext$major'
17667 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
17668 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
17672 dynamic_linker
="$host_os dld.sl"
17673 shlibpath_var
=SHLIB_PATH
17674 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
17675 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17676 soname_spec
='$libname$release$shared_ext$major'
17679 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
17680 postinstall_cmds
='chmod 555 $lib'
17681 # or fails outright, so override atomically:
17682 install_override_mode
=555
17686 version_type
=linux
# correct to gnu/linux during the next big refactor
17689 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17690 soname_spec
='$libname$release$shared_ext$major'
17691 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
17692 shlibpath_var
=LD_LIBRARY_PATH
17693 shlibpath_overrides_runpath
=no
17694 hardcode_into_libs
=yes
17697 irix5
* | irix6
* | nonstopux
*)
17699 nonstopux
*) version_type
=nonstopux
;;
17701 if test yes = "$lt_cv_prog_gnu_ld"; then
17702 version_type
=linux
# correct to gnu/linux during the next big refactor
17709 soname_spec
='$libname$release$shared_ext$major'
17710 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
17712 irix5
* | nonstopux
*)
17713 libsuff
= shlibsuff
=
17716 case $LD in # libtool.m4 will add one of these switches to LD
17717 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
17718 libsuff
= shlibsuff
= libmagic
=32-bit;;
17719 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
17720 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
17721 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
17722 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
17723 *) libsuff
= shlibsuff
= libmagic
=never
-match;;
17727 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
17728 shlibpath_overrides_runpath
=no
17729 sys_lib_search_path_spec
="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
17730 sys_lib_dlsearch_path_spec
="/usr/lib$libsuff /lib$libsuff"
17731 hardcode_into_libs
=yes
17734 # No shared lib support for Linux oldld, aout, or coff.
17735 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
17740 version_type
=none
# Android doesn't support versioned libraries.
17743 library_names_spec
='$libname$release$shared_ext'
17744 soname_spec
='$libname$release$shared_ext'
17746 shlibpath_var
=LD_LIBRARY_PATH
17747 shlibpath_overrides_runpath
=yes
17749 # This implies no fast_install, which is unacceptable.
17750 # Some rework will be needed to allow for fast_install
17751 # before this can be enabled.
17752 hardcode_into_libs
=yes
17754 dynamic_linker
='Android linker'
17755 # Don't embed -rpath directories since the linker doesn't support them.
17756 hardcode_libdir_flag_spec_CXX
='-L$libdir'
17759 # This must be glibc/ELF.
17760 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
17761 version_type
=linux
# correct to gnu/linux during the next big refactor
17764 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17765 soname_spec
='$libname$release$shared_ext$major'
17766 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
17767 shlibpath_var
=LD_LIBRARY_PATH
17768 shlibpath_overrides_runpath
=no
17770 # Some binutils ld are patched to set DT_RUNPATH
17771 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
17772 $as_echo_n "(cached) " >&6
17774 lt_cv_shlibpath_overrides_runpath
=no
17775 save_LDFLAGS
=$LDFLAGS
17776 save_libdir
=$libdir
17777 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
17778 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
17779 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17780 /* end confdefs.h. */
17790 if ac_fn_cxx_try_link
"$LINENO"; then :
17791 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null
| grep "RUNPATH.*$libdir" >/dev
/null
; then :
17792 lt_cv_shlibpath_overrides_runpath
=yes
17795 rm -f core conftest.err conftest.
$ac_objext \
17796 conftest
$ac_exeext conftest.
$ac_ext
17797 LDFLAGS
=$save_LDFLAGS
17798 libdir
=$save_libdir
17802 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
17804 # This implies no fast_install, which is unacceptable.
17805 # Some rework will be needed to allow for fast_install
17806 # before this can be enabled.
17807 hardcode_into_libs
=yes
17809 # Ideally, we could use ldconfig to report *all* directores which are
17810 # searched for libraries, however this is still not possible. Aside from not
17811 # being certain /sbin/ldconfig is available, command
17812 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
17813 # even though it is searched at run-time. Try to do the best guess by
17814 # appending ld.so.conf contents (and includes) to the search path.
17815 if test -f /etc
/ld.so.conf
; then
17816 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' ' '`
17817 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
17820 # We used to test for /lib/ld.so.1 and disable shared libraries on
17821 # powerpc, because MkLinux only supported shared libraries with the
17822 # GNU dynamic linker. Since this was broken with cross compilers,
17823 # most powerpc-linux boxes support dynamic linking these days and
17824 # people can always --disable-shared, the test was removed, and we
17825 # assume the GNU/Linux dynamic linker is in use.
17826 dynamic_linker
='GNU/Linux ld.so'
17833 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
17834 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
17835 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17836 dynamic_linker
='NetBSD (a.out) ld.so'
17838 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17839 soname_spec
='$libname$release$shared_ext$major'
17840 dynamic_linker
='NetBSD ld.elf_so'
17842 shlibpath_var
=LD_LIBRARY_PATH
17843 shlibpath_overrides_runpath
=yes
17844 hardcode_into_libs
=yes
17848 version_type
=linux
# correct to gnu/linux during the next big refactor
17849 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17850 shlibpath_var
=LD_LIBRARY_PATH
17851 shlibpath_overrides_runpath
=yes
17858 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17859 soname_spec
='$libname$release$shared_ext$major'
17860 shlibpath_var
=LD_LIBRARY_PATH
17861 shlibpath_overrides_runpath
=no
17862 hardcode_into_libs
=yes
17863 dynamic_linker
='ldqnx.so'
17866 openbsd
* | bitrig
*)
17868 sys_lib_dlsearch_path_spec
=/usr
/lib
17870 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
17875 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
17876 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17877 shlibpath_var
=LD_LIBRARY_PATH
17878 shlibpath_overrides_runpath
=yes
17882 libname_spec
='$name'
17883 version_type
=windows
17887 # OS/2 can only load a DLL with a base name of 8 characters or less.
17888 soname_spec
='`test -n "$os2dllname" && libname="$os2dllname";
17889 v=$($ECHO $release$versuffix | tr -d .-);
17890 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
17891 $ECHO $n$v`$shared_ext'
17892 library_names_spec
='${libname}_dll.$libext'
17893 dynamic_linker
='OS/2 ld.exe'
17894 shlibpath_var
=BEGINLIBPATH
17895 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
17896 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
17897 postinstall_cmds
='base_file=`basename \$file`~
17898 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
17899 dldir=$destdir/`dirname \$dlpath`~
17900 test -d \$dldir || mkdir -p \$dldir~
17901 $install_prog $dir/$dlname \$dldir/$dlname~
17902 chmod a+x \$dldir/$dlname~
17903 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
17904 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
17906 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
17907 dlpath=$dir/\$dldll~
17911 osf3
* | osf4
* | osf5
*)
17915 soname_spec
='$libname$release$shared_ext$major'
17916 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17917 shlibpath_var
=LD_LIBRARY_PATH
17918 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
17919 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
17927 version_type
=linux
# correct to gnu/linux during the next big refactor
17930 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17931 soname_spec
='$libname$release$shared_ext$major'
17932 shlibpath_var
=LD_LIBRARY_PATH
17933 shlibpath_overrides_runpath
=yes
17934 hardcode_into_libs
=yes
17935 # ldd complains unless libraries are executable
17936 postinstall_cmds
='chmod +x $lib'
17941 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
17942 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
17943 shlibpath_var
=LD_LIBRARY_PATH
17944 shlibpath_overrides_runpath
=yes
17945 if test yes = "$with_gnu_ld"; then
17952 version_type
=linux
# correct to gnu/linux during the next big refactor
17953 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17954 soname_spec
='$libname$release$shared_ext$major'
17955 shlibpath_var
=LD_LIBRARY_PATH
17956 case $host_vendor in
17958 shlibpath_overrides_runpath
=no
17960 runpath_var
=LD_RUN_PATH
17968 shlibpath_overrides_runpath
=no
17969 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
17975 if test -d /usr
/nec
; then
17976 version_type
=linux
# correct to gnu/linux during the next big refactor
17977 library_names_spec
='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
17978 soname_spec
='$libname$shared_ext.$major'
17979 shlibpath_var
=LD_LIBRARY_PATH
17983 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
17987 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
17988 soname_spec
='$libname$release$shared_ext$major'
17989 shlibpath_var
=LD_LIBRARY_PATH
17990 shlibpath_overrides_runpath
=yes
17991 hardcode_into_libs
=yes
17992 if test yes = "$with_gnu_ld"; then
17993 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
17995 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
17998 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
18002 sys_lib_dlsearch_path_spec
='/usr/lib'
18006 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
18007 version_type
=linux
# correct to gnu/linux during the next big refactor
18010 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
18011 shlibpath_var
=LD_LIBRARY_PATH
18012 shlibpath_overrides_runpath
=no
18013 hardcode_into_libs
=yes
18017 version_type
=linux
# correct to gnu/linux during the next big refactor
18018 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
18019 soname_spec
='$libname$release$shared_ext$major'
18020 shlibpath_var
=LD_LIBRARY_PATH
18027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
18028 $as_echo "$dynamic_linker" >&6; }
18029 test no
= "$dynamic_linker" && can_build_shared
=no
18031 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
18032 if test yes = "$GCC"; then
18033 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
18036 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
18037 sys_lib_search_path_spec
=$lt_cv_sys_lib_search_path_spec
18040 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
18041 sys_lib_dlsearch_path_spec
=$lt_cv_sys_lib_dlsearch_path_spec
18044 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
18045 configure_time_dlsearch_path
=$sys_lib_dlsearch_path_spec
18047 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
18048 func_munge_path_list sys_lib_dlsearch_path_spec
"$LT_SYS_LIBRARY_PATH"
18050 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
18051 configure_time_lt_sys_library_path
=$LT_SYS_LIBRARY_PATH
18092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
18093 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
18094 hardcode_action_CXX
=
18095 if test -n "$hardcode_libdir_flag_spec_CXX" ||
18096 test -n "$runpath_var_CXX" ||
18097 test yes = "$hardcode_automatic_CXX"; then
18099 # We can hardcode non-existent directories.
18100 if test no
!= "$hardcode_direct_CXX" &&
18101 # If the only mechanism to avoid hardcoding is shlibpath_var, we
18102 # have to relink, otherwise we might link with an installed library
18103 # when we should be linking with a yet-to-be-installed one
18104 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" &&
18105 test no
!= "$hardcode_minus_L_CXX"; then
18106 # Linking always hardcodes the temporary library directory.
18107 hardcode_action_CXX
=relink
18109 # We can link without hardcoding, and we can hardcode nonexisting dirs.
18110 hardcode_action_CXX
=immediate
18113 # We cannot hardcode anything, or else we can only hardcode existing
18115 hardcode_action_CXX
=unsupported
18117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
18118 $as_echo "$hardcode_action_CXX" >&6; }
18120 if test relink
= "$hardcode_action_CXX" ||
18121 test yes = "$inherit_rpath_CXX"; then
18122 # Fast installation is not supported
18123 enable_fast_install
=no
18124 elif test yes = "$shlibpath_overrides_runpath" ||
18125 test no
= "$enable_shared"; then
18126 # Fast installation is not necessary
18127 enable_fast_install
=needless
18136 fi # test -n "$compiler"
18139 CFLAGS
=$lt_save_CFLAGS
18143 with_gnu_ld
=$lt_save_with_gnu_ld
18144 lt_cv_path_LDCXX
=$lt_cv_path_LD
18145 lt_cv_path_LD
=$lt_save_path_LD
18146 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
18147 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
18148 fi # test yes != "$_lt_caught_CXX_error"
18151 ac_cpp
='$CPP $CPPFLAGS'
18152 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18153 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18154 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18170 ac_config_commands
="$ac_config_commands libtool"
18175 # Only expand once:
18180 ac_cpp
='$CXXCPP $CPPFLAGS'
18181 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18182 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18183 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18186 ax_cxx_compile_cxx11_required
=true
18188 ac_cpp
='$CXXCPP $CPPFLAGS'
18189 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18190 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18191 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX supports C++11 features by default" >&5
18194 $as_echo_n "checking whether $CXX supports C++11 features by default... " >&6; }
18195 if ${ax_cv_cxx_compile_cxx11+:} false
; then :
18196 $as_echo_n "(cached) " >&6
18198 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18199 /* end confdefs.h. */
18201 template <typename T>
18204 static_assert(sizeof(int) <= sizeof(T), "not big enough");
18208 virtual void f() {}
18210 struct Child : public Base {
18211 virtual void f() override {}
18214 typedef check<check<bool>> right_angle_brackets;
18219 typedef check<int> check_type;
18221 check_type&& cr = static_cast<check_type&&>(c);
18227 if ac_fn_cxx_try_compile
"$LINENO"; then :
18228 ax_cv_cxx_compile_cxx11
=yes
18230 ax_cv_cxx_compile_cxx11
=no
18232 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_cxx_compile_cxx11" >&5
18235 $as_echo "$ax_cv_cxx_compile_cxx11" >&6; }
18236 if test x
$ax_cv_cxx_compile_cxx11 = xyes
; then
18240 if test x
$ac_success = xno
; then
18241 for switch
in -std=gnu
++11 -std=gnu
++0x
; do
18242 cachevar
=`$as_echo "ax_cv_cxx_compile_cxx11_$switch" | $as_tr_sh`
18243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX supports C++11 features with $switch" >&5
18244 $as_echo_n "checking whether $CXX supports C++11 features with $switch... " >&6; }
18245 if eval \
${$cachevar+:} false
; then :
18246 $as_echo_n "(cached) " >&6
18248 ac_save_CXXFLAGS
="$CXXFLAGS"
18249 CXXFLAGS
="$CXXFLAGS $switch"
18250 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18251 /* end confdefs.h. */
18253 template <typename T>
18256 static_assert(sizeof(int) <= sizeof(T), "not big enough");
18260 virtual void f() {}
18262 struct Child : public Base {
18263 virtual void f() override {}
18266 typedef check<check<bool>> right_angle_brackets;
18271 typedef check<int> check_type;
18273 check_type&& cr = static_cast<check_type&&>(c);
18279 if ac_fn_cxx_try_compile
"$LINENO"; then :
18284 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18285 CXXFLAGS
="$ac_save_CXXFLAGS"
18287 eval ac_res
=\$
$cachevar
18288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
18289 $as_echo "$ac_res" >&6; }
18290 if eval test x\$
$cachevar = xyes
; then
18291 CXXFLAGS
="$CXXFLAGS $switch"
18300 ac_cpp
='$CXXCPP $CPPFLAGS'
18301 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18302 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18303 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18305 if test x
$ax_cxx_compile_cxx11_required = xtrue
; then
18306 if test x
$ac_success = xno
; then
18307 as_fn_error $?
"*** A compiler with support for C++11 language features is required." "$LINENO" 5
18310 if test x
$ac_success = xno
; then
18312 { $as_echo "$as_me:${as_lineno-$LINENO}: No compiler with C++11 support was found" >&5
18313 $as_echo "$as_me: No compiler with C++11 support was found" >&6;}
18317 $as_echo "#define HAVE_CXX11 1" >>confdefs.h
18324 OBJCXXFLAGS
="${OBJCXXFLAGS} ${CXXFLAGS##*' '}"
18333 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
18334 if test -n "$ac_tool_prefix"; then
18335 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
18336 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
18337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18338 $as_echo_n "checking for $ac_word... " >&6; }
18339 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
18340 $as_echo_n "(cached) " >&6
18342 case $PKG_CONFIG in
18344 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
18347 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18348 for as_dir
in $PATH
18351 test -z "$as_dir" && as_dir
=.
18352 for ac_exec_ext
in '' $ac_executable_extensions; do
18353 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
18354 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
18355 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18365 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
18366 if test -n "$PKG_CONFIG"; then
18367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
18368 $as_echo "$PKG_CONFIG" >&6; }
18370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18371 $as_echo "no" >&6; }
18376 if test -z "$ac_cv_path_PKG_CONFIG"; then
18377 ac_pt_PKG_CONFIG
=$PKG_CONFIG
18378 # Extract the first word of "pkg-config", so it can be a program name with args.
18379 set dummy pkg
-config; ac_word
=$2
18380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18381 $as_echo_n "checking for $ac_word... " >&6; }
18382 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
18383 $as_echo_n "(cached) " >&6
18385 case $ac_pt_PKG_CONFIG in
18387 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
18390 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18391 for as_dir
in $PATH
18394 test -z "$as_dir" && as_dir
=.
18395 for ac_exec_ext
in '' $ac_executable_extensions; do
18396 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
18397 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
18398 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18408 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
18409 if test -n "$ac_pt_PKG_CONFIG"; then
18410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
18411 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
18413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18414 $as_echo "no" >&6; }
18417 if test "x$ac_pt_PKG_CONFIG" = x
; then
18420 case $cross_compiling:$ac_tool_warned in
18422 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
18423 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
18424 ac_tool_warned
=yes ;;
18426 PKG_CONFIG
=$ac_pt_PKG_CONFIG
18429 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
18433 if test -n "$PKG_CONFIG"; then
18434 _pkg_min_version
=0.22
18435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
18436 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
18437 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
18438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18439 $as_echo "yes" >&6; }
18441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18442 $as_echo "no" >&6; }
18447 # Extract the first word of "git", so it can be a program name with args.
18448 set dummy git
; ac_word
=$2
18449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18450 $as_echo_n "checking for $ac_word... " >&6; }
18451 if ${ac_cv_path_GIT+:} false
; then :
18452 $as_echo_n "(cached) " >&6
18456 ac_cv_path_GIT
="$GIT" # Let the user override the test with a path.
18459 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18460 for as_dir
in $PATH
18463 test -z "$as_dir" && as_dir
=.
18464 for ac_exec_ext
in '' $ac_executable_extensions; do
18465 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
18466 ac_cv_path_GIT
="$as_dir/$ac_word$ac_exec_ext"
18467 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18477 GIT
=$ac_cv_path_GIT
18478 if test -n "$GIT"; then
18479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GIT" >&5
18480 $as_echo "$GIT" >&6; }
18482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18483 $as_echo "no" >&6; }
18487 # Extract the first word of "time", so it can be a program name with args.
18488 set dummy
time; ac_word
=$2
18489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18490 $as_echo_n "checking for $ac_word... " >&6; }
18491 if ${ac_cv_path_TIME+:} false
; then :
18492 $as_echo_n "(cached) " >&6
18496 ac_cv_path_TIME
="$TIME" # Let the user override the test with a path.
18499 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18500 for as_dir
in $PATH
18503 test -z "$as_dir" && as_dir
=.
18504 for ac_exec_ext
in '' $ac_executable_extensions; do
18505 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
18506 ac_cv_path_TIME
="$as_dir/$ac_word$ac_exec_ext"
18507 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18517 TIME
=$ac_cv_path_TIME
18518 if test -n "$TIME"; then
18519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TIME" >&5
18520 $as_echo "$TIME" >&6; }
18522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18523 $as_echo "no" >&6; }
18532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bison >= 3.0" >&5
18533 $as_echo_n "checking for bison >= 3.0... " >&6; }
18534 if test -z "$BISON"; then
18535 ac_path_BISON_found
=false
18536 # Loop through the user's path and test for each of PROGNAME-LIST
18537 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18538 for as_dir
in $PATH
18541 test -z "$as_dir" && as_dir
=.
18542 for ac_prog
in bison
; do
18543 for ac_exec_ext
in '' $ac_executable_extensions; do
18544 ac_path_BISON
="$as_dir/$ac_prog$ac_exec_ext"
18545 as_fn_executable_p
"$ac_path_BISON" || continue
18546 version
=`$ac_path_BISON -V | $SED -e '1 s/^bison (GNU Bison) \(.*\)$/\1/p;d'`
18547 if ${version:+false} :; then :
18550 as_awk_strverscmp
='
18551 # Use only awk features that work with 7th edition Unix awk (1978).
18552 # My, what an old awk you have, Mr. Solaris!
18554 while (length(v1) && length(v2)) {
18555 # Set d1 to be the next thing to compare from v1, and likewise for d2.
18556 # Normally this is a single character, but if v1 and v2 contain digits,
18557 # compare them as integers and fractions as strverscmp does.
18558 if (v1 ~ /^0-9/ && v2 ~ /^0-9/) {
18559 # Split v1 and v2 into their leading digit string components d1 and d2,
18560 # and advance v1 and v2 past the leading digit strings.
18561 for (len1 = 1; substr(v1, len1 + 1) ~ /^0-9/; len1++) continue
18562 for (len2 = 1; substr(v2, len2 + 1) ~ /^0-9/; len2++) continue
18563 d1 = substr(v1, 1, len1); v1 = substr(v1, len1 + 1)
18564 d2 = substr(v2, 1, len2); v2 = substr(v2, len2 + 1)
18567 # Compare two fractions.
18568 while (d1 ~ /^0/ && d2 ~ /^0/) {
18569 d1 = substr(d1, 2); len1--
18570 d2 = substr(d2, 2); len2--
18572 if (len1 != len2 && ! (len1 && len2 && substr(d1, 1, 1) == substr(d2, 1, 1))) {
18573 # The two components differ in length, and the common prefix
18574 # contains only leading zeros. Consider the longer to be less.
18578 # Otherwise, compare as strings.
18583 # A fraction is less than an integer.
18588 # An integer is greater than a fraction.
18591 # Compare two integers.
18597 # The normal case, without worrying about digits.
18598 d1 = substr(v1, 1, 1); v1 = substr(v1, 2)
18599 d2 = substr(v2, 1, 1); v2 = substr(v2, 2)
18601 if (d1 < d2) exit 1
18602 if (d1 > d2) exit 2
18604 # Beware Solaris /usr/xgp4/bin/awk (at least through Solaris 10),
18605 # which mishandles some comparisons of empty strings to integers.
18606 if (length(v2)) exit 1
18607 if (length(v1)) exit 2
18612 awk "$as_awk_strverscmp" v1
="$as_arg_v1" v2
="$as_arg_v2" /dev
/null
18617 ac_cv_path_BISON
=$ac_path_BISON ;; #(
18619 ac_cv_path_BISON
=$ac_path_BISON ;; #(
18625 $ac_path_BISON_found && break 3
18630 if test -z "$ac_cv_path_BISON"; then
18631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18632 $as_echo "no" >&6; }
18635 ac_cv_path_BISON
=$BISON
18641 BISON
=$ac_cv_path_BISON
18643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
18644 $as_echo "$BISON" >&6; }
18649 as_fn_error $?
"You need bison 3.0 or greater" "$LINENO" 5
18655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18656 $as_echo "no" >&6; }
18664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for flex >= 2.5.33" >&5
18665 $as_echo_n "checking for flex >= 2.5.33... " >&6; }
18666 if test -z "$FLEX"; then
18667 ac_path_FLEX_found
=false
18668 # Loop through the user's path and test for each of PROGNAME-LIST
18669 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18670 for as_dir
in $PATH
18673 test -z "$as_dir" && as_dir
=.
18674 for ac_prog
in flex
; do
18675 for ac_exec_ext
in '' $ac_executable_extensions; do
18676 ac_path_FLEX
="$as_dir/$ac_prog$ac_exec_ext"
18677 as_fn_executable_p
"$ac_path_FLEX" || continue
18678 version
=`$ac_path_FLEX --version | $SED -e '1 s/^[^0-9.]* \([0-9.]*\).*$/\1/p;d'`
18679 if ${version:+false} :; then :
18684 awk "$as_awk_strverscmp" v1
="$as_arg_v1" v2
="$as_arg_v2" /dev
/null
18689 ac_cv_path_FLEX
=$ac_path_FLEX ;; #(
18691 ac_cv_path_FLEX
=$ac_path_FLEX ;; #(
18697 $ac_path_FLEX_found && break 3
18702 if test -z "$ac_cv_path_FLEX"; then
18703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18704 $as_echo "no" >&6; }
18707 ac_cv_path_FLEX
=$FLEX
18713 FLEX
=$ac_cv_path_FLEX
18715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
18716 $as_echo "$FLEX" >&6; }
18721 as_fn_error $?
"You need flex 2.5.33 or greater" "$LINENO" 5
18727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18728 $as_echo "no" >&6; }
18736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gperf >= 3.0.3" >&5
18737 $as_echo_n "checking for gperf >= 3.0.3... " >&6; }
18738 if test -z "$GPERF"; then
18739 ac_path_GPERF_found
=false
18740 # Loop through the user's path and test for each of PROGNAME-LIST
18741 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18742 for as_dir
in $PATH
18745 test -z "$as_dir" && as_dir
=.
18746 for ac_prog
in gperf
; do
18747 for ac_exec_ext
in '' $ac_executable_extensions; do
18748 ac_path_GPERF
="$as_dir/$ac_prog$ac_exec_ext"
18749 as_fn_executable_p
"$ac_path_GPERF" || continue
18750 version
=`$ac_path_GPERF --version | $SED -e '1 s/^.* \([0-9.]*\)$/\1/p;d'`
18751 if ${version:+false} :; then :
18756 awk "$as_awk_strverscmp" v1
="$as_arg_v1" v2
="$as_arg_v2" /dev
/null
18761 ac_cv_path_GPERF
=$ac_path_GPERF ;; #(
18763 ac_cv_path_GPERF
=$ac_path_GPERF ;; #(
18769 $ac_path_GPERF_found && break 3
18774 if test -z "$ac_cv_path_GPERF"; then
18775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18776 $as_echo "no" >&6; }
18779 ac_cv_path_GPERF
=$GPERF
18785 GPERF
=$ac_cv_path_GPERF
18787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GPERF" >&5
18788 $as_echo "$GPERF" >&6; }
18793 as_fn_error $?
"You need gperf 3.0.3 or greater" "$LINENO" 5
18799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18800 $as_echo "no" >&6; }
18808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tar gtar gnutar >= 1.19" >&5
18809 $as_echo_n "checking for tar gtar gnutar >= 1.19... " >&6; }
18810 if test -z "$GNUTAR"; then
18811 ac_path_GNUTAR_found
=false
18812 # Loop through the user's path and test for each of PROGNAME-LIST
18813 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18814 for as_dir
in $PATH
18817 test -z "$as_dir" && as_dir
=.
18818 for ac_prog
in tar gtar gnutar
; do
18819 for ac_exec_ext
in '' $ac_executable_extensions; do
18820 ac_path_GNUTAR
="$as_dir/$ac_prog$ac_exec_ext"
18821 as_fn_executable_p
"$ac_path_GNUTAR" || continue
18822 version
=`$ac_path_GNUTAR --version | $SED -e '1 s/^tar (GNU tar) \(.*\)$/\1/p;d'`
18823 if ${version:+false} :; then :
18828 awk "$as_awk_strverscmp" v1
="$as_arg_v1" v2
="$as_arg_v2" /dev
/null
18833 ac_cv_path_GNUTAR
=$ac_path_GNUTAR ;; #(
18835 ac_cv_path_GNUTAR
=$ac_path_GNUTAR ;; #(
18841 $ac_path_GNUTAR_found && break 3
18846 if test -z "$ac_cv_path_GNUTAR"; then
18847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18848 $as_echo "no" >&6; }
18851 ac_cv_path_GNUTAR
=$GNUTAR
18857 GNUTAR
=$ac_cv_path_GNUTAR
18859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNUTAR" >&5
18860 $as_echo "$GNUTAR" >&6; }
18865 as_fn_error $?
"You need tar gtar gnutar 1.19 or greater" "$LINENO" 5
18871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18872 $as_echo "no" >&6; }
18883 if test "x$LFLAGS" = x
; then :
18884 LFLAGS
="--full --ecs"
18892 ac_cpp
='$CPP $CPPFLAGS'
18893 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18894 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18895 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking CFLAGS for maximum warnings" >&5
18898 $as_echo_n "checking CFLAGS for maximum warnings... " >&6; }
18899 if ${ac_cv_cflags_warn_all+:} false
; then :
18900 $as_echo_n "(cached) " >&6
18902 ac_cv_cflags_warn_all
="no, unknown"
18903 ac_save_CFLAGS
="$CFLAGS"
18904 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" #
18905 do CFLAGS
="$ac_save_CFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
18906 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18907 /* end confdefs.h. */
18917 if ac_fn_c_try_compile
"$LINENO"; then :
18918 ac_cv_cflags_warn_all
=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
18920 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18922 CFLAGS
="$ac_save_CFLAGS"
18925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags_warn_all" >&5
18926 $as_echo "$ac_cv_cflags_warn_all" >&6; }
18929 case ".$ac_cv_cflags_warn_all" in
18932 *) if ${CFLAGS+:} false
; then :
18933 case " $CFLAGS " in
18934 *" $ac_cv_cflags_warn_all "*)
18935 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$ac_cv_cflags_warn_all"; } >&5
18936 (: CFLAGS already contains
$ac_cv_cflags_warn_all) 2>&5
18938 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18939 test $ac_status = 0; }
18942 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$ac_cv_cflags_warn_all\""; } >&5
18943 (: CFLAGS
="$CFLAGS $ac_cv_cflags_warn_all") 2>&5
18945 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18946 test $ac_status = 0; }
18947 CFLAGS
="$CFLAGS $ac_cv_cflags_warn_all"
18951 CFLAGS
="$ac_cv_cflags_warn_all"
18957 ac_cpp
='$CXXCPP $CPPFLAGS'
18958 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18959 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18960 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18964 ac_cpp
='$CXXCPP $CPPFLAGS'
18965 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18966 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18967 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking CXXFLAGS for maximum warnings" >&5
18970 $as_echo_n "checking CXXFLAGS for maximum warnings... " >&6; }
18971 if ${ac_cv_cxxflags_warn_all+:} false
; then :
18972 $as_echo_n "(cached) " >&6
18974 ac_cv_cxxflags_warn_all
="no, unknown"
18975 ac_save_CXXFLAGS
="$CXXFLAGS"
18976 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" #
18977 do CXXFLAGS
="$ac_save_CXXFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
18978 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18979 /* end confdefs.h. */
18989 if ac_fn_cxx_try_compile
"$LINENO"; then :
18990 ac_cv_cxxflags_warn_all
=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
18992 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18994 CXXFLAGS
="$ac_save_CXXFLAGS"
18997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxxflags_warn_all" >&5
18998 $as_echo "$ac_cv_cxxflags_warn_all" >&6; }
19001 case ".$ac_cv_cxxflags_warn_all" in
19004 *) if ${CXXFLAGS+:} false
; then :
19005 case " $CXXFLAGS " in
19006 *" $ac_cv_cxxflags_warn_all "*)
19007 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXFLAGS already contains \$ac_cv_cxxflags_warn_all"; } >&5
19008 (: CXXFLAGS already contains
$ac_cv_cxxflags_warn_all) 2>&5
19010 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19011 test $ac_status = 0; }
19014 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXFLAGS=\"\$CXXFLAGS \$ac_cv_cxxflags_warn_all\""; } >&5
19015 (: CXXFLAGS
="$CXXFLAGS $ac_cv_cxxflags_warn_all") 2>&5
19017 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19018 test $ac_status = 0; }
19019 CXXFLAGS
="$CXXFLAGS $ac_cv_cxxflags_warn_all"
19023 CXXFLAGS
="$ac_cv_cxxflags_warn_all"
19029 ac_cpp
='$CXXCPP $CPPFLAGS'
19030 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19031 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19032 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking CXXFLAGS for maximum warnings" >&5
19036 $as_echo_n "checking CXXFLAGS for maximum warnings... " >&6; }
19037 if ${ac_cv_cxxflags_warn_all+:} false
; then :
19038 $as_echo_n "(cached) " >&6
19040 ac_cv_cxxflags_warn_all
="no, unknown"
19041 ac_save_CXXFLAGS
="$CXXFLAGS"
19042 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" #
19043 do CXXFLAGS
="$ac_save_CXXFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
19044 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19045 /* end confdefs.h. */
19055 if ac_fn_cxx_try_compile
"$LINENO"; then :
19056 ac_cv_cxxflags_warn_all
=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
19058 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19060 CXXFLAGS
="$ac_save_CXXFLAGS"
19063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxxflags_warn_all" >&5
19064 $as_echo "$ac_cv_cxxflags_warn_all" >&6; }
19067 case ".$ac_cv_cxxflags_warn_all" in
19070 *) if ${CXXFLAGS+:} false
; then :
19071 case " $CXXFLAGS " in
19072 *" $ac_cv_cxxflags_warn_all "*)
19073 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXFLAGS already contains \$ac_cv_cxxflags_warn_all"; } >&5
19074 (: CXXFLAGS already contains
$ac_cv_cxxflags_warn_all) 2>&5
19076 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19077 test $ac_status = 0; }
19080 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXFLAGS=\"\$CXXFLAGS \$ac_cv_cxxflags_warn_all\""; } >&5
19081 (: CXXFLAGS
="$CXXFLAGS $ac_cv_cxxflags_warn_all") 2>&5
19083 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19084 test $ac_status = 0; }
19085 CXXFLAGS
="$CXXFLAGS $ac_cv_cxxflags_warn_all"
19089 CXXFLAGS
="$ac_cv_cxxflags_warn_all"
19099 ac_cpp
='$CPP $CPPFLAGS'
19100 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19101 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19102 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cc -Werror" >&5
19105 $as_echo_n "checking for cc -Werror... " >&6; }
19109 for element
in -Werror; do
19111 for x
in $CFLAGS; do
19113 acl_save_prefix
="$prefix"
19114 prefix
="$acl_final_prefix"
19115 acl_save_exec_prefix
="$exec_prefix"
19116 exec_prefix
="$acl_final_exec_prefix"
19118 exec_prefix
="$acl_save_exec_prefix"
19119 prefix
="$acl_save_prefix"
19121 if test "X$x" = "X$element"; then
19126 if test -z "$haveit"; then
19127 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
19132 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19133 /* end confdefs.h. */
19136 if ac_fn_c_try_compile
"$LINENO"; then :
19141 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19144 if test "x$cy_good" = x1
; then :
19145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19146 $as_echo "yes" >&6; }
19148 for element
in -Werror; do
19150 for x
in $CFLAGS; do
19152 acl_save_prefix
="$prefix"
19153 prefix
="$acl_final_prefix"
19154 acl_save_exec_prefix
="$exec_prefix"
19155 exec_prefix
="$acl_final_exec_prefix"
19157 exec_prefix
="$acl_save_exec_prefix"
19158 prefix
="$acl_save_prefix"
19160 if test "X$x" = "X$element"; then
19165 if test -z "$haveit"; then
19166 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
19172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19173 $as_echo "no" >&6; }
19177 ac_cpp
='$CXXCPP $CPPFLAGS'
19178 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19179 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19180 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19185 ac_cpp
='$CXXCPP $CPPFLAGS'
19186 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19187 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19188 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -Werror" >&5
19191 $as_echo_n "checking for c++ -Werror... " >&6; }
19195 for element
in -Werror; do
19197 for x
in $CXXFLAGS; do
19199 acl_save_prefix
="$prefix"
19200 prefix
="$acl_final_prefix"
19201 acl_save_exec_prefix
="$exec_prefix"
19202 exec_prefix
="$acl_final_exec_prefix"
19204 exec_prefix
="$acl_save_exec_prefix"
19205 prefix
="$acl_save_prefix"
19207 if test "X$x" = "X$element"; then
19212 if test -z "$haveit"; then
19213 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
19218 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19219 /* end confdefs.h. */
19222 if ac_fn_cxx_try_compile
"$LINENO"; then :
19227 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19230 if test "x$cy_good" = x1
; then :
19231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19232 $as_echo "yes" >&6; }
19234 for element
in -Werror; do
19236 for x
in $CXXFLAGS; do
19238 acl_save_prefix
="$prefix"
19239 prefix
="$acl_final_prefix"
19240 acl_save_exec_prefix
="$exec_prefix"
19241 exec_prefix
="$acl_final_exec_prefix"
19243 exec_prefix
="$acl_save_exec_prefix"
19244 prefix
="$acl_save_prefix"
19246 if test "X$x" = "X$element"; then
19251 if test -z "$haveit"; then
19252 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
19258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19259 $as_echo "no" >&6; }
19263 ac_cpp
='$CXXCPP $CPPFLAGS'
19264 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19265 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19266 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19271 ac_cpp
='$OBJCXXCPP $CPPFLAGS'
19272 ac_compile
='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19273 ac_link
='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19274 ac_compiler_gnu
=$ac_cv_objcxx_compiler_gnu
19276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -ObjC -Werror" >&5
19277 $as_echo_n "checking for c++ -ObjC -Werror... " >&6; }
19279 cy_save
=$OBJCXXFLAGS
19281 for element
in -Werror; do
19283 for x
in $OBJCXXFLAGS; do
19285 acl_save_prefix
="$prefix"
19286 prefix
="$acl_final_prefix"
19287 acl_save_exec_prefix
="$exec_prefix"
19288 exec_prefix
="$acl_final_exec_prefix"
19290 exec_prefix
="$acl_save_exec_prefix"
19291 prefix
="$acl_save_prefix"
19293 if test "X$x" = "X$element"; then
19298 if test -z "$haveit"; then
19299 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
19304 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19305 /* end confdefs.h. */
19308 if ac_fn_objcxx_try_compile
"$LINENO"; then :
19313 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19315 OBJCXXFLAGS
=$cy_save
19316 if test "x$cy_good" = x1
; then :
19317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19318 $as_echo "yes" >&6; }
19320 for element
in -Werror; do
19322 for x
in $OBJCXXFLAGS; do
19324 acl_save_prefix
="$prefix"
19325 prefix
="$acl_final_prefix"
19326 acl_save_exec_prefix
="$exec_prefix"
19327 exec_prefix
="$acl_final_exec_prefix"
19329 exec_prefix
="$acl_save_exec_prefix"
19330 prefix
="$acl_save_prefix"
19332 if test "X$x" = "X$element"; then
19337 if test -z "$haveit"; then
19338 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
19344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19345 $as_echo "no" >&6; }
19349 ac_cpp
='$CXXCPP $CPPFLAGS'
19350 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19351 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19352 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19360 ac_cpp
='$CPP $CPPFLAGS'
19361 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19362 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19363 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cc -Wno-deprecated-declarations" >&5
19366 $as_echo_n "checking for cc -Wno-deprecated-declarations... " >&6; }
19370 for element
in -Wno-deprecated-declarations; do
19372 for x
in $CFLAGS; do
19374 acl_save_prefix
="$prefix"
19375 prefix
="$acl_final_prefix"
19376 acl_save_exec_prefix
="$exec_prefix"
19377 exec_prefix
="$acl_final_exec_prefix"
19379 exec_prefix
="$acl_save_exec_prefix"
19380 prefix
="$acl_save_prefix"
19382 if test "X$x" = "X$element"; then
19387 if test -z "$haveit"; then
19388 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
19393 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19394 /* end confdefs.h. */
19397 if ac_fn_c_try_compile
"$LINENO"; then :
19402 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19405 if test "x$cy_good" = x1
; then :
19406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19407 $as_echo "yes" >&6; }
19409 for element
in -Wno-deprecated-declarations; do
19411 for x
in $CFLAGS; do
19413 acl_save_prefix
="$prefix"
19414 prefix
="$acl_final_prefix"
19415 acl_save_exec_prefix
="$exec_prefix"
19416 exec_prefix
="$acl_final_exec_prefix"
19418 exec_prefix
="$acl_save_exec_prefix"
19419 prefix
="$acl_save_prefix"
19421 if test "X$x" = "X$element"; then
19426 if test -z "$haveit"; then
19427 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
19433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19434 $as_echo "no" >&6; }
19438 ac_cpp
='$CXXCPP $CPPFLAGS'
19439 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19440 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19441 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19446 ac_cpp
='$CXXCPP $CPPFLAGS'
19447 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19448 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19449 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -Wno-deprecated-declarations" >&5
19452 $as_echo_n "checking for c++ -Wno-deprecated-declarations... " >&6; }
19456 for element
in -Wno-deprecated-declarations; do
19458 for x
in $CXXFLAGS; do
19460 acl_save_prefix
="$prefix"
19461 prefix
="$acl_final_prefix"
19462 acl_save_exec_prefix
="$exec_prefix"
19463 exec_prefix
="$acl_final_exec_prefix"
19465 exec_prefix
="$acl_save_exec_prefix"
19466 prefix
="$acl_save_prefix"
19468 if test "X$x" = "X$element"; then
19473 if test -z "$haveit"; then
19474 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
19479 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19480 /* end confdefs.h. */
19483 if ac_fn_cxx_try_compile
"$LINENO"; then :
19488 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19491 if test "x$cy_good" = x1
; then :
19492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19493 $as_echo "yes" >&6; }
19495 for element
in -Wno-deprecated-declarations; do
19497 for x
in $CXXFLAGS; do
19499 acl_save_prefix
="$prefix"
19500 prefix
="$acl_final_prefix"
19501 acl_save_exec_prefix
="$exec_prefix"
19502 exec_prefix
="$acl_final_exec_prefix"
19504 exec_prefix
="$acl_save_exec_prefix"
19505 prefix
="$acl_save_prefix"
19507 if test "X$x" = "X$element"; then
19512 if test -z "$haveit"; then
19513 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
19519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19520 $as_echo "no" >&6; }
19524 ac_cpp
='$CXXCPP $CPPFLAGS'
19525 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19526 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19527 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19532 ac_cpp
='$OBJCXXCPP $CPPFLAGS'
19533 ac_compile
='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19534 ac_link
='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19535 ac_compiler_gnu
=$ac_cv_objcxx_compiler_gnu
19537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -ObjC -Wno-deprecated-declarations" >&5
19538 $as_echo_n "checking for c++ -ObjC -Wno-deprecated-declarations... " >&6; }
19540 cy_save
=$OBJCXXFLAGS
19542 for element
in -Wno-deprecated-declarations; do
19544 for x
in $OBJCXXFLAGS; do
19546 acl_save_prefix
="$prefix"
19547 prefix
="$acl_final_prefix"
19548 acl_save_exec_prefix
="$exec_prefix"
19549 exec_prefix
="$acl_final_exec_prefix"
19551 exec_prefix
="$acl_save_exec_prefix"
19552 prefix
="$acl_save_prefix"
19554 if test "X$x" = "X$element"; then
19559 if test -z "$haveit"; then
19560 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
19565 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19566 /* end confdefs.h. */
19569 if ac_fn_objcxx_try_compile
"$LINENO"; then :
19574 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19576 OBJCXXFLAGS
=$cy_save
19577 if test "x$cy_good" = x1
; then :
19578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19579 $as_echo "yes" >&6; }
19581 for element
in -Wno-deprecated-declarations; do
19583 for x
in $OBJCXXFLAGS; do
19585 acl_save_prefix
="$prefix"
19586 prefix
="$acl_final_prefix"
19587 acl_save_exec_prefix
="$exec_prefix"
19588 exec_prefix
="$acl_final_exec_prefix"
19590 exec_prefix
="$acl_save_exec_prefix"
19591 prefix
="$acl_save_prefix"
19593 if test "X$x" = "X$element"; then
19598 if test -z "$haveit"; then
19599 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
19605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19606 $as_echo "no" >&6; }
19610 ac_cpp
='$CXXCPP $CPPFLAGS'
19611 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19612 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19613 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19621 ac_cpp
='$CPP $CPPFLAGS'
19622 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19623 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19624 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cc -Wno-dangling-else" >&5
19627 $as_echo_n "checking for cc -Wno-dangling-else... " >&6; }
19631 for element
in -Wno-dangling-else; do
19633 for x
in $CFLAGS; do
19635 acl_save_prefix
="$prefix"
19636 prefix
="$acl_final_prefix"
19637 acl_save_exec_prefix
="$exec_prefix"
19638 exec_prefix
="$acl_final_exec_prefix"
19640 exec_prefix
="$acl_save_exec_prefix"
19641 prefix
="$acl_save_prefix"
19643 if test "X$x" = "X$element"; then
19648 if test -z "$haveit"; then
19649 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
19654 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19655 /* end confdefs.h. */
19658 if ac_fn_c_try_compile
"$LINENO"; then :
19663 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19666 if test "x$cy_good" = x1
; then :
19667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19668 $as_echo "yes" >&6; }
19670 for element
in -Wno-dangling-else; do
19672 for x
in $CFLAGS; do
19674 acl_save_prefix
="$prefix"
19675 prefix
="$acl_final_prefix"
19676 acl_save_exec_prefix
="$exec_prefix"
19677 exec_prefix
="$acl_final_exec_prefix"
19679 exec_prefix
="$acl_save_exec_prefix"
19680 prefix
="$acl_save_prefix"
19682 if test "X$x" = "X$element"; then
19687 if test -z "$haveit"; then
19688 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
19694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19695 $as_echo "no" >&6; }
19699 ac_cpp
='$CXXCPP $CPPFLAGS'
19700 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19701 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19702 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19707 ac_cpp
='$CXXCPP $CPPFLAGS'
19708 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19709 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19710 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -Wno-dangling-else" >&5
19713 $as_echo_n "checking for c++ -Wno-dangling-else... " >&6; }
19717 for element
in -Wno-dangling-else; do
19719 for x
in $CXXFLAGS; do
19721 acl_save_prefix
="$prefix"
19722 prefix
="$acl_final_prefix"
19723 acl_save_exec_prefix
="$exec_prefix"
19724 exec_prefix
="$acl_final_exec_prefix"
19726 exec_prefix
="$acl_save_exec_prefix"
19727 prefix
="$acl_save_prefix"
19729 if test "X$x" = "X$element"; then
19734 if test -z "$haveit"; then
19735 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
19740 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19741 /* end confdefs.h. */
19744 if ac_fn_cxx_try_compile
"$LINENO"; then :
19749 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19752 if test "x$cy_good" = x1
; then :
19753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19754 $as_echo "yes" >&6; }
19756 for element
in -Wno-dangling-else; do
19758 for x
in $CXXFLAGS; do
19760 acl_save_prefix
="$prefix"
19761 prefix
="$acl_final_prefix"
19762 acl_save_exec_prefix
="$exec_prefix"
19763 exec_prefix
="$acl_final_exec_prefix"
19765 exec_prefix
="$acl_save_exec_prefix"
19766 prefix
="$acl_save_prefix"
19768 if test "X$x" = "X$element"; then
19773 if test -z "$haveit"; then
19774 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
19780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19781 $as_echo "no" >&6; }
19785 ac_cpp
='$CXXCPP $CPPFLAGS'
19786 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19787 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19788 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19793 ac_cpp
='$OBJCXXCPP $CPPFLAGS'
19794 ac_compile
='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19795 ac_link
='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19796 ac_compiler_gnu
=$ac_cv_objcxx_compiler_gnu
19798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -ObjC -Wno-dangling-else" >&5
19799 $as_echo_n "checking for c++ -ObjC -Wno-dangling-else... " >&6; }
19801 cy_save
=$OBJCXXFLAGS
19803 for element
in -Wno-dangling-else; do
19805 for x
in $OBJCXXFLAGS; do
19807 acl_save_prefix
="$prefix"
19808 prefix
="$acl_final_prefix"
19809 acl_save_exec_prefix
="$exec_prefix"
19810 exec_prefix
="$acl_final_exec_prefix"
19812 exec_prefix
="$acl_save_exec_prefix"
19813 prefix
="$acl_save_prefix"
19815 if test "X$x" = "X$element"; then
19820 if test -z "$haveit"; then
19821 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
19826 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19827 /* end confdefs.h. */
19830 if ac_fn_objcxx_try_compile
"$LINENO"; then :
19835 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19837 OBJCXXFLAGS
=$cy_save
19838 if test "x$cy_good" = x1
; then :
19839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19840 $as_echo "yes" >&6; }
19842 for element
in -Wno-dangling-else; do
19844 for x
in $OBJCXXFLAGS; do
19846 acl_save_prefix
="$prefix"
19847 prefix
="$acl_final_prefix"
19848 acl_save_exec_prefix
="$exec_prefix"
19849 exec_prefix
="$acl_final_exec_prefix"
19851 exec_prefix
="$acl_save_exec_prefix"
19852 prefix
="$acl_save_prefix"
19854 if test "X$x" = "X$element"; then
19859 if test -z "$haveit"; then
19860 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
19866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19867 $as_echo "no" >&6; }
19871 ac_cpp
='$CXXCPP $CPPFLAGS'
19872 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19873 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19874 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19881 ac_cpp
='$CPP $CPPFLAGS'
19882 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19883 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19884 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cc -Wno-empty-body" >&5
19887 $as_echo_n "checking for cc -Wno-empty-body... " >&6; }
19891 for element
in -Wno-empty-body; do
19893 for x
in $CFLAGS; do
19895 acl_save_prefix
="$prefix"
19896 prefix
="$acl_final_prefix"
19897 acl_save_exec_prefix
="$exec_prefix"
19898 exec_prefix
="$acl_final_exec_prefix"
19900 exec_prefix
="$acl_save_exec_prefix"
19901 prefix
="$acl_save_prefix"
19903 if test "X$x" = "X$element"; then
19908 if test -z "$haveit"; then
19909 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
19914 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19915 /* end confdefs.h. */
19918 if ac_fn_c_try_compile
"$LINENO"; then :
19923 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19926 if test "x$cy_good" = x1
; then :
19927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19928 $as_echo "yes" >&6; }
19930 for element
in -Wno-empty-body; do
19932 for x
in $CFLAGS; do
19934 acl_save_prefix
="$prefix"
19935 prefix
="$acl_final_prefix"
19936 acl_save_exec_prefix
="$exec_prefix"
19937 exec_prefix
="$acl_final_exec_prefix"
19939 exec_prefix
="$acl_save_exec_prefix"
19940 prefix
="$acl_save_prefix"
19942 if test "X$x" = "X$element"; then
19947 if test -z "$haveit"; then
19948 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
19954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19955 $as_echo "no" >&6; }
19959 ac_cpp
='$CXXCPP $CPPFLAGS'
19960 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19961 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19962 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19967 ac_cpp
='$CXXCPP $CPPFLAGS'
19968 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19969 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19970 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -Wno-empty-body" >&5
19973 $as_echo_n "checking for c++ -Wno-empty-body... " >&6; }
19977 for element
in -Wno-empty-body; do
19979 for x
in $CXXFLAGS; do
19981 acl_save_prefix
="$prefix"
19982 prefix
="$acl_final_prefix"
19983 acl_save_exec_prefix
="$exec_prefix"
19984 exec_prefix
="$acl_final_exec_prefix"
19986 exec_prefix
="$acl_save_exec_prefix"
19987 prefix
="$acl_save_prefix"
19989 if test "X$x" = "X$element"; then
19994 if test -z "$haveit"; then
19995 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
20000 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20001 /* end confdefs.h. */
20004 if ac_fn_cxx_try_compile
"$LINENO"; then :
20009 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20012 if test "x$cy_good" = x1
; then :
20013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20014 $as_echo "yes" >&6; }
20016 for element
in -Wno-empty-body; do
20018 for x
in $CXXFLAGS; do
20020 acl_save_prefix
="$prefix"
20021 prefix
="$acl_final_prefix"
20022 acl_save_exec_prefix
="$exec_prefix"
20023 exec_prefix
="$acl_final_exec_prefix"
20025 exec_prefix
="$acl_save_exec_prefix"
20026 prefix
="$acl_save_prefix"
20028 if test "X$x" = "X$element"; then
20033 if test -z "$haveit"; then
20034 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
20040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20041 $as_echo "no" >&6; }
20045 ac_cpp
='$CXXCPP $CPPFLAGS'
20046 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20047 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20048 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20053 ac_cpp
='$OBJCXXCPP $CPPFLAGS'
20054 ac_compile
='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20055 ac_link
='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20056 ac_compiler_gnu
=$ac_cv_objcxx_compiler_gnu
20058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -ObjC -Wno-empty-body" >&5
20059 $as_echo_n "checking for c++ -ObjC -Wno-empty-body... " >&6; }
20061 cy_save
=$OBJCXXFLAGS
20063 for element
in -Wno-empty-body; do
20065 for x
in $OBJCXXFLAGS; do
20067 acl_save_prefix
="$prefix"
20068 prefix
="$acl_final_prefix"
20069 acl_save_exec_prefix
="$exec_prefix"
20070 exec_prefix
="$acl_final_exec_prefix"
20072 exec_prefix
="$acl_save_exec_prefix"
20073 prefix
="$acl_save_prefix"
20075 if test "X$x" = "X$element"; then
20080 if test -z "$haveit"; then
20081 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
20086 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20087 /* end confdefs.h. */
20090 if ac_fn_objcxx_try_compile
"$LINENO"; then :
20095 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20097 OBJCXXFLAGS
=$cy_save
20098 if test "x$cy_good" = x1
; then :
20099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20100 $as_echo "yes" >&6; }
20102 for element
in -Wno-empty-body; do
20104 for x
in $OBJCXXFLAGS; do
20106 acl_save_prefix
="$prefix"
20107 prefix
="$acl_final_prefix"
20108 acl_save_exec_prefix
="$exec_prefix"
20109 exec_prefix
="$acl_final_exec_prefix"
20111 exec_prefix
="$acl_save_exec_prefix"
20112 prefix
="$acl_save_prefix"
20114 if test "X$x" = "X$element"; then
20119 if test -z "$haveit"; then
20120 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
20126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20127 $as_echo "no" >&6; }
20131 ac_cpp
='$CXXCPP $CPPFLAGS'
20132 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20133 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20134 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20141 ac_cpp
='$CPP $CPPFLAGS'
20142 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20143 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20144 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cc -Wno-overloaded-virtual" >&5
20147 $as_echo_n "checking for cc -Wno-overloaded-virtual... " >&6; }
20151 for element
in -Wno-overloaded-virtual; do
20153 for x
in $CFLAGS; do
20155 acl_save_prefix
="$prefix"
20156 prefix
="$acl_final_prefix"
20157 acl_save_exec_prefix
="$exec_prefix"
20158 exec_prefix
="$acl_final_exec_prefix"
20160 exec_prefix
="$acl_save_exec_prefix"
20161 prefix
="$acl_save_prefix"
20163 if test "X$x" = "X$element"; then
20168 if test -z "$haveit"; then
20169 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
20174 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20175 /* end confdefs.h. */
20178 if ac_fn_c_try_compile
"$LINENO"; then :
20183 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20186 if test "x$cy_good" = x1
; then :
20187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20188 $as_echo "yes" >&6; }
20190 for element
in -Wno-overloaded-virtual; do
20192 for x
in $CFLAGS; do
20194 acl_save_prefix
="$prefix"
20195 prefix
="$acl_final_prefix"
20196 acl_save_exec_prefix
="$exec_prefix"
20197 exec_prefix
="$acl_final_exec_prefix"
20199 exec_prefix
="$acl_save_exec_prefix"
20200 prefix
="$acl_save_prefix"
20202 if test "X$x" = "X$element"; then
20207 if test -z "$haveit"; then
20208 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
20214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20215 $as_echo "no" >&6; }
20219 ac_cpp
='$CXXCPP $CPPFLAGS'
20220 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20221 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20222 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20227 ac_cpp
='$CXXCPP $CPPFLAGS'
20228 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20229 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20230 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -Wno-overloaded-virtual" >&5
20233 $as_echo_n "checking for c++ -Wno-overloaded-virtual... " >&6; }
20237 for element
in -Wno-overloaded-virtual; do
20239 for x
in $CXXFLAGS; do
20241 acl_save_prefix
="$prefix"
20242 prefix
="$acl_final_prefix"
20243 acl_save_exec_prefix
="$exec_prefix"
20244 exec_prefix
="$acl_final_exec_prefix"
20246 exec_prefix
="$acl_save_exec_prefix"
20247 prefix
="$acl_save_prefix"
20249 if test "X$x" = "X$element"; then
20254 if test -z "$haveit"; then
20255 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
20260 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20261 /* end confdefs.h. */
20264 if ac_fn_cxx_try_compile
"$LINENO"; then :
20269 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20272 if test "x$cy_good" = x1
; then :
20273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20274 $as_echo "yes" >&6; }
20276 for element
in -Wno-overloaded-virtual; do
20278 for x
in $CXXFLAGS; do
20280 acl_save_prefix
="$prefix"
20281 prefix
="$acl_final_prefix"
20282 acl_save_exec_prefix
="$exec_prefix"
20283 exec_prefix
="$acl_final_exec_prefix"
20285 exec_prefix
="$acl_save_exec_prefix"
20286 prefix
="$acl_save_prefix"
20288 if test "X$x" = "X$element"; then
20293 if test -z "$haveit"; then
20294 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
20300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20301 $as_echo "no" >&6; }
20305 ac_cpp
='$CXXCPP $CPPFLAGS'
20306 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20307 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20308 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20313 ac_cpp
='$OBJCXXCPP $CPPFLAGS'
20314 ac_compile
='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20315 ac_link
='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20316 ac_compiler_gnu
=$ac_cv_objcxx_compiler_gnu
20318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -ObjC -Wno-overloaded-virtual" >&5
20319 $as_echo_n "checking for c++ -ObjC -Wno-overloaded-virtual... " >&6; }
20321 cy_save
=$OBJCXXFLAGS
20323 for element
in -Wno-overloaded-virtual; do
20325 for x
in $OBJCXXFLAGS; do
20327 acl_save_prefix
="$prefix"
20328 prefix
="$acl_final_prefix"
20329 acl_save_exec_prefix
="$exec_prefix"
20330 exec_prefix
="$acl_final_exec_prefix"
20332 exec_prefix
="$acl_save_exec_prefix"
20333 prefix
="$acl_save_prefix"
20335 if test "X$x" = "X$element"; then
20340 if test -z "$haveit"; then
20341 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
20346 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20347 /* end confdefs.h. */
20350 if ac_fn_objcxx_try_compile
"$LINENO"; then :
20355 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20357 OBJCXXFLAGS
=$cy_save
20358 if test "x$cy_good" = x1
; then :
20359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20360 $as_echo "yes" >&6; }
20362 for element
in -Wno-overloaded-virtual; do
20364 for x
in $OBJCXXFLAGS; do
20366 acl_save_prefix
="$prefix"
20367 prefix
="$acl_final_prefix"
20368 acl_save_exec_prefix
="$exec_prefix"
20369 exec_prefix
="$acl_final_exec_prefix"
20371 exec_prefix
="$acl_save_exec_prefix"
20372 prefix
="$acl_save_prefix"
20374 if test "X$x" = "X$element"; then
20379 if test -z "$haveit"; then
20380 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
20386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20387 $as_echo "no" >&6; }
20391 ac_cpp
='$CXXCPP $CPPFLAGS'
20392 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20393 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20394 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20401 ac_cpp
='$CPP $CPPFLAGS'
20402 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20403 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20404 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cc -Wno-parentheses" >&5
20407 $as_echo_n "checking for cc -Wno-parentheses... " >&6; }
20411 for element
in -Wno-parentheses; do
20413 for x
in $CFLAGS; do
20415 acl_save_prefix
="$prefix"
20416 prefix
="$acl_final_prefix"
20417 acl_save_exec_prefix
="$exec_prefix"
20418 exec_prefix
="$acl_final_exec_prefix"
20420 exec_prefix
="$acl_save_exec_prefix"
20421 prefix
="$acl_save_prefix"
20423 if test "X$x" = "X$element"; then
20428 if test -z "$haveit"; then
20429 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
20434 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20435 /* end confdefs.h. */
20438 if ac_fn_c_try_compile
"$LINENO"; then :
20443 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20446 if test "x$cy_good" = x1
; then :
20447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20448 $as_echo "yes" >&6; }
20450 for element
in -Wno-parentheses; do
20452 for x
in $CFLAGS; do
20454 acl_save_prefix
="$prefix"
20455 prefix
="$acl_final_prefix"
20456 acl_save_exec_prefix
="$exec_prefix"
20457 exec_prefix
="$acl_final_exec_prefix"
20459 exec_prefix
="$acl_save_exec_prefix"
20460 prefix
="$acl_save_prefix"
20462 if test "X$x" = "X$element"; then
20467 if test -z "$haveit"; then
20468 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
20474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20475 $as_echo "no" >&6; }
20479 ac_cpp
='$CXXCPP $CPPFLAGS'
20480 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20481 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20482 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20487 ac_cpp
='$CXXCPP $CPPFLAGS'
20488 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20489 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20490 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -Wno-parentheses" >&5
20493 $as_echo_n "checking for c++ -Wno-parentheses... " >&6; }
20497 for element
in -Wno-parentheses; do
20499 for x
in $CXXFLAGS; do
20501 acl_save_prefix
="$prefix"
20502 prefix
="$acl_final_prefix"
20503 acl_save_exec_prefix
="$exec_prefix"
20504 exec_prefix
="$acl_final_exec_prefix"
20506 exec_prefix
="$acl_save_exec_prefix"
20507 prefix
="$acl_save_prefix"
20509 if test "X$x" = "X$element"; then
20514 if test -z "$haveit"; then
20515 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
20520 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20521 /* end confdefs.h. */
20524 if ac_fn_cxx_try_compile
"$LINENO"; then :
20529 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20532 if test "x$cy_good" = x1
; then :
20533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20534 $as_echo "yes" >&6; }
20536 for element
in -Wno-parentheses; do
20538 for x
in $CXXFLAGS; do
20540 acl_save_prefix
="$prefix"
20541 prefix
="$acl_final_prefix"
20542 acl_save_exec_prefix
="$exec_prefix"
20543 exec_prefix
="$acl_final_exec_prefix"
20545 exec_prefix
="$acl_save_exec_prefix"
20546 prefix
="$acl_save_prefix"
20548 if test "X$x" = "X$element"; then
20553 if test -z "$haveit"; then
20554 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
20560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20561 $as_echo "no" >&6; }
20565 ac_cpp
='$CXXCPP $CPPFLAGS'
20566 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20567 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20568 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20573 ac_cpp
='$OBJCXXCPP $CPPFLAGS'
20574 ac_compile
='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20575 ac_link
='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20576 ac_compiler_gnu
=$ac_cv_objcxx_compiler_gnu
20578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -ObjC -Wno-parentheses" >&5
20579 $as_echo_n "checking for c++ -ObjC -Wno-parentheses... " >&6; }
20581 cy_save
=$OBJCXXFLAGS
20583 for element
in -Wno-parentheses; do
20585 for x
in $OBJCXXFLAGS; do
20587 acl_save_prefix
="$prefix"
20588 prefix
="$acl_final_prefix"
20589 acl_save_exec_prefix
="$exec_prefix"
20590 exec_prefix
="$acl_final_exec_prefix"
20592 exec_prefix
="$acl_save_exec_prefix"
20593 prefix
="$acl_save_prefix"
20595 if test "X$x" = "X$element"; then
20600 if test -z "$haveit"; then
20601 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
20606 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20607 /* end confdefs.h. */
20610 if ac_fn_objcxx_try_compile
"$LINENO"; then :
20615 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20617 OBJCXXFLAGS
=$cy_save
20618 if test "x$cy_good" = x1
; then :
20619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20620 $as_echo "yes" >&6; }
20622 for element
in -Wno-parentheses; do
20624 for x
in $OBJCXXFLAGS; do
20626 acl_save_prefix
="$prefix"
20627 prefix
="$acl_final_prefix"
20628 acl_save_exec_prefix
="$exec_prefix"
20629 exec_prefix
="$acl_final_exec_prefix"
20631 exec_prefix
="$acl_save_exec_prefix"
20632 prefix
="$acl_save_prefix"
20634 if test "X$x" = "X$element"; then
20639 if test -z "$haveit"; then
20640 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
20646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20647 $as_echo "no" >&6; }
20651 ac_cpp
='$CXXCPP $CPPFLAGS'
20652 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20653 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20654 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20661 ac_cpp
='$CPP $CPPFLAGS'
20662 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20663 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20664 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cc -Wno-tautological-undefined-compare" >&5
20667 $as_echo_n "checking for cc -Wno-tautological-undefined-compare... " >&6; }
20671 for element
in -Wno-tautological-undefined-compare; do
20673 for x
in $CFLAGS; do
20675 acl_save_prefix
="$prefix"
20676 prefix
="$acl_final_prefix"
20677 acl_save_exec_prefix
="$exec_prefix"
20678 exec_prefix
="$acl_final_exec_prefix"
20680 exec_prefix
="$acl_save_exec_prefix"
20681 prefix
="$acl_save_prefix"
20683 if test "X$x" = "X$element"; then
20688 if test -z "$haveit"; then
20689 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
20694 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20695 /* end confdefs.h. */
20698 if ac_fn_c_try_compile
"$LINENO"; then :
20703 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20706 if test "x$cy_good" = x1
; then :
20707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20708 $as_echo "yes" >&6; }
20710 for element
in -Wno-tautological-undefined-compare; do
20712 for x
in $CFLAGS; do
20714 acl_save_prefix
="$prefix"
20715 prefix
="$acl_final_prefix"
20716 acl_save_exec_prefix
="$exec_prefix"
20717 exec_prefix
="$acl_final_exec_prefix"
20719 exec_prefix
="$acl_save_exec_prefix"
20720 prefix
="$acl_save_prefix"
20722 if test "X$x" = "X$element"; then
20727 if test -z "$haveit"; then
20728 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
20734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20735 $as_echo "no" >&6; }
20739 ac_cpp
='$CXXCPP $CPPFLAGS'
20740 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20741 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20742 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20747 ac_cpp
='$CXXCPP $CPPFLAGS'
20748 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20749 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20750 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -Wno-tautological-undefined-compare" >&5
20753 $as_echo_n "checking for c++ -Wno-tautological-undefined-compare... " >&6; }
20757 for element
in -Wno-tautological-undefined-compare; do
20759 for x
in $CXXFLAGS; do
20761 acl_save_prefix
="$prefix"
20762 prefix
="$acl_final_prefix"
20763 acl_save_exec_prefix
="$exec_prefix"
20764 exec_prefix
="$acl_final_exec_prefix"
20766 exec_prefix
="$acl_save_exec_prefix"
20767 prefix
="$acl_save_prefix"
20769 if test "X$x" = "X$element"; then
20774 if test -z "$haveit"; then
20775 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
20780 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20781 /* end confdefs.h. */
20784 if ac_fn_cxx_try_compile
"$LINENO"; then :
20789 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20792 if test "x$cy_good" = x1
; then :
20793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20794 $as_echo "yes" >&6; }
20796 for element
in -Wno-tautological-undefined-compare; do
20798 for x
in $CXXFLAGS; do
20800 acl_save_prefix
="$prefix"
20801 prefix
="$acl_final_prefix"
20802 acl_save_exec_prefix
="$exec_prefix"
20803 exec_prefix
="$acl_final_exec_prefix"
20805 exec_prefix
="$acl_save_exec_prefix"
20806 prefix
="$acl_save_prefix"
20808 if test "X$x" = "X$element"; then
20813 if test -z "$haveit"; then
20814 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
20820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20821 $as_echo "no" >&6; }
20825 ac_cpp
='$CXXCPP $CPPFLAGS'
20826 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20827 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20828 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20833 ac_cpp
='$OBJCXXCPP $CPPFLAGS'
20834 ac_compile
='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20835 ac_link
='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20836 ac_compiler_gnu
=$ac_cv_objcxx_compiler_gnu
20838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -ObjC -Wno-tautological-undefined-compare" >&5
20839 $as_echo_n "checking for c++ -ObjC -Wno-tautological-undefined-compare... " >&6; }
20841 cy_save
=$OBJCXXFLAGS
20843 for element
in -Wno-tautological-undefined-compare; do
20845 for x
in $OBJCXXFLAGS; do
20847 acl_save_prefix
="$prefix"
20848 prefix
="$acl_final_prefix"
20849 acl_save_exec_prefix
="$exec_prefix"
20850 exec_prefix
="$acl_final_exec_prefix"
20852 exec_prefix
="$acl_save_exec_prefix"
20853 prefix
="$acl_save_prefix"
20855 if test "X$x" = "X$element"; then
20860 if test -z "$haveit"; then
20861 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
20866 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20867 /* end confdefs.h. */
20870 if ac_fn_objcxx_try_compile
"$LINENO"; then :
20875 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20877 OBJCXXFLAGS
=$cy_save
20878 if test "x$cy_good" = x1
; then :
20879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20880 $as_echo "yes" >&6; }
20882 for element
in -Wno-tautological-undefined-compare; do
20884 for x
in $OBJCXXFLAGS; do
20886 acl_save_prefix
="$prefix"
20887 prefix
="$acl_final_prefix"
20888 acl_save_exec_prefix
="$exec_prefix"
20889 exec_prefix
="$acl_final_exec_prefix"
20891 exec_prefix
="$acl_save_exec_prefix"
20892 prefix
="$acl_save_prefix"
20894 if test "X$x" = "X$element"; then
20899 if test -z "$haveit"; then
20900 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
20906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20907 $as_echo "no" >&6; }
20911 ac_cpp
='$CXXCPP $CPPFLAGS'
20912 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20913 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20914 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20921 ac_cpp
='$CPP $CPPFLAGS'
20922 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20923 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20924 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cc -Wno-unneeded-internal-declaration" >&5
20927 $as_echo_n "checking for cc -Wno-unneeded-internal-declaration... " >&6; }
20931 for element
in -Wno-unneeded-internal-declaration; do
20933 for x
in $CFLAGS; do
20935 acl_save_prefix
="$prefix"
20936 prefix
="$acl_final_prefix"
20937 acl_save_exec_prefix
="$exec_prefix"
20938 exec_prefix
="$acl_final_exec_prefix"
20940 exec_prefix
="$acl_save_exec_prefix"
20941 prefix
="$acl_save_prefix"
20943 if test "X$x" = "X$element"; then
20948 if test -z "$haveit"; then
20949 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
20954 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20955 /* end confdefs.h. */
20958 if ac_fn_c_try_compile
"$LINENO"; then :
20963 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20966 if test "x$cy_good" = x1
; then :
20967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20968 $as_echo "yes" >&6; }
20970 for element
in -Wno-unneeded-internal-declaration; do
20972 for x
in $CFLAGS; do
20974 acl_save_prefix
="$prefix"
20975 prefix
="$acl_final_prefix"
20976 acl_save_exec_prefix
="$exec_prefix"
20977 exec_prefix
="$acl_final_exec_prefix"
20979 exec_prefix
="$acl_save_exec_prefix"
20980 prefix
="$acl_save_prefix"
20982 if test "X$x" = "X$element"; then
20987 if test -z "$haveit"; then
20988 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
20994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20995 $as_echo "no" >&6; }
20999 ac_cpp
='$CXXCPP $CPPFLAGS'
21000 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21001 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21002 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21007 ac_cpp
='$CXXCPP $CPPFLAGS'
21008 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21009 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21010 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -Wno-unneeded-internal-declaration" >&5
21013 $as_echo_n "checking for c++ -Wno-unneeded-internal-declaration... " >&6; }
21017 for element
in -Wno-unneeded-internal-declaration; do
21019 for x
in $CXXFLAGS; do
21021 acl_save_prefix
="$prefix"
21022 prefix
="$acl_final_prefix"
21023 acl_save_exec_prefix
="$exec_prefix"
21024 exec_prefix
="$acl_final_exec_prefix"
21026 exec_prefix
="$acl_save_exec_prefix"
21027 prefix
="$acl_save_prefix"
21029 if test "X$x" = "X$element"; then
21034 if test -z "$haveit"; then
21035 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
21040 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21041 /* end confdefs.h. */
21044 if ac_fn_cxx_try_compile
"$LINENO"; then :
21049 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21052 if test "x$cy_good" = x1
; then :
21053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21054 $as_echo "yes" >&6; }
21056 for element
in -Wno-unneeded-internal-declaration; do
21058 for x
in $CXXFLAGS; do
21060 acl_save_prefix
="$prefix"
21061 prefix
="$acl_final_prefix"
21062 acl_save_exec_prefix
="$exec_prefix"
21063 exec_prefix
="$acl_final_exec_prefix"
21065 exec_prefix
="$acl_save_exec_prefix"
21066 prefix
="$acl_save_prefix"
21068 if test "X$x" = "X$element"; then
21073 if test -z "$haveit"; then
21074 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
21080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21081 $as_echo "no" >&6; }
21085 ac_cpp
='$CXXCPP $CPPFLAGS'
21086 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21087 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21088 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21093 ac_cpp
='$OBJCXXCPP $CPPFLAGS'
21094 ac_compile
='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21095 ac_link
='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21096 ac_compiler_gnu
=$ac_cv_objcxx_compiler_gnu
21098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -ObjC -Wno-unneeded-internal-declaration" >&5
21099 $as_echo_n "checking for c++ -ObjC -Wno-unneeded-internal-declaration... " >&6; }
21101 cy_save
=$OBJCXXFLAGS
21103 for element
in -Wno-unneeded-internal-declaration; do
21105 for x
in $OBJCXXFLAGS; do
21107 acl_save_prefix
="$prefix"
21108 prefix
="$acl_final_prefix"
21109 acl_save_exec_prefix
="$exec_prefix"
21110 exec_prefix
="$acl_final_exec_prefix"
21112 exec_prefix
="$acl_save_exec_prefix"
21113 prefix
="$acl_save_prefix"
21115 if test "X$x" = "X$element"; then
21120 if test -z "$haveit"; then
21121 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
21126 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21127 /* end confdefs.h. */
21130 if ac_fn_objcxx_try_compile
"$LINENO"; then :
21135 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21137 OBJCXXFLAGS
=$cy_save
21138 if test "x$cy_good" = x1
; then :
21139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21140 $as_echo "yes" >&6; }
21142 for element
in -Wno-unneeded-internal-declaration; do
21144 for x
in $OBJCXXFLAGS; do
21146 acl_save_prefix
="$prefix"
21147 prefix
="$acl_final_prefix"
21148 acl_save_exec_prefix
="$exec_prefix"
21149 exec_prefix
="$acl_final_exec_prefix"
21151 exec_prefix
="$acl_save_exec_prefix"
21152 prefix
="$acl_save_prefix"
21154 if test "X$x" = "X$element"; then
21159 if test -z "$haveit"; then
21160 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
21166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21167 $as_echo "no" >&6; }
21171 ac_cpp
='$CXXCPP $CPPFLAGS'
21172 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21173 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21174 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21183 ac_cpp
='$CPP $CPPFLAGS'
21184 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21185 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21186 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21190 # We used to check for pthread.h first, but this fails if pthread.h
21191 # requires special compiler flags (e.g. on Tru64 or Sequent).
21192 # It gets checked for in the link test anyway.
21194 # First of all, check if the user has set any of the PTHREAD_LIBS,
21195 # etcetera environment variables, and if threads linking works using
21197 if test x
"$PTHREAD_LIBS$PTHREAD_CFLAGS" != x
; then
21198 save_CFLAGS
="$CFLAGS"
21199 CFLAGS
="$CFLAGS $PTHREAD_CFLAGS"
21201 LIBS
="$PTHREAD_LIBS $LIBS"
21202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_join using $CC $PTHREAD_CFLAGS $PTHREAD_LIBS" >&5
21203 $as_echo_n "checking for pthread_join using $CC $PTHREAD_CFLAGS $PTHREAD_LIBS... " >&6; }
21204 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21205 /* end confdefs.h. */
21207 /* Override any GCC internal prototype to avoid an error.
21208 Use char because int might match the return type of a GCC
21209 builtin and then its argument prototype would still apply. */
21213 char pthread_join ();
21217 return pthread_join ();
21222 if ac_fn_c_try_link
"$LINENO"; then :
21225 rm -f core conftest.err conftest.
$ac_objext \
21226 conftest
$ac_exeext conftest.
$ac_ext
21227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_pthread_ok" >&5
21228 $as_echo "$ax_pthread_ok" >&6; }
21229 if test x
"$ax_pthread_ok" = xno
; then
21234 CFLAGS
="$save_CFLAGS"
21237 # We must check for the threads library under a number of different
21238 # names; the ordering is very important because some systems
21239 # (e.g. DEC) have both -lpthread and -lpthreads, where one of the
21240 # libraries is broken (non-POSIX).
21242 # Create a list of thread flags to try. Items starting with a "-" are
21243 # C compiler flags, and other items are library names, except for "none"
21244 # which indicates that we try without any flags at all, and "pthread-config"
21245 # which is a program returning the flags for the Pth emulation library.
21247 ax_pthread_flags
="pthreads none -Kthread -kthread lthread -pthread -pthreads -mt -mthreads pthread --thread-safe pthread-config"
21249 # The ordering *is* (sometimes) important. Some notes on the
21250 # individual items follow:
21252 # pthreads: AIX (must check this before -lpthread)
21253 # none: in case threads are in libc; should be tried before -Kthread and
21254 # other compiler flags to prevent continual compiler warnings
21255 # -Kthread: Sequent (threads in libc, but -Kthread needed for pthread.h)
21256 # -kthread: FreeBSD kernel threads (preferred to -pthread since SMP-able)
21257 # lthread: LinuxThreads port on FreeBSD (also preferred to -pthread)
21258 # -pthread: Linux/gcc (kernel threads), BSD/gcc (userland threads), Tru64
21259 # -pthreads: Solaris/gcc
21260 # -mt: Sun Workshop C (may only link SunOS threads [-lthread], but it
21261 # doesn't hurt to check since this sometimes defines pthreads and
21262 # -D_REENTRANT too), HP C (must be checked before -lpthread, which
21263 # is present but should not be used directly)
21264 # -mthreads: Mingw32/gcc, Lynx/gcc
21265 # pthread: Linux, etcetera
21266 # --thread-safe: KAI C++
21267 # pthread-config: use pthread-config program (for GNU Pth library)
21273 # From the cc(1) man page: "[-mt] Sets various -D flags to enable
21274 # multi-threading and also sets -lpthread."
21276 ax_pthread_flags
="-mt -pthread pthread $ax_pthread_flags"
21281 # IBM z/OS requires a feature-test macro to be defined in order to
21282 # enable POSIX threads at all, so give the user a hint if this is
21283 # not set. (We don't define these ourselves, as they can affect
21284 # other portions of the system API in unpredictable ways.)
21286 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21287 /* end confdefs.h. */
21289 # if !defined(_OPEN_THREADS) && !defined(_UNIX03_THREADS)
21290 AX_PTHREAD_ZOS_MISSING
21294 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21295 $EGREP "AX_PTHREAD_ZOS_MISSING" >/dev
/null
2>&1; then :
21296 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: IBM z/OS requires -D_OPEN_THREADS or -D_UNIX03_THREADS to enable pthreads support." >&5
21297 $as_echo "$as_me: WARNING: IBM z/OS requires -D_OPEN_THREADS or -D_UNIX03_THREADS to enable pthreads support." >&2;}
21305 # Newer versions of Solaris require the "-mt -lpthread" pair, and we
21306 # check that first. On some older versions, libc contains stubbed
21307 # (non-functional) versions of the pthreads routines, so link-based
21308 # tests will erroneously succeed. (We need to link with -pthreads/-mt/
21309 # -lpthread.) (The stubs are missing pthread_cleanup_push, or rather
21310 # a function called by this macro, so we could check for that, but
21311 # who knows whether they'll stub that too in a future libc.) So
21312 # we'll look for -pthreads and -lpthread shortly thereafter.
21314 ax_pthread_flags
="-mt,pthread -pthreads -pthread pthread $ax_pthread_flags"
21318 # Older versions of Clang only give a warning instead of an error for an
21319 # unrecognized option, unless we specify -Werror. (We throw in some extra
21320 # Clang warning flags for good measure.)
21322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler needs certain flags to reject unknown flags" >&5
21323 $as_echo_n "checking if compiler needs certain flags to reject unknown flags... " >&6; }
21324 if ${ax_cv_PTHREAD_REJECT_UNKNOWN+:} false
; then :
21325 $as_echo_n "(cached) " >&6
21327 ax_cv_PTHREAD_REJECT_UNKNOWN
=unknown
21328 save_CFLAGS
="$CFLAGS"
21329 ax_pthread_extra_flags
="-Wunknown-warning-option -Wunused-command-line-argument"
21330 CFLAGS
="$CFLAGS $ax_pthread_extra_flags -Wfoobaz -foobaz"
21331 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21332 /* end confdefs.h. */
21342 if ac_fn_c_try_compile
"$LINENO"; then :
21343 ax_cv_PTHREAD_REJECT_UNKNOWN
="-Werror $ax_pthread_extra_flags"
21345 ax_cv_PTHREAD_REJECT_UNKNOWN
=no
21347 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21348 CFLAGS
="$save_CFLAGS"
21351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_PTHREAD_REJECT_UNKNOWN" >&5
21352 $as_echo "$ax_cv_PTHREAD_REJECT_UNKNOWN" >&6; }
21353 ax_pthread_extra_flags
=
21354 if test "x$ax_cv_PTHREAD_REJECT_UNKNOWN" != "xno"; then :
21355 ax_pthread_extra_flags
="$ax_cv_PTHREAD_REJECT_UNKNOWN"
21358 if test x
"$ax_pthread_ok" = xno
; then
21359 for flag
in $ax_pthread_flags; do
21363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work without any flags" >&5
21364 $as_echo_n "checking whether pthreads work without any flags... " >&6; }
21368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work with -mt -lpthread" >&5
21369 $as_echo_n "checking whether pthreads work with -mt -lpthread... " >&6; }
21370 PTHREAD_CFLAGS
="-mt"
21371 PTHREAD_LIBS
="-lpthread"
21375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work with $flag" >&5
21376 $as_echo_n "checking whether pthreads work with $flag... " >&6; }
21377 PTHREAD_CFLAGS
="$flag"
21381 # Extract the first word of "pthread-config", so it can be a program name with args.
21382 set dummy pthread
-config; ac_word
=$2
21383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21384 $as_echo_n "checking for $ac_word... " >&6; }
21385 if ${ac_cv_prog_ax_pthread_config+:} false
; then :
21386 $as_echo_n "(cached) " >&6
21388 if test -n "$ax_pthread_config"; then
21389 ac_cv_prog_ax_pthread_config
="$ax_pthread_config" # Let the user override the test.
21391 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21392 for as_dir
in $PATH
21395 test -z "$as_dir" && as_dir
=.
21396 for ac_exec_ext
in '' $ac_executable_extensions; do
21397 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
21398 ac_cv_prog_ax_pthread_config
="yes"
21399 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21406 test -z "$ac_cv_prog_ax_pthread_config" && ac_cv_prog_ax_pthread_config
="no"
21409 ax_pthread_config
=$ac_cv_prog_ax_pthread_config
21410 if test -n "$ax_pthread_config"; then
21411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_pthread_config" >&5
21412 $as_echo "$ax_pthread_config" >&6; }
21414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21415 $as_echo "no" >&6; }
21419 if test x
"$ax_pthread_config" = xno
; then continue; fi
21420 PTHREAD_CFLAGS
="`pthread-config --cflags`"
21421 PTHREAD_LIBS
="`pthread-config --ldflags` `pthread-config --libs`"
21425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the pthreads library -l$flag" >&5
21426 $as_echo_n "checking for the pthreads library -l$flag... " >&6; }
21427 PTHREAD_LIBS
="-l$flag"
21432 save_CFLAGS
="$CFLAGS"
21433 LIBS
="$PTHREAD_LIBS $LIBS"
21434 CFLAGS
="$CFLAGS $PTHREAD_CFLAGS $ax_pthread_extra_flags"
21436 # Check for various functions. We must include pthread.h,
21437 # since some functions may be macros. (On the Sequent, we
21438 # need a special flag -Kthread to make this header compile.)
21439 # We check for pthread_join because it is in -lpthread on IRIX
21440 # while pthread_create is in libc. We check for pthread_attr_init
21441 # due to DEC craziness with -lpthreads. We check for
21442 # pthread_cleanup_push because it is one of the few pthread
21443 # functions on Solaris that doesn't have a non-functional libc stub.
21444 # We try pthread_create on general principles.
21445 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21446 /* end confdefs.h. */
21447 #include <pthread.h>
21448 static void routine(void *a) { a = 0; }
21449 static void *start_routine(void *a) { return a; }
21453 pthread_t th; pthread_attr_t attr;
21454 pthread_create(&th, 0, start_routine, 0);
21455 pthread_join(th, 0);
21456 pthread_attr_init(&attr);
21457 pthread_cleanup_push(routine, 0);
21458 pthread_cleanup_pop(0) /* ; */
21463 if ac_fn_c_try_link
"$LINENO"; then :
21466 rm -f core conftest.err conftest.
$ac_objext \
21467 conftest
$ac_exeext conftest.
$ac_ext
21470 CFLAGS
="$save_CFLAGS"
21472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_pthread_ok" >&5
21473 $as_echo "$ax_pthread_ok" >&6; }
21474 if test "x$ax_pthread_ok" = xyes
; then
21483 # Various other checks:
21484 if test "x$ax_pthread_ok" = xyes
; then
21486 LIBS
="$PTHREAD_LIBS $LIBS"
21487 save_CFLAGS
="$CFLAGS"
21488 CFLAGS
="$CFLAGS $PTHREAD_CFLAGS"
21490 # Detect AIX lossage: JOINABLE attribute is called UNDETACHED.
21491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for joinable pthread attribute" >&5
21492 $as_echo_n "checking for joinable pthread attribute... " >&6; }
21493 if ${ax_cv_PTHREAD_JOINABLE_ATTR+:} false
; then :
21494 $as_echo_n "(cached) " >&6
21496 ax_cv_PTHREAD_JOINABLE_ATTR
=unknown
21497 for attr
in PTHREAD_CREATE_JOINABLE PTHREAD_CREATE_UNDETACHED
; do
21498 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21499 /* end confdefs.h. */
21500 #include <pthread.h>
21504 int attr = $attr; return attr /* ; */
21509 if ac_fn_c_try_link
"$LINENO"; then :
21510 ax_cv_PTHREAD_JOINABLE_ATTR
=$attr; break
21512 rm -f core conftest.err conftest.
$ac_objext \
21513 conftest
$ac_exeext conftest.
$ac_ext
21517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_PTHREAD_JOINABLE_ATTR" >&5
21518 $as_echo "$ax_cv_PTHREAD_JOINABLE_ATTR" >&6; }
21519 if test "$ax_cv_PTHREAD_JOINABLE_ATTR" != unknown
&& \
21520 test "$ax_cv_PTHREAD_JOINABLE_ATTR" != PTHREAD_CREATE_JOINABLE
; then :
21522 cat >>confdefs.h
<<_ACEOF
21523 #define PTHREAD_CREATE_JOINABLE $ax_cv_PTHREAD_JOINABLE_ATTR
21528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if more special flags are required for pthreads" >&5
21529 $as_echo_n "checking if more special flags are required for pthreads... " >&6; }
21530 if ${ax_cv_PTHREAD_SPECIAL_FLAGS+:} false
; then :
21531 $as_echo_n "(cached) " >&6
21533 ax_cv_PTHREAD_SPECIAL_FLAGS
=no
21534 ax_pthread_special_flags_added
=no
21535 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21536 /* end confdefs.h. */
21538 # if !defined(_REENTRANT) && !defined(_THREAD_SAFE)
21539 AX_PTHREAD_NEED_SPECIAL_FLAG
21543 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21544 $EGREP "AX_PTHREAD_NEED_SPECIAL_FLAG" >/dev
/null
2>&1; then :
21547 ax_cv_PTHREAD_SPECIAL_FLAGS
="-D_THREAD_SAFE"
21549 darwin
* | hpux
* | osf
* | solaris
*)
21550 ax_cv_PTHREAD_SPECIAL_FLAGS
="-D_REENTRANT"
21559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_PTHREAD_SPECIAL_FLAGS" >&5
21560 $as_echo "$ax_cv_PTHREAD_SPECIAL_FLAGS" >&6; }
21561 if test "x$ax_cv_PTHREAD_SPECIAL_FLAGS" != "xno" && \
21562 test "x$ax_pthread_special_flags_added" != "xyes"; then :
21563 PTHREAD_CFLAGS
="$ax_cv_PTHREAD_SPECIAL_FLAGS $PTHREAD_CFLAGS"
21564 ax_pthread_special_flags_added
=yes
21567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PTHREAD_PRIO_INHERIT" >&5
21568 $as_echo_n "checking for PTHREAD_PRIO_INHERIT... " >&6; }
21569 if ${ax_cv_PTHREAD_PRIO_INHERIT+:} false
; then :
21570 $as_echo_n "(cached) " >&6
21572 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21573 /* end confdefs.h. */
21574 #include <pthread.h>
21578 int i = PTHREAD_PRIO_INHERIT;
21583 if ac_fn_c_try_link
"$LINENO"; then :
21584 ax_cv_PTHREAD_PRIO_INHERIT
=yes
21586 ax_cv_PTHREAD_PRIO_INHERIT
=no
21588 rm -f core conftest.err conftest.
$ac_objext \
21589 conftest
$ac_exeext conftest.
$ac_ext
21592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_PTHREAD_PRIO_INHERIT" >&5
21593 $as_echo "$ax_cv_PTHREAD_PRIO_INHERIT" >&6; }
21594 if test "x$ax_cv_PTHREAD_PRIO_INHERIT" = "xyes"; then :
21596 $as_echo "#define HAVE_PTHREAD_PRIO_INHERIT 1" >>confdefs.h
21601 CFLAGS
="$save_CFLAGS"
21603 # More AIX lossage: compile with *_r variant
21604 if test "x$GCC" != xyes
; then
21608 x
*/c89
|x
*/c89_128
|x
*/c99
|x
*/c99_128
|x
*/cc
|x
*/cc128
|x
*/xlc
|x
*/xlc_v6
|x
*/xlc128
|x
*/xlc128_v6
) :
21609 #handle absolute path differently from PATH based program lookup
21612 if as_fn_executable_p
${CC}_r
; then :
21613 PTHREAD_CC
="${CC}_r"
21616 for ac_prog
in ${CC}_r
21618 # Extract the first word of "$ac_prog", so it can be a program name with args.
21619 set dummy
$ac_prog; ac_word
=$2
21620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21621 $as_echo_n "checking for $ac_word... " >&6; }
21622 if ${ac_cv_prog_PTHREAD_CC+:} false
; then :
21623 $as_echo_n "(cached) " >&6
21625 if test -n "$PTHREAD_CC"; then
21626 ac_cv_prog_PTHREAD_CC
="$PTHREAD_CC" # Let the user override the test.
21628 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21629 for as_dir
in $PATH
21632 test -z "$as_dir" && as_dir
=.
21633 for ac_exec_ext
in '' $ac_executable_extensions; do
21634 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
21635 ac_cv_prog_PTHREAD_CC
="$ac_prog"
21636 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21645 PTHREAD_CC
=$ac_cv_prog_PTHREAD_CC
21646 if test -n "$PTHREAD_CC"; then
21647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PTHREAD_CC" >&5
21648 $as_echo "$PTHREAD_CC" >&6; }
21650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21651 $as_echo "no" >&6; }
21655 test -n "$PTHREAD_CC" && break
21657 test -n "$PTHREAD_CC" || PTHREAD_CC
="$CC"
21668 test -n "$PTHREAD_CC" || PTHREAD_CC
="$CC"
21674 # Finally, execute ACTION-IF-FOUND/ACTION-IF-NOT-FOUND:
21675 if test x
"$ax_pthread_ok" = xyes
; then
21677 $as_echo "#define HAVE_PTHREAD 1" >>confdefs.h
21685 ac_cpp
='$CXXCPP $CPPFLAGS'
21686 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21687 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21688 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21698 # Check whether --enable-javascript was given.
21699 if test "${enable_javascript+set}" = set; then :
21700 enableval
=$enable_javascript;
21701 case $enableval in #(
21709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing JSEvaluateScript" >&5
21710 $as_echo_n "checking for library containing JSEvaluateScript... " >&6; }
21711 if ${ac_cv_search_JSEvaluateScript+:} false
; then :
21712 $as_echo_n "(cached) " >&6
21714 ac_func_search_save_LIBS
=$LIBS
21715 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21716 /* end confdefs.h. */
21718 /* Override any GCC internal prototype to avoid an error.
21719 Use char because int might match the return type of a GCC
21720 builtin and then its argument prototype would still apply. */
21724 char JSEvaluateScript ();
21728 return JSEvaluateScript ();
21733 for ac_lib
in '' JavaScriptCore
; do
21734 if test -z "$ac_lib"; then
21735 ac_res
="none required"
21738 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
21740 if ac_fn_cxx_try_link
"$LINENO"; then :
21741 ac_cv_search_JSEvaluateScript
=$ac_res
21743 rm -f core conftest.err conftest.
$ac_objext \
21745 if ${ac_cv_search_JSEvaluateScript+:} false
; then :
21749 if ${ac_cv_search_JSEvaluateScript+:} false
; then :
21752 ac_cv_search_JSEvaluateScript
=no
21754 rm conftest.
$ac_ext
21755 LIBS
=$ac_func_search_save_LIBS
21757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_JSEvaluateScript" >&5
21758 $as_echo "$ac_cv_search_JSEvaluateScript" >&6; }
21759 ac_res
=$ac_cv_search_JSEvaluateScript
21760 if test "$ac_res" != no
; then :
21761 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
21768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
21769 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
21770 if ${ac_cv_framework_JavaScriptCore+:} false
; then :
21771 $as_echo_n "(cached) " >&6
21774 ac_check_framework_save_LIBS
=$LIBS
21775 LIBS
="-framework JavaScriptCore $LIBS"
21776 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21777 /* end confdefs.h. */
21779 #include <JavaScriptCore/JSBase.h>
21785 JSEvaluateScript(0, 0, 0, 0, 0, 0);
21791 if ac_fn_cxx_try_link
"$LINENO"; then :
21793 ac_cv_framework_JavaScriptCore
=yes
21796 ac_cv_framework_JavaScriptCore
=no
21798 rm -f core conftest.err conftest.
$ac_objext \
21799 conftest
$ac_exeext conftest.
$ac_ext
21800 LIBS
=$ac_check_framework_save_LIBS
21803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
21804 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
21805 if test $ac_cv_framework_JavaScriptCore = yes; then :
21808 for element
in "-framework JavaScriptCore"; do
21812 acl_save_prefix
="$prefix"
21813 prefix
="$acl_final_prefix"
21814 acl_save_exec_prefix
="$exec_prefix"
21815 exec_prefix
="$acl_final_exec_prefix"
21817 exec_prefix
="$acl_save_exec_prefix"
21818 prefix
="$acl_save_prefix"
21820 if test "X$x" = "X$element"; then
21825 if test -z "$haveit"; then
21826 LIBS
="${LIBS}${LIBS:+ }$element"
21837 for cy_webkit_pkg
in "javascriptcoregtk-4.0"; do
21840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
21841 $as_echo_n "checking for WEBKIT... " >&6; }
21843 if test -n "$WEBKIT_CFLAGS"; then
21844 pkg_cv_WEBKIT_CFLAGS
="$WEBKIT_CFLAGS"
21845 elif test -n "$PKG_CONFIG"; then
21846 if test -n "$PKG_CONFIG" && \
21847 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$cy_webkit_pkg\""; } >&5
21848 ($PKG_CONFIG --exists --print-errors "$cy_webkit_pkg") 2>&5
21850 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21851 test $ac_status = 0; }; then
21852 pkg_cv_WEBKIT_CFLAGS
=`$PKG_CONFIG --cflags "$cy_webkit_pkg" 2>/dev/null`
21853 test "x$?" != "x0" && pkg_failed
=yes
21860 if test -n "$WEBKIT_LIBS"; then
21861 pkg_cv_WEBKIT_LIBS
="$WEBKIT_LIBS"
21862 elif test -n "$PKG_CONFIG"; then
21863 if test -n "$PKG_CONFIG" && \
21864 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$cy_webkit_pkg\""; } >&5
21865 ($PKG_CONFIG --exists --print-errors "$cy_webkit_pkg") 2>&5
21867 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21868 test $ac_status = 0; }; then
21869 pkg_cv_WEBKIT_LIBS
=`$PKG_CONFIG --libs "$cy_webkit_pkg" 2>/dev/null`
21870 test "x$?" != "x0" && pkg_failed
=yes
21880 if test $pkg_failed = yes; then
21881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21882 $as_echo "no" >&6; }
21884 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
21885 _pkg_short_errors_supported
=yes
21887 _pkg_short_errors_supported
=no
21889 if test $_pkg_short_errors_supported = yes; then
21890 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$cy_webkit_pkg" 2>&1`
21892 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "$cy_webkit_pkg" 2>&1`
21894 # Put the nasty error message in config.log where it belongs
21895 echo "$WEBKIT_PKG_ERRORS" >&5
21898 elif test $pkg_failed = untried
; then
21899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21900 $as_echo "no" >&6; }
21903 WEBKIT_CFLAGS
=$pkg_cv_WEBKIT_CFLAGS
21904 WEBKIT_LIBS
=$pkg_cv_WEBKIT_LIBS
21905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21906 $as_echo "yes" >&6; }
21911 for element
in `$PKG_CONFIG --cflags $cy_webkit_pkg`; do
21913 for x
in $CPPFLAGS; do
21915 acl_save_prefix
="$prefix"
21916 prefix
="$acl_final_prefix"
21917 acl_save_exec_prefix
="$exec_prefix"
21918 exec_prefix
="$acl_final_exec_prefix"
21920 exec_prefix
="$acl_save_exec_prefix"
21921 prefix
="$acl_save_prefix"
21923 if test "X$x" = "X$element"; then
21928 if test -z "$haveit"; then
21929 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
21934 for element
in `$PKG_CONFIG --libs $cy_webkit_pkg`; do
21938 acl_save_prefix
="$prefix"
21939 prefix
="$acl_final_prefix"
21940 acl_save_exec_prefix
="$exec_prefix"
21941 exec_prefix
="$acl_final_exec_prefix"
21943 exec_prefix
="$acl_save_exec_prefix"
21944 prefix
="$acl_save_prefix"
21946 if test "X$x" = "X$element"; then
21951 if test -z "$haveit"; then
21952 LIBS
="${LIBS}${LIBS:+ }$element"
21957 fi; if test "x$CY_EXECUTE" = x1
; then break; fi
21963 LTJAVASCRIPTCORE
=$LIBS
21978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing JSEvaluateScript" >&5
21979 $as_echo_n "checking for library containing JSEvaluateScript... " >&6; }
21980 if ${ac_cv_search_JSEvaluateScript+:} false
; then :
21981 $as_echo_n "(cached) " >&6
21983 ac_func_search_save_LIBS
=$LIBS
21984 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21985 /* end confdefs.h. */
21987 /* Override any GCC internal prototype to avoid an error.
21988 Use char because int might match the return type of a GCC
21989 builtin and then its argument prototype would still apply. */
21993 char JSEvaluateScript ();
21997 return JSEvaluateScript ();
22002 for ac_lib
in '' JavaScriptCore
; do
22003 if test -z "$ac_lib"; then
22004 ac_res
="none required"
22007 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
22009 if ac_fn_cxx_try_link
"$LINENO"; then :
22010 ac_cv_search_JSEvaluateScript
=$ac_res
22012 rm -f core conftest.err conftest.
$ac_objext \
22014 if ${ac_cv_search_JSEvaluateScript+:} false
; then :
22018 if ${ac_cv_search_JSEvaluateScript+:} false
; then :
22021 ac_cv_search_JSEvaluateScript
=no
22023 rm conftest.
$ac_ext
22024 LIBS
=$ac_func_search_save_LIBS
22026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_JSEvaluateScript" >&5
22027 $as_echo "$ac_cv_search_JSEvaluateScript" >&6; }
22028 ac_res
=$ac_cv_search_JSEvaluateScript
22029 if test "$ac_res" != no
; then :
22030 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
22037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
22038 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
22039 if ${ac_cv_framework_JavaScriptCore+:} false
; then :
22040 $as_echo_n "(cached) " >&6
22043 ac_check_framework_save_LIBS
=$LIBS
22044 LIBS
="-framework JavaScriptCore $LIBS"
22045 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22046 /* end confdefs.h. */
22048 #include <JavaScriptCore/JSBase.h>
22054 JSEvaluateScript(0, 0, 0, 0, 0, 0);
22060 if ac_fn_cxx_try_link
"$LINENO"; then :
22062 ac_cv_framework_JavaScriptCore
=yes
22065 ac_cv_framework_JavaScriptCore
=no
22067 rm -f core conftest.err conftest.
$ac_objext \
22068 conftest
$ac_exeext conftest.
$ac_ext
22069 LIBS
=$ac_check_framework_save_LIBS
22072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
22073 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
22074 if test $ac_cv_framework_JavaScriptCore = yes; then :
22077 for element
in "-framework JavaScriptCore"; do
22081 acl_save_prefix
="$prefix"
22082 prefix
="$acl_final_prefix"
22083 acl_save_exec_prefix
="$exec_prefix"
22084 exec_prefix
="$acl_final_exec_prefix"
22086 exec_prefix
="$acl_save_exec_prefix"
22087 prefix
="$acl_save_prefix"
22089 if test "X$x" = "X$element"; then
22094 if test -z "$haveit"; then
22095 LIBS
="${LIBS}${LIBS:+ }$element"
22106 for cy_webkit_pkg
in "javascriptcoregtk-4.0"; do
22109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
22110 $as_echo_n "checking for WEBKIT... " >&6; }
22112 if test -n "$WEBKIT_CFLAGS"; then
22113 pkg_cv_WEBKIT_CFLAGS
="$WEBKIT_CFLAGS"
22114 elif test -n "$PKG_CONFIG"; then
22115 if test -n "$PKG_CONFIG" && \
22116 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$cy_webkit_pkg\""; } >&5
22117 ($PKG_CONFIG --exists --print-errors "$cy_webkit_pkg") 2>&5
22119 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22120 test $ac_status = 0; }; then
22121 pkg_cv_WEBKIT_CFLAGS
=`$PKG_CONFIG --cflags "$cy_webkit_pkg" 2>/dev/null`
22122 test "x$?" != "x0" && pkg_failed
=yes
22129 if test -n "$WEBKIT_LIBS"; then
22130 pkg_cv_WEBKIT_LIBS
="$WEBKIT_LIBS"
22131 elif test -n "$PKG_CONFIG"; then
22132 if test -n "$PKG_CONFIG" && \
22133 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$cy_webkit_pkg\""; } >&5
22134 ($PKG_CONFIG --exists --print-errors "$cy_webkit_pkg") 2>&5
22136 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22137 test $ac_status = 0; }; then
22138 pkg_cv_WEBKIT_LIBS
=`$PKG_CONFIG --libs "$cy_webkit_pkg" 2>/dev/null`
22139 test "x$?" != "x0" && pkg_failed
=yes
22149 if test $pkg_failed = yes; then
22150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22151 $as_echo "no" >&6; }
22153 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
22154 _pkg_short_errors_supported
=yes
22156 _pkg_short_errors_supported
=no
22158 if test $_pkg_short_errors_supported = yes; then
22159 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$cy_webkit_pkg" 2>&1`
22161 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "$cy_webkit_pkg" 2>&1`
22163 # Put the nasty error message in config.log where it belongs
22164 echo "$WEBKIT_PKG_ERRORS" >&5
22167 elif test $pkg_failed = untried
; then
22168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22169 $as_echo "no" >&6; }
22172 WEBKIT_CFLAGS
=$pkg_cv_WEBKIT_CFLAGS
22173 WEBKIT_LIBS
=$pkg_cv_WEBKIT_LIBS
22174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22175 $as_echo "yes" >&6; }
22180 for element
in `$PKG_CONFIG --cflags $cy_webkit_pkg`; do
22182 for x
in $CPPFLAGS; do
22184 acl_save_prefix
="$prefix"
22185 prefix
="$acl_final_prefix"
22186 acl_save_exec_prefix
="$exec_prefix"
22187 exec_prefix
="$acl_final_exec_prefix"
22189 exec_prefix
="$acl_save_exec_prefix"
22190 prefix
="$acl_save_prefix"
22192 if test "X$x" = "X$element"; then
22197 if test -z "$haveit"; then
22198 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
22203 for element
in `$PKG_CONFIG --libs $cy_webkit_pkg`; do
22207 acl_save_prefix
="$prefix"
22208 prefix
="$acl_final_prefix"
22209 acl_save_exec_prefix
="$exec_prefix"
22210 exec_prefix
="$acl_final_exec_prefix"
22212 exec_prefix
="$acl_save_exec_prefix"
22213 prefix
="$acl_save_prefix"
22215 if test "X$x" = "X$element"; then
22220 if test -z "$haveit"; then
22221 LIBS
="${LIBS}${LIBS:+ }$element"
22226 fi; if test "x$CY_EXECUTE" = x1
; then break; fi
22232 LTJAVASCRIPTCORE
=$LIBS
22238 as_fn_error $?
"Unknown JavaScript engine: $enableval" "$LINENO" 5 ;;
22247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing JSEvaluateScript" >&5
22248 $as_echo_n "checking for library containing JSEvaluateScript... " >&6; }
22249 if ${ac_cv_search_JSEvaluateScript+:} false
; then :
22250 $as_echo_n "(cached) " >&6
22252 ac_func_search_save_LIBS
=$LIBS
22253 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22254 /* end confdefs.h. */
22256 /* Override any GCC internal prototype to avoid an error.
22257 Use char because int might match the return type of a GCC
22258 builtin and then its argument prototype would still apply. */
22262 char JSEvaluateScript ();
22266 return JSEvaluateScript ();
22271 for ac_lib
in '' JavaScriptCore
; do
22272 if test -z "$ac_lib"; then
22273 ac_res
="none required"
22276 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
22278 if ac_fn_cxx_try_link
"$LINENO"; then :
22279 ac_cv_search_JSEvaluateScript
=$ac_res
22281 rm -f core conftest.err conftest.
$ac_objext \
22283 if ${ac_cv_search_JSEvaluateScript+:} false
; then :
22287 if ${ac_cv_search_JSEvaluateScript+:} false
; then :
22290 ac_cv_search_JSEvaluateScript
=no
22292 rm conftest.
$ac_ext
22293 LIBS
=$ac_func_search_save_LIBS
22295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_JSEvaluateScript" >&5
22296 $as_echo "$ac_cv_search_JSEvaluateScript" >&6; }
22297 ac_res
=$ac_cv_search_JSEvaluateScript
22298 if test "$ac_res" != no
; then :
22299 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
22306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
22307 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
22308 if ${ac_cv_framework_JavaScriptCore+:} false
; then :
22309 $as_echo_n "(cached) " >&6
22312 ac_check_framework_save_LIBS
=$LIBS
22313 LIBS
="-framework JavaScriptCore $LIBS"
22314 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22315 /* end confdefs.h. */
22317 #include <JavaScriptCore/JSBase.h>
22323 JSEvaluateScript(0, 0, 0, 0, 0, 0);
22329 if ac_fn_cxx_try_link
"$LINENO"; then :
22331 ac_cv_framework_JavaScriptCore
=yes
22334 ac_cv_framework_JavaScriptCore
=no
22336 rm -f core conftest.err conftest.
$ac_objext \
22337 conftest
$ac_exeext conftest.
$ac_ext
22338 LIBS
=$ac_check_framework_save_LIBS
22341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
22342 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
22343 if test $ac_cv_framework_JavaScriptCore = yes; then :
22346 for element
in "-framework JavaScriptCore"; do
22350 acl_save_prefix
="$prefix"
22351 prefix
="$acl_final_prefix"
22352 acl_save_exec_prefix
="$exec_prefix"
22353 exec_prefix
="$acl_final_exec_prefix"
22355 exec_prefix
="$acl_save_exec_prefix"
22356 prefix
="$acl_save_prefix"
22358 if test "X$x" = "X$element"; then
22363 if test -z "$haveit"; then
22364 LIBS
="${LIBS}${LIBS:+ }$element"
22375 for cy_webkit_pkg
in "javascriptcoregtk-4.0"; do
22378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
22379 $as_echo_n "checking for WEBKIT... " >&6; }
22381 if test -n "$WEBKIT_CFLAGS"; then
22382 pkg_cv_WEBKIT_CFLAGS
="$WEBKIT_CFLAGS"
22383 elif test -n "$PKG_CONFIG"; then
22384 if test -n "$PKG_CONFIG" && \
22385 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$cy_webkit_pkg\""; } >&5
22386 ($PKG_CONFIG --exists --print-errors "$cy_webkit_pkg") 2>&5
22388 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22389 test $ac_status = 0; }; then
22390 pkg_cv_WEBKIT_CFLAGS
=`$PKG_CONFIG --cflags "$cy_webkit_pkg" 2>/dev/null`
22391 test "x$?" != "x0" && pkg_failed
=yes
22398 if test -n "$WEBKIT_LIBS"; then
22399 pkg_cv_WEBKIT_LIBS
="$WEBKIT_LIBS"
22400 elif test -n "$PKG_CONFIG"; then
22401 if test -n "$PKG_CONFIG" && \
22402 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$cy_webkit_pkg\""; } >&5
22403 ($PKG_CONFIG --exists --print-errors "$cy_webkit_pkg") 2>&5
22405 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22406 test $ac_status = 0; }; then
22407 pkg_cv_WEBKIT_LIBS
=`$PKG_CONFIG --libs "$cy_webkit_pkg" 2>/dev/null`
22408 test "x$?" != "x0" && pkg_failed
=yes
22418 if test $pkg_failed = yes; then
22419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22420 $as_echo "no" >&6; }
22422 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
22423 _pkg_short_errors_supported
=yes
22425 _pkg_short_errors_supported
=no
22427 if test $_pkg_short_errors_supported = yes; then
22428 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$cy_webkit_pkg" 2>&1`
22430 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "$cy_webkit_pkg" 2>&1`
22432 # Put the nasty error message in config.log where it belongs
22433 echo "$WEBKIT_PKG_ERRORS" >&5
22436 elif test $pkg_failed = untried
; then
22437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22438 $as_echo "no" >&6; }
22441 WEBKIT_CFLAGS
=$pkg_cv_WEBKIT_CFLAGS
22442 WEBKIT_LIBS
=$pkg_cv_WEBKIT_LIBS
22443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22444 $as_echo "yes" >&6; }
22449 for element
in `$PKG_CONFIG --cflags $cy_webkit_pkg`; do
22451 for x
in $CPPFLAGS; do
22453 acl_save_prefix
="$prefix"
22454 prefix
="$acl_final_prefix"
22455 acl_save_exec_prefix
="$exec_prefix"
22456 exec_prefix
="$acl_final_exec_prefix"
22458 exec_prefix
="$acl_save_exec_prefix"
22459 prefix
="$acl_save_prefix"
22461 if test "X$x" = "X$element"; then
22466 if test -z "$haveit"; then
22467 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
22472 for element
in `$PKG_CONFIG --libs $cy_webkit_pkg`; do
22476 acl_save_prefix
="$prefix"
22477 prefix
="$acl_final_prefix"
22478 acl_save_exec_prefix
="$exec_prefix"
22479 exec_prefix
="$acl_final_exec_prefix"
22481 exec_prefix
="$acl_save_exec_prefix"
22482 prefix
="$acl_save_prefix"
22484 if test "X$x" = "X$element"; then
22489 if test -z "$haveit"; then
22490 LIBS
="${LIBS}${LIBS:+ }$element"
22495 fi; if test "x$CY_EXECUTE" = x1
; then break; fi
22501 LTJAVASCRIPTCORE
=$LIBS
22509 # Check whether --enable-console was given.
22510 if test "${enable_console+set}" = set; then :
22511 enableval
=$enable_console;
22514 if test "x$enable_console" != "xno"; then
22516 CY_CONSOLE_FALSE
='#'
22518 CY_CONSOLE_TRUE
='#'
22523 # Check whether --enable-attach was given.
22524 if test "${enable_attach+set}" = set; then :
22525 enableval
=$enable_attach;
22528 if test "x$enable_attach" != "xno" -a "x$CY_EXECUTE" = x1
; then
22530 CY_ATTACH_FALSE
='#'
22539 if test "x$CY_EXECUTE" = x1
; then
22541 CY_EXECUTE_FALSE
='#'
22543 CY_EXECUTE_TRUE
='#'
22548 if test "x$CY_SYSTEM" = x
; then CY_SYSTEM
=1; fi
22552 case $CY_EXECUTE in #(
22558 for ac_header
in uv.h
22560 ac_fn_cxx_check_header_mongrel
"$LINENO" "uv.h" "ac_cv_header_uv_h" "$ac_includes_default"
22561 if test "x$ac_cv_header_uv_h" = xyes
; then :
22562 cat >>confdefs.h
<<_ACEOF
22563 #define HAVE_UV_H 1
22566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing uv_loop_init" >&5
22567 $as_echo_n "checking for library containing uv_loop_init... " >&6; }
22568 if ${ac_cv_search_uv_loop_init+:} false
; then :
22569 $as_echo_n "(cached) " >&6
22571 ac_func_search_save_LIBS
=$LIBS
22572 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22573 /* end confdefs.h. */
22575 /* Override any GCC internal prototype to avoid an error.
22576 Use char because int might match the return type of a GCC
22577 builtin and then its argument prototype would still apply. */
22581 char uv_loop_init ();
22585 return uv_loop_init ();
22590 for ac_lib
in '' uv
; do
22591 if test -z "$ac_lib"; then
22592 ac_res
="none required"
22595 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
22597 if ac_fn_cxx_try_link
"$LINENO"; then :
22598 ac_cv_search_uv_loop_init
=$ac_res
22600 rm -f core conftest.err conftest.
$ac_objext \
22602 if ${ac_cv_search_uv_loop_init+:} false
; then :
22606 if ${ac_cv_search_uv_loop_init+:} false
; then :
22609 ac_cv_search_uv_loop_init
=no
22611 rm conftest.
$ac_ext
22612 LIBS
=$ac_func_search_save_LIBS
22614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_uv_loop_init" >&5
22615 $as_echo "$ac_cv_search_uv_loop_init" >&6; }
22616 ac_res
=$ac_cv_search_uv_loop_init
22617 if test "$ac_res" != no
; then :
22618 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
22635 for ac_header
in sqlite3.h
22637 ac_fn_cxx_check_header_mongrel
"$LINENO" "sqlite3.h" "ac_cv_header_sqlite3_h" "$ac_includes_default"
22638 if test "x$ac_cv_header_sqlite3_h" = xyes
; then :
22639 cat >>confdefs.h
<<_ACEOF
22640 #define HAVE_SQLITE3_H 1
22643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sqlite3_open_v2" >&5
22644 $as_echo_n "checking for library containing sqlite3_open_v2... " >&6; }
22645 if ${ac_cv_search_sqlite3_open_v2+:} false
; then :
22646 $as_echo_n "(cached) " >&6
22648 ac_func_search_save_LIBS
=$LIBS
22649 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22650 /* end confdefs.h. */
22652 /* Override any GCC internal prototype to avoid an error.
22653 Use char because int might match the return type of a GCC
22654 builtin and then its argument prototype would still apply. */
22658 char sqlite3_open_v2 ();
22662 return sqlite3_open_v2 ();
22667 for ac_lib
in '' sqlite3
; do
22668 if test -z "$ac_lib"; then
22669 ac_res
="none required"
22672 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
22674 if ac_fn_cxx_try_link
"$LINENO"; then :
22675 ac_cv_search_sqlite3_open_v2
=$ac_res
22677 rm -f core conftest.err conftest.
$ac_objext \
22679 if ${ac_cv_search_sqlite3_open_v2+:} false
; then :
22683 if ${ac_cv_search_sqlite3_open_v2+:} false
; then :
22686 ac_cv_search_sqlite3_open_v2
=no
22688 rm conftest.
$ac_ext
22689 LIBS
=$ac_func_search_save_LIBS
22691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sqlite3_open_v2" >&5
22692 $as_echo "$ac_cv_search_sqlite3_open_v2" >&6; }
22693 ac_res
=$ac_cv_search_sqlite3_open_v2
22694 if test "$ac_res" != no
; then :
22695 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
22709 for ac_header
in ffi.h ffi
/ffi.h
22711 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
22712 ac_fn_cxx_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
22713 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
22714 cat >>confdefs.h
<<_ACEOF
22715 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
22726 if test "x$ac_cv_header_ffi_h" = xno
&& test "x$ac_cv_header_ffi_ffi_h" = xno
; then :
22731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBFFI" >&5
22732 $as_echo_n "checking for LIBFFI... " >&6; }
22734 if test -n "$LIBFFI_CFLAGS"; then
22735 pkg_cv_LIBFFI_CFLAGS
="$LIBFFI_CFLAGS"
22736 elif test -n "$PKG_CONFIG"; then
22737 if test -n "$PKG_CONFIG" && \
22738 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libffi\""; } >&5
22739 ($PKG_CONFIG --exists --print-errors "libffi") 2>&5
22741 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22742 test $ac_status = 0; }; then
22743 pkg_cv_LIBFFI_CFLAGS
=`$PKG_CONFIG --cflags "libffi" 2>/dev/null`
22744 test "x$?" != "x0" && pkg_failed
=yes
22751 if test -n "$LIBFFI_LIBS"; then
22752 pkg_cv_LIBFFI_LIBS
="$LIBFFI_LIBS"
22753 elif test -n "$PKG_CONFIG"; then
22754 if test -n "$PKG_CONFIG" && \
22755 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libffi\""; } >&5
22756 ($PKG_CONFIG --exists --print-errors "libffi") 2>&5
22758 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22759 test $ac_status = 0; }; then
22760 pkg_cv_LIBFFI_LIBS
=`$PKG_CONFIG --libs "libffi" 2>/dev/null`
22761 test "x$?" != "x0" && pkg_failed
=yes
22771 if test $pkg_failed = yes; then
22772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22773 $as_echo "no" >&6; }
22775 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
22776 _pkg_short_errors_supported
=yes
22778 _pkg_short_errors_supported
=no
22780 if test $_pkg_short_errors_supported = yes; then
22781 LIBFFI_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libffi" 2>&1`
22783 LIBFFI_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "libffi" 2>&1`
22785 # Put the nasty error message in config.log where it belongs
22786 echo "$LIBFFI_PKG_ERRORS" >&5
22788 as_fn_error $?
"missing \"libffi\"" "$LINENO" 5
22789 elif test $pkg_failed = untried
; then
22790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22791 $as_echo "no" >&6; }
22792 as_fn_error $?
"missing \"libffi\"" "$LINENO" 5
22794 LIBFFI_CFLAGS
=$pkg_cv_LIBFFI_CFLAGS
22795 LIBFFI_LIBS
=$pkg_cv_LIBFFI_LIBS
22796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22797 $as_echo "yes" >&6; }
22800 for element
in `$PKG_CONFIG --cflags libffi`; do
22802 for x
in $CPPFLAGS; do
22804 acl_save_prefix
="$prefix"
22805 prefix
="$acl_final_prefix"
22806 acl_save_exec_prefix
="$exec_prefix"
22807 exec_prefix
="$acl_final_exec_prefix"
22809 exec_prefix
="$acl_save_exec_prefix"
22810 prefix
="$acl_save_prefix"
22812 if test "X$x" = "X$element"; then
22817 if test -z "$haveit"; then
22818 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
22823 for element
in `$PKG_CONFIG --libs libffi`; do
22827 acl_save_prefix
="$prefix"
22828 prefix
="$acl_final_prefix"
22829 acl_save_exec_prefix
="$exec_prefix"
22830 exec_prefix
="$acl_final_exec_prefix"
22832 exec_prefix
="$acl_save_exec_prefix"
22833 prefix
="$acl_save_prefix"
22835 if test "X$x" = "X$element"; then
22840 if test -z "$haveit"; then
22841 LIBS
="${LIBS}${LIBS:+ }$element"
22850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing ffi_call" >&5
22851 $as_echo_n "checking for library containing ffi_call... " >&6; }
22852 if ${ac_cv_search_ffi_call+:} false
; then :
22853 $as_echo_n "(cached) " >&6
22855 ac_func_search_save_LIBS
=$LIBS
22856 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22857 /* end confdefs.h. */
22859 /* Override any GCC internal prototype to avoid an error.
22860 Use char because int might match the return type of a GCC
22861 builtin and then its argument prototype would still apply. */
22869 return ffi_call ();
22874 for ac_lib
in '' ffi
; do
22875 if test -z "$ac_lib"; then
22876 ac_res
="none required"
22879 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
22881 if ac_fn_cxx_try_link
"$LINENO"; then :
22882 ac_cv_search_ffi_call
=$ac_res
22884 rm -f core conftest.err conftest.
$ac_objext \
22886 if ${ac_cv_search_ffi_call+:} false
; then :
22890 if ${ac_cv_search_ffi_call+:} false
; then :
22893 ac_cv_search_ffi_call
=no
22895 rm conftest.
$ac_ext
22896 LIBS
=$ac_func_search_save_LIBS
22898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_ffi_call" >&5
22899 $as_echo "$ac_cv_search_ffi_call" >&6; }
22900 ac_res
=$ac_cv_search_ffi_call
22901 if test "$ac_res" != no
; then :
22902 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
22906 case $ac_cv_search_ffi_call in #(
22911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBFFI" >&5
22912 $as_echo_n "checking for LIBFFI... " >&6; }
22914 if test -n "$LIBFFI_CFLAGS"; then
22915 pkg_cv_LIBFFI_CFLAGS
="$LIBFFI_CFLAGS"
22916 elif test -n "$PKG_CONFIG"; then
22917 if test -n "$PKG_CONFIG" && \
22918 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libffi\""; } >&5
22919 ($PKG_CONFIG --exists --print-errors "libffi") 2>&5
22921 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22922 test $ac_status = 0; }; then
22923 pkg_cv_LIBFFI_CFLAGS
=`$PKG_CONFIG --cflags "libffi" 2>/dev/null`
22924 test "x$?" != "x0" && pkg_failed
=yes
22931 if test -n "$LIBFFI_LIBS"; then
22932 pkg_cv_LIBFFI_LIBS
="$LIBFFI_LIBS"
22933 elif test -n "$PKG_CONFIG"; then
22934 if test -n "$PKG_CONFIG" && \
22935 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libffi\""; } >&5
22936 ($PKG_CONFIG --exists --print-errors "libffi") 2>&5
22938 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22939 test $ac_status = 0; }; then
22940 pkg_cv_LIBFFI_LIBS
=`$PKG_CONFIG --libs "libffi" 2>/dev/null`
22941 test "x$?" != "x0" && pkg_failed
=yes
22951 if test $pkg_failed = yes; then
22952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22953 $as_echo "no" >&6; }
22955 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
22956 _pkg_short_errors_supported
=yes
22958 _pkg_short_errors_supported
=no
22960 if test $_pkg_short_errors_supported = yes; then
22961 LIBFFI_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libffi" 2>&1`
22963 LIBFFI_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "libffi" 2>&1`
22965 # Put the nasty error message in config.log where it belongs
22966 echo "$LIBFFI_PKG_ERRORS" >&5
22968 as_fn_error $?
"missing \"libffi\"" "$LINENO" 5
22969 elif test $pkg_failed = untried
; then
22970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22971 $as_echo "no" >&6; }
22972 as_fn_error $?
"missing \"libffi\"" "$LINENO" 5
22974 LIBFFI_CFLAGS
=$pkg_cv_LIBFFI_CFLAGS
22975 LIBFFI_LIBS
=$pkg_cv_LIBFFI_LIBS
22976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22977 $as_echo "yes" >&6; }
22980 for element
in `$PKG_CONFIG --cflags libffi`; do
22982 for x
in $CPPFLAGS; do
22984 acl_save_prefix
="$prefix"
22985 prefix
="$acl_final_prefix"
22986 acl_save_exec_prefix
="$exec_prefix"
22987 exec_prefix
="$acl_final_exec_prefix"
22989 exec_prefix
="$acl_save_exec_prefix"
22990 prefix
="$acl_save_prefix"
22992 if test "X$x" = "X$element"; then
22997 if test -z "$haveit"; then
22998 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
23003 for element
in `$PKG_CONFIG --libs libffi`; do
23007 acl_save_prefix
="$prefix"
23008 prefix
="$acl_final_prefix"
23009 acl_save_exec_prefix
="$exec_prefix"
23010 exec_prefix
="$acl_final_exec_prefix"
23012 exec_prefix
="$acl_save_exec_prefix"
23013 prefix
="$acl_save_prefix"
23015 if test "X$x" = "X$element"; then
23020 if test -z "$haveit"; then
23021 LIBS
="${LIBS}${LIBS:+ }$element"
23030 for ac_func
in ffi_prep_cif_var
23032 ac_fn_cxx_check_func
"$LINENO" "ffi_prep_cif_var" "ac_cv_func_ffi_prep_cif_var"
23033 if test "x$ac_cv_func_ffi_prep_cif_var" = xyes
; then :
23034 cat >>confdefs.h
<<_ACEOF
23035 #define HAVE_FFI_PREP_CIF_VAR 1
23052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaVM" >&5
23053 $as_echo_n "checking for framework JavaVM... " >&6; }
23054 if ${ac_cv_framework_JavaVM+:} false
; then :
23055 $as_echo_n "(cached) " >&6
23058 ac_check_framework_save_LIBS
=$LIBS
23059 LIBS
="-framework JavaVM $LIBS"
23060 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23061 /* end confdefs.h. */
23063 #include <JavaVM/jni.h>
23068 JNI_GetCreatedJavaVMs(NULL, 0, NULL);
23073 if ac_fn_cxx_try_link
"$LINENO"; then :
23075 ac_cv_framework_JavaVM
=yes
23078 ac_cv_framework_JavaVM
=no
23080 rm -f core conftest.err conftest.
$ac_objext \
23081 conftest
$ac_exeext conftest.
$ac_ext
23082 LIBS
=$ac_check_framework_save_LIBS
23085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaVM" >&5
23086 $as_echo "$ac_cv_framework_JavaVM" >&6; }
23087 if test $ac_cv_framework_JavaVM = yes; then :
23090 for element
in "-framework JavaVM"; do
23094 acl_save_prefix
="$prefix"
23095 prefix
="$acl_final_prefix"
23096 acl_save_exec_prefix
="$exec_prefix"
23097 exec_prefix
="$acl_final_exec_prefix"
23099 exec_prefix
="$acl_save_exec_prefix"
23100 prefix
="$acl_save_prefix"
23102 if test "X$x" = "X$element"; then
23107 if test -z "$haveit"; then
23108 LIBS
="${LIBS}${LIBS:+ }$element"
23118 ac_fn_cxx_check_header_mongrel
"$LINENO" "jni.h" "ac_cv_header_jni_h" "$ac_includes_default"
23119 if test "x$ac_cv_header_jni_h" = xyes
; then :
23123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing JNI_GetCreatedJavaVMs" >&5
23124 $as_echo_n "checking for library containing JNI_GetCreatedJavaVMs... " >&6; }
23125 if ${ac_cv_search_JNI_GetCreatedJavaVMs+:} false
; then :
23126 $as_echo_n "(cached) " >&6
23128 ac_func_search_save_LIBS
=$LIBS
23129 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23130 /* end confdefs.h. */
23132 /* Override any GCC internal prototype to avoid an error.
23133 Use char because int might match the return type of a GCC
23134 builtin and then its argument prototype would still apply. */
23138 char JNI_GetCreatedJavaVMs ();
23142 return JNI_GetCreatedJavaVMs ();
23147 for ac_lib
in '' dvm
; do
23148 if test -z "$ac_lib"; then
23149 ac_res
="none required"
23152 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
23154 if ac_fn_cxx_try_link
"$LINENO"; then :
23155 ac_cv_search_JNI_GetCreatedJavaVMs
=$ac_res
23157 rm -f core conftest.err conftest.
$ac_objext \
23159 if ${ac_cv_search_JNI_GetCreatedJavaVMs+:} false
; then :
23163 if ${ac_cv_search_JNI_GetCreatedJavaVMs+:} false
; then :
23166 ac_cv_search_JNI_GetCreatedJavaVMs
=no
23168 rm conftest.
$ac_ext
23169 LIBS
=$ac_func_search_save_LIBS
23171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_JNI_GetCreatedJavaVMs" >&5
23172 $as_echo "$ac_cv_search_JNI_GetCreatedJavaVMs" >&6; }
23173 ac_res
=$ac_cv_search_JNI_GetCreatedJavaVMs
23174 if test "$ac_res" != no
; then :
23175 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
23200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBRUBY21" >&5
23201 $as_echo_n "checking for LIBRUBY21... " >&6; }
23203 if test -n "$LIBRUBY21_CFLAGS"; then
23204 pkg_cv_LIBRUBY21_CFLAGS
="$LIBRUBY21_CFLAGS"
23205 elif test -n "$PKG_CONFIG"; then
23206 if test -n "$PKG_CONFIG" && \
23207 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ruby-2.1\""; } >&5
23208 ($PKG_CONFIG --exists --print-errors "ruby-2.1") 2>&5
23210 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23211 test $ac_status = 0; }; then
23212 pkg_cv_LIBRUBY21_CFLAGS
=`$PKG_CONFIG --cflags "ruby-2.1" 2>/dev/null`
23213 test "x$?" != "x0" && pkg_failed
=yes
23220 if test -n "$LIBRUBY21_LIBS"; then
23221 pkg_cv_LIBRUBY21_LIBS
="$LIBRUBY21_LIBS"
23222 elif test -n "$PKG_CONFIG"; then
23223 if test -n "$PKG_CONFIG" && \
23224 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ruby-2.1\""; } >&5
23225 ($PKG_CONFIG --exists --print-errors "ruby-2.1") 2>&5
23227 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23228 test $ac_status = 0; }; then
23229 pkg_cv_LIBRUBY21_LIBS
=`$PKG_CONFIG --libs "ruby-2.1" 2>/dev/null`
23230 test "x$?" != "x0" && pkg_failed
=yes
23240 if test $pkg_failed = yes; then
23241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23242 $as_echo "no" >&6; }
23244 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
23245 _pkg_short_errors_supported
=yes
23247 _pkg_short_errors_supported
=no
23249 if test $_pkg_short_errors_supported = yes; then
23250 LIBRUBY21_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "ruby-2.1" 2>&1`
23252 LIBRUBY21_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "ruby-2.1" 2>&1`
23254 # Put the nasty error message in config.log where it belongs
23255 echo "$LIBRUBY21_PKG_ERRORS" >&5
23258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework Ruby" >&5
23259 $as_echo_n "checking for framework Ruby... " >&6; }
23260 if ${ac_cv_framework_Ruby+:} false
; then :
23261 $as_echo_n "(cached) " >&6
23264 ac_check_framework_save_LIBS
=$LIBS
23265 LIBS
="-framework Ruby $LIBS"
23266 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23267 /* end confdefs.h. */
23269 #include <Ruby/ruby.h>
23279 if ac_fn_cxx_try_link
"$LINENO"; then :
23281 ac_cv_framework_Ruby
=yes
23284 ac_cv_framework_Ruby
=no
23286 rm -f core conftest.err conftest.
$ac_objext \
23287 conftest
$ac_exeext conftest.
$ac_ext
23288 LIBS
=$ac_check_framework_save_LIBS
23291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_Ruby" >&5
23292 $as_echo "$ac_cv_framework_Ruby" >&6; }
23293 if test $ac_cv_framework_Ruby = yes; then :
23296 for element
in "-framework Ruby"; do
23300 acl_save_prefix
="$prefix"
23301 prefix
="$acl_final_prefix"
23302 acl_save_exec_prefix
="$exec_prefix"
23303 exec_prefix
="$acl_final_exec_prefix"
23305 exec_prefix
="$acl_save_exec_prefix"
23306 prefix
="$acl_save_prefix"
23308 if test "X$x" = "X$element"; then
23313 if test -z "$haveit"; then
23314 LIBS
="${LIBS}${LIBS:+ }$element"
23324 for ac_header
in ruby.h
23326 ac_fn_cxx_check_header_mongrel
"$LINENO" "ruby.h" "ac_cv_header_ruby_h" "$ac_includes_default"
23327 if test "x$ac_cv_header_ruby_h" = xyes
; then :
23328 cat >>confdefs.h
<<_ACEOF
23329 #define HAVE_RUBY_H 1
23334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing ruby_init" >&5
23335 $as_echo_n "checking for library containing ruby_init... " >&6; }
23336 if ${ac_cv_search_ruby_init+:} false
; then :
23337 $as_echo_n "(cached) " >&6
23339 ac_func_search_save_LIBS
=$LIBS
23340 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23341 /* end confdefs.h. */
23343 /* Override any GCC internal prototype to avoid an error.
23344 Use char because int might match the return type of a GCC
23345 builtin and then its argument prototype would still apply. */
23353 return ruby_init ();
23358 for ac_lib
in '' ruby
; do
23359 if test -z "$ac_lib"; then
23360 ac_res
="none required"
23363 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
23365 if ac_fn_cxx_try_link
"$LINENO"; then :
23366 ac_cv_search_ruby_init
=$ac_res
23368 rm -f core conftest.err conftest.
$ac_objext \
23370 if ${ac_cv_search_ruby_init+:} false
; then :
23374 if ${ac_cv_search_ruby_init+:} false
; then :
23377 ac_cv_search_ruby_init
=no
23379 rm conftest.
$ac_ext
23380 LIBS
=$ac_func_search_save_LIBS
23382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_ruby_init" >&5
23383 $as_echo "$ac_cv_search_ruby_init" >&6; }
23384 ac_res
=$ac_cv_search_ruby_init
23385 if test "$ac_res" != no
; then :
23386 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
23402 elif test $pkg_failed = untried
; then
23403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23404 $as_echo "no" >&6; }
23406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework Ruby" >&5
23407 $as_echo_n "checking for framework Ruby... " >&6; }
23408 if ${ac_cv_framework_Ruby+:} false
; then :
23409 $as_echo_n "(cached) " >&6
23412 ac_check_framework_save_LIBS
=$LIBS
23413 LIBS
="-framework Ruby $LIBS"
23414 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23415 /* end confdefs.h. */
23417 #include <Ruby/ruby.h>
23427 if ac_fn_cxx_try_link
"$LINENO"; then :
23429 ac_cv_framework_Ruby
=yes
23432 ac_cv_framework_Ruby
=no
23434 rm -f core conftest.err conftest.
$ac_objext \
23435 conftest
$ac_exeext conftest.
$ac_ext
23436 LIBS
=$ac_check_framework_save_LIBS
23439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_Ruby" >&5
23440 $as_echo "$ac_cv_framework_Ruby" >&6; }
23441 if test $ac_cv_framework_Ruby = yes; then :
23444 for element
in "-framework Ruby"; do
23448 acl_save_prefix
="$prefix"
23449 prefix
="$acl_final_prefix"
23450 acl_save_exec_prefix
="$exec_prefix"
23451 exec_prefix
="$acl_final_exec_prefix"
23453 exec_prefix
="$acl_save_exec_prefix"
23454 prefix
="$acl_save_prefix"
23456 if test "X$x" = "X$element"; then
23461 if test -z "$haveit"; then
23462 LIBS
="${LIBS}${LIBS:+ }$element"
23472 for ac_header
in ruby.h
23474 ac_fn_cxx_check_header_mongrel
"$LINENO" "ruby.h" "ac_cv_header_ruby_h" "$ac_includes_default"
23475 if test "x$ac_cv_header_ruby_h" = xyes
; then :
23476 cat >>confdefs.h
<<_ACEOF
23477 #define HAVE_RUBY_H 1
23482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing ruby_init" >&5
23483 $as_echo_n "checking for library containing ruby_init... " >&6; }
23484 if ${ac_cv_search_ruby_init+:} false
; then :
23485 $as_echo_n "(cached) " >&6
23487 ac_func_search_save_LIBS
=$LIBS
23488 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23489 /* end confdefs.h. */
23491 /* Override any GCC internal prototype to avoid an error.
23492 Use char because int might match the return type of a GCC
23493 builtin and then its argument prototype would still apply. */
23501 return ruby_init ();
23506 for ac_lib
in '' ruby
; do
23507 if test -z "$ac_lib"; then
23508 ac_res
="none required"
23511 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
23513 if ac_fn_cxx_try_link
"$LINENO"; then :
23514 ac_cv_search_ruby_init
=$ac_res
23516 rm -f core conftest.err conftest.
$ac_objext \
23518 if ${ac_cv_search_ruby_init+:} false
; then :
23522 if ${ac_cv_search_ruby_init+:} false
; then :
23525 ac_cv_search_ruby_init
=no
23527 rm conftest.
$ac_ext
23528 LIBS
=$ac_func_search_save_LIBS
23530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_ruby_init" >&5
23531 $as_echo "$ac_cv_search_ruby_init" >&6; }
23532 ac_res
=$ac_cv_search_ruby_init
23533 if test "$ac_res" != no
; then :
23534 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
23551 LIBRUBY21_CFLAGS
=$pkg_cv_LIBRUBY21_CFLAGS
23552 LIBRUBY21_LIBS
=$pkg_cv_LIBRUBY21_LIBS
23553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23554 $as_echo "yes" >&6; }
23559 for element
in `$PKG_CONFIG --cflags ruby-2.1`; do
23561 for x
in $CPPFLAGS; do
23563 acl_save_prefix
="$prefix"
23564 prefix
="$acl_final_prefix"
23565 acl_save_exec_prefix
="$exec_prefix"
23566 exec_prefix
="$acl_final_exec_prefix"
23568 exec_prefix
="$acl_save_exec_prefix"
23569 prefix
="$acl_save_prefix"
23571 if test "X$x" = "X$element"; then
23576 if test -z "$haveit"; then
23577 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
23582 for element
in `$PKG_CONFIG --libs ruby-2.1`; do
23586 acl_save_prefix
="$prefix"
23587 prefix
="$acl_final_prefix"
23588 acl_save_exec_prefix
="$exec_prefix"
23589 exec_prefix
="$acl_final_exec_prefix"
23591 exec_prefix
="$acl_save_exec_prefix"
23592 prefix
="$acl_save_prefix"
23594 if test "X$x" = "X$element"; then
23599 if test -z "$haveit"; then
23600 LIBS
="${LIBS}${LIBS:+ }$element"
23612 ac_cpp
='$OBJCXXCPP $CPPFLAGS'
23613 ac_compile
='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23614 ac_link
='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23615 ac_compiler_gnu
=$ac_cv_objcxx_compiler_gnu
23618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we really have Objective C++" >&5
23619 $as_echo_n "checking if we really have Objective C++... " >&6; }
23620 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23621 /* end confdefs.h. */
23624 if ac_fn_objcxx_try_compile
"$LINENO"; then :
23627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23628 $as_echo "yes" >&6; }
23631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23632 $as_echo "no" >&6; }
23634 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23636 if test "x$CY_OBJECTIVEC" = x1
; then :
23642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework CoreFoundation" >&5
23643 $as_echo_n "checking for framework CoreFoundation... " >&6; }
23644 if ${ac_cv_framework_CoreFoundation+:} false
; then :
23645 $as_echo_n "(cached) " >&6
23648 ac_check_framework_save_LIBS
=$LIBS
23649 LIBS
="-framework CoreFoundation $LIBS"
23650 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23651 /* end confdefs.h. */
23653 #include <CoreFoundation/CFBase.h>
23658 CFAllocatorGetDefault();
23663 if ac_fn_objcxx_try_link
"$LINENO"; then :
23665 ac_cv_framework_CoreFoundation
=yes
23668 ac_cv_framework_CoreFoundation
=no
23670 rm -f core conftest.err conftest.
$ac_objext \
23671 conftest
$ac_exeext conftest.
$ac_ext
23672 LIBS
=$ac_check_framework_save_LIBS
23675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_CoreFoundation" >&5
23676 $as_echo "$ac_cv_framework_CoreFoundation" >&6; }
23677 if test $ac_cv_framework_CoreFoundation = yes; then :
23680 for element
in "-framework CoreFoundation"; do
23684 acl_save_prefix
="$prefix"
23685 prefix
="$acl_final_prefix"
23686 acl_save_exec_prefix
="$exec_prefix"
23687 exec_prefix
="$acl_final_exec_prefix"
23689 exec_prefix
="$acl_save_exec_prefix"
23690 prefix
="$acl_save_prefix"
23692 if test "X$x" = "X$element"; then
23697 if test -z "$haveit"; then
23698 LIBS
="${LIBS}${LIBS:+ }$element"
23707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework Foundation" >&5
23708 $as_echo_n "checking for framework Foundation... " >&6; }
23709 if ${ac_cv_framework_Foundation+:} false
; then :
23710 $as_echo_n "(cached) " >&6
23713 ac_check_framework_save_LIBS
=$LIBS
23714 LIBS
="-framework Foundation $LIBS"
23715 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23716 /* end confdefs.h. */
23718 #include <Foundation/NSObject.h>
23723 [[NSObject alloc] init];
23728 if ac_fn_objcxx_try_link
"$LINENO"; then :
23730 ac_cv_framework_Foundation
=yes
23733 ac_cv_framework_Foundation
=no
23735 rm -f core conftest.err conftest.
$ac_objext \
23736 conftest
$ac_exeext conftest.
$ac_ext
23737 LIBS
=$ac_check_framework_save_LIBS
23740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_Foundation" >&5
23741 $as_echo "$ac_cv_framework_Foundation" >&6; }
23742 if test $ac_cv_framework_Foundation = yes; then :
23745 for element
in "-framework Foundation"; do
23749 acl_save_prefix
="$prefix"
23750 prefix
="$acl_final_prefix"
23751 acl_save_exec_prefix
="$exec_prefix"
23752 exec_prefix
="$acl_final_exec_prefix"
23754 exec_prefix
="$acl_save_exec_prefix"
23755 prefix
="$acl_save_prefix"
23757 if test "X$x" = "X$element"; then
23762 if test -z "$haveit"; then
23763 LIBS
="${LIBS}${LIBS:+ }$element"
23767 cat >>confdefs.h
<<_ACEOF
23768 #define HAVE_FRAMEWORK_FOUNDATION 1
23778 for ac_prog
in gnustep
-config
23780 # Extract the first word of "$ac_prog", so it can be a program name with args.
23781 set dummy
$ac_prog; ac_word
=$2
23782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23783 $as_echo_n "checking for $ac_word... " >&6; }
23784 if ${ac_cv_prog_GNUSTEP_CONFIG+:} false
; then :
23785 $as_echo_n "(cached) " >&6
23787 if test -n "$GNUSTEP_CONFIG"; then
23788 ac_cv_prog_GNUSTEP_CONFIG
="$GNUSTEP_CONFIG" # Let the user override the test.
23790 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23791 for as_dir
in $PATH
23794 test -z "$as_dir" && as_dir
=.
23795 for ac_exec_ext
in '' $ac_executable_extensions; do
23796 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
23797 ac_cv_prog_GNUSTEP_CONFIG
="$ac_prog"
23798 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23807 GNUSTEP_CONFIG
=$ac_cv_prog_GNUSTEP_CONFIG
23808 if test -n "$GNUSTEP_CONFIG"; then
23809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNUSTEP_CONFIG" >&5
23810 $as_echo "$GNUSTEP_CONFIG" >&6; }
23812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23813 $as_echo "no" >&6; }
23817 test -n "$GNUSTEP_CONFIG" && break
23821 if test "x$GNUSTEP_CONFIG" != x
; then :
23825 for element
in `$GNUSTEP_CONFIG --objc-flags`; do
23827 for x
in $OBJCXXFLAGS; do
23829 acl_save_prefix
="$prefix"
23830 prefix
="$acl_final_prefix"
23831 acl_save_exec_prefix
="$exec_prefix"
23832 exec_prefix
="$acl_final_exec_prefix"
23834 exec_prefix
="$acl_save_exec_prefix"
23835 prefix
="$acl_save_prefix"
23837 if test "X$x" = "X$element"; then
23842 if test -z "$haveit"; then
23843 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
23848 for element
in `$GNUSTEP_CONFIG --base-libs`; do
23852 acl_save_prefix
="$prefix"
23853 prefix
="$acl_final_prefix"
23854 acl_save_exec_prefix
="$exec_prefix"
23855 exec_prefix
="$acl_final_exec_prefix"
23857 exec_prefix
="$acl_save_exec_prefix"
23858 prefix
="$acl_save_prefix"
23860 if test "X$x" = "X$element"; then
23865 if test -z "$haveit"; then
23866 LIBS
="${LIBS}${LIBS:+ }$element"
23885 ac_cpp
='$CXXCPP $CPPFLAGS'
23886 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23887 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23888 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23895 if test "x$CY_JAVA" = x1
; then
23903 if test "x$CY_RUBY" = x1
; then
23911 if test "x$CY_OBJECTIVEC" = x1
; then
23912 CY_OBJECTIVEC_TRUE
=
23913 CY_OBJECTIVEC_FALSE
='#'
23915 CY_OBJECTIVEC_TRUE
='#'
23916 CY_OBJECTIVEC_FALSE
=
23921 # Check whether --with-libclang was given.
23922 if test "${with_libclang+set}" = set; then :
23923 withval
=$with_libclang;
23929 if test "x$with_libclang" != "xno"; then :
23931 CY_LIBCLANG
="$with_libclang"
23934 if test "x$with_libclang" != "xno"; then
23936 CY_PRELINK_FALSE
='#'
23938 CY_PRELINK_TRUE
='#'
23947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a readline compatible library" >&5
23948 $as_echo_n "checking for a readline compatible library... " >&6; }
23949 if ${ax_cv_lib_readline+:} false
; then :
23950 $as_echo_n "(cached) " >&6
23954 for readline_lib
in readline edit editline
; do
23955 for termcap_lib
in "" termcap curses ncurses
; do
23956 if test -z "$termcap_lib"; then
23957 TRY_LIB
="-l$readline_lib"
23959 TRY_LIB
="-l$readline_lib -l$termcap_lib"
23961 LIBS
="$ORIG_LIBS $TRY_LIB"
23962 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23963 /* end confdefs.h. */
23965 /* Override any GCC internal prototype to avoid an error.
23966 Use char because int might match the return type of a GCC
23967 builtin and then its argument prototype would still apply. */
23975 return readline ();
23980 if ac_fn_cxx_try_link
"$LINENO"; then :
23981 ax_cv_lib_readline
="$TRY_LIB"
23983 rm -f core conftest.err conftest.
$ac_objext \
23984 conftest
$ac_exeext conftest.
$ac_ext
23985 if test -n "$ax_cv_lib_readline"; then
23989 if test -n "$ax_cv_lib_readline"; then
23993 if test -z "$ax_cv_lib_readline"; then
23994 ax_cv_lib_readline
="no"
23999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_lib_readline" >&5
24000 $as_echo "$ax_cv_lib_readline" >&6; }
24002 if test "$ax_cv_lib_readline" != "no"; then
24003 LIBS
="$LIBS $ax_cv_lib_readline"
24005 $as_echo "#define HAVE_LIBREADLINE 1" >>confdefs.h
24007 for ac_header
in readline.h readline
/readline.h
24009 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
24010 ac_fn_cxx_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
24011 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
24012 cat >>confdefs.h
<<_ACEOF
24013 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
24020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether readline supports history" >&5
24021 $as_echo_n "checking whether readline supports history... " >&6; }
24022 if ${ax_cv_lib_readline_history+:} false
; then :
24023 $as_echo_n "(cached) " >&6
24026 ax_cv_lib_readline_history
="no"
24027 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24028 /* end confdefs.h. */
24030 /* Override any GCC internal prototype to avoid an error.
24031 Use char because int might match the return type of a GCC
24032 builtin and then its argument prototype would still apply. */
24036 char add_history ();
24040 return add_history ();
24045 if ac_fn_cxx_try_link
"$LINENO"; then :
24046 ax_cv_lib_readline_history
="yes"
24048 rm -f core conftest.err conftest.
$ac_objext \
24049 conftest
$ac_exeext conftest.
$ac_ext
24052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_lib_readline_history" >&5
24053 $as_echo "$ax_cv_lib_readline_history" >&6; }
24054 if test "$ax_cv_lib_readline_history" = "yes"; then
24056 $as_echo "#define HAVE_READLINE_HISTORY 1" >>confdefs.h
24058 for ac_header
in history.h readline
/history.h
24060 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
24061 ac_fn_cxx_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
24062 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
24063 cat >>confdefs.h
<<_ACEOF
24064 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
24074 LTLIBREADLINE
=$LIBS
24078 case $ax_cv_lib_readline in #(
24080 as_fn_error $?
"missing \"libreadline\"" "$LINENO" 5 ;; #(
24088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing cur_term" >&5
24089 $as_echo_n "checking for library containing cur_term... " >&6; }
24090 if ${ac_cv_search_cur_term+:} false
; then :
24091 $as_echo_n "(cached) " >&6
24093 ac_func_search_save_LIBS
=$LIBS
24094 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24095 /* end confdefs.h. */
24097 /* Override any GCC internal prototype to avoid an error.
24098 Use char because int might match the return type of a GCC
24099 builtin and then its argument prototype would still apply. */
24107 return cur_term ();
24112 for ac_lib
in '' termcap ncurses
; do
24113 if test -z "$ac_lib"; then
24114 ac_res
="none required"
24117 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
24119 if ac_fn_cxx_try_link
"$LINENO"; then :
24120 ac_cv_search_cur_term
=$ac_res
24122 rm -f core conftest.err conftest.
$ac_objext \
24124 if ${ac_cv_search_cur_term+:} false
; then :
24128 if ${ac_cv_search_cur_term+:} false
; then :
24131 ac_cv_search_cur_term
=no
24133 rm conftest.
$ac_ext
24134 LIBS
=$ac_func_search_save_LIBS
24136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_cur_term" >&5
24137 $as_echo "$ac_cv_search_cur_term" >&6; }
24138 ac_res
=$ac_cv_search_cur_term
24139 if test "$ac_res" != no
; then :
24140 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
24155 ac_config_files
="$ac_config_files Makefile"
24157 cat >confcache
<<\_ACEOF
24158 # This file is a shell script that caches the results of configure
24159 # tests run on this system so they can be shared between configure
24160 # scripts and configure runs, see configure's option --config-cache.
24161 # It is not useful on other systems. If it contains results you don't
24162 # want to keep, you may remove or edit it.
24164 # config.status only pays attention to the cache file if you give it
24165 # the --recheck option to rerun configure.
24167 # `ac_cv_env_foo' variables (set or unset) will be overridden when
24168 # loading this file, other *unset* `ac_cv_foo' will be assigned the
24169 # following values.
24173 # The following way of writing the cache mishandles newlines in values,
24174 # but we know of no workaround that is simple, portable, and efficient.
24175 # So, we kill variables containing newlines.
24176 # Ultrix sh set writes to stderr and can't be redirected directly,
24177 # and sets the high bit in the cache file unless we assign to the vars.
24179 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
24180 eval ac_val
=\$
$ac_var
24184 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
24185 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
24188 _
| IFS
| as_nl
) ;; #(
24189 BASH_ARGV
| BASH_SOURCE
) eval $ac_var= ;; #(
24190 *) { eval $ac_var=; unset $ac_var;} ;;
24196 case $as_nl`(ac_space=' '; set) 2>&1` in #(
24197 *${as_nl}ac_space
=\
*)
24198 # `set' does not quote correctly, so add quotes: double-quote
24199 # substitution turns \\\\ into \\, and sed turns \\ into \.
24202 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
24205 # `set' quotes correctly as required by POSIX, so do not add quotes.
24206 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
24215 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
24217 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
24219 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
24220 if test -w "$cache_file"; then
24221 if test "x$cache_file" != "x/dev/null"; then
24222 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
24223 $as_echo "$as_me: updating cache $cache_file" >&6;}
24224 if test ! -f "$cache_file" || test -h "$cache_file"; then
24225 cat confcache
>"$cache_file"
24227 case $cache_file in #(
24229 mv -f confcache
"$cache_file"$$
&&
24230 mv -f "$cache_file"$$
"$cache_file" ;; #(
24232 mv -f confcache
"$cache_file" ;;
24237 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
24238 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
24243 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
24244 # Let make expand exec_prefix.
24245 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
24247 DEFS
=-DHAVE_CONFIG_H
24252 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
24253 # 1. Remove the extension, and $U if already installed.
24254 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
24255 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
24256 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
24257 # will be set to the directory where LIBOBJS objects are built.
24258 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
24259 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
24261 LIBOBJS
=$ac_libobjs
24263 LTLIBOBJS
=$ac_ltlibobjs
24266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
24267 $as_echo_n "checking that generated files are newer than configure... " >&6; }
24268 if test -n "$am_sleep_pid"; then
24269 # Hide warnings about reused PIDs.
24270 wait $am_sleep_pid 2>/dev
/null
24272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
24273 $as_echo "done" >&6; }
24274 if test -n "$EXEEXT"; then
24276 am__EXEEXT_FALSE
='#'
24278 am__EXEEXT_TRUE
='#'
24282 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
24283 as_fn_error $?
"conditional \"MAINTAINER_MODE\" was never defined.
24284 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24286 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
24287 as_fn_error $?
"conditional \"AMDEP\" was never defined.
24288 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24290 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
24291 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
24292 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24294 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
24295 as_fn_error $?
"conditional \"am__fastdepCXX\" was never defined.
24296 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24298 if test -z "${am__fastdepOBJCXX_TRUE}" && test -z "${am__fastdepOBJCXX_FALSE}"; then
24299 as_fn_error $?
"conditional \"am__fastdepOBJCXX\" was never defined.
24300 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24302 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
24303 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
24304 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24306 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
24307 as_fn_error $?
"conditional \"am__fastdepCXX\" was never defined.
24308 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24310 if test -z "${CY_CONSOLE_TRUE}" && test -z "${CY_CONSOLE_FALSE}"; then
24311 as_fn_error $?
"conditional \"CY_CONSOLE\" was never defined.
24312 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24314 if test -z "${CY_ATTACH_TRUE}" && test -z "${CY_ATTACH_FALSE}"; then
24315 as_fn_error $?
"conditional \"CY_ATTACH\" was never defined.
24316 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24318 if test -z "${CY_EXECUTE_TRUE}" && test -z "${CY_EXECUTE_FALSE}"; then
24319 as_fn_error $?
"conditional \"CY_EXECUTE\" was never defined.
24320 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24322 if test -z "${CY_JAVA_TRUE}" && test -z "${CY_JAVA_FALSE}"; then
24323 as_fn_error $?
"conditional \"CY_JAVA\" was never defined.
24324 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24326 if test -z "${CY_RUBY_TRUE}" && test -z "${CY_RUBY_FALSE}"; then
24327 as_fn_error $?
"conditional \"CY_RUBY\" was never defined.
24328 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24330 if test -z "${CY_OBJECTIVEC_TRUE}" && test -z "${CY_OBJECTIVEC_FALSE}"; then
24331 as_fn_error $?
"conditional \"CY_OBJECTIVEC\" was never defined.
24332 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24334 if test -z "${CY_PRELINK_TRUE}" && test -z "${CY_PRELINK_FALSE}"; then
24335 as_fn_error $?
"conditional \"CY_PRELINK\" was never defined.
24336 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24339 : "${CONFIG_STATUS=./config.status}"
24341 ac_clean_files_save
=$ac_clean_files
24342 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
24343 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
24344 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
24346 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
24348 # Generated by $as_me.
24349 # Run this file to recreate the current configuration.
24350 # Compiler output produced by configure, useful for debugging
24351 # configure, is in config.log if it exists.
24354 ac_cs_recheck=false
24357 SHELL=\${CONFIG_SHELL-$SHELL}
24360 cat >>$CONFIG_STATUS <<\_ASEOF
|| as_write_fail
=1
24361 ## -------------------- ##
24362 ## M4sh Initialization. ##
24363 ## -------------------- ##
24365 # Be more Bourne compatible
24366 DUALCASE
=1; export DUALCASE
# for MKS sh
24367 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
24370 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
24371 # is contrary to our usage. Disable this feature.
24372 alias -g '${1+"$@"}'='"$@"'
24373 setopt NO_GLOB_SUBST
24375 case `(set -o) 2>/dev/null` in #(
24387 # Printing a long string crashes Solaris 7 /usr/bin/printf.
24388 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
24389 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
24390 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
24391 # Prefer a ksh shell builtin over an external printf program on Solaris,
24392 # but without wasting forks for bash or zsh.
24393 if test -z "$BASH_VERSION$ZSH_VERSION" \
24394 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
24395 as_echo='print
-r --'
24396 as_echo_n='print
-rn --'
24397 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
24398 as_echo='printf %s
\n'
24399 as_echo_n='printf %s
'
24401 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
24402 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
24403 as_echo_n='/usr
/ucb
/echo -n'
24405 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
24406 as_echo_n_body='eval
24410 expr "X$arg" : "X\\(.*\\)$as_nl";
24411 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
24413 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
24415 export as_echo_n_body
24416 as_echo_n='sh
-c $as_echo_n_body as_echo
'
24418 export as_echo_body
24419 as_echo='sh
-c $as_echo_body as_echo
'
24422 # The user is always right.
24423 if test "${PATH_SEPARATOR+set}" != set; then
24425 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
24426 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
24433 # We need space, tab and new line, in precisely that order. Quoting is
24434 # there to prevent editors from complaining about space-tab.
24435 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
24436 # splitting by setting IFS to empty value.)
24439 # Find who we are. Look in the path if we contain no directory separator.
24442 *[\\/]* ) as_myself=$0 ;;
24443 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24444 for as_dir in $PATH
24447 test -z "$as_dir" && as_dir=.
24448 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
24454 # We did not find ourselves, most probably we were run as `sh COMMAND'
24455 # in which case we are not to be found in the path.
24456 if test "x$as_myself" = x
; then
24459 if test ! -f "$as_myself"; then
24460 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
24464 # Unset variables that we do not need and which cause bugs (e.g. in
24465 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
24466 # suppresses any "Segmentation fault" message there. '((' could
24467 # trigger a bug in pdksh 5.2.14.
24468 for as_var
in BASH_ENV ENV MAIL MAILPATH
24469 do eval test x\
${$as_var+set} = xset \
24470 && ( (unset $as_var) || exit 1) >/dev
/null
2>&1 && unset $as_var || :
24483 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
24486 # as_fn_error STATUS ERROR [LINENO LOG_FD]
24487 # ----------------------------------------
24488 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
24489 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
24490 # script with STATUS, using 1 if that was 0.
24493 as_status
=$1; test $as_status -eq 0 && as_status
=1
24495 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
24496 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
24498 $as_echo "$as_me: error: $2" >&2
24499 as_fn_exit
$as_status
24503 # as_fn_set_status STATUS
24504 # -----------------------
24505 # Set $? to STATUS, without forking.
24506 as_fn_set_status
()
24509 } # as_fn_set_status
24511 # as_fn_exit STATUS
24512 # -----------------
24513 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
24517 as_fn_set_status
$1
24523 # Portably unset VAR.
24526 { eval $1=; unset $1;}
24528 as_unset
=as_fn_unset
24529 # as_fn_append VAR VALUE
24530 # ----------------------
24531 # Append the text in VALUE to the end of the definition contained in VAR. Take
24532 # advantage of any shell optimizations that allow amortized linear growth over
24533 # repeated appends, instead of the typical quadratic growth present in naive
24535 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
24536 eval 'as_fn_append ()
24547 # as_fn_arith ARG...
24548 # ------------------
24549 # Perform arithmetic evaluation on the ARGs, and store the result in the
24550 # global $as_val. Take advantage of shells that can avoid forks. The arguments
24551 # must be portable across $(()) and expr.
24552 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
24553 eval 'as_fn_arith ()
24560 as_val
=`expr "$@" || test $? -eq 1`
24565 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
24566 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
24572 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
24573 as_basename
=basename
24578 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
24584 as_me
=`$as_basename -- "$0" ||
24585 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
24586 X"$0" : 'X\(//\)$' \| \
24587 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
24589 sed '/^.*\/\([^/][^/]*\)\/*$/{
24603 # Avoid depending upon Character Ranges.
24604 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
24605 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
24606 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
24607 as_cr_digits
='0123456789'
24608 as_cr_alnum
=$as_cr_Letters$as_cr_digits
24610 ECHO_C
= ECHO_N
= ECHO_T
=
24611 case `echo -n x` in #(((((
24613 case `echo 'xy\c'` in
24614 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
24616 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
24623 rm -f conf$$ conf$$.exe conf$$.
file
24624 if test -d conf$$.dir
; then
24625 rm -f conf$$.dir
/conf$$.
file
24628 mkdir conf$$.dir
2>/dev
/null
24630 if (echo >conf$$.
file) 2>/dev
/null
; then
24631 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
24633 # ... but there are two gotchas:
24634 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
24635 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
24636 # In both cases, we have to default to `cp -pR'.
24637 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
24639 elif ln conf$$.
file conf$$
2>/dev
/null
; then
24647 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
24648 rmdir conf$$.dir
2>/dev
/null
24653 # Create "$as_dir" as a directory, including parents if necessary.
24658 -*) as_dir
=.
/$as_dir;;
24660 test -d "$as_dir" || eval $as_mkdir_p || {
24664 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
24665 *) as_qdir
=$as_dir;;
24667 as_dirs
="'$as_qdir' $as_dirs"
24668 as_dir
=`$as_dirname -- "$as_dir" ||
24669 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24670 X"$as_dir" : 'X\(//\)[^/]' \| \
24671 X"$as_dir" : 'X\(//\)$' \| \
24672 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
24673 $as_echo X"$as_dir" |
24674 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
24678 /^X\(\/\/\)[^/].*/{
24691 test -d "$as_dir" && break
24693 test -z "$as_dirs" || eval "mkdir $as_dirs"
24694 } || test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
24698 if mkdir -p .
2>/dev
/null
; then
24699 as_mkdir_p
='mkdir -p "$as_dir"'
24701 test -d .
/-p && rmdir .
/-p
24706 # as_fn_executable_p FILE
24707 # -----------------------
24708 # Test if FILE is an executable regular file.
24709 as_fn_executable_p
()
24711 test -f "$1" && test -x "$1"
24712 } # as_fn_executable_p
24713 as_test_x
='test -x'
24714 as_executable_p
=as_fn_executable_p
24716 # Sed expression to map a string onto a valid CPP name.
24717 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
24719 # Sed expression to map a string onto a valid variable name.
24720 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
24724 ## ----------------------------------- ##
24725 ## Main body of $CONFIG_STATUS script. ##
24726 ## ----------------------------------- ##
24728 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
24730 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
24731 # Save the log message, to keep $0 and so on meaningful, and to
24732 # report actual input values of CONFIG_FILES etc. instead of their
24733 # values after options handling.
24735 This file was extended by Cycript $as_me 0.9, which was
24736 generated by GNU Autoconf 2.69. Invocation command line was
24738 CONFIG_FILES = $CONFIG_FILES
24739 CONFIG_HEADERS = $CONFIG_HEADERS
24740 CONFIG_LINKS = $CONFIG_LINKS
24741 CONFIG_COMMANDS = $CONFIG_COMMANDS
24744 on `(hostname || uname -n) 2>/dev/null | sed 1q`
24749 case $ac_config_files in *"
24750 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
24753 case $ac_config_headers in *"
24754 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
24758 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
24759 # Files that config.status was made for.
24760 config_files="$ac_config_files"
24761 config_headers="$ac_config_headers"
24762 config_commands="$ac_config_commands"
24766 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
24768 \`$as_me' instantiates files and other configuration actions
24769 from templates according to the current configuration. Unless the files
24770 and actions are specified as TAGs, all are instantiated by default.
24772 Usage: $0 [OPTION]... [TAG]...
24774 -h, --help print this help, then exit
24775 -V, --version print version number and configuration settings, then exit
24776 --config print configuration, then exit
24777 -q, --quiet, --silent
24778 do not print progress messages
24779 -d, --debug don't remove temporary files
24780 --recheck update $as_me by reconfiguring in the same conditions
24781 --file=FILE[:TEMPLATE]
24782 instantiate the configuration file FILE
24783 --header=FILE[:TEMPLATE]
24784 instantiate the configuration header FILE
24786 Configuration files:
24789 Configuration headers:
24792 Configuration commands:
24795 Report bugs to <saurik@saurik.com>.
24796 Cycript home page: <http://www.cycript.org/>."
24799 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
24800 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
24802 Cycript config.status 0.9
24803 configured by $0, generated by GNU Autoconf 2.69,
24804 with options \\"\$ac_cs_config\\"
24806 Copyright (C) 2012 Free Software Foundation, Inc.
24807 This config.status script is free software; the Free Software Foundation
24808 gives unlimited permission to copy, distribute and modify it."
24815 test -n "\$AWK" || AWK=awk
24818 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
24819 # The default lists apply if the user does not specify any file.
24825 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
24826 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
24830 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
24842 # Handling of the options.
24843 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
24845 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
24846 $as_echo "$ac_cs_version"; exit ;;
24847 --config | --confi | --conf | --con | --co | --c )
24848 $as_echo "$ac_cs_config"; exit ;;
24849 --debug | --debu | --deb | --de | --d | -d )
24851 --file | --fil | --fi | --f )
24854 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
24855 '') as_fn_error $?
"missing file argument" ;;
24857 as_fn_append CONFIG_FILES
" '$ac_optarg'"
24858 ac_need_defaults
=false
;;
24859 --header | --heade | --head | --hea )
24862 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
24864 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
24865 ac_need_defaults
=false
;;
24867 # Conflict between --help and --header
24868 as_fn_error $?
"ambiguous option: \`$1'
24869 Try \`$0 --help' for more information.";;
24870 --help | --hel | -h )
24871 $as_echo "$ac_cs_usage"; exit ;;
24872 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
24873 | -silent | --silent | --silen | --sile | --sil | --si | --s)
24876 # This is an error.
24877 -*) as_fn_error $?
"unrecognized option: \`$1'
24878 Try \`$0 --help' for more information." ;;
24880 *) as_fn_append ac_config_targets
" $1"
24881 ac_need_defaults
=false
;;
24887 ac_configure_extra_args
=
24889 if $ac_cs_silent; then
24891 ac_configure_extra_args
="$ac_configure_extra_args --silent"
24895 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
24896 if \$ac_cs_recheck; then
24897 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
24899 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
24900 CONFIG_SHELL='$SHELL'
24901 export CONFIG_SHELL
24906 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
24910 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
24911 ## Running $as_me. ##
24917 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
24921 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
24924 # The HP-UX ksh and POSIX shell print the target directory to stdout
24925 # if CDPATH is set.
24926 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
24928 sed_quote_subst='$sed_quote_subst'
24929 double_quote_subst='$double_quote_subst'
24930 delay_variable_subst='$delay_variable_subst'
24931 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
24932 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
24933 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
24934 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
24935 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
24936 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
24937 shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
24938 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
24939 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
24940 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
24941 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
24942 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
24943 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
24944 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
24945 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
24946 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
24947 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
24948 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
24949 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
24950 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
24951 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
24952 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
24953 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
24954 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
24955 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
24956 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
24957 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
24958 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
24959 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
24960 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
24961 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
24962 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
24963 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
24964 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
24965 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
24966 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
24967 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
24968 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
24969 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
24970 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
24971 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
24972 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
24973 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
24974 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
24975 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
24976 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
24977 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
24978 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
24979 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
24980 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
24981 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
24982 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
24983 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
24984 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
24985 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
24986 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
24987 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
24988 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
24989 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"`'
24990 lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
24991 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
24992 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
24993 lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
24994 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
24995 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
24996 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
24997 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
24998 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
24999 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
25000 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
25001 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
25002 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
25003 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
25004 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
25005 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
25006 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
25007 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
25008 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
25009 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
25010 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
25011 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
25012 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
25013 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
25014 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
25015 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
25016 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
25017 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
25018 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
25019 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
25020 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
25021 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
25022 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
25023 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
25024 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
25025 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
25026 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
25027 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
25028 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
25029 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
25030 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
25031 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
25032 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
25033 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
25034 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
25035 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
25036 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
25037 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
25038 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
25039 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
25040 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
25041 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
25042 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
25043 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
25044 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
25045 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
25046 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
25047 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
25048 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
25049 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
25050 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
25051 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
25052 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
25053 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
25054 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
25055 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
25056 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
25057 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
25058 configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
25059 configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
25060 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
25061 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
25062 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
25063 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
25064 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
25065 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
25066 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
25067 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
25068 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
25069 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
25070 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
25071 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
25072 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
25073 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
25074 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
25075 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
25076 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
25077 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
25078 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
25079 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
25080 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
25081 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
25082 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
25083 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
25084 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
25085 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
25086 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
25087 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
25088 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
25089 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
25090 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
25091 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
25092 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
25093 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
25094 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
25095 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
25096 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
25097 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
25098 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
25099 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
25100 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
25101 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
25102 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
25103 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
25104 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
25105 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
25106 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
25107 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
25108 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
25109 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
25110 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
25111 postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
25112 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
25113 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
25114 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
25115 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
25116 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
25117 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
25118 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
25119 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
25122 LTCFLAGS='$LTCFLAGS'
25123 compiler='$compiler_DEFAULT'
25125 # A function that is used when there is no print builtin or printf.
25126 func_fallback_echo ()
25128 eval 'cat <<_LTECHO_EOF
25133 # Quote evaled strings.
25148 deplibs_check_method \
25153 sharedlib_from_linklib_cmd \
25156 archiver_list_spec \
25162 lt_cv_sys_global_symbol_pipe \
25163 lt_cv_sys_global_symbol_to_cdecl \
25164 lt_cv_sys_global_symbol_to_import \
25165 lt_cv_sys_global_symbol_to_c_name_address \
25166 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
25167 lt_cv_nm_interface \
25168 nm_file_list_spec \
25169 lt_cv_truncate_bin \
25170 lt_prog_compiler_no_builtin_flag \
25171 lt_prog_compiler_pic \
25172 lt_prog_compiler_wl \
25173 lt_prog_compiler_static \
25174 lt_cv_prog_compiler_c_o \
25183 export_dynamic_flag_spec \
25184 whole_archive_flag_spec \
25185 compiler_needs_object \
25187 allow_undefined_flag \
25188 no_undefined_flag \
25189 hardcode_libdir_flag_spec \
25190 hardcode_libdir_separator \
25194 variables_saved_for_relink \
25196 library_names_spec \
25198 install_override_mode \
25202 compiler_lib_search_dirs \
25207 compiler_lib_search_path \
25211 lt_prog_compiler_no_builtin_flag_CXX \
25212 lt_prog_compiler_pic_CXX \
25213 lt_prog_compiler_wl_CXX \
25214 lt_prog_compiler_static_CXX \
25215 lt_cv_prog_compiler_c_o_CXX \
25216 export_dynamic_flag_spec_CXX \
25217 whole_archive_flag_spec_CXX \
25218 compiler_needs_object_CXX \
25220 allow_undefined_flag_CXX \
25221 no_undefined_flag_CXX \
25222 hardcode_libdir_flag_spec_CXX \
25223 hardcode_libdir_separator_CXX \
25224 exclude_expsyms_CXX \
25225 include_expsyms_CXX \
25226 file_list_spec_CXX \
25227 compiler_lib_search_dirs_CXX \
25228 predep_objects_CXX \
25229 postdep_objects_CXX \
25232 compiler_lib_search_path_CXX; do
25233 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
25234 *[\\\\\\\`\\"\\\$]*)
25235 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
25238 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
25243 # Double-quote double-evaled strings.
25244 for var in reload_cmds \
25245 old_postinstall_cmds \
25246 old_postuninstall_cmds \
25248 extract_expsyms_cmds \
25249 old_archive_from_new_cmds \
25250 old_archive_from_expsyms_cmds \
25252 archive_expsym_cmds \
25254 module_expsym_cmds \
25255 export_symbols_cmds \
25259 postuninstall_cmds \
25261 sys_lib_search_path_spec \
25262 configure_time_dlsearch_path \
25263 configure_time_lt_sys_library_path \
25265 old_archive_cmds_CXX \
25266 old_archive_from_new_cmds_CXX \
25267 old_archive_from_expsyms_cmds_CXX \
25269 archive_expsym_cmds_CXX \
25271 module_expsym_cmds_CXX \
25272 export_symbols_cmds_CXX \
25274 postlink_cmds_CXX; do
25275 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
25276 *[\\\\\\\`\\"\\\$]*)
25277 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
25280 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
25285 ac_aux_dir='$ac_aux_dir'
25287 # See if we are running on zsh, and set the options that allow our
25288 # commands through without removal of \ escapes INIT.
25289 if test -n "\${ZSH_VERSION+set}"; then
25290 setopt NO_GLOB_SUBST
25306 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
25308 # Handling of arguments.
25309 for ac_config_target
in $ac_config_targets
25311 case $ac_config_target in
25312 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
25313 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
25314 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
25315 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
25317 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
25322 # If the user did not use the arguments to specify the items to instantiate,
25323 # then the envvar interface is used. Set only those that are not.
25324 # We use the long form for the default assignment because of an extremely
25325 # bizarre bug on SunOS 4.1.3.
25326 if $ac_need_defaults; then
25327 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
25328 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
25329 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
25332 # Have a temporary directory for convenience. Make it in the build tree
25333 # simply because there is no reason against having it here, and in addition,
25334 # creating and moving files from /tmp can sometimes cause problems.
25335 # Hook for its removal unless debugging.
25336 # Note that there is a small window in which the directory will not be cleaned:
25337 # after its creation but before its name has been assigned to `$tmp'.
25341 trap 'exit_status=$?
25342 : "${ac_tmp:=$tmp}"
25343 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
25345 trap 'as_fn_exit 1' 1 2 13 15
25347 # Create a (secure) tmp directory for tmp files.
25350 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
25354 tmp
=.
/conf$$
-$RANDOM
25355 (umask 077 && mkdir "$tmp")
25356 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
25359 # Set up the scripts for CONFIG_FILES section.
25360 # No need to generate them if there are no CONFIG_FILES.
25361 # This happens for instance with `./config.status config.h'.
25362 if test -n "$CONFIG_FILES"; then
25365 ac_cr
=`echo X | tr X '\015'`
25366 # On cygwin, bash can eat \r inside `` if the user requested igncr.
25367 # But we know of no other shell where ac_cr would be empty at this
25368 # point, so we can use a bashism as a fallback.
25369 if test "x$ac_cr" = x
; then
25370 eval ac_cr
=\$
\'\\r
\'
25372 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
25373 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
25376 ac_cs_awk_cr
=$ac_cr
25379 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
25384 echo "cat >conf$$subs.awk <<_ACEOF" &&
25385 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
25387 } >conf$$subs.sh ||
25388 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
25389 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
25391 for ac_last_try in false false false false false :; do
25392 . ./conf$$subs.sh ||
25393 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
25395 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
25396 if test $ac_delim_n = $ac_delim_num; then
25398 elif $ac_last_try; then
25399 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
25401 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
25404 rm -f conf$$subs.sh
25406 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25407 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
25411 s/^/S["/; s
/!.
*/"]=/
25421 s/\(.\{148\}\)..*/\1/
25423 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
25428 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
25435 s/\(.\{148\}\)..*/\1/
25437 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
25441 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
25446 ' <conf$$subs.awk | sed '
25451 ' >>$CONFIG_STATUS || ac_write_fail=1
25452 rm -f conf$$subs.awk
25453 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25455 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
25456 for (key in S) S_is_set[key] = 1
25462 nfields = split(line, field, "@
")
25464 len = length(field[1])
25465 for (i = 2; i < nfields; i++) {
25467 keylen = length(key)
25468 if (S_is_set[key]) {
25470 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
25471 len += length(value) + length(field[++i])
25482 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
25483 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
25484 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
25487 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
25488 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
25491 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
25492 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
25493 # trailing colons and then remove the whole line if VPATH becomes empty
25494 # (actually we leave an empty line to preserve line numbers).
25495 if test "x
$srcdir" = x.; then
25496 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
25514 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
25515 fi # test -n "$CONFIG_FILES"
25517 # Set up the scripts for CONFIG_HEADERS section.
25518 # No need to generate them if there are no CONFIG_HEADERS.
25519 # This happens for instance with `./config.status Makefile'.
25520 if test -n "$CONFIG_HEADERS"; then
25521 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
25525 # Transform confdefs.h into an awk script `defines.awk', embedded as
25526 # here-document in config.status, that substitutes the proper values into
25527 # config.h.in to produce config.h.
25529 # Create a delimiter string that does not exist in confdefs.h, to ease
25530 # handling of long lines.
25532 for ac_last_try in false false :; do
25533 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
25534 if test -z "$ac_tt"; then
25536 elif $ac_last_try; then
25537 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
25539 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
25543 # For the awk script, D is an array of macro values keyed by name,
25544 # likewise P contains macro parameters if any. Preserve backslash
25545 # newline sequences.
25547 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
25549 s/.\{148\}/&'"$ac_delim"'/g
25552 s/^[ ]*#[ ]*define[ ][ ]*/ /
25559 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
25561 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
25565 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
25566 D["\
1"]=" \
3\\\\\\n
"\\/p
25568 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
25573 s/.\{148\}/&'"$ac_delim"'/g
25578 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
25581 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
25583 ' <confdefs.h | sed '
25584 s/'"$ac_delim"'/"\\\
25585 "/g' >>$CONFIG_STATUS || ac_write_fail=1
25587 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25588 for (key in D) D_is_set[key] = 1
25591 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
25593 split(line, arg, " ")
25594 if (arg[1] == "#") {
25598 defundef
= substr
(arg
[1], 2)
25601 split(mac1
, mac2
, "(") #)
25603 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
25604 if (D_is_set
[macro
]) {
25605 # Preserve the white space surrounding the "#".
25606 print prefix
"define", macro P
[macro
] D
[macro
]
25609 # Replace #undef with comments. This is necessary, for example,
25610 # in the case of _POSIX_SOURCE, which is predefined and required
25611 # on some systems where configure will not decide to define it.
25612 if (defundef
== "undef") {
25613 print
"/*", prefix defundef
, macro
, "*/"
25621 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
25622 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
25623 fi # test -n "$CONFIG_HEADERS"
25626 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
25631 :[FHLC
]) ac_mode
=$ac_tag; continue;;
25633 case $ac_mode$ac_tag in
25635 :L
* | :C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
25636 :[FH
]-) ac_tag
=-:-;;
25637 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
25654 -) ac_f
="$ac_tmp/stdin";;
25655 *) # Look for the file first in the build tree, then in the source tree
25656 # (if the path is not absolute). The absolute path cannot be DOS-style,
25657 # because $ac_f cannot contain `:'.
25661 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
25663 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
25665 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
25666 as_fn_append ac_file_inputs
" '$ac_f'"
25669 # Let's still pretend it is `configure' which instantiates (i.e., don't
25670 # use $as_me), people would be surprised to read:
25671 # /* config.h. Generated by config.status. */
25672 configure_input
='Generated from '`
25673 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
25675 if test x
"$ac_file" != x
-; then
25676 configure_input
="$ac_file. $configure_input"
25677 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
25678 $as_echo "$as_me: creating $ac_file" >&6;}
25680 # Neutralize special characters interpreted by sed in replacement strings.
25681 case $configure_input in #(
25682 *\
&* | *\
|* | *\\* )
25683 ac_sed_conf_input
=`$as_echo "$configure_input" |
25684 sed 's/[\\\\&|]/\\\\&/g'`;; #(
25685 *) ac_sed_conf_input
=$configure_input;;
25689 *:-:* | *:-) cat >"$ac_tmp/stdin" \
25690 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
25695 ac_dir
=`$as_dirname -- "$ac_file" ||
25696 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25697 X"$ac_file" : 'X\(//\)[^/]' \| \
25698 X"$ac_file" : 'X\(//\)$' \| \
25699 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
25700 $as_echo X"$ac_file" |
25701 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
25705 /^X\(\/\/\)[^/].*/{
25718 as_dir
="$ac_dir"; as_fn_mkdir_p
25722 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
25724 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
25725 # A ".." for each directory in $ac_dir_suffix.
25726 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
25727 case $ac_top_builddir_sub in
25728 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
25729 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
25732 ac_abs_top_builddir
=$ac_pwd
25733 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
25734 # for backward compatibility:
25735 ac_top_builddir
=$ac_top_build_prefix
25738 .
) # We are building in place.
25740 ac_top_srcdir
=$ac_top_builddir_sub
25741 ac_abs_top_srcdir
=$ac_pwd ;;
25742 [\\/]* | ?
:[\\/]* ) # Absolute name.
25743 ac_srcdir
=$srcdir$ac_dir_suffix;
25744 ac_top_srcdir
=$srcdir
25745 ac_abs_top_srcdir
=$srcdir ;;
25746 *) # Relative name.
25747 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
25748 ac_top_srcdir
=$ac_top_build_prefix$srcdir
25749 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
25751 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
25761 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
25762 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
25764 ac_MKDIR_P
=$MKDIR_P
25766 [\\/$
]* | ?
:[\\/]* ) ;;
25767 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
25771 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
25772 # If the template does not know about datarootdir, expand it.
25773 # FIXME: This hack should be removed a few years after 2.60.
25774 ac_datarootdir_hack
=; ac_datarootdir_seen
=
25785 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
25786 *datarootdir
*) ac_datarootdir_seen
=yes;;
25787 *@datadir@
*|*@docdir@
*|*@infodir@
*|*@localedir@
*|*@mandir@
*)
25788 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
25789 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
25791 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25792 ac_datarootdir_hack='
25793 s&@datadir@&$datadir&g
25794 s&@docdir@&$docdir&g
25795 s&@infodir@&$infodir&g
25796 s&@localedir@&$localedir&g
25797 s&@mandir@&$mandir&g
25798 s&\\\${datarootdir}&$datarootdir&g' ;;
25802 # Neutralize VPATH when `$srcdir' = `.'.
25803 # Shell code in configure.ac might set extrasub.
25804 # FIXME: do we really want to maintain this feature?
25805 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25806 ac_sed_extra="$ac_vpsub
25809 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
25811 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
25812 s
|@configure_input@
|$ac_sed_conf_input|;t t
25813 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
25814 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
25815 s
&@srcdir@
&$ac_srcdir&;t t
25816 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
25817 s
&@top_srcdir@
&$ac_top_srcdir&;t t
25818 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
25819 s
&@builddir@
&$ac_builddir&;t t
25820 s
&@abs_builddir@
&$ac_abs_builddir&;t t
25821 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
25822 s
&@INSTALL@
&$ac_INSTALL&;t t
25823 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
25824 $ac_datarootdir_hack
25826 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
25827 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
25829 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
25830 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
25831 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
25832 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
25833 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
25834 which seems to be undefined. Please make sure it is defined" >&5
25835 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
25836 which seems to be undefined. Please make sure it is defined" >&2;}
25838 rm -f "$ac_tmp/stdin"
25840 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
25841 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
25843 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
25849 if test x"$ac_file" != x-; then
25851 $as_echo "/* $configure_input */" \
25852 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
25853 } >"$ac_tmp/config.h" \
25854 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
25855 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
25856 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
25857 $as_echo "$as_me: $ac_file is unchanged" >&6;}
25860 mv "$ac_tmp/config.h" "$ac_file" \
25861 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
25864 $as_echo "/* $configure_input */" \
25865 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
25866 || as_fn_error $? "could not create -" "$LINENO" 5
25868 # Compute "$ac_file"'s index
in $config_headers.
25871 for _am_header
in $config_headers :; do
25872 case $_am_header in
25873 $_am_arg | $_am_arg:* )
25876 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
25879 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
25880 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25881 X"$_am_arg" : 'X\(//\)[^/]' \| \
25882 X"$_am_arg" : 'X\(//\)$' \| \
25883 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
25884 $as_echo X"$_am_arg" |
25885 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
25889 /^X\(\/\/\)[^/].*/{
25901 s/.*/./; q'`/stamp
-h$_am_stamp_count
25904 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
25905 $as_echo "$as_me: executing $ac_file commands" >&6;}
25910 case $ac_file$ac_mode in
25911 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" || {
25912 # Older Autoconf quotes --file arguments for eval, but not when files
25913 # are listed without --file. Let's play safe and only enable the eval
25914 # if we detect the quoting.
25915 case $CONFIG_FILES in
25916 *\'*) eval set x
"$CONFIG_FILES" ;;
25917 *) set x
$CONFIG_FILES ;;
25922 # Strip MF so we end up with the name of the file.
25923 mf
=`echo "$mf" | sed -e 's/:.*$//'`
25924 # Check whether this is an Automake generated Makefile or not.
25925 # We used to match only the files named 'Makefile.in', but
25926 # some people rename them; so instead we look at the file content.
25927 # Grep'ing the first line is not enough: some people post-process
25928 # each Makefile.in and add a new line on top of each file to say so.
25929 # Grep'ing the whole file is not good either: AIX grep has a line
25930 # limit of 2048, but all sed's we know have understand at least 4000.
25931 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X
>/dev
/null
2>&1; then
25932 dirpart
=`$as_dirname -- "$mf" ||
25933 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25934 X"$mf" : 'X\(//\)[^/]' \| \
25935 X"$mf" : 'X\(//\)$' \| \
25936 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
25938 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
25942 /^X\(\/\/\)[^/].*/{
25958 # Extract the definition of DEPDIR, am__include, and am__quote
25959 # from the Makefile without running 'make'.
25960 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
25961 test -z "$DEPDIR" && continue
25962 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
25963 test -z "$am__include" && continue
25964 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
25965 # Find all dependency output files, they are included files with
25966 # $(DEPDIR) in their names. We invoke sed twice because it is the
25967 # simplest approach to changing $(DEPDIR) to its actual value in the
25969 for file in `sed -n "
25970 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
25971 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
25972 # Make sure the directory exists.
25973 test -f "$dirpart/$file" && continue
25974 fdir
=`$as_dirname -- "$file" ||
25975 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25976 X"$file" : 'X\(//\)[^/]' \| \
25977 X"$file" : 'X\(//\)$' \| \
25978 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
25979 $as_echo X"$file" |
25980 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
25984 /^X\(\/\/\)[^/].*/{
25997 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
25998 # echo "creating $dirpart/$file"
25999 echo '# dummy' > "$dirpart/$file"
26006 # See if we are running on zsh, and set the options that allow our
26007 # commands through without removal of \ escapes.
26008 if test -n "${ZSH_VERSION+set}"; then
26009 setopt NO_GLOB_SUBST
26013 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
26016 cat <<_LT_EOF >> "$cfgfile"
26018 # Generated automatically by $as_me ($PACKAGE) $VERSION
26019 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
26020 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
26022 # Provide generalized library-building support services.
26023 # Written by Gordon Matzigkeit, 1996
26025 # Copyright (C) 2014 Free Software Foundation, Inc.
26026 # This is free software; see the source for copying conditions. There is NO
26027 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
26029 # GNU Libtool is free software; you can redistribute it and/or modify
26030 # it under the terms of the GNU General Public License as published by
26031 # the Free Software Foundation; either version 2 of of the License, or
26032 # (at your option) any later version.
26034 # As a special exception to the GNU General Public License, if you
26035 # distribute this file as part of a program or library that is built
26036 # using GNU Libtool, you may include this file under the same
26037 # distribution terms that you use for the rest of that program.
26039 # GNU Libtool is distributed in the hope that it will be useful, but
26040 # WITHOUT ANY WARRANTY; without even the implied warranty of
26041 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
26042 # GNU General Public License for more details.
26044 # You should have received a copy of the GNU General Public License
26045 # along with this program. If not, see <http://www.gnu.org/licenses/>.
26048 # The names of the tagged configurations supported by this script.
26049 available_tags='CXX '
26051 # Configured defaults for sys_lib_dlsearch_path munging.
26052 : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
26054 # ### BEGIN LIBTOOL CONFIG
26056 # Which release of libtool.m4 was used?
26057 macro_version=$macro_version
26058 macro_revision=$macro_revision
26060 # Whether or not to build static libraries.
26061 build_old_libs=$enable_static
26063 # Whether or not to build shared libraries.
26064 build_libtool_libs=$enable_shared
26066 # What type of objects to build.
26069 # Whether or not to optimize for fast installation.
26070 fast_install=$enable_fast_install
26072 # Shared archive member basename,for filename based shared library versioning on AIX.
26073 shared_archive_member_spec=$shared_archive_member_spec
26075 # Shell to use when invoking shell scripts.
26078 # An echo program that protects backslashes.
26081 # The PATH separator for the build system.
26082 PATH_SEPARATOR=$lt_PATH_SEPARATOR
26085 host_alias=$host_alias
26089 # The build system.
26090 build_alias=$build_alias
26094 # A sed program that does not truncate output.
26097 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
26098 Xsed="\$SED -e 1s/^X//"
26100 # A grep program that handles long lines.
26106 # A literal string matcher.
26109 # A BSD- or MS-compatible name lister.
26112 # Whether we need soft or hard links.
26115 # What is the maximum length of a command?
26116 max_cmd_len=$max_cmd_len
26118 # Object file suffix (normally "o").
26121 # Executable file suffix (normally "").
26124 # whether the shell understands "unset".
26127 # turn spaces into newlines.
26130 # turn newlines into spaces.
26133 # convert \$build file names to \$host format.
26134 to_host_file_cmd=$lt_cv_to_host_file_cmd
26136 # convert \$build files to toolchain format.
26137 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
26139 # An object symbol dumper.
26140 OBJDUMP=$lt_OBJDUMP
26142 # Method to check whether dependent libraries are shared objects.
26143 deplibs_check_method=$lt_deplibs_check_method
26145 # Command to use when deplibs_check_method = "file_magic".
26146 file_magic_cmd=$lt_file_magic_cmd
26148 # How to find potential files when deplibs_check_method = "file_magic".
26149 file_magic_glob=$lt_file_magic_glob
26151 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
26152 want_nocaseglob=$lt_want_nocaseglob
26154 # DLL creation program.
26155 DLLTOOL=$lt_DLLTOOL
26157 # Command to associate shared and link libraries.
26158 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
26163 # Flags to create an archive.
26164 AR_FLAGS=$lt_AR_FLAGS
26166 # How to feed a file listing to the archiver.
26167 archiver_list_spec=$lt_archiver_list_spec
26169 # A symbol stripping program.
26172 # Commands used to install an old-style archive.
26174 old_postinstall_cmds=$lt_old_postinstall_cmds
26175 old_postuninstall_cmds=$lt_old_postuninstall_cmds
26177 # Whether to use a lock for old archive extraction.
26178 lock_old_archive_extraction=$lock_old_archive_extraction
26183 # LTCC compiler flags.
26184 LTCFLAGS=$lt_CFLAGS
26186 # Take the output of nm and produce a listing of raw symbols and C names.
26187 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
26189 # Transform the output of nm in a proper C declaration.
26190 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
26192 # Transform the output of nm into a list of symbols to manually relocate.
26193 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
26195 # Transform the output of nm in a C name address pair.
26196 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
26198 # Transform the output of nm in a C name address pair when lib prefix is needed.
26199 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
26201 # The name lister interface.
26202 nm_interface=$lt_lt_cv_nm_interface
26204 # Specify filename containing input files for \$NM.
26205 nm_file_list_spec=$lt_nm_file_list_spec
26207 # The root where to search for dependent libraries,and where our libraries should be installed.
26208 lt_sysroot=$lt_sysroot
26210 # Command to truncate a binary pipe.
26211 lt_truncate_bin=$lt_lt_cv_truncate_bin
26213 # The name of the directory that contains temporary libtool files.
26216 # Used to examine libraries when file_magic_cmd begins with "file".
26217 MAGIC_CMD=$MAGIC_CMD
26219 # Must we lock files when doing compilation?
26220 need_locks=$lt_need_locks
26223 MANIFEST_TOOL=$lt_MANIFEST_TOOL
26225 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
26226 DSYMUTIL=$lt_DSYMUTIL
26228 # Tool to change global to local symbols on Mac OS X.
26231 # Tool to manipulate fat objects and archives on Mac OS X.
26234 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
26237 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
26238 OTOOL64=$lt_OTOOL64
26240 # Old archive suffix (normally "a").
26243 # Shared library suffix (normally ".so").
26244 shrext_cmds=$lt_shrext_cmds
26246 # The commands to extract the exported symbol list from a shared archive.
26247 extract_expsyms_cmds=$lt_extract_expsyms_cmds
26249 # Variables whose values should be saved in libtool wrapper scripts and
26250 # restored at link time.
26251 variables_saved_for_relink=$lt_variables_saved_for_relink
26253 # Do we need the "lib" prefix for modules?
26254 need_lib_prefix=$need_lib_prefix
26256 # Do we need a version for libraries?
26257 need_version=$need_version
26259 # Library versioning type.
26260 version_type=$version_type
26262 # Shared library runtime path variable.
26263 runpath_var=$runpath_var
26265 # Shared library path variable.
26266 shlibpath_var=$shlibpath_var
26268 # Is shlibpath searched before the hard-coded library search path?
26269 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
26271 # Format of library name prefix.
26272 libname_spec=$lt_libname_spec
26274 # List of archive names. First name is the real one, the rest are links.
26275 # The last name is the one that the linker finds with -lNAME
26276 library_names_spec=$lt_library_names_spec
26278 # The coded name of the library, if different from the real name.
26279 soname_spec=$lt_soname_spec
26281 # Permission mode override for installation of shared libraries.
26282 install_override_mode=$lt_install_override_mode
26284 # Command to use after installation of a shared archive.
26285 postinstall_cmds=$lt_postinstall_cmds
26287 # Command to use after uninstallation of a shared archive.
26288 postuninstall_cmds=$lt_postuninstall_cmds
26290 # Commands used to finish a libtool library installation in a directory.
26291 finish_cmds=$lt_finish_cmds
26293 # As "finish_cmds", except a single script fragment to be evaled but
26295 finish_eval=$lt_finish_eval
26297 # Whether we should hardcode library paths into libraries.
26298 hardcode_into_libs=$hardcode_into_libs
26300 # Compile-time system search path for libraries.
26301 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
26303 # Detected run-time system search path for libraries.
26304 sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
26306 # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
26307 configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
26309 # Whether dlopen is supported.
26310 dlopen_support=$enable_dlopen
26312 # Whether dlopen of programs is supported.
26313 dlopen_self=$enable_dlopen_self
26315 # Whether dlopen of statically linked programs is supported.
26316 dlopen_self_static=$enable_dlopen_self_static
26318 # Commands to strip libraries.
26319 old_striplib=$lt_old_striplib
26320 striplib=$lt_striplib
26323 # The linker used to build libraries.
26326 # How to create reloadable object files.
26327 reload_flag=$lt_reload_flag
26328 reload_cmds=$lt_reload_cmds
26330 # Commands used to build an old-style archive.
26331 old_archive_cmds=$lt_old_archive_cmds
26333 # A language specific compiler.
26336 # Is the compiler the GNU compiler?
26339 # Compiler flag to turn off builtin functions.
26340 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
26342 # Additional compiler flags for building library objects.
26343 pic_flag=$lt_lt_prog_compiler_pic
26345 # How to pass a linker flag through the compiler.
26346 wl=$lt_lt_prog_compiler_wl
26348 # Compiler flag to prevent dynamic linking.
26349 link_static_flag=$lt_lt_prog_compiler_static
26351 # Does compiler simultaneously support -c and -o options?
26352 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
26354 # Whether or not to add -lc for building shared libraries.
26355 build_libtool_need_lc=$archive_cmds_need_lc
26357 # Whether or not to disallow shared libs when runtime libs are static.
26358 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
26360 # Compiler flag to allow reflexive dlopens.
26361 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
26363 # Compiler flag to generate shared objects directly from archives.
26364 whole_archive_flag_spec=$lt_whole_archive_flag_spec
26366 # Whether the compiler copes with passing no objects directly.
26367 compiler_needs_object=$lt_compiler_needs_object
26369 # Create an old-style archive from a shared archive.
26370 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
26372 # Create a temporary old-style archive to link instead of a shared archive.
26373 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
26375 # Commands used to build a shared archive.
26376 archive_cmds=$lt_archive_cmds
26377 archive_expsym_cmds=$lt_archive_expsym_cmds
26379 # Commands used to build a loadable module if different from building
26380 # a shared archive.
26381 module_cmds=$lt_module_cmds
26382 module_expsym_cmds=$lt_module_expsym_cmds
26384 # Whether we are building with GNU ld or not.
26385 with_gnu_ld=$lt_with_gnu_ld
26387 # Flag that allows shared libraries with undefined symbols to be built.
26388 allow_undefined_flag=$lt_allow_undefined_flag
26390 # Flag that enforces no undefined symbols.
26391 no_undefined_flag=$lt_no_undefined_flag
26393 # Flag to hardcode \$libdir into a binary during linking.
26394 # This must work even if \$libdir does not exist
26395 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
26397 # Whether we need a single "-rpath" flag with a separated argument.
26398 hardcode_libdir_separator=$lt_hardcode_libdir_separator
26400 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
26401 # DIR into the resulting binary.
26402 hardcode_direct=$hardcode_direct
26404 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
26405 # DIR into the resulting binary and the resulting library dependency is
26406 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
26407 # library is relocated.
26408 hardcode_direct_absolute=$hardcode_direct_absolute
26410 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
26411 # into the resulting binary.
26412 hardcode_minus_L=$hardcode_minus_L
26414 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
26415 # into the resulting binary.
26416 hardcode_shlibpath_var=$hardcode_shlibpath_var
26418 # Set to "yes" if building a shared library automatically hardcodes DIR
26419 # into the library and all subsequent libraries and executables linked
26421 hardcode_automatic=$hardcode_automatic
26423 # Set to yes if linker adds runtime paths of dependent libraries
26424 # to runtime path list.
26425 inherit_rpath=$inherit_rpath
26427 # Whether libtool must link a program against all its dependency libraries.
26428 link_all_deplibs=$link_all_deplibs
26430 # Set to "yes" if exported symbols are required.
26431 always_export_symbols=$always_export_symbols
26433 # The commands to list exported symbols.
26434 export_symbols_cmds=$lt_export_symbols_cmds
26436 # Symbols that should not be listed in the preloaded symbols.
26437 exclude_expsyms=$lt_exclude_expsyms
26439 # Symbols that must always be exported.
26440 include_expsyms=$lt_include_expsyms
26442 # Commands necessary for linking programs (against libraries) with templates.
26443 prelink_cmds=$lt_prelink_cmds
26445 # Commands necessary for finishing linking programs.
26446 postlink_cmds=$lt_postlink_cmds
26448 # Specify filename containing input files.
26449 file_list_spec=$lt_file_list_spec
26451 # How to hardcode a shared library path into an executable.
26452 hardcode_action=$hardcode_action
26454 # The directories searched by this compiler when creating a shared library.
26455 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
26457 # Dependencies to place before and after the objects being linked to
26458 # create a shared library.
26459 predep_objects=$lt_predep_objects
26460 postdep_objects=$lt_postdep_objects
26461 predeps=$lt_predeps
26462 postdeps=$lt_postdeps
26464 # The library search path used internally by the compiler when linking
26465 # a shared library.
26466 compiler_lib_search_path=$lt_compiler_lib_search_path
26468 # ### END LIBTOOL CONFIG
26472 cat <<'_LT_EOF' >> "$cfgfile"
26474 # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
26476 # func_munge_path_list VARIABLE PATH
26477 # -----------------------------------
26478 # VARIABLE is name of variable containing _space_ separated list of
26479 # directories to be munged by the contents of PATH, which is string
26482 # string "DIR[ DIR]" will be prepended to VARIABLE
26484 # string "DIR[ DIR]" will be appended to VARIABLE
26485 # "DIRP[:DIRP]::[DIRA:]DIRA"
26486 # string "DIRP[ DIRP]" will be prepended to VARIABLE and string
26487 # "DIRA[ DIRA]" will be appended to VARIABLE
26489 # VARIABLE will be replaced by "DIR[ DIR]"
26490 func_munge_path_list ()
26496 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
26499 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
26502 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
26503 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
26506 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
26512 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
26513 func_cc_basename ()
26515 for cc_temp in $*""; do
26517 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
26518 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
26523 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
26527 # ### END FUNCTIONS SHARED WITH CONFIGURE
26533 cat <<\_LT_EOF
>> "$cfgfile"
26534 # AIX sometimes has problems with the GCC collect2 program. For some
26535 # reason, if we set the COLLECT_NAMES environment variable, the problems
26536 # vanish in a puff of smoke.
26537 if test set != "${COLLECT_NAMES+set}"; then
26539 export COLLECT_NAMES
26546 ltmain
=$ac_aux_dir/ltmain.sh
26549 # We use sed instead of cat because bash on DJGPP gets confused if
26550 # if finds mixed CR/LF and LF-only lines. Since sed operates in
26551 # text mode, it properly converts lines to CR/LF. This bash problem
26552 # is reportedly fixed, but why not run on old versions too?
26553 sed '$q' "$ltmain" >> "$cfgfile" \
26554 || (rm -f "$cfgfile"; exit 1)
26556 mv -f "$cfgfile" "$ofile" ||
26557 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
26561 cat <<_LT_EOF >> "$ofile"
26563 # ### BEGIN LIBTOOL TAG CONFIG: CXX
26565 # The linker used to build libraries.
26568 # How to create reloadable object files.
26569 reload_flag=$lt_reload_flag_CXX
26570 reload_cmds=$lt_reload_cmds_CXX
26572 # Commands used to build an old-style archive.
26573 old_archive_cmds=$lt_old_archive_cmds_CXX
26575 # A language specific compiler.
26576 CC=$lt_compiler_CXX
26578 # Is the compiler the GNU compiler?
26581 # Compiler flag to turn off builtin functions.
26582 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
26584 # Additional compiler flags for building library objects.
26585 pic_flag=$lt_lt_prog_compiler_pic_CXX
26587 # How to pass a linker flag through the compiler.
26588 wl=$lt_lt_prog_compiler_wl_CXX
26590 # Compiler flag to prevent dynamic linking.
26591 link_static_flag=$lt_lt_prog_compiler_static_CXX
26593 # Does compiler simultaneously support -c and -o options?
26594 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
26596 # Whether or not to add -lc for building shared libraries.
26597 build_libtool_need_lc=$archive_cmds_need_lc_CXX
26599 # Whether or not to disallow shared libs when runtime libs are static.
26600 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
26602 # Compiler flag to allow reflexive dlopens.
26603 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
26605 # Compiler flag to generate shared objects directly from archives.
26606 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
26608 # Whether the compiler copes with passing no objects directly.
26609 compiler_needs_object=$lt_compiler_needs_object_CXX
26611 # Create an old-style archive from a shared archive.
26612 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
26614 # Create a temporary old-style archive to link instead of a shared archive.
26615 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
26617 # Commands used to build a shared archive.
26618 archive_cmds=$lt_archive_cmds_CXX
26619 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
26621 # Commands used to build a loadable module if different from building
26622 # a shared archive.
26623 module_cmds=$lt_module_cmds_CXX
26624 module_expsym_cmds=$lt_module_expsym_cmds_CXX
26626 # Whether we are building with GNU ld or not.
26627 with_gnu_ld=$lt_with_gnu_ld_CXX
26629 # Flag that allows shared libraries with undefined symbols to be built.
26630 allow_undefined_flag=$lt_allow_undefined_flag_CXX
26632 # Flag that enforces no undefined symbols.
26633 no_undefined_flag=$lt_no_undefined_flag_CXX
26635 # Flag to hardcode \$libdir into a binary during linking.
26636 # This must work even if \$libdir does not exist
26637 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
26639 # Whether we need a single "-rpath" flag with a separated argument.
26640 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
26642 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
26643 # DIR into the resulting binary.
26644 hardcode_direct=$hardcode_direct_CXX
26646 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
26647 # DIR into the resulting binary and the resulting library dependency is
26648 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
26649 # library is relocated.
26650 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
26652 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
26653 # into the resulting binary.
26654 hardcode_minus_L=$hardcode_minus_L_CXX
26656 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
26657 # into the resulting binary.
26658 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
26660 # Set to "yes" if building a shared library automatically hardcodes DIR
26661 # into the library and all subsequent libraries and executables linked
26663 hardcode_automatic=$hardcode_automatic_CXX
26665 # Set to yes if linker adds runtime paths of dependent libraries
26666 # to runtime path list.
26667 inherit_rpath=$inherit_rpath_CXX
26669 # Whether libtool must link a program against all its dependency libraries.
26670 link_all_deplibs=$link_all_deplibs_CXX
26672 # Set to "yes" if exported symbols are required.
26673 always_export_symbols=$always_export_symbols_CXX
26675 # The commands to list exported symbols.
26676 export_symbols_cmds=$lt_export_symbols_cmds_CXX
26678 # Symbols that should not be listed in the preloaded symbols.
26679 exclude_expsyms=$lt_exclude_expsyms_CXX
26681 # Symbols that must always be exported.
26682 include_expsyms=$lt_include_expsyms_CXX
26684 # Commands necessary for linking programs (against libraries) with templates.
26685 prelink_cmds=$lt_prelink_cmds_CXX
26687 # Commands necessary for finishing linking programs.
26688 postlink_cmds=$lt_postlink_cmds_CXX
26690 # Specify filename containing input files.
26691 file_list_spec=$lt_file_list_spec_CXX
26693 # How to hardcode a shared library path into an executable.
26694 hardcode_action=$hardcode_action_CXX
26696 # The directories searched by this compiler when creating a shared library.
26697 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
26699 # Dependencies to place before and after the objects being linked to
26700 # create a shared library.
26701 predep_objects=$lt_predep_objects_CXX
26702 postdep_objects=$lt_postdep_objects_CXX
26703 predeps=$lt_predeps_CXX
26704 postdeps=$lt_postdeps_CXX
26706 # The library search path used internally by the compiler when linking
26707 # a shared library.
26708 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
26710 # ### END LIBTOOL TAG CONFIG: CXX
26721 ac_clean_files
=$ac_clean_files_save
26723 test $ac_write_fail = 0 ||
26724 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
26727 # configure is writing to config.log, and then calls config.status.
26728 # config.status does its own redirection, appending to config.log.
26729 # Unfortunately, on DOS this fails, as config.log is still kept open
26730 # by configure, so config.status won't be able to write to it; its
26731 # output is simply discarded. So we exec the FD to /dev/null,
26732 # effectively closing config.log, so it can be properly (re)opened and
26733 # appended to by config.status. When coming back to configure, we
26734 # need to make the FD available again.
26735 if test "$no_create" != yes; then
26737 ac_config_status_args
=
26738 test "$silent" = yes &&
26739 ac_config_status_args
="$ac_config_status_args --quiet"
26741 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
26743 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
26744 # would make configure fail if this is the last instruction.
26745 $ac_cs_success || as_fn_exit
1
26747 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
26748 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
26749 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}