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
715 CXXCPPFLAGS_FOR_BUILD
738 am__fastdepOBJCXX_FALSE
739 am__fastdepOBJCXX_TRUE
768 MAINTAINER_MODE_FALSE
782 INSTALL_STRIP_PROGRAM
824 program_transform_name
837 enable_option_checking
839 enable_maintainer_mode
840 enable_dependency_tracking
854 ac_precious_vars
='build_alias
885 # Initialize some variables set by options.
887 ac_init_version
=false
888 ac_unrecognized_opts
=
890 # The variables have the same names as the options, with
891 # dashes changed to underlines.
899 program_transform_name
=s
,x
,x
,
907 # Installation directory options.
908 # These are left unexpanded so users can "make install exec_prefix=/foo"
909 # and all the variables that are supposed to be based on exec_prefix
910 # by default will actually change.
911 # Use braces instead of parens because sh, perl, etc. also accept them.
912 # (The list follows the same order as the GNU Coding Standards.)
913 bindir
='${exec_prefix}/bin'
914 sbindir
='${exec_prefix}/sbin'
915 libexecdir
='${exec_prefix}/libexec'
916 datarootdir
='${prefix}/share'
917 datadir
='${datarootdir}'
918 sysconfdir
='${prefix}/etc'
919 sharedstatedir
='${prefix}/com'
920 localstatedir
='${prefix}/var'
921 includedir
='${prefix}/include'
922 oldincludedir
='/usr/include'
923 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
924 infodir
='${datarootdir}/info'
929 libdir
='${exec_prefix}/lib'
930 localedir
='${datarootdir}/locale'
931 mandir
='${datarootdir}/man'
937 # If the previous option needs an argument, assign it.
938 if test -n "$ac_prev"; then
939 eval $ac_prev=\
$ac_option
945 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
950 # Accept the important Cygnus configure options, so we can diagnose typos.
952 case $ac_dashdash$ac_option in
956 -bindir | --bindir | --bindi | --bind | --bin | --bi)
958 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
961 -build | --build | --buil | --bui | --bu)
962 ac_prev
=build_alias
;;
963 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
964 build_alias
=$ac_optarg ;;
966 -cache-file | --cache-file | --cache-fil | --cache-fi \
967 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
968 ac_prev
=cache_file
;;
969 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
970 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
971 cache_file
=$ac_optarg ;;
974 cache_file
=config.cache
;;
976 -datadir | --datadir | --datadi | --datad)
978 -datadir=* | --datadir=* | --datadi=* | --datad=*)
979 datadir
=$ac_optarg ;;
981 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
982 | --dataroo | --dataro | --datar)
983 ac_prev
=datarootdir
;;
984 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
985 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
986 datarootdir
=$ac_optarg ;;
988 -disable-* | --disable-*)
989 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
990 # Reject names that are not valid shell variable names.
991 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
992 as_fn_error $?
"invalid feature name: $ac_useropt"
993 ac_useropt_orig
=$ac_useropt
994 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
995 case $ac_user_opts in
999 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1000 ac_unrecognized_sep
=', ';;
1002 eval enable_
$ac_useropt=no
;;
1004 -docdir | --docdir | --docdi | --doc | --do)
1006 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1007 docdir
=$ac_optarg ;;
1009 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1011 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1012 dvidir
=$ac_optarg ;;
1014 -enable-* | --enable-*)
1015 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1016 # Reject names that are not valid shell variable names.
1017 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1018 as_fn_error $?
"invalid feature name: $ac_useropt"
1019 ac_useropt_orig
=$ac_useropt
1020 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1021 case $ac_user_opts in
1023 "enable_
$ac_useropt"
1025 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1026 ac_unrecognized_sep
=', ';;
1028 eval enable_
$ac_useropt=\
$ac_optarg ;;
1030 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1031 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1032 | --exec | --exe | --ex)
1033 ac_prev
=exec_prefix
;;
1034 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1035 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1036 | --exec=* | --exe=* | --ex=*)
1037 exec_prefix
=$ac_optarg ;;
1039 -gas | --gas | --ga | --g)
1040 # Obsolete; use --with-gas.
1043 -help | --help | --hel | --he | -h)
1044 ac_init_help
=long
;;
1045 -help=r
* | --help=r
* | --hel=r
* | --he=r
* | -hr*)
1046 ac_init_help
=recursive
;;
1047 -help=s
* | --help=s
* | --hel=s
* | --he=s
* | -hs*)
1048 ac_init_help
=short
;;
1050 -host | --host | --hos | --ho)
1051 ac_prev
=host_alias
;;
1052 -host=* | --host=* | --hos=* | --ho=*)
1053 host_alias
=$ac_optarg ;;
1055 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1057 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1059 htmldir
=$ac_optarg ;;
1061 -includedir | --includedir | --includedi | --included | --include \
1062 | --includ | --inclu | --incl | --inc)
1063 ac_prev
=includedir
;;
1064 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1065 | --includ=* | --inclu=* | --incl=* | --inc=*)
1066 includedir
=$ac_optarg ;;
1068 -infodir | --infodir | --infodi | --infod | --info | --inf)
1070 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1071 infodir
=$ac_optarg ;;
1073 -libdir | --libdir | --libdi | --libd)
1075 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1076 libdir
=$ac_optarg ;;
1078 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1079 | --libexe | --libex | --libe)
1080 ac_prev
=libexecdir
;;
1081 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1082 | --libexe=* | --libex=* | --libe=*)
1083 libexecdir
=$ac_optarg ;;
1085 -localedir | --localedir | --localedi | --localed | --locale)
1086 ac_prev
=localedir
;;
1087 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1088 localedir
=$ac_optarg ;;
1090 -localstatedir | --localstatedir | --localstatedi | --localstated \
1091 | --localstate | --localstat | --localsta | --localst | --locals)
1092 ac_prev
=localstatedir
;;
1093 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1094 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1095 localstatedir
=$ac_optarg ;;
1097 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1099 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1100 mandir
=$ac_optarg ;;
1102 -nfp | --nfp | --nf)
1103 # Obsolete; use --without-fp.
1106 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1107 | --no-cr | --no-c | -n)
1110 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1111 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1114 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1115 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1116 | --oldin | --oldi | --old | --ol | --o)
1117 ac_prev
=oldincludedir
;;
1118 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1119 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1120 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1121 oldincludedir
=$ac_optarg ;;
1123 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1125 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1126 prefix
=$ac_optarg ;;
1128 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1129 | --program-pre | --program-pr | --program-p)
1130 ac_prev
=program_prefix
;;
1131 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1132 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1133 program_prefix
=$ac_optarg ;;
1135 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1136 | --program-suf | --program-su | --program-s)
1137 ac_prev
=program_suffix
;;
1138 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1139 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1140 program_suffix
=$ac_optarg ;;
1142 -program-transform-name | --program-transform-name \
1143 | --program-transform-nam | --program-transform-na \
1144 | --program-transform-n | --program-transform- \
1145 | --program-transform | --program-transfor \
1146 | --program-transfo | --program-transf \
1147 | --program-trans | --program-tran \
1148 | --progr-tra | --program-tr | --program-t)
1149 ac_prev
=program_transform_name
;;
1150 -program-transform-name=* | --program-transform-name=* \
1151 | --program-transform-nam=* | --program-transform-na=* \
1152 | --program-transform-n=* | --program-transform-=* \
1153 | --program-transform=* | --program-transfor=* \
1154 | --program-transfo=* | --program-transf=* \
1155 | --program-trans=* | --program-tran=* \
1156 | --progr-tra=* | --program-tr=* | --program-t=*)
1157 program_transform_name
=$ac_optarg ;;
1159 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1161 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1162 pdfdir
=$ac_optarg ;;
1164 -psdir | --psdir | --psdi | --psd | --ps)
1166 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1169 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1170 | -silent | --silent | --silen | --sile | --sil)
1173 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1175 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1177 sbindir
=$ac_optarg ;;
1179 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1180 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1181 | --sharedst | --shareds | --shared | --share | --shar \
1183 ac_prev
=sharedstatedir
;;
1184 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1185 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1186 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1188 sharedstatedir
=$ac_optarg ;;
1190 -site | --site | --sit)
1192 -site=* | --site=* | --sit=*)
1195 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1197 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1198 srcdir
=$ac_optarg ;;
1200 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1201 | --syscon | --sysco | --sysc | --sys | --sy)
1202 ac_prev
=sysconfdir
;;
1203 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1204 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1205 sysconfdir
=$ac_optarg ;;
1207 -target | --target | --targe | --targ | --tar | --ta | --t)
1208 ac_prev
=target_alias
;;
1209 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1210 target_alias
=$ac_optarg ;;
1212 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1215 -version | --version | --versio | --versi | --vers | -V)
1216 ac_init_version
=: ;;
1219 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1220 # Reject names that are not valid shell variable names.
1221 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1222 as_fn_error $?
"invalid package name: $ac_useropt"
1223 ac_useropt_orig
=$ac_useropt
1224 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1225 case $ac_user_opts in
1229 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1230 ac_unrecognized_sep
=', ';;
1232 eval with_
$ac_useropt=\
$ac_optarg ;;
1234 -without-* | --without-*)
1235 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1236 # Reject names that are not valid shell variable names.
1237 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1238 as_fn_error $?
"invalid package name: $ac_useropt"
1239 ac_useropt_orig
=$ac_useropt
1240 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1241 case $ac_user_opts in
1245 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1246 ac_unrecognized_sep
=', ';;
1248 eval with_
$ac_useropt=no
;;
1251 # Obsolete; use --with-x.
1254 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1255 | --x-incl | --x-inc | --x-in | --x-i)
1256 ac_prev
=x_includes
;;
1257 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1258 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1259 x_includes
=$ac_optarg ;;
1261 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1262 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1263 ac_prev
=x_libraries
;;
1264 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1265 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1266 x_libraries
=$ac_optarg ;;
1268 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1269 Try \`$0 --help' for more information"
1273 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1274 # Reject names that are not valid shell variable names.
1275 case $ac_envvar in #(
1276 '' | [0-9]* | *[!_$as_cr_alnum]* )
1277 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1279 eval $ac_envvar=\
$ac_optarg
1280 export $ac_envvar ;;
1283 # FIXME: should be removed in autoconf 3.0.
1284 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1285 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1286 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1287 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1293 if test -n "$ac_prev"; then
1294 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1295 as_fn_error $?
"missing argument to $ac_option"
1298 if test -n "$ac_unrecognized_opts"; then
1299 case $enable_option_checking in
1301 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1302 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1306 # Check all directory arguments for consistency.
1307 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1308 datadir sysconfdir sharedstatedir localstatedir includedir \
1309 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1310 libdir localedir mandir
1312 eval ac_val
=\$
$ac_var
1313 # Remove trailing slashes.
1316 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1317 eval $ac_var=\
$ac_val;;
1319 # Be sure to have absolute directory names.
1321 [\\/$
]* | ?
:[\\/]* ) continue;;
1322 NONE
| '' ) case $ac_var in *prefix
) continue;; esac;;
1324 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1327 # There might be people who depend on the old broken behavior: `$host'
1328 # used to hold the argument of --host etc.
1329 # FIXME: To remove some day.
1332 target
=$target_alias
1334 # FIXME: To remove some day.
1335 if test "x$host_alias" != x
; then
1336 if test "x$build_alias" = x
; then
1337 cross_compiling
=maybe
1338 elif test "x$build_alias" != "x$host_alias"; then
1344 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1346 test "$silent" = yes && exec 6>/dev
/null
1349 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1350 ac_ls_di
=`ls -di .` &&
1351 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1352 as_fn_error $?
"working directory cannot be determined"
1353 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1354 as_fn_error $?
"pwd does not report name of working directory"
1357 # Find the source files, if location was not specified.
1358 if test -z "$srcdir"; then
1359 ac_srcdir_defaulted
=yes
1360 # Try the directory containing this script, then the parent directory.
1361 ac_confdir
=`$as_dirname -- "$as_myself" ||
1362 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1363 X"$as_myself" : 'X\(//\)[^/]' \| \
1364 X"$as_myself" : 'X\(//\)$' \| \
1365 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1366 $as_echo X"$as_myself" |
1367 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1385 if test ! -r "$srcdir/$ac_unique_file"; then
1389 ac_srcdir_defaulted
=no
1391 if test ! -r "$srcdir/$ac_unique_file"; then
1392 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1393 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1395 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1397 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1399 # When building in place, set srcdir=.
1400 if test "$ac_abs_confdir" = "$ac_pwd"; then
1403 # Remove unnecessary trailing slashes from srcdir.
1404 # Double slashes in file names in object file debugging info
1405 # mess up M-x gdb in Emacs.
1407 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1409 for ac_var
in $ac_precious_vars; do
1410 eval ac_env_
${ac_var}_set
=\
${${ac_var}+set}
1411 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1412 eval ac_cv_env_
${ac_var}_set
=\
${${ac_var}+set}
1413 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1417 # Report the --help message.
1419 if test "$ac_init_help" = "long"; then
1420 # Omit some internal or obsolete options to make the list less imposing.
1421 # This message is too long to be a string in the A/UX 3.1 sh.
1423 \`configure' configures Cycript 0.9 to adapt to many kinds of systems.
1425 Usage: $0 [OPTION]... [VAR=VALUE]...
1427 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1428 VAR=VALUE. See below for descriptions of some of the useful variables.
1430 Defaults for the options are specified in brackets.
1433 -h, --help display this help and exit
1434 --help=short display options specific to this package
1435 --help=recursive display the short help of all the included packages
1436 -V, --version display version information and exit
1437 -q, --quiet, --silent do not print \`checking ...' messages
1438 --cache-file=FILE cache test results in FILE [disabled]
1439 -C, --config-cache alias for \`--cache-file=config.cache'
1440 -n, --no-create do not create output files
1441 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1443 Installation directories:
1444 --prefix=PREFIX install architecture-independent files in PREFIX
1445 [$ac_default_prefix]
1446 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1449 By default, \`make install' will install all the files in
1450 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1451 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1452 for instance \`--prefix=\$HOME'.
1454 For better control, use the options below.
1456 Fine tuning of the installation directories:
1457 --bindir=DIR user executables [EPREFIX/bin]
1458 --sbindir=DIR system admin executables [EPREFIX/sbin]
1459 --libexecdir=DIR program executables [EPREFIX/libexec]
1460 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1461 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1462 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1463 --libdir=DIR object code libraries [EPREFIX/lib]
1464 --includedir=DIR C header files [PREFIX/include]
1465 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1466 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1467 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1468 --infodir=DIR info documentation [DATAROOTDIR/info]
1469 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1470 --mandir=DIR man documentation [DATAROOTDIR/man]
1471 --docdir=DIR documentation root [DATAROOTDIR/doc/cycript]
1472 --htmldir=DIR html documentation [DOCDIR]
1473 --dvidir=DIR dvi documentation [DOCDIR]
1474 --pdfdir=DIR pdf documentation [DOCDIR]
1475 --psdir=DIR ps documentation [DOCDIR]
1481 --program-prefix=PREFIX prepend PREFIX to installed program names
1482 --program-suffix=SUFFIX append SUFFIX to installed program names
1483 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1486 --build=BUILD configure
for building on BUILD
[guessed
]
1487 --host=HOST cross
-compile to build programs to run on HOST
[BUILD
]
1491 if test -n "$ac_init_help"; then
1492 case $ac_init_help in
1493 short
| recursive
) echo "Configuration of Cycript 0.9:";;
1498 --disable-option-checking ignore unrecognized
--enable/--with options
1499 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1500 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1501 --enable-silent-rules less verbose build output
(undo
: "make V=1")
1502 --disable-silent-rules verbose build output
(undo
: "make V=0")
1503 --enable-maintainer-mode
1504 enable make rules and dependencies not useful
(and
1505 sometimes confusing
) to the casual installer
1506 --enable-dependency-tracking
1507 do not reject slow dependency extractors
1508 --disable-dependency-tracking
1509 speeds up one
-time build
1510 --enable-static[=PKGS
] build static libraries
[default
=no
]
1511 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1512 --enable-fast-install[=PKGS
]
1513 optimize
for fast installation
[default
=yes]
1514 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1515 --enable-javascript[=ENGINE
]
1516 use a JavaScript runtime
(currently the only
1517 available option
for ENGINE is JavaScriptCore
)
1519 --disable-console disable console
1520 --disable-attach disable attach
1523 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1524 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1525 --with-pic[=PKGS
] try to use only PIC
/non
-PIC objects
[default
=use
1527 --with-aix-soname=aix
|svr4
|both
1528 shared library versioning
(aka
"SONAME") variant to
1529 provide on AIX
, [default
=aix
].
1530 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1531 --with-sysroot[=DIR
] Search
for dependent libraries within DIR
(or the
1532 compiler
's sysroot if not specified).
1533 --with-libclang build bridge definitions using this libclang
1535 Some influential environment variables:
1536 CC C compiler command
1537 CFLAGS C compiler flags
1538 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1539 nonstandard directory <lib dir>
1540 LIBS libraries to pass to the linker, e.g. -l<library>
1541 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1542 you have headers in a nonstandard directory <include dir>
1543 CXX C++ compiler command
1544 CXXFLAGS C++ compiler flags
1545 OBJCXX Objective C++ compiler command
1546 OBJCXXFLAGS Objective C++ compiler flags
1548 CXXCPP C++ preprocessor
1550 User-defined run-time library search path.
1551 PKG_CONFIG path to pkg-config utility
1553 directories to add to pkg-config's search path
1555 path overriding pkg
-config's built-in search path
1556 BISON GNU Project parser generator (yacc replacement)
1557 FLEX the fast lexical analyser generator
1558 GPERF perfect hash function generator
1559 GNUTAR a very sticky lump of files
1562 C compiler flags for WEBKIT, overriding pkg-config
1563 WEBKIT_LIBS linker flags for WEBKIT, overriding pkg-config
1565 C compiler flags for LIBFFI, overriding pkg-config
1566 LIBFFI_LIBS linker flags for LIBFFI, overriding pkg-config
1568 prints information about the current gnustep installation
1570 Use these variables to override the choices made by `configure' or to
help
1571 it to
find libraries and programs with nonstandard names
/locations.
1573 Report bugs to
<saurik@saurik.com
>.
1574 Cycript home page
: <http
://www.cycript.org
/>.
1579 if test "$ac_init_help" = "recursive"; then
1580 # If there are subdirs, report their specific --help.
1581 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1582 test -d "$ac_dir" ||
1583 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1588 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1590 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1591 # A ".." for each directory in $ac_dir_suffix.
1592 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1593 case $ac_top_builddir_sub in
1594 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1595 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1598 ac_abs_top_builddir
=$ac_pwd
1599 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1600 # for backward compatibility:
1601 ac_top_builddir
=$ac_top_build_prefix
1604 .
) # We are building in place.
1606 ac_top_srcdir
=$ac_top_builddir_sub
1607 ac_abs_top_srcdir
=$ac_pwd ;;
1608 [\\/]* | ?
:[\\/]* ) # Absolute name.
1609 ac_srcdir
=$srcdir$ac_dir_suffix;
1610 ac_top_srcdir
=$srcdir
1611 ac_abs_top_srcdir
=$srcdir ;;
1613 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1614 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1615 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1617 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1619 cd "$ac_dir" || { ac_status
=$?
; continue; }
1620 # Check for guested configure.
1621 if test -f "$ac_srcdir/configure.gnu"; then
1623 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1624 elif test -f "$ac_srcdir/configure"; then
1626 $SHELL "$ac_srcdir/configure" --help=recursive
1628 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1630 cd "$ac_pwd" || { ac_status
=$?
; break; }
1634 test -n "$ac_init_help" && exit $ac_status
1635 if $ac_init_version; then
1637 Cycript configure
0.9
1638 generated by GNU Autoconf
2.69
1640 Copyright
(C
) 2012 Free Software Foundation
, Inc.
1641 This configure
script is free software
; the Free Software Foundation
1642 gives unlimited permission to copy
, distribute and modify it.
1644 Copyright
(C
) 2009-2015 Jay Freeman
(saurik
)
1649 ## ------------------------ ##
1650 ## Autoconf initialization. ##
1651 ## ------------------------ ##
1653 # ac_fn_c_try_compile LINENO
1654 # --------------------------
1655 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1656 ac_fn_c_try_compile
()
1658 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1659 rm -f conftest.
$ac_objext
1660 if { { ac_try
="$ac_compile"
1662 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
1663 *) ac_try_echo=$ac_try;;
1665 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1666 $as_echo "$ac_try_echo"; } >&5
1667 (eval "$ac_compile") 2>conftest.err
1669 if test -s conftest.err; then
1670 grep -v '^ *+' conftest.err >conftest.er1
1671 cat conftest.er1 >&5
1672 mv -f conftest.er1 conftest.err
1674 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1675 test $ac_status = 0; } && {
1676 test -z "$ac_c_werror_flag" ||
1677 test ! -s conftest.err
1678 } && test -s conftest.$ac_objext; then :
1681 $as_echo "$as_me: failed program was:" >&5
1682 sed 's/^/| /' conftest.$ac_ext >&5
1686 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1687 as_fn_set_status $ac_retval
1689 } # ac_fn_c_try_compile
1691 # ac_fn_cxx_try_compile LINENO
1692 # ----------------------------
1693 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1694 ac_fn_cxx_try_compile ()
1696 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1697 rm -f conftest.$ac_objext
1698 if { { ac_try="$ac_compile"
1700 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
1701 *) ac_try_echo
=$ac_try;;
1703 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1704 $as_echo "$ac_try_echo"; } >&5
1705 (eval "$ac_compile") 2>conftest.err
1707 if test -s conftest.err
; then
1708 grep -v '^ *+' conftest.err
>conftest.er1
1709 cat conftest.er1
>&5
1710 mv -f conftest.er1 conftest.err
1712 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1713 test $ac_status = 0; } && {
1714 test -z "$ac_cxx_werror_flag" ||
1715 test ! -s conftest.err
1716 } && test -s conftest.
$ac_objext; then :
1719 $as_echo "$as_me: failed program was:" >&5
1720 sed 's/^/| /' conftest.
$ac_ext >&5
1724 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1725 as_fn_set_status
$ac_retval
1727 } # ac_fn_cxx_try_compile
1729 # ac_fn_objcxx_try_compile LINENO
1730 # -------------------------------
1731 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1732 ac_fn_objcxx_try_compile
()
1734 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1735 rm -f conftest.
$ac_objext
1736 if { { ac_try
="$ac_compile"
1738 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
1739 *) ac_try_echo=$ac_try;;
1741 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1742 $as_echo "$ac_try_echo"; } >&5
1743 (eval "$ac_compile") 2>conftest.err
1745 if test -s conftest.err; then
1746 grep -v '^ *+' conftest.err >conftest.er1
1747 cat conftest.er1 >&5
1748 mv -f conftest.er1 conftest.err
1750 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1751 test $ac_status = 0; } && {
1752 test -z "$ac_objcxx_werror_flag" ||
1753 test ! -s conftest.err
1754 } && test -s conftest.$ac_objext; then :
1757 $as_echo "$as_me: failed program was:" >&5
1758 sed 's/^/| /' conftest.$ac_ext >&5
1762 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1763 as_fn_set_status $ac_retval
1765 } # ac_fn_objcxx_try_compile
1767 # ac_fn_c_try_cpp LINENO
1768 # ----------------------
1769 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1772 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1773 if { { ac_try="$ac_cpp conftest.$ac_ext"
1775 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
1776 *) ac_try_echo
=$ac_try;;
1778 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1779 $as_echo "$ac_try_echo"; } >&5
1780 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1782 if test -s conftest.err
; then
1783 grep -v '^ *+' conftest.err
>conftest.er1
1784 cat conftest.er1
>&5
1785 mv -f conftest.er1 conftest.err
1787 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1788 test $ac_status = 0; } > conftest.i
&& {
1789 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1790 test ! -s conftest.err
1794 $as_echo "$as_me: failed program was:" >&5
1795 sed 's/^/| /' conftest.
$ac_ext >&5
1799 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1800 as_fn_set_status
$ac_retval
1804 # ac_fn_cxx_try_cpp LINENO
1805 # ------------------------
1806 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1807 ac_fn_cxx_try_cpp
()
1809 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1810 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1812 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
1813 *) ac_try_echo=$ac_try;;
1815 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1816 $as_echo "$ac_try_echo"; } >&5
1817 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1819 if test -s conftest.err; then
1820 grep -v '^ *+' conftest.err >conftest.er1
1821 cat conftest.er1 >&5
1822 mv -f conftest.er1 conftest.err
1824 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1825 test $ac_status = 0; } > conftest.i && {
1826 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1827 test ! -s conftest.err
1831 $as_echo "$as_me: failed program was:" >&5
1832 sed 's/^/| /' conftest.$ac_ext >&5
1836 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1837 as_fn_set_status $ac_retval
1839 } # ac_fn_cxx_try_cpp
1841 # ac_fn_c_try_link LINENO
1842 # -----------------------
1843 # Try to link conftest.$ac_ext, and return whether this succeeded.
1846 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1847 rm -f conftest.$ac_objext conftest$ac_exeext
1848 if { { ac_try="$ac_link"
1850 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
1851 *) ac_try_echo
=$ac_try;;
1853 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1854 $as_echo "$ac_try_echo"; } >&5
1855 (eval "$ac_link") 2>conftest.err
1857 if test -s conftest.err
; then
1858 grep -v '^ *+' conftest.err
>conftest.er1
1859 cat conftest.er1
>&5
1860 mv -f conftest.er1 conftest.err
1862 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1863 test $ac_status = 0; } && {
1864 test -z "$ac_c_werror_flag" ||
1865 test ! -s conftest.err
1866 } && test -s conftest
$ac_exeext && {
1867 test "$cross_compiling" = yes ||
1868 test -x conftest
$ac_exeext
1872 $as_echo "$as_me: failed program was:" >&5
1873 sed 's/^/| /' conftest.
$ac_ext >&5
1877 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1878 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1879 # interfere with the next link command; also delete a directory that is
1880 # left behind by Apple's compiler. We do this before executing the actions.
1881 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1882 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1883 as_fn_set_status
$ac_retval
1885 } # ac_fn_c_try_link
1887 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1888 # -------------------------------------------------------
1889 # Tests whether HEADER exists and can be compiled using the include files in
1890 # INCLUDES, setting the cache variable VAR accordingly.
1891 ac_fn_c_check_header_compile
()
1893 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1895 $as_echo_n "checking for $2... " >&6; }
1896 if eval \
${$3+:} false
; then :
1897 $as_echo_n "(cached) " >&6
1899 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1900 /* end confdefs.h. */
1904 if ac_fn_c_try_compile
"$LINENO"; then :
1909 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1913 $as_echo "$ac_res" >&6; }
1914 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1916 } # ac_fn_c_check_header_compile
1918 # ac_fn_c_try_run LINENO
1919 # ----------------------
1920 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1921 # that executables *can* be run.
1924 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1925 if { { ac_try
="$ac_link"
1927 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
1928 *) ac_try_echo=$ac_try;;
1930 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1931 $as_echo "$ac_try_echo"; } >&5
1932 (eval "$ac_link") 2>&5
1934 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1935 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1936 { { case "(($ac_try" in
1937 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
1938 *) ac_try_echo
=$ac_try;;
1940 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1941 $as_echo "$ac_try_echo"; } >&5
1942 (eval "$ac_try") 2>&5
1944 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1945 test $ac_status = 0; }; }; then :
1948 $as_echo "$as_me: program exited with status $ac_status" >&5
1949 $as_echo "$as_me: failed program was:" >&5
1950 sed 's/^/| /' conftest.
$ac_ext >&5
1952 ac_retval
=$ac_status
1954 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1955 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1956 as_fn_set_status
$ac_retval
1960 # ac_fn_c_check_func LINENO FUNC VAR
1961 # ----------------------------------
1962 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1963 ac_fn_c_check_func
()
1965 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1967 $as_echo_n "checking for $2... " >&6; }
1968 if eval \
${$3+:} false
; then :
1969 $as_echo_n "(cached) " >&6
1971 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1972 /* end confdefs.h. */
1973 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1974 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1975 #define $2 innocuous_$2
1977 /* System header to define __stub macros and hopefully few prototypes,
1978 which can conflict with char $2 (); below.
1979 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1980 <limits.h> exists even on freestanding compilers. */
1983 # include <limits.h>
1985 # include <assert.h>
1990 /* Override any GCC internal prototype to avoid an error.
1991 Use char because int might match the return type of a GCC
1992 builtin and then its argument prototype would still apply. */
1997 /* The GNU C library defines this for functions which it implements
1998 to always fail with ENOSYS. Some functions are actually named
1999 something starting with __ and the normal name is an alias. */
2000 #if defined __stub_$2 || defined __stub___$2
2012 if ac_fn_c_try_link
"$LINENO"; then :
2017 rm -f core conftest.err conftest.
$ac_objext \
2018 conftest
$ac_exeext conftest.
$ac_ext
2021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2022 $as_echo "$ac_res" >&6; }
2023 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2025 } # ac_fn_c_check_func
2027 # ac_fn_cxx_try_link LINENO
2028 # -------------------------
2029 # Try to link conftest.$ac_ext, and return whether this succeeded.
2030 ac_fn_cxx_try_link
()
2032 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2033 rm -f conftest.
$ac_objext conftest
$ac_exeext
2034 if { { ac_try
="$ac_link"
2036 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
2037 *) ac_try_echo=$ac_try;;
2039 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2040 $as_echo "$ac_try_echo"; } >&5
2041 (eval "$ac_link") 2>conftest.err
2043 if test -s conftest.err; then
2044 grep -v '^ *+' conftest.err >conftest.er1
2045 cat conftest.er1 >&5
2046 mv -f conftest.er1 conftest.err
2048 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2049 test $ac_status = 0; } && {
2050 test -z "$ac_cxx_werror_flag" ||
2051 test ! -s conftest.err
2052 } && test -s conftest$ac_exeext && {
2053 test "$cross_compiling" = yes ||
2054 test -x conftest$ac_exeext
2058 $as_echo "$as_me: failed program was:" >&5
2059 sed 's/^/| /' conftest.$ac_ext >&5
2063 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2064 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2065 # interfere with the next link command; also delete a directory that is
2066 # left behind by Apple's compiler. We do this before executing the actions.
2067 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2068 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2069 as_fn_set_status $ac_retval
2071 } # ac_fn_cxx_try_link
2073 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2074 # ---------------------------------------------------------
2075 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2076 # the include files in INCLUDES and setting the cache variable VAR
2078 ac_fn_cxx_check_header_mongrel ()
2080 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2081 if eval \${$3+:} false; then :
2082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2083 $as_echo_n "checking for $2... " >&6; }
2084 if eval \${$3+:} false; then :
2085 $as_echo_n "(cached) " >&6
2088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2089 $as_echo "$ac_res" >&6; }
2091 # Is the header compilable?
2092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2093 $as_echo_n "checking $2 usability... " >&6; }
2094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2095 /* end confdefs.h. */
2099 if ac_fn_cxx_try_compile "$LINENO"; then :
2100 ac_header_compiler=yes
2102 ac_header_compiler=no
2104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2106 $as_echo "$ac_header_compiler" >&6; }
2108 # Is the header present?
2109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2110 $as_echo_n "checking $2 presence... " >&6; }
2111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2112 /* end confdefs.h. */
2115 if ac_fn_cxx_try_cpp "$LINENO"; then :
2116 ac_header_preproc=yes
2118 ac_header_preproc=no
2120 rm -f conftest.err conftest.i conftest.$ac_ext
2121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2122 $as_echo "$ac_header_preproc" >&6; }
2124 # So? What about this header?
2125 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2127 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2128 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2129 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2130 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2133 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2134 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2135 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2136 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2137 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2138 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2139 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2140 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2141 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2142 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2143 ( $as_echo "## -------------------------------- ##
2144 ## Report this to saurik@saurik.com ##
2145 ## -------------------------------- ##"
2146 ) | sed "s/^/$as_me: WARNING: /" >&2
2149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2150 $as_echo_n "checking for $2... " >&6; }
2151 if eval \${$3+:} false; then :
2152 $as_echo_n "(cached) " >&6
2154 eval "$3=\$ac_header_compiler"
2157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2158 $as_echo "$ac_res" >&6; }
2160 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2162 } # ac_fn_cxx_check_header_mongrel
2164 # ac_fn_cxx_check_func LINENO FUNC VAR
2165 # ------------------------------------
2166 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2167 ac_fn_cxx_check_func ()
2169 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2171 $as_echo_n "checking for $2... " >&6; }
2172 if eval \${$3+:} false; then :
2173 $as_echo_n "(cached) " >&6
2175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2176 /* end confdefs.h. */
2177 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2178 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2179 #define $2 innocuous_$2
2181 /* System header to define __stub macros and hopefully few prototypes,
2182 which can conflict with char $2 (); below.
2183 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2184 <limits.h> exists even on freestanding compilers. */
2187 # include <limits.h>
2189 # include <assert.h>
2194 /* Override any GCC internal prototype to avoid an error.
2195 Use char because int might match the return type of a GCC
2196 builtin and then its argument prototype would still apply. */
2201 /* The GNU C library defines this for functions which it implements
2202 to always fail with ENOSYS. Some functions are actually named
2203 something starting with __ and the normal name is an alias. */
2204 #if defined __stub_$2 || defined __stub___$2
2216 if ac_fn_cxx_try_link "$LINENO"; then :
2221 rm -f core conftest.err conftest.$ac_objext \
2222 conftest$ac_exeext conftest.$ac_ext
2225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2226 $as_echo "$ac_res" >&6; }
2227 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2229 } # ac_fn_cxx_check_func
2231 # ac_fn_objcxx_try_link LINENO
2232 # ----------------------------
2233 # Try to link conftest.$ac_ext, and return whether this succeeded.
2234 ac_fn_objcxx_try_link ()
2236 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2237 rm -f conftest.$ac_objext conftest$ac_exeext
2238 if { { ac_try="$ac_link"
2240 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
2241 *) ac_try_echo
=$ac_try;;
2243 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2244 $as_echo "$ac_try_echo"; } >&5
2245 (eval "$ac_link") 2>conftest.err
2247 if test -s conftest.err
; then
2248 grep -v '^ *+' conftest.err
>conftest.er1
2249 cat conftest.er1
>&5
2250 mv -f conftest.er1 conftest.err
2252 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2253 test $ac_status = 0; } && {
2254 test -z "$ac_objcxx_werror_flag" ||
2255 test ! -s conftest.err
2256 } && test -s conftest
$ac_exeext && {
2257 test "$cross_compiling" = yes ||
2258 test -x conftest
$ac_exeext
2262 $as_echo "$as_me: failed program was:" >&5
2263 sed 's/^/| /' conftest.
$ac_ext >&5
2267 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2268 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2269 # interfere with the next link command; also delete a directory that is
2270 # left behind by Apple's compiler. We do this before executing the actions.
2271 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2272 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2273 as_fn_set_status
$ac_retval
2275 } # ac_fn_objcxx_try_link
2276 cat >config.log
<<_ACEOF
2277 This file contains any messages produced by compilers while
2278 running configure, to aid debugging if configure makes a mistake.
2280 It was created by Cycript $as_me 0.9, which was
2281 generated by GNU Autoconf 2.69. Invocation command line was
2293 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2294 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2295 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2296 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2297 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2299 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2300 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2302 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2303 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2304 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2305 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2306 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2307 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2308 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2312 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2316 test -z "$as_dir" && as_dir
=.
2317 $as_echo "PATH: $as_dir"
2333 # Keep a trace of the command line.
2334 # Strip out --no-create and --no-recursion so they do not pile up.
2335 # Strip out --silent because we don't want to record it for future runs.
2336 # Also quote any args containing shell meta-characters.
2337 # Make two passes to allow for proper duplicate-argument suppression.
2341 ac_must_keep_next
=false
2347 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2348 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2349 | -silent | --silent | --silen | --sile | --sil)
2352 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2355 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2357 as_fn_append ac_configure_args1
" '$ac_arg'"
2358 if test $ac_must_keep_next = true
; then
2359 ac_must_keep_next
=false
# Got value, back to normal.
2362 *=* | --config-cache | -C | -disable-* | --disable-* \
2363 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2364 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2365 | -with-* | --with-* | -without-* | --without-* | --x)
2366 case "$ac_configure_args0 " in
2367 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2370 -* ) ac_must_keep_next
=true
;;
2373 as_fn_append ac_configure_args
" '$ac_arg'"
2378 { ac_configure_args0
=; unset ac_configure_args0
;}
2379 { ac_configure_args1
=; unset ac_configure_args1
;}
2381 # When interrupted or exit'd, cleanup temporary files, and complete
2382 # config.log. We remove comments because anyway the quotes in there
2383 # would cause problems or look ugly.
2384 # WARNING: Use '\'' to represent an apostrophe within the trap.
2385 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2386 trap 'exit_status=$?
2387 # Save into config.log some information that might help in debugging.
2391 $as_echo "## ---------------- ##
2392 ## Cache variables. ##
2393 ## ---------------- ##"
2395 # The following way of writing the cache mishandles newlines in values,
2397 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2398 eval ac_val=\$$ac_var
2402 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2403 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2406 _ | IFS | as_nl) ;; #(
2407 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2408 *) { eval $ac_var=; unset $ac_var;} ;;
2413 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2414 *${as_nl}ac_space=\ *)
2416 "s/'\''/'\''\\\\'\'''\''/g;
2417 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2420 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2427 $as_echo "## ----------------- ##
2428 ## Output variables. ##
2429 ## ----------------- ##"
2431 for ac_var in $ac_subst_vars
2433 eval ac_val=\$$ac_var
2435 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2437 $as_echo "$ac_var='\''$ac_val'\''"
2441 if test -n "$ac_subst_files"; then
2442 $as_echo "## ------------------- ##
2443 ## File substitutions. ##
2444 ## ------------------- ##"
2446 for ac_var
in $ac_subst_files
2448 eval ac_val
=\$
$ac_var
2450 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2452 $as_echo "$ac_var='\''$ac_val'\''"
2457 if test -s confdefs.h; then
2458 $as_echo "## ----------- ##
2465 test "$ac_signal" != 0 &&
2466 $as_echo "$as_me: caught signal $ac_signal"
2467 $as_echo "$as_me: exit $exit_status"
2469 rm -f core *.core core.conftest.* &&
2470 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2473 for ac_signal
in 1 2 13 15; do
2474 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2478 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2479 rm -f -r conftest
* confdefs.h
2481 $as_echo "/* confdefs.h */" > confdefs.h
2483 # Predefined preprocessor variables.
2485 cat >>confdefs.h
<<_ACEOF
2486 #define PACKAGE_NAME "$PACKAGE_NAME"
2489 cat >>confdefs.h
<<_ACEOF
2490 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2493 cat >>confdefs.h
<<_ACEOF
2494 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2497 cat >>confdefs.h
<<_ACEOF
2498 #define PACKAGE_STRING "$PACKAGE_STRING"
2501 cat >>confdefs.h
<<_ACEOF
2502 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2505 cat >>confdefs.h
<<_ACEOF
2506 #define PACKAGE_URL "$PACKAGE_URL"
2510 # Let the site file select an alternate cache file if it wants to.
2511 # Prefer an explicitly selected file to automatically selected ones.
2514 if test -n "$CONFIG_SITE"; then
2515 # We do not want a PATH search for config.site.
2516 case $CONFIG_SITE in #((
2517 -*) ac_site_file1
=.
/$CONFIG_SITE;;
2518 */*) ac_site_file1
=$CONFIG_SITE;;
2519 *) ac_site_file1
=.
/$CONFIG_SITE;;
2521 elif test "x$prefix" != xNONE
; then
2522 ac_site_file1
=$prefix/share
/config.site
2523 ac_site_file2
=$prefix/etc
/config.site
2525 ac_site_file1
=$ac_default_prefix/share
/config.site
2526 ac_site_file2
=$ac_default_prefix/etc
/config.site
2528 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2530 test "x$ac_site_file" = xNONE
&& continue
2531 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2532 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2533 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2534 sed 's/^/| /' "$ac_site_file" >&5
2536 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2537 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2538 as_fn_error $?
"failed to load site script $ac_site_file
2539 See \`config.log' for more details" "$LINENO" 5; }
2543 if test -r "$cache_file"; then
2544 # Some versions of bash will fail to source /dev/null (special files
2545 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2546 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2547 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2548 $as_echo "$as_me: loading cache $cache_file" >&6;}
2550 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2551 *) .
"./$cache_file";;
2555 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2556 $as_echo "$as_me: creating cache $cache_file" >&6;}
2560 # Check that the precious variables saved in the cache have kept the same
2562 ac_cache_corrupted
=false
2563 for ac_var
in $ac_precious_vars; do
2564 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2565 eval ac_new_set
=\
$ac_env_${ac_var}_set
2566 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2567 eval ac_new_val
=\
$ac_env_${ac_var}_value
2568 case $ac_old_set,$ac_new_set in
2570 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2571 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2572 ac_cache_corrupted
=: ;;
2574 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2575 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2576 ac_cache_corrupted
=: ;;
2579 if test "x$ac_old_val" != "x$ac_new_val"; then
2580 # differences in whitespace do not lead to failure.
2581 ac_old_val_w
=`echo x $ac_old_val`
2582 ac_new_val_w
=`echo x $ac_new_val`
2583 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2584 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2585 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2586 ac_cache_corrupted
=:
2588 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2589 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2590 eval $ac_var=\
$ac_old_val
2592 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2593 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2594 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2595 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2598 # Pass precious variables to config.status.
2599 if test "$ac_new_set" = set; then
2601 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2602 *) ac_arg
=$ac_var=$ac_new_val ;;
2604 case " $ac_configure_args " in
2605 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2606 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2610 if $ac_cache_corrupted; then
2611 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2612 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2613 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2614 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2615 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2617 ## -------------------- ##
2618 ## Main body of script. ##
2619 ## -------------------- ##
2622 ac_cpp
='$CPP $CPPFLAGS'
2623 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2624 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2625 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2632 for ac_dir
in .
"$srcdir"/.
; do
2633 if test -f "$ac_dir/install-sh"; then
2635 ac_install_sh
="$ac_aux_dir/install-sh -c"
2637 elif test -f "$ac_dir/install.sh"; then
2639 ac_install_sh
="$ac_aux_dir/install.sh -c"
2641 elif test -f "$ac_dir/shtool"; then
2643 ac_install_sh
="$ac_aux_dir/shtool install -c"
2647 if test -z "$ac_aux_dir"; then
2648 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in . \"$srcdir\"/." "$LINENO" 5
2651 # These three variables are undocumented and unsupported,
2652 # and are intended to be withdrawn in a future Autoconf release.
2653 # They can cause serious problems if a builder's source tree is in a directory
2654 # whose full name contains unusual characters.
2655 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2656 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2657 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2661 ac_config_headers
="$ac_config_headers config.h"
2664 am__api_version
='1.15'
2666 # Find a good install program. We prefer a C program (faster),
2667 # so one script is as good as another. But avoid the broken or
2668 # incompatible versions:
2669 # SysV /etc/install, /usr/sbin/install
2670 # SunOS /usr/etc/install
2671 # IRIX /sbin/install
2673 # AmigaOS /C/install, which installs bootblocks on floppy discs
2674 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2675 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2676 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2677 # OS/2's system install, which has a completely different semantic
2678 # ./install, which can be erroneously created by make from ./install.sh.
2679 # Reject install programs that cannot install multiple files.
2680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2681 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2682 if test -z "$INSTALL"; then
2683 if ${ac_cv_path_install+:} false
; then :
2684 $as_echo_n "(cached) " >&6
2686 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2690 test -z "$as_dir" && as_dir
=.
2691 # Account for people who put trailing slashes in PATH elements.
2692 case $as_dir/ in #((
2693 .
/ | .
// | /[cC
]/* | \
2694 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
2695 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
2698 # OSF1 and SCO ODT 3.0 have their own names for install.
2699 # Don't use installbsd from OSF since it installs stuff as root
2701 for ac_prog
in ginstall scoinst
install; do
2702 for ac_exec_ext
in '' $ac_executable_extensions; do
2703 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
2704 if test $ac_prog = install &&
2705 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2706 # AIX install. It has an incompatible calling convention.
2708 elif test $ac_prog = install &&
2709 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2710 # program-specific install script used by HP pwplus--don't use.
2713 rm -rf conftest.one conftest.two conftest.dir
2714 echo one
> conftest.one
2715 echo two
> conftest.two
2717 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2718 test -s conftest.one
&& test -s conftest.two
&&
2719 test -s conftest.dir
/conftest.one
&&
2720 test -s conftest.dir
/conftest.two
2722 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2735 rm -rf conftest.one conftest.two conftest.dir
2738 if test "${ac_cv_path_install+set}" = set; then
2739 INSTALL
=$ac_cv_path_install
2741 # As a last resort, use the slow shell script. Don't cache a
2742 # value for INSTALL within a source directory, because that will
2743 # break other packages using the cache if that directory is
2744 # removed, or if the value is a relative name.
2745 INSTALL
=$ac_install_sh
2748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2749 $as_echo "$INSTALL" >&6; }
2751 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2752 # It thinks the first close brace ends the variable substitution.
2753 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2755 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2757 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2760 $as_echo_n "checking whether build environment is sane... " >&6; }
2761 # Reject unsafe characters in $srcdir or the absolute working directory
2762 # name. Accept space and tab only in the latter.
2766 *[\\\"\#\$\&\'\`$am_lf]*)
2767 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5;;
2770 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2771 as_fn_error $?
"unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2774 # Do 'set' in a subshell so we don't clobber the current shell's
2775 # arguments. Must try -L first in case configure is actually a
2776 # symlink; some systems play weird games with the mod time of symlinks
2777 # (eg FreeBSD returns the mod time of the symlink's containing
2781 for am_try
in 1 2; do
2782 echo "timestamp, slept: $am_has_slept" > conftest.
file
2783 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2784 if test "$*" = "X"; then
2786 set X
`ls -t "$srcdir/configure" conftest.file`
2788 if test "$*" != "X $srcdir/configure conftest.file" \
2789 && test "$*" != "X conftest.file $srcdir/configure"; then
2791 # If neither matched, then we have a broken ls. This can happen
2792 # if, for instance, CONFIG_SHELL is bash and it inherits a
2793 # broken ls alias from the environment. This has actually
2794 # happened. Such a system could not be considered "sane".
2795 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
2796 alias in your environment" "$LINENO" 5
2798 if test "$2" = conftest.
file || test $am_try -eq 2; then
2805 test "$2" = conftest.
file
2811 as_fn_error $?
"newly created file is older than distributed files!
2812 Check your system clock" "$LINENO" 5
2814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2815 $as_echo "yes" >&6; }
2816 # If we didn't sleep, we still need to ensure time stamps of config.status and
2817 # generated files are strictly newer.
2819 if grep 'slept: no' conftest.
file >/dev
/null
2>&1; then
2826 test "$program_prefix" != NONE
&&
2827 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2828 # Use a double $ so make ignores it.
2829 test "$program_suffix" != NONE
&&
2830 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2831 # Double any \ or $.
2832 # By default was `s,x,x', remove it if useless.
2833 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2834 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2836 # Expand $ac_aux_dir to an absolute path.
2837 am_aux_dir
=`cd "$ac_aux_dir" && pwd`
2839 if test x
"${MISSING+set}" != xset
; then
2842 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2844 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2847 # Use eval to expand $SHELL
2848 if eval "$MISSING --is-lightweight"; then
2849 am_missing_run
="$MISSING "
2852 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2853 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2856 if test x
"${install_sh+set}" != xset
; then
2859 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2861 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2865 # Installed binaries are usually stripped using 'strip' when the user
2866 # run "make install-strip". However 'strip' might not be the right
2867 # tool to use in cross-compilation environments, therefore Automake
2868 # will honor the 'STRIP' environment variable to overrule this program.
2869 if test "$cross_compiling" != no
; then
2870 if test -n "$ac_tool_prefix"; then
2871 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2872 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2874 $as_echo_n "checking for $ac_word... " >&6; }
2875 if ${ac_cv_prog_STRIP+:} false
; then :
2876 $as_echo_n "(cached) " >&6
2878 if test -n "$STRIP"; then
2879 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2881 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2885 test -z "$as_dir" && as_dir
=.
2886 for ac_exec_ext
in '' $ac_executable_extensions; do
2887 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2888 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2889 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2898 STRIP
=$ac_cv_prog_STRIP
2899 if test -n "$STRIP"; then
2900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2901 $as_echo "$STRIP" >&6; }
2903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2904 $as_echo "no" >&6; }
2909 if test -z "$ac_cv_prog_STRIP"; then
2911 # Extract the first word of "strip", so it can be a program name with args.
2912 set dummy strip
; ac_word
=$2
2913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2914 $as_echo_n "checking for $ac_word... " >&6; }
2915 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
2916 $as_echo_n "(cached) " >&6
2918 if test -n "$ac_ct_STRIP"; then
2919 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2921 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2925 test -z "$as_dir" && as_dir
=.
2926 for ac_exec_ext
in '' $ac_executable_extensions; do
2927 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2928 ac_cv_prog_ac_ct_STRIP
="strip"
2929 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2938 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2939 if test -n "$ac_ct_STRIP"; then
2940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2941 $as_echo "$ac_ct_STRIP" >&6; }
2943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2944 $as_echo "no" >&6; }
2947 if test "x$ac_ct_STRIP" = x
; then
2950 case $cross_compiling:$ac_tool_warned in
2952 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2953 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2954 ac_tool_warned
=yes ;;
2959 STRIP
="$ac_cv_prog_STRIP"
2963 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2966 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2967 if test -z "$MKDIR_P"; then
2968 if ${ac_cv_path_mkdir+:} false
; then :
2969 $as_echo_n "(cached) " >&6
2971 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2972 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2975 test -z "$as_dir" && as_dir
=.
2976 for ac_prog
in mkdir gmkdir
; do
2977 for ac_exec_ext
in '' $ac_executable_extensions; do
2978 as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext" || continue
2979 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2980 'mkdir (GNU coreutils) '* | \
2981 'mkdir (coreutils) '* | \
2982 'mkdir (fileutils) '4.1*)
2983 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2993 test -d .
/--version && rmdir .
/--version
2994 if test "${ac_cv_path_mkdir+set}" = set; then
2995 MKDIR_P
="$ac_cv_path_mkdir -p"
2997 # As a last resort, use the slow shell script. Don't cache a
2998 # value for MKDIR_P within a source directory, because that will
2999 # break other packages using the cache if that directory is
3000 # removed, or if the value is a relative name.
3001 MKDIR_P
="$ac_install_sh -d"
3004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3005 $as_echo "$MKDIR_P" >&6; }
3007 for ac_prog
in gawk mawk nawk
awk
3009 # Extract the first word of "$ac_prog", so it can be a program name with args.
3010 set dummy
$ac_prog; ac_word
=$2
3011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3012 $as_echo_n "checking for $ac_word... " >&6; }
3013 if ${ac_cv_prog_AWK+:} false
; then :
3014 $as_echo_n "(cached) " >&6
3016 if test -n "$AWK"; then
3017 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
3019 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3023 test -z "$as_dir" && as_dir
=.
3024 for ac_exec_ext
in '' $ac_executable_extensions; do
3025 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3026 ac_cv_prog_AWK
="$ac_prog"
3027 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3037 if test -n "$AWK"; then
3038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3039 $as_echo "$AWK" >&6; }
3041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3042 $as_echo "no" >&6; }
3046 test -n "$AWK" && break
3049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3050 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3052 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3053 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
3054 $as_echo_n "(cached) " >&6
3056 cat >conftest.
make <<\_ACEOF
3059 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3061 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3062 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3064 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3066 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3070 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3072 $as_echo "yes" >&6; }
3075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3076 $as_echo "no" >&6; }
3077 SET_MAKE
="MAKE=${MAKE-make}"
3080 rm -rf .tst
2>/dev
/null
3081 mkdir .tst
2>/dev
/null
3082 if test -d .tst
; then
3087 rmdir .tst
2>/dev
/null
3089 # Check whether --enable-silent-rules was given.
3090 if test "${enable_silent_rules+set}" = set; then :
3091 enableval
=$enable_silent_rules;
3094 case $enable_silent_rules in # (((
3095 yes) AM_DEFAULT_VERBOSITY
=0;;
3096 no
) AM_DEFAULT_VERBOSITY
=1;;
3097 *) AM_DEFAULT_VERBOSITY
=1;;
3099 am_make
=${MAKE-make}
3100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3101 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3102 if ${am_cv_make_support_nested_variables+:} false
; then :
3103 $as_echo_n "(cached) " >&6
3105 if $as_echo 'TRUE=$(BAR$(V))
3111 .PHONY: am__doit' | $am_make -f - >/dev
/null
2>&1; then
3112 am_cv_make_support_nested_variables
=yes
3114 am_cv_make_support_nested_variables
=no
3117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3118 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3119 if test $am_cv_make_support_nested_variables = yes; then
3121 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
3123 AM_V
=$AM_DEFAULT_VERBOSITY
3124 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
3128 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3129 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3130 # is not polluted with repeated "-I."
3131 am__isrc
=' -I$(srcdir)'
3132 # test to see if srcdir already configured
3133 if test -f $srcdir/config.status
; then
3134 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3138 # test whether we have cygpath
3139 if test -z "$CYGPATH_W"; then
3140 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
3141 CYGPATH_W
='cygpath -w'
3148 # Define the identity of the package.
3153 cat >>confdefs.h
<<_ACEOF
3154 #define PACKAGE "$PACKAGE"
3158 cat >>confdefs.h
<<_ACEOF
3159 #define VERSION "$VERSION"
3162 # Some tools Automake needs.
3164 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3167 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3170 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3173 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
3176 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
3178 # For better backward compatibility. To be removed once Automake 1.9.x
3179 # dies out for good. For more background, see:
3180 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3181 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3182 mkdir_p
='$(MKDIR_P)'
3184 # We need awk for the "check" target (and possibly the TAP driver). The
3185 # system "awk" is bad on some platforms.
3186 # Always define AMTAR for backward compatibility. Yes, it's still used
3187 # in the wild :-( We should find a proper way to deprecate it ...
3191 # We'll loop over all known methods to create a tar archive until one works.
3192 _am_tools
='gnutar pax cpio none'
3194 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
3201 # POSIX will say in a future version that running "rm -f" with no argument
3202 # is OK; and we want to be able to make that assumption in our Makefile
3203 # recipes. So use an aggressive probe to check that the usage we want is
3204 # actually supported "in the wild" to an acceptable degree.
3205 # See automake bug#10828.
3206 # To make any issue more visible, cause the running configure to be aborted
3207 # by default if the 'rm' program in use doesn't match our expectations; the
3208 # user can still override this though.
3209 if rm -f && rm -fr && rm -rf; then : OK
; else
3213 Your 'rm' program seems unable to run without file operands specified
3214 on the command line, even when the '-f' option is present. This is contrary
3215 to the behaviour of most rm programs out there, and not conforming with
3216 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3218 Please tell bug-automake@gnu.org about your system, including the value
3219 of your $PATH and any error possibly output before this message. This
3220 can help us improve future automake versions.
3223 if test x
"$ACCEPT_INFERIOR_RM_PROGRAM" = x
"yes"; then
3224 echo 'Configuration will proceed anyway, since you have set the' >&2
3225 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3229 Aborting the configuration process, to ensure you take notice of the issue.
3231 You can download and install GNU coreutils to get an 'rm' implementation
3232 that behaves properly: <http://www.gnu.org/software/coreutils/>.
3234 If you want to complete the configuration process using your problematic
3235 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3236 to "yes", and re-run configure.
3239 as_fn_error $?
"Your 'rm' program is bad, sorry." "$LINENO" 5
3244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3245 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3246 # Check whether --enable-maintainer-mode was given.
3247 if test "${enable_maintainer_mode+set}" = set; then :
3248 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
3250 USE_MAINTAINER_MODE
=no
3253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3254 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3255 if test $USE_MAINTAINER_MODE = yes; then
3256 MAINTAINER_MODE_TRUE
=
3257 MAINTAINER_MODE_FALSE
='#'
3259 MAINTAINER_MODE_TRUE
='#'
3260 MAINTAINER_MODE_FALSE
=
3263 MAINT
=$MAINTAINER_MODE_TRUE
3268 ac_cpp
='$CPP $CPPFLAGS'
3269 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3270 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3271 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3272 if test -n "$ac_tool_prefix"; then
3273 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3274 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3276 $as_echo_n "checking for $ac_word... " >&6; }
3277 if ${ac_cv_prog_CC+:} false
; then :
3278 $as_echo_n "(cached) " >&6
3280 if test -n "$CC"; then
3281 ac_cv_prog_CC
="$CC" # Let the user override the test.
3283 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3287 test -z "$as_dir" && as_dir
=.
3288 for ac_exec_ext
in '' $ac_executable_extensions; do
3289 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3290 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3291 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3301 if test -n "$CC"; then
3302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3303 $as_echo "$CC" >&6; }
3305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3306 $as_echo "no" >&6; }
3311 if test -z "$ac_cv_prog_CC"; then
3313 # Extract the first word of "gcc", so it can be a program name with args.
3314 set dummy gcc
; ac_word
=$2
3315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3316 $as_echo_n "checking for $ac_word... " >&6; }
3317 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3318 $as_echo_n "(cached) " >&6
3320 if test -n "$ac_ct_CC"; then
3321 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3323 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3327 test -z "$as_dir" && as_dir
=.
3328 for ac_exec_ext
in '' $ac_executable_extensions; do
3329 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3330 ac_cv_prog_ac_ct_CC
="gcc"
3331 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3340 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3341 if test -n "$ac_ct_CC"; then
3342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3343 $as_echo "$ac_ct_CC" >&6; }
3345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3346 $as_echo "no" >&6; }
3349 if test "x$ac_ct_CC" = x
; then
3352 case $cross_compiling:$ac_tool_warned in
3354 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3355 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3356 ac_tool_warned
=yes ;;
3364 if test -z "$CC"; then
3365 if test -n "$ac_tool_prefix"; then
3366 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3367 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3369 $as_echo_n "checking for $ac_word... " >&6; }
3370 if ${ac_cv_prog_CC+:} false
; then :
3371 $as_echo_n "(cached) " >&6
3373 if test -n "$CC"; then
3374 ac_cv_prog_CC
="$CC" # Let the user override the test.
3376 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3380 test -z "$as_dir" && as_dir
=.
3381 for ac_exec_ext
in '' $ac_executable_extensions; do
3382 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3383 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3384 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3394 if test -n "$CC"; then
3395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3396 $as_echo "$CC" >&6; }
3398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3399 $as_echo "no" >&6; }
3405 if test -z "$CC"; then
3406 # Extract the first word of "cc", so it can be a program name with args.
3407 set dummy cc
; ac_word
=$2
3408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3409 $as_echo_n "checking for $ac_word... " >&6; }
3410 if ${ac_cv_prog_CC+:} false
; then :
3411 $as_echo_n "(cached) " >&6
3413 if test -n "$CC"; then
3414 ac_cv_prog_CC
="$CC" # Let the user override the test.
3417 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3421 test -z "$as_dir" && as_dir
=.
3422 for ac_exec_ext
in '' $ac_executable_extensions; do
3423 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3424 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3425 ac_prog_rejected
=yes
3429 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3436 if test $ac_prog_rejected = yes; then
3437 # We found a bogon in the path, so make sure we never use it.
3438 set dummy
$ac_cv_prog_CC
3440 if test $# != 0; then
3441 # We chose a different compiler from the bogus one.
3442 # However, it has the same basename, so the bogon will be chosen
3443 # first if we set CC to just the basename; use the full file name.
3445 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3451 if test -n "$CC"; then
3452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3453 $as_echo "$CC" >&6; }
3455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3456 $as_echo "no" >&6; }
3461 if test -z "$CC"; then
3462 if test -n "$ac_tool_prefix"; then
3463 for ac_prog
in cl.exe
3465 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3466 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3468 $as_echo_n "checking for $ac_word... " >&6; }
3469 if ${ac_cv_prog_CC+:} false
; then :
3470 $as_echo_n "(cached) " >&6
3472 if test -n "$CC"; then
3473 ac_cv_prog_CC
="$CC" # Let the user override the test.
3475 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3479 test -z "$as_dir" && as_dir
=.
3480 for ac_exec_ext
in '' $ac_executable_extensions; do
3481 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3482 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3483 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3493 if test -n "$CC"; then
3494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3495 $as_echo "$CC" >&6; }
3497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3498 $as_echo "no" >&6; }
3502 test -n "$CC" && break
3505 if test -z "$CC"; then
3507 for ac_prog
in cl.exe
3509 # Extract the first word of "$ac_prog", so it can be a program name with args.
3510 set dummy
$ac_prog; ac_word
=$2
3511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3512 $as_echo_n "checking for $ac_word... " >&6; }
3513 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3514 $as_echo_n "(cached) " >&6
3516 if test -n "$ac_ct_CC"; then
3517 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3519 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3523 test -z "$as_dir" && as_dir
=.
3524 for ac_exec_ext
in '' $ac_executable_extensions; do
3525 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3526 ac_cv_prog_ac_ct_CC
="$ac_prog"
3527 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3536 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3537 if test -n "$ac_ct_CC"; then
3538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3539 $as_echo "$ac_ct_CC" >&6; }
3541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3542 $as_echo "no" >&6; }
3546 test -n "$ac_ct_CC" && break
3549 if test "x$ac_ct_CC" = x
; then
3552 case $cross_compiling:$ac_tool_warned in
3554 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3555 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3556 ac_tool_warned
=yes ;;
3565 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3566 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3567 as_fn_error $?
"no acceptable C compiler found in \$PATH
3568 See \`config.log' for more details" "$LINENO" 5; }
3570 # Provide some information about the compiler.
3571 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3574 for ac_option
in --version -v -V -qversion; do
3575 { { ac_try
="$ac_compiler $ac_option >&5"
3577 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3578 *) ac_try_echo=$ac_try;;
3580 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3581 $as_echo "$ac_try_echo"; } >&5
3582 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3584 if test -s conftest.err; then
3586 ... rest of stderr output deleted ...
3587 10q' conftest.err >conftest.er1
3588 cat conftest.er1 >&5
3590 rm -f conftest.er1 conftest.err
3591 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3592 test $ac_status = 0; }
3595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3596 /* end confdefs.h. */
3606 ac_clean_files_save=$ac_clean_files
3607 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3608 # Try to create an executable without -o first, disregard a.out.
3609 # It will help us diagnose broken compilers, and finding out an intuition
3611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3612 $as_echo_n "checking whether the C compiler works... " >&6; }
3613 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3615 # The possible output files:
3616 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3619 for ac_file in $ac_files
3622 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3623 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3628 if { { ac_try="$ac_link_default"
3630 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
3631 *) ac_try_echo
=$ac_try;;
3633 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3634 $as_echo "$ac_try_echo"; } >&5
3635 (eval "$ac_link_default") 2>&5
3637 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3638 test $ac_status = 0; }; then :
3639 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3640 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3641 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3642 # so that the user can short-circuit this test for compilers unknown to
3644 for ac_file
in $ac_files ''
3646 test -f "$ac_file" || continue
3648 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.dSYM
| *.o
| *.obj
)
3651 # We found the default executable, but exeext='' is most
3655 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3657 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3659 # We set ac_cv_exeext here because the later test for it is not
3660 # safe: cross compilers may not add the suffix if given an `-o'
3661 # argument, so we may need to know it at that point already.
3662 # Even if this section looks crufty: it has the advantage of
3669 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3674 if test -z "$ac_file"; then :
3675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3676 $as_echo "no" >&6; }
3677 $as_echo "$as_me: failed program was:" >&5
3678 sed 's/^/| /' conftest.
$ac_ext >&5
3680 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3681 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3682 as_fn_error
77 "C compiler cannot create executables
3683 See \`config.log' for more details" "$LINENO" 5; }
3685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3686 $as_echo "yes" >&6; }
3688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3689 $as_echo_n "checking for C compiler default output file name... " >&6; }
3690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3691 $as_echo "$ac_file" >&6; }
3692 ac_exeext
=$ac_cv_exeext
3694 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3695 ac_clean_files
=$ac_clean_files_save
3696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3697 $as_echo_n "checking for suffix of executables... " >&6; }
3698 if { { ac_try
="$ac_link"
3700 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3701 *) ac_try_echo=$ac_try;;
3703 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3704 $as_echo "$ac_try_echo"; } >&5
3705 (eval "$ac_link") 2>&5
3707 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3708 test $ac_status = 0; }; then :
3709 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3710 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3711 # work properly (i.e., refer to `conftest.exe'), while it won't with
3713 for ac_file
in conftest.exe conftest conftest.
*; do
3714 test -f "$ac_file" || continue
3716 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.dSYM
| *.o
| *.obj
) ;;
3717 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3723 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3724 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3725 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3726 See \`config.log' for more details" "$LINENO" 5; }
3728 rm -f conftest conftest
$ac_cv_exeext
3729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3730 $as_echo "$ac_cv_exeext" >&6; }
3732 rm -f conftest.
$ac_ext
3733 EXEEXT
=$ac_cv_exeext
3735 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3736 /* end confdefs.h. */
3741 FILE *f = fopen ("conftest.out", "w");
3742 return ferror (f) || fclose (f) != 0;
3748 ac_clean_files
="$ac_clean_files conftest.out"
3749 # Check that the compiler produces executables we can run. If not, either
3750 # the compiler is broken, or we cross compile.
3751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3752 $as_echo_n "checking whether we are cross compiling... " >&6; }
3753 if test "$cross_compiling" != yes; then
3754 { { ac_try
="$ac_link"
3756 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3757 *) ac_try_echo=$ac_try;;
3759 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3760 $as_echo "$ac_try_echo"; } >&5
3761 (eval "$ac_link") 2>&5
3763 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3764 test $ac_status = 0; }
3765 if { ac_try='./conftest$ac_cv_exeext'
3766 { { case "(($ac_try" in
3767 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
3768 *) ac_try_echo
=$ac_try;;
3770 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3771 $as_echo "$ac_try_echo"; } >&5
3772 (eval "$ac_try") 2>&5
3774 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3775 test $ac_status = 0; }; }; then
3778 if test "$cross_compiling" = maybe
; then
3781 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3782 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3783 as_fn_error $?
"cannot run C compiled programs.
3784 If you meant to cross compile, use \`--host'.
3785 See \`config.log' for more details" "$LINENO" 5; }
3789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3790 $as_echo "$cross_compiling" >&6; }
3792 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3793 ac_clean_files
=$ac_clean_files_save
3794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3795 $as_echo_n "checking for suffix of object files... " >&6; }
3796 if ${ac_cv_objext+:} false
; then :
3797 $as_echo_n "(cached) " >&6
3799 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3800 /* end confdefs.h. */
3810 rm -f conftest.o conftest.obj
3811 if { { ac_try
="$ac_compile"
3813 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3814 *) ac_try_echo=$ac_try;;
3816 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3817 $as_echo "$ac_try_echo"; } >&5
3818 (eval "$ac_compile") 2>&5
3820 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3821 test $ac_status = 0; }; then :
3822 for ac_file in conftest.o conftest.obj conftest.*; do
3823 test -f "$ac_file" || continue;
3825 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3826 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3831 $as_echo "$as_me: failed program was:" >&5
3832 sed 's/^/| /' conftest.$ac_ext >&5
3834 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3835 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3836 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3837 See \
`config.log' for more details" "$LINENO" 5; }
3839 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3842 $as_echo "$ac_cv_objext" >&6; }
3843 OBJEXT=$ac_cv_objext
3845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3846 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3847 if ${ac_cv_c_compiler_gnu+:} false; then :
3848 $as_echo_n "(cached) " >&6
3850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3851 /* end confdefs.h. */
3864 if ac_fn_c_try_compile "$LINENO"; then :
3869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3870 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3874 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3875 if test $ac_compiler_gnu = yes; then
3880 ac_test_CFLAGS=${CFLAGS+set}
3881 ac_save_CFLAGS=$CFLAGS
3882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3883 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3884 if ${ac_cv_prog_cc_g+:} false; then :
3885 $as_echo_n "(cached) " >&6
3887 ac_save_c_werror_flag=$ac_c_werror_flag
3888 ac_c_werror_flag=yes
3891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3892 /* end confdefs.h. */
3902 if ac_fn_c_try_compile "$LINENO"; then :
3906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3907 /* end confdefs.h. */
3917 if ac_fn_c_try_compile "$LINENO"; then :
3920 ac_c_werror_flag=$ac_save_c_werror_flag
3922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3923 /* end confdefs.h. */
3933 if ac_fn_c_try_compile "$LINENO"; then :
3936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3941 ac_c_werror_flag=$ac_save_c_werror_flag
3943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3944 $as_echo "$ac_cv_prog_cc_g" >&6; }
3945 if test "$ac_test_CFLAGS" = set; then
3946 CFLAGS=$ac_save_CFLAGS
3947 elif test $ac_cv_prog_cc_g = yes; then
3948 if test "$GCC" = yes; then
3954 if test "$GCC" = yes; then
3960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3961 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3962 if ${ac_cv_prog_cc_c89+:} false; then :
3963 $as_echo_n "(cached) " >&6
3965 ac_cv_prog_cc_c89=no
3967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3968 /* end confdefs.h. */
3972 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3973 struct buf { int x; };
3974 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3975 static char *e (p, i)
3981 static char *f (char * (*g) (char **, int), char **p, ...)
3986 s = g (p, va_arg (v,int));
3991 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3992 function prototypes and stuff, but not '\xHH' hex character constants.
3993 These don't provoke an error unfortunately, instead are silently treated
3994 as 'x'. The following induces an error, until -std is added to get
3995 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3996 array size at least. It's necessary to write '\x00'==0 to get something
3997 that's true only with -std. */
3998 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4000 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4001 inside strings and character constants. */
4003 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4005 int test (int i, double x);
4006 struct s1 {int (*f) (int a);};
4007 struct s2 {int (*f) (double a);};
4008 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4014 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4019 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4020 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4022 CC="$ac_save_CC $ac_arg"
4023 if ac_fn_c_try_compile "$LINENO"; then :
4024 ac_cv_prog_cc_c89=$ac_arg
4026 rm -f core conftest.err conftest.$ac_objext
4027 test "x$ac_cv_prog_cc_c89" != "xno" && break
4029 rm -f conftest.$ac_ext
4034 case "x$ac_cv_prog_cc_c89" in
4036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4037 $as_echo "none needed" >&6; } ;;
4039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4040 $as_echo "unsupported" >&6; } ;;
4042 CC="$CC $ac_cv_prog_cc_c89"
4043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4044 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4046 if test "x$ac_cv_prog_cc_c89" != xno; then :
4051 ac_cpp='$CPP $CPPFLAGS'
4052 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4053 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4054 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4057 ac_cpp='$CPP $CPPFLAGS'
4058 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4059 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4060 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4062 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4063 if ${am_cv_prog_cc_c_o+:} false; then :
4064 $as_echo_n "(cached) " >&6
4066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4067 /* end confdefs.h. */
4077 # Make sure it works both with $CC and with simple cc.
4078 # Following AC_PROG_CC_C_O, we do the test twice because some
4079 # compilers refuse to overwrite an existing .o file with -o,
4080 # though they will create one.
4081 am_cv_prog_cc_c_o=yes
4083 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4084 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4087 (exit $ac_status); } \
4088 && test -f conftest2.$ac_objext; then
4091 am_cv_prog_cc_c_o=no
4095 rm -f core conftest*
4098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4099 $as_echo "$am_cv_prog_cc_c_o" >&6; }
4100 if test "$am_cv_prog_cc_c_o" != yes; then
4101 # Losing compiler, so override with the script.
4102 # FIXME: It is wrong to rewrite CC.
4103 # But if we don't then we get into trouble of one sort or another.
4104 # A longer-term fix would be to have automake use am__CC in this case,
4105 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4106 CC="$am_aux_dir/compile $CC"
4109 ac_cpp='$CPP $CPPFLAGS'
4110 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4111 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4112 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4114 DEPDIR="${am__leading_dot}deps"
4116 ac_config_commands="$ac_config_commands depfiles"
4119 am_make=${MAKE-make}
4120 cat > confinc << 'END'
4122 @echo this is the am__doit target
4125 # If we don't find an include directive, just comment out the code.
4126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4127 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4131 # First try GNU make style include.
4132 echo "include confinc" > confmf
4133 # Ignore all kinds of additional output from 'make'.
4134 case `$am_make -s -f confmf
2> /dev
/null
` in #(
4135 *the\ am__doit\ target*)
4141 # Now try BSD make style include.
4142 if test "$am__include" = "#"; then
4143 echo '.include "confinc"' > confmf
4144 case `$am_make -s -f confmf
2> /dev
/null
` in #(
4145 *the\ am__doit\ target*)
4146 am__include=.include
4154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4155 $as_echo "$_am_result" >&6; }
4156 rm -f confinc confmf
4158 # Check whether --enable-dependency-tracking was given.
4159 if test "${enable_dependency_tracking+set}" = set; then :
4160 enableval=$enable_dependency_tracking;
4163 if test "x$enable_dependency_tracking" != xno; then
4164 am_depcomp="$ac_aux_dir/depcomp"
4168 if test "x$enable_dependency_tracking" != xno; then
4178 depcc="$CC" am_compiler_list=
4180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4181 $as_echo_n "checking dependency style of $depcc... " >&6; }
4182 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4183 $as_echo_n "(cached) " >&6
4185 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4186 # We make a subdir and do the tests there. Otherwise we can end up
4187 # making bogus files that we don't know about and never remove. For
4188 # instance it was reported that on HP-UX the gcc test will end up
4189 # making a dummy file named 'D' -- because '-MD' means "put the output
4193 # Copy depcomp to subdir because otherwise we won't find it if we're
4194 # using a relative directory.
4195 cp "$am_depcomp" conftest.dir
4197 # We will build objects and dependencies in a subdirectory because
4198 # it helps to detect inapplicable dependency modes. For instance
4199 # both Tru64's cc and ICC support -MD to output dependencies as a
4200 # side effect of compilation, but ICC will put the dependencies in
4201 # the current directory while Tru64 will put them in the object
4205 am_cv_CC_dependencies_compiler_type=none
4206 if test "$am_compiler_list" = ""; then
4207 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
4210 case " $depcc " in #(
4211 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4214 for depmode in $am_compiler_list; do
4215 # Setup a source with many dependencies, because some compilers
4216 # like to wrap large dependency lists on column 80 (with \), and
4217 # we should not choose a depcomp mode which is confused by this.
4219 # We need to recreate these files for each test, as the compiler may
4220 # overwrite some of them when testing with obscure command lines.
4221 # This happens at least with the AIX C compiler.
4223 for i in 1 2 3 4 5 6; do
4224 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4225 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4226 # Solaris 10 /bin/sh.
4227 echo '/* dummy */' > sub/conftst$i.h
4229 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4231 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4232 # mode. It turns out that the SunPro C++ compiler does not properly
4233 # handle '-M -o', and we need to detect this. Also, some Intel
4234 # versions had trouble with output in subdirs.
4235 am__obj=sub/conftest.${OBJEXT-o}
4236 am__minus_obj="-o $am__obj"
4239 # This depmode causes a compiler race in universal mode.
4240 test "$am__universal" = false || continue
4243 # After this tag, mechanisms are not by side-effect, so they'll
4244 # only be used when explicitly requested.
4245 if test "x$enable_dependency_tracking" = xyes; then
4251 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4252 # This compiler won't grok '-c -o', but also, the minuso test has
4253 # not run yet. These depmodes are late enough in the game, and
4254 # so weak that their functioning should not be impacted.
4255 am__obj=conftest.${OBJEXT-o}
4260 if depmode=$depmode \
4261 source=sub/conftest.c object=$am__obj \
4262 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4263 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4264 >/dev/null 2>conftest.err &&
4265 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4266 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4267 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4268 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4269 # icc doesn't choke on unknown options, it will just issue warnings
4270 # or remarks (even with -Werror). So we grep stderr for any message
4271 # that says an option was ignored or not supported.
4272 # When given -MP, icc 7.0 and 7.1 complain thusly:
4273 # icc: Command line warning: ignoring option '-M'; no argument required
4274 # The diagnosis changed in icc 8.0:
4275 # icc: Command line remark: option '-MP' not supported
4276 if (grep 'ignoring option' conftest.err ||
4277 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4278 am_cv_CC_dependencies_compiler_type=$depmode
4287 am_cv_CC_dependencies_compiler_type=none
4291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4292 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4293 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4296 test "x$enable_dependency_tracking" != xno \
4297 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4299 am__fastdepCC_FALSE='#'
4301 am__fastdepCC_TRUE='#'
4302 am__fastdepCC_FALSE=
4307 ac_cpp='$CXXCPP $CPPFLAGS'
4308 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4309 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4310 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4311 if test -z "$CXX"; then
4312 if test -n "$CCC"; then
4315 if test -n "$ac_tool_prefix"; then
4316 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4318 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4319 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4321 $as_echo_n "checking for $ac_word... " >&6; }
4322 if ${ac_cv_prog_CXX+:} false; then :
4323 $as_echo_n "(cached) " >&6
4325 if test -n "$CXX"; then
4326 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4328 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4332 test -z "$as_dir" && as_dir=.
4333 for ac_exec_ext in '' $ac_executable_extensions; do
4334 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4335 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4336 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4346 if test -n "$CXX"; then
4347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4348 $as_echo "$CXX" >&6; }
4350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4351 $as_echo "no" >&6; }
4355 test -n "$CXX" && break
4358 if test -z "$CXX"; then
4360 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4362 # Extract the first word of "$ac_prog", so it can be a program name with args.
4363 set dummy $ac_prog; ac_word=$2
4364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4365 $as_echo_n "checking for $ac_word... " >&6; }
4366 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4367 $as_echo_n "(cached) " >&6
4369 if test -n "$ac_ct_CXX"; then
4370 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4372 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4376 test -z "$as_dir" && as_dir=.
4377 for ac_exec_ext in '' $ac_executable_extensions; do
4378 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4379 ac_cv_prog_ac_ct_CXX="$ac_prog"
4380 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4389 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4390 if test -n "$ac_ct_CXX"; then
4391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4392 $as_echo "$ac_ct_CXX" >&6; }
4394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4395 $as_echo "no" >&6; }
4399 test -n "$ac_ct_CXX" && break
4402 if test "x$ac_ct_CXX" = x; then
4405 case $cross_compiling:$ac_tool_warned in
4407 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4408 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4409 ac_tool_warned=yes ;;
4417 # Provide some information about the compiler.
4418 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4421 for ac_option in --version -v -V -qversion; do
4422 { { ac_try="$ac_compiler $ac_option >&5"
4424 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
4425 *) ac_try_echo
=$ac_try;;
4427 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4428 $as_echo "$ac_try_echo"; } >&5
4429 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4431 if test -s conftest.err
; then
4433 ... rest of stderr output deleted ...
4434 10q' conftest.err
>conftest.er1
4435 cat conftest.er1
>&5
4437 rm -f conftest.er1 conftest.err
4438 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4439 test $ac_status = 0; }
4442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4443 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4444 if ${ac_cv_cxx_compiler_gnu+:} false
; then :
4445 $as_echo_n "(cached) " >&6
4447 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4448 /* end confdefs.h. */
4461 if ac_fn_cxx_try_compile
"$LINENO"; then :
4466 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4467 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
4470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4471 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4472 if test $ac_compiler_gnu = yes; then
4477 ac_test_CXXFLAGS
=${CXXFLAGS+set}
4478 ac_save_CXXFLAGS
=$CXXFLAGS
4479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4480 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4481 if ${ac_cv_prog_cxx_g+:} false
; then :
4482 $as_echo_n "(cached) " >&6
4484 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
4485 ac_cxx_werror_flag
=yes
4488 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4489 /* end confdefs.h. */
4499 if ac_fn_cxx_try_compile
"$LINENO"; then :
4500 ac_cv_prog_cxx_g
=yes
4503 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4504 /* end confdefs.h. */
4514 if ac_fn_cxx_try_compile
"$LINENO"; then :
4517 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4519 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4520 /* end confdefs.h. */
4530 if ac_fn_cxx_try_compile
"$LINENO"; then :
4531 ac_cv_prog_cxx_g
=yes
4533 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4535 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4537 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4538 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4541 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4542 if test "$ac_test_CXXFLAGS" = set; then
4543 CXXFLAGS
=$ac_save_CXXFLAGS
4544 elif test $ac_cv_prog_cxx_g = yes; then
4545 if test "$GXX" = yes; then
4551 if test "$GXX" = yes; then
4558 ac_cpp
='$CPP $CPPFLAGS'
4559 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4560 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4561 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4563 depcc
="$CXX" am_compiler_list
=
4565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4566 $as_echo_n "checking dependency style of $depcc... " >&6; }
4567 if ${am_cv_CXX_dependencies_compiler_type+:} false
; then :
4568 $as_echo_n "(cached) " >&6
4570 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4571 # We make a subdir and do the tests there. Otherwise we can end up
4572 # making bogus files that we don't know about and never remove. For
4573 # instance it was reported that on HP-UX the gcc test will end up
4574 # making a dummy file named 'D' -- because '-MD' means "put the output
4578 # Copy depcomp to subdir because otherwise we won't find it if we're
4579 # using a relative directory.
4580 cp "$am_depcomp" conftest.dir
4582 # We will build objects and dependencies in a subdirectory because
4583 # it helps to detect inapplicable dependency modes. For instance
4584 # both Tru64's cc and ICC support -MD to output dependencies as a
4585 # side effect of compilation, but ICC will put the dependencies in
4586 # the current directory while Tru64 will put them in the object
4590 am_cv_CXX_dependencies_compiler_type
=none
4591 if test "$am_compiler_list" = ""; then
4592 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4595 case " $depcc " in #(
4596 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
4599 for depmode
in $am_compiler_list; do
4600 # Setup a source with many dependencies, because some compilers
4601 # like to wrap large dependency lists on column 80 (with \), and
4602 # we should not choose a depcomp mode which is confused by this.
4604 # We need to recreate these files for each test, as the compiler may
4605 # overwrite some of them when testing with obscure command lines.
4606 # This happens at least with the AIX C compiler.
4608 for i
in 1 2 3 4 5 6; do
4609 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4610 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4611 # Solaris 10 /bin/sh.
4612 echo '/* dummy */' > sub
/conftst
$i.h
4614 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4616 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4617 # mode. It turns out that the SunPro C++ compiler does not properly
4618 # handle '-M -o', and we need to detect this. Also, some Intel
4619 # versions had trouble with output in subdirs.
4620 am__obj
=sub
/conftest.
${OBJEXT-o}
4621 am__minus_obj
="-o $am__obj"
4624 # This depmode causes a compiler race in universal mode.
4625 test "$am__universal" = false
|| continue
4628 # After this tag, mechanisms are not by side-effect, so they'll
4629 # only be used when explicitly requested.
4630 if test "x$enable_dependency_tracking" = xyes
; then
4636 msvc7
| msvc7msys
| msvisualcpp
| msvcmsys
)
4637 # This compiler won't grok '-c -o', but also, the minuso test has
4638 # not run yet. These depmodes are late enough in the game, and
4639 # so weak that their functioning should not be impacted.
4640 am__obj
=conftest.
${OBJEXT-o}
4645 if depmode
=$depmode \
4646 source=sub
/conftest.c object
=$am__obj \
4647 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4648 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4649 >/dev
/null
2>conftest.err
&&
4650 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4651 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4652 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4653 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4654 # icc doesn't choke on unknown options, it will just issue warnings
4655 # or remarks (even with -Werror). So we grep stderr for any message
4656 # that says an option was ignored or not supported.
4657 # When given -MP, icc 7.0 and 7.1 complain thusly:
4658 # icc: Command line warning: ignoring option '-M'; no argument required
4659 # The diagnosis changed in icc 8.0:
4660 # icc: Command line remark: option '-MP' not supported
4661 if (grep 'ignoring option' conftest.err
||
4662 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4663 am_cv_CXX_dependencies_compiler_type
=$depmode
4672 am_cv_CXX_dependencies_compiler_type
=none
4676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
4677 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
4678 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
4681 test "x$enable_dependency_tracking" != xno \
4682 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
4683 am__fastdepCXX_TRUE
=
4684 am__fastdepCXX_FALSE
='#'
4686 am__fastdepCXX_TRUE
='#'
4687 am__fastdepCXX_FALSE
=
4692 ac_cpp
='$OBJCXXCPP $CPPFLAGS'
4693 ac_compile
='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4694 ac_link
='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4695 ac_compiler_gnu
=$ac_cv_objcxx_compiler_gnu
4696 if test -n "$ac_tool_prefix"; then
4697 for ac_prog
in g
++ objc
++ objcxx c
++ CXX
4699 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4700 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4702 $as_echo_n "checking for $ac_word... " >&6; }
4703 if ${ac_cv_prog_OBJCXX+:} false
; then :
4704 $as_echo_n "(cached) " >&6
4706 if test -n "$OBJCXX"; then
4707 ac_cv_prog_OBJCXX
="$OBJCXX" # Let the user override the test.
4709 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4713 test -z "$as_dir" && as_dir
=.
4714 for ac_exec_ext
in '' $ac_executable_extensions; do
4715 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4716 ac_cv_prog_OBJCXX
="$ac_tool_prefix$ac_prog"
4717 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4726 OBJCXX
=$ac_cv_prog_OBJCXX
4727 if test -n "$OBJCXX"; then
4728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCXX" >&5
4729 $as_echo "$OBJCXX" >&6; }
4731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4732 $as_echo "no" >&6; }
4736 test -n "$OBJCXX" && break
4739 if test -z "$OBJCXX"; then
4740 ac_ct_OBJCXX
=$OBJCXX
4741 for ac_prog
in g
++ objc
++ objcxx c
++ CXX
4743 # Extract the first word of "$ac_prog", so it can be a program name with args.
4744 set dummy
$ac_prog; ac_word
=$2
4745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4746 $as_echo_n "checking for $ac_word... " >&6; }
4747 if ${ac_cv_prog_ac_ct_OBJCXX+:} false
; then :
4748 $as_echo_n "(cached) " >&6
4750 if test -n "$ac_ct_OBJCXX"; then
4751 ac_cv_prog_ac_ct_OBJCXX
="$ac_ct_OBJCXX" # Let the user override the test.
4753 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4757 test -z "$as_dir" && as_dir
=.
4758 for ac_exec_ext
in '' $ac_executable_extensions; do
4759 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4760 ac_cv_prog_ac_ct_OBJCXX
="$ac_prog"
4761 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4770 ac_ct_OBJCXX
=$ac_cv_prog_ac_ct_OBJCXX
4771 if test -n "$ac_ct_OBJCXX"; then
4772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJCXX" >&5
4773 $as_echo "$ac_ct_OBJCXX" >&6; }
4775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4776 $as_echo "no" >&6; }
4780 test -n "$ac_ct_OBJCXX" && break
4783 if test "x$ac_ct_OBJCXX" = x
; then
4786 case $cross_compiling:$ac_tool_warned in
4788 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4789 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4790 ac_tool_warned
=yes ;;
4792 OBJCXX
=$ac_ct_OBJCXX
4796 # Provide some information about the compiler.
4797 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Objective C++ compiler version" >&5
4800 for ac_option
in --version -v -V -qversion; do
4801 { { ac_try
="$ac_compiler $ac_option >&5"
4803 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
4804 *) ac_try_echo=$ac_try;;
4806 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4807 $as_echo "$ac_try_echo"; } >&5
4808 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4810 if test -s conftest.err; then
4812 ... rest of stderr output deleted ...
4813 10q' conftest.err >conftest.er1
4814 cat conftest.er1 >&5
4816 rm -f conftest.er1 conftest.err
4817 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4818 test $ac_status = 0; }
4821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Objective C++ compiler" >&5
4822 $as_echo_n "checking whether we are using the GNU Objective C++ compiler... " >&6; }
4823 if ${ac_cv_objcxx_compiler_gnu+:} false; then :
4824 $as_echo_n "(cached) " >&6
4826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4827 /* end confdefs.h. */
4840 if ac_fn_objcxx_try_compile "$LINENO"; then :
4845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4846 ac_cv_objcxx_compiler_gnu=$ac_compiler_gnu
4849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objcxx_compiler_gnu" >&5
4850 $as_echo "$ac_cv_objcxx_compiler_gnu" >&6; }
4851 if test $ac_compiler_gnu = yes; then
4856 ac_test_OBJCXXFLAGS=${OBJCXXFLAGS+set}
4857 ac_save_OBJCXXFLAGS=$OBJCXXFLAGS
4858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $OBJCXX accepts -g" >&5
4859 $as_echo_n "checking whether $OBJCXX accepts -g... " >&6; }
4860 if ${ac_cv_prog_objcxx_g+:} false; then :
4861 $as_echo_n "(cached) " >&6
4863 ac_save_objcxx_werror_flag=$ac_objcxx_werror_flag
4864 ac_objcxx_werror_flag=yes
4865 ac_cv_prog_objcxx_g=no
4867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4868 /* end confdefs.h. */
4878 if ac_fn_objcxx_try_compile "$LINENO"; then :
4879 ac_cv_prog_objcxx_g=yes
4882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4883 /* end confdefs.h. */
4893 if ac_fn_objcxx_try_compile "$LINENO"; then :
4896 ac_objcxx_werror_flag=$ac_save_objcxx_werror_flag
4898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4899 /* end confdefs.h. */
4909 if ac_fn_objcxx_try_compile "$LINENO"; then :
4910 ac_cv_prog_objcxx_g=yes
4912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4917 ac_objcxx_werror_flag=$ac_save_objcx_werror_flag
4919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objcxx_g" >&5
4920 $as_echo "$ac_cv_prog_objcxx_g" >&6; }
4921 if test "$ac_test_OBJCXXFLAGS" = set; then
4922 OBJCXXFLAGS=$ac_save_OBJCXXFLAGS
4923 elif test $ac_cv_prog_objcxx_g = yes; then
4924 if test "$GOBJCXX" = yes; then
4925 OBJCXXFLAGS="-g -O2"
4930 if test "$GOBJCXX" = yes; then
4937 ac_cpp='$CPP $CPPFLAGS'
4938 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4939 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4940 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4942 depcc="$OBJCXX" am_compiler_list='gcc3 gcc'
4944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4945 $as_echo_n "checking dependency style of $depcc... " >&6; }
4946 if ${am_cv_OBJCXX_dependencies_compiler_type+:} false; then :
4947 $as_echo_n "(cached) " >&6
4949 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4950 # We make a subdir and do the tests there. Otherwise we can end up
4951 # making bogus files that we don't know about and never remove. For
4952 # instance it was reported that on HP-UX the gcc test will end up
4953 # making a dummy file named 'D' -- because '-MD' means "put the output
4957 # Copy depcomp to subdir because otherwise we won't find it if we're
4958 # using a relative directory.
4959 cp "$am_depcomp" conftest.dir
4961 # We will build objects and dependencies in a subdirectory because
4962 # it helps to detect inapplicable dependency modes. For instance
4963 # both Tru64's cc and ICC support -MD to output dependencies as a
4964 # side effect of compilation, but ICC will put the dependencies in
4965 # the current directory while Tru64 will put them in the object
4969 am_cv_OBJCXX_dependencies_compiler_type=none
4970 if test "$am_compiler_list" = ""; then
4971 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
4976 for depmode in $am_compiler_list; do
4977 # Setup a source with many dependencies, because some compilers
4978 # like to wrap large dependency lists on column 80 (with \), and
4979 # we should not choose a depcomp mode which is confused by this.
4981 # We need to recreate these files for each test, as the compiler may
4982 # overwrite some of them when testing with obscure command lines.
4983 # This happens at least with the AIX C compiler.
4985 for i in 1 2 3 4 5 6; do
4986 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4987 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4988 # Solaris 10 /bin/sh.
4989 echo '/* dummy */' > sub/conftst$i.h
4991 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4993 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4994 # mode. It turns out that the SunPro C++ compiler does not properly
4995 # handle '-M -o', and we need to detect this. Also, some Intel
4996 # versions had trouble with output in subdirs.
4997 am__obj=sub/conftest.${OBJEXT-o}
4998 am__minus_obj="-o $am__obj"
5001 # This depmode causes a compiler race in universal mode.
5002 test "$am__universal" = false || continue
5005 # After this tag, mechanisms are not by side-effect, so they'll
5006 # only be used when explicitly requested.
5007 if test "x$enable_dependency_tracking" = xyes; then
5013 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
5014 # This compiler won't grok '-c -o', but also, the minuso test has
5015 # not run yet. These depmodes are late enough in the game, and
5016 # so weak that their functioning should not be impacted.
5017 am__obj=conftest.${OBJEXT-o}
5022 if depmode=$depmode \
5023 source=sub/conftest.c object=$am__obj \
5024 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5025 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5026 >/dev/null 2>conftest.err &&
5027 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5028 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5029 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5030 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5031 # icc doesn't choke on unknown options, it will just issue warnings
5032 # or remarks (even with -Werror). So we grep stderr for any message
5033 # that says an option was ignored or not supported.
5034 # When given -MP, icc 7.0 and 7.1 complain thusly:
5035 # icc: Command line warning: ignoring option '-M'; no argument required
5036 # The diagnosis changed in icc 8.0:
5037 # icc: Command line remark: option '-MP' not supported
5038 if (grep 'ignoring option' conftest.err ||
5039 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5040 am_cv_OBJCXX_dependencies_compiler_type=$depmode
5049 am_cv_OBJCXX_dependencies_compiler_type=none
5053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_OBJCXX_dependencies_compiler_type" >&5
5054 $as_echo "$am_cv_OBJCXX_dependencies_compiler_type" >&6; }
5055 OBJCXXDEPMODE=depmode=$am_cv_OBJCXX_dependencies_compiler_type
5058 test "x$enable_dependency_tracking" != xno \
5059 && test "$am_cv_OBJCXX_dependencies_compiler_type" = gcc3; then
5060 am__fastdepOBJCXX_TRUE=
5061 am__fastdepOBJCXX_FALSE='#'
5063 am__fastdepOBJCXX_TRUE='#'
5064 am__fastdepOBJCXX_FALSE=
5070 ac_cpp='$CPP $CPPFLAGS'
5071 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5072 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5073 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
5075 $as_echo_n "checking how to run the C preprocessor... " >&6; }
5076 # On Suns, sometimes $CPP names a directory.
5077 if test -n "$CPP" && test -d "$CPP"; then
5080 if test -z "$CPP"; then
5081 if ${ac_cv_prog_CPP+:} false; then :
5082 $as_echo_n "(cached) " >&6
5084 # Double quotes because CPP needs to be expanded
5085 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5088 for ac_c_preproc_warn_flag in '' yes
5090 # Use a header file that comes with gcc, so configuring glibc
5091 # with a fresh cross-compiler works.
5092 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5093 # <limits.h> exists even on freestanding compilers.
5094 # On the NeXT, cc -E runs the code through the compiler's parser,
5095 # not just through cpp. "Syntax error" is here to catch this case.
5096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5097 /* end confdefs.h. */
5099 # include <limits.h>
5101 # include <assert.h>
5105 if ac_fn_c_try_cpp "$LINENO"; then :
5108 # Broken: fails on valid input.
5111 rm -f conftest.err conftest.i conftest.$ac_ext
5113 # OK, works on sane cases. Now check whether nonexistent headers
5114 # can be detected and how.
5115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5116 /* end confdefs.h. */
5117 #include <ac_nonexistent.h>
5119 if ac_fn_c_try_cpp "$LINENO"; then :
5120 # Broken: success on invalid input.
5123 # Passes both tests.
5127 rm -f conftest.err conftest.i conftest.$ac_ext
5130 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5131 rm -f conftest.i conftest.err conftest.
$ac_ext
5132 if $ac_preproc_ok; then :
5144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5145 $as_echo "$CPP" >&6; }
5147 for ac_c_preproc_warn_flag
in '' yes
5149 # Use a header file that comes with gcc, so configuring glibc
5150 # with a fresh cross-compiler works.
5151 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5152 # <limits.h> exists even on freestanding compilers.
5153 # On the NeXT, cc -E runs the code through the compiler's parser,
5154 # not just through cpp. "Syntax error" is here to catch this case.
5155 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5156 /* end confdefs.h. */
5158 # include <limits.h>
5160 # include <assert.h>
5164 if ac_fn_c_try_cpp
"$LINENO"; then :
5167 # Broken: fails on valid input.
5170 rm -f conftest.err conftest.i conftest.
$ac_ext
5172 # OK, works on sane cases. Now check whether nonexistent headers
5173 # can be detected and how.
5174 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5175 /* end confdefs.h. */
5176 #include <ac_nonexistent.h>
5178 if ac_fn_c_try_cpp
"$LINENO"; then :
5179 # Broken: success on invalid input.
5182 # Passes both tests.
5186 rm -f conftest.err conftest.i conftest.
$ac_ext
5189 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5190 rm -f conftest.i conftest.err conftest.
$ac_ext
5191 if $ac_preproc_ok; then :
5194 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5195 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5196 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
5197 See \`config.log' for more details" "$LINENO" 5; }
5201 ac_cpp
='$CPP $CPPFLAGS'
5202 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5203 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5204 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5207 # Make sure we can run config.sub.
5208 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
5209 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
5211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
5212 $as_echo_n "checking build system type... " >&6; }
5213 if ${ac_cv_build+:} false
; then :
5214 $as_echo_n "(cached) " >&6
5216 ac_build_alias
=$build_alias
5217 test "x$ac_build_alias" = x
&&
5218 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
5219 test "x$ac_build_alias" = x
&&
5220 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
5221 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
5222 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
5225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
5226 $as_echo "$ac_cv_build" >&6; }
5227 case $ac_cv_build in
5229 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
5232 ac_save_IFS
=$IFS; IFS
='-'
5238 # Remember, the first character of IFS is used to create $*,
5239 # except with old shells:
5242 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
5245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
5246 $as_echo_n "checking host system type... " >&6; }
5247 if ${ac_cv_host+:} false
; then :
5248 $as_echo_n "(cached) " >&6
5250 if test "x$host_alias" = x
; then
5251 ac_cv_host
=$ac_cv_build
5253 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
5254 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
5258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
5259 $as_echo "$ac_cv_host" >&6; }
5262 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
5265 ac_save_IFS
=$IFS; IFS
='-'
5271 # Remember, the first character of IFS is used to create $*,
5272 # except with old shells:
5275 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
5280 save_cross_compiling
=$cross_compiling
5281 save_ac_tool_prefix
=$ac_tool_prefix
5286 ac_build_cpp
='$CPP_FOR_BUILD $CPPFLAGS_FOR_BUILD'
5287 ac_build_compile
='$CC_FOR_BUILD -c $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD conftest.$ac_ext >&5'
5288 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'
5289 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5290 if test -n "$ac_tool_prefix"; then
5291 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
5292 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
5293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5294 $as_echo_n "checking for $ac_word... " >&6; }
5295 if ${ac_cv_prog_CC_FOR_BUILD+:} false
; then :
5296 $as_echo_n "(cached) " >&6
5298 if test -n "$CC_FOR_BUILD"; then
5299 ac_cv_prog_CC_FOR_BUILD
="$CC_FOR_BUILD" # Let the user override the test.
5301 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5305 test -z "$as_dir" && as_dir
=.
5306 for ac_exec_ext
in '' $ac_executable_extensions; do
5307 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5308 ac_cv_prog_CC_FOR_BUILD
="${ac_tool_prefix}gcc"
5309 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5318 CC_FOR_BUILD
=$ac_cv_prog_CC_FOR_BUILD
5319 if test -n "$CC_FOR_BUILD"; then
5320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC_FOR_BUILD" >&5
5321 $as_echo "$CC_FOR_BUILD" >&6; }
5323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5324 $as_echo "no" >&6; }
5329 if test -z "$ac_cv_prog_CC_FOR_BUILD"; then
5330 ac_ct_CC_FOR_BUILD
=$CC_FOR_BUILD
5331 # Extract the first word of "gcc", so it can be a program name with args.
5332 set dummy gcc
; ac_word
=$2
5333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5334 $as_echo_n "checking for $ac_word... " >&6; }
5335 if ${ac_cv_prog_ac_ct_CC_FOR_BUILD+:} false
; then :
5336 $as_echo_n "(cached) " >&6
5338 if test -n "$ac_ct_CC_FOR_BUILD"; then
5339 ac_cv_prog_ac_ct_CC_FOR_BUILD
="$ac_ct_CC_FOR_BUILD" # Let the user override the test.
5341 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5345 test -z "$as_dir" && as_dir
=.
5346 for ac_exec_ext
in '' $ac_executable_extensions; do
5347 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5348 ac_cv_prog_ac_ct_CC_FOR_BUILD
="gcc"
5349 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5358 ac_ct_CC_FOR_BUILD
=$ac_cv_prog_ac_ct_CC_FOR_BUILD
5359 if test -n "$ac_ct_CC_FOR_BUILD"; then
5360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC_FOR_BUILD" >&5
5361 $as_echo "$ac_ct_CC_FOR_BUILD" >&6; }
5363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5364 $as_echo "no" >&6; }
5367 if test "x$ac_ct_CC_FOR_BUILD" = x
; then
5370 case $cross_compiling:$ac_tool_warned in
5372 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with build triplet" >&5
5373 $as_echo "$as_me: WARNING: using cross tools not prefixed with build triplet" >&2;}
5374 ac_tool_warned
=yes ;;
5376 CC_FOR_BUILD
=$ac_ct_CC_FOR_BUILD
5379 CC_FOR_BUILD
="$ac_cv_prog_CC_FOR_BUILD"
5382 if test -z "$CC_FOR_BUILD"; then
5383 if test -n "$ac_tool_prefix"; then
5384 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
5385 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
5386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5387 $as_echo_n "checking for $ac_word... " >&6; }
5388 if ${ac_cv_prog_CC_FOR_BUILD+:} false
; then :
5389 $as_echo_n "(cached) " >&6
5391 if test -n "$CC_FOR_BUILD"; then
5392 ac_cv_prog_CC_FOR_BUILD
="$CC_FOR_BUILD" # Let the user override the test.
5394 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5398 test -z "$as_dir" && as_dir
=.
5399 for ac_exec_ext
in '' $ac_executable_extensions; do
5400 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5401 ac_cv_prog_CC_FOR_BUILD
="${ac_tool_prefix}cc"
5402 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5411 CC_FOR_BUILD
=$ac_cv_prog_CC_FOR_BUILD
5412 if test -n "$CC_FOR_BUILD"; then
5413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC_FOR_BUILD" >&5
5414 $as_echo "$CC_FOR_BUILD" >&6; }
5416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5417 $as_echo "no" >&6; }
5423 if test -z "$CC_FOR_BUILD"; then
5424 # Extract the first word of "cc", so it can be a program name with args.
5425 set dummy cc
; ac_word
=$2
5426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5427 $as_echo_n "checking for $ac_word... " >&6; }
5428 if ${ac_cv_prog_CC_FOR_BUILD+:} false
; then :
5429 $as_echo_n "(cached) " >&6
5431 if test -n "$CC_FOR_BUILD"; then
5432 ac_cv_prog_CC_FOR_BUILD
="$CC_FOR_BUILD" # Let the user override the test.
5435 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5439 test -z "$as_dir" && as_dir
=.
5440 for ac_exec_ext
in '' $ac_executable_extensions; do
5441 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5442 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
5443 ac_prog_rejected
=yes
5446 ac_cv_prog_CC_FOR_BUILD
="cc"
5447 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5454 if test $ac_prog_rejected = yes; then
5455 # We found a bogon in the path, so make sure we never use it.
5456 set dummy
$ac_cv_prog_CC_FOR_BUILD
5458 if test $# != 0; then
5459 # We chose a different compiler from the bogus one.
5460 # However, it has the same basename, so the bogon will be chosen
5461 # first if we set CC_FOR_BUILD to just the basename; use the full file name.
5463 ac_cv_prog_CC_FOR_BUILD
="$as_dir/$ac_word${1+' '}$@"
5468 CC_FOR_BUILD
=$ac_cv_prog_CC_FOR_BUILD
5469 if test -n "$CC_FOR_BUILD"; then
5470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC_FOR_BUILD" >&5
5471 $as_echo "$CC_FOR_BUILD" >&6; }
5473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5474 $as_echo "no" >&6; }
5479 if test -z "$CC_FOR_BUILD"; then
5480 if test -n "$ac_tool_prefix"; then
5481 for ac_prog
in cl.exe
5483 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5484 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5486 $as_echo_n "checking for $ac_word... " >&6; }
5487 if ${ac_cv_prog_CC_FOR_BUILD+:} false
; then :
5488 $as_echo_n "(cached) " >&6
5490 if test -n "$CC_FOR_BUILD"; then
5491 ac_cv_prog_CC_FOR_BUILD
="$CC_FOR_BUILD" # Let the user override the test.
5493 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5497 test -z "$as_dir" && as_dir
=.
5498 for ac_exec_ext
in '' $ac_executable_extensions; do
5499 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5500 ac_cv_prog_CC_FOR_BUILD
="$ac_tool_prefix$ac_prog"
5501 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5510 CC_FOR_BUILD
=$ac_cv_prog_CC_FOR_BUILD
5511 if test -n "$CC_FOR_BUILD"; then
5512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC_FOR_BUILD" >&5
5513 $as_echo "$CC_FOR_BUILD" >&6; }
5515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5516 $as_echo "no" >&6; }
5520 test -n "$CC_FOR_BUILD" && break
5523 if test -z "$CC_FOR_BUILD"; then
5524 ac_ct_CC_FOR_BUILD
=$CC_FOR_BUILD
5525 for ac_prog
in cl.exe
5527 # Extract the first word of "$ac_prog", so it can be a program name with args.
5528 set dummy
$ac_prog; ac_word
=$2
5529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5530 $as_echo_n "checking for $ac_word... " >&6; }
5531 if ${ac_cv_prog_ac_ct_CC_FOR_BUILD+:} false
; then :
5532 $as_echo_n "(cached) " >&6
5534 if test -n "$ac_ct_CC_FOR_BUILD"; then
5535 ac_cv_prog_ac_ct_CC_FOR_BUILD
="$ac_ct_CC_FOR_BUILD" # Let the user override the test.
5537 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5541 test -z "$as_dir" && as_dir
=.
5542 for ac_exec_ext
in '' $ac_executable_extensions; do
5543 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5544 ac_cv_prog_ac_ct_CC_FOR_BUILD
="$ac_prog"
5545 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5554 ac_ct_CC_FOR_BUILD
=$ac_cv_prog_ac_ct_CC_FOR_BUILD
5555 if test -n "$ac_ct_CC_FOR_BUILD"; then
5556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC_FOR_BUILD" >&5
5557 $as_echo "$ac_ct_CC_FOR_BUILD" >&6; }
5559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5560 $as_echo "no" >&6; }
5564 test -n "$ac_ct_CC_FOR_BUILD" && break
5567 if test "x$ac_ct_CC_FOR_BUILD" = x
; then
5570 case $cross_compiling:$ac_tool_warned in
5572 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with build triplet" >&5
5573 $as_echo "$as_me: WARNING: using cross tools not prefixed with build triplet" >&2;}
5574 ac_tool_warned
=yes ;;
5576 CC_FOR_BUILD
=$ac_ct_CC_FOR_BUILD
5583 test -z "$CC_FOR_BUILD" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5584 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5585 as_fn_error $?
"no acceptable C compiler found in \$PATH
5586 See \`config.log' for more details" "$LINENO" 5; }
5588 # Provide some information about the compiler.
5589 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5590 set X
$ac_build_compile
5592 for ac_option
in --version -v -V -qversion; do
5593 { { ac_try
="$ac_compiler $ac_option >&5"
5595 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
5596 *) ac_try_echo=$ac_try;;
5598 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5599 $as_echo "$ac_try_echo"; } >&5
5600 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5602 if test -s conftest.err; then
5604 ... rest of stderr output deleted ...
5605 10q' conftest.err >conftest.er1
5606 cat conftest.er1 >&5
5608 rm -f conftest.er1 conftest.err
5609 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5610 test $ac_status = 0; }
5613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
5614 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
5615 if ${ac_cv_c_compiler_gnu+:} false; then :
5616 $as_echo_n "(cached) " >&6
5618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5619 /* end confdefs.h. */
5632 if ac_fn_c_try_compile "$LINENO"; then :
5637 rm -f core conftest.err conftest.$ac_build_objext conftest.$ac_ext
5638 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5642 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
5643 if test $ac_compiler_gnu = yes; then
5648 ac_test_CFLAGS=${CFLAGS_FOR_BUILD+set}
5649 ac_save_CFLAGS=$CFLAGS_FOR_BUILD
5650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD accepts -g" >&5
5651 $as_echo_n "checking whether $CC_FOR_BUILD accepts -g... " >&6; }
5652 if ${ac_cv_build_prog_cc_g+:} false; then :
5653 $as_echo_n "(cached) " >&6
5655 ac_save_c_werror_flag=$ac_c_werror_flag
5656 ac_c_werror_flag=yes
5657 ac_cv_build_prog_cc_g=no
5658 CFLAGS_FOR_BUILD="-g"
5659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5660 /* end confdefs.h. */
5670 if ac_fn_c_try_compile "$LINENO"; then :
5671 ac_cv_build_prog_cc_g=yes
5674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5675 /* end confdefs.h. */
5685 if ac_fn_c_try_compile "$LINENO"; then :
5688 ac_c_werror_flag=$ac_save_c_werror_flag
5689 CFLAGS_FOR_BUILD="-g"
5690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5691 /* end confdefs.h. */
5701 if ac_fn_c_try_compile "$LINENO"; then :
5702 ac_cv_build_prog_cc_g=yes
5704 rm -f core conftest.err conftest.$ac_build_objext conftest.$ac_ext
5706 rm -f core conftest.err conftest.$ac_build_objext conftest.$ac_ext
5708 rm -f core conftest.err conftest.$ac_build_objext conftest.$ac_ext
5709 ac_c_werror_flag=$ac_save_c_werror_flag
5711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build_prog_cc_g" >&5
5712 $as_echo "$ac_cv_build_prog_cc_g" >&6; }
5713 if test "$ac_test_CFLAGS" = set; then
5714 CFLAGS_FOR_BUILD=$ac_save_CFLAGS
5715 elif test $ac_cv_build_prog_cc_g = yes; then
5716 if test "$GCC" = yes; then
5717 CFLAGS_FOR_BUILD="-g -O2"
5719 CFLAGS_FOR_BUILD="-g"
5722 if test "$GCC" = yes; then
5723 CFLAGS_FOR_BUILD="-O2"
5728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC_FOR_BUILD option to accept ISO C89" >&5
5729 $as_echo_n "checking for $CC_FOR_BUILD option to accept ISO C89... " >&6; }
5730 if ${ac_cv_prog_cc_c89+:} false; then :
5731 $as_echo_n "(cached) " >&6
5733 ac_cv_prog_cc_c89=no
5734 ac_save_CC=$CC_FOR_BUILD
5735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5736 /* end confdefs.h. */
5740 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5741 struct buf { int x; };
5742 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5743 static char *e (p, i)
5749 static char *f (char * (*g) (char **, int), char **p, ...)
5754 s = g (p, va_arg (v,int));
5759 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5760 function prototypes and stuff, but not '\xHH' hex character constants.
5761 These don't provoke an error unfortunately, instead are silently treated
5762 as 'x'. The following induces an error, until -std is added to get
5763 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5764 array size at least. It's necessary to write '\x00'==0 to get something
5765 that's true only with -std. */
5766 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5768 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5769 inside strings and character constants. */
5771 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5773 int test (int i, double x);
5774 struct s1 {int (*f) (int a);};
5775 struct s2 {int (*f) (double a);};
5776 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5782 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5787 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5788 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5790 CC_FOR_BUILD="$ac_save_CC $ac_arg"
5791 if ac_fn_c_try_compile "$LINENO"; then :
5792 ac_cv_prog_cc_c89=$ac_arg
5794 rm -f core conftest.err conftest.$ac_build_objext
5795 test "x$ac_cv_prog_cc_c89" != "xno" && break
5797 rm -f conftest.$ac_ext
5798 CC_FOR_BUILD=$ac_save_CC
5802 case "x$ac_cv_prog_cc_c89" in
5804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5805 $as_echo "none needed" >&6; } ;;
5807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5808 $as_echo "unsupported" >&6; } ;;
5810 CC_FOR_BUILD="$CC_FOR_BUILD $ac_cv_prog_cc_c89"
5811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5812 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5814 if test "x$ac_cv_prog_cc_c89" != xno; then :
5819 ac_build_cpp='$CPP_FOR_BUILD $CPPFLAGS_FOR_BUILD'
5820 ac_build_compile='$CC_FOR_BUILD -c $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD conftest.$ac_ext >&5'
5821 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'
5822 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5825 ac_build_cpp='$CPP_FOR_BUILD $CPPFLAGS_FOR_BUILD'
5826 ac_build_compile='$CC_FOR_BUILD -c $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD conftest.$ac_ext >&5'
5827 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'
5828 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD understands -c and -o together" >&5
5830 $as_echo_n "checking whether $CC_FOR_BUILD understands -c and -o together... " >&6; }
5831 if ${am_cv_prog_cc_c_o+:} false; then :
5832 $as_echo_n "(cached) " >&6
5834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5835 /* end confdefs.h. */
5845 # Make sure it works both with $CC and with simple cc.
5846 # Following AC_PROG_CC_C_O, we do the test twice because some
5847 # compilers refuse to overwrite an existing .o file with -o,
5848 # though they will create one.
5849 am_cv_prog_cc_c_o=yes
5851 if { echo "$as_me:$LINENO: $CC_FOR_BUILD -c conftest.$ac_ext -o conftest2.$ac_build_objext" >&5
5852 ($CC_FOR_BUILD -c conftest.$ac_ext -o conftest2.$ac_build_objext) >&5 2>&5
5854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5855 (exit $ac_status); } \
5856 && test -f conftest2.$ac_build_objext; then
5859 am_cv_prog_cc_c_o=no
5863 rm -f core conftest*
5866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
5867 $as_echo "$am_cv_prog_cc_c_o" >&6; }
5868 if test "$am_cv_prog_cc_c_o" != yes; then
5869 # Losing compiler, so override with the script.
5870 # FIXME: It is wrong to rewrite CC.
5871 # But if we don't then we get into trouble of one sort or another.
5872 # A longer-term fix would be to have automake use am__CC in this case,
5873 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
5874 CC_FOR_BUILD="$am_aux_dir/compile $CC_FOR_BUILD"
5877 ac_build_cpp='$CPP_FOR_BUILD $CPPFLAGS_FOR_BUILD'
5878 ac_build_compile='$CC_FOR_BUILD -c $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD conftest.$ac_ext >&5'
5879 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'
5880 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5883 depcc="$CC_FOR_BUILD" am_compiler_list=
5885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5886 $as_echo_n "checking dependency style of $depcc... " >&6; }
5887 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
5888 $as_echo_n "(cached) " >&6
5890 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5891 # We make a subdir and do the tests there. Otherwise we can end up
5892 # making bogus files that we don't know about and never remove. For
5893 # instance it was reported that on HP-UX the gcc test will end up
5894 # making a dummy file named 'D' -- because '-MD' means "put the output
5898 # Copy depcomp to subdir because otherwise we won't find it if we're
5899 # using a relative directory.
5900 cp "$am_depcomp" conftest.dir
5902 # We will build objects and dependencies in a subdirectory because
5903 # it helps to detect inapplicable dependency modes. For instance
5904 # both Tru64's cc and ICC support -MD to output dependencies as a
5905 # side effect of compilation, but ICC will put the dependencies in
5906 # the current directory while Tru64 will put them in the object
5910 am_cv_CC_dependencies_compiler_type=none
5911 if test "$am_compiler_list" = ""; then
5912 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
5915 case " $depcc " in #(
5916 *\ -arch\ *\ -arch\ *) am__universal=true ;;
5919 for depmode in $am_compiler_list; do
5920 # Setup a source with many dependencies, because some compilers
5921 # like to wrap large dependency lists on column 80 (with \), and
5922 # we should not choose a depcomp mode which is confused by this.
5924 # We need to recreate these files for each test, as the compiler may
5925 # overwrite some of them when testing with obscure command lines.
5926 # This happens at least with the AIX C compiler.
5928 for i in 1 2 3 4 5 6; do
5929 echo '#include "conftst'$i'.h"' >> sub/conftest.c
5930 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
5931 # Solaris 10 /bin/sh.
5932 echo '/* dummy */' > sub/conftst$i.h
5934 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5936 # We check with '-c' and '-o' for the sake of the "dashmstdout"
5937 # mode. It turns out that the SunPro C++ compiler does not properly
5938 # handle '-M -o', and we need to detect this. Also, some Intel
5939 # versions had trouble with output in subdirs.
5940 am__obj=sub/conftest.${OBJEXT-o}
5941 am__minus_obj="-o $am__obj"
5944 # This depmode causes a compiler race in universal mode.
5945 test "$am__universal" = false || continue
5948 # After this tag, mechanisms are not by side-effect, so they'll
5949 # only be used when explicitly requested.
5950 if test "x$enable_dependency_tracking" = xyes; then
5956 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
5957 # This compiler won't grok '-c -o', but also, the minuso test has
5958 # not run yet. These depmodes are late enough in the game, and
5959 # so weak that their functioning should not be impacted.
5960 am__obj=conftest.${OBJEXT-o}
5965 if depmode=$depmode \
5966 source=sub/conftest.c object=$am__obj \
5967 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5968 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5969 >/dev/null 2>conftest.err &&
5970 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5971 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5972 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5973 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5974 # icc doesn't choke on unknown options, it will just issue warnings
5975 # or remarks (even with -Werror). So we grep stderr for any message
5976 # that says an option was ignored or not supported.
5977 # When given -MP, icc 7.0 and 7.1 complain thusly:
5978 # icc: Command line warning: ignoring option '-M'; no argument required
5979 # The diagnosis changed in icc 8.0:
5980 # icc: Command line remark: option '-MP' not supported
5981 if (grep 'ignoring option' conftest.err ||
5982 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5983 am_cv_CC_dependencies_compiler_type=$depmode
5992 am_cv_CC_dependencies_compiler_type=none
5996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5997 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5998 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
6001 test "x$enable_dependency_tracking" != xno \
6002 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
6004 am__fastdepCC_FALSE='#'
6006 am__fastdepCC_TRUE='#'
6007 am__fastdepCC_FALSE=
6012 ac_build_cpp='$CPP_FOR_BUILD $CPPFLAGS_FOR_BUILD'
6013 ac_build_compile='$CC_FOR_BUILD -c $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD conftest.$ac_ext >&5'
6014 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'
6015 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6017 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6018 # On Suns, sometimes $CPP names a directory.
6019 if test -n "$CPP_FOR_BUILD" && test -d "$CPP_FOR_BUILD"; then
6022 if test -z "$CPP_FOR_BUILD"; then
6023 if ${ac_cv_build_prog_CPP+:} false; then :
6024 $as_echo_n "(cached) " >&6
6026 # Double quotes because CPP needs to be expanded
6027 for CPP_FOR_BUILD in "$CC_FOR_BUILD -E" "$CC_FOR_BUILD -E -traditional-cpp" "/lib/cpp"
6030 for ac_c_preproc_warn_flag in '' yes
6032 # Use a header file that comes with gcc, so configuring glibc
6033 # with a fresh cross-compiler works.
6034 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6035 # <limits.h> exists even on freestanding compilers.
6036 # On the NeXT, cc -E runs the code through the compiler's parser,
6037 # not just through cpp. "Syntax error" is here to catch this case.
6038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6039 /* end confdefs.h. */
6041 # include <limits.h>
6043 # include <assert.h>
6047 if ac_fn_c_try_cpp "$LINENO"; then :
6050 # Broken: fails on valid input.
6053 rm -f conftest.err conftest.i conftest.$ac_ext
6055 # OK, works on sane cases. Now check whether nonexistent headers
6056 # can be detected and how.
6057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6058 /* end confdefs.h. */
6059 #include <ac_nonexistent.h>
6061 if ac_fn_c_try_cpp "$LINENO"; then :
6062 # Broken: success on invalid input.
6065 # Passes both tests.
6069 rm -f conftest.err conftest.i conftest.$ac_ext
6072 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6073 rm -f conftest.i conftest.err conftest.
$ac_ext
6074 if $ac_preproc_ok; then :
6079 ac_cv_build_prog_CPP
=$CPP_FOR_BUILD
6082 CPP_FOR_BUILD
=$ac_cv_build_prog_CPP
6084 ac_cv_build_prog_CPP
=$CPP_FOR_BUILD
6086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP_FOR_BUILD" >&5
6087 $as_echo "$CPP_FOR_BUILD" >&6; }
6089 for ac_c_preproc_warn_flag
in '' yes
6091 # Use a header file that comes with gcc, so configuring glibc
6092 # with a fresh cross-compiler works.
6093 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6094 # <limits.h> exists even on freestanding compilers.
6095 # On the NeXT, cc -E runs the code through the compiler's parser,
6096 # not just through cpp. "Syntax error" is here to catch this case.
6097 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6098 /* end confdefs.h. */
6100 # include <limits.h>
6102 # include <assert.h>
6106 if ac_fn_c_try_cpp
"$LINENO"; then :
6109 # Broken: fails on valid input.
6112 rm -f conftest.err conftest.i conftest.
$ac_ext
6114 # OK, works on sane cases. Now check whether nonexistent headers
6115 # can be detected and how.
6116 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6117 /* end confdefs.h. */
6118 #include <ac_nonexistent.h>
6120 if ac_fn_c_try_cpp
"$LINENO"; then :
6121 # Broken: success on invalid input.
6124 # Passes both tests.
6128 rm -f conftest.err conftest.i conftest.
$ac_ext
6131 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6132 rm -f conftest.i conftest.err conftest.
$ac_ext
6133 if $ac_preproc_ok; then :
6136 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6137 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6138 as_fn_error $?
"C preprocessor \"$CPP_FOR_BUILD\" fails sanity check
6139 See \`config.log' for more details" "$LINENO" 5; }
6143 ac_build_cpp
='$CPP_FOR_BUILD $CPPFLAGS_FOR_BUILD'
6144 ac_build_compile
='$CC_FOR_BUILD -c $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD conftest.$ac_ext >&5'
6145 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'
6146 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6150 ac_tool_prefix
=$save_ac_tool_prefix
6151 cross_compiling
=$save_cross_compiling
6154 BUILD_EXEEXT
=$ac_build_exeext
6155 BUILD_OBJEXT
=$ac_build_objext
6158 ac_cpp
='$CXXCPP $CPPFLAGS'
6159 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6160 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6161 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
6162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
6163 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
6164 if test -z "$CXXCPP"; then
6165 if ${ac_cv_prog_CXXCPP+:} false
; then :
6166 $as_echo_n "(cached) " >&6
6168 # Double quotes because CXXCPP needs to be expanded
6169 for CXXCPP
in "$CXX -E" "/lib/cpp"
6172 for ac_cxx_preproc_warn_flag
in '' yes
6174 # Use a header file that comes with gcc, so configuring glibc
6175 # with a fresh cross-compiler works.
6176 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6177 # <limits.h> exists even on freestanding compilers.
6178 # On the NeXT, cc -E runs the code through the compiler's parser,
6179 # not just through cpp. "Syntax error" is here to catch this case.
6180 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6181 /* end confdefs.h. */
6183 # include <limits.h>
6185 # include <assert.h>
6189 if ac_fn_cxx_try_cpp
"$LINENO"; then :
6192 # Broken: fails on valid input.
6195 rm -f conftest.err conftest.i conftest.
$ac_ext
6197 # OK, works on sane cases. Now check whether nonexistent headers
6198 # can be detected and how.
6199 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6200 /* end confdefs.h. */
6201 #include <ac_nonexistent.h>
6203 if ac_fn_cxx_try_cpp
"$LINENO"; then :
6204 # Broken: success on invalid input.
6207 # Passes both tests.
6211 rm -f conftest.err conftest.i conftest.
$ac_ext
6214 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6215 rm -f conftest.i conftest.err conftest.
$ac_ext
6216 if $ac_preproc_ok; then :
6221 ac_cv_prog_CXXCPP
=$CXXCPP
6224 CXXCPP
=$ac_cv_prog_CXXCPP
6226 ac_cv_prog_CXXCPP
=$CXXCPP
6228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
6229 $as_echo "$CXXCPP" >&6; }
6231 for ac_cxx_preproc_warn_flag
in '' yes
6233 # Use a header file that comes with gcc, so configuring glibc
6234 # with a fresh cross-compiler works.
6235 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6236 # <limits.h> exists even on freestanding compilers.
6237 # On the NeXT, cc -E runs the code through the compiler's parser,
6238 # not just through cpp. "Syntax error" is here to catch this case.
6239 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6240 /* end confdefs.h. */
6242 # include <limits.h>
6244 # include <assert.h>
6248 if ac_fn_cxx_try_cpp
"$LINENO"; then :
6251 # Broken: fails on valid input.
6254 rm -f conftest.err conftest.i conftest.
$ac_ext
6256 # OK, works on sane cases. Now check whether nonexistent headers
6257 # can be detected and how.
6258 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6259 /* end confdefs.h. */
6260 #include <ac_nonexistent.h>
6262 if ac_fn_cxx_try_cpp
"$LINENO"; then :
6263 # Broken: success on invalid input.
6266 # Passes both tests.
6270 rm -f conftest.err conftest.i conftest.
$ac_ext
6273 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6274 rm -f conftest.i conftest.err conftest.
$ac_ext
6275 if $ac_preproc_ok; then :
6278 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6279 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6280 as_fn_error $?
"C++ preprocessor \"$CXXCPP\" fails sanity check
6281 See \`config.log' for more details" "$LINENO" 5; }
6285 ac_cpp
='$CPP $CPPFLAGS'
6286 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6287 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6288 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6292 save_cross_compiling
=$cross_compiling
6293 save_ac_tool_prefix
=$ac_tool_prefix
6298 ac_cpp
='$CXXCPP_FOR_BUILD $CPPFLAGS_FOR_BUILD'
6299 ac_build_compile
='$CXX_FOR_BUILD -c $CXXFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD conftest.$ac_ext >&5'
6300 ac_build_link
='$CXX_FOR_BUILD -o conftest$ac_exeext $CXXFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD $LDFLAGS conftest.$ac_ext $LIBS >&5'
6301 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
6302 if test -z "$CXX_FOR_BUILD"; then
6303 if test -n "$CCC"; then
6306 if test -n "$ac_tool_prefix"; then
6307 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
6309 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6310 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
6311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6312 $as_echo_n "checking for $ac_word... " >&6; }
6313 if ${ac_cv_prog_CXX_FOR_BUILD+:} false
; then :
6314 $as_echo_n "(cached) " >&6
6316 if test -n "$CXX_FOR_BUILD"; then
6317 ac_cv_prog_CXX_FOR_BUILD
="$CXX_FOR_BUILD" # Let the user override the test.
6319 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6323 test -z "$as_dir" && as_dir
=.
6324 for ac_exec_ext
in '' $ac_executable_extensions; do
6325 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6326 ac_cv_prog_CXX_FOR_BUILD
="$ac_tool_prefix$ac_prog"
6327 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6336 CXX_FOR_BUILD
=$ac_cv_prog_CXX_FOR_BUILD
6337 if test -n "$CXX_FOR_BUILD"; then
6338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX_FOR_BUILD" >&5
6339 $as_echo "$CXX_FOR_BUILD" >&6; }
6341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6342 $as_echo "no" >&6; }
6346 test -n "$CXX_FOR_BUILD" && break
6349 if test -z "$CXX_FOR_BUILD"; then
6350 ac_ct_CXX_FOR_BUILD
=$CXX_FOR_BUILD
6351 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
6353 # Extract the first word of "$ac_prog", so it can be a program name with args.
6354 set dummy
$ac_prog; ac_word
=$2
6355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6356 $as_echo_n "checking for $ac_word... " >&6; }
6357 if ${ac_cv_prog_ac_ct_CXX_FOR_BUILD+:} false
; then :
6358 $as_echo_n "(cached) " >&6
6360 if test -n "$ac_ct_CXX_FOR_BUILD"; then
6361 ac_cv_prog_ac_ct_CXX_FOR_BUILD
="$ac_ct_CXX_FOR_BUILD" # Let the user override the test.
6363 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6367 test -z "$as_dir" && as_dir
=.
6368 for ac_exec_ext
in '' $ac_executable_extensions; do
6369 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6370 ac_cv_prog_ac_ct_CXX_FOR_BUILD
="$ac_prog"
6371 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6380 ac_ct_CXX_FOR_BUILD
=$ac_cv_prog_ac_ct_CXX_FOR_BUILD
6381 if test -n "$ac_ct_CXX_FOR_BUILD"; then
6382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX_FOR_BUILD" >&5
6383 $as_echo "$ac_ct_CXX_FOR_BUILD" >&6; }
6385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6386 $as_echo "no" >&6; }
6390 test -n "$ac_ct_CXX_FOR_BUILD" && break
6393 if test "x$ac_ct_CXX_FOR_BUILD" = x
; then
6396 case $cross_compiling:$ac_tool_warned in
6398 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with build triplet" >&5
6399 $as_echo "$as_me: WARNING: using cross tools not prefixed with build triplet" >&2;}
6400 ac_tool_warned
=yes ;;
6402 CXX_FOR_BUILD
=$ac_ct_CXX_FOR_BUILD
6408 # Provide some information about the compiler.
6409 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
6410 set X
$ac_build_compile
6412 for ac_option
in --version -v -V -qversion; do
6413 { { ac_try
="$ac_compiler $ac_option >&5"
6415 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
6416 *) ac_try_echo=$ac_try;;
6418 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
6419 $as_echo "$ac_try_echo"; } >&5
6420 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
6422 if test -s conftest.err; then
6424 ... rest of stderr output deleted ...
6425 10q' conftest.err >conftest.er1
6426 cat conftest.er1 >&5
6428 rm -f conftest.er1 conftest.err
6429 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6430 test $ac_status = 0; }
6433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
6434 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
6435 if ${ac_cv_cxx_compiler_gnu+:} false; then :
6436 $as_echo_n "(cached) " >&6
6438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6439 /* end confdefs.h. */
6452 if ac_fn_cxx_try_compile "$LINENO"; then :
6457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6458 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
6461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
6462 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
6463 if test $ac_compiler_gnu = yes; then
6468 ac_test_CXXFLAGS=${CXXFLAGS_FOR_BUILD+set}
6469 ac_save_CXXFLAGS=$CXXFLAGS_FOR_BUILD
6470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX_FOR_BUILD accepts -g" >&5
6471 $as_echo_n "checking whether $CXX_FOR_BUILD accepts -g... " >&6; }
6472 if ${ac_cv_build_prog_cxx_g+:} false; then :
6473 $as_echo_n "(cached) " >&6
6475 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
6476 ac_cxx_werror_flag=yes
6477 ac_cv_build_prog_cxx_g=no
6478 CXXFLAGS_FOR_BUILD="-g"
6479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6480 /* end confdefs.h. */
6490 if ac_fn_cxx_try_compile "$LINENO"; then :
6491 ac_cv_build_prog_cxx_g=yes
6493 CXXFLAGS_FOR_BUILD=""
6494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6495 /* end confdefs.h. */
6505 if ac_fn_cxx_try_compile "$LINENO"; then :
6508 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
6509 CXXFLAGS_FOR_BUILD="-g"
6510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6511 /* end confdefs.h. */
6521 if ac_fn_cxx_try_compile "$LINENO"; then :
6522 ac_cv_build_prog_cxx_g=yes
6524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6529 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
6531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build_prog_cxx_g" >&5
6532 $as_echo "$ac_cv_build_prog_cxx_g" >&6; }
6533 if test "$ac_test_CXXFLAGS" = set; then
6534 CXXFLAGS_FOR_BUILD=$ac_save_CXXFLAGS
6535 elif test $ac_cv_build_prog_cxx_g = yes; then
6536 if test "$GXX" = yes; then
6537 CXXFLAGS_FOR_BUILD="-g -O2"
6539 CXXFLAGS_FOR_BUILD="-g"
6542 if test "$GXX" = yes; then
6543 CXXFLAGS_FOR_BUILD="-O2"
6549 ac_cpp='$CPP $CPPFLAGS_FOR_BUILD'
6550 ac_build_compile='$CC -c $CFLAGS $CPPFLAGS_FOR_BUILD conftest.$ac_ext >&5'
6551 ac_build_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS_FOR_BUILD $LDFLAGS conftest.$ac_ext $LIBS >&5'
6552 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6554 depcc="$CXX_FOR_BUILD" am_compiler_list=
6556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
6557 $as_echo_n "checking dependency style of $depcc... " >&6; }
6558 if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
6559 $as_echo_n "(cached) " >&6
6561 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
6562 # We make a subdir and do the tests there. Otherwise we can end up
6563 # making bogus files that we don't know about and never remove. For
6564 # instance it was reported that on HP-UX the gcc test will end up
6565 # making a dummy file named 'D' -- because '-MD' means "put the output
6569 # Copy depcomp to subdir because otherwise we won't find it if we're
6570 # using a relative directory.
6571 cp "$am_depcomp" conftest.dir
6573 # We will build objects and dependencies in a subdirectory because
6574 # it helps to detect inapplicable dependency modes. For instance
6575 # both Tru64's cc and ICC support -MD to output dependencies as a
6576 # side effect of compilation, but ICC will put the dependencies in
6577 # the current directory while Tru64 will put them in the object
6581 am_cv_CXX_dependencies_compiler_type=none
6582 if test "$am_compiler_list" = ""; then
6583 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
6586 case " $depcc " in #(
6587 *\ -arch\ *\ -arch\ *) am__universal=true ;;
6590 for depmode in $am_compiler_list; do
6591 # Setup a source with many dependencies, because some compilers
6592 # like to wrap large dependency lists on column 80 (with \), and
6593 # we should not choose a depcomp mode which is confused by this.
6595 # We need to recreate these files for each test, as the compiler may
6596 # overwrite some of them when testing with obscure command lines.
6597 # This happens at least with the AIX C compiler.
6599 for i in 1 2 3 4 5 6; do
6600 echo '#include "conftst'$i'.h"' >> sub/conftest.c
6601 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
6602 # Solaris 10 /bin/sh.
6603 echo '/* dummy */' > sub/conftst$i.h
6605 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
6607 # We check with '-c' and '-o' for the sake of the "dashmstdout"
6608 # mode. It turns out that the SunPro C++ compiler does not properly
6609 # handle '-M -o', and we need to detect this. Also, some Intel
6610 # versions had trouble with output in subdirs.
6611 am__obj=sub/conftest.${OBJEXT-o}
6612 am__minus_obj="-o $am__obj"
6615 # This depmode causes a compiler race in universal mode.
6616 test "$am__universal" = false || continue
6619 # After this tag, mechanisms are not by side-effect, so they'll
6620 # only be used when explicitly requested.
6621 if test "x$enable_dependency_tracking" = xyes; then
6627 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
6628 # This compiler won't grok '-c -o', but also, the minuso test has
6629 # not run yet. These depmodes are late enough in the game, and
6630 # so weak that their functioning should not be impacted.
6631 am__obj=conftest.${OBJEXT-o}
6636 if depmode=$depmode \
6637 source=sub/conftest.c object=$am__obj \
6638 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
6639 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
6640 >/dev/null 2>conftest.err &&
6641 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
6642 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
6643 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
6644 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
6645 # icc doesn't choke on unknown options, it will just issue warnings
6646 # or remarks (even with -Werror). So we grep stderr for any message
6647 # that says an option was ignored or not supported.
6648 # When given -MP, icc 7.0 and 7.1 complain thusly:
6649 # icc: Command line warning: ignoring option '-M'; no argument required
6650 # The diagnosis changed in icc 8.0:
6651 # icc: Command line remark: option '-MP' not supported
6652 if (grep 'ignoring option' conftest.err ||
6653 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
6654 am_cv_CXX_dependencies_compiler_type=$depmode
6663 am_cv_CXX_dependencies_compiler_type=none
6667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
6668 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
6669 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
6672 test "x$enable_dependency_tracking" != xno \
6673 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
6674 am__fastdepCXX_TRUE=
6675 am__fastdepCXX_FALSE='#'
6677 am__fastdepCXX_TRUE='#'
6678 am__fastdepCXX_FALSE=
6683 ac_cpp='$CXXCPP_FOR_BUILD $CPPFLAGS_FOR_BUILD'
6684 ac_build_compile='$CXX_FOR_BUILD -c $CXXFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD conftest.$ac_ext >&5'
6685 ac_build_link='$CXX_FOR_BUILD -o conftest$ac_exeext $CXXFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD $LDFLAGS conftest.$ac_ext $LIBS >&5'
6686 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
6688 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
6689 if test -z "$CXXCPP_FOR_BUILD"; then
6690 if ${ac_cv_build_prog_CXXCPP+:} false; then :
6691 $as_echo_n "(cached) " >&6
6693 # Double quotes because CXXCPP needs to be expanded
6694 for CXXCPP_FOR_BUILD in "$CXX_FOR_BUILD -E" "/lib/cpp"
6697 for ac_cxx_preproc_warn_flag in '' yes
6699 # Use a header file that comes with gcc, so configuring glibc
6700 # with a fresh cross-compiler works.
6701 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6702 # <limits.h> exists even on freestanding compilers.
6703 # On the NeXT, cc -E runs the code through the compiler's parser,
6704 # not just through cpp. "Syntax error" is here to catch this case.
6705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6706 /* end confdefs.h. */
6708 # include <limits.h>
6710 # include <assert.h>
6714 if ac_fn_cxx_try_cpp "$LINENO"; then :
6717 # Broken: fails on valid input.
6720 rm -f conftest.err conftest.i conftest.$ac_ext
6722 # OK, works on sane cases. Now check whether nonexistent headers
6723 # can be detected and how.
6724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6725 /* end confdefs.h. */
6726 #include <ac_nonexistent.h>
6728 if ac_fn_cxx_try_cpp "$LINENO"; then :
6729 # Broken: success on invalid input.
6732 # Passes both tests.
6736 rm -f conftest.err conftest.i conftest.$ac_ext
6739 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6740 rm -f conftest.i conftest.err conftest.
$ac_ext
6741 if $ac_preproc_ok; then :
6746 ac_cv_build_prog_CXXCPP
=$CXXCPP_FOR_BUILD
6749 CXXCPP_FOR_BUILD
=$ac_cv_build_prog_CXXCPP
6751 ac_cv_build_prog_CXXCPP
=$CXXCPP_FOR_BUILD
6753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP_FOR_BUILD" >&5
6754 $as_echo "$CXXCPP_FOR_BUILD" >&6; }
6756 for ac_cxx_preproc_warn_flag
in '' yes
6758 # Use a header file that comes with gcc, so configuring glibc
6759 # with a fresh cross-compiler works.
6760 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6761 # <limits.h> exists even on freestanding compilers.
6762 # On the NeXT, cc -E runs the code through the compiler's parser,
6763 # not just through cpp. "Syntax error" is here to catch this case.
6764 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6765 /* end confdefs.h. */
6767 # include <limits.h>
6769 # include <assert.h>
6773 if ac_fn_cxx_try_cpp
"$LINENO"; then :
6776 # Broken: fails on valid input.
6779 rm -f conftest.err conftest.i conftest.
$ac_ext
6781 # OK, works on sane cases. Now check whether nonexistent headers
6782 # can be detected and how.
6783 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6784 /* end confdefs.h. */
6785 #include <ac_nonexistent.h>
6787 if ac_fn_cxx_try_cpp
"$LINENO"; then :
6788 # Broken: success on invalid input.
6791 # Passes both tests.
6795 rm -f conftest.err conftest.i conftest.
$ac_ext
6798 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6799 rm -f conftest.i conftest.err conftest.
$ac_ext
6800 if $ac_preproc_ok; then :
6803 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6804 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6805 as_fn_error $?
"C++ preprocessor \"$CXXCPP_FOR_BUILD\" fails sanity check
6806 See \`config.log' for more details" "$LINENO" 5; }
6810 ac_cpp
='$CPP $CPPFLAGS_FOR_BUILD'
6811 ac_build_compile
='$CC -c $CFLAGS $CPPFLAGS_FOR_BUILD conftest.$ac_ext >&5'
6812 ac_build_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS_FOR_BUILD $LDFLAGS conftest.$ac_ext $LIBS >&5'
6813 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6816 ac_tool_prefix
=$save_ac_tool_prefix
6817 cross_compiling
=$save_cross_compiling
6823 if test -n "$ac_tool_prefix"; then
6824 for ac_prog
in ar lib
"link -lib"
6826 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6827 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
6828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6829 $as_echo_n "checking for $ac_word... " >&6; }
6830 if ${ac_cv_prog_AR+:} false
; then :
6831 $as_echo_n "(cached) " >&6
6833 if test -n "$AR"; then
6834 ac_cv_prog_AR
="$AR" # Let the user override the test.
6836 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6840 test -z "$as_dir" && as_dir
=.
6841 for ac_exec_ext
in '' $ac_executable_extensions; do
6842 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6843 ac_cv_prog_AR
="$ac_tool_prefix$ac_prog"
6844 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6854 if test -n "$AR"; then
6855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6856 $as_echo "$AR" >&6; }
6858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6859 $as_echo "no" >&6; }
6863 test -n "$AR" && break
6866 if test -z "$AR"; then
6868 for ac_prog
in ar lib
"link -lib"
6870 # Extract the first word of "$ac_prog", so it can be a program name with args.
6871 set dummy
$ac_prog; ac_word
=$2
6872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6873 $as_echo_n "checking for $ac_word... " >&6; }
6874 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
6875 $as_echo_n "(cached) " >&6
6877 if test -n "$ac_ct_AR"; then
6878 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
6880 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6884 test -z "$as_dir" && as_dir
=.
6885 for ac_exec_ext
in '' $ac_executable_extensions; do
6886 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6887 ac_cv_prog_ac_ct_AR
="$ac_prog"
6888 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6897 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
6898 if test -n "$ac_ct_AR"; then
6899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6900 $as_echo "$ac_ct_AR" >&6; }
6902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6903 $as_echo "no" >&6; }
6907 test -n "$ac_ct_AR" && break
6910 if test "x$ac_ct_AR" = x
; then
6913 case $cross_compiling:$ac_tool_warned in
6915 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6916 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6917 ac_tool_warned
=yes ;;
6925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the archiver ($AR) interface" >&5
6926 $as_echo_n "checking the archiver ($AR) interface... " >&6; }
6927 if ${am_cv_ar_interface+:} false
; then :
6928 $as_echo_n "(cached) " >&6
6931 ac_cpp
='$CPP $CPPFLAGS'
6932 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6933 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6934 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6936 am_cv_ar_interface
=ar
6937 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6938 /* end confdefs.h. */
6939 int some_variable = 0;
6941 if ac_fn_c_try_compile
"$LINENO"; then :
6942 am_ar_try
='$AR cru libconftest.a conftest.$ac_objext >&5'
6943 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
6944 (eval $am_ar_try) 2>&5
6946 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6947 test $ac_status = 0; }
6948 if test "$ac_status" -eq 0; then
6949 am_cv_ar_interface
=ar
6951 am_ar_try
='$AR -NOLOGO -OUT:conftest.lib conftest.$ac_objext >&5'
6952 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
6953 (eval $am_ar_try) 2>&5
6955 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6956 test $ac_status = 0; }
6957 if test "$ac_status" -eq 0; then
6958 am_cv_ar_interface
=lib
6960 am_cv_ar_interface
=unknown
6963 rm -f conftest.lib libconftest.a
6966 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6968 ac_cpp
='$CPP $CPPFLAGS'
6969 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6970 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6971 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_ar_interface" >&5
6975 $as_echo "$am_cv_ar_interface" >&6; }
6977 case $am_cv_ar_interface in
6981 # Microsoft lib, so override with the ar-lib wrapper script.
6982 # FIXME: It is wrong to rewrite AR.
6983 # But if we don't then we get into trouble of one sort or another.
6984 # A longer-term fix would be to have automake use am__AR in this case,
6985 # and then we could set am__AR="$am_aux_dir/ar-lib \$(AR)" or something
6987 AR
="$am_aux_dir/ar-lib $AR"
6990 as_fn_error $?
"could not determine $AR interface" "$LINENO" 5
6998 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
6999 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
7004 macro_version
='2.4.6'
7005 macro_revision
='2.4.6'
7019 ltmain
=$ac_aux_dir/ltmain.sh
7021 # Backslashify metacharacters that are still active within
7022 # double-quoted strings.
7023 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g'
7025 # Same as above, but do not quote variable references.
7026 double_quote_subst
='s/\(["`\\]\)/\\\1/g'
7028 # Sed substitution to delay expansion of an escaped shell variable in a
7029 # double_quote_subst'ed string.
7030 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
7032 # Sed substitution to delay expansion of an escaped single quote.
7033 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
7035 # Sed substitution to avoid accidental globbing in evaled expressions
7036 no_glob_subst
='s/\*/\\\*/g'
7038 ECHO
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
7039 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
7040 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
7042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
7043 $as_echo_n "checking how to print strings... " >&6; }
7044 # Test print first, because it will be a builtin if present.
7045 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
7046 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
7048 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
7051 # Use this function as a fallback that always works.
7052 func_fallback_echo ()
7054 eval 'cat <<_LTECHO_EOF
7058 ECHO='func_fallback_echo
'
7061 # func_echo_all arg...
7062 # Invoke $ECHO with all args, space-separated.
7069 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
7070 $as_echo "printf" >&6; } ;;
7071 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
7072 $as_echo "print -r" >&6; } ;;
7073 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
7074 $as_echo "cat" >&6; } ;;
7090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
7091 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
7092 if ${ac_cv_path_SED+:} false; then :
7093 $as_echo_n "(cached) " >&6
7095 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
7096 for ac_i in 1 2 3 4 5 6 7; do
7097 ac_script="$ac_script$as_nl$ac_script"
7099 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
7100 { ac_script=; unset ac_script;}
7101 if test -z "$SED"; then
7102 ac_path_SED_found=false
7103 # Loop through the user's path and
test for each of PROGNAME
-LIST
7104 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7108 test -z "$as_dir" && as_dir
=.
7109 for ac_prog
in sed gsed
; do
7110 for ac_exec_ext
in '' $ac_executable_extensions; do
7111 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
7112 as_fn_executable_p
"$ac_path_SED" || continue
7113 # Check for GNU ac_path_SED and select it if it is found.
7114 # Check for GNU $ac_path_SED
7115 case `"$ac_path_SED" --version 2>&1` in
7117 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
7120 $as_echo_n 0123456789 >"conftest.in"
7123 cat "conftest.in" "conftest.in" >"conftest.tmp"
7124 mv "conftest.tmp" "conftest.in"
7125 cp "conftest.in" "conftest.nl"
7126 $as_echo '' >> "conftest.nl"
7127 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
7128 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
7129 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
7130 if test $ac_count -gt ${ac_path_SED_max-0}; then
7131 # Best one so far, save it but keep looking for a better one
7132 ac_cv_path_SED
="$ac_path_SED"
7133 ac_path_SED_max
=$ac_count
7135 # 10*(2^10) chars as input seems more than enough
7136 test $ac_count -gt 10 && break
7138 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
7141 $ac_path_SED_found && break 3
7146 if test -z "$ac_cv_path_SED"; then
7147 as_fn_error $?
"no acceptable sed could be found in \$PATH" "$LINENO" 5
7154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
7155 $as_echo "$ac_cv_path_SED" >&6; }
7156 SED
="$ac_cv_path_SED"
7159 test -z "$SED" && SED
=sed
7160 Xsed
="$SED -e 1s/^X//"
7172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
7173 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
7174 if ${ac_cv_path_GREP+:} false
; then :
7175 $as_echo_n "(cached) " >&6
7177 if test -z "$GREP"; then
7178 ac_path_GREP_found
=false
7179 # Loop through the user's path and test for each of PROGNAME-LIST
7180 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7181 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
7184 test -z "$as_dir" && as_dir
=.
7185 for ac_prog
in grep ggrep
; do
7186 for ac_exec_ext
in '' $ac_executable_extensions; do
7187 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
7188 as_fn_executable_p
"$ac_path_GREP" || continue
7189 # Check for GNU ac_path_GREP and select it if it is found.
7190 # Check for GNU $ac_path_GREP
7191 case `"$ac_path_GREP" --version 2>&1` in
7193 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
7196 $as_echo_n 0123456789 >"conftest.in"
7199 cat "conftest.in" "conftest.in" >"conftest.tmp"
7200 mv "conftest.tmp" "conftest.in"
7201 cp "conftest.in" "conftest.nl"
7202 $as_echo 'GREP' >> "conftest.nl"
7203 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
7204 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
7205 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
7206 if test $ac_count -gt ${ac_path_GREP_max-0}; then
7207 # Best one so far, save it but keep looking for a better one
7208 ac_cv_path_GREP
="$ac_path_GREP"
7209 ac_path_GREP_max
=$ac_count
7211 # 10*(2^10) chars as input seems more than enough
7212 test $ac_count -gt 10 && break
7214 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
7217 $ac_path_GREP_found && break 3
7222 if test -z "$ac_cv_path_GREP"; then
7223 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7226 ac_cv_path_GREP
=$GREP
7230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
7231 $as_echo "$ac_cv_path_GREP" >&6; }
7232 GREP
="$ac_cv_path_GREP"
7235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
7236 $as_echo_n "checking for egrep... " >&6; }
7237 if ${ac_cv_path_EGREP+:} false
; then :
7238 $as_echo_n "(cached) " >&6
7240 if echo a
| $GREP -E '(a|b)' >/dev
/null
2>&1
7241 then ac_cv_path_EGREP
="$GREP -E"
7243 if test -z "$EGREP"; then
7244 ac_path_EGREP_found
=false
7245 # Loop through the user's path and test for each of PROGNAME-LIST
7246 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7247 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
7250 test -z "$as_dir" && as_dir
=.
7251 for ac_prog
in egrep; do
7252 for ac_exec_ext
in '' $ac_executable_extensions; do
7253 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
7254 as_fn_executable_p
"$ac_path_EGREP" || continue
7255 # Check for GNU ac_path_EGREP and select it if it is found.
7256 # Check for GNU $ac_path_EGREP
7257 case `"$ac_path_EGREP" --version 2>&1` in
7259 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
7262 $as_echo_n 0123456789 >"conftest.in"
7265 cat "conftest.in" "conftest.in" >"conftest.tmp"
7266 mv "conftest.tmp" "conftest.in"
7267 cp "conftest.in" "conftest.nl"
7268 $as_echo 'EGREP' >> "conftest.nl"
7269 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
7270 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
7271 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
7272 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
7273 # Best one so far, save it but keep looking for a better one
7274 ac_cv_path_EGREP
="$ac_path_EGREP"
7275 ac_path_EGREP_max
=$ac_count
7277 # 10*(2^10) chars as input seems more than enough
7278 test $ac_count -gt 10 && break
7280 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
7283 $ac_path_EGREP_found && break 3
7288 if test -z "$ac_cv_path_EGREP"; then
7289 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7292 ac_cv_path_EGREP
=$EGREP
7297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
7298 $as_echo "$ac_cv_path_EGREP" >&6; }
7299 EGREP
="$ac_cv_path_EGREP"
7302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
7303 $as_echo_n "checking for fgrep... " >&6; }
7304 if ${ac_cv_path_FGREP+:} false
; then :
7305 $as_echo_n "(cached) " >&6
7307 if echo 'ab*c' | $GREP -F 'ab*c' >/dev
/null
2>&1
7308 then ac_cv_path_FGREP
="$GREP -F"
7310 if test -z "$FGREP"; then
7311 ac_path_FGREP_found
=false
7312 # Loop through the user's path and test for each of PROGNAME-LIST
7313 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7314 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
7317 test -z "$as_dir" && as_dir
=.
7318 for ac_prog
in fgrep
; do
7319 for ac_exec_ext
in '' $ac_executable_extensions; do
7320 ac_path_FGREP
="$as_dir/$ac_prog$ac_exec_ext"
7321 as_fn_executable_p
"$ac_path_FGREP" || continue
7322 # Check for GNU ac_path_FGREP and select it if it is found.
7323 # Check for GNU $ac_path_FGREP
7324 case `"$ac_path_FGREP" --version 2>&1` in
7326 ac_cv_path_FGREP
="$ac_path_FGREP" ac_path_FGREP_found
=:;;
7329 $as_echo_n 0123456789 >"conftest.in"
7332 cat "conftest.in" "conftest.in" >"conftest.tmp"
7333 mv "conftest.tmp" "conftest.in"
7334 cp "conftest.in" "conftest.nl"
7335 $as_echo 'FGREP' >> "conftest.nl"
7336 "$ac_path_FGREP" FGREP
< "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
7337 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
7338 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
7339 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
7340 # Best one so far, save it but keep looking for a better one
7341 ac_cv_path_FGREP
="$ac_path_FGREP"
7342 ac_path_FGREP_max
=$ac_count
7344 # 10*(2^10) chars as input seems more than enough
7345 test $ac_count -gt 10 && break
7347 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
7350 $ac_path_FGREP_found && break 3
7355 if test -z "$ac_cv_path_FGREP"; then
7356 as_fn_error $?
"no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7359 ac_cv_path_FGREP
=$FGREP
7364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
7365 $as_echo "$ac_cv_path_FGREP" >&6; }
7366 FGREP
="$ac_cv_path_FGREP"
7369 test -z "$GREP" && GREP
=grep
7389 # Check whether --with-gnu-ld was given.
7390 if test "${with_gnu_ld+set}" = set; then :
7391 withval
=$with_gnu_ld; test no
= "$withval" || with_gnu_ld
=yes
7397 if test yes = "$GCC"; then
7398 # Check if gcc -print-prog-name=ld gives a path.
7399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
7400 $as_echo_n "checking for ld used by $CC... " >&6; }
7403 # gcc leaves a trailing carriage return, which upsets mingw
7404 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
7406 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
7409 # Accept absolute paths.
7411 re_direlt
='/[^/][^/]*/\.\./'
7412 # Canonicalize the pathname of ld
7413 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
7414 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev
/null
2>&1; do
7415 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
7417 test -z "$LD" && LD
=$ac_prog
7420 # If it fails, then pretend we aren't using GCC.
7424 # If it is relative, then search for the first ld in PATH.
7428 elif test yes = "$with_gnu_ld"; then
7429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
7430 $as_echo_n "checking for GNU ld... " >&6; }
7432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
7433 $as_echo_n "checking for non-GNU ld... " >&6; }
7435 if ${lt_cv_path_LD+:} false
; then :
7436 $as_echo_n "(cached) " >&6
7438 if test -z "$LD"; then
7439 lt_save_ifs
=$IFS; IFS
=$PATH_SEPARATOR
7440 for ac_dir
in $PATH; do
7442 test -z "$ac_dir" && ac_dir
=.
7443 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
7444 lt_cv_path_LD
=$ac_dir/$ac_prog
7445 # Check to see if the program is GNU ld. I'd rather use --version,
7446 # but apparently some variants of GNU ld only accept -v.
7447 # Break only if it was the GNU/non-GNU ld that we prefer.
7448 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
7449 *GNU
* | *'with BFD'*)
7450 test no
!= "$with_gnu_ld" && break
7453 test yes != "$with_gnu_ld" && break
7460 lt_cv_path_LD
=$LD # Let the user override the test with a path.
7465 if test -n "$LD"; then
7466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
7467 $as_echo "$LD" >&6; }
7469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7470 $as_echo "no" >&6; }
7472 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
7473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
7474 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
7475 if ${lt_cv_prog_gnu_ld+:} false
; then :
7476 $as_echo_n "(cached) " >&6
7478 # I'd rather use --version here, but apparently some GNU lds only accept -v.
7479 case `$LD -v 2>&1 </dev/null` in
7480 *GNU
* | *'with BFD'*)
7481 lt_cv_prog_gnu_ld
=yes
7484 lt_cv_prog_gnu_ld
=no
7488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
7489 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
7490 with_gnu_ld
=$lt_cv_prog_gnu_ld
7500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
7501 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
7502 if ${lt_cv_path_NM+:} false
; then :
7503 $as_echo_n "(cached) " >&6
7505 if test -n "$NM"; then
7506 # Let the user override the test.
7509 lt_nm_to_check
=${ac_tool_prefix}nm
7510 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
7511 lt_nm_to_check
="$lt_nm_to_check nm"
7513 for lt_tmp_nm
in $lt_nm_to_check; do
7514 lt_save_ifs
=$IFS; IFS
=$PATH_SEPARATOR
7515 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
7517 test -z "$ac_dir" && ac_dir
=.
7518 tmp_nm
=$ac_dir/$lt_tmp_nm
7519 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
7520 # Check to see if the nm accepts a BSD-compat flag.
7521 # Adding the 'sed 1q' prevents false positives on HP-UX, which says:
7522 # nm: unknown option "B" ignored
7523 # Tru64's nm complains that /dev/null is an invalid object file
7524 # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
7526 mingw
*) lt_bad_file
=conftest.nm
/nofile
;;
7527 *) lt_bad_file
=/dev
/null
;;
7529 case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
7530 *$lt_bad_file* | *'Invalid file or object type'*)
7531 lt_cv_path_NM
="$tmp_nm -B"
7535 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
7537 lt_cv_path_NM
="$tmp_nm -p"
7541 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
7542 continue # so that we can try to find one that supports BSD flags
7551 : ${lt_cv_path_NM=no}
7554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
7555 $as_echo "$lt_cv_path_NM" >&6; }
7556 if test no
!= "$lt_cv_path_NM"; then
7559 # Didn't find any BSD compatible name lister, look for dumpbin.
7560 if test -n "$DUMPBIN"; then :
7561 # Let the user override the test.
7563 if test -n "$ac_tool_prefix"; then
7564 for ac_prog
in dumpbin
"link -dump"
7566 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7567 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
7568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7569 $as_echo_n "checking for $ac_word... " >&6; }
7570 if ${ac_cv_prog_DUMPBIN+:} false
; then :
7571 $as_echo_n "(cached) " >&6
7573 if test -n "$DUMPBIN"; then
7574 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
7576 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7580 test -z "$as_dir" && as_dir
=.
7581 for ac_exec_ext
in '' $ac_executable_extensions; do
7582 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7583 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
7584 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7593 DUMPBIN
=$ac_cv_prog_DUMPBIN
7594 if test -n "$DUMPBIN"; then
7595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
7596 $as_echo "$DUMPBIN" >&6; }
7598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7599 $as_echo "no" >&6; }
7603 test -n "$DUMPBIN" && break
7606 if test -z "$DUMPBIN"; then
7607 ac_ct_DUMPBIN
=$DUMPBIN
7608 for ac_prog
in dumpbin
"link -dump"
7610 # Extract the first word of "$ac_prog", so it can be a program name with args.
7611 set dummy
$ac_prog; ac_word
=$2
7612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7613 $as_echo_n "checking for $ac_word... " >&6; }
7614 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false
; then :
7615 $as_echo_n "(cached) " >&6
7617 if test -n "$ac_ct_DUMPBIN"; then
7618 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
7620 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7624 test -z "$as_dir" && as_dir
=.
7625 for ac_exec_ext
in '' $ac_executable_extensions; do
7626 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7627 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
7628 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7637 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
7638 if test -n "$ac_ct_DUMPBIN"; then
7639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
7640 $as_echo "$ac_ct_DUMPBIN" >&6; }
7642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7643 $as_echo "no" >&6; }
7647 test -n "$ac_ct_DUMPBIN" && break
7650 if test "x$ac_ct_DUMPBIN" = x
; then
7653 case $cross_compiling:$ac_tool_warned in
7655 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7656 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7657 ac_tool_warned
=yes ;;
7659 DUMPBIN
=$ac_ct_DUMPBIN
7663 case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
7665 DUMPBIN
="$DUMPBIN -symbols -headers"
7673 if test : != "$DUMPBIN"; then
7677 test -z "$NM" && NM
=nm
7684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
7685 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
7686 if ${lt_cv_nm_interface+:} false
; then :
7687 $as_echo_n "(cached) " >&6
7689 lt_cv_nm_interface
="BSD nm"
7690 echo "int some_variable = 0;" > conftest.
$ac_ext
7691 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
7692 (eval "$ac_compile" 2>conftest.err
)
7693 cat conftest.err
>&5
7694 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
7695 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
7696 cat conftest.err
>&5
7697 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
7698 cat conftest.out
>&5
7699 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
7700 lt_cv_nm_interface
="MS dumpbin"
7704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
7705 $as_echo "$lt_cv_nm_interface" >&6; }
7707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
7708 $as_echo_n "checking whether ln -s works... " >&6; }
7710 if test "$LN_S" = "ln -s"; then
7711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7712 $as_echo "yes" >&6; }
7714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
7715 $as_echo "no, using $LN_S" >&6; }
7718 # find the maximum length of command line arguments
7719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
7720 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
7721 if ${lt_cv_sys_max_cmd_len+:} false
; then :
7722 $as_echo_n "(cached) " >&6
7729 # On DJGPP, this test can blow up pretty badly due to problems in libc
7730 # (any single argument exceeding 2000 bytes causes a buffer overrun
7731 # during glob expansion). Even if it were fixed, the result of this
7732 # check would be larger than it should be.
7733 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
7737 # Under GNU Hurd, this test is not required because there is
7738 # no limit to the length of command line arguments.
7739 # Libtool will interpret -1 as no limit whatsoever
7740 lt_cv_sys_max_cmd_len
=-1;
7743 cygwin
* | mingw
* | cegcc
*)
7744 # On Win9x/ME, this test blows up -- it succeeds, but takes
7745 # about 5 minutes as the teststring grows exponentially.
7746 # Worse, since 9x/ME are not pre-emptively multitasking,
7747 # you end up with a "frozen" computer, even though with patience
7748 # the test eventually succeeds (with a max line length of 256k).
7749 # Instead, let's just punt: use the minimum linelength reported by
7750 # all of the supported platforms: 8192 (on NT/2K/XP).
7751 lt_cv_sys_max_cmd_len
=8192;
7755 # On MiNT this can take a long time and run out of memory.
7756 lt_cv_sys_max_cmd_len
=8192;
7760 # On AmigaOS with pdksh, this test takes hours, literally.
7761 # So we just punt and use a minimum line length of 8192.
7762 lt_cv_sys_max_cmd_len
=8192;
7765 bitrig
* | darwin
* | dragonfly
* | freebsd
* | netbsd
* | openbsd
*)
7766 # This has been around since 386BSD, at least. Likely further.
7767 if test -x /sbin
/sysctl
; then
7768 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
7769 elif test -x /usr
/sbin
/sysctl
; then
7770 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
7772 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
7774 # And add a safety zone
7775 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
7776 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
7780 # We know the value 262144 and hardcode it with a safety zone (like BSD)
7781 lt_cv_sys_max_cmd_len
=196608
7785 # The test takes a long time on OS/2.
7786 lt_cv_sys_max_cmd_len
=8192
7790 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
7791 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
7792 # nice to cause kernel panics so lets avoid the loop below.
7793 # First set a reasonable default.
7794 lt_cv_sys_max_cmd_len
=16384
7796 if test -x /sbin
/sysconfig
; then
7797 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
7798 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
7803 lt_cv_sys_max_cmd_len
=102400
7805 sysv5
* | sco5v6
* | sysv4.2uw2
*)
7806 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
7807 if test -n "$kargmax"; then
7808 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
7810 lt_cv_sys_max_cmd_len
=32768
7814 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
7815 if test -n "$lt_cv_sys_max_cmd_len" && \
7816 test undefined
!= "$lt_cv_sys_max_cmd_len"; then
7817 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
7818 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
7820 # Make teststring a little bigger before we do anything with it.
7821 # a 1K string should be a reasonable start.
7822 for i
in 1 2 3 4 5 6 7 8; do
7823 teststring
=$teststring$teststring
7825 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
7826 # If test is not a shell built-in, we'll probably end up computing a
7827 # maximum length that is only half of the actual maximum length, but
7829 while { test X
`env echo "$teststring$teststring" 2>/dev/null` \
7830 = "X$teststring$teststring"; } >/dev
/null
2>&1 &&
7831 test 17 != "$i" # 1/2 MB should be enough
7834 teststring
=$teststring$teststring
7836 # Only check the string length outside the loop.
7837 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
7839 # Add a significant safety factor because C++ compilers can tack on
7840 # massive amounts of additional arguments before passing them to the
7841 # linker. It appears as though 1/2 is a usable value.
7842 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
7849 if test -n "$lt_cv_sys_max_cmd_len"; then
7850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
7851 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
7853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
7854 $as_echo "none" >&6; }
7856 max_cmd_len
=$lt_cv_sys_max_cmd_len
7867 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
7877 # test EBCDIC or ASCII
7878 case `echo X|tr X '\101'` in
7879 A
) # ASCII based system
7880 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
7881 lt_SP2NL
='tr \040 \012'
7882 lt_NL2SP
='tr \015\012 \040\040'
7884 *) # EBCDIC based system
7885 lt_SP2NL
='tr \100 \n'
7886 lt_NL2SP
='tr \r\n \100\100'
7898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
7899 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
7900 if ${lt_cv_to_host_file_cmd+:} false
; then :
7901 $as_echo_n "(cached) " >&6
7906 *-*-mingw* ) # actually msys
7907 lt_cv_to_host_file_cmd
=func_convert_file_msys_to_w32
7910 lt_cv_to_host_file_cmd
=func_convert_file_cygwin_to_w32
7912 * ) # otherwise, assume *nix
7913 lt_cv_to_host_file_cmd
=func_convert_file_nix_to_w32
7919 *-*-mingw* ) # actually msys
7920 lt_cv_to_host_file_cmd
=func_convert_file_msys_to_cygwin
7923 lt_cv_to_host_file_cmd
=func_convert_file_noop
7925 * ) # otherwise, assume *nix
7926 lt_cv_to_host_file_cmd
=func_convert_file_nix_to_cygwin
7930 * ) # unhandled hosts (and "normal" native builds)
7931 lt_cv_to_host_file_cmd
=func_convert_file_noop
7937 to_host_file_cmd
=$lt_cv_to_host_file_cmd
7938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
7939 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
7945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
7946 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
7947 if ${lt_cv_to_tool_file_cmd+:} false
; then :
7948 $as_echo_n "(cached) " >&6
7950 #assume ordinary cross tools, or native build.
7951 lt_cv_to_tool_file_cmd
=func_convert_file_noop
7955 *-*-mingw* ) # actually msys
7956 lt_cv_to_tool_file_cmd
=func_convert_file_msys_to_w32
7964 to_tool_file_cmd
=$lt_cv_to_tool_file_cmd
7965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
7966 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
7972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
7973 $as_echo_n "checking for $LD option to reload object files... " >&6; }
7974 if ${lt_cv_ld_reload_flag+:} false
; then :
7975 $as_echo_n "(cached) " >&6
7977 lt_cv_ld_reload_flag
='-r'
7979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
7980 $as_echo "$lt_cv_ld_reload_flag" >&6; }
7981 reload_flag
=$lt_cv_ld_reload_flag
7982 case $reload_flag in
7984 *) reload_flag
=" $reload_flag" ;;
7986 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
7988 cygwin
* | mingw
* | pw32
* | cegcc
*)
7989 if test yes != "$GCC"; then
7994 if test yes = "$GCC"; then
7995 reload_cmds
='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
7997 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
8010 if test -n "$ac_tool_prefix"; then
8011 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
8012 set dummy
${ac_tool_prefix}objdump
; ac_word
=$2
8013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8014 $as_echo_n "checking for $ac_word... " >&6; }
8015 if ${ac_cv_prog_OBJDUMP+:} false
; then :
8016 $as_echo_n "(cached) " >&6
8018 if test -n "$OBJDUMP"; then
8019 ac_cv_prog_OBJDUMP
="$OBJDUMP" # Let the user override the test.
8021 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8025 test -z "$as_dir" && as_dir
=.
8026 for ac_exec_ext
in '' $ac_executable_extensions; do
8027 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8028 ac_cv_prog_OBJDUMP
="${ac_tool_prefix}objdump"
8029 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8038 OBJDUMP
=$ac_cv_prog_OBJDUMP
8039 if test -n "$OBJDUMP"; then
8040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
8041 $as_echo "$OBJDUMP" >&6; }
8043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8044 $as_echo "no" >&6; }
8049 if test -z "$ac_cv_prog_OBJDUMP"; then
8050 ac_ct_OBJDUMP
=$OBJDUMP
8051 # Extract the first word of "objdump", so it can be a program name with args.
8052 set dummy objdump
; ac_word
=$2
8053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8054 $as_echo_n "checking for $ac_word... " >&6; }
8055 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false
; then :
8056 $as_echo_n "(cached) " >&6
8058 if test -n "$ac_ct_OBJDUMP"; then
8059 ac_cv_prog_ac_ct_OBJDUMP
="$ac_ct_OBJDUMP" # Let the user override the test.
8061 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8065 test -z "$as_dir" && as_dir
=.
8066 for ac_exec_ext
in '' $ac_executable_extensions; do
8067 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8068 ac_cv_prog_ac_ct_OBJDUMP
="objdump"
8069 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8078 ac_ct_OBJDUMP
=$ac_cv_prog_ac_ct_OBJDUMP
8079 if test -n "$ac_ct_OBJDUMP"; then
8080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
8081 $as_echo "$ac_ct_OBJDUMP" >&6; }
8083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8084 $as_echo "no" >&6; }
8087 if test "x$ac_ct_OBJDUMP" = x
; then
8090 case $cross_compiling:$ac_tool_warned in
8092 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8093 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8094 ac_tool_warned
=yes ;;
8096 OBJDUMP
=$ac_ct_OBJDUMP
8099 OBJDUMP
="$ac_cv_prog_OBJDUMP"
8102 test -z "$OBJDUMP" && OBJDUMP
=objdump
8112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
8113 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
8114 if ${lt_cv_deplibs_check_method+:} false
; then :
8115 $as_echo_n "(cached) " >&6
8117 lt_cv_file_magic_cmd
='$MAGIC_CMD'
8118 lt_cv_file_magic_test_file
=
8119 lt_cv_deplibs_check_method
='unknown'
8120 # Need to set the preceding variable on all platforms that support
8121 # interlibrary dependencies.
8122 # 'none' -- dependencies not supported.
8123 # 'unknown' -- same as none, but documents that we really don't know.
8124 # 'pass_all' -- all dependencies passed with no checks.
8125 # 'test_compile' -- check by making test program.
8126 # 'file_magic [[regex]]' -- check by looking for files in library path
8127 # that responds to the $file_magic_cmd with a given extended regex.
8128 # If you have 'file' or equivalent on your system and you're not sure
8129 # whether 'pass_all' will *always* work, you probably want this one.
8133 lt_cv_deplibs_check_method
=pass_all
8137 lt_cv_deplibs_check_method
=pass_all
8141 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
8142 lt_cv_file_magic_cmd
='/usr/bin/file -L'
8143 lt_cv_file_magic_test_file
=/shlib
/libc.so
8147 # func_win32_libid is a shell function defined in ltmain.sh
8148 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
8149 lt_cv_file_magic_cmd
='func_win32_libid'
8153 # Base MSYS/MinGW do not provide the 'file' command needed by
8154 # func_win32_libid shell function, so use a weaker test based on 'objdump',
8155 # unless we find 'file', for example because we are cross-compiling.
8156 if ( file / ) >/dev
/null
2>&1; then
8157 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
8158 lt_cv_file_magic_cmd
='func_win32_libid'
8160 # Keep this pattern in sync with the one in func_win32_libid.
8161 lt_cv_deplibs_check_method
='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
8162 lt_cv_file_magic_cmd
='$OBJDUMP -f'
8167 # use the weaker test based on 'objdump'. See mingw*.
8168 lt_cv_deplibs_check_method
='file_magic file format pe-arm-.*little(.*architecture: arm)?'
8169 lt_cv_file_magic_cmd
='$OBJDUMP -f'
8172 darwin
* | rhapsody
*)
8173 lt_cv_deplibs_check_method
=pass_all
8176 freebsd
* | dragonfly
*)
8177 if echo __ELF__
| $CC -E - | $GREP __ELF__
> /dev
/null
; then
8180 # Not sure whether the presence of OpenBSD here was a mistake.
8181 # Let's accept both of them until this is cleared up.
8182 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
8183 lt_cv_file_magic_cmd
=/usr
/bin
/file
8184 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
8188 lt_cv_deplibs_check_method
=pass_all
8193 lt_cv_deplibs_check_method
=pass_all
8196 hpux10.20
* | hpux11
*)
8197 lt_cv_file_magic_cmd
=/usr
/bin
/file
8200 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
8201 lt_cv_file_magic_test_file
=/usr
/lib
/hpux
32/libc.so
8204 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]'
8205 lt_cv_file_magic_test_file
=/usr
/lib
/pa
20_
64/libc.sl
8208 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
8209 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
8215 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
8216 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|\.a)$'
8219 irix5
* | irix6
* | nonstopux
*)
8221 *-32|*"-32 ") libmagic
=32-bit;;
8222 *-n32|*"-n32 ") libmagic
=N32
;;
8223 *-64|*"-64 ") libmagic
=64-bit;;
8224 *) libmagic
=never
-match;;
8226 lt_cv_deplibs_check_method
=pass_all
8229 # This must be glibc/ELF.
8230 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
8231 lt_cv_deplibs_check_method
=pass_all
8235 if echo __ELF__
| $CC -E - | $GREP __ELF__
> /dev
/null
; then
8236 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
8238 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|_pic\.a)$'
8243 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
8244 lt_cv_file_magic_cmd
=/usr
/bin
/file
8245 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
8249 lt_cv_deplibs_check_method
=pass_all
8253 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
8254 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
8256 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
8260 osf3
* | osf4
* | osf5
*)
8261 lt_cv_deplibs_check_method
=pass_all
8265 lt_cv_deplibs_check_method
=pass_all
8269 lt_cv_deplibs_check_method
=pass_all
8272 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
8273 lt_cv_deplibs_check_method
=pass_all
8277 case $host_vendor in
8279 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]'
8280 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
8283 lt_cv_deplibs_check_method
=pass_all
8286 lt_cv_file_magic_cmd
='/bin/file'
8287 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
8290 lt_cv_file_magic_cmd
='/bin/file'
8291 lt_cv_deplibs_check_method
="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
8292 lt_cv_file_magic_test_file
=/lib
/libc.so
8295 lt_cv_deplibs_check_method
=pass_all
8298 lt_cv_deplibs_check_method
=pass_all
8304 lt_cv_deplibs_check_method
=pass_all
8307 lt_cv_deplibs_check_method
=pass_all
8312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
8313 $as_echo "$lt_cv_deplibs_check_method" >&6; }
8317 if test "$build" = "$host"; then
8320 if ( shopt | grep nocaseglob
) >/dev
/null
2>&1; then
8323 file_magic_glob
=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
8329 file_magic_cmd
=$lt_cv_file_magic_cmd
8330 deplibs_check_method
=$lt_cv_deplibs_check_method
8331 test -z "$deplibs_check_method" && deplibs_check_method
=unknown
8354 if test -n "$ac_tool_prefix"; then
8355 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8356 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
8357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8358 $as_echo_n "checking for $ac_word... " >&6; }
8359 if ${ac_cv_prog_DLLTOOL+:} false
; then :
8360 $as_echo_n "(cached) " >&6
8362 if test -n "$DLLTOOL"; then
8363 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
8365 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8369 test -z "$as_dir" && as_dir
=.
8370 for ac_exec_ext
in '' $ac_executable_extensions; do
8371 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8372 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
8373 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8382 DLLTOOL
=$ac_cv_prog_DLLTOOL
8383 if test -n "$DLLTOOL"; then
8384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8385 $as_echo "$DLLTOOL" >&6; }
8387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8388 $as_echo "no" >&6; }
8393 if test -z "$ac_cv_prog_DLLTOOL"; then
8394 ac_ct_DLLTOOL
=$DLLTOOL
8395 # Extract the first word of "dlltool", so it can be a program name with args.
8396 set dummy dlltool
; ac_word
=$2
8397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8398 $as_echo_n "checking for $ac_word... " >&6; }
8399 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false
; then :
8400 $as_echo_n "(cached) " >&6
8402 if test -n "$ac_ct_DLLTOOL"; then
8403 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
8405 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8409 test -z "$as_dir" && as_dir
=.
8410 for ac_exec_ext
in '' $ac_executable_extensions; do
8411 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8412 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
8413 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8422 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
8423 if test -n "$ac_ct_DLLTOOL"; then
8424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8425 $as_echo "$ac_ct_DLLTOOL" >&6; }
8427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8428 $as_echo "no" >&6; }
8431 if test "x$ac_ct_DLLTOOL" = x
; then
8434 case $cross_compiling:$ac_tool_warned in
8436 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8437 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8438 ac_tool_warned
=yes ;;
8440 DLLTOOL
=$ac_ct_DLLTOOL
8443 DLLTOOL
="$ac_cv_prog_DLLTOOL"
8446 test -z "$DLLTOOL" && DLLTOOL
=dlltool
8457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
8458 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
8459 if ${lt_cv_sharedlib_from_linklib_cmd+:} false
; then :
8460 $as_echo_n "(cached) " >&6
8462 lt_cv_sharedlib_from_linklib_cmd
='unknown'
8465 cygwin
* | mingw
* | pw32
* | cegcc
*)
8466 # two different shell functions defined in ltmain.sh;
8467 # decide which one to use based on capabilities of $DLLTOOL
8468 case `$DLLTOOL --help 2>&1` in
8469 *--identify-strict*)
8470 lt_cv_sharedlib_from_linklib_cmd
=func_cygming_dll_for_implib
8473 lt_cv_sharedlib_from_linklib_cmd
=func_cygming_dll_for_implib_fallback
8478 # fallback: assume linklib IS sharedlib
8479 lt_cv_sharedlib_from_linklib_cmd
=$ECHO
8484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
8485 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
8486 sharedlib_from_linklib_cmd
=$lt_cv_sharedlib_from_linklib_cmd
8487 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd
=$ECHO
8495 if test -n "$ac_tool_prefix"; then
8498 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
8499 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
8500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8501 $as_echo_n "checking for $ac_word... " >&6; }
8502 if ${ac_cv_prog_AR+:} false
; then :
8503 $as_echo_n "(cached) " >&6
8505 if test -n "$AR"; then
8506 ac_cv_prog_AR
="$AR" # Let the user override the test.
8508 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8512 test -z "$as_dir" && as_dir
=.
8513 for ac_exec_ext
in '' $ac_executable_extensions; do
8514 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8515 ac_cv_prog_AR
="$ac_tool_prefix$ac_prog"
8516 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8526 if test -n "$AR"; then
8527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
8528 $as_echo "$AR" >&6; }
8530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8531 $as_echo "no" >&6; }
8535 test -n "$AR" && break
8538 if test -z "$AR"; then
8542 # Extract the first word of "$ac_prog", so it can be a program name with args.
8543 set dummy
$ac_prog; ac_word
=$2
8544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8545 $as_echo_n "checking for $ac_word... " >&6; }
8546 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
8547 $as_echo_n "(cached) " >&6
8549 if test -n "$ac_ct_AR"; then
8550 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
8552 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8556 test -z "$as_dir" && as_dir
=.
8557 for ac_exec_ext
in '' $ac_executable_extensions; do
8558 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8559 ac_cv_prog_ac_ct_AR
="$ac_prog"
8560 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8569 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
8570 if test -n "$ac_ct_AR"; then
8571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
8572 $as_echo "$ac_ct_AR" >&6; }
8574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8575 $as_echo "no" >&6; }
8579 test -n "$ac_ct_AR" && break
8582 if test "x$ac_ct_AR" = x
; then
8585 case $cross_compiling:$ac_tool_warned in
8587 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8588 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8589 ac_tool_warned
=yes ;;
8608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
8609 $as_echo_n "checking for archiver @FILE support... " >&6; }
8610 if ${lt_cv_ar_at_file+:} false
; then :
8611 $as_echo_n "(cached) " >&6
8614 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8615 /* end confdefs.h. */
8625 if ac_fn_c_try_compile
"$LINENO"; then :
8626 echo conftest.
$ac_objext > conftest.lst
8627 lt_ar_try
='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
8628 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
8629 (eval $lt_ar_try) 2>&5
8631 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8632 test $ac_status = 0; }
8633 if test 0 -eq "$ac_status"; then
8634 # Ensure the archiver fails upon bogus file names.
8635 rm -f conftest.
$ac_objext libconftest.a
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 -ne "$ac_status"; then
8645 rm -f conftest.
* libconftest.a
8648 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
8652 $as_echo "$lt_cv_ar_at_file" >&6; }
8654 if test no
= "$lt_cv_ar_at_file"; then
8657 archiver_list_spec
=$lt_cv_ar_at_file
8666 if test -n "$ac_tool_prefix"; then
8667 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
8668 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
8669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8670 $as_echo_n "checking for $ac_word... " >&6; }
8671 if ${ac_cv_prog_STRIP+:} false
; then :
8672 $as_echo_n "(cached) " >&6
8674 if test -n "$STRIP"; then
8675 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
8677 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8681 test -z "$as_dir" && as_dir
=.
8682 for ac_exec_ext
in '' $ac_executable_extensions; do
8683 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8684 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
8685 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8694 STRIP
=$ac_cv_prog_STRIP
8695 if test -n "$STRIP"; then
8696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
8697 $as_echo "$STRIP" >&6; }
8699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8700 $as_echo "no" >&6; }
8705 if test -z "$ac_cv_prog_STRIP"; then
8707 # Extract the first word of "strip", so it can be a program name with args.
8708 set dummy strip
; ac_word
=$2
8709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8710 $as_echo_n "checking for $ac_word... " >&6; }
8711 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
8712 $as_echo_n "(cached) " >&6
8714 if test -n "$ac_ct_STRIP"; then
8715 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
8717 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8721 test -z "$as_dir" && as_dir
=.
8722 for ac_exec_ext
in '' $ac_executable_extensions; do
8723 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8724 ac_cv_prog_ac_ct_STRIP
="strip"
8725 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8734 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
8735 if test -n "$ac_ct_STRIP"; then
8736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
8737 $as_echo "$ac_ct_STRIP" >&6; }
8739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8740 $as_echo "no" >&6; }
8743 if test "x$ac_ct_STRIP" = x
; then
8746 case $cross_compiling:$ac_tool_warned in
8748 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8749 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8750 ac_tool_warned
=yes ;;
8755 STRIP
="$ac_cv_prog_STRIP"
8758 test -z "$STRIP" && STRIP
=:
8765 if test -n "$ac_tool_prefix"; then
8766 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
8767 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
8768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8769 $as_echo_n "checking for $ac_word... " >&6; }
8770 if ${ac_cv_prog_RANLIB+:} false
; then :
8771 $as_echo_n "(cached) " >&6
8773 if test -n "$RANLIB"; then
8774 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
8776 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8780 test -z "$as_dir" && as_dir
=.
8781 for ac_exec_ext
in '' $ac_executable_extensions; do
8782 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8783 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
8784 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8793 RANLIB
=$ac_cv_prog_RANLIB
8794 if test -n "$RANLIB"; then
8795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
8796 $as_echo "$RANLIB" >&6; }
8798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8799 $as_echo "no" >&6; }
8804 if test -z "$ac_cv_prog_RANLIB"; then
8805 ac_ct_RANLIB
=$RANLIB
8806 # Extract the first word of "ranlib", so it can be a program name with args.
8807 set dummy ranlib
; ac_word
=$2
8808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8809 $as_echo_n "checking for $ac_word... " >&6; }
8810 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
8811 $as_echo_n "(cached) " >&6
8813 if test -n "$ac_ct_RANLIB"; then
8814 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
8816 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8820 test -z "$as_dir" && as_dir
=.
8821 for ac_exec_ext
in '' $ac_executable_extensions; do
8822 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8823 ac_cv_prog_ac_ct_RANLIB
="ranlib"
8824 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8833 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
8834 if test -n "$ac_ct_RANLIB"; then
8835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
8836 $as_echo "$ac_ct_RANLIB" >&6; }
8838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8839 $as_echo "no" >&6; }
8842 if test "x$ac_ct_RANLIB" = x
; then
8845 case $cross_compiling:$ac_tool_warned in
8847 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8848 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8849 ac_tool_warned
=yes ;;
8851 RANLIB
=$ac_ct_RANLIB
8854 RANLIB
="$ac_cv_prog_RANLIB"
8857 test -z "$RANLIB" && RANLIB
=:
8864 # Determine commands to create old-style static archives.
8865 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs'
8866 old_postinstall_cmds
='chmod 644 $oldlib'
8867 old_postuninstall_cmds
=
8869 if test -n "$RANLIB"; then
8872 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
8875 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
8878 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$tool_oldlib"
8883 lock_old_archive_extraction
=yes ;;
8885 lock_old_archive_extraction
=no
;;
8926 # If no C compiler was specified, use CC.
8929 # If no C compiler flags were specified, use CFLAGS.
8930 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
8932 # Allow CC to be a program name with arguments.
8936 # Check for command to grab the raw symbol name followed by C symbol from nm.
8937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
8938 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
8939 if ${lt_cv_sys_global_symbol_pipe+:} false
; then :
8940 $as_echo_n "(cached) " >&6
8943 # These are sane defaults that work on at least a few old systems.
8944 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
8946 # Character class describing NM global symbol codes.
8947 symcode
='[BCDEGRST]'
8949 # Regexp to match symbols that can be accessed directly from C.
8950 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
8952 # Define system-specific variables.
8957 cygwin
* | mingw
* | pw32
* | cegcc
*)
8958 symcode
='[ABCDGISTW]'
8961 if test ia64
= "$host_cpu"; then
8962 symcode
='[ABCDEGRST]'
8966 symcode
='[BCDEGRST]'
8969 symcode
='[BCDEGQRST]'
8980 sysv5
* | sco5v6
* | unixware
* | OpenUNIX
*)
8988 # If we're using GNU nm, then use its standard symbol codes.
8989 case `$NM -V 2>&1` in
8990 *GNU
* | *'with BFD'*)
8991 symcode
='[ABCDGIRSTW]' ;;
8994 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
8995 # Gets list of data symbols to import.
8996 lt_cv_sys_global_symbol_to_import
="sed -n -e 's/^I .* \(.*\)$/\1/p'"
8997 # Adjust the below global symbol transforms to fixup imported variables.
8998 lt_cdecl_hook
=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
8999 lt_c_name_hook
=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'"
9000 lt_c_name_lib_hook
="\
9001 -e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\
9002 -e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'"
9004 # Disable hooks by default.
9005 lt_cv_sys_global_symbol_to_import
=
9011 # Transform an extracted symbol line into a proper C declaration.
9012 # Some systems (esp. on ia64) link data and code symbols differently,
9013 # so use this general approach.
9014 lt_cv_sys_global_symbol_to_cdecl
="sed -n"\
9016 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
9017 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
9019 # Transform an extracted symbol line into symbol name and symbol address
9020 lt_cv_sys_global_symbol_to_c_name_address
="sed -n"\
9022 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
9023 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'"
9025 # Transform an extracted symbol line into symbol name with lib prefix and
9027 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
="sed -n"\
9028 $lt_c_name_lib_hook\
9029 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
9030 " -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\
9031 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'"
9033 # Handle CRLF in mingw tool chain
9037 opt_cr
=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
9041 # Try without a prefix underscore, then with it.
9042 for ac_symprfx
in "" "_"; do
9044 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
9045 symxfrm
="\\1 $ac_symprfx\\2 \\2"
9047 # Write the raw and C identifiers.
9048 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
9049 # Fake it for dumpbin and say T for any non-static function,
9050 # D for any global variable and I for any imported variable.
9051 # Also find C++ and __fastcall symbols from MSVC++,
9052 # which start with @ or ?.
9053 lt_cv_sys_global_symbol_pipe
="$AWK '"\
9054 " {last_section=section; section=\$ 3};"\
9055 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
9056 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
9057 " /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
9058 " /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
9059 " /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
9060 " \$ 0!~/External *\|/{next};"\
9061 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
9062 " {if(hide[section]) next};"\
9063 " {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
9064 " {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
9065 " s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
9066 " s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
9067 " ' prfx=^$ac_symprfx"
9069 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
9071 lt_cv_sys_global_symbol_pipe
="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
9073 # Check to see that the pipe works correctly.
9077 cat > conftest.
$ac_ext <<_LT_EOF
9082 void nm_test_func(void);
9083 void nm_test_func(void){}
9087 int main(){nm_test_var='a';nm_test_func();return(0);}
9090 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9091 (eval $ac_compile) 2>&5
9093 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9094 test $ac_status = 0; }; then
9095 # Now try to grab the symbols.
9097 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
9098 (eval $NM conftest.
$ac_objext \
| "$lt_cv_sys_global_symbol_pipe" \
> $nlist) 2>&5
9100 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9101 test $ac_status = 0; } && test -s "$nlist"; then
9102 # Try sorting and uniquifying the output.
9103 if sort "$nlist" | uniq > "$nlist"T
; then
9104 mv -f "$nlist"T
"$nlist"
9109 # Make sure that we snagged all the symbols we need.
9110 if $GREP ' nm_test_var$' "$nlist" >/dev
/null
; then
9111 if $GREP ' nm_test_func$' "$nlist" >/dev
/null
; then
9112 cat <<_LT_EOF > conftest.$ac_ext
9113 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
9114 #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
9115 /* DATA imports from DLLs on WIN32 can't be const, because runtime
9116 relocations are performed -- see ld's documentation on pseudo-relocs. */
9117 # define LT_DLSYM_CONST
9118 #elif defined __osf__
9119 /* This system does not cope well with relocations in const data. */
9120 # define LT_DLSYM_CONST
9122 # define LT_DLSYM_CONST const
9130 # Now generate the symbol file.
9131 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
9133 cat <<_LT_EOF >> conftest.$ac_ext
9135 /* The mapping between symbol names and symbols. */
9136 LT_DLSYM_CONST struct {
9140 lt__PROGRAM__LTX_preloaded_symbols[] =
9142 { "@PROGRAM@", (void *) 0 },
9144 $SED "s/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main
>> conftest.
$ac_ext
9145 cat <<\_LT_EOF
>> conftest.
$ac_ext
9149 /* This works around a problem
in FreeBSD linker
*/
9150 #ifdef FREEBSD_WORKAROUND
9151 static const void
*lt_preloaded_setup
() {
9152 return lt__PROGRAM__LTX_preloaded_symbols
;
9160 # Now try linking the two files.
9161 mv conftest.
$ac_objext conftstm.
$ac_objext
9162 lt_globsym_save_LIBS
=$LIBS
9163 lt_globsym_save_CFLAGS
=$CFLAGS
9164 LIBS
=conftstm.
$ac_objext
9165 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
9166 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
9167 (eval $ac_link) 2>&5
9169 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9170 test $ac_status = 0; } && test -s conftest
$ac_exeext; then
9173 LIBS
=$lt_globsym_save_LIBS
9174 CFLAGS
=$lt_globsym_save_CFLAGS
9176 echo "cannot find nm_test_func in $nlist" >&5
9179 echo "cannot find nm_test_var in $nlist" >&5
9182 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
9185 echo "$progname: failed program was:" >&5
9186 cat conftest.
$ac_ext >&5
9188 rm -rf conftest
* conftst
*
9190 # Do not use the global_symbol_pipe unless it works.
9191 if test yes = "$pipe_works"; then
9194 lt_cv_sys_global_symbol_pipe
=
9200 if test -z "$lt_cv_sys_global_symbol_pipe"; then
9201 lt_cv_sys_global_symbol_to_cdecl
=
9203 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
9204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
9205 $as_echo "failed" >&6; }
9207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
9208 $as_echo "ok" >&6; }
9211 # Response file support.
9212 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
9213 nm_file_list_spec
='@'
9214 elif $NM --help 2>/dev
/null
| grep '[@]FILE' >/dev
/null
; then
9215 nm_file_list_spec
='@'
9254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
9255 $as_echo_n "checking for sysroot... " >&6; }
9257 # Check whether --with-sysroot was given.
9258 if test "${with_sysroot+set}" = set; then :
9259 withval
=$with_sysroot;
9266 case $with_sysroot in #(
9268 if test yes = "$GCC"; then
9269 lt_sysroot
=`$CC --print-sysroot 2>/dev/null`
9273 lt_sysroot
=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
9278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
9279 $as_echo "$with_sysroot" >&6; }
9280 as_fn_error $?
"The sysroot must be an absolute path." "$LINENO" 5
9284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
9285 $as_echo "${lt_sysroot:-no}" >&6; }
9291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
9292 $as_echo_n "checking for a working dd... " >&6; }
9293 if ${ac_cv_path_lt_DD+:} false
; then :
9294 $as_echo_n "(cached) " >&6
9296 printf 0123456789abcdef0123456789abcdef
>conftest.i
9297 cat conftest.i conftest.i
>conftest2.i
9299 if test -z "$lt_DD"; then
9300 ac_path_lt_DD_found
=false
9301 # Loop through the user's path and test for each of PROGNAME-LIST
9302 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9306 test -z "$as_dir" && as_dir
=.
9307 for ac_prog
in dd; do
9308 for ac_exec_ext
in '' $ac_executable_extensions; do
9309 ac_path_lt_DD
="$as_dir/$ac_prog$ac_exec_ext"
9310 as_fn_executable_p
"$ac_path_lt_DD" || continue
9311 if "$ac_path_lt_DD" bs
=32 count
=1 <conftest2.i
>conftest.out
2>/dev
/null
; then
9312 cmp -s conftest.i conftest.out \
9313 && ac_cv_path_lt_DD
="$ac_path_lt_DD" ac_path_lt_DD_found
=:
9315 $ac_path_lt_DD_found && break 3
9320 if test -z "$ac_cv_path_lt_DD"; then
9324 ac_cv_path_lt_DD
=$lt_DD
9327 rm -f conftest.i conftest2.i conftest.out
9329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
9330 $as_echo "$ac_cv_path_lt_DD" >&6; }
9333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
9334 $as_echo_n "checking how to truncate binary pipes... " >&6; }
9335 if ${lt_cv_truncate_bin+:} false
; then :
9336 $as_echo_n "(cached) " >&6
9338 printf 0123456789abcdef0123456789abcdef
>conftest.i
9339 cat conftest.i conftest.i
>conftest2.i
9341 if "$ac_cv_path_lt_DD" bs
=32 count
=1 <conftest2.i
>conftest.out
2>/dev
/null
; then
9342 cmp -s conftest.i conftest.out \
9343 && lt_cv_truncate_bin
="$ac_cv_path_lt_DD bs=4096 count=1"
9345 rm -f conftest.i conftest2.i conftest.out
9346 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin
="$SED -e 4q"
9348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
9349 $as_echo "$lt_cv_truncate_bin" >&6; }
9357 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
9360 for cc_temp
in $
*""; do
9362 compile
| *[\\/]compile
| ccache
| *[\\/]ccache
) ;;
9363 distcc
| *[\\/]distcc
| purify
| *[\\/]purify
) ;;
9368 func_cc_basename_result
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
9371 # Check whether --enable-libtool-lock was given.
9372 if test "${enable_libtool_lock+set}" = set; then :
9373 enableval
=$enable_libtool_lock;
9376 test no
= "$enable_libtool_lock" || enable_libtool_lock
=yes
9378 # Some flags need to be propagated to the compiler or linker for good
9382 # Find out what ABI is being produced by ac_compile, and set mode
9383 # options accordingly.
9384 echo 'int i;' > conftest.
$ac_ext
9385 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9386 (eval $ac_compile) 2>&5
9388 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9389 test $ac_status = 0; }; then
9390 case `/usr/bin/file conftest.$ac_objext` in
9402 # Find out what ABI is being produced by ac_compile, and set linker
9403 # options accordingly.
9404 echo '#line '$LINENO' "configure"' > conftest.
$ac_ext
9405 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9406 (eval $ac_compile) 2>&5
9408 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9409 test $ac_status = 0; }; then
9410 if test yes = "$lt_cv_prog_gnu_ld"; then
9411 case `/usr/bin/file conftest.$ac_objext` in
9413 LD
="${LD-ld} -melf32bsmip"
9416 LD
="${LD-ld} -melf32bmipn32"
9419 LD
="${LD-ld} -melf64bmip"
9423 case `/usr/bin/file conftest.$ac_objext` in
9440 # Find out what ABI is being produced by ac_compile, and set linker
9441 # options accordingly.
9442 echo '#line '$LINENO' "configure"' > conftest.
$ac_ext
9443 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9444 (eval $ac_compile) 2>&5
9446 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9447 test $ac_status = 0; }; then
9449 case `/usr/bin/file conftest.$ac_objext` in
9457 case `/usr/bin/file conftest.$ac_objext` in
9459 emul
="${emul}btsmip"
9462 emul
="${emul}ltsmip"
9465 case `/usr/bin/file conftest.$ac_objext` in
9470 LD
="${LD-ld} -m $emul"
9475 x86_64
-*kfreebsd
*-gnu|x86_64
-*linux
*|powerpc
*-*linux
*| \
9476 s390
*-*linux
*|s390
*-*tpf
*|sparc
*-*linux
*)
9477 # Find out what ABI is being produced by ac_compile, and set linker
9478 # options accordingly. Note that the listed cases only cover the
9479 # situations where additional linker options are needed (such as when
9480 # doing 32-bit compilation for a host where ld defaults to 64-bit, or
9481 # vice versa); the common cases where no linker options are needed do
9482 # not appear in the list.
9483 echo 'int i;' > conftest.
$ac_ext
9484 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9485 (eval $ac_compile) 2>&5
9487 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9488 test $ac_status = 0; }; then
9489 case `/usr/bin/file conftest.o` in
9492 x86_64
-*kfreebsd
*-gnu)
9493 LD
="${LD-ld} -m elf_i386_fbsd"
9496 case `/usr/bin/file conftest.o` in
9498 LD
="${LD-ld} -m elf32_x86_64"
9501 LD
="${LD-ld} -m elf_i386"
9505 powerpc64le
-*linux
*)
9506 LD
="${LD-ld} -m elf32lppclinux"
9509 LD
="${LD-ld} -m elf32ppclinux"
9512 LD
="${LD-ld} -m elf_s390"
9515 LD
="${LD-ld} -m elf32_sparc"
9521 x86_64
-*kfreebsd
*-gnu)
9522 LD
="${LD-ld} -m elf_x86_64_fbsd"
9525 LD
="${LD-ld} -m elf_x86_64"
9528 LD
="${LD-ld} -m elf64lppc"
9531 LD
="${LD-ld} -m elf64ppc"
9533 s390
*-*linux
*|s390
*-*tpf
*)
9534 LD
="${LD-ld} -m elf64_s390"
9537 LD
="${LD-ld} -m elf64_sparc"
9547 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
9549 CFLAGS
="$CFLAGS -belf"
9550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
9551 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
9552 if ${lt_cv_cc_needs_belf+:} false
; then :
9553 $as_echo_n "(cached) " >&6
9556 ac_cpp
='$CPP $CPPFLAGS'
9557 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9558 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9559 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
9561 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9562 /* end confdefs.h. */
9572 if ac_fn_c_try_link
"$LINENO"; then :
9573 lt_cv_cc_needs_belf
=yes
9575 lt_cv_cc_needs_belf
=no
9577 rm -f core conftest.err conftest.
$ac_objext \
9578 conftest
$ac_exeext conftest.
$ac_ext
9580 ac_cpp
='$CPP $CPPFLAGS'
9581 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9582 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9583 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
9586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
9587 $as_echo "$lt_cv_cc_needs_belf" >&6; }
9588 if test yes != "$lt_cv_cc_needs_belf"; then
9589 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
9594 # Find out what ABI is being produced by ac_compile, and set linker
9595 # options accordingly.
9596 echo 'int i;' > conftest.
$ac_ext
9597 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9598 (eval $ac_compile) 2>&5
9600 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9601 test $ac_status = 0; }; then
9602 case `/usr/bin/file conftest.o` in
9604 case $lt_cv_prog_gnu_ld in
9607 i?
86-*-solaris*|x86_64
-*-solaris*)
9608 LD
="${LD-ld} -m elf_x86_64"
9611 LD
="${LD-ld} -m elf64_sparc"
9614 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
9615 if ${LD-ld} -V | grep _sol2
>/dev
/null
2>&1; then
9620 if ${LD-ld} -64 -r -o conftest2.o conftest.o
>/dev
/null
2>&1; then
9632 need_locks
=$enable_libtool_lock
9634 if test -n "$ac_tool_prefix"; then
9635 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
9636 set dummy
${ac_tool_prefix}mt
; ac_word
=$2
9637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9638 $as_echo_n "checking for $ac_word... " >&6; }
9639 if ${ac_cv_prog_MANIFEST_TOOL+:} false
; then :
9640 $as_echo_n "(cached) " >&6
9642 if test -n "$MANIFEST_TOOL"; then
9643 ac_cv_prog_MANIFEST_TOOL
="$MANIFEST_TOOL" # Let the user override the test.
9645 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9649 test -z "$as_dir" && as_dir
=.
9650 for ac_exec_ext
in '' $ac_executable_extensions; do
9651 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9652 ac_cv_prog_MANIFEST_TOOL
="${ac_tool_prefix}mt"
9653 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9662 MANIFEST_TOOL
=$ac_cv_prog_MANIFEST_TOOL
9663 if test -n "$MANIFEST_TOOL"; then
9664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
9665 $as_echo "$MANIFEST_TOOL" >&6; }
9667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9668 $as_echo "no" >&6; }
9673 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
9674 ac_ct_MANIFEST_TOOL
=$MANIFEST_TOOL
9675 # Extract the first word of "mt", so it can be a program name with args.
9676 set dummy mt
; ac_word
=$2
9677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9678 $as_echo_n "checking for $ac_word... " >&6; }
9679 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false
; then :
9680 $as_echo_n "(cached) " >&6
9682 if test -n "$ac_ct_MANIFEST_TOOL"; then
9683 ac_cv_prog_ac_ct_MANIFEST_TOOL
="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
9685 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9689 test -z "$as_dir" && as_dir
=.
9690 for ac_exec_ext
in '' $ac_executable_extensions; do
9691 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9692 ac_cv_prog_ac_ct_MANIFEST_TOOL
="mt"
9693 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9702 ac_ct_MANIFEST_TOOL
=$ac_cv_prog_ac_ct_MANIFEST_TOOL
9703 if test -n "$ac_ct_MANIFEST_TOOL"; then
9704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
9705 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
9707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9708 $as_echo "no" >&6; }
9711 if test "x$ac_ct_MANIFEST_TOOL" = x
; then
9714 case $cross_compiling:$ac_tool_warned in
9716 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9717 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9718 ac_tool_warned
=yes ;;
9720 MANIFEST_TOOL
=$ac_ct_MANIFEST_TOOL
9723 MANIFEST_TOOL
="$ac_cv_prog_MANIFEST_TOOL"
9726 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL
=mt
9727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
9728 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
9729 if ${lt_cv_path_mainfest_tool+:} false
; then :
9730 $as_echo_n "(cached) " >&6
9732 lt_cv_path_mainfest_tool
=no
9733 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
9734 $MANIFEST_TOOL '-?' 2>conftest.err
> conftest.out
9735 cat conftest.err
>&5
9736 if $GREP 'Manifest Tool' conftest.out
> /dev
/null
; then
9737 lt_cv_path_mainfest_tool
=yes
9741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
9742 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
9743 if test yes != "$lt_cv_path_mainfest_tool"; then
9753 rhapsody
* | darwin
*)
9754 if test -n "$ac_tool_prefix"; then
9755 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
9756 set dummy
${ac_tool_prefix}dsymutil
; ac_word
=$2
9757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9758 $as_echo_n "checking for $ac_word... " >&6; }
9759 if ${ac_cv_prog_DSYMUTIL+:} false
; then :
9760 $as_echo_n "(cached) " >&6
9762 if test -n "$DSYMUTIL"; then
9763 ac_cv_prog_DSYMUTIL
="$DSYMUTIL" # Let the user override the test.
9765 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9769 test -z "$as_dir" && as_dir
=.
9770 for ac_exec_ext
in '' $ac_executable_extensions; do
9771 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9772 ac_cv_prog_DSYMUTIL
="${ac_tool_prefix}dsymutil"
9773 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9782 DSYMUTIL
=$ac_cv_prog_DSYMUTIL
9783 if test -n "$DSYMUTIL"; then
9784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
9785 $as_echo "$DSYMUTIL" >&6; }
9787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9788 $as_echo "no" >&6; }
9793 if test -z "$ac_cv_prog_DSYMUTIL"; then
9794 ac_ct_DSYMUTIL
=$DSYMUTIL
9795 # Extract the first word of "dsymutil", so it can be a program name with args.
9796 set dummy dsymutil
; ac_word
=$2
9797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9798 $as_echo_n "checking for $ac_word... " >&6; }
9799 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false
; then :
9800 $as_echo_n "(cached) " >&6
9802 if test -n "$ac_ct_DSYMUTIL"; then
9803 ac_cv_prog_ac_ct_DSYMUTIL
="$ac_ct_DSYMUTIL" # Let the user override the test.
9805 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9809 test -z "$as_dir" && as_dir
=.
9810 for ac_exec_ext
in '' $ac_executable_extensions; do
9811 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9812 ac_cv_prog_ac_ct_DSYMUTIL
="dsymutil"
9813 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9822 ac_ct_DSYMUTIL
=$ac_cv_prog_ac_ct_DSYMUTIL
9823 if test -n "$ac_ct_DSYMUTIL"; then
9824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
9825 $as_echo "$ac_ct_DSYMUTIL" >&6; }
9827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9828 $as_echo "no" >&6; }
9831 if test "x$ac_ct_DSYMUTIL" = x
; then
9834 case $cross_compiling:$ac_tool_warned in
9836 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9837 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9838 ac_tool_warned
=yes ;;
9840 DSYMUTIL
=$ac_ct_DSYMUTIL
9843 DSYMUTIL
="$ac_cv_prog_DSYMUTIL"
9846 if test -n "$ac_tool_prefix"; then
9847 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
9848 set dummy
${ac_tool_prefix}nmedit
; ac_word
=$2
9849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9850 $as_echo_n "checking for $ac_word... " >&6; }
9851 if ${ac_cv_prog_NMEDIT+:} false
; then :
9852 $as_echo_n "(cached) " >&6
9854 if test -n "$NMEDIT"; then
9855 ac_cv_prog_NMEDIT
="$NMEDIT" # Let the user override the test.
9857 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9861 test -z "$as_dir" && as_dir
=.
9862 for ac_exec_ext
in '' $ac_executable_extensions; do
9863 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9864 ac_cv_prog_NMEDIT
="${ac_tool_prefix}nmedit"
9865 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9874 NMEDIT
=$ac_cv_prog_NMEDIT
9875 if test -n "$NMEDIT"; then
9876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
9877 $as_echo "$NMEDIT" >&6; }
9879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9880 $as_echo "no" >&6; }
9885 if test -z "$ac_cv_prog_NMEDIT"; then
9886 ac_ct_NMEDIT
=$NMEDIT
9887 # Extract the first word of "nmedit", so it can be a program name with args.
9888 set dummy nmedit
; ac_word
=$2
9889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9890 $as_echo_n "checking for $ac_word... " >&6; }
9891 if ${ac_cv_prog_ac_ct_NMEDIT+:} false
; then :
9892 $as_echo_n "(cached) " >&6
9894 if test -n "$ac_ct_NMEDIT"; then
9895 ac_cv_prog_ac_ct_NMEDIT
="$ac_ct_NMEDIT" # Let the user override the test.
9897 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9901 test -z "$as_dir" && as_dir
=.
9902 for ac_exec_ext
in '' $ac_executable_extensions; do
9903 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9904 ac_cv_prog_ac_ct_NMEDIT
="nmedit"
9905 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9914 ac_ct_NMEDIT
=$ac_cv_prog_ac_ct_NMEDIT
9915 if test -n "$ac_ct_NMEDIT"; then
9916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
9917 $as_echo "$ac_ct_NMEDIT" >&6; }
9919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9920 $as_echo "no" >&6; }
9923 if test "x$ac_ct_NMEDIT" = x
; then
9926 case $cross_compiling:$ac_tool_warned in
9928 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9929 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9930 ac_tool_warned
=yes ;;
9932 NMEDIT
=$ac_ct_NMEDIT
9935 NMEDIT
="$ac_cv_prog_NMEDIT"
9938 if test -n "$ac_tool_prefix"; then
9939 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
9940 set dummy
${ac_tool_prefix}lipo
; ac_word
=$2
9941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9942 $as_echo_n "checking for $ac_word... " >&6; }
9943 if ${ac_cv_prog_LIPO+:} false
; then :
9944 $as_echo_n "(cached) " >&6
9946 if test -n "$LIPO"; then
9947 ac_cv_prog_LIPO
="$LIPO" # Let the user override the test.
9949 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9953 test -z "$as_dir" && as_dir
=.
9954 for ac_exec_ext
in '' $ac_executable_extensions; do
9955 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9956 ac_cv_prog_LIPO
="${ac_tool_prefix}lipo"
9957 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9966 LIPO
=$ac_cv_prog_LIPO
9967 if test -n "$LIPO"; then
9968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
9969 $as_echo "$LIPO" >&6; }
9971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9972 $as_echo "no" >&6; }
9977 if test -z "$ac_cv_prog_LIPO"; then
9979 # Extract the first word of "lipo", so it can be a program name with args.
9980 set dummy lipo
; ac_word
=$2
9981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9982 $as_echo_n "checking for $ac_word... " >&6; }
9983 if ${ac_cv_prog_ac_ct_LIPO+:} false
; then :
9984 $as_echo_n "(cached) " >&6
9986 if test -n "$ac_ct_LIPO"; then
9987 ac_cv_prog_ac_ct_LIPO
="$ac_ct_LIPO" # Let the user override the test.
9989 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9993 test -z "$as_dir" && as_dir
=.
9994 for ac_exec_ext
in '' $ac_executable_extensions; do
9995 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9996 ac_cv_prog_ac_ct_LIPO
="lipo"
9997 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10006 ac_ct_LIPO
=$ac_cv_prog_ac_ct_LIPO
10007 if test -n "$ac_ct_LIPO"; then
10008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
10009 $as_echo "$ac_ct_LIPO" >&6; }
10011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10012 $as_echo "no" >&6; }
10015 if test "x$ac_ct_LIPO" = x
; then
10018 case $cross_compiling:$ac_tool_warned in
10020 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10021 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10022 ac_tool_warned
=yes ;;
10027 LIPO
="$ac_cv_prog_LIPO"
10030 if test -n "$ac_tool_prefix"; then
10031 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
10032 set dummy
${ac_tool_prefix}otool
; ac_word
=$2
10033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10034 $as_echo_n "checking for $ac_word... " >&6; }
10035 if ${ac_cv_prog_OTOOL+:} false
; then :
10036 $as_echo_n "(cached) " >&6
10038 if test -n "$OTOOL"; then
10039 ac_cv_prog_OTOOL
="$OTOOL" # Let the user override the test.
10041 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10042 for as_dir
in $PATH
10045 test -z "$as_dir" && as_dir
=.
10046 for ac_exec_ext
in '' $ac_executable_extensions; do
10047 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10048 ac_cv_prog_OTOOL
="${ac_tool_prefix}otool"
10049 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10058 OTOOL
=$ac_cv_prog_OTOOL
10059 if test -n "$OTOOL"; then
10060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
10061 $as_echo "$OTOOL" >&6; }
10063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10064 $as_echo "no" >&6; }
10069 if test -z "$ac_cv_prog_OTOOL"; then
10071 # Extract the first word of "otool", so it can be a program name with args.
10072 set dummy otool
; ac_word
=$2
10073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10074 $as_echo_n "checking for $ac_word... " >&6; }
10075 if ${ac_cv_prog_ac_ct_OTOOL+:} false
; then :
10076 $as_echo_n "(cached) " >&6
10078 if test -n "$ac_ct_OTOOL"; then
10079 ac_cv_prog_ac_ct_OTOOL
="$ac_ct_OTOOL" # Let the user override the test.
10081 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10082 for as_dir
in $PATH
10085 test -z "$as_dir" && as_dir
=.
10086 for ac_exec_ext
in '' $ac_executable_extensions; do
10087 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10088 ac_cv_prog_ac_ct_OTOOL
="otool"
10089 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10098 ac_ct_OTOOL
=$ac_cv_prog_ac_ct_OTOOL
10099 if test -n "$ac_ct_OTOOL"; then
10100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
10101 $as_echo "$ac_ct_OTOOL" >&6; }
10103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10104 $as_echo "no" >&6; }
10107 if test "x$ac_ct_OTOOL" = x
; then
10110 case $cross_compiling:$ac_tool_warned in
10112 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10113 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10114 ac_tool_warned
=yes ;;
10119 OTOOL
="$ac_cv_prog_OTOOL"
10122 if test -n "$ac_tool_prefix"; then
10123 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
10124 set dummy
${ac_tool_prefix}otool64
; ac_word
=$2
10125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10126 $as_echo_n "checking for $ac_word... " >&6; }
10127 if ${ac_cv_prog_OTOOL64+:} false
; then :
10128 $as_echo_n "(cached) " >&6
10130 if test -n "$OTOOL64"; then
10131 ac_cv_prog_OTOOL64
="$OTOOL64" # Let the user override the test.
10133 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10134 for as_dir
in $PATH
10137 test -z "$as_dir" && as_dir
=.
10138 for ac_exec_ext
in '' $ac_executable_extensions; do
10139 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10140 ac_cv_prog_OTOOL64
="${ac_tool_prefix}otool64"
10141 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10150 OTOOL64
=$ac_cv_prog_OTOOL64
10151 if test -n "$OTOOL64"; then
10152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
10153 $as_echo "$OTOOL64" >&6; }
10155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10156 $as_echo "no" >&6; }
10161 if test -z "$ac_cv_prog_OTOOL64"; then
10162 ac_ct_OTOOL64
=$OTOOL64
10163 # Extract the first word of "otool64", so it can be a program name with args.
10164 set dummy otool64
; ac_word
=$2
10165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10166 $as_echo_n "checking for $ac_word... " >&6; }
10167 if ${ac_cv_prog_ac_ct_OTOOL64+:} false
; then :
10168 $as_echo_n "(cached) " >&6
10170 if test -n "$ac_ct_OTOOL64"; then
10171 ac_cv_prog_ac_ct_OTOOL64
="$ac_ct_OTOOL64" # Let the user override the test.
10173 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10174 for as_dir
in $PATH
10177 test -z "$as_dir" && as_dir
=.
10178 for ac_exec_ext
in '' $ac_executable_extensions; do
10179 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10180 ac_cv_prog_ac_ct_OTOOL64
="otool64"
10181 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10190 ac_ct_OTOOL64
=$ac_cv_prog_ac_ct_OTOOL64
10191 if test -n "$ac_ct_OTOOL64"; then
10192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
10193 $as_echo "$ac_ct_OTOOL64" >&6; }
10195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10196 $as_echo "no" >&6; }
10199 if test "x$ac_ct_OTOOL64" = x
; then
10202 case $cross_compiling:$ac_tool_warned in
10204 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10205 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10206 ac_tool_warned
=yes ;;
10208 OTOOL64
=$ac_ct_OTOOL64
10211 OTOOL64
="$ac_cv_prog_OTOOL64"
10240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
10241 $as_echo_n "checking for -single_module linker flag... " >&6; }
10242 if ${lt_cv_apple_cc_single_mod+:} false
; then :
10243 $as_echo_n "(cached) " >&6
10245 lt_cv_apple_cc_single_mod
=no
10246 if test -z "$LT_MULTI_MODULE"; then
10247 # By default we will add the -single_module flag. You can override
10248 # by either setting the environment variable LT_MULTI_MODULE
10249 # non-empty at configure time, or by adding -multi_module to the
10251 rm -rf libconftest.dylib
*
10252 echo "int foo(void){return 1;}" > conftest.c
10253 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
10254 -dynamiclib -Wl,-single_module conftest.c" >&5
10255 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
10256 -dynamiclib -Wl,-single_module conftest.c
2>conftest.err
10258 # If there is a non-empty error log, and "single_module"
10259 # appears in it, assume the flag caused a linker warning
10260 if test -s conftest.err
&& $GREP single_module conftest.err
; then
10261 cat conftest.err
>&5
10262 # Otherwise, if the output was created with a 0 exit code from
10263 # the compiler, it worked.
10264 elif test -f libconftest.dylib
&& test 0 = "$_lt_result"; then
10265 lt_cv_apple_cc_single_mod
=yes
10267 cat conftest.err
>&5
10269 rm -rf libconftest.dylib
*
10273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
10274 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
10276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
10277 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
10278 if ${lt_cv_ld_exported_symbols_list+:} false
; then :
10279 $as_echo_n "(cached) " >&6
10281 lt_cv_ld_exported_symbols_list
=no
10282 save_LDFLAGS
=$LDFLAGS
10283 echo "_main" > conftest.sym
10284 LDFLAGS
="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
10285 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10286 /* end confdefs.h. */
10296 if ac_fn_c_try_link
"$LINENO"; then :
10297 lt_cv_ld_exported_symbols_list
=yes
10299 lt_cv_ld_exported_symbols_list
=no
10301 rm -f core conftest.err conftest.
$ac_objext \
10302 conftest
$ac_exeext conftest.
$ac_ext
10303 LDFLAGS
=$save_LDFLAGS
10306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
10307 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
10309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
10310 $as_echo_n "checking for -force_load linker flag... " >&6; }
10311 if ${lt_cv_ld_force_load+:} false
; then :
10312 $as_echo_n "(cached) " >&6
10314 lt_cv_ld_force_load
=no
10315 cat > conftest.c
<< _LT_EOF
10316 int forced_loaded() { return 2;}
10318 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
10319 $LTCC $LTCFLAGS -c -o conftest.o conftest.c
2>&5
10320 echo "$AR cru libconftest.a conftest.o" >&5
10321 $AR cru libconftest.a conftest.o
2>&5
10322 echo "$RANLIB libconftest.a" >&5
10323 $RANLIB libconftest.a
2>&5
10324 cat > conftest.c
<< _LT_EOF
10325 int main() { return 0;}
10327 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
10328 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
2>conftest.err
10330 if test -s conftest.err
&& $GREP force_load conftest.err
; then
10331 cat conftest.err
>&5
10332 elif test -f conftest
&& test 0 = "$_lt_result" && $GREP forced_load conftest
>/dev
/null
2>&1; then
10333 lt_cv_ld_force_load
=yes
10335 cat conftest.err
>&5
10337 rm -f conftest.err libconftest.a conftest conftest.c
10338 rm -rf conftest.dSYM
10341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
10342 $as_echo "$lt_cv_ld_force_load" >&6; }
10344 rhapsody
* | darwin1.
[012])
10345 _lt_dar_allow_undefined
='$wl-undefined ${wl}suppress' ;;
10347 _lt_dar_allow_undefined
='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
10348 darwin
*) # darwin 5.x on
10349 # if running on 10.5 or later, the deployment target defaults
10350 # to the OS version, if on x86, and 10.4, the deployment
10351 # target defaults to 10.4. Don't you love it?
10352 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
10353 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
10354 _lt_dar_allow_undefined
='$wl-undefined ${wl}dynamic_lookup' ;;
10356 _lt_dar_allow_undefined
='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
10358 _lt_dar_allow_undefined
='$wl-undefined ${wl}dynamic_lookup' ;;
10362 if test yes = "$lt_cv_apple_cc_single_mod"; then
10363 _lt_dar_single_mod
='$single_module'
10365 if test yes = "$lt_cv_ld_exported_symbols_list"; then
10366 _lt_dar_export_syms
=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
10368 _lt_dar_export_syms
='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
10370 if test : != "$DSYMUTIL" && test no
= "$lt_cv_ld_force_load"; then
10371 _lt_dsymutil
='~$DSYMUTIL $lib || :'
10378 # func_munge_path_list VARIABLE PATH
10379 # -----------------------------------
10380 # VARIABLE is name of variable containing _space_ separated list of
10381 # directories to be munged by the contents of PATH, which is string
10384 # string "DIR[ DIR]" will be prepended to VARIABLE
10386 # string "DIR[ DIR]" will be appended to VARIABLE
10387 # "DIRP[:DIRP]::[DIRA:]DIRA"
10388 # string "DIRP[ DIRP]" will be prepended to VARIABLE and string
10389 # "DIRA[ DIRA]" will be appended to VARIABLE
10391 # VARIABLE will be replaced by "DIR[ DIR]"
10392 func_munge_path_list
()
10398 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$
$1\"
10401 eval $1=\"\$
$1 `$ECHO $2 | $SED 's/:/ /g'`\"
10404 eval $1=\"\$
$1\
`$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
10405 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$
$1\"
10408 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
10414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
10415 $as_echo_n "checking for ANSI C header files... " >&6; }
10416 if ${ac_cv_header_stdc+:} false
; then :
10417 $as_echo_n "(cached) " >&6
10419 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10420 /* end confdefs.h. */
10421 #include <stdlib.h>
10422 #include <stdarg.h>
10423 #include <string.h>
10434 if ac_fn_c_try_compile
"$LINENO"; then :
10435 ac_cv_header_stdc
=yes
10437 ac_cv_header_stdc
=no
10439 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10441 if test $ac_cv_header_stdc = yes; then
10442 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
10443 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10444 /* end confdefs.h. */
10445 #include <string.h>
10448 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10449 $EGREP "memchr" >/dev
/null
2>&1; then :
10452 ac_cv_header_stdc
=no
10458 if test $ac_cv_header_stdc = yes; then
10459 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
10460 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10461 /* end confdefs.h. */
10462 #include <stdlib.h>
10465 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10466 $EGREP "free" >/dev
/null
2>&1; then :
10469 ac_cv_header_stdc
=no
10475 if test $ac_cv_header_stdc = yes; then
10476 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
10477 if test "$cross_compiling" = yes; then :
10480 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10481 /* end confdefs.h. */
10483 #include <stdlib.h>
10484 #if ((' ' & 0x0FF) == 0x020)
10485 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
10486 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
10488 # define ISLOWER(c) \
10489 (('a' <= (c) && (c) <= 'i') \
10490 || ('j' <= (c) && (c) <= 'r') \
10491 || ('s' <= (c) && (c) <= 'z'))
10492 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
10495 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
10500 for (i = 0; i < 256; i++)
10501 if (XOR (islower (i), ISLOWER (i))
10502 || toupper (i) != TOUPPER (i))
10507 if ac_fn_c_try_run
"$LINENO"; then :
10510 ac_cv_header_stdc
=no
10512 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
10513 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
10518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
10519 $as_echo "$ac_cv_header_stdc" >&6; }
10520 if test $ac_cv_header_stdc = yes; then
10522 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
10526 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
10527 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
10528 inttypes.h stdint.h unistd.h
10530 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10531 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
10533 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
10534 cat >>confdefs.h
<<_ACEOF
10535 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10543 for ac_header
in dlfcn.h
10545 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
10547 if test "x$ac_cv_header_dlfcn_h" = xyes
; then :
10548 cat >>confdefs.h
<<_ACEOF
10549 #define HAVE_DLFCN_H 1
10559 func_stripname_cnf
()
10562 .
*) func_stripname_result
=`$ECHO "$3" | $SED "s%^$1%%; s%\\\\$2\$%%"`;;
10563 *) func_stripname_result
=`$ECHO "$3" | $SED "s%^$1%%; s%$2\$%%"`;;
10565 } # func_stripname_cnf
10572 # Check whether --enable-static was given.
10573 if test "${enable_static+set}" = set; then :
10574 enableval
=$enable_static; p
=${PACKAGE-default}
10576 yes) enable_static
=yes ;;
10577 no
) enable_static
=no
;;
10580 # Look at the argument we got. We use all the common list separators.
10581 lt_save_ifs
=$IFS; IFS
=$IFS$PATH_SEPARATOR,
10582 for pkg
in $enableval; do
10584 if test "X$pkg" = "X$p"; then
10607 enable_win32_dll
=no
10610 # Check whether --enable-shared was given.
10611 if test "${enable_shared+set}" = set; then :
10612 enableval
=$enable_shared; p
=${PACKAGE-default}
10614 yes) enable_shared
=yes ;;
10615 no
) enable_shared
=no
;;
10618 # Look at the argument we got. We use all the common list separators.
10619 lt_save_ifs
=$IFS; IFS
=$IFS$PATH_SEPARATOR,
10620 for pkg
in $enableval; do
10622 if test "X$pkg" = "X$p"; then
10643 # Check whether --with-pic was given.
10644 if test "${with_pic+set}" = set; then :
10645 withval
=$with_pic; lt_p
=${PACKAGE-default}
10647 yes|no
) pic_mode
=$withval ;;
10650 # Look at the argument we got. We use all the common list separators.
10651 lt_save_ifs
=$IFS; IFS
=$IFS$PATH_SEPARATOR,
10652 for lt_pkg
in $withval; do
10654 if test "X$lt_pkg" = "X$lt_p"; then
10672 # Check whether --enable-fast-install was given.
10673 if test "${enable_fast_install+set}" = set; then :
10674 enableval
=$enable_fast_install; p
=${PACKAGE-default}
10676 yes) enable_fast_install
=yes ;;
10677 no
) enable_fast_install
=no
;;
10679 enable_fast_install
=no
10680 # Look at the argument we got. We use all the common list separators.
10681 lt_save_ifs
=$IFS; IFS
=$IFS$PATH_SEPARATOR,
10682 for pkg
in $enableval; do
10684 if test "X$pkg" = "X$p"; then
10685 enable_fast_install
=yes
10692 enable_fast_install
=yes
10702 shared_archive_member_spec
=
10703 case $host,$enable_shared in
10704 power
*-*-aix[5-9]*,yes)
10705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
10706 $as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
10708 # Check whether --with-aix-soname was given.
10709 if test "${with_aix_soname+set}" = set; then :
10710 withval
=$with_aix_soname; case $withval in
10714 as_fn_error $?
"Unknown argument to --with-aix-soname" "$LINENO" 5
10717 lt_cv_with_aix_soname
=$with_aix_soname
10719 if ${lt_cv_with_aix_soname+:} false
; then :
10720 $as_echo_n "(cached) " >&6
10722 lt_cv_with_aix_soname
=aix
10725 with_aix_soname
=$lt_cv_with_aix_soname
10728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
10729 $as_echo "$with_aix_soname" >&6; }
10730 if test aix
!= "$with_aix_soname"; then
10731 # For the AIX way of multilib, we name the shared archive member
10732 # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
10733 # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
10734 # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
10735 # the AIX toolchain works better with OBJECT_MODE set (default 32).
10736 if test 64 = "${OBJECT_MODE-32}"; then
10737 shared_archive_member_spec
=shr_64
10739 shared_archive_member_spec
=shr
10744 with_aix_soname
=aix
10757 # This can be used to rebuild libtool when needed
10758 LIBTOOL_DEPS
=$ltmain
10760 # Always use our own libtool.
10761 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
10792 test -z "$LN_S" && LN_S
="ln -s"
10807 if test -n "${ZSH_VERSION+set}"; then
10808 setopt NO_GLOB_SUBST
10811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
10812 $as_echo_n "checking for objdir... " >&6; }
10813 if ${lt_cv_objdir+:} false
; then :
10814 $as_echo_n "(cached) " >&6
10816 rm -f .libs
2>/dev
/null
10817 mkdir .libs
2>/dev
/null
10818 if test -d .libs
; then
10821 # MS-DOS does not allow filenames that begin with a dot.
10824 rmdir .libs
2>/dev
/null
10826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
10827 $as_echo "$lt_cv_objdir" >&6; }
10828 objdir
=$lt_cv_objdir
10834 cat >>confdefs.h
<<_ACEOF
10835 #define LT_OBJDIR "$lt_cv_objdir/"
10843 # AIX sometimes has problems with the GCC collect2 program. For some
10844 # reason, if we set the COLLECT_NAMES environment variable, the problems
10845 # vanish in a puff of smoke.
10846 if test set != "${COLLECT_NAMES+set}"; then
10848 export COLLECT_NAMES
10853 # Global variables:
10855 can_build_shared
=yes
10857 # All known linkers require a '.a' archive for static linking (except MSVC,
10858 # which needs '.lib').
10861 with_gnu_ld
=$lt_cv_prog_gnu_ld
10866 # Set sane defaults for various variables
10867 test -z "$CC" && CC
=cc
10868 test -z "$LTCC" && LTCC
=$CC
10869 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
10870 test -z "$LD" && LD
=ld
10871 test -z "$ac_objext" && ac_objext
=o
10873 func_cc_basename
$compiler
10874 cc_basename
=$func_cc_basename_result
10877 # Only perform the check for file, if the check method requires it
10878 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
10879 case $deplibs_check_method in
10881 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
10882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
10883 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
10884 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
10885 $as_echo_n "(cached) " >&6
10889 lt_cv_path_MAGIC_CMD
=$MAGIC_CMD # Let the user override the test with a path.
10892 lt_save_MAGIC_CMD
=$MAGIC_CMD
10893 lt_save_ifs
=$IFS; IFS
=$PATH_SEPARATOR
10894 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
10895 for ac_dir
in $ac_dummy; do
10897 test -z "$ac_dir" && ac_dir
=.
10898 if test -f "$ac_dir/${ac_tool_prefix}file"; then
10899 lt_cv_path_MAGIC_CMD
=$ac_dir/"${ac_tool_prefix}file"
10900 if test -n "$file_magic_test_file"; then
10901 case $deplibs_check_method in
10903 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
10904 MAGIC_CMD
=$lt_cv_path_MAGIC_CMD
10905 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null
|
10906 $EGREP "$file_magic_regex" > /dev
/null
; then
10911 *** Warning: the command libtool uses to detect shared libraries,
10912 *** $file_magic_cmd, produces output that libtool cannot recognize.
10913 *** The result is that libtool may fail to recognize shared libraries
10914 *** as such. This will affect the creation of libtool libraries that
10915 *** depend on shared libraries, but programs linked with such libtool
10916 *** libraries will work regardless of this problem. Nevertheless, you
10917 *** may want to report the problem to your system manager and/or to
10918 *** bug-libtool@gnu.org
10928 MAGIC_CMD
=$lt_save_MAGIC_CMD
10933 MAGIC_CMD
=$lt_cv_path_MAGIC_CMD
10934 if test -n "$MAGIC_CMD"; then
10935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
10936 $as_echo "$MAGIC_CMD" >&6; }
10938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10939 $as_echo "no" >&6; }
10946 if test -z "$lt_cv_path_MAGIC_CMD"; then
10947 if test -n "$ac_tool_prefix"; then
10948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
10949 $as_echo_n "checking for file... " >&6; }
10950 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
10951 $as_echo_n "(cached) " >&6
10955 lt_cv_path_MAGIC_CMD
=$MAGIC_CMD # Let the user override the test with a path.
10958 lt_save_MAGIC_CMD
=$MAGIC_CMD
10959 lt_save_ifs
=$IFS; IFS
=$PATH_SEPARATOR
10960 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
10961 for ac_dir
in $ac_dummy; do
10963 test -z "$ac_dir" && ac_dir
=.
10964 if test -f "$ac_dir/file"; then
10965 lt_cv_path_MAGIC_CMD
=$ac_dir/"file"
10966 if test -n "$file_magic_test_file"; then
10967 case $deplibs_check_method in
10969 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
10970 MAGIC_CMD
=$lt_cv_path_MAGIC_CMD
10971 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null
|
10972 $EGREP "$file_magic_regex" > /dev
/null
; then
10977 *** Warning: the command libtool uses to detect shared libraries,
10978 *** $file_magic_cmd, produces output that libtool cannot recognize.
10979 *** The result is that libtool may fail to recognize shared libraries
10980 *** as such. This will affect the creation of libtool libraries that
10981 *** depend on shared libraries, but programs linked with such libtool
10982 *** libraries will work regardless of this problem. Nevertheless, you
10983 *** may want to report the problem to your system manager and/or to
10984 *** bug-libtool@gnu.org
10994 MAGIC_CMD
=$lt_save_MAGIC_CMD
10999 MAGIC_CMD
=$lt_cv_path_MAGIC_CMD
11000 if test -n "$MAGIC_CMD"; then
11001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
11002 $as_echo "$MAGIC_CMD" >&6; }
11004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11005 $as_echo "no" >&6; }
11018 # Use C for the default configuration in the libtool script
11022 ac_cpp
='$CPP $CPPFLAGS'
11023 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11024 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11025 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11028 # Source file extension for C test sources.
11031 # Object file extension for compiled C test sources.
11035 # Code to be used in simple compile tests
11036 lt_simple_compile_test_code
="int some_variable = 0;"
11038 # Code to be used in simple link tests
11039 lt_simple_link_test_code
='int main(){return(0);}'
11047 # If no C compiler was specified, use CC.
11050 # If no C compiler flags were specified, use CFLAGS.
11051 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
11053 # Allow CC to be a program name with arguments.
11056 # Save the default compiler, since it gets overwritten when the other
11057 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
11058 compiler_DEFAULT
=$CC
11060 # save warnings/boilerplate of simple test code
11061 ac_outfile
=conftest.
$ac_objext
11062 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
11063 eval "$ac_compile" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
11064 _lt_compiler_boilerplate
=`cat conftest.err`
11067 ac_outfile
=conftest.
$ac_objext
11068 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
11069 eval "$ac_link" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
11070 _lt_linker_boilerplate
=`cat conftest.err`
11075 ## There is no encapsulation within the following macros, do not change
11076 ## the running order or otherwise move them around unless you know exactly
11077 ## what you are doing...
11078 if test -n "$compiler"; then
11080 lt_prog_compiler_no_builtin_flag
=
11082 if test yes = "$GCC"; then
11083 case $cc_basename in
11085 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
11087 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
11090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
11091 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
11092 if ${lt_cv_prog_compiler_rtti_exceptions+:} false
; then :
11093 $as_echo_n "(cached) " >&6
11095 lt_cv_prog_compiler_rtti_exceptions
=no
11096 ac_outfile
=conftest.
$ac_objext
11097 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
11098 lt_compiler_flag
="-fno-rtti -fno-exceptions" ## exclude from sc_useless_quotes_in_assignment
11099 # Insert the option either (1) after the last *FLAGS variable, or
11100 # (2) before a word containing "conftest.", or (3) at the end.
11101 # Note that $ac_compile itself does not contain backslashes and begins
11102 # with a dollar sign (not a hyphen), so the echo should work correctly.
11103 # The option is referenced via a variable to avoid confusing sed.
11104 lt_compile
=`echo "$ac_compile" | $SED \
11105 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11106 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11107 -e 's:$: $lt_compiler_flag:'`
11108 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
11109 (eval "$lt_compile" 2>conftest.err
)
11111 cat conftest.err
>&5
11112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11113 if (exit $ac_status) && test -s "$ac_outfile"; then
11114 # The compiler can only warn and ignore the option if not recognized
11115 # So say no if there are warnings other than the usual output.
11116 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
11117 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
11118 if test ! -s conftest.er2
|| diff conftest.exp conftest.er2
>/dev
/null
; then
11119 lt_cv_prog_compiler_rtti_exceptions
=yes
11125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
11126 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
11128 if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
11129 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
11141 lt_prog_compiler_wl
=
11142 lt_prog_compiler_pic
=
11143 lt_prog_compiler_static
=
11146 if test yes = "$GCC"; then
11147 lt_prog_compiler_wl
='-Wl,'
11148 lt_prog_compiler_static
='-static'
11152 # All AIX code is PIC.
11153 if test ia64
= "$host_cpu"; then
11154 # AIX 5 now supports IA64 processor
11155 lt_prog_compiler_static
='-Bstatic'
11157 lt_prog_compiler_pic
='-fPIC'
11163 # see comment about AmigaOS4 .so support
11164 lt_prog_compiler_pic
='-fPIC'
11167 # FIXME: we need at least 68020 code to build shared libraries, but
11168 # adding the '-m68020' flag to GCC prevents building anything better,
11170 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
11175 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
11176 # PIC is the default for these OSes.
11179 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
11180 # This hack is so that the source file can tell whether it is being
11181 # built for inclusion in a dll (and should export symbols for example).
11182 # Although the cygwin gcc ignores -fPIC, still need this for old-style
11183 # (--disable-auto-import) libraries
11184 lt_prog_compiler_pic
='-DDLL_EXPORT'
11187 lt_prog_compiler_static
='$wl-static'
11192 darwin
* | rhapsody
*)
11193 # PIC is the default on this platform
11194 # Common symbols not allowed in MH_DYLIB files
11195 lt_prog_compiler_pic
='-fno-common'
11199 # PIC is the default for Haiku.
11200 # The "-static" flag exists, but is broken.
11201 lt_prog_compiler_static
=
11205 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
11206 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
11207 # sets the default TLS model and affects inlining.
11213 lt_prog_compiler_pic
='-fPIC'
11219 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
11220 # Instead, we relocate shared libraries at runtime.
11224 # Just because we use GCC doesn't mean we suddenly get shared libraries
11225 # on systems that don't support them.
11226 lt_prog_compiler_can_build_shared
=no
11231 # QNX uses GNU C++, but need to define -shared option too, otherwise
11232 # it will coredump.
11233 lt_prog_compiler_pic
='-fPIC -shared'
11237 if test -d /usr
/nec
; then
11238 lt_prog_compiler_pic
=-Kconform_pic
11243 lt_prog_compiler_pic
='-fPIC'
11247 case $cc_basename in
11248 nvcc
*) # Cuda Compiler Driver 2.2
11249 lt_prog_compiler_wl
='-Xlinker '
11250 if test -n "$lt_prog_compiler_pic"; then
11251 lt_prog_compiler_pic
="-Xcompiler $lt_prog_compiler_pic"
11256 # PORTME Check for flag to pass linker flags through the system compiler.
11259 lt_prog_compiler_wl
='-Wl,'
11260 if test ia64
= "$host_cpu"; then
11261 # AIX 5 now supports IA64 processor
11262 lt_prog_compiler_static
='-Bstatic'
11264 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
11268 darwin
* | rhapsody
*)
11269 # PIC is the default on this platform
11270 # Common symbols not allowed in MH_DYLIB files
11271 lt_prog_compiler_pic
='-fno-common'
11272 case $cc_basename in
11274 # NAG Fortran compiler
11275 lt_prog_compiler_wl
='-Wl,-Wl,,'
11276 lt_prog_compiler_pic
='-PIC'
11277 lt_prog_compiler_static
='-Bstatic'
11282 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
11283 # This hack is so that the source file can tell whether it is being
11284 # built for inclusion in a dll (and should export symbols for example).
11285 lt_prog_compiler_pic
='-DDLL_EXPORT'
11288 lt_prog_compiler_static
='$wl-static'
11293 hpux9
* | hpux10
* | hpux11
*)
11294 lt_prog_compiler_wl
='-Wl,'
11295 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
11296 # not for PA HP-UX.
11302 lt_prog_compiler_pic
='+Z'
11305 # Is there a better lt_prog_compiler_static that works with the bundled CC?
11306 lt_prog_compiler_static
='$wl-a ${wl}archive'
11309 irix5
* | irix6
* | nonstopux
*)
11310 lt_prog_compiler_wl
='-Wl,'
11311 # PIC (with -KPIC) is the default.
11312 lt_prog_compiler_static
='-non_shared'
11315 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
11316 case $cc_basename in
11317 # old Intel for x86_64, which still supported -KPIC.
11319 lt_prog_compiler_wl
='-Wl,'
11320 lt_prog_compiler_pic
='-KPIC'
11321 lt_prog_compiler_static
='-static'
11323 # icc used to be incompatible with GCC.
11324 # ICC 10 doesn't accept -KPIC any more.
11326 lt_prog_compiler_wl
='-Wl,'
11327 lt_prog_compiler_pic
='-fPIC'
11328 lt_prog_compiler_static
='-static'
11330 # Lahey Fortran 8.1.
11332 lt_prog_compiler_wl
='-Wl,'
11333 lt_prog_compiler_pic
='--shared'
11334 lt_prog_compiler_static
='--static'
11337 # NAG Fortran compiler
11338 lt_prog_compiler_wl
='-Wl,-Wl,,'
11339 lt_prog_compiler_pic
='-PIC'
11340 lt_prog_compiler_static
='-Bstatic'
11343 # Fabrice Bellard et al's Tiny C Compiler
11344 lt_prog_compiler_wl
='-Wl,'
11345 lt_prog_compiler_pic
='-fPIC'
11346 lt_prog_compiler_static
='-static'
11348 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
11349 # Portland Group compilers (*not* the Pentium gcc compiler,
11350 # which looks to be a dead project)
11351 lt_prog_compiler_wl
='-Wl,'
11352 lt_prog_compiler_pic
='-fpic'
11353 lt_prog_compiler_static
='-Bstatic'
11356 lt_prog_compiler_wl
='-Wl,'
11357 # All Alpha code is PIC.
11358 lt_prog_compiler_static
='-non_shared'
11360 xl
* | bgxl
* | bgf
* | mpixl
*)
11361 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
11362 lt_prog_compiler_wl
='-Wl,'
11363 lt_prog_compiler_pic
='-qpic'
11364 lt_prog_compiler_static
='-qstaticlink'
11367 case `$CC -V 2>&1 | sed 5q` in
11368 *Sun\ Ceres\ Fortran
* | *Sun
*Fortran
*\
[1-7].
* | *Sun
*Fortran
*\
8.
[0-3]*)
11369 # Sun Fortran 8.3 passes all unrecognized flags to the linker
11370 lt_prog_compiler_pic
='-KPIC'
11371 lt_prog_compiler_static
='-Bstatic'
11372 lt_prog_compiler_wl
=''
11374 *Sun\ F
* | *Sun
*Fortran
*)
11375 lt_prog_compiler_pic
='-KPIC'
11376 lt_prog_compiler_static
='-Bstatic'
11377 lt_prog_compiler_wl
='-Qoption ld '
11381 lt_prog_compiler_pic
='-KPIC'
11382 lt_prog_compiler_static
='-Bstatic'
11383 lt_prog_compiler_wl
='-Wl,'
11385 *Intel
*\
[CF
]*Compiler
*)
11386 lt_prog_compiler_wl
='-Wl,'
11387 lt_prog_compiler_pic
='-fPIC'
11388 lt_prog_compiler_static
='-static'
11391 lt_prog_compiler_wl
='-Wl,'
11392 lt_prog_compiler_pic
='-fpic'
11393 lt_prog_compiler_static
='-Bstatic'
11401 lt_prog_compiler_pic
='-KPIC'
11402 lt_prog_compiler_static
='-Bstatic'
11406 # QNX uses GNU C++, but need to define -shared option too, otherwise
11407 # it will coredump.
11408 lt_prog_compiler_pic
='-fPIC -shared'
11411 osf3
* | osf4
* | osf5
*)
11412 lt_prog_compiler_wl
='-Wl,'
11413 # All OSF/1 code is PIC.
11414 lt_prog_compiler_static
='-non_shared'
11418 lt_prog_compiler_static
='-non_shared'
11422 lt_prog_compiler_pic
='-KPIC'
11423 lt_prog_compiler_static
='-Bstatic'
11424 case $cc_basename in
11425 f77
* | f90
* | f95
* | sunf77
* | sunf90
* | sunf95
*)
11426 lt_prog_compiler_wl
='-Qoption ld ';;
11428 lt_prog_compiler_wl
='-Wl,';;
11433 lt_prog_compiler_wl
='-Qoption ld '
11434 lt_prog_compiler_pic
='-PIC'
11435 lt_prog_compiler_static
='-Bstatic'
11438 sysv4
| sysv4.2uw2
* | sysv4.3
*)
11439 lt_prog_compiler_wl
='-Wl,'
11440 lt_prog_compiler_pic
='-KPIC'
11441 lt_prog_compiler_static
='-Bstatic'
11445 if test -d /usr
/nec
; then
11446 lt_prog_compiler_pic
='-Kconform_pic'
11447 lt_prog_compiler_static
='-Bstatic'
11451 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
11452 lt_prog_compiler_wl
='-Wl,'
11453 lt_prog_compiler_pic
='-KPIC'
11454 lt_prog_compiler_static
='-Bstatic'
11458 lt_prog_compiler_wl
='-Wl,'
11459 lt_prog_compiler_can_build_shared
=no
11463 lt_prog_compiler_pic
='-pic'
11464 lt_prog_compiler_static
='-Bstatic'
11468 lt_prog_compiler_can_build_shared
=no
11474 # For platforms that do not support PIC, -DPIC is meaningless:
11476 lt_prog_compiler_pic
=
11479 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
11483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
11484 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
11485 if ${lt_cv_prog_compiler_pic+:} false
; then :
11486 $as_echo_n "(cached) " >&6
11488 lt_cv_prog_compiler_pic
=$lt_prog_compiler_pic
11490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
11491 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
11492 lt_prog_compiler_pic
=$lt_cv_prog_compiler_pic
11495 # Check to make sure the PIC flag actually works.
11497 if test -n "$lt_prog_compiler_pic"; then
11498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
11499 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
11500 if ${lt_cv_prog_compiler_pic_works+:} false
; then :
11501 $as_echo_n "(cached) " >&6
11503 lt_cv_prog_compiler_pic_works
=no
11504 ac_outfile
=conftest.
$ac_objext
11505 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
11506 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC" ## exclude from sc_useless_quotes_in_assignment
11507 # Insert the option either (1) after the last *FLAGS variable, or
11508 # (2) before a word containing "conftest.", or (3) at the end.
11509 # Note that $ac_compile itself does not contain backslashes and begins
11510 # with a dollar sign (not a hyphen), so the echo should work correctly.
11511 # The option is referenced via a variable to avoid confusing sed.
11512 lt_compile
=`echo "$ac_compile" | $SED \
11513 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11514 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11515 -e 's:$: $lt_compiler_flag:'`
11516 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
11517 (eval "$lt_compile" 2>conftest.err
)
11519 cat conftest.err
>&5
11520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11521 if (exit $ac_status) && test -s "$ac_outfile"; then
11522 # The compiler can only warn and ignore the option if not recognized
11523 # So say no if there are warnings other than the usual output.
11524 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
11525 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
11526 if test ! -s conftest.er2
|| diff conftest.exp conftest.er2
>/dev
/null
; then
11527 lt_cv_prog_compiler_pic_works
=yes
11533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
11534 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
11536 if test yes = "$lt_cv_prog_compiler_pic_works"; then
11537 case $lt_prog_compiler_pic in
11539 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
11542 lt_prog_compiler_pic
=
11543 lt_prog_compiler_can_build_shared
=no
11559 # Check to make sure the static flag actually works.
11561 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
11562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
11563 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
11564 if ${lt_cv_prog_compiler_static_works+:} false
; then :
11565 $as_echo_n "(cached) " >&6
11567 lt_cv_prog_compiler_static_works
=no
11568 save_LDFLAGS
=$LDFLAGS
11569 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
11570 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
11571 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
11572 # The linker can only warn and ignore the option if not recognized
11573 # So say no if there are warnings
11574 if test -s conftest.err
; then
11575 # Append any errors to the config.log.
11576 cat conftest.err
1>&5
11577 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
11578 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
11579 if diff conftest.exp conftest.er2
>/dev
/null
; then
11580 lt_cv_prog_compiler_static_works
=yes
11583 lt_cv_prog_compiler_static_works
=yes
11587 LDFLAGS
=$save_LDFLAGS
11590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
11591 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
11593 if test yes = "$lt_cv_prog_compiler_static_works"; then
11596 lt_prog_compiler_static
=
11605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
11606 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
11607 if ${lt_cv_prog_compiler_c_o+:} false
; then :
11608 $as_echo_n "(cached) " >&6
11610 lt_cv_prog_compiler_c_o
=no
11611 $RM -r conftest
2>/dev
/null
11615 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
11617 lt_compiler_flag
="-o out/conftest2.$ac_objext"
11618 # Insert the option either (1) after the last *FLAGS variable, or
11619 # (2) before a word containing "conftest.", or (3) at the end.
11620 # Note that $ac_compile itself does not contain backslashes and begins
11621 # with a dollar sign (not a hyphen), so the echo should work correctly.
11622 lt_compile
=`echo "$ac_compile" | $SED \
11623 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11624 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11625 -e 's:$: $lt_compiler_flag:'`
11626 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
11627 (eval "$lt_compile" 2>out
/conftest.err
)
11629 cat out
/conftest.err
>&5
11630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11631 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
11633 # The compiler can only warn and ignore the option if not recognized
11634 # So say no if there are warnings
11635 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out
/conftest.exp
11636 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
11637 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
11638 lt_cv_prog_compiler_c_o
=yes
11643 # SGI C++ compiler will create directory out/ii_files/ for
11644 # template instantiation
11645 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
11646 $RM out
/* && rmdir out
11652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
11653 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
11660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
11661 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
11662 if ${lt_cv_prog_compiler_c_o+:} false
; then :
11663 $as_echo_n "(cached) " >&6
11665 lt_cv_prog_compiler_c_o
=no
11666 $RM -r conftest
2>/dev
/null
11670 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
11672 lt_compiler_flag
="-o out/conftest2.$ac_objext"
11673 # Insert the option either (1) after the last *FLAGS variable, or
11674 # (2) before a word containing "conftest.", or (3) at the end.
11675 # Note that $ac_compile itself does not contain backslashes and begins
11676 # with a dollar sign (not a hyphen), so the echo should work correctly.
11677 lt_compile
=`echo "$ac_compile" | $SED \
11678 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11679 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11680 -e 's:$: $lt_compiler_flag:'`
11681 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
11682 (eval "$lt_compile" 2>out
/conftest.err
)
11684 cat out
/conftest.err
>&5
11685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11686 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
11688 # The compiler can only warn and ignore the option if not recognized
11689 # So say no if there are warnings
11690 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out
/conftest.exp
11691 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
11692 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
11693 lt_cv_prog_compiler_c_o
=yes
11698 # SGI C++ compiler will create directory out/ii_files/ for
11699 # template instantiation
11700 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
11701 $RM out
/* && rmdir out
11707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
11708 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
11713 hard_links
=nottested
11714 if test no
= "$lt_cv_prog_compiler_c_o" && test no
!= "$need_locks"; then
11715 # do not overwrite the value of need_locks provided by the user
11716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
11717 $as_echo_n "checking if we can lock with hard links... " >&6; }
11720 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
11722 ln conftest.a conftest.b
2>&5 || hard_links
=no
11723 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
11724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
11725 $as_echo "$hard_links" >&6; }
11726 if test no
= "$hard_links"; then
11727 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
11728 $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
11740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11741 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
11744 allow_undefined_flag
=
11745 always_export_symbols
=no
11747 archive_expsym_cmds
=
11748 compiler_needs_object
=no
11749 enable_shared_with_static_runtimes
=no
11750 export_dynamic_flag_spec
=
11751 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
11752 hardcode_automatic
=no
11754 hardcode_direct_absolute
=no
11755 hardcode_libdir_flag_spec
=
11756 hardcode_libdir_separator
=
11757 hardcode_minus_L
=no
11758 hardcode_shlibpath_var
=unsupported
11760 link_all_deplibs
=unknown
11762 module_expsym_cmds
=
11763 old_archive_from_new_cmds
=
11764 old_archive_from_expsyms_cmds
=
11765 thread_safe_flag_spec
=
11766 whole_archive_flag_spec
=
11767 # include_expsyms should be a list of space-separated symbols to be *always*
11768 # included in the symbol list
11770 # exclude_expsyms can be an extended regexp of symbols to exclude
11771 # it will be wrapped by ' (' and ')$', so one must not match beginning or
11772 # end of line. Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
11773 # as well as any symbol that contains 'd'.
11774 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
11775 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
11776 # platforms (ab)use it in PIC code, but their linkers get confused if
11777 # the symbol is explicitly referenced. Since portable code cannot
11778 # rely on this symbol name, it's probably fine to never include it in
11779 # preloaded symbol tables.
11780 # Exclude shared library initialization/finalization symbols.
11781 extract_expsyms_cmds
=
11784 cygwin
* | mingw
* | pw32
* | cegcc
*)
11785 # FIXME: the MSVC++ port hasn't been tested in a loooong time
11786 # When not using gcc, we currently assume that we are using
11787 # Microsoft Visual C++.
11788 if test yes != "$GCC"; then
11793 # we just hope/assume this is gcc and not c89 (= MSVC++)
11796 openbsd
* | bitrig
*)
11803 # On some targets, GNU ld is compatible enough with the native linker
11804 # that we're better off using the native interface for both.
11805 lt_use_gnu_ld_interface
=no
11806 if test yes = "$with_gnu_ld"; then
11809 # The AIX port of GNU ld has always aspired to compatibility
11810 # with the native linker. However, as the warning in the GNU ld
11811 # block says, versions before 2.19.5* couldn't really create working
11812 # shared libraries, regardless of the interface used.
11813 case `$LD -v 2>&1` in
11814 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
11815 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
11816 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
11818 lt_use_gnu_ld_interface
=yes
11823 lt_use_gnu_ld_interface
=yes
11828 if test yes = "$lt_use_gnu_ld_interface"; then
11829 # If archive_cmds runs LD, not CC, wlarc should be empty
11832 # Set some defaults for GNU ld with shared library support. These
11833 # are reset later if shared libraries are not supported. Putting them
11834 # here allows them to be overridden if necessary.
11835 runpath_var
=LD_RUN_PATH
11836 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
11837 export_dynamic_flag_spec
='$wl--export-dynamic'
11838 # ancient GNU ld didn't support --whole-archive et. al.
11839 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev
/null
; then
11840 whole_archive_flag_spec
=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
11842 whole_archive_flag_spec
=
11844 supports_anon_versioning
=no
11845 case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
11846 *GNU\ gold
*) supports_anon_versioning
=yes ;;
11847 *\
[01].
* | *\
2.
[0-9].
* | *\
2.10.
*) ;; # catch versions < 2.11
11848 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
11849 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
11850 *\
2.11.
*) ;; # other 2.11 versions
11851 *) supports_anon_versioning
=yes ;;
11854 # See if GNU ld supports shared libraries.
11857 # On AIX/PPC, the GNU linker is very broken
11858 if test ia64
!= "$host_cpu"; then
11862 *** Warning: the GNU linker, at least up to release 2.19, is reported
11863 *** to be unable to reliably create shared libraries on AIX.
11864 *** Therefore, libtool is disabling shared libraries support. If you
11865 *** really care for shared libraries, you may want to install binutils
11866 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
11867 *** You will then need to restart the configuration process.
11876 # see comment about AmigaOS4 .so support
11877 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11878 archive_expsym_cmds
=''
11881 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)'
11882 hardcode_libdir_flag_spec
='-L$libdir'
11883 hardcode_minus_L
=yes
11889 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
11890 allow_undefined_flag
=unsupported
11891 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
11892 # support --undefined. This deserves some investigation. FIXME
11893 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11899 cygwin
* | mingw
* | pw32
* | cegcc
*)
11900 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
11901 # as there is no search path for DLLs.
11902 hardcode_libdir_flag_spec
='-L$libdir'
11903 export_dynamic_flag_spec
='$wl--export-all-symbols'
11904 allow_undefined_flag
=unsupported
11905 always_export_symbols
=no
11906 enable_shared_with_static_runtimes
=yes
11907 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'
11908 exclude_expsyms
='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
11910 if $LD --help 2>&1 | $GREP 'auto-import' > /dev
/null
; then
11911 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
11912 # If the export-symbols file already is a .def file, use it as
11913 # is; otherwise, prepend EXPORTS...
11914 archive_expsym_cmds
='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
11915 cp $export_symbols $output_objdir/$soname.def;
11917 echo EXPORTS > $output_objdir/$soname.def;
11918 cat $export_symbols >> $output_objdir/$soname.def;
11920 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
11927 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11928 link_all_deplibs
=yes
11932 hardcode_libdir_flag_spec
='-L$libdir'
11933 hardcode_minus_L
=yes
11934 allow_undefined_flag
=unsupported
11936 archive_cmds
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
11937 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
11938 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
11939 $ECHO EXPORTS >> $output_objdir/$libname.def~
11940 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
11941 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
11942 emximp -o $lib $output_objdir/$libname.def'
11943 archive_expsym_cmds
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
11944 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
11945 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
11946 $ECHO EXPORTS >> $output_objdir/$libname.def~
11947 prefix_cmds="$SED"~
11948 if test EXPORTS = "`$SED 1q $export_symbols`"; then
11949 prefix_cmds="$prefix_cmds -e 1d";
11951 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
11952 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
11953 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
11954 emximp -o $lib $output_objdir/$libname.def'
11955 old_archive_From_new_cmds
='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
11956 enable_shared_with_static_runtimes
=yes
11961 hardcode_shlibpath_var
=no
11962 hardcode_libdir_flag_spec
='$wl-rpath,$libdir'
11963 export_dynamic_flag_spec
='$wl-E'
11964 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
11965 # Instead, shared libraries are loaded at an image base (0x10000000 by
11966 # default) and relocated if they conflict, which is a slow very memory
11967 # consuming and fragmenting process. To avoid this, we pick a random,
11968 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
11969 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
11970 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
11971 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'
11974 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
11976 if test linux
-dietlibc = "$host_os"; then
11977 case $cc_basename in
11978 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
11981 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev
/null \
11982 && test no
= "$tmp_diet"
11984 tmp_addflag
=' $pic_flag'
11985 tmp_sharedflag
='-shared'
11986 case $cc_basename,$host_cpu in
11987 pgcc
*) # Portland Group C compiler
11988 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'
11989 tmp_addflag
=' $pic_flag'
11991 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
11992 # Portland Group f77 and f90 compilers
11993 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'
11994 tmp_addflag
=' $pic_flag -Mnomain' ;;
11995 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
11996 tmp_addflag
=' -i_dynamic' ;;
11997 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
11998 tmp_addflag
=' -i_dynamic -nofor_main' ;;
11999 ifc
* | ifort
*) # Intel Fortran compiler
12000 tmp_addflag
=' -nofor_main' ;;
12001 lf95
*) # Lahey Fortran 8.1
12002 whole_archive_flag_spec
=
12003 tmp_sharedflag
='--shared' ;;
12004 nagfor
*) # NAGFOR 5.3
12005 tmp_sharedflag
='-Wl,-shared' ;;
12006 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
12007 tmp_sharedflag
='-qmkshrobj'
12009 nvcc
*) # Cuda Compiler Driver 2.2
12010 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'
12011 compiler_needs_object
=yes
12014 case `$CC -V 2>&1 | sed 5q` in
12015 *Sun\ C
*) # Sun C 5.9
12016 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'
12017 compiler_needs_object
=yes
12018 tmp_sharedflag
='-G' ;;
12019 *Sun\ F
*) # Sun Fortran 8.3
12020 tmp_sharedflag
='-G' ;;
12022 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
12024 if test yes = "$supports_anon_versioning"; then
12025 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
12026 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12027 echo "local: *; };" >> $output_objdir/$libname.ver~
12028 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
12031 case $cc_basename in
12033 export_dynamic_flag_spec
='-rdynamic'
12035 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
12036 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
12037 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
12038 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
12039 archive_cmds
='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
12040 if test yes = "$supports_anon_versioning"; then
12041 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
12042 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12043 echo "local: *; };" >> $output_objdir/$libname.ver~
12044 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
12054 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
12055 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
12058 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
12059 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
12064 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev
/null
; then
12068 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
12069 *** create shared libraries on Solaris systems. Therefore, libtool
12070 *** is disabling shared libraries support. We urge you to upgrade GNU
12071 *** binutils to release 2.9.1 or newer. Another option is to modify
12072 *** your PATH or compiler configuration so that the native linker is
12073 *** used, and then restart.
12076 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
12077 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
12078 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
12084 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
12085 case `$LD -v 2>&1` in
12086 *\
[01].
* | *\
2.
[0-9].
* | *\
2.1[0-5].
*)
12090 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
12091 *** reliably create shared libraries on SCO systems. Therefore, libtool
12092 *** is disabling shared libraries support. We urge you to upgrade GNU
12093 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
12094 *** your PATH or compiler configuration so that the native linker is
12095 *** used, and then restart.
12100 # For security reasons, it is highly recommended that you always
12101 # use absolute paths for naming shared libraries, and exclude the
12102 # DT_RUNPATH tag from executables and libraries. But doing so
12103 # requires that you compile everything twice, which is a pain.
12104 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
12105 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
12106 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
12107 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
12116 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
12118 hardcode_direct
=yes
12119 hardcode_shlibpath_var
=no
12123 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
12124 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
12125 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
12132 if test no
= "$ld_shlibs"; then
12134 hardcode_libdir_flag_spec
=
12135 export_dynamic_flag_spec
=
12136 whole_archive_flag_spec
=
12139 # PORTME fill in a description of your system's linker (not GNU ld)
12142 allow_undefined_flag
=unsupported
12143 always_export_symbols
=yes
12144 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'
12145 # Note: this linker hardcodes the directories in LIBPATH if there
12146 # are no directories specified by -L.
12147 hardcode_minus_L
=yes
12148 if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
12149 # Neither direct hardcoding nor static linking is supported with a
12151 hardcode_direct
=unsupported
12156 if test ia64
= "$host_cpu"; then
12157 # On IA64, the linker does run time linking by default, so we don't
12158 # have to do anything special.
12159 aix_use_runtimelinking
=no
12160 exp_sym_flag
='-Bexport'
12163 # If we're using GNU nm, then we don't want the "-C" option.
12164 # -C means demangle to GNU nm, but means don't demangle to AIX nm.
12165 # Without the "-l" option, or with the "-B" option, AIX nm treats
12166 # weak defined symbols like other global defined symbols, whereas
12167 # GNU nm marks them as "W".
12168 # While the 'weak' keyword is ignored in the Export File, we need
12169 # it in the Import File for the 'aix-soname' feature, so we have
12170 # to replace the "-B" option with "-P" for AIX nm.
12171 if $NM -V 2>&1 | $GREP 'GNU' > /dev
/null
; then
12172 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'
12174 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'
12176 aix_use_runtimelinking
=no
12178 # Test if we are trying to use run time linking or normal
12179 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12180 # have runtime linking enabled, and use it for executables.
12181 # For shared libraries, we enable/disable runtime linking
12182 # depending on the kind of the shared library created -
12183 # when "with_aix_soname,aix_use_runtimelinking" is:
12184 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables
12185 # "aix,yes" lib.so shared, rtl:yes, for executables
12186 # lib.a static archive
12187 # "both,no" lib.so.V(shr.o) shared, rtl:yes
12188 # lib.a(lib.so.V) shared, rtl:no, for executables
12189 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
12190 # lib.a(lib.so.V) shared, rtl:no
12191 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables
12192 # lib.a static archive
12193 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
12194 for ld_flag
in $LDFLAGS; do
12195 if (test x
-brtl = "x$ld_flag" || test x
-Wl,-brtl = "x$ld_flag"); then
12196 aix_use_runtimelinking
=yes
12200 if test svr4
,no
= "$with_aix_soname,$aix_use_runtimelinking"; then
12201 # With aix-soname=svr4, we create the lib.so.V shared archives only,
12202 # so we don't have lib.a shared libs to link our executables.
12203 # We have to force runtime linking in this case.
12204 aix_use_runtimelinking
=yes
12205 LDFLAGS
="$LDFLAGS -Wl,-brtl"
12210 exp_sym_flag
='-bexport'
12211 no_entry_flag
='-bnoentry'
12214 # When large executables or shared objects are built, AIX ld can
12215 # have problems creating the table of contents. If linking a library
12216 # or program results in "error TOC overflow" add -mminimal-toc to
12217 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12218 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12221 hardcode_direct
=yes
12222 hardcode_direct_absolute
=yes
12223 hardcode_libdir_separator
=':'
12224 link_all_deplibs
=yes
12225 file_list_spec
='$wl-f,'
12226 case $with_aix_soname,$aix_use_runtimelinking in
12227 aix
,*) ;; # traditional, no import file
12228 svr4
,* | *,yes) # use import file
12229 # The Import File defines what to hardcode.
12231 hardcode_direct_absolute
=no
12235 if test yes = "$GCC"; then
12236 case $host_os in aix4.
[012]|aix4.
[012].
*)
12237 # We only want to do this on AIX 4.2 and lower, the check
12238 # below for broken collect2 doesn't work under 4.3+
12239 collect2name
=`$CC -print-prog-name=collect2`
12240 if test -f "$collect2name" &&
12241 strings "$collect2name" | $GREP resolve_lib_name
>/dev
/null
12243 # We have reworked collect2
12246 # We have old collect2
12247 hardcode_direct
=unsupported
12248 # It fails to find uninstalled libraries when the uninstalled
12249 # path is not listed in the libpath. Setting hardcode_minus_L
12250 # to unsupported forces relinking
12251 hardcode_minus_L
=yes
12252 hardcode_libdir_flag_spec
='-L$libdir'
12253 hardcode_libdir_separator
=
12257 shared_flag
='-shared'
12258 if test yes = "$aix_use_runtimelinking"; then
12259 shared_flag
="$shared_flag "'$wl-G'
12261 # Need to ensure runtime linking is disabled for the traditional
12262 # shared library, or the linker may eventually find shared libraries
12263 # /with/ Import File - we do not want to mix them.
12264 shared_flag_aix
='-shared'
12265 shared_flag_svr4
='-shared $wl-G'
12268 if test ia64
= "$host_cpu"; then
12269 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12270 # chokes on -Wl,-G. The following line is correct:
12273 if test yes = "$aix_use_runtimelinking"; then
12274 shared_flag
='$wl-G'
12276 shared_flag
='$wl-bM:SRE'
12278 shared_flag_aix
='$wl-bM:SRE'
12279 shared_flag_svr4
='$wl-G'
12283 export_dynamic_flag_spec
='$wl-bexpall'
12284 # It seems that -bexpall does not export symbols beginning with
12285 # underscore (_), so it is better to generate a list of symbols to export.
12286 always_export_symbols
=yes
12287 if test aix
,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
12288 # Warning - without using the other runtime loading flags (-brtl),
12289 # -berok will link without error, but may produce a broken library.
12290 allow_undefined_flag
='-berok'
12291 # Determine the default libpath from the value encoded in an
12292 # empty executable.
12293 if test set = "${lt_cv_aix_libpath+set}"; then
12294 aix_libpath
=$lt_cv_aix_libpath
12296 if ${lt_cv_aix_libpath_+:} false
; then :
12297 $as_echo_n "(cached) " >&6
12299 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12300 /* end confdefs.h. */
12310 if ac_fn_c_try_link
"$LINENO"; then :
12312 lt_aix_libpath_sed
='
12313 /Import File Strings/,/^$/ {
12315 s/^0 *\([^ ]*\) *$/\1/
12319 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12320 # Check for a 64-bit object if we didn't find anything.
12321 if test -z "$lt_cv_aix_libpath_"; then
12322 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12325 rm -f core conftest.err conftest.
$ac_objext \
12326 conftest
$ac_exeext conftest.
$ac_ext
12327 if test -z "$lt_cv_aix_libpath_"; then
12328 lt_cv_aix_libpath_
=/usr
/lib
:/lib
12333 aix_libpath
=$lt_cv_aix_libpath_
12336 hardcode_libdir_flag_spec
='$wl-blibpath:$libdir:'"$aix_libpath"
12337 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
12339 if test ia64
= "$host_cpu"; then
12340 hardcode_libdir_flag_spec
='$wl-R $libdir:/usr/lib:/lib'
12341 allow_undefined_flag
="-z nodefs"
12342 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"
12344 # Determine the default libpath from the value encoded in an
12345 # empty executable.
12346 if test set = "${lt_cv_aix_libpath+set}"; then
12347 aix_libpath
=$lt_cv_aix_libpath
12349 if ${lt_cv_aix_libpath_+:} false
; then :
12350 $as_echo_n "(cached) " >&6
12352 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12353 /* end confdefs.h. */
12363 if ac_fn_c_try_link
"$LINENO"; then :
12365 lt_aix_libpath_sed
='
12366 /Import File Strings/,/^$/ {
12368 s/^0 *\([^ ]*\) *$/\1/
12372 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12373 # Check for a 64-bit object if we didn't find anything.
12374 if test -z "$lt_cv_aix_libpath_"; then
12375 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12378 rm -f core conftest.err conftest.
$ac_objext \
12379 conftest
$ac_exeext conftest.
$ac_ext
12380 if test -z "$lt_cv_aix_libpath_"; then
12381 lt_cv_aix_libpath_
=/usr
/lib
:/lib
12386 aix_libpath
=$lt_cv_aix_libpath_
12389 hardcode_libdir_flag_spec
='$wl-blibpath:$libdir:'"$aix_libpath"
12390 # Warning - without using the other run time loading flags,
12391 # -berok will link without error, but may produce a broken library.
12392 no_undefined_flag
=' $wl-bernotok'
12393 allow_undefined_flag
=' $wl-berok'
12394 if test yes = "$with_gnu_ld"; then
12395 # We only use this code for GNU lds that support --whole-archive.
12396 whole_archive_flag_spec
='$wl--whole-archive$convenience $wl--no-whole-archive'
12398 # Exported symbols can be pulled into shared objects from archives
12399 whole_archive_flag_spec
='$convenience'
12401 archive_cmds_need_lc
=yes
12402 archive_expsym_cmds
='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
12403 # -brtl affects multiple linker settings, -berok does not and is overridden later
12404 compiler_flags_filtered
='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
12405 if test svr4
!= "$with_aix_soname"; then
12406 # This is similar to how AIX traditionally builds its shared libraries.
12407 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'
12409 if test aix
!= "$with_aix_soname"; then
12410 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'
12412 # used by -dlpreopen to get the symbols
12413 archive_expsym_cmds
="$archive_expsym_cmds"'~$MV $output_objdir/$realname.d/$soname $output_objdir'
12415 archive_expsym_cmds
="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
12423 # see comment about AmigaOS4 .so support
12424 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
12425 archive_expsym_cmds
=''
12428 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)'
12429 hardcode_libdir_flag_spec
='-L$libdir'
12430 hardcode_minus_L
=yes
12436 export_dynamic_flag_spec
=-rdynamic
12439 cygwin
* | mingw
* | pw32
* | cegcc
*)
12440 # When not using gcc, we currently assume that we are using
12441 # Microsoft Visual C++.
12442 # hardcode_libdir_flag_spec is actually meaningless, as there is
12443 # no search path for DLLs.
12444 case $cc_basename in
12447 hardcode_libdir_flag_spec
=' '
12448 allow_undefined_flag
=unsupported
12449 always_export_symbols
=yes
12451 # Tell ltmain to make .lib files, not .a files.
12453 # Tell ltmain to make .dll files, not .so files.
12455 # FIXME: Setting linknames here is a bad hack.
12456 archive_cmds
='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
12457 archive_expsym_cmds
='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
12458 cp "$export_symbols" "$output_objdir/$soname.def";
12459 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
12461 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
12463 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
12465 # The linker will not automatically build a static lib if we build a DLL.
12466 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
12467 enable_shared_with_static_runtimes
=yes
12468 exclude_expsyms
='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
12469 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
12471 old_postinstall_cmds
='chmod 644 $oldlib'
12472 postlink_cmds
='lt_outputfile="@OUTPUT@"~
12473 lt_tool_outputfile="@TOOL_OUTPUT@"~
12474 case $lt_outputfile in
12477 lt_outputfile=$lt_outputfile.exe
12478 lt_tool_outputfile=$lt_tool_outputfile.exe
12481 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
12482 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
12483 $RM "$lt_outputfile.manifest";
12487 # Assume MSVC wrapper
12488 hardcode_libdir_flag_spec
=' '
12489 allow_undefined_flag
=unsupported
12490 # Tell ltmain to make .lib files, not .a files.
12492 # Tell ltmain to make .dll files, not .so files.
12494 # FIXME: Setting linknames here is a bad hack.
12495 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
12496 # The linker will automatically build a .lib file if we build a DLL.
12497 old_archive_from_new_cmds
='true'
12498 # FIXME: Should let the user specify the lib program.
12499 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
12500 enable_shared_with_static_runtimes
=yes
12505 darwin
* | rhapsody
*)
12508 archive_cmds_need_lc
=no
12510 hardcode_automatic
=yes
12511 hardcode_shlibpath_var
=unsupported
12512 if test yes = "$lt_cv_ld_force_load"; then
12513 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\"`'
12516 whole_archive_flag_spec
=''
12518 link_all_deplibs
=yes
12519 allow_undefined_flag
=$_lt_dar_allow_undefined
12520 case $cc_basename in
12521 ifort
*|nagfor
*) _lt_dar_can_shared
=yes ;;
12522 *) _lt_dar_can_shared
=$GCC ;;
12524 if test yes = "$_lt_dar_can_shared"; then
12525 output_verbose_link_cmd
=func_echo_all
12526 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
12527 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
12528 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"
12529 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"
12538 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12539 hardcode_libdir_flag_spec
='-L$libdir'
12540 hardcode_shlibpath_var
=no
12543 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
12544 # support. Future versions do this automatically, but an explicit c++rt0.o
12545 # does not break anything, and helps significantly (at the cost of a little
12548 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
12549 hardcode_libdir_flag_spec
='-R$libdir'
12550 hardcode_direct
=yes
12551 hardcode_shlibpath_var
=no
12554 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
12556 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
12557 hardcode_direct
=yes
12558 hardcode_minus_L
=yes
12559 hardcode_shlibpath_var
=no
12562 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
12563 freebsd
* | dragonfly
*)
12564 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
12565 hardcode_libdir_flag_spec
='-R$libdir'
12566 hardcode_direct
=yes
12567 hardcode_shlibpath_var
=no
12571 if test yes = "$GCC"; then
12572 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'
12574 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'
12576 hardcode_libdir_flag_spec
='$wl+b $wl$libdir'
12577 hardcode_libdir_separator
=:
12578 hardcode_direct
=yes
12580 # hardcode_minus_L: Not really in the search PATH,
12581 # but as the default location of the library.
12582 hardcode_minus_L
=yes
12583 export_dynamic_flag_spec
='$wl-E'
12587 if test yes,no
= "$GCC,$with_gnu_ld"; then
12588 archive_cmds
='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12590 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
12592 if test no
= "$with_gnu_ld"; then
12593 hardcode_libdir_flag_spec
='$wl+b $wl$libdir'
12594 hardcode_libdir_separator
=:
12595 hardcode_direct
=yes
12596 hardcode_direct_absolute
=yes
12597 export_dynamic_flag_spec
='$wl-E'
12598 # hardcode_minus_L: Not really in the search PATH,
12599 # but as the default location of the library.
12600 hardcode_minus_L
=yes
12605 if test yes,no
= "$GCC,$with_gnu_ld"; then
12608 archive_cmds
='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
12611 archive_cmds
='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
12614 archive_cmds
='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12620 archive_cmds
='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
12623 archive_cmds
='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
12627 # Older versions of the 11.00 compiler do not understand -b yet
12628 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
12629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
12630 $as_echo_n "checking if $CC understands -b... " >&6; }
12631 if ${lt_cv_prog_compiler__b+:} false
; then :
12632 $as_echo_n "(cached) " >&6
12634 lt_cv_prog_compiler__b
=no
12635 save_LDFLAGS
=$LDFLAGS
12636 LDFLAGS
="$LDFLAGS -b"
12637 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
12638 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
12639 # The linker can only warn and ignore the option if not recognized
12640 # So say no if there are warnings
12641 if test -s conftest.err
; then
12642 # Append any errors to the config.log.
12643 cat conftest.err
1>&5
12644 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
12645 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
12646 if diff conftest.exp conftest.er2
>/dev
/null
; then
12647 lt_cv_prog_compiler__b
=yes
12650 lt_cv_prog_compiler__b
=yes
12654 LDFLAGS
=$save_LDFLAGS
12657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
12658 $as_echo "$lt_cv_prog_compiler__b" >&6; }
12660 if test yes = "$lt_cv_prog_compiler__b"; then
12661 archive_cmds
='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12663 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
12669 if test no
= "$with_gnu_ld"; then
12670 hardcode_libdir_flag_spec
='$wl+b $wl$libdir'
12671 hardcode_libdir_separator
=:
12676 hardcode_shlibpath_var
=no
12679 hardcode_direct
=yes
12680 hardcode_direct_absolute
=yes
12681 export_dynamic_flag_spec
='$wl-E'
12683 # hardcode_minus_L: Not really in the search PATH,
12684 # but as the default location of the library.
12685 hardcode_minus_L
=yes
12691 irix5
* | irix6
* | nonstopux
*)
12692 if test yes = "$GCC"; then
12693 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'
12694 # Try to use the -exported_symbol ld option, if it does not
12695 # work, assume that -exports_file does not work either and
12696 # implicitly export all symbols.
12697 # This should be the same for all languages, so no per-tag cache variable.
12698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
12699 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
12700 if ${lt_cv_irix_exported_symbol+:} false
; then :
12701 $as_echo_n "(cached) " >&6
12703 save_LDFLAGS
=$LDFLAGS
12704 LDFLAGS
="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
12705 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12706 /* end confdefs.h. */
12707 int foo (void) { return 0; }
12709 if ac_fn_c_try_link
"$LINENO"; then :
12710 lt_cv_irix_exported_symbol
=yes
12712 lt_cv_irix_exported_symbol
=no
12714 rm -f core conftest.err conftest.
$ac_objext \
12715 conftest
$ac_exeext conftest.
$ac_ext
12716 LDFLAGS
=$save_LDFLAGS
12718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
12719 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
12720 if test yes = "$lt_cv_irix_exported_symbol"; then
12721 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'
12724 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'
12725 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'
12727 archive_cmds_need_lc
='no'
12728 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
12729 hardcode_libdir_separator
=:
12731 link_all_deplibs
=yes
12735 case $cc_basename in
12737 # Fabrice Bellard et al's Tiny C Compiler
12739 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
12745 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
12746 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
12748 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
12750 hardcode_libdir_flag_spec
='-R$libdir'
12751 hardcode_direct
=yes
12752 hardcode_shlibpath_var
=no
12756 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12757 hardcode_direct
=yes
12758 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
12759 hardcode_libdir_separator
=:
12760 hardcode_shlibpath_var
=no
12766 openbsd
* | bitrig
*)
12767 if test -f /usr
/libexec
/ld.so
; then
12768 hardcode_direct
=yes
12769 hardcode_shlibpath_var
=no
12770 hardcode_direct_absolute
=yes
12771 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
12772 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
12773 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
12774 hardcode_libdir_flag_spec
='$wl-rpath,$libdir'
12775 export_dynamic_flag_spec
='$wl-E'
12777 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
12778 hardcode_libdir_flag_spec
='$wl-rpath,$libdir'
12786 hardcode_libdir_flag_spec
='-L$libdir'
12787 hardcode_minus_L
=yes
12788 allow_undefined_flag
=unsupported
12790 archive_cmds
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
12791 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
12792 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
12793 $ECHO EXPORTS >> $output_objdir/$libname.def~
12794 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
12795 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
12796 emximp -o $lib $output_objdir/$libname.def'
12797 archive_expsym_cmds
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
12798 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
12799 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
12800 $ECHO EXPORTS >> $output_objdir/$libname.def~
12801 prefix_cmds="$SED"~
12802 if test EXPORTS = "`$SED 1q $export_symbols`"; then
12803 prefix_cmds="$prefix_cmds -e 1d";
12805 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
12806 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
12807 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
12808 emximp -o $lib $output_objdir/$libname.def'
12809 old_archive_From_new_cmds
='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
12810 enable_shared_with_static_runtimes
=yes
12814 if test yes = "$GCC"; then
12815 allow_undefined_flag
=' $wl-expect_unresolved $wl\*'
12816 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'
12818 allow_undefined_flag
=' -expect_unresolved \*'
12819 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'
12821 archive_cmds_need_lc
='no'
12822 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
12823 hardcode_libdir_separator
=:
12826 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
12827 if test yes = "$GCC"; then
12828 allow_undefined_flag
=' $wl-expect_unresolved $wl\*'
12829 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'
12830 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
12832 allow_undefined_flag
=' -expect_unresolved \*'
12833 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'
12834 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~
12835 $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'
12837 # Both c and cxx compiler support -rpath directly
12838 hardcode_libdir_flag_spec
='-rpath $libdir'
12840 archive_cmds_need_lc
='no'
12841 hardcode_libdir_separator
=:
12845 no_undefined_flag
=' -z defs'
12846 if test yes = "$GCC"; then
12848 archive_cmds
='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
12849 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12850 $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'
12852 case `$CC -V 2>&1` in
12855 archive_cmds
='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
12856 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12857 $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
12861 archive_cmds
='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
12862 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12863 $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
12867 hardcode_libdir_flag_spec
='-R$libdir'
12868 hardcode_shlibpath_var
=no
12870 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
12872 # The compiler driver will combine and reorder linker options,
12873 # but understands '-z linker_flag'. GCC discards it without '$wl',
12874 # but is careful enough not to reorder.
12875 # Supported since Solaris 2.6 (maybe 2.5.1?)
12876 if test yes = "$GCC"; then
12877 whole_archive_flag_spec
='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
12879 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
12883 link_all_deplibs
=yes
12887 if test sequent
= "$host_vendor"; then
12888 # Use $CC to link under sequent, because it throws in some extra .o
12889 # files that make .init and .fini sections work.
12890 archive_cmds
='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
12892 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
12894 hardcode_libdir_flag_spec
='-L$libdir'
12895 hardcode_direct
=yes
12896 hardcode_minus_L
=yes
12897 hardcode_shlibpath_var
=no
12901 case $host_vendor in
12903 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12904 hardcode_direct
=yes # is this really true???
12907 ## LD is ld it makes a PLAMLIB
12908 ## CC just makes a GrossModule.
12909 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
12910 reload_cmds
='$CC -r -o $output$reload_objs'
12914 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12915 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
12918 runpath_var
='LD_RUN_PATH'
12919 hardcode_shlibpath_var
=no
12923 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12924 hardcode_shlibpath_var
=no
12925 export_dynamic_flag_spec
='-Bexport'
12929 if test -d /usr
/nec
; then
12930 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12931 hardcode_shlibpath_var
=no
12932 runpath_var
=LD_RUN_PATH
12933 hardcode_runpath_var
=yes
12938 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
12939 no_undefined_flag
='$wl-z,text'
12940 archive_cmds_need_lc
=no
12941 hardcode_shlibpath_var
=no
12942 runpath_var
='LD_RUN_PATH'
12944 if test yes = "$GCC"; then
12945 archive_cmds
='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12946 archive_expsym_cmds
='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12948 archive_cmds
='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12949 archive_expsym_cmds
='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12953 sysv5
* | sco3.2v5
* | sco5v6
*)
12954 # Note: We CANNOT use -z defs as we might desire, because we do not
12955 # link with -lc, and that would cause any symbols used from libc to
12956 # always be unresolved, which means just about no library would
12957 # ever link correctly. If we're not using GNU ld we use -z text
12958 # though, which does catch some bad symbols but isn't as heavy-handed
12960 no_undefined_flag
='$wl-z,text'
12961 allow_undefined_flag
='$wl-z,nodefs'
12962 archive_cmds_need_lc
=no
12963 hardcode_shlibpath_var
=no
12964 hardcode_libdir_flag_spec
='$wl-R,$libdir'
12965 hardcode_libdir_separator
=':'
12966 link_all_deplibs
=yes
12967 export_dynamic_flag_spec
='$wl-Bexport'
12968 runpath_var
='LD_RUN_PATH'
12970 if test yes = "$GCC"; then
12971 archive_cmds
='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12972 archive_expsym_cmds
='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12974 archive_cmds
='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12975 archive_expsym_cmds
='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12980 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12981 hardcode_libdir_flag_spec
='-L$libdir'
12982 hardcode_shlibpath_var
=no
12990 if test sni
= "$host_vendor"; then
12992 sysv4
| sysv4.2uw2
* | sysv4.3
* | sysv5
*)
12993 export_dynamic_flag_spec
='$wl-Blargedynsym'
12999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
13000 $as_echo "$ld_shlibs" >&6; }
13001 test no
= "$ld_shlibs" && can_build_shared
=no
13003 with_gnu_ld
=$with_gnu_ld
13020 # Do we need to explicitly link libc?
13022 case "x$archive_cmds_need_lc" in
13024 # Assume -lc should be added
13025 archive_cmds_need_lc
=yes
13027 if test yes,yes = "$GCC,$enable_shared"; then
13028 case $archive_cmds in
13030 # FIXME: we may have to deal with multi-command sequences.
13033 # Test whether the compiler implicitly links with -lc since on some
13034 # systems, -lgcc has to come before -lc. If gcc already passes -lc
13035 # to ld, don't add -lc before -lgcc.
13036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
13037 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
13038 if ${lt_cv_archive_cmds_need_lc+:} false
; then :
13039 $as_echo_n "(cached) " >&6
13042 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13044 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13045 (eval $ac_compile) 2>&5
13047 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13048 test $ac_status = 0; } 2>conftest.err
; then
13051 libobjs
=conftest.
$ac_objext
13053 wl
=$lt_prog_compiler_wl
13054 pic_flag
=$lt_prog_compiler_pic
13060 lt_save_allow_undefined_flag
=$allow_undefined_flag
13061 allow_undefined_flag
=
13062 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
13063 (eval $archive_cmds 2\
>\
&1 \
| $GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
13065 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13066 test $ac_status = 0; }
13068 lt_cv_archive_cmds_need_lc
=no
13070 lt_cv_archive_cmds_need_lc
=yes
13072 allow_undefined_flag
=$lt_save_allow_undefined_flag
13074 cat conftest.err
1>&5
13079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
13080 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
13081 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
13239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
13240 $as_echo_n "checking dynamic linker characteristics... " >&6; }
13242 if test yes = "$GCC"; then
13244 darwin
*) lt_awk_arg
='/^libraries:/,/LR/' ;;
13245 *) lt_awk_arg
='/^libraries:/' ;;
13248 mingw
* | cegcc
*) lt_sed_strip_eq
='s|=\([A-Za-z]:\)|\1|g' ;;
13249 *) lt_sed_strip_eq
='s|=/|/|g' ;;
13251 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
13252 case $lt_search_path_spec in
13254 # if the path contains ";" then we assume it to be the separator
13255 # otherwise default to the standard path separator (i.e. ":") - it is
13256 # assumed that no part of a normal pathname contains ";" but that should
13257 # okay in the real world where ";" in dirpaths is itself problematic.
13258 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
13261 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
13264 # Ok, now we have the path, separated by spaces, we can step through it
13265 # and add multilib dir if necessary...
13266 lt_tmp_lt_search_path_spec
=
13267 lt_multi_os_dir
=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
13268 # ...but if some path component already ends with the multilib dir we assume
13269 # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
13270 case "$lt_multi_os_dir; $lt_search_path_spec " in
13271 "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
13275 for lt_sys_path
in $lt_search_path_spec; do
13276 if test -d "$lt_sys_path$lt_multi_os_dir"; then
13277 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
13278 elif test -n "$lt_multi_os_dir"; then
13279 test -d "$lt_sys_path" && \
13280 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
13283 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
13284 BEGIN {RS = " "; FS = "/|\n";} {
13287 for (lt_i = NF; lt_i > 0; lt_i--) {
13288 if ($lt_i != "" && $lt_i != ".") {
13289 if ($lt_i == "..") {
13292 if (lt_count == 0) {
13293 lt_foo = "/" $lt_i lt_foo;
13300 if (lt_foo != "") { lt_freq[lt_foo]++; }
13301 if (lt_freq[lt_foo] == 1) { print lt_foo; }
13303 # AWK program above erroneously prepends '/' to C:/dos/paths
13306 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
13307 $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
13309 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
13311 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
13313 library_names_spec
=
13314 libname_spec
='lib$name'
13318 postuninstall_cmds
=
13322 shlibpath_overrides_runpath
=unknown
13324 dynamic_linker
="$host_os ld.so"
13325 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
13326 need_lib_prefix
=unknown
13327 hardcode_into_libs
=no
13329 # when you set need_version to no, make sure it does not cause -set_version
13330 # flags to be left without arguments
13331 need_version
=unknown
13337 version_type
=linux
# correct to gnu/linux during the next big refactor
13338 library_names_spec
='$libname$release$shared_ext$versuffix $libname.a'
13339 shlibpath_var
=LIBPATH
13341 # AIX 3 has no versioning support, so we append a major version to the name.
13342 soname_spec
='$libname$release$shared_ext$major'
13346 version_type
=linux
# correct to gnu/linux during the next big refactor
13349 hardcode_into_libs
=yes
13350 if test ia64
= "$host_cpu"; then
13351 # AIX 5 supports IA64
13352 library_names_spec
='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
13353 shlibpath_var
=LD_LIBRARY_PATH
13355 # With GCC up to 2.95.x, collect2 would create an import file
13356 # for dependence libraries. The import file would start with
13357 # the line '#! .'. This would cause the generated library to
13358 # depend on '.', always an invalid library. This was fixed in
13359 # development snapshots of GCC prior to 3.0.
13361 aix4
| aix4.
[01] | aix4.
[01].
*)
13362 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
13364 echo '#endif'; } | $CC -E - | $GREP yes > /dev
/null
; then
13367 can_build_shared
=no
13371 # Using Import Files as archive members, it is possible to support
13372 # filename-based versioning of shared library archives on AIX. While
13373 # this would work for both with and without runtime linking, it will
13374 # prevent static linking of such archives. So we do filename-based
13375 # shared library versioning with .so extension only, which is used
13376 # when both runtime linking and shared linking is enabled.
13377 # Unfortunately, runtime linking may impact performance, so we do
13378 # not want this to be the default eventually. Also, we use the
13379 # versioned .so libs for executables only if there is the -brtl
13380 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
13381 # To allow for filename-based versioning support, we need to create
13382 # libNAME.so.V as an archive file, containing:
13383 # *) an Import File, referring to the versioned filename of the
13384 # archive as well as the shared archive member, telling the
13385 # bitwidth (32 or 64) of that shared object, and providing the
13386 # list of exported symbols of that shared object, eventually
13387 # decorated with the 'weak' keyword
13388 # *) the shared object with the F_LOADONLY flag set, to really avoid
13389 # it being seen by the linker.
13390 # At run time we better use the real file rather than another symlink,
13391 # but for link time we create the symlink libNAME.so -> libNAME.so.V
13393 case $with_aix_soname,$aix_use_runtimelinking in
13394 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
13395 # soname into executable. Probably we can add versioning support to
13396 # collect2, so additional links can be useful in future.
13397 aix
,yes) # traditional libtool
13398 dynamic_linker
='AIX unversionable lib.so'
13399 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
13400 # instead of lib<name>.a to let people know that these are not
13401 # typical AIX shared libraries.
13402 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13404 aix
,no
) # traditional AIX only
13405 dynamic_linker
='AIX lib.a(lib.so.V)'
13406 # We preserve .a as extension for shared libraries through AIX4.2
13407 # and later when we are not doing run time linking.
13408 library_names_spec
='$libname$release.a $libname.a'
13409 soname_spec
='$libname$release$shared_ext$major'
13411 svr4
,*) # full svr4 only
13412 dynamic_linker
="AIX lib.so.V($shared_archive_member_spec.o)"
13413 library_names_spec
='$libname$release$shared_ext$major $libname$shared_ext'
13414 # We do not specify a path in Import Files, so LIBPATH fires.
13415 shlibpath_overrides_runpath
=yes
13417 *,yes) # both, prefer svr4
13418 dynamic_linker
="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
13419 library_names_spec
='$libname$release$shared_ext$major $libname$shared_ext'
13420 # unpreferred sharedlib libNAME.a needs extra handling
13421 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"'
13422 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"'
13423 # We do not specify a path in Import Files, so LIBPATH fires.
13424 shlibpath_overrides_runpath
=yes
13426 *,no
) # both, prefer aix
13427 dynamic_linker
="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
13428 library_names_spec
='$libname$release.a $libname.a'
13429 soname_spec
='$libname$release$shared_ext$major'
13430 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
13431 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)'
13432 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"'
13435 shlibpath_var
=LIBPATH
13442 # Since July 2007 AmigaOS4 officially supports .so libraries.
13443 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
13444 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13447 library_names_spec
='$libname.ixlibrary $libname.a'
13448 # Create ${libname}_ixlibrary.a entries in /sys/libs.
13449 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'
13455 library_names_spec
='$libname$shared_ext'
13456 dynamic_linker
="$host_os ld.so"
13457 shlibpath_var
=LIBRARY_PATH
13461 version_type
=linux
# correct to gnu/linux during the next big refactor
13463 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13464 soname_spec
='$libname$release$shared_ext$major'
13465 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
13466 shlibpath_var
=LD_LIBRARY_PATH
13467 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
13468 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
13469 # the default ld.so.conf also contains /usr/contrib/lib and
13470 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
13471 # libtool to hard-code these into programs
13474 cygwin
* | mingw
* | pw32
* | cegcc
*)
13475 version_type
=windows
13480 case $GCC,$cc_basename in
13483 library_names_spec
='$libname.dll.a'
13484 # DLL is installed to $(libdir)/../bin by postinstall_cmds
13485 postinstall_cmds
='base_file=`basename \$file`~
13486 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
13487 dldir=$destdir/`dirname \$dlpath`~
13488 test -d \$dldir || mkdir -p \$dldir~
13489 $install_prog $dir/$dlname \$dldir/$dlname~
13490 chmod a+x \$dldir/$dlname~
13491 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
13492 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
13494 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
13495 dlpath=$dir/\$dldll~
13497 shlibpath_overrides_runpath
=yes
13501 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
13502 soname_spec
='`echo $libname | sed -e 's
/^lib
/cyg
/'``echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
13504 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
13507 # MinGW DLLs use traditional 'lib' prefix
13508 soname_spec
='$libname`echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
13511 # pw32 DLLs use 'pw' prefix rather than 'lib'
13512 library_names_spec
='`echo $libname | sed -e 's
/^lib
/pw
/'``echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
13515 dynamic_linker
='Win32 ld.exe'
13520 libname_spec
='$name'
13521 soname_spec
='$libname`echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
13522 library_names_spec
='$libname.dll.lib'
13526 sys_lib_search_path_spec
=
13529 for lt_path
in $LIB
13532 # Let DOS variable expansion print the short 8.3 style file name.
13533 lt_path
=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
13534 sys_lib_search_path_spec
="$sys_lib_search_path_spec $lt_path"
13537 # Convert to MSYS style.
13538 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
13541 # Convert to unix form, then to dos form, then back to unix form
13542 # but this time dos style (no spaces!) so that the unix form looks
13543 # like /cygdrive/c/PROGRA~1:/cygdr...
13544 sys_lib_search_path_spec
=`cygpath --path --unix "$LIB"`
13545 sys_lib_search_path_spec
=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
13546 sys_lib_search_path_spec
=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
13549 sys_lib_search_path_spec
=$LIB
13550 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev
/null
; then
13551 # It is most probably a Windows format PATH.
13552 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
13554 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
13556 # FIXME: find the short name or the path components, as spaces are
13557 # common. (e.g. "Program Files" -> "PROGRA~1")
13561 # DLL is installed to $(libdir)/../bin by postinstall_cmds
13562 postinstall_cmds
='base_file=`basename \$file`~
13563 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
13564 dldir=$destdir/`dirname \$dlpath`~
13565 test -d \$dldir || mkdir -p \$dldir~
13566 $install_prog $dir/$dlname \$dldir/$dlname'
13567 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
13568 dlpath=$dir/\$dldll~
13570 shlibpath_overrides_runpath
=yes
13571 dynamic_linker
='Win32 link.exe'
13575 # Assume MSVC wrapper
13576 library_names_spec
='$libname`echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext $libname.lib'
13577 dynamic_linker
='Win32 ld.exe'
13580 # FIXME: first we should search . and the directory the executable is in
13584 darwin
* | rhapsody
*)
13585 dynamic_linker
="$host_os dyld"
13586 version_type
=darwin
13589 library_names_spec
='$libname$release$major$shared_ext $libname$shared_ext'
13590 soname_spec
='$libname$release$major$shared_ext'
13591 shlibpath_overrides_runpath
=yes
13592 shlibpath_var
=DYLD_LIBRARY_PATH
13593 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
13595 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
13596 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
13600 version_type
=linux
# correct to gnu/linux during the next big refactor
13603 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13604 soname_spec
='$libname$release$shared_ext$major'
13605 shlibpath_var
=LD_LIBRARY_PATH
13608 freebsd
* | dragonfly
*)
13609 # DragonFly does not have aout. When/if they implement a new
13610 # versioning mechanism, adjust this.
13611 if test -x /usr
/bin
/objformat
; then
13612 objformat
=`/usr/bin/objformat`
13615 freebsd
[23].
*) objformat
=aout
;;
13616 *) objformat
=elf
;;
13619 version_type
=freebsd
-$objformat
13620 case $version_type in
13622 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13623 soname_spec
='$libname$release$shared_ext$major'
13628 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
13632 shlibpath_var
=LD_LIBRARY_PATH
13635 shlibpath_overrides_runpath
=yes
13637 freebsd3.
[01]* | freebsdelf3.
[01]*)
13638 shlibpath_overrides_runpath
=yes
13639 hardcode_into_libs
=yes
13641 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
13642 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
13643 shlibpath_overrides_runpath
=no
13644 hardcode_into_libs
=yes
13646 *) # from 4.6 on, and DragonFly
13647 shlibpath_overrides_runpath
=yes
13648 hardcode_into_libs
=yes
13654 version_type
=linux
# correct to gnu/linux during the next big refactor
13657 dynamic_linker
="$host_os runtime_loader"
13658 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13659 soname_spec
='$libname$release$shared_ext$major'
13660 shlibpath_var
=LIBRARY_PATH
13661 shlibpath_overrides_runpath
=no
13662 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
13663 hardcode_into_libs
=yes
13666 hpux9
* | hpux10
* | hpux11
*)
13667 # Give a soname corresponding to the major version so that dld.sl refuses to
13668 # link against other versions.
13675 hardcode_into_libs
=yes
13676 dynamic_linker
="$host_os dld.so"
13677 shlibpath_var
=LD_LIBRARY_PATH
13678 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
13679 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13680 soname_spec
='$libname$release$shared_ext$major'
13681 if test 32 = "$HPUX_IA64_MODE"; then
13682 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
13683 sys_lib_dlsearch_path_spec
=/usr
/lib
/hpux32
13685 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
13686 sys_lib_dlsearch_path_spec
=/usr
/lib
/hpux64
13691 hardcode_into_libs
=yes
13692 dynamic_linker
="$host_os dld.sl"
13693 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
13694 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
13695 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13696 soname_spec
='$libname$release$shared_ext$major'
13697 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
13698 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
13702 dynamic_linker
="$host_os dld.sl"
13703 shlibpath_var
=SHLIB_PATH
13704 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
13705 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13706 soname_spec
='$libname$release$shared_ext$major'
13709 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
13710 postinstall_cmds
='chmod 555 $lib'
13711 # or fails outright, so override atomically:
13712 install_override_mode
=555
13716 version_type
=linux
# correct to gnu/linux during the next big refactor
13719 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13720 soname_spec
='$libname$release$shared_ext$major'
13721 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
13722 shlibpath_var
=LD_LIBRARY_PATH
13723 shlibpath_overrides_runpath
=no
13724 hardcode_into_libs
=yes
13727 irix5
* | irix6
* | nonstopux
*)
13729 nonstopux
*) version_type
=nonstopux
;;
13731 if test yes = "$lt_cv_prog_gnu_ld"; then
13732 version_type
=linux
# correct to gnu/linux during the next big refactor
13739 soname_spec
='$libname$release$shared_ext$major'
13740 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
13742 irix5
* | nonstopux
*)
13743 libsuff
= shlibsuff
=
13746 case $LD in # libtool.m4 will add one of these switches to LD
13747 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
13748 libsuff
= shlibsuff
= libmagic
=32-bit;;
13749 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
13750 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
13751 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
13752 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
13753 *) libsuff
= shlibsuff
= libmagic
=never
-match;;
13757 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
13758 shlibpath_overrides_runpath
=no
13759 sys_lib_search_path_spec
="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
13760 sys_lib_dlsearch_path_spec
="/usr/lib$libsuff /lib$libsuff"
13761 hardcode_into_libs
=yes
13764 # No shared lib support for Linux oldld, aout, or coff.
13765 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
13770 version_type
=none
# Android doesn't support versioned libraries.
13773 library_names_spec
='$libname$release$shared_ext'
13774 soname_spec
='$libname$release$shared_ext'
13776 shlibpath_var
=LD_LIBRARY_PATH
13777 shlibpath_overrides_runpath
=yes
13779 # This implies no fast_install, which is unacceptable.
13780 # Some rework will be needed to allow for fast_install
13781 # before this can be enabled.
13782 hardcode_into_libs
=yes
13784 dynamic_linker
='Android linker'
13785 # Don't embed -rpath directories since the linker doesn't support them.
13786 hardcode_libdir_flag_spec
='-L$libdir'
13789 # This must be glibc/ELF.
13790 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
13791 version_type
=linux
# correct to gnu/linux during the next big refactor
13794 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13795 soname_spec
='$libname$release$shared_ext$major'
13796 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
13797 shlibpath_var
=LD_LIBRARY_PATH
13798 shlibpath_overrides_runpath
=no
13800 # Some binutils ld are patched to set DT_RUNPATH
13801 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
13802 $as_echo_n "(cached) " >&6
13804 lt_cv_shlibpath_overrides_runpath
=no
13805 save_LDFLAGS
=$LDFLAGS
13806 save_libdir
=$libdir
13807 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
13808 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
13809 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13810 /* end confdefs.h. */
13820 if ac_fn_c_try_link
"$LINENO"; then :
13821 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null
| grep "RUNPATH.*$libdir" >/dev
/null
; then :
13822 lt_cv_shlibpath_overrides_runpath
=yes
13825 rm -f core conftest.err conftest.
$ac_objext \
13826 conftest
$ac_exeext conftest.
$ac_ext
13827 LDFLAGS
=$save_LDFLAGS
13828 libdir
=$save_libdir
13832 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
13834 # This implies no fast_install, which is unacceptable.
13835 # Some rework will be needed to allow for fast_install
13836 # before this can be enabled.
13837 hardcode_into_libs
=yes
13839 # Ideally, we could use ldconfig to report *all* directores which are
13840 # searched for libraries, however this is still not possible. Aside from not
13841 # being certain /sbin/ldconfig is available, command
13842 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
13843 # even though it is searched at run-time. Try to do the best guess by
13844 # appending ld.so.conf contents (and includes) to the search path.
13845 if test -f /etc
/ld.so.conf
; then
13846 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' ' '`
13847 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
13850 # We used to test for /lib/ld.so.1 and disable shared libraries on
13851 # powerpc, because MkLinux only supported shared libraries with the
13852 # GNU dynamic linker. Since this was broken with cross compilers,
13853 # most powerpc-linux boxes support dynamic linking these days and
13854 # people can always --disable-shared, the test was removed, and we
13855 # assume the GNU/Linux dynamic linker is in use.
13856 dynamic_linker
='GNU/Linux ld.so'
13863 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
13864 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
13865 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13866 dynamic_linker
='NetBSD (a.out) ld.so'
13868 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13869 soname_spec
='$libname$release$shared_ext$major'
13870 dynamic_linker
='NetBSD ld.elf_so'
13872 shlibpath_var
=LD_LIBRARY_PATH
13873 shlibpath_overrides_runpath
=yes
13874 hardcode_into_libs
=yes
13878 version_type
=linux
# correct to gnu/linux during the next big refactor
13879 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13880 shlibpath_var
=LD_LIBRARY_PATH
13881 shlibpath_overrides_runpath
=yes
13888 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13889 soname_spec
='$libname$release$shared_ext$major'
13890 shlibpath_var
=LD_LIBRARY_PATH
13891 shlibpath_overrides_runpath
=no
13892 hardcode_into_libs
=yes
13893 dynamic_linker
='ldqnx.so'
13896 openbsd
* | bitrig
*)
13898 sys_lib_dlsearch_path_spec
=/usr
/lib
13900 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
13905 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
13906 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13907 shlibpath_var
=LD_LIBRARY_PATH
13908 shlibpath_overrides_runpath
=yes
13912 libname_spec
='$name'
13913 version_type
=windows
13917 # OS/2 can only load a DLL with a base name of 8 characters or less.
13918 soname_spec
='`test -n "$os2dllname" && libname="$os2dllname";
13919 v=$($ECHO $release$versuffix | tr -d .-);
13920 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
13921 $ECHO $n$v`$shared_ext'
13922 library_names_spec
='${libname}_dll.$libext'
13923 dynamic_linker
='OS/2 ld.exe'
13924 shlibpath_var
=BEGINLIBPATH
13925 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
13926 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
13927 postinstall_cmds
='base_file=`basename \$file`~
13928 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
13929 dldir=$destdir/`dirname \$dlpath`~
13930 test -d \$dldir || mkdir -p \$dldir~
13931 $install_prog $dir/$dlname \$dldir/$dlname~
13932 chmod a+x \$dldir/$dlname~
13933 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
13934 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
13936 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
13937 dlpath=$dir/\$dldll~
13941 osf3
* | osf4
* | osf5
*)
13945 soname_spec
='$libname$release$shared_ext$major'
13946 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13947 shlibpath_var
=LD_LIBRARY_PATH
13948 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
13949 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
13957 version_type
=linux
# correct to gnu/linux during the next big refactor
13960 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13961 soname_spec
='$libname$release$shared_ext$major'
13962 shlibpath_var
=LD_LIBRARY_PATH
13963 shlibpath_overrides_runpath
=yes
13964 hardcode_into_libs
=yes
13965 # ldd complains unless libraries are executable
13966 postinstall_cmds
='chmod +x $lib'
13971 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
13972 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
13973 shlibpath_var
=LD_LIBRARY_PATH
13974 shlibpath_overrides_runpath
=yes
13975 if test yes = "$with_gnu_ld"; then
13982 version_type
=linux
# correct to gnu/linux during the next big refactor
13983 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13984 soname_spec
='$libname$release$shared_ext$major'
13985 shlibpath_var
=LD_LIBRARY_PATH
13986 case $host_vendor in
13988 shlibpath_overrides_runpath
=no
13990 runpath_var
=LD_RUN_PATH
13998 shlibpath_overrides_runpath
=no
13999 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
14005 if test -d /usr
/nec
; then
14006 version_type
=linux
# correct to gnu/linux during the next big refactor
14007 library_names_spec
='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
14008 soname_spec
='$libname$shared_ext.$major'
14009 shlibpath_var
=LD_LIBRARY_PATH
14013 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
14017 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
14018 soname_spec
='$libname$release$shared_ext$major'
14019 shlibpath_var
=LD_LIBRARY_PATH
14020 shlibpath_overrides_runpath
=yes
14021 hardcode_into_libs
=yes
14022 if test yes = "$with_gnu_ld"; then
14023 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14025 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
14028 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
14032 sys_lib_dlsearch_path_spec
='/usr/lib'
14036 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
14037 version_type
=linux
# correct to gnu/linux during the next big refactor
14040 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
14041 shlibpath_var
=LD_LIBRARY_PATH
14042 shlibpath_overrides_runpath
=no
14043 hardcode_into_libs
=yes
14047 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 soname_spec
='$libname$release$shared_ext$major'
14050 shlibpath_var
=LD_LIBRARY_PATH
14057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14058 $as_echo "$dynamic_linker" >&6; }
14059 test no
= "$dynamic_linker" && can_build_shared
=no
14061 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
14062 if test yes = "$GCC"; then
14063 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14066 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
14067 sys_lib_search_path_spec
=$lt_cv_sys_lib_search_path_spec
14070 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
14071 sys_lib_dlsearch_path_spec
=$lt_cv_sys_lib_dlsearch_path_spec
14074 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
14075 configure_time_dlsearch_path
=$sys_lib_dlsearch_path_spec
14077 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
14078 func_munge_path_list sys_lib_dlsearch_path_spec
"$LT_SYS_LIBRARY_PATH"
14080 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
14081 configure_time_lt_sys_library_path
=$LT_SYS_LIBRARY_PATH
14179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14180 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14182 if test -n "$hardcode_libdir_flag_spec" ||
14183 test -n "$runpath_var" ||
14184 test yes = "$hardcode_automatic"; then
14186 # We can hardcode non-existent directories.
14187 if test no
!= "$hardcode_direct" &&
14188 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14189 # have to relink, otherwise we might link with an installed library
14190 # when we should be linking with a yet-to-be-installed one
14191 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
14192 test no
!= "$hardcode_minus_L"; then
14193 # Linking always hardcodes the temporary library directory.
14194 hardcode_action
=relink
14196 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14197 hardcode_action
=immediate
14200 # We cannot hardcode anything, or else we can only hardcode existing
14202 hardcode_action
=unsupported
14204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
14205 $as_echo "$hardcode_action" >&6; }
14207 if test relink
= "$hardcode_action" ||
14208 test yes = "$inherit_rpath"; then
14209 # Fast installation is not supported
14210 enable_fast_install
=no
14211 elif test yes = "$shlibpath_overrides_runpath" ||
14212 test no
= "$enable_shared"; then
14213 # Fast installation is not necessary
14214 enable_fast_install
=needless
14222 if test yes != "$enable_dlopen"; then
14223 enable_dlopen
=unknown
14224 enable_dlopen_self
=unknown
14225 enable_dlopen_self_static
=unknown
14232 lt_cv_dlopen
=load_add_on
14234 lt_cv_dlopen_self
=yes
14237 mingw
* | pw32
* | cegcc
*)
14238 lt_cv_dlopen
=LoadLibrary
14243 lt_cv_dlopen
=dlopen
14248 # if libdl is installed we need to link against it
14249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14250 $as_echo_n "checking for dlopen in -ldl... " >&6; }
14251 if ${ac_cv_lib_dl_dlopen+:} false
; then :
14252 $as_echo_n "(cached) " >&6
14254 ac_check_lib_save_LIBS
=$LIBS
14256 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14257 /* end confdefs.h. */
14259 /* Override any GCC internal prototype to avoid an error.
14260 Use char because int might match the return type of a GCC
14261 builtin and then its argument prototype would still apply. */
14274 if ac_fn_c_try_link
"$LINENO"; then :
14275 ac_cv_lib_dl_dlopen
=yes
14277 ac_cv_lib_dl_dlopen
=no
14279 rm -f core conftest.err conftest.
$ac_objext \
14280 conftest
$ac_exeext conftest.
$ac_ext
14281 LIBS
=$ac_check_lib_save_LIBS
14283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14284 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
14285 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
14286 lt_cv_dlopen
=dlopen lt_cv_dlopen_libs
=-ldl
14291 lt_cv_dlopen_self
=yes
14298 # Don't try to run any link tests for TPF. We know it's impossible
14299 # because TPF is a cross-compiler, and we know how we open DSOs.
14300 lt_cv_dlopen
=dlopen
14302 lt_cv_dlopen_self
=no
14306 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
14307 if test "x$ac_cv_func_shl_load" = xyes
; then :
14308 lt_cv_dlopen
=shl_load
14310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
14311 $as_echo_n "checking for shl_load in -ldld... " >&6; }
14312 if ${ac_cv_lib_dld_shl_load+:} false
; then :
14313 $as_echo_n "(cached) " >&6
14315 ac_check_lib_save_LIBS
=$LIBS
14317 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14318 /* end confdefs.h. */
14320 /* Override any GCC internal prototype to avoid an error.
14321 Use char because int might match the return type of a GCC
14322 builtin and then its argument prototype would still apply. */
14330 return shl_load ();
14335 if ac_fn_c_try_link
"$LINENO"; then :
14336 ac_cv_lib_dld_shl_load
=yes
14338 ac_cv_lib_dld_shl_load
=no
14340 rm -f core conftest.err conftest.
$ac_objext \
14341 conftest
$ac_exeext conftest.
$ac_ext
14342 LIBS
=$ac_check_lib_save_LIBS
14344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
14345 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
14346 if test "x$ac_cv_lib_dld_shl_load" = xyes
; then :
14347 lt_cv_dlopen
=shl_load lt_cv_dlopen_libs
=-ldld
14349 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
14350 if test "x$ac_cv_func_dlopen" = xyes
; then :
14351 lt_cv_dlopen
=dlopen
14353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14354 $as_echo_n "checking for dlopen in -ldl... " >&6; }
14355 if ${ac_cv_lib_dl_dlopen+:} false
; then :
14356 $as_echo_n "(cached) " >&6
14358 ac_check_lib_save_LIBS
=$LIBS
14360 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14361 /* end confdefs.h. */
14363 /* Override any GCC internal prototype to avoid an error.
14364 Use char because int might match the return type of a GCC
14365 builtin and then its argument prototype would still apply. */
14378 if ac_fn_c_try_link
"$LINENO"; then :
14379 ac_cv_lib_dl_dlopen
=yes
14381 ac_cv_lib_dl_dlopen
=no
14383 rm -f core conftest.err conftest.
$ac_objext \
14384 conftest
$ac_exeext conftest.
$ac_ext
14385 LIBS
=$ac_check_lib_save_LIBS
14387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14388 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
14389 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
14390 lt_cv_dlopen
=dlopen lt_cv_dlopen_libs
=-ldl
14392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
14393 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
14394 if ${ac_cv_lib_svld_dlopen+:} false
; then :
14395 $as_echo_n "(cached) " >&6
14397 ac_check_lib_save_LIBS
=$LIBS
14398 LIBS
="-lsvld $LIBS"
14399 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14400 /* end confdefs.h. */
14402 /* Override any GCC internal prototype to avoid an error.
14403 Use char because int might match the return type of a GCC
14404 builtin and then its argument prototype would still apply. */
14417 if ac_fn_c_try_link
"$LINENO"; then :
14418 ac_cv_lib_svld_dlopen
=yes
14420 ac_cv_lib_svld_dlopen
=no
14422 rm -f core conftest.err conftest.
$ac_objext \
14423 conftest
$ac_exeext conftest.
$ac_ext
14424 LIBS
=$ac_check_lib_save_LIBS
14426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
14427 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
14428 if test "x$ac_cv_lib_svld_dlopen" = xyes
; then :
14429 lt_cv_dlopen
=dlopen lt_cv_dlopen_libs
=-lsvld
14431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
14432 $as_echo_n "checking for dld_link in -ldld... " >&6; }
14433 if ${ac_cv_lib_dld_dld_link+:} false
; then :
14434 $as_echo_n "(cached) " >&6
14436 ac_check_lib_save_LIBS
=$LIBS
14438 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14439 /* end confdefs.h. */
14441 /* Override any GCC internal prototype to avoid an error.
14442 Use char because int might match the return type of a GCC
14443 builtin and then its argument prototype would still apply. */
14451 return dld_link ();
14456 if ac_fn_c_try_link
"$LINENO"; then :
14457 ac_cv_lib_dld_dld_link
=yes
14459 ac_cv_lib_dld_dld_link
=no
14461 rm -f core conftest.err conftest.
$ac_objext \
14462 conftest
$ac_exeext conftest.
$ac_ext
14463 LIBS
=$ac_check_lib_save_LIBS
14465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
14466 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
14467 if test "x$ac_cv_lib_dld_dld_link" = xyes
; then :
14468 lt_cv_dlopen
=dld_link lt_cv_dlopen_libs
=-ldld
14489 if test no
= "$lt_cv_dlopen"; then
14495 case $lt_cv_dlopen in
14497 save_CPPFLAGS
=$CPPFLAGS
14498 test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
14500 save_LDFLAGS
=$LDFLAGS
14501 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
14504 LIBS
="$lt_cv_dlopen_libs $LIBS"
14506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
14507 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
14508 if ${lt_cv_dlopen_self+:} false
; then :
14509 $as_echo_n "(cached) " >&6
14511 if test yes = "$cross_compiling"; then :
14512 lt_cv_dlopen_self
=cross
14514 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
14515 lt_status
=$lt_dlunknown
14516 cat > conftest.
$ac_ext <<_LT_EOF
14517 #line $LINENO "configure"
14518 #include "confdefs.h"
14527 # define LT_DLGLOBAL RTLD_GLOBAL
14530 # define LT_DLGLOBAL DL_GLOBAL
14532 # define LT_DLGLOBAL 0
14536 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
14537 find out it does not work in some platform. */
14538 #ifndef LT_DLLAZY_OR_NOW
14540 # define LT_DLLAZY_OR_NOW RTLD_LAZY
14543 # define LT_DLLAZY_OR_NOW DL_LAZY
14546 # define LT_DLLAZY_OR_NOW RTLD_NOW
14549 # define LT_DLLAZY_OR_NOW DL_NOW
14551 # define LT_DLLAZY_OR_NOW 0
14558 /* When -fvisibility=hidden is used, assume the code has been annotated
14559 correspondingly for the symbols needed. */
14560 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
14561 int fnord () __attribute__((visibility("default")));
14564 int fnord () { return 42; }
14567 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
14568 int status = $lt_dlunknown;
14572 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
14575 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
14576 else puts (dlerror ());
14578 /* dlclose (self); */
14586 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
14587 (eval $ac_link) 2>&5
14589 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14590 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev
/null
; then
14591 (.
/conftest
; exit; ) >&5 2>/dev
/null
14593 case x
$lt_status in
14594 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
14595 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
14596 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
14599 # compilation failed
14600 lt_cv_dlopen_self
=no
14607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
14608 $as_echo "$lt_cv_dlopen_self" >&6; }
14610 if test yes = "$lt_cv_dlopen_self"; then
14611 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
14612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
14613 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
14614 if ${lt_cv_dlopen_self_static+:} false
; then :
14615 $as_echo_n "(cached) " >&6
14617 if test yes = "$cross_compiling"; then :
14618 lt_cv_dlopen_self_static
=cross
14620 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
14621 lt_status
=$lt_dlunknown
14622 cat > conftest.
$ac_ext <<_LT_EOF
14623 #line $LINENO "configure"
14624 #include "confdefs.h"
14633 # define LT_DLGLOBAL RTLD_GLOBAL
14636 # define LT_DLGLOBAL DL_GLOBAL
14638 # define LT_DLGLOBAL 0
14642 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
14643 find out it does not work in some platform. */
14644 #ifndef LT_DLLAZY_OR_NOW
14646 # define LT_DLLAZY_OR_NOW RTLD_LAZY
14649 # define LT_DLLAZY_OR_NOW DL_LAZY
14652 # define LT_DLLAZY_OR_NOW RTLD_NOW
14655 # define LT_DLLAZY_OR_NOW DL_NOW
14657 # define LT_DLLAZY_OR_NOW 0
14664 /* When -fvisibility=hidden is used, assume the code has been annotated
14665 correspondingly for the symbols needed. */
14666 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
14667 int fnord () __attribute__((visibility("default")));
14670 int fnord () { return 42; }
14673 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
14674 int status = $lt_dlunknown;
14678 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
14681 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
14682 else puts (dlerror ());
14684 /* dlclose (self); */
14692 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
14693 (eval $ac_link) 2>&5
14695 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14696 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev
/null
; then
14697 (.
/conftest
; exit; ) >&5 2>/dev
/null
14699 case x
$lt_status in
14700 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
14701 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
14702 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
14705 # compilation failed
14706 lt_cv_dlopen_self_static
=no
14713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
14714 $as_echo "$lt_cv_dlopen_self_static" >&6; }
14717 CPPFLAGS
=$save_CPPFLAGS
14718 LDFLAGS
=$save_LDFLAGS
14723 case $lt_cv_dlopen_self in
14724 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
14725 *) enable_dlopen_self
=unknown
;;
14728 case $lt_cv_dlopen_self_static in
14729 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
14730 *) enable_dlopen_self_static
=unknown
;;
14752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
14753 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
14754 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev
/null
; then
14755 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
14756 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
14757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14758 $as_echo "yes" >&6; }
14760 # FIXME - insert some real tests, host_os isn't really good enough
14763 if test -n "$STRIP"; then
14764 striplib
="$STRIP -x"
14765 old_striplib
="$STRIP -S"
14766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14767 $as_echo "yes" >&6; }
14769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14770 $as_echo "no" >&6; }
14774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14775 $as_echo "no" >&6; }
14791 # Report what library types will actually be built
14792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
14793 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
14794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
14795 $as_echo "$can_build_shared" >&6; }
14797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
14798 $as_echo_n "checking whether to build shared libraries... " >&6; }
14799 test no
= "$can_build_shared" && enable_shared
=no
14801 # On AIX, shared libraries and static libraries use the same namespace, and
14802 # are all built from PIC.
14805 test yes = "$enable_shared" && enable_static
=no
14806 if test -n "$RANLIB"; then
14807 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
14808 postinstall_cmds
='$RANLIB $lib'
14813 if test ia64
!= "$host_cpu"; then
14814 case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
14815 yes,aix
,yes) ;; # shared object as lib.so file only
14816 yes,svr4
,*) ;; # shared object as lib.so archive member only
14817 yes,*) enable_static
=no
;; # shared object in lib.a archive as well
14822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
14823 $as_echo "$enable_shared" >&6; }
14825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
14826 $as_echo_n "checking whether to build static libraries... " >&6; }
14827 # Make sure either enable_shared or enable_static is yes.
14828 test yes = "$enable_shared" || enable_static
=yes
14829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
14830 $as_echo "$enable_static" >&6; }
14837 ac_cpp
='$CPP $CPPFLAGS'
14838 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14839 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14840 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14844 if test -n "$CXX" && ( test no
!= "$CXX" &&
14845 ( (test g
++ = "$CXX" && `g++ -v >/dev/null 2>&1` ) ||
14846 (test g
++ != "$CXX"))); then
14848 ac_cpp
='$CXXCPP $CPPFLAGS'
14849 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14850 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14851 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
14853 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
14854 if test -z "$CXXCPP"; then
14855 if ${ac_cv_prog_CXXCPP+:} false
; then :
14856 $as_echo_n "(cached) " >&6
14858 # Double quotes because CXXCPP needs to be expanded
14859 for CXXCPP
in "$CXX -E" "/lib/cpp"
14861 ac_preproc_ok
=false
14862 for ac_cxx_preproc_warn_flag
in '' yes
14864 # Use a header file that comes with gcc, so configuring glibc
14865 # with a fresh cross-compiler works.
14866 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14867 # <limits.h> exists even on freestanding compilers.
14868 # On the NeXT, cc -E runs the code through the compiler's parser,
14869 # not just through cpp. "Syntax error" is here to catch this case.
14870 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14871 /* end confdefs.h. */
14873 # include <limits.h>
14875 # include <assert.h>
14879 if ac_fn_cxx_try_cpp
"$LINENO"; then :
14882 # Broken: fails on valid input.
14885 rm -f conftest.err conftest.i conftest.
$ac_ext
14887 # OK, works on sane cases. Now check whether nonexistent headers
14888 # can be detected and how.
14889 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14890 /* end confdefs.h. */
14891 #include <ac_nonexistent.h>
14893 if ac_fn_cxx_try_cpp
"$LINENO"; then :
14894 # Broken: success on invalid input.
14897 # Passes both tests.
14901 rm -f conftest.err conftest.i conftest.
$ac_ext
14904 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
14905 rm -f conftest.i conftest.err conftest.
$ac_ext
14906 if $ac_preproc_ok; then :
14911 ac_cv_prog_CXXCPP
=$CXXCPP
14914 CXXCPP
=$ac_cv_prog_CXXCPP
14916 ac_cv_prog_CXXCPP
=$CXXCPP
14918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
14919 $as_echo "$CXXCPP" >&6; }
14920 ac_preproc_ok
=false
14921 for ac_cxx_preproc_warn_flag
in '' yes
14923 # Use a header file that comes with gcc, so configuring glibc
14924 # with a fresh cross-compiler works.
14925 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14926 # <limits.h> exists even on freestanding compilers.
14927 # On the NeXT, cc -E runs the code through the compiler's parser,
14928 # not just through cpp. "Syntax error" is here to catch this case.
14929 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14930 /* end confdefs.h. */
14932 # include <limits.h>
14934 # include <assert.h>
14938 if ac_fn_cxx_try_cpp
"$LINENO"; then :
14941 # Broken: fails on valid input.
14944 rm -f conftest.err conftest.i conftest.
$ac_ext
14946 # OK, works on sane cases. Now check whether nonexistent headers
14947 # can be detected and how.
14948 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14949 /* end confdefs.h. */
14950 #include <ac_nonexistent.h>
14952 if ac_fn_cxx_try_cpp
"$LINENO"; then :
14953 # Broken: success on invalid input.
14956 # Passes both tests.
14960 rm -f conftest.err conftest.i conftest.
$ac_ext
14963 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
14964 rm -f conftest.i conftest.err conftest.
$ac_ext
14965 if $ac_preproc_ok; then :
14968 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14969 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14970 as_fn_error $?
"C++ preprocessor \"$CXXCPP\" fails sanity check
14971 See \`config.log' for more details" "$LINENO" 5; }
14975 ac_cpp
='$CPP $CPPFLAGS'
14976 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14977 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14978 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14981 _lt_caught_CXX_error
=yes
14985 ac_cpp
='$CXXCPP $CPPFLAGS'
14986 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14987 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14988 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14990 archive_cmds_need_lc_CXX
=no
14991 allow_undefined_flag_CXX
=
14992 always_export_symbols_CXX
=no
14993 archive_expsym_cmds_CXX
=
14994 compiler_needs_object_CXX
=no
14995 export_dynamic_flag_spec_CXX
=
14996 hardcode_direct_CXX
=no
14997 hardcode_direct_absolute_CXX
=no
14998 hardcode_libdir_flag_spec_CXX
=
14999 hardcode_libdir_separator_CXX
=
15000 hardcode_minus_L_CXX
=no
15001 hardcode_shlibpath_var_CXX
=unsupported
15002 hardcode_automatic_CXX
=no
15003 inherit_rpath_CXX
=no
15005 module_expsym_cmds_CXX
=
15006 link_all_deplibs_CXX
=unknown
15007 old_archive_cmds_CXX
=$old_archive_cmds
15008 reload_flag_CXX
=$reload_flag
15009 reload_cmds_CXX
=$reload_cmds
15010 no_undefined_flag_CXX
=
15011 whole_archive_flag_spec_CXX
=
15012 enable_shared_with_static_runtimes_CXX
=no
15014 # Source file extension for C++ test sources.
15017 # Object file extension for compiled C++ test sources.
15021 # No sense in running all these tests if we already determined that
15022 # the CXX compiler isn't working. Some variables (like enable_shared)
15023 # are currently assumed to apply to all compilers on this platform,
15024 # and will be corrupted by setting them based on a non-working compiler.
15025 if test yes != "$_lt_caught_CXX_error"; then
15026 # Code to be used in simple compile tests
15027 lt_simple_compile_test_code
="int some_variable = 0;"
15029 # Code to be used in simple link tests
15030 lt_simple_link_test_code
='int main(int, char *[]) { return(0); }'
15032 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
15039 # If no C compiler was specified, use CC.
15042 # If no C compiler flags were specified, use CFLAGS.
15043 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
15045 # Allow CC to be a program name with arguments.
15049 # save warnings/boilerplate of simple test code
15050 ac_outfile
=conftest.
$ac_objext
15051 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
15052 eval "$ac_compile" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
15053 _lt_compiler_boilerplate
=`cat conftest.err`
15056 ac_outfile
=conftest.
$ac_objext
15057 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
15058 eval "$ac_link" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
15059 _lt_linker_boilerplate
=`cat conftest.err`
15063 # Allow CC to be a program name with arguments.
15065 lt_save_CFLAGS
=$CFLAGS
15069 lt_save_with_gnu_ld
=$with_gnu_ld
15070 lt_save_path_LD
=$lt_cv_path_LD
15071 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
15072 lt_cv_prog_gnu_ld
=$lt_cv_prog_gnu_ldcxx
15074 $as_unset lt_cv_prog_gnu_ld
15076 if test -n "${lt_cv_path_LDCXX+set}"; then
15077 lt_cv_path_LD
=$lt_cv_path_LDCXX
15079 $as_unset lt_cv_path_LD
15081 test -z "${LDCXX+set}" || LD
=$LDCXX
15086 func_cc_basename
$compiler
15087 cc_basename
=$func_cc_basename_result
15090 if test -n "$compiler"; then
15091 # We don't want -fno-exception when compiling C++ code, so set the
15092 # no_builtin_flag separately
15093 if test yes = "$GXX"; then
15094 lt_prog_compiler_no_builtin_flag_CXX
=' -fno-builtin'
15096 lt_prog_compiler_no_builtin_flag_CXX
=
15099 if test yes = "$GXX"; then
15100 # Set up default GNU C++ configuration
15104 # Check whether --with-gnu-ld was given.
15105 if test "${with_gnu_ld+set}" = set; then :
15106 withval
=$with_gnu_ld; test no
= "$withval" || with_gnu_ld
=yes
15112 if test yes = "$GCC"; then
15113 # Check if gcc -print-prog-name=ld gives a path.
15114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
15115 $as_echo_n "checking for ld used by $CC... " >&6; }
15118 # gcc leaves a trailing carriage return, which upsets mingw
15119 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
15121 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
15124 # Accept absolute paths.
15126 re_direlt
='/[^/][^/]*/\.\./'
15127 # Canonicalize the pathname of ld
15128 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
15129 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev
/null
2>&1; do
15130 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
15132 test -z "$LD" && LD
=$ac_prog
15135 # If it fails, then pretend we aren't using GCC.
15139 # If it is relative, then search for the first ld in PATH.
15140 with_gnu_ld
=unknown
15143 elif test yes = "$with_gnu_ld"; then
15144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
15145 $as_echo_n "checking for GNU ld... " >&6; }
15147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
15148 $as_echo_n "checking for non-GNU ld... " >&6; }
15150 if ${lt_cv_path_LD+:} false
; then :
15151 $as_echo_n "(cached) " >&6
15153 if test -z "$LD"; then
15154 lt_save_ifs
=$IFS; IFS
=$PATH_SEPARATOR
15155 for ac_dir
in $PATH; do
15157 test -z "$ac_dir" && ac_dir
=.
15158 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
15159 lt_cv_path_LD
=$ac_dir/$ac_prog
15160 # Check to see if the program is GNU ld. I'd rather use --version,
15161 # but apparently some variants of GNU ld only accept -v.
15162 # Break only if it was the GNU/non-GNU ld that we prefer.
15163 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
15164 *GNU
* | *'with BFD'*)
15165 test no
!= "$with_gnu_ld" && break
15168 test yes != "$with_gnu_ld" && break
15175 lt_cv_path_LD
=$LD # Let the user override the test with a path.
15180 if test -n "$LD"; then
15181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
15182 $as_echo "$LD" >&6; }
15184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15185 $as_echo "no" >&6; }
15187 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
15188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
15189 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
15190 if ${lt_cv_prog_gnu_ld+:} false
; then :
15191 $as_echo_n "(cached) " >&6
15193 # I'd rather use --version here, but apparently some GNU lds only accept -v.
15194 case `$LD -v 2>&1 </dev/null` in
15195 *GNU
* | *'with BFD'*)
15196 lt_cv_prog_gnu_ld
=yes
15199 lt_cv_prog_gnu_ld
=no
15203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
15204 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
15205 with_gnu_ld
=$lt_cv_prog_gnu_ld
15213 # Check if GNU C++ uses GNU ld as the underlying linker, since the
15214 # archiving commands below assume that GNU ld is being used.
15215 if test yes = "$with_gnu_ld"; then
15216 archive_cmds_CXX
='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
15217 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'
15219 hardcode_libdir_flag_spec_CXX
='$wl-rpath $wl$libdir'
15220 export_dynamic_flag_spec_CXX
='$wl--export-dynamic'
15222 # If archive_cmds runs LD, not CC, wlarc should be empty
15223 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
15224 # investigate it a little bit more. (MM)
15227 # ancient GNU ld didn't support --whole-archive et. al.
15228 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
15229 $GREP 'no-whole-archive' > /dev
/null
; then
15230 whole_archive_flag_spec_CXX
=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
15232 whole_archive_flag_spec_CXX
=
15238 # A generic and very simple default shared library creation
15239 # command for GNU C++ for the case where it uses the native
15240 # linker, instead of GNU ld. If possible, this setting should
15241 # overridden to take advantage of the native linker features on
15242 # the platform it is being used on.
15243 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
15246 # Commands to make compiler produce verbose output that lists
15247 # what "hidden" libraries, object files and flags are used when
15248 # linking a shared library.
15249 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
15257 # PORTME: fill in a description of your system's C++ link characteristics
15258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15259 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
15263 # FIXME: insert proper C++ library support
15267 if test ia64
= "$host_cpu"; then
15268 # On IA64, the linker does run time linking by default, so we don't
15269 # have to do anything special.
15270 aix_use_runtimelinking
=no
15271 exp_sym_flag
='-Bexport'
15274 aix_use_runtimelinking
=no
15276 # Test if we are trying to use run time linking or normal
15277 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
15278 # have runtime linking enabled, and use it for executables.
15279 # For shared libraries, we enable/disable runtime linking
15280 # depending on the kind of the shared library created -
15281 # when "with_aix_soname,aix_use_runtimelinking" is:
15282 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables
15283 # "aix,yes" lib.so shared, rtl:yes, for executables
15284 # lib.a static archive
15285 # "both,no" lib.so.V(shr.o) shared, rtl:yes
15286 # lib.a(lib.so.V) shared, rtl:no, for executables
15287 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
15288 # lib.a(lib.so.V) shared, rtl:no
15289 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables
15290 # lib.a static archive
15291 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
15292 for ld_flag
in $LDFLAGS; do
15295 aix_use_runtimelinking
=yes
15300 if test svr4
,no
= "$with_aix_soname,$aix_use_runtimelinking"; then
15301 # With aix-soname=svr4, we create the lib.so.V shared archives only,
15302 # so we don't have lib.a shared libs to link our executables.
15303 # We have to force runtime linking in this case.
15304 aix_use_runtimelinking
=yes
15305 LDFLAGS
="$LDFLAGS -Wl,-brtl"
15310 exp_sym_flag
='-bexport'
15311 no_entry_flag
='-bnoentry'
15314 # When large executables or shared objects are built, AIX ld can
15315 # have problems creating the table of contents. If linking a library
15316 # or program results in "error TOC overflow" add -mminimal-toc to
15317 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
15318 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
15320 archive_cmds_CXX
=''
15321 hardcode_direct_CXX
=yes
15322 hardcode_direct_absolute_CXX
=yes
15323 hardcode_libdir_separator_CXX
=':'
15324 link_all_deplibs_CXX
=yes
15325 file_list_spec_CXX
='$wl-f,'
15326 case $with_aix_soname,$aix_use_runtimelinking in
15327 aix
,*) ;; # no import file
15328 svr4
,* | *,yes) # use import file
15329 # The Import File defines what to hardcode.
15330 hardcode_direct_CXX
=no
15331 hardcode_direct_absolute_CXX
=no
15335 if test yes = "$GXX"; then
15336 case $host_os in aix4.
[012]|aix4.
[012].
*)
15337 # We only want to do this on AIX 4.2 and lower, the check
15338 # below for broken collect2 doesn't work under 4.3+
15339 collect2name
=`$CC -print-prog-name=collect2`
15340 if test -f "$collect2name" &&
15341 strings "$collect2name" | $GREP resolve_lib_name
>/dev
/null
15343 # We have reworked collect2
15346 # We have old collect2
15347 hardcode_direct_CXX
=unsupported
15348 # It fails to find uninstalled libraries when the uninstalled
15349 # path is not listed in the libpath. Setting hardcode_minus_L
15350 # to unsupported forces relinking
15351 hardcode_minus_L_CXX
=yes
15352 hardcode_libdir_flag_spec_CXX
='-L$libdir'
15353 hardcode_libdir_separator_CXX
=
15356 shared_flag
='-shared'
15357 if test yes = "$aix_use_runtimelinking"; then
15358 shared_flag
=$shared_flag' $wl-G'
15360 # Need to ensure runtime linking is disabled for the traditional
15361 # shared library, or the linker may eventually find shared libraries
15362 # /with/ Import File - we do not want to mix them.
15363 shared_flag_aix
='-shared'
15364 shared_flag_svr4
='-shared $wl-G'
15367 if test ia64
= "$host_cpu"; then
15368 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
15369 # chokes on -Wl,-G. The following line is correct:
15372 if test yes = "$aix_use_runtimelinking"; then
15373 shared_flag
='$wl-G'
15375 shared_flag
='$wl-bM:SRE'
15377 shared_flag_aix
='$wl-bM:SRE'
15378 shared_flag_svr4
='$wl-G'
15382 export_dynamic_flag_spec_CXX
='$wl-bexpall'
15383 # It seems that -bexpall does not export symbols beginning with
15384 # underscore (_), so it is better to generate a list of symbols to
15386 always_export_symbols_CXX
=yes
15387 if test aix
,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
15388 # Warning - without using the other runtime loading flags (-brtl),
15389 # -berok will link without error, but may produce a broken library.
15390 # The "-G" linker flag allows undefined symbols.
15391 no_undefined_flag_CXX
='-bernotok'
15392 # Determine the default libpath from the value encoded in an empty
15394 if test set = "${lt_cv_aix_libpath+set}"; then
15395 aix_libpath
=$lt_cv_aix_libpath
15397 if ${lt_cv_aix_libpath__CXX+:} false
; then :
15398 $as_echo_n "(cached) " >&6
15400 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15401 /* end confdefs.h. */
15411 if ac_fn_cxx_try_link
"$LINENO"; then :
15413 lt_aix_libpath_sed
='
15414 /Import File Strings/,/^$/ {
15416 s/^0 *\([^ ]*\) *$/\1/
15420 lt_cv_aix_libpath__CXX
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15421 # Check for a 64-bit object if we didn't find anything.
15422 if test -z "$lt_cv_aix_libpath__CXX"; then
15423 lt_cv_aix_libpath__CXX
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15426 rm -f core conftest.err conftest.
$ac_objext \
15427 conftest
$ac_exeext conftest.
$ac_ext
15428 if test -z "$lt_cv_aix_libpath__CXX"; then
15429 lt_cv_aix_libpath__CXX
=/usr
/lib
:/lib
15434 aix_libpath
=$lt_cv_aix_libpath__CXX
15437 hardcode_libdir_flag_spec_CXX
='$wl-blibpath:$libdir:'"$aix_libpath"
15439 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
15441 if test ia64
= "$host_cpu"; then
15442 hardcode_libdir_flag_spec_CXX
='$wl-R $libdir:/usr/lib:/lib'
15443 allow_undefined_flag_CXX
="-z nodefs"
15444 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"
15446 # Determine the default libpath from the value encoded in an
15447 # empty executable.
15448 if test set = "${lt_cv_aix_libpath+set}"; then
15449 aix_libpath
=$lt_cv_aix_libpath
15451 if ${lt_cv_aix_libpath__CXX+:} false
; then :
15452 $as_echo_n "(cached) " >&6
15454 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15455 /* end confdefs.h. */
15465 if ac_fn_cxx_try_link
"$LINENO"; then :
15467 lt_aix_libpath_sed
='
15468 /Import File Strings/,/^$/ {
15470 s/^0 *\([^ ]*\) *$/\1/
15474 lt_cv_aix_libpath__CXX
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15475 # Check for a 64-bit object if we didn't find anything.
15476 if test -z "$lt_cv_aix_libpath__CXX"; then
15477 lt_cv_aix_libpath__CXX
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15480 rm -f core conftest.err conftest.
$ac_objext \
15481 conftest
$ac_exeext conftest.
$ac_ext
15482 if test -z "$lt_cv_aix_libpath__CXX"; then
15483 lt_cv_aix_libpath__CXX
=/usr
/lib
:/lib
15488 aix_libpath
=$lt_cv_aix_libpath__CXX
15491 hardcode_libdir_flag_spec_CXX
='$wl-blibpath:$libdir:'"$aix_libpath"
15492 # Warning - without using the other run time loading flags,
15493 # -berok will link without error, but may produce a broken library.
15494 no_undefined_flag_CXX
=' $wl-bernotok'
15495 allow_undefined_flag_CXX
=' $wl-berok'
15496 if test yes = "$with_gnu_ld"; then
15497 # We only use this code for GNU lds that support --whole-archive.
15498 whole_archive_flag_spec_CXX
='$wl--whole-archive$convenience $wl--no-whole-archive'
15500 # Exported symbols can be pulled into shared objects from archives
15501 whole_archive_flag_spec_CXX
='$convenience'
15503 archive_cmds_need_lc_CXX
=yes
15504 archive_expsym_cmds_CXX
='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
15505 # -brtl affects multiple linker settings, -berok does not and is overridden later
15506 compiler_flags_filtered
='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
15507 if test svr4
!= "$with_aix_soname"; then
15508 # This is similar to how AIX traditionally builds its shared
15509 # libraries. Need -bnortl late, we may have -brtl in LDFLAGS.
15510 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'
15512 if test aix
!= "$with_aix_soname"; then
15513 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'
15515 # used by -dlpreopen to get the symbols
15516 archive_expsym_cmds_CXX
="$archive_expsym_cmds_CXX"'~$MV $output_objdir/$realname.d/$soname $output_objdir'
15518 archive_expsym_cmds_CXX
="$archive_expsym_cmds_CXX"'~$RM -r $output_objdir/$realname.d'
15524 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
15525 allow_undefined_flag_CXX
=unsupported
15526 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
15527 # support --undefined. This deserves some investigation. FIXME
15528 archive_cmds_CXX
='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
15535 case $cc_basename in
15537 # FIXME: insert proper C++ library support
15543 cygwin
* | mingw
* | pw32
* | cegcc
*)
15544 case $GXX,$cc_basename in
15547 # hardcode_libdir_flag_spec is actually meaningless, as there is
15548 # no search path for DLLs.
15549 hardcode_libdir_flag_spec_CXX
=' '
15550 allow_undefined_flag_CXX
=unsupported
15551 always_export_symbols_CXX
=yes
15552 file_list_spec_CXX
='@'
15553 # Tell ltmain to make .lib files, not .a files.
15555 # Tell ltmain to make .dll files, not .so files.
15557 # FIXME: Setting linknames here is a bad hack.
15558 archive_cmds_CXX
='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
15559 archive_expsym_cmds_CXX
='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
15560 cp "$export_symbols" "$output_objdir/$soname.def";
15561 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
15563 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
15565 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
15567 # The linker will not automatically build a static lib if we build a DLL.
15568 # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
15569 enable_shared_with_static_runtimes_CXX
=yes
15571 old_postinstall_cmds_CXX
='chmod 644 $oldlib'
15572 postlink_cmds_CXX
='lt_outputfile="@OUTPUT@"~
15573 lt_tool_outputfile="@TOOL_OUTPUT@"~
15574 case $lt_outputfile in
15577 lt_outputfile=$lt_outputfile.exe
15578 lt_tool_outputfile=$lt_tool_outputfile.exe
15581 func_to_tool_file "$lt_outputfile"~
15582 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
15583 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
15584 $RM "$lt_outputfile.manifest";
15589 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
15590 # as there is no search path for DLLs.
15591 hardcode_libdir_flag_spec_CXX
='-L$libdir'
15592 export_dynamic_flag_spec_CXX
='$wl--export-all-symbols'
15593 allow_undefined_flag_CXX
=unsupported
15594 always_export_symbols_CXX
=no
15595 enable_shared_with_static_runtimes_CXX
=yes
15597 if $LD --help 2>&1 | $GREP 'auto-import' > /dev
/null
; then
15598 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'
15599 # If the export-symbols file already is a .def file, use it as
15600 # is; otherwise, prepend EXPORTS...
15601 archive_expsym_cmds_CXX
='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
15602 cp $export_symbols $output_objdir/$soname.def;
15604 echo EXPORTS > $output_objdir/$soname.def;
15605 cat $export_symbols >> $output_objdir/$soname.def;
15607 $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'
15614 darwin
* | rhapsody
*)
15617 archive_cmds_need_lc_CXX
=no
15618 hardcode_direct_CXX
=no
15619 hardcode_automatic_CXX
=yes
15620 hardcode_shlibpath_var_CXX
=unsupported
15621 if test yes = "$lt_cv_ld_force_load"; then
15622 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\"`'
15625 whole_archive_flag_spec_CXX
=''
15627 link_all_deplibs_CXX
=yes
15628 allow_undefined_flag_CXX
=$_lt_dar_allow_undefined
15629 case $cc_basename in
15630 ifort
*|nagfor
*) _lt_dar_can_shared
=yes ;;
15631 *) _lt_dar_can_shared
=$GCC ;;
15633 if test yes = "$_lt_dar_can_shared"; then
15634 output_verbose_link_cmd
=func_echo_all
15635 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"
15636 module_cmds_CXX
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
15637 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"
15638 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"
15639 if test yes != "$lt_cv_apple_cc_single_mod"; then
15640 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"
15641 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"
15651 hardcode_libdir_flag_spec_CXX
='-L$libdir'
15652 hardcode_minus_L_CXX
=yes
15653 allow_undefined_flag_CXX
=unsupported
15655 archive_cmds_CXX
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
15656 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
15657 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
15658 $ECHO EXPORTS >> $output_objdir/$libname.def~
15659 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
15660 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
15661 emximp -o $lib $output_objdir/$libname.def'
15662 archive_expsym_cmds_CXX
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
15663 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
15664 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
15665 $ECHO EXPORTS >> $output_objdir/$libname.def~
15666 prefix_cmds="$SED"~
15667 if test EXPORTS = "`$SED 1q $export_symbols`"; then
15668 prefix_cmds="$prefix_cmds -e 1d";
15670 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
15671 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
15672 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
15673 emximp -o $lib $output_objdir/$libname.def'
15674 old_archive_From_new_cmds_CXX
='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
15675 enable_shared_with_static_runtimes_CXX
=yes
15679 case $cc_basename in
15681 # FIXME: insert proper C++ library support
15685 # Green Hills C++ Compiler
15686 # FIXME: insert proper C++ library support
15690 # FIXME: insert proper C++ library support
15697 # C++ shared libraries reported to be fairly broken before
15703 archive_cmds_need_lc_CXX
=no
15706 freebsd
* | dragonfly
*)
15707 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
15713 archive_cmds_CXX
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
15714 link_all_deplibs_CXX
=yes
15718 hardcode_libdir_flag_spec_CXX
='$wl+b $wl$libdir'
15719 hardcode_libdir_separator_CXX
=:
15720 export_dynamic_flag_spec_CXX
='$wl-E'
15721 hardcode_direct_CXX
=yes
15722 hardcode_minus_L_CXX
=yes # Not in the search PATH,
15723 # but as the default
15724 # location of the library.
15726 case $cc_basename in
15728 # FIXME: insert proper C++ library support
15732 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'
15733 # Commands to make compiler produce verbose output that lists
15734 # what "hidden" libraries, object files and flags are used when
15735 # linking a shared library.
15737 # There doesn't appear to be a way to prevent this compiler from
15738 # explicitly linking system object files so we need to strip them
15739 # from the output so that they don't get included in the library
15741 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"'
15744 if test yes = "$GXX"; then
15745 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'
15747 # FIXME: insert proper C++ library support
15755 if test no
= "$with_gnu_ld"; then
15756 hardcode_libdir_flag_spec_CXX
='$wl+b $wl$libdir'
15757 hardcode_libdir_separator_CXX
=:
15763 export_dynamic_flag_spec_CXX
='$wl-E'
15769 hardcode_direct_CXX
=no
15770 hardcode_shlibpath_var_CXX
=no
15773 hardcode_direct_CXX
=yes
15774 hardcode_direct_absolute_CXX
=yes
15775 hardcode_minus_L_CXX
=yes # Not in the search PATH,
15776 # but as the default
15777 # location of the library.
15781 case $cc_basename in
15783 # FIXME: insert proper C++ library support
15789 archive_cmds_CXX
='$CC -b $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15792 archive_cmds_CXX
='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15795 archive_cmds_CXX
='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15798 # Commands to make compiler produce verbose output that lists
15799 # what "hidden" libraries, object files and flags are used when
15800 # linking a shared library.
15802 # There doesn't appear to be a way to prevent this compiler from
15803 # explicitly linking system object files so we need to strip them
15804 # from the output so that they don't get included in the library
15806 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"'
15809 if test yes = "$GXX"; then
15810 if test no
= "$with_gnu_ld"; then
15813 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15816 archive_cmds_CXX
='$CC -shared -nostdlib $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15819 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'
15824 # FIXME: insert proper C++ library support
15832 hardcode_direct_CXX
=no
15833 hardcode_shlibpath_var_CXX
=no
15834 hardcode_libdir_flag_spec_CXX
='$wl-rpath,$libdir'
15835 export_dynamic_flag_spec_CXX
='$wl-E'
15836 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
15837 # Instead, shared libraries are loaded at an image base (0x10000000 by
15838 # default) and relocated if they conflict, which is a slow very memory
15839 # consuming and fragmenting process. To avoid this, we pick a random,
15840 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
15841 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
15842 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'
15843 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'
15846 case $cc_basename in
15849 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'
15851 # Archives containing C++ object files must be created using
15852 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
15853 # necessary to make sure instantiated templates are included
15855 old_archive_cmds_CXX
='$CC -ar -WR,-u -o $oldlib $oldobjs'
15858 if test yes = "$GXX"; then
15859 if test no
= "$with_gnu_ld"; then
15860 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'
15862 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'
15865 link_all_deplibs_CXX
=yes
15868 hardcode_libdir_flag_spec_CXX
='$wl-rpath $wl$libdir'
15869 hardcode_libdir_separator_CXX
=:
15870 inherit_rpath_CXX
=yes
15873 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
15874 case $cc_basename in
15876 # Kuck and Associates, Inc. (KAI) C++ Compiler
15878 # KCC will only create a shared library if the output file
15879 # ends with ".so" (or ".sl" for HP-UX), so rename the library
15880 # to its proper name (with version) after linking.
15881 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'
15882 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'
15883 # Commands to make compiler produce verbose output that lists
15884 # what "hidden" libraries, object files and flags are used when
15885 # linking a shared library.
15887 # There doesn't appear to be a way to prevent this compiler from
15888 # explicitly linking system object files so we need to strip them
15889 # from the output so that they don't get included in the library
15891 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"'
15893 hardcode_libdir_flag_spec_CXX
='$wl-rpath,$libdir'
15894 export_dynamic_flag_spec_CXX
='$wl--export-dynamic'
15896 # Archives containing C++ object files must be created using
15897 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
15898 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
15903 # version 8.0 and above of icpc choke on multiply defined symbols
15904 # if we add $predep_objects and $postdep_objects, however 7.1 and
15905 # earlier do not add the objects themselves.
15906 case `$CC -V 2>&1` in
15908 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
15909 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'
15911 *) # Version 8.0 or newer
15914 ia64
*) tmp_idyn
=' -i_dynamic';;
15916 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
15917 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'
15920 archive_cmds_need_lc_CXX
=no
15921 hardcode_libdir_flag_spec_CXX
='$wl-rpath,$libdir'
15922 export_dynamic_flag_spec_CXX
='$wl--export-dynamic'
15923 whole_archive_flag_spec_CXX
='$wl--whole-archive$convenience $wl--no-whole-archive'
15926 # Portland Group C++ compiler
15928 *pgCC\
[1-5].
* | *pgcpp\
[1-5].
*)
15929 prelink_cmds_CXX
='tpldir=Template.dir~
15931 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
15932 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
15933 old_archive_cmds_CXX
='tpldir=Template.dir~
15935 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
15936 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
15938 archive_cmds_CXX
='tpldir=Template.dir~
15940 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
15941 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
15942 archive_expsym_cmds_CXX
='tpldir=Template.dir~
15944 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
15945 $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'
15947 *) # Version 6 and above use weak symbols
15948 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
15949 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'
15953 hardcode_libdir_flag_spec_CXX
='$wl--rpath $wl$libdir'
15954 export_dynamic_flag_spec_CXX
='$wl--export-dynamic'
15955 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'
15959 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
15960 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'
15962 runpath_var
=LD_RUN_PATH
15963 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
15964 hardcode_libdir_separator_CXX
=:
15966 # Commands to make compiler produce verbose output that lists
15967 # what "hidden" libraries, object files and flags are used when
15968 # linking a shared library.
15970 # There doesn't appear to be a way to prevent this compiler from
15971 # explicitly linking system object files so we need to strip them
15972 # from the output so that they don't get included in the library
15974 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'
15976 xl
* | mpixl
* | bgxl
*)
15977 # IBM XL 8.0 on PPC, with GNU ld
15978 hardcode_libdir_flag_spec_CXX
='$wl-rpath $wl$libdir'
15979 export_dynamic_flag_spec_CXX
='$wl--export-dynamic'
15980 archive_cmds_CXX
='$CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
15981 if test yes = "$supports_anon_versioning"; then
15982 archive_expsym_cmds_CXX
='echo "{ global:" > $output_objdir/$libname.ver~
15983 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
15984 echo "local: *; };" >> $output_objdir/$libname.ver~
15985 $CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
15989 case `$CC -V 2>&1 | sed 5q` in
15992 no_undefined_flag_CXX
=' -zdefs'
15993 archive_cmds_CXX
='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15994 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'
15995 hardcode_libdir_flag_spec_CXX
='-R$libdir'
15996 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'
15997 compiler_needs_object_CXX
=yes
15999 # Not sure whether something based on
16000 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
16002 output_verbose_link_cmd
='func_echo_all'
16004 # Archives containing C++ object files must be created using
16005 # "CC -xar", where "CC" is the Sun C++ compiler. This is
16006 # necessary to make sure instantiated templates are included
16008 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
16016 # FIXME: insert proper C++ library support
16021 # FIXME: insert proper C++ library support
16026 case $cc_basename in
16028 # FIXME: insert proper C++ library support
16032 # FIXME: insert proper C++ library support
16039 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
16040 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
16042 hardcode_libdir_flag_spec_CXX
='-R$libdir'
16043 hardcode_direct_CXX
=yes
16044 hardcode_shlibpath_var_CXX
=no
16046 # Workaround some broken pre-1.5 toolchains
16047 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
16054 openbsd
* | bitrig
*)
16055 if test -f /usr
/libexec
/ld.so
; then
16056 hardcode_direct_CXX
=yes
16057 hardcode_shlibpath_var_CXX
=no
16058 hardcode_direct_absolute_CXX
=yes
16059 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
16060 hardcode_libdir_flag_spec_CXX
='$wl-rpath,$libdir'
16061 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`"; then
16062 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-retain-symbols-file,$export_symbols -o $lib'
16063 export_dynamic_flag_spec_CXX
='$wl-E'
16064 whole_archive_flag_spec_CXX
=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
16066 output_verbose_link_cmd
=func_echo_all
16072 osf3
* | osf4
* | osf5
*)
16073 case $cc_basename in
16075 # Kuck and Associates, Inc. (KAI) C++ Compiler
16077 # KCC will only create a shared library if the output file
16078 # ends with ".so" (or ".sl" for HP-UX), so rename the library
16079 # to its proper name (with version) after linking.
16080 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'
16082 hardcode_libdir_flag_spec_CXX
='$wl-rpath,$libdir'
16083 hardcode_libdir_separator_CXX
=:
16085 # Archives containing C++ object files must be created using
16086 # the KAI C++ compiler.
16088 osf3
*) old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs' ;;
16089 *) old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs' ;;
16093 # Rational C++ 2.4.1
16094 # FIXME: insert proper C++ library support
16100 allow_undefined_flag_CXX
=' $wl-expect_unresolved $wl\*'
16101 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'
16102 hardcode_libdir_flag_spec_CXX
='$wl-rpath $wl$libdir'
16105 allow_undefined_flag_CXX
=' -expect_unresolved \*'
16106 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'
16107 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
16108 echo "-hidden">> $lib.exp~
16109 $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~
16111 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
16115 hardcode_libdir_separator_CXX
=:
16117 # Commands to make compiler produce verbose output that lists
16118 # what "hidden" libraries, object files and flags are used when
16119 # linking a shared library.
16121 # There doesn't appear to be a way to prevent this compiler from
16122 # explicitly linking system object files so we need to strip them
16123 # from the output so that they don't get included in the library
16125 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"'
16128 if test yes,no
= "$GXX,$with_gnu_ld"; then
16129 allow_undefined_flag_CXX
=' $wl-expect_unresolved $wl\*'
16132 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'
16135 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'
16139 hardcode_libdir_flag_spec_CXX
='$wl-rpath $wl$libdir'
16140 hardcode_libdir_separator_CXX
=:
16142 # Commands to make compiler produce verbose output that lists
16143 # what "hidden" libraries, object files and flags are used when
16144 # linking a shared library.
16145 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
16148 # FIXME: insert proper C++ library support
16156 # FIXME: insert proper C++ library support
16161 case $cc_basename in
16164 # FIXME: insert proper C++ library support
16169 # FIXME: insert proper C++ library support
16173 # FIXME: insert proper C++ library support
16180 case $cc_basename in
16182 # Sun C++ 4.2, 5.x and Centerline C++
16183 archive_cmds_need_lc_CXX
=yes
16184 no_undefined_flag_CXX
=' -zdefs'
16185 archive_cmds_CXX
='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
16186 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
16187 $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'
16189 hardcode_libdir_flag_spec_CXX
='-R$libdir'
16190 hardcode_shlibpath_var_CXX
=no
16192 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
16194 # The compiler driver will combine and reorder linker options,
16195 # but understands '-z linker_flag'.
16196 # Supported since Solaris 2.6 (maybe 2.5.1?)
16197 whole_archive_flag_spec_CXX
='-z allextract$convenience -z defaultextract'
16200 link_all_deplibs_CXX
=yes
16202 output_verbose_link_cmd
='func_echo_all'
16204 # Archives containing C++ object files must be created using
16205 # "CC -xar", where "CC" is the Sun C++ compiler. This is
16206 # necessary to make sure instantiated templates are included
16208 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
16211 # Green Hills C++ Compiler
16212 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
16214 # The C++ compiler must be used to create the archive.
16215 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
16218 # GNU C++ compiler with Solaris linker
16219 if test yes,no
= "$GXX,$with_gnu_ld"; then
16220 no_undefined_flag_CXX
=' $wl-z ${wl}defs'
16221 if $CC --version | $GREP -v '^2\.7' > /dev
/null
; then
16222 archive_cmds_CXX
='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
16223 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
16224 $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'
16226 # Commands to make compiler produce verbose output that lists
16227 # what "hidden" libraries, object files and flags are used when
16228 # linking a shared library.
16229 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
16231 # g++ 2.7 appears to require '-G' NOT '-shared' on this
16233 archive_cmds_CXX
='$CC -G -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
16234 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
16235 $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'
16237 # Commands to make compiler produce verbose output that lists
16238 # what "hidden" libraries, object files and flags are used when
16239 # linking a shared library.
16240 output_verbose_link_cmd
='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
16243 hardcode_libdir_flag_spec_CXX
='$wl-R $wl$libdir'
16245 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
16247 whole_archive_flag_spec_CXX
='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
16255 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
16256 no_undefined_flag_CXX
='$wl-z,text'
16257 archive_cmds_need_lc_CXX
=no
16258 hardcode_shlibpath_var_CXX
=no
16259 runpath_var
='LD_RUN_PATH'
16261 case $cc_basename in
16263 archive_cmds_CXX
='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16264 archive_expsym_cmds_CXX
='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16267 archive_cmds_CXX
='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16268 archive_expsym_cmds_CXX
='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16273 sysv5
* | sco3.2v5
* | sco5v6
*)
16274 # Note: We CANNOT use -z defs as we might desire, because we do not
16275 # link with -lc, and that would cause any symbols used from libc to
16276 # always be unresolved, which means just about no library would
16277 # ever link correctly. If we're not using GNU ld we use -z text
16278 # though, which does catch some bad symbols but isn't as heavy-handed
16280 no_undefined_flag_CXX
='$wl-z,text'
16281 allow_undefined_flag_CXX
='$wl-z,nodefs'
16282 archive_cmds_need_lc_CXX
=no
16283 hardcode_shlibpath_var_CXX
=no
16284 hardcode_libdir_flag_spec_CXX
='$wl-R,$libdir'
16285 hardcode_libdir_separator_CXX
=':'
16286 link_all_deplibs_CXX
=yes
16287 export_dynamic_flag_spec_CXX
='$wl-Bexport'
16288 runpath_var
='LD_RUN_PATH'
16290 case $cc_basename in
16292 archive_cmds_CXX
='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16293 archive_expsym_cmds_CXX
='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16294 old_archive_cmds_CXX
='$CC -Tprelink_objects $oldobjs~
16295 '"$old_archive_cmds_CXX"
16296 reload_cmds_CXX
='$CC -Tprelink_objects $reload_objs~
16297 '"$reload_cmds_CXX"
16300 archive_cmds_CXX
='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16301 archive_expsym_cmds_CXX
='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16307 case $cc_basename in
16309 # NonStop-UX NCC 3.20
16310 # FIXME: insert proper C++ library support
16314 # FIXME: insert proper C++ library support
16321 # FIXME: insert proper C++ library support
16326 # FIXME: insert proper C++ library support
16331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
16332 $as_echo "$ld_shlibs_CXX" >&6; }
16333 test no
= "$ld_shlibs_CXX" && can_build_shared
=no
16339 ## There is no encapsulation within the following macros, do not change
16340 ## the running order or otherwise move them around unless you know exactly
16341 ## what you are doing...
16342 # Dependencies to place before and after the object being linked:
16343 predep_objects_CXX
=
16344 postdep_objects_CXX
=
16347 compiler_lib_search_path_CXX
=
16349 cat > conftest.
$ac_ext <<_LT_EOF
16353 Foo (void) { a = 0; }
16360 _lt_libdeps_save_CFLAGS
=$CFLAGS
16361 case "$CC $CFLAGS " in #(
16362 *\
-flto*\
*) CFLAGS
="$CFLAGS -fno-lto" ;;
16363 *\
-fwhopr*\
*) CFLAGS
="$CFLAGS -fno-whopr" ;;
16364 *\
-fuse-linker-plugin*\
*) CFLAGS
="$CFLAGS -fno-use-linker-plugin" ;;
16367 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
16368 (eval $ac_compile) 2>&5
16370 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16371 test $ac_status = 0; }; then
16372 # Parse the compiler output and extract the necessary
16373 # objects, libraries and library flags.
16375 # Sentinel used to keep track of whether or not we are before
16376 # the conftest object file.
16377 pre_test_object_deps_done
=no
16379 for p
in `eval "$output_verbose_link_cmd"`; do
16383 # Some compilers place space between "-{L,R}" and the path.
16384 # Remove the space.
16385 if test x
-L = "$p" ||
16386 test x
-R = "$p"; then
16391 # Expand the sysroot to ease extracting the directories later.
16392 if test -z "$prev"; then
16394 -L*) func_stripname_cnf
'-L' '' "$p"; prev
=-L; p
=$func_stripname_result ;;
16395 -R*) func_stripname_cnf
'-R' '' "$p"; prev
=-R; p
=$func_stripname_result ;;
16396 -l*) func_stripname_cnf
'-l' '' "$p"; prev
=-l; p
=$func_stripname_result ;;
16400 =*) func_stripname_cnf
'=' '' "$p"; p
=$lt_sysroot$func_stripname_result ;;
16402 if test no
= "$pre_test_object_deps_done"; then
16405 # Internal compiler library paths should come after those
16406 # provided the user. The postdeps already come after the
16407 # user supplied libs so there is no need to process them.
16408 if test -z "$compiler_lib_search_path_CXX"; then
16409 compiler_lib_search_path_CXX
=$prev$p
16411 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} $prev$p"
16414 # The "-l" case would never come before the object being
16415 # linked, so don't bother handling this case.
16418 if test -z "$postdeps_CXX"; then
16419 postdeps_CXX
=$prev$p
16421 postdeps_CXX
="${postdeps_CXX} $prev$p"
16427 *.lto.
$objext) ;; # Ignore GCC LTO objects
16429 # This assumes that the test object file only shows up
16430 # once in the compiler output.
16431 if test "$p" = "conftest.$objext"; then
16432 pre_test_object_deps_done
=yes
16436 if test no
= "$pre_test_object_deps_done"; then
16437 if test -z "$predep_objects_CXX"; then
16438 predep_objects_CXX
=$p
16440 predep_objects_CXX
="$predep_objects_CXX $p"
16443 if test -z "$postdep_objects_CXX"; then
16444 postdep_objects_CXX
=$p
16446 postdep_objects_CXX
="$postdep_objects_CXX $p"
16451 *) ;; # Ignore the rest.
16459 echo "libtool.m4: error: problem compiling CXX test program"
16462 $RM -f confest.
$objext
16463 CFLAGS
=$_lt_libdeps_save_CFLAGS
16465 # PORTME: override above test on systems where it is broken
16468 # Interix 3.5 installs completely hosed .la files for C++, so rather than
16469 # hack all around it, let's just trust "g++" to DTRT.
16470 predep_objects_CXX
=
16471 postdep_objects_CXX
=
16477 case " $postdeps_CXX " in
16478 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
16480 compiler_lib_search_dirs_CXX
=
16481 if test -n "${compiler_lib_search_path_CXX}"; then
16482 compiler_lib_search_dirs_CXX
=`echo " ${compiler_lib_search_path_CXX}" | $SED -e 's! -L! !g' -e 's!^ !!'`
16515 lt_prog_compiler_wl_CXX
=
16516 lt_prog_compiler_pic_CXX
=
16517 lt_prog_compiler_static_CXX
=
16520 # C++ specific cases for pic, static, wl, etc.
16521 if test yes = "$GXX"; then
16522 lt_prog_compiler_wl_CXX
='-Wl,'
16523 lt_prog_compiler_static_CXX
='-static'
16527 # All AIX code is PIC.
16528 if test ia64
= "$host_cpu"; then
16529 # AIX 5 now supports IA64 processor
16530 lt_prog_compiler_static_CXX
='-Bstatic'
16532 lt_prog_compiler_pic_CXX
='-fPIC'
16538 # see comment about AmigaOS4 .so support
16539 lt_prog_compiler_pic_CXX
='-fPIC'
16542 # FIXME: we need at least 68020 code to build shared libraries, but
16543 # adding the '-m68020' flag to GCC prevents building anything better,
16545 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
16550 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
16551 # PIC is the default for these OSes.
16553 mingw
* | cygwin
* | os2
* | pw32
* | cegcc
*)
16554 # This hack is so that the source file can tell whether it is being
16555 # built for inclusion in a dll (and should export symbols for example).
16556 # Although the cygwin gcc ignores -fPIC, still need this for old-style
16557 # (--disable-auto-import) libraries
16558 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
16561 lt_prog_compiler_static_CXX
='$wl-static'
16565 darwin
* | rhapsody
*)
16566 # PIC is the default on this platform
16567 # Common symbols not allowed in MH_DYLIB files
16568 lt_prog_compiler_pic_CXX
='-fno-common'
16571 # DJGPP does not support shared libraries at all
16572 lt_prog_compiler_pic_CXX
=
16575 # PIC is the default for Haiku.
16576 # The "-static" flag exists, but is broken.
16577 lt_prog_compiler_static_CXX
=
16580 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
16581 # Instead, we relocate shared libraries at runtime.
16584 if test -d /usr
/nec
; then
16585 lt_prog_compiler_pic_CXX
=-Kconform_pic
16589 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
16590 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
16591 # sets the default TLS model and affects inlining.
16596 lt_prog_compiler_pic_CXX
='-fPIC'
16601 # QNX uses GNU C++, but need to define -shared option too, otherwise
16602 # it will coredump.
16603 lt_prog_compiler_pic_CXX
='-fPIC -shared'
16606 lt_prog_compiler_pic_CXX
='-fPIC'
16612 # All AIX code is PIC.
16613 if test ia64
= "$host_cpu"; then
16614 # AIX 5 now supports IA64 processor
16615 lt_prog_compiler_static_CXX
='-Bstatic'
16617 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
16621 case $cc_basename in
16623 # Green Hills C++ Compiler
16624 # _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"
16628 mingw
* | cygwin
* | os2
* | pw32
* | cegcc
*)
16629 # This hack is so that the source file can tell whether it is being
16630 # built for inclusion in a dll (and should export symbols for example).
16631 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
16634 case $cc_basename in
16636 lt_prog_compiler_pic_CXX
='-KPIC'
16639 # Green Hills C++ Compiler
16640 lt_prog_compiler_pic_CXX
='-pic'
16646 freebsd
* | dragonfly
*)
16647 # FreeBSD uses GNU C++
16649 hpux9
* | hpux10
* | hpux11
*)
16650 case $cc_basename in
16652 lt_prog_compiler_wl_CXX
='-Wl,'
16653 lt_prog_compiler_static_CXX
='$wl-a ${wl}archive'
16654 if test ia64
!= "$host_cpu"; then
16655 lt_prog_compiler_pic_CXX
='+Z'
16659 lt_prog_compiler_wl_CXX
='-Wl,'
16660 lt_prog_compiler_static_CXX
='$wl-a ${wl}archive'
16666 lt_prog_compiler_pic_CXX
='+Z'
16675 # This is c89, which is MS Visual C++ (no shared libs)
16676 # Anyone wants to do a port?
16678 irix5
* | irix6
* | nonstopux
*)
16679 case $cc_basename in
16681 lt_prog_compiler_wl_CXX
='-Wl,'
16682 lt_prog_compiler_static_CXX
='-non_shared'
16683 # CC pic flag -KPIC is the default.
16689 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
16690 case $cc_basename in
16693 lt_prog_compiler_wl_CXX
='--backend -Wl,'
16694 lt_prog_compiler_pic_CXX
='-fPIC'
16697 # old Intel C++ for x86_64, which still supported -KPIC.
16698 lt_prog_compiler_wl_CXX
='-Wl,'
16699 lt_prog_compiler_pic_CXX
='-KPIC'
16700 lt_prog_compiler_static_CXX
='-static'
16703 # Intel C++, used to be incompatible with GCC.
16704 # ICC 10 doesn't accept -KPIC any more.
16705 lt_prog_compiler_wl_CXX
='-Wl,'
16706 lt_prog_compiler_pic_CXX
='-fPIC'
16707 lt_prog_compiler_static_CXX
='-static'
16710 # Portland Group C++ compiler
16711 lt_prog_compiler_wl_CXX
='-Wl,'
16712 lt_prog_compiler_pic_CXX
='-fpic'
16713 lt_prog_compiler_static_CXX
='-Bstatic'
16717 # Make sure the PIC flag is empty. It appears that all Alpha
16718 # Linux and Compaq Tru64 Unix objects are PIC.
16719 lt_prog_compiler_pic_CXX
=
16720 lt_prog_compiler_static_CXX
='-non_shared'
16722 xlc
* | xlC
* | bgxl
[cC
]* | mpixl
[cC
]*)
16723 # IBM XL 8.0, 9.0 on PPC and BlueGene
16724 lt_prog_compiler_wl_CXX
='-Wl,'
16725 lt_prog_compiler_pic_CXX
='-qpic'
16726 lt_prog_compiler_static_CXX
='-qstaticlink'
16729 case `$CC -V 2>&1 | sed 5q` in
16732 lt_prog_compiler_pic_CXX
='-KPIC'
16733 lt_prog_compiler_static_CXX
='-Bstatic'
16734 lt_prog_compiler_wl_CXX
='-Qoption ld '
16745 case $cc_basename in
16747 lt_prog_compiler_pic_CXX
='-W c,exportall'
16756 # QNX uses GNU C++, but need to define -shared option too, otherwise
16757 # it will coredump.
16758 lt_prog_compiler_pic_CXX
='-fPIC -shared'
16760 osf3
* | osf4
* | osf5
*)
16761 case $cc_basename in
16763 lt_prog_compiler_wl_CXX
='--backend -Wl,'
16766 # Rational C++ 2.4.1
16767 lt_prog_compiler_pic_CXX
='-pic'
16770 # Digital/Compaq C++
16771 lt_prog_compiler_wl_CXX
='-Wl,'
16772 # Make sure the PIC flag is empty. It appears that all Alpha
16773 # Linux and Compaq Tru64 Unix objects are PIC.
16774 lt_prog_compiler_pic_CXX
=
16775 lt_prog_compiler_static_CXX
='-non_shared'
16784 case $cc_basename in
16786 # Sun C++ 4.2, 5.x and Centerline C++
16787 lt_prog_compiler_pic_CXX
='-KPIC'
16788 lt_prog_compiler_static_CXX
='-Bstatic'
16789 lt_prog_compiler_wl_CXX
='-Qoption ld '
16792 # Green Hills C++ Compiler
16793 lt_prog_compiler_pic_CXX
='-PIC'
16800 case $cc_basename in
16803 lt_prog_compiler_pic_CXX
='-pic'
16804 lt_prog_compiler_static_CXX
='-Bstatic'
16808 lt_prog_compiler_pic_CXX
='-pic'
16814 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
16815 case $cc_basename in
16817 lt_prog_compiler_wl_CXX
='-Wl,'
16818 lt_prog_compiler_pic_CXX
='-KPIC'
16819 lt_prog_compiler_static_CXX
='-Bstatic'
16824 case $cc_basename in
16826 # NonStop-UX NCC 3.20
16827 lt_prog_compiler_pic_CXX
='-KPIC'
16836 lt_prog_compiler_can_build_shared_CXX
=no
16842 # For platforms that do not support PIC, -DPIC is meaningless:
16844 lt_prog_compiler_pic_CXX
=
16847 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
16851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
16852 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
16853 if ${lt_cv_prog_compiler_pic_CXX+:} false
; then :
16854 $as_echo_n "(cached) " >&6
16856 lt_cv_prog_compiler_pic_CXX
=$lt_prog_compiler_pic_CXX
16858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
16859 $as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
16860 lt_prog_compiler_pic_CXX
=$lt_cv_prog_compiler_pic_CXX
16863 # Check to make sure the PIC flag actually works.
16865 if test -n "$lt_prog_compiler_pic_CXX"; then
16866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
16867 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
16868 if ${lt_cv_prog_compiler_pic_works_CXX+:} false
; then :
16869 $as_echo_n "(cached) " >&6
16871 lt_cv_prog_compiler_pic_works_CXX
=no
16872 ac_outfile
=conftest.
$ac_objext
16873 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
16874 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC" ## exclude from sc_useless_quotes_in_assignment
16875 # Insert the option either (1) after the last *FLAGS variable, or
16876 # (2) before a word containing "conftest.", or (3) at the end.
16877 # Note that $ac_compile itself does not contain backslashes and begins
16878 # with a dollar sign (not a hyphen), so the echo should work correctly.
16879 # The option is referenced via a variable to avoid confusing sed.
16880 lt_compile
=`echo "$ac_compile" | $SED \
16881 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16882 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16883 -e 's:$: $lt_compiler_flag:'`
16884 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
16885 (eval "$lt_compile" 2>conftest.err
)
16887 cat conftest.err
>&5
16888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16889 if (exit $ac_status) && test -s "$ac_outfile"; then
16890 # The compiler can only warn and ignore the option if not recognized
16891 # So say no if there are warnings other than the usual output.
16892 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
16893 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
16894 if test ! -s conftest.er2
|| diff conftest.exp conftest.er2
>/dev
/null
; then
16895 lt_cv_prog_compiler_pic_works_CXX
=yes
16901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
16902 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
16904 if test yes = "$lt_cv_prog_compiler_pic_works_CXX"; then
16905 case $lt_prog_compiler_pic_CXX in
16907 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
16910 lt_prog_compiler_pic_CXX
=
16911 lt_prog_compiler_can_build_shared_CXX
=no
16921 # Check to make sure the static flag actually works.
16923 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
16924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
16925 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
16926 if ${lt_cv_prog_compiler_static_works_CXX+:} false
; then :
16927 $as_echo_n "(cached) " >&6
16929 lt_cv_prog_compiler_static_works_CXX
=no
16930 save_LDFLAGS
=$LDFLAGS
16931 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
16932 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
16933 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
16934 # The linker can only warn and ignore the option if not recognized
16935 # So say no if there are warnings
16936 if test -s conftest.err
; then
16937 # Append any errors to the config.log.
16938 cat conftest.err
1>&5
16939 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
16940 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
16941 if diff conftest.exp conftest.er2
>/dev
/null
; then
16942 lt_cv_prog_compiler_static_works_CXX
=yes
16945 lt_cv_prog_compiler_static_works_CXX
=yes
16949 LDFLAGS
=$save_LDFLAGS
16952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
16953 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
16955 if test yes = "$lt_cv_prog_compiler_static_works_CXX"; then
16958 lt_prog_compiler_static_CXX
=
16964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
16965 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
16966 if ${lt_cv_prog_compiler_c_o_CXX+:} false
; then :
16967 $as_echo_n "(cached) " >&6
16969 lt_cv_prog_compiler_c_o_CXX
=no
16970 $RM -r conftest
2>/dev
/null
16974 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
16976 lt_compiler_flag
="-o out/conftest2.$ac_objext"
16977 # Insert the option either (1) after the last *FLAGS variable, or
16978 # (2) before a word containing "conftest.", or (3) at the end.
16979 # Note that $ac_compile itself does not contain backslashes and begins
16980 # with a dollar sign (not a hyphen), so the echo should work correctly.
16981 lt_compile
=`echo "$ac_compile" | $SED \
16982 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16983 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16984 -e 's:$: $lt_compiler_flag:'`
16985 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
16986 (eval "$lt_compile" 2>out
/conftest.err
)
16988 cat out
/conftest.err
>&5
16989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16990 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
16992 # The compiler can only warn and ignore the option if not recognized
16993 # So say no if there are warnings
16994 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out
/conftest.exp
16995 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
16996 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
16997 lt_cv_prog_compiler_c_o_CXX
=yes
17002 # SGI C++ compiler will create directory out/ii_files/ for
17003 # template instantiation
17004 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
17005 $RM out
/* && rmdir out
17011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
17012 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
17016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
17017 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
17018 if ${lt_cv_prog_compiler_c_o_CXX+:} false
; then :
17019 $as_echo_n "(cached) " >&6
17021 lt_cv_prog_compiler_c_o_CXX
=no
17022 $RM -r conftest
2>/dev
/null
17026 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
17028 lt_compiler_flag
="-o out/conftest2.$ac_objext"
17029 # Insert the option either (1) after the last *FLAGS variable, or
17030 # (2) before a word containing "conftest.", or (3) at the end.
17031 # Note that $ac_compile itself does not contain backslashes and begins
17032 # with a dollar sign (not a hyphen), so the echo should work correctly.
17033 lt_compile
=`echo "$ac_compile" | $SED \
17034 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17035 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17036 -e 's:$: $lt_compiler_flag:'`
17037 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
17038 (eval "$lt_compile" 2>out
/conftest.err
)
17040 cat out
/conftest.err
>&5
17041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17042 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
17044 # The compiler can only warn and ignore the option if not recognized
17045 # So say no if there are warnings
17046 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out
/conftest.exp
17047 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
17048 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
17049 lt_cv_prog_compiler_c_o_CXX
=yes
17054 # SGI C++ compiler will create directory out/ii_files/ for
17055 # template instantiation
17056 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
17057 $RM out
/* && rmdir out
17063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
17064 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
17069 hard_links
=nottested
17070 if test no
= "$lt_cv_prog_compiler_c_o_CXX" && test no
!= "$need_locks"; then
17071 # do not overwrite the value of need_locks provided by the user
17072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
17073 $as_echo_n "checking if we can lock with hard links... " >&6; }
17076 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
17078 ln conftest.a conftest.b
2>&5 || hard_links
=no
17079 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
17080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
17081 $as_echo "$hard_links" >&6; }
17082 if test no
= "$hard_links"; then
17083 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
17084 $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
17093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
17094 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
17096 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
17097 exclude_expsyms_CXX
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
17100 # If we're using GNU nm, then we don't want the "-C" option.
17101 # -C means demangle to GNU nm, but means don't demangle to AIX nm.
17102 # Without the "-l" option, or with the "-B" option, AIX nm treats
17103 # weak defined symbols like other global defined symbols, whereas
17104 # GNU nm marks them as "W".
17105 # While the 'weak' keyword is ignored in the Export File, we need
17106 # it in the Import File for the 'aix-soname' feature, so we have
17107 # to replace the "-B" option with "-P" for AIX nm.
17108 if $NM -V 2>&1 | $GREP 'GNU' > /dev
/null
; then
17109 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'
17111 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'
17115 export_symbols_cmds_CXX
=$ltdll_cmds
17117 cygwin
* | mingw
* | cegcc
*)
17118 case $cc_basename in
17120 exclude_expsyms_CXX
='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
17123 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'
17124 exclude_expsyms_CXX
='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
17129 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
17133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
17134 $as_echo "$ld_shlibs_CXX" >&6; }
17135 test no
= "$ld_shlibs_CXX" && can_build_shared
=no
17137 with_gnu_ld_CXX
=$with_gnu_ld
17145 # Do we need to explicitly link libc?
17147 case "x$archive_cmds_need_lc_CXX" in
17149 # Assume -lc should be added
17150 archive_cmds_need_lc_CXX
=yes
17152 if test yes,yes = "$GCC,$enable_shared"; then
17153 case $archive_cmds_CXX in
17155 # FIXME: we may have to deal with multi-command sequences.
17158 # Test whether the compiler implicitly links with -lc since on some
17159 # systems, -lgcc has to come before -lc. If gcc already passes -lc
17160 # to ld, don't add -lc before -lgcc.
17161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
17162 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
17163 if ${lt_cv_archive_cmds_need_lc_CXX+:} false
; then :
17164 $as_echo_n "(cached) " >&6
17167 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
17169 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
17170 (eval $ac_compile) 2>&5
17172 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17173 test $ac_status = 0; } 2>conftest.err
; then
17176 libobjs
=conftest.
$ac_objext
17178 wl
=$lt_prog_compiler_wl_CXX
17179 pic_flag
=$lt_prog_compiler_pic_CXX
17185 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
17186 allow_undefined_flag_CXX
=
17187 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
17188 (eval $archive_cmds_CXX 2\
>\
&1 \
| $GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
17190 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17191 test $ac_status = 0; }
17193 lt_cv_archive_cmds_need_lc_CXX
=no
17195 lt_cv_archive_cmds_need_lc_CXX
=yes
17197 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
17199 cat conftest.err
1>&5
17204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
17205 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
17206 archive_cmds_need_lc_CXX
=$lt_cv_archive_cmds_need_lc_CXX
17274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
17275 $as_echo_n "checking dynamic linker characteristics... " >&6; }
17277 library_names_spec
=
17278 libname_spec
='lib$name'
17282 postuninstall_cmds
=
17286 shlibpath_overrides_runpath
=unknown
17288 dynamic_linker
="$host_os ld.so"
17289 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
17290 need_lib_prefix
=unknown
17291 hardcode_into_libs
=no
17293 # when you set need_version to no, make sure it does not cause -set_version
17294 # flags to be left without arguments
17295 need_version
=unknown
17301 version_type
=linux
# correct to gnu/linux during the next big refactor
17302 library_names_spec
='$libname$release$shared_ext$versuffix $libname.a'
17303 shlibpath_var
=LIBPATH
17305 # AIX 3 has no versioning support, so we append a major version to the name.
17306 soname_spec
='$libname$release$shared_ext$major'
17310 version_type
=linux
# correct to gnu/linux during the next big refactor
17313 hardcode_into_libs
=yes
17314 if test ia64
= "$host_cpu"; then
17315 # AIX 5 supports IA64
17316 library_names_spec
='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
17317 shlibpath_var
=LD_LIBRARY_PATH
17319 # With GCC up to 2.95.x, collect2 would create an import file
17320 # for dependence libraries. The import file would start with
17321 # the line '#! .'. This would cause the generated library to
17322 # depend on '.', always an invalid library. This was fixed in
17323 # development snapshots of GCC prior to 3.0.
17325 aix4
| aix4.
[01] | aix4.
[01].
*)
17326 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
17328 echo '#endif'; } | $CC -E - | $GREP yes > /dev
/null
; then
17331 can_build_shared
=no
17335 # Using Import Files as archive members, it is possible to support
17336 # filename-based versioning of shared library archives on AIX. While
17337 # this would work for both with and without runtime linking, it will
17338 # prevent static linking of such archives. So we do filename-based
17339 # shared library versioning with .so extension only, which is used
17340 # when both runtime linking and shared linking is enabled.
17341 # Unfortunately, runtime linking may impact performance, so we do
17342 # not want this to be the default eventually. Also, we use the
17343 # versioned .so libs for executables only if there is the -brtl
17344 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
17345 # To allow for filename-based versioning support, we need to create
17346 # libNAME.so.V as an archive file, containing:
17347 # *) an Import File, referring to the versioned filename of the
17348 # archive as well as the shared archive member, telling the
17349 # bitwidth (32 or 64) of that shared object, and providing the
17350 # list of exported symbols of that shared object, eventually
17351 # decorated with the 'weak' keyword
17352 # *) the shared object with the F_LOADONLY flag set, to really avoid
17353 # it being seen by the linker.
17354 # At run time we better use the real file rather than another symlink,
17355 # but for link time we create the symlink libNAME.so -> libNAME.so.V
17357 case $with_aix_soname,$aix_use_runtimelinking in
17358 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
17359 # soname into executable. Probably we can add versioning support to
17360 # collect2, so additional links can be useful in future.
17361 aix
,yes) # traditional libtool
17362 dynamic_linker
='AIX unversionable lib.so'
17363 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
17364 # instead of lib<name>.a to let people know that these are not
17365 # typical AIX shared libraries.
17366 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17368 aix
,no
) # traditional AIX only
17369 dynamic_linker
='AIX lib.a(lib.so.V)'
17370 # We preserve .a as extension for shared libraries through AIX4.2
17371 # and later when we are not doing run time linking.
17372 library_names_spec
='$libname$release.a $libname.a'
17373 soname_spec
='$libname$release$shared_ext$major'
17375 svr4
,*) # full svr4 only
17376 dynamic_linker
="AIX lib.so.V($shared_archive_member_spec.o)"
17377 library_names_spec
='$libname$release$shared_ext$major $libname$shared_ext'
17378 # We do not specify a path in Import Files, so LIBPATH fires.
17379 shlibpath_overrides_runpath
=yes
17381 *,yes) # both, prefer svr4
17382 dynamic_linker
="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
17383 library_names_spec
='$libname$release$shared_ext$major $libname$shared_ext'
17384 # unpreferred sharedlib libNAME.a needs extra handling
17385 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"'
17386 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"'
17387 # We do not specify a path in Import Files, so LIBPATH fires.
17388 shlibpath_overrides_runpath
=yes
17390 *,no
) # both, prefer aix
17391 dynamic_linker
="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
17392 library_names_spec
='$libname$release.a $libname.a'
17393 soname_spec
='$libname$release$shared_ext$major'
17394 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
17395 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)'
17396 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"'
17399 shlibpath_var
=LIBPATH
17406 # Since July 2007 AmigaOS4 officially supports .so libraries.
17407 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
17408 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17411 library_names_spec
='$libname.ixlibrary $libname.a'
17412 # Create ${libname}_ixlibrary.a entries in /sys/libs.
17413 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'
17419 library_names_spec
='$libname$shared_ext'
17420 dynamic_linker
="$host_os ld.so"
17421 shlibpath_var
=LIBRARY_PATH
17425 version_type
=linux
# correct to gnu/linux during the next big refactor
17427 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17428 soname_spec
='$libname$release$shared_ext$major'
17429 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
17430 shlibpath_var
=LD_LIBRARY_PATH
17431 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
17432 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
17433 # the default ld.so.conf also contains /usr/contrib/lib and
17434 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
17435 # libtool to hard-code these into programs
17438 cygwin
* | mingw
* | pw32
* | cegcc
*)
17439 version_type
=windows
17444 case $GCC,$cc_basename in
17447 library_names_spec
='$libname.dll.a'
17448 # DLL is installed to $(libdir)/../bin by postinstall_cmds
17449 postinstall_cmds
='base_file=`basename \$file`~
17450 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
17451 dldir=$destdir/`dirname \$dlpath`~
17452 test -d \$dldir || mkdir -p \$dldir~
17453 $install_prog $dir/$dlname \$dldir/$dlname~
17454 chmod a+x \$dldir/$dlname~
17455 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
17456 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
17458 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
17459 dlpath=$dir/\$dldll~
17461 shlibpath_overrides_runpath
=yes
17465 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
17466 soname_spec
='`echo $libname | sed -e 's
/^lib
/cyg
/'``echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
17470 # MinGW DLLs use traditional 'lib' prefix
17471 soname_spec
='$libname`echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
17474 # pw32 DLLs use 'pw' prefix rather than 'lib'
17475 library_names_spec
='`echo $libname | sed -e 's
/^lib
/pw
/'``echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
17478 dynamic_linker
='Win32 ld.exe'
17483 libname_spec
='$name'
17484 soname_spec
='$libname`echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
17485 library_names_spec
='$libname.dll.lib'
17489 sys_lib_search_path_spec
=
17492 for lt_path
in $LIB
17495 # Let DOS variable expansion print the short 8.3 style file name.
17496 lt_path
=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
17497 sys_lib_search_path_spec
="$sys_lib_search_path_spec $lt_path"
17500 # Convert to MSYS style.
17501 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
17504 # Convert to unix form, then to dos form, then back to unix form
17505 # but this time dos style (no spaces!) so that the unix form looks
17506 # like /cygdrive/c/PROGRA~1:/cygdr...
17507 sys_lib_search_path_spec
=`cygpath --path --unix "$LIB"`
17508 sys_lib_search_path_spec
=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
17509 sys_lib_search_path_spec
=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
17512 sys_lib_search_path_spec
=$LIB
17513 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev
/null
; then
17514 # It is most probably a Windows format PATH.
17515 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
17517 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
17519 # FIXME: find the short name or the path components, as spaces are
17520 # common. (e.g. "Program Files" -> "PROGRA~1")
17524 # DLL is installed to $(libdir)/../bin by postinstall_cmds
17525 postinstall_cmds
='base_file=`basename \$file`~
17526 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
17527 dldir=$destdir/`dirname \$dlpath`~
17528 test -d \$dldir || mkdir -p \$dldir~
17529 $install_prog $dir/$dlname \$dldir/$dlname'
17530 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
17531 dlpath=$dir/\$dldll~
17533 shlibpath_overrides_runpath
=yes
17534 dynamic_linker
='Win32 link.exe'
17538 # Assume MSVC wrapper
17539 library_names_spec
='$libname`echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext $libname.lib'
17540 dynamic_linker
='Win32 ld.exe'
17543 # FIXME: first we should search . and the directory the executable is in
17547 darwin
* | rhapsody
*)
17548 dynamic_linker
="$host_os dyld"
17549 version_type
=darwin
17552 library_names_spec
='$libname$release$major$shared_ext $libname$shared_ext'
17553 soname_spec
='$libname$release$major$shared_ext'
17554 shlibpath_overrides_runpath
=yes
17555 shlibpath_var
=DYLD_LIBRARY_PATH
17556 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
17558 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
17562 version_type
=linux
# correct to gnu/linux during the next big refactor
17565 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17566 soname_spec
='$libname$release$shared_ext$major'
17567 shlibpath_var
=LD_LIBRARY_PATH
17570 freebsd
* | dragonfly
*)
17571 # DragonFly does not have aout. When/if they implement a new
17572 # versioning mechanism, adjust this.
17573 if test -x /usr
/bin
/objformat
; then
17574 objformat
=`/usr/bin/objformat`
17577 freebsd
[23].
*) objformat
=aout
;;
17578 *) objformat
=elf
;;
17581 version_type
=freebsd
-$objformat
17582 case $version_type in
17584 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17585 soname_spec
='$libname$release$shared_ext$major'
17590 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
17594 shlibpath_var
=LD_LIBRARY_PATH
17597 shlibpath_overrides_runpath
=yes
17599 freebsd3.
[01]* | freebsdelf3.
[01]*)
17600 shlibpath_overrides_runpath
=yes
17601 hardcode_into_libs
=yes
17603 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
17604 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
17605 shlibpath_overrides_runpath
=no
17606 hardcode_into_libs
=yes
17608 *) # from 4.6 on, and DragonFly
17609 shlibpath_overrides_runpath
=yes
17610 hardcode_into_libs
=yes
17616 version_type
=linux
# correct to gnu/linux during the next big refactor
17619 dynamic_linker
="$host_os runtime_loader"
17620 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17621 soname_spec
='$libname$release$shared_ext$major'
17622 shlibpath_var
=LIBRARY_PATH
17623 shlibpath_overrides_runpath
=no
17624 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
17625 hardcode_into_libs
=yes
17628 hpux9
* | hpux10
* | hpux11
*)
17629 # Give a soname corresponding to the major version so that dld.sl refuses to
17630 # link against other versions.
17637 hardcode_into_libs
=yes
17638 dynamic_linker
="$host_os dld.so"
17639 shlibpath_var
=LD_LIBRARY_PATH
17640 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
17641 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17642 soname_spec
='$libname$release$shared_ext$major'
17643 if test 32 = "$HPUX_IA64_MODE"; then
17644 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
17645 sys_lib_dlsearch_path_spec
=/usr
/lib
/hpux32
17647 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
17648 sys_lib_dlsearch_path_spec
=/usr
/lib
/hpux64
17653 hardcode_into_libs
=yes
17654 dynamic_linker
="$host_os dld.sl"
17655 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
17656 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
17657 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17658 soname_spec
='$libname$release$shared_ext$major'
17659 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
17660 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
17664 dynamic_linker
="$host_os dld.sl"
17665 shlibpath_var
=SHLIB_PATH
17666 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
17667 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17668 soname_spec
='$libname$release$shared_ext$major'
17671 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
17672 postinstall_cmds
='chmod 555 $lib'
17673 # or fails outright, so override atomically:
17674 install_override_mode
=555
17678 version_type
=linux
# correct to gnu/linux during the next big refactor
17681 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17682 soname_spec
='$libname$release$shared_ext$major'
17683 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
17684 shlibpath_var
=LD_LIBRARY_PATH
17685 shlibpath_overrides_runpath
=no
17686 hardcode_into_libs
=yes
17689 irix5
* | irix6
* | nonstopux
*)
17691 nonstopux
*) version_type
=nonstopux
;;
17693 if test yes = "$lt_cv_prog_gnu_ld"; then
17694 version_type
=linux
# correct to gnu/linux during the next big refactor
17701 soname_spec
='$libname$release$shared_ext$major'
17702 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
17704 irix5
* | nonstopux
*)
17705 libsuff
= shlibsuff
=
17708 case $LD in # libtool.m4 will add one of these switches to LD
17709 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
17710 libsuff
= shlibsuff
= libmagic
=32-bit;;
17711 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
17712 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
17713 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
17714 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
17715 *) libsuff
= shlibsuff
= libmagic
=never
-match;;
17719 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
17720 shlibpath_overrides_runpath
=no
17721 sys_lib_search_path_spec
="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
17722 sys_lib_dlsearch_path_spec
="/usr/lib$libsuff /lib$libsuff"
17723 hardcode_into_libs
=yes
17726 # No shared lib support for Linux oldld, aout, or coff.
17727 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
17732 version_type
=none
# Android doesn't support versioned libraries.
17735 library_names_spec
='$libname$release$shared_ext'
17736 soname_spec
='$libname$release$shared_ext'
17738 shlibpath_var
=LD_LIBRARY_PATH
17739 shlibpath_overrides_runpath
=yes
17741 # This implies no fast_install, which is unacceptable.
17742 # Some rework will be needed to allow for fast_install
17743 # before this can be enabled.
17744 hardcode_into_libs
=yes
17746 dynamic_linker
='Android linker'
17747 # Don't embed -rpath directories since the linker doesn't support them.
17748 hardcode_libdir_flag_spec_CXX
='-L$libdir'
17751 # This must be glibc/ELF.
17752 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
17753 version_type
=linux
# correct to gnu/linux during the next big refactor
17756 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17757 soname_spec
='$libname$release$shared_ext$major'
17758 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
17759 shlibpath_var
=LD_LIBRARY_PATH
17760 shlibpath_overrides_runpath
=no
17762 # Some binutils ld are patched to set DT_RUNPATH
17763 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
17764 $as_echo_n "(cached) " >&6
17766 lt_cv_shlibpath_overrides_runpath
=no
17767 save_LDFLAGS
=$LDFLAGS
17768 save_libdir
=$libdir
17769 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
17770 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
17771 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17772 /* end confdefs.h. */
17782 if ac_fn_cxx_try_link
"$LINENO"; then :
17783 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null
| grep "RUNPATH.*$libdir" >/dev
/null
; then :
17784 lt_cv_shlibpath_overrides_runpath
=yes
17787 rm -f core conftest.err conftest.
$ac_objext \
17788 conftest
$ac_exeext conftest.
$ac_ext
17789 LDFLAGS
=$save_LDFLAGS
17790 libdir
=$save_libdir
17794 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
17796 # This implies no fast_install, which is unacceptable.
17797 # Some rework will be needed to allow for fast_install
17798 # before this can be enabled.
17799 hardcode_into_libs
=yes
17801 # Ideally, we could use ldconfig to report *all* directores which are
17802 # searched for libraries, however this is still not possible. Aside from not
17803 # being certain /sbin/ldconfig is available, command
17804 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
17805 # even though it is searched at run-time. Try to do the best guess by
17806 # appending ld.so.conf contents (and includes) to the search path.
17807 if test -f /etc
/ld.so.conf
; then
17808 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' ' '`
17809 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
17812 # We used to test for /lib/ld.so.1 and disable shared libraries on
17813 # powerpc, because MkLinux only supported shared libraries with the
17814 # GNU dynamic linker. Since this was broken with cross compilers,
17815 # most powerpc-linux boxes support dynamic linking these days and
17816 # people can always --disable-shared, the test was removed, and we
17817 # assume the GNU/Linux dynamic linker is in use.
17818 dynamic_linker
='GNU/Linux ld.so'
17825 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
17826 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
17827 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17828 dynamic_linker
='NetBSD (a.out) ld.so'
17830 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17831 soname_spec
='$libname$release$shared_ext$major'
17832 dynamic_linker
='NetBSD ld.elf_so'
17834 shlibpath_var
=LD_LIBRARY_PATH
17835 shlibpath_overrides_runpath
=yes
17836 hardcode_into_libs
=yes
17840 version_type
=linux
# correct to gnu/linux during the next big refactor
17841 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17842 shlibpath_var
=LD_LIBRARY_PATH
17843 shlibpath_overrides_runpath
=yes
17850 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17851 soname_spec
='$libname$release$shared_ext$major'
17852 shlibpath_var
=LD_LIBRARY_PATH
17853 shlibpath_overrides_runpath
=no
17854 hardcode_into_libs
=yes
17855 dynamic_linker
='ldqnx.so'
17858 openbsd
* | bitrig
*)
17860 sys_lib_dlsearch_path_spec
=/usr
/lib
17862 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
17867 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
17868 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17869 shlibpath_var
=LD_LIBRARY_PATH
17870 shlibpath_overrides_runpath
=yes
17874 libname_spec
='$name'
17875 version_type
=windows
17879 # OS/2 can only load a DLL with a base name of 8 characters or less.
17880 soname_spec
='`test -n "$os2dllname" && libname="$os2dllname";
17881 v=$($ECHO $release$versuffix | tr -d .-);
17882 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
17883 $ECHO $n$v`$shared_ext'
17884 library_names_spec
='${libname}_dll.$libext'
17885 dynamic_linker
='OS/2 ld.exe'
17886 shlibpath_var
=BEGINLIBPATH
17887 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
17888 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
17889 postinstall_cmds
='base_file=`basename \$file`~
17890 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
17891 dldir=$destdir/`dirname \$dlpath`~
17892 test -d \$dldir || mkdir -p \$dldir~
17893 $install_prog $dir/$dlname \$dldir/$dlname~
17894 chmod a+x \$dldir/$dlname~
17895 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
17896 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
17898 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
17899 dlpath=$dir/\$dldll~
17903 osf3
* | osf4
* | osf5
*)
17907 soname_spec
='$libname$release$shared_ext$major'
17908 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17909 shlibpath_var
=LD_LIBRARY_PATH
17910 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
17911 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
17919 version_type
=linux
# correct to gnu/linux during the next big refactor
17922 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17923 soname_spec
='$libname$release$shared_ext$major'
17924 shlibpath_var
=LD_LIBRARY_PATH
17925 shlibpath_overrides_runpath
=yes
17926 hardcode_into_libs
=yes
17927 # ldd complains unless libraries are executable
17928 postinstall_cmds
='chmod +x $lib'
17933 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
17934 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
17935 shlibpath_var
=LD_LIBRARY_PATH
17936 shlibpath_overrides_runpath
=yes
17937 if test yes = "$with_gnu_ld"; then
17944 version_type
=linux
# correct to gnu/linux during the next big refactor
17945 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17946 soname_spec
='$libname$release$shared_ext$major'
17947 shlibpath_var
=LD_LIBRARY_PATH
17948 case $host_vendor in
17950 shlibpath_overrides_runpath
=no
17952 runpath_var
=LD_RUN_PATH
17960 shlibpath_overrides_runpath
=no
17961 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
17967 if test -d /usr
/nec
; then
17968 version_type
=linux
# correct to gnu/linux during the next big refactor
17969 library_names_spec
='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
17970 soname_spec
='$libname$shared_ext.$major'
17971 shlibpath_var
=LD_LIBRARY_PATH
17975 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
17979 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
17980 soname_spec
='$libname$release$shared_ext$major'
17981 shlibpath_var
=LD_LIBRARY_PATH
17982 shlibpath_overrides_runpath
=yes
17983 hardcode_into_libs
=yes
17984 if test yes = "$with_gnu_ld"; then
17985 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
17987 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
17990 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
17994 sys_lib_dlsearch_path_spec
='/usr/lib'
17998 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
17999 version_type
=linux
# correct to gnu/linux during the next big refactor
18002 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
18003 shlibpath_var
=LD_LIBRARY_PATH
18004 shlibpath_overrides_runpath
=no
18005 hardcode_into_libs
=yes
18009 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 soname_spec
='$libname$release$shared_ext$major'
18012 shlibpath_var
=LD_LIBRARY_PATH
18019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
18020 $as_echo "$dynamic_linker" >&6; }
18021 test no
= "$dynamic_linker" && can_build_shared
=no
18023 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
18024 if test yes = "$GCC"; then
18025 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
18028 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
18029 sys_lib_search_path_spec
=$lt_cv_sys_lib_search_path_spec
18032 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
18033 sys_lib_dlsearch_path_spec
=$lt_cv_sys_lib_dlsearch_path_spec
18036 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
18037 configure_time_dlsearch_path
=$sys_lib_dlsearch_path_spec
18039 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
18040 func_munge_path_list sys_lib_dlsearch_path_spec
"$LT_SYS_LIBRARY_PATH"
18042 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
18043 configure_time_lt_sys_library_path
=$LT_SYS_LIBRARY_PATH
18084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
18085 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
18086 hardcode_action_CXX
=
18087 if test -n "$hardcode_libdir_flag_spec_CXX" ||
18088 test -n "$runpath_var_CXX" ||
18089 test yes = "$hardcode_automatic_CXX"; then
18091 # We can hardcode non-existent directories.
18092 if test no
!= "$hardcode_direct_CXX" &&
18093 # If the only mechanism to avoid hardcoding is shlibpath_var, we
18094 # have to relink, otherwise we might link with an installed library
18095 # when we should be linking with a yet-to-be-installed one
18096 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" &&
18097 test no
!= "$hardcode_minus_L_CXX"; then
18098 # Linking always hardcodes the temporary library directory.
18099 hardcode_action_CXX
=relink
18101 # We can link without hardcoding, and we can hardcode nonexisting dirs.
18102 hardcode_action_CXX
=immediate
18105 # We cannot hardcode anything, or else we can only hardcode existing
18107 hardcode_action_CXX
=unsupported
18109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
18110 $as_echo "$hardcode_action_CXX" >&6; }
18112 if test relink
= "$hardcode_action_CXX" ||
18113 test yes = "$inherit_rpath_CXX"; then
18114 # Fast installation is not supported
18115 enable_fast_install
=no
18116 elif test yes = "$shlibpath_overrides_runpath" ||
18117 test no
= "$enable_shared"; then
18118 # Fast installation is not necessary
18119 enable_fast_install
=needless
18128 fi # test -n "$compiler"
18131 CFLAGS
=$lt_save_CFLAGS
18135 with_gnu_ld
=$lt_save_with_gnu_ld
18136 lt_cv_path_LDCXX
=$lt_cv_path_LD
18137 lt_cv_path_LD
=$lt_save_path_LD
18138 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
18139 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
18140 fi # test yes != "$_lt_caught_CXX_error"
18143 ac_cpp
='$CPP $CPPFLAGS'
18144 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18145 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18146 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18162 ac_config_commands
="$ac_config_commands libtool"
18167 # Only expand once:
18172 ac_cpp
='$CXXCPP $CPPFLAGS'
18173 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18174 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18175 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18178 ax_cxx_compile_cxx11_required
=true
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
18185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX supports C++11 features by default" >&5
18186 $as_echo_n "checking whether $CXX supports C++11 features by default... " >&6; }
18187 if ${ax_cv_cxx_compile_cxx11+:} false
; then :
18188 $as_echo_n "(cached) " >&6
18190 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18191 /* end confdefs.h. */
18193 template <typename T>
18196 static_assert(sizeof(int) <= sizeof(T), "not big enough");
18200 virtual void f() {}
18202 struct Child : public Base {
18203 virtual void f() override {}
18206 typedef check<check<bool>> right_angle_brackets;
18211 typedef check<int> check_type;
18213 check_type&& cr = static_cast<check_type&&>(c);
18219 if ac_fn_cxx_try_compile
"$LINENO"; then :
18220 ax_cv_cxx_compile_cxx11
=yes
18222 ax_cv_cxx_compile_cxx11
=no
18224 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_cxx_compile_cxx11" >&5
18227 $as_echo "$ax_cv_cxx_compile_cxx11" >&6; }
18228 if test x
$ax_cv_cxx_compile_cxx11 = xyes
; then
18232 if test x
$ac_success = xno
; then
18233 for switch
in -std=gnu
++11 -std=gnu
++0x
; do
18234 cachevar
=`$as_echo "ax_cv_cxx_compile_cxx11_$switch" | $as_tr_sh`
18235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX supports C++11 features with $switch" >&5
18236 $as_echo_n "checking whether $CXX supports C++11 features with $switch... " >&6; }
18237 if eval \
${$cachevar+:} false
; then :
18238 $as_echo_n "(cached) " >&6
18240 ac_save_CXXFLAGS
="$CXXFLAGS"
18241 CXXFLAGS
="$CXXFLAGS $switch"
18242 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18243 /* end confdefs.h. */
18245 template <typename T>
18248 static_assert(sizeof(int) <= sizeof(T), "not big enough");
18252 virtual void f() {}
18254 struct Child : public Base {
18255 virtual void f() override {}
18258 typedef check<check<bool>> right_angle_brackets;
18263 typedef check<int> check_type;
18265 check_type&& cr = static_cast<check_type&&>(c);
18271 if ac_fn_cxx_try_compile
"$LINENO"; then :
18276 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18277 CXXFLAGS
="$ac_save_CXXFLAGS"
18279 eval ac_res
=\$
$cachevar
18280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
18281 $as_echo "$ac_res" >&6; }
18282 if eval test x\$
$cachevar = xyes
; then
18283 CXXFLAGS
="$CXXFLAGS $switch"
18292 ac_cpp
='$CXXCPP $CPPFLAGS'
18293 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18294 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18295 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18297 if test x
$ax_cxx_compile_cxx11_required = xtrue
; then
18298 if test x
$ac_success = xno
; then
18299 as_fn_error $?
"*** A compiler with support for C++11 language features is required." "$LINENO" 5
18302 if test x
$ac_success = xno
; then
18304 { $as_echo "$as_me:${as_lineno-$LINENO}: No compiler with C++11 support was found" >&5
18305 $as_echo "$as_me: No compiler with C++11 support was found" >&6;}
18309 $as_echo "#define HAVE_CXX11 1" >>confdefs.h
18316 OBJCXXFLAGS
="${OBJCXXFLAGS} ${CXXFLAGS##*' '}"
18325 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
18326 if test -n "$ac_tool_prefix"; then
18327 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
18328 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
18329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18330 $as_echo_n "checking for $ac_word... " >&6; }
18331 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
18332 $as_echo_n "(cached) " >&6
18334 case $PKG_CONFIG in
18336 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
18339 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18340 for as_dir
in $PATH
18343 test -z "$as_dir" && as_dir
=.
18344 for ac_exec_ext
in '' $ac_executable_extensions; do
18345 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
18346 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
18347 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18357 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
18358 if test -n "$PKG_CONFIG"; then
18359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
18360 $as_echo "$PKG_CONFIG" >&6; }
18362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18363 $as_echo "no" >&6; }
18368 if test -z "$ac_cv_path_PKG_CONFIG"; then
18369 ac_pt_PKG_CONFIG
=$PKG_CONFIG
18370 # Extract the first word of "pkg-config", so it can be a program name with args.
18371 set dummy pkg
-config; ac_word
=$2
18372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18373 $as_echo_n "checking for $ac_word... " >&6; }
18374 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
18375 $as_echo_n "(cached) " >&6
18377 case $ac_pt_PKG_CONFIG in
18379 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
18382 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18383 for as_dir
in $PATH
18386 test -z "$as_dir" && as_dir
=.
18387 for ac_exec_ext
in '' $ac_executable_extensions; do
18388 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
18389 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
18390 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18400 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
18401 if test -n "$ac_pt_PKG_CONFIG"; then
18402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
18403 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
18405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18406 $as_echo "no" >&6; }
18409 if test "x$ac_pt_PKG_CONFIG" = x
; then
18412 case $cross_compiling:$ac_tool_warned in
18414 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
18415 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
18416 ac_tool_warned
=yes ;;
18418 PKG_CONFIG
=$ac_pt_PKG_CONFIG
18421 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
18425 if test -n "$PKG_CONFIG"; then
18426 _pkg_min_version
=0.22
18427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
18428 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
18429 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
18430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18431 $as_echo "yes" >&6; }
18433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18434 $as_echo "no" >&6; }
18439 # Extract the first word of "git", so it can be a program name with args.
18440 set dummy git
; ac_word
=$2
18441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18442 $as_echo_n "checking for $ac_word... " >&6; }
18443 if ${ac_cv_path_GIT+:} false
; then :
18444 $as_echo_n "(cached) " >&6
18448 ac_cv_path_GIT
="$GIT" # Let the user override the test with a path.
18451 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18452 for as_dir
in $PATH
18455 test -z "$as_dir" && as_dir
=.
18456 for ac_exec_ext
in '' $ac_executable_extensions; do
18457 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
18458 ac_cv_path_GIT
="$as_dir/$ac_word$ac_exec_ext"
18459 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18469 GIT
=$ac_cv_path_GIT
18470 if test -n "$GIT"; then
18471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GIT" >&5
18472 $as_echo "$GIT" >&6; }
18474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18475 $as_echo "no" >&6; }
18479 # Extract the first word of "time", so it can be a program name with args.
18480 set dummy
time; ac_word
=$2
18481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18482 $as_echo_n "checking for $ac_word... " >&6; }
18483 if ${ac_cv_path_TIME+:} false
; then :
18484 $as_echo_n "(cached) " >&6
18488 ac_cv_path_TIME
="$TIME" # Let the user override the test with a path.
18491 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18492 for as_dir
in $PATH
18495 test -z "$as_dir" && as_dir
=.
18496 for ac_exec_ext
in '' $ac_executable_extensions; do
18497 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
18498 ac_cv_path_TIME
="$as_dir/$ac_word$ac_exec_ext"
18499 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18509 TIME
=$ac_cv_path_TIME
18510 if test -n "$TIME"; then
18511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TIME" >&5
18512 $as_echo "$TIME" >&6; }
18514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18515 $as_echo "no" >&6; }
18524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bison >= 3.0" >&5
18525 $as_echo_n "checking for bison >= 3.0... " >&6; }
18526 if test -z "$BISON"; then
18527 ac_path_BISON_found
=false
18528 # Loop through the user's path and test for each of PROGNAME-LIST
18529 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18530 for as_dir
in $PATH
18533 test -z "$as_dir" && as_dir
=.
18534 for ac_prog
in bison
; do
18535 for ac_exec_ext
in '' $ac_executable_extensions; do
18536 ac_path_BISON
="$as_dir/$ac_prog$ac_exec_ext"
18537 as_fn_executable_p
"$ac_path_BISON" || continue
18538 version
=`$ac_path_BISON -V | $SED -e '1 s/^bison (GNU Bison) \(.*\)$/\1/p;d'`
18539 if ${version:+false} :; then :
18542 as_awk_strverscmp
='
18543 # Use only awk features that work with 7th edition Unix awk (1978).
18544 # My, what an old awk you have, Mr. Solaris!
18546 while (length(v1) && length(v2)) {
18547 # Set d1 to be the next thing to compare from v1, and likewise for d2.
18548 # Normally this is a single character, but if v1 and v2 contain digits,
18549 # compare them as integers and fractions as strverscmp does.
18550 if (v1 ~ /^0-9/ && v2 ~ /^0-9/) {
18551 # Split v1 and v2 into their leading digit string components d1 and d2,
18552 # and advance v1 and v2 past the leading digit strings.
18553 for (len1 = 1; substr(v1, len1 + 1) ~ /^0-9/; len1++) continue
18554 for (len2 = 1; substr(v2, len2 + 1) ~ /^0-9/; len2++) continue
18555 d1 = substr(v1, 1, len1); v1 = substr(v1, len1 + 1)
18556 d2 = substr(v2, 1, len2); v2 = substr(v2, len2 + 1)
18559 # Compare two fractions.
18560 while (d1 ~ /^0/ && d2 ~ /^0/) {
18561 d1 = substr(d1, 2); len1--
18562 d2 = substr(d2, 2); len2--
18564 if (len1 != len2 && ! (len1 && len2 && substr(d1, 1, 1) == substr(d2, 1, 1))) {
18565 # The two components differ in length, and the common prefix
18566 # contains only leading zeros. Consider the longer to be less.
18570 # Otherwise, compare as strings.
18575 # A fraction is less than an integer.
18580 # An integer is greater than a fraction.
18583 # Compare two integers.
18589 # The normal case, without worrying about digits.
18590 d1 = substr(v1, 1, 1); v1 = substr(v1, 2)
18591 d2 = substr(v2, 1, 1); v2 = substr(v2, 2)
18593 if (d1 < d2) exit 1
18594 if (d1 > d2) exit 2
18596 # Beware Solaris /usr/xgp4/bin/awk (at least through Solaris 10),
18597 # which mishandles some comparisons of empty strings to integers.
18598 if (length(v2)) exit 1
18599 if (length(v1)) exit 2
18604 awk "$as_awk_strverscmp" v1
="$as_arg_v1" v2
="$as_arg_v2" /dev
/null
18609 ac_cv_path_BISON
=$ac_path_BISON ;; #(
18611 ac_cv_path_BISON
=$ac_path_BISON ;; #(
18617 $ac_path_BISON_found && break 3
18622 if test -z "$ac_cv_path_BISON"; then
18623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18624 $as_echo "no" >&6; }
18627 ac_cv_path_BISON
=$BISON
18633 BISON
=$ac_cv_path_BISON
18635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
18636 $as_echo "$BISON" >&6; }
18641 as_fn_error $?
"You need bison 3.0 or greater" "$LINENO" 5
18647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18648 $as_echo "no" >&6; }
18656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for flex >= 2.5.33" >&5
18657 $as_echo_n "checking for flex >= 2.5.33... " >&6; }
18658 if test -z "$FLEX"; then
18659 ac_path_FLEX_found
=false
18660 # Loop through the user's path and test for each of PROGNAME-LIST
18661 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18662 for as_dir
in $PATH
18665 test -z "$as_dir" && as_dir
=.
18666 for ac_prog
in flex
; do
18667 for ac_exec_ext
in '' $ac_executable_extensions; do
18668 ac_path_FLEX
="$as_dir/$ac_prog$ac_exec_ext"
18669 as_fn_executable_p
"$ac_path_FLEX" || continue
18670 version
=`$ac_path_FLEX --version | $SED -e '1 s/^[^0-9.]* \([0-9.]*\).*$/\1/p;d'`
18671 if ${version:+false} :; then :
18676 awk "$as_awk_strverscmp" v1
="$as_arg_v1" v2
="$as_arg_v2" /dev
/null
18681 ac_cv_path_FLEX
=$ac_path_FLEX ;; #(
18683 ac_cv_path_FLEX
=$ac_path_FLEX ;; #(
18689 $ac_path_FLEX_found && break 3
18694 if test -z "$ac_cv_path_FLEX"; then
18695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18696 $as_echo "no" >&6; }
18699 ac_cv_path_FLEX
=$FLEX
18705 FLEX
=$ac_cv_path_FLEX
18707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
18708 $as_echo "$FLEX" >&6; }
18713 as_fn_error $?
"You need flex 2.5.33 or greater" "$LINENO" 5
18719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18720 $as_echo "no" >&6; }
18728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gperf >= 3.0.3" >&5
18729 $as_echo_n "checking for gperf >= 3.0.3... " >&6; }
18730 if test -z "$GPERF"; then
18731 ac_path_GPERF_found
=false
18732 # Loop through the user's path and test for each of PROGNAME-LIST
18733 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18734 for as_dir
in $PATH
18737 test -z "$as_dir" && as_dir
=.
18738 for ac_prog
in gperf
; do
18739 for ac_exec_ext
in '' $ac_executable_extensions; do
18740 ac_path_GPERF
="$as_dir/$ac_prog$ac_exec_ext"
18741 as_fn_executable_p
"$ac_path_GPERF" || continue
18742 version
=`$ac_path_GPERF --version | $SED -e '1 s/^.* \([0-9.]*\)$/\1/p;d'`
18743 if ${version:+false} :; then :
18748 awk "$as_awk_strverscmp" v1
="$as_arg_v1" v2
="$as_arg_v2" /dev
/null
18753 ac_cv_path_GPERF
=$ac_path_GPERF ;; #(
18755 ac_cv_path_GPERF
=$ac_path_GPERF ;; #(
18761 $ac_path_GPERF_found && break 3
18766 if test -z "$ac_cv_path_GPERF"; then
18767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18768 $as_echo "no" >&6; }
18771 ac_cv_path_GPERF
=$GPERF
18777 GPERF
=$ac_cv_path_GPERF
18779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GPERF" >&5
18780 $as_echo "$GPERF" >&6; }
18785 as_fn_error $?
"You need gperf 3.0.3 or greater" "$LINENO" 5
18791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18792 $as_echo "no" >&6; }
18800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tar gtar gnutar >= 1.19" >&5
18801 $as_echo_n "checking for tar gtar gnutar >= 1.19... " >&6; }
18802 if test -z "$GNUTAR"; then
18803 ac_path_GNUTAR_found
=false
18804 # Loop through the user's path and test for each of PROGNAME-LIST
18805 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18806 for as_dir
in $PATH
18809 test -z "$as_dir" && as_dir
=.
18810 for ac_prog
in tar gtar gnutar
; do
18811 for ac_exec_ext
in '' $ac_executable_extensions; do
18812 ac_path_GNUTAR
="$as_dir/$ac_prog$ac_exec_ext"
18813 as_fn_executable_p
"$ac_path_GNUTAR" || continue
18814 version
=`$ac_path_GNUTAR --version | $SED -e '1 s/^tar (GNU tar) \(.*\)$/\1/p;d'`
18815 if ${version:+false} :; then :
18820 awk "$as_awk_strverscmp" v1
="$as_arg_v1" v2
="$as_arg_v2" /dev
/null
18825 ac_cv_path_GNUTAR
=$ac_path_GNUTAR ;; #(
18827 ac_cv_path_GNUTAR
=$ac_path_GNUTAR ;; #(
18833 $ac_path_GNUTAR_found && break 3
18838 if test -z "$ac_cv_path_GNUTAR"; then
18839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18840 $as_echo "no" >&6; }
18843 ac_cv_path_GNUTAR
=$GNUTAR
18849 GNUTAR
=$ac_cv_path_GNUTAR
18851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNUTAR" >&5
18852 $as_echo "$GNUTAR" >&6; }
18857 as_fn_error $?
"You need tar gtar gnutar 1.19 or greater" "$LINENO" 5
18863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18864 $as_echo "no" >&6; }
18875 if test "x$LFLAGS" = x
; then :
18876 LFLAGS
="--full --ecs"
18884 ac_cpp
='$CPP $CPPFLAGS'
18885 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18886 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18887 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking CFLAGS for maximum warnings" >&5
18890 $as_echo_n "checking CFLAGS for maximum warnings... " >&6; }
18891 if ${ac_cv_cflags_warn_all+:} false
; then :
18892 $as_echo_n "(cached) " >&6
18894 ac_cv_cflags_warn_all
="no, unknown"
18895 ac_save_CFLAGS
="$CFLAGS"
18896 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" #
18897 do CFLAGS
="$ac_save_CFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
18898 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18899 /* end confdefs.h. */
18909 if ac_fn_c_try_compile
"$LINENO"; then :
18910 ac_cv_cflags_warn_all
=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
18912 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18914 CFLAGS
="$ac_save_CFLAGS"
18917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags_warn_all" >&5
18918 $as_echo "$ac_cv_cflags_warn_all" >&6; }
18921 case ".$ac_cv_cflags_warn_all" in
18924 *) if ${CFLAGS+:} false
; then :
18925 case " $CFLAGS " in
18926 *" $ac_cv_cflags_warn_all "*)
18927 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$ac_cv_cflags_warn_all"; } >&5
18928 (: CFLAGS already contains
$ac_cv_cflags_warn_all) 2>&5
18930 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18931 test $ac_status = 0; }
18934 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$ac_cv_cflags_warn_all\""; } >&5
18935 (: CFLAGS
="$CFLAGS $ac_cv_cflags_warn_all") 2>&5
18937 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18938 test $ac_status = 0; }
18939 CFLAGS
="$CFLAGS $ac_cv_cflags_warn_all"
18943 CFLAGS
="$ac_cv_cflags_warn_all"
18949 ac_cpp
='$CXXCPP $CPPFLAGS'
18950 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18951 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18952 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18956 ac_cpp
='$CXXCPP $CPPFLAGS'
18957 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18958 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18959 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking CXXFLAGS for maximum warnings" >&5
18962 $as_echo_n "checking CXXFLAGS for maximum warnings... " >&6; }
18963 if ${ac_cv_cxxflags_warn_all+:} false
; then :
18964 $as_echo_n "(cached) " >&6
18966 ac_cv_cxxflags_warn_all
="no, unknown"
18967 ac_save_CXXFLAGS
="$CXXFLAGS"
18968 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" #
18969 do CXXFLAGS
="$ac_save_CXXFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
18970 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18971 /* end confdefs.h. */
18981 if ac_fn_cxx_try_compile
"$LINENO"; then :
18982 ac_cv_cxxflags_warn_all
=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
18984 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18986 CXXFLAGS
="$ac_save_CXXFLAGS"
18989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxxflags_warn_all" >&5
18990 $as_echo "$ac_cv_cxxflags_warn_all" >&6; }
18993 case ".$ac_cv_cxxflags_warn_all" in
18996 *) if ${CXXFLAGS+:} false
; then :
18997 case " $CXXFLAGS " in
18998 *" $ac_cv_cxxflags_warn_all "*)
18999 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXFLAGS already contains \$ac_cv_cxxflags_warn_all"; } >&5
19000 (: CXXFLAGS already contains
$ac_cv_cxxflags_warn_all) 2>&5
19002 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19003 test $ac_status = 0; }
19006 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXFLAGS=\"\$CXXFLAGS \$ac_cv_cxxflags_warn_all\""; } >&5
19007 (: CXXFLAGS
="$CXXFLAGS $ac_cv_cxxflags_warn_all") 2>&5
19009 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19010 test $ac_status = 0; }
19011 CXXFLAGS
="$CXXFLAGS $ac_cv_cxxflags_warn_all"
19015 CXXFLAGS
="$ac_cv_cxxflags_warn_all"
19021 ac_cpp
='$CXXCPP $CPPFLAGS'
19022 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19023 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19024 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking CXXFLAGS for maximum warnings" >&5
19028 $as_echo_n "checking CXXFLAGS for maximum warnings... " >&6; }
19029 if ${ac_cv_cxxflags_warn_all+:} false
; then :
19030 $as_echo_n "(cached) " >&6
19032 ac_cv_cxxflags_warn_all
="no, unknown"
19033 ac_save_CXXFLAGS
="$CXXFLAGS"
19034 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" #
19035 do CXXFLAGS
="$ac_save_CXXFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
19036 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19037 /* end confdefs.h. */
19047 if ac_fn_cxx_try_compile
"$LINENO"; then :
19048 ac_cv_cxxflags_warn_all
=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
19050 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19052 CXXFLAGS
="$ac_save_CXXFLAGS"
19055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxxflags_warn_all" >&5
19056 $as_echo "$ac_cv_cxxflags_warn_all" >&6; }
19059 case ".$ac_cv_cxxflags_warn_all" in
19062 *) if ${CXXFLAGS+:} false
; then :
19063 case " $CXXFLAGS " in
19064 *" $ac_cv_cxxflags_warn_all "*)
19065 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXFLAGS already contains \$ac_cv_cxxflags_warn_all"; } >&5
19066 (: CXXFLAGS already contains
$ac_cv_cxxflags_warn_all) 2>&5
19068 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19069 test $ac_status = 0; }
19072 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXFLAGS=\"\$CXXFLAGS \$ac_cv_cxxflags_warn_all\""; } >&5
19073 (: CXXFLAGS
="$CXXFLAGS $ac_cv_cxxflags_warn_all") 2>&5
19075 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19076 test $ac_status = 0; }
19077 CXXFLAGS
="$CXXFLAGS $ac_cv_cxxflags_warn_all"
19081 CXXFLAGS
="$ac_cv_cxxflags_warn_all"
19091 ac_cpp
='$CPP $CPPFLAGS'
19092 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19093 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19094 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cc -Werror" >&5
19097 $as_echo_n "checking for cc -Werror... " >&6; }
19101 for element
in -Werror; do
19103 for x
in $CFLAGS; do
19105 acl_save_prefix
="$prefix"
19106 prefix
="$acl_final_prefix"
19107 acl_save_exec_prefix
="$exec_prefix"
19108 exec_prefix
="$acl_final_exec_prefix"
19110 exec_prefix
="$acl_save_exec_prefix"
19111 prefix
="$acl_save_prefix"
19113 if test "X$x" = "X$element"; then
19118 if test -z "$haveit"; then
19119 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
19124 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19125 /* end confdefs.h. */
19128 if ac_fn_c_try_compile
"$LINENO"; then :
19133 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19136 if test "x$cy_good" = x1
; then :
19137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19138 $as_echo "yes" >&6; }
19140 for element
in -Werror; do
19142 for x
in $CFLAGS; do
19144 acl_save_prefix
="$prefix"
19145 prefix
="$acl_final_prefix"
19146 acl_save_exec_prefix
="$exec_prefix"
19147 exec_prefix
="$acl_final_exec_prefix"
19149 exec_prefix
="$acl_save_exec_prefix"
19150 prefix
="$acl_save_prefix"
19152 if test "X$x" = "X$element"; then
19157 if test -z "$haveit"; then
19158 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
19164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19165 $as_echo "no" >&6; }
19169 ac_cpp
='$CXXCPP $CPPFLAGS'
19170 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19171 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19172 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
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
19182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -Werror" >&5
19183 $as_echo_n "checking for c++ -Werror... " >&6; }
19187 for element
in -Werror; do
19189 for x
in $CXXFLAGS; do
19191 acl_save_prefix
="$prefix"
19192 prefix
="$acl_final_prefix"
19193 acl_save_exec_prefix
="$exec_prefix"
19194 exec_prefix
="$acl_final_exec_prefix"
19196 exec_prefix
="$acl_save_exec_prefix"
19197 prefix
="$acl_save_prefix"
19199 if test "X$x" = "X$element"; then
19204 if test -z "$haveit"; then
19205 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
19210 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19211 /* end confdefs.h. */
19214 if ac_fn_cxx_try_compile
"$LINENO"; then :
19219 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19222 if test "x$cy_good" = x1
; then :
19223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19224 $as_echo "yes" >&6; }
19226 for element
in -Werror; do
19228 for x
in $CXXFLAGS; do
19230 acl_save_prefix
="$prefix"
19231 prefix
="$acl_final_prefix"
19232 acl_save_exec_prefix
="$exec_prefix"
19233 exec_prefix
="$acl_final_exec_prefix"
19235 exec_prefix
="$acl_save_exec_prefix"
19236 prefix
="$acl_save_prefix"
19238 if test "X$x" = "X$element"; then
19243 if test -z "$haveit"; then
19244 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
19250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19251 $as_echo "no" >&6; }
19255 ac_cpp
='$CXXCPP $CPPFLAGS'
19256 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19257 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19258 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19263 ac_cpp
='$OBJCXXCPP $CPPFLAGS'
19264 ac_compile
='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19265 ac_link
='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19266 ac_compiler_gnu
=$ac_cv_objcxx_compiler_gnu
19268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -ObjC -Werror" >&5
19269 $as_echo_n "checking for c++ -ObjC -Werror... " >&6; }
19271 cy_save
=$OBJCXXFLAGS
19273 for element
in -Werror; do
19275 for x
in $OBJCXXFLAGS; do
19277 acl_save_prefix
="$prefix"
19278 prefix
="$acl_final_prefix"
19279 acl_save_exec_prefix
="$exec_prefix"
19280 exec_prefix
="$acl_final_exec_prefix"
19282 exec_prefix
="$acl_save_exec_prefix"
19283 prefix
="$acl_save_prefix"
19285 if test "X$x" = "X$element"; then
19290 if test -z "$haveit"; then
19291 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
19296 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19297 /* end confdefs.h. */
19300 if ac_fn_objcxx_try_compile
"$LINENO"; then :
19305 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19307 OBJCXXFLAGS
=$cy_save
19308 if test "x$cy_good" = x1
; then :
19309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19310 $as_echo "yes" >&6; }
19312 for element
in -Werror; do
19314 for x
in $OBJCXXFLAGS; do
19316 acl_save_prefix
="$prefix"
19317 prefix
="$acl_final_prefix"
19318 acl_save_exec_prefix
="$exec_prefix"
19319 exec_prefix
="$acl_final_exec_prefix"
19321 exec_prefix
="$acl_save_exec_prefix"
19322 prefix
="$acl_save_prefix"
19324 if test "X$x" = "X$element"; then
19329 if test -z "$haveit"; then
19330 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
19336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19337 $as_echo "no" >&6; }
19341 ac_cpp
='$CXXCPP $CPPFLAGS'
19342 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19343 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19344 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19352 ac_cpp
='$CPP $CPPFLAGS'
19353 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19354 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19355 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cc -Wno-deprecated-declarations" >&5
19358 $as_echo_n "checking for cc -Wno-deprecated-declarations... " >&6; }
19362 for element
in -Wno-deprecated-declarations; do
19364 for x
in $CFLAGS; do
19366 acl_save_prefix
="$prefix"
19367 prefix
="$acl_final_prefix"
19368 acl_save_exec_prefix
="$exec_prefix"
19369 exec_prefix
="$acl_final_exec_prefix"
19371 exec_prefix
="$acl_save_exec_prefix"
19372 prefix
="$acl_save_prefix"
19374 if test "X$x" = "X$element"; then
19379 if test -z "$haveit"; then
19380 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
19385 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19386 /* end confdefs.h. */
19389 if ac_fn_c_try_compile
"$LINENO"; then :
19394 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19397 if test "x$cy_good" = x1
; then :
19398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19399 $as_echo "yes" >&6; }
19401 for element
in -Wno-deprecated-declarations; do
19403 for x
in $CFLAGS; do
19405 acl_save_prefix
="$prefix"
19406 prefix
="$acl_final_prefix"
19407 acl_save_exec_prefix
="$exec_prefix"
19408 exec_prefix
="$acl_final_exec_prefix"
19410 exec_prefix
="$acl_save_exec_prefix"
19411 prefix
="$acl_save_prefix"
19413 if test "X$x" = "X$element"; then
19418 if test -z "$haveit"; then
19419 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
19425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19426 $as_echo "no" >&6; }
19430 ac_cpp
='$CXXCPP $CPPFLAGS'
19431 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19432 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19433 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
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
19443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -Wno-deprecated-declarations" >&5
19444 $as_echo_n "checking for c++ -Wno-deprecated-declarations... " >&6; }
19448 for element
in -Wno-deprecated-declarations; do
19450 for x
in $CXXFLAGS; do
19452 acl_save_prefix
="$prefix"
19453 prefix
="$acl_final_prefix"
19454 acl_save_exec_prefix
="$exec_prefix"
19455 exec_prefix
="$acl_final_exec_prefix"
19457 exec_prefix
="$acl_save_exec_prefix"
19458 prefix
="$acl_save_prefix"
19460 if test "X$x" = "X$element"; then
19465 if test -z "$haveit"; then
19466 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
19471 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19472 /* end confdefs.h. */
19475 if ac_fn_cxx_try_compile
"$LINENO"; then :
19480 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19483 if test "x$cy_good" = x1
; then :
19484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19485 $as_echo "yes" >&6; }
19487 for element
in -Wno-deprecated-declarations; do
19489 for x
in $CXXFLAGS; do
19491 acl_save_prefix
="$prefix"
19492 prefix
="$acl_final_prefix"
19493 acl_save_exec_prefix
="$exec_prefix"
19494 exec_prefix
="$acl_final_exec_prefix"
19496 exec_prefix
="$acl_save_exec_prefix"
19497 prefix
="$acl_save_prefix"
19499 if test "X$x" = "X$element"; then
19504 if test -z "$haveit"; then
19505 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
19511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19512 $as_echo "no" >&6; }
19516 ac_cpp
='$CXXCPP $CPPFLAGS'
19517 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19518 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19519 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19524 ac_cpp
='$OBJCXXCPP $CPPFLAGS'
19525 ac_compile
='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19526 ac_link
='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19527 ac_compiler_gnu
=$ac_cv_objcxx_compiler_gnu
19529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -ObjC -Wno-deprecated-declarations" >&5
19530 $as_echo_n "checking for c++ -ObjC -Wno-deprecated-declarations... " >&6; }
19532 cy_save
=$OBJCXXFLAGS
19534 for element
in -Wno-deprecated-declarations; do
19536 for x
in $OBJCXXFLAGS; do
19538 acl_save_prefix
="$prefix"
19539 prefix
="$acl_final_prefix"
19540 acl_save_exec_prefix
="$exec_prefix"
19541 exec_prefix
="$acl_final_exec_prefix"
19543 exec_prefix
="$acl_save_exec_prefix"
19544 prefix
="$acl_save_prefix"
19546 if test "X$x" = "X$element"; then
19551 if test -z "$haveit"; then
19552 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
19557 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19558 /* end confdefs.h. */
19561 if ac_fn_objcxx_try_compile
"$LINENO"; then :
19566 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19568 OBJCXXFLAGS
=$cy_save
19569 if test "x$cy_good" = x1
; then :
19570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19571 $as_echo "yes" >&6; }
19573 for element
in -Wno-deprecated-declarations; do
19575 for x
in $OBJCXXFLAGS; do
19577 acl_save_prefix
="$prefix"
19578 prefix
="$acl_final_prefix"
19579 acl_save_exec_prefix
="$exec_prefix"
19580 exec_prefix
="$acl_final_exec_prefix"
19582 exec_prefix
="$acl_save_exec_prefix"
19583 prefix
="$acl_save_prefix"
19585 if test "X$x" = "X$element"; then
19590 if test -z "$haveit"; then
19591 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
19597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19598 $as_echo "no" >&6; }
19602 ac_cpp
='$CXXCPP $CPPFLAGS'
19603 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19604 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19605 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19613 ac_cpp
='$CPP $CPPFLAGS'
19614 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19615 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19616 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cc -Wno-dangling-else" >&5
19619 $as_echo_n "checking for cc -Wno-dangling-else... " >&6; }
19623 for element
in -Wno-dangling-else; do
19625 for x
in $CFLAGS; do
19627 acl_save_prefix
="$prefix"
19628 prefix
="$acl_final_prefix"
19629 acl_save_exec_prefix
="$exec_prefix"
19630 exec_prefix
="$acl_final_exec_prefix"
19632 exec_prefix
="$acl_save_exec_prefix"
19633 prefix
="$acl_save_prefix"
19635 if test "X$x" = "X$element"; then
19640 if test -z "$haveit"; then
19641 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
19646 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19647 /* end confdefs.h. */
19650 if ac_fn_c_try_compile
"$LINENO"; then :
19655 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19658 if test "x$cy_good" = x1
; then :
19659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19660 $as_echo "yes" >&6; }
19662 for element
in -Wno-dangling-else; do
19664 for x
in $CFLAGS; do
19666 acl_save_prefix
="$prefix"
19667 prefix
="$acl_final_prefix"
19668 acl_save_exec_prefix
="$exec_prefix"
19669 exec_prefix
="$acl_final_exec_prefix"
19671 exec_prefix
="$acl_save_exec_prefix"
19672 prefix
="$acl_save_prefix"
19674 if test "X$x" = "X$element"; then
19679 if test -z "$haveit"; then
19680 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
19686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19687 $as_echo "no" >&6; }
19691 ac_cpp
='$CXXCPP $CPPFLAGS'
19692 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19693 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19694 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
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
19704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -Wno-dangling-else" >&5
19705 $as_echo_n "checking for c++ -Wno-dangling-else... " >&6; }
19709 for element
in -Wno-dangling-else; do
19711 for x
in $CXXFLAGS; do
19713 acl_save_prefix
="$prefix"
19714 prefix
="$acl_final_prefix"
19715 acl_save_exec_prefix
="$exec_prefix"
19716 exec_prefix
="$acl_final_exec_prefix"
19718 exec_prefix
="$acl_save_exec_prefix"
19719 prefix
="$acl_save_prefix"
19721 if test "X$x" = "X$element"; then
19726 if test -z "$haveit"; then
19727 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
19732 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19733 /* end confdefs.h. */
19736 if ac_fn_cxx_try_compile
"$LINENO"; then :
19741 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19744 if test "x$cy_good" = x1
; then :
19745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19746 $as_echo "yes" >&6; }
19748 for element
in -Wno-dangling-else; do
19750 for x
in $CXXFLAGS; do
19752 acl_save_prefix
="$prefix"
19753 prefix
="$acl_final_prefix"
19754 acl_save_exec_prefix
="$exec_prefix"
19755 exec_prefix
="$acl_final_exec_prefix"
19757 exec_prefix
="$acl_save_exec_prefix"
19758 prefix
="$acl_save_prefix"
19760 if test "X$x" = "X$element"; then
19765 if test -z "$haveit"; then
19766 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
19772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19773 $as_echo "no" >&6; }
19777 ac_cpp
='$CXXCPP $CPPFLAGS'
19778 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19779 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19780 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19785 ac_cpp
='$OBJCXXCPP $CPPFLAGS'
19786 ac_compile
='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19787 ac_link
='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19788 ac_compiler_gnu
=$ac_cv_objcxx_compiler_gnu
19790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -ObjC -Wno-dangling-else" >&5
19791 $as_echo_n "checking for c++ -ObjC -Wno-dangling-else... " >&6; }
19793 cy_save
=$OBJCXXFLAGS
19795 for element
in -Wno-dangling-else; do
19797 for x
in $OBJCXXFLAGS; do
19799 acl_save_prefix
="$prefix"
19800 prefix
="$acl_final_prefix"
19801 acl_save_exec_prefix
="$exec_prefix"
19802 exec_prefix
="$acl_final_exec_prefix"
19804 exec_prefix
="$acl_save_exec_prefix"
19805 prefix
="$acl_save_prefix"
19807 if test "X$x" = "X$element"; then
19812 if test -z "$haveit"; then
19813 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
19818 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19819 /* end confdefs.h. */
19822 if ac_fn_objcxx_try_compile
"$LINENO"; then :
19827 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19829 OBJCXXFLAGS
=$cy_save
19830 if test "x$cy_good" = x1
; then :
19831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19832 $as_echo "yes" >&6; }
19834 for element
in -Wno-dangling-else; do
19836 for x
in $OBJCXXFLAGS; do
19838 acl_save_prefix
="$prefix"
19839 prefix
="$acl_final_prefix"
19840 acl_save_exec_prefix
="$exec_prefix"
19841 exec_prefix
="$acl_final_exec_prefix"
19843 exec_prefix
="$acl_save_exec_prefix"
19844 prefix
="$acl_save_prefix"
19846 if test "X$x" = "X$element"; then
19851 if test -z "$haveit"; then
19852 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
19858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19859 $as_echo "no" >&6; }
19863 ac_cpp
='$CXXCPP $CPPFLAGS'
19864 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19865 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19866 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19873 ac_cpp
='$CPP $CPPFLAGS'
19874 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19875 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19876 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cc -Wno-empty-body" >&5
19879 $as_echo_n "checking for cc -Wno-empty-body... " >&6; }
19883 for element
in -Wno-empty-body; do
19885 for x
in $CFLAGS; do
19887 acl_save_prefix
="$prefix"
19888 prefix
="$acl_final_prefix"
19889 acl_save_exec_prefix
="$exec_prefix"
19890 exec_prefix
="$acl_final_exec_prefix"
19892 exec_prefix
="$acl_save_exec_prefix"
19893 prefix
="$acl_save_prefix"
19895 if test "X$x" = "X$element"; then
19900 if test -z "$haveit"; then
19901 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
19906 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19907 /* end confdefs.h. */
19910 if ac_fn_c_try_compile
"$LINENO"; then :
19915 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19918 if test "x$cy_good" = x1
; then :
19919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19920 $as_echo "yes" >&6; }
19922 for element
in -Wno-empty-body; do
19924 for x
in $CFLAGS; do
19926 acl_save_prefix
="$prefix"
19927 prefix
="$acl_final_prefix"
19928 acl_save_exec_prefix
="$exec_prefix"
19929 exec_prefix
="$acl_final_exec_prefix"
19931 exec_prefix
="$acl_save_exec_prefix"
19932 prefix
="$acl_save_prefix"
19934 if test "X$x" = "X$element"; then
19939 if test -z "$haveit"; then
19940 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
19946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19947 $as_echo "no" >&6; }
19951 ac_cpp
='$CXXCPP $CPPFLAGS'
19952 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19953 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19954 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
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
19964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -Wno-empty-body" >&5
19965 $as_echo_n "checking for c++ -Wno-empty-body... " >&6; }
19969 for element
in -Wno-empty-body; do
19971 for x
in $CXXFLAGS; do
19973 acl_save_prefix
="$prefix"
19974 prefix
="$acl_final_prefix"
19975 acl_save_exec_prefix
="$exec_prefix"
19976 exec_prefix
="$acl_final_exec_prefix"
19978 exec_prefix
="$acl_save_exec_prefix"
19979 prefix
="$acl_save_prefix"
19981 if test "X$x" = "X$element"; then
19986 if test -z "$haveit"; then
19987 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
19992 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19993 /* end confdefs.h. */
19996 if ac_fn_cxx_try_compile
"$LINENO"; then :
20001 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20004 if test "x$cy_good" = x1
; then :
20005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20006 $as_echo "yes" >&6; }
20008 for element
in -Wno-empty-body; do
20010 for x
in $CXXFLAGS; do
20012 acl_save_prefix
="$prefix"
20013 prefix
="$acl_final_prefix"
20014 acl_save_exec_prefix
="$exec_prefix"
20015 exec_prefix
="$acl_final_exec_prefix"
20017 exec_prefix
="$acl_save_exec_prefix"
20018 prefix
="$acl_save_prefix"
20020 if test "X$x" = "X$element"; then
20025 if test -z "$haveit"; then
20026 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
20032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20033 $as_echo "no" >&6; }
20037 ac_cpp
='$CXXCPP $CPPFLAGS'
20038 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20039 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20040 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20045 ac_cpp
='$OBJCXXCPP $CPPFLAGS'
20046 ac_compile
='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20047 ac_link
='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20048 ac_compiler_gnu
=$ac_cv_objcxx_compiler_gnu
20050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -ObjC -Wno-empty-body" >&5
20051 $as_echo_n "checking for c++ -ObjC -Wno-empty-body... " >&6; }
20053 cy_save
=$OBJCXXFLAGS
20055 for element
in -Wno-empty-body; do
20057 for x
in $OBJCXXFLAGS; do
20059 acl_save_prefix
="$prefix"
20060 prefix
="$acl_final_prefix"
20061 acl_save_exec_prefix
="$exec_prefix"
20062 exec_prefix
="$acl_final_exec_prefix"
20064 exec_prefix
="$acl_save_exec_prefix"
20065 prefix
="$acl_save_prefix"
20067 if test "X$x" = "X$element"; then
20072 if test -z "$haveit"; then
20073 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
20078 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20079 /* end confdefs.h. */
20082 if ac_fn_objcxx_try_compile
"$LINENO"; then :
20087 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20089 OBJCXXFLAGS
=$cy_save
20090 if test "x$cy_good" = x1
; then :
20091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20092 $as_echo "yes" >&6; }
20094 for element
in -Wno-empty-body; do
20096 for x
in $OBJCXXFLAGS; do
20098 acl_save_prefix
="$prefix"
20099 prefix
="$acl_final_prefix"
20100 acl_save_exec_prefix
="$exec_prefix"
20101 exec_prefix
="$acl_final_exec_prefix"
20103 exec_prefix
="$acl_save_exec_prefix"
20104 prefix
="$acl_save_prefix"
20106 if test "X$x" = "X$element"; then
20111 if test -z "$haveit"; then
20112 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
20118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20119 $as_echo "no" >&6; }
20123 ac_cpp
='$CXXCPP $CPPFLAGS'
20124 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20125 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20126 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20133 ac_cpp
='$CPP $CPPFLAGS'
20134 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20135 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20136 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cc -Wno-overloaded-virtual" >&5
20139 $as_echo_n "checking for cc -Wno-overloaded-virtual... " >&6; }
20143 for element
in -Wno-overloaded-virtual; do
20145 for x
in $CFLAGS; do
20147 acl_save_prefix
="$prefix"
20148 prefix
="$acl_final_prefix"
20149 acl_save_exec_prefix
="$exec_prefix"
20150 exec_prefix
="$acl_final_exec_prefix"
20152 exec_prefix
="$acl_save_exec_prefix"
20153 prefix
="$acl_save_prefix"
20155 if test "X$x" = "X$element"; then
20160 if test -z "$haveit"; then
20161 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
20166 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20167 /* end confdefs.h. */
20170 if ac_fn_c_try_compile
"$LINENO"; then :
20175 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20178 if test "x$cy_good" = x1
; then :
20179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20180 $as_echo "yes" >&6; }
20182 for element
in -Wno-overloaded-virtual; do
20184 for x
in $CFLAGS; do
20186 acl_save_prefix
="$prefix"
20187 prefix
="$acl_final_prefix"
20188 acl_save_exec_prefix
="$exec_prefix"
20189 exec_prefix
="$acl_final_exec_prefix"
20191 exec_prefix
="$acl_save_exec_prefix"
20192 prefix
="$acl_save_prefix"
20194 if test "X$x" = "X$element"; then
20199 if test -z "$haveit"; then
20200 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
20206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20207 $as_echo "no" >&6; }
20211 ac_cpp
='$CXXCPP $CPPFLAGS'
20212 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20213 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20214 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
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
20224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -Wno-overloaded-virtual" >&5
20225 $as_echo_n "checking for c++ -Wno-overloaded-virtual... " >&6; }
20229 for element
in -Wno-overloaded-virtual; do
20231 for x
in $CXXFLAGS; do
20233 acl_save_prefix
="$prefix"
20234 prefix
="$acl_final_prefix"
20235 acl_save_exec_prefix
="$exec_prefix"
20236 exec_prefix
="$acl_final_exec_prefix"
20238 exec_prefix
="$acl_save_exec_prefix"
20239 prefix
="$acl_save_prefix"
20241 if test "X$x" = "X$element"; then
20246 if test -z "$haveit"; then
20247 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
20252 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20253 /* end confdefs.h. */
20256 if ac_fn_cxx_try_compile
"$LINENO"; then :
20261 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20264 if test "x$cy_good" = x1
; then :
20265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20266 $as_echo "yes" >&6; }
20268 for element
in -Wno-overloaded-virtual; do
20270 for x
in $CXXFLAGS; do
20272 acl_save_prefix
="$prefix"
20273 prefix
="$acl_final_prefix"
20274 acl_save_exec_prefix
="$exec_prefix"
20275 exec_prefix
="$acl_final_exec_prefix"
20277 exec_prefix
="$acl_save_exec_prefix"
20278 prefix
="$acl_save_prefix"
20280 if test "X$x" = "X$element"; then
20285 if test -z "$haveit"; then
20286 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
20292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20293 $as_echo "no" >&6; }
20297 ac_cpp
='$CXXCPP $CPPFLAGS'
20298 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20299 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20300 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20305 ac_cpp
='$OBJCXXCPP $CPPFLAGS'
20306 ac_compile
='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20307 ac_link
='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20308 ac_compiler_gnu
=$ac_cv_objcxx_compiler_gnu
20310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -ObjC -Wno-overloaded-virtual" >&5
20311 $as_echo_n "checking for c++ -ObjC -Wno-overloaded-virtual... " >&6; }
20313 cy_save
=$OBJCXXFLAGS
20315 for element
in -Wno-overloaded-virtual; do
20317 for x
in $OBJCXXFLAGS; do
20319 acl_save_prefix
="$prefix"
20320 prefix
="$acl_final_prefix"
20321 acl_save_exec_prefix
="$exec_prefix"
20322 exec_prefix
="$acl_final_exec_prefix"
20324 exec_prefix
="$acl_save_exec_prefix"
20325 prefix
="$acl_save_prefix"
20327 if test "X$x" = "X$element"; then
20332 if test -z "$haveit"; then
20333 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
20338 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20339 /* end confdefs.h. */
20342 if ac_fn_objcxx_try_compile
"$LINENO"; then :
20347 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20349 OBJCXXFLAGS
=$cy_save
20350 if test "x$cy_good" = x1
; then :
20351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20352 $as_echo "yes" >&6; }
20354 for element
in -Wno-overloaded-virtual; do
20356 for x
in $OBJCXXFLAGS; do
20358 acl_save_prefix
="$prefix"
20359 prefix
="$acl_final_prefix"
20360 acl_save_exec_prefix
="$exec_prefix"
20361 exec_prefix
="$acl_final_exec_prefix"
20363 exec_prefix
="$acl_save_exec_prefix"
20364 prefix
="$acl_save_prefix"
20366 if test "X$x" = "X$element"; then
20371 if test -z "$haveit"; then
20372 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
20378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20379 $as_echo "no" >&6; }
20383 ac_cpp
='$CXXCPP $CPPFLAGS'
20384 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20385 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20386 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20393 ac_cpp
='$CPP $CPPFLAGS'
20394 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20395 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20396 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cc -Wno-parentheses" >&5
20399 $as_echo_n "checking for cc -Wno-parentheses... " >&6; }
20403 for element
in -Wno-parentheses; do
20405 for x
in $CFLAGS; do
20407 acl_save_prefix
="$prefix"
20408 prefix
="$acl_final_prefix"
20409 acl_save_exec_prefix
="$exec_prefix"
20410 exec_prefix
="$acl_final_exec_prefix"
20412 exec_prefix
="$acl_save_exec_prefix"
20413 prefix
="$acl_save_prefix"
20415 if test "X$x" = "X$element"; then
20420 if test -z "$haveit"; then
20421 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
20426 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20427 /* end confdefs.h. */
20430 if ac_fn_c_try_compile
"$LINENO"; then :
20435 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20438 if test "x$cy_good" = x1
; then :
20439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20440 $as_echo "yes" >&6; }
20442 for element
in -Wno-parentheses; do
20444 for x
in $CFLAGS; do
20446 acl_save_prefix
="$prefix"
20447 prefix
="$acl_final_prefix"
20448 acl_save_exec_prefix
="$exec_prefix"
20449 exec_prefix
="$acl_final_exec_prefix"
20451 exec_prefix
="$acl_save_exec_prefix"
20452 prefix
="$acl_save_prefix"
20454 if test "X$x" = "X$element"; then
20459 if test -z "$haveit"; then
20460 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
20466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20467 $as_echo "no" >&6; }
20471 ac_cpp
='$CXXCPP $CPPFLAGS'
20472 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20473 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20474 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
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
20484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -Wno-parentheses" >&5
20485 $as_echo_n "checking for c++ -Wno-parentheses... " >&6; }
20489 for element
in -Wno-parentheses; do
20491 for x
in $CXXFLAGS; do
20493 acl_save_prefix
="$prefix"
20494 prefix
="$acl_final_prefix"
20495 acl_save_exec_prefix
="$exec_prefix"
20496 exec_prefix
="$acl_final_exec_prefix"
20498 exec_prefix
="$acl_save_exec_prefix"
20499 prefix
="$acl_save_prefix"
20501 if test "X$x" = "X$element"; then
20506 if test -z "$haveit"; then
20507 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
20512 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20513 /* end confdefs.h. */
20516 if ac_fn_cxx_try_compile
"$LINENO"; then :
20521 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20524 if test "x$cy_good" = x1
; then :
20525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20526 $as_echo "yes" >&6; }
20528 for element
in -Wno-parentheses; do
20530 for x
in $CXXFLAGS; do
20532 acl_save_prefix
="$prefix"
20533 prefix
="$acl_final_prefix"
20534 acl_save_exec_prefix
="$exec_prefix"
20535 exec_prefix
="$acl_final_exec_prefix"
20537 exec_prefix
="$acl_save_exec_prefix"
20538 prefix
="$acl_save_prefix"
20540 if test "X$x" = "X$element"; then
20545 if test -z "$haveit"; then
20546 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
20552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20553 $as_echo "no" >&6; }
20557 ac_cpp
='$CXXCPP $CPPFLAGS'
20558 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20559 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20560 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20565 ac_cpp
='$OBJCXXCPP $CPPFLAGS'
20566 ac_compile
='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20567 ac_link
='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20568 ac_compiler_gnu
=$ac_cv_objcxx_compiler_gnu
20570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -ObjC -Wno-parentheses" >&5
20571 $as_echo_n "checking for c++ -ObjC -Wno-parentheses... " >&6; }
20573 cy_save
=$OBJCXXFLAGS
20575 for element
in -Wno-parentheses; do
20577 for x
in $OBJCXXFLAGS; do
20579 acl_save_prefix
="$prefix"
20580 prefix
="$acl_final_prefix"
20581 acl_save_exec_prefix
="$exec_prefix"
20582 exec_prefix
="$acl_final_exec_prefix"
20584 exec_prefix
="$acl_save_exec_prefix"
20585 prefix
="$acl_save_prefix"
20587 if test "X$x" = "X$element"; then
20592 if test -z "$haveit"; then
20593 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
20598 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20599 /* end confdefs.h. */
20602 if ac_fn_objcxx_try_compile
"$LINENO"; then :
20607 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20609 OBJCXXFLAGS
=$cy_save
20610 if test "x$cy_good" = x1
; then :
20611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20612 $as_echo "yes" >&6; }
20614 for element
in -Wno-parentheses; do
20616 for x
in $OBJCXXFLAGS; do
20618 acl_save_prefix
="$prefix"
20619 prefix
="$acl_final_prefix"
20620 acl_save_exec_prefix
="$exec_prefix"
20621 exec_prefix
="$acl_final_exec_prefix"
20623 exec_prefix
="$acl_save_exec_prefix"
20624 prefix
="$acl_save_prefix"
20626 if test "X$x" = "X$element"; then
20631 if test -z "$haveit"; then
20632 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
20638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20639 $as_echo "no" >&6; }
20643 ac_cpp
='$CXXCPP $CPPFLAGS'
20644 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20645 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20646 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20653 ac_cpp
='$CPP $CPPFLAGS'
20654 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20655 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20656 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cc -Wno-tautological-undefined-compare" >&5
20659 $as_echo_n "checking for cc -Wno-tautological-undefined-compare... " >&6; }
20663 for element
in -Wno-tautological-undefined-compare; do
20665 for x
in $CFLAGS; do
20667 acl_save_prefix
="$prefix"
20668 prefix
="$acl_final_prefix"
20669 acl_save_exec_prefix
="$exec_prefix"
20670 exec_prefix
="$acl_final_exec_prefix"
20672 exec_prefix
="$acl_save_exec_prefix"
20673 prefix
="$acl_save_prefix"
20675 if test "X$x" = "X$element"; then
20680 if test -z "$haveit"; then
20681 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
20686 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20687 /* end confdefs.h. */
20690 if ac_fn_c_try_compile
"$LINENO"; then :
20695 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20698 if test "x$cy_good" = x1
; then :
20699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20700 $as_echo "yes" >&6; }
20702 for element
in -Wno-tautological-undefined-compare; do
20704 for x
in $CFLAGS; do
20706 acl_save_prefix
="$prefix"
20707 prefix
="$acl_final_prefix"
20708 acl_save_exec_prefix
="$exec_prefix"
20709 exec_prefix
="$acl_final_exec_prefix"
20711 exec_prefix
="$acl_save_exec_prefix"
20712 prefix
="$acl_save_prefix"
20714 if test "X$x" = "X$element"; then
20719 if test -z "$haveit"; then
20720 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
20726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20727 $as_echo "no" >&6; }
20731 ac_cpp
='$CXXCPP $CPPFLAGS'
20732 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20733 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20734 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
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
20744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -Wno-tautological-undefined-compare" >&5
20745 $as_echo_n "checking for c++ -Wno-tautological-undefined-compare... " >&6; }
20749 for element
in -Wno-tautological-undefined-compare; do
20751 for x
in $CXXFLAGS; do
20753 acl_save_prefix
="$prefix"
20754 prefix
="$acl_final_prefix"
20755 acl_save_exec_prefix
="$exec_prefix"
20756 exec_prefix
="$acl_final_exec_prefix"
20758 exec_prefix
="$acl_save_exec_prefix"
20759 prefix
="$acl_save_prefix"
20761 if test "X$x" = "X$element"; then
20766 if test -z "$haveit"; then
20767 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
20772 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20773 /* end confdefs.h. */
20776 if ac_fn_cxx_try_compile
"$LINENO"; then :
20781 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20784 if test "x$cy_good" = x1
; then :
20785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20786 $as_echo "yes" >&6; }
20788 for element
in -Wno-tautological-undefined-compare; do
20790 for x
in $CXXFLAGS; do
20792 acl_save_prefix
="$prefix"
20793 prefix
="$acl_final_prefix"
20794 acl_save_exec_prefix
="$exec_prefix"
20795 exec_prefix
="$acl_final_exec_prefix"
20797 exec_prefix
="$acl_save_exec_prefix"
20798 prefix
="$acl_save_prefix"
20800 if test "X$x" = "X$element"; then
20805 if test -z "$haveit"; then
20806 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
20812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20813 $as_echo "no" >&6; }
20817 ac_cpp
='$CXXCPP $CPPFLAGS'
20818 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20819 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20820 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20825 ac_cpp
='$OBJCXXCPP $CPPFLAGS'
20826 ac_compile
='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20827 ac_link
='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20828 ac_compiler_gnu
=$ac_cv_objcxx_compiler_gnu
20830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -ObjC -Wno-tautological-undefined-compare" >&5
20831 $as_echo_n "checking for c++ -ObjC -Wno-tautological-undefined-compare... " >&6; }
20833 cy_save
=$OBJCXXFLAGS
20835 for element
in -Wno-tautological-undefined-compare; do
20837 for x
in $OBJCXXFLAGS; do
20839 acl_save_prefix
="$prefix"
20840 prefix
="$acl_final_prefix"
20841 acl_save_exec_prefix
="$exec_prefix"
20842 exec_prefix
="$acl_final_exec_prefix"
20844 exec_prefix
="$acl_save_exec_prefix"
20845 prefix
="$acl_save_prefix"
20847 if test "X$x" = "X$element"; then
20852 if test -z "$haveit"; then
20853 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
20858 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20859 /* end confdefs.h. */
20862 if ac_fn_objcxx_try_compile
"$LINENO"; then :
20867 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20869 OBJCXXFLAGS
=$cy_save
20870 if test "x$cy_good" = x1
; then :
20871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20872 $as_echo "yes" >&6; }
20874 for element
in -Wno-tautological-undefined-compare; do
20876 for x
in $OBJCXXFLAGS; do
20878 acl_save_prefix
="$prefix"
20879 prefix
="$acl_final_prefix"
20880 acl_save_exec_prefix
="$exec_prefix"
20881 exec_prefix
="$acl_final_exec_prefix"
20883 exec_prefix
="$acl_save_exec_prefix"
20884 prefix
="$acl_save_prefix"
20886 if test "X$x" = "X$element"; then
20891 if test -z "$haveit"; then
20892 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
20898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20899 $as_echo "no" >&6; }
20903 ac_cpp
='$CXXCPP $CPPFLAGS'
20904 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20905 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20906 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20913 ac_cpp
='$CPP $CPPFLAGS'
20914 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20915 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20916 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cc -Wno-unneeded-internal-declaration" >&5
20919 $as_echo_n "checking for cc -Wno-unneeded-internal-declaration... " >&6; }
20923 for element
in -Wno-unneeded-internal-declaration; do
20925 for x
in $CFLAGS; do
20927 acl_save_prefix
="$prefix"
20928 prefix
="$acl_final_prefix"
20929 acl_save_exec_prefix
="$exec_prefix"
20930 exec_prefix
="$acl_final_exec_prefix"
20932 exec_prefix
="$acl_save_exec_prefix"
20933 prefix
="$acl_save_prefix"
20935 if test "X$x" = "X$element"; then
20940 if test -z "$haveit"; then
20941 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
20946 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20947 /* end confdefs.h. */
20950 if ac_fn_c_try_compile
"$LINENO"; then :
20955 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20958 if test "x$cy_good" = x1
; then :
20959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20960 $as_echo "yes" >&6; }
20962 for element
in -Wno-unneeded-internal-declaration; do
20964 for x
in $CFLAGS; do
20966 acl_save_prefix
="$prefix"
20967 prefix
="$acl_final_prefix"
20968 acl_save_exec_prefix
="$exec_prefix"
20969 exec_prefix
="$acl_final_exec_prefix"
20971 exec_prefix
="$acl_save_exec_prefix"
20972 prefix
="$acl_save_prefix"
20974 if test "X$x" = "X$element"; then
20979 if test -z "$haveit"; then
20980 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
20986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20987 $as_echo "no" >&6; }
20991 ac_cpp
='$CXXCPP $CPPFLAGS'
20992 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20993 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20994 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
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
21004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -Wno-unneeded-internal-declaration" >&5
21005 $as_echo_n "checking for c++ -Wno-unneeded-internal-declaration... " >&6; }
21009 for element
in -Wno-unneeded-internal-declaration; do
21011 for x
in $CXXFLAGS; do
21013 acl_save_prefix
="$prefix"
21014 prefix
="$acl_final_prefix"
21015 acl_save_exec_prefix
="$exec_prefix"
21016 exec_prefix
="$acl_final_exec_prefix"
21018 exec_prefix
="$acl_save_exec_prefix"
21019 prefix
="$acl_save_prefix"
21021 if test "X$x" = "X$element"; then
21026 if test -z "$haveit"; then
21027 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
21032 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21033 /* end confdefs.h. */
21036 if ac_fn_cxx_try_compile
"$LINENO"; then :
21041 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21044 if test "x$cy_good" = x1
; then :
21045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21046 $as_echo "yes" >&6; }
21048 for element
in -Wno-unneeded-internal-declaration; do
21050 for x
in $CXXFLAGS; do
21052 acl_save_prefix
="$prefix"
21053 prefix
="$acl_final_prefix"
21054 acl_save_exec_prefix
="$exec_prefix"
21055 exec_prefix
="$acl_final_exec_prefix"
21057 exec_prefix
="$acl_save_exec_prefix"
21058 prefix
="$acl_save_prefix"
21060 if test "X$x" = "X$element"; then
21065 if test -z "$haveit"; then
21066 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
21072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21073 $as_echo "no" >&6; }
21077 ac_cpp
='$CXXCPP $CPPFLAGS'
21078 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21079 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21080 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21085 ac_cpp
='$OBJCXXCPP $CPPFLAGS'
21086 ac_compile
='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21087 ac_link
='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21088 ac_compiler_gnu
=$ac_cv_objcxx_compiler_gnu
21090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -ObjC -Wno-unneeded-internal-declaration" >&5
21091 $as_echo_n "checking for c++ -ObjC -Wno-unneeded-internal-declaration... " >&6; }
21093 cy_save
=$OBJCXXFLAGS
21095 for element
in -Wno-unneeded-internal-declaration; do
21097 for x
in $OBJCXXFLAGS; do
21099 acl_save_prefix
="$prefix"
21100 prefix
="$acl_final_prefix"
21101 acl_save_exec_prefix
="$exec_prefix"
21102 exec_prefix
="$acl_final_exec_prefix"
21104 exec_prefix
="$acl_save_exec_prefix"
21105 prefix
="$acl_save_prefix"
21107 if test "X$x" = "X$element"; then
21112 if test -z "$haveit"; then
21113 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
21118 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21119 /* end confdefs.h. */
21122 if ac_fn_objcxx_try_compile
"$LINENO"; then :
21127 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21129 OBJCXXFLAGS
=$cy_save
21130 if test "x$cy_good" = x1
; then :
21131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21132 $as_echo "yes" >&6; }
21134 for element
in -Wno-unneeded-internal-declaration; do
21136 for x
in $OBJCXXFLAGS; do
21138 acl_save_prefix
="$prefix"
21139 prefix
="$acl_final_prefix"
21140 acl_save_exec_prefix
="$exec_prefix"
21141 exec_prefix
="$acl_final_exec_prefix"
21143 exec_prefix
="$acl_save_exec_prefix"
21144 prefix
="$acl_save_prefix"
21146 if test "X$x" = "X$element"; then
21151 if test -z "$haveit"; then
21152 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
21158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21159 $as_echo "no" >&6; }
21163 ac_cpp
='$CXXCPP $CPPFLAGS'
21164 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21165 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21166 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21175 ac_cpp
='$CPP $CPPFLAGS'
21176 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21177 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21178 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21182 # We used to check for pthread.h first, but this fails if pthread.h
21183 # requires special compiler flags (e.g. on Tru64 or Sequent).
21184 # It gets checked for in the link test anyway.
21186 # First of all, check if the user has set any of the PTHREAD_LIBS,
21187 # etcetera environment variables, and if threads linking works using
21189 if test x
"$PTHREAD_LIBS$PTHREAD_CFLAGS" != x
; then
21190 save_CFLAGS
="$CFLAGS"
21191 CFLAGS
="$CFLAGS $PTHREAD_CFLAGS"
21193 LIBS
="$PTHREAD_LIBS $LIBS"
21194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_join using $CC $PTHREAD_CFLAGS $PTHREAD_LIBS" >&5
21195 $as_echo_n "checking for pthread_join using $CC $PTHREAD_CFLAGS $PTHREAD_LIBS... " >&6; }
21196 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21197 /* end confdefs.h. */
21199 /* Override any GCC internal prototype to avoid an error.
21200 Use char because int might match the return type of a GCC
21201 builtin and then its argument prototype would still apply. */
21205 char pthread_join ();
21209 return pthread_join ();
21214 if ac_fn_c_try_link
"$LINENO"; then :
21217 rm -f core conftest.err conftest.
$ac_objext \
21218 conftest
$ac_exeext conftest.
$ac_ext
21219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_pthread_ok" >&5
21220 $as_echo "$ax_pthread_ok" >&6; }
21221 if test x
"$ax_pthread_ok" = xno
; then
21226 CFLAGS
="$save_CFLAGS"
21229 # We must check for the threads library under a number of different
21230 # names; the ordering is very important because some systems
21231 # (e.g. DEC) have both -lpthread and -lpthreads, where one of the
21232 # libraries is broken (non-POSIX).
21234 # Create a list of thread flags to try. Items starting with a "-" are
21235 # C compiler flags, and other items are library names, except for "none"
21236 # which indicates that we try without any flags at all, and "pthread-config"
21237 # which is a program returning the flags for the Pth emulation library.
21239 ax_pthread_flags
="pthreads none -Kthread -kthread lthread -pthread -pthreads -mt -mthreads pthread --thread-safe pthread-config"
21241 # The ordering *is* (sometimes) important. Some notes on the
21242 # individual items follow:
21244 # pthreads: AIX (must check this before -lpthread)
21245 # none: in case threads are in libc; should be tried before -Kthread and
21246 # other compiler flags to prevent continual compiler warnings
21247 # -Kthread: Sequent (threads in libc, but -Kthread needed for pthread.h)
21248 # -kthread: FreeBSD kernel threads (preferred to -pthread since SMP-able)
21249 # lthread: LinuxThreads port on FreeBSD (also preferred to -pthread)
21250 # -pthread: Linux/gcc (kernel threads), BSD/gcc (userland threads), Tru64
21251 # -pthreads: Solaris/gcc
21252 # -mt: Sun Workshop C (may only link SunOS threads [-lthread], but it
21253 # doesn't hurt to check since this sometimes defines pthreads and
21254 # -D_REENTRANT too), HP C (must be checked before -lpthread, which
21255 # is present but should not be used directly)
21256 # -mthreads: Mingw32/gcc, Lynx/gcc
21257 # pthread: Linux, etcetera
21258 # --thread-safe: KAI C++
21259 # pthread-config: use pthread-config program (for GNU Pth library)
21265 # From the cc(1) man page: "[-mt] Sets various -D flags to enable
21266 # multi-threading and also sets -lpthread."
21268 ax_pthread_flags
="-mt -pthread pthread $ax_pthread_flags"
21273 # IBM z/OS requires a feature-test macro to be defined in order to
21274 # enable POSIX threads at all, so give the user a hint if this is
21275 # not set. (We don't define these ourselves, as they can affect
21276 # other portions of the system API in unpredictable ways.)
21278 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21279 /* end confdefs.h. */
21281 # if !defined(_OPEN_THREADS) && !defined(_UNIX03_THREADS)
21282 AX_PTHREAD_ZOS_MISSING
21286 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21287 $EGREP "AX_PTHREAD_ZOS_MISSING" >/dev
/null
2>&1; then :
21288 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: IBM z/OS requires -D_OPEN_THREADS or -D_UNIX03_THREADS to enable pthreads support." >&5
21289 $as_echo "$as_me: WARNING: IBM z/OS requires -D_OPEN_THREADS or -D_UNIX03_THREADS to enable pthreads support." >&2;}
21297 # Newer versions of Solaris require the "-mt -lpthread" pair, and we
21298 # check that first. On some older versions, libc contains stubbed
21299 # (non-functional) versions of the pthreads routines, so link-based
21300 # tests will erroneously succeed. (We need to link with -pthreads/-mt/
21301 # -lpthread.) (The stubs are missing pthread_cleanup_push, or rather
21302 # a function called by this macro, so we could check for that, but
21303 # who knows whether they'll stub that too in a future libc.) So
21304 # we'll look for -pthreads and -lpthread shortly thereafter.
21306 ax_pthread_flags
="-mt,pthread -pthreads -pthread pthread $ax_pthread_flags"
21310 # Older versions of Clang only give a warning instead of an error for an
21311 # unrecognized option, unless we specify -Werror. (We throw in some extra
21312 # Clang warning flags for good measure.)
21314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler needs certain flags to reject unknown flags" >&5
21315 $as_echo_n "checking if compiler needs certain flags to reject unknown flags... " >&6; }
21316 if ${ax_cv_PTHREAD_REJECT_UNKNOWN+:} false
; then :
21317 $as_echo_n "(cached) " >&6
21319 ax_cv_PTHREAD_REJECT_UNKNOWN
=unknown
21320 save_CFLAGS
="$CFLAGS"
21321 ax_pthread_extra_flags
="-Wunknown-warning-option -Wunused-command-line-argument"
21322 CFLAGS
="$CFLAGS $ax_pthread_extra_flags -Wfoobaz -foobaz"
21323 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21324 /* end confdefs.h. */
21334 if ac_fn_c_try_compile
"$LINENO"; then :
21335 ax_cv_PTHREAD_REJECT_UNKNOWN
="-Werror $ax_pthread_extra_flags"
21337 ax_cv_PTHREAD_REJECT_UNKNOWN
=no
21339 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21340 CFLAGS
="$save_CFLAGS"
21343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_PTHREAD_REJECT_UNKNOWN" >&5
21344 $as_echo "$ax_cv_PTHREAD_REJECT_UNKNOWN" >&6; }
21345 ax_pthread_extra_flags
=
21346 if test "x$ax_cv_PTHREAD_REJECT_UNKNOWN" != "xno"; then :
21347 ax_pthread_extra_flags
="$ax_cv_PTHREAD_REJECT_UNKNOWN"
21350 if test x
"$ax_pthread_ok" = xno
; then
21351 for flag
in $ax_pthread_flags; do
21355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work without any flags" >&5
21356 $as_echo_n "checking whether pthreads work without any flags... " >&6; }
21360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work with -mt -lpthread" >&5
21361 $as_echo_n "checking whether pthreads work with -mt -lpthread... " >&6; }
21362 PTHREAD_CFLAGS
="-mt"
21363 PTHREAD_LIBS
="-lpthread"
21367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work with $flag" >&5
21368 $as_echo_n "checking whether pthreads work with $flag... " >&6; }
21369 PTHREAD_CFLAGS
="$flag"
21373 # Extract the first word of "pthread-config", so it can be a program name with args.
21374 set dummy pthread
-config; ac_word
=$2
21375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21376 $as_echo_n "checking for $ac_word... " >&6; }
21377 if ${ac_cv_prog_ax_pthread_config+:} false
; then :
21378 $as_echo_n "(cached) " >&6
21380 if test -n "$ax_pthread_config"; then
21381 ac_cv_prog_ax_pthread_config
="$ax_pthread_config" # Let the user override the test.
21383 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21384 for as_dir
in $PATH
21387 test -z "$as_dir" && as_dir
=.
21388 for ac_exec_ext
in '' $ac_executable_extensions; do
21389 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
21390 ac_cv_prog_ax_pthread_config
="yes"
21391 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21398 test -z "$ac_cv_prog_ax_pthread_config" && ac_cv_prog_ax_pthread_config
="no"
21401 ax_pthread_config
=$ac_cv_prog_ax_pthread_config
21402 if test -n "$ax_pthread_config"; then
21403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_pthread_config" >&5
21404 $as_echo "$ax_pthread_config" >&6; }
21406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21407 $as_echo "no" >&6; }
21411 if test x
"$ax_pthread_config" = xno
; then continue; fi
21412 PTHREAD_CFLAGS
="`pthread-config --cflags`"
21413 PTHREAD_LIBS
="`pthread-config --ldflags` `pthread-config --libs`"
21417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the pthreads library -l$flag" >&5
21418 $as_echo_n "checking for the pthreads library -l$flag... " >&6; }
21419 PTHREAD_LIBS
="-l$flag"
21424 save_CFLAGS
="$CFLAGS"
21425 LIBS
="$PTHREAD_LIBS $LIBS"
21426 CFLAGS
="$CFLAGS $PTHREAD_CFLAGS $ax_pthread_extra_flags"
21428 # Check for various functions. We must include pthread.h,
21429 # since some functions may be macros. (On the Sequent, we
21430 # need a special flag -Kthread to make this header compile.)
21431 # We check for pthread_join because it is in -lpthread on IRIX
21432 # while pthread_create is in libc. We check for pthread_attr_init
21433 # due to DEC craziness with -lpthreads. We check for
21434 # pthread_cleanup_push because it is one of the few pthread
21435 # functions on Solaris that doesn't have a non-functional libc stub.
21436 # We try pthread_create on general principles.
21437 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21438 /* end confdefs.h. */
21439 #include <pthread.h>
21440 static void routine(void *a) { a = 0; }
21441 static void *start_routine(void *a) { return a; }
21445 pthread_t th; pthread_attr_t attr;
21446 pthread_create(&th, 0, start_routine, 0);
21447 pthread_join(th, 0);
21448 pthread_attr_init(&attr);
21449 pthread_cleanup_push(routine, 0);
21450 pthread_cleanup_pop(0) /* ; */
21455 if ac_fn_c_try_link
"$LINENO"; then :
21458 rm -f core conftest.err conftest.
$ac_objext \
21459 conftest
$ac_exeext conftest.
$ac_ext
21462 CFLAGS
="$save_CFLAGS"
21464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_pthread_ok" >&5
21465 $as_echo "$ax_pthread_ok" >&6; }
21466 if test "x$ax_pthread_ok" = xyes
; then
21475 # Various other checks:
21476 if test "x$ax_pthread_ok" = xyes
; then
21478 LIBS
="$PTHREAD_LIBS $LIBS"
21479 save_CFLAGS
="$CFLAGS"
21480 CFLAGS
="$CFLAGS $PTHREAD_CFLAGS"
21482 # Detect AIX lossage: JOINABLE attribute is called UNDETACHED.
21483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for joinable pthread attribute" >&5
21484 $as_echo_n "checking for joinable pthread attribute... " >&6; }
21485 if ${ax_cv_PTHREAD_JOINABLE_ATTR+:} false
; then :
21486 $as_echo_n "(cached) " >&6
21488 ax_cv_PTHREAD_JOINABLE_ATTR
=unknown
21489 for attr
in PTHREAD_CREATE_JOINABLE PTHREAD_CREATE_UNDETACHED
; do
21490 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21491 /* end confdefs.h. */
21492 #include <pthread.h>
21496 int attr = $attr; return attr /* ; */
21501 if ac_fn_c_try_link
"$LINENO"; then :
21502 ax_cv_PTHREAD_JOINABLE_ATTR
=$attr; break
21504 rm -f core conftest.err conftest.
$ac_objext \
21505 conftest
$ac_exeext conftest.
$ac_ext
21509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_PTHREAD_JOINABLE_ATTR" >&5
21510 $as_echo "$ax_cv_PTHREAD_JOINABLE_ATTR" >&6; }
21511 if test "$ax_cv_PTHREAD_JOINABLE_ATTR" != unknown
&& \
21512 test "$ax_cv_PTHREAD_JOINABLE_ATTR" != PTHREAD_CREATE_JOINABLE
; then :
21514 cat >>confdefs.h
<<_ACEOF
21515 #define PTHREAD_CREATE_JOINABLE $ax_cv_PTHREAD_JOINABLE_ATTR
21520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if more special flags are required for pthreads" >&5
21521 $as_echo_n "checking if more special flags are required for pthreads... " >&6; }
21522 if ${ax_cv_PTHREAD_SPECIAL_FLAGS+:} false
; then :
21523 $as_echo_n "(cached) " >&6
21525 ax_cv_PTHREAD_SPECIAL_FLAGS
=no
21526 ax_pthread_special_flags_added
=no
21527 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21528 /* end confdefs.h. */
21530 # if !defined(_REENTRANT) && !defined(_THREAD_SAFE)
21531 AX_PTHREAD_NEED_SPECIAL_FLAG
21535 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21536 $EGREP "AX_PTHREAD_NEED_SPECIAL_FLAG" >/dev
/null
2>&1; then :
21539 ax_cv_PTHREAD_SPECIAL_FLAGS
="-D_THREAD_SAFE"
21541 darwin
* | hpux
* | osf
* | solaris
*)
21542 ax_cv_PTHREAD_SPECIAL_FLAGS
="-D_REENTRANT"
21551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_PTHREAD_SPECIAL_FLAGS" >&5
21552 $as_echo "$ax_cv_PTHREAD_SPECIAL_FLAGS" >&6; }
21553 if test "x$ax_cv_PTHREAD_SPECIAL_FLAGS" != "xno" && \
21554 test "x$ax_pthread_special_flags_added" != "xyes"; then :
21555 PTHREAD_CFLAGS
="$ax_cv_PTHREAD_SPECIAL_FLAGS $PTHREAD_CFLAGS"
21556 ax_pthread_special_flags_added
=yes
21559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PTHREAD_PRIO_INHERIT" >&5
21560 $as_echo_n "checking for PTHREAD_PRIO_INHERIT... " >&6; }
21561 if ${ax_cv_PTHREAD_PRIO_INHERIT+:} false
; then :
21562 $as_echo_n "(cached) " >&6
21564 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21565 /* end confdefs.h. */
21566 #include <pthread.h>
21570 int i = PTHREAD_PRIO_INHERIT;
21575 if ac_fn_c_try_link
"$LINENO"; then :
21576 ax_cv_PTHREAD_PRIO_INHERIT
=yes
21578 ax_cv_PTHREAD_PRIO_INHERIT
=no
21580 rm -f core conftest.err conftest.
$ac_objext \
21581 conftest
$ac_exeext conftest.
$ac_ext
21584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_PTHREAD_PRIO_INHERIT" >&5
21585 $as_echo "$ax_cv_PTHREAD_PRIO_INHERIT" >&6; }
21586 if test "x$ax_cv_PTHREAD_PRIO_INHERIT" = "xyes"; then :
21588 $as_echo "#define HAVE_PTHREAD_PRIO_INHERIT 1" >>confdefs.h
21593 CFLAGS
="$save_CFLAGS"
21595 # More AIX lossage: compile with *_r variant
21596 if test "x$GCC" != xyes
; then
21600 x
*/c89
|x
*/c89_128
|x
*/c99
|x
*/c99_128
|x
*/cc
|x
*/cc128
|x
*/xlc
|x
*/xlc_v6
|x
*/xlc128
|x
*/xlc128_v6
) :
21601 #handle absolute path differently from PATH based program lookup
21604 if as_fn_executable_p
${CC}_r
; then :
21605 PTHREAD_CC
="${CC}_r"
21608 for ac_prog
in ${CC}_r
21610 # Extract the first word of "$ac_prog", so it can be a program name with args.
21611 set dummy
$ac_prog; ac_word
=$2
21612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21613 $as_echo_n "checking for $ac_word... " >&6; }
21614 if ${ac_cv_prog_PTHREAD_CC+:} false
; then :
21615 $as_echo_n "(cached) " >&6
21617 if test -n "$PTHREAD_CC"; then
21618 ac_cv_prog_PTHREAD_CC
="$PTHREAD_CC" # Let the user override the test.
21620 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21621 for as_dir
in $PATH
21624 test -z "$as_dir" && as_dir
=.
21625 for ac_exec_ext
in '' $ac_executable_extensions; do
21626 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
21627 ac_cv_prog_PTHREAD_CC
="$ac_prog"
21628 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21637 PTHREAD_CC
=$ac_cv_prog_PTHREAD_CC
21638 if test -n "$PTHREAD_CC"; then
21639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PTHREAD_CC" >&5
21640 $as_echo "$PTHREAD_CC" >&6; }
21642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21643 $as_echo "no" >&6; }
21647 test -n "$PTHREAD_CC" && break
21649 test -n "$PTHREAD_CC" || PTHREAD_CC
="$CC"
21660 test -n "$PTHREAD_CC" || PTHREAD_CC
="$CC"
21666 # Finally, execute ACTION-IF-FOUND/ACTION-IF-NOT-FOUND:
21667 if test x
"$ax_pthread_ok" = xyes
; then
21669 $as_echo "#define HAVE_PTHREAD 1" >>confdefs.h
21677 ac_cpp
='$CXXCPP $CPPFLAGS'
21678 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21679 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21680 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21690 # Check whether --enable-javascript was given.
21691 if test "${enable_javascript+set}" = set; then :
21692 enableval
=$enable_javascript;
21693 case $enableval in #(
21701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing JSEvaluateScript" >&5
21702 $as_echo_n "checking for library containing JSEvaluateScript... " >&6; }
21703 if ${ac_cv_search_JSEvaluateScript+:} false
; then :
21704 $as_echo_n "(cached) " >&6
21706 ac_func_search_save_LIBS
=$LIBS
21707 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21708 /* end confdefs.h. */
21710 /* Override any GCC internal prototype to avoid an error.
21711 Use char because int might match the return type of a GCC
21712 builtin and then its argument prototype would still apply. */
21716 char JSEvaluateScript ();
21720 return JSEvaluateScript ();
21725 for ac_lib
in '' JavaScriptCore
; do
21726 if test -z "$ac_lib"; then
21727 ac_res
="none required"
21730 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
21732 if ac_fn_cxx_try_link
"$LINENO"; then :
21733 ac_cv_search_JSEvaluateScript
=$ac_res
21735 rm -f core conftest.err conftest.
$ac_objext \
21737 if ${ac_cv_search_JSEvaluateScript+:} false
; then :
21741 if ${ac_cv_search_JSEvaluateScript+:} false
; then :
21744 ac_cv_search_JSEvaluateScript
=no
21746 rm conftest.
$ac_ext
21747 LIBS
=$ac_func_search_save_LIBS
21749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_JSEvaluateScript" >&5
21750 $as_echo "$ac_cv_search_JSEvaluateScript" >&6; }
21751 ac_res
=$ac_cv_search_JSEvaluateScript
21752 if test "$ac_res" != no
; then :
21753 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
21760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
21761 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
21762 if ${ac_cv_framework_JavaScriptCore+:} false
; then :
21763 $as_echo_n "(cached) " >&6
21766 ac_check_framework_save_LIBS
=$LIBS
21767 LIBS
="-framework JavaScriptCore $LIBS"
21768 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21769 /* end confdefs.h. */
21771 #include <JavaScriptCore/JSBase.h>
21777 JSEvaluateScript(0, 0, 0, 0, 0, 0);
21783 if ac_fn_cxx_try_link
"$LINENO"; then :
21785 ac_cv_framework_JavaScriptCore
=yes
21788 ac_cv_framework_JavaScriptCore
=no
21790 rm -f core conftest.err conftest.
$ac_objext \
21791 conftest
$ac_exeext conftest.
$ac_ext
21792 LIBS
=$ac_check_framework_save_LIBS
21795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
21796 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
21797 if test $ac_cv_framework_JavaScriptCore = yes; then :
21800 for element
in "-framework JavaScriptCore"; do
21804 acl_save_prefix
="$prefix"
21805 prefix
="$acl_final_prefix"
21806 acl_save_exec_prefix
="$exec_prefix"
21807 exec_prefix
="$acl_final_exec_prefix"
21809 exec_prefix
="$acl_save_exec_prefix"
21810 prefix
="$acl_save_prefix"
21812 if test "X$x" = "X$element"; then
21817 if test -z "$haveit"; then
21818 LIBS
="${LIBS}${LIBS:+ }$element"
21829 for cy_webkit_pkg
in "javascriptcoregtk-4.0"; do
21832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
21833 $as_echo_n "checking for WEBKIT... " >&6; }
21835 if test -n "$WEBKIT_CFLAGS"; then
21836 pkg_cv_WEBKIT_CFLAGS
="$WEBKIT_CFLAGS"
21837 elif test -n "$PKG_CONFIG"; then
21838 if test -n "$PKG_CONFIG" && \
21839 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$cy_webkit_pkg\""; } >&5
21840 ($PKG_CONFIG --exists --print-errors "$cy_webkit_pkg") 2>&5
21842 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21843 test $ac_status = 0; }; then
21844 pkg_cv_WEBKIT_CFLAGS
=`$PKG_CONFIG --cflags "$cy_webkit_pkg" 2>/dev/null`
21845 test "x$?" != "x0" && pkg_failed
=yes
21852 if test -n "$WEBKIT_LIBS"; then
21853 pkg_cv_WEBKIT_LIBS
="$WEBKIT_LIBS"
21854 elif test -n "$PKG_CONFIG"; then
21855 if test -n "$PKG_CONFIG" && \
21856 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$cy_webkit_pkg\""; } >&5
21857 ($PKG_CONFIG --exists --print-errors "$cy_webkit_pkg") 2>&5
21859 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21860 test $ac_status = 0; }; then
21861 pkg_cv_WEBKIT_LIBS
=`$PKG_CONFIG --libs "$cy_webkit_pkg" 2>/dev/null`
21862 test "x$?" != "x0" && pkg_failed
=yes
21872 if test $pkg_failed = yes; then
21873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21874 $as_echo "no" >&6; }
21876 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
21877 _pkg_short_errors_supported
=yes
21879 _pkg_short_errors_supported
=no
21881 if test $_pkg_short_errors_supported = yes; then
21882 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$cy_webkit_pkg" 2>&1`
21884 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "$cy_webkit_pkg" 2>&1`
21886 # Put the nasty error message in config.log where it belongs
21887 echo "$WEBKIT_PKG_ERRORS" >&5
21890 elif test $pkg_failed = untried
; then
21891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21892 $as_echo "no" >&6; }
21895 WEBKIT_CFLAGS
=$pkg_cv_WEBKIT_CFLAGS
21896 WEBKIT_LIBS
=$pkg_cv_WEBKIT_LIBS
21897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21898 $as_echo "yes" >&6; }
21903 for element
in `$PKG_CONFIG --cflags $cy_webkit_pkg`; do
21905 for x
in $CPPFLAGS; do
21907 acl_save_prefix
="$prefix"
21908 prefix
="$acl_final_prefix"
21909 acl_save_exec_prefix
="$exec_prefix"
21910 exec_prefix
="$acl_final_exec_prefix"
21912 exec_prefix
="$acl_save_exec_prefix"
21913 prefix
="$acl_save_prefix"
21915 if test "X$x" = "X$element"; then
21920 if test -z "$haveit"; then
21921 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
21926 for element
in `$PKG_CONFIG --libs $cy_webkit_pkg`; do
21930 acl_save_prefix
="$prefix"
21931 prefix
="$acl_final_prefix"
21932 acl_save_exec_prefix
="$exec_prefix"
21933 exec_prefix
="$acl_final_exec_prefix"
21935 exec_prefix
="$acl_save_exec_prefix"
21936 prefix
="$acl_save_prefix"
21938 if test "X$x" = "X$element"; then
21943 if test -z "$haveit"; then
21944 LIBS
="${LIBS}${LIBS:+ }$element"
21949 fi; if test "x$CY_EXECUTE" = x1
; then break; fi
21955 LTJAVASCRIPTCORE
=$LIBS
21970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing JSEvaluateScript" >&5
21971 $as_echo_n "checking for library containing JSEvaluateScript... " >&6; }
21972 if ${ac_cv_search_JSEvaluateScript+:} false
; then :
21973 $as_echo_n "(cached) " >&6
21975 ac_func_search_save_LIBS
=$LIBS
21976 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21977 /* end confdefs.h. */
21979 /* Override any GCC internal prototype to avoid an error.
21980 Use char because int might match the return type of a GCC
21981 builtin and then its argument prototype would still apply. */
21985 char JSEvaluateScript ();
21989 return JSEvaluateScript ();
21994 for ac_lib
in '' JavaScriptCore
; do
21995 if test -z "$ac_lib"; then
21996 ac_res
="none required"
21999 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
22001 if ac_fn_cxx_try_link
"$LINENO"; then :
22002 ac_cv_search_JSEvaluateScript
=$ac_res
22004 rm -f core conftest.err conftest.
$ac_objext \
22006 if ${ac_cv_search_JSEvaluateScript+:} false
; then :
22010 if ${ac_cv_search_JSEvaluateScript+:} false
; then :
22013 ac_cv_search_JSEvaluateScript
=no
22015 rm conftest.
$ac_ext
22016 LIBS
=$ac_func_search_save_LIBS
22018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_JSEvaluateScript" >&5
22019 $as_echo "$ac_cv_search_JSEvaluateScript" >&6; }
22020 ac_res
=$ac_cv_search_JSEvaluateScript
22021 if test "$ac_res" != no
; then :
22022 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
22029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
22030 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
22031 if ${ac_cv_framework_JavaScriptCore+:} false
; then :
22032 $as_echo_n "(cached) " >&6
22035 ac_check_framework_save_LIBS
=$LIBS
22036 LIBS
="-framework JavaScriptCore $LIBS"
22037 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22038 /* end confdefs.h. */
22040 #include <JavaScriptCore/JSBase.h>
22046 JSEvaluateScript(0, 0, 0, 0, 0, 0);
22052 if ac_fn_cxx_try_link
"$LINENO"; then :
22054 ac_cv_framework_JavaScriptCore
=yes
22057 ac_cv_framework_JavaScriptCore
=no
22059 rm -f core conftest.err conftest.
$ac_objext \
22060 conftest
$ac_exeext conftest.
$ac_ext
22061 LIBS
=$ac_check_framework_save_LIBS
22064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
22065 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
22066 if test $ac_cv_framework_JavaScriptCore = yes; then :
22069 for element
in "-framework JavaScriptCore"; do
22073 acl_save_prefix
="$prefix"
22074 prefix
="$acl_final_prefix"
22075 acl_save_exec_prefix
="$exec_prefix"
22076 exec_prefix
="$acl_final_exec_prefix"
22078 exec_prefix
="$acl_save_exec_prefix"
22079 prefix
="$acl_save_prefix"
22081 if test "X$x" = "X$element"; then
22086 if test -z "$haveit"; then
22087 LIBS
="${LIBS}${LIBS:+ }$element"
22098 for cy_webkit_pkg
in "javascriptcoregtk-4.0"; do
22101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
22102 $as_echo_n "checking for WEBKIT... " >&6; }
22104 if test -n "$WEBKIT_CFLAGS"; then
22105 pkg_cv_WEBKIT_CFLAGS
="$WEBKIT_CFLAGS"
22106 elif test -n "$PKG_CONFIG"; then
22107 if test -n "$PKG_CONFIG" && \
22108 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$cy_webkit_pkg\""; } >&5
22109 ($PKG_CONFIG --exists --print-errors "$cy_webkit_pkg") 2>&5
22111 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22112 test $ac_status = 0; }; then
22113 pkg_cv_WEBKIT_CFLAGS
=`$PKG_CONFIG --cflags "$cy_webkit_pkg" 2>/dev/null`
22114 test "x$?" != "x0" && pkg_failed
=yes
22121 if test -n "$WEBKIT_LIBS"; then
22122 pkg_cv_WEBKIT_LIBS
="$WEBKIT_LIBS"
22123 elif test -n "$PKG_CONFIG"; then
22124 if test -n "$PKG_CONFIG" && \
22125 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$cy_webkit_pkg\""; } >&5
22126 ($PKG_CONFIG --exists --print-errors "$cy_webkit_pkg") 2>&5
22128 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22129 test $ac_status = 0; }; then
22130 pkg_cv_WEBKIT_LIBS
=`$PKG_CONFIG --libs "$cy_webkit_pkg" 2>/dev/null`
22131 test "x$?" != "x0" && pkg_failed
=yes
22141 if test $pkg_failed = yes; then
22142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22143 $as_echo "no" >&6; }
22145 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
22146 _pkg_short_errors_supported
=yes
22148 _pkg_short_errors_supported
=no
22150 if test $_pkg_short_errors_supported = yes; then
22151 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$cy_webkit_pkg" 2>&1`
22153 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "$cy_webkit_pkg" 2>&1`
22155 # Put the nasty error message in config.log where it belongs
22156 echo "$WEBKIT_PKG_ERRORS" >&5
22159 elif test $pkg_failed = untried
; then
22160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22161 $as_echo "no" >&6; }
22164 WEBKIT_CFLAGS
=$pkg_cv_WEBKIT_CFLAGS
22165 WEBKIT_LIBS
=$pkg_cv_WEBKIT_LIBS
22166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22167 $as_echo "yes" >&6; }
22172 for element
in `$PKG_CONFIG --cflags $cy_webkit_pkg`; do
22174 for x
in $CPPFLAGS; do
22176 acl_save_prefix
="$prefix"
22177 prefix
="$acl_final_prefix"
22178 acl_save_exec_prefix
="$exec_prefix"
22179 exec_prefix
="$acl_final_exec_prefix"
22181 exec_prefix
="$acl_save_exec_prefix"
22182 prefix
="$acl_save_prefix"
22184 if test "X$x" = "X$element"; then
22189 if test -z "$haveit"; then
22190 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
22195 for element
in `$PKG_CONFIG --libs $cy_webkit_pkg`; do
22199 acl_save_prefix
="$prefix"
22200 prefix
="$acl_final_prefix"
22201 acl_save_exec_prefix
="$exec_prefix"
22202 exec_prefix
="$acl_final_exec_prefix"
22204 exec_prefix
="$acl_save_exec_prefix"
22205 prefix
="$acl_save_prefix"
22207 if test "X$x" = "X$element"; then
22212 if test -z "$haveit"; then
22213 LIBS
="${LIBS}${LIBS:+ }$element"
22218 fi; if test "x$CY_EXECUTE" = x1
; then break; fi
22224 LTJAVASCRIPTCORE
=$LIBS
22230 as_fn_error $?
"Unknown JavaScript engine: $enableval" "$LINENO" 5 ;;
22239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing JSEvaluateScript" >&5
22240 $as_echo_n "checking for library containing JSEvaluateScript... " >&6; }
22241 if ${ac_cv_search_JSEvaluateScript+:} false
; then :
22242 $as_echo_n "(cached) " >&6
22244 ac_func_search_save_LIBS
=$LIBS
22245 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22246 /* end confdefs.h. */
22248 /* Override any GCC internal prototype to avoid an error.
22249 Use char because int might match the return type of a GCC
22250 builtin and then its argument prototype would still apply. */
22254 char JSEvaluateScript ();
22258 return JSEvaluateScript ();
22263 for ac_lib
in '' JavaScriptCore
; do
22264 if test -z "$ac_lib"; then
22265 ac_res
="none required"
22268 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
22270 if ac_fn_cxx_try_link
"$LINENO"; then :
22271 ac_cv_search_JSEvaluateScript
=$ac_res
22273 rm -f core conftest.err conftest.
$ac_objext \
22275 if ${ac_cv_search_JSEvaluateScript+:} false
; then :
22279 if ${ac_cv_search_JSEvaluateScript+:} false
; then :
22282 ac_cv_search_JSEvaluateScript
=no
22284 rm conftest.
$ac_ext
22285 LIBS
=$ac_func_search_save_LIBS
22287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_JSEvaluateScript" >&5
22288 $as_echo "$ac_cv_search_JSEvaluateScript" >&6; }
22289 ac_res
=$ac_cv_search_JSEvaluateScript
22290 if test "$ac_res" != no
; then :
22291 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
22298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
22299 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
22300 if ${ac_cv_framework_JavaScriptCore+:} false
; then :
22301 $as_echo_n "(cached) " >&6
22304 ac_check_framework_save_LIBS
=$LIBS
22305 LIBS
="-framework JavaScriptCore $LIBS"
22306 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22307 /* end confdefs.h. */
22309 #include <JavaScriptCore/JSBase.h>
22315 JSEvaluateScript(0, 0, 0, 0, 0, 0);
22321 if ac_fn_cxx_try_link
"$LINENO"; then :
22323 ac_cv_framework_JavaScriptCore
=yes
22326 ac_cv_framework_JavaScriptCore
=no
22328 rm -f core conftest.err conftest.
$ac_objext \
22329 conftest
$ac_exeext conftest.
$ac_ext
22330 LIBS
=$ac_check_framework_save_LIBS
22333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
22334 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
22335 if test $ac_cv_framework_JavaScriptCore = yes; then :
22338 for element
in "-framework JavaScriptCore"; do
22342 acl_save_prefix
="$prefix"
22343 prefix
="$acl_final_prefix"
22344 acl_save_exec_prefix
="$exec_prefix"
22345 exec_prefix
="$acl_final_exec_prefix"
22347 exec_prefix
="$acl_save_exec_prefix"
22348 prefix
="$acl_save_prefix"
22350 if test "X$x" = "X$element"; then
22355 if test -z "$haveit"; then
22356 LIBS
="${LIBS}${LIBS:+ }$element"
22367 for cy_webkit_pkg
in "javascriptcoregtk-4.0"; do
22370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
22371 $as_echo_n "checking for WEBKIT... " >&6; }
22373 if test -n "$WEBKIT_CFLAGS"; then
22374 pkg_cv_WEBKIT_CFLAGS
="$WEBKIT_CFLAGS"
22375 elif test -n "$PKG_CONFIG"; then
22376 if test -n "$PKG_CONFIG" && \
22377 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$cy_webkit_pkg\""; } >&5
22378 ($PKG_CONFIG --exists --print-errors "$cy_webkit_pkg") 2>&5
22380 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22381 test $ac_status = 0; }; then
22382 pkg_cv_WEBKIT_CFLAGS
=`$PKG_CONFIG --cflags "$cy_webkit_pkg" 2>/dev/null`
22383 test "x$?" != "x0" && pkg_failed
=yes
22390 if test -n "$WEBKIT_LIBS"; then
22391 pkg_cv_WEBKIT_LIBS
="$WEBKIT_LIBS"
22392 elif test -n "$PKG_CONFIG"; then
22393 if test -n "$PKG_CONFIG" && \
22394 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$cy_webkit_pkg\""; } >&5
22395 ($PKG_CONFIG --exists --print-errors "$cy_webkit_pkg") 2>&5
22397 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22398 test $ac_status = 0; }; then
22399 pkg_cv_WEBKIT_LIBS
=`$PKG_CONFIG --libs "$cy_webkit_pkg" 2>/dev/null`
22400 test "x$?" != "x0" && pkg_failed
=yes
22410 if test $pkg_failed = yes; then
22411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22412 $as_echo "no" >&6; }
22414 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
22415 _pkg_short_errors_supported
=yes
22417 _pkg_short_errors_supported
=no
22419 if test $_pkg_short_errors_supported = yes; then
22420 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$cy_webkit_pkg" 2>&1`
22422 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "$cy_webkit_pkg" 2>&1`
22424 # Put the nasty error message in config.log where it belongs
22425 echo "$WEBKIT_PKG_ERRORS" >&5
22428 elif test $pkg_failed = untried
; then
22429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22430 $as_echo "no" >&6; }
22433 WEBKIT_CFLAGS
=$pkg_cv_WEBKIT_CFLAGS
22434 WEBKIT_LIBS
=$pkg_cv_WEBKIT_LIBS
22435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22436 $as_echo "yes" >&6; }
22441 for element
in `$PKG_CONFIG --cflags $cy_webkit_pkg`; do
22443 for x
in $CPPFLAGS; do
22445 acl_save_prefix
="$prefix"
22446 prefix
="$acl_final_prefix"
22447 acl_save_exec_prefix
="$exec_prefix"
22448 exec_prefix
="$acl_final_exec_prefix"
22450 exec_prefix
="$acl_save_exec_prefix"
22451 prefix
="$acl_save_prefix"
22453 if test "X$x" = "X$element"; then
22458 if test -z "$haveit"; then
22459 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
22464 for element
in `$PKG_CONFIG --libs $cy_webkit_pkg`; do
22468 acl_save_prefix
="$prefix"
22469 prefix
="$acl_final_prefix"
22470 acl_save_exec_prefix
="$exec_prefix"
22471 exec_prefix
="$acl_final_exec_prefix"
22473 exec_prefix
="$acl_save_exec_prefix"
22474 prefix
="$acl_save_prefix"
22476 if test "X$x" = "X$element"; then
22481 if test -z "$haveit"; then
22482 LIBS
="${LIBS}${LIBS:+ }$element"
22487 fi; if test "x$CY_EXECUTE" = x1
; then break; fi
22493 LTJAVASCRIPTCORE
=$LIBS
22501 # Check whether --enable-console was given.
22502 if test "${enable_console+set}" = set; then :
22503 enableval
=$enable_console;
22506 if test "x$enable_console" != "xno"; then
22508 CY_CONSOLE_FALSE
='#'
22510 CY_CONSOLE_TRUE
='#'
22515 # Check whether --enable-attach was given.
22516 if test "${enable_attach+set}" = set; then :
22517 enableval
=$enable_attach;
22520 if test "x$enable_attach" != "xno" -a "x$CY_EXECUTE" = x1
; then
22522 CY_ATTACH_FALSE
='#'
22531 if test "x$CY_EXECUTE" = x1
; then
22533 CY_EXECUTE_FALSE
='#'
22535 CY_EXECUTE_TRUE
='#'
22540 if test "x$CY_SYSTEM" = x
; then CY_SYSTEM
=1; fi
22544 case $CY_EXECUTE in #(
22550 for ac_header
in uv.h
22552 ac_fn_cxx_check_header_mongrel
"$LINENO" "uv.h" "ac_cv_header_uv_h" "$ac_includes_default"
22553 if test "x$ac_cv_header_uv_h" = xyes
; then :
22554 cat >>confdefs.h
<<_ACEOF
22555 #define HAVE_UV_H 1
22558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing uv_loop_init" >&5
22559 $as_echo_n "checking for library containing uv_loop_init... " >&6; }
22560 if ${ac_cv_search_uv_loop_init+:} false
; then :
22561 $as_echo_n "(cached) " >&6
22563 ac_func_search_save_LIBS
=$LIBS
22564 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22565 /* end confdefs.h. */
22567 /* Override any GCC internal prototype to avoid an error.
22568 Use char because int might match the return type of a GCC
22569 builtin and then its argument prototype would still apply. */
22573 char uv_loop_init ();
22577 return uv_loop_init ();
22582 for ac_lib
in '' uv
; do
22583 if test -z "$ac_lib"; then
22584 ac_res
="none required"
22587 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
22589 if ac_fn_cxx_try_link
"$LINENO"; then :
22590 ac_cv_search_uv_loop_init
=$ac_res
22592 rm -f core conftest.err conftest.
$ac_objext \
22594 if ${ac_cv_search_uv_loop_init+:} false
; then :
22598 if ${ac_cv_search_uv_loop_init+:} false
; then :
22601 ac_cv_search_uv_loop_init
=no
22603 rm conftest.
$ac_ext
22604 LIBS
=$ac_func_search_save_LIBS
22606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_uv_loop_init" >&5
22607 $as_echo "$ac_cv_search_uv_loop_init" >&6; }
22608 ac_res
=$ac_cv_search_uv_loop_init
22609 if test "$ac_res" != no
; then :
22610 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
22627 for ac_header
in sqlite3.h
22629 ac_fn_cxx_check_header_mongrel
"$LINENO" "sqlite3.h" "ac_cv_header_sqlite3_h" "$ac_includes_default"
22630 if test "x$ac_cv_header_sqlite3_h" = xyes
; then :
22631 cat >>confdefs.h
<<_ACEOF
22632 #define HAVE_SQLITE3_H 1
22635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sqlite3_open_v2" >&5
22636 $as_echo_n "checking for library containing sqlite3_open_v2... " >&6; }
22637 if ${ac_cv_search_sqlite3_open_v2+:} false
; then :
22638 $as_echo_n "(cached) " >&6
22640 ac_func_search_save_LIBS
=$LIBS
22641 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22642 /* end confdefs.h. */
22644 /* Override any GCC internal prototype to avoid an error.
22645 Use char because int might match the return type of a GCC
22646 builtin and then its argument prototype would still apply. */
22650 char sqlite3_open_v2 ();
22654 return sqlite3_open_v2 ();
22659 for ac_lib
in '' sqlite3
; do
22660 if test -z "$ac_lib"; then
22661 ac_res
="none required"
22664 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
22666 if ac_fn_cxx_try_link
"$LINENO"; then :
22667 ac_cv_search_sqlite3_open_v2
=$ac_res
22669 rm -f core conftest.err conftest.
$ac_objext \
22671 if ${ac_cv_search_sqlite3_open_v2+:} false
; then :
22675 if ${ac_cv_search_sqlite3_open_v2+:} false
; then :
22678 ac_cv_search_sqlite3_open_v2
=no
22680 rm conftest.
$ac_ext
22681 LIBS
=$ac_func_search_save_LIBS
22683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sqlite3_open_v2" >&5
22684 $as_echo "$ac_cv_search_sqlite3_open_v2" >&6; }
22685 ac_res
=$ac_cv_search_sqlite3_open_v2
22686 if test "$ac_res" != no
; then :
22687 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
22701 for ac_header
in ffi.h ffi
/ffi.h
22703 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
22704 ac_fn_cxx_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
22705 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
22706 cat >>confdefs.h
<<_ACEOF
22707 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
22718 if test "x$ac_cv_header_ffi_h" = xno
&& test "x$ac_cv_header_ffi_ffi_h" = xno
; then :
22723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBFFI" >&5
22724 $as_echo_n "checking for LIBFFI... " >&6; }
22726 if test -n "$LIBFFI_CFLAGS"; then
22727 pkg_cv_LIBFFI_CFLAGS
="$LIBFFI_CFLAGS"
22728 elif test -n "$PKG_CONFIG"; then
22729 if test -n "$PKG_CONFIG" && \
22730 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libffi\""; } >&5
22731 ($PKG_CONFIG --exists --print-errors "libffi") 2>&5
22733 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22734 test $ac_status = 0; }; then
22735 pkg_cv_LIBFFI_CFLAGS
=`$PKG_CONFIG --cflags "libffi" 2>/dev/null`
22736 test "x$?" != "x0" && pkg_failed
=yes
22743 if test -n "$LIBFFI_LIBS"; then
22744 pkg_cv_LIBFFI_LIBS
="$LIBFFI_LIBS"
22745 elif test -n "$PKG_CONFIG"; then
22746 if test -n "$PKG_CONFIG" && \
22747 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libffi\""; } >&5
22748 ($PKG_CONFIG --exists --print-errors "libffi") 2>&5
22750 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22751 test $ac_status = 0; }; then
22752 pkg_cv_LIBFFI_LIBS
=`$PKG_CONFIG --libs "libffi" 2>/dev/null`
22753 test "x$?" != "x0" && pkg_failed
=yes
22763 if test $pkg_failed = yes; then
22764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22765 $as_echo "no" >&6; }
22767 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
22768 _pkg_short_errors_supported
=yes
22770 _pkg_short_errors_supported
=no
22772 if test $_pkg_short_errors_supported = yes; then
22773 LIBFFI_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libffi" 2>&1`
22775 LIBFFI_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "libffi" 2>&1`
22777 # Put the nasty error message in config.log where it belongs
22778 echo "$LIBFFI_PKG_ERRORS" >&5
22780 as_fn_error $?
"missing \"libffi\"" "$LINENO" 5
22781 elif test $pkg_failed = untried
; then
22782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22783 $as_echo "no" >&6; }
22784 as_fn_error $?
"missing \"libffi\"" "$LINENO" 5
22786 LIBFFI_CFLAGS
=$pkg_cv_LIBFFI_CFLAGS
22787 LIBFFI_LIBS
=$pkg_cv_LIBFFI_LIBS
22788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22789 $as_echo "yes" >&6; }
22792 for element
in `$PKG_CONFIG --cflags libffi`; do
22794 for x
in $CPPFLAGS; do
22796 acl_save_prefix
="$prefix"
22797 prefix
="$acl_final_prefix"
22798 acl_save_exec_prefix
="$exec_prefix"
22799 exec_prefix
="$acl_final_exec_prefix"
22801 exec_prefix
="$acl_save_exec_prefix"
22802 prefix
="$acl_save_prefix"
22804 if test "X$x" = "X$element"; then
22809 if test -z "$haveit"; then
22810 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
22815 for element
in `$PKG_CONFIG --libs libffi`; do
22819 acl_save_prefix
="$prefix"
22820 prefix
="$acl_final_prefix"
22821 acl_save_exec_prefix
="$exec_prefix"
22822 exec_prefix
="$acl_final_exec_prefix"
22824 exec_prefix
="$acl_save_exec_prefix"
22825 prefix
="$acl_save_prefix"
22827 if test "X$x" = "X$element"; then
22832 if test -z "$haveit"; then
22833 LIBS
="${LIBS}${LIBS:+ }$element"
22842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing ffi_call" >&5
22843 $as_echo_n "checking for library containing ffi_call... " >&6; }
22844 if ${ac_cv_search_ffi_call+:} false
; then :
22845 $as_echo_n "(cached) " >&6
22847 ac_func_search_save_LIBS
=$LIBS
22848 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22849 /* end confdefs.h. */
22851 /* Override any GCC internal prototype to avoid an error.
22852 Use char because int might match the return type of a GCC
22853 builtin and then its argument prototype would still apply. */
22861 return ffi_call ();
22866 for ac_lib
in '' ffi
; do
22867 if test -z "$ac_lib"; then
22868 ac_res
="none required"
22871 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
22873 if ac_fn_cxx_try_link
"$LINENO"; then :
22874 ac_cv_search_ffi_call
=$ac_res
22876 rm -f core conftest.err conftest.
$ac_objext \
22878 if ${ac_cv_search_ffi_call+:} false
; then :
22882 if ${ac_cv_search_ffi_call+:} false
; then :
22885 ac_cv_search_ffi_call
=no
22887 rm conftest.
$ac_ext
22888 LIBS
=$ac_func_search_save_LIBS
22890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_ffi_call" >&5
22891 $as_echo "$ac_cv_search_ffi_call" >&6; }
22892 ac_res
=$ac_cv_search_ffi_call
22893 if test "$ac_res" != no
; then :
22894 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
22898 case $ac_cv_search_ffi_call in #(
22903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBFFI" >&5
22904 $as_echo_n "checking for LIBFFI... " >&6; }
22906 if test -n "$LIBFFI_CFLAGS"; then
22907 pkg_cv_LIBFFI_CFLAGS
="$LIBFFI_CFLAGS"
22908 elif test -n "$PKG_CONFIG"; then
22909 if test -n "$PKG_CONFIG" && \
22910 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libffi\""; } >&5
22911 ($PKG_CONFIG --exists --print-errors "libffi") 2>&5
22913 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22914 test $ac_status = 0; }; then
22915 pkg_cv_LIBFFI_CFLAGS
=`$PKG_CONFIG --cflags "libffi" 2>/dev/null`
22916 test "x$?" != "x0" && pkg_failed
=yes
22923 if test -n "$LIBFFI_LIBS"; then
22924 pkg_cv_LIBFFI_LIBS
="$LIBFFI_LIBS"
22925 elif test -n "$PKG_CONFIG"; then
22926 if test -n "$PKG_CONFIG" && \
22927 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libffi\""; } >&5
22928 ($PKG_CONFIG --exists --print-errors "libffi") 2>&5
22930 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22931 test $ac_status = 0; }; then
22932 pkg_cv_LIBFFI_LIBS
=`$PKG_CONFIG --libs "libffi" 2>/dev/null`
22933 test "x$?" != "x0" && pkg_failed
=yes
22943 if test $pkg_failed = yes; then
22944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22945 $as_echo "no" >&6; }
22947 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
22948 _pkg_short_errors_supported
=yes
22950 _pkg_short_errors_supported
=no
22952 if test $_pkg_short_errors_supported = yes; then
22953 LIBFFI_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libffi" 2>&1`
22955 LIBFFI_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "libffi" 2>&1`
22957 # Put the nasty error message in config.log where it belongs
22958 echo "$LIBFFI_PKG_ERRORS" >&5
22960 as_fn_error $?
"missing \"libffi\"" "$LINENO" 5
22961 elif test $pkg_failed = untried
; then
22962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22963 $as_echo "no" >&6; }
22964 as_fn_error $?
"missing \"libffi\"" "$LINENO" 5
22966 LIBFFI_CFLAGS
=$pkg_cv_LIBFFI_CFLAGS
22967 LIBFFI_LIBS
=$pkg_cv_LIBFFI_LIBS
22968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22969 $as_echo "yes" >&6; }
22972 for element
in `$PKG_CONFIG --cflags libffi`; do
22974 for x
in $CPPFLAGS; do
22976 acl_save_prefix
="$prefix"
22977 prefix
="$acl_final_prefix"
22978 acl_save_exec_prefix
="$exec_prefix"
22979 exec_prefix
="$acl_final_exec_prefix"
22981 exec_prefix
="$acl_save_exec_prefix"
22982 prefix
="$acl_save_prefix"
22984 if test "X$x" = "X$element"; then
22989 if test -z "$haveit"; then
22990 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
22995 for element
in `$PKG_CONFIG --libs libffi`; do
22999 acl_save_prefix
="$prefix"
23000 prefix
="$acl_final_prefix"
23001 acl_save_exec_prefix
="$exec_prefix"
23002 exec_prefix
="$acl_final_exec_prefix"
23004 exec_prefix
="$acl_save_exec_prefix"
23005 prefix
="$acl_save_prefix"
23007 if test "X$x" = "X$element"; then
23012 if test -z "$haveit"; then
23013 LIBS
="${LIBS}${LIBS:+ }$element"
23022 for ac_func
in ffi_prep_cif_var
23024 ac_fn_cxx_check_func
"$LINENO" "ffi_prep_cif_var" "ac_cv_func_ffi_prep_cif_var"
23025 if test "x$ac_cv_func_ffi_prep_cif_var" = xyes
; then :
23026 cat >>confdefs.h
<<_ACEOF
23027 #define HAVE_FFI_PREP_CIF_VAR 1
23041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaVM" >&5
23042 $as_echo_n "checking for framework JavaVM... " >&6; }
23043 if ${ac_cv_framework_JavaVM+:} false
; then :
23044 $as_echo_n "(cached) " >&6
23047 ac_check_framework_save_LIBS
=$LIBS
23048 LIBS
="-framework JavaVM $LIBS"
23049 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23050 /* end confdefs.h. */
23052 #include <JavaVM/jni.h>
23057 JNI_GetCreatedJavaVMs(NULL, 0, NULL);
23062 if ac_fn_cxx_try_link
"$LINENO"; then :
23064 ac_cv_framework_JavaVM
=yes
23067 ac_cv_framework_JavaVM
=no
23069 rm -f core conftest.err conftest.
$ac_objext \
23070 conftest
$ac_exeext conftest.
$ac_ext
23071 LIBS
=$ac_check_framework_save_LIBS
23074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaVM" >&5
23075 $as_echo "$ac_cv_framework_JavaVM" >&6; }
23076 if test $ac_cv_framework_JavaVM = yes; then :
23079 for element
in "-framework JavaVM"; do
23083 acl_save_prefix
="$prefix"
23084 prefix
="$acl_final_prefix"
23085 acl_save_exec_prefix
="$exec_prefix"
23086 exec_prefix
="$acl_final_exec_prefix"
23088 exec_prefix
="$acl_save_exec_prefix"
23089 prefix
="$acl_save_prefix"
23091 if test "X$x" = "X$element"; then
23096 if test -z "$haveit"; then
23097 LIBS
="${LIBS}${LIBS:+ }$element"
23107 ac_fn_cxx_check_header_mongrel
"$LINENO" "jni.h" "ac_cv_header_jni_h" "$ac_includes_default"
23108 if test "x$ac_cv_header_jni_h" = xyes
; then :
23115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing JNI_GetCreatedJavaVMs" >&5
23116 $as_echo_n "checking for library containing JNI_GetCreatedJavaVMs... " >&6; }
23117 if ${ac_cv_search_JNI_GetCreatedJavaVMs+:} false
; then :
23118 $as_echo_n "(cached) " >&6
23120 ac_func_search_save_LIBS
=$LIBS
23121 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23122 /* end confdefs.h. */
23124 /* Override any GCC internal prototype to avoid an error.
23125 Use char because int might match the return type of a GCC
23126 builtin and then its argument prototype would still apply. */
23130 char JNI_GetCreatedJavaVMs ();
23134 return JNI_GetCreatedJavaVMs ();
23139 for ac_lib
in '' dvm
; do
23140 if test -z "$ac_lib"; then
23141 ac_res
="none required"
23144 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
23146 if ac_fn_cxx_try_link
"$LINENO"; then :
23147 ac_cv_search_JNI_GetCreatedJavaVMs
=$ac_res
23149 rm -f core conftest.err conftest.
$ac_objext \
23151 if ${ac_cv_search_JNI_GetCreatedJavaVMs+:} false
; then :
23155 if ${ac_cv_search_JNI_GetCreatedJavaVMs+:} false
; then :
23158 ac_cv_search_JNI_GetCreatedJavaVMs
=no
23160 rm conftest.
$ac_ext
23161 LIBS
=$ac_func_search_save_LIBS
23163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_JNI_GetCreatedJavaVMs" >&5
23164 $as_echo "$ac_cv_search_JNI_GetCreatedJavaVMs" >&6; }
23165 ac_res
=$ac_cv_search_JNI_GetCreatedJavaVMs
23166 if test "$ac_res" != no
; then :
23167 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
23188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework Ruby" >&5
23189 $as_echo_n "checking for framework Ruby... " >&6; }
23190 if ${ac_cv_framework_Ruby+:} false
; then :
23191 $as_echo_n "(cached) " >&6
23194 ac_check_framework_save_LIBS
=$LIBS
23195 LIBS
="-framework Ruby $LIBS"
23196 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23197 /* end confdefs.h. */
23199 #include <Ruby/ruby.h>
23209 if ac_fn_cxx_try_link
"$LINENO"; then :
23211 ac_cv_framework_Ruby
=yes
23214 ac_cv_framework_Ruby
=no
23216 rm -f core conftest.err conftest.
$ac_objext \
23217 conftest
$ac_exeext conftest.
$ac_ext
23218 LIBS
=$ac_check_framework_save_LIBS
23221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_Ruby" >&5
23222 $as_echo "$ac_cv_framework_Ruby" >&6; }
23223 if test $ac_cv_framework_Ruby = yes; then :
23226 for element
in "-framework Ruby"; do
23230 acl_save_prefix
="$prefix"
23231 prefix
="$acl_final_prefix"
23232 acl_save_exec_prefix
="$exec_prefix"
23233 exec_prefix
="$acl_final_exec_prefix"
23235 exec_prefix
="$acl_save_exec_prefix"
23236 prefix
="$acl_save_prefix"
23238 if test "X$x" = "X$element"; then
23243 if test -z "$haveit"; then
23244 LIBS
="${LIBS}${LIBS:+ }$element"
23254 for ac_header
in ruby.h
23256 ac_fn_cxx_check_header_mongrel
"$LINENO" "ruby.h" "ac_cv_header_ruby_h" "$ac_includes_default"
23257 if test "x$ac_cv_header_ruby_h" = xyes
; then :
23258 cat >>confdefs.h
<<_ACEOF
23259 #define HAVE_RUBY_H 1
23267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing ruby_init" >&5
23268 $as_echo_n "checking for library containing ruby_init... " >&6; }
23269 if ${ac_cv_search_ruby_init+:} false
; then :
23270 $as_echo_n "(cached) " >&6
23272 ac_func_search_save_LIBS
=$LIBS
23273 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23274 /* end confdefs.h. */
23276 /* Override any GCC internal prototype to avoid an error.
23277 Use char because int might match the return type of a GCC
23278 builtin and then its argument prototype would still apply. */
23286 return ruby_init ();
23291 for ac_lib
in '' ruby
; do
23292 if test -z "$ac_lib"; then
23293 ac_res
="none required"
23296 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
23298 if ac_fn_cxx_try_link
"$LINENO"; then :
23299 ac_cv_search_ruby_init
=$ac_res
23301 rm -f core conftest.err conftest.
$ac_objext \
23303 if ${ac_cv_search_ruby_init+:} false
; then :
23307 if ${ac_cv_search_ruby_init+:} false
; then :
23310 ac_cv_search_ruby_init
=no
23312 rm conftest.
$ac_ext
23313 LIBS
=$ac_func_search_save_LIBS
23315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_ruby_init" >&5
23316 $as_echo "$ac_cv_search_ruby_init" >&6; }
23317 ac_res
=$ac_cv_search_ruby_init
23318 if test "$ac_res" != no
; then :
23319 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
23340 ac_cpp
='$OBJCXXCPP $CPPFLAGS'
23341 ac_compile
='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23342 ac_link
='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23343 ac_compiler_gnu
=$ac_cv_objcxx_compiler_gnu
23346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we really have Objective C++" >&5
23347 $as_echo_n "checking if we really have Objective C++... " >&6; }
23348 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23349 /* end confdefs.h. */
23352 if ac_fn_objcxx_try_compile
"$LINENO"; then :
23355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23356 $as_echo "yes" >&6; }
23359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23360 $as_echo "no" >&6; }
23362 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23364 if test "x$CY_OBJECTIVEC" = x1
; then :
23370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework CoreFoundation" >&5
23371 $as_echo_n "checking for framework CoreFoundation... " >&6; }
23372 if ${ac_cv_framework_CoreFoundation+:} false
; then :
23373 $as_echo_n "(cached) " >&6
23376 ac_check_framework_save_LIBS
=$LIBS
23377 LIBS
="-framework CoreFoundation $LIBS"
23378 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23379 /* end confdefs.h. */
23381 #include <CoreFoundation/CFBase.h>
23386 CFAllocatorGetDefault();
23391 if ac_fn_objcxx_try_link
"$LINENO"; then :
23393 ac_cv_framework_CoreFoundation
=yes
23396 ac_cv_framework_CoreFoundation
=no
23398 rm -f core conftest.err conftest.
$ac_objext \
23399 conftest
$ac_exeext conftest.
$ac_ext
23400 LIBS
=$ac_check_framework_save_LIBS
23403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_CoreFoundation" >&5
23404 $as_echo "$ac_cv_framework_CoreFoundation" >&6; }
23405 if test $ac_cv_framework_CoreFoundation = yes; then :
23408 for element
in "-framework CoreFoundation"; do
23412 acl_save_prefix
="$prefix"
23413 prefix
="$acl_final_prefix"
23414 acl_save_exec_prefix
="$exec_prefix"
23415 exec_prefix
="$acl_final_exec_prefix"
23417 exec_prefix
="$acl_save_exec_prefix"
23418 prefix
="$acl_save_prefix"
23420 if test "X$x" = "X$element"; then
23425 if test -z "$haveit"; then
23426 LIBS
="${LIBS}${LIBS:+ }$element"
23435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework Foundation" >&5
23436 $as_echo_n "checking for framework Foundation... " >&6; }
23437 if ${ac_cv_framework_Foundation+:} false
; then :
23438 $as_echo_n "(cached) " >&6
23441 ac_check_framework_save_LIBS
=$LIBS
23442 LIBS
="-framework Foundation $LIBS"
23443 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23444 /* end confdefs.h. */
23446 #include <Foundation/NSObject.h>
23451 [[NSObject alloc] init];
23456 if ac_fn_objcxx_try_link
"$LINENO"; then :
23458 ac_cv_framework_Foundation
=yes
23461 ac_cv_framework_Foundation
=no
23463 rm -f core conftest.err conftest.
$ac_objext \
23464 conftest
$ac_exeext conftest.
$ac_ext
23465 LIBS
=$ac_check_framework_save_LIBS
23468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_Foundation" >&5
23469 $as_echo "$ac_cv_framework_Foundation" >&6; }
23470 if test $ac_cv_framework_Foundation = yes; then :
23473 for element
in "-framework Foundation"; do
23477 acl_save_prefix
="$prefix"
23478 prefix
="$acl_final_prefix"
23479 acl_save_exec_prefix
="$exec_prefix"
23480 exec_prefix
="$acl_final_exec_prefix"
23482 exec_prefix
="$acl_save_exec_prefix"
23483 prefix
="$acl_save_prefix"
23485 if test "X$x" = "X$element"; then
23490 if test -z "$haveit"; then
23491 LIBS
="${LIBS}${LIBS:+ }$element"
23495 cat >>confdefs.h
<<_ACEOF
23496 #define HAVE_FRAMEWORK_FOUNDATION 1
23506 for ac_prog
in gnustep
-config
23508 # Extract the first word of "$ac_prog", so it can be a program name with args.
23509 set dummy
$ac_prog; ac_word
=$2
23510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23511 $as_echo_n "checking for $ac_word... " >&6; }
23512 if ${ac_cv_prog_GNUSTEP_CONFIG+:} false
; then :
23513 $as_echo_n "(cached) " >&6
23515 if test -n "$GNUSTEP_CONFIG"; then
23516 ac_cv_prog_GNUSTEP_CONFIG
="$GNUSTEP_CONFIG" # Let the user override the test.
23518 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23519 for as_dir
in $PATH
23522 test -z "$as_dir" && as_dir
=.
23523 for ac_exec_ext
in '' $ac_executable_extensions; do
23524 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
23525 ac_cv_prog_GNUSTEP_CONFIG
="$ac_prog"
23526 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23535 GNUSTEP_CONFIG
=$ac_cv_prog_GNUSTEP_CONFIG
23536 if test -n "$GNUSTEP_CONFIG"; then
23537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNUSTEP_CONFIG" >&5
23538 $as_echo "$GNUSTEP_CONFIG" >&6; }
23540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23541 $as_echo "no" >&6; }
23545 test -n "$GNUSTEP_CONFIG" && break
23549 if test "x$GNUSTEP_CONFIG" != x
; then :
23553 for element
in `$GNUSTEP_CONFIG --objc-flags`; do
23555 for x
in $OBJCXXFLAGS; do
23557 acl_save_prefix
="$prefix"
23558 prefix
="$acl_final_prefix"
23559 acl_save_exec_prefix
="$exec_prefix"
23560 exec_prefix
="$acl_final_exec_prefix"
23562 exec_prefix
="$acl_save_exec_prefix"
23563 prefix
="$acl_save_prefix"
23565 if test "X$x" = "X$element"; then
23570 if test -z "$haveit"; then
23571 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
23576 for element
in `$GNUSTEP_CONFIG --base-libs`; do
23580 acl_save_prefix
="$prefix"
23581 prefix
="$acl_final_prefix"
23582 acl_save_exec_prefix
="$exec_prefix"
23583 exec_prefix
="$acl_final_exec_prefix"
23585 exec_prefix
="$acl_save_exec_prefix"
23586 prefix
="$acl_save_prefix"
23588 if test "X$x" = "X$element"; then
23593 if test -z "$haveit"; then
23594 LIBS
="${LIBS}${LIBS:+ }$element"
23613 ac_cpp
='$CXXCPP $CPPFLAGS'
23614 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23615 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23616 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23623 if test "x$CY_JAVA" = x1
; then
23631 if test "x$CY_RUBY" = x1
; then
23639 if test "x$CY_OBJECTIVEC" = x1
; then
23640 CY_OBJECTIVEC_TRUE
=
23641 CY_OBJECTIVEC_FALSE
='#'
23643 CY_OBJECTIVEC_TRUE
='#'
23644 CY_OBJECTIVEC_FALSE
=
23649 # Check whether --with-libclang was given.
23650 if test "${with_libclang+set}" = set; then :
23651 withval
=$with_libclang;
23657 if test "x$with_libclang" != "xno"; then :
23659 CY_LIBCLANG
="$with_libclang"
23662 if test "x$with_libclang" != "xno"; then
23664 CY_PRELINK_FALSE
='#'
23666 CY_PRELINK_TRUE
='#'
23675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a readline compatible library" >&5
23676 $as_echo_n "checking for a readline compatible library... " >&6; }
23677 if ${ax_cv_lib_readline+:} false
; then :
23678 $as_echo_n "(cached) " >&6
23682 for readline_lib
in readline edit editline
; do
23683 for termcap_lib
in "" termcap curses ncurses
; do
23684 if test -z "$termcap_lib"; then
23685 TRY_LIB
="-l$readline_lib"
23687 TRY_LIB
="-l$readline_lib -l$termcap_lib"
23689 LIBS
="$ORIG_LIBS $TRY_LIB"
23690 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23691 /* end confdefs.h. */
23693 /* Override any GCC internal prototype to avoid an error.
23694 Use char because int might match the return type of a GCC
23695 builtin and then its argument prototype would still apply. */
23703 return readline ();
23708 if ac_fn_cxx_try_link
"$LINENO"; then :
23709 ax_cv_lib_readline
="$TRY_LIB"
23711 rm -f core conftest.err conftest.
$ac_objext \
23712 conftest
$ac_exeext conftest.
$ac_ext
23713 if test -n "$ax_cv_lib_readline"; then
23717 if test -n "$ax_cv_lib_readline"; then
23721 if test -z "$ax_cv_lib_readline"; then
23722 ax_cv_lib_readline
="no"
23727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_lib_readline" >&5
23728 $as_echo "$ax_cv_lib_readline" >&6; }
23730 if test "$ax_cv_lib_readline" != "no"; then
23731 LIBS
="$LIBS $ax_cv_lib_readline"
23733 $as_echo "#define HAVE_LIBREADLINE 1" >>confdefs.h
23735 for ac_header
in readline.h readline
/readline.h
23737 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
23738 ac_fn_cxx_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
23739 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
23740 cat >>confdefs.h
<<_ACEOF
23741 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
23748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether readline supports history" >&5
23749 $as_echo_n "checking whether readline supports history... " >&6; }
23750 if ${ax_cv_lib_readline_history+:} false
; then :
23751 $as_echo_n "(cached) " >&6
23754 ax_cv_lib_readline_history
="no"
23755 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23756 /* end confdefs.h. */
23758 /* Override any GCC internal prototype to avoid an error.
23759 Use char because int might match the return type of a GCC
23760 builtin and then its argument prototype would still apply. */
23764 char add_history ();
23768 return add_history ();
23773 if ac_fn_cxx_try_link
"$LINENO"; then :
23774 ax_cv_lib_readline_history
="yes"
23776 rm -f core conftest.err conftest.
$ac_objext \
23777 conftest
$ac_exeext conftest.
$ac_ext
23780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_lib_readline_history" >&5
23781 $as_echo "$ax_cv_lib_readline_history" >&6; }
23782 if test "$ax_cv_lib_readline_history" = "yes"; then
23784 $as_echo "#define HAVE_READLINE_HISTORY 1" >>confdefs.h
23786 for ac_header
in history.h readline
/history.h
23788 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
23789 ac_fn_cxx_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
23790 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
23791 cat >>confdefs.h
<<_ACEOF
23792 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
23802 LTLIBREADLINE
=$LIBS
23806 case $ax_cv_lib_readline in #(
23808 as_fn_error $?
"missing \"libreadline\"" "$LINENO" 5 ;; #(
23816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing cur_term" >&5
23817 $as_echo_n "checking for library containing cur_term... " >&6; }
23818 if ${ac_cv_search_cur_term+:} false
; then :
23819 $as_echo_n "(cached) " >&6
23821 ac_func_search_save_LIBS
=$LIBS
23822 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23823 /* end confdefs.h. */
23825 /* Override any GCC internal prototype to avoid an error.
23826 Use char because int might match the return type of a GCC
23827 builtin and then its argument prototype would still apply. */
23835 return cur_term ();
23840 for ac_lib
in '' termcap ncurses
; do
23841 if test -z "$ac_lib"; then
23842 ac_res
="none required"
23845 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
23847 if ac_fn_cxx_try_link
"$LINENO"; then :
23848 ac_cv_search_cur_term
=$ac_res
23850 rm -f core conftest.err conftest.
$ac_objext \
23852 if ${ac_cv_search_cur_term+:} false
; then :
23856 if ${ac_cv_search_cur_term+:} false
; then :
23859 ac_cv_search_cur_term
=no
23861 rm conftest.
$ac_ext
23862 LIBS
=$ac_func_search_save_LIBS
23864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_cur_term" >&5
23865 $as_echo "$ac_cv_search_cur_term" >&6; }
23866 ac_res
=$ac_cv_search_cur_term
23867 if test "$ac_res" != no
; then :
23868 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
23883 ac_config_files
="$ac_config_files Makefile"
23885 cat >confcache
<<\_ACEOF
23886 # This file is a shell script that caches the results of configure
23887 # tests run on this system so they can be shared between configure
23888 # scripts and configure runs, see configure's option --config-cache.
23889 # It is not useful on other systems. If it contains results you don't
23890 # want to keep, you may remove or edit it.
23892 # config.status only pays attention to the cache file if you give it
23893 # the --recheck option to rerun configure.
23895 # `ac_cv_env_foo' variables (set or unset) will be overridden when
23896 # loading this file, other *unset* `ac_cv_foo' will be assigned the
23897 # following values.
23901 # The following way of writing the cache mishandles newlines in values,
23902 # but we know of no workaround that is simple, portable, and efficient.
23903 # So, we kill variables containing newlines.
23904 # Ultrix sh set writes to stderr and can't be redirected directly,
23905 # and sets the high bit in the cache file unless we assign to the vars.
23907 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
23908 eval ac_val
=\$
$ac_var
23912 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
23913 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
23916 _
| IFS
| as_nl
) ;; #(
23917 BASH_ARGV
| BASH_SOURCE
) eval $ac_var= ;; #(
23918 *) { eval $ac_var=; unset $ac_var;} ;;
23924 case $as_nl`(ac_space=' '; set) 2>&1` in #(
23925 *${as_nl}ac_space
=\
*)
23926 # `set' does not quote correctly, so add quotes: double-quote
23927 # substitution turns \\\\ into \\, and sed turns \\ into \.
23930 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
23933 # `set' quotes correctly as required by POSIX, so do not add quotes.
23934 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
23943 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
23945 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
23947 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
23948 if test -w "$cache_file"; then
23949 if test "x$cache_file" != "x/dev/null"; then
23950 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
23951 $as_echo "$as_me: updating cache $cache_file" >&6;}
23952 if test ! -f "$cache_file" || test -h "$cache_file"; then
23953 cat confcache
>"$cache_file"
23955 case $cache_file in #(
23957 mv -f confcache
"$cache_file"$$
&&
23958 mv -f "$cache_file"$$
"$cache_file" ;; #(
23960 mv -f confcache
"$cache_file" ;;
23965 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
23966 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
23971 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
23972 # Let make expand exec_prefix.
23973 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
23975 DEFS
=-DHAVE_CONFIG_H
23980 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
23981 # 1. Remove the extension, and $U if already installed.
23982 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
23983 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
23984 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
23985 # will be set to the directory where LIBOBJS objects are built.
23986 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
23987 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
23989 LIBOBJS
=$ac_libobjs
23991 LTLIBOBJS
=$ac_ltlibobjs
23994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
23995 $as_echo_n "checking that generated files are newer than configure... " >&6; }
23996 if test -n "$am_sleep_pid"; then
23997 # Hide warnings about reused PIDs.
23998 wait $am_sleep_pid 2>/dev
/null
24000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
24001 $as_echo "done" >&6; }
24002 if test -n "$EXEEXT"; then
24004 am__EXEEXT_FALSE
='#'
24006 am__EXEEXT_TRUE
='#'
24010 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
24011 as_fn_error $?
"conditional \"MAINTAINER_MODE\" was never defined.
24012 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24014 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
24015 as_fn_error $?
"conditional \"AMDEP\" was never defined.
24016 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24018 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
24019 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
24020 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24022 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
24023 as_fn_error $?
"conditional \"am__fastdepCXX\" was never defined.
24024 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24026 if test -z "${am__fastdepOBJCXX_TRUE}" && test -z "${am__fastdepOBJCXX_FALSE}"; then
24027 as_fn_error $?
"conditional \"am__fastdepOBJCXX\" was never defined.
24028 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24030 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
24031 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
24032 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24034 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
24035 as_fn_error $?
"conditional \"am__fastdepCXX\" was never defined.
24036 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24038 if test -z "${CY_CONSOLE_TRUE}" && test -z "${CY_CONSOLE_FALSE}"; then
24039 as_fn_error $?
"conditional \"CY_CONSOLE\" was never defined.
24040 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24042 if test -z "${CY_ATTACH_TRUE}" && test -z "${CY_ATTACH_FALSE}"; then
24043 as_fn_error $?
"conditional \"CY_ATTACH\" was never defined.
24044 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24046 if test -z "${CY_EXECUTE_TRUE}" && test -z "${CY_EXECUTE_FALSE}"; then
24047 as_fn_error $?
"conditional \"CY_EXECUTE\" was never defined.
24048 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24050 if test -z "${CY_JAVA_TRUE}" && test -z "${CY_JAVA_FALSE}"; then
24051 as_fn_error $?
"conditional \"CY_JAVA\" was never defined.
24052 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24054 if test -z "${CY_RUBY_TRUE}" && test -z "${CY_RUBY_FALSE}"; then
24055 as_fn_error $?
"conditional \"CY_RUBY\" was never defined.
24056 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24058 if test -z "${CY_OBJECTIVEC_TRUE}" && test -z "${CY_OBJECTIVEC_FALSE}"; then
24059 as_fn_error $?
"conditional \"CY_OBJECTIVEC\" was never defined.
24060 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24062 if test -z "${CY_PRELINK_TRUE}" && test -z "${CY_PRELINK_FALSE}"; then
24063 as_fn_error $?
"conditional \"CY_PRELINK\" was never defined.
24064 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24067 : "${CONFIG_STATUS=./config.status}"
24069 ac_clean_files_save
=$ac_clean_files
24070 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
24071 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
24072 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
24074 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
24076 # Generated by $as_me.
24077 # Run this file to recreate the current configuration.
24078 # Compiler output produced by configure, useful for debugging
24079 # configure, is in config.log if it exists.
24082 ac_cs_recheck=false
24085 SHELL=\${CONFIG_SHELL-$SHELL}
24088 cat >>$CONFIG_STATUS <<\_ASEOF
|| as_write_fail
=1
24089 ## -------------------- ##
24090 ## M4sh Initialization. ##
24091 ## -------------------- ##
24093 # Be more Bourne compatible
24094 DUALCASE
=1; export DUALCASE
# for MKS sh
24095 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
24098 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
24099 # is contrary to our usage. Disable this feature.
24100 alias -g '${1+"$@"}'='"$@"'
24101 setopt NO_GLOB_SUBST
24103 case `(set -o) 2>/dev/null` in #(
24115 # Printing a long string crashes Solaris 7 /usr/bin/printf.
24116 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
24117 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
24118 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
24119 # Prefer a ksh shell builtin over an external printf program on Solaris,
24120 # but without wasting forks for bash or zsh.
24121 if test -z "$BASH_VERSION$ZSH_VERSION" \
24122 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
24123 as_echo='print
-r --'
24124 as_echo_n='print
-rn --'
24125 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
24126 as_echo='printf %s
\n'
24127 as_echo_n='printf %s
'
24129 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
24130 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
24131 as_echo_n='/usr
/ucb
/echo -n'
24133 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
24134 as_echo_n_body='eval
24138 expr "X$arg" : "X\\(.*\\)$as_nl";
24139 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
24141 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
24143 export as_echo_n_body
24144 as_echo_n='sh
-c $as_echo_n_body as_echo
'
24146 export as_echo_body
24147 as_echo='sh
-c $as_echo_body as_echo
'
24150 # The user is always right.
24151 if test "${PATH_SEPARATOR+set}" != set; then
24153 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
24154 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
24161 # We need space, tab and new line, in precisely that order. Quoting is
24162 # there to prevent editors from complaining about space-tab.
24163 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
24164 # splitting by setting IFS to empty value.)
24167 # Find who we are. Look in the path if we contain no directory separator.
24170 *[\\/]* ) as_myself=$0 ;;
24171 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24172 for as_dir in $PATH
24175 test -z "$as_dir" && as_dir=.
24176 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
24182 # We did not find ourselves, most probably we were run as `sh COMMAND'
24183 # in which case we are not to be found in the path.
24184 if test "x$as_myself" = x
; then
24187 if test ! -f "$as_myself"; then
24188 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
24192 # Unset variables that we do not need and which cause bugs (e.g. in
24193 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
24194 # suppresses any "Segmentation fault" message there. '((' could
24195 # trigger a bug in pdksh 5.2.14.
24196 for as_var
in BASH_ENV ENV MAIL MAILPATH
24197 do eval test x\
${$as_var+set} = xset \
24198 && ( (unset $as_var) || exit 1) >/dev
/null
2>&1 && unset $as_var || :
24211 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
24214 # as_fn_error STATUS ERROR [LINENO LOG_FD]
24215 # ----------------------------------------
24216 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
24217 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
24218 # script with STATUS, using 1 if that was 0.
24221 as_status
=$1; test $as_status -eq 0 && as_status
=1
24223 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
24224 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
24226 $as_echo "$as_me: error: $2" >&2
24227 as_fn_exit
$as_status
24231 # as_fn_set_status STATUS
24232 # -----------------------
24233 # Set $? to STATUS, without forking.
24234 as_fn_set_status
()
24237 } # as_fn_set_status
24239 # as_fn_exit STATUS
24240 # -----------------
24241 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
24245 as_fn_set_status
$1
24251 # Portably unset VAR.
24254 { eval $1=; unset $1;}
24256 as_unset
=as_fn_unset
24257 # as_fn_append VAR VALUE
24258 # ----------------------
24259 # Append the text in VALUE to the end of the definition contained in VAR. Take
24260 # advantage of any shell optimizations that allow amortized linear growth over
24261 # repeated appends, instead of the typical quadratic growth present in naive
24263 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
24264 eval 'as_fn_append ()
24275 # as_fn_arith ARG...
24276 # ------------------
24277 # Perform arithmetic evaluation on the ARGs, and store the result in the
24278 # global $as_val. Take advantage of shells that can avoid forks. The arguments
24279 # must be portable across $(()) and expr.
24280 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
24281 eval 'as_fn_arith ()
24288 as_val
=`expr "$@" || test $? -eq 1`
24293 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
24294 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
24300 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
24301 as_basename
=basename
24306 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
24312 as_me
=`$as_basename -- "$0" ||
24313 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
24314 X"$0" : 'X\(//\)$' \| \
24315 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
24317 sed '/^.*\/\([^/][^/]*\)\/*$/{
24331 # Avoid depending upon Character Ranges.
24332 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
24333 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
24334 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
24335 as_cr_digits
='0123456789'
24336 as_cr_alnum
=$as_cr_Letters$as_cr_digits
24338 ECHO_C
= ECHO_N
= ECHO_T
=
24339 case `echo -n x` in #(((((
24341 case `echo 'xy\c'` in
24342 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
24344 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
24351 rm -f conf$$ conf$$.exe conf$$.
file
24352 if test -d conf$$.dir
; then
24353 rm -f conf$$.dir
/conf$$.
file
24356 mkdir conf$$.dir
2>/dev
/null
24358 if (echo >conf$$.
file) 2>/dev
/null
; then
24359 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
24361 # ... but there are two gotchas:
24362 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
24363 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
24364 # In both cases, we have to default to `cp -pR'.
24365 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
24367 elif ln conf$$.
file conf$$
2>/dev
/null
; then
24375 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
24376 rmdir conf$$.dir
2>/dev
/null
24381 # Create "$as_dir" as a directory, including parents if necessary.
24386 -*) as_dir
=.
/$as_dir;;
24388 test -d "$as_dir" || eval $as_mkdir_p || {
24392 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
24393 *) as_qdir
=$as_dir;;
24395 as_dirs
="'$as_qdir' $as_dirs"
24396 as_dir
=`$as_dirname -- "$as_dir" ||
24397 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24398 X"$as_dir" : 'X\(//\)[^/]' \| \
24399 X"$as_dir" : 'X\(//\)$' \| \
24400 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
24401 $as_echo X"$as_dir" |
24402 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
24406 /^X\(\/\/\)[^/].*/{
24419 test -d "$as_dir" && break
24421 test -z "$as_dirs" || eval "mkdir $as_dirs"
24422 } || test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
24426 if mkdir -p .
2>/dev
/null
; then
24427 as_mkdir_p
='mkdir -p "$as_dir"'
24429 test -d .
/-p && rmdir .
/-p
24434 # as_fn_executable_p FILE
24435 # -----------------------
24436 # Test if FILE is an executable regular file.
24437 as_fn_executable_p
()
24439 test -f "$1" && test -x "$1"
24440 } # as_fn_executable_p
24441 as_test_x
='test -x'
24442 as_executable_p
=as_fn_executable_p
24444 # Sed expression to map a string onto a valid CPP name.
24445 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
24447 # Sed expression to map a string onto a valid variable name.
24448 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
24452 ## ----------------------------------- ##
24453 ## Main body of $CONFIG_STATUS script. ##
24454 ## ----------------------------------- ##
24456 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
24458 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
24459 # Save the log message, to keep $0 and so on meaningful, and to
24460 # report actual input values of CONFIG_FILES etc. instead of their
24461 # values after options handling.
24463 This file was extended by Cycript $as_me 0.9, which was
24464 generated by GNU Autoconf 2.69. Invocation command line was
24466 CONFIG_FILES = $CONFIG_FILES
24467 CONFIG_HEADERS = $CONFIG_HEADERS
24468 CONFIG_LINKS = $CONFIG_LINKS
24469 CONFIG_COMMANDS = $CONFIG_COMMANDS
24472 on `(hostname || uname -n) 2>/dev/null | sed 1q`
24477 case $ac_config_files in *"
24478 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
24481 case $ac_config_headers in *"
24482 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
24486 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
24487 # Files that config.status was made for.
24488 config_files="$ac_config_files"
24489 config_headers="$ac_config_headers"
24490 config_commands="$ac_config_commands"
24494 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
24496 \`$as_me' instantiates files and other configuration actions
24497 from templates according to the current configuration. Unless the files
24498 and actions are specified as TAGs, all are instantiated by default.
24500 Usage: $0 [OPTION]... [TAG]...
24502 -h, --help print this help, then exit
24503 -V, --version print version number and configuration settings, then exit
24504 --config print configuration, then exit
24505 -q, --quiet, --silent
24506 do not print progress messages
24507 -d, --debug don't remove temporary files
24508 --recheck update $as_me by reconfiguring in the same conditions
24509 --file=FILE[:TEMPLATE]
24510 instantiate the configuration file FILE
24511 --header=FILE[:TEMPLATE]
24512 instantiate the configuration header FILE
24514 Configuration files:
24517 Configuration headers:
24520 Configuration commands:
24523 Report bugs to <saurik@saurik.com>.
24524 Cycript home page: <http://www.cycript.org/>."
24527 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
24528 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
24530 Cycript config.status 0.9
24531 configured by $0, generated by GNU Autoconf 2.69,
24532 with options \\"\$ac_cs_config\\"
24534 Copyright (C) 2012 Free Software Foundation, Inc.
24535 This config.status script is free software; the Free Software Foundation
24536 gives unlimited permission to copy, distribute and modify it."
24543 test -n "\$AWK" || AWK=awk
24546 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
24547 # The default lists apply if the user does not specify any file.
24553 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
24554 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
24558 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
24570 # Handling of the options.
24571 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
24573 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
24574 $as_echo "$ac_cs_version"; exit ;;
24575 --config | --confi | --conf | --con | --co | --c )
24576 $as_echo "$ac_cs_config"; exit ;;
24577 --debug | --debu | --deb | --de | --d | -d )
24579 --file | --fil | --fi | --f )
24582 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
24583 '') as_fn_error $?
"missing file argument" ;;
24585 as_fn_append CONFIG_FILES
" '$ac_optarg'"
24586 ac_need_defaults
=false
;;
24587 --header | --heade | --head | --hea )
24590 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
24592 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
24593 ac_need_defaults
=false
;;
24595 # Conflict between --help and --header
24596 as_fn_error $?
"ambiguous option: \`$1'
24597 Try \`$0 --help' for more information.";;
24598 --help | --hel | -h )
24599 $as_echo "$ac_cs_usage"; exit ;;
24600 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
24601 | -silent | --silent | --silen | --sile | --sil | --si | --s)
24604 # This is an error.
24605 -*) as_fn_error $?
"unrecognized option: \`$1'
24606 Try \`$0 --help' for more information." ;;
24608 *) as_fn_append ac_config_targets
" $1"
24609 ac_need_defaults
=false
;;
24615 ac_configure_extra_args
=
24617 if $ac_cs_silent; then
24619 ac_configure_extra_args
="$ac_configure_extra_args --silent"
24623 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
24624 if \$ac_cs_recheck; then
24625 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
24627 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
24628 CONFIG_SHELL='$SHELL'
24629 export CONFIG_SHELL
24634 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
24638 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
24639 ## Running $as_me. ##
24645 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
24649 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
24652 # The HP-UX ksh and POSIX shell print the target directory to stdout
24653 # if CDPATH is set.
24654 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
24656 sed_quote_subst='$sed_quote_subst'
24657 double_quote_subst='$double_quote_subst'
24658 delay_variable_subst='$delay_variable_subst'
24659 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
24660 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
24661 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
24662 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
24663 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
24664 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
24665 shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
24666 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
24667 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
24668 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
24669 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
24670 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
24671 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
24672 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
24673 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
24674 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
24675 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
24676 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
24677 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
24678 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
24679 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
24680 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
24681 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
24682 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
24683 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
24684 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
24685 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
24686 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
24687 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
24688 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
24689 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
24690 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
24691 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
24692 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
24693 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
24694 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
24695 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
24696 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
24697 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
24698 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
24699 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
24700 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
24701 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
24702 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
24703 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
24704 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
24705 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
24706 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
24707 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
24708 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
24709 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
24710 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
24711 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
24712 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
24713 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
24714 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
24715 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
24716 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
24717 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"`'
24718 lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
24719 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
24720 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
24721 lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
24722 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
24723 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
24724 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
24725 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
24726 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
24727 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
24728 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
24729 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
24730 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
24731 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
24732 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
24733 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
24734 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
24735 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
24736 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
24737 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
24738 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
24739 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
24740 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
24741 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
24742 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
24743 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
24744 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
24745 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
24746 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
24747 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
24748 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
24749 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
24750 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
24751 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
24752 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
24753 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
24754 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
24755 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
24756 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
24757 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
24758 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
24759 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
24760 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
24761 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
24762 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
24763 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
24764 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
24765 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
24766 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
24767 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
24768 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
24769 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
24770 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
24771 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
24772 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
24773 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
24774 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
24775 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
24776 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
24777 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
24778 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
24779 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
24780 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
24781 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
24782 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
24783 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
24784 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
24785 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
24786 configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
24787 configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
24788 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
24789 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
24790 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
24791 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
24792 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
24793 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
24794 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
24795 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
24796 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
24797 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
24798 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
24799 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
24800 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
24801 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
24802 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
24803 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
24804 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
24805 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
24806 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
24807 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
24808 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
24809 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
24810 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
24811 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
24812 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
24813 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
24814 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
24815 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
24816 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
24817 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
24818 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
24819 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
24820 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
24821 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
24822 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
24823 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
24824 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
24825 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
24826 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
24827 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
24828 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
24829 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
24830 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
24831 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
24832 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
24833 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
24834 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
24835 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
24836 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
24837 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
24838 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
24839 postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
24840 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
24841 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
24842 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
24843 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
24844 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
24845 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
24846 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
24847 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
24850 LTCFLAGS='$LTCFLAGS'
24851 compiler='$compiler_DEFAULT'
24853 # A function that is used when there is no print builtin or printf.
24854 func_fallback_echo ()
24856 eval 'cat <<_LTECHO_EOF
24861 # Quote evaled strings.
24876 deplibs_check_method \
24881 sharedlib_from_linklib_cmd \
24884 archiver_list_spec \
24890 lt_cv_sys_global_symbol_pipe \
24891 lt_cv_sys_global_symbol_to_cdecl \
24892 lt_cv_sys_global_symbol_to_import \
24893 lt_cv_sys_global_symbol_to_c_name_address \
24894 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
24895 lt_cv_nm_interface \
24896 nm_file_list_spec \
24897 lt_cv_truncate_bin \
24898 lt_prog_compiler_no_builtin_flag \
24899 lt_prog_compiler_pic \
24900 lt_prog_compiler_wl \
24901 lt_prog_compiler_static \
24902 lt_cv_prog_compiler_c_o \
24911 export_dynamic_flag_spec \
24912 whole_archive_flag_spec \
24913 compiler_needs_object \
24915 allow_undefined_flag \
24916 no_undefined_flag \
24917 hardcode_libdir_flag_spec \
24918 hardcode_libdir_separator \
24922 variables_saved_for_relink \
24924 library_names_spec \
24926 install_override_mode \
24930 compiler_lib_search_dirs \
24935 compiler_lib_search_path \
24939 lt_prog_compiler_no_builtin_flag_CXX \
24940 lt_prog_compiler_pic_CXX \
24941 lt_prog_compiler_wl_CXX \
24942 lt_prog_compiler_static_CXX \
24943 lt_cv_prog_compiler_c_o_CXX \
24944 export_dynamic_flag_spec_CXX \
24945 whole_archive_flag_spec_CXX \
24946 compiler_needs_object_CXX \
24948 allow_undefined_flag_CXX \
24949 no_undefined_flag_CXX \
24950 hardcode_libdir_flag_spec_CXX \
24951 hardcode_libdir_separator_CXX \
24952 exclude_expsyms_CXX \
24953 include_expsyms_CXX \
24954 file_list_spec_CXX \
24955 compiler_lib_search_dirs_CXX \
24956 predep_objects_CXX \
24957 postdep_objects_CXX \
24960 compiler_lib_search_path_CXX; do
24961 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
24962 *[\\\\\\\`\\"\\\$]*)
24963 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
24966 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
24971 # Double-quote double-evaled strings.
24972 for var in reload_cmds \
24973 old_postinstall_cmds \
24974 old_postuninstall_cmds \
24976 extract_expsyms_cmds \
24977 old_archive_from_new_cmds \
24978 old_archive_from_expsyms_cmds \
24980 archive_expsym_cmds \
24982 module_expsym_cmds \
24983 export_symbols_cmds \
24987 postuninstall_cmds \
24989 sys_lib_search_path_spec \
24990 configure_time_dlsearch_path \
24991 configure_time_lt_sys_library_path \
24993 old_archive_cmds_CXX \
24994 old_archive_from_new_cmds_CXX \
24995 old_archive_from_expsyms_cmds_CXX \
24997 archive_expsym_cmds_CXX \
24999 module_expsym_cmds_CXX \
25000 export_symbols_cmds_CXX \
25002 postlink_cmds_CXX; do
25003 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
25004 *[\\\\\\\`\\"\\\$]*)
25005 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
25008 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
25013 ac_aux_dir='$ac_aux_dir'
25015 # See if we are running on zsh, and set the options that allow our
25016 # commands through without removal of \ escapes INIT.
25017 if test -n "\${ZSH_VERSION+set}"; then
25018 setopt NO_GLOB_SUBST
25034 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
25036 # Handling of arguments.
25037 for ac_config_target
in $ac_config_targets
25039 case $ac_config_target in
25040 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
25041 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
25042 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
25043 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
25045 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
25050 # If the user did not use the arguments to specify the items to instantiate,
25051 # then the envvar interface is used. Set only those that are not.
25052 # We use the long form for the default assignment because of an extremely
25053 # bizarre bug on SunOS 4.1.3.
25054 if $ac_need_defaults; then
25055 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
25056 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
25057 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
25060 # Have a temporary directory for convenience. Make it in the build tree
25061 # simply because there is no reason against having it here, and in addition,
25062 # creating and moving files from /tmp can sometimes cause problems.
25063 # Hook for its removal unless debugging.
25064 # Note that there is a small window in which the directory will not be cleaned:
25065 # after its creation but before its name has been assigned to `$tmp'.
25069 trap 'exit_status=$?
25070 : "${ac_tmp:=$tmp}"
25071 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
25073 trap 'as_fn_exit 1' 1 2 13 15
25075 # Create a (secure) tmp directory for tmp files.
25078 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
25082 tmp
=.
/conf$$
-$RANDOM
25083 (umask 077 && mkdir "$tmp")
25084 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
25087 # Set up the scripts for CONFIG_FILES section.
25088 # No need to generate them if there are no CONFIG_FILES.
25089 # This happens for instance with `./config.status config.h'.
25090 if test -n "$CONFIG_FILES"; then
25093 ac_cr
=`echo X | tr X '\015'`
25094 # On cygwin, bash can eat \r inside `` if the user requested igncr.
25095 # But we know of no other shell where ac_cr would be empty at this
25096 # point, so we can use a bashism as a fallback.
25097 if test "x$ac_cr" = x
; then
25098 eval ac_cr
=\$
\'\\r
\'
25100 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
25101 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
25104 ac_cs_awk_cr
=$ac_cr
25107 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
25112 echo "cat >conf$$subs.awk <<_ACEOF" &&
25113 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
25115 } >conf$$subs.sh ||
25116 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
25117 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
25119 for ac_last_try in false false false false false :; do
25120 . ./conf$$subs.sh ||
25121 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
25123 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
25124 if test $ac_delim_n = $ac_delim_num; then
25126 elif $ac_last_try; then
25127 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
25129 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
25132 rm -f conf$$subs.sh
25134 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25135 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
25139 s/^/S["/; s
/!.
*/"]=/
25149 s/\(.\{148\}\)..*/\1/
25151 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
25156 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
25163 s/\(.\{148\}\)..*/\1/
25165 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
25169 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
25174 ' <conf$$subs.awk | sed '
25179 ' >>$CONFIG_STATUS || ac_write_fail=1
25180 rm -f conf$$subs.awk
25181 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25183 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
25184 for (key in S) S_is_set[key] = 1
25190 nfields = split(line, field, "@
")
25192 len = length(field[1])
25193 for (i = 2; i < nfields; i++) {
25195 keylen = length(key)
25196 if (S_is_set[key]) {
25198 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
25199 len += length(value) + length(field[++i])
25210 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
25211 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
25212 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
25215 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
25216 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
25219 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
25220 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
25221 # trailing colons and then remove the whole line if VPATH becomes empty
25222 # (actually we leave an empty line to preserve line numbers).
25223 if test "x
$srcdir" = x.; then
25224 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
25242 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
25243 fi # test -n "$CONFIG_FILES"
25245 # Set up the scripts for CONFIG_HEADERS section.
25246 # No need to generate them if there are no CONFIG_HEADERS.
25247 # This happens for instance with `./config.status Makefile'.
25248 if test -n "$CONFIG_HEADERS"; then
25249 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
25253 # Transform confdefs.h into an awk script `defines.awk', embedded as
25254 # here-document in config.status, that substitutes the proper values into
25255 # config.h.in to produce config.h.
25257 # Create a delimiter string that does not exist in confdefs.h, to ease
25258 # handling of long lines.
25260 for ac_last_try in false false :; do
25261 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
25262 if test -z "$ac_tt"; then
25264 elif $ac_last_try; then
25265 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
25267 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
25271 # For the awk script, D is an array of macro values keyed by name,
25272 # likewise P contains macro parameters if any. Preserve backslash
25273 # newline sequences.
25275 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
25277 s/.\{148\}/&'"$ac_delim"'/g
25280 s/^[ ]*#[ ]*define[ ][ ]*/ /
25287 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
25289 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
25293 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
25294 D["\
1"]=" \
3\\\\\\n
"\\/p
25296 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
25301 s/.\{148\}/&'"$ac_delim"'/g
25306 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
25309 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
25311 ' <confdefs.h | sed '
25312 s/'"$ac_delim"'/"\\\
25313 "/g' >>$CONFIG_STATUS || ac_write_fail=1
25315 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25316 for (key in D) D_is_set[key] = 1
25319 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
25321 split(line, arg, " ")
25322 if (arg[1] == "#") {
25326 defundef
= substr
(arg
[1], 2)
25329 split(mac1
, mac2
, "(") #)
25331 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
25332 if (D_is_set
[macro
]) {
25333 # Preserve the white space surrounding the "#".
25334 print prefix
"define", macro P
[macro
] D
[macro
]
25337 # Replace #undef with comments. This is necessary, for example,
25338 # in the case of _POSIX_SOURCE, which is predefined and required
25339 # on some systems where configure will not decide to define it.
25340 if (defundef
== "undef") {
25341 print
"/*", prefix defundef
, macro
, "*/"
25349 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
25350 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
25351 fi # test -n "$CONFIG_HEADERS"
25354 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
25359 :[FHLC
]) ac_mode
=$ac_tag; continue;;
25361 case $ac_mode$ac_tag in
25363 :L
* | :C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
25364 :[FH
]-) ac_tag
=-:-;;
25365 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
25382 -) ac_f
="$ac_tmp/stdin";;
25383 *) # Look for the file first in the build tree, then in the source tree
25384 # (if the path is not absolute). The absolute path cannot be DOS-style,
25385 # because $ac_f cannot contain `:'.
25389 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
25391 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
25393 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
25394 as_fn_append ac_file_inputs
" '$ac_f'"
25397 # Let's still pretend it is `configure' which instantiates (i.e., don't
25398 # use $as_me), people would be surprised to read:
25399 # /* config.h. Generated by config.status. */
25400 configure_input
='Generated from '`
25401 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
25403 if test x
"$ac_file" != x
-; then
25404 configure_input
="$ac_file. $configure_input"
25405 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
25406 $as_echo "$as_me: creating $ac_file" >&6;}
25408 # Neutralize special characters interpreted by sed in replacement strings.
25409 case $configure_input in #(
25410 *\
&* | *\
|* | *\\* )
25411 ac_sed_conf_input
=`$as_echo "$configure_input" |
25412 sed 's/[\\\\&|]/\\\\&/g'`;; #(
25413 *) ac_sed_conf_input
=$configure_input;;
25417 *:-:* | *:-) cat >"$ac_tmp/stdin" \
25418 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
25423 ac_dir
=`$as_dirname -- "$ac_file" ||
25424 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25425 X"$ac_file" : 'X\(//\)[^/]' \| \
25426 X"$ac_file" : 'X\(//\)$' \| \
25427 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
25428 $as_echo X"$ac_file" |
25429 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
25433 /^X\(\/\/\)[^/].*/{
25446 as_dir
="$ac_dir"; as_fn_mkdir_p
25450 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
25452 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
25453 # A ".." for each directory in $ac_dir_suffix.
25454 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
25455 case $ac_top_builddir_sub in
25456 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
25457 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
25460 ac_abs_top_builddir
=$ac_pwd
25461 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
25462 # for backward compatibility:
25463 ac_top_builddir
=$ac_top_build_prefix
25466 .
) # We are building in place.
25468 ac_top_srcdir
=$ac_top_builddir_sub
25469 ac_abs_top_srcdir
=$ac_pwd ;;
25470 [\\/]* | ?
:[\\/]* ) # Absolute name.
25471 ac_srcdir
=$srcdir$ac_dir_suffix;
25472 ac_top_srcdir
=$srcdir
25473 ac_abs_top_srcdir
=$srcdir ;;
25474 *) # Relative name.
25475 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
25476 ac_top_srcdir
=$ac_top_build_prefix$srcdir
25477 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
25479 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
25489 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
25490 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
25492 ac_MKDIR_P
=$MKDIR_P
25494 [\\/$
]* | ?
:[\\/]* ) ;;
25495 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
25499 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
25500 # If the template does not know about datarootdir, expand it.
25501 # FIXME: This hack should be removed a few years after 2.60.
25502 ac_datarootdir_hack
=; ac_datarootdir_seen
=
25513 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
25514 *datarootdir
*) ac_datarootdir_seen
=yes;;
25515 *@datadir@
*|*@docdir@
*|*@infodir@
*|*@localedir@
*|*@mandir@
*)
25516 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
25517 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
25519 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25520 ac_datarootdir_hack='
25521 s&@datadir@&$datadir&g
25522 s&@docdir@&$docdir&g
25523 s&@infodir@&$infodir&g
25524 s&@localedir@&$localedir&g
25525 s&@mandir@&$mandir&g
25526 s&\\\${datarootdir}&$datarootdir&g' ;;
25530 # Neutralize VPATH when `$srcdir' = `.'.
25531 # Shell code in configure.ac might set extrasub.
25532 # FIXME: do we really want to maintain this feature?
25533 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25534 ac_sed_extra="$ac_vpsub
25537 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
25539 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
25540 s
|@configure_input@
|$ac_sed_conf_input|;t t
25541 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
25542 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
25543 s
&@srcdir@
&$ac_srcdir&;t t
25544 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
25545 s
&@top_srcdir@
&$ac_top_srcdir&;t t
25546 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
25547 s
&@builddir@
&$ac_builddir&;t t
25548 s
&@abs_builddir@
&$ac_abs_builddir&;t t
25549 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
25550 s
&@INSTALL@
&$ac_INSTALL&;t t
25551 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
25552 $ac_datarootdir_hack
25554 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
25555 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
25557 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
25558 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
25559 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
25560 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
25561 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
25562 which seems to be undefined. Please make sure it is defined" >&5
25563 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
25564 which seems to be undefined. Please make sure it is defined" >&2;}
25566 rm -f "$ac_tmp/stdin"
25568 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
25569 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
25571 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
25577 if test x"$ac_file" != x-; then
25579 $as_echo "/* $configure_input */" \
25580 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
25581 } >"$ac_tmp/config.h" \
25582 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
25583 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
25584 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
25585 $as_echo "$as_me: $ac_file is unchanged" >&6;}
25588 mv "$ac_tmp/config.h" "$ac_file" \
25589 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
25592 $as_echo "/* $configure_input */" \
25593 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
25594 || as_fn_error $? "could not create -" "$LINENO" 5
25596 # Compute "$ac_file"'s index
in $config_headers.
25599 for _am_header
in $config_headers :; do
25600 case $_am_header in
25601 $_am_arg | $_am_arg:* )
25604 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
25607 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
25608 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25609 X"$_am_arg" : 'X\(//\)[^/]' \| \
25610 X"$_am_arg" : 'X\(//\)$' \| \
25611 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
25612 $as_echo X"$_am_arg" |
25613 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
25617 /^X\(\/\/\)[^/].*/{
25629 s/.*/./; q'`/stamp
-h$_am_stamp_count
25632 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
25633 $as_echo "$as_me: executing $ac_file commands" >&6;}
25638 case $ac_file$ac_mode in
25639 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" || {
25640 # Older Autoconf quotes --file arguments for eval, but not when files
25641 # are listed without --file. Let's play safe and only enable the eval
25642 # if we detect the quoting.
25643 case $CONFIG_FILES in
25644 *\'*) eval set x
"$CONFIG_FILES" ;;
25645 *) set x
$CONFIG_FILES ;;
25650 # Strip MF so we end up with the name of the file.
25651 mf
=`echo "$mf" | sed -e 's/:.*$//'`
25652 # Check whether this is an Automake generated Makefile or not.
25653 # We used to match only the files named 'Makefile.in', but
25654 # some people rename them; so instead we look at the file content.
25655 # Grep'ing the first line is not enough: some people post-process
25656 # each Makefile.in and add a new line on top of each file to say so.
25657 # Grep'ing the whole file is not good either: AIX grep has a line
25658 # limit of 2048, but all sed's we know have understand at least 4000.
25659 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X
>/dev
/null
2>&1; then
25660 dirpart
=`$as_dirname -- "$mf" ||
25661 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25662 X"$mf" : 'X\(//\)[^/]' \| \
25663 X"$mf" : 'X\(//\)$' \| \
25664 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
25666 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
25670 /^X\(\/\/\)[^/].*/{
25686 # Extract the definition of DEPDIR, am__include, and am__quote
25687 # from the Makefile without running 'make'.
25688 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
25689 test -z "$DEPDIR" && continue
25690 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
25691 test -z "$am__include" && continue
25692 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
25693 # Find all dependency output files, they are included files with
25694 # $(DEPDIR) in their names. We invoke sed twice because it is the
25695 # simplest approach to changing $(DEPDIR) to its actual value in the
25697 for file in `sed -n "
25698 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
25699 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
25700 # Make sure the directory exists.
25701 test -f "$dirpart/$file" && continue
25702 fdir
=`$as_dirname -- "$file" ||
25703 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25704 X"$file" : 'X\(//\)[^/]' \| \
25705 X"$file" : 'X\(//\)$' \| \
25706 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
25707 $as_echo X"$file" |
25708 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
25712 /^X\(\/\/\)[^/].*/{
25725 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
25726 # echo "creating $dirpart/$file"
25727 echo '# dummy' > "$dirpart/$file"
25734 # See if we are running on zsh, and set the options that allow our
25735 # commands through without removal of \ escapes.
25736 if test -n "${ZSH_VERSION+set}"; then
25737 setopt NO_GLOB_SUBST
25741 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
25744 cat <<_LT_EOF >> "$cfgfile"
25746 # Generated automatically by $as_me ($PACKAGE) $VERSION
25747 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
25748 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
25750 # Provide generalized library-building support services.
25751 # Written by Gordon Matzigkeit, 1996
25753 # Copyright (C) 2014 Free Software Foundation, Inc.
25754 # This is free software; see the source for copying conditions. There is NO
25755 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
25757 # GNU Libtool is free software; you can redistribute it and/or modify
25758 # it under the terms of the GNU General Public License as published by
25759 # the Free Software Foundation; either version 2 of of the License, or
25760 # (at your option) any later version.
25762 # As a special exception to the GNU General Public License, if you
25763 # distribute this file as part of a program or library that is built
25764 # using GNU Libtool, you may include this file under the same
25765 # distribution terms that you use for the rest of that program.
25767 # GNU Libtool is distributed in the hope that it will be useful, but
25768 # WITHOUT ANY WARRANTY; without even the implied warranty of
25769 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
25770 # GNU General Public License for more details.
25772 # You should have received a copy of the GNU General Public License
25773 # along with this program. If not, see <http://www.gnu.org/licenses/>.
25776 # The names of the tagged configurations supported by this script.
25777 available_tags='CXX '
25779 # Configured defaults for sys_lib_dlsearch_path munging.
25780 : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
25782 # ### BEGIN LIBTOOL CONFIG
25784 # Which release of libtool.m4 was used?
25785 macro_version=$macro_version
25786 macro_revision=$macro_revision
25788 # Whether or not to build static libraries.
25789 build_old_libs=$enable_static
25791 # Whether or not to build shared libraries.
25792 build_libtool_libs=$enable_shared
25794 # What type of objects to build.
25797 # Whether or not to optimize for fast installation.
25798 fast_install=$enable_fast_install
25800 # Shared archive member basename,for filename based shared library versioning on AIX.
25801 shared_archive_member_spec=$shared_archive_member_spec
25803 # Shell to use when invoking shell scripts.
25806 # An echo program that protects backslashes.
25809 # The PATH separator for the build system.
25810 PATH_SEPARATOR=$lt_PATH_SEPARATOR
25813 host_alias=$host_alias
25817 # The build system.
25818 build_alias=$build_alias
25822 # A sed program that does not truncate output.
25825 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
25826 Xsed="\$SED -e 1s/^X//"
25828 # A grep program that handles long lines.
25834 # A literal string matcher.
25837 # A BSD- or MS-compatible name lister.
25840 # Whether we need soft or hard links.
25843 # What is the maximum length of a command?
25844 max_cmd_len=$max_cmd_len
25846 # Object file suffix (normally "o").
25849 # Executable file suffix (normally "").
25852 # whether the shell understands "unset".
25855 # turn spaces into newlines.
25858 # turn newlines into spaces.
25861 # convert \$build file names to \$host format.
25862 to_host_file_cmd=$lt_cv_to_host_file_cmd
25864 # convert \$build files to toolchain format.
25865 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
25867 # An object symbol dumper.
25868 OBJDUMP=$lt_OBJDUMP
25870 # Method to check whether dependent libraries are shared objects.
25871 deplibs_check_method=$lt_deplibs_check_method
25873 # Command to use when deplibs_check_method = "file_magic".
25874 file_magic_cmd=$lt_file_magic_cmd
25876 # How to find potential files when deplibs_check_method = "file_magic".
25877 file_magic_glob=$lt_file_magic_glob
25879 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
25880 want_nocaseglob=$lt_want_nocaseglob
25882 # DLL creation program.
25883 DLLTOOL=$lt_DLLTOOL
25885 # Command to associate shared and link libraries.
25886 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
25891 # Flags to create an archive.
25892 AR_FLAGS=$lt_AR_FLAGS
25894 # How to feed a file listing to the archiver.
25895 archiver_list_spec=$lt_archiver_list_spec
25897 # A symbol stripping program.
25900 # Commands used to install an old-style archive.
25902 old_postinstall_cmds=$lt_old_postinstall_cmds
25903 old_postuninstall_cmds=$lt_old_postuninstall_cmds
25905 # Whether to use a lock for old archive extraction.
25906 lock_old_archive_extraction=$lock_old_archive_extraction
25911 # LTCC compiler flags.
25912 LTCFLAGS=$lt_CFLAGS
25914 # Take the output of nm and produce a listing of raw symbols and C names.
25915 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
25917 # Transform the output of nm in a proper C declaration.
25918 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
25920 # Transform the output of nm into a list of symbols to manually relocate.
25921 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
25923 # Transform the output of nm in a C name address pair.
25924 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
25926 # Transform the output of nm in a C name address pair when lib prefix is needed.
25927 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
25929 # The name lister interface.
25930 nm_interface=$lt_lt_cv_nm_interface
25932 # Specify filename containing input files for \$NM.
25933 nm_file_list_spec=$lt_nm_file_list_spec
25935 # The root where to search for dependent libraries,and where our libraries should be installed.
25936 lt_sysroot=$lt_sysroot
25938 # Command to truncate a binary pipe.
25939 lt_truncate_bin=$lt_lt_cv_truncate_bin
25941 # The name of the directory that contains temporary libtool files.
25944 # Used to examine libraries when file_magic_cmd begins with "file".
25945 MAGIC_CMD=$MAGIC_CMD
25947 # Must we lock files when doing compilation?
25948 need_locks=$lt_need_locks
25951 MANIFEST_TOOL=$lt_MANIFEST_TOOL
25953 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
25954 DSYMUTIL=$lt_DSYMUTIL
25956 # Tool to change global to local symbols on Mac OS X.
25959 # Tool to manipulate fat objects and archives on Mac OS X.
25962 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
25965 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
25966 OTOOL64=$lt_OTOOL64
25968 # Old archive suffix (normally "a").
25971 # Shared library suffix (normally ".so").
25972 shrext_cmds=$lt_shrext_cmds
25974 # The commands to extract the exported symbol list from a shared archive.
25975 extract_expsyms_cmds=$lt_extract_expsyms_cmds
25977 # Variables whose values should be saved in libtool wrapper scripts and
25978 # restored at link time.
25979 variables_saved_for_relink=$lt_variables_saved_for_relink
25981 # Do we need the "lib" prefix for modules?
25982 need_lib_prefix=$need_lib_prefix
25984 # Do we need a version for libraries?
25985 need_version=$need_version
25987 # Library versioning type.
25988 version_type=$version_type
25990 # Shared library runtime path variable.
25991 runpath_var=$runpath_var
25993 # Shared library path variable.
25994 shlibpath_var=$shlibpath_var
25996 # Is shlibpath searched before the hard-coded library search path?
25997 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
25999 # Format of library name prefix.
26000 libname_spec=$lt_libname_spec
26002 # List of archive names. First name is the real one, the rest are links.
26003 # The last name is the one that the linker finds with -lNAME
26004 library_names_spec=$lt_library_names_spec
26006 # The coded name of the library, if different from the real name.
26007 soname_spec=$lt_soname_spec
26009 # Permission mode override for installation of shared libraries.
26010 install_override_mode=$lt_install_override_mode
26012 # Command to use after installation of a shared archive.
26013 postinstall_cmds=$lt_postinstall_cmds
26015 # Command to use after uninstallation of a shared archive.
26016 postuninstall_cmds=$lt_postuninstall_cmds
26018 # Commands used to finish a libtool library installation in a directory.
26019 finish_cmds=$lt_finish_cmds
26021 # As "finish_cmds", except a single script fragment to be evaled but
26023 finish_eval=$lt_finish_eval
26025 # Whether we should hardcode library paths into libraries.
26026 hardcode_into_libs=$hardcode_into_libs
26028 # Compile-time system search path for libraries.
26029 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
26031 # Detected run-time system search path for libraries.
26032 sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
26034 # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
26035 configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
26037 # Whether dlopen is supported.
26038 dlopen_support=$enable_dlopen
26040 # Whether dlopen of programs is supported.
26041 dlopen_self=$enable_dlopen_self
26043 # Whether dlopen of statically linked programs is supported.
26044 dlopen_self_static=$enable_dlopen_self_static
26046 # Commands to strip libraries.
26047 old_striplib=$lt_old_striplib
26048 striplib=$lt_striplib
26051 # The linker used to build libraries.
26054 # How to create reloadable object files.
26055 reload_flag=$lt_reload_flag
26056 reload_cmds=$lt_reload_cmds
26058 # Commands used to build an old-style archive.
26059 old_archive_cmds=$lt_old_archive_cmds
26061 # A language specific compiler.
26064 # Is the compiler the GNU compiler?
26067 # Compiler flag to turn off builtin functions.
26068 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
26070 # Additional compiler flags for building library objects.
26071 pic_flag=$lt_lt_prog_compiler_pic
26073 # How to pass a linker flag through the compiler.
26074 wl=$lt_lt_prog_compiler_wl
26076 # Compiler flag to prevent dynamic linking.
26077 link_static_flag=$lt_lt_prog_compiler_static
26079 # Does compiler simultaneously support -c and -o options?
26080 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
26082 # Whether or not to add -lc for building shared libraries.
26083 build_libtool_need_lc=$archive_cmds_need_lc
26085 # Whether or not to disallow shared libs when runtime libs are static.
26086 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
26088 # Compiler flag to allow reflexive dlopens.
26089 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
26091 # Compiler flag to generate shared objects directly from archives.
26092 whole_archive_flag_spec=$lt_whole_archive_flag_spec
26094 # Whether the compiler copes with passing no objects directly.
26095 compiler_needs_object=$lt_compiler_needs_object
26097 # Create an old-style archive from a shared archive.
26098 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
26100 # Create a temporary old-style archive to link instead of a shared archive.
26101 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
26103 # Commands used to build a shared archive.
26104 archive_cmds=$lt_archive_cmds
26105 archive_expsym_cmds=$lt_archive_expsym_cmds
26107 # Commands used to build a loadable module if different from building
26108 # a shared archive.
26109 module_cmds=$lt_module_cmds
26110 module_expsym_cmds=$lt_module_expsym_cmds
26112 # Whether we are building with GNU ld or not.
26113 with_gnu_ld=$lt_with_gnu_ld
26115 # Flag that allows shared libraries with undefined symbols to be built.
26116 allow_undefined_flag=$lt_allow_undefined_flag
26118 # Flag that enforces no undefined symbols.
26119 no_undefined_flag=$lt_no_undefined_flag
26121 # Flag to hardcode \$libdir into a binary during linking.
26122 # This must work even if \$libdir does not exist
26123 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
26125 # Whether we need a single "-rpath" flag with a separated argument.
26126 hardcode_libdir_separator=$lt_hardcode_libdir_separator
26128 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
26129 # DIR into the resulting binary.
26130 hardcode_direct=$hardcode_direct
26132 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
26133 # DIR into the resulting binary and the resulting library dependency is
26134 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
26135 # library is relocated.
26136 hardcode_direct_absolute=$hardcode_direct_absolute
26138 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
26139 # into the resulting binary.
26140 hardcode_minus_L=$hardcode_minus_L
26142 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
26143 # into the resulting binary.
26144 hardcode_shlibpath_var=$hardcode_shlibpath_var
26146 # Set to "yes" if building a shared library automatically hardcodes DIR
26147 # into the library and all subsequent libraries and executables linked
26149 hardcode_automatic=$hardcode_automatic
26151 # Set to yes if linker adds runtime paths of dependent libraries
26152 # to runtime path list.
26153 inherit_rpath=$inherit_rpath
26155 # Whether libtool must link a program against all its dependency libraries.
26156 link_all_deplibs=$link_all_deplibs
26158 # Set to "yes" if exported symbols are required.
26159 always_export_symbols=$always_export_symbols
26161 # The commands to list exported symbols.
26162 export_symbols_cmds=$lt_export_symbols_cmds
26164 # Symbols that should not be listed in the preloaded symbols.
26165 exclude_expsyms=$lt_exclude_expsyms
26167 # Symbols that must always be exported.
26168 include_expsyms=$lt_include_expsyms
26170 # Commands necessary for linking programs (against libraries) with templates.
26171 prelink_cmds=$lt_prelink_cmds
26173 # Commands necessary for finishing linking programs.
26174 postlink_cmds=$lt_postlink_cmds
26176 # Specify filename containing input files.
26177 file_list_spec=$lt_file_list_spec
26179 # How to hardcode a shared library path into an executable.
26180 hardcode_action=$hardcode_action
26182 # The directories searched by this compiler when creating a shared library.
26183 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
26185 # Dependencies to place before and after the objects being linked to
26186 # create a shared library.
26187 predep_objects=$lt_predep_objects
26188 postdep_objects=$lt_postdep_objects
26189 predeps=$lt_predeps
26190 postdeps=$lt_postdeps
26192 # The library search path used internally by the compiler when linking
26193 # a shared library.
26194 compiler_lib_search_path=$lt_compiler_lib_search_path
26196 # ### END LIBTOOL CONFIG
26200 cat <<'_LT_EOF' >> "$cfgfile"
26202 # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
26204 # func_munge_path_list VARIABLE PATH
26205 # -----------------------------------
26206 # VARIABLE is name of variable containing _space_ separated list of
26207 # directories to be munged by the contents of PATH, which is string
26210 # string "DIR[ DIR]" will be prepended to VARIABLE
26212 # string "DIR[ DIR]" will be appended to VARIABLE
26213 # "DIRP[:DIRP]::[DIRA:]DIRA"
26214 # string "DIRP[ DIRP]" will be prepended to VARIABLE and string
26215 # "DIRA[ DIRA]" will be appended to VARIABLE
26217 # VARIABLE will be replaced by "DIR[ DIR]"
26218 func_munge_path_list ()
26224 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
26227 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
26230 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
26231 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
26234 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
26240 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
26241 func_cc_basename ()
26243 for cc_temp in $*""; do
26245 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
26246 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
26251 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
26255 # ### END FUNCTIONS SHARED WITH CONFIGURE
26261 cat <<\_LT_EOF
>> "$cfgfile"
26262 # AIX sometimes has problems with the GCC collect2 program. For some
26263 # reason, if we set the COLLECT_NAMES environment variable, the problems
26264 # vanish in a puff of smoke.
26265 if test set != "${COLLECT_NAMES+set}"; then
26267 export COLLECT_NAMES
26274 ltmain
=$ac_aux_dir/ltmain.sh
26277 # We use sed instead of cat because bash on DJGPP gets confused if
26278 # if finds mixed CR/LF and LF-only lines. Since sed operates in
26279 # text mode, it properly converts lines to CR/LF. This bash problem
26280 # is reportedly fixed, but why not run on old versions too?
26281 sed '$q' "$ltmain" >> "$cfgfile" \
26282 || (rm -f "$cfgfile"; exit 1)
26284 mv -f "$cfgfile" "$ofile" ||
26285 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
26289 cat <<_LT_EOF >> "$ofile"
26291 # ### BEGIN LIBTOOL TAG CONFIG: CXX
26293 # The linker used to build libraries.
26296 # How to create reloadable object files.
26297 reload_flag=$lt_reload_flag_CXX
26298 reload_cmds=$lt_reload_cmds_CXX
26300 # Commands used to build an old-style archive.
26301 old_archive_cmds=$lt_old_archive_cmds_CXX
26303 # A language specific compiler.
26304 CC=$lt_compiler_CXX
26306 # Is the compiler the GNU compiler?
26309 # Compiler flag to turn off builtin functions.
26310 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
26312 # Additional compiler flags for building library objects.
26313 pic_flag=$lt_lt_prog_compiler_pic_CXX
26315 # How to pass a linker flag through the compiler.
26316 wl=$lt_lt_prog_compiler_wl_CXX
26318 # Compiler flag to prevent dynamic linking.
26319 link_static_flag=$lt_lt_prog_compiler_static_CXX
26321 # Does compiler simultaneously support -c and -o options?
26322 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
26324 # Whether or not to add -lc for building shared libraries.
26325 build_libtool_need_lc=$archive_cmds_need_lc_CXX
26327 # Whether or not to disallow shared libs when runtime libs are static.
26328 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
26330 # Compiler flag to allow reflexive dlopens.
26331 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
26333 # Compiler flag to generate shared objects directly from archives.
26334 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
26336 # Whether the compiler copes with passing no objects directly.
26337 compiler_needs_object=$lt_compiler_needs_object_CXX
26339 # Create an old-style archive from a shared archive.
26340 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
26342 # Create a temporary old-style archive to link instead of a shared archive.
26343 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
26345 # Commands used to build a shared archive.
26346 archive_cmds=$lt_archive_cmds_CXX
26347 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
26349 # Commands used to build a loadable module if different from building
26350 # a shared archive.
26351 module_cmds=$lt_module_cmds_CXX
26352 module_expsym_cmds=$lt_module_expsym_cmds_CXX
26354 # Whether we are building with GNU ld or not.
26355 with_gnu_ld=$lt_with_gnu_ld_CXX
26357 # Flag that allows shared libraries with undefined symbols to be built.
26358 allow_undefined_flag=$lt_allow_undefined_flag_CXX
26360 # Flag that enforces no undefined symbols.
26361 no_undefined_flag=$lt_no_undefined_flag_CXX
26363 # Flag to hardcode \$libdir into a binary during linking.
26364 # This must work even if \$libdir does not exist
26365 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
26367 # Whether we need a single "-rpath" flag with a separated argument.
26368 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
26370 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
26371 # DIR into the resulting binary.
26372 hardcode_direct=$hardcode_direct_CXX
26374 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
26375 # DIR into the resulting binary and the resulting library dependency is
26376 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
26377 # library is relocated.
26378 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
26380 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
26381 # into the resulting binary.
26382 hardcode_minus_L=$hardcode_minus_L_CXX
26384 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
26385 # into the resulting binary.
26386 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
26388 # Set to "yes" if building a shared library automatically hardcodes DIR
26389 # into the library and all subsequent libraries and executables linked
26391 hardcode_automatic=$hardcode_automatic_CXX
26393 # Set to yes if linker adds runtime paths of dependent libraries
26394 # to runtime path list.
26395 inherit_rpath=$inherit_rpath_CXX
26397 # Whether libtool must link a program against all its dependency libraries.
26398 link_all_deplibs=$link_all_deplibs_CXX
26400 # Set to "yes" if exported symbols are required.
26401 always_export_symbols=$always_export_symbols_CXX
26403 # The commands to list exported symbols.
26404 export_symbols_cmds=$lt_export_symbols_cmds_CXX
26406 # Symbols that should not be listed in the preloaded symbols.
26407 exclude_expsyms=$lt_exclude_expsyms_CXX
26409 # Symbols that must always be exported.
26410 include_expsyms=$lt_include_expsyms_CXX
26412 # Commands necessary for linking programs (against libraries) with templates.
26413 prelink_cmds=$lt_prelink_cmds_CXX
26415 # Commands necessary for finishing linking programs.
26416 postlink_cmds=$lt_postlink_cmds_CXX
26418 # Specify filename containing input files.
26419 file_list_spec=$lt_file_list_spec_CXX
26421 # How to hardcode a shared library path into an executable.
26422 hardcode_action=$hardcode_action_CXX
26424 # The directories searched by this compiler when creating a shared library.
26425 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
26427 # Dependencies to place before and after the objects being linked to
26428 # create a shared library.
26429 predep_objects=$lt_predep_objects_CXX
26430 postdep_objects=$lt_postdep_objects_CXX
26431 predeps=$lt_predeps_CXX
26432 postdeps=$lt_postdeps_CXX
26434 # The library search path used internally by the compiler when linking
26435 # a shared library.
26436 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
26438 # ### END LIBTOOL TAG CONFIG: CXX
26449 ac_clean_files
=$ac_clean_files_save
26451 test $ac_write_fail = 0 ||
26452 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
26455 # configure is writing to config.log, and then calls config.status.
26456 # config.status does its own redirection, appending to config.log.
26457 # Unfortunately, on DOS this fails, as config.log is still kept open
26458 # by configure, so config.status won't be able to write to it; its
26459 # output is simply discarded. So we exec the FD to /dev/null,
26460 # effectively closing config.log, so it can be properly (re)opened and
26461 # appended to by config.status. When coming back to configure, we
26462 # need to make the FD available again.
26463 if test "$no_create" != yes; then
26465 ac_config_status_args
=
26466 test "$silent" = yes &&
26467 ac_config_status_args
="$ac_config_status_args --quiet"
26469 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
26471 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
26472 # would make configure fail if this is the last instruction.
26473 $ac_cs_success || as_fn_exit
1
26475 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
26476 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
26477 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}