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-2016 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
721 CXXCPPFLAGS_FOR_BUILD
744 am__fastdepOBJCXX_FALSE
745 am__fastdepOBJCXX_TRUE
774 MAINTAINER_MODE_FALSE
788 INSTALL_STRIP_PROGRAM
830 program_transform_name
843 enable_option_checking
845 enable_maintainer_mode
846 enable_dependency_tracking
861 ac_precious_vars
='build_alias
894 # Initialize some variables set by options.
896 ac_init_version
=false
897 ac_unrecognized_opts
=
899 # The variables have the same names as the options, with
900 # dashes changed to underlines.
908 program_transform_name
=s
,x
,x
,
916 # Installation directory options.
917 # These are left unexpanded so users can "make install exec_prefix=/foo"
918 # and all the variables that are supposed to be based on exec_prefix
919 # by default will actually change.
920 # Use braces instead of parens because sh, perl, etc. also accept them.
921 # (The list follows the same order as the GNU Coding Standards.)
922 bindir
='${exec_prefix}/bin'
923 sbindir
='${exec_prefix}/sbin'
924 libexecdir
='${exec_prefix}/libexec'
925 datarootdir
='${prefix}/share'
926 datadir
='${datarootdir}'
927 sysconfdir
='${prefix}/etc'
928 sharedstatedir
='${prefix}/com'
929 localstatedir
='${prefix}/var'
930 includedir
='${prefix}/include'
931 oldincludedir
='/usr/include'
932 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
933 infodir
='${datarootdir}/info'
938 libdir
='${exec_prefix}/lib'
939 localedir
='${datarootdir}/locale'
940 mandir
='${datarootdir}/man'
946 # If the previous option needs an argument, assign it.
947 if test -n "$ac_prev"; then
948 eval $ac_prev=\
$ac_option
954 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
959 # Accept the important Cygnus configure options, so we can diagnose typos.
961 case $ac_dashdash$ac_option in
965 -bindir | --bindir | --bindi | --bind | --bin | --bi)
967 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
970 -build | --build | --buil | --bui | --bu)
971 ac_prev
=build_alias
;;
972 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
973 build_alias
=$ac_optarg ;;
975 -cache-file | --cache-file | --cache-fil | --cache-fi \
976 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
977 ac_prev
=cache_file
;;
978 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
979 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
980 cache_file
=$ac_optarg ;;
983 cache_file
=config.cache
;;
985 -datadir | --datadir | --datadi | --datad)
987 -datadir=* | --datadir=* | --datadi=* | --datad=*)
988 datadir
=$ac_optarg ;;
990 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
991 | --dataroo | --dataro | --datar)
992 ac_prev
=datarootdir
;;
993 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
994 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
995 datarootdir
=$ac_optarg ;;
997 -disable-* | --disable-*)
998 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
999 # Reject names that are not valid shell variable names.
1000 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1001 as_fn_error $?
"invalid feature name: $ac_useropt"
1002 ac_useropt_orig
=$ac_useropt
1003 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1004 case $ac_user_opts in
1006 "enable_
$ac_useropt"
1008 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1009 ac_unrecognized_sep
=', ';;
1011 eval enable_
$ac_useropt=no
;;
1013 -docdir | --docdir | --docdi | --doc | --do)
1015 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1016 docdir
=$ac_optarg ;;
1018 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1020 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1021 dvidir
=$ac_optarg ;;
1023 -enable-* | --enable-*)
1024 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1025 # Reject names that are not valid shell variable names.
1026 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1027 as_fn_error $?
"invalid feature name: $ac_useropt"
1028 ac_useropt_orig
=$ac_useropt
1029 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1030 case $ac_user_opts in
1032 "enable_
$ac_useropt"
1034 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1035 ac_unrecognized_sep
=', ';;
1037 eval enable_
$ac_useropt=\
$ac_optarg ;;
1039 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1040 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1041 | --exec | --exe | --ex)
1042 ac_prev
=exec_prefix
;;
1043 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1044 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1045 | --exec=* | --exe=* | --ex=*)
1046 exec_prefix
=$ac_optarg ;;
1048 -gas | --gas | --ga | --g)
1049 # Obsolete; use --with-gas.
1052 -help | --help | --hel | --he | -h)
1053 ac_init_help
=long
;;
1054 -help=r
* | --help=r
* | --hel=r
* | --he=r
* | -hr*)
1055 ac_init_help
=recursive
;;
1056 -help=s
* | --help=s
* | --hel=s
* | --he=s
* | -hs*)
1057 ac_init_help
=short
;;
1059 -host | --host | --hos | --ho)
1060 ac_prev
=host_alias
;;
1061 -host=* | --host=* | --hos=* | --ho=*)
1062 host_alias
=$ac_optarg ;;
1064 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1066 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1068 htmldir
=$ac_optarg ;;
1070 -includedir | --includedir | --includedi | --included | --include \
1071 | --includ | --inclu | --incl | --inc)
1072 ac_prev
=includedir
;;
1073 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1074 | --includ=* | --inclu=* | --incl=* | --inc=*)
1075 includedir
=$ac_optarg ;;
1077 -infodir | --infodir | --infodi | --infod | --info | --inf)
1079 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1080 infodir
=$ac_optarg ;;
1082 -libdir | --libdir | --libdi | --libd)
1084 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1085 libdir
=$ac_optarg ;;
1087 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1088 | --libexe | --libex | --libe)
1089 ac_prev
=libexecdir
;;
1090 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1091 | --libexe=* | --libex=* | --libe=*)
1092 libexecdir
=$ac_optarg ;;
1094 -localedir | --localedir | --localedi | --localed | --locale)
1095 ac_prev
=localedir
;;
1096 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1097 localedir
=$ac_optarg ;;
1099 -localstatedir | --localstatedir | --localstatedi | --localstated \
1100 | --localstate | --localstat | --localsta | --localst | --locals)
1101 ac_prev
=localstatedir
;;
1102 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1103 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1104 localstatedir
=$ac_optarg ;;
1106 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1108 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1109 mandir
=$ac_optarg ;;
1111 -nfp | --nfp | --nf)
1112 # Obsolete; use --without-fp.
1115 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1116 | --no-cr | --no-c | -n)
1119 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1120 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1123 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1124 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1125 | --oldin | --oldi | --old | --ol | --o)
1126 ac_prev
=oldincludedir
;;
1127 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1128 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1129 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1130 oldincludedir
=$ac_optarg ;;
1132 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1134 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1135 prefix
=$ac_optarg ;;
1137 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1138 | --program-pre | --program-pr | --program-p)
1139 ac_prev
=program_prefix
;;
1140 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1141 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1142 program_prefix
=$ac_optarg ;;
1144 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1145 | --program-suf | --program-su | --program-s)
1146 ac_prev
=program_suffix
;;
1147 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1148 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1149 program_suffix
=$ac_optarg ;;
1151 -program-transform-name | --program-transform-name \
1152 | --program-transform-nam | --program-transform-na \
1153 | --program-transform-n | --program-transform- \
1154 | --program-transform | --program-transfor \
1155 | --program-transfo | --program-transf \
1156 | --program-trans | --program-tran \
1157 | --progr-tra | --program-tr | --program-t)
1158 ac_prev
=program_transform_name
;;
1159 -program-transform-name=* | --program-transform-name=* \
1160 | --program-transform-nam=* | --program-transform-na=* \
1161 | --program-transform-n=* | --program-transform-=* \
1162 | --program-transform=* | --program-transfor=* \
1163 | --program-transfo=* | --program-transf=* \
1164 | --program-trans=* | --program-tran=* \
1165 | --progr-tra=* | --program-tr=* | --program-t=*)
1166 program_transform_name
=$ac_optarg ;;
1168 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1170 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1171 pdfdir
=$ac_optarg ;;
1173 -psdir | --psdir | --psdi | --psd | --ps)
1175 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1178 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1179 | -silent | --silent | --silen | --sile | --sil)
1182 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1184 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1186 sbindir
=$ac_optarg ;;
1188 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1189 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1190 | --sharedst | --shareds | --shared | --share | --shar \
1192 ac_prev
=sharedstatedir
;;
1193 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1194 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1195 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1197 sharedstatedir
=$ac_optarg ;;
1199 -site | --site | --sit)
1201 -site=* | --site=* | --sit=*)
1204 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1206 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1207 srcdir
=$ac_optarg ;;
1209 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1210 | --syscon | --sysco | --sysc | --sys | --sy)
1211 ac_prev
=sysconfdir
;;
1212 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1213 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1214 sysconfdir
=$ac_optarg ;;
1216 -target | --target | --targe | --targ | --tar | --ta | --t)
1217 ac_prev
=target_alias
;;
1218 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1219 target_alias
=$ac_optarg ;;
1221 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1224 -version | --version | --versio | --versi | --vers | -V)
1225 ac_init_version
=: ;;
1228 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1229 # Reject names that are not valid shell variable names.
1230 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1231 as_fn_error $?
"invalid package name: $ac_useropt"
1232 ac_useropt_orig
=$ac_useropt
1233 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1234 case $ac_user_opts in
1238 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1239 ac_unrecognized_sep
=', ';;
1241 eval with_
$ac_useropt=\
$ac_optarg ;;
1243 -without-* | --without-*)
1244 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1245 # Reject names that are not valid shell variable names.
1246 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1247 as_fn_error $?
"invalid package name: $ac_useropt"
1248 ac_useropt_orig
=$ac_useropt
1249 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1250 case $ac_user_opts in
1254 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1255 ac_unrecognized_sep
=', ';;
1257 eval with_
$ac_useropt=no
;;
1260 # Obsolete; use --with-x.
1263 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1264 | --x-incl | --x-inc | --x-in | --x-i)
1265 ac_prev
=x_includes
;;
1266 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1267 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1268 x_includes
=$ac_optarg ;;
1270 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1271 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1272 ac_prev
=x_libraries
;;
1273 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1274 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1275 x_libraries
=$ac_optarg ;;
1277 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1278 Try \`$0 --help' for more information"
1282 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1283 # Reject names that are not valid shell variable names.
1284 case $ac_envvar in #(
1285 '' | [0-9]* | *[!_$as_cr_alnum]* )
1286 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1288 eval $ac_envvar=\
$ac_optarg
1289 export $ac_envvar ;;
1292 # FIXME: should be removed in autoconf 3.0.
1293 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1294 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1295 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1296 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1302 if test -n "$ac_prev"; then
1303 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1304 as_fn_error $?
"missing argument to $ac_option"
1307 if test -n "$ac_unrecognized_opts"; then
1308 case $enable_option_checking in
1310 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1311 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1315 # Check all directory arguments for consistency.
1316 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1317 datadir sysconfdir sharedstatedir localstatedir includedir \
1318 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1319 libdir localedir mandir
1321 eval ac_val
=\$
$ac_var
1322 # Remove trailing slashes.
1325 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1326 eval $ac_var=\
$ac_val;;
1328 # Be sure to have absolute directory names.
1330 [\\/$
]* | ?
:[\\/]* ) continue;;
1331 NONE
| '' ) case $ac_var in *prefix
) continue;; esac;;
1333 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1336 # There might be people who depend on the old broken behavior: `$host'
1337 # used to hold the argument of --host etc.
1338 # FIXME: To remove some day.
1341 target
=$target_alias
1343 # FIXME: To remove some day.
1344 if test "x$host_alias" != x
; then
1345 if test "x$build_alias" = x
; then
1346 cross_compiling
=maybe
1347 elif test "x$build_alias" != "x$host_alias"; then
1353 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1355 test "$silent" = yes && exec 6>/dev
/null
1358 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1359 ac_ls_di
=`ls -di .` &&
1360 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1361 as_fn_error $?
"working directory cannot be determined"
1362 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1363 as_fn_error $?
"pwd does not report name of working directory"
1366 # Find the source files, if location was not specified.
1367 if test -z "$srcdir"; then
1368 ac_srcdir_defaulted
=yes
1369 # Try the directory containing this script, then the parent directory.
1370 ac_confdir
=`$as_dirname -- "$as_myself" ||
1371 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1372 X"$as_myself" : 'X\(//\)[^/]' \| \
1373 X"$as_myself" : 'X\(//\)$' \| \
1374 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1375 $as_echo X"$as_myself" |
1376 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1394 if test ! -r "$srcdir/$ac_unique_file"; then
1398 ac_srcdir_defaulted
=no
1400 if test ! -r "$srcdir/$ac_unique_file"; then
1401 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1402 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1404 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1406 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1408 # When building in place, set srcdir=.
1409 if test "$ac_abs_confdir" = "$ac_pwd"; then
1412 # Remove unnecessary trailing slashes from srcdir.
1413 # Double slashes in file names in object file debugging info
1414 # mess up M-x gdb in Emacs.
1416 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1418 for ac_var
in $ac_precious_vars; do
1419 eval ac_env_
${ac_var}_set
=\
${${ac_var}+set}
1420 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1421 eval ac_cv_env_
${ac_var}_set
=\
${${ac_var}+set}
1422 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1426 # Report the --help message.
1428 if test "$ac_init_help" = "long"; then
1429 # Omit some internal or obsolete options to make the list less imposing.
1430 # This message is too long to be a string in the A/UX 3.1 sh.
1432 \`configure' configures Cycript 0.9 to adapt to many kinds of systems.
1434 Usage: $0 [OPTION]... [VAR=VALUE]...
1436 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1437 VAR=VALUE. See below for descriptions of some of the useful variables.
1439 Defaults for the options are specified in brackets.
1442 -h, --help display this help and exit
1443 --help=short display options specific to this package
1444 --help=recursive display the short help of all the included packages
1445 -V, --version display version information and exit
1446 -q, --quiet, --silent do not print \`checking ...' messages
1447 --cache-file=FILE cache test results in FILE [disabled]
1448 -C, --config-cache alias for \`--cache-file=config.cache'
1449 -n, --no-create do not create output files
1450 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1452 Installation directories:
1453 --prefix=PREFIX install architecture-independent files in PREFIX
1454 [$ac_default_prefix]
1455 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1458 By default, \`make install' will install all the files in
1459 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1460 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1461 for instance \`--prefix=\$HOME'.
1463 For better control, use the options below.
1465 Fine tuning of the installation directories:
1466 --bindir=DIR user executables [EPREFIX/bin]
1467 --sbindir=DIR system admin executables [EPREFIX/sbin]
1468 --libexecdir=DIR program executables [EPREFIX/libexec]
1469 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1470 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1471 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1472 --libdir=DIR object code libraries [EPREFIX/lib]
1473 --includedir=DIR C header files [PREFIX/include]
1474 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1475 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1476 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1477 --infodir=DIR info documentation [DATAROOTDIR/info]
1478 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1479 --mandir=DIR man documentation [DATAROOTDIR/man]
1480 --docdir=DIR documentation root [DATAROOTDIR/doc/cycript]
1481 --htmldir=DIR html documentation [DOCDIR]
1482 --dvidir=DIR dvi documentation [DOCDIR]
1483 --pdfdir=DIR pdf documentation [DOCDIR]
1484 --psdir=DIR ps documentation [DOCDIR]
1490 --program-prefix=PREFIX prepend PREFIX to installed program names
1491 --program-suffix=SUFFIX append SUFFIX to installed program names
1492 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1495 --build=BUILD configure
for building on BUILD
[guessed
]
1496 --host=HOST cross
-compile to build programs to run on HOST
[BUILD
]
1500 if test -n "$ac_init_help"; then
1501 case $ac_init_help in
1502 short
| recursive
) echo "Configuration of Cycript 0.9:";;
1507 --disable-option-checking ignore unrecognized
--enable/--with options
1508 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1509 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1510 --enable-silent-rules less verbose build output
(undo
: "make V=1")
1511 --disable-silent-rules verbose build output
(undo
: "make V=0")
1512 --enable-maintainer-mode
1513 enable make rules and dependencies not useful
(and
1514 sometimes confusing
) to the casual installer
1515 --enable-dependency-tracking
1516 do not reject slow dependency extractors
1517 --disable-dependency-tracking
1518 speeds up one
-time build
1519 --enable-static[=PKGS
] build static libraries
[default
=no
]
1520 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1521 --enable-fast-install[=PKGS
]
1522 optimize
for fast installation
[default
=yes]
1523 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1524 --enable-javascript[=ENGINE
]
1525 use a JavaScript runtime
(currently the only
1526 available option
for ENGINE is JavaScriptCore
)
1528 --disable-console disable console
1529 --disable-attach disable attach
1532 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1533 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1534 --with-pic[=PKGS
] try to use only PIC
/non
-PIC objects
[default
=use
1536 --with-aix-soname=aix
|svr4
|both
1537 shared library versioning
(aka
"SONAME") variant to
1538 provide on AIX
, [default
=aix
].
1539 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1540 --with-sysroot[=DIR
] Search
for dependent libraries within DIR
(or the
1541 compiler
's sysroot if not specified).
1542 --with-python support python (pass the path to python-config)
1543 --with-libclang build bridge definitions using this libclang
1545 Some influential environment variables:
1546 CC C compiler command
1547 CFLAGS C compiler flags
1548 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1549 nonstandard directory <lib dir>
1550 LIBS libraries to pass to the linker, e.g. -l<library>
1551 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1552 you have headers in a nonstandard directory <include dir>
1553 CXX C++ compiler command
1554 CXXFLAGS C++ compiler flags
1555 OBJCXX Objective C++ compiler command
1556 OBJCXXFLAGS Objective C++ compiler flags
1558 CXXCPP C++ preprocessor
1560 User-defined run-time library search path.
1561 PKG_CONFIG path to pkg-config utility
1563 directories to add to pkg-config's search path
1565 path overriding pkg
-config's built-in search path
1566 BISON GNU Project parser generator (yacc replacement)
1567 FLEX the fast lexical analyser generator
1568 GPERF perfect hash function generator
1569 GNUTAR a very sticky lump of files
1572 C compiler flags for WEBKIT, overriding pkg-config
1573 WEBKIT_LIBS linker flags for WEBKIT, overriding pkg-config
1575 C compiler flags for LIBFFI, overriding pkg-config
1576 LIBFFI_LIBS linker flags for LIBFFI, overriding pkg-config
1578 C compiler flags for LIBRUBY21, overriding pkg-config
1580 linker flags for LIBRUBY21, overriding pkg-config
1582 prints information about the current gnustep installation
1584 Use these variables to override the choices made by `configure' or to
help
1585 it to
find libraries and programs with nonstandard names
/locations.
1587 Report bugs to
<saurik@saurik.com
>.
1588 Cycript home page
: <http
://www.cycript.org
/>.
1593 if test "$ac_init_help" = "recursive"; then
1594 # If there are subdirs, report their specific --help.
1595 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1596 test -d "$ac_dir" ||
1597 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1602 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1604 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1605 # A ".." for each directory in $ac_dir_suffix.
1606 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1607 case $ac_top_builddir_sub in
1608 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1609 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1612 ac_abs_top_builddir
=$ac_pwd
1613 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1614 # for backward compatibility:
1615 ac_top_builddir
=$ac_top_build_prefix
1618 .
) # We are building in place.
1620 ac_top_srcdir
=$ac_top_builddir_sub
1621 ac_abs_top_srcdir
=$ac_pwd ;;
1622 [\\/]* | ?
:[\\/]* ) # Absolute name.
1623 ac_srcdir
=$srcdir$ac_dir_suffix;
1624 ac_top_srcdir
=$srcdir
1625 ac_abs_top_srcdir
=$srcdir ;;
1627 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1628 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1629 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1631 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1633 cd "$ac_dir" || { ac_status
=$?
; continue; }
1634 # Check for guested configure.
1635 if test -f "$ac_srcdir/configure.gnu"; then
1637 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1638 elif test -f "$ac_srcdir/configure"; then
1640 $SHELL "$ac_srcdir/configure" --help=recursive
1642 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1644 cd "$ac_pwd" || { ac_status
=$?
; break; }
1648 test -n "$ac_init_help" && exit $ac_status
1649 if $ac_init_version; then
1651 Cycript configure
0.9
1652 generated by GNU Autoconf
2.69
1654 Copyright
(C
) 2012 Free Software Foundation
, Inc.
1655 This configure
script is free software
; the Free Software Foundation
1656 gives unlimited permission to copy
, distribute and modify it.
1658 Copyright
(C
) 2009-2016 Jay Freeman
(saurik
)
1663 ## ------------------------ ##
1664 ## Autoconf initialization. ##
1665 ## ------------------------ ##
1667 # ac_fn_c_try_compile LINENO
1668 # --------------------------
1669 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1670 ac_fn_c_try_compile
()
1672 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1673 rm -f conftest.
$ac_objext
1674 if { { ac_try
="$ac_compile"
1676 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
1677 *) ac_try_echo=$ac_try;;
1679 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1680 $as_echo "$ac_try_echo"; } >&5
1681 (eval "$ac_compile") 2>conftest.err
1683 if test -s conftest.err; then
1684 grep -v '^ *+' conftest.err >conftest.er1
1685 cat conftest.er1 >&5
1686 mv -f conftest.er1 conftest.err
1688 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1689 test $ac_status = 0; } && {
1690 test -z "$ac_c_werror_flag" ||
1691 test ! -s conftest.err
1692 } && test -s conftest.$ac_objext; then :
1695 $as_echo "$as_me: failed program was:" >&5
1696 sed 's/^/| /' conftest.$ac_ext >&5
1700 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1701 as_fn_set_status $ac_retval
1703 } # ac_fn_c_try_compile
1705 # ac_fn_cxx_try_compile LINENO
1706 # ----------------------------
1707 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1708 ac_fn_cxx_try_compile ()
1710 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1711 rm -f conftest.$ac_objext
1712 if { { ac_try="$ac_compile"
1714 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
1715 *) ac_try_echo
=$ac_try;;
1717 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1718 $as_echo "$ac_try_echo"; } >&5
1719 (eval "$ac_compile") 2>conftest.err
1721 if test -s conftest.err
; then
1722 grep -v '^ *+' conftest.err
>conftest.er1
1723 cat conftest.er1
>&5
1724 mv -f conftest.er1 conftest.err
1726 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1727 test $ac_status = 0; } && {
1728 test -z "$ac_cxx_werror_flag" ||
1729 test ! -s conftest.err
1730 } && test -s conftest.
$ac_objext; then :
1733 $as_echo "$as_me: failed program was:" >&5
1734 sed 's/^/| /' conftest.
$ac_ext >&5
1738 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1739 as_fn_set_status
$ac_retval
1741 } # ac_fn_cxx_try_compile
1743 # ac_fn_objcxx_try_compile LINENO
1744 # -------------------------------
1745 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1746 ac_fn_objcxx_try_compile
()
1748 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1749 rm -f conftest.
$ac_objext
1750 if { { ac_try
="$ac_compile"
1752 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
1753 *) ac_try_echo=$ac_try;;
1755 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1756 $as_echo "$ac_try_echo"; } >&5
1757 (eval "$ac_compile") 2>conftest.err
1759 if test -s conftest.err; then
1760 grep -v '^ *+' conftest.err >conftest.er1
1761 cat conftest.er1 >&5
1762 mv -f conftest.er1 conftest.err
1764 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1765 test $ac_status = 0; } && {
1766 test -z "$ac_objcxx_werror_flag" ||
1767 test ! -s conftest.err
1768 } && test -s conftest.$ac_objext; then :
1771 $as_echo "$as_me: failed program was:" >&5
1772 sed 's/^/| /' conftest.$ac_ext >&5
1776 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1777 as_fn_set_status $ac_retval
1779 } # ac_fn_objcxx_try_compile
1781 # ac_fn_c_try_cpp LINENO
1782 # ----------------------
1783 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1786 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1787 if { { ac_try="$ac_cpp conftest.$ac_ext"
1789 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
1790 *) ac_try_echo
=$ac_try;;
1792 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1793 $as_echo "$ac_try_echo"; } >&5
1794 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1796 if test -s conftest.err
; then
1797 grep -v '^ *+' conftest.err
>conftest.er1
1798 cat conftest.er1
>&5
1799 mv -f conftest.er1 conftest.err
1801 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1802 test $ac_status = 0; } > conftest.i
&& {
1803 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1804 test ! -s conftest.err
1808 $as_echo "$as_me: failed program was:" >&5
1809 sed 's/^/| /' conftest.
$ac_ext >&5
1813 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1814 as_fn_set_status
$ac_retval
1818 # ac_fn_cxx_try_cpp LINENO
1819 # ------------------------
1820 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1821 ac_fn_cxx_try_cpp
()
1823 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1824 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1826 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
1827 *) ac_try_echo=$ac_try;;
1829 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1830 $as_echo "$ac_try_echo"; } >&5
1831 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1833 if test -s conftest.err; then
1834 grep -v '^ *+' conftest.err >conftest.er1
1835 cat conftest.er1 >&5
1836 mv -f conftest.er1 conftest.err
1838 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1839 test $ac_status = 0; } > conftest.i && {
1840 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1841 test ! -s conftest.err
1845 $as_echo "$as_me: failed program was:" >&5
1846 sed 's/^/| /' conftest.$ac_ext >&5
1850 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1851 as_fn_set_status $ac_retval
1853 } # ac_fn_cxx_try_cpp
1855 # ac_fn_c_try_link LINENO
1856 # -----------------------
1857 # Try to link conftest.$ac_ext, and return whether this succeeded.
1860 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1861 rm -f conftest.$ac_objext conftest$ac_exeext
1862 if { { ac_try="$ac_link"
1864 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
1865 *) ac_try_echo
=$ac_try;;
1867 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1868 $as_echo "$ac_try_echo"; } >&5
1869 (eval "$ac_link") 2>conftest.err
1871 if test -s conftest.err
; then
1872 grep -v '^ *+' conftest.err
>conftest.er1
1873 cat conftest.er1
>&5
1874 mv -f conftest.er1 conftest.err
1876 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1877 test $ac_status = 0; } && {
1878 test -z "$ac_c_werror_flag" ||
1879 test ! -s conftest.err
1880 } && test -s conftest
$ac_exeext && {
1881 test "$cross_compiling" = yes ||
1882 test -x conftest
$ac_exeext
1886 $as_echo "$as_me: failed program was:" >&5
1887 sed 's/^/| /' conftest.
$ac_ext >&5
1891 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1892 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1893 # interfere with the next link command; also delete a directory that is
1894 # left behind by Apple's compiler. We do this before executing the actions.
1895 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1896 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1897 as_fn_set_status
$ac_retval
1899 } # ac_fn_c_try_link
1901 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1902 # -------------------------------------------------------
1903 # Tests whether HEADER exists and can be compiled using the include files in
1904 # INCLUDES, setting the cache variable VAR accordingly.
1905 ac_fn_c_check_header_compile
()
1907 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1909 $as_echo_n "checking for $2... " >&6; }
1910 if eval \
${$3+:} false
; then :
1911 $as_echo_n "(cached) " >&6
1913 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1914 /* end confdefs.h. */
1918 if ac_fn_c_try_compile
"$LINENO"; then :
1923 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1927 $as_echo "$ac_res" >&6; }
1928 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1930 } # ac_fn_c_check_header_compile
1932 # ac_fn_c_try_run LINENO
1933 # ----------------------
1934 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1935 # that executables *can* be run.
1938 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1939 if { { ac_try
="$ac_link"
1941 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
1942 *) ac_try_echo=$ac_try;;
1944 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1945 $as_echo "$ac_try_echo"; } >&5
1946 (eval "$ac_link") 2>&5
1948 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1949 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1950 { { case "(($ac_try" in
1951 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
1952 *) ac_try_echo
=$ac_try;;
1954 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1955 $as_echo "$ac_try_echo"; } >&5
1956 (eval "$ac_try") 2>&5
1958 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1959 test $ac_status = 0; }; }; then :
1962 $as_echo "$as_me: program exited with status $ac_status" >&5
1963 $as_echo "$as_me: failed program was:" >&5
1964 sed 's/^/| /' conftest.
$ac_ext >&5
1966 ac_retval
=$ac_status
1968 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1969 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1970 as_fn_set_status
$ac_retval
1974 # ac_fn_c_check_func LINENO FUNC VAR
1975 # ----------------------------------
1976 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1977 ac_fn_c_check_func
()
1979 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1981 $as_echo_n "checking for $2... " >&6; }
1982 if eval \
${$3+:} false
; then :
1983 $as_echo_n "(cached) " >&6
1985 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1986 /* end confdefs.h. */
1987 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1988 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1989 #define $2 innocuous_$2
1991 /* System header to define __stub macros and hopefully few prototypes,
1992 which can conflict with char $2 (); below.
1993 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1994 <limits.h> exists even on freestanding compilers. */
1997 # include <limits.h>
1999 # include <assert.h>
2004 /* Override any GCC internal prototype to avoid an error.
2005 Use char because int might match the return type of a GCC
2006 builtin and then its argument prototype would still apply. */
2011 /* The GNU C library defines this for functions which it implements
2012 to always fail with ENOSYS. Some functions are actually named
2013 something starting with __ and the normal name is an alias. */
2014 #if defined __stub_$2 || defined __stub___$2
2026 if ac_fn_c_try_link
"$LINENO"; then :
2031 rm -f core conftest.err conftest.
$ac_objext \
2032 conftest
$ac_exeext conftest.
$ac_ext
2035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2036 $as_echo "$ac_res" >&6; }
2037 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2039 } # ac_fn_c_check_func
2041 # ac_fn_cxx_try_link LINENO
2042 # -------------------------
2043 # Try to link conftest.$ac_ext, and return whether this succeeded.
2044 ac_fn_cxx_try_link
()
2046 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2047 rm -f conftest.
$ac_objext conftest
$ac_exeext
2048 if { { ac_try
="$ac_link"
2050 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
2051 *) ac_try_echo=$ac_try;;
2053 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2054 $as_echo "$ac_try_echo"; } >&5
2055 (eval "$ac_link") 2>conftest.err
2057 if test -s conftest.err; then
2058 grep -v '^ *+' conftest.err >conftest.er1
2059 cat conftest.er1 >&5
2060 mv -f conftest.er1 conftest.err
2062 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2063 test $ac_status = 0; } && {
2064 test -z "$ac_cxx_werror_flag" ||
2065 test ! -s conftest.err
2066 } && test -s conftest$ac_exeext && {
2067 test "$cross_compiling" = yes ||
2068 test -x conftest$ac_exeext
2072 $as_echo "$as_me: failed program was:" >&5
2073 sed 's/^/| /' conftest.$ac_ext >&5
2077 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2078 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2079 # interfere with the next link command; also delete a directory that is
2080 # left behind by Apple's compiler. We do this before executing the actions.
2081 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2082 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2083 as_fn_set_status $ac_retval
2085 } # ac_fn_cxx_try_link
2087 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2088 # ---------------------------------------------------------
2089 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2090 # the include files in INCLUDES and setting the cache variable VAR
2092 ac_fn_cxx_check_header_mongrel ()
2094 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2095 if eval \${$3+:} false; then :
2096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2097 $as_echo_n "checking for $2... " >&6; }
2098 if eval \${$3+:} false; then :
2099 $as_echo_n "(cached) " >&6
2102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2103 $as_echo "$ac_res" >&6; }
2105 # Is the header compilable?
2106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2107 $as_echo_n "checking $2 usability... " >&6; }
2108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2109 /* end confdefs.h. */
2113 if ac_fn_cxx_try_compile "$LINENO"; then :
2114 ac_header_compiler=yes
2116 ac_header_compiler=no
2118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2120 $as_echo "$ac_header_compiler" >&6; }
2122 # Is the header present?
2123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2124 $as_echo_n "checking $2 presence... " >&6; }
2125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2126 /* end confdefs.h. */
2129 if ac_fn_cxx_try_cpp "$LINENO"; then :
2130 ac_header_preproc=yes
2132 ac_header_preproc=no
2134 rm -f conftest.err conftest.i conftest.$ac_ext
2135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2136 $as_echo "$ac_header_preproc" >&6; }
2138 # So? What about this header?
2139 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2141 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2142 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2143 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2144 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2147 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2148 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2149 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2150 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2151 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2152 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2153 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2154 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2155 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2156 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2157 ( $as_echo "## -------------------------------- ##
2158 ## Report this to saurik@saurik.com ##
2159 ## -------------------------------- ##"
2160 ) | sed "s/^/$as_me: WARNING: /" >&2
2163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2164 $as_echo_n "checking for $2... " >&6; }
2165 if eval \${$3+:} false; then :
2166 $as_echo_n "(cached) " >&6
2168 eval "$3=\$ac_header_compiler"
2171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2172 $as_echo "$ac_res" >&6; }
2174 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2176 } # ac_fn_cxx_check_header_mongrel
2178 # ac_fn_cxx_check_func LINENO FUNC VAR
2179 # ------------------------------------
2180 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2181 ac_fn_cxx_check_func ()
2183 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2185 $as_echo_n "checking for $2... " >&6; }
2186 if eval \${$3+:} false; then :
2187 $as_echo_n "(cached) " >&6
2189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2190 /* end confdefs.h. */
2191 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2192 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2193 #define $2 innocuous_$2
2195 /* System header to define __stub macros and hopefully few prototypes,
2196 which can conflict with char $2 (); below.
2197 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2198 <limits.h> exists even on freestanding compilers. */
2201 # include <limits.h>
2203 # include <assert.h>
2208 /* Override any GCC internal prototype to avoid an error.
2209 Use char because int might match the return type of a GCC
2210 builtin and then its argument prototype would still apply. */
2215 /* The GNU C library defines this for functions which it implements
2216 to always fail with ENOSYS. Some functions are actually named
2217 something starting with __ and the normal name is an alias. */
2218 #if defined __stub_$2 || defined __stub___$2
2230 if ac_fn_cxx_try_link "$LINENO"; then :
2235 rm -f core conftest.err conftest.$ac_objext \
2236 conftest$ac_exeext conftest.$ac_ext
2239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2240 $as_echo "$ac_res" >&6; }
2241 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2243 } # ac_fn_cxx_check_func
2245 # ac_fn_objcxx_try_link LINENO
2246 # ----------------------------
2247 # Try to link conftest.$ac_ext, and return whether this succeeded.
2248 ac_fn_objcxx_try_link ()
2250 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2251 rm -f conftest.$ac_objext conftest$ac_exeext
2252 if { { ac_try="$ac_link"
2254 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
2255 *) ac_try_echo
=$ac_try;;
2257 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2258 $as_echo "$ac_try_echo"; } >&5
2259 (eval "$ac_link") 2>conftest.err
2261 if test -s conftest.err
; then
2262 grep -v '^ *+' conftest.err
>conftest.er1
2263 cat conftest.er1
>&5
2264 mv -f conftest.er1 conftest.err
2266 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2267 test $ac_status = 0; } && {
2268 test -z "$ac_objcxx_werror_flag" ||
2269 test ! -s conftest.err
2270 } && test -s conftest
$ac_exeext && {
2271 test "$cross_compiling" = yes ||
2272 test -x conftest
$ac_exeext
2276 $as_echo "$as_me: failed program was:" >&5
2277 sed 's/^/| /' conftest.
$ac_ext >&5
2281 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2282 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2283 # interfere with the next link command; also delete a directory that is
2284 # left behind by Apple's compiler. We do this before executing the actions.
2285 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2286 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2287 as_fn_set_status
$ac_retval
2289 } # ac_fn_objcxx_try_link
2290 cat >config.log
<<_ACEOF
2291 This file contains any messages produced by compilers while
2292 running configure, to aid debugging if configure makes a mistake.
2294 It was created by Cycript $as_me 0.9, which was
2295 generated by GNU Autoconf 2.69. Invocation command line was
2307 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2308 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2309 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2310 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2311 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2313 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2314 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2316 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2317 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2318 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2319 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2320 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2321 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2322 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2326 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2330 test -z "$as_dir" && as_dir
=.
2331 $as_echo "PATH: $as_dir"
2347 # Keep a trace of the command line.
2348 # Strip out --no-create and --no-recursion so they do not pile up.
2349 # Strip out --silent because we don't want to record it for future runs.
2350 # Also quote any args containing shell meta-characters.
2351 # Make two passes to allow for proper duplicate-argument suppression.
2355 ac_must_keep_next
=false
2361 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2362 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2363 | -silent | --silent | --silen | --sile | --sil)
2366 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2369 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2371 as_fn_append ac_configure_args1
" '$ac_arg'"
2372 if test $ac_must_keep_next = true
; then
2373 ac_must_keep_next
=false
# Got value, back to normal.
2376 *=* | --config-cache | -C | -disable-* | --disable-* \
2377 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2378 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2379 | -with-* | --with-* | -without-* | --without-* | --x)
2380 case "$ac_configure_args0 " in
2381 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2384 -* ) ac_must_keep_next
=true
;;
2387 as_fn_append ac_configure_args
" '$ac_arg'"
2392 { ac_configure_args0
=; unset ac_configure_args0
;}
2393 { ac_configure_args1
=; unset ac_configure_args1
;}
2395 # When interrupted or exit'd, cleanup temporary files, and complete
2396 # config.log. We remove comments because anyway the quotes in there
2397 # would cause problems or look ugly.
2398 # WARNING: Use '\'' to represent an apostrophe within the trap.
2399 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2400 trap 'exit_status=$?
2401 # Save into config.log some information that might help in debugging.
2405 $as_echo "## ---------------- ##
2406 ## Cache variables. ##
2407 ## ---------------- ##"
2409 # The following way of writing the cache mishandles newlines in values,
2411 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2412 eval ac_val=\$$ac_var
2416 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2417 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2420 _ | IFS | as_nl) ;; #(
2421 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2422 *) { eval $ac_var=; unset $ac_var;} ;;
2427 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2428 *${as_nl}ac_space=\ *)
2430 "s/'\''/'\''\\\\'\'''\''/g;
2431 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2434 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2441 $as_echo "## ----------------- ##
2442 ## Output variables. ##
2443 ## ----------------- ##"
2445 for ac_var in $ac_subst_vars
2447 eval ac_val=\$$ac_var
2449 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2451 $as_echo "$ac_var='\''$ac_val'\''"
2455 if test -n "$ac_subst_files"; then
2456 $as_echo "## ------------------- ##
2457 ## File substitutions. ##
2458 ## ------------------- ##"
2460 for ac_var
in $ac_subst_files
2462 eval ac_val
=\$
$ac_var
2464 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2466 $as_echo "$ac_var='\''$ac_val'\''"
2471 if test -s confdefs.h; then
2472 $as_echo "## ----------- ##
2479 test "$ac_signal" != 0 &&
2480 $as_echo "$as_me: caught signal $ac_signal"
2481 $as_echo "$as_me: exit $exit_status"
2483 rm -f core *.core core.conftest.* &&
2484 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2487 for ac_signal
in 1 2 13 15; do
2488 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2492 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2493 rm -f -r conftest
* confdefs.h
2495 $as_echo "/* confdefs.h */" > confdefs.h
2497 # Predefined preprocessor variables.
2499 cat >>confdefs.h
<<_ACEOF
2500 #define PACKAGE_NAME "$PACKAGE_NAME"
2503 cat >>confdefs.h
<<_ACEOF
2504 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2507 cat >>confdefs.h
<<_ACEOF
2508 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2511 cat >>confdefs.h
<<_ACEOF
2512 #define PACKAGE_STRING "$PACKAGE_STRING"
2515 cat >>confdefs.h
<<_ACEOF
2516 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2519 cat >>confdefs.h
<<_ACEOF
2520 #define PACKAGE_URL "$PACKAGE_URL"
2524 # Let the site file select an alternate cache file if it wants to.
2525 # Prefer an explicitly selected file to automatically selected ones.
2528 if test -n "$CONFIG_SITE"; then
2529 # We do not want a PATH search for config.site.
2530 case $CONFIG_SITE in #((
2531 -*) ac_site_file1
=.
/$CONFIG_SITE;;
2532 */*) ac_site_file1
=$CONFIG_SITE;;
2533 *) ac_site_file1
=.
/$CONFIG_SITE;;
2535 elif test "x$prefix" != xNONE
; then
2536 ac_site_file1
=$prefix/share
/config.site
2537 ac_site_file2
=$prefix/etc
/config.site
2539 ac_site_file1
=$ac_default_prefix/share
/config.site
2540 ac_site_file2
=$ac_default_prefix/etc
/config.site
2542 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2544 test "x$ac_site_file" = xNONE
&& continue
2545 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2546 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2547 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2548 sed 's/^/| /' "$ac_site_file" >&5
2550 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2551 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2552 as_fn_error $?
"failed to load site script $ac_site_file
2553 See \`config.log' for more details" "$LINENO" 5; }
2557 if test -r "$cache_file"; then
2558 # Some versions of bash will fail to source /dev/null (special files
2559 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2560 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2561 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2562 $as_echo "$as_me: loading cache $cache_file" >&6;}
2564 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2565 *) .
"./$cache_file";;
2569 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2570 $as_echo "$as_me: creating cache $cache_file" >&6;}
2574 # Check that the precious variables saved in the cache have kept the same
2576 ac_cache_corrupted
=false
2577 for ac_var
in $ac_precious_vars; do
2578 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2579 eval ac_new_set
=\
$ac_env_${ac_var}_set
2580 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2581 eval ac_new_val
=\
$ac_env_${ac_var}_value
2582 case $ac_old_set,$ac_new_set in
2584 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2585 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2586 ac_cache_corrupted
=: ;;
2588 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2589 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2590 ac_cache_corrupted
=: ;;
2593 if test "x$ac_old_val" != "x$ac_new_val"; then
2594 # differences in whitespace do not lead to failure.
2595 ac_old_val_w
=`echo x $ac_old_val`
2596 ac_new_val_w
=`echo x $ac_new_val`
2597 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2598 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2599 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2600 ac_cache_corrupted
=:
2602 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2603 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2604 eval $ac_var=\
$ac_old_val
2606 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2607 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2608 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2609 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2612 # Pass precious variables to config.status.
2613 if test "$ac_new_set" = set; then
2615 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2616 *) ac_arg
=$ac_var=$ac_new_val ;;
2618 case " $ac_configure_args " in
2619 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2620 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2624 if $ac_cache_corrupted; then
2625 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2626 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2627 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2628 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2629 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2631 ## -------------------- ##
2632 ## Main body of script. ##
2633 ## -------------------- ##
2636 ac_cpp
='$CPP $CPPFLAGS'
2637 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2638 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2639 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2646 for ac_dir
in .
"$srcdir"/.
; do
2647 if test -f "$ac_dir/install-sh"; then
2649 ac_install_sh
="$ac_aux_dir/install-sh -c"
2651 elif test -f "$ac_dir/install.sh"; then
2653 ac_install_sh
="$ac_aux_dir/install.sh -c"
2655 elif test -f "$ac_dir/shtool"; then
2657 ac_install_sh
="$ac_aux_dir/shtool install -c"
2661 if test -z "$ac_aux_dir"; then
2662 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in . \"$srcdir\"/." "$LINENO" 5
2665 # These three variables are undocumented and unsupported,
2666 # and are intended to be withdrawn in a future Autoconf release.
2667 # They can cause serious problems if a builder's source tree is in a directory
2668 # whose full name contains unusual characters.
2669 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2670 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2671 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2675 ac_config_headers
="$ac_config_headers config.h"
2678 am__api_version
='1.15'
2680 # Find a good install program. We prefer a C program (faster),
2681 # so one script is as good as another. But avoid the broken or
2682 # incompatible versions:
2683 # SysV /etc/install, /usr/sbin/install
2684 # SunOS /usr/etc/install
2685 # IRIX /sbin/install
2687 # AmigaOS /C/install, which installs bootblocks on floppy discs
2688 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2689 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2690 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2691 # OS/2's system install, which has a completely different semantic
2692 # ./install, which can be erroneously created by make from ./install.sh.
2693 # Reject install programs that cannot install multiple files.
2694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2695 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2696 if test -z "$INSTALL"; then
2697 if ${ac_cv_path_install+:} false
; then :
2698 $as_echo_n "(cached) " >&6
2700 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2704 test -z "$as_dir" && as_dir
=.
2705 # Account for people who put trailing slashes in PATH elements.
2706 case $as_dir/ in #((
2707 .
/ | .
// | /[cC
]/* | \
2708 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
2709 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
2712 # OSF1 and SCO ODT 3.0 have their own names for install.
2713 # Don't use installbsd from OSF since it installs stuff as root
2715 for ac_prog
in ginstall scoinst
install; do
2716 for ac_exec_ext
in '' $ac_executable_extensions; do
2717 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
2718 if test $ac_prog = install &&
2719 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2720 # AIX install. It has an incompatible calling convention.
2722 elif test $ac_prog = install &&
2723 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2724 # program-specific install script used by HP pwplus--don't use.
2727 rm -rf conftest.one conftest.two conftest.dir
2728 echo one
> conftest.one
2729 echo two
> conftest.two
2731 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2732 test -s conftest.one
&& test -s conftest.two
&&
2733 test -s conftest.dir
/conftest.one
&&
2734 test -s conftest.dir
/conftest.two
2736 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2749 rm -rf conftest.one conftest.two conftest.dir
2752 if test "${ac_cv_path_install+set}" = set; then
2753 INSTALL
=$ac_cv_path_install
2755 # As a last resort, use the slow shell script. Don't cache a
2756 # value for INSTALL within a source directory, because that will
2757 # break other packages using the cache if that directory is
2758 # removed, or if the value is a relative name.
2759 INSTALL
=$ac_install_sh
2762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2763 $as_echo "$INSTALL" >&6; }
2765 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2766 # It thinks the first close brace ends the variable substitution.
2767 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2769 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2771 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2774 $as_echo_n "checking whether build environment is sane... " >&6; }
2775 # Reject unsafe characters in $srcdir or the absolute working directory
2776 # name. Accept space and tab only in the latter.
2780 *[\\\"\#\$\&\'\`$am_lf]*)
2781 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5;;
2784 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2785 as_fn_error $?
"unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2788 # Do 'set' in a subshell so we don't clobber the current shell's
2789 # arguments. Must try -L first in case configure is actually a
2790 # symlink; some systems play weird games with the mod time of symlinks
2791 # (eg FreeBSD returns the mod time of the symlink's containing
2795 for am_try
in 1 2; do
2796 echo "timestamp, slept: $am_has_slept" > conftest.
file
2797 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2798 if test "$*" = "X"; then
2800 set X
`ls -t "$srcdir/configure" conftest.file`
2802 if test "$*" != "X $srcdir/configure conftest.file" \
2803 && test "$*" != "X conftest.file $srcdir/configure"; then
2805 # If neither matched, then we have a broken ls. This can happen
2806 # if, for instance, CONFIG_SHELL is bash and it inherits a
2807 # broken ls alias from the environment. This has actually
2808 # happened. Such a system could not be considered "sane".
2809 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
2810 alias in your environment" "$LINENO" 5
2812 if test "$2" = conftest.
file || test $am_try -eq 2; then
2819 test "$2" = conftest.
file
2825 as_fn_error $?
"newly created file is older than distributed files!
2826 Check your system clock" "$LINENO" 5
2828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2829 $as_echo "yes" >&6; }
2830 # If we didn't sleep, we still need to ensure time stamps of config.status and
2831 # generated files are strictly newer.
2833 if grep 'slept: no' conftest.
file >/dev
/null
2>&1; then
2840 test "$program_prefix" != NONE
&&
2841 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2842 # Use a double $ so make ignores it.
2843 test "$program_suffix" != NONE
&&
2844 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2845 # Double any \ or $.
2846 # By default was `s,x,x', remove it if useless.
2847 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2848 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2850 # Expand $ac_aux_dir to an absolute path.
2851 am_aux_dir
=`cd "$ac_aux_dir" && pwd`
2853 if test x
"${MISSING+set}" != xset
; then
2856 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2858 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2861 # Use eval to expand $SHELL
2862 if eval "$MISSING --is-lightweight"; then
2863 am_missing_run
="$MISSING "
2866 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2867 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2870 if test x
"${install_sh+set}" != xset
; then
2873 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2875 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2879 # Installed binaries are usually stripped using 'strip' when the user
2880 # run "make install-strip". However 'strip' might not be the right
2881 # tool to use in cross-compilation environments, therefore Automake
2882 # will honor the 'STRIP' environment variable to overrule this program.
2883 if test "$cross_compiling" != no
; then
2884 if test -n "$ac_tool_prefix"; then
2885 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2886 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2888 $as_echo_n "checking for $ac_word... " >&6; }
2889 if ${ac_cv_prog_STRIP+:} false
; then :
2890 $as_echo_n "(cached) " >&6
2892 if test -n "$STRIP"; then
2893 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2895 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2899 test -z "$as_dir" && as_dir
=.
2900 for ac_exec_ext
in '' $ac_executable_extensions; do
2901 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2902 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2903 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2912 STRIP
=$ac_cv_prog_STRIP
2913 if test -n "$STRIP"; then
2914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2915 $as_echo "$STRIP" >&6; }
2917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2918 $as_echo "no" >&6; }
2923 if test -z "$ac_cv_prog_STRIP"; then
2925 # Extract the first word of "strip", so it can be a program name with args.
2926 set dummy strip
; ac_word
=$2
2927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2928 $as_echo_n "checking for $ac_word... " >&6; }
2929 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
2930 $as_echo_n "(cached) " >&6
2932 if test -n "$ac_ct_STRIP"; then
2933 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2935 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2939 test -z "$as_dir" && as_dir
=.
2940 for ac_exec_ext
in '' $ac_executable_extensions; do
2941 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2942 ac_cv_prog_ac_ct_STRIP
="strip"
2943 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2952 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2953 if test -n "$ac_ct_STRIP"; then
2954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2955 $as_echo "$ac_ct_STRIP" >&6; }
2957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2958 $as_echo "no" >&6; }
2961 if test "x$ac_ct_STRIP" = x
; then
2964 case $cross_compiling:$ac_tool_warned in
2966 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2967 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2968 ac_tool_warned
=yes ;;
2973 STRIP
="$ac_cv_prog_STRIP"
2977 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2980 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2981 if test -z "$MKDIR_P"; then
2982 if ${ac_cv_path_mkdir+:} false
; then :
2983 $as_echo_n "(cached) " >&6
2985 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2986 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2989 test -z "$as_dir" && as_dir
=.
2990 for ac_prog
in mkdir gmkdir
; do
2991 for ac_exec_ext
in '' $ac_executable_extensions; do
2992 as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext" || continue
2993 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2994 'mkdir (GNU coreutils) '* | \
2995 'mkdir (coreutils) '* | \
2996 'mkdir (fileutils) '4.1*)
2997 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
3007 test -d .
/--version && rmdir .
/--version
3008 if test "${ac_cv_path_mkdir+set}" = set; then
3009 MKDIR_P
="$ac_cv_path_mkdir -p"
3011 # As a last resort, use the slow shell script. Don't cache a
3012 # value for MKDIR_P within a source directory, because that will
3013 # break other packages using the cache if that directory is
3014 # removed, or if the value is a relative name.
3015 MKDIR_P
="$ac_install_sh -d"
3018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3019 $as_echo "$MKDIR_P" >&6; }
3021 for ac_prog
in gawk mawk nawk
awk
3023 # Extract the first word of "$ac_prog", so it can be a program name with args.
3024 set dummy
$ac_prog; ac_word
=$2
3025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3026 $as_echo_n "checking for $ac_word... " >&6; }
3027 if ${ac_cv_prog_AWK+:} false
; then :
3028 $as_echo_n "(cached) " >&6
3030 if test -n "$AWK"; then
3031 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
3033 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3037 test -z "$as_dir" && as_dir
=.
3038 for ac_exec_ext
in '' $ac_executable_extensions; do
3039 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3040 ac_cv_prog_AWK
="$ac_prog"
3041 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3051 if test -n "$AWK"; then
3052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3053 $as_echo "$AWK" >&6; }
3055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3056 $as_echo "no" >&6; }
3060 test -n "$AWK" && break
3063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3064 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3066 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3067 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
3068 $as_echo_n "(cached) " >&6
3070 cat >conftest.
make <<\_ACEOF
3073 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3075 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3076 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3078 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3080 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3084 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3086 $as_echo "yes" >&6; }
3089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3090 $as_echo "no" >&6; }
3091 SET_MAKE
="MAKE=${MAKE-make}"
3094 rm -rf .tst
2>/dev
/null
3095 mkdir .tst
2>/dev
/null
3096 if test -d .tst
; then
3101 rmdir .tst
2>/dev
/null
3103 # Check whether --enable-silent-rules was given.
3104 if test "${enable_silent_rules+set}" = set; then :
3105 enableval
=$enable_silent_rules;
3108 case $enable_silent_rules in # (((
3109 yes) AM_DEFAULT_VERBOSITY
=0;;
3110 no
) AM_DEFAULT_VERBOSITY
=1;;
3111 *) AM_DEFAULT_VERBOSITY
=1;;
3113 am_make
=${MAKE-make}
3114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3115 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3116 if ${am_cv_make_support_nested_variables+:} false
; then :
3117 $as_echo_n "(cached) " >&6
3119 if $as_echo 'TRUE=$(BAR$(V))
3125 .PHONY: am__doit' | $am_make -f - >/dev
/null
2>&1; then
3126 am_cv_make_support_nested_variables
=yes
3128 am_cv_make_support_nested_variables
=no
3131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3132 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3133 if test $am_cv_make_support_nested_variables = yes; then
3135 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
3137 AM_V
=$AM_DEFAULT_VERBOSITY
3138 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
3142 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3143 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3144 # is not polluted with repeated "-I."
3145 am__isrc
=' -I$(srcdir)'
3146 # test to see if srcdir already configured
3147 if test -f $srcdir/config.status
; then
3148 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3152 # test whether we have cygpath
3153 if test -z "$CYGPATH_W"; then
3154 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
3155 CYGPATH_W
='cygpath -w'
3162 # Define the identity of the package.
3167 cat >>confdefs.h
<<_ACEOF
3168 #define PACKAGE "$PACKAGE"
3172 cat >>confdefs.h
<<_ACEOF
3173 #define VERSION "$VERSION"
3176 # Some tools Automake needs.
3178 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3181 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3184 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3187 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
3190 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
3192 # For better backward compatibility. To be removed once Automake 1.9.x
3193 # dies out for good. For more background, see:
3194 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3195 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3196 mkdir_p
='$(MKDIR_P)'
3198 # We need awk for the "check" target (and possibly the TAP driver). The
3199 # system "awk" is bad on some platforms.
3200 # Always define AMTAR for backward compatibility. Yes, it's still used
3201 # in the wild :-( We should find a proper way to deprecate it ...
3205 # We'll loop over all known methods to create a tar archive until one works.
3206 _am_tools
='gnutar pax cpio none'
3208 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
3215 # POSIX will say in a future version that running "rm -f" with no argument
3216 # is OK; and we want to be able to make that assumption in our Makefile
3217 # recipes. So use an aggressive probe to check that the usage we want is
3218 # actually supported "in the wild" to an acceptable degree.
3219 # See automake bug#10828.
3220 # To make any issue more visible, cause the running configure to be aborted
3221 # by default if the 'rm' program in use doesn't match our expectations; the
3222 # user can still override this though.
3223 if rm -f && rm -fr && rm -rf; then : OK
; else
3227 Your 'rm' program seems unable to run without file operands specified
3228 on the command line, even when the '-f' option is present. This is contrary
3229 to the behaviour of most rm programs out there, and not conforming with
3230 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3232 Please tell bug-automake@gnu.org about your system, including the value
3233 of your $PATH and any error possibly output before this message. This
3234 can help us improve future automake versions.
3237 if test x
"$ACCEPT_INFERIOR_RM_PROGRAM" = x
"yes"; then
3238 echo 'Configuration will proceed anyway, since you have set the' >&2
3239 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3243 Aborting the configuration process, to ensure you take notice of the issue.
3245 You can download and install GNU coreutils to get an 'rm' implementation
3246 that behaves properly: <http://www.gnu.org/software/coreutils/>.
3248 If you want to complete the configuration process using your problematic
3249 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3250 to "yes", and re-run configure.
3253 as_fn_error $?
"Your 'rm' program is bad, sorry." "$LINENO" 5
3258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3259 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3260 # Check whether --enable-maintainer-mode was given.
3261 if test "${enable_maintainer_mode+set}" = set; then :
3262 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
3264 USE_MAINTAINER_MODE
=no
3267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3268 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3269 if test $USE_MAINTAINER_MODE = yes; then
3270 MAINTAINER_MODE_TRUE
=
3271 MAINTAINER_MODE_FALSE
='#'
3273 MAINTAINER_MODE_TRUE
='#'
3274 MAINTAINER_MODE_FALSE
=
3277 MAINT
=$MAINTAINER_MODE_TRUE
3282 ac_cpp
='$CPP $CPPFLAGS'
3283 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3284 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3285 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3286 if test -n "$ac_tool_prefix"; then
3287 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3288 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3290 $as_echo_n "checking for $ac_word... " >&6; }
3291 if ${ac_cv_prog_CC+:} false
; then :
3292 $as_echo_n "(cached) " >&6
3294 if test -n "$CC"; then
3295 ac_cv_prog_CC
="$CC" # Let the user override the test.
3297 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3301 test -z "$as_dir" && as_dir
=.
3302 for ac_exec_ext
in '' $ac_executable_extensions; do
3303 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3304 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3305 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3315 if test -n "$CC"; then
3316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3317 $as_echo "$CC" >&6; }
3319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3320 $as_echo "no" >&6; }
3325 if test -z "$ac_cv_prog_CC"; then
3327 # Extract the first word of "gcc", so it can be a program name with args.
3328 set dummy gcc
; ac_word
=$2
3329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3330 $as_echo_n "checking for $ac_word... " >&6; }
3331 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3332 $as_echo_n "(cached) " >&6
3334 if test -n "$ac_ct_CC"; then
3335 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3337 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3341 test -z "$as_dir" && as_dir
=.
3342 for ac_exec_ext
in '' $ac_executable_extensions; do
3343 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3344 ac_cv_prog_ac_ct_CC
="gcc"
3345 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3354 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3355 if test -n "$ac_ct_CC"; then
3356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3357 $as_echo "$ac_ct_CC" >&6; }
3359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3360 $as_echo "no" >&6; }
3363 if test "x$ac_ct_CC" = x
; then
3366 case $cross_compiling:$ac_tool_warned in
3368 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3369 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3370 ac_tool_warned
=yes ;;
3378 if test -z "$CC"; then
3379 if test -n "$ac_tool_prefix"; then
3380 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3381 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3383 $as_echo_n "checking for $ac_word... " >&6; }
3384 if ${ac_cv_prog_CC+:} false
; then :
3385 $as_echo_n "(cached) " >&6
3387 if test -n "$CC"; then
3388 ac_cv_prog_CC
="$CC" # Let the user override the test.
3390 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3394 test -z "$as_dir" && as_dir
=.
3395 for ac_exec_ext
in '' $ac_executable_extensions; do
3396 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3397 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3398 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3408 if test -n "$CC"; then
3409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3410 $as_echo "$CC" >&6; }
3412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3413 $as_echo "no" >&6; }
3419 if test -z "$CC"; then
3420 # Extract the first word of "cc", so it can be a program name with args.
3421 set dummy cc
; ac_word
=$2
3422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3423 $as_echo_n "checking for $ac_word... " >&6; }
3424 if ${ac_cv_prog_CC+:} false
; then :
3425 $as_echo_n "(cached) " >&6
3427 if test -n "$CC"; then
3428 ac_cv_prog_CC
="$CC" # Let the user override the test.
3431 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3435 test -z "$as_dir" && as_dir
=.
3436 for ac_exec_ext
in '' $ac_executable_extensions; do
3437 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3438 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3439 ac_prog_rejected
=yes
3443 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3450 if test $ac_prog_rejected = yes; then
3451 # We found a bogon in the path, so make sure we never use it.
3452 set dummy
$ac_cv_prog_CC
3454 if test $# != 0; then
3455 # We chose a different compiler from the bogus one.
3456 # However, it has the same basename, so the bogon will be chosen
3457 # first if we set CC to just the basename; use the full file name.
3459 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3465 if test -n "$CC"; then
3466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3467 $as_echo "$CC" >&6; }
3469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3470 $as_echo "no" >&6; }
3475 if test -z "$CC"; then
3476 if test -n "$ac_tool_prefix"; then
3477 for ac_prog
in cl.exe
3479 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3480 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3482 $as_echo_n "checking for $ac_word... " >&6; }
3483 if ${ac_cv_prog_CC+:} false
; then :
3484 $as_echo_n "(cached) " >&6
3486 if test -n "$CC"; then
3487 ac_cv_prog_CC
="$CC" # Let the user override the test.
3489 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3493 test -z "$as_dir" && as_dir
=.
3494 for ac_exec_ext
in '' $ac_executable_extensions; do
3495 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3496 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3497 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3507 if test -n "$CC"; then
3508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3509 $as_echo "$CC" >&6; }
3511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3512 $as_echo "no" >&6; }
3516 test -n "$CC" && break
3519 if test -z "$CC"; then
3521 for ac_prog
in cl.exe
3523 # Extract the first word of "$ac_prog", so it can be a program name with args.
3524 set dummy
$ac_prog; ac_word
=$2
3525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3526 $as_echo_n "checking for $ac_word... " >&6; }
3527 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3528 $as_echo_n "(cached) " >&6
3530 if test -n "$ac_ct_CC"; then
3531 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3533 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3537 test -z "$as_dir" && as_dir
=.
3538 for ac_exec_ext
in '' $ac_executable_extensions; do
3539 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3540 ac_cv_prog_ac_ct_CC
="$ac_prog"
3541 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3550 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3551 if test -n "$ac_ct_CC"; then
3552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3553 $as_echo "$ac_ct_CC" >&6; }
3555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3556 $as_echo "no" >&6; }
3560 test -n "$ac_ct_CC" && break
3563 if test "x$ac_ct_CC" = x
; then
3566 case $cross_compiling:$ac_tool_warned in
3568 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3569 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3570 ac_tool_warned
=yes ;;
3579 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3580 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3581 as_fn_error $?
"no acceptable C compiler found in \$PATH
3582 See \`config.log' for more details" "$LINENO" 5; }
3584 # Provide some information about the compiler.
3585 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3588 for ac_option
in --version -v -V -qversion; do
3589 { { ac_try
="$ac_compiler $ac_option >&5"
3591 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3592 *) ac_try_echo=$ac_try;;
3594 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3595 $as_echo "$ac_try_echo"; } >&5
3596 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3598 if test -s conftest.err; then
3600 ... rest of stderr output deleted ...
3601 10q' conftest.err >conftest.er1
3602 cat conftest.er1 >&5
3604 rm -f conftest.er1 conftest.err
3605 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3606 test $ac_status = 0; }
3609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3610 /* end confdefs.h. */
3620 ac_clean_files_save=$ac_clean_files
3621 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3622 # Try to create an executable without -o first, disregard a.out.
3623 # It will help us diagnose broken compilers, and finding out an intuition
3625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3626 $as_echo_n "checking whether the C compiler works... " >&6; }
3627 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3629 # The possible output files:
3630 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3633 for ac_file in $ac_files
3636 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3637 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3642 if { { ac_try="$ac_link_default"
3644 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
3645 *) ac_try_echo
=$ac_try;;
3647 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3648 $as_echo "$ac_try_echo"; } >&5
3649 (eval "$ac_link_default") 2>&5
3651 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3652 test $ac_status = 0; }; then :
3653 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3654 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3655 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3656 # so that the user can short-circuit this test for compilers unknown to
3658 for ac_file
in $ac_files ''
3660 test -f "$ac_file" || continue
3662 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.dSYM
| *.o
| *.obj
)
3665 # We found the default executable, but exeext='' is most
3669 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3671 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3673 # We set ac_cv_exeext here because the later test for it is not
3674 # safe: cross compilers may not add the suffix if given an `-o'
3675 # argument, so we may need to know it at that point already.
3676 # Even if this section looks crufty: it has the advantage of
3683 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3688 if test -z "$ac_file"; then :
3689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3690 $as_echo "no" >&6; }
3691 $as_echo "$as_me: failed program was:" >&5
3692 sed 's/^/| /' conftest.
$ac_ext >&5
3694 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3695 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3696 as_fn_error
77 "C compiler cannot create executables
3697 See \`config.log' for more details" "$LINENO" 5; }
3699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3700 $as_echo "yes" >&6; }
3702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3703 $as_echo_n "checking for C compiler default output file name... " >&6; }
3704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3705 $as_echo "$ac_file" >&6; }
3706 ac_exeext
=$ac_cv_exeext
3708 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3709 ac_clean_files
=$ac_clean_files_save
3710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3711 $as_echo_n "checking for suffix of executables... " >&6; }
3712 if { { ac_try
="$ac_link"
3714 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3715 *) ac_try_echo=$ac_try;;
3717 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3718 $as_echo "$ac_try_echo"; } >&5
3719 (eval "$ac_link") 2>&5
3721 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3722 test $ac_status = 0; }; then :
3723 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3724 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3725 # work properly (i.e., refer to `conftest.exe'), while it won't with
3727 for ac_file
in conftest.exe conftest conftest.
*; do
3728 test -f "$ac_file" || continue
3730 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.dSYM
| *.o
| *.obj
) ;;
3731 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3737 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3738 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3739 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3740 See \`config.log' for more details" "$LINENO" 5; }
3742 rm -f conftest conftest
$ac_cv_exeext
3743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3744 $as_echo "$ac_cv_exeext" >&6; }
3746 rm -f conftest.
$ac_ext
3747 EXEEXT
=$ac_cv_exeext
3749 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3750 /* end confdefs.h. */
3755 FILE *f = fopen ("conftest.out", "w");
3756 return ferror (f) || fclose (f) != 0;
3762 ac_clean_files
="$ac_clean_files conftest.out"
3763 # Check that the compiler produces executables we can run. If not, either
3764 # the compiler is broken, or we cross compile.
3765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3766 $as_echo_n "checking whether we are cross compiling... " >&6; }
3767 if test "$cross_compiling" != yes; then
3768 { { ac_try
="$ac_link"
3770 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3771 *) ac_try_echo=$ac_try;;
3773 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3774 $as_echo "$ac_try_echo"; } >&5
3775 (eval "$ac_link") 2>&5
3777 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3778 test $ac_status = 0; }
3779 if { ac_try='./conftest$ac_cv_exeext'
3780 { { case "(($ac_try" in
3781 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
3782 *) ac_try_echo
=$ac_try;;
3784 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3785 $as_echo "$ac_try_echo"; } >&5
3786 (eval "$ac_try") 2>&5
3788 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3789 test $ac_status = 0; }; }; then
3792 if test "$cross_compiling" = maybe
; then
3795 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3796 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3797 as_fn_error $?
"cannot run C compiled programs.
3798 If you meant to cross compile, use \`--host'.
3799 See \`config.log' for more details" "$LINENO" 5; }
3803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3804 $as_echo "$cross_compiling" >&6; }
3806 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3807 ac_clean_files
=$ac_clean_files_save
3808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3809 $as_echo_n "checking for suffix of object files... " >&6; }
3810 if ${ac_cv_objext+:} false
; then :
3811 $as_echo_n "(cached) " >&6
3813 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3814 /* end confdefs.h. */
3824 rm -f conftest.o conftest.obj
3825 if { { ac_try
="$ac_compile"
3827 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3828 *) ac_try_echo=$ac_try;;
3830 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3831 $as_echo "$ac_try_echo"; } >&5
3832 (eval "$ac_compile") 2>&5
3834 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3835 test $ac_status = 0; }; then :
3836 for ac_file in conftest.o conftest.obj conftest.*; do
3837 test -f "$ac_file" || continue;
3839 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3840 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3845 $as_echo "$as_me: failed program was:" >&5
3846 sed 's/^/| /' conftest.$ac_ext >&5
3848 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3849 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3850 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3851 See \
`config.log' for more details" "$LINENO" 5; }
3853 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3856 $as_echo "$ac_cv_objext" >&6; }
3857 OBJEXT=$ac_cv_objext
3859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3860 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3861 if ${ac_cv_c_compiler_gnu+:} false; then :
3862 $as_echo_n "(cached) " >&6
3864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3865 /* end confdefs.h. */
3878 if ac_fn_c_try_compile "$LINENO"; then :
3883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3884 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3888 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3889 if test $ac_compiler_gnu = yes; then
3894 ac_test_CFLAGS=${CFLAGS+set}
3895 ac_save_CFLAGS=$CFLAGS
3896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3897 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3898 if ${ac_cv_prog_cc_g+:} false; then :
3899 $as_echo_n "(cached) " >&6
3901 ac_save_c_werror_flag=$ac_c_werror_flag
3902 ac_c_werror_flag=yes
3905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3906 /* end confdefs.h. */
3916 if ac_fn_c_try_compile "$LINENO"; then :
3920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3921 /* end confdefs.h. */
3931 if ac_fn_c_try_compile "$LINENO"; then :
3934 ac_c_werror_flag=$ac_save_c_werror_flag
3936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3937 /* end confdefs.h. */
3947 if ac_fn_c_try_compile "$LINENO"; then :
3950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3955 ac_c_werror_flag=$ac_save_c_werror_flag
3957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3958 $as_echo "$ac_cv_prog_cc_g" >&6; }
3959 if test "$ac_test_CFLAGS" = set; then
3960 CFLAGS=$ac_save_CFLAGS
3961 elif test $ac_cv_prog_cc_g = yes; then
3962 if test "$GCC" = yes; then
3968 if test "$GCC" = yes; then
3974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3975 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3976 if ${ac_cv_prog_cc_c89+:} false; then :
3977 $as_echo_n "(cached) " >&6
3979 ac_cv_prog_cc_c89=no
3981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3982 /* end confdefs.h. */
3986 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3987 struct buf { int x; };
3988 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3989 static char *e (p, i)
3995 static char *f (char * (*g) (char **, int), char **p, ...)
4000 s = g (p, va_arg (v,int));
4005 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4006 function prototypes and stuff, but not '\xHH' hex character constants.
4007 These don't provoke an error unfortunately, instead are silently treated
4008 as 'x'. The following induces an error, until -std is added to get
4009 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4010 array size at least. It's necessary to write '\x00'==0 to get something
4011 that's true only with -std. */
4012 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4014 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4015 inside strings and character constants. */
4017 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4019 int test (int i, double x);
4020 struct s1 {int (*f) (int a);};
4021 struct s2 {int (*f) (double a);};
4022 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4028 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4033 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4034 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4036 CC="$ac_save_CC $ac_arg"
4037 if ac_fn_c_try_compile "$LINENO"; then :
4038 ac_cv_prog_cc_c89=$ac_arg
4040 rm -f core conftest.err conftest.$ac_objext
4041 test "x$ac_cv_prog_cc_c89" != "xno" && break
4043 rm -f conftest.$ac_ext
4048 case "x$ac_cv_prog_cc_c89" in
4050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4051 $as_echo "none needed" >&6; } ;;
4053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4054 $as_echo "unsupported" >&6; } ;;
4056 CC="$CC $ac_cv_prog_cc_c89"
4057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4058 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4060 if test "x$ac_cv_prog_cc_c89" != xno; then :
4065 ac_cpp='$CPP $CPPFLAGS'
4066 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4067 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4068 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4071 ac_cpp='$CPP $CPPFLAGS'
4072 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4073 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4074 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4076 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4077 if ${am_cv_prog_cc_c_o+:} false; then :
4078 $as_echo_n "(cached) " >&6
4080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4081 /* end confdefs.h. */
4091 # Make sure it works both with $CC and with simple cc.
4092 # Following AC_PROG_CC_C_O, we do the test twice because some
4093 # compilers refuse to overwrite an existing .o file with -o,
4094 # though they will create one.
4095 am_cv_prog_cc_c_o=yes
4097 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4098 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4101 (exit $ac_status); } \
4102 && test -f conftest2.$ac_objext; then
4105 am_cv_prog_cc_c_o=no
4109 rm -f core conftest*
4112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4113 $as_echo "$am_cv_prog_cc_c_o" >&6; }
4114 if test "$am_cv_prog_cc_c_o" != yes; then
4115 # Losing compiler, so override with the script.
4116 # FIXME: It is wrong to rewrite CC.
4117 # But if we don't then we get into trouble of one sort or another.
4118 # A longer-term fix would be to have automake use am__CC in this case,
4119 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4120 CC="$am_aux_dir/compile $CC"
4123 ac_cpp='$CPP $CPPFLAGS'
4124 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4125 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4126 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4128 DEPDIR="${am__leading_dot}deps"
4130 ac_config_commands="$ac_config_commands depfiles"
4133 am_make=${MAKE-make}
4134 cat > confinc << 'END'
4136 @echo this is the am__doit target
4139 # If we don't find an include directive, just comment out the code.
4140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4141 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4145 # First try GNU make style include.
4146 echo "include confinc" > confmf
4147 # Ignore all kinds of additional output from 'make'.
4148 case `$am_make -s -f confmf
2> /dev
/null
` in #(
4149 *the\ am__doit\ target*)
4155 # Now try BSD make style include.
4156 if test "$am__include" = "#"; then
4157 echo '.include "confinc"' > confmf
4158 case `$am_make -s -f confmf
2> /dev
/null
` in #(
4159 *the\ am__doit\ target*)
4160 am__include=.include
4168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4169 $as_echo "$_am_result" >&6; }
4170 rm -f confinc confmf
4172 # Check whether --enable-dependency-tracking was given.
4173 if test "${enable_dependency_tracking+set}" = set; then :
4174 enableval=$enable_dependency_tracking;
4177 if test "x$enable_dependency_tracking" != xno; then
4178 am_depcomp="$ac_aux_dir/depcomp"
4182 if test "x$enable_dependency_tracking" != xno; then
4192 depcc="$CC" am_compiler_list=
4194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4195 $as_echo_n "checking dependency style of $depcc... " >&6; }
4196 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4197 $as_echo_n "(cached) " >&6
4199 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4200 # We make a subdir and do the tests there. Otherwise we can end up
4201 # making bogus files that we don't know about and never remove. For
4202 # instance it was reported that on HP-UX the gcc test will end up
4203 # making a dummy file named 'D' -- because '-MD' means "put the output
4207 # Copy depcomp to subdir because otherwise we won't find it if we're
4208 # using a relative directory.
4209 cp "$am_depcomp" conftest.dir
4211 # We will build objects and dependencies in a subdirectory because
4212 # it helps to detect inapplicable dependency modes. For instance
4213 # both Tru64's cc and ICC support -MD to output dependencies as a
4214 # side effect of compilation, but ICC will put the dependencies in
4215 # the current directory while Tru64 will put them in the object
4219 am_cv_CC_dependencies_compiler_type=none
4220 if test "$am_compiler_list" = ""; then
4221 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
4224 case " $depcc " in #(
4225 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4228 for depmode in $am_compiler_list; do
4229 # Setup a source with many dependencies, because some compilers
4230 # like to wrap large dependency lists on column 80 (with \), and
4231 # we should not choose a depcomp mode which is confused by this.
4233 # We need to recreate these files for each test, as the compiler may
4234 # overwrite some of them when testing with obscure command lines.
4235 # This happens at least with the AIX C compiler.
4237 for i in 1 2 3 4 5 6; do
4238 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4239 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4240 # Solaris 10 /bin/sh.
4241 echo '/* dummy */' > sub/conftst$i.h
4243 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4245 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4246 # mode. It turns out that the SunPro C++ compiler does not properly
4247 # handle '-M -o', and we need to detect this. Also, some Intel
4248 # versions had trouble with output in subdirs.
4249 am__obj=sub/conftest.${OBJEXT-o}
4250 am__minus_obj="-o $am__obj"
4253 # This depmode causes a compiler race in universal mode.
4254 test "$am__universal" = false || continue
4257 # After this tag, mechanisms are not by side-effect, so they'll
4258 # only be used when explicitly requested.
4259 if test "x$enable_dependency_tracking" = xyes; then
4265 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4266 # This compiler won't grok '-c -o', but also, the minuso test has
4267 # not run yet. These depmodes are late enough in the game, and
4268 # so weak that their functioning should not be impacted.
4269 am__obj=conftest.${OBJEXT-o}
4274 if depmode=$depmode \
4275 source=sub/conftest.c object=$am__obj \
4276 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4277 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4278 >/dev/null 2>conftest.err &&
4279 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4280 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4281 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4282 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4283 # icc doesn't choke on unknown options, it will just issue warnings
4284 # or remarks (even with -Werror). So we grep stderr for any message
4285 # that says an option was ignored or not supported.
4286 # When given -MP, icc 7.0 and 7.1 complain thusly:
4287 # icc: Command line warning: ignoring option '-M'; no argument required
4288 # The diagnosis changed in icc 8.0:
4289 # icc: Command line remark: option '-MP' not supported
4290 if (grep 'ignoring option' conftest.err ||
4291 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4292 am_cv_CC_dependencies_compiler_type=$depmode
4301 am_cv_CC_dependencies_compiler_type=none
4305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4306 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4307 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4310 test "x$enable_dependency_tracking" != xno \
4311 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4313 am__fastdepCC_FALSE='#'
4315 am__fastdepCC_TRUE='#'
4316 am__fastdepCC_FALSE=
4321 ac_cpp='$CXXCPP $CPPFLAGS'
4322 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4323 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4324 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4325 if test -z "$CXX"; then
4326 if test -n "$CCC"; then
4329 if test -n "$ac_tool_prefix"; then
4330 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4332 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4333 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4335 $as_echo_n "checking for $ac_word... " >&6; }
4336 if ${ac_cv_prog_CXX+:} false; then :
4337 $as_echo_n "(cached) " >&6
4339 if test -n "$CXX"; then
4340 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4342 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4346 test -z "$as_dir" && as_dir=.
4347 for ac_exec_ext in '' $ac_executable_extensions; do
4348 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4349 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4350 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4360 if test -n "$CXX"; then
4361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4362 $as_echo "$CXX" >&6; }
4364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4365 $as_echo "no" >&6; }
4369 test -n "$CXX" && break
4372 if test -z "$CXX"; then
4374 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4376 # Extract the first word of "$ac_prog", so it can be a program name with args.
4377 set dummy $ac_prog; ac_word=$2
4378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4379 $as_echo_n "checking for $ac_word... " >&6; }
4380 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4381 $as_echo_n "(cached) " >&6
4383 if test -n "$ac_ct_CXX"; then
4384 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4386 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4390 test -z "$as_dir" && as_dir=.
4391 for ac_exec_ext in '' $ac_executable_extensions; do
4392 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4393 ac_cv_prog_ac_ct_CXX="$ac_prog"
4394 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4403 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4404 if test -n "$ac_ct_CXX"; then
4405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4406 $as_echo "$ac_ct_CXX" >&6; }
4408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4409 $as_echo "no" >&6; }
4413 test -n "$ac_ct_CXX" && break
4416 if test "x$ac_ct_CXX" = x; then
4419 case $cross_compiling:$ac_tool_warned in
4421 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4422 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4423 ac_tool_warned=yes ;;
4431 # Provide some information about the compiler.
4432 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4435 for ac_option in --version -v -V -qversion; do
4436 { { ac_try="$ac_compiler $ac_option >&5"
4438 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
4439 *) ac_try_echo
=$ac_try;;
4441 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4442 $as_echo "$ac_try_echo"; } >&5
4443 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4445 if test -s conftest.err
; then
4447 ... rest of stderr output deleted ...
4448 10q' conftest.err
>conftest.er1
4449 cat conftest.er1
>&5
4451 rm -f conftest.er1 conftest.err
4452 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4453 test $ac_status = 0; }
4456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4457 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4458 if ${ac_cv_cxx_compiler_gnu+:} false
; then :
4459 $as_echo_n "(cached) " >&6
4461 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4462 /* end confdefs.h. */
4475 if ac_fn_cxx_try_compile
"$LINENO"; then :
4480 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4481 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
4484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4485 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4486 if test $ac_compiler_gnu = yes; then
4491 ac_test_CXXFLAGS
=${CXXFLAGS+set}
4492 ac_save_CXXFLAGS
=$CXXFLAGS
4493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4494 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4495 if ${ac_cv_prog_cxx_g+:} false
; then :
4496 $as_echo_n "(cached) " >&6
4498 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
4499 ac_cxx_werror_flag
=yes
4502 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4503 /* end confdefs.h. */
4513 if ac_fn_cxx_try_compile
"$LINENO"; then :
4514 ac_cv_prog_cxx_g
=yes
4517 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4518 /* end confdefs.h. */
4528 if ac_fn_cxx_try_compile
"$LINENO"; then :
4531 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4533 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4534 /* end confdefs.h. */
4544 if ac_fn_cxx_try_compile
"$LINENO"; then :
4545 ac_cv_prog_cxx_g
=yes
4547 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4549 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4551 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4552 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4555 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4556 if test "$ac_test_CXXFLAGS" = set; then
4557 CXXFLAGS
=$ac_save_CXXFLAGS
4558 elif test $ac_cv_prog_cxx_g = yes; then
4559 if test "$GXX" = yes; then
4565 if test "$GXX" = yes; then
4572 ac_cpp
='$CPP $CPPFLAGS'
4573 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4574 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4575 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4577 depcc
="$CXX" am_compiler_list
=
4579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4580 $as_echo_n "checking dependency style of $depcc... " >&6; }
4581 if ${am_cv_CXX_dependencies_compiler_type+:} false
; then :
4582 $as_echo_n "(cached) " >&6
4584 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4585 # We make a subdir and do the tests there. Otherwise we can end up
4586 # making bogus files that we don't know about and never remove. For
4587 # instance it was reported that on HP-UX the gcc test will end up
4588 # making a dummy file named 'D' -- because '-MD' means "put the output
4592 # Copy depcomp to subdir because otherwise we won't find it if we're
4593 # using a relative directory.
4594 cp "$am_depcomp" conftest.dir
4596 # We will build objects and dependencies in a subdirectory because
4597 # it helps to detect inapplicable dependency modes. For instance
4598 # both Tru64's cc and ICC support -MD to output dependencies as a
4599 # side effect of compilation, but ICC will put the dependencies in
4600 # the current directory while Tru64 will put them in the object
4604 am_cv_CXX_dependencies_compiler_type
=none
4605 if test "$am_compiler_list" = ""; then
4606 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4609 case " $depcc " in #(
4610 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
4613 for depmode
in $am_compiler_list; do
4614 # Setup a source with many dependencies, because some compilers
4615 # like to wrap large dependency lists on column 80 (with \), and
4616 # we should not choose a depcomp mode which is confused by this.
4618 # We need to recreate these files for each test, as the compiler may
4619 # overwrite some of them when testing with obscure command lines.
4620 # This happens at least with the AIX C compiler.
4622 for i
in 1 2 3 4 5 6; do
4623 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4624 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4625 # Solaris 10 /bin/sh.
4626 echo '/* dummy */' > sub
/conftst
$i.h
4628 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4630 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4631 # mode. It turns out that the SunPro C++ compiler does not properly
4632 # handle '-M -o', and we need to detect this. Also, some Intel
4633 # versions had trouble with output in subdirs.
4634 am__obj
=sub
/conftest.
${OBJEXT-o}
4635 am__minus_obj
="-o $am__obj"
4638 # This depmode causes a compiler race in universal mode.
4639 test "$am__universal" = false
|| continue
4642 # After this tag, mechanisms are not by side-effect, so they'll
4643 # only be used when explicitly requested.
4644 if test "x$enable_dependency_tracking" = xyes
; then
4650 msvc7
| msvc7msys
| msvisualcpp
| msvcmsys
)
4651 # This compiler won't grok '-c -o', but also, the minuso test has
4652 # not run yet. These depmodes are late enough in the game, and
4653 # so weak that their functioning should not be impacted.
4654 am__obj
=conftest.
${OBJEXT-o}
4659 if depmode
=$depmode \
4660 source=sub
/conftest.c object
=$am__obj \
4661 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4662 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4663 >/dev
/null
2>conftest.err
&&
4664 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4665 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4666 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4667 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4668 # icc doesn't choke on unknown options, it will just issue warnings
4669 # or remarks (even with -Werror). So we grep stderr for any message
4670 # that says an option was ignored or not supported.
4671 # When given -MP, icc 7.0 and 7.1 complain thusly:
4672 # icc: Command line warning: ignoring option '-M'; no argument required
4673 # The diagnosis changed in icc 8.0:
4674 # icc: Command line remark: option '-MP' not supported
4675 if (grep 'ignoring option' conftest.err
||
4676 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4677 am_cv_CXX_dependencies_compiler_type
=$depmode
4686 am_cv_CXX_dependencies_compiler_type
=none
4690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
4691 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
4692 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
4695 test "x$enable_dependency_tracking" != xno \
4696 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
4697 am__fastdepCXX_TRUE
=
4698 am__fastdepCXX_FALSE
='#'
4700 am__fastdepCXX_TRUE
='#'
4701 am__fastdepCXX_FALSE
=
4706 ac_cpp
='$OBJCXXCPP $CPPFLAGS'
4707 ac_compile
='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4708 ac_link
='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4709 ac_compiler_gnu
=$ac_cv_objcxx_compiler_gnu
4710 if test -n "$ac_tool_prefix"; then
4711 for ac_prog
in g
++ objc
++ objcxx c
++ CXX
4713 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4714 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4716 $as_echo_n "checking for $ac_word... " >&6; }
4717 if ${ac_cv_prog_OBJCXX+:} false
; then :
4718 $as_echo_n "(cached) " >&6
4720 if test -n "$OBJCXX"; then
4721 ac_cv_prog_OBJCXX
="$OBJCXX" # Let the user override the test.
4723 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4727 test -z "$as_dir" && as_dir
=.
4728 for ac_exec_ext
in '' $ac_executable_extensions; do
4729 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4730 ac_cv_prog_OBJCXX
="$ac_tool_prefix$ac_prog"
4731 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4740 OBJCXX
=$ac_cv_prog_OBJCXX
4741 if test -n "$OBJCXX"; then
4742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCXX" >&5
4743 $as_echo "$OBJCXX" >&6; }
4745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4746 $as_echo "no" >&6; }
4750 test -n "$OBJCXX" && break
4753 if test -z "$OBJCXX"; then
4754 ac_ct_OBJCXX
=$OBJCXX
4755 for ac_prog
in g
++ objc
++ objcxx c
++ CXX
4757 # Extract the first word of "$ac_prog", so it can be a program name with args.
4758 set dummy
$ac_prog; ac_word
=$2
4759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4760 $as_echo_n "checking for $ac_word... " >&6; }
4761 if ${ac_cv_prog_ac_ct_OBJCXX+:} false
; then :
4762 $as_echo_n "(cached) " >&6
4764 if test -n "$ac_ct_OBJCXX"; then
4765 ac_cv_prog_ac_ct_OBJCXX
="$ac_ct_OBJCXX" # Let the user override the test.
4767 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4771 test -z "$as_dir" && as_dir
=.
4772 for ac_exec_ext
in '' $ac_executable_extensions; do
4773 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4774 ac_cv_prog_ac_ct_OBJCXX
="$ac_prog"
4775 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4784 ac_ct_OBJCXX
=$ac_cv_prog_ac_ct_OBJCXX
4785 if test -n "$ac_ct_OBJCXX"; then
4786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJCXX" >&5
4787 $as_echo "$ac_ct_OBJCXX" >&6; }
4789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4790 $as_echo "no" >&6; }
4794 test -n "$ac_ct_OBJCXX" && break
4797 if test "x$ac_ct_OBJCXX" = x
; then
4800 case $cross_compiling:$ac_tool_warned in
4802 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4803 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4804 ac_tool_warned
=yes ;;
4806 OBJCXX
=$ac_ct_OBJCXX
4810 # Provide some information about the compiler.
4811 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Objective C++ compiler version" >&5
4814 for ac_option
in --version -v -V -qversion; do
4815 { { ac_try
="$ac_compiler $ac_option >&5"
4817 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
4818 *) ac_try_echo=$ac_try;;
4820 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4821 $as_echo "$ac_try_echo"; } >&5
4822 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4824 if test -s conftest.err; then
4826 ... rest of stderr output deleted ...
4827 10q' conftest.err >conftest.er1
4828 cat conftest.er1 >&5
4830 rm -f conftest.er1 conftest.err
4831 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4832 test $ac_status = 0; }
4835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Objective C++ compiler" >&5
4836 $as_echo_n "checking whether we are using the GNU Objective C++ compiler... " >&6; }
4837 if ${ac_cv_objcxx_compiler_gnu+:} false; then :
4838 $as_echo_n "(cached) " >&6
4840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4841 /* end confdefs.h. */
4854 if ac_fn_objcxx_try_compile "$LINENO"; then :
4859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4860 ac_cv_objcxx_compiler_gnu=$ac_compiler_gnu
4863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objcxx_compiler_gnu" >&5
4864 $as_echo "$ac_cv_objcxx_compiler_gnu" >&6; }
4865 if test $ac_compiler_gnu = yes; then
4870 ac_test_OBJCXXFLAGS=${OBJCXXFLAGS+set}
4871 ac_save_OBJCXXFLAGS=$OBJCXXFLAGS
4872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $OBJCXX accepts -g" >&5
4873 $as_echo_n "checking whether $OBJCXX accepts -g... " >&6; }
4874 if ${ac_cv_prog_objcxx_g+:} false; then :
4875 $as_echo_n "(cached) " >&6
4877 ac_save_objcxx_werror_flag=$ac_objcxx_werror_flag
4878 ac_objcxx_werror_flag=yes
4879 ac_cv_prog_objcxx_g=no
4881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4882 /* end confdefs.h. */
4892 if ac_fn_objcxx_try_compile "$LINENO"; then :
4893 ac_cv_prog_objcxx_g=yes
4896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4897 /* end confdefs.h. */
4907 if ac_fn_objcxx_try_compile "$LINENO"; then :
4910 ac_objcxx_werror_flag=$ac_save_objcxx_werror_flag
4912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4913 /* end confdefs.h. */
4923 if ac_fn_objcxx_try_compile "$LINENO"; then :
4924 ac_cv_prog_objcxx_g=yes
4926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4931 ac_objcxx_werror_flag=$ac_save_objcx_werror_flag
4933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objcxx_g" >&5
4934 $as_echo "$ac_cv_prog_objcxx_g" >&6; }
4935 if test "$ac_test_OBJCXXFLAGS" = set; then
4936 OBJCXXFLAGS=$ac_save_OBJCXXFLAGS
4937 elif test $ac_cv_prog_objcxx_g = yes; then
4938 if test "$GOBJCXX" = yes; then
4939 OBJCXXFLAGS="-g -O2"
4944 if test "$GOBJCXX" = yes; then
4951 ac_cpp='$CPP $CPPFLAGS'
4952 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4953 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4954 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4956 depcc="$OBJCXX" am_compiler_list='gcc3 gcc'
4958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4959 $as_echo_n "checking dependency style of $depcc... " >&6; }
4960 if ${am_cv_OBJCXX_dependencies_compiler_type+:} false; then :
4961 $as_echo_n "(cached) " >&6
4963 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4964 # We make a subdir and do the tests there. Otherwise we can end up
4965 # making bogus files that we don't know about and never remove. For
4966 # instance it was reported that on HP-UX the gcc test will end up
4967 # making a dummy file named 'D' -- because '-MD' means "put the output
4971 # Copy depcomp to subdir because otherwise we won't find it if we're
4972 # using a relative directory.
4973 cp "$am_depcomp" conftest.dir
4975 # We will build objects and dependencies in a subdirectory because
4976 # it helps to detect inapplicable dependency modes. For instance
4977 # both Tru64's cc and ICC support -MD to output dependencies as a
4978 # side effect of compilation, but ICC will put the dependencies in
4979 # the current directory while Tru64 will put them in the object
4983 am_cv_OBJCXX_dependencies_compiler_type=none
4984 if test "$am_compiler_list" = ""; then
4985 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
4990 for depmode in $am_compiler_list; do
4991 # Setup a source with many dependencies, because some compilers
4992 # like to wrap large dependency lists on column 80 (with \), and
4993 # we should not choose a depcomp mode which is confused by this.
4995 # We need to recreate these files for each test, as the compiler may
4996 # overwrite some of them when testing with obscure command lines.
4997 # This happens at least with the AIX C compiler.
4999 for i in 1 2 3 4 5 6; do
5000 echo '#include "conftst'$i'.h"' >> sub/conftest.c
5001 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
5002 # Solaris 10 /bin/sh.
5003 echo '/* dummy */' > sub/conftst$i.h
5005 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5007 # We check with '-c' and '-o' for the sake of the "dashmstdout"
5008 # mode. It turns out that the SunPro C++ compiler does not properly
5009 # handle '-M -o', and we need to detect this. Also, some Intel
5010 # versions had trouble with output in subdirs.
5011 am__obj=sub/conftest.${OBJEXT-o}
5012 am__minus_obj="-o $am__obj"
5015 # This depmode causes a compiler race in universal mode.
5016 test "$am__universal" = false || continue
5019 # After this tag, mechanisms are not by side-effect, so they'll
5020 # only be used when explicitly requested.
5021 if test "x$enable_dependency_tracking" = xyes; then
5027 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
5028 # This compiler won't grok '-c -o', but also, the minuso test has
5029 # not run yet. These depmodes are late enough in the game, and
5030 # so weak that their functioning should not be impacted.
5031 am__obj=conftest.${OBJEXT-o}
5036 if depmode=$depmode \
5037 source=sub/conftest.c object=$am__obj \
5038 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5039 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5040 >/dev/null 2>conftest.err &&
5041 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5042 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5043 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5044 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5045 # icc doesn't choke on unknown options, it will just issue warnings
5046 # or remarks (even with -Werror). So we grep stderr for any message
5047 # that says an option was ignored or not supported.
5048 # When given -MP, icc 7.0 and 7.1 complain thusly:
5049 # icc: Command line warning: ignoring option '-M'; no argument required
5050 # The diagnosis changed in icc 8.0:
5051 # icc: Command line remark: option '-MP' not supported
5052 if (grep 'ignoring option' conftest.err ||
5053 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5054 am_cv_OBJCXX_dependencies_compiler_type=$depmode
5063 am_cv_OBJCXX_dependencies_compiler_type=none
5067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_OBJCXX_dependencies_compiler_type" >&5
5068 $as_echo "$am_cv_OBJCXX_dependencies_compiler_type" >&6; }
5069 OBJCXXDEPMODE=depmode=$am_cv_OBJCXX_dependencies_compiler_type
5072 test "x$enable_dependency_tracking" != xno \
5073 && test "$am_cv_OBJCXX_dependencies_compiler_type" = gcc3; then
5074 am__fastdepOBJCXX_TRUE=
5075 am__fastdepOBJCXX_FALSE='#'
5077 am__fastdepOBJCXX_TRUE='#'
5078 am__fastdepOBJCXX_FALSE=
5084 ac_cpp='$CPP $CPPFLAGS'
5085 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5086 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5087 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
5089 $as_echo_n "checking how to run the C preprocessor... " >&6; }
5090 # On Suns, sometimes $CPP names a directory.
5091 if test -n "$CPP" && test -d "$CPP"; then
5094 if test -z "$CPP"; then
5095 if ${ac_cv_prog_CPP+:} false; then :
5096 $as_echo_n "(cached) " >&6
5098 # Double quotes because CPP needs to be expanded
5099 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5102 for ac_c_preproc_warn_flag in '' yes
5104 # Use a header file that comes with gcc, so configuring glibc
5105 # with a fresh cross-compiler works.
5106 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5107 # <limits.h> exists even on freestanding compilers.
5108 # On the NeXT, cc -E runs the code through the compiler's parser,
5109 # not just through cpp. "Syntax error" is here to catch this case.
5110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5111 /* end confdefs.h. */
5113 # include <limits.h>
5115 # include <assert.h>
5119 if ac_fn_c_try_cpp "$LINENO"; then :
5122 # Broken: fails on valid input.
5125 rm -f conftest.err conftest.i conftest.$ac_ext
5127 # OK, works on sane cases. Now check whether nonexistent headers
5128 # can be detected and how.
5129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5130 /* end confdefs.h. */
5131 #include <ac_nonexistent.h>
5133 if ac_fn_c_try_cpp "$LINENO"; then :
5134 # Broken: success on invalid input.
5137 # Passes both tests.
5141 rm -f conftest.err conftest.i conftest.$ac_ext
5144 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5145 rm -f conftest.i conftest.err conftest.
$ac_ext
5146 if $ac_preproc_ok; then :
5158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5159 $as_echo "$CPP" >&6; }
5161 for ac_c_preproc_warn_flag
in '' yes
5163 # Use a header file that comes with gcc, so configuring glibc
5164 # with a fresh cross-compiler works.
5165 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5166 # <limits.h> exists even on freestanding compilers.
5167 # On the NeXT, cc -E runs the code through the compiler's parser,
5168 # not just through cpp. "Syntax error" is here to catch this case.
5169 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5170 /* end confdefs.h. */
5172 # include <limits.h>
5174 # include <assert.h>
5178 if ac_fn_c_try_cpp
"$LINENO"; then :
5181 # Broken: fails on valid input.
5184 rm -f conftest.err conftest.i conftest.
$ac_ext
5186 # OK, works on sane cases. Now check whether nonexistent headers
5187 # can be detected and how.
5188 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5189 /* end confdefs.h. */
5190 #include <ac_nonexistent.h>
5192 if ac_fn_c_try_cpp
"$LINENO"; then :
5193 # Broken: success on invalid input.
5196 # Passes both tests.
5200 rm -f conftest.err conftest.i conftest.
$ac_ext
5203 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5204 rm -f conftest.i conftest.err conftest.
$ac_ext
5205 if $ac_preproc_ok; then :
5208 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5209 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5210 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
5211 See \`config.log' for more details" "$LINENO" 5; }
5215 ac_cpp
='$CPP $CPPFLAGS'
5216 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5217 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5218 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5221 # Make sure we can run config.sub.
5222 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
5223 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
5225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
5226 $as_echo_n "checking build system type... " >&6; }
5227 if ${ac_cv_build+:} false
; then :
5228 $as_echo_n "(cached) " >&6
5230 ac_build_alias
=$build_alias
5231 test "x$ac_build_alias" = x
&&
5232 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
5233 test "x$ac_build_alias" = x
&&
5234 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
5235 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
5236 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
5239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
5240 $as_echo "$ac_cv_build" >&6; }
5241 case $ac_cv_build in
5243 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
5246 ac_save_IFS
=$IFS; IFS
='-'
5252 # Remember, the first character of IFS is used to create $*,
5253 # except with old shells:
5256 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
5259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
5260 $as_echo_n "checking host system type... " >&6; }
5261 if ${ac_cv_host+:} false
; then :
5262 $as_echo_n "(cached) " >&6
5264 if test "x$host_alias" = x
; then
5265 ac_cv_host
=$ac_cv_build
5267 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
5268 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
5272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
5273 $as_echo "$ac_cv_host" >&6; }
5276 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
5279 ac_save_IFS
=$IFS; IFS
='-'
5285 # Remember, the first character of IFS is used to create $*,
5286 # except with old shells:
5289 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
5294 save_cross_compiling
=$cross_compiling
5295 save_ac_tool_prefix
=$ac_tool_prefix
5300 ac_build_cpp
='$CPP_FOR_BUILD $CPPFLAGS_FOR_BUILD'
5301 ac_build_compile
='$CC_FOR_BUILD -c $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD conftest.$ac_ext >&5'
5302 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'
5303 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5304 if test -n "$ac_tool_prefix"; then
5305 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
5306 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
5307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5308 $as_echo_n "checking for $ac_word... " >&6; }
5309 if ${ac_cv_prog_CC_FOR_BUILD+:} false
; then :
5310 $as_echo_n "(cached) " >&6
5312 if test -n "$CC_FOR_BUILD"; then
5313 ac_cv_prog_CC_FOR_BUILD
="$CC_FOR_BUILD" # Let the user override the test.
5315 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5319 test -z "$as_dir" && as_dir
=.
5320 for ac_exec_ext
in '' $ac_executable_extensions; do
5321 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5322 ac_cv_prog_CC_FOR_BUILD
="${ac_tool_prefix}gcc"
5323 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5332 CC_FOR_BUILD
=$ac_cv_prog_CC_FOR_BUILD
5333 if test -n "$CC_FOR_BUILD"; then
5334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC_FOR_BUILD" >&5
5335 $as_echo "$CC_FOR_BUILD" >&6; }
5337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5338 $as_echo "no" >&6; }
5343 if test -z "$ac_cv_prog_CC_FOR_BUILD"; then
5344 ac_ct_CC_FOR_BUILD
=$CC_FOR_BUILD
5345 # Extract the first word of "gcc", so it can be a program name with args.
5346 set dummy gcc
; ac_word
=$2
5347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5348 $as_echo_n "checking for $ac_word... " >&6; }
5349 if ${ac_cv_prog_ac_ct_CC_FOR_BUILD+:} false
; then :
5350 $as_echo_n "(cached) " >&6
5352 if test -n "$ac_ct_CC_FOR_BUILD"; then
5353 ac_cv_prog_ac_ct_CC_FOR_BUILD
="$ac_ct_CC_FOR_BUILD" # Let the user override the test.
5355 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5359 test -z "$as_dir" && as_dir
=.
5360 for ac_exec_ext
in '' $ac_executable_extensions; do
5361 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5362 ac_cv_prog_ac_ct_CC_FOR_BUILD
="gcc"
5363 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5372 ac_ct_CC_FOR_BUILD
=$ac_cv_prog_ac_ct_CC_FOR_BUILD
5373 if test -n "$ac_ct_CC_FOR_BUILD"; then
5374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC_FOR_BUILD" >&5
5375 $as_echo "$ac_ct_CC_FOR_BUILD" >&6; }
5377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5378 $as_echo "no" >&6; }
5381 if test "x$ac_ct_CC_FOR_BUILD" = x
; then
5384 case $cross_compiling:$ac_tool_warned in
5386 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with build triplet" >&5
5387 $as_echo "$as_me: WARNING: using cross tools not prefixed with build triplet" >&2;}
5388 ac_tool_warned
=yes ;;
5390 CC_FOR_BUILD
=$ac_ct_CC_FOR_BUILD
5393 CC_FOR_BUILD
="$ac_cv_prog_CC_FOR_BUILD"
5396 if test -z "$CC_FOR_BUILD"; then
5397 if test -n "$ac_tool_prefix"; then
5398 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
5399 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
5400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5401 $as_echo_n "checking for $ac_word... " >&6; }
5402 if ${ac_cv_prog_CC_FOR_BUILD+:} false
; then :
5403 $as_echo_n "(cached) " >&6
5405 if test -n "$CC_FOR_BUILD"; then
5406 ac_cv_prog_CC_FOR_BUILD
="$CC_FOR_BUILD" # Let the user override the test.
5408 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5412 test -z "$as_dir" && as_dir
=.
5413 for ac_exec_ext
in '' $ac_executable_extensions; do
5414 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5415 ac_cv_prog_CC_FOR_BUILD
="${ac_tool_prefix}cc"
5416 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5425 CC_FOR_BUILD
=$ac_cv_prog_CC_FOR_BUILD
5426 if test -n "$CC_FOR_BUILD"; then
5427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC_FOR_BUILD" >&5
5428 $as_echo "$CC_FOR_BUILD" >&6; }
5430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5431 $as_echo "no" >&6; }
5437 if test -z "$CC_FOR_BUILD"; then
5438 # Extract the first word of "cc", so it can be a program name with args.
5439 set dummy cc
; ac_word
=$2
5440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5441 $as_echo_n "checking for $ac_word... " >&6; }
5442 if ${ac_cv_prog_CC_FOR_BUILD+:} false
; then :
5443 $as_echo_n "(cached) " >&6
5445 if test -n "$CC_FOR_BUILD"; then
5446 ac_cv_prog_CC_FOR_BUILD
="$CC_FOR_BUILD" # Let the user override the test.
5449 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5453 test -z "$as_dir" && as_dir
=.
5454 for ac_exec_ext
in '' $ac_executable_extensions; do
5455 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5456 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
5457 ac_prog_rejected
=yes
5460 ac_cv_prog_CC_FOR_BUILD
="cc"
5461 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5468 if test $ac_prog_rejected = yes; then
5469 # We found a bogon in the path, so make sure we never use it.
5470 set dummy
$ac_cv_prog_CC_FOR_BUILD
5472 if test $# != 0; then
5473 # We chose a different compiler from the bogus one.
5474 # However, it has the same basename, so the bogon will be chosen
5475 # first if we set CC_FOR_BUILD to just the basename; use the full file name.
5477 ac_cv_prog_CC_FOR_BUILD
="$as_dir/$ac_word${1+' '}$@"
5482 CC_FOR_BUILD
=$ac_cv_prog_CC_FOR_BUILD
5483 if test -n "$CC_FOR_BUILD"; then
5484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC_FOR_BUILD" >&5
5485 $as_echo "$CC_FOR_BUILD" >&6; }
5487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5488 $as_echo "no" >&6; }
5493 if test -z "$CC_FOR_BUILD"; then
5494 if test -n "$ac_tool_prefix"; then
5495 for ac_prog
in cl.exe
5497 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5498 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5500 $as_echo_n "checking for $ac_word... " >&6; }
5501 if ${ac_cv_prog_CC_FOR_BUILD+:} false
; then :
5502 $as_echo_n "(cached) " >&6
5504 if test -n "$CC_FOR_BUILD"; then
5505 ac_cv_prog_CC_FOR_BUILD
="$CC_FOR_BUILD" # Let the user override the test.
5507 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5511 test -z "$as_dir" && as_dir
=.
5512 for ac_exec_ext
in '' $ac_executable_extensions; do
5513 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5514 ac_cv_prog_CC_FOR_BUILD
="$ac_tool_prefix$ac_prog"
5515 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5524 CC_FOR_BUILD
=$ac_cv_prog_CC_FOR_BUILD
5525 if test -n "$CC_FOR_BUILD"; then
5526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC_FOR_BUILD" >&5
5527 $as_echo "$CC_FOR_BUILD" >&6; }
5529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5530 $as_echo "no" >&6; }
5534 test -n "$CC_FOR_BUILD" && break
5537 if test -z "$CC_FOR_BUILD"; then
5538 ac_ct_CC_FOR_BUILD
=$CC_FOR_BUILD
5539 for ac_prog
in cl.exe
5541 # Extract the first word of "$ac_prog", so it can be a program name with args.
5542 set dummy
$ac_prog; ac_word
=$2
5543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5544 $as_echo_n "checking for $ac_word... " >&6; }
5545 if ${ac_cv_prog_ac_ct_CC_FOR_BUILD+:} false
; then :
5546 $as_echo_n "(cached) " >&6
5548 if test -n "$ac_ct_CC_FOR_BUILD"; then
5549 ac_cv_prog_ac_ct_CC_FOR_BUILD
="$ac_ct_CC_FOR_BUILD" # Let the user override the test.
5551 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5555 test -z "$as_dir" && as_dir
=.
5556 for ac_exec_ext
in '' $ac_executable_extensions; do
5557 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5558 ac_cv_prog_ac_ct_CC_FOR_BUILD
="$ac_prog"
5559 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5568 ac_ct_CC_FOR_BUILD
=$ac_cv_prog_ac_ct_CC_FOR_BUILD
5569 if test -n "$ac_ct_CC_FOR_BUILD"; then
5570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC_FOR_BUILD" >&5
5571 $as_echo "$ac_ct_CC_FOR_BUILD" >&6; }
5573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5574 $as_echo "no" >&6; }
5578 test -n "$ac_ct_CC_FOR_BUILD" && break
5581 if test "x$ac_ct_CC_FOR_BUILD" = x
; then
5584 case $cross_compiling:$ac_tool_warned in
5586 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with build triplet" >&5
5587 $as_echo "$as_me: WARNING: using cross tools not prefixed with build triplet" >&2;}
5588 ac_tool_warned
=yes ;;
5590 CC_FOR_BUILD
=$ac_ct_CC_FOR_BUILD
5597 test -z "$CC_FOR_BUILD" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5598 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5599 as_fn_error $?
"no acceptable C compiler found in \$PATH
5600 See \`config.log' for more details" "$LINENO" 5; }
5602 # Provide some information about the compiler.
5603 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5604 set X
$ac_build_compile
5606 for ac_option
in --version -v -V -qversion; do
5607 { { ac_try
="$ac_compiler $ac_option >&5"
5609 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
5610 *) ac_try_echo=$ac_try;;
5612 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5613 $as_echo "$ac_try_echo"; } >&5
5614 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5616 if test -s conftest.err; then
5618 ... rest of stderr output deleted ...
5619 10q' conftest.err >conftest.er1
5620 cat conftest.er1 >&5
5622 rm -f conftest.er1 conftest.err
5623 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5624 test $ac_status = 0; }
5627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
5628 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
5629 if ${ac_cv_c_compiler_gnu+:} false; then :
5630 $as_echo_n "(cached) " >&6
5632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5633 /* end confdefs.h. */
5646 if ac_fn_c_try_compile "$LINENO"; then :
5651 rm -f core conftest.err conftest.$ac_build_objext conftest.$ac_ext
5652 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5656 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
5657 if test $ac_compiler_gnu = yes; then
5662 ac_test_CFLAGS=${CFLAGS_FOR_BUILD+set}
5663 ac_save_CFLAGS=$CFLAGS_FOR_BUILD
5664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD accepts -g" >&5
5665 $as_echo_n "checking whether $CC_FOR_BUILD accepts -g... " >&6; }
5666 if ${ac_cv_build_prog_cc_g+:} false; then :
5667 $as_echo_n "(cached) " >&6
5669 ac_save_c_werror_flag=$ac_c_werror_flag
5670 ac_c_werror_flag=yes
5671 ac_cv_build_prog_cc_g=no
5672 CFLAGS_FOR_BUILD="-g"
5673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5674 /* end confdefs.h. */
5684 if ac_fn_c_try_compile "$LINENO"; then :
5685 ac_cv_build_prog_cc_g=yes
5688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5689 /* end confdefs.h. */
5699 if ac_fn_c_try_compile "$LINENO"; then :
5702 ac_c_werror_flag=$ac_save_c_werror_flag
5703 CFLAGS_FOR_BUILD="-g"
5704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5705 /* end confdefs.h. */
5715 if ac_fn_c_try_compile "$LINENO"; then :
5716 ac_cv_build_prog_cc_g=yes
5718 rm -f core conftest.err conftest.$ac_build_objext conftest.$ac_ext
5720 rm -f core conftest.err conftest.$ac_build_objext conftest.$ac_ext
5722 rm -f core conftest.err conftest.$ac_build_objext conftest.$ac_ext
5723 ac_c_werror_flag=$ac_save_c_werror_flag
5725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build_prog_cc_g" >&5
5726 $as_echo "$ac_cv_build_prog_cc_g" >&6; }
5727 if test "$ac_test_CFLAGS" = set; then
5728 CFLAGS_FOR_BUILD=$ac_save_CFLAGS
5729 elif test $ac_cv_build_prog_cc_g = yes; then
5730 if test "$GCC" = yes; then
5731 CFLAGS_FOR_BUILD="-g -O2"
5733 CFLAGS_FOR_BUILD="-g"
5736 if test "$GCC" = yes; then
5737 CFLAGS_FOR_BUILD="-O2"
5742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC_FOR_BUILD option to accept ISO C89" >&5
5743 $as_echo_n "checking for $CC_FOR_BUILD option to accept ISO C89... " >&6; }
5744 if ${ac_cv_prog_cc_c89+:} false; then :
5745 $as_echo_n "(cached) " >&6
5747 ac_cv_prog_cc_c89=no
5748 ac_save_CC=$CC_FOR_BUILD
5749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5750 /* end confdefs.h. */
5754 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5755 struct buf { int x; };
5756 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5757 static char *e (p, i)
5763 static char *f (char * (*g) (char **, int), char **p, ...)
5768 s = g (p, va_arg (v,int));
5773 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5774 function prototypes and stuff, but not '\xHH' hex character constants.
5775 These don't provoke an error unfortunately, instead are silently treated
5776 as 'x'. The following induces an error, until -std is added to get
5777 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5778 array size at least. It's necessary to write '\x00'==0 to get something
5779 that's true only with -std. */
5780 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5782 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5783 inside strings and character constants. */
5785 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5787 int test (int i, double x);
5788 struct s1 {int (*f) (int a);};
5789 struct s2 {int (*f) (double a);};
5790 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5796 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5801 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5802 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5804 CC_FOR_BUILD="$ac_save_CC $ac_arg"
5805 if ac_fn_c_try_compile "$LINENO"; then :
5806 ac_cv_prog_cc_c89=$ac_arg
5808 rm -f core conftest.err conftest.$ac_build_objext
5809 test "x$ac_cv_prog_cc_c89" != "xno" && break
5811 rm -f conftest.$ac_ext
5812 CC_FOR_BUILD=$ac_save_CC
5816 case "x$ac_cv_prog_cc_c89" in
5818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5819 $as_echo "none needed" >&6; } ;;
5821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5822 $as_echo "unsupported" >&6; } ;;
5824 CC_FOR_BUILD="$CC_FOR_BUILD $ac_cv_prog_cc_c89"
5825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5826 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5828 if test "x$ac_cv_prog_cc_c89" != xno; then :
5833 ac_build_cpp='$CPP_FOR_BUILD $CPPFLAGS_FOR_BUILD'
5834 ac_build_compile='$CC_FOR_BUILD -c $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD conftest.$ac_ext >&5'
5835 ac_build_link='$CC_FOR_BUILD -o conftest$ac_build_exeext $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD $LDFLAGS_FOR_BUILD conftest.$ac_ext $LIBS >&5'
5836 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5839 ac_build_cpp='$CPP_FOR_BUILD $CPPFLAGS_FOR_BUILD'
5840 ac_build_compile='$CC_FOR_BUILD -c $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD conftest.$ac_ext >&5'
5841 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'
5842 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD understands -c and -o together" >&5
5844 $as_echo_n "checking whether $CC_FOR_BUILD understands -c and -o together... " >&6; }
5845 if ${am_cv_prog_cc_c_o+:} false; then :
5846 $as_echo_n "(cached) " >&6
5848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5849 /* end confdefs.h. */
5859 # Make sure it works both with $CC and with simple cc.
5860 # Following AC_PROG_CC_C_O, we do the test twice because some
5861 # compilers refuse to overwrite an existing .o file with -o,
5862 # though they will create one.
5863 am_cv_prog_cc_c_o=yes
5865 if { echo "$as_me:$LINENO: $CC_FOR_BUILD -c conftest.$ac_ext -o conftest2.$ac_build_objext" >&5
5866 ($CC_FOR_BUILD -c conftest.$ac_ext -o conftest2.$ac_build_objext) >&5 2>&5
5868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5869 (exit $ac_status); } \
5870 && test -f conftest2.$ac_build_objext; then
5873 am_cv_prog_cc_c_o=no
5877 rm -f core conftest*
5880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
5881 $as_echo "$am_cv_prog_cc_c_o" >&6; }
5882 if test "$am_cv_prog_cc_c_o" != yes; then
5883 # Losing compiler, so override with the script.
5884 # FIXME: It is wrong to rewrite CC.
5885 # But if we don't then we get into trouble of one sort or another.
5886 # A longer-term fix would be to have automake use am__CC in this case,
5887 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
5888 CC_FOR_BUILD="$am_aux_dir/compile $CC_FOR_BUILD"
5891 ac_build_cpp='$CPP_FOR_BUILD $CPPFLAGS_FOR_BUILD'
5892 ac_build_compile='$CC_FOR_BUILD -c $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD conftest.$ac_ext >&5'
5893 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'
5894 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5897 depcc="$CC_FOR_BUILD" am_compiler_list=
5899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5900 $as_echo_n "checking dependency style of $depcc... " >&6; }
5901 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
5902 $as_echo_n "(cached) " >&6
5904 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5905 # We make a subdir and do the tests there. Otherwise we can end up
5906 # making bogus files that we don't know about and never remove. For
5907 # instance it was reported that on HP-UX the gcc test will end up
5908 # making a dummy file named 'D' -- because '-MD' means "put the output
5912 # Copy depcomp to subdir because otherwise we won't find it if we're
5913 # using a relative directory.
5914 cp "$am_depcomp" conftest.dir
5916 # We will build objects and dependencies in a subdirectory because
5917 # it helps to detect inapplicable dependency modes. For instance
5918 # both Tru64's cc and ICC support -MD to output dependencies as a
5919 # side effect of compilation, but ICC will put the dependencies in
5920 # the current directory while Tru64 will put them in the object
5924 am_cv_CC_dependencies_compiler_type=none
5925 if test "$am_compiler_list" = ""; then
5926 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
5929 case " $depcc " in #(
5930 *\ -arch\ *\ -arch\ *) am__universal=true ;;
5933 for depmode in $am_compiler_list; do
5934 # Setup a source with many dependencies, because some compilers
5935 # like to wrap large dependency lists on column 80 (with \), and
5936 # we should not choose a depcomp mode which is confused by this.
5938 # We need to recreate these files for each test, as the compiler may
5939 # overwrite some of them when testing with obscure command lines.
5940 # This happens at least with the AIX C compiler.
5942 for i in 1 2 3 4 5 6; do
5943 echo '#include "conftst'$i'.h"' >> sub/conftest.c
5944 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
5945 # Solaris 10 /bin/sh.
5946 echo '/* dummy */' > sub/conftst$i.h
5948 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5950 # We check with '-c' and '-o' for the sake of the "dashmstdout"
5951 # mode. It turns out that the SunPro C++ compiler does not properly
5952 # handle '-M -o', and we need to detect this. Also, some Intel
5953 # versions had trouble with output in subdirs.
5954 am__obj=sub/conftest.${OBJEXT-o}
5955 am__minus_obj="-o $am__obj"
5958 # This depmode causes a compiler race in universal mode.
5959 test "$am__universal" = false || continue
5962 # After this tag, mechanisms are not by side-effect, so they'll
5963 # only be used when explicitly requested.
5964 if test "x$enable_dependency_tracking" = xyes; then
5970 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
5971 # This compiler won't grok '-c -o', but also, the minuso test has
5972 # not run yet. These depmodes are late enough in the game, and
5973 # so weak that their functioning should not be impacted.
5974 am__obj=conftest.${OBJEXT-o}
5979 if depmode=$depmode \
5980 source=sub/conftest.c object=$am__obj \
5981 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5982 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5983 >/dev/null 2>conftest.err &&
5984 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5985 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5986 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5987 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5988 # icc doesn't choke on unknown options, it will just issue warnings
5989 # or remarks (even with -Werror). So we grep stderr for any message
5990 # that says an option was ignored or not supported.
5991 # When given -MP, icc 7.0 and 7.1 complain thusly:
5992 # icc: Command line warning: ignoring option '-M'; no argument required
5993 # The diagnosis changed in icc 8.0:
5994 # icc: Command line remark: option '-MP' not supported
5995 if (grep 'ignoring option' conftest.err ||
5996 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5997 am_cv_CC_dependencies_compiler_type=$depmode
6006 am_cv_CC_dependencies_compiler_type=none
6010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
6011 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
6012 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
6015 test "x$enable_dependency_tracking" != xno \
6016 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
6018 am__fastdepCC_FALSE='#'
6020 am__fastdepCC_TRUE='#'
6021 am__fastdepCC_FALSE=
6026 ac_build_cpp='$CPP_FOR_BUILD $CPPFLAGS_FOR_BUILD'
6027 ac_build_compile='$CC_FOR_BUILD -c $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD conftest.$ac_ext >&5'
6028 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'
6029 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6031 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6032 # On Suns, sometimes $CPP names a directory.
6033 if test -n "$CPP_FOR_BUILD" && test -d "$CPP_FOR_BUILD"; then
6036 if test -z "$CPP_FOR_BUILD"; then
6037 if ${ac_cv_build_prog_CPP+:} false; then :
6038 $as_echo_n "(cached) " >&6
6040 # Double quotes because CPP needs to be expanded
6041 for CPP_FOR_BUILD in "$CC_FOR_BUILD -E" "$CC_FOR_BUILD -E -traditional-cpp" "/lib/cpp"
6044 for ac_c_preproc_warn_flag in '' yes
6046 # Use a header file that comes with gcc, so configuring glibc
6047 # with a fresh cross-compiler works.
6048 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6049 # <limits.h> exists even on freestanding compilers.
6050 # On the NeXT, cc -E runs the code through the compiler's parser,
6051 # not just through cpp. "Syntax error" is here to catch this case.
6052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6053 /* end confdefs.h. */
6055 # include <limits.h>
6057 # include <assert.h>
6061 if ac_fn_c_try_cpp "$LINENO"; then :
6064 # Broken: fails on valid input.
6067 rm -f conftest.err conftest.i conftest.$ac_ext
6069 # OK, works on sane cases. Now check whether nonexistent headers
6070 # can be detected and how.
6071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6072 /* end confdefs.h. */
6073 #include <ac_nonexistent.h>
6075 if ac_fn_c_try_cpp "$LINENO"; then :
6076 # Broken: success on invalid input.
6079 # Passes both tests.
6083 rm -f conftest.err conftest.i conftest.$ac_ext
6086 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6087 rm -f conftest.i conftest.err conftest.
$ac_ext
6088 if $ac_preproc_ok; then :
6093 ac_cv_build_prog_CPP
=$CPP_FOR_BUILD
6096 CPP_FOR_BUILD
=$ac_cv_build_prog_CPP
6098 ac_cv_build_prog_CPP
=$CPP_FOR_BUILD
6100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP_FOR_BUILD" >&5
6101 $as_echo "$CPP_FOR_BUILD" >&6; }
6103 for ac_c_preproc_warn_flag
in '' yes
6105 # Use a header file that comes with gcc, so configuring glibc
6106 # with a fresh cross-compiler works.
6107 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6108 # <limits.h> exists even on freestanding compilers.
6109 # On the NeXT, cc -E runs the code through the compiler's parser,
6110 # not just through cpp. "Syntax error" is here to catch this case.
6111 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6112 /* end confdefs.h. */
6114 # include <limits.h>
6116 # include <assert.h>
6120 if ac_fn_c_try_cpp
"$LINENO"; then :
6123 # Broken: fails on valid input.
6126 rm -f conftest.err conftest.i conftest.
$ac_ext
6128 # OK, works on sane cases. Now check whether nonexistent headers
6129 # can be detected and how.
6130 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6131 /* end confdefs.h. */
6132 #include <ac_nonexistent.h>
6134 if ac_fn_c_try_cpp
"$LINENO"; then :
6135 # Broken: success on invalid input.
6138 # Passes both tests.
6142 rm -f conftest.err conftest.i conftest.
$ac_ext
6145 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6146 rm -f conftest.i conftest.err conftest.
$ac_ext
6147 if $ac_preproc_ok; then :
6150 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6151 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6152 as_fn_error $?
"C preprocessor \"$CPP_FOR_BUILD\" fails sanity check
6153 See \`config.log' for more details" "$LINENO" 5; }
6157 ac_build_cpp
='$CPP_FOR_BUILD $CPPFLAGS_FOR_BUILD'
6158 ac_build_compile
='$CC_FOR_BUILD -c $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD conftest.$ac_ext >&5'
6159 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'
6160 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6164 ac_tool_prefix
=$save_ac_tool_prefix
6165 cross_compiling
=$save_cross_compiling
6168 BUILD_EXEEXT
=$ac_build_exeext
6169 BUILD_OBJEXT
=$ac_build_objext
6172 ac_cpp
='$CXXCPP $CPPFLAGS'
6173 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6174 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6175 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
6176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
6177 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
6178 if test -z "$CXXCPP"; then
6179 if ${ac_cv_prog_CXXCPP+:} false
; then :
6180 $as_echo_n "(cached) " >&6
6182 # Double quotes because CXXCPP needs to be expanded
6183 for CXXCPP
in "$CXX -E" "/lib/cpp"
6186 for ac_cxx_preproc_warn_flag
in '' yes
6188 # Use a header file that comes with gcc, so configuring glibc
6189 # with a fresh cross-compiler works.
6190 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6191 # <limits.h> exists even on freestanding compilers.
6192 # On the NeXT, cc -E runs the code through the compiler's parser,
6193 # not just through cpp. "Syntax error" is here to catch this case.
6194 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6195 /* end confdefs.h. */
6197 # include <limits.h>
6199 # include <assert.h>
6203 if ac_fn_cxx_try_cpp
"$LINENO"; then :
6206 # Broken: fails on valid input.
6209 rm -f conftest.err conftest.i conftest.
$ac_ext
6211 # OK, works on sane cases. Now check whether nonexistent headers
6212 # can be detected and how.
6213 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6214 /* end confdefs.h. */
6215 #include <ac_nonexistent.h>
6217 if ac_fn_cxx_try_cpp
"$LINENO"; then :
6218 # Broken: success on invalid input.
6221 # Passes both tests.
6225 rm -f conftest.err conftest.i conftest.
$ac_ext
6228 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6229 rm -f conftest.i conftest.err conftest.
$ac_ext
6230 if $ac_preproc_ok; then :
6235 ac_cv_prog_CXXCPP
=$CXXCPP
6238 CXXCPP
=$ac_cv_prog_CXXCPP
6240 ac_cv_prog_CXXCPP
=$CXXCPP
6242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
6243 $as_echo "$CXXCPP" >&6; }
6245 for ac_cxx_preproc_warn_flag
in '' yes
6247 # Use a header file that comes with gcc, so configuring glibc
6248 # with a fresh cross-compiler works.
6249 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6250 # <limits.h> exists even on freestanding compilers.
6251 # On the NeXT, cc -E runs the code through the compiler's parser,
6252 # not just through cpp. "Syntax error" is here to catch this case.
6253 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6254 /* end confdefs.h. */
6256 # include <limits.h>
6258 # include <assert.h>
6262 if ac_fn_cxx_try_cpp
"$LINENO"; then :
6265 # Broken: fails on valid input.
6268 rm -f conftest.err conftest.i conftest.
$ac_ext
6270 # OK, works on sane cases. Now check whether nonexistent headers
6271 # can be detected and how.
6272 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6273 /* end confdefs.h. */
6274 #include <ac_nonexistent.h>
6276 if ac_fn_cxx_try_cpp
"$LINENO"; then :
6277 # Broken: success on invalid input.
6280 # Passes both tests.
6284 rm -f conftest.err conftest.i conftest.
$ac_ext
6287 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6288 rm -f conftest.i conftest.err conftest.
$ac_ext
6289 if $ac_preproc_ok; then :
6292 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6293 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6294 as_fn_error $?
"C++ preprocessor \"$CXXCPP\" fails sanity check
6295 See \`config.log' for more details" "$LINENO" 5; }
6299 ac_cpp
='$CPP $CPPFLAGS'
6300 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6301 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6302 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6306 save_cross_compiling
=$cross_compiling
6307 save_ac_tool_prefix
=$ac_tool_prefix
6312 ac_cpp
='$CXXCPP_FOR_BUILD $CPPFLAGS_FOR_BUILD'
6313 ac_build_compile
='$CXX_FOR_BUILD -c $CXXFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD conftest.$ac_ext >&5'
6314 ac_build_link
='$CXX_FOR_BUILD -o conftest$ac_exeext $CXXFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD $LDFLAGS conftest.$ac_ext $LIBS >&5'
6315 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
6316 if test -z "$CXX_FOR_BUILD"; then
6317 if test -n "$CCC"; then
6320 if test -n "$ac_tool_prefix"; then
6321 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
6323 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6324 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
6325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6326 $as_echo_n "checking for $ac_word... " >&6; }
6327 if ${ac_cv_prog_CXX_FOR_BUILD+:} false
; then :
6328 $as_echo_n "(cached) " >&6
6330 if test -n "$CXX_FOR_BUILD"; then
6331 ac_cv_prog_CXX_FOR_BUILD
="$CXX_FOR_BUILD" # Let the user override the test.
6333 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6337 test -z "$as_dir" && as_dir
=.
6338 for ac_exec_ext
in '' $ac_executable_extensions; do
6339 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6340 ac_cv_prog_CXX_FOR_BUILD
="$ac_tool_prefix$ac_prog"
6341 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6350 CXX_FOR_BUILD
=$ac_cv_prog_CXX_FOR_BUILD
6351 if test -n "$CXX_FOR_BUILD"; then
6352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX_FOR_BUILD" >&5
6353 $as_echo "$CXX_FOR_BUILD" >&6; }
6355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6356 $as_echo "no" >&6; }
6360 test -n "$CXX_FOR_BUILD" && break
6363 if test -z "$CXX_FOR_BUILD"; then
6364 ac_ct_CXX_FOR_BUILD
=$CXX_FOR_BUILD
6365 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
6367 # Extract the first word of "$ac_prog", so it can be a program name with args.
6368 set dummy
$ac_prog; ac_word
=$2
6369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6370 $as_echo_n "checking for $ac_word... " >&6; }
6371 if ${ac_cv_prog_ac_ct_CXX_FOR_BUILD+:} false
; then :
6372 $as_echo_n "(cached) " >&6
6374 if test -n "$ac_ct_CXX_FOR_BUILD"; then
6375 ac_cv_prog_ac_ct_CXX_FOR_BUILD
="$ac_ct_CXX_FOR_BUILD" # Let the user override the test.
6377 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6381 test -z "$as_dir" && as_dir
=.
6382 for ac_exec_ext
in '' $ac_executable_extensions; do
6383 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6384 ac_cv_prog_ac_ct_CXX_FOR_BUILD
="$ac_prog"
6385 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6394 ac_ct_CXX_FOR_BUILD
=$ac_cv_prog_ac_ct_CXX_FOR_BUILD
6395 if test -n "$ac_ct_CXX_FOR_BUILD"; then
6396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX_FOR_BUILD" >&5
6397 $as_echo "$ac_ct_CXX_FOR_BUILD" >&6; }
6399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6400 $as_echo "no" >&6; }
6404 test -n "$ac_ct_CXX_FOR_BUILD" && break
6407 if test "x$ac_ct_CXX_FOR_BUILD" = x
; then
6410 case $cross_compiling:$ac_tool_warned in
6412 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with build triplet" >&5
6413 $as_echo "$as_me: WARNING: using cross tools not prefixed with build triplet" >&2;}
6414 ac_tool_warned
=yes ;;
6416 CXX_FOR_BUILD
=$ac_ct_CXX_FOR_BUILD
6422 # Provide some information about the compiler.
6423 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
6424 set X
$ac_build_compile
6426 for ac_option
in --version -v -V -qversion; do
6427 { { ac_try
="$ac_compiler $ac_option >&5"
6429 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
6430 *) ac_try_echo=$ac_try;;
6432 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
6433 $as_echo "$ac_try_echo"; } >&5
6434 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
6436 if test -s conftest.err; then
6438 ... rest of stderr output deleted ...
6439 10q' conftest.err >conftest.er1
6440 cat conftest.er1 >&5
6442 rm -f conftest.er1 conftest.err
6443 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6444 test $ac_status = 0; }
6447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
6448 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
6449 if ${ac_cv_cxx_compiler_gnu+:} false; then :
6450 $as_echo_n "(cached) " >&6
6452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6453 /* end confdefs.h. */
6466 if ac_fn_cxx_try_compile "$LINENO"; then :
6471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6472 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
6475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
6476 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
6477 if test $ac_compiler_gnu = yes; then
6482 ac_test_CXXFLAGS=${CXXFLAGS_FOR_BUILD+set}
6483 ac_save_CXXFLAGS=$CXXFLAGS_FOR_BUILD
6484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX_FOR_BUILD accepts -g" >&5
6485 $as_echo_n "checking whether $CXX_FOR_BUILD accepts -g... " >&6; }
6486 if ${ac_cv_build_prog_cxx_g+:} false; then :
6487 $as_echo_n "(cached) " >&6
6489 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
6490 ac_cxx_werror_flag=yes
6491 ac_cv_build_prog_cxx_g=no
6492 CXXFLAGS_FOR_BUILD="-g"
6493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6494 /* end confdefs.h. */
6504 if ac_fn_cxx_try_compile "$LINENO"; then :
6505 ac_cv_build_prog_cxx_g=yes
6507 CXXFLAGS_FOR_BUILD=""
6508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6509 /* end confdefs.h. */
6519 if ac_fn_cxx_try_compile "$LINENO"; then :
6522 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
6523 CXXFLAGS_FOR_BUILD="-g"
6524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6525 /* end confdefs.h. */
6535 if ac_fn_cxx_try_compile "$LINENO"; then :
6536 ac_cv_build_prog_cxx_g=yes
6538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6542 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6543 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
6545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build_prog_cxx_g" >&5
6546 $as_echo "$ac_cv_build_prog_cxx_g" >&6; }
6547 if test "$ac_test_CXXFLAGS" = set; then
6548 CXXFLAGS_FOR_BUILD=$ac_save_CXXFLAGS
6549 elif test $ac_cv_build_prog_cxx_g = yes; then
6550 if test "$GXX" = yes; then
6551 CXXFLAGS_FOR_BUILD="-g -O2"
6553 CXXFLAGS_FOR_BUILD="-g"
6556 if test "$GXX" = yes; then
6557 CXXFLAGS_FOR_BUILD="-O2"
6563 ac_cpp='$CPP $CPPFLAGS_FOR_BUILD'
6564 ac_build_compile='$CC -c $CFLAGS $CPPFLAGS_FOR_BUILD conftest.$ac_ext >&5'
6565 ac_build_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS_FOR_BUILD $LDFLAGS conftest.$ac_ext $LIBS >&5'
6566 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6568 depcc="$CXX_FOR_BUILD" am_compiler_list=
6570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
6571 $as_echo_n "checking dependency style of $depcc... " >&6; }
6572 if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
6573 $as_echo_n "(cached) " >&6
6575 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
6576 # We make a subdir and do the tests there. Otherwise we can end up
6577 # making bogus files that we don't know about and never remove. For
6578 # instance it was reported that on HP-UX the gcc test will end up
6579 # making a dummy file named 'D' -- because '-MD' means "put the output
6583 # Copy depcomp to subdir because otherwise we won't find it if we're
6584 # using a relative directory.
6585 cp "$am_depcomp" conftest.dir
6587 # We will build objects and dependencies in a subdirectory because
6588 # it helps to detect inapplicable dependency modes. For instance
6589 # both Tru64's cc and ICC support -MD to output dependencies as a
6590 # side effect of compilation, but ICC will put the dependencies in
6591 # the current directory while Tru64 will put them in the object
6595 am_cv_CXX_dependencies_compiler_type=none
6596 if test "$am_compiler_list" = ""; then
6597 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
6600 case " $depcc " in #(
6601 *\ -arch\ *\ -arch\ *) am__universal=true ;;
6604 for depmode in $am_compiler_list; do
6605 # Setup a source with many dependencies, because some compilers
6606 # like to wrap large dependency lists on column 80 (with \), and
6607 # we should not choose a depcomp mode which is confused by this.
6609 # We need to recreate these files for each test, as the compiler may
6610 # overwrite some of them when testing with obscure command lines.
6611 # This happens at least with the AIX C compiler.
6613 for i in 1 2 3 4 5 6; do
6614 echo '#include "conftst'$i'.h"' >> sub/conftest.c
6615 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
6616 # Solaris 10 /bin/sh.
6617 echo '/* dummy */' > sub/conftst$i.h
6619 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
6621 # We check with '-c' and '-o' for the sake of the "dashmstdout"
6622 # mode. It turns out that the SunPro C++ compiler does not properly
6623 # handle '-M -o', and we need to detect this. Also, some Intel
6624 # versions had trouble with output in subdirs.
6625 am__obj=sub/conftest.${OBJEXT-o}
6626 am__minus_obj="-o $am__obj"
6629 # This depmode causes a compiler race in universal mode.
6630 test "$am__universal" = false || continue
6633 # After this tag, mechanisms are not by side-effect, so they'll
6634 # only be used when explicitly requested.
6635 if test "x$enable_dependency_tracking" = xyes; then
6641 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
6642 # This compiler won't grok '-c -o', but also, the minuso test has
6643 # not run yet. These depmodes are late enough in the game, and
6644 # so weak that their functioning should not be impacted.
6645 am__obj=conftest.${OBJEXT-o}
6650 if depmode=$depmode \
6651 source=sub/conftest.c object=$am__obj \
6652 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
6653 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
6654 >/dev/null 2>conftest.err &&
6655 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
6656 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
6657 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
6658 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
6659 # icc doesn't choke on unknown options, it will just issue warnings
6660 # or remarks (even with -Werror). So we grep stderr for any message
6661 # that says an option was ignored or not supported.
6662 # When given -MP, icc 7.0 and 7.1 complain thusly:
6663 # icc: Command line warning: ignoring option '-M'; no argument required
6664 # The diagnosis changed in icc 8.0:
6665 # icc: Command line remark: option '-MP' not supported
6666 if (grep 'ignoring option' conftest.err ||
6667 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
6668 am_cv_CXX_dependencies_compiler_type=$depmode
6677 am_cv_CXX_dependencies_compiler_type=none
6681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
6682 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
6683 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
6686 test "x$enable_dependency_tracking" != xno \
6687 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
6688 am__fastdepCXX_TRUE=
6689 am__fastdepCXX_FALSE='#'
6691 am__fastdepCXX_TRUE='#'
6692 am__fastdepCXX_FALSE=
6697 ac_cpp='$CXXCPP_FOR_BUILD $CPPFLAGS_FOR_BUILD'
6698 ac_build_compile='$CXX_FOR_BUILD -c $CXXFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD conftest.$ac_ext >&5'
6699 ac_build_link='$CXX_FOR_BUILD -o conftest$ac_exeext $CXXFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD $LDFLAGS conftest.$ac_ext $LIBS >&5'
6700 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
6702 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
6703 if test -z "$CXXCPP_FOR_BUILD"; then
6704 if ${ac_cv_build_prog_CXXCPP+:} false; then :
6705 $as_echo_n "(cached) " >&6
6707 # Double quotes because CXXCPP needs to be expanded
6708 for CXXCPP_FOR_BUILD in "$CXX_FOR_BUILD -E" "/lib/cpp"
6711 for ac_cxx_preproc_warn_flag in '' yes
6713 # Use a header file that comes with gcc, so configuring glibc
6714 # with a fresh cross-compiler works.
6715 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6716 # <limits.h> exists even on freestanding compilers.
6717 # On the NeXT, cc -E runs the code through the compiler's parser,
6718 # not just through cpp. "Syntax error" is here to catch this case.
6719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6720 /* end confdefs.h. */
6722 # include <limits.h>
6724 # include <assert.h>
6728 if ac_fn_cxx_try_cpp "$LINENO"; then :
6731 # Broken: fails on valid input.
6734 rm -f conftest.err conftest.i conftest.$ac_ext
6736 # OK, works on sane cases. Now check whether nonexistent headers
6737 # can be detected and how.
6738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6739 /* end confdefs.h. */
6740 #include <ac_nonexistent.h>
6742 if ac_fn_cxx_try_cpp "$LINENO"; then :
6743 # Broken: success on invalid input.
6746 # Passes both tests.
6750 rm -f conftest.err conftest.i conftest.$ac_ext
6753 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6754 rm -f conftest.i conftest.err conftest.
$ac_ext
6755 if $ac_preproc_ok; then :
6760 ac_cv_build_prog_CXXCPP
=$CXXCPP_FOR_BUILD
6763 CXXCPP_FOR_BUILD
=$ac_cv_build_prog_CXXCPP
6765 ac_cv_build_prog_CXXCPP
=$CXXCPP_FOR_BUILD
6767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP_FOR_BUILD" >&5
6768 $as_echo "$CXXCPP_FOR_BUILD" >&6; }
6770 for ac_cxx_preproc_warn_flag
in '' yes
6772 # Use a header file that comes with gcc, so configuring glibc
6773 # with a fresh cross-compiler works.
6774 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6775 # <limits.h> exists even on freestanding compilers.
6776 # On the NeXT, cc -E runs the code through the compiler's parser,
6777 # not just through cpp. "Syntax error" is here to catch this case.
6778 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6779 /* end confdefs.h. */
6781 # include <limits.h>
6783 # include <assert.h>
6787 if ac_fn_cxx_try_cpp
"$LINENO"; then :
6790 # Broken: fails on valid input.
6793 rm -f conftest.err conftest.i conftest.
$ac_ext
6795 # OK, works on sane cases. Now check whether nonexistent headers
6796 # can be detected and how.
6797 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6798 /* end confdefs.h. */
6799 #include <ac_nonexistent.h>
6801 if ac_fn_cxx_try_cpp
"$LINENO"; then :
6802 # Broken: success on invalid input.
6805 # Passes both tests.
6809 rm -f conftest.err conftest.i conftest.
$ac_ext
6812 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6813 rm -f conftest.i conftest.err conftest.
$ac_ext
6814 if $ac_preproc_ok; then :
6817 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6818 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6819 as_fn_error $?
"C++ preprocessor \"$CXXCPP_FOR_BUILD\" fails sanity check
6820 See \`config.log' for more details" "$LINENO" 5; }
6824 ac_cpp
='$CPP $CPPFLAGS_FOR_BUILD'
6825 ac_build_compile
='$CC -c $CFLAGS $CPPFLAGS_FOR_BUILD conftest.$ac_ext >&5'
6826 ac_build_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS_FOR_BUILD $LDFLAGS conftest.$ac_ext $LIBS >&5'
6827 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6830 ac_tool_prefix
=$save_ac_tool_prefix
6831 cross_compiling
=$save_cross_compiling
6837 if test -n "$ac_tool_prefix"; then
6838 for ac_prog
in ar lib
"link -lib"
6840 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6841 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
6842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6843 $as_echo_n "checking for $ac_word... " >&6; }
6844 if ${ac_cv_prog_AR+:} false
; then :
6845 $as_echo_n "(cached) " >&6
6847 if test -n "$AR"; then
6848 ac_cv_prog_AR
="$AR" # Let the user override the test.
6850 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6854 test -z "$as_dir" && as_dir
=.
6855 for ac_exec_ext
in '' $ac_executable_extensions; do
6856 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6857 ac_cv_prog_AR
="$ac_tool_prefix$ac_prog"
6858 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6868 if test -n "$AR"; then
6869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6870 $as_echo "$AR" >&6; }
6872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6873 $as_echo "no" >&6; }
6877 test -n "$AR" && break
6880 if test -z "$AR"; then
6882 for ac_prog
in ar lib
"link -lib"
6884 # Extract the first word of "$ac_prog", so it can be a program name with args.
6885 set dummy
$ac_prog; ac_word
=$2
6886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6887 $as_echo_n "checking for $ac_word... " >&6; }
6888 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
6889 $as_echo_n "(cached) " >&6
6891 if test -n "$ac_ct_AR"; then
6892 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
6894 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6898 test -z "$as_dir" && as_dir
=.
6899 for ac_exec_ext
in '' $ac_executable_extensions; do
6900 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6901 ac_cv_prog_ac_ct_AR
="$ac_prog"
6902 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6911 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
6912 if test -n "$ac_ct_AR"; then
6913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6914 $as_echo "$ac_ct_AR" >&6; }
6916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6917 $as_echo "no" >&6; }
6921 test -n "$ac_ct_AR" && break
6924 if test "x$ac_ct_AR" = x
; then
6927 case $cross_compiling:$ac_tool_warned in
6929 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6930 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6931 ac_tool_warned
=yes ;;
6939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the archiver ($AR) interface" >&5
6940 $as_echo_n "checking the archiver ($AR) interface... " >&6; }
6941 if ${am_cv_ar_interface+:} false
; then :
6942 $as_echo_n "(cached) " >&6
6945 ac_cpp
='$CPP $CPPFLAGS'
6946 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6947 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6948 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6950 am_cv_ar_interface
=ar
6951 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6952 /* end confdefs.h. */
6953 int some_variable = 0;
6955 if ac_fn_c_try_compile
"$LINENO"; then :
6956 am_ar_try
='$AR cru libconftest.a conftest.$ac_objext >&5'
6957 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
6958 (eval $am_ar_try) 2>&5
6960 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6961 test $ac_status = 0; }
6962 if test "$ac_status" -eq 0; then
6963 am_cv_ar_interface
=ar
6965 am_ar_try
='$AR -NOLOGO -OUT:conftest.lib conftest.$ac_objext >&5'
6966 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
6967 (eval $am_ar_try) 2>&5
6969 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6970 test $ac_status = 0; }
6971 if test "$ac_status" -eq 0; then
6972 am_cv_ar_interface
=lib
6974 am_cv_ar_interface
=unknown
6977 rm -f conftest.lib libconftest.a
6980 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6982 ac_cpp
='$CPP $CPPFLAGS'
6983 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6984 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6985 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_ar_interface" >&5
6989 $as_echo "$am_cv_ar_interface" >&6; }
6991 case $am_cv_ar_interface in
6995 # Microsoft lib, so override with the ar-lib wrapper script.
6996 # FIXME: It is wrong to rewrite AR.
6997 # But if we don't then we get into trouble of one sort or another.
6998 # A longer-term fix would be to have automake use am__AR in this case,
6999 # and then we could set am__AR="$am_aux_dir/ar-lib \$(AR)" or something
7001 AR
="$am_aux_dir/ar-lib $AR"
7004 as_fn_error $?
"could not determine $AR interface" "$LINENO" 5
7012 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
7013 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
7018 macro_version
='2.4.6'
7019 macro_revision
='2.4.6'
7033 ltmain
=$ac_aux_dir/ltmain.sh
7035 # Backslashify metacharacters that are still active within
7036 # double-quoted strings.
7037 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g'
7039 # Same as above, but do not quote variable references.
7040 double_quote_subst
='s/\(["`\\]\)/\\\1/g'
7042 # Sed substitution to delay expansion of an escaped shell variable in a
7043 # double_quote_subst'ed string.
7044 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
7046 # Sed substitution to delay expansion of an escaped single quote.
7047 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
7049 # Sed substitution to avoid accidental globbing in evaled expressions
7050 no_glob_subst
='s/\*/\\\*/g'
7052 ECHO
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
7053 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
7054 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
7056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
7057 $as_echo_n "checking how to print strings... " >&6; }
7058 # Test print first, because it will be a builtin if present.
7059 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
7060 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
7062 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
7065 # Use this function as a fallback that always works.
7066 func_fallback_echo ()
7068 eval 'cat <<_LTECHO_EOF
7072 ECHO='func_fallback_echo
'
7075 # func_echo_all arg...
7076 # Invoke $ECHO with all args, space-separated.
7083 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
7084 $as_echo "printf" >&6; } ;;
7085 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
7086 $as_echo "print -r" >&6; } ;;
7087 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
7088 $as_echo "cat" >&6; } ;;
7104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
7105 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
7106 if ${ac_cv_path_SED+:} false; then :
7107 $as_echo_n "(cached) " >&6
7109 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
7110 for ac_i in 1 2 3 4 5 6 7; do
7111 ac_script="$ac_script$as_nl$ac_script"
7113 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
7114 { ac_script=; unset ac_script;}
7115 if test -z "$SED"; then
7116 ac_path_SED_found=false
7117 # Loop through the user's path and
test for each of PROGNAME
-LIST
7118 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7122 test -z "$as_dir" && as_dir
=.
7123 for ac_prog
in sed gsed
; do
7124 for ac_exec_ext
in '' $ac_executable_extensions; do
7125 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
7126 as_fn_executable_p
"$ac_path_SED" || continue
7127 # Check for GNU ac_path_SED and select it if it is found.
7128 # Check for GNU $ac_path_SED
7129 case `"$ac_path_SED" --version 2>&1` in
7131 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
7134 $as_echo_n 0123456789 >"conftest.in"
7137 cat "conftest.in" "conftest.in" >"conftest.tmp"
7138 mv "conftest.tmp" "conftest.in"
7139 cp "conftest.in" "conftest.nl"
7140 $as_echo '' >> "conftest.nl"
7141 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
7142 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
7143 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
7144 if test $ac_count -gt ${ac_path_SED_max-0}; then
7145 # Best one so far, save it but keep looking for a better one
7146 ac_cv_path_SED
="$ac_path_SED"
7147 ac_path_SED_max
=$ac_count
7149 # 10*(2^10) chars as input seems more than enough
7150 test $ac_count -gt 10 && break
7152 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
7155 $ac_path_SED_found && break 3
7160 if test -z "$ac_cv_path_SED"; then
7161 as_fn_error $?
"no acceptable sed could be found in \$PATH" "$LINENO" 5
7168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
7169 $as_echo "$ac_cv_path_SED" >&6; }
7170 SED
="$ac_cv_path_SED"
7173 test -z "$SED" && SED
=sed
7174 Xsed
="$SED -e 1s/^X//"
7186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
7187 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
7188 if ${ac_cv_path_GREP+:} false
; then :
7189 $as_echo_n "(cached) " >&6
7191 if test -z "$GREP"; then
7192 ac_path_GREP_found
=false
7193 # Loop through the user's path and test for each of PROGNAME-LIST
7194 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7195 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
7198 test -z "$as_dir" && as_dir
=.
7199 for ac_prog
in grep ggrep
; do
7200 for ac_exec_ext
in '' $ac_executable_extensions; do
7201 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
7202 as_fn_executable_p
"$ac_path_GREP" || continue
7203 # Check for GNU ac_path_GREP and select it if it is found.
7204 # Check for GNU $ac_path_GREP
7205 case `"$ac_path_GREP" --version 2>&1` in
7207 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
7210 $as_echo_n 0123456789 >"conftest.in"
7213 cat "conftest.in" "conftest.in" >"conftest.tmp"
7214 mv "conftest.tmp" "conftest.in"
7215 cp "conftest.in" "conftest.nl"
7216 $as_echo 'GREP' >> "conftest.nl"
7217 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
7218 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
7219 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
7220 if test $ac_count -gt ${ac_path_GREP_max-0}; then
7221 # Best one so far, save it but keep looking for a better one
7222 ac_cv_path_GREP
="$ac_path_GREP"
7223 ac_path_GREP_max
=$ac_count
7225 # 10*(2^10) chars as input seems more than enough
7226 test $ac_count -gt 10 && break
7228 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
7231 $ac_path_GREP_found && break 3
7236 if test -z "$ac_cv_path_GREP"; then
7237 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7240 ac_cv_path_GREP
=$GREP
7244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
7245 $as_echo "$ac_cv_path_GREP" >&6; }
7246 GREP
="$ac_cv_path_GREP"
7249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
7250 $as_echo_n "checking for egrep... " >&6; }
7251 if ${ac_cv_path_EGREP+:} false
; then :
7252 $as_echo_n "(cached) " >&6
7254 if echo a
| $GREP -E '(a|b)' >/dev
/null
2>&1
7255 then ac_cv_path_EGREP
="$GREP -E"
7257 if test -z "$EGREP"; then
7258 ac_path_EGREP_found
=false
7259 # Loop through the user's path and test for each of PROGNAME-LIST
7260 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7261 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
7264 test -z "$as_dir" && as_dir
=.
7265 for ac_prog
in egrep; do
7266 for ac_exec_ext
in '' $ac_executable_extensions; do
7267 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
7268 as_fn_executable_p
"$ac_path_EGREP" || continue
7269 # Check for GNU ac_path_EGREP and select it if it is found.
7270 # Check for GNU $ac_path_EGREP
7271 case `"$ac_path_EGREP" --version 2>&1` in
7273 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
7276 $as_echo_n 0123456789 >"conftest.in"
7279 cat "conftest.in" "conftest.in" >"conftest.tmp"
7280 mv "conftest.tmp" "conftest.in"
7281 cp "conftest.in" "conftest.nl"
7282 $as_echo 'EGREP' >> "conftest.nl"
7283 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
7284 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
7285 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
7286 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
7287 # Best one so far, save it but keep looking for a better one
7288 ac_cv_path_EGREP
="$ac_path_EGREP"
7289 ac_path_EGREP_max
=$ac_count
7291 # 10*(2^10) chars as input seems more than enough
7292 test $ac_count -gt 10 && break
7294 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
7297 $ac_path_EGREP_found && break 3
7302 if test -z "$ac_cv_path_EGREP"; then
7303 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7306 ac_cv_path_EGREP
=$EGREP
7311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
7312 $as_echo "$ac_cv_path_EGREP" >&6; }
7313 EGREP
="$ac_cv_path_EGREP"
7316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
7317 $as_echo_n "checking for fgrep... " >&6; }
7318 if ${ac_cv_path_FGREP+:} false
; then :
7319 $as_echo_n "(cached) " >&6
7321 if echo 'ab*c' | $GREP -F 'ab*c' >/dev
/null
2>&1
7322 then ac_cv_path_FGREP
="$GREP -F"
7324 if test -z "$FGREP"; then
7325 ac_path_FGREP_found
=false
7326 # Loop through the user's path and test for each of PROGNAME-LIST
7327 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7328 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
7331 test -z "$as_dir" && as_dir
=.
7332 for ac_prog
in fgrep
; do
7333 for ac_exec_ext
in '' $ac_executable_extensions; do
7334 ac_path_FGREP
="$as_dir/$ac_prog$ac_exec_ext"
7335 as_fn_executable_p
"$ac_path_FGREP" || continue
7336 # Check for GNU ac_path_FGREP and select it if it is found.
7337 # Check for GNU $ac_path_FGREP
7338 case `"$ac_path_FGREP" --version 2>&1` in
7340 ac_cv_path_FGREP
="$ac_path_FGREP" ac_path_FGREP_found
=:;;
7343 $as_echo_n 0123456789 >"conftest.in"
7346 cat "conftest.in" "conftest.in" >"conftest.tmp"
7347 mv "conftest.tmp" "conftest.in"
7348 cp "conftest.in" "conftest.nl"
7349 $as_echo 'FGREP' >> "conftest.nl"
7350 "$ac_path_FGREP" FGREP
< "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
7351 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
7352 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
7353 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
7354 # Best one so far, save it but keep looking for a better one
7355 ac_cv_path_FGREP
="$ac_path_FGREP"
7356 ac_path_FGREP_max
=$ac_count
7358 # 10*(2^10) chars as input seems more than enough
7359 test $ac_count -gt 10 && break
7361 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
7364 $ac_path_FGREP_found && break 3
7369 if test -z "$ac_cv_path_FGREP"; then
7370 as_fn_error $?
"no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7373 ac_cv_path_FGREP
=$FGREP
7378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
7379 $as_echo "$ac_cv_path_FGREP" >&6; }
7380 FGREP
="$ac_cv_path_FGREP"
7383 test -z "$GREP" && GREP
=grep
7403 # Check whether --with-gnu-ld was given.
7404 if test "${with_gnu_ld+set}" = set; then :
7405 withval
=$with_gnu_ld; test no
= "$withval" || with_gnu_ld
=yes
7411 if test yes = "$GCC"; then
7412 # Check if gcc -print-prog-name=ld gives a path.
7413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
7414 $as_echo_n "checking for ld used by $CC... " >&6; }
7417 # gcc leaves a trailing carriage return, which upsets mingw
7418 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
7420 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
7423 # Accept absolute paths.
7425 re_direlt
='/[^/][^/]*/\.\./'
7426 # Canonicalize the pathname of ld
7427 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
7428 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev
/null
2>&1; do
7429 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
7431 test -z "$LD" && LD
=$ac_prog
7434 # If it fails, then pretend we aren't using GCC.
7438 # If it is relative, then search for the first ld in PATH.
7442 elif test yes = "$with_gnu_ld"; then
7443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
7444 $as_echo_n "checking for GNU ld... " >&6; }
7446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
7447 $as_echo_n "checking for non-GNU ld... " >&6; }
7449 if ${lt_cv_path_LD+:} false
; then :
7450 $as_echo_n "(cached) " >&6
7452 if test -z "$LD"; then
7453 lt_save_ifs
=$IFS; IFS
=$PATH_SEPARATOR
7454 for ac_dir
in $PATH; do
7456 test -z "$ac_dir" && ac_dir
=.
7457 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
7458 lt_cv_path_LD
=$ac_dir/$ac_prog
7459 # Check to see if the program is GNU ld. I'd rather use --version,
7460 # but apparently some variants of GNU ld only accept -v.
7461 # Break only if it was the GNU/non-GNU ld that we prefer.
7462 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
7463 *GNU
* | *'with BFD'*)
7464 test no
!= "$with_gnu_ld" && break
7467 test yes != "$with_gnu_ld" && break
7474 lt_cv_path_LD
=$LD # Let the user override the test with a path.
7479 if test -n "$LD"; then
7480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
7481 $as_echo "$LD" >&6; }
7483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7484 $as_echo "no" >&6; }
7486 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
7487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
7488 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
7489 if ${lt_cv_prog_gnu_ld+:} false
; then :
7490 $as_echo_n "(cached) " >&6
7492 # I'd rather use --version here, but apparently some GNU lds only accept -v.
7493 case `$LD -v 2>&1 </dev/null` in
7494 *GNU
* | *'with BFD'*)
7495 lt_cv_prog_gnu_ld
=yes
7498 lt_cv_prog_gnu_ld
=no
7502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
7503 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
7504 with_gnu_ld
=$lt_cv_prog_gnu_ld
7514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
7515 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
7516 if ${lt_cv_path_NM+:} false
; then :
7517 $as_echo_n "(cached) " >&6
7519 if test -n "$NM"; then
7520 # Let the user override the test.
7523 lt_nm_to_check
=${ac_tool_prefix}nm
7524 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
7525 lt_nm_to_check
="$lt_nm_to_check nm"
7527 for lt_tmp_nm
in $lt_nm_to_check; do
7528 lt_save_ifs
=$IFS; IFS
=$PATH_SEPARATOR
7529 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
7531 test -z "$ac_dir" && ac_dir
=.
7532 tmp_nm
=$ac_dir/$lt_tmp_nm
7533 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
7534 # Check to see if the nm accepts a BSD-compat flag.
7535 # Adding the 'sed 1q' prevents false positives on HP-UX, which says:
7536 # nm: unknown option "B" ignored
7537 # Tru64's nm complains that /dev/null is an invalid object file
7538 # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
7540 mingw
*) lt_bad_file
=conftest.nm
/nofile
;;
7541 *) lt_bad_file
=/dev
/null
;;
7543 case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
7544 *$lt_bad_file* | *'Invalid file or object type'*)
7545 lt_cv_path_NM
="$tmp_nm -B"
7549 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
7551 lt_cv_path_NM
="$tmp_nm -p"
7555 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
7556 continue # so that we can try to find one that supports BSD flags
7565 : ${lt_cv_path_NM=no}
7568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
7569 $as_echo "$lt_cv_path_NM" >&6; }
7570 if test no
!= "$lt_cv_path_NM"; then
7573 # Didn't find any BSD compatible name lister, look for dumpbin.
7574 if test -n "$DUMPBIN"; then :
7575 # Let the user override the test.
7577 if test -n "$ac_tool_prefix"; then
7578 for ac_prog
in dumpbin
"link -dump"
7580 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7581 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
7582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7583 $as_echo_n "checking for $ac_word... " >&6; }
7584 if ${ac_cv_prog_DUMPBIN+:} false
; then :
7585 $as_echo_n "(cached) " >&6
7587 if test -n "$DUMPBIN"; then
7588 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
7590 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7594 test -z "$as_dir" && as_dir
=.
7595 for ac_exec_ext
in '' $ac_executable_extensions; do
7596 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7597 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
7598 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7607 DUMPBIN
=$ac_cv_prog_DUMPBIN
7608 if test -n "$DUMPBIN"; then
7609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
7610 $as_echo "$DUMPBIN" >&6; }
7612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7613 $as_echo "no" >&6; }
7617 test -n "$DUMPBIN" && break
7620 if test -z "$DUMPBIN"; then
7621 ac_ct_DUMPBIN
=$DUMPBIN
7622 for ac_prog
in dumpbin
"link -dump"
7624 # Extract the first word of "$ac_prog", so it can be a program name with args.
7625 set dummy
$ac_prog; ac_word
=$2
7626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7627 $as_echo_n "checking for $ac_word... " >&6; }
7628 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false
; then :
7629 $as_echo_n "(cached) " >&6
7631 if test -n "$ac_ct_DUMPBIN"; then
7632 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
7634 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7638 test -z "$as_dir" && as_dir
=.
7639 for ac_exec_ext
in '' $ac_executable_extensions; do
7640 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7641 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
7642 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7651 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
7652 if test -n "$ac_ct_DUMPBIN"; then
7653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
7654 $as_echo "$ac_ct_DUMPBIN" >&6; }
7656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7657 $as_echo "no" >&6; }
7661 test -n "$ac_ct_DUMPBIN" && break
7664 if test "x$ac_ct_DUMPBIN" = x
; then
7667 case $cross_compiling:$ac_tool_warned in
7669 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7670 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7671 ac_tool_warned
=yes ;;
7673 DUMPBIN
=$ac_ct_DUMPBIN
7677 case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
7679 DUMPBIN
="$DUMPBIN -symbols -headers"
7687 if test : != "$DUMPBIN"; then
7691 test -z "$NM" && NM
=nm
7698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
7699 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
7700 if ${lt_cv_nm_interface+:} false
; then :
7701 $as_echo_n "(cached) " >&6
7703 lt_cv_nm_interface
="BSD nm"
7704 echo "int some_variable = 0;" > conftest.
$ac_ext
7705 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
7706 (eval "$ac_compile" 2>conftest.err
)
7707 cat conftest.err
>&5
7708 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
7709 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
7710 cat conftest.err
>&5
7711 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
7712 cat conftest.out
>&5
7713 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
7714 lt_cv_nm_interface
="MS dumpbin"
7718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
7719 $as_echo "$lt_cv_nm_interface" >&6; }
7721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
7722 $as_echo_n "checking whether ln -s works... " >&6; }
7724 if test "$LN_S" = "ln -s"; then
7725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7726 $as_echo "yes" >&6; }
7728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
7729 $as_echo "no, using $LN_S" >&6; }
7732 # find the maximum length of command line arguments
7733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
7734 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
7735 if ${lt_cv_sys_max_cmd_len+:} false
; then :
7736 $as_echo_n "(cached) " >&6
7743 # On DJGPP, this test can blow up pretty badly due to problems in libc
7744 # (any single argument exceeding 2000 bytes causes a buffer overrun
7745 # during glob expansion). Even if it were fixed, the result of this
7746 # check would be larger than it should be.
7747 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
7751 # Under GNU Hurd, this test is not required because there is
7752 # no limit to the length of command line arguments.
7753 # Libtool will interpret -1 as no limit whatsoever
7754 lt_cv_sys_max_cmd_len
=-1;
7757 cygwin
* | mingw
* | cegcc
*)
7758 # On Win9x/ME, this test blows up -- it succeeds, but takes
7759 # about 5 minutes as the teststring grows exponentially.
7760 # Worse, since 9x/ME are not pre-emptively multitasking,
7761 # you end up with a "frozen" computer, even though with patience
7762 # the test eventually succeeds (with a max line length of 256k).
7763 # Instead, let's just punt: use the minimum linelength reported by
7764 # all of the supported platforms: 8192 (on NT/2K/XP).
7765 lt_cv_sys_max_cmd_len
=8192;
7769 # On MiNT this can take a long time and run out of memory.
7770 lt_cv_sys_max_cmd_len
=8192;
7774 # On AmigaOS with pdksh, this test takes hours, literally.
7775 # So we just punt and use a minimum line length of 8192.
7776 lt_cv_sys_max_cmd_len
=8192;
7779 bitrig
* | darwin
* | dragonfly
* | freebsd
* | netbsd
* | openbsd
*)
7780 # This has been around since 386BSD, at least. Likely further.
7781 if test -x /sbin
/sysctl
; then
7782 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
7783 elif test -x /usr
/sbin
/sysctl
; then
7784 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
7786 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
7788 # And add a safety zone
7789 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
7790 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
7794 # We know the value 262144 and hardcode it with a safety zone (like BSD)
7795 lt_cv_sys_max_cmd_len
=196608
7799 # The test takes a long time on OS/2.
7800 lt_cv_sys_max_cmd_len
=8192
7804 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
7805 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
7806 # nice to cause kernel panics so lets avoid the loop below.
7807 # First set a reasonable default.
7808 lt_cv_sys_max_cmd_len
=16384
7810 if test -x /sbin
/sysconfig
; then
7811 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
7812 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
7817 lt_cv_sys_max_cmd_len
=102400
7819 sysv5
* | sco5v6
* | sysv4.2uw2
*)
7820 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
7821 if test -n "$kargmax"; then
7822 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
7824 lt_cv_sys_max_cmd_len
=32768
7828 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
7829 if test -n "$lt_cv_sys_max_cmd_len" && \
7830 test undefined
!= "$lt_cv_sys_max_cmd_len"; then
7831 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
7832 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
7834 # Make teststring a little bigger before we do anything with it.
7835 # a 1K string should be a reasonable start.
7836 for i
in 1 2 3 4 5 6 7 8; do
7837 teststring
=$teststring$teststring
7839 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
7840 # If test is not a shell built-in, we'll probably end up computing a
7841 # maximum length that is only half of the actual maximum length, but
7843 while { test X
`env echo "$teststring$teststring" 2>/dev/null` \
7844 = "X$teststring$teststring"; } >/dev
/null
2>&1 &&
7845 test 17 != "$i" # 1/2 MB should be enough
7848 teststring
=$teststring$teststring
7850 # Only check the string length outside the loop.
7851 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
7853 # Add a significant safety factor because C++ compilers can tack on
7854 # massive amounts of additional arguments before passing them to the
7855 # linker. It appears as though 1/2 is a usable value.
7856 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
7863 if test -n "$lt_cv_sys_max_cmd_len"; then
7864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
7865 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
7867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
7868 $as_echo "none" >&6; }
7870 max_cmd_len
=$lt_cv_sys_max_cmd_len
7881 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
7891 # test EBCDIC or ASCII
7892 case `echo X|tr X '\101'` in
7893 A
) # ASCII based system
7894 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
7895 lt_SP2NL
='tr \040 \012'
7896 lt_NL2SP
='tr \015\012 \040\040'
7898 *) # EBCDIC based system
7899 lt_SP2NL
='tr \100 \n'
7900 lt_NL2SP
='tr \r\n \100\100'
7912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
7913 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
7914 if ${lt_cv_to_host_file_cmd+:} false
; then :
7915 $as_echo_n "(cached) " >&6
7920 *-*-mingw* ) # actually msys
7921 lt_cv_to_host_file_cmd
=func_convert_file_msys_to_w32
7924 lt_cv_to_host_file_cmd
=func_convert_file_cygwin_to_w32
7926 * ) # otherwise, assume *nix
7927 lt_cv_to_host_file_cmd
=func_convert_file_nix_to_w32
7933 *-*-mingw* ) # actually msys
7934 lt_cv_to_host_file_cmd
=func_convert_file_msys_to_cygwin
7937 lt_cv_to_host_file_cmd
=func_convert_file_noop
7939 * ) # otherwise, assume *nix
7940 lt_cv_to_host_file_cmd
=func_convert_file_nix_to_cygwin
7944 * ) # unhandled hosts (and "normal" native builds)
7945 lt_cv_to_host_file_cmd
=func_convert_file_noop
7951 to_host_file_cmd
=$lt_cv_to_host_file_cmd
7952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
7953 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
7959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
7960 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
7961 if ${lt_cv_to_tool_file_cmd+:} false
; then :
7962 $as_echo_n "(cached) " >&6
7964 #assume ordinary cross tools, or native build.
7965 lt_cv_to_tool_file_cmd
=func_convert_file_noop
7969 *-*-mingw* ) # actually msys
7970 lt_cv_to_tool_file_cmd
=func_convert_file_msys_to_w32
7978 to_tool_file_cmd
=$lt_cv_to_tool_file_cmd
7979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
7980 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
7986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
7987 $as_echo_n "checking for $LD option to reload object files... " >&6; }
7988 if ${lt_cv_ld_reload_flag+:} false
; then :
7989 $as_echo_n "(cached) " >&6
7991 lt_cv_ld_reload_flag
='-r'
7993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
7994 $as_echo "$lt_cv_ld_reload_flag" >&6; }
7995 reload_flag
=$lt_cv_ld_reload_flag
7996 case $reload_flag in
7998 *) reload_flag
=" $reload_flag" ;;
8000 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
8002 cygwin
* | mingw
* | pw32
* | cegcc
*)
8003 if test yes != "$GCC"; then
8008 if test yes = "$GCC"; then
8009 reload_cmds
='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
8011 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
8024 if test -n "$ac_tool_prefix"; then
8025 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
8026 set dummy
${ac_tool_prefix}objdump
; ac_word
=$2
8027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8028 $as_echo_n "checking for $ac_word... " >&6; }
8029 if ${ac_cv_prog_OBJDUMP+:} false
; then :
8030 $as_echo_n "(cached) " >&6
8032 if test -n "$OBJDUMP"; then
8033 ac_cv_prog_OBJDUMP
="$OBJDUMP" # Let the user override the test.
8035 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8039 test -z "$as_dir" && as_dir
=.
8040 for ac_exec_ext
in '' $ac_executable_extensions; do
8041 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8042 ac_cv_prog_OBJDUMP
="${ac_tool_prefix}objdump"
8043 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8052 OBJDUMP
=$ac_cv_prog_OBJDUMP
8053 if test -n "$OBJDUMP"; then
8054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
8055 $as_echo "$OBJDUMP" >&6; }
8057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8058 $as_echo "no" >&6; }
8063 if test -z "$ac_cv_prog_OBJDUMP"; then
8064 ac_ct_OBJDUMP
=$OBJDUMP
8065 # Extract the first word of "objdump", so it can be a program name with args.
8066 set dummy objdump
; ac_word
=$2
8067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8068 $as_echo_n "checking for $ac_word... " >&6; }
8069 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false
; then :
8070 $as_echo_n "(cached) " >&6
8072 if test -n "$ac_ct_OBJDUMP"; then
8073 ac_cv_prog_ac_ct_OBJDUMP
="$ac_ct_OBJDUMP" # Let the user override the test.
8075 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8079 test -z "$as_dir" && as_dir
=.
8080 for ac_exec_ext
in '' $ac_executable_extensions; do
8081 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8082 ac_cv_prog_ac_ct_OBJDUMP
="objdump"
8083 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8092 ac_ct_OBJDUMP
=$ac_cv_prog_ac_ct_OBJDUMP
8093 if test -n "$ac_ct_OBJDUMP"; then
8094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
8095 $as_echo "$ac_ct_OBJDUMP" >&6; }
8097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8098 $as_echo "no" >&6; }
8101 if test "x$ac_ct_OBJDUMP" = x
; then
8104 case $cross_compiling:$ac_tool_warned in
8106 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8107 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8108 ac_tool_warned
=yes ;;
8110 OBJDUMP
=$ac_ct_OBJDUMP
8113 OBJDUMP
="$ac_cv_prog_OBJDUMP"
8116 test -z "$OBJDUMP" && OBJDUMP
=objdump
8126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
8127 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
8128 if ${lt_cv_deplibs_check_method+:} false
; then :
8129 $as_echo_n "(cached) " >&6
8131 lt_cv_file_magic_cmd
='$MAGIC_CMD'
8132 lt_cv_file_magic_test_file
=
8133 lt_cv_deplibs_check_method
='unknown'
8134 # Need to set the preceding variable on all platforms that support
8135 # interlibrary dependencies.
8136 # 'none' -- dependencies not supported.
8137 # 'unknown' -- same as none, but documents that we really don't know.
8138 # 'pass_all' -- all dependencies passed with no checks.
8139 # 'test_compile' -- check by making test program.
8140 # 'file_magic [[regex]]' -- check by looking for files in library path
8141 # that responds to the $file_magic_cmd with a given extended regex.
8142 # If you have 'file' or equivalent on your system and you're not sure
8143 # whether 'pass_all' will *always* work, you probably want this one.
8147 lt_cv_deplibs_check_method
=pass_all
8151 lt_cv_deplibs_check_method
=pass_all
8155 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
8156 lt_cv_file_magic_cmd
='/usr/bin/file -L'
8157 lt_cv_file_magic_test_file
=/shlib
/libc.so
8161 # func_win32_libid is a shell function defined in ltmain.sh
8162 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
8163 lt_cv_file_magic_cmd
='func_win32_libid'
8167 # Base MSYS/MinGW do not provide the 'file' command needed by
8168 # func_win32_libid shell function, so use a weaker test based on 'objdump',
8169 # unless we find 'file', for example because we are cross-compiling.
8170 if ( file / ) >/dev
/null
2>&1; then
8171 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
8172 lt_cv_file_magic_cmd
='func_win32_libid'
8174 # Keep this pattern in sync with the one in func_win32_libid.
8175 lt_cv_deplibs_check_method
='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
8176 lt_cv_file_magic_cmd
='$OBJDUMP -f'
8181 # use the weaker test based on 'objdump'. See mingw*.
8182 lt_cv_deplibs_check_method
='file_magic file format pe-arm-.*little(.*architecture: arm)?'
8183 lt_cv_file_magic_cmd
='$OBJDUMP -f'
8186 darwin
* | rhapsody
*)
8187 lt_cv_deplibs_check_method
=pass_all
8190 freebsd
* | dragonfly
*)
8191 if echo __ELF__
| $CC -E - | $GREP __ELF__
> /dev
/null
; then
8194 # Not sure whether the presence of OpenBSD here was a mistake.
8195 # Let's accept both of them until this is cleared up.
8196 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
8197 lt_cv_file_magic_cmd
=/usr
/bin
/file
8198 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
8202 lt_cv_deplibs_check_method
=pass_all
8207 lt_cv_deplibs_check_method
=pass_all
8210 hpux10.20
* | hpux11
*)
8211 lt_cv_file_magic_cmd
=/usr
/bin
/file
8214 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
8215 lt_cv_file_magic_test_file
=/usr
/lib
/hpux
32/libc.so
8218 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]'
8219 lt_cv_file_magic_test_file
=/usr
/lib
/pa
20_
64/libc.sl
8222 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
8223 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
8229 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
8230 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|\.a)$'
8233 irix5
* | irix6
* | nonstopux
*)
8235 *-32|*"-32 ") libmagic
=32-bit;;
8236 *-n32|*"-n32 ") libmagic
=N32
;;
8237 *-64|*"-64 ") libmagic
=64-bit;;
8238 *) libmagic
=never
-match;;
8240 lt_cv_deplibs_check_method
=pass_all
8243 # This must be glibc/ELF.
8244 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
8245 lt_cv_deplibs_check_method
=pass_all
8249 if echo __ELF__
| $CC -E - | $GREP __ELF__
> /dev
/null
; then
8250 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
8252 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|_pic\.a)$'
8257 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
8258 lt_cv_file_magic_cmd
=/usr
/bin
/file
8259 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
8263 lt_cv_deplibs_check_method
=pass_all
8267 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
8268 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
8270 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
8274 osf3
* | osf4
* | osf5
*)
8275 lt_cv_deplibs_check_method
=pass_all
8279 lt_cv_deplibs_check_method
=pass_all
8283 lt_cv_deplibs_check_method
=pass_all
8286 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
8287 lt_cv_deplibs_check_method
=pass_all
8291 case $host_vendor in
8293 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]'
8294 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
8297 lt_cv_deplibs_check_method
=pass_all
8300 lt_cv_file_magic_cmd
='/bin/file'
8301 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
8304 lt_cv_file_magic_cmd
='/bin/file'
8305 lt_cv_deplibs_check_method
="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
8306 lt_cv_file_magic_test_file
=/lib
/libc.so
8309 lt_cv_deplibs_check_method
=pass_all
8312 lt_cv_deplibs_check_method
=pass_all
8318 lt_cv_deplibs_check_method
=pass_all
8321 lt_cv_deplibs_check_method
=pass_all
8326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
8327 $as_echo "$lt_cv_deplibs_check_method" >&6; }
8331 if test "$build" = "$host"; then
8334 if ( shopt | grep nocaseglob
) >/dev
/null
2>&1; then
8337 file_magic_glob
=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
8343 file_magic_cmd
=$lt_cv_file_magic_cmd
8344 deplibs_check_method
=$lt_cv_deplibs_check_method
8345 test -z "$deplibs_check_method" && deplibs_check_method
=unknown
8368 if test -n "$ac_tool_prefix"; then
8369 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8370 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
8371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8372 $as_echo_n "checking for $ac_word... " >&6; }
8373 if ${ac_cv_prog_DLLTOOL+:} false
; then :
8374 $as_echo_n "(cached) " >&6
8376 if test -n "$DLLTOOL"; then
8377 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
8379 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8383 test -z "$as_dir" && as_dir
=.
8384 for ac_exec_ext
in '' $ac_executable_extensions; do
8385 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8386 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
8387 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8396 DLLTOOL
=$ac_cv_prog_DLLTOOL
8397 if test -n "$DLLTOOL"; then
8398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8399 $as_echo "$DLLTOOL" >&6; }
8401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8402 $as_echo "no" >&6; }
8407 if test -z "$ac_cv_prog_DLLTOOL"; then
8408 ac_ct_DLLTOOL
=$DLLTOOL
8409 # Extract the first word of "dlltool", so it can be a program name with args.
8410 set dummy dlltool
; ac_word
=$2
8411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8412 $as_echo_n "checking for $ac_word... " >&6; }
8413 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false
; then :
8414 $as_echo_n "(cached) " >&6
8416 if test -n "$ac_ct_DLLTOOL"; then
8417 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
8419 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8423 test -z "$as_dir" && as_dir
=.
8424 for ac_exec_ext
in '' $ac_executable_extensions; do
8425 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8426 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
8427 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8436 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
8437 if test -n "$ac_ct_DLLTOOL"; then
8438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8439 $as_echo "$ac_ct_DLLTOOL" >&6; }
8441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8442 $as_echo "no" >&6; }
8445 if test "x$ac_ct_DLLTOOL" = x
; then
8448 case $cross_compiling:$ac_tool_warned in
8450 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8451 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8452 ac_tool_warned
=yes ;;
8454 DLLTOOL
=$ac_ct_DLLTOOL
8457 DLLTOOL
="$ac_cv_prog_DLLTOOL"
8460 test -z "$DLLTOOL" && DLLTOOL
=dlltool
8471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
8472 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
8473 if ${lt_cv_sharedlib_from_linklib_cmd+:} false
; then :
8474 $as_echo_n "(cached) " >&6
8476 lt_cv_sharedlib_from_linklib_cmd
='unknown'
8479 cygwin
* | mingw
* | pw32
* | cegcc
*)
8480 # two different shell functions defined in ltmain.sh;
8481 # decide which one to use based on capabilities of $DLLTOOL
8482 case `$DLLTOOL --help 2>&1` in
8483 *--identify-strict*)
8484 lt_cv_sharedlib_from_linklib_cmd
=func_cygming_dll_for_implib
8487 lt_cv_sharedlib_from_linklib_cmd
=func_cygming_dll_for_implib_fallback
8492 # fallback: assume linklib IS sharedlib
8493 lt_cv_sharedlib_from_linklib_cmd
=$ECHO
8498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
8499 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
8500 sharedlib_from_linklib_cmd
=$lt_cv_sharedlib_from_linklib_cmd
8501 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd
=$ECHO
8509 if test -n "$ac_tool_prefix"; then
8512 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
8513 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
8514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8515 $as_echo_n "checking for $ac_word... " >&6; }
8516 if ${ac_cv_prog_AR+:} false
; then :
8517 $as_echo_n "(cached) " >&6
8519 if test -n "$AR"; then
8520 ac_cv_prog_AR
="$AR" # Let the user override the test.
8522 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8526 test -z "$as_dir" && as_dir
=.
8527 for ac_exec_ext
in '' $ac_executable_extensions; do
8528 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8529 ac_cv_prog_AR
="$ac_tool_prefix$ac_prog"
8530 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8540 if test -n "$AR"; then
8541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
8542 $as_echo "$AR" >&6; }
8544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8545 $as_echo "no" >&6; }
8549 test -n "$AR" && break
8552 if test -z "$AR"; then
8556 # Extract the first word of "$ac_prog", so it can be a program name with args.
8557 set dummy
$ac_prog; ac_word
=$2
8558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8559 $as_echo_n "checking for $ac_word... " >&6; }
8560 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
8561 $as_echo_n "(cached) " >&6
8563 if test -n "$ac_ct_AR"; then
8564 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
8566 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8570 test -z "$as_dir" && as_dir
=.
8571 for ac_exec_ext
in '' $ac_executable_extensions; do
8572 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8573 ac_cv_prog_ac_ct_AR
="$ac_prog"
8574 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8583 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
8584 if test -n "$ac_ct_AR"; then
8585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
8586 $as_echo "$ac_ct_AR" >&6; }
8588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8589 $as_echo "no" >&6; }
8593 test -n "$ac_ct_AR" && break
8596 if test "x$ac_ct_AR" = x
; then
8599 case $cross_compiling:$ac_tool_warned in
8601 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8602 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8603 ac_tool_warned
=yes ;;
8622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
8623 $as_echo_n "checking for archiver @FILE support... " >&6; }
8624 if ${lt_cv_ar_at_file+:} false
; then :
8625 $as_echo_n "(cached) " >&6
8628 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8629 /* end confdefs.h. */
8639 if ac_fn_c_try_compile
"$LINENO"; then :
8640 echo conftest.
$ac_objext > conftest.lst
8641 lt_ar_try
='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
8642 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
8643 (eval $lt_ar_try) 2>&5
8645 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8646 test $ac_status = 0; }
8647 if test 0 -eq "$ac_status"; then
8648 # Ensure the archiver fails upon bogus file names.
8649 rm -f conftest.
$ac_objext libconftest.a
8650 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
8651 (eval $lt_ar_try) 2>&5
8653 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8654 test $ac_status = 0; }
8655 if test 0 -ne "$ac_status"; then
8659 rm -f conftest.
* libconftest.a
8662 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
8666 $as_echo "$lt_cv_ar_at_file" >&6; }
8668 if test no
= "$lt_cv_ar_at_file"; then
8671 archiver_list_spec
=$lt_cv_ar_at_file
8680 if test -n "$ac_tool_prefix"; then
8681 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
8682 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
8683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8684 $as_echo_n "checking for $ac_word... " >&6; }
8685 if ${ac_cv_prog_STRIP+:} false
; then :
8686 $as_echo_n "(cached) " >&6
8688 if test -n "$STRIP"; then
8689 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
8691 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8695 test -z "$as_dir" && as_dir
=.
8696 for ac_exec_ext
in '' $ac_executable_extensions; do
8697 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8698 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
8699 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8708 STRIP
=$ac_cv_prog_STRIP
8709 if test -n "$STRIP"; then
8710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
8711 $as_echo "$STRIP" >&6; }
8713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8714 $as_echo "no" >&6; }
8719 if test -z "$ac_cv_prog_STRIP"; then
8721 # Extract the first word of "strip", so it can be a program name with args.
8722 set dummy strip
; ac_word
=$2
8723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8724 $as_echo_n "checking for $ac_word... " >&6; }
8725 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
8726 $as_echo_n "(cached) " >&6
8728 if test -n "$ac_ct_STRIP"; then
8729 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
8731 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8735 test -z "$as_dir" && as_dir
=.
8736 for ac_exec_ext
in '' $ac_executable_extensions; do
8737 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8738 ac_cv_prog_ac_ct_STRIP
="strip"
8739 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8748 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
8749 if test -n "$ac_ct_STRIP"; then
8750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
8751 $as_echo "$ac_ct_STRIP" >&6; }
8753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8754 $as_echo "no" >&6; }
8757 if test "x$ac_ct_STRIP" = x
; then
8760 case $cross_compiling:$ac_tool_warned in
8762 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8763 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8764 ac_tool_warned
=yes ;;
8769 STRIP
="$ac_cv_prog_STRIP"
8772 test -z "$STRIP" && STRIP
=:
8779 if test -n "$ac_tool_prefix"; then
8780 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
8781 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
8782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8783 $as_echo_n "checking for $ac_word... " >&6; }
8784 if ${ac_cv_prog_RANLIB+:} false
; then :
8785 $as_echo_n "(cached) " >&6
8787 if test -n "$RANLIB"; then
8788 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
8790 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8794 test -z "$as_dir" && as_dir
=.
8795 for ac_exec_ext
in '' $ac_executable_extensions; do
8796 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8797 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
8798 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8807 RANLIB
=$ac_cv_prog_RANLIB
8808 if test -n "$RANLIB"; then
8809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
8810 $as_echo "$RANLIB" >&6; }
8812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8813 $as_echo "no" >&6; }
8818 if test -z "$ac_cv_prog_RANLIB"; then
8819 ac_ct_RANLIB
=$RANLIB
8820 # Extract the first word of "ranlib", so it can be a program name with args.
8821 set dummy ranlib
; ac_word
=$2
8822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8823 $as_echo_n "checking for $ac_word... " >&6; }
8824 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
8825 $as_echo_n "(cached) " >&6
8827 if test -n "$ac_ct_RANLIB"; then
8828 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
8830 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8834 test -z "$as_dir" && as_dir
=.
8835 for ac_exec_ext
in '' $ac_executable_extensions; do
8836 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8837 ac_cv_prog_ac_ct_RANLIB
="ranlib"
8838 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8847 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
8848 if test -n "$ac_ct_RANLIB"; then
8849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
8850 $as_echo "$ac_ct_RANLIB" >&6; }
8852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8853 $as_echo "no" >&6; }
8856 if test "x$ac_ct_RANLIB" = x
; then
8859 case $cross_compiling:$ac_tool_warned in
8861 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8862 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8863 ac_tool_warned
=yes ;;
8865 RANLIB
=$ac_ct_RANLIB
8868 RANLIB
="$ac_cv_prog_RANLIB"
8871 test -z "$RANLIB" && RANLIB
=:
8878 # Determine commands to create old-style static archives.
8879 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs'
8880 old_postinstall_cmds
='chmod 644 $oldlib'
8881 old_postuninstall_cmds
=
8883 if test -n "$RANLIB"; then
8886 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
8889 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
8892 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$tool_oldlib"
8897 lock_old_archive_extraction
=yes ;;
8899 lock_old_archive_extraction
=no
;;
8940 # If no C compiler was specified, use CC.
8943 # If no C compiler flags were specified, use CFLAGS.
8944 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
8946 # Allow CC to be a program name with arguments.
8950 # Check for command to grab the raw symbol name followed by C symbol from nm.
8951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
8952 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
8953 if ${lt_cv_sys_global_symbol_pipe+:} false
; then :
8954 $as_echo_n "(cached) " >&6
8957 # These are sane defaults that work on at least a few old systems.
8958 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
8960 # Character class describing NM global symbol codes.
8961 symcode
='[BCDEGRST]'
8963 # Regexp to match symbols that can be accessed directly from C.
8964 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
8966 # Define system-specific variables.
8971 cygwin
* | mingw
* | pw32
* | cegcc
*)
8972 symcode
='[ABCDGISTW]'
8975 if test ia64
= "$host_cpu"; then
8976 symcode
='[ABCDEGRST]'
8980 symcode
='[BCDEGRST]'
8983 symcode
='[BCDEGQRST]'
8994 sysv5
* | sco5v6
* | unixware
* | OpenUNIX
*)
9002 # If we're using GNU nm, then use its standard symbol codes.
9003 case `$NM -V 2>&1` in
9004 *GNU
* | *'with BFD'*)
9005 symcode
='[ABCDGIRSTW]' ;;
9008 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
9009 # Gets list of data symbols to import.
9010 lt_cv_sys_global_symbol_to_import
="sed -n -e 's/^I .* \(.*\)$/\1/p'"
9011 # Adjust the below global symbol transforms to fixup imported variables.
9012 lt_cdecl_hook
=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
9013 lt_c_name_hook
=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'"
9014 lt_c_name_lib_hook
="\
9015 -e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\
9016 -e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'"
9018 # Disable hooks by default.
9019 lt_cv_sys_global_symbol_to_import
=
9025 # Transform an extracted symbol line into a proper C declaration.
9026 # Some systems (esp. on ia64) link data and code symbols differently,
9027 # so use this general approach.
9028 lt_cv_sys_global_symbol_to_cdecl
="sed -n"\
9030 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
9031 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
9033 # Transform an extracted symbol line into symbol name and symbol address
9034 lt_cv_sys_global_symbol_to_c_name_address
="sed -n"\
9036 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
9037 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'"
9039 # Transform an extracted symbol line into symbol name with lib prefix and
9041 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
="sed -n"\
9042 $lt_c_name_lib_hook\
9043 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
9044 " -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\
9045 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'"
9047 # Handle CRLF in mingw tool chain
9051 opt_cr
=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
9055 # Try without a prefix underscore, then with it.
9056 for ac_symprfx
in "" "_"; do
9058 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
9059 symxfrm
="\\1 $ac_symprfx\\2 \\2"
9061 # Write the raw and C identifiers.
9062 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
9063 # Fake it for dumpbin and say T for any non-static function,
9064 # D for any global variable and I for any imported variable.
9065 # Also find C++ and __fastcall symbols from MSVC++,
9066 # which start with @ or ?.
9067 lt_cv_sys_global_symbol_pipe
="$AWK '"\
9068 " {last_section=section; section=\$ 3};"\
9069 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
9070 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
9071 " /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
9072 " /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
9073 " /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
9074 " \$ 0!~/External *\|/{next};"\
9075 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
9076 " {if(hide[section]) next};"\
9077 " {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
9078 " {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
9079 " s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
9080 " s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
9081 " ' prfx=^$ac_symprfx"
9083 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
9085 lt_cv_sys_global_symbol_pipe
="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
9087 # Check to see that the pipe works correctly.
9091 cat > conftest.
$ac_ext <<_LT_EOF
9096 void nm_test_func(void);
9097 void nm_test_func(void){}
9101 int main(){nm_test_var='a';nm_test_func();return(0);}
9104 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9105 (eval $ac_compile) 2>&5
9107 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9108 test $ac_status = 0; }; then
9109 # Now try to grab the symbols.
9111 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
9112 (eval $NM conftest.
$ac_objext \
| "$lt_cv_sys_global_symbol_pipe" \
> $nlist) 2>&5
9114 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9115 test $ac_status = 0; } && test -s "$nlist"; then
9116 # Try sorting and uniquifying the output.
9117 if sort "$nlist" | uniq > "$nlist"T
; then
9118 mv -f "$nlist"T
"$nlist"
9123 # Make sure that we snagged all the symbols we need.
9124 if $GREP ' nm_test_var$' "$nlist" >/dev
/null
; then
9125 if $GREP ' nm_test_func$' "$nlist" >/dev
/null
; then
9126 cat <<_LT_EOF > conftest.$ac_ext
9127 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
9128 #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
9129 /* DATA imports from DLLs on WIN32 can't be const, because runtime
9130 relocations are performed -- see ld's documentation on pseudo-relocs. */
9131 # define LT_DLSYM_CONST
9132 #elif defined __osf__
9133 /* This system does not cope well with relocations in const data. */
9134 # define LT_DLSYM_CONST
9136 # define LT_DLSYM_CONST const
9144 # Now generate the symbol file.
9145 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
9147 cat <<_LT_EOF >> conftest.$ac_ext
9149 /* The mapping between symbol names and symbols. */
9150 LT_DLSYM_CONST struct {
9154 lt__PROGRAM__LTX_preloaded_symbols[] =
9156 { "@PROGRAM@", (void *) 0 },
9158 $SED "s/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main
>> conftest.
$ac_ext
9159 cat <<\_LT_EOF
>> conftest.
$ac_ext
9163 /* This works around a problem
in FreeBSD linker
*/
9164 #ifdef FREEBSD_WORKAROUND
9165 static const void
*lt_preloaded_setup
() {
9166 return lt__PROGRAM__LTX_preloaded_symbols
;
9174 # Now try linking the two files.
9175 mv conftest.
$ac_objext conftstm.
$ac_objext
9176 lt_globsym_save_LIBS
=$LIBS
9177 lt_globsym_save_CFLAGS
=$CFLAGS
9178 LIBS
=conftstm.
$ac_objext
9179 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
9180 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
9181 (eval $ac_link) 2>&5
9183 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9184 test $ac_status = 0; } && test -s conftest
$ac_exeext; then
9187 LIBS
=$lt_globsym_save_LIBS
9188 CFLAGS
=$lt_globsym_save_CFLAGS
9190 echo "cannot find nm_test_func in $nlist" >&5
9193 echo "cannot find nm_test_var in $nlist" >&5
9196 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
9199 echo "$progname: failed program was:" >&5
9200 cat conftest.
$ac_ext >&5
9202 rm -rf conftest
* conftst
*
9204 # Do not use the global_symbol_pipe unless it works.
9205 if test yes = "$pipe_works"; then
9208 lt_cv_sys_global_symbol_pipe
=
9214 if test -z "$lt_cv_sys_global_symbol_pipe"; then
9215 lt_cv_sys_global_symbol_to_cdecl
=
9217 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
9218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
9219 $as_echo "failed" >&6; }
9221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
9222 $as_echo "ok" >&6; }
9225 # Response file support.
9226 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
9227 nm_file_list_spec
='@'
9228 elif $NM --help 2>/dev
/null
| grep '[@]FILE' >/dev
/null
; then
9229 nm_file_list_spec
='@'
9268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
9269 $as_echo_n "checking for sysroot... " >&6; }
9271 # Check whether --with-sysroot was given.
9272 if test "${with_sysroot+set}" = set; then :
9273 withval
=$with_sysroot;
9280 case $with_sysroot in #(
9282 if test yes = "$GCC"; then
9283 lt_sysroot
=`$CC --print-sysroot 2>/dev/null`
9287 lt_sysroot
=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
9292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
9293 $as_echo "$with_sysroot" >&6; }
9294 as_fn_error $?
"The sysroot must be an absolute path." "$LINENO" 5
9298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
9299 $as_echo "${lt_sysroot:-no}" >&6; }
9305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
9306 $as_echo_n "checking for a working dd... " >&6; }
9307 if ${ac_cv_path_lt_DD+:} false
; then :
9308 $as_echo_n "(cached) " >&6
9310 printf 0123456789abcdef0123456789abcdef
>conftest.i
9311 cat conftest.i conftest.i
>conftest2.i
9313 if test -z "$lt_DD"; then
9314 ac_path_lt_DD_found
=false
9315 # Loop through the user's path and test for each of PROGNAME-LIST
9316 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9320 test -z "$as_dir" && as_dir
=.
9321 for ac_prog
in dd; do
9322 for ac_exec_ext
in '' $ac_executable_extensions; do
9323 ac_path_lt_DD
="$as_dir/$ac_prog$ac_exec_ext"
9324 as_fn_executable_p
"$ac_path_lt_DD" || continue
9325 if "$ac_path_lt_DD" bs
=32 count
=1 <conftest2.i
>conftest.out
2>/dev
/null
; then
9326 cmp -s conftest.i conftest.out \
9327 && ac_cv_path_lt_DD
="$ac_path_lt_DD" ac_path_lt_DD_found
=:
9329 $ac_path_lt_DD_found && break 3
9334 if test -z "$ac_cv_path_lt_DD"; then
9338 ac_cv_path_lt_DD
=$lt_DD
9341 rm -f conftest.i conftest2.i conftest.out
9343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
9344 $as_echo "$ac_cv_path_lt_DD" >&6; }
9347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
9348 $as_echo_n "checking how to truncate binary pipes... " >&6; }
9349 if ${lt_cv_truncate_bin+:} false
; then :
9350 $as_echo_n "(cached) " >&6
9352 printf 0123456789abcdef0123456789abcdef
>conftest.i
9353 cat conftest.i conftest.i
>conftest2.i
9355 if "$ac_cv_path_lt_DD" bs
=32 count
=1 <conftest2.i
>conftest.out
2>/dev
/null
; then
9356 cmp -s conftest.i conftest.out \
9357 && lt_cv_truncate_bin
="$ac_cv_path_lt_DD bs=4096 count=1"
9359 rm -f conftest.i conftest2.i conftest.out
9360 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin
="$SED -e 4q"
9362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
9363 $as_echo "$lt_cv_truncate_bin" >&6; }
9371 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
9374 for cc_temp
in $
*""; do
9376 compile
| *[\\/]compile
| ccache
| *[\\/]ccache
) ;;
9377 distcc
| *[\\/]distcc
| purify
| *[\\/]purify
) ;;
9382 func_cc_basename_result
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
9385 # Check whether --enable-libtool-lock was given.
9386 if test "${enable_libtool_lock+set}" = set; then :
9387 enableval
=$enable_libtool_lock;
9390 test no
= "$enable_libtool_lock" || enable_libtool_lock
=yes
9392 # Some flags need to be propagated to the compiler or linker for good
9396 # Find out what ABI is being produced by ac_compile, and set mode
9397 # options accordingly.
9398 echo 'int i;' > conftest.
$ac_ext
9399 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9400 (eval $ac_compile) 2>&5
9402 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9403 test $ac_status = 0; }; then
9404 case `/usr/bin/file conftest.$ac_objext` in
9416 # Find out what ABI is being produced by ac_compile, and set linker
9417 # options accordingly.
9418 echo '#line '$LINENO' "configure"' > conftest.
$ac_ext
9419 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9420 (eval $ac_compile) 2>&5
9422 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9423 test $ac_status = 0; }; then
9424 if test yes = "$lt_cv_prog_gnu_ld"; then
9425 case `/usr/bin/file conftest.$ac_objext` in
9427 LD
="${LD-ld} -melf32bsmip"
9430 LD
="${LD-ld} -melf32bmipn32"
9433 LD
="${LD-ld} -melf64bmip"
9437 case `/usr/bin/file conftest.$ac_objext` in
9454 # Find out what ABI is being produced by ac_compile, and set linker
9455 # options accordingly.
9456 echo '#line '$LINENO' "configure"' > conftest.
$ac_ext
9457 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9458 (eval $ac_compile) 2>&5
9460 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9461 test $ac_status = 0; }; then
9463 case `/usr/bin/file conftest.$ac_objext` in
9471 case `/usr/bin/file conftest.$ac_objext` in
9473 emul
="${emul}btsmip"
9476 emul
="${emul}ltsmip"
9479 case `/usr/bin/file conftest.$ac_objext` in
9484 LD
="${LD-ld} -m $emul"
9489 x86_64
-*kfreebsd
*-gnu|x86_64
-*linux
*|powerpc
*-*linux
*| \
9490 s390
*-*linux
*|s390
*-*tpf
*|sparc
*-*linux
*)
9491 # Find out what ABI is being produced by ac_compile, and set linker
9492 # options accordingly. Note that the listed cases only cover the
9493 # situations where additional linker options are needed (such as when
9494 # doing 32-bit compilation for a host where ld defaults to 64-bit, or
9495 # vice versa); the common cases where no linker options are needed do
9496 # not appear in the list.
9497 echo 'int i;' > conftest.
$ac_ext
9498 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9499 (eval $ac_compile) 2>&5
9501 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9502 test $ac_status = 0; }; then
9503 case `/usr/bin/file conftest.o` in
9506 x86_64
-*kfreebsd
*-gnu)
9507 LD
="${LD-ld} -m elf_i386_fbsd"
9510 case `/usr/bin/file conftest.o` in
9512 LD
="${LD-ld} -m elf32_x86_64"
9515 LD
="${LD-ld} -m elf_i386"
9519 powerpc64le
-*linux
*)
9520 LD
="${LD-ld} -m elf32lppclinux"
9523 LD
="${LD-ld} -m elf32ppclinux"
9526 LD
="${LD-ld} -m elf_s390"
9529 LD
="${LD-ld} -m elf32_sparc"
9535 x86_64
-*kfreebsd
*-gnu)
9536 LD
="${LD-ld} -m elf_x86_64_fbsd"
9539 LD
="${LD-ld} -m elf_x86_64"
9542 LD
="${LD-ld} -m elf64lppc"
9545 LD
="${LD-ld} -m elf64ppc"
9547 s390
*-*linux
*|s390
*-*tpf
*)
9548 LD
="${LD-ld} -m elf64_s390"
9551 LD
="${LD-ld} -m elf64_sparc"
9561 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
9563 CFLAGS
="$CFLAGS -belf"
9564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
9565 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
9566 if ${lt_cv_cc_needs_belf+:} false
; then :
9567 $as_echo_n "(cached) " >&6
9570 ac_cpp
='$CPP $CPPFLAGS'
9571 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9572 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9573 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
9575 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9576 /* end confdefs.h. */
9586 if ac_fn_c_try_link
"$LINENO"; then :
9587 lt_cv_cc_needs_belf
=yes
9589 lt_cv_cc_needs_belf
=no
9591 rm -f core conftest.err conftest.
$ac_objext \
9592 conftest
$ac_exeext conftest.
$ac_ext
9594 ac_cpp
='$CPP $CPPFLAGS'
9595 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9596 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9597 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
9600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
9601 $as_echo "$lt_cv_cc_needs_belf" >&6; }
9602 if test yes != "$lt_cv_cc_needs_belf"; then
9603 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
9608 # Find out what ABI is being produced by ac_compile, and set linker
9609 # options accordingly.
9610 echo 'int i;' > conftest.
$ac_ext
9611 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9612 (eval $ac_compile) 2>&5
9614 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9615 test $ac_status = 0; }; then
9616 case `/usr/bin/file conftest.o` in
9618 case $lt_cv_prog_gnu_ld in
9621 i?
86-*-solaris*|x86_64
-*-solaris*)
9622 LD
="${LD-ld} -m elf_x86_64"
9625 LD
="${LD-ld} -m elf64_sparc"
9628 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
9629 if ${LD-ld} -V | grep _sol2
>/dev
/null
2>&1; then
9634 if ${LD-ld} -64 -r -o conftest2.o conftest.o
>/dev
/null
2>&1; then
9646 need_locks
=$enable_libtool_lock
9648 if test -n "$ac_tool_prefix"; then
9649 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
9650 set dummy
${ac_tool_prefix}mt
; ac_word
=$2
9651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9652 $as_echo_n "checking for $ac_word... " >&6; }
9653 if ${ac_cv_prog_MANIFEST_TOOL+:} false
; then :
9654 $as_echo_n "(cached) " >&6
9656 if test -n "$MANIFEST_TOOL"; then
9657 ac_cv_prog_MANIFEST_TOOL
="$MANIFEST_TOOL" # Let the user override the test.
9659 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9663 test -z "$as_dir" && as_dir
=.
9664 for ac_exec_ext
in '' $ac_executable_extensions; do
9665 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9666 ac_cv_prog_MANIFEST_TOOL
="${ac_tool_prefix}mt"
9667 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9676 MANIFEST_TOOL
=$ac_cv_prog_MANIFEST_TOOL
9677 if test -n "$MANIFEST_TOOL"; then
9678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
9679 $as_echo "$MANIFEST_TOOL" >&6; }
9681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9682 $as_echo "no" >&6; }
9687 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
9688 ac_ct_MANIFEST_TOOL
=$MANIFEST_TOOL
9689 # Extract the first word of "mt", so it can be a program name with args.
9690 set dummy mt
; ac_word
=$2
9691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9692 $as_echo_n "checking for $ac_word... " >&6; }
9693 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false
; then :
9694 $as_echo_n "(cached) " >&6
9696 if test -n "$ac_ct_MANIFEST_TOOL"; then
9697 ac_cv_prog_ac_ct_MANIFEST_TOOL
="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
9699 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9703 test -z "$as_dir" && as_dir
=.
9704 for ac_exec_ext
in '' $ac_executable_extensions; do
9705 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9706 ac_cv_prog_ac_ct_MANIFEST_TOOL
="mt"
9707 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9716 ac_ct_MANIFEST_TOOL
=$ac_cv_prog_ac_ct_MANIFEST_TOOL
9717 if test -n "$ac_ct_MANIFEST_TOOL"; then
9718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
9719 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
9721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9722 $as_echo "no" >&6; }
9725 if test "x$ac_ct_MANIFEST_TOOL" = x
; then
9728 case $cross_compiling:$ac_tool_warned in
9730 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9731 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9732 ac_tool_warned
=yes ;;
9734 MANIFEST_TOOL
=$ac_ct_MANIFEST_TOOL
9737 MANIFEST_TOOL
="$ac_cv_prog_MANIFEST_TOOL"
9740 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL
=mt
9741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
9742 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
9743 if ${lt_cv_path_mainfest_tool+:} false
; then :
9744 $as_echo_n "(cached) " >&6
9746 lt_cv_path_mainfest_tool
=no
9747 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
9748 $MANIFEST_TOOL '-?' 2>conftest.err
> conftest.out
9749 cat conftest.err
>&5
9750 if $GREP 'Manifest Tool' conftest.out
> /dev
/null
; then
9751 lt_cv_path_mainfest_tool
=yes
9755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
9756 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
9757 if test yes != "$lt_cv_path_mainfest_tool"; then
9767 rhapsody
* | darwin
*)
9768 if test -n "$ac_tool_prefix"; then
9769 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
9770 set dummy
${ac_tool_prefix}dsymutil
; ac_word
=$2
9771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9772 $as_echo_n "checking for $ac_word... " >&6; }
9773 if ${ac_cv_prog_DSYMUTIL+:} false
; then :
9774 $as_echo_n "(cached) " >&6
9776 if test -n "$DSYMUTIL"; then
9777 ac_cv_prog_DSYMUTIL
="$DSYMUTIL" # Let the user override the test.
9779 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9783 test -z "$as_dir" && as_dir
=.
9784 for ac_exec_ext
in '' $ac_executable_extensions; do
9785 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9786 ac_cv_prog_DSYMUTIL
="${ac_tool_prefix}dsymutil"
9787 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9796 DSYMUTIL
=$ac_cv_prog_DSYMUTIL
9797 if test -n "$DSYMUTIL"; then
9798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
9799 $as_echo "$DSYMUTIL" >&6; }
9801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9802 $as_echo "no" >&6; }
9807 if test -z "$ac_cv_prog_DSYMUTIL"; then
9808 ac_ct_DSYMUTIL
=$DSYMUTIL
9809 # Extract the first word of "dsymutil", so it can be a program name with args.
9810 set dummy dsymutil
; ac_word
=$2
9811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9812 $as_echo_n "checking for $ac_word... " >&6; }
9813 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false
; then :
9814 $as_echo_n "(cached) " >&6
9816 if test -n "$ac_ct_DSYMUTIL"; then
9817 ac_cv_prog_ac_ct_DSYMUTIL
="$ac_ct_DSYMUTIL" # Let the user override the test.
9819 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9823 test -z "$as_dir" && as_dir
=.
9824 for ac_exec_ext
in '' $ac_executable_extensions; do
9825 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9826 ac_cv_prog_ac_ct_DSYMUTIL
="dsymutil"
9827 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9836 ac_ct_DSYMUTIL
=$ac_cv_prog_ac_ct_DSYMUTIL
9837 if test -n "$ac_ct_DSYMUTIL"; then
9838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
9839 $as_echo "$ac_ct_DSYMUTIL" >&6; }
9841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9842 $as_echo "no" >&6; }
9845 if test "x$ac_ct_DSYMUTIL" = x
; then
9848 case $cross_compiling:$ac_tool_warned in
9850 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9851 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9852 ac_tool_warned
=yes ;;
9854 DSYMUTIL
=$ac_ct_DSYMUTIL
9857 DSYMUTIL
="$ac_cv_prog_DSYMUTIL"
9860 if test -n "$ac_tool_prefix"; then
9861 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
9862 set dummy
${ac_tool_prefix}nmedit
; ac_word
=$2
9863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9864 $as_echo_n "checking for $ac_word... " >&6; }
9865 if ${ac_cv_prog_NMEDIT+:} false
; then :
9866 $as_echo_n "(cached) " >&6
9868 if test -n "$NMEDIT"; then
9869 ac_cv_prog_NMEDIT
="$NMEDIT" # Let the user override the test.
9871 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9875 test -z "$as_dir" && as_dir
=.
9876 for ac_exec_ext
in '' $ac_executable_extensions; do
9877 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9878 ac_cv_prog_NMEDIT
="${ac_tool_prefix}nmedit"
9879 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9888 NMEDIT
=$ac_cv_prog_NMEDIT
9889 if test -n "$NMEDIT"; then
9890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
9891 $as_echo "$NMEDIT" >&6; }
9893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9894 $as_echo "no" >&6; }
9899 if test -z "$ac_cv_prog_NMEDIT"; then
9900 ac_ct_NMEDIT
=$NMEDIT
9901 # Extract the first word of "nmedit", so it can be a program name with args.
9902 set dummy nmedit
; ac_word
=$2
9903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9904 $as_echo_n "checking for $ac_word... " >&6; }
9905 if ${ac_cv_prog_ac_ct_NMEDIT+:} false
; then :
9906 $as_echo_n "(cached) " >&6
9908 if test -n "$ac_ct_NMEDIT"; then
9909 ac_cv_prog_ac_ct_NMEDIT
="$ac_ct_NMEDIT" # Let the user override the test.
9911 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9915 test -z "$as_dir" && as_dir
=.
9916 for ac_exec_ext
in '' $ac_executable_extensions; do
9917 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9918 ac_cv_prog_ac_ct_NMEDIT
="nmedit"
9919 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9928 ac_ct_NMEDIT
=$ac_cv_prog_ac_ct_NMEDIT
9929 if test -n "$ac_ct_NMEDIT"; then
9930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
9931 $as_echo "$ac_ct_NMEDIT" >&6; }
9933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9934 $as_echo "no" >&6; }
9937 if test "x$ac_ct_NMEDIT" = x
; then
9940 case $cross_compiling:$ac_tool_warned in
9942 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9943 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9944 ac_tool_warned
=yes ;;
9946 NMEDIT
=$ac_ct_NMEDIT
9949 NMEDIT
="$ac_cv_prog_NMEDIT"
9952 if test -n "$ac_tool_prefix"; then
9953 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
9954 set dummy
${ac_tool_prefix}lipo
; ac_word
=$2
9955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9956 $as_echo_n "checking for $ac_word... " >&6; }
9957 if ${ac_cv_prog_LIPO+:} false
; then :
9958 $as_echo_n "(cached) " >&6
9960 if test -n "$LIPO"; then
9961 ac_cv_prog_LIPO
="$LIPO" # Let the user override the test.
9963 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9967 test -z "$as_dir" && as_dir
=.
9968 for ac_exec_ext
in '' $ac_executable_extensions; do
9969 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9970 ac_cv_prog_LIPO
="${ac_tool_prefix}lipo"
9971 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9980 LIPO
=$ac_cv_prog_LIPO
9981 if test -n "$LIPO"; then
9982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
9983 $as_echo "$LIPO" >&6; }
9985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9986 $as_echo "no" >&6; }
9991 if test -z "$ac_cv_prog_LIPO"; then
9993 # Extract the first word of "lipo", so it can be a program name with args.
9994 set dummy lipo
; ac_word
=$2
9995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9996 $as_echo_n "checking for $ac_word... " >&6; }
9997 if ${ac_cv_prog_ac_ct_LIPO+:} false
; then :
9998 $as_echo_n "(cached) " >&6
10000 if test -n "$ac_ct_LIPO"; then
10001 ac_cv_prog_ac_ct_LIPO
="$ac_ct_LIPO" # Let the user override the test.
10003 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10004 for as_dir
in $PATH
10007 test -z "$as_dir" && as_dir
=.
10008 for ac_exec_ext
in '' $ac_executable_extensions; do
10009 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10010 ac_cv_prog_ac_ct_LIPO
="lipo"
10011 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10020 ac_ct_LIPO
=$ac_cv_prog_ac_ct_LIPO
10021 if test -n "$ac_ct_LIPO"; then
10022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
10023 $as_echo "$ac_ct_LIPO" >&6; }
10025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10026 $as_echo "no" >&6; }
10029 if test "x$ac_ct_LIPO" = x
; then
10032 case $cross_compiling:$ac_tool_warned in
10034 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10035 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10036 ac_tool_warned
=yes ;;
10041 LIPO
="$ac_cv_prog_LIPO"
10044 if test -n "$ac_tool_prefix"; then
10045 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
10046 set dummy
${ac_tool_prefix}otool
; ac_word
=$2
10047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10048 $as_echo_n "checking for $ac_word... " >&6; }
10049 if ${ac_cv_prog_OTOOL+:} false
; then :
10050 $as_echo_n "(cached) " >&6
10052 if test -n "$OTOOL"; then
10053 ac_cv_prog_OTOOL
="$OTOOL" # Let the user override the test.
10055 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10056 for as_dir
in $PATH
10059 test -z "$as_dir" && as_dir
=.
10060 for ac_exec_ext
in '' $ac_executable_extensions; do
10061 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10062 ac_cv_prog_OTOOL
="${ac_tool_prefix}otool"
10063 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10072 OTOOL
=$ac_cv_prog_OTOOL
10073 if test -n "$OTOOL"; then
10074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
10075 $as_echo "$OTOOL" >&6; }
10077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10078 $as_echo "no" >&6; }
10083 if test -z "$ac_cv_prog_OTOOL"; then
10085 # Extract the first word of "otool", so it can be a program name with args.
10086 set dummy otool
; ac_word
=$2
10087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10088 $as_echo_n "checking for $ac_word... " >&6; }
10089 if ${ac_cv_prog_ac_ct_OTOOL+:} false
; then :
10090 $as_echo_n "(cached) " >&6
10092 if test -n "$ac_ct_OTOOL"; then
10093 ac_cv_prog_ac_ct_OTOOL
="$ac_ct_OTOOL" # Let the user override the test.
10095 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10096 for as_dir
in $PATH
10099 test -z "$as_dir" && as_dir
=.
10100 for ac_exec_ext
in '' $ac_executable_extensions; do
10101 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10102 ac_cv_prog_ac_ct_OTOOL
="otool"
10103 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10112 ac_ct_OTOOL
=$ac_cv_prog_ac_ct_OTOOL
10113 if test -n "$ac_ct_OTOOL"; then
10114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
10115 $as_echo "$ac_ct_OTOOL" >&6; }
10117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10118 $as_echo "no" >&6; }
10121 if test "x$ac_ct_OTOOL" = x
; then
10124 case $cross_compiling:$ac_tool_warned in
10126 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10127 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10128 ac_tool_warned
=yes ;;
10133 OTOOL
="$ac_cv_prog_OTOOL"
10136 if test -n "$ac_tool_prefix"; then
10137 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
10138 set dummy
${ac_tool_prefix}otool64
; ac_word
=$2
10139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10140 $as_echo_n "checking for $ac_word... " >&6; }
10141 if ${ac_cv_prog_OTOOL64+:} false
; then :
10142 $as_echo_n "(cached) " >&6
10144 if test -n "$OTOOL64"; then
10145 ac_cv_prog_OTOOL64
="$OTOOL64" # Let the user override the test.
10147 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10148 for as_dir
in $PATH
10151 test -z "$as_dir" && as_dir
=.
10152 for ac_exec_ext
in '' $ac_executable_extensions; do
10153 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10154 ac_cv_prog_OTOOL64
="${ac_tool_prefix}otool64"
10155 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10164 OTOOL64
=$ac_cv_prog_OTOOL64
10165 if test -n "$OTOOL64"; then
10166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
10167 $as_echo "$OTOOL64" >&6; }
10169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10170 $as_echo "no" >&6; }
10175 if test -z "$ac_cv_prog_OTOOL64"; then
10176 ac_ct_OTOOL64
=$OTOOL64
10177 # Extract the first word of "otool64", so it can be a program name with args.
10178 set dummy otool64
; ac_word
=$2
10179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10180 $as_echo_n "checking for $ac_word... " >&6; }
10181 if ${ac_cv_prog_ac_ct_OTOOL64+:} false
; then :
10182 $as_echo_n "(cached) " >&6
10184 if test -n "$ac_ct_OTOOL64"; then
10185 ac_cv_prog_ac_ct_OTOOL64
="$ac_ct_OTOOL64" # Let the user override the test.
10187 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10188 for as_dir
in $PATH
10191 test -z "$as_dir" && as_dir
=.
10192 for ac_exec_ext
in '' $ac_executable_extensions; do
10193 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10194 ac_cv_prog_ac_ct_OTOOL64
="otool64"
10195 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10204 ac_ct_OTOOL64
=$ac_cv_prog_ac_ct_OTOOL64
10205 if test -n "$ac_ct_OTOOL64"; then
10206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
10207 $as_echo "$ac_ct_OTOOL64" >&6; }
10209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10210 $as_echo "no" >&6; }
10213 if test "x$ac_ct_OTOOL64" = x
; then
10216 case $cross_compiling:$ac_tool_warned in
10218 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10219 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10220 ac_tool_warned
=yes ;;
10222 OTOOL64
=$ac_ct_OTOOL64
10225 OTOOL64
="$ac_cv_prog_OTOOL64"
10254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
10255 $as_echo_n "checking for -single_module linker flag... " >&6; }
10256 if ${lt_cv_apple_cc_single_mod+:} false
; then :
10257 $as_echo_n "(cached) " >&6
10259 lt_cv_apple_cc_single_mod
=no
10260 if test -z "$LT_MULTI_MODULE"; then
10261 # By default we will add the -single_module flag. You can override
10262 # by either setting the environment variable LT_MULTI_MODULE
10263 # non-empty at configure time, or by adding -multi_module to the
10265 rm -rf libconftest.dylib
*
10266 echo "int foo(void){return 1;}" > conftest.c
10267 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
10268 -dynamiclib -Wl,-single_module conftest.c" >&5
10269 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
10270 -dynamiclib -Wl,-single_module conftest.c
2>conftest.err
10272 # If there is a non-empty error log, and "single_module"
10273 # appears in it, assume the flag caused a linker warning
10274 if test -s conftest.err
&& $GREP single_module conftest.err
; then
10275 cat conftest.err
>&5
10276 # Otherwise, if the output was created with a 0 exit code from
10277 # the compiler, it worked.
10278 elif test -f libconftest.dylib
&& test 0 = "$_lt_result"; then
10279 lt_cv_apple_cc_single_mod
=yes
10281 cat conftest.err
>&5
10283 rm -rf libconftest.dylib
*
10287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
10288 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
10290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
10291 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
10292 if ${lt_cv_ld_exported_symbols_list+:} false
; then :
10293 $as_echo_n "(cached) " >&6
10295 lt_cv_ld_exported_symbols_list
=no
10296 save_LDFLAGS
=$LDFLAGS
10297 echo "_main" > conftest.sym
10298 LDFLAGS
="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
10299 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10300 /* end confdefs.h. */
10310 if ac_fn_c_try_link
"$LINENO"; then :
10311 lt_cv_ld_exported_symbols_list
=yes
10313 lt_cv_ld_exported_symbols_list
=no
10315 rm -f core conftest.err conftest.
$ac_objext \
10316 conftest
$ac_exeext conftest.
$ac_ext
10317 LDFLAGS
=$save_LDFLAGS
10320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
10321 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
10323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
10324 $as_echo_n "checking for -force_load linker flag... " >&6; }
10325 if ${lt_cv_ld_force_load+:} false
; then :
10326 $as_echo_n "(cached) " >&6
10328 lt_cv_ld_force_load
=no
10329 cat > conftest.c
<< _LT_EOF
10330 int forced_loaded() { return 2;}
10332 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
10333 $LTCC $LTCFLAGS -c -o conftest.o conftest.c
2>&5
10334 echo "$AR cru libconftest.a conftest.o" >&5
10335 $AR cru libconftest.a conftest.o
2>&5
10336 echo "$RANLIB libconftest.a" >&5
10337 $RANLIB libconftest.a
2>&5
10338 cat > conftest.c
<< _LT_EOF
10339 int main() { return 0;}
10341 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
10342 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
2>conftest.err
10344 if test -s conftest.err
&& $GREP force_load conftest.err
; then
10345 cat conftest.err
>&5
10346 elif test -f conftest
&& test 0 = "$_lt_result" && $GREP forced_load conftest
>/dev
/null
2>&1; then
10347 lt_cv_ld_force_load
=yes
10349 cat conftest.err
>&5
10351 rm -f conftest.err libconftest.a conftest conftest.c
10352 rm -rf conftest.dSYM
10355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
10356 $as_echo "$lt_cv_ld_force_load" >&6; }
10358 rhapsody
* | darwin1.
[012])
10359 _lt_dar_allow_undefined
='$wl-undefined ${wl}suppress' ;;
10361 _lt_dar_allow_undefined
='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
10362 darwin
*) # darwin 5.x on
10363 # if running on 10.5 or later, the deployment target defaults
10364 # to the OS version, if on x86, and 10.4, the deployment
10365 # target defaults to 10.4. Don't you love it?
10366 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
10367 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
10368 _lt_dar_allow_undefined
='$wl-undefined ${wl}dynamic_lookup' ;;
10370 _lt_dar_allow_undefined
='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
10372 _lt_dar_allow_undefined
='$wl-undefined ${wl}dynamic_lookup' ;;
10376 if test yes = "$lt_cv_apple_cc_single_mod"; then
10377 _lt_dar_single_mod
='$single_module'
10379 if test yes = "$lt_cv_ld_exported_symbols_list"; then
10380 _lt_dar_export_syms
=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
10382 _lt_dar_export_syms
='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
10384 if test : != "$DSYMUTIL" && test no
= "$lt_cv_ld_force_load"; then
10385 _lt_dsymutil
='~$DSYMUTIL $lib || :'
10392 # func_munge_path_list VARIABLE PATH
10393 # -----------------------------------
10394 # VARIABLE is name of variable containing _space_ separated list of
10395 # directories to be munged by the contents of PATH, which is string
10398 # string "DIR[ DIR]" will be prepended to VARIABLE
10400 # string "DIR[ DIR]" will be appended to VARIABLE
10401 # "DIRP[:DIRP]::[DIRA:]DIRA"
10402 # string "DIRP[ DIRP]" will be prepended to VARIABLE and string
10403 # "DIRA[ DIRA]" will be appended to VARIABLE
10405 # VARIABLE will be replaced by "DIR[ DIR]"
10406 func_munge_path_list
()
10412 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$
$1\"
10415 eval $1=\"\$
$1 `$ECHO $2 | $SED 's/:/ /g'`\"
10418 eval $1=\"\$
$1\
`$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
10419 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$
$1\"
10422 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
10428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
10429 $as_echo_n "checking for ANSI C header files... " >&6; }
10430 if ${ac_cv_header_stdc+:} false
; then :
10431 $as_echo_n "(cached) " >&6
10433 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10434 /* end confdefs.h. */
10435 #include <stdlib.h>
10436 #include <stdarg.h>
10437 #include <string.h>
10448 if ac_fn_c_try_compile
"$LINENO"; then :
10449 ac_cv_header_stdc
=yes
10451 ac_cv_header_stdc
=no
10453 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10455 if test $ac_cv_header_stdc = yes; then
10456 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
10457 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10458 /* end confdefs.h. */
10459 #include <string.h>
10462 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10463 $EGREP "memchr" >/dev
/null
2>&1; then :
10466 ac_cv_header_stdc
=no
10472 if test $ac_cv_header_stdc = yes; then
10473 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
10474 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10475 /* end confdefs.h. */
10476 #include <stdlib.h>
10479 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10480 $EGREP "free" >/dev
/null
2>&1; then :
10483 ac_cv_header_stdc
=no
10489 if test $ac_cv_header_stdc = yes; then
10490 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
10491 if test "$cross_compiling" = yes; then :
10494 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10495 /* end confdefs.h. */
10497 #include <stdlib.h>
10498 #if ((' ' & 0x0FF) == 0x020)
10499 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
10500 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
10502 # define ISLOWER(c) \
10503 (('a' <= (c) && (c) <= 'i') \
10504 || ('j' <= (c) && (c) <= 'r') \
10505 || ('s' <= (c) && (c) <= 'z'))
10506 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
10509 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
10514 for (i = 0; i < 256; i++)
10515 if (XOR (islower (i), ISLOWER (i))
10516 || toupper (i) != TOUPPER (i))
10521 if ac_fn_c_try_run
"$LINENO"; then :
10524 ac_cv_header_stdc
=no
10526 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
10527 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
10532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
10533 $as_echo "$ac_cv_header_stdc" >&6; }
10534 if test $ac_cv_header_stdc = yes; then
10536 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
10540 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
10541 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
10542 inttypes.h stdint.h unistd.h
10544 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10545 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
10547 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
10548 cat >>confdefs.h
<<_ACEOF
10549 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10557 for ac_header
in dlfcn.h
10559 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
10561 if test "x$ac_cv_header_dlfcn_h" = xyes
; then :
10562 cat >>confdefs.h
<<_ACEOF
10563 #define HAVE_DLFCN_H 1
10573 func_stripname_cnf
()
10576 .
*) func_stripname_result
=`$ECHO "$3" | $SED "s%^$1%%; s%\\\\$2\$%%"`;;
10577 *) func_stripname_result
=`$ECHO "$3" | $SED "s%^$1%%; s%$2\$%%"`;;
10579 } # func_stripname_cnf
10586 # Check whether --enable-static was given.
10587 if test "${enable_static+set}" = set; then :
10588 enableval
=$enable_static; p
=${PACKAGE-default}
10590 yes) enable_static
=yes ;;
10591 no
) enable_static
=no
;;
10594 # Look at the argument we got. We use all the common list separators.
10595 lt_save_ifs
=$IFS; IFS
=$IFS$PATH_SEPARATOR,
10596 for pkg
in $enableval; do
10598 if test "X$pkg" = "X$p"; then
10621 enable_win32_dll
=no
10624 # Check whether --enable-shared was given.
10625 if test "${enable_shared+set}" = set; then :
10626 enableval
=$enable_shared; p
=${PACKAGE-default}
10628 yes) enable_shared
=yes ;;
10629 no
) enable_shared
=no
;;
10632 # Look at the argument we got. We use all the common list separators.
10633 lt_save_ifs
=$IFS; IFS
=$IFS$PATH_SEPARATOR,
10634 for pkg
in $enableval; do
10636 if test "X$pkg" = "X$p"; then
10657 # Check whether --with-pic was given.
10658 if test "${with_pic+set}" = set; then :
10659 withval
=$with_pic; lt_p
=${PACKAGE-default}
10661 yes|no
) pic_mode
=$withval ;;
10664 # Look at the argument we got. We use all the common list separators.
10665 lt_save_ifs
=$IFS; IFS
=$IFS$PATH_SEPARATOR,
10666 for lt_pkg
in $withval; do
10668 if test "X$lt_pkg" = "X$lt_p"; then
10686 # Check whether --enable-fast-install was given.
10687 if test "${enable_fast_install+set}" = set; then :
10688 enableval
=$enable_fast_install; p
=${PACKAGE-default}
10690 yes) enable_fast_install
=yes ;;
10691 no
) enable_fast_install
=no
;;
10693 enable_fast_install
=no
10694 # Look at the argument we got. We use all the common list separators.
10695 lt_save_ifs
=$IFS; IFS
=$IFS$PATH_SEPARATOR,
10696 for pkg
in $enableval; do
10698 if test "X$pkg" = "X$p"; then
10699 enable_fast_install
=yes
10706 enable_fast_install
=yes
10716 shared_archive_member_spec
=
10717 case $host,$enable_shared in
10718 power
*-*-aix[5-9]*,yes)
10719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
10720 $as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
10722 # Check whether --with-aix-soname was given.
10723 if test "${with_aix_soname+set}" = set; then :
10724 withval
=$with_aix_soname; case $withval in
10728 as_fn_error $?
"Unknown argument to --with-aix-soname" "$LINENO" 5
10731 lt_cv_with_aix_soname
=$with_aix_soname
10733 if ${lt_cv_with_aix_soname+:} false
; then :
10734 $as_echo_n "(cached) " >&6
10736 lt_cv_with_aix_soname
=aix
10739 with_aix_soname
=$lt_cv_with_aix_soname
10742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
10743 $as_echo "$with_aix_soname" >&6; }
10744 if test aix
!= "$with_aix_soname"; then
10745 # For the AIX way of multilib, we name the shared archive member
10746 # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
10747 # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
10748 # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
10749 # the AIX toolchain works better with OBJECT_MODE set (default 32).
10750 if test 64 = "${OBJECT_MODE-32}"; then
10751 shared_archive_member_spec
=shr_64
10753 shared_archive_member_spec
=shr
10758 with_aix_soname
=aix
10771 # This can be used to rebuild libtool when needed
10772 LIBTOOL_DEPS
=$ltmain
10774 # Always use our own libtool.
10775 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
10806 test -z "$LN_S" && LN_S
="ln -s"
10821 if test -n "${ZSH_VERSION+set}"; then
10822 setopt NO_GLOB_SUBST
10825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
10826 $as_echo_n "checking for objdir... " >&6; }
10827 if ${lt_cv_objdir+:} false
; then :
10828 $as_echo_n "(cached) " >&6
10830 rm -f .libs
2>/dev
/null
10831 mkdir .libs
2>/dev
/null
10832 if test -d .libs
; then
10835 # MS-DOS does not allow filenames that begin with a dot.
10838 rmdir .libs
2>/dev
/null
10840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
10841 $as_echo "$lt_cv_objdir" >&6; }
10842 objdir
=$lt_cv_objdir
10848 cat >>confdefs.h
<<_ACEOF
10849 #define LT_OBJDIR "$lt_cv_objdir/"
10857 # AIX sometimes has problems with the GCC collect2 program. For some
10858 # reason, if we set the COLLECT_NAMES environment variable, the problems
10859 # vanish in a puff of smoke.
10860 if test set != "${COLLECT_NAMES+set}"; then
10862 export COLLECT_NAMES
10867 # Global variables:
10869 can_build_shared
=yes
10871 # All known linkers require a '.a' archive for static linking (except MSVC,
10872 # which needs '.lib').
10875 with_gnu_ld
=$lt_cv_prog_gnu_ld
10880 # Set sane defaults for various variables
10881 test -z "$CC" && CC
=cc
10882 test -z "$LTCC" && LTCC
=$CC
10883 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
10884 test -z "$LD" && LD
=ld
10885 test -z "$ac_objext" && ac_objext
=o
10887 func_cc_basename
$compiler
10888 cc_basename
=$func_cc_basename_result
10891 # Only perform the check for file, if the check method requires it
10892 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
10893 case $deplibs_check_method in
10895 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
10896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
10897 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
10898 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
10899 $as_echo_n "(cached) " >&6
10903 lt_cv_path_MAGIC_CMD
=$MAGIC_CMD # Let the user override the test with a path.
10906 lt_save_MAGIC_CMD
=$MAGIC_CMD
10907 lt_save_ifs
=$IFS; IFS
=$PATH_SEPARATOR
10908 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
10909 for ac_dir
in $ac_dummy; do
10911 test -z "$ac_dir" && ac_dir
=.
10912 if test -f "$ac_dir/${ac_tool_prefix}file"; then
10913 lt_cv_path_MAGIC_CMD
=$ac_dir/"${ac_tool_prefix}file"
10914 if test -n "$file_magic_test_file"; then
10915 case $deplibs_check_method in
10917 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
10918 MAGIC_CMD
=$lt_cv_path_MAGIC_CMD
10919 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null
|
10920 $EGREP "$file_magic_regex" > /dev
/null
; then
10925 *** Warning: the command libtool uses to detect shared libraries,
10926 *** $file_magic_cmd, produces output that libtool cannot recognize.
10927 *** The result is that libtool may fail to recognize shared libraries
10928 *** as such. This will affect the creation of libtool libraries that
10929 *** depend on shared libraries, but programs linked with such libtool
10930 *** libraries will work regardless of this problem. Nevertheless, you
10931 *** may want to report the problem to your system manager and/or to
10932 *** bug-libtool@gnu.org
10942 MAGIC_CMD
=$lt_save_MAGIC_CMD
10947 MAGIC_CMD
=$lt_cv_path_MAGIC_CMD
10948 if test -n "$MAGIC_CMD"; then
10949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
10950 $as_echo "$MAGIC_CMD" >&6; }
10952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10953 $as_echo "no" >&6; }
10960 if test -z "$lt_cv_path_MAGIC_CMD"; then
10961 if test -n "$ac_tool_prefix"; then
10962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
10963 $as_echo_n "checking for file... " >&6; }
10964 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
10965 $as_echo_n "(cached) " >&6
10969 lt_cv_path_MAGIC_CMD
=$MAGIC_CMD # Let the user override the test with a path.
10972 lt_save_MAGIC_CMD
=$MAGIC_CMD
10973 lt_save_ifs
=$IFS; IFS
=$PATH_SEPARATOR
10974 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
10975 for ac_dir
in $ac_dummy; do
10977 test -z "$ac_dir" && ac_dir
=.
10978 if test -f "$ac_dir/file"; then
10979 lt_cv_path_MAGIC_CMD
=$ac_dir/"file"
10980 if test -n "$file_magic_test_file"; then
10981 case $deplibs_check_method in
10983 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
10984 MAGIC_CMD
=$lt_cv_path_MAGIC_CMD
10985 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null
|
10986 $EGREP "$file_magic_regex" > /dev
/null
; then
10991 *** Warning: the command libtool uses to detect shared libraries,
10992 *** $file_magic_cmd, produces output that libtool cannot recognize.
10993 *** The result is that libtool may fail to recognize shared libraries
10994 *** as such. This will affect the creation of libtool libraries that
10995 *** depend on shared libraries, but programs linked with such libtool
10996 *** libraries will work regardless of this problem. Nevertheless, you
10997 *** may want to report the problem to your system manager and/or to
10998 *** bug-libtool@gnu.org
11008 MAGIC_CMD
=$lt_save_MAGIC_CMD
11013 MAGIC_CMD
=$lt_cv_path_MAGIC_CMD
11014 if test -n "$MAGIC_CMD"; then
11015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
11016 $as_echo "$MAGIC_CMD" >&6; }
11018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11019 $as_echo "no" >&6; }
11032 # Use C for the default configuration in the libtool script
11036 ac_cpp
='$CPP $CPPFLAGS'
11037 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11038 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11039 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11042 # Source file extension for C test sources.
11045 # Object file extension for compiled C test sources.
11049 # Code to be used in simple compile tests
11050 lt_simple_compile_test_code
="int some_variable = 0;"
11052 # Code to be used in simple link tests
11053 lt_simple_link_test_code
='int main(){return(0);}'
11061 # If no C compiler was specified, use CC.
11064 # If no C compiler flags were specified, use CFLAGS.
11065 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
11067 # Allow CC to be a program name with arguments.
11070 # Save the default compiler, since it gets overwritten when the other
11071 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
11072 compiler_DEFAULT
=$CC
11074 # save warnings/boilerplate of simple test code
11075 ac_outfile
=conftest.
$ac_objext
11076 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
11077 eval "$ac_compile" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
11078 _lt_compiler_boilerplate
=`cat conftest.err`
11081 ac_outfile
=conftest.
$ac_objext
11082 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
11083 eval "$ac_link" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
11084 _lt_linker_boilerplate
=`cat conftest.err`
11089 ## There is no encapsulation within the following macros, do not change
11090 ## the running order or otherwise move them around unless you know exactly
11091 ## what you are doing...
11092 if test -n "$compiler"; then
11094 lt_prog_compiler_no_builtin_flag
=
11096 if test yes = "$GCC"; then
11097 case $cc_basename in
11099 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
11101 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
11104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
11105 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
11106 if ${lt_cv_prog_compiler_rtti_exceptions+:} false
; then :
11107 $as_echo_n "(cached) " >&6
11109 lt_cv_prog_compiler_rtti_exceptions
=no
11110 ac_outfile
=conftest.
$ac_objext
11111 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
11112 lt_compiler_flag
="-fno-rtti -fno-exceptions" ## exclude from sc_useless_quotes_in_assignment
11113 # Insert the option either (1) after the last *FLAGS variable, or
11114 # (2) before a word containing "conftest.", or (3) at the end.
11115 # Note that $ac_compile itself does not contain backslashes and begins
11116 # with a dollar sign (not a hyphen), so the echo should work correctly.
11117 # The option is referenced via a variable to avoid confusing sed.
11118 lt_compile
=`echo "$ac_compile" | $SED \
11119 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11120 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11121 -e 's:$: $lt_compiler_flag:'`
11122 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
11123 (eval "$lt_compile" 2>conftest.err
)
11125 cat conftest.err
>&5
11126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11127 if (exit $ac_status) && test -s "$ac_outfile"; then
11128 # The compiler can only warn and ignore the option if not recognized
11129 # So say no if there are warnings other than the usual output.
11130 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
11131 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
11132 if test ! -s conftest.er2
|| diff conftest.exp conftest.er2
>/dev
/null
; then
11133 lt_cv_prog_compiler_rtti_exceptions
=yes
11139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
11140 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
11142 if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
11143 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
11155 lt_prog_compiler_wl
=
11156 lt_prog_compiler_pic
=
11157 lt_prog_compiler_static
=
11160 if test yes = "$GCC"; then
11161 lt_prog_compiler_wl
='-Wl,'
11162 lt_prog_compiler_static
='-static'
11166 # All AIX code is PIC.
11167 if test ia64
= "$host_cpu"; then
11168 # AIX 5 now supports IA64 processor
11169 lt_prog_compiler_static
='-Bstatic'
11171 lt_prog_compiler_pic
='-fPIC'
11177 # see comment about AmigaOS4 .so support
11178 lt_prog_compiler_pic
='-fPIC'
11181 # FIXME: we need at least 68020 code to build shared libraries, but
11182 # adding the '-m68020' flag to GCC prevents building anything better,
11184 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
11189 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
11190 # PIC is the default for these OSes.
11193 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
11194 # This hack is so that the source file can tell whether it is being
11195 # built for inclusion in a dll (and should export symbols for example).
11196 # Although the cygwin gcc ignores -fPIC, still need this for old-style
11197 # (--disable-auto-import) libraries
11198 lt_prog_compiler_pic
='-DDLL_EXPORT'
11201 lt_prog_compiler_static
='$wl-static'
11206 darwin
* | rhapsody
*)
11207 # PIC is the default on this platform
11208 # Common symbols not allowed in MH_DYLIB files
11209 lt_prog_compiler_pic
='-fno-common'
11213 # PIC is the default for Haiku.
11214 # The "-static" flag exists, but is broken.
11215 lt_prog_compiler_static
=
11219 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
11220 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
11221 # sets the default TLS model and affects inlining.
11227 lt_prog_compiler_pic
='-fPIC'
11233 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
11234 # Instead, we relocate shared libraries at runtime.
11238 # Just because we use GCC doesn't mean we suddenly get shared libraries
11239 # on systems that don't support them.
11240 lt_prog_compiler_can_build_shared
=no
11245 # QNX uses GNU C++, but need to define -shared option too, otherwise
11246 # it will coredump.
11247 lt_prog_compiler_pic
='-fPIC -shared'
11251 if test -d /usr
/nec
; then
11252 lt_prog_compiler_pic
=-Kconform_pic
11257 lt_prog_compiler_pic
='-fPIC'
11261 case $cc_basename in
11262 nvcc
*) # Cuda Compiler Driver 2.2
11263 lt_prog_compiler_wl
='-Xlinker '
11264 if test -n "$lt_prog_compiler_pic"; then
11265 lt_prog_compiler_pic
="-Xcompiler $lt_prog_compiler_pic"
11270 # PORTME Check for flag to pass linker flags through the system compiler.
11273 lt_prog_compiler_wl
='-Wl,'
11274 if test ia64
= "$host_cpu"; then
11275 # AIX 5 now supports IA64 processor
11276 lt_prog_compiler_static
='-Bstatic'
11278 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
11282 darwin
* | rhapsody
*)
11283 # PIC is the default on this platform
11284 # Common symbols not allowed in MH_DYLIB files
11285 lt_prog_compiler_pic
='-fno-common'
11286 case $cc_basename in
11288 # NAG Fortran compiler
11289 lt_prog_compiler_wl
='-Wl,-Wl,,'
11290 lt_prog_compiler_pic
='-PIC'
11291 lt_prog_compiler_static
='-Bstatic'
11296 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
11297 # This hack is so that the source file can tell whether it is being
11298 # built for inclusion in a dll (and should export symbols for example).
11299 lt_prog_compiler_pic
='-DDLL_EXPORT'
11302 lt_prog_compiler_static
='$wl-static'
11307 hpux9
* | hpux10
* | hpux11
*)
11308 lt_prog_compiler_wl
='-Wl,'
11309 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
11310 # not for PA HP-UX.
11316 lt_prog_compiler_pic
='+Z'
11319 # Is there a better lt_prog_compiler_static that works with the bundled CC?
11320 lt_prog_compiler_static
='$wl-a ${wl}archive'
11323 irix5
* | irix6
* | nonstopux
*)
11324 lt_prog_compiler_wl
='-Wl,'
11325 # PIC (with -KPIC) is the default.
11326 lt_prog_compiler_static
='-non_shared'
11329 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
11330 case $cc_basename in
11331 # old Intel for x86_64, which still supported -KPIC.
11333 lt_prog_compiler_wl
='-Wl,'
11334 lt_prog_compiler_pic
='-KPIC'
11335 lt_prog_compiler_static
='-static'
11337 # icc used to be incompatible with GCC.
11338 # ICC 10 doesn't accept -KPIC any more.
11340 lt_prog_compiler_wl
='-Wl,'
11341 lt_prog_compiler_pic
='-fPIC'
11342 lt_prog_compiler_static
='-static'
11344 # Lahey Fortran 8.1.
11346 lt_prog_compiler_wl
='-Wl,'
11347 lt_prog_compiler_pic
='--shared'
11348 lt_prog_compiler_static
='--static'
11351 # NAG Fortran compiler
11352 lt_prog_compiler_wl
='-Wl,-Wl,,'
11353 lt_prog_compiler_pic
='-PIC'
11354 lt_prog_compiler_static
='-Bstatic'
11357 # Fabrice Bellard et al's Tiny C Compiler
11358 lt_prog_compiler_wl
='-Wl,'
11359 lt_prog_compiler_pic
='-fPIC'
11360 lt_prog_compiler_static
='-static'
11362 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
11363 # Portland Group compilers (*not* the Pentium gcc compiler,
11364 # which looks to be a dead project)
11365 lt_prog_compiler_wl
='-Wl,'
11366 lt_prog_compiler_pic
='-fpic'
11367 lt_prog_compiler_static
='-Bstatic'
11370 lt_prog_compiler_wl
='-Wl,'
11371 # All Alpha code is PIC.
11372 lt_prog_compiler_static
='-non_shared'
11374 xl
* | bgxl
* | bgf
* | mpixl
*)
11375 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
11376 lt_prog_compiler_wl
='-Wl,'
11377 lt_prog_compiler_pic
='-qpic'
11378 lt_prog_compiler_static
='-qstaticlink'
11381 case `$CC -V 2>&1 | sed 5q` in
11382 *Sun\ Ceres\ Fortran
* | *Sun
*Fortran
*\
[1-7].
* | *Sun
*Fortran
*\
8.
[0-3]*)
11383 # Sun Fortran 8.3 passes all unrecognized flags to the linker
11384 lt_prog_compiler_pic
='-KPIC'
11385 lt_prog_compiler_static
='-Bstatic'
11386 lt_prog_compiler_wl
=''
11388 *Sun\ F
* | *Sun
*Fortran
*)
11389 lt_prog_compiler_pic
='-KPIC'
11390 lt_prog_compiler_static
='-Bstatic'
11391 lt_prog_compiler_wl
='-Qoption ld '
11395 lt_prog_compiler_pic
='-KPIC'
11396 lt_prog_compiler_static
='-Bstatic'
11397 lt_prog_compiler_wl
='-Wl,'
11399 *Intel
*\
[CF
]*Compiler
*)
11400 lt_prog_compiler_wl
='-Wl,'
11401 lt_prog_compiler_pic
='-fPIC'
11402 lt_prog_compiler_static
='-static'
11405 lt_prog_compiler_wl
='-Wl,'
11406 lt_prog_compiler_pic
='-fpic'
11407 lt_prog_compiler_static
='-Bstatic'
11415 lt_prog_compiler_pic
='-KPIC'
11416 lt_prog_compiler_static
='-Bstatic'
11420 # QNX uses GNU C++, but need to define -shared option too, otherwise
11421 # it will coredump.
11422 lt_prog_compiler_pic
='-fPIC -shared'
11425 osf3
* | osf4
* | osf5
*)
11426 lt_prog_compiler_wl
='-Wl,'
11427 # All OSF/1 code is PIC.
11428 lt_prog_compiler_static
='-non_shared'
11432 lt_prog_compiler_static
='-non_shared'
11436 lt_prog_compiler_pic
='-KPIC'
11437 lt_prog_compiler_static
='-Bstatic'
11438 case $cc_basename in
11439 f77
* | f90
* | f95
* | sunf77
* | sunf90
* | sunf95
*)
11440 lt_prog_compiler_wl
='-Qoption ld ';;
11442 lt_prog_compiler_wl
='-Wl,';;
11447 lt_prog_compiler_wl
='-Qoption ld '
11448 lt_prog_compiler_pic
='-PIC'
11449 lt_prog_compiler_static
='-Bstatic'
11452 sysv4
| sysv4.2uw2
* | sysv4.3
*)
11453 lt_prog_compiler_wl
='-Wl,'
11454 lt_prog_compiler_pic
='-KPIC'
11455 lt_prog_compiler_static
='-Bstatic'
11459 if test -d /usr
/nec
; then
11460 lt_prog_compiler_pic
='-Kconform_pic'
11461 lt_prog_compiler_static
='-Bstatic'
11465 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
11466 lt_prog_compiler_wl
='-Wl,'
11467 lt_prog_compiler_pic
='-KPIC'
11468 lt_prog_compiler_static
='-Bstatic'
11472 lt_prog_compiler_wl
='-Wl,'
11473 lt_prog_compiler_can_build_shared
=no
11477 lt_prog_compiler_pic
='-pic'
11478 lt_prog_compiler_static
='-Bstatic'
11482 lt_prog_compiler_can_build_shared
=no
11488 # For platforms that do not support PIC, -DPIC is meaningless:
11490 lt_prog_compiler_pic
=
11493 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
11497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
11498 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
11499 if ${lt_cv_prog_compiler_pic+:} false
; then :
11500 $as_echo_n "(cached) " >&6
11502 lt_cv_prog_compiler_pic
=$lt_prog_compiler_pic
11504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
11505 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
11506 lt_prog_compiler_pic
=$lt_cv_prog_compiler_pic
11509 # Check to make sure the PIC flag actually works.
11511 if test -n "$lt_prog_compiler_pic"; then
11512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
11513 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
11514 if ${lt_cv_prog_compiler_pic_works+:} false
; then :
11515 $as_echo_n "(cached) " >&6
11517 lt_cv_prog_compiler_pic_works
=no
11518 ac_outfile
=conftest.
$ac_objext
11519 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
11520 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC" ## exclude from sc_useless_quotes_in_assignment
11521 # Insert the option either (1) after the last *FLAGS variable, or
11522 # (2) before a word containing "conftest.", or (3) at the end.
11523 # Note that $ac_compile itself does not contain backslashes and begins
11524 # with a dollar sign (not a hyphen), so the echo should work correctly.
11525 # The option is referenced via a variable to avoid confusing sed.
11526 lt_compile
=`echo "$ac_compile" | $SED \
11527 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11528 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11529 -e 's:$: $lt_compiler_flag:'`
11530 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
11531 (eval "$lt_compile" 2>conftest.err
)
11533 cat conftest.err
>&5
11534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11535 if (exit $ac_status) && test -s "$ac_outfile"; then
11536 # The compiler can only warn and ignore the option if not recognized
11537 # So say no if there are warnings other than the usual output.
11538 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
11539 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
11540 if test ! -s conftest.er2
|| diff conftest.exp conftest.er2
>/dev
/null
; then
11541 lt_cv_prog_compiler_pic_works
=yes
11547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
11548 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
11550 if test yes = "$lt_cv_prog_compiler_pic_works"; then
11551 case $lt_prog_compiler_pic in
11553 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
11556 lt_prog_compiler_pic
=
11557 lt_prog_compiler_can_build_shared
=no
11573 # Check to make sure the static flag actually works.
11575 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
11576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
11577 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
11578 if ${lt_cv_prog_compiler_static_works+:} false
; then :
11579 $as_echo_n "(cached) " >&6
11581 lt_cv_prog_compiler_static_works
=no
11582 save_LDFLAGS
=$LDFLAGS
11583 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
11584 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
11585 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
11586 # The linker can only warn and ignore the option if not recognized
11587 # So say no if there are warnings
11588 if test -s conftest.err
; then
11589 # Append any errors to the config.log.
11590 cat conftest.err
1>&5
11591 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
11592 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
11593 if diff conftest.exp conftest.er2
>/dev
/null
; then
11594 lt_cv_prog_compiler_static_works
=yes
11597 lt_cv_prog_compiler_static_works
=yes
11601 LDFLAGS
=$save_LDFLAGS
11604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
11605 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
11607 if test yes = "$lt_cv_prog_compiler_static_works"; then
11610 lt_prog_compiler_static
=
11619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
11620 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
11621 if ${lt_cv_prog_compiler_c_o+:} false
; then :
11622 $as_echo_n "(cached) " >&6
11624 lt_cv_prog_compiler_c_o
=no
11625 $RM -r conftest
2>/dev
/null
11629 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
11631 lt_compiler_flag
="-o out/conftest2.$ac_objext"
11632 # Insert the option either (1) after the last *FLAGS variable, or
11633 # (2) before a word containing "conftest.", or (3) at the end.
11634 # Note that $ac_compile itself does not contain backslashes and begins
11635 # with a dollar sign (not a hyphen), so the echo should work correctly.
11636 lt_compile
=`echo "$ac_compile" | $SED \
11637 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11638 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11639 -e 's:$: $lt_compiler_flag:'`
11640 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
11641 (eval "$lt_compile" 2>out
/conftest.err
)
11643 cat out
/conftest.err
>&5
11644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11645 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
11647 # The compiler can only warn and ignore the option if not recognized
11648 # So say no if there are warnings
11649 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out
/conftest.exp
11650 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
11651 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
11652 lt_cv_prog_compiler_c_o
=yes
11657 # SGI C++ compiler will create directory out/ii_files/ for
11658 # template instantiation
11659 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
11660 $RM out
/* && rmdir out
11666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
11667 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
11674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
11675 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
11676 if ${lt_cv_prog_compiler_c_o+:} false
; then :
11677 $as_echo_n "(cached) " >&6
11679 lt_cv_prog_compiler_c_o
=no
11680 $RM -r conftest
2>/dev
/null
11684 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
11686 lt_compiler_flag
="-o out/conftest2.$ac_objext"
11687 # Insert the option either (1) after the last *FLAGS variable, or
11688 # (2) before a word containing "conftest.", or (3) at the end.
11689 # Note that $ac_compile itself does not contain backslashes and begins
11690 # with a dollar sign (not a hyphen), so the echo should work correctly.
11691 lt_compile
=`echo "$ac_compile" | $SED \
11692 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11693 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11694 -e 's:$: $lt_compiler_flag:'`
11695 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
11696 (eval "$lt_compile" 2>out
/conftest.err
)
11698 cat out
/conftest.err
>&5
11699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11700 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
11702 # The compiler can only warn and ignore the option if not recognized
11703 # So say no if there are warnings
11704 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out
/conftest.exp
11705 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
11706 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
11707 lt_cv_prog_compiler_c_o
=yes
11712 # SGI C++ compiler will create directory out/ii_files/ for
11713 # template instantiation
11714 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
11715 $RM out
/* && rmdir out
11721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
11722 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
11727 hard_links
=nottested
11728 if test no
= "$lt_cv_prog_compiler_c_o" && test no
!= "$need_locks"; then
11729 # do not overwrite the value of need_locks provided by the user
11730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
11731 $as_echo_n "checking if we can lock with hard links... " >&6; }
11734 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
11736 ln conftest.a conftest.b
2>&5 || hard_links
=no
11737 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
11738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
11739 $as_echo "$hard_links" >&6; }
11740 if test no
= "$hard_links"; then
11741 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
11742 $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
11754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11755 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
11758 allow_undefined_flag
=
11759 always_export_symbols
=no
11761 archive_expsym_cmds
=
11762 compiler_needs_object
=no
11763 enable_shared_with_static_runtimes
=no
11764 export_dynamic_flag_spec
=
11765 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
11766 hardcode_automatic
=no
11768 hardcode_direct_absolute
=no
11769 hardcode_libdir_flag_spec
=
11770 hardcode_libdir_separator
=
11771 hardcode_minus_L
=no
11772 hardcode_shlibpath_var
=unsupported
11774 link_all_deplibs
=unknown
11776 module_expsym_cmds
=
11777 old_archive_from_new_cmds
=
11778 old_archive_from_expsyms_cmds
=
11779 thread_safe_flag_spec
=
11780 whole_archive_flag_spec
=
11781 # include_expsyms should be a list of space-separated symbols to be *always*
11782 # included in the symbol list
11784 # exclude_expsyms can be an extended regexp of symbols to exclude
11785 # it will be wrapped by ' (' and ')$', so one must not match beginning or
11786 # end of line. Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
11787 # as well as any symbol that contains 'd'.
11788 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
11789 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
11790 # platforms (ab)use it in PIC code, but their linkers get confused if
11791 # the symbol is explicitly referenced. Since portable code cannot
11792 # rely on this symbol name, it's probably fine to never include it in
11793 # preloaded symbol tables.
11794 # Exclude shared library initialization/finalization symbols.
11795 extract_expsyms_cmds
=
11798 cygwin
* | mingw
* | pw32
* | cegcc
*)
11799 # FIXME: the MSVC++ port hasn't been tested in a loooong time
11800 # When not using gcc, we currently assume that we are using
11801 # Microsoft Visual C++.
11802 if test yes != "$GCC"; then
11807 # we just hope/assume this is gcc and not c89 (= MSVC++)
11810 openbsd
* | bitrig
*)
11817 # On some targets, GNU ld is compatible enough with the native linker
11818 # that we're better off using the native interface for both.
11819 lt_use_gnu_ld_interface
=no
11820 if test yes = "$with_gnu_ld"; then
11823 # The AIX port of GNU ld has always aspired to compatibility
11824 # with the native linker. However, as the warning in the GNU ld
11825 # block says, versions before 2.19.5* couldn't really create working
11826 # shared libraries, regardless of the interface used.
11827 case `$LD -v 2>&1` in
11828 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
11829 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
11830 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
11832 lt_use_gnu_ld_interface
=yes
11837 lt_use_gnu_ld_interface
=yes
11842 if test yes = "$lt_use_gnu_ld_interface"; then
11843 # If archive_cmds runs LD, not CC, wlarc should be empty
11846 # Set some defaults for GNU ld with shared library support. These
11847 # are reset later if shared libraries are not supported. Putting them
11848 # here allows them to be overridden if necessary.
11849 runpath_var
=LD_RUN_PATH
11850 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
11851 export_dynamic_flag_spec
='$wl--export-dynamic'
11852 # ancient GNU ld didn't support --whole-archive et. al.
11853 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev
/null
; then
11854 whole_archive_flag_spec
=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
11856 whole_archive_flag_spec
=
11858 supports_anon_versioning
=no
11859 case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
11860 *GNU\ gold
*) supports_anon_versioning
=yes ;;
11861 *\
[01].
* | *\
2.
[0-9].
* | *\
2.10.
*) ;; # catch versions < 2.11
11862 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
11863 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
11864 *\
2.11.
*) ;; # other 2.11 versions
11865 *) supports_anon_versioning
=yes ;;
11868 # See if GNU ld supports shared libraries.
11871 # On AIX/PPC, the GNU linker is very broken
11872 if test ia64
!= "$host_cpu"; then
11876 *** Warning: the GNU linker, at least up to release 2.19, is reported
11877 *** to be unable to reliably create shared libraries on AIX.
11878 *** Therefore, libtool is disabling shared libraries support. If you
11879 *** really care for shared libraries, you may want to install binutils
11880 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
11881 *** You will then need to restart the configuration process.
11890 # see comment about AmigaOS4 .so support
11891 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11892 archive_expsym_cmds
=''
11895 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)'
11896 hardcode_libdir_flag_spec
='-L$libdir'
11897 hardcode_minus_L
=yes
11903 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
11904 allow_undefined_flag
=unsupported
11905 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
11906 # support --undefined. This deserves some investigation. FIXME
11907 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11913 cygwin
* | mingw
* | pw32
* | cegcc
*)
11914 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
11915 # as there is no search path for DLLs.
11916 hardcode_libdir_flag_spec
='-L$libdir'
11917 export_dynamic_flag_spec
='$wl--export-all-symbols'
11918 allow_undefined_flag
=unsupported
11919 always_export_symbols
=no
11920 enable_shared_with_static_runtimes
=yes
11921 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'
11922 exclude_expsyms
='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
11924 if $LD --help 2>&1 | $GREP 'auto-import' > /dev
/null
; then
11925 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
11926 # If the export-symbols file already is a .def file, use it as
11927 # is; otherwise, prepend EXPORTS...
11928 archive_expsym_cmds
='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
11929 cp $export_symbols $output_objdir/$soname.def;
11931 echo EXPORTS > $output_objdir/$soname.def;
11932 cat $export_symbols >> $output_objdir/$soname.def;
11934 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
11941 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11942 link_all_deplibs
=yes
11946 hardcode_libdir_flag_spec
='-L$libdir'
11947 hardcode_minus_L
=yes
11948 allow_undefined_flag
=unsupported
11950 archive_cmds
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
11951 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
11952 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
11953 $ECHO EXPORTS >> $output_objdir/$libname.def~
11954 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
11955 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
11956 emximp -o $lib $output_objdir/$libname.def'
11957 archive_expsym_cmds
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
11958 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
11959 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
11960 $ECHO EXPORTS >> $output_objdir/$libname.def~
11961 prefix_cmds="$SED"~
11962 if test EXPORTS = "`$SED 1q $export_symbols`"; then
11963 prefix_cmds="$prefix_cmds -e 1d";
11965 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
11966 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
11967 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
11968 emximp -o $lib $output_objdir/$libname.def'
11969 old_archive_From_new_cmds
='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
11970 enable_shared_with_static_runtimes
=yes
11975 hardcode_shlibpath_var
=no
11976 hardcode_libdir_flag_spec
='$wl-rpath,$libdir'
11977 export_dynamic_flag_spec
='$wl-E'
11978 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
11979 # Instead, shared libraries are loaded at an image base (0x10000000 by
11980 # default) and relocated if they conflict, which is a slow very memory
11981 # consuming and fragmenting process. To avoid this, we pick a random,
11982 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
11983 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
11984 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
11985 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'
11988 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
11990 if test linux
-dietlibc = "$host_os"; then
11991 case $cc_basename in
11992 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
11995 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev
/null \
11996 && test no
= "$tmp_diet"
11998 tmp_addflag
=' $pic_flag'
11999 tmp_sharedflag
='-shared'
12000 case $cc_basename,$host_cpu in
12001 pgcc
*) # Portland Group C compiler
12002 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'
12003 tmp_addflag
=' $pic_flag'
12005 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
12006 # Portland Group f77 and f90 compilers
12007 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'
12008 tmp_addflag
=' $pic_flag -Mnomain' ;;
12009 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
12010 tmp_addflag
=' -i_dynamic' ;;
12011 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
12012 tmp_addflag
=' -i_dynamic -nofor_main' ;;
12013 ifc
* | ifort
*) # Intel Fortran compiler
12014 tmp_addflag
=' -nofor_main' ;;
12015 lf95
*) # Lahey Fortran 8.1
12016 whole_archive_flag_spec
=
12017 tmp_sharedflag
='--shared' ;;
12018 nagfor
*) # NAGFOR 5.3
12019 tmp_sharedflag
='-Wl,-shared' ;;
12020 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
12021 tmp_sharedflag
='-qmkshrobj'
12023 nvcc
*) # Cuda Compiler Driver 2.2
12024 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'
12025 compiler_needs_object
=yes
12028 case `$CC -V 2>&1 | sed 5q` in
12029 *Sun\ C
*) # Sun C 5.9
12030 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'
12031 compiler_needs_object
=yes
12032 tmp_sharedflag
='-G' ;;
12033 *Sun\ F
*) # Sun Fortran 8.3
12034 tmp_sharedflag
='-G' ;;
12036 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
12038 if test yes = "$supports_anon_versioning"; then
12039 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
12040 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12041 echo "local: *; };" >> $output_objdir/$libname.ver~
12042 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
12045 case $cc_basename in
12047 export_dynamic_flag_spec
='-rdynamic'
12049 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
12050 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
12051 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
12052 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
12053 archive_cmds
='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
12054 if test yes = "$supports_anon_versioning"; then
12055 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
12056 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12057 echo "local: *; };" >> $output_objdir/$libname.ver~
12058 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
12068 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
12069 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
12072 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
12073 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
12078 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev
/null
; then
12082 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
12083 *** create shared libraries on Solaris systems. Therefore, libtool
12084 *** is disabling shared libraries support. We urge you to upgrade GNU
12085 *** binutils to release 2.9.1 or newer. Another option is to modify
12086 *** your PATH or compiler configuration so that the native linker is
12087 *** used, and then restart.
12090 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
12091 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
12092 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
12098 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
12099 case `$LD -v 2>&1` in
12100 *\
[01].
* | *\
2.
[0-9].
* | *\
2.1[0-5].
*)
12104 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
12105 *** reliably create shared libraries on SCO systems. Therefore, libtool
12106 *** is disabling shared libraries support. We urge you to upgrade GNU
12107 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
12108 *** your PATH or compiler configuration so that the native linker is
12109 *** used, and then restart.
12114 # For security reasons, it is highly recommended that you always
12115 # use absolute paths for naming shared libraries, and exclude the
12116 # DT_RUNPATH tag from executables and libraries. But doing so
12117 # requires that you compile everything twice, which is a pain.
12118 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
12119 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
12120 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
12121 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
12130 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
12132 hardcode_direct
=yes
12133 hardcode_shlibpath_var
=no
12137 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
12138 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
12139 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
12146 if test no
= "$ld_shlibs"; then
12148 hardcode_libdir_flag_spec
=
12149 export_dynamic_flag_spec
=
12150 whole_archive_flag_spec
=
12153 # PORTME fill in a description of your system's linker (not GNU ld)
12156 allow_undefined_flag
=unsupported
12157 always_export_symbols
=yes
12158 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'
12159 # Note: this linker hardcodes the directories in LIBPATH if there
12160 # are no directories specified by -L.
12161 hardcode_minus_L
=yes
12162 if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
12163 # Neither direct hardcoding nor static linking is supported with a
12165 hardcode_direct
=unsupported
12170 if test ia64
= "$host_cpu"; then
12171 # On IA64, the linker does run time linking by default, so we don't
12172 # have to do anything special.
12173 aix_use_runtimelinking
=no
12174 exp_sym_flag
='-Bexport'
12177 # If we're using GNU nm, then we don't want the "-C" option.
12178 # -C means demangle to GNU nm, but means don't demangle to AIX nm.
12179 # Without the "-l" option, or with the "-B" option, AIX nm treats
12180 # weak defined symbols like other global defined symbols, whereas
12181 # GNU nm marks them as "W".
12182 # While the 'weak' keyword is ignored in the Export File, we need
12183 # it in the Import File for the 'aix-soname' feature, so we have
12184 # to replace the "-B" option with "-P" for AIX nm.
12185 if $NM -V 2>&1 | $GREP 'GNU' > /dev
/null
; then
12186 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'
12188 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'
12190 aix_use_runtimelinking
=no
12192 # Test if we are trying to use run time linking or normal
12193 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12194 # have runtime linking enabled, and use it for executables.
12195 # For shared libraries, we enable/disable runtime linking
12196 # depending on the kind of the shared library created -
12197 # when "with_aix_soname,aix_use_runtimelinking" is:
12198 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables
12199 # "aix,yes" lib.so shared, rtl:yes, for executables
12200 # lib.a static archive
12201 # "both,no" lib.so.V(shr.o) shared, rtl:yes
12202 # lib.a(lib.so.V) shared, rtl:no, for executables
12203 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
12204 # lib.a(lib.so.V) shared, rtl:no
12205 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables
12206 # lib.a static archive
12207 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
12208 for ld_flag
in $LDFLAGS; do
12209 if (test x
-brtl = "x$ld_flag" || test x
-Wl,-brtl = "x$ld_flag"); then
12210 aix_use_runtimelinking
=yes
12214 if test svr4
,no
= "$with_aix_soname,$aix_use_runtimelinking"; then
12215 # With aix-soname=svr4, we create the lib.so.V shared archives only,
12216 # so we don't have lib.a shared libs to link our executables.
12217 # We have to force runtime linking in this case.
12218 aix_use_runtimelinking
=yes
12219 LDFLAGS
="$LDFLAGS -Wl,-brtl"
12224 exp_sym_flag
='-bexport'
12225 no_entry_flag
='-bnoentry'
12228 # When large executables or shared objects are built, AIX ld can
12229 # have problems creating the table of contents. If linking a library
12230 # or program results in "error TOC overflow" add -mminimal-toc to
12231 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12232 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12235 hardcode_direct
=yes
12236 hardcode_direct_absolute
=yes
12237 hardcode_libdir_separator
=':'
12238 link_all_deplibs
=yes
12239 file_list_spec
='$wl-f,'
12240 case $with_aix_soname,$aix_use_runtimelinking in
12241 aix
,*) ;; # traditional, no import file
12242 svr4
,* | *,yes) # use import file
12243 # The Import File defines what to hardcode.
12245 hardcode_direct_absolute
=no
12249 if test yes = "$GCC"; then
12250 case $host_os in aix4.
[012]|aix4.
[012].
*)
12251 # We only want to do this on AIX 4.2 and lower, the check
12252 # below for broken collect2 doesn't work under 4.3+
12253 collect2name
=`$CC -print-prog-name=collect2`
12254 if test -f "$collect2name" &&
12255 strings "$collect2name" | $GREP resolve_lib_name
>/dev
/null
12257 # We have reworked collect2
12260 # We have old collect2
12261 hardcode_direct
=unsupported
12262 # It fails to find uninstalled libraries when the uninstalled
12263 # path is not listed in the libpath. Setting hardcode_minus_L
12264 # to unsupported forces relinking
12265 hardcode_minus_L
=yes
12266 hardcode_libdir_flag_spec
='-L$libdir'
12267 hardcode_libdir_separator
=
12271 shared_flag
='-shared'
12272 if test yes = "$aix_use_runtimelinking"; then
12273 shared_flag
="$shared_flag "'$wl-G'
12275 # Need to ensure runtime linking is disabled for the traditional
12276 # shared library, or the linker may eventually find shared libraries
12277 # /with/ Import File - we do not want to mix them.
12278 shared_flag_aix
='-shared'
12279 shared_flag_svr4
='-shared $wl-G'
12282 if test ia64
= "$host_cpu"; then
12283 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12284 # chokes on -Wl,-G. The following line is correct:
12287 if test yes = "$aix_use_runtimelinking"; then
12288 shared_flag
='$wl-G'
12290 shared_flag
='$wl-bM:SRE'
12292 shared_flag_aix
='$wl-bM:SRE'
12293 shared_flag_svr4
='$wl-G'
12297 export_dynamic_flag_spec
='$wl-bexpall'
12298 # It seems that -bexpall does not export symbols beginning with
12299 # underscore (_), so it is better to generate a list of symbols to export.
12300 always_export_symbols
=yes
12301 if test aix
,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
12302 # Warning - without using the other runtime loading flags (-brtl),
12303 # -berok will link without error, but may produce a broken library.
12304 allow_undefined_flag
='-berok'
12305 # Determine the default libpath from the value encoded in an
12306 # empty executable.
12307 if test set = "${lt_cv_aix_libpath+set}"; then
12308 aix_libpath
=$lt_cv_aix_libpath
12310 if ${lt_cv_aix_libpath_+:} false
; then :
12311 $as_echo_n "(cached) " >&6
12313 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12314 /* end confdefs.h. */
12324 if ac_fn_c_try_link
"$LINENO"; then :
12326 lt_aix_libpath_sed
='
12327 /Import File Strings/,/^$/ {
12329 s/^0 *\([^ ]*\) *$/\1/
12333 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12334 # Check for a 64-bit object if we didn't find anything.
12335 if test -z "$lt_cv_aix_libpath_"; then
12336 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12339 rm -f core conftest.err conftest.
$ac_objext \
12340 conftest
$ac_exeext conftest.
$ac_ext
12341 if test -z "$lt_cv_aix_libpath_"; then
12342 lt_cv_aix_libpath_
=/usr
/lib
:/lib
12347 aix_libpath
=$lt_cv_aix_libpath_
12350 hardcode_libdir_flag_spec
='$wl-blibpath:$libdir:'"$aix_libpath"
12351 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
12353 if test ia64
= "$host_cpu"; then
12354 hardcode_libdir_flag_spec
='$wl-R $libdir:/usr/lib:/lib'
12355 allow_undefined_flag
="-z nodefs"
12356 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"
12358 # Determine the default libpath from the value encoded in an
12359 # empty executable.
12360 if test set = "${lt_cv_aix_libpath+set}"; then
12361 aix_libpath
=$lt_cv_aix_libpath
12363 if ${lt_cv_aix_libpath_+:} false
; then :
12364 $as_echo_n "(cached) " >&6
12366 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12367 /* end confdefs.h. */
12377 if ac_fn_c_try_link
"$LINENO"; then :
12379 lt_aix_libpath_sed
='
12380 /Import File Strings/,/^$/ {
12382 s/^0 *\([^ ]*\) *$/\1/
12386 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12387 # Check for a 64-bit object if we didn't find anything.
12388 if test -z "$lt_cv_aix_libpath_"; then
12389 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12392 rm -f core conftest.err conftest.
$ac_objext \
12393 conftest
$ac_exeext conftest.
$ac_ext
12394 if test -z "$lt_cv_aix_libpath_"; then
12395 lt_cv_aix_libpath_
=/usr
/lib
:/lib
12400 aix_libpath
=$lt_cv_aix_libpath_
12403 hardcode_libdir_flag_spec
='$wl-blibpath:$libdir:'"$aix_libpath"
12404 # Warning - without using the other run time loading flags,
12405 # -berok will link without error, but may produce a broken library.
12406 no_undefined_flag
=' $wl-bernotok'
12407 allow_undefined_flag
=' $wl-berok'
12408 if test yes = "$with_gnu_ld"; then
12409 # We only use this code for GNU lds that support --whole-archive.
12410 whole_archive_flag_spec
='$wl--whole-archive$convenience $wl--no-whole-archive'
12412 # Exported symbols can be pulled into shared objects from archives
12413 whole_archive_flag_spec
='$convenience'
12415 archive_cmds_need_lc
=yes
12416 archive_expsym_cmds
='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
12417 # -brtl affects multiple linker settings, -berok does not and is overridden later
12418 compiler_flags_filtered
='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
12419 if test svr4
!= "$with_aix_soname"; then
12420 # This is similar to how AIX traditionally builds its shared libraries.
12421 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'
12423 if test aix
!= "$with_aix_soname"; then
12424 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'
12426 # used by -dlpreopen to get the symbols
12427 archive_expsym_cmds
="$archive_expsym_cmds"'~$MV $output_objdir/$realname.d/$soname $output_objdir'
12429 archive_expsym_cmds
="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
12437 # see comment about AmigaOS4 .so support
12438 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
12439 archive_expsym_cmds
=''
12442 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)'
12443 hardcode_libdir_flag_spec
='-L$libdir'
12444 hardcode_minus_L
=yes
12450 export_dynamic_flag_spec
=-rdynamic
12453 cygwin
* | mingw
* | pw32
* | cegcc
*)
12454 # When not using gcc, we currently assume that we are using
12455 # Microsoft Visual C++.
12456 # hardcode_libdir_flag_spec is actually meaningless, as there is
12457 # no search path for DLLs.
12458 case $cc_basename in
12461 hardcode_libdir_flag_spec
=' '
12462 allow_undefined_flag
=unsupported
12463 always_export_symbols
=yes
12465 # Tell ltmain to make .lib files, not .a files.
12467 # Tell ltmain to make .dll files, not .so files.
12469 # FIXME: Setting linknames here is a bad hack.
12470 archive_cmds
='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
12471 archive_expsym_cmds
='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
12472 cp "$export_symbols" "$output_objdir/$soname.def";
12473 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
12475 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
12477 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
12479 # The linker will not automatically build a static lib if we build a DLL.
12480 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
12481 enable_shared_with_static_runtimes
=yes
12482 exclude_expsyms
='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
12483 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
12485 old_postinstall_cmds
='chmod 644 $oldlib'
12486 postlink_cmds
='lt_outputfile="@OUTPUT@"~
12487 lt_tool_outputfile="@TOOL_OUTPUT@"~
12488 case $lt_outputfile in
12491 lt_outputfile=$lt_outputfile.exe
12492 lt_tool_outputfile=$lt_tool_outputfile.exe
12495 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
12496 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
12497 $RM "$lt_outputfile.manifest";
12501 # Assume MSVC wrapper
12502 hardcode_libdir_flag_spec
=' '
12503 allow_undefined_flag
=unsupported
12504 # Tell ltmain to make .lib files, not .a files.
12506 # Tell ltmain to make .dll files, not .so files.
12508 # FIXME: Setting linknames here is a bad hack.
12509 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
12510 # The linker will automatically build a .lib file if we build a DLL.
12511 old_archive_from_new_cmds
='true'
12512 # FIXME: Should let the user specify the lib program.
12513 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
12514 enable_shared_with_static_runtimes
=yes
12519 darwin
* | rhapsody
*)
12522 archive_cmds_need_lc
=no
12524 hardcode_automatic
=yes
12525 hardcode_shlibpath_var
=unsupported
12526 if test yes = "$lt_cv_ld_force_load"; then
12527 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\"`'
12530 whole_archive_flag_spec
=''
12532 link_all_deplibs
=yes
12533 allow_undefined_flag
=$_lt_dar_allow_undefined
12534 case $cc_basename in
12535 ifort
*|nagfor
*) _lt_dar_can_shared
=yes ;;
12536 *) _lt_dar_can_shared
=$GCC ;;
12538 if test yes = "$_lt_dar_can_shared"; then
12539 output_verbose_link_cmd
=func_echo_all
12540 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
12541 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
12542 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"
12543 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"
12552 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12553 hardcode_libdir_flag_spec
='-L$libdir'
12554 hardcode_shlibpath_var
=no
12557 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
12558 # support. Future versions do this automatically, but an explicit c++rt0.o
12559 # does not break anything, and helps significantly (at the cost of a little
12562 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
12563 hardcode_libdir_flag_spec
='-R$libdir'
12564 hardcode_direct
=yes
12565 hardcode_shlibpath_var
=no
12568 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
12570 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
12571 hardcode_direct
=yes
12572 hardcode_minus_L
=yes
12573 hardcode_shlibpath_var
=no
12576 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
12577 freebsd
* | dragonfly
*)
12578 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
12579 hardcode_libdir_flag_spec
='-R$libdir'
12580 hardcode_direct
=yes
12581 hardcode_shlibpath_var
=no
12585 if test yes = "$GCC"; then
12586 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'
12588 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'
12590 hardcode_libdir_flag_spec
='$wl+b $wl$libdir'
12591 hardcode_libdir_separator
=:
12592 hardcode_direct
=yes
12594 # hardcode_minus_L: Not really in the search PATH,
12595 # but as the default location of the library.
12596 hardcode_minus_L
=yes
12597 export_dynamic_flag_spec
='$wl-E'
12601 if test yes,no
= "$GCC,$with_gnu_ld"; then
12602 archive_cmds
='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12604 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
12606 if test no
= "$with_gnu_ld"; then
12607 hardcode_libdir_flag_spec
='$wl+b $wl$libdir'
12608 hardcode_libdir_separator
=:
12609 hardcode_direct
=yes
12610 hardcode_direct_absolute
=yes
12611 export_dynamic_flag_spec
='$wl-E'
12612 # hardcode_minus_L: Not really in the search PATH,
12613 # but as the default location of the library.
12614 hardcode_minus_L
=yes
12619 if test yes,no
= "$GCC,$with_gnu_ld"; then
12622 archive_cmds
='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
12625 archive_cmds
='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
12628 archive_cmds
='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12634 archive_cmds
='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
12637 archive_cmds
='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
12641 # Older versions of the 11.00 compiler do not understand -b yet
12642 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
12643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
12644 $as_echo_n "checking if $CC understands -b... " >&6; }
12645 if ${lt_cv_prog_compiler__b+:} false
; then :
12646 $as_echo_n "(cached) " >&6
12648 lt_cv_prog_compiler__b
=no
12649 save_LDFLAGS
=$LDFLAGS
12650 LDFLAGS
="$LDFLAGS -b"
12651 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
12652 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
12653 # The linker can only warn and ignore the option if not recognized
12654 # So say no if there are warnings
12655 if test -s conftest.err
; then
12656 # Append any errors to the config.log.
12657 cat conftest.err
1>&5
12658 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
12659 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
12660 if diff conftest.exp conftest.er2
>/dev
/null
; then
12661 lt_cv_prog_compiler__b
=yes
12664 lt_cv_prog_compiler__b
=yes
12668 LDFLAGS
=$save_LDFLAGS
12671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
12672 $as_echo "$lt_cv_prog_compiler__b" >&6; }
12674 if test yes = "$lt_cv_prog_compiler__b"; then
12675 archive_cmds
='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12677 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
12683 if test no
= "$with_gnu_ld"; then
12684 hardcode_libdir_flag_spec
='$wl+b $wl$libdir'
12685 hardcode_libdir_separator
=:
12690 hardcode_shlibpath_var
=no
12693 hardcode_direct
=yes
12694 hardcode_direct_absolute
=yes
12695 export_dynamic_flag_spec
='$wl-E'
12697 # hardcode_minus_L: Not really in the search PATH,
12698 # but as the default location of the library.
12699 hardcode_minus_L
=yes
12705 irix5
* | irix6
* | nonstopux
*)
12706 if test yes = "$GCC"; then
12707 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'
12708 # Try to use the -exported_symbol ld option, if it does not
12709 # work, assume that -exports_file does not work either and
12710 # implicitly export all symbols.
12711 # This should be the same for all languages, so no per-tag cache variable.
12712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
12713 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
12714 if ${lt_cv_irix_exported_symbol+:} false
; then :
12715 $as_echo_n "(cached) " >&6
12717 save_LDFLAGS
=$LDFLAGS
12718 LDFLAGS
="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
12719 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12720 /* end confdefs.h. */
12721 int foo (void) { return 0; }
12723 if ac_fn_c_try_link
"$LINENO"; then :
12724 lt_cv_irix_exported_symbol
=yes
12726 lt_cv_irix_exported_symbol
=no
12728 rm -f core conftest.err conftest.
$ac_objext \
12729 conftest
$ac_exeext conftest.
$ac_ext
12730 LDFLAGS
=$save_LDFLAGS
12732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
12733 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
12734 if test yes = "$lt_cv_irix_exported_symbol"; then
12735 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'
12738 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'
12739 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'
12741 archive_cmds_need_lc
='no'
12742 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
12743 hardcode_libdir_separator
=:
12745 link_all_deplibs
=yes
12749 case $cc_basename in
12751 # Fabrice Bellard et al's Tiny C Compiler
12753 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
12759 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
12760 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
12762 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
12764 hardcode_libdir_flag_spec
='-R$libdir'
12765 hardcode_direct
=yes
12766 hardcode_shlibpath_var
=no
12770 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12771 hardcode_direct
=yes
12772 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
12773 hardcode_libdir_separator
=:
12774 hardcode_shlibpath_var
=no
12780 openbsd
* | bitrig
*)
12781 if test -f /usr
/libexec
/ld.so
; then
12782 hardcode_direct
=yes
12783 hardcode_shlibpath_var
=no
12784 hardcode_direct_absolute
=yes
12785 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
12786 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
12787 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
12788 hardcode_libdir_flag_spec
='$wl-rpath,$libdir'
12789 export_dynamic_flag_spec
='$wl-E'
12791 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
12792 hardcode_libdir_flag_spec
='$wl-rpath,$libdir'
12800 hardcode_libdir_flag_spec
='-L$libdir'
12801 hardcode_minus_L
=yes
12802 allow_undefined_flag
=unsupported
12804 archive_cmds
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
12805 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
12806 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
12807 $ECHO EXPORTS >> $output_objdir/$libname.def~
12808 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
12809 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
12810 emximp -o $lib $output_objdir/$libname.def'
12811 archive_expsym_cmds
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
12812 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
12813 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
12814 $ECHO EXPORTS >> $output_objdir/$libname.def~
12815 prefix_cmds="$SED"~
12816 if test EXPORTS = "`$SED 1q $export_symbols`"; then
12817 prefix_cmds="$prefix_cmds -e 1d";
12819 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
12820 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
12821 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
12822 emximp -o $lib $output_objdir/$libname.def'
12823 old_archive_From_new_cmds
='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
12824 enable_shared_with_static_runtimes
=yes
12828 if test yes = "$GCC"; then
12829 allow_undefined_flag
=' $wl-expect_unresolved $wl\*'
12830 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'
12832 allow_undefined_flag
=' -expect_unresolved \*'
12833 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'
12835 archive_cmds_need_lc
='no'
12836 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
12837 hardcode_libdir_separator
=:
12840 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
12841 if test yes = "$GCC"; then
12842 allow_undefined_flag
=' $wl-expect_unresolved $wl\*'
12843 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'
12844 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
12846 allow_undefined_flag
=' -expect_unresolved \*'
12847 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'
12848 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~
12849 $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'
12851 # Both c and cxx compiler support -rpath directly
12852 hardcode_libdir_flag_spec
='-rpath $libdir'
12854 archive_cmds_need_lc
='no'
12855 hardcode_libdir_separator
=:
12859 no_undefined_flag
=' -z defs'
12860 if test yes = "$GCC"; then
12862 archive_cmds
='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
12863 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12864 $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'
12866 case `$CC -V 2>&1` in
12869 archive_cmds
='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
12870 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12871 $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
12875 archive_cmds
='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
12876 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12877 $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
12881 hardcode_libdir_flag_spec
='-R$libdir'
12882 hardcode_shlibpath_var
=no
12884 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
12886 # The compiler driver will combine and reorder linker options,
12887 # but understands '-z linker_flag'. GCC discards it without '$wl',
12888 # but is careful enough not to reorder.
12889 # Supported since Solaris 2.6 (maybe 2.5.1?)
12890 if test yes = "$GCC"; then
12891 whole_archive_flag_spec
='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
12893 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
12897 link_all_deplibs
=yes
12901 if test sequent
= "$host_vendor"; then
12902 # Use $CC to link under sequent, because it throws in some extra .o
12903 # files that make .init and .fini sections work.
12904 archive_cmds
='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
12906 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
12908 hardcode_libdir_flag_spec
='-L$libdir'
12909 hardcode_direct
=yes
12910 hardcode_minus_L
=yes
12911 hardcode_shlibpath_var
=no
12915 case $host_vendor in
12917 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12918 hardcode_direct
=yes # is this really true???
12921 ## LD is ld it makes a PLAMLIB
12922 ## CC just makes a GrossModule.
12923 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
12924 reload_cmds
='$CC -r -o $output$reload_objs'
12928 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12929 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
12932 runpath_var
='LD_RUN_PATH'
12933 hardcode_shlibpath_var
=no
12937 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12938 hardcode_shlibpath_var
=no
12939 export_dynamic_flag_spec
='-Bexport'
12943 if test -d /usr
/nec
; then
12944 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12945 hardcode_shlibpath_var
=no
12946 runpath_var
=LD_RUN_PATH
12947 hardcode_runpath_var
=yes
12952 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
12953 no_undefined_flag
='$wl-z,text'
12954 archive_cmds_need_lc
=no
12955 hardcode_shlibpath_var
=no
12956 runpath_var
='LD_RUN_PATH'
12958 if test yes = "$GCC"; then
12959 archive_cmds
='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12960 archive_expsym_cmds
='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12962 archive_cmds
='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12963 archive_expsym_cmds
='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12967 sysv5
* | sco3.2v5
* | sco5v6
*)
12968 # Note: We CANNOT use -z defs as we might desire, because we do not
12969 # link with -lc, and that would cause any symbols used from libc to
12970 # always be unresolved, which means just about no library would
12971 # ever link correctly. If we're not using GNU ld we use -z text
12972 # though, which does catch some bad symbols but isn't as heavy-handed
12974 no_undefined_flag
='$wl-z,text'
12975 allow_undefined_flag
='$wl-z,nodefs'
12976 archive_cmds_need_lc
=no
12977 hardcode_shlibpath_var
=no
12978 hardcode_libdir_flag_spec
='$wl-R,$libdir'
12979 hardcode_libdir_separator
=':'
12980 link_all_deplibs
=yes
12981 export_dynamic_flag_spec
='$wl-Bexport'
12982 runpath_var
='LD_RUN_PATH'
12984 if test yes = "$GCC"; then
12985 archive_cmds
='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12986 archive_expsym_cmds
='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12988 archive_cmds
='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12989 archive_expsym_cmds
='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12994 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12995 hardcode_libdir_flag_spec
='-L$libdir'
12996 hardcode_shlibpath_var
=no
13004 if test sni
= "$host_vendor"; then
13006 sysv4
| sysv4.2uw2
* | sysv4.3
* | sysv5
*)
13007 export_dynamic_flag_spec
='$wl-Blargedynsym'
13013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
13014 $as_echo "$ld_shlibs" >&6; }
13015 test no
= "$ld_shlibs" && can_build_shared
=no
13017 with_gnu_ld
=$with_gnu_ld
13034 # Do we need to explicitly link libc?
13036 case "x$archive_cmds_need_lc" in
13038 # Assume -lc should be added
13039 archive_cmds_need_lc
=yes
13041 if test yes,yes = "$GCC,$enable_shared"; then
13042 case $archive_cmds in
13044 # FIXME: we may have to deal with multi-command sequences.
13047 # Test whether the compiler implicitly links with -lc since on some
13048 # systems, -lgcc has to come before -lc. If gcc already passes -lc
13049 # to ld, don't add -lc before -lgcc.
13050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
13051 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
13052 if ${lt_cv_archive_cmds_need_lc+:} false
; then :
13053 $as_echo_n "(cached) " >&6
13056 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13058 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13059 (eval $ac_compile) 2>&5
13061 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13062 test $ac_status = 0; } 2>conftest.err
; then
13065 libobjs
=conftest.
$ac_objext
13067 wl
=$lt_prog_compiler_wl
13068 pic_flag
=$lt_prog_compiler_pic
13074 lt_save_allow_undefined_flag
=$allow_undefined_flag
13075 allow_undefined_flag
=
13076 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
13077 (eval $archive_cmds 2\
>\
&1 \
| $GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
13079 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13080 test $ac_status = 0; }
13082 lt_cv_archive_cmds_need_lc
=no
13084 lt_cv_archive_cmds_need_lc
=yes
13086 allow_undefined_flag
=$lt_save_allow_undefined_flag
13088 cat conftest.err
1>&5
13093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
13094 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
13095 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
13253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
13254 $as_echo_n "checking dynamic linker characteristics... " >&6; }
13256 if test yes = "$GCC"; then
13258 darwin
*) lt_awk_arg
='/^libraries:/,/LR/' ;;
13259 *) lt_awk_arg
='/^libraries:/' ;;
13262 mingw
* | cegcc
*) lt_sed_strip_eq
='s|=\([A-Za-z]:\)|\1|g' ;;
13263 *) lt_sed_strip_eq
='s|=/|/|g' ;;
13265 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
13266 case $lt_search_path_spec in
13268 # if the path contains ";" then we assume it to be the separator
13269 # otherwise default to the standard path separator (i.e. ":") - it is
13270 # assumed that no part of a normal pathname contains ";" but that should
13271 # okay in the real world where ";" in dirpaths is itself problematic.
13272 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
13275 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
13278 # Ok, now we have the path, separated by spaces, we can step through it
13279 # and add multilib dir if necessary...
13280 lt_tmp_lt_search_path_spec
=
13281 lt_multi_os_dir
=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
13282 # ...but if some path component already ends with the multilib dir we assume
13283 # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
13284 case "$lt_multi_os_dir; $lt_search_path_spec " in
13285 "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
13289 for lt_sys_path
in $lt_search_path_spec; do
13290 if test -d "$lt_sys_path$lt_multi_os_dir"; then
13291 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
13292 elif test -n "$lt_multi_os_dir"; then
13293 test -d "$lt_sys_path" && \
13294 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
13297 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
13298 BEGIN {RS = " "; FS = "/|\n";} {
13301 for (lt_i = NF; lt_i > 0; lt_i--) {
13302 if ($lt_i != "" && $lt_i != ".") {
13303 if ($lt_i == "..") {
13306 if (lt_count == 0) {
13307 lt_foo = "/" $lt_i lt_foo;
13314 if (lt_foo != "") { lt_freq[lt_foo]++; }
13315 if (lt_freq[lt_foo] == 1) { print lt_foo; }
13317 # AWK program above erroneously prepends '/' to C:/dos/paths
13320 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
13321 $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
13323 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
13325 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
13327 library_names_spec
=
13328 libname_spec
='lib$name'
13332 postuninstall_cmds
=
13336 shlibpath_overrides_runpath
=unknown
13338 dynamic_linker
="$host_os ld.so"
13339 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
13340 need_lib_prefix
=unknown
13341 hardcode_into_libs
=no
13343 # when you set need_version to no, make sure it does not cause -set_version
13344 # flags to be left without arguments
13345 need_version
=unknown
13351 version_type
=linux
# correct to gnu/linux during the next big refactor
13352 library_names_spec
='$libname$release$shared_ext$versuffix $libname.a'
13353 shlibpath_var
=LIBPATH
13355 # AIX 3 has no versioning support, so we append a major version to the name.
13356 soname_spec
='$libname$release$shared_ext$major'
13360 version_type
=linux
# correct to gnu/linux during the next big refactor
13363 hardcode_into_libs
=yes
13364 if test ia64
= "$host_cpu"; then
13365 # AIX 5 supports IA64
13366 library_names_spec
='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
13367 shlibpath_var
=LD_LIBRARY_PATH
13369 # With GCC up to 2.95.x, collect2 would create an import file
13370 # for dependence libraries. The import file would start with
13371 # the line '#! .'. This would cause the generated library to
13372 # depend on '.', always an invalid library. This was fixed in
13373 # development snapshots of GCC prior to 3.0.
13375 aix4
| aix4.
[01] | aix4.
[01].
*)
13376 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
13378 echo '#endif'; } | $CC -E - | $GREP yes > /dev
/null
; then
13381 can_build_shared
=no
13385 # Using Import Files as archive members, it is possible to support
13386 # filename-based versioning of shared library archives on AIX. While
13387 # this would work for both with and without runtime linking, it will
13388 # prevent static linking of such archives. So we do filename-based
13389 # shared library versioning with .so extension only, which is used
13390 # when both runtime linking and shared linking is enabled.
13391 # Unfortunately, runtime linking may impact performance, so we do
13392 # not want this to be the default eventually. Also, we use the
13393 # versioned .so libs for executables only if there is the -brtl
13394 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
13395 # To allow for filename-based versioning support, we need to create
13396 # libNAME.so.V as an archive file, containing:
13397 # *) an Import File, referring to the versioned filename of the
13398 # archive as well as the shared archive member, telling the
13399 # bitwidth (32 or 64) of that shared object, and providing the
13400 # list of exported symbols of that shared object, eventually
13401 # decorated with the 'weak' keyword
13402 # *) the shared object with the F_LOADONLY flag set, to really avoid
13403 # it being seen by the linker.
13404 # At run time we better use the real file rather than another symlink,
13405 # but for link time we create the symlink libNAME.so -> libNAME.so.V
13407 case $with_aix_soname,$aix_use_runtimelinking in
13408 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
13409 # soname into executable. Probably we can add versioning support to
13410 # collect2, so additional links can be useful in future.
13411 aix
,yes) # traditional libtool
13412 dynamic_linker
='AIX unversionable lib.so'
13413 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
13414 # instead of lib<name>.a to let people know that these are not
13415 # typical AIX shared libraries.
13416 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13418 aix
,no
) # traditional AIX only
13419 dynamic_linker
='AIX lib.a(lib.so.V)'
13420 # We preserve .a as extension for shared libraries through AIX4.2
13421 # and later when we are not doing run time linking.
13422 library_names_spec
='$libname$release.a $libname.a'
13423 soname_spec
='$libname$release$shared_ext$major'
13425 svr4
,*) # full svr4 only
13426 dynamic_linker
="AIX lib.so.V($shared_archive_member_spec.o)"
13427 library_names_spec
='$libname$release$shared_ext$major $libname$shared_ext'
13428 # We do not specify a path in Import Files, so LIBPATH fires.
13429 shlibpath_overrides_runpath
=yes
13431 *,yes) # both, prefer svr4
13432 dynamic_linker
="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
13433 library_names_spec
='$libname$release$shared_ext$major $libname$shared_ext'
13434 # unpreferred sharedlib libNAME.a needs extra handling
13435 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"'
13436 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"'
13437 # We do not specify a path in Import Files, so LIBPATH fires.
13438 shlibpath_overrides_runpath
=yes
13440 *,no
) # both, prefer aix
13441 dynamic_linker
="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
13442 library_names_spec
='$libname$release.a $libname.a'
13443 soname_spec
='$libname$release$shared_ext$major'
13444 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
13445 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)'
13446 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"'
13449 shlibpath_var
=LIBPATH
13456 # Since July 2007 AmigaOS4 officially supports .so libraries.
13457 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
13458 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13461 library_names_spec
='$libname.ixlibrary $libname.a'
13462 # Create ${libname}_ixlibrary.a entries in /sys/libs.
13463 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'
13469 library_names_spec
='$libname$shared_ext'
13470 dynamic_linker
="$host_os ld.so"
13471 shlibpath_var
=LIBRARY_PATH
13475 version_type
=linux
# correct to gnu/linux during the next big refactor
13477 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13478 soname_spec
='$libname$release$shared_ext$major'
13479 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
13480 shlibpath_var
=LD_LIBRARY_PATH
13481 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
13482 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
13483 # the default ld.so.conf also contains /usr/contrib/lib and
13484 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
13485 # libtool to hard-code these into programs
13488 cygwin
* | mingw
* | pw32
* | cegcc
*)
13489 version_type
=windows
13494 case $GCC,$cc_basename in
13497 library_names_spec
='$libname.dll.a'
13498 # DLL is installed to $(libdir)/../bin by postinstall_cmds
13499 postinstall_cmds
='base_file=`basename \$file`~
13500 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
13501 dldir=$destdir/`dirname \$dlpath`~
13502 test -d \$dldir || mkdir -p \$dldir~
13503 $install_prog $dir/$dlname \$dldir/$dlname~
13504 chmod a+x \$dldir/$dlname~
13505 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
13506 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
13508 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
13509 dlpath=$dir/\$dldll~
13511 shlibpath_overrides_runpath
=yes
13515 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
13516 soname_spec
='`echo $libname | sed -e 's
/^lib
/cyg
/'``echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
13518 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
13521 # MinGW DLLs use traditional 'lib' prefix
13522 soname_spec
='$libname`echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
13525 # pw32 DLLs use 'pw' prefix rather than 'lib'
13526 library_names_spec
='`echo $libname | sed -e 's
/^lib
/pw
/'``echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
13529 dynamic_linker
='Win32 ld.exe'
13534 libname_spec
='$name'
13535 soname_spec
='$libname`echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
13536 library_names_spec
='$libname.dll.lib'
13540 sys_lib_search_path_spec
=
13543 for lt_path
in $LIB
13546 # Let DOS variable expansion print the short 8.3 style file name.
13547 lt_path
=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
13548 sys_lib_search_path_spec
="$sys_lib_search_path_spec $lt_path"
13551 # Convert to MSYS style.
13552 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
13555 # Convert to unix form, then to dos form, then back to unix form
13556 # but this time dos style (no spaces!) so that the unix form looks
13557 # like /cygdrive/c/PROGRA~1:/cygdr...
13558 sys_lib_search_path_spec
=`cygpath --path --unix "$LIB"`
13559 sys_lib_search_path_spec
=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
13560 sys_lib_search_path_spec
=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
13563 sys_lib_search_path_spec
=$LIB
13564 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev
/null
; then
13565 # It is most probably a Windows format PATH.
13566 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
13568 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
13570 # FIXME: find the short name or the path components, as spaces are
13571 # common. (e.g. "Program Files" -> "PROGRA~1")
13575 # DLL is installed to $(libdir)/../bin by postinstall_cmds
13576 postinstall_cmds
='base_file=`basename \$file`~
13577 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
13578 dldir=$destdir/`dirname \$dlpath`~
13579 test -d \$dldir || mkdir -p \$dldir~
13580 $install_prog $dir/$dlname \$dldir/$dlname'
13581 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
13582 dlpath=$dir/\$dldll~
13584 shlibpath_overrides_runpath
=yes
13585 dynamic_linker
='Win32 link.exe'
13589 # Assume MSVC wrapper
13590 library_names_spec
='$libname`echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext $libname.lib'
13591 dynamic_linker
='Win32 ld.exe'
13594 # FIXME: first we should search . and the directory the executable is in
13598 darwin
* | rhapsody
*)
13599 dynamic_linker
="$host_os dyld"
13600 version_type
=darwin
13603 library_names_spec
='$libname$release$major$shared_ext $libname$shared_ext'
13604 soname_spec
='$libname$release$major$shared_ext'
13605 shlibpath_overrides_runpath
=yes
13606 shlibpath_var
=DYLD_LIBRARY_PATH
13607 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
13609 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
13610 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
13614 version_type
=linux
# correct to gnu/linux during the next big refactor
13617 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13618 soname_spec
='$libname$release$shared_ext$major'
13619 shlibpath_var
=LD_LIBRARY_PATH
13622 freebsd
* | dragonfly
*)
13623 # DragonFly does not have aout. When/if they implement a new
13624 # versioning mechanism, adjust this.
13625 if test -x /usr
/bin
/objformat
; then
13626 objformat
=`/usr/bin/objformat`
13629 freebsd
[23].
*) objformat
=aout
;;
13630 *) objformat
=elf
;;
13633 version_type
=freebsd
-$objformat
13634 case $version_type in
13636 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13637 soname_spec
='$libname$release$shared_ext$major'
13642 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
13646 shlibpath_var
=LD_LIBRARY_PATH
13649 shlibpath_overrides_runpath
=yes
13651 freebsd3.
[01]* | freebsdelf3.
[01]*)
13652 shlibpath_overrides_runpath
=yes
13653 hardcode_into_libs
=yes
13655 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
13656 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
13657 shlibpath_overrides_runpath
=no
13658 hardcode_into_libs
=yes
13660 *) # from 4.6 on, and DragonFly
13661 shlibpath_overrides_runpath
=yes
13662 hardcode_into_libs
=yes
13668 version_type
=linux
# correct to gnu/linux during the next big refactor
13671 dynamic_linker
="$host_os runtime_loader"
13672 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13673 soname_spec
='$libname$release$shared_ext$major'
13674 shlibpath_var
=LIBRARY_PATH
13675 shlibpath_overrides_runpath
=no
13676 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
13677 hardcode_into_libs
=yes
13680 hpux9
* | hpux10
* | hpux11
*)
13681 # Give a soname corresponding to the major version so that dld.sl refuses to
13682 # link against other versions.
13689 hardcode_into_libs
=yes
13690 dynamic_linker
="$host_os dld.so"
13691 shlibpath_var
=LD_LIBRARY_PATH
13692 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
13693 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13694 soname_spec
='$libname$release$shared_ext$major'
13695 if test 32 = "$HPUX_IA64_MODE"; then
13696 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
13697 sys_lib_dlsearch_path_spec
=/usr
/lib
/hpux32
13699 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
13700 sys_lib_dlsearch_path_spec
=/usr
/lib
/hpux64
13705 hardcode_into_libs
=yes
13706 dynamic_linker
="$host_os dld.sl"
13707 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
13708 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
13709 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13710 soname_spec
='$libname$release$shared_ext$major'
13711 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
13712 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
13716 dynamic_linker
="$host_os dld.sl"
13717 shlibpath_var
=SHLIB_PATH
13718 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
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'
13723 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
13724 postinstall_cmds
='chmod 555 $lib'
13725 # or fails outright, so override atomically:
13726 install_override_mode
=555
13730 version_type
=linux
# correct to gnu/linux during the next big refactor
13733 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13734 soname_spec
='$libname$release$shared_ext$major'
13735 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
13736 shlibpath_var
=LD_LIBRARY_PATH
13737 shlibpath_overrides_runpath
=no
13738 hardcode_into_libs
=yes
13741 irix5
* | irix6
* | nonstopux
*)
13743 nonstopux
*) version_type
=nonstopux
;;
13745 if test yes = "$lt_cv_prog_gnu_ld"; then
13746 version_type
=linux
# correct to gnu/linux during the next big refactor
13753 soname_spec
='$libname$release$shared_ext$major'
13754 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
13756 irix5
* | nonstopux
*)
13757 libsuff
= shlibsuff
=
13760 case $LD in # libtool.m4 will add one of these switches to LD
13761 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
13762 libsuff
= shlibsuff
= libmagic
=32-bit;;
13763 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
13764 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
13765 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
13766 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
13767 *) libsuff
= shlibsuff
= libmagic
=never
-match;;
13771 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
13772 shlibpath_overrides_runpath
=no
13773 sys_lib_search_path_spec
="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
13774 sys_lib_dlsearch_path_spec
="/usr/lib$libsuff /lib$libsuff"
13775 hardcode_into_libs
=yes
13778 # No shared lib support for Linux oldld, aout, or coff.
13779 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
13784 version_type
=none
# Android doesn't support versioned libraries.
13787 library_names_spec
='$libname$release$shared_ext'
13788 soname_spec
='$libname$release$shared_ext'
13790 shlibpath_var
=LD_LIBRARY_PATH
13791 shlibpath_overrides_runpath
=yes
13793 # This implies no fast_install, which is unacceptable.
13794 # Some rework will be needed to allow for fast_install
13795 # before this can be enabled.
13796 hardcode_into_libs
=yes
13798 dynamic_linker
='Android linker'
13799 # Don't embed -rpath directories since the linker doesn't support them.
13800 hardcode_libdir_flag_spec
='-L$libdir'
13803 # This must be glibc/ELF.
13804 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
13805 version_type
=linux
# correct to gnu/linux during the next big refactor
13808 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13809 soname_spec
='$libname$release$shared_ext$major'
13810 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
13811 shlibpath_var
=LD_LIBRARY_PATH
13812 shlibpath_overrides_runpath
=no
13814 # Some binutils ld are patched to set DT_RUNPATH
13815 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
13816 $as_echo_n "(cached) " >&6
13818 lt_cv_shlibpath_overrides_runpath
=no
13819 save_LDFLAGS
=$LDFLAGS
13820 save_libdir
=$libdir
13821 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
13822 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
13823 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13824 /* end confdefs.h. */
13834 if ac_fn_c_try_link
"$LINENO"; then :
13835 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null
| grep "RUNPATH.*$libdir" >/dev
/null
; then :
13836 lt_cv_shlibpath_overrides_runpath
=yes
13839 rm -f core conftest.err conftest.
$ac_objext \
13840 conftest
$ac_exeext conftest.
$ac_ext
13841 LDFLAGS
=$save_LDFLAGS
13842 libdir
=$save_libdir
13846 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
13848 # This implies no fast_install, which is unacceptable.
13849 # Some rework will be needed to allow for fast_install
13850 # before this can be enabled.
13851 hardcode_into_libs
=yes
13853 # Ideally, we could use ldconfig to report *all* directores which are
13854 # searched for libraries, however this is still not possible. Aside from not
13855 # being certain /sbin/ldconfig is available, command
13856 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
13857 # even though it is searched at run-time. Try to do the best guess by
13858 # appending ld.so.conf contents (and includes) to the search path.
13859 if test -f /etc
/ld.so.conf
; then
13860 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' ' '`
13861 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
13864 # We used to test for /lib/ld.so.1 and disable shared libraries on
13865 # powerpc, because MkLinux only supported shared libraries with the
13866 # GNU dynamic linker. Since this was broken with cross compilers,
13867 # most powerpc-linux boxes support dynamic linking these days and
13868 # people can always --disable-shared, the test was removed, and we
13869 # assume the GNU/Linux dynamic linker is in use.
13870 dynamic_linker
='GNU/Linux ld.so'
13877 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
13878 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
13879 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13880 dynamic_linker
='NetBSD (a.out) ld.so'
13882 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13883 soname_spec
='$libname$release$shared_ext$major'
13884 dynamic_linker
='NetBSD ld.elf_so'
13886 shlibpath_var
=LD_LIBRARY_PATH
13887 shlibpath_overrides_runpath
=yes
13888 hardcode_into_libs
=yes
13892 version_type
=linux
# correct to gnu/linux during the next big refactor
13893 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13894 shlibpath_var
=LD_LIBRARY_PATH
13895 shlibpath_overrides_runpath
=yes
13902 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13903 soname_spec
='$libname$release$shared_ext$major'
13904 shlibpath_var
=LD_LIBRARY_PATH
13905 shlibpath_overrides_runpath
=no
13906 hardcode_into_libs
=yes
13907 dynamic_linker
='ldqnx.so'
13910 openbsd
* | bitrig
*)
13912 sys_lib_dlsearch_path_spec
=/usr
/lib
13914 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
13919 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
13920 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13921 shlibpath_var
=LD_LIBRARY_PATH
13922 shlibpath_overrides_runpath
=yes
13926 libname_spec
='$name'
13927 version_type
=windows
13931 # OS/2 can only load a DLL with a base name of 8 characters or less.
13932 soname_spec
='`test -n "$os2dllname" && libname="$os2dllname";
13933 v=$($ECHO $release$versuffix | tr -d .-);
13934 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
13935 $ECHO $n$v`$shared_ext'
13936 library_names_spec
='${libname}_dll.$libext'
13937 dynamic_linker
='OS/2 ld.exe'
13938 shlibpath_var
=BEGINLIBPATH
13939 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
13940 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
13941 postinstall_cmds
='base_file=`basename \$file`~
13942 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
13943 dldir=$destdir/`dirname \$dlpath`~
13944 test -d \$dldir || mkdir -p \$dldir~
13945 $install_prog $dir/$dlname \$dldir/$dlname~
13946 chmod a+x \$dldir/$dlname~
13947 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
13948 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
13950 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
13951 dlpath=$dir/\$dldll~
13955 osf3
* | osf4
* | osf5
*)
13959 soname_spec
='$libname$release$shared_ext$major'
13960 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13961 shlibpath_var
=LD_LIBRARY_PATH
13962 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
13963 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
13971 version_type
=linux
# correct to gnu/linux during the next big refactor
13974 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13975 soname_spec
='$libname$release$shared_ext$major'
13976 shlibpath_var
=LD_LIBRARY_PATH
13977 shlibpath_overrides_runpath
=yes
13978 hardcode_into_libs
=yes
13979 # ldd complains unless libraries are executable
13980 postinstall_cmds
='chmod +x $lib'
13985 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
13986 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
13987 shlibpath_var
=LD_LIBRARY_PATH
13988 shlibpath_overrides_runpath
=yes
13989 if test yes = "$with_gnu_ld"; then
13996 version_type
=linux
# correct to gnu/linux during the next big refactor
13997 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13998 soname_spec
='$libname$release$shared_ext$major'
13999 shlibpath_var
=LD_LIBRARY_PATH
14000 case $host_vendor in
14002 shlibpath_overrides_runpath
=no
14004 runpath_var
=LD_RUN_PATH
14012 shlibpath_overrides_runpath
=no
14013 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
14019 if test -d /usr
/nec
; then
14020 version_type
=linux
# correct to gnu/linux during the next big refactor
14021 library_names_spec
='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
14022 soname_spec
='$libname$shared_ext.$major'
14023 shlibpath_var
=LD_LIBRARY_PATH
14027 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
14031 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
14032 soname_spec
='$libname$release$shared_ext$major'
14033 shlibpath_var
=LD_LIBRARY_PATH
14034 shlibpath_overrides_runpath
=yes
14035 hardcode_into_libs
=yes
14036 if test yes = "$with_gnu_ld"; then
14037 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14039 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
14042 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
14046 sys_lib_dlsearch_path_spec
='/usr/lib'
14050 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
14051 version_type
=linux
# correct to gnu/linux during the next big refactor
14054 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
14055 shlibpath_var
=LD_LIBRARY_PATH
14056 shlibpath_overrides_runpath
=no
14057 hardcode_into_libs
=yes
14061 version_type
=linux
# correct to gnu/linux during the next big refactor
14062 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
14063 soname_spec
='$libname$release$shared_ext$major'
14064 shlibpath_var
=LD_LIBRARY_PATH
14071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14072 $as_echo "$dynamic_linker" >&6; }
14073 test no
= "$dynamic_linker" && can_build_shared
=no
14075 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
14076 if test yes = "$GCC"; then
14077 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14080 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
14081 sys_lib_search_path_spec
=$lt_cv_sys_lib_search_path_spec
14084 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
14085 sys_lib_dlsearch_path_spec
=$lt_cv_sys_lib_dlsearch_path_spec
14088 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
14089 configure_time_dlsearch_path
=$sys_lib_dlsearch_path_spec
14091 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
14092 func_munge_path_list sys_lib_dlsearch_path_spec
"$LT_SYS_LIBRARY_PATH"
14094 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
14095 configure_time_lt_sys_library_path
=$LT_SYS_LIBRARY_PATH
14193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14194 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14196 if test -n "$hardcode_libdir_flag_spec" ||
14197 test -n "$runpath_var" ||
14198 test yes = "$hardcode_automatic"; then
14200 # We can hardcode non-existent directories.
14201 if test no
!= "$hardcode_direct" &&
14202 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14203 # have to relink, otherwise we might link with an installed library
14204 # when we should be linking with a yet-to-be-installed one
14205 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
14206 test no
!= "$hardcode_minus_L"; then
14207 # Linking always hardcodes the temporary library directory.
14208 hardcode_action
=relink
14210 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14211 hardcode_action
=immediate
14214 # We cannot hardcode anything, or else we can only hardcode existing
14216 hardcode_action
=unsupported
14218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
14219 $as_echo "$hardcode_action" >&6; }
14221 if test relink
= "$hardcode_action" ||
14222 test yes = "$inherit_rpath"; then
14223 # Fast installation is not supported
14224 enable_fast_install
=no
14225 elif test yes = "$shlibpath_overrides_runpath" ||
14226 test no
= "$enable_shared"; then
14227 # Fast installation is not necessary
14228 enable_fast_install
=needless
14236 if test yes != "$enable_dlopen"; then
14237 enable_dlopen
=unknown
14238 enable_dlopen_self
=unknown
14239 enable_dlopen_self_static
=unknown
14246 lt_cv_dlopen
=load_add_on
14248 lt_cv_dlopen_self
=yes
14251 mingw
* | pw32
* | cegcc
*)
14252 lt_cv_dlopen
=LoadLibrary
14257 lt_cv_dlopen
=dlopen
14262 # if libdl is installed we need to link against it
14263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14264 $as_echo_n "checking for dlopen in -ldl... " >&6; }
14265 if ${ac_cv_lib_dl_dlopen+:} false
; then :
14266 $as_echo_n "(cached) " >&6
14268 ac_check_lib_save_LIBS
=$LIBS
14270 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14271 /* end confdefs.h. */
14273 /* Override any GCC internal prototype to avoid an error.
14274 Use char because int might match the return type of a GCC
14275 builtin and then its argument prototype would still apply. */
14288 if ac_fn_c_try_link
"$LINENO"; then :
14289 ac_cv_lib_dl_dlopen
=yes
14291 ac_cv_lib_dl_dlopen
=no
14293 rm -f core conftest.err conftest.
$ac_objext \
14294 conftest
$ac_exeext conftest.
$ac_ext
14295 LIBS
=$ac_check_lib_save_LIBS
14297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14298 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
14299 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
14300 lt_cv_dlopen
=dlopen lt_cv_dlopen_libs
=-ldl
14305 lt_cv_dlopen_self
=yes
14312 # Don't try to run any link tests for TPF. We know it's impossible
14313 # because TPF is a cross-compiler, and we know how we open DSOs.
14314 lt_cv_dlopen
=dlopen
14316 lt_cv_dlopen_self
=no
14320 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
14321 if test "x$ac_cv_func_shl_load" = xyes
; then :
14322 lt_cv_dlopen
=shl_load
14324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
14325 $as_echo_n "checking for shl_load in -ldld... " >&6; }
14326 if ${ac_cv_lib_dld_shl_load+:} false
; then :
14327 $as_echo_n "(cached) " >&6
14329 ac_check_lib_save_LIBS
=$LIBS
14331 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14332 /* end confdefs.h. */
14334 /* Override any GCC internal prototype to avoid an error.
14335 Use char because int might match the return type of a GCC
14336 builtin and then its argument prototype would still apply. */
14344 return shl_load ();
14349 if ac_fn_c_try_link
"$LINENO"; then :
14350 ac_cv_lib_dld_shl_load
=yes
14352 ac_cv_lib_dld_shl_load
=no
14354 rm -f core conftest.err conftest.
$ac_objext \
14355 conftest
$ac_exeext conftest.
$ac_ext
14356 LIBS
=$ac_check_lib_save_LIBS
14358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
14359 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
14360 if test "x$ac_cv_lib_dld_shl_load" = xyes
; then :
14361 lt_cv_dlopen
=shl_load lt_cv_dlopen_libs
=-ldld
14363 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
14364 if test "x$ac_cv_func_dlopen" = xyes
; then :
14365 lt_cv_dlopen
=dlopen
14367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14368 $as_echo_n "checking for dlopen in -ldl... " >&6; }
14369 if ${ac_cv_lib_dl_dlopen+:} false
; then :
14370 $as_echo_n "(cached) " >&6
14372 ac_check_lib_save_LIBS
=$LIBS
14374 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14375 /* end confdefs.h. */
14377 /* Override any GCC internal prototype to avoid an error.
14378 Use char because int might match the return type of a GCC
14379 builtin and then its argument prototype would still apply. */
14392 if ac_fn_c_try_link
"$LINENO"; then :
14393 ac_cv_lib_dl_dlopen
=yes
14395 ac_cv_lib_dl_dlopen
=no
14397 rm -f core conftest.err conftest.
$ac_objext \
14398 conftest
$ac_exeext conftest.
$ac_ext
14399 LIBS
=$ac_check_lib_save_LIBS
14401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14402 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
14403 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
14404 lt_cv_dlopen
=dlopen lt_cv_dlopen_libs
=-ldl
14406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
14407 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
14408 if ${ac_cv_lib_svld_dlopen+:} false
; then :
14409 $as_echo_n "(cached) " >&6
14411 ac_check_lib_save_LIBS
=$LIBS
14412 LIBS
="-lsvld $LIBS"
14413 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14414 /* end confdefs.h. */
14416 /* Override any GCC internal prototype to avoid an error.
14417 Use char because int might match the return type of a GCC
14418 builtin and then its argument prototype would still apply. */
14431 if ac_fn_c_try_link
"$LINENO"; then :
14432 ac_cv_lib_svld_dlopen
=yes
14434 ac_cv_lib_svld_dlopen
=no
14436 rm -f core conftest.err conftest.
$ac_objext \
14437 conftest
$ac_exeext conftest.
$ac_ext
14438 LIBS
=$ac_check_lib_save_LIBS
14440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
14441 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
14442 if test "x$ac_cv_lib_svld_dlopen" = xyes
; then :
14443 lt_cv_dlopen
=dlopen lt_cv_dlopen_libs
=-lsvld
14445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
14446 $as_echo_n "checking for dld_link in -ldld... " >&6; }
14447 if ${ac_cv_lib_dld_dld_link+:} false
; then :
14448 $as_echo_n "(cached) " >&6
14450 ac_check_lib_save_LIBS
=$LIBS
14452 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14453 /* end confdefs.h. */
14455 /* Override any GCC internal prototype to avoid an error.
14456 Use char because int might match the return type of a GCC
14457 builtin and then its argument prototype would still apply. */
14465 return dld_link ();
14470 if ac_fn_c_try_link
"$LINENO"; then :
14471 ac_cv_lib_dld_dld_link
=yes
14473 ac_cv_lib_dld_dld_link
=no
14475 rm -f core conftest.err conftest.
$ac_objext \
14476 conftest
$ac_exeext conftest.
$ac_ext
14477 LIBS
=$ac_check_lib_save_LIBS
14479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
14480 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
14481 if test "x$ac_cv_lib_dld_dld_link" = xyes
; then :
14482 lt_cv_dlopen
=dld_link lt_cv_dlopen_libs
=-ldld
14503 if test no
= "$lt_cv_dlopen"; then
14509 case $lt_cv_dlopen in
14511 save_CPPFLAGS
=$CPPFLAGS
14512 test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
14514 save_LDFLAGS
=$LDFLAGS
14515 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
14518 LIBS
="$lt_cv_dlopen_libs $LIBS"
14520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
14521 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
14522 if ${lt_cv_dlopen_self+:} false
; then :
14523 $as_echo_n "(cached) " >&6
14525 if test yes = "$cross_compiling"; then :
14526 lt_cv_dlopen_self
=cross
14528 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
14529 lt_status
=$lt_dlunknown
14530 cat > conftest.
$ac_ext <<_LT_EOF
14531 #line $LINENO "configure"
14532 #include "confdefs.h"
14541 # define LT_DLGLOBAL RTLD_GLOBAL
14544 # define LT_DLGLOBAL DL_GLOBAL
14546 # define LT_DLGLOBAL 0
14550 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
14551 find out it does not work in some platform. */
14552 #ifndef LT_DLLAZY_OR_NOW
14554 # define LT_DLLAZY_OR_NOW RTLD_LAZY
14557 # define LT_DLLAZY_OR_NOW DL_LAZY
14560 # define LT_DLLAZY_OR_NOW RTLD_NOW
14563 # define LT_DLLAZY_OR_NOW DL_NOW
14565 # define LT_DLLAZY_OR_NOW 0
14572 /* When -fvisibility=hidden is used, assume the code has been annotated
14573 correspondingly for the symbols needed. */
14574 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
14575 int fnord () __attribute__((visibility("default")));
14578 int fnord () { return 42; }
14581 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
14582 int status = $lt_dlunknown;
14586 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
14589 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
14590 else puts (dlerror ());
14592 /* dlclose (self); */
14600 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
14601 (eval $ac_link) 2>&5
14603 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14604 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev
/null
; then
14605 (.
/conftest
; exit; ) >&5 2>/dev
/null
14607 case x
$lt_status in
14608 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
14609 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
14610 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
14613 # compilation failed
14614 lt_cv_dlopen_self
=no
14621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
14622 $as_echo "$lt_cv_dlopen_self" >&6; }
14624 if test yes = "$lt_cv_dlopen_self"; then
14625 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
14626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
14627 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
14628 if ${lt_cv_dlopen_self_static+:} false
; then :
14629 $as_echo_n "(cached) " >&6
14631 if test yes = "$cross_compiling"; then :
14632 lt_cv_dlopen_self_static
=cross
14634 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
14635 lt_status
=$lt_dlunknown
14636 cat > conftest.
$ac_ext <<_LT_EOF
14637 #line $LINENO "configure"
14638 #include "confdefs.h"
14647 # define LT_DLGLOBAL RTLD_GLOBAL
14650 # define LT_DLGLOBAL DL_GLOBAL
14652 # define LT_DLGLOBAL 0
14656 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
14657 find out it does not work in some platform. */
14658 #ifndef LT_DLLAZY_OR_NOW
14660 # define LT_DLLAZY_OR_NOW RTLD_LAZY
14663 # define LT_DLLAZY_OR_NOW DL_LAZY
14666 # define LT_DLLAZY_OR_NOW RTLD_NOW
14669 # define LT_DLLAZY_OR_NOW DL_NOW
14671 # define LT_DLLAZY_OR_NOW 0
14678 /* When -fvisibility=hidden is used, assume the code has been annotated
14679 correspondingly for the symbols needed. */
14680 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
14681 int fnord () __attribute__((visibility("default")));
14684 int fnord () { return 42; }
14687 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
14688 int status = $lt_dlunknown;
14692 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
14695 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
14696 else puts (dlerror ());
14698 /* dlclose (self); */
14706 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
14707 (eval $ac_link) 2>&5
14709 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14710 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev
/null
; then
14711 (.
/conftest
; exit; ) >&5 2>/dev
/null
14713 case x
$lt_status in
14714 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
14715 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
14716 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
14719 # compilation failed
14720 lt_cv_dlopen_self_static
=no
14727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
14728 $as_echo "$lt_cv_dlopen_self_static" >&6; }
14731 CPPFLAGS
=$save_CPPFLAGS
14732 LDFLAGS
=$save_LDFLAGS
14737 case $lt_cv_dlopen_self in
14738 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
14739 *) enable_dlopen_self
=unknown
;;
14742 case $lt_cv_dlopen_self_static in
14743 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
14744 *) enable_dlopen_self_static
=unknown
;;
14766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
14767 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
14768 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev
/null
; then
14769 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
14770 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
14771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14772 $as_echo "yes" >&6; }
14774 # FIXME - insert some real tests, host_os isn't really good enough
14777 if test -n "$STRIP"; then
14778 striplib
="$STRIP -x"
14779 old_striplib
="$STRIP -S"
14780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14781 $as_echo "yes" >&6; }
14783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14784 $as_echo "no" >&6; }
14788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14789 $as_echo "no" >&6; }
14805 # Report what library types will actually be built
14806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
14807 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
14808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
14809 $as_echo "$can_build_shared" >&6; }
14811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
14812 $as_echo_n "checking whether to build shared libraries... " >&6; }
14813 test no
= "$can_build_shared" && enable_shared
=no
14815 # On AIX, shared libraries and static libraries use the same namespace, and
14816 # are all built from PIC.
14819 test yes = "$enable_shared" && enable_static
=no
14820 if test -n "$RANLIB"; then
14821 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
14822 postinstall_cmds
='$RANLIB $lib'
14827 if test ia64
!= "$host_cpu"; then
14828 case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
14829 yes,aix
,yes) ;; # shared object as lib.so file only
14830 yes,svr4
,*) ;; # shared object as lib.so archive member only
14831 yes,*) enable_static
=no
;; # shared object in lib.a archive as well
14836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
14837 $as_echo "$enable_shared" >&6; }
14839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
14840 $as_echo_n "checking whether to build static libraries... " >&6; }
14841 # Make sure either enable_shared or enable_static is yes.
14842 test yes = "$enable_shared" || enable_static
=yes
14843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
14844 $as_echo "$enable_static" >&6; }
14851 ac_cpp
='$CPP $CPPFLAGS'
14852 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14853 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14854 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14858 if test -n "$CXX" && ( test no
!= "$CXX" &&
14859 ( (test g
++ = "$CXX" && `g++ -v >/dev/null 2>&1` ) ||
14860 (test g
++ != "$CXX"))); then
14862 ac_cpp
='$CXXCPP $CPPFLAGS'
14863 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14864 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14865 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
14867 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
14868 if test -z "$CXXCPP"; then
14869 if ${ac_cv_prog_CXXCPP+:} false
; then :
14870 $as_echo_n "(cached) " >&6
14872 # Double quotes because CXXCPP needs to be expanded
14873 for CXXCPP
in "$CXX -E" "/lib/cpp"
14875 ac_preproc_ok
=false
14876 for ac_cxx_preproc_warn_flag
in '' yes
14878 # Use a header file that comes with gcc, so configuring glibc
14879 # with a fresh cross-compiler works.
14880 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14881 # <limits.h> exists even on freestanding compilers.
14882 # On the NeXT, cc -E runs the code through the compiler's parser,
14883 # not just through cpp. "Syntax error" is here to catch this case.
14884 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14885 /* end confdefs.h. */
14887 # include <limits.h>
14889 # include <assert.h>
14893 if ac_fn_cxx_try_cpp
"$LINENO"; then :
14896 # Broken: fails on valid input.
14899 rm -f conftest.err conftest.i conftest.
$ac_ext
14901 # OK, works on sane cases. Now check whether nonexistent headers
14902 # can be detected and how.
14903 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14904 /* end confdefs.h. */
14905 #include <ac_nonexistent.h>
14907 if ac_fn_cxx_try_cpp
"$LINENO"; then :
14908 # Broken: success on invalid input.
14911 # Passes both tests.
14915 rm -f conftest.err conftest.i conftest.
$ac_ext
14918 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
14919 rm -f conftest.i conftest.err conftest.
$ac_ext
14920 if $ac_preproc_ok; then :
14925 ac_cv_prog_CXXCPP
=$CXXCPP
14928 CXXCPP
=$ac_cv_prog_CXXCPP
14930 ac_cv_prog_CXXCPP
=$CXXCPP
14932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
14933 $as_echo "$CXXCPP" >&6; }
14934 ac_preproc_ok
=false
14935 for ac_cxx_preproc_warn_flag
in '' yes
14937 # Use a header file that comes with gcc, so configuring glibc
14938 # with a fresh cross-compiler works.
14939 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14940 # <limits.h> exists even on freestanding compilers.
14941 # On the NeXT, cc -E runs the code through the compiler's parser,
14942 # not just through cpp. "Syntax error" is here to catch this case.
14943 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14944 /* end confdefs.h. */
14946 # include <limits.h>
14948 # include <assert.h>
14952 if ac_fn_cxx_try_cpp
"$LINENO"; then :
14955 # Broken: fails on valid input.
14958 rm -f conftest.err conftest.i conftest.
$ac_ext
14960 # OK, works on sane cases. Now check whether nonexistent headers
14961 # can be detected and how.
14962 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14963 /* end confdefs.h. */
14964 #include <ac_nonexistent.h>
14966 if ac_fn_cxx_try_cpp
"$LINENO"; then :
14967 # Broken: success on invalid input.
14970 # Passes both tests.
14974 rm -f conftest.err conftest.i conftest.
$ac_ext
14977 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
14978 rm -f conftest.i conftest.err conftest.
$ac_ext
14979 if $ac_preproc_ok; then :
14982 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14983 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14984 as_fn_error $?
"C++ preprocessor \"$CXXCPP\" fails sanity check
14985 See \`config.log' for more details" "$LINENO" 5; }
14989 ac_cpp
='$CPP $CPPFLAGS'
14990 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14991 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14992 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14995 _lt_caught_CXX_error
=yes
14999 ac_cpp
='$CXXCPP $CPPFLAGS'
15000 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15001 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15002 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
15004 archive_cmds_need_lc_CXX
=no
15005 allow_undefined_flag_CXX
=
15006 always_export_symbols_CXX
=no
15007 archive_expsym_cmds_CXX
=
15008 compiler_needs_object_CXX
=no
15009 export_dynamic_flag_spec_CXX
=
15010 hardcode_direct_CXX
=no
15011 hardcode_direct_absolute_CXX
=no
15012 hardcode_libdir_flag_spec_CXX
=
15013 hardcode_libdir_separator_CXX
=
15014 hardcode_minus_L_CXX
=no
15015 hardcode_shlibpath_var_CXX
=unsupported
15016 hardcode_automatic_CXX
=no
15017 inherit_rpath_CXX
=no
15019 module_expsym_cmds_CXX
=
15020 link_all_deplibs_CXX
=unknown
15021 old_archive_cmds_CXX
=$old_archive_cmds
15022 reload_flag_CXX
=$reload_flag
15023 reload_cmds_CXX
=$reload_cmds
15024 no_undefined_flag_CXX
=
15025 whole_archive_flag_spec_CXX
=
15026 enable_shared_with_static_runtimes_CXX
=no
15028 # Source file extension for C++ test sources.
15031 # Object file extension for compiled C++ test sources.
15035 # No sense in running all these tests if we already determined that
15036 # the CXX compiler isn't working. Some variables (like enable_shared)
15037 # are currently assumed to apply to all compilers on this platform,
15038 # and will be corrupted by setting them based on a non-working compiler.
15039 if test yes != "$_lt_caught_CXX_error"; then
15040 # Code to be used in simple compile tests
15041 lt_simple_compile_test_code
="int some_variable = 0;"
15043 # Code to be used in simple link tests
15044 lt_simple_link_test_code
='int main(int, char *[]) { return(0); }'
15046 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
15053 # If no C compiler was specified, use CC.
15056 # If no C compiler flags were specified, use CFLAGS.
15057 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
15059 # Allow CC to be a program name with arguments.
15063 # save warnings/boilerplate of simple test code
15064 ac_outfile
=conftest.
$ac_objext
15065 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
15066 eval "$ac_compile" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
15067 _lt_compiler_boilerplate
=`cat conftest.err`
15070 ac_outfile
=conftest.
$ac_objext
15071 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
15072 eval "$ac_link" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
15073 _lt_linker_boilerplate
=`cat conftest.err`
15077 # Allow CC to be a program name with arguments.
15079 lt_save_CFLAGS
=$CFLAGS
15083 lt_save_with_gnu_ld
=$with_gnu_ld
15084 lt_save_path_LD
=$lt_cv_path_LD
15085 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
15086 lt_cv_prog_gnu_ld
=$lt_cv_prog_gnu_ldcxx
15088 $as_unset lt_cv_prog_gnu_ld
15090 if test -n "${lt_cv_path_LDCXX+set}"; then
15091 lt_cv_path_LD
=$lt_cv_path_LDCXX
15093 $as_unset lt_cv_path_LD
15095 test -z "${LDCXX+set}" || LD
=$LDCXX
15100 func_cc_basename
$compiler
15101 cc_basename
=$func_cc_basename_result
15104 if test -n "$compiler"; then
15105 # We don't want -fno-exception when compiling C++ code, so set the
15106 # no_builtin_flag separately
15107 if test yes = "$GXX"; then
15108 lt_prog_compiler_no_builtin_flag_CXX
=' -fno-builtin'
15110 lt_prog_compiler_no_builtin_flag_CXX
=
15113 if test yes = "$GXX"; then
15114 # Set up default GNU C++ configuration
15118 # Check whether --with-gnu-ld was given.
15119 if test "${with_gnu_ld+set}" = set; then :
15120 withval
=$with_gnu_ld; test no
= "$withval" || with_gnu_ld
=yes
15126 if test yes = "$GCC"; then
15127 # Check if gcc -print-prog-name=ld gives a path.
15128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
15129 $as_echo_n "checking for ld used by $CC... " >&6; }
15132 # gcc leaves a trailing carriage return, which upsets mingw
15133 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
15135 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
15138 # Accept absolute paths.
15140 re_direlt
='/[^/][^/]*/\.\./'
15141 # Canonicalize the pathname of ld
15142 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
15143 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev
/null
2>&1; do
15144 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
15146 test -z "$LD" && LD
=$ac_prog
15149 # If it fails, then pretend we aren't using GCC.
15153 # If it is relative, then search for the first ld in PATH.
15154 with_gnu_ld
=unknown
15157 elif test yes = "$with_gnu_ld"; then
15158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
15159 $as_echo_n "checking for GNU ld... " >&6; }
15161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
15162 $as_echo_n "checking for non-GNU ld... " >&6; }
15164 if ${lt_cv_path_LD+:} false
; then :
15165 $as_echo_n "(cached) " >&6
15167 if test -z "$LD"; then
15168 lt_save_ifs
=$IFS; IFS
=$PATH_SEPARATOR
15169 for ac_dir
in $PATH; do
15171 test -z "$ac_dir" && ac_dir
=.
15172 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
15173 lt_cv_path_LD
=$ac_dir/$ac_prog
15174 # Check to see if the program is GNU ld. I'd rather use --version,
15175 # but apparently some variants of GNU ld only accept -v.
15176 # Break only if it was the GNU/non-GNU ld that we prefer.
15177 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
15178 *GNU
* | *'with BFD'*)
15179 test no
!= "$with_gnu_ld" && break
15182 test yes != "$with_gnu_ld" && break
15189 lt_cv_path_LD
=$LD # Let the user override the test with a path.
15194 if test -n "$LD"; then
15195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
15196 $as_echo "$LD" >&6; }
15198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15199 $as_echo "no" >&6; }
15201 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
15202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
15203 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
15204 if ${lt_cv_prog_gnu_ld+:} false
; then :
15205 $as_echo_n "(cached) " >&6
15207 # I'd rather use --version here, but apparently some GNU lds only accept -v.
15208 case `$LD -v 2>&1 </dev/null` in
15209 *GNU
* | *'with BFD'*)
15210 lt_cv_prog_gnu_ld
=yes
15213 lt_cv_prog_gnu_ld
=no
15217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
15218 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
15219 with_gnu_ld
=$lt_cv_prog_gnu_ld
15227 # Check if GNU C++ uses GNU ld as the underlying linker, since the
15228 # archiving commands below assume that GNU ld is being used.
15229 if test yes = "$with_gnu_ld"; then
15230 archive_cmds_CXX
='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
15231 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'
15233 hardcode_libdir_flag_spec_CXX
='$wl-rpath $wl$libdir'
15234 export_dynamic_flag_spec_CXX
='$wl--export-dynamic'
15236 # If archive_cmds runs LD, not CC, wlarc should be empty
15237 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
15238 # investigate it a little bit more. (MM)
15241 # ancient GNU ld didn't support --whole-archive et. al.
15242 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
15243 $GREP 'no-whole-archive' > /dev
/null
; then
15244 whole_archive_flag_spec_CXX
=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
15246 whole_archive_flag_spec_CXX
=
15252 # A generic and very simple default shared library creation
15253 # command for GNU C++ for the case where it uses the native
15254 # linker, instead of GNU ld. If possible, this setting should
15255 # overridden to take advantage of the native linker features on
15256 # the platform it is being used on.
15257 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
15260 # Commands to make compiler produce verbose output that lists
15261 # what "hidden" libraries, object files and flags are used when
15262 # linking a shared library.
15263 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
15271 # PORTME: fill in a description of your system's C++ link characteristics
15272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15273 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
15277 # FIXME: insert proper C++ library support
15281 if test ia64
= "$host_cpu"; then
15282 # On IA64, the linker does run time linking by default, so we don't
15283 # have to do anything special.
15284 aix_use_runtimelinking
=no
15285 exp_sym_flag
='-Bexport'
15288 aix_use_runtimelinking
=no
15290 # Test if we are trying to use run time linking or normal
15291 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
15292 # have runtime linking enabled, and use it for executables.
15293 # For shared libraries, we enable/disable runtime linking
15294 # depending on the kind of the shared library created -
15295 # when "with_aix_soname,aix_use_runtimelinking" is:
15296 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables
15297 # "aix,yes" lib.so shared, rtl:yes, for executables
15298 # lib.a static archive
15299 # "both,no" lib.so.V(shr.o) shared, rtl:yes
15300 # lib.a(lib.so.V) shared, rtl:no, for executables
15301 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
15302 # lib.a(lib.so.V) shared, rtl:no
15303 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables
15304 # lib.a static archive
15305 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
15306 for ld_flag
in $LDFLAGS; do
15309 aix_use_runtimelinking
=yes
15314 if test svr4
,no
= "$with_aix_soname,$aix_use_runtimelinking"; then
15315 # With aix-soname=svr4, we create the lib.so.V shared archives only,
15316 # so we don't have lib.a shared libs to link our executables.
15317 # We have to force runtime linking in this case.
15318 aix_use_runtimelinking
=yes
15319 LDFLAGS
="$LDFLAGS -Wl,-brtl"
15324 exp_sym_flag
='-bexport'
15325 no_entry_flag
='-bnoentry'
15328 # When large executables or shared objects are built, AIX ld can
15329 # have problems creating the table of contents. If linking a library
15330 # or program results in "error TOC overflow" add -mminimal-toc to
15331 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
15332 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
15334 archive_cmds_CXX
=''
15335 hardcode_direct_CXX
=yes
15336 hardcode_direct_absolute_CXX
=yes
15337 hardcode_libdir_separator_CXX
=':'
15338 link_all_deplibs_CXX
=yes
15339 file_list_spec_CXX
='$wl-f,'
15340 case $with_aix_soname,$aix_use_runtimelinking in
15341 aix
,*) ;; # no import file
15342 svr4
,* | *,yes) # use import file
15343 # The Import File defines what to hardcode.
15344 hardcode_direct_CXX
=no
15345 hardcode_direct_absolute_CXX
=no
15349 if test yes = "$GXX"; then
15350 case $host_os in aix4.
[012]|aix4.
[012].
*)
15351 # We only want to do this on AIX 4.2 and lower, the check
15352 # below for broken collect2 doesn't work under 4.3+
15353 collect2name
=`$CC -print-prog-name=collect2`
15354 if test -f "$collect2name" &&
15355 strings "$collect2name" | $GREP resolve_lib_name
>/dev
/null
15357 # We have reworked collect2
15360 # We have old collect2
15361 hardcode_direct_CXX
=unsupported
15362 # It fails to find uninstalled libraries when the uninstalled
15363 # path is not listed in the libpath. Setting hardcode_minus_L
15364 # to unsupported forces relinking
15365 hardcode_minus_L_CXX
=yes
15366 hardcode_libdir_flag_spec_CXX
='-L$libdir'
15367 hardcode_libdir_separator_CXX
=
15370 shared_flag
='-shared'
15371 if test yes = "$aix_use_runtimelinking"; then
15372 shared_flag
=$shared_flag' $wl-G'
15374 # Need to ensure runtime linking is disabled for the traditional
15375 # shared library, or the linker may eventually find shared libraries
15376 # /with/ Import File - we do not want to mix them.
15377 shared_flag_aix
='-shared'
15378 shared_flag_svr4
='-shared $wl-G'
15381 if test ia64
= "$host_cpu"; then
15382 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
15383 # chokes on -Wl,-G. The following line is correct:
15386 if test yes = "$aix_use_runtimelinking"; then
15387 shared_flag
='$wl-G'
15389 shared_flag
='$wl-bM:SRE'
15391 shared_flag_aix
='$wl-bM:SRE'
15392 shared_flag_svr4
='$wl-G'
15396 export_dynamic_flag_spec_CXX
='$wl-bexpall'
15397 # It seems that -bexpall does not export symbols beginning with
15398 # underscore (_), so it is better to generate a list of symbols to
15400 always_export_symbols_CXX
=yes
15401 if test aix
,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
15402 # Warning - without using the other runtime loading flags (-brtl),
15403 # -berok will link without error, but may produce a broken library.
15404 # The "-G" linker flag allows undefined symbols.
15405 no_undefined_flag_CXX
='-bernotok'
15406 # Determine the default libpath from the value encoded in an empty
15408 if test set = "${lt_cv_aix_libpath+set}"; then
15409 aix_libpath
=$lt_cv_aix_libpath
15411 if ${lt_cv_aix_libpath__CXX+:} false
; then :
15412 $as_echo_n "(cached) " >&6
15414 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15415 /* end confdefs.h. */
15425 if ac_fn_cxx_try_link
"$LINENO"; then :
15427 lt_aix_libpath_sed
='
15428 /Import File Strings/,/^$/ {
15430 s/^0 *\([^ ]*\) *$/\1/
15434 lt_cv_aix_libpath__CXX
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15435 # Check for a 64-bit object if we didn't find anything.
15436 if test -z "$lt_cv_aix_libpath__CXX"; then
15437 lt_cv_aix_libpath__CXX
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15440 rm -f core conftest.err conftest.
$ac_objext \
15441 conftest
$ac_exeext conftest.
$ac_ext
15442 if test -z "$lt_cv_aix_libpath__CXX"; then
15443 lt_cv_aix_libpath__CXX
=/usr
/lib
:/lib
15448 aix_libpath
=$lt_cv_aix_libpath__CXX
15451 hardcode_libdir_flag_spec_CXX
='$wl-blibpath:$libdir:'"$aix_libpath"
15453 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
15455 if test ia64
= "$host_cpu"; then
15456 hardcode_libdir_flag_spec_CXX
='$wl-R $libdir:/usr/lib:/lib'
15457 allow_undefined_flag_CXX
="-z nodefs"
15458 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"
15460 # Determine the default libpath from the value encoded in an
15461 # empty executable.
15462 if test set = "${lt_cv_aix_libpath+set}"; then
15463 aix_libpath
=$lt_cv_aix_libpath
15465 if ${lt_cv_aix_libpath__CXX+:} false
; then :
15466 $as_echo_n "(cached) " >&6
15468 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15469 /* end confdefs.h. */
15479 if ac_fn_cxx_try_link
"$LINENO"; then :
15481 lt_aix_libpath_sed
='
15482 /Import File Strings/,/^$/ {
15484 s/^0 *\([^ ]*\) *$/\1/
15488 lt_cv_aix_libpath__CXX
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15489 # Check for a 64-bit object if we didn't find anything.
15490 if test -z "$lt_cv_aix_libpath__CXX"; then
15491 lt_cv_aix_libpath__CXX
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15494 rm -f core conftest.err conftest.
$ac_objext \
15495 conftest
$ac_exeext conftest.
$ac_ext
15496 if test -z "$lt_cv_aix_libpath__CXX"; then
15497 lt_cv_aix_libpath__CXX
=/usr
/lib
:/lib
15502 aix_libpath
=$lt_cv_aix_libpath__CXX
15505 hardcode_libdir_flag_spec_CXX
='$wl-blibpath:$libdir:'"$aix_libpath"
15506 # Warning - without using the other run time loading flags,
15507 # -berok will link without error, but may produce a broken library.
15508 no_undefined_flag_CXX
=' $wl-bernotok'
15509 allow_undefined_flag_CXX
=' $wl-berok'
15510 if test yes = "$with_gnu_ld"; then
15511 # We only use this code for GNU lds that support --whole-archive.
15512 whole_archive_flag_spec_CXX
='$wl--whole-archive$convenience $wl--no-whole-archive'
15514 # Exported symbols can be pulled into shared objects from archives
15515 whole_archive_flag_spec_CXX
='$convenience'
15517 archive_cmds_need_lc_CXX
=yes
15518 archive_expsym_cmds_CXX
='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
15519 # -brtl affects multiple linker settings, -berok does not and is overridden later
15520 compiler_flags_filtered
='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
15521 if test svr4
!= "$with_aix_soname"; then
15522 # This is similar to how AIX traditionally builds its shared
15523 # libraries. Need -bnortl late, we may have -brtl in LDFLAGS.
15524 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'
15526 if test aix
!= "$with_aix_soname"; then
15527 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'
15529 # used by -dlpreopen to get the symbols
15530 archive_expsym_cmds_CXX
="$archive_expsym_cmds_CXX"'~$MV $output_objdir/$realname.d/$soname $output_objdir'
15532 archive_expsym_cmds_CXX
="$archive_expsym_cmds_CXX"'~$RM -r $output_objdir/$realname.d'
15538 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
15539 allow_undefined_flag_CXX
=unsupported
15540 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
15541 # support --undefined. This deserves some investigation. FIXME
15542 archive_cmds_CXX
='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
15549 case $cc_basename in
15551 # FIXME: insert proper C++ library support
15557 cygwin
* | mingw
* | pw32
* | cegcc
*)
15558 case $GXX,$cc_basename in
15561 # hardcode_libdir_flag_spec is actually meaningless, as there is
15562 # no search path for DLLs.
15563 hardcode_libdir_flag_spec_CXX
=' '
15564 allow_undefined_flag_CXX
=unsupported
15565 always_export_symbols_CXX
=yes
15566 file_list_spec_CXX
='@'
15567 # Tell ltmain to make .lib files, not .a files.
15569 # Tell ltmain to make .dll files, not .so files.
15571 # FIXME: Setting linknames here is a bad hack.
15572 archive_cmds_CXX
='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
15573 archive_expsym_cmds_CXX
='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
15574 cp "$export_symbols" "$output_objdir/$soname.def";
15575 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
15577 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
15579 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
15581 # The linker will not automatically build a static lib if we build a DLL.
15582 # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
15583 enable_shared_with_static_runtimes_CXX
=yes
15585 old_postinstall_cmds_CXX
='chmod 644 $oldlib'
15586 postlink_cmds_CXX
='lt_outputfile="@OUTPUT@"~
15587 lt_tool_outputfile="@TOOL_OUTPUT@"~
15588 case $lt_outputfile in
15591 lt_outputfile=$lt_outputfile.exe
15592 lt_tool_outputfile=$lt_tool_outputfile.exe
15595 func_to_tool_file "$lt_outputfile"~
15596 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
15597 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
15598 $RM "$lt_outputfile.manifest";
15603 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
15604 # as there is no search path for DLLs.
15605 hardcode_libdir_flag_spec_CXX
='-L$libdir'
15606 export_dynamic_flag_spec_CXX
='$wl--export-all-symbols'
15607 allow_undefined_flag_CXX
=unsupported
15608 always_export_symbols_CXX
=no
15609 enable_shared_with_static_runtimes_CXX
=yes
15611 if $LD --help 2>&1 | $GREP 'auto-import' > /dev
/null
; then
15612 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'
15613 # If the export-symbols file already is a .def file, use it as
15614 # is; otherwise, prepend EXPORTS...
15615 archive_expsym_cmds_CXX
='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
15616 cp $export_symbols $output_objdir/$soname.def;
15618 echo EXPORTS > $output_objdir/$soname.def;
15619 cat $export_symbols >> $output_objdir/$soname.def;
15621 $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'
15628 darwin
* | rhapsody
*)
15631 archive_cmds_need_lc_CXX
=no
15632 hardcode_direct_CXX
=no
15633 hardcode_automatic_CXX
=yes
15634 hardcode_shlibpath_var_CXX
=unsupported
15635 if test yes = "$lt_cv_ld_force_load"; then
15636 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\"`'
15639 whole_archive_flag_spec_CXX
=''
15641 link_all_deplibs_CXX
=yes
15642 allow_undefined_flag_CXX
=$_lt_dar_allow_undefined
15643 case $cc_basename in
15644 ifort
*|nagfor
*) _lt_dar_can_shared
=yes ;;
15645 *) _lt_dar_can_shared
=$GCC ;;
15647 if test yes = "$_lt_dar_can_shared"; then
15648 output_verbose_link_cmd
=func_echo_all
15649 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"
15650 module_cmds_CXX
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
15651 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"
15652 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"
15653 if test yes != "$lt_cv_apple_cc_single_mod"; then
15654 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"
15655 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"
15665 hardcode_libdir_flag_spec_CXX
='-L$libdir'
15666 hardcode_minus_L_CXX
=yes
15667 allow_undefined_flag_CXX
=unsupported
15669 archive_cmds_CXX
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
15670 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
15671 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
15672 $ECHO EXPORTS >> $output_objdir/$libname.def~
15673 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
15674 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
15675 emximp -o $lib $output_objdir/$libname.def'
15676 archive_expsym_cmds_CXX
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
15677 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
15678 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
15679 $ECHO EXPORTS >> $output_objdir/$libname.def~
15680 prefix_cmds="$SED"~
15681 if test EXPORTS = "`$SED 1q $export_symbols`"; then
15682 prefix_cmds="$prefix_cmds -e 1d";
15684 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
15685 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
15686 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
15687 emximp -o $lib $output_objdir/$libname.def'
15688 old_archive_From_new_cmds_CXX
='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
15689 enable_shared_with_static_runtimes_CXX
=yes
15693 case $cc_basename in
15695 # FIXME: insert proper C++ library support
15699 # Green Hills C++ Compiler
15700 # FIXME: insert proper C++ library support
15704 # FIXME: insert proper C++ library support
15711 # C++ shared libraries reported to be fairly broken before
15717 archive_cmds_need_lc_CXX
=no
15720 freebsd
* | dragonfly
*)
15721 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
15727 archive_cmds_CXX
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
15728 link_all_deplibs_CXX
=yes
15732 hardcode_libdir_flag_spec_CXX
='$wl+b $wl$libdir'
15733 hardcode_libdir_separator_CXX
=:
15734 export_dynamic_flag_spec_CXX
='$wl-E'
15735 hardcode_direct_CXX
=yes
15736 hardcode_minus_L_CXX
=yes # Not in the search PATH,
15737 # but as the default
15738 # location of the library.
15740 case $cc_basename in
15742 # FIXME: insert proper C++ library support
15746 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'
15747 # Commands to make compiler produce verbose output that lists
15748 # what "hidden" libraries, object files and flags are used when
15749 # linking a shared library.
15751 # There doesn't appear to be a way to prevent this compiler from
15752 # explicitly linking system object files so we need to strip them
15753 # from the output so that they don't get included in the library
15755 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"'
15758 if test yes = "$GXX"; then
15759 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'
15761 # FIXME: insert proper C++ library support
15769 if test no
= "$with_gnu_ld"; then
15770 hardcode_libdir_flag_spec_CXX
='$wl+b $wl$libdir'
15771 hardcode_libdir_separator_CXX
=:
15777 export_dynamic_flag_spec_CXX
='$wl-E'
15783 hardcode_direct_CXX
=no
15784 hardcode_shlibpath_var_CXX
=no
15787 hardcode_direct_CXX
=yes
15788 hardcode_direct_absolute_CXX
=yes
15789 hardcode_minus_L_CXX
=yes # Not in the search PATH,
15790 # but as the default
15791 # location of the library.
15795 case $cc_basename in
15797 # FIXME: insert proper C++ library support
15803 archive_cmds_CXX
='$CC -b $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15806 archive_cmds_CXX
='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15809 archive_cmds_CXX
='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15812 # Commands to make compiler produce verbose output that lists
15813 # what "hidden" libraries, object files and flags are used when
15814 # linking a shared library.
15816 # There doesn't appear to be a way to prevent this compiler from
15817 # explicitly linking system object files so we need to strip them
15818 # from the output so that they don't get included in the library
15820 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"'
15823 if test yes = "$GXX"; then
15824 if test no
= "$with_gnu_ld"; then
15827 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15830 archive_cmds_CXX
='$CC -shared -nostdlib $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15833 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'
15838 # FIXME: insert proper C++ library support
15846 hardcode_direct_CXX
=no
15847 hardcode_shlibpath_var_CXX
=no
15848 hardcode_libdir_flag_spec_CXX
='$wl-rpath,$libdir'
15849 export_dynamic_flag_spec_CXX
='$wl-E'
15850 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
15851 # Instead, shared libraries are loaded at an image base (0x10000000 by
15852 # default) and relocated if they conflict, which is a slow very memory
15853 # consuming and fragmenting process. To avoid this, we pick a random,
15854 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
15855 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
15856 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'
15857 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'
15860 case $cc_basename in
15863 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'
15865 # Archives containing C++ object files must be created using
15866 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
15867 # necessary to make sure instantiated templates are included
15869 old_archive_cmds_CXX
='$CC -ar -WR,-u -o $oldlib $oldobjs'
15872 if test yes = "$GXX"; then
15873 if test no
= "$with_gnu_ld"; then
15874 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'
15876 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'
15879 link_all_deplibs_CXX
=yes
15882 hardcode_libdir_flag_spec_CXX
='$wl-rpath $wl$libdir'
15883 hardcode_libdir_separator_CXX
=:
15884 inherit_rpath_CXX
=yes
15887 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
15888 case $cc_basename in
15890 # Kuck and Associates, Inc. (KAI) C++ Compiler
15892 # KCC will only create a shared library if the output file
15893 # ends with ".so" (or ".sl" for HP-UX), so rename the library
15894 # to its proper name (with version) after linking.
15895 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'
15896 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'
15897 # Commands to make compiler produce verbose output that lists
15898 # what "hidden" libraries, object files and flags are used when
15899 # linking a shared library.
15901 # There doesn't appear to be a way to prevent this compiler from
15902 # explicitly linking system object files so we need to strip them
15903 # from the output so that they don't get included in the library
15905 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"'
15907 hardcode_libdir_flag_spec_CXX
='$wl-rpath,$libdir'
15908 export_dynamic_flag_spec_CXX
='$wl--export-dynamic'
15910 # Archives containing C++ object files must be created using
15911 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
15912 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
15917 # version 8.0 and above of icpc choke on multiply defined symbols
15918 # if we add $predep_objects and $postdep_objects, however 7.1 and
15919 # earlier do not add the objects themselves.
15920 case `$CC -V 2>&1` in
15922 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
15923 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'
15925 *) # Version 8.0 or newer
15928 ia64
*) tmp_idyn
=' -i_dynamic';;
15930 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
15931 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'
15934 archive_cmds_need_lc_CXX
=no
15935 hardcode_libdir_flag_spec_CXX
='$wl-rpath,$libdir'
15936 export_dynamic_flag_spec_CXX
='$wl--export-dynamic'
15937 whole_archive_flag_spec_CXX
='$wl--whole-archive$convenience $wl--no-whole-archive'
15940 # Portland Group C++ compiler
15942 *pgCC\
[1-5].
* | *pgcpp\
[1-5].
*)
15943 prelink_cmds_CXX
='tpldir=Template.dir~
15945 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
15946 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
15947 old_archive_cmds_CXX
='tpldir=Template.dir~
15949 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
15950 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
15952 archive_cmds_CXX
='tpldir=Template.dir~
15954 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
15955 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
15956 archive_expsym_cmds_CXX
='tpldir=Template.dir~
15958 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
15959 $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'
15961 *) # Version 6 and above use weak symbols
15962 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
15963 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'
15967 hardcode_libdir_flag_spec_CXX
='$wl--rpath $wl$libdir'
15968 export_dynamic_flag_spec_CXX
='$wl--export-dynamic'
15969 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'
15973 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
15974 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'
15976 runpath_var
=LD_RUN_PATH
15977 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
15978 hardcode_libdir_separator_CXX
=:
15980 # Commands to make compiler produce verbose output that lists
15981 # what "hidden" libraries, object files and flags are used when
15982 # linking a shared library.
15984 # There doesn't appear to be a way to prevent this compiler from
15985 # explicitly linking system object files so we need to strip them
15986 # from the output so that they don't get included in the library
15988 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'
15990 xl
* | mpixl
* | bgxl
*)
15991 # IBM XL 8.0 on PPC, with GNU ld
15992 hardcode_libdir_flag_spec_CXX
='$wl-rpath $wl$libdir'
15993 export_dynamic_flag_spec_CXX
='$wl--export-dynamic'
15994 archive_cmds_CXX
='$CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
15995 if test yes = "$supports_anon_versioning"; then
15996 archive_expsym_cmds_CXX
='echo "{ global:" > $output_objdir/$libname.ver~
15997 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
15998 echo "local: *; };" >> $output_objdir/$libname.ver~
15999 $CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
16003 case `$CC -V 2>&1 | sed 5q` in
16006 no_undefined_flag_CXX
=' -zdefs'
16007 archive_cmds_CXX
='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
16008 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'
16009 hardcode_libdir_flag_spec_CXX
='-R$libdir'
16010 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'
16011 compiler_needs_object_CXX
=yes
16013 # Not sure whether something based on
16014 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
16016 output_verbose_link_cmd
='func_echo_all'
16018 # Archives containing C++ object files must be created using
16019 # "CC -xar", where "CC" is the Sun C++ compiler. This is
16020 # necessary to make sure instantiated templates are included
16022 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
16030 # FIXME: insert proper C++ library support
16035 # FIXME: insert proper C++ library support
16040 case $cc_basename in
16042 # FIXME: insert proper C++ library support
16046 # FIXME: insert proper C++ library support
16053 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
16054 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
16056 hardcode_libdir_flag_spec_CXX
='-R$libdir'
16057 hardcode_direct_CXX
=yes
16058 hardcode_shlibpath_var_CXX
=no
16060 # Workaround some broken pre-1.5 toolchains
16061 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
16068 openbsd
* | bitrig
*)
16069 if test -f /usr
/libexec
/ld.so
; then
16070 hardcode_direct_CXX
=yes
16071 hardcode_shlibpath_var_CXX
=no
16072 hardcode_direct_absolute_CXX
=yes
16073 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
16074 hardcode_libdir_flag_spec_CXX
='$wl-rpath,$libdir'
16075 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`"; then
16076 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-retain-symbols-file,$export_symbols -o $lib'
16077 export_dynamic_flag_spec_CXX
='$wl-E'
16078 whole_archive_flag_spec_CXX
=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
16080 output_verbose_link_cmd
=func_echo_all
16086 osf3
* | osf4
* | osf5
*)
16087 case $cc_basename in
16089 # Kuck and Associates, Inc. (KAI) C++ Compiler
16091 # KCC will only create a shared library if the output file
16092 # ends with ".so" (or ".sl" for HP-UX), so rename the library
16093 # to its proper name (with version) after linking.
16094 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'
16096 hardcode_libdir_flag_spec_CXX
='$wl-rpath,$libdir'
16097 hardcode_libdir_separator_CXX
=:
16099 # Archives containing C++ object files must be created using
16100 # the KAI C++ compiler.
16102 osf3
*) old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs' ;;
16103 *) old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs' ;;
16107 # Rational C++ 2.4.1
16108 # FIXME: insert proper C++ library support
16114 allow_undefined_flag_CXX
=' $wl-expect_unresolved $wl\*'
16115 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'
16116 hardcode_libdir_flag_spec_CXX
='$wl-rpath $wl$libdir'
16119 allow_undefined_flag_CXX
=' -expect_unresolved \*'
16120 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'
16121 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
16122 echo "-hidden">> $lib.exp~
16123 $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~
16125 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
16129 hardcode_libdir_separator_CXX
=:
16131 # Commands to make compiler produce verbose output that lists
16132 # what "hidden" libraries, object files and flags are used when
16133 # linking a shared library.
16135 # There doesn't appear to be a way to prevent this compiler from
16136 # explicitly linking system object files so we need to strip them
16137 # from the output so that they don't get included in the library
16139 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"'
16142 if test yes,no
= "$GXX,$with_gnu_ld"; then
16143 allow_undefined_flag_CXX
=' $wl-expect_unresolved $wl\*'
16146 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'
16149 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'
16153 hardcode_libdir_flag_spec_CXX
='$wl-rpath $wl$libdir'
16154 hardcode_libdir_separator_CXX
=:
16156 # Commands to make compiler produce verbose output that lists
16157 # what "hidden" libraries, object files and flags are used when
16158 # linking a shared library.
16159 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
16162 # FIXME: insert proper C++ library support
16170 # FIXME: insert proper C++ library support
16175 case $cc_basename in
16178 # FIXME: insert proper C++ library support
16183 # FIXME: insert proper C++ library support
16187 # FIXME: insert proper C++ library support
16194 case $cc_basename in
16196 # Sun C++ 4.2, 5.x and Centerline C++
16197 archive_cmds_need_lc_CXX
=yes
16198 no_undefined_flag_CXX
=' -zdefs'
16199 archive_cmds_CXX
='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
16200 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
16201 $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'
16203 hardcode_libdir_flag_spec_CXX
='-R$libdir'
16204 hardcode_shlibpath_var_CXX
=no
16206 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
16208 # The compiler driver will combine and reorder linker options,
16209 # but understands '-z linker_flag'.
16210 # Supported since Solaris 2.6 (maybe 2.5.1?)
16211 whole_archive_flag_spec_CXX
='-z allextract$convenience -z defaultextract'
16214 link_all_deplibs_CXX
=yes
16216 output_verbose_link_cmd
='func_echo_all'
16218 # Archives containing C++ object files must be created using
16219 # "CC -xar", where "CC" is the Sun C++ compiler. This is
16220 # necessary to make sure instantiated templates are included
16222 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
16225 # Green Hills C++ Compiler
16226 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
16228 # The C++ compiler must be used to create the archive.
16229 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
16232 # GNU C++ compiler with Solaris linker
16233 if test yes,no
= "$GXX,$with_gnu_ld"; then
16234 no_undefined_flag_CXX
=' $wl-z ${wl}defs'
16235 if $CC --version | $GREP -v '^2\.7' > /dev
/null
; then
16236 archive_cmds_CXX
='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
16237 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
16238 $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'
16240 # Commands to make compiler produce verbose output that lists
16241 # what "hidden" libraries, object files and flags are used when
16242 # linking a shared library.
16243 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
16245 # g++ 2.7 appears to require '-G' NOT '-shared' on this
16247 archive_cmds_CXX
='$CC -G -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
16248 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
16249 $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'
16251 # Commands to make compiler produce verbose output that lists
16252 # what "hidden" libraries, object files and flags are used when
16253 # linking a shared library.
16254 output_verbose_link_cmd
='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
16257 hardcode_libdir_flag_spec_CXX
='$wl-R $wl$libdir'
16259 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
16261 whole_archive_flag_spec_CXX
='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
16269 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
16270 no_undefined_flag_CXX
='$wl-z,text'
16271 archive_cmds_need_lc_CXX
=no
16272 hardcode_shlibpath_var_CXX
=no
16273 runpath_var
='LD_RUN_PATH'
16275 case $cc_basename in
16277 archive_cmds_CXX
='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16278 archive_expsym_cmds_CXX
='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16281 archive_cmds_CXX
='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16282 archive_expsym_cmds_CXX
='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16287 sysv5
* | sco3.2v5
* | sco5v6
*)
16288 # Note: We CANNOT use -z defs as we might desire, because we do not
16289 # link with -lc, and that would cause any symbols used from libc to
16290 # always be unresolved, which means just about no library would
16291 # ever link correctly. If we're not using GNU ld we use -z text
16292 # though, which does catch some bad symbols but isn't as heavy-handed
16294 no_undefined_flag_CXX
='$wl-z,text'
16295 allow_undefined_flag_CXX
='$wl-z,nodefs'
16296 archive_cmds_need_lc_CXX
=no
16297 hardcode_shlibpath_var_CXX
=no
16298 hardcode_libdir_flag_spec_CXX
='$wl-R,$libdir'
16299 hardcode_libdir_separator_CXX
=':'
16300 link_all_deplibs_CXX
=yes
16301 export_dynamic_flag_spec_CXX
='$wl-Bexport'
16302 runpath_var
='LD_RUN_PATH'
16304 case $cc_basename in
16306 archive_cmds_CXX
='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16307 archive_expsym_cmds_CXX
='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16308 old_archive_cmds_CXX
='$CC -Tprelink_objects $oldobjs~
16309 '"$old_archive_cmds_CXX"
16310 reload_cmds_CXX
='$CC -Tprelink_objects $reload_objs~
16311 '"$reload_cmds_CXX"
16314 archive_cmds_CXX
='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16315 archive_expsym_cmds_CXX
='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16321 case $cc_basename in
16323 # NonStop-UX NCC 3.20
16324 # FIXME: insert proper C++ library support
16328 # FIXME: insert proper C++ library support
16335 # FIXME: insert proper C++ library support
16340 # FIXME: insert proper C++ library support
16345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
16346 $as_echo "$ld_shlibs_CXX" >&6; }
16347 test no
= "$ld_shlibs_CXX" && can_build_shared
=no
16353 ## There is no encapsulation within the following macros, do not change
16354 ## the running order or otherwise move them around unless you know exactly
16355 ## what you are doing...
16356 # Dependencies to place before and after the object being linked:
16357 predep_objects_CXX
=
16358 postdep_objects_CXX
=
16361 compiler_lib_search_path_CXX
=
16363 cat > conftest.
$ac_ext <<_LT_EOF
16367 Foo (void) { a = 0; }
16374 _lt_libdeps_save_CFLAGS
=$CFLAGS
16375 case "$CC $CFLAGS " in #(
16376 *\
-flto*\
*) CFLAGS
="$CFLAGS -fno-lto" ;;
16377 *\
-fwhopr*\
*) CFLAGS
="$CFLAGS -fno-whopr" ;;
16378 *\
-fuse-linker-plugin*\
*) CFLAGS
="$CFLAGS -fno-use-linker-plugin" ;;
16381 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
16382 (eval $ac_compile) 2>&5
16384 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16385 test $ac_status = 0; }; then
16386 # Parse the compiler output and extract the necessary
16387 # objects, libraries and library flags.
16389 # Sentinel used to keep track of whether or not we are before
16390 # the conftest object file.
16391 pre_test_object_deps_done
=no
16393 for p
in `eval "$output_verbose_link_cmd"`; do
16397 # Some compilers place space between "-{L,R}" and the path.
16398 # Remove the space.
16399 if test x
-L = "$p" ||
16400 test x
-R = "$p"; then
16405 # Expand the sysroot to ease extracting the directories later.
16406 if test -z "$prev"; then
16408 -L*) func_stripname_cnf
'-L' '' "$p"; prev
=-L; p
=$func_stripname_result ;;
16409 -R*) func_stripname_cnf
'-R' '' "$p"; prev
=-R; p
=$func_stripname_result ;;
16410 -l*) func_stripname_cnf
'-l' '' "$p"; prev
=-l; p
=$func_stripname_result ;;
16414 =*) func_stripname_cnf
'=' '' "$p"; p
=$lt_sysroot$func_stripname_result ;;
16416 if test no
= "$pre_test_object_deps_done"; then
16419 # Internal compiler library paths should come after those
16420 # provided the user. The postdeps already come after the
16421 # user supplied libs so there is no need to process them.
16422 if test -z "$compiler_lib_search_path_CXX"; then
16423 compiler_lib_search_path_CXX
=$prev$p
16425 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} $prev$p"
16428 # The "-l" case would never come before the object being
16429 # linked, so don't bother handling this case.
16432 if test -z "$postdeps_CXX"; then
16433 postdeps_CXX
=$prev$p
16435 postdeps_CXX
="${postdeps_CXX} $prev$p"
16441 *.lto.
$objext) ;; # Ignore GCC LTO objects
16443 # This assumes that the test object file only shows up
16444 # once in the compiler output.
16445 if test "$p" = "conftest.$objext"; then
16446 pre_test_object_deps_done
=yes
16450 if test no
= "$pre_test_object_deps_done"; then
16451 if test -z "$predep_objects_CXX"; then
16452 predep_objects_CXX
=$p
16454 predep_objects_CXX
="$predep_objects_CXX $p"
16457 if test -z "$postdep_objects_CXX"; then
16458 postdep_objects_CXX
=$p
16460 postdep_objects_CXX
="$postdep_objects_CXX $p"
16465 *) ;; # Ignore the rest.
16473 echo "libtool.m4: error: problem compiling CXX test program"
16476 $RM -f confest.
$objext
16477 CFLAGS
=$_lt_libdeps_save_CFLAGS
16479 # PORTME: override above test on systems where it is broken
16482 # Interix 3.5 installs completely hosed .la files for C++, so rather than
16483 # hack all around it, let's just trust "g++" to DTRT.
16484 predep_objects_CXX
=
16485 postdep_objects_CXX
=
16491 case " $postdeps_CXX " in
16492 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
16494 compiler_lib_search_dirs_CXX
=
16495 if test -n "${compiler_lib_search_path_CXX}"; then
16496 compiler_lib_search_dirs_CXX
=`echo " ${compiler_lib_search_path_CXX}" | $SED -e 's! -L! !g' -e 's!^ !!'`
16529 lt_prog_compiler_wl_CXX
=
16530 lt_prog_compiler_pic_CXX
=
16531 lt_prog_compiler_static_CXX
=
16534 # C++ specific cases for pic, static, wl, etc.
16535 if test yes = "$GXX"; then
16536 lt_prog_compiler_wl_CXX
='-Wl,'
16537 lt_prog_compiler_static_CXX
='-static'
16541 # All AIX code is PIC.
16542 if test ia64
= "$host_cpu"; then
16543 # AIX 5 now supports IA64 processor
16544 lt_prog_compiler_static_CXX
='-Bstatic'
16546 lt_prog_compiler_pic_CXX
='-fPIC'
16552 # see comment about AmigaOS4 .so support
16553 lt_prog_compiler_pic_CXX
='-fPIC'
16556 # FIXME: we need at least 68020 code to build shared libraries, but
16557 # adding the '-m68020' flag to GCC prevents building anything better,
16559 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
16564 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
16565 # PIC is the default for these OSes.
16567 mingw
* | cygwin
* | os2
* | pw32
* | cegcc
*)
16568 # This hack is so that the source file can tell whether it is being
16569 # built for inclusion in a dll (and should export symbols for example).
16570 # Although the cygwin gcc ignores -fPIC, still need this for old-style
16571 # (--disable-auto-import) libraries
16572 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
16575 lt_prog_compiler_static_CXX
='$wl-static'
16579 darwin
* | rhapsody
*)
16580 # PIC is the default on this platform
16581 # Common symbols not allowed in MH_DYLIB files
16582 lt_prog_compiler_pic_CXX
='-fno-common'
16585 # DJGPP does not support shared libraries at all
16586 lt_prog_compiler_pic_CXX
=
16589 # PIC is the default for Haiku.
16590 # The "-static" flag exists, but is broken.
16591 lt_prog_compiler_static_CXX
=
16594 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
16595 # Instead, we relocate shared libraries at runtime.
16598 if test -d /usr
/nec
; then
16599 lt_prog_compiler_pic_CXX
=-Kconform_pic
16603 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
16604 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
16605 # sets the default TLS model and affects inlining.
16610 lt_prog_compiler_pic_CXX
='-fPIC'
16615 # QNX uses GNU C++, but need to define -shared option too, otherwise
16616 # it will coredump.
16617 lt_prog_compiler_pic_CXX
='-fPIC -shared'
16620 lt_prog_compiler_pic_CXX
='-fPIC'
16626 # All AIX code is PIC.
16627 if test ia64
= "$host_cpu"; then
16628 # AIX 5 now supports IA64 processor
16629 lt_prog_compiler_static_CXX
='-Bstatic'
16631 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
16635 case $cc_basename in
16637 # Green Hills C++ Compiler
16638 # _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"
16642 mingw
* | cygwin
* | os2
* | pw32
* | cegcc
*)
16643 # This hack is so that the source file can tell whether it is being
16644 # built for inclusion in a dll (and should export symbols for example).
16645 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
16648 case $cc_basename in
16650 lt_prog_compiler_pic_CXX
='-KPIC'
16653 # Green Hills C++ Compiler
16654 lt_prog_compiler_pic_CXX
='-pic'
16660 freebsd
* | dragonfly
*)
16661 # FreeBSD uses GNU C++
16663 hpux9
* | hpux10
* | hpux11
*)
16664 case $cc_basename in
16666 lt_prog_compiler_wl_CXX
='-Wl,'
16667 lt_prog_compiler_static_CXX
='$wl-a ${wl}archive'
16668 if test ia64
!= "$host_cpu"; then
16669 lt_prog_compiler_pic_CXX
='+Z'
16673 lt_prog_compiler_wl_CXX
='-Wl,'
16674 lt_prog_compiler_static_CXX
='$wl-a ${wl}archive'
16680 lt_prog_compiler_pic_CXX
='+Z'
16689 # This is c89, which is MS Visual C++ (no shared libs)
16690 # Anyone wants to do a port?
16692 irix5
* | irix6
* | nonstopux
*)
16693 case $cc_basename in
16695 lt_prog_compiler_wl_CXX
='-Wl,'
16696 lt_prog_compiler_static_CXX
='-non_shared'
16697 # CC pic flag -KPIC is the default.
16703 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
16704 case $cc_basename in
16707 lt_prog_compiler_wl_CXX
='--backend -Wl,'
16708 lt_prog_compiler_pic_CXX
='-fPIC'
16711 # old Intel C++ for x86_64, which still supported -KPIC.
16712 lt_prog_compiler_wl_CXX
='-Wl,'
16713 lt_prog_compiler_pic_CXX
='-KPIC'
16714 lt_prog_compiler_static_CXX
='-static'
16717 # Intel C++, used to be incompatible with GCC.
16718 # ICC 10 doesn't accept -KPIC any more.
16719 lt_prog_compiler_wl_CXX
='-Wl,'
16720 lt_prog_compiler_pic_CXX
='-fPIC'
16721 lt_prog_compiler_static_CXX
='-static'
16724 # Portland Group C++ compiler
16725 lt_prog_compiler_wl_CXX
='-Wl,'
16726 lt_prog_compiler_pic_CXX
='-fpic'
16727 lt_prog_compiler_static_CXX
='-Bstatic'
16731 # Make sure the PIC flag is empty. It appears that all Alpha
16732 # Linux and Compaq Tru64 Unix objects are PIC.
16733 lt_prog_compiler_pic_CXX
=
16734 lt_prog_compiler_static_CXX
='-non_shared'
16736 xlc
* | xlC
* | bgxl
[cC
]* | mpixl
[cC
]*)
16737 # IBM XL 8.0, 9.0 on PPC and BlueGene
16738 lt_prog_compiler_wl_CXX
='-Wl,'
16739 lt_prog_compiler_pic_CXX
='-qpic'
16740 lt_prog_compiler_static_CXX
='-qstaticlink'
16743 case `$CC -V 2>&1 | sed 5q` in
16746 lt_prog_compiler_pic_CXX
='-KPIC'
16747 lt_prog_compiler_static_CXX
='-Bstatic'
16748 lt_prog_compiler_wl_CXX
='-Qoption ld '
16759 case $cc_basename in
16761 lt_prog_compiler_pic_CXX
='-W c,exportall'
16770 # QNX uses GNU C++, but need to define -shared option too, otherwise
16771 # it will coredump.
16772 lt_prog_compiler_pic_CXX
='-fPIC -shared'
16774 osf3
* | osf4
* | osf5
*)
16775 case $cc_basename in
16777 lt_prog_compiler_wl_CXX
='--backend -Wl,'
16780 # Rational C++ 2.4.1
16781 lt_prog_compiler_pic_CXX
='-pic'
16784 # Digital/Compaq C++
16785 lt_prog_compiler_wl_CXX
='-Wl,'
16786 # Make sure the PIC flag is empty. It appears that all Alpha
16787 # Linux and Compaq Tru64 Unix objects are PIC.
16788 lt_prog_compiler_pic_CXX
=
16789 lt_prog_compiler_static_CXX
='-non_shared'
16798 case $cc_basename in
16800 # Sun C++ 4.2, 5.x and Centerline C++
16801 lt_prog_compiler_pic_CXX
='-KPIC'
16802 lt_prog_compiler_static_CXX
='-Bstatic'
16803 lt_prog_compiler_wl_CXX
='-Qoption ld '
16806 # Green Hills C++ Compiler
16807 lt_prog_compiler_pic_CXX
='-PIC'
16814 case $cc_basename in
16817 lt_prog_compiler_pic_CXX
='-pic'
16818 lt_prog_compiler_static_CXX
='-Bstatic'
16822 lt_prog_compiler_pic_CXX
='-pic'
16828 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
16829 case $cc_basename in
16831 lt_prog_compiler_wl_CXX
='-Wl,'
16832 lt_prog_compiler_pic_CXX
='-KPIC'
16833 lt_prog_compiler_static_CXX
='-Bstatic'
16838 case $cc_basename in
16840 # NonStop-UX NCC 3.20
16841 lt_prog_compiler_pic_CXX
='-KPIC'
16850 lt_prog_compiler_can_build_shared_CXX
=no
16856 # For platforms that do not support PIC, -DPIC is meaningless:
16858 lt_prog_compiler_pic_CXX
=
16861 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
16865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
16866 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
16867 if ${lt_cv_prog_compiler_pic_CXX+:} false
; then :
16868 $as_echo_n "(cached) " >&6
16870 lt_cv_prog_compiler_pic_CXX
=$lt_prog_compiler_pic_CXX
16872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
16873 $as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
16874 lt_prog_compiler_pic_CXX
=$lt_cv_prog_compiler_pic_CXX
16877 # Check to make sure the PIC flag actually works.
16879 if test -n "$lt_prog_compiler_pic_CXX"; then
16880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
16881 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
16882 if ${lt_cv_prog_compiler_pic_works_CXX+:} false
; then :
16883 $as_echo_n "(cached) " >&6
16885 lt_cv_prog_compiler_pic_works_CXX
=no
16886 ac_outfile
=conftest.
$ac_objext
16887 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
16888 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC" ## exclude from sc_useless_quotes_in_assignment
16889 # Insert the option either (1) after the last *FLAGS variable, or
16890 # (2) before a word containing "conftest.", or (3) at the end.
16891 # Note that $ac_compile itself does not contain backslashes and begins
16892 # with a dollar sign (not a hyphen), so the echo should work correctly.
16893 # The option is referenced via a variable to avoid confusing sed.
16894 lt_compile
=`echo "$ac_compile" | $SED \
16895 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16896 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16897 -e 's:$: $lt_compiler_flag:'`
16898 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
16899 (eval "$lt_compile" 2>conftest.err
)
16901 cat conftest.err
>&5
16902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16903 if (exit $ac_status) && test -s "$ac_outfile"; then
16904 # The compiler can only warn and ignore the option if not recognized
16905 # So say no if there are warnings other than the usual output.
16906 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
16907 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
16908 if test ! -s conftest.er2
|| diff conftest.exp conftest.er2
>/dev
/null
; then
16909 lt_cv_prog_compiler_pic_works_CXX
=yes
16915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
16916 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
16918 if test yes = "$lt_cv_prog_compiler_pic_works_CXX"; then
16919 case $lt_prog_compiler_pic_CXX in
16921 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
16924 lt_prog_compiler_pic_CXX
=
16925 lt_prog_compiler_can_build_shared_CXX
=no
16935 # Check to make sure the static flag actually works.
16937 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
16938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
16939 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
16940 if ${lt_cv_prog_compiler_static_works_CXX+:} false
; then :
16941 $as_echo_n "(cached) " >&6
16943 lt_cv_prog_compiler_static_works_CXX
=no
16944 save_LDFLAGS
=$LDFLAGS
16945 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
16946 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
16947 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
16948 # The linker can only warn and ignore the option if not recognized
16949 # So say no if there are warnings
16950 if test -s conftest.err
; then
16951 # Append any errors to the config.log.
16952 cat conftest.err
1>&5
16953 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
16954 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
16955 if diff conftest.exp conftest.er2
>/dev
/null
; then
16956 lt_cv_prog_compiler_static_works_CXX
=yes
16959 lt_cv_prog_compiler_static_works_CXX
=yes
16963 LDFLAGS
=$save_LDFLAGS
16966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
16967 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
16969 if test yes = "$lt_cv_prog_compiler_static_works_CXX"; then
16972 lt_prog_compiler_static_CXX
=
16978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
16979 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
16980 if ${lt_cv_prog_compiler_c_o_CXX+:} false
; then :
16981 $as_echo_n "(cached) " >&6
16983 lt_cv_prog_compiler_c_o_CXX
=no
16984 $RM -r conftest
2>/dev
/null
16988 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
16990 lt_compiler_flag
="-o out/conftest2.$ac_objext"
16991 # Insert the option either (1) after the last *FLAGS variable, or
16992 # (2) before a word containing "conftest.", or (3) at the end.
16993 # Note that $ac_compile itself does not contain backslashes and begins
16994 # with a dollar sign (not a hyphen), so the echo should work correctly.
16995 lt_compile
=`echo "$ac_compile" | $SED \
16996 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16997 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16998 -e 's:$: $lt_compiler_flag:'`
16999 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
17000 (eval "$lt_compile" 2>out
/conftest.err
)
17002 cat out
/conftest.err
>&5
17003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17004 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
17006 # The compiler can only warn and ignore the option if not recognized
17007 # So say no if there are warnings
17008 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out
/conftest.exp
17009 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
17010 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
17011 lt_cv_prog_compiler_c_o_CXX
=yes
17016 # SGI C++ compiler will create directory out/ii_files/ for
17017 # template instantiation
17018 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
17019 $RM out
/* && rmdir out
17025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
17026 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
17030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
17031 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
17032 if ${lt_cv_prog_compiler_c_o_CXX+:} false
; then :
17033 $as_echo_n "(cached) " >&6
17035 lt_cv_prog_compiler_c_o_CXX
=no
17036 $RM -r conftest
2>/dev
/null
17040 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
17042 lt_compiler_flag
="-o out/conftest2.$ac_objext"
17043 # Insert the option either (1) after the last *FLAGS variable, or
17044 # (2) before a word containing "conftest.", or (3) at the end.
17045 # Note that $ac_compile itself does not contain backslashes and begins
17046 # with a dollar sign (not a hyphen), so the echo should work correctly.
17047 lt_compile
=`echo "$ac_compile" | $SED \
17048 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17049 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17050 -e 's:$: $lt_compiler_flag:'`
17051 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
17052 (eval "$lt_compile" 2>out
/conftest.err
)
17054 cat out
/conftest.err
>&5
17055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17056 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
17058 # The compiler can only warn and ignore the option if not recognized
17059 # So say no if there are warnings
17060 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out
/conftest.exp
17061 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
17062 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
17063 lt_cv_prog_compiler_c_o_CXX
=yes
17068 # SGI C++ compiler will create directory out/ii_files/ for
17069 # template instantiation
17070 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
17071 $RM out
/* && rmdir out
17077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
17078 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
17083 hard_links
=nottested
17084 if test no
= "$lt_cv_prog_compiler_c_o_CXX" && test no
!= "$need_locks"; then
17085 # do not overwrite the value of need_locks provided by the user
17086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
17087 $as_echo_n "checking if we can lock with hard links... " >&6; }
17090 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
17092 ln conftest.a conftest.b
2>&5 || hard_links
=no
17093 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
17094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
17095 $as_echo "$hard_links" >&6; }
17096 if test no
= "$hard_links"; then
17097 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
17098 $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
17107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
17108 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
17110 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
17111 exclude_expsyms_CXX
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
17114 # If we're using GNU nm, then we don't want the "-C" option.
17115 # -C means demangle to GNU nm, but means don't demangle to AIX nm.
17116 # Without the "-l" option, or with the "-B" option, AIX nm treats
17117 # weak defined symbols like other global defined symbols, whereas
17118 # GNU nm marks them as "W".
17119 # While the 'weak' keyword is ignored in the Export File, we need
17120 # it in the Import File for the 'aix-soname' feature, so we have
17121 # to replace the "-B" option with "-P" for AIX nm.
17122 if $NM -V 2>&1 | $GREP 'GNU' > /dev
/null
; then
17123 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'
17125 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'
17129 export_symbols_cmds_CXX
=$ltdll_cmds
17131 cygwin
* | mingw
* | cegcc
*)
17132 case $cc_basename in
17134 exclude_expsyms_CXX
='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
17137 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'
17138 exclude_expsyms_CXX
='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
17143 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
17147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
17148 $as_echo "$ld_shlibs_CXX" >&6; }
17149 test no
= "$ld_shlibs_CXX" && can_build_shared
=no
17151 with_gnu_ld_CXX
=$with_gnu_ld
17159 # Do we need to explicitly link libc?
17161 case "x$archive_cmds_need_lc_CXX" in
17163 # Assume -lc should be added
17164 archive_cmds_need_lc_CXX
=yes
17166 if test yes,yes = "$GCC,$enable_shared"; then
17167 case $archive_cmds_CXX in
17169 # FIXME: we may have to deal with multi-command sequences.
17172 # Test whether the compiler implicitly links with -lc since on some
17173 # systems, -lgcc has to come before -lc. If gcc already passes -lc
17174 # to ld, don't add -lc before -lgcc.
17175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
17176 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
17177 if ${lt_cv_archive_cmds_need_lc_CXX+:} false
; then :
17178 $as_echo_n "(cached) " >&6
17181 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
17183 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
17184 (eval $ac_compile) 2>&5
17186 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17187 test $ac_status = 0; } 2>conftest.err
; then
17190 libobjs
=conftest.
$ac_objext
17192 wl
=$lt_prog_compiler_wl_CXX
17193 pic_flag
=$lt_prog_compiler_pic_CXX
17199 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
17200 allow_undefined_flag_CXX
=
17201 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
17202 (eval $archive_cmds_CXX 2\
>\
&1 \
| $GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
17204 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17205 test $ac_status = 0; }
17207 lt_cv_archive_cmds_need_lc_CXX
=no
17209 lt_cv_archive_cmds_need_lc_CXX
=yes
17211 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
17213 cat conftest.err
1>&5
17218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
17219 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
17220 archive_cmds_need_lc_CXX
=$lt_cv_archive_cmds_need_lc_CXX
17288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
17289 $as_echo_n "checking dynamic linker characteristics... " >&6; }
17291 library_names_spec
=
17292 libname_spec
='lib$name'
17296 postuninstall_cmds
=
17300 shlibpath_overrides_runpath
=unknown
17302 dynamic_linker
="$host_os ld.so"
17303 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
17304 need_lib_prefix
=unknown
17305 hardcode_into_libs
=no
17307 # when you set need_version to no, make sure it does not cause -set_version
17308 # flags to be left without arguments
17309 need_version
=unknown
17315 version_type
=linux
# correct to gnu/linux during the next big refactor
17316 library_names_spec
='$libname$release$shared_ext$versuffix $libname.a'
17317 shlibpath_var
=LIBPATH
17319 # AIX 3 has no versioning support, so we append a major version to the name.
17320 soname_spec
='$libname$release$shared_ext$major'
17324 version_type
=linux
# correct to gnu/linux during the next big refactor
17327 hardcode_into_libs
=yes
17328 if test ia64
= "$host_cpu"; then
17329 # AIX 5 supports IA64
17330 library_names_spec
='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
17331 shlibpath_var
=LD_LIBRARY_PATH
17333 # With GCC up to 2.95.x, collect2 would create an import file
17334 # for dependence libraries. The import file would start with
17335 # the line '#! .'. This would cause the generated library to
17336 # depend on '.', always an invalid library. This was fixed in
17337 # development snapshots of GCC prior to 3.0.
17339 aix4
| aix4.
[01] | aix4.
[01].
*)
17340 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
17342 echo '#endif'; } | $CC -E - | $GREP yes > /dev
/null
; then
17345 can_build_shared
=no
17349 # Using Import Files as archive members, it is possible to support
17350 # filename-based versioning of shared library archives on AIX. While
17351 # this would work for both with and without runtime linking, it will
17352 # prevent static linking of such archives. So we do filename-based
17353 # shared library versioning with .so extension only, which is used
17354 # when both runtime linking and shared linking is enabled.
17355 # Unfortunately, runtime linking may impact performance, so we do
17356 # not want this to be the default eventually. Also, we use the
17357 # versioned .so libs for executables only if there is the -brtl
17358 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
17359 # To allow for filename-based versioning support, we need to create
17360 # libNAME.so.V as an archive file, containing:
17361 # *) an Import File, referring to the versioned filename of the
17362 # archive as well as the shared archive member, telling the
17363 # bitwidth (32 or 64) of that shared object, and providing the
17364 # list of exported symbols of that shared object, eventually
17365 # decorated with the 'weak' keyword
17366 # *) the shared object with the F_LOADONLY flag set, to really avoid
17367 # it being seen by the linker.
17368 # At run time we better use the real file rather than another symlink,
17369 # but for link time we create the symlink libNAME.so -> libNAME.so.V
17371 case $with_aix_soname,$aix_use_runtimelinking in
17372 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
17373 # soname into executable. Probably we can add versioning support to
17374 # collect2, so additional links can be useful in future.
17375 aix
,yes) # traditional libtool
17376 dynamic_linker
='AIX unversionable lib.so'
17377 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
17378 # instead of lib<name>.a to let people know that these are not
17379 # typical AIX shared libraries.
17380 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17382 aix
,no
) # traditional AIX only
17383 dynamic_linker
='AIX lib.a(lib.so.V)'
17384 # We preserve .a as extension for shared libraries through AIX4.2
17385 # and later when we are not doing run time linking.
17386 library_names_spec
='$libname$release.a $libname.a'
17387 soname_spec
='$libname$release$shared_ext$major'
17389 svr4
,*) # full svr4 only
17390 dynamic_linker
="AIX lib.so.V($shared_archive_member_spec.o)"
17391 library_names_spec
='$libname$release$shared_ext$major $libname$shared_ext'
17392 # We do not specify a path in Import Files, so LIBPATH fires.
17393 shlibpath_overrides_runpath
=yes
17395 *,yes) # both, prefer svr4
17396 dynamic_linker
="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
17397 library_names_spec
='$libname$release$shared_ext$major $libname$shared_ext'
17398 # unpreferred sharedlib libNAME.a needs extra handling
17399 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"'
17400 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"'
17401 # We do not specify a path in Import Files, so LIBPATH fires.
17402 shlibpath_overrides_runpath
=yes
17404 *,no
) # both, prefer aix
17405 dynamic_linker
="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
17406 library_names_spec
='$libname$release.a $libname.a'
17407 soname_spec
='$libname$release$shared_ext$major'
17408 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
17409 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)'
17410 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"'
17413 shlibpath_var
=LIBPATH
17420 # Since July 2007 AmigaOS4 officially supports .so libraries.
17421 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
17422 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17425 library_names_spec
='$libname.ixlibrary $libname.a'
17426 # Create ${libname}_ixlibrary.a entries in /sys/libs.
17427 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'
17433 library_names_spec
='$libname$shared_ext'
17434 dynamic_linker
="$host_os ld.so"
17435 shlibpath_var
=LIBRARY_PATH
17439 version_type
=linux
# correct to gnu/linux during the next big refactor
17441 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17442 soname_spec
='$libname$release$shared_ext$major'
17443 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
17444 shlibpath_var
=LD_LIBRARY_PATH
17445 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
17446 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
17447 # the default ld.so.conf also contains /usr/contrib/lib and
17448 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
17449 # libtool to hard-code these into programs
17452 cygwin
* | mingw
* | pw32
* | cegcc
*)
17453 version_type
=windows
17458 case $GCC,$cc_basename in
17461 library_names_spec
='$libname.dll.a'
17462 # DLL is installed to $(libdir)/../bin by postinstall_cmds
17463 postinstall_cmds
='base_file=`basename \$file`~
17464 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
17465 dldir=$destdir/`dirname \$dlpath`~
17466 test -d \$dldir || mkdir -p \$dldir~
17467 $install_prog $dir/$dlname \$dldir/$dlname~
17468 chmod a+x \$dldir/$dlname~
17469 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
17470 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
17472 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
17473 dlpath=$dir/\$dldll~
17475 shlibpath_overrides_runpath
=yes
17479 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
17480 soname_spec
='`echo $libname | sed -e 's
/^lib
/cyg
/'``echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
17484 # MinGW DLLs use traditional 'lib' prefix
17485 soname_spec
='$libname`echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
17488 # pw32 DLLs use 'pw' prefix rather than 'lib'
17489 library_names_spec
='`echo $libname | sed -e 's
/^lib
/pw
/'``echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
17492 dynamic_linker
='Win32 ld.exe'
17497 libname_spec
='$name'
17498 soname_spec
='$libname`echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
17499 library_names_spec
='$libname.dll.lib'
17503 sys_lib_search_path_spec
=
17506 for lt_path
in $LIB
17509 # Let DOS variable expansion print the short 8.3 style file name.
17510 lt_path
=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
17511 sys_lib_search_path_spec
="$sys_lib_search_path_spec $lt_path"
17514 # Convert to MSYS style.
17515 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
17518 # Convert to unix form, then to dos form, then back to unix form
17519 # but this time dos style (no spaces!) so that the unix form looks
17520 # like /cygdrive/c/PROGRA~1:/cygdr...
17521 sys_lib_search_path_spec
=`cygpath --path --unix "$LIB"`
17522 sys_lib_search_path_spec
=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
17523 sys_lib_search_path_spec
=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
17526 sys_lib_search_path_spec
=$LIB
17527 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev
/null
; then
17528 # It is most probably a Windows format PATH.
17529 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
17531 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
17533 # FIXME: find the short name or the path components, as spaces are
17534 # common. (e.g. "Program Files" -> "PROGRA~1")
17538 # DLL is installed to $(libdir)/../bin by postinstall_cmds
17539 postinstall_cmds
='base_file=`basename \$file`~
17540 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
17541 dldir=$destdir/`dirname \$dlpath`~
17542 test -d \$dldir || mkdir -p \$dldir~
17543 $install_prog $dir/$dlname \$dldir/$dlname'
17544 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
17545 dlpath=$dir/\$dldll~
17547 shlibpath_overrides_runpath
=yes
17548 dynamic_linker
='Win32 link.exe'
17552 # Assume MSVC wrapper
17553 library_names_spec
='$libname`echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext $libname.lib'
17554 dynamic_linker
='Win32 ld.exe'
17557 # FIXME: first we should search . and the directory the executable is in
17561 darwin
* | rhapsody
*)
17562 dynamic_linker
="$host_os dyld"
17563 version_type
=darwin
17566 library_names_spec
='$libname$release$major$shared_ext $libname$shared_ext'
17567 soname_spec
='$libname$release$major$shared_ext'
17568 shlibpath_overrides_runpath
=yes
17569 shlibpath_var
=DYLD_LIBRARY_PATH
17570 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
17572 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
17576 version_type
=linux
# correct to gnu/linux during the next big refactor
17579 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17580 soname_spec
='$libname$release$shared_ext$major'
17581 shlibpath_var
=LD_LIBRARY_PATH
17584 freebsd
* | dragonfly
*)
17585 # DragonFly does not have aout. When/if they implement a new
17586 # versioning mechanism, adjust this.
17587 if test -x /usr
/bin
/objformat
; then
17588 objformat
=`/usr/bin/objformat`
17591 freebsd
[23].
*) objformat
=aout
;;
17592 *) objformat
=elf
;;
17595 version_type
=freebsd
-$objformat
17596 case $version_type in
17598 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17599 soname_spec
='$libname$release$shared_ext$major'
17604 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
17608 shlibpath_var
=LD_LIBRARY_PATH
17611 shlibpath_overrides_runpath
=yes
17613 freebsd3.
[01]* | freebsdelf3.
[01]*)
17614 shlibpath_overrides_runpath
=yes
17615 hardcode_into_libs
=yes
17617 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
17618 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
17619 shlibpath_overrides_runpath
=no
17620 hardcode_into_libs
=yes
17622 *) # from 4.6 on, and DragonFly
17623 shlibpath_overrides_runpath
=yes
17624 hardcode_into_libs
=yes
17630 version_type
=linux
# correct to gnu/linux during the next big refactor
17633 dynamic_linker
="$host_os runtime_loader"
17634 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17635 soname_spec
='$libname$release$shared_ext$major'
17636 shlibpath_var
=LIBRARY_PATH
17637 shlibpath_overrides_runpath
=no
17638 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
17639 hardcode_into_libs
=yes
17642 hpux9
* | hpux10
* | hpux11
*)
17643 # Give a soname corresponding to the major version so that dld.sl refuses to
17644 # link against other versions.
17651 hardcode_into_libs
=yes
17652 dynamic_linker
="$host_os dld.so"
17653 shlibpath_var
=LD_LIBRARY_PATH
17654 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
17655 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17656 soname_spec
='$libname$release$shared_ext$major'
17657 if test 32 = "$HPUX_IA64_MODE"; then
17658 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
17659 sys_lib_dlsearch_path_spec
=/usr
/lib
/hpux32
17661 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
17662 sys_lib_dlsearch_path_spec
=/usr
/lib
/hpux64
17667 hardcode_into_libs
=yes
17668 dynamic_linker
="$host_os dld.sl"
17669 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
17670 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
17671 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17672 soname_spec
='$libname$release$shared_ext$major'
17673 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
17674 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
17678 dynamic_linker
="$host_os dld.sl"
17679 shlibpath_var
=SHLIB_PATH
17680 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
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'
17685 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
17686 postinstall_cmds
='chmod 555 $lib'
17687 # or fails outright, so override atomically:
17688 install_override_mode
=555
17692 version_type
=linux
# correct to gnu/linux during the next big refactor
17695 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17696 soname_spec
='$libname$release$shared_ext$major'
17697 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
17698 shlibpath_var
=LD_LIBRARY_PATH
17699 shlibpath_overrides_runpath
=no
17700 hardcode_into_libs
=yes
17703 irix5
* | irix6
* | nonstopux
*)
17705 nonstopux
*) version_type
=nonstopux
;;
17707 if test yes = "$lt_cv_prog_gnu_ld"; then
17708 version_type
=linux
# correct to gnu/linux during the next big refactor
17715 soname_spec
='$libname$release$shared_ext$major'
17716 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
17718 irix5
* | nonstopux
*)
17719 libsuff
= shlibsuff
=
17722 case $LD in # libtool.m4 will add one of these switches to LD
17723 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
17724 libsuff
= shlibsuff
= libmagic
=32-bit;;
17725 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
17726 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
17727 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
17728 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
17729 *) libsuff
= shlibsuff
= libmagic
=never
-match;;
17733 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
17734 shlibpath_overrides_runpath
=no
17735 sys_lib_search_path_spec
="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
17736 sys_lib_dlsearch_path_spec
="/usr/lib$libsuff /lib$libsuff"
17737 hardcode_into_libs
=yes
17740 # No shared lib support for Linux oldld, aout, or coff.
17741 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
17746 version_type
=none
# Android doesn't support versioned libraries.
17749 library_names_spec
='$libname$release$shared_ext'
17750 soname_spec
='$libname$release$shared_ext'
17752 shlibpath_var
=LD_LIBRARY_PATH
17753 shlibpath_overrides_runpath
=yes
17755 # This implies no fast_install, which is unacceptable.
17756 # Some rework will be needed to allow for fast_install
17757 # before this can be enabled.
17758 hardcode_into_libs
=yes
17760 dynamic_linker
='Android linker'
17761 # Don't embed -rpath directories since the linker doesn't support them.
17762 hardcode_libdir_flag_spec_CXX
='-L$libdir'
17765 # This must be glibc/ELF.
17766 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
17767 version_type
=linux
# correct to gnu/linux during the next big refactor
17770 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17771 soname_spec
='$libname$release$shared_ext$major'
17772 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
17773 shlibpath_var
=LD_LIBRARY_PATH
17774 shlibpath_overrides_runpath
=no
17776 # Some binutils ld are patched to set DT_RUNPATH
17777 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
17778 $as_echo_n "(cached) " >&6
17780 lt_cv_shlibpath_overrides_runpath
=no
17781 save_LDFLAGS
=$LDFLAGS
17782 save_libdir
=$libdir
17783 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
17784 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
17785 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17786 /* end confdefs.h. */
17796 if ac_fn_cxx_try_link
"$LINENO"; then :
17797 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null
| grep "RUNPATH.*$libdir" >/dev
/null
; then :
17798 lt_cv_shlibpath_overrides_runpath
=yes
17801 rm -f core conftest.err conftest.
$ac_objext \
17802 conftest
$ac_exeext conftest.
$ac_ext
17803 LDFLAGS
=$save_LDFLAGS
17804 libdir
=$save_libdir
17808 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
17810 # This implies no fast_install, which is unacceptable.
17811 # Some rework will be needed to allow for fast_install
17812 # before this can be enabled.
17813 hardcode_into_libs
=yes
17815 # Ideally, we could use ldconfig to report *all* directores which are
17816 # searched for libraries, however this is still not possible. Aside from not
17817 # being certain /sbin/ldconfig is available, command
17818 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
17819 # even though it is searched at run-time. Try to do the best guess by
17820 # appending ld.so.conf contents (and includes) to the search path.
17821 if test -f /etc
/ld.so.conf
; then
17822 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' ' '`
17823 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
17826 # We used to test for /lib/ld.so.1 and disable shared libraries on
17827 # powerpc, because MkLinux only supported shared libraries with the
17828 # GNU dynamic linker. Since this was broken with cross compilers,
17829 # most powerpc-linux boxes support dynamic linking these days and
17830 # people can always --disable-shared, the test was removed, and we
17831 # assume the GNU/Linux dynamic linker is in use.
17832 dynamic_linker
='GNU/Linux ld.so'
17839 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
17840 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
17841 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17842 dynamic_linker
='NetBSD (a.out) ld.so'
17844 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17845 soname_spec
='$libname$release$shared_ext$major'
17846 dynamic_linker
='NetBSD ld.elf_so'
17848 shlibpath_var
=LD_LIBRARY_PATH
17849 shlibpath_overrides_runpath
=yes
17850 hardcode_into_libs
=yes
17854 version_type
=linux
# correct to gnu/linux during the next big refactor
17855 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17856 shlibpath_var
=LD_LIBRARY_PATH
17857 shlibpath_overrides_runpath
=yes
17864 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17865 soname_spec
='$libname$release$shared_ext$major'
17866 shlibpath_var
=LD_LIBRARY_PATH
17867 shlibpath_overrides_runpath
=no
17868 hardcode_into_libs
=yes
17869 dynamic_linker
='ldqnx.so'
17872 openbsd
* | bitrig
*)
17874 sys_lib_dlsearch_path_spec
=/usr
/lib
17876 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
17881 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
17882 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17883 shlibpath_var
=LD_LIBRARY_PATH
17884 shlibpath_overrides_runpath
=yes
17888 libname_spec
='$name'
17889 version_type
=windows
17893 # OS/2 can only load a DLL with a base name of 8 characters or less.
17894 soname_spec
='`test -n "$os2dllname" && libname="$os2dllname";
17895 v=$($ECHO $release$versuffix | tr -d .-);
17896 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
17897 $ECHO $n$v`$shared_ext'
17898 library_names_spec
='${libname}_dll.$libext'
17899 dynamic_linker
='OS/2 ld.exe'
17900 shlibpath_var
=BEGINLIBPATH
17901 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
17902 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
17903 postinstall_cmds
='base_file=`basename \$file`~
17904 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
17905 dldir=$destdir/`dirname \$dlpath`~
17906 test -d \$dldir || mkdir -p \$dldir~
17907 $install_prog $dir/$dlname \$dldir/$dlname~
17908 chmod a+x \$dldir/$dlname~
17909 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
17910 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
17912 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
17913 dlpath=$dir/\$dldll~
17917 osf3
* | osf4
* | osf5
*)
17921 soname_spec
='$libname$release$shared_ext$major'
17922 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17923 shlibpath_var
=LD_LIBRARY_PATH
17924 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
17925 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
17933 version_type
=linux
# correct to gnu/linux during the next big refactor
17936 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17937 soname_spec
='$libname$release$shared_ext$major'
17938 shlibpath_var
=LD_LIBRARY_PATH
17939 shlibpath_overrides_runpath
=yes
17940 hardcode_into_libs
=yes
17941 # ldd complains unless libraries are executable
17942 postinstall_cmds
='chmod +x $lib'
17947 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
17948 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
17949 shlibpath_var
=LD_LIBRARY_PATH
17950 shlibpath_overrides_runpath
=yes
17951 if test yes = "$with_gnu_ld"; then
17958 version_type
=linux
# correct to gnu/linux during the next big refactor
17959 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17960 soname_spec
='$libname$release$shared_ext$major'
17961 shlibpath_var
=LD_LIBRARY_PATH
17962 case $host_vendor in
17964 shlibpath_overrides_runpath
=no
17966 runpath_var
=LD_RUN_PATH
17974 shlibpath_overrides_runpath
=no
17975 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
17981 if test -d /usr
/nec
; then
17982 version_type
=linux
# correct to gnu/linux during the next big refactor
17983 library_names_spec
='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
17984 soname_spec
='$libname$shared_ext.$major'
17985 shlibpath_var
=LD_LIBRARY_PATH
17989 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
17993 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
17994 soname_spec
='$libname$release$shared_ext$major'
17995 shlibpath_var
=LD_LIBRARY_PATH
17996 shlibpath_overrides_runpath
=yes
17997 hardcode_into_libs
=yes
17998 if test yes = "$with_gnu_ld"; then
17999 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
18001 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
18004 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
18008 sys_lib_dlsearch_path_spec
='/usr/lib'
18012 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
18013 version_type
=linux
# correct to gnu/linux during the next big refactor
18016 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
18017 shlibpath_var
=LD_LIBRARY_PATH
18018 shlibpath_overrides_runpath
=no
18019 hardcode_into_libs
=yes
18023 version_type
=linux
# correct to gnu/linux during the next big refactor
18024 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
18025 soname_spec
='$libname$release$shared_ext$major'
18026 shlibpath_var
=LD_LIBRARY_PATH
18033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
18034 $as_echo "$dynamic_linker" >&6; }
18035 test no
= "$dynamic_linker" && can_build_shared
=no
18037 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
18038 if test yes = "$GCC"; then
18039 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
18042 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
18043 sys_lib_search_path_spec
=$lt_cv_sys_lib_search_path_spec
18046 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
18047 sys_lib_dlsearch_path_spec
=$lt_cv_sys_lib_dlsearch_path_spec
18050 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
18051 configure_time_dlsearch_path
=$sys_lib_dlsearch_path_spec
18053 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
18054 func_munge_path_list sys_lib_dlsearch_path_spec
"$LT_SYS_LIBRARY_PATH"
18056 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
18057 configure_time_lt_sys_library_path
=$LT_SYS_LIBRARY_PATH
18098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
18099 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
18100 hardcode_action_CXX
=
18101 if test -n "$hardcode_libdir_flag_spec_CXX" ||
18102 test -n "$runpath_var_CXX" ||
18103 test yes = "$hardcode_automatic_CXX"; then
18105 # We can hardcode non-existent directories.
18106 if test no
!= "$hardcode_direct_CXX" &&
18107 # If the only mechanism to avoid hardcoding is shlibpath_var, we
18108 # have to relink, otherwise we might link with an installed library
18109 # when we should be linking with a yet-to-be-installed one
18110 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" &&
18111 test no
!= "$hardcode_minus_L_CXX"; then
18112 # Linking always hardcodes the temporary library directory.
18113 hardcode_action_CXX
=relink
18115 # We can link without hardcoding, and we can hardcode nonexisting dirs.
18116 hardcode_action_CXX
=immediate
18119 # We cannot hardcode anything, or else we can only hardcode existing
18121 hardcode_action_CXX
=unsupported
18123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
18124 $as_echo "$hardcode_action_CXX" >&6; }
18126 if test relink
= "$hardcode_action_CXX" ||
18127 test yes = "$inherit_rpath_CXX"; then
18128 # Fast installation is not supported
18129 enable_fast_install
=no
18130 elif test yes = "$shlibpath_overrides_runpath" ||
18131 test no
= "$enable_shared"; then
18132 # Fast installation is not necessary
18133 enable_fast_install
=needless
18142 fi # test -n "$compiler"
18145 CFLAGS
=$lt_save_CFLAGS
18149 with_gnu_ld
=$lt_save_with_gnu_ld
18150 lt_cv_path_LDCXX
=$lt_cv_path_LD
18151 lt_cv_path_LD
=$lt_save_path_LD
18152 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
18153 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
18154 fi # test yes != "$_lt_caught_CXX_error"
18157 ac_cpp
='$CPP $CPPFLAGS'
18158 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18159 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18160 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18176 ac_config_commands
="$ac_config_commands libtool"
18181 # Only expand once:
18186 ac_cpp
='$CXXCPP $CPPFLAGS'
18187 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18188 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18189 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18192 ax_cxx_compile_cxx11_required
=true
18194 ac_cpp
='$CXXCPP $CPPFLAGS'
18195 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18196 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18197 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX supports C++11 features by default" >&5
18200 $as_echo_n "checking whether $CXX supports C++11 features by default... " >&6; }
18201 if ${ax_cv_cxx_compile_cxx11+:} false
; then :
18202 $as_echo_n "(cached) " >&6
18204 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18205 /* end confdefs.h. */
18207 template <typename T>
18210 static_assert(sizeof(int) <= sizeof(T), "not big enough");
18214 virtual void f() {}
18216 struct Child : public Base {
18217 virtual void f() override {}
18220 typedef check<check<bool>> right_angle_brackets;
18225 typedef check<int> check_type;
18227 check_type&& cr = static_cast<check_type&&>(c);
18233 if ac_fn_cxx_try_compile
"$LINENO"; then :
18234 ax_cv_cxx_compile_cxx11
=yes
18236 ax_cv_cxx_compile_cxx11
=no
18238 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_cxx_compile_cxx11" >&5
18241 $as_echo "$ax_cv_cxx_compile_cxx11" >&6; }
18242 if test x
$ax_cv_cxx_compile_cxx11 = xyes
; then
18246 if test x
$ac_success = xno
; then
18247 for switch
in -std=gnu
++11 -std=gnu
++0x
; do
18248 cachevar
=`$as_echo "ax_cv_cxx_compile_cxx11_$switch" | $as_tr_sh`
18249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX supports C++11 features with $switch" >&5
18250 $as_echo_n "checking whether $CXX supports C++11 features with $switch... " >&6; }
18251 if eval \
${$cachevar+:} false
; then :
18252 $as_echo_n "(cached) " >&6
18254 ac_save_CXXFLAGS
="$CXXFLAGS"
18255 CXXFLAGS
="$CXXFLAGS $switch"
18256 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18257 /* end confdefs.h. */
18259 template <typename T>
18262 static_assert(sizeof(int) <= sizeof(T), "not big enough");
18266 virtual void f() {}
18268 struct Child : public Base {
18269 virtual void f() override {}
18272 typedef check<check<bool>> right_angle_brackets;
18277 typedef check<int> check_type;
18279 check_type&& cr = static_cast<check_type&&>(c);
18285 if ac_fn_cxx_try_compile
"$LINENO"; then :
18290 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18291 CXXFLAGS
="$ac_save_CXXFLAGS"
18293 eval ac_res
=\$
$cachevar
18294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
18295 $as_echo "$ac_res" >&6; }
18296 if eval test x\$
$cachevar = xyes
; then
18297 CXXFLAGS
="$CXXFLAGS $switch"
18306 ac_cpp
='$CXXCPP $CPPFLAGS'
18307 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18308 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18309 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18311 if test x
$ax_cxx_compile_cxx11_required = xtrue
; then
18312 if test x
$ac_success = xno
; then
18313 as_fn_error $?
"*** A compiler with support for C++11 language features is required." "$LINENO" 5
18316 if test x
$ac_success = xno
; then
18318 { $as_echo "$as_me:${as_lineno-$LINENO}: No compiler with C++11 support was found" >&5
18319 $as_echo "$as_me: No compiler with C++11 support was found" >&6;}
18323 $as_echo "#define HAVE_CXX11 1" >>confdefs.h
18330 OBJCXXFLAGS
="${OBJCXXFLAGS} ${CXXFLAGS##*' '}"
18339 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
18340 if test -n "$ac_tool_prefix"; then
18341 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
18342 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
18343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18344 $as_echo_n "checking for $ac_word... " >&6; }
18345 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
18346 $as_echo_n "(cached) " >&6
18348 case $PKG_CONFIG in
18350 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
18353 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18354 for as_dir
in $PATH
18357 test -z "$as_dir" && as_dir
=.
18358 for ac_exec_ext
in '' $ac_executable_extensions; do
18359 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
18360 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
18361 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18371 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
18372 if test -n "$PKG_CONFIG"; then
18373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
18374 $as_echo "$PKG_CONFIG" >&6; }
18376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18377 $as_echo "no" >&6; }
18382 if test -z "$ac_cv_path_PKG_CONFIG"; then
18383 ac_pt_PKG_CONFIG
=$PKG_CONFIG
18384 # Extract the first word of "pkg-config", so it can be a program name with args.
18385 set dummy pkg
-config; ac_word
=$2
18386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18387 $as_echo_n "checking for $ac_word... " >&6; }
18388 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
18389 $as_echo_n "(cached) " >&6
18391 case $ac_pt_PKG_CONFIG in
18393 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
18396 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18397 for as_dir
in $PATH
18400 test -z "$as_dir" && as_dir
=.
18401 for ac_exec_ext
in '' $ac_executable_extensions; do
18402 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
18403 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
18404 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18414 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
18415 if test -n "$ac_pt_PKG_CONFIG"; then
18416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
18417 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
18419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18420 $as_echo "no" >&6; }
18423 if test "x$ac_pt_PKG_CONFIG" = x
; then
18426 case $cross_compiling:$ac_tool_warned in
18428 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
18429 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
18430 ac_tool_warned
=yes ;;
18432 PKG_CONFIG
=$ac_pt_PKG_CONFIG
18435 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
18439 if test -n "$PKG_CONFIG"; then
18440 _pkg_min_version
=0.22
18441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
18442 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
18443 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
18444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18445 $as_echo "yes" >&6; }
18447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18448 $as_echo "no" >&6; }
18453 # Extract the first word of "git", so it can be a program name with args.
18454 set dummy git
; ac_word
=$2
18455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18456 $as_echo_n "checking for $ac_word... " >&6; }
18457 if ${ac_cv_path_GIT+:} false
; then :
18458 $as_echo_n "(cached) " >&6
18462 ac_cv_path_GIT
="$GIT" # Let the user override the test with a path.
18465 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18466 for as_dir
in $PATH
18469 test -z "$as_dir" && as_dir
=.
18470 for ac_exec_ext
in '' $ac_executable_extensions; do
18471 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
18472 ac_cv_path_GIT
="$as_dir/$ac_word$ac_exec_ext"
18473 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18483 GIT
=$ac_cv_path_GIT
18484 if test -n "$GIT"; then
18485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GIT" >&5
18486 $as_echo "$GIT" >&6; }
18488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18489 $as_echo "no" >&6; }
18493 # Extract the first word of "time", so it can be a program name with args.
18494 set dummy
time; ac_word
=$2
18495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18496 $as_echo_n "checking for $ac_word... " >&6; }
18497 if ${ac_cv_path_TIME+:} false
; then :
18498 $as_echo_n "(cached) " >&6
18502 ac_cv_path_TIME
="$TIME" # Let the user override the test with a path.
18505 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18506 for as_dir
in $PATH
18509 test -z "$as_dir" && as_dir
=.
18510 for ac_exec_ext
in '' $ac_executable_extensions; do
18511 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
18512 ac_cv_path_TIME
="$as_dir/$ac_word$ac_exec_ext"
18513 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18523 TIME
=$ac_cv_path_TIME
18524 if test -n "$TIME"; then
18525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TIME" >&5
18526 $as_echo "$TIME" >&6; }
18528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18529 $as_echo "no" >&6; }
18538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bison >= 3.0" >&5
18539 $as_echo_n "checking for bison >= 3.0... " >&6; }
18540 if test -z "$BISON"; then
18541 ac_path_BISON_found
=false
18542 # Loop through the user's path and test for each of PROGNAME-LIST
18543 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18544 for as_dir
in $PATH
18547 test -z "$as_dir" && as_dir
=.
18548 for ac_prog
in bison
; do
18549 for ac_exec_ext
in '' $ac_executable_extensions; do
18550 ac_path_BISON
="$as_dir/$ac_prog$ac_exec_ext"
18551 as_fn_executable_p
"$ac_path_BISON" || continue
18552 version
=`$ac_path_BISON -V | $SED -e '1 s/^bison (GNU Bison) \(.*\)$/\1/p;d'`
18553 if ${version:+false} :; then :
18556 as_awk_strverscmp
='
18557 # Use only awk features that work with 7th edition Unix awk (1978).
18558 # My, what an old awk you have, Mr. Solaris!
18560 while (length(v1) && length(v2)) {
18561 # Set d1 to be the next thing to compare from v1, and likewise for d2.
18562 # Normally this is a single character, but if v1 and v2 contain digits,
18563 # compare them as integers and fractions as strverscmp does.
18564 if (v1 ~ /^0-9/ && v2 ~ /^0-9/) {
18565 # Split v1 and v2 into their leading digit string components d1 and d2,
18566 # and advance v1 and v2 past the leading digit strings.
18567 for (len1 = 1; substr(v1, len1 + 1) ~ /^0-9/; len1++) continue
18568 for (len2 = 1; substr(v2, len2 + 1) ~ /^0-9/; len2++) continue
18569 d1 = substr(v1, 1, len1); v1 = substr(v1, len1 + 1)
18570 d2 = substr(v2, 1, len2); v2 = substr(v2, len2 + 1)
18573 # Compare two fractions.
18574 while (d1 ~ /^0/ && d2 ~ /^0/) {
18575 d1 = substr(d1, 2); len1--
18576 d2 = substr(d2, 2); len2--
18578 if (len1 != len2 && ! (len1 && len2 && substr(d1, 1, 1) == substr(d2, 1, 1))) {
18579 # The two components differ in length, and the common prefix
18580 # contains only leading zeros. Consider the longer to be less.
18584 # Otherwise, compare as strings.
18589 # A fraction is less than an integer.
18594 # An integer is greater than a fraction.
18597 # Compare two integers.
18603 # The normal case, without worrying about digits.
18604 d1 = substr(v1, 1, 1); v1 = substr(v1, 2)
18605 d2 = substr(v2, 1, 1); v2 = substr(v2, 2)
18607 if (d1 < d2) exit 1
18608 if (d1 > d2) exit 2
18610 # Beware Solaris /usr/xgp4/bin/awk (at least through Solaris 10),
18611 # which mishandles some comparisons of empty strings to integers.
18612 if (length(v2)) exit 1
18613 if (length(v1)) exit 2
18618 awk "$as_awk_strverscmp" v1
="$as_arg_v1" v2
="$as_arg_v2" /dev
/null
18623 ac_cv_path_BISON
=$ac_path_BISON ;; #(
18625 ac_cv_path_BISON
=$ac_path_BISON ;; #(
18631 $ac_path_BISON_found && break 3
18636 if test -z "$ac_cv_path_BISON"; then
18637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18638 $as_echo "no" >&6; }
18641 ac_cv_path_BISON
=$BISON
18647 BISON
=$ac_cv_path_BISON
18649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
18650 $as_echo "$BISON" >&6; }
18655 as_fn_error $?
"You need bison 3.0 or greater" "$LINENO" 5
18661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18662 $as_echo "no" >&6; }
18670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for flex >= 2.5.33" >&5
18671 $as_echo_n "checking for flex >= 2.5.33... " >&6; }
18672 if test -z "$FLEX"; then
18673 ac_path_FLEX_found
=false
18674 # Loop through the user's path and test for each of PROGNAME-LIST
18675 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18676 for as_dir
in $PATH
18679 test -z "$as_dir" && as_dir
=.
18680 for ac_prog
in flex
; do
18681 for ac_exec_ext
in '' $ac_executable_extensions; do
18682 ac_path_FLEX
="$as_dir/$ac_prog$ac_exec_ext"
18683 as_fn_executable_p
"$ac_path_FLEX" || continue
18684 version
=`$ac_path_FLEX --version | $SED -e '1 s/^[^0-9.]* \([0-9.]*\).*$/\1/p;d'`
18685 if ${version:+false} :; then :
18690 awk "$as_awk_strverscmp" v1
="$as_arg_v1" v2
="$as_arg_v2" /dev
/null
18695 ac_cv_path_FLEX
=$ac_path_FLEX ;; #(
18697 ac_cv_path_FLEX
=$ac_path_FLEX ;; #(
18703 $ac_path_FLEX_found && break 3
18708 if test -z "$ac_cv_path_FLEX"; then
18709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18710 $as_echo "no" >&6; }
18713 ac_cv_path_FLEX
=$FLEX
18719 FLEX
=$ac_cv_path_FLEX
18721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
18722 $as_echo "$FLEX" >&6; }
18727 as_fn_error $?
"You need flex 2.5.33 or greater" "$LINENO" 5
18733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18734 $as_echo "no" >&6; }
18742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gperf >= 3.0.3" >&5
18743 $as_echo_n "checking for gperf >= 3.0.3... " >&6; }
18744 if test -z "$GPERF"; then
18745 ac_path_GPERF_found
=false
18746 # Loop through the user's path and test for each of PROGNAME-LIST
18747 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18748 for as_dir
in $PATH
18751 test -z "$as_dir" && as_dir
=.
18752 for ac_prog
in gperf
; do
18753 for ac_exec_ext
in '' $ac_executable_extensions; do
18754 ac_path_GPERF
="$as_dir/$ac_prog$ac_exec_ext"
18755 as_fn_executable_p
"$ac_path_GPERF" || continue
18756 version
=`$ac_path_GPERF --version | $SED -e '1 s/^.* \([0-9.]*\)$/\1/p;d'`
18757 if ${version:+false} :; then :
18762 awk "$as_awk_strverscmp" v1
="$as_arg_v1" v2
="$as_arg_v2" /dev
/null
18767 ac_cv_path_GPERF
=$ac_path_GPERF ;; #(
18769 ac_cv_path_GPERF
=$ac_path_GPERF ;; #(
18775 $ac_path_GPERF_found && break 3
18780 if test -z "$ac_cv_path_GPERF"; then
18781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18782 $as_echo "no" >&6; }
18785 ac_cv_path_GPERF
=$GPERF
18791 GPERF
=$ac_cv_path_GPERF
18793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GPERF" >&5
18794 $as_echo "$GPERF" >&6; }
18799 as_fn_error $?
"You need gperf 3.0.3 or greater" "$LINENO" 5
18805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18806 $as_echo "no" >&6; }
18814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tar gtar gnutar >= 1.19" >&5
18815 $as_echo_n "checking for tar gtar gnutar >= 1.19... " >&6; }
18816 if test -z "$GNUTAR"; then
18817 ac_path_GNUTAR_found
=false
18818 # Loop through the user's path and test for each of PROGNAME-LIST
18819 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18820 for as_dir
in $PATH
18823 test -z "$as_dir" && as_dir
=.
18824 for ac_prog
in tar gtar gnutar
; do
18825 for ac_exec_ext
in '' $ac_executable_extensions; do
18826 ac_path_GNUTAR
="$as_dir/$ac_prog$ac_exec_ext"
18827 as_fn_executable_p
"$ac_path_GNUTAR" || continue
18828 version
=`$ac_path_GNUTAR --version | $SED -e '1 s/^tar (GNU tar) \(.*\)$/\1/p;d'`
18829 if ${version:+false} :; then :
18834 awk "$as_awk_strverscmp" v1
="$as_arg_v1" v2
="$as_arg_v2" /dev
/null
18839 ac_cv_path_GNUTAR
=$ac_path_GNUTAR ;; #(
18841 ac_cv_path_GNUTAR
=$ac_path_GNUTAR ;; #(
18847 $ac_path_GNUTAR_found && break 3
18852 if test -z "$ac_cv_path_GNUTAR"; then
18853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18854 $as_echo "no" >&6; }
18857 ac_cv_path_GNUTAR
=$GNUTAR
18863 GNUTAR
=$ac_cv_path_GNUTAR
18865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNUTAR" >&5
18866 $as_echo "$GNUTAR" >&6; }
18871 as_fn_error $?
"You need tar gtar gnutar 1.19 or greater" "$LINENO" 5
18877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18878 $as_echo "no" >&6; }
18889 if test "x$LFLAGS" = x
; then :
18890 LFLAGS
="--full --ecs"
18898 ac_cpp
='$CPP $CPPFLAGS'
18899 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18900 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18901 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking CFLAGS for maximum warnings" >&5
18904 $as_echo_n "checking CFLAGS for maximum warnings... " >&6; }
18905 if ${ac_cv_cflags_warn_all+:} false
; then :
18906 $as_echo_n "(cached) " >&6
18908 ac_cv_cflags_warn_all
="no, unknown"
18909 ac_save_CFLAGS
="$CFLAGS"
18910 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" #
18911 do CFLAGS
="$ac_save_CFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
18912 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18913 /* end confdefs.h. */
18923 if ac_fn_c_try_compile
"$LINENO"; then :
18924 ac_cv_cflags_warn_all
=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
18926 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18928 CFLAGS
="$ac_save_CFLAGS"
18931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags_warn_all" >&5
18932 $as_echo "$ac_cv_cflags_warn_all" >&6; }
18935 case ".$ac_cv_cflags_warn_all" in
18938 *) if ${CFLAGS+:} false
; then :
18939 case " $CFLAGS " in
18940 *" $ac_cv_cflags_warn_all "*)
18941 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$ac_cv_cflags_warn_all"; } >&5
18942 (: CFLAGS already contains
$ac_cv_cflags_warn_all) 2>&5
18944 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18945 test $ac_status = 0; }
18948 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$ac_cv_cflags_warn_all\""; } >&5
18949 (: CFLAGS
="$CFLAGS $ac_cv_cflags_warn_all") 2>&5
18951 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18952 test $ac_status = 0; }
18953 CFLAGS
="$CFLAGS $ac_cv_cflags_warn_all"
18957 CFLAGS
="$ac_cv_cflags_warn_all"
18963 ac_cpp
='$CXXCPP $CPPFLAGS'
18964 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18965 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18966 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18970 ac_cpp
='$CXXCPP $CPPFLAGS'
18971 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18972 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18973 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking CXXFLAGS for maximum warnings" >&5
18976 $as_echo_n "checking CXXFLAGS for maximum warnings... " >&6; }
18977 if ${ac_cv_cxxflags_warn_all+:} false
; then :
18978 $as_echo_n "(cached) " >&6
18980 ac_cv_cxxflags_warn_all
="no, unknown"
18981 ac_save_CXXFLAGS
="$CXXFLAGS"
18982 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" #
18983 do CXXFLAGS
="$ac_save_CXXFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
18984 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18985 /* end confdefs.h. */
18995 if ac_fn_cxx_try_compile
"$LINENO"; then :
18996 ac_cv_cxxflags_warn_all
=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
18998 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19000 CXXFLAGS
="$ac_save_CXXFLAGS"
19003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxxflags_warn_all" >&5
19004 $as_echo "$ac_cv_cxxflags_warn_all" >&6; }
19007 case ".$ac_cv_cxxflags_warn_all" in
19010 *) if ${CXXFLAGS+:} false
; then :
19011 case " $CXXFLAGS " in
19012 *" $ac_cv_cxxflags_warn_all "*)
19013 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXFLAGS already contains \$ac_cv_cxxflags_warn_all"; } >&5
19014 (: CXXFLAGS already contains
$ac_cv_cxxflags_warn_all) 2>&5
19016 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19017 test $ac_status = 0; }
19020 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXFLAGS=\"\$CXXFLAGS \$ac_cv_cxxflags_warn_all\""; } >&5
19021 (: CXXFLAGS
="$CXXFLAGS $ac_cv_cxxflags_warn_all") 2>&5
19023 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19024 test $ac_status = 0; }
19025 CXXFLAGS
="$CXXFLAGS $ac_cv_cxxflags_warn_all"
19029 CXXFLAGS
="$ac_cv_cxxflags_warn_all"
19035 ac_cpp
='$CXXCPP $CPPFLAGS'
19036 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19037 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19038 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking CXXFLAGS for maximum warnings" >&5
19042 $as_echo_n "checking CXXFLAGS for maximum warnings... " >&6; }
19043 if ${ac_cv_cxxflags_warn_all+:} false
; then :
19044 $as_echo_n "(cached) " >&6
19046 ac_cv_cxxflags_warn_all
="no, unknown"
19047 ac_save_CXXFLAGS
="$CXXFLAGS"
19048 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" #
19049 do CXXFLAGS
="$ac_save_CXXFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
19050 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19051 /* end confdefs.h. */
19061 if ac_fn_cxx_try_compile
"$LINENO"; then :
19062 ac_cv_cxxflags_warn_all
=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
19064 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19066 CXXFLAGS
="$ac_save_CXXFLAGS"
19069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxxflags_warn_all" >&5
19070 $as_echo "$ac_cv_cxxflags_warn_all" >&6; }
19073 case ".$ac_cv_cxxflags_warn_all" in
19076 *) if ${CXXFLAGS+:} false
; then :
19077 case " $CXXFLAGS " in
19078 *" $ac_cv_cxxflags_warn_all "*)
19079 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXFLAGS already contains \$ac_cv_cxxflags_warn_all"; } >&5
19080 (: CXXFLAGS already contains
$ac_cv_cxxflags_warn_all) 2>&5
19082 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19083 test $ac_status = 0; }
19086 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXFLAGS=\"\$CXXFLAGS \$ac_cv_cxxflags_warn_all\""; } >&5
19087 (: CXXFLAGS
="$CXXFLAGS $ac_cv_cxxflags_warn_all") 2>&5
19089 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19090 test $ac_status = 0; }
19091 CXXFLAGS
="$CXXFLAGS $ac_cv_cxxflags_warn_all"
19095 CXXFLAGS
="$ac_cv_cxxflags_warn_all"
19105 ac_cpp
='$CPP $CPPFLAGS'
19106 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19107 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19108 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cc -Werror" >&5
19111 $as_echo_n "checking for cc -Werror... " >&6; }
19115 for element
in -Werror; do
19117 for x
in $CFLAGS; do
19119 acl_save_prefix
="$prefix"
19120 prefix
="$acl_final_prefix"
19121 acl_save_exec_prefix
="$exec_prefix"
19122 exec_prefix
="$acl_final_exec_prefix"
19124 exec_prefix
="$acl_save_exec_prefix"
19125 prefix
="$acl_save_prefix"
19127 if test "X$x" = "X$element"; then
19132 if test -z "$haveit"; then
19133 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
19138 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19139 /* end confdefs.h. */
19142 if ac_fn_c_try_compile
"$LINENO"; then :
19147 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19150 if test "x$cy_good" = x1
; then :
19151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19152 $as_echo "yes" >&6; }
19154 for element
in -Werror; do
19156 for x
in $CFLAGS; do
19158 acl_save_prefix
="$prefix"
19159 prefix
="$acl_final_prefix"
19160 acl_save_exec_prefix
="$exec_prefix"
19161 exec_prefix
="$acl_final_exec_prefix"
19163 exec_prefix
="$acl_save_exec_prefix"
19164 prefix
="$acl_save_prefix"
19166 if test "X$x" = "X$element"; then
19171 if test -z "$haveit"; then
19172 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
19178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19179 $as_echo "no" >&6; }
19183 ac_cpp
='$CXXCPP $CPPFLAGS'
19184 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19185 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19186 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19191 ac_cpp
='$CXXCPP $CPPFLAGS'
19192 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19193 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19194 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -Werror" >&5
19197 $as_echo_n "checking for c++ -Werror... " >&6; }
19201 for element
in -Werror; do
19203 for x
in $CXXFLAGS; do
19205 acl_save_prefix
="$prefix"
19206 prefix
="$acl_final_prefix"
19207 acl_save_exec_prefix
="$exec_prefix"
19208 exec_prefix
="$acl_final_exec_prefix"
19210 exec_prefix
="$acl_save_exec_prefix"
19211 prefix
="$acl_save_prefix"
19213 if test "X$x" = "X$element"; then
19218 if test -z "$haveit"; then
19219 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
19224 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19225 /* end confdefs.h. */
19228 if ac_fn_cxx_try_compile
"$LINENO"; then :
19233 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19236 if test "x$cy_good" = x1
; then :
19237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19238 $as_echo "yes" >&6; }
19240 for element
in -Werror; do
19242 for x
in $CXXFLAGS; do
19244 acl_save_prefix
="$prefix"
19245 prefix
="$acl_final_prefix"
19246 acl_save_exec_prefix
="$exec_prefix"
19247 exec_prefix
="$acl_final_exec_prefix"
19249 exec_prefix
="$acl_save_exec_prefix"
19250 prefix
="$acl_save_prefix"
19252 if test "X$x" = "X$element"; then
19257 if test -z "$haveit"; then
19258 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
19264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19265 $as_echo "no" >&6; }
19269 ac_cpp
='$CXXCPP $CPPFLAGS'
19270 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19271 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19272 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19277 ac_cpp
='$OBJCXXCPP $CPPFLAGS'
19278 ac_compile
='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19279 ac_link
='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19280 ac_compiler_gnu
=$ac_cv_objcxx_compiler_gnu
19282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -ObjC -Werror" >&5
19283 $as_echo_n "checking for c++ -ObjC -Werror... " >&6; }
19285 cy_save
=$OBJCXXFLAGS
19287 for element
in -Werror; do
19289 for x
in $OBJCXXFLAGS; do
19291 acl_save_prefix
="$prefix"
19292 prefix
="$acl_final_prefix"
19293 acl_save_exec_prefix
="$exec_prefix"
19294 exec_prefix
="$acl_final_exec_prefix"
19296 exec_prefix
="$acl_save_exec_prefix"
19297 prefix
="$acl_save_prefix"
19299 if test "X$x" = "X$element"; then
19304 if test -z "$haveit"; then
19305 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
19310 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19311 /* end confdefs.h. */
19314 if ac_fn_objcxx_try_compile
"$LINENO"; then :
19319 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19321 OBJCXXFLAGS
=$cy_save
19322 if test "x$cy_good" = x1
; then :
19323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19324 $as_echo "yes" >&6; }
19326 for element
in -Werror; do
19328 for x
in $OBJCXXFLAGS; do
19330 acl_save_prefix
="$prefix"
19331 prefix
="$acl_final_prefix"
19332 acl_save_exec_prefix
="$exec_prefix"
19333 exec_prefix
="$acl_final_exec_prefix"
19335 exec_prefix
="$acl_save_exec_prefix"
19336 prefix
="$acl_save_prefix"
19338 if test "X$x" = "X$element"; then
19343 if test -z "$haveit"; then
19344 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
19350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19351 $as_echo "no" >&6; }
19355 ac_cpp
='$CXXCPP $CPPFLAGS'
19356 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19357 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19358 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19366 ac_cpp
='$CPP $CPPFLAGS'
19367 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19368 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19369 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cc -Wno-deprecated-declarations" >&5
19372 $as_echo_n "checking for cc -Wno-deprecated-declarations... " >&6; }
19376 for element
in -Wno-deprecated-declarations; do
19378 for x
in $CFLAGS; do
19380 acl_save_prefix
="$prefix"
19381 prefix
="$acl_final_prefix"
19382 acl_save_exec_prefix
="$exec_prefix"
19383 exec_prefix
="$acl_final_exec_prefix"
19385 exec_prefix
="$acl_save_exec_prefix"
19386 prefix
="$acl_save_prefix"
19388 if test "X$x" = "X$element"; then
19393 if test -z "$haveit"; then
19394 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
19399 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19400 /* end confdefs.h. */
19403 if ac_fn_c_try_compile
"$LINENO"; then :
19408 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19411 if test "x$cy_good" = x1
; then :
19412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19413 $as_echo "yes" >&6; }
19415 for element
in -Wno-deprecated-declarations; do
19417 for x
in $CFLAGS; do
19419 acl_save_prefix
="$prefix"
19420 prefix
="$acl_final_prefix"
19421 acl_save_exec_prefix
="$exec_prefix"
19422 exec_prefix
="$acl_final_exec_prefix"
19424 exec_prefix
="$acl_save_exec_prefix"
19425 prefix
="$acl_save_prefix"
19427 if test "X$x" = "X$element"; then
19432 if test -z "$haveit"; then
19433 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
19439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19440 $as_echo "no" >&6; }
19444 ac_cpp
='$CXXCPP $CPPFLAGS'
19445 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19446 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19447 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19452 ac_cpp
='$CXXCPP $CPPFLAGS'
19453 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19454 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19455 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -Wno-deprecated-declarations" >&5
19458 $as_echo_n "checking for c++ -Wno-deprecated-declarations... " >&6; }
19462 for element
in -Wno-deprecated-declarations; do
19464 for x
in $CXXFLAGS; do
19466 acl_save_prefix
="$prefix"
19467 prefix
="$acl_final_prefix"
19468 acl_save_exec_prefix
="$exec_prefix"
19469 exec_prefix
="$acl_final_exec_prefix"
19471 exec_prefix
="$acl_save_exec_prefix"
19472 prefix
="$acl_save_prefix"
19474 if test "X$x" = "X$element"; then
19479 if test -z "$haveit"; then
19480 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
19485 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19486 /* end confdefs.h. */
19489 if ac_fn_cxx_try_compile
"$LINENO"; then :
19494 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19497 if test "x$cy_good" = x1
; then :
19498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19499 $as_echo "yes" >&6; }
19501 for element
in -Wno-deprecated-declarations; do
19503 for x
in $CXXFLAGS; do
19505 acl_save_prefix
="$prefix"
19506 prefix
="$acl_final_prefix"
19507 acl_save_exec_prefix
="$exec_prefix"
19508 exec_prefix
="$acl_final_exec_prefix"
19510 exec_prefix
="$acl_save_exec_prefix"
19511 prefix
="$acl_save_prefix"
19513 if test "X$x" = "X$element"; then
19518 if test -z "$haveit"; then
19519 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
19525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19526 $as_echo "no" >&6; }
19530 ac_cpp
='$CXXCPP $CPPFLAGS'
19531 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19532 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19533 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19538 ac_cpp
='$OBJCXXCPP $CPPFLAGS'
19539 ac_compile
='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19540 ac_link
='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19541 ac_compiler_gnu
=$ac_cv_objcxx_compiler_gnu
19543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -ObjC -Wno-deprecated-declarations" >&5
19544 $as_echo_n "checking for c++ -ObjC -Wno-deprecated-declarations... " >&6; }
19546 cy_save
=$OBJCXXFLAGS
19548 for element
in -Wno-deprecated-declarations; do
19550 for x
in $OBJCXXFLAGS; do
19552 acl_save_prefix
="$prefix"
19553 prefix
="$acl_final_prefix"
19554 acl_save_exec_prefix
="$exec_prefix"
19555 exec_prefix
="$acl_final_exec_prefix"
19557 exec_prefix
="$acl_save_exec_prefix"
19558 prefix
="$acl_save_prefix"
19560 if test "X$x" = "X$element"; then
19565 if test -z "$haveit"; then
19566 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
19571 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19572 /* end confdefs.h. */
19575 if ac_fn_objcxx_try_compile
"$LINENO"; then :
19580 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19582 OBJCXXFLAGS
=$cy_save
19583 if test "x$cy_good" = x1
; then :
19584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19585 $as_echo "yes" >&6; }
19587 for element
in -Wno-deprecated-declarations; do
19589 for x
in $OBJCXXFLAGS; do
19591 acl_save_prefix
="$prefix"
19592 prefix
="$acl_final_prefix"
19593 acl_save_exec_prefix
="$exec_prefix"
19594 exec_prefix
="$acl_final_exec_prefix"
19596 exec_prefix
="$acl_save_exec_prefix"
19597 prefix
="$acl_save_prefix"
19599 if test "X$x" = "X$element"; then
19604 if test -z "$haveit"; then
19605 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
19611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19612 $as_echo "no" >&6; }
19616 ac_cpp
='$CXXCPP $CPPFLAGS'
19617 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19618 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19619 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19627 ac_cpp
='$CPP $CPPFLAGS'
19628 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19629 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19630 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cc -Wno-dangling-else" >&5
19633 $as_echo_n "checking for cc -Wno-dangling-else... " >&6; }
19637 for element
in -Wno-dangling-else; do
19639 for x
in $CFLAGS; do
19641 acl_save_prefix
="$prefix"
19642 prefix
="$acl_final_prefix"
19643 acl_save_exec_prefix
="$exec_prefix"
19644 exec_prefix
="$acl_final_exec_prefix"
19646 exec_prefix
="$acl_save_exec_prefix"
19647 prefix
="$acl_save_prefix"
19649 if test "X$x" = "X$element"; then
19654 if test -z "$haveit"; then
19655 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
19660 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19661 /* end confdefs.h. */
19664 if ac_fn_c_try_compile
"$LINENO"; then :
19669 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19672 if test "x$cy_good" = x1
; then :
19673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19674 $as_echo "yes" >&6; }
19676 for element
in -Wno-dangling-else; do
19678 for x
in $CFLAGS; do
19680 acl_save_prefix
="$prefix"
19681 prefix
="$acl_final_prefix"
19682 acl_save_exec_prefix
="$exec_prefix"
19683 exec_prefix
="$acl_final_exec_prefix"
19685 exec_prefix
="$acl_save_exec_prefix"
19686 prefix
="$acl_save_prefix"
19688 if test "X$x" = "X$element"; then
19693 if test -z "$haveit"; then
19694 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
19700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19701 $as_echo "no" >&6; }
19705 ac_cpp
='$CXXCPP $CPPFLAGS'
19706 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19707 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19708 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19713 ac_cpp
='$CXXCPP $CPPFLAGS'
19714 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19715 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19716 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -Wno-dangling-else" >&5
19719 $as_echo_n "checking for c++ -Wno-dangling-else... " >&6; }
19723 for element
in -Wno-dangling-else; do
19725 for x
in $CXXFLAGS; do
19727 acl_save_prefix
="$prefix"
19728 prefix
="$acl_final_prefix"
19729 acl_save_exec_prefix
="$exec_prefix"
19730 exec_prefix
="$acl_final_exec_prefix"
19732 exec_prefix
="$acl_save_exec_prefix"
19733 prefix
="$acl_save_prefix"
19735 if test "X$x" = "X$element"; then
19740 if test -z "$haveit"; then
19741 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
19746 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19747 /* end confdefs.h. */
19750 if ac_fn_cxx_try_compile
"$LINENO"; then :
19755 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19758 if test "x$cy_good" = x1
; then :
19759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19760 $as_echo "yes" >&6; }
19762 for element
in -Wno-dangling-else; do
19764 for x
in $CXXFLAGS; do
19766 acl_save_prefix
="$prefix"
19767 prefix
="$acl_final_prefix"
19768 acl_save_exec_prefix
="$exec_prefix"
19769 exec_prefix
="$acl_final_exec_prefix"
19771 exec_prefix
="$acl_save_exec_prefix"
19772 prefix
="$acl_save_prefix"
19774 if test "X$x" = "X$element"; then
19779 if test -z "$haveit"; then
19780 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
19786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19787 $as_echo "no" >&6; }
19791 ac_cpp
='$CXXCPP $CPPFLAGS'
19792 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19793 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19794 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19799 ac_cpp
='$OBJCXXCPP $CPPFLAGS'
19800 ac_compile
='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19801 ac_link
='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19802 ac_compiler_gnu
=$ac_cv_objcxx_compiler_gnu
19804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -ObjC -Wno-dangling-else" >&5
19805 $as_echo_n "checking for c++ -ObjC -Wno-dangling-else... " >&6; }
19807 cy_save
=$OBJCXXFLAGS
19809 for element
in -Wno-dangling-else; do
19811 for x
in $OBJCXXFLAGS; do
19813 acl_save_prefix
="$prefix"
19814 prefix
="$acl_final_prefix"
19815 acl_save_exec_prefix
="$exec_prefix"
19816 exec_prefix
="$acl_final_exec_prefix"
19818 exec_prefix
="$acl_save_exec_prefix"
19819 prefix
="$acl_save_prefix"
19821 if test "X$x" = "X$element"; then
19826 if test -z "$haveit"; then
19827 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
19832 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19833 /* end confdefs.h. */
19836 if ac_fn_objcxx_try_compile
"$LINENO"; then :
19841 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19843 OBJCXXFLAGS
=$cy_save
19844 if test "x$cy_good" = x1
; then :
19845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19846 $as_echo "yes" >&6; }
19848 for element
in -Wno-dangling-else; do
19850 for x
in $OBJCXXFLAGS; do
19852 acl_save_prefix
="$prefix"
19853 prefix
="$acl_final_prefix"
19854 acl_save_exec_prefix
="$exec_prefix"
19855 exec_prefix
="$acl_final_exec_prefix"
19857 exec_prefix
="$acl_save_exec_prefix"
19858 prefix
="$acl_save_prefix"
19860 if test "X$x" = "X$element"; then
19865 if test -z "$haveit"; then
19866 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
19872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19873 $as_echo "no" >&6; }
19877 ac_cpp
='$CXXCPP $CPPFLAGS'
19878 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19879 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19880 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19887 ac_cpp
='$CPP $CPPFLAGS'
19888 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19889 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19890 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cc -Wno-empty-body" >&5
19893 $as_echo_n "checking for cc -Wno-empty-body... " >&6; }
19897 for element
in -Wno-empty-body; do
19899 for x
in $CFLAGS; do
19901 acl_save_prefix
="$prefix"
19902 prefix
="$acl_final_prefix"
19903 acl_save_exec_prefix
="$exec_prefix"
19904 exec_prefix
="$acl_final_exec_prefix"
19906 exec_prefix
="$acl_save_exec_prefix"
19907 prefix
="$acl_save_prefix"
19909 if test "X$x" = "X$element"; then
19914 if test -z "$haveit"; then
19915 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
19920 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19921 /* end confdefs.h. */
19924 if ac_fn_c_try_compile
"$LINENO"; then :
19929 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19932 if test "x$cy_good" = x1
; then :
19933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19934 $as_echo "yes" >&6; }
19936 for element
in -Wno-empty-body; do
19938 for x
in $CFLAGS; do
19940 acl_save_prefix
="$prefix"
19941 prefix
="$acl_final_prefix"
19942 acl_save_exec_prefix
="$exec_prefix"
19943 exec_prefix
="$acl_final_exec_prefix"
19945 exec_prefix
="$acl_save_exec_prefix"
19946 prefix
="$acl_save_prefix"
19948 if test "X$x" = "X$element"; then
19953 if test -z "$haveit"; then
19954 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
19960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19961 $as_echo "no" >&6; }
19965 ac_cpp
='$CXXCPP $CPPFLAGS'
19966 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19967 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19968 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19973 ac_cpp
='$CXXCPP $CPPFLAGS'
19974 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19975 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19976 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -Wno-empty-body" >&5
19979 $as_echo_n "checking for c++ -Wno-empty-body... " >&6; }
19983 for element
in -Wno-empty-body; do
19985 for x
in $CXXFLAGS; do
19987 acl_save_prefix
="$prefix"
19988 prefix
="$acl_final_prefix"
19989 acl_save_exec_prefix
="$exec_prefix"
19990 exec_prefix
="$acl_final_exec_prefix"
19992 exec_prefix
="$acl_save_exec_prefix"
19993 prefix
="$acl_save_prefix"
19995 if test "X$x" = "X$element"; then
20000 if test -z "$haveit"; then
20001 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
20006 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20007 /* end confdefs.h. */
20010 if ac_fn_cxx_try_compile
"$LINENO"; then :
20015 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20018 if test "x$cy_good" = x1
; then :
20019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20020 $as_echo "yes" >&6; }
20022 for element
in -Wno-empty-body; do
20024 for x
in $CXXFLAGS; do
20026 acl_save_prefix
="$prefix"
20027 prefix
="$acl_final_prefix"
20028 acl_save_exec_prefix
="$exec_prefix"
20029 exec_prefix
="$acl_final_exec_prefix"
20031 exec_prefix
="$acl_save_exec_prefix"
20032 prefix
="$acl_save_prefix"
20034 if test "X$x" = "X$element"; then
20039 if test -z "$haveit"; then
20040 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
20046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20047 $as_echo "no" >&6; }
20051 ac_cpp
='$CXXCPP $CPPFLAGS'
20052 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20053 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20054 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20059 ac_cpp
='$OBJCXXCPP $CPPFLAGS'
20060 ac_compile
='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20061 ac_link
='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20062 ac_compiler_gnu
=$ac_cv_objcxx_compiler_gnu
20064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -ObjC -Wno-empty-body" >&5
20065 $as_echo_n "checking for c++ -ObjC -Wno-empty-body... " >&6; }
20067 cy_save
=$OBJCXXFLAGS
20069 for element
in -Wno-empty-body; do
20071 for x
in $OBJCXXFLAGS; do
20073 acl_save_prefix
="$prefix"
20074 prefix
="$acl_final_prefix"
20075 acl_save_exec_prefix
="$exec_prefix"
20076 exec_prefix
="$acl_final_exec_prefix"
20078 exec_prefix
="$acl_save_exec_prefix"
20079 prefix
="$acl_save_prefix"
20081 if test "X$x" = "X$element"; then
20086 if test -z "$haveit"; then
20087 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
20092 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20093 /* end confdefs.h. */
20096 if ac_fn_objcxx_try_compile
"$LINENO"; then :
20101 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20103 OBJCXXFLAGS
=$cy_save
20104 if test "x$cy_good" = x1
; then :
20105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20106 $as_echo "yes" >&6; }
20108 for element
in -Wno-empty-body; do
20110 for x
in $OBJCXXFLAGS; do
20112 acl_save_prefix
="$prefix"
20113 prefix
="$acl_final_prefix"
20114 acl_save_exec_prefix
="$exec_prefix"
20115 exec_prefix
="$acl_final_exec_prefix"
20117 exec_prefix
="$acl_save_exec_prefix"
20118 prefix
="$acl_save_prefix"
20120 if test "X$x" = "X$element"; then
20125 if test -z "$haveit"; then
20126 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
20132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20133 $as_echo "no" >&6; }
20137 ac_cpp
='$CXXCPP $CPPFLAGS'
20138 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20139 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20140 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20147 ac_cpp
='$CPP $CPPFLAGS'
20148 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20149 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20150 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cc -Wno-overloaded-virtual" >&5
20153 $as_echo_n "checking for cc -Wno-overloaded-virtual... " >&6; }
20157 for element
in -Wno-overloaded-virtual; do
20159 for x
in $CFLAGS; do
20161 acl_save_prefix
="$prefix"
20162 prefix
="$acl_final_prefix"
20163 acl_save_exec_prefix
="$exec_prefix"
20164 exec_prefix
="$acl_final_exec_prefix"
20166 exec_prefix
="$acl_save_exec_prefix"
20167 prefix
="$acl_save_prefix"
20169 if test "X$x" = "X$element"; then
20174 if test -z "$haveit"; then
20175 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
20180 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20181 /* end confdefs.h. */
20184 if ac_fn_c_try_compile
"$LINENO"; then :
20189 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20192 if test "x$cy_good" = x1
; then :
20193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20194 $as_echo "yes" >&6; }
20196 for element
in -Wno-overloaded-virtual; do
20198 for x
in $CFLAGS; do
20200 acl_save_prefix
="$prefix"
20201 prefix
="$acl_final_prefix"
20202 acl_save_exec_prefix
="$exec_prefix"
20203 exec_prefix
="$acl_final_exec_prefix"
20205 exec_prefix
="$acl_save_exec_prefix"
20206 prefix
="$acl_save_prefix"
20208 if test "X$x" = "X$element"; then
20213 if test -z "$haveit"; then
20214 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
20220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20221 $as_echo "no" >&6; }
20225 ac_cpp
='$CXXCPP $CPPFLAGS'
20226 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20227 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20228 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20233 ac_cpp
='$CXXCPP $CPPFLAGS'
20234 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20235 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20236 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -Wno-overloaded-virtual" >&5
20239 $as_echo_n "checking for c++ -Wno-overloaded-virtual... " >&6; }
20243 for element
in -Wno-overloaded-virtual; do
20245 for x
in $CXXFLAGS; do
20247 acl_save_prefix
="$prefix"
20248 prefix
="$acl_final_prefix"
20249 acl_save_exec_prefix
="$exec_prefix"
20250 exec_prefix
="$acl_final_exec_prefix"
20252 exec_prefix
="$acl_save_exec_prefix"
20253 prefix
="$acl_save_prefix"
20255 if test "X$x" = "X$element"; then
20260 if test -z "$haveit"; then
20261 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
20266 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20267 /* end confdefs.h. */
20270 if ac_fn_cxx_try_compile
"$LINENO"; then :
20275 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20278 if test "x$cy_good" = x1
; then :
20279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20280 $as_echo "yes" >&6; }
20282 for element
in -Wno-overloaded-virtual; do
20284 for x
in $CXXFLAGS; do
20286 acl_save_prefix
="$prefix"
20287 prefix
="$acl_final_prefix"
20288 acl_save_exec_prefix
="$exec_prefix"
20289 exec_prefix
="$acl_final_exec_prefix"
20291 exec_prefix
="$acl_save_exec_prefix"
20292 prefix
="$acl_save_prefix"
20294 if test "X$x" = "X$element"; then
20299 if test -z "$haveit"; then
20300 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
20306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20307 $as_echo "no" >&6; }
20311 ac_cpp
='$CXXCPP $CPPFLAGS'
20312 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20313 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20314 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20319 ac_cpp
='$OBJCXXCPP $CPPFLAGS'
20320 ac_compile
='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20321 ac_link
='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20322 ac_compiler_gnu
=$ac_cv_objcxx_compiler_gnu
20324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -ObjC -Wno-overloaded-virtual" >&5
20325 $as_echo_n "checking for c++ -ObjC -Wno-overloaded-virtual... " >&6; }
20327 cy_save
=$OBJCXXFLAGS
20329 for element
in -Wno-overloaded-virtual; do
20331 for x
in $OBJCXXFLAGS; do
20333 acl_save_prefix
="$prefix"
20334 prefix
="$acl_final_prefix"
20335 acl_save_exec_prefix
="$exec_prefix"
20336 exec_prefix
="$acl_final_exec_prefix"
20338 exec_prefix
="$acl_save_exec_prefix"
20339 prefix
="$acl_save_prefix"
20341 if test "X$x" = "X$element"; then
20346 if test -z "$haveit"; then
20347 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
20352 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20353 /* end confdefs.h. */
20356 if ac_fn_objcxx_try_compile
"$LINENO"; then :
20361 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20363 OBJCXXFLAGS
=$cy_save
20364 if test "x$cy_good" = x1
; then :
20365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20366 $as_echo "yes" >&6; }
20368 for element
in -Wno-overloaded-virtual; do
20370 for x
in $OBJCXXFLAGS; do
20372 acl_save_prefix
="$prefix"
20373 prefix
="$acl_final_prefix"
20374 acl_save_exec_prefix
="$exec_prefix"
20375 exec_prefix
="$acl_final_exec_prefix"
20377 exec_prefix
="$acl_save_exec_prefix"
20378 prefix
="$acl_save_prefix"
20380 if test "X$x" = "X$element"; then
20385 if test -z "$haveit"; then
20386 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
20392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20393 $as_echo "no" >&6; }
20397 ac_cpp
='$CXXCPP $CPPFLAGS'
20398 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20399 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20400 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20407 ac_cpp
='$CPP $CPPFLAGS'
20408 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20409 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20410 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cc -Wno-parentheses" >&5
20413 $as_echo_n "checking for cc -Wno-parentheses... " >&6; }
20417 for element
in -Wno-parentheses; do
20419 for x
in $CFLAGS; do
20421 acl_save_prefix
="$prefix"
20422 prefix
="$acl_final_prefix"
20423 acl_save_exec_prefix
="$exec_prefix"
20424 exec_prefix
="$acl_final_exec_prefix"
20426 exec_prefix
="$acl_save_exec_prefix"
20427 prefix
="$acl_save_prefix"
20429 if test "X$x" = "X$element"; then
20434 if test -z "$haveit"; then
20435 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
20440 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20441 /* end confdefs.h. */
20444 if ac_fn_c_try_compile
"$LINENO"; then :
20449 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20452 if test "x$cy_good" = x1
; then :
20453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20454 $as_echo "yes" >&6; }
20456 for element
in -Wno-parentheses; do
20458 for x
in $CFLAGS; do
20460 acl_save_prefix
="$prefix"
20461 prefix
="$acl_final_prefix"
20462 acl_save_exec_prefix
="$exec_prefix"
20463 exec_prefix
="$acl_final_exec_prefix"
20465 exec_prefix
="$acl_save_exec_prefix"
20466 prefix
="$acl_save_prefix"
20468 if test "X$x" = "X$element"; then
20473 if test -z "$haveit"; then
20474 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
20480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20481 $as_echo "no" >&6; }
20485 ac_cpp
='$CXXCPP $CPPFLAGS'
20486 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20487 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20488 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20493 ac_cpp
='$CXXCPP $CPPFLAGS'
20494 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20495 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20496 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -Wno-parentheses" >&5
20499 $as_echo_n "checking for c++ -Wno-parentheses... " >&6; }
20503 for element
in -Wno-parentheses; do
20505 for x
in $CXXFLAGS; do
20507 acl_save_prefix
="$prefix"
20508 prefix
="$acl_final_prefix"
20509 acl_save_exec_prefix
="$exec_prefix"
20510 exec_prefix
="$acl_final_exec_prefix"
20512 exec_prefix
="$acl_save_exec_prefix"
20513 prefix
="$acl_save_prefix"
20515 if test "X$x" = "X$element"; then
20520 if test -z "$haveit"; then
20521 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
20526 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20527 /* end confdefs.h. */
20530 if ac_fn_cxx_try_compile
"$LINENO"; then :
20535 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20538 if test "x$cy_good" = x1
; then :
20539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20540 $as_echo "yes" >&6; }
20542 for element
in -Wno-parentheses; do
20544 for x
in $CXXFLAGS; do
20546 acl_save_prefix
="$prefix"
20547 prefix
="$acl_final_prefix"
20548 acl_save_exec_prefix
="$exec_prefix"
20549 exec_prefix
="$acl_final_exec_prefix"
20551 exec_prefix
="$acl_save_exec_prefix"
20552 prefix
="$acl_save_prefix"
20554 if test "X$x" = "X$element"; then
20559 if test -z "$haveit"; then
20560 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
20566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20567 $as_echo "no" >&6; }
20571 ac_cpp
='$CXXCPP $CPPFLAGS'
20572 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20573 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20574 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20579 ac_cpp
='$OBJCXXCPP $CPPFLAGS'
20580 ac_compile
='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20581 ac_link
='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20582 ac_compiler_gnu
=$ac_cv_objcxx_compiler_gnu
20584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -ObjC -Wno-parentheses" >&5
20585 $as_echo_n "checking for c++ -ObjC -Wno-parentheses... " >&6; }
20587 cy_save
=$OBJCXXFLAGS
20589 for element
in -Wno-parentheses; do
20591 for x
in $OBJCXXFLAGS; do
20593 acl_save_prefix
="$prefix"
20594 prefix
="$acl_final_prefix"
20595 acl_save_exec_prefix
="$exec_prefix"
20596 exec_prefix
="$acl_final_exec_prefix"
20598 exec_prefix
="$acl_save_exec_prefix"
20599 prefix
="$acl_save_prefix"
20601 if test "X$x" = "X$element"; then
20606 if test -z "$haveit"; then
20607 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
20612 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20613 /* end confdefs.h. */
20616 if ac_fn_objcxx_try_compile
"$LINENO"; then :
20621 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20623 OBJCXXFLAGS
=$cy_save
20624 if test "x$cy_good" = x1
; then :
20625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20626 $as_echo "yes" >&6; }
20628 for element
in -Wno-parentheses; do
20630 for x
in $OBJCXXFLAGS; do
20632 acl_save_prefix
="$prefix"
20633 prefix
="$acl_final_prefix"
20634 acl_save_exec_prefix
="$exec_prefix"
20635 exec_prefix
="$acl_final_exec_prefix"
20637 exec_prefix
="$acl_save_exec_prefix"
20638 prefix
="$acl_save_prefix"
20640 if test "X$x" = "X$element"; then
20645 if test -z "$haveit"; then
20646 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
20652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20653 $as_echo "no" >&6; }
20657 ac_cpp
='$CXXCPP $CPPFLAGS'
20658 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20659 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20660 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20667 ac_cpp
='$CPP $CPPFLAGS'
20668 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20669 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20670 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cc -Wno-tautological-undefined-compare" >&5
20673 $as_echo_n "checking for cc -Wno-tautological-undefined-compare... " >&6; }
20677 for element
in -Wno-tautological-undefined-compare; do
20679 for x
in $CFLAGS; do
20681 acl_save_prefix
="$prefix"
20682 prefix
="$acl_final_prefix"
20683 acl_save_exec_prefix
="$exec_prefix"
20684 exec_prefix
="$acl_final_exec_prefix"
20686 exec_prefix
="$acl_save_exec_prefix"
20687 prefix
="$acl_save_prefix"
20689 if test "X$x" = "X$element"; then
20694 if test -z "$haveit"; then
20695 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
20700 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20701 /* end confdefs.h. */
20704 if ac_fn_c_try_compile
"$LINENO"; then :
20709 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20712 if test "x$cy_good" = x1
; then :
20713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20714 $as_echo "yes" >&6; }
20716 for element
in -Wno-tautological-undefined-compare; do
20718 for x
in $CFLAGS; do
20720 acl_save_prefix
="$prefix"
20721 prefix
="$acl_final_prefix"
20722 acl_save_exec_prefix
="$exec_prefix"
20723 exec_prefix
="$acl_final_exec_prefix"
20725 exec_prefix
="$acl_save_exec_prefix"
20726 prefix
="$acl_save_prefix"
20728 if test "X$x" = "X$element"; then
20733 if test -z "$haveit"; then
20734 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
20740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20741 $as_echo "no" >&6; }
20745 ac_cpp
='$CXXCPP $CPPFLAGS'
20746 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20747 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20748 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20753 ac_cpp
='$CXXCPP $CPPFLAGS'
20754 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20755 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20756 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -Wno-tautological-undefined-compare" >&5
20759 $as_echo_n "checking for c++ -Wno-tautological-undefined-compare... " >&6; }
20763 for element
in -Wno-tautological-undefined-compare; do
20765 for x
in $CXXFLAGS; do
20767 acl_save_prefix
="$prefix"
20768 prefix
="$acl_final_prefix"
20769 acl_save_exec_prefix
="$exec_prefix"
20770 exec_prefix
="$acl_final_exec_prefix"
20772 exec_prefix
="$acl_save_exec_prefix"
20773 prefix
="$acl_save_prefix"
20775 if test "X$x" = "X$element"; then
20780 if test -z "$haveit"; then
20781 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
20786 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20787 /* end confdefs.h. */
20790 if ac_fn_cxx_try_compile
"$LINENO"; then :
20795 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20798 if test "x$cy_good" = x1
; then :
20799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20800 $as_echo "yes" >&6; }
20802 for element
in -Wno-tautological-undefined-compare; do
20804 for x
in $CXXFLAGS; do
20806 acl_save_prefix
="$prefix"
20807 prefix
="$acl_final_prefix"
20808 acl_save_exec_prefix
="$exec_prefix"
20809 exec_prefix
="$acl_final_exec_prefix"
20811 exec_prefix
="$acl_save_exec_prefix"
20812 prefix
="$acl_save_prefix"
20814 if test "X$x" = "X$element"; then
20819 if test -z "$haveit"; then
20820 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
20826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20827 $as_echo "no" >&6; }
20831 ac_cpp
='$CXXCPP $CPPFLAGS'
20832 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20833 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20834 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20839 ac_cpp
='$OBJCXXCPP $CPPFLAGS'
20840 ac_compile
='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20841 ac_link
='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20842 ac_compiler_gnu
=$ac_cv_objcxx_compiler_gnu
20844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -ObjC -Wno-tautological-undefined-compare" >&5
20845 $as_echo_n "checking for c++ -ObjC -Wno-tautological-undefined-compare... " >&6; }
20847 cy_save
=$OBJCXXFLAGS
20849 for element
in -Wno-tautological-undefined-compare; do
20851 for x
in $OBJCXXFLAGS; do
20853 acl_save_prefix
="$prefix"
20854 prefix
="$acl_final_prefix"
20855 acl_save_exec_prefix
="$exec_prefix"
20856 exec_prefix
="$acl_final_exec_prefix"
20858 exec_prefix
="$acl_save_exec_prefix"
20859 prefix
="$acl_save_prefix"
20861 if test "X$x" = "X$element"; then
20866 if test -z "$haveit"; then
20867 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
20872 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20873 /* end confdefs.h. */
20876 if ac_fn_objcxx_try_compile
"$LINENO"; then :
20881 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20883 OBJCXXFLAGS
=$cy_save
20884 if test "x$cy_good" = x1
; then :
20885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20886 $as_echo "yes" >&6; }
20888 for element
in -Wno-tautological-undefined-compare; do
20890 for x
in $OBJCXXFLAGS; do
20892 acl_save_prefix
="$prefix"
20893 prefix
="$acl_final_prefix"
20894 acl_save_exec_prefix
="$exec_prefix"
20895 exec_prefix
="$acl_final_exec_prefix"
20897 exec_prefix
="$acl_save_exec_prefix"
20898 prefix
="$acl_save_prefix"
20900 if test "X$x" = "X$element"; then
20905 if test -z "$haveit"; then
20906 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
20912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20913 $as_echo "no" >&6; }
20917 ac_cpp
='$CXXCPP $CPPFLAGS'
20918 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20919 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20920 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20927 ac_cpp
='$CPP $CPPFLAGS'
20928 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20929 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20930 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cc -Wno-unneeded-internal-declaration" >&5
20933 $as_echo_n "checking for cc -Wno-unneeded-internal-declaration... " >&6; }
20937 for element
in -Wno-unneeded-internal-declaration; do
20939 for x
in $CFLAGS; do
20941 acl_save_prefix
="$prefix"
20942 prefix
="$acl_final_prefix"
20943 acl_save_exec_prefix
="$exec_prefix"
20944 exec_prefix
="$acl_final_exec_prefix"
20946 exec_prefix
="$acl_save_exec_prefix"
20947 prefix
="$acl_save_prefix"
20949 if test "X$x" = "X$element"; then
20954 if test -z "$haveit"; then
20955 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
20960 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20961 /* end confdefs.h. */
20964 if ac_fn_c_try_compile
"$LINENO"; then :
20969 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20972 if test "x$cy_good" = x1
; then :
20973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20974 $as_echo "yes" >&6; }
20976 for element
in -Wno-unneeded-internal-declaration; do
20978 for x
in $CFLAGS; do
20980 acl_save_prefix
="$prefix"
20981 prefix
="$acl_final_prefix"
20982 acl_save_exec_prefix
="$exec_prefix"
20983 exec_prefix
="$acl_final_exec_prefix"
20985 exec_prefix
="$acl_save_exec_prefix"
20986 prefix
="$acl_save_prefix"
20988 if test "X$x" = "X$element"; then
20993 if test -z "$haveit"; then
20994 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
21000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21001 $as_echo "no" >&6; }
21005 ac_cpp
='$CXXCPP $CPPFLAGS'
21006 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21007 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21008 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21013 ac_cpp
='$CXXCPP $CPPFLAGS'
21014 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21015 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21016 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -Wno-unneeded-internal-declaration" >&5
21019 $as_echo_n "checking for c++ -Wno-unneeded-internal-declaration... " >&6; }
21023 for element
in -Wno-unneeded-internal-declaration; do
21025 for x
in $CXXFLAGS; do
21027 acl_save_prefix
="$prefix"
21028 prefix
="$acl_final_prefix"
21029 acl_save_exec_prefix
="$exec_prefix"
21030 exec_prefix
="$acl_final_exec_prefix"
21032 exec_prefix
="$acl_save_exec_prefix"
21033 prefix
="$acl_save_prefix"
21035 if test "X$x" = "X$element"; then
21040 if test -z "$haveit"; then
21041 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
21046 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21047 /* end confdefs.h. */
21050 if ac_fn_cxx_try_compile
"$LINENO"; then :
21055 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21058 if test "x$cy_good" = x1
; then :
21059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21060 $as_echo "yes" >&6; }
21062 for element
in -Wno-unneeded-internal-declaration; do
21064 for x
in $CXXFLAGS; do
21066 acl_save_prefix
="$prefix"
21067 prefix
="$acl_final_prefix"
21068 acl_save_exec_prefix
="$exec_prefix"
21069 exec_prefix
="$acl_final_exec_prefix"
21071 exec_prefix
="$acl_save_exec_prefix"
21072 prefix
="$acl_save_prefix"
21074 if test "X$x" = "X$element"; then
21079 if test -z "$haveit"; then
21080 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
21086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21087 $as_echo "no" >&6; }
21091 ac_cpp
='$CXXCPP $CPPFLAGS'
21092 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21093 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21094 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21099 ac_cpp
='$OBJCXXCPP $CPPFLAGS'
21100 ac_compile
='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21101 ac_link
='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21102 ac_compiler_gnu
=$ac_cv_objcxx_compiler_gnu
21104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -ObjC -Wno-unneeded-internal-declaration" >&5
21105 $as_echo_n "checking for c++ -ObjC -Wno-unneeded-internal-declaration... " >&6; }
21107 cy_save
=$OBJCXXFLAGS
21109 for element
in -Wno-unneeded-internal-declaration; do
21111 for x
in $OBJCXXFLAGS; do
21113 acl_save_prefix
="$prefix"
21114 prefix
="$acl_final_prefix"
21115 acl_save_exec_prefix
="$exec_prefix"
21116 exec_prefix
="$acl_final_exec_prefix"
21118 exec_prefix
="$acl_save_exec_prefix"
21119 prefix
="$acl_save_prefix"
21121 if test "X$x" = "X$element"; then
21126 if test -z "$haveit"; then
21127 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
21132 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21133 /* end confdefs.h. */
21136 if ac_fn_objcxx_try_compile
"$LINENO"; then :
21141 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21143 OBJCXXFLAGS
=$cy_save
21144 if test "x$cy_good" = x1
; then :
21145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21146 $as_echo "yes" >&6; }
21148 for element
in -Wno-unneeded-internal-declaration; do
21150 for x
in $OBJCXXFLAGS; do
21152 acl_save_prefix
="$prefix"
21153 prefix
="$acl_final_prefix"
21154 acl_save_exec_prefix
="$exec_prefix"
21155 exec_prefix
="$acl_final_exec_prefix"
21157 exec_prefix
="$acl_save_exec_prefix"
21158 prefix
="$acl_save_prefix"
21160 if test "X$x" = "X$element"; then
21165 if test -z "$haveit"; then
21166 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
21172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21173 $as_echo "no" >&6; }
21177 ac_cpp
='$CXXCPP $CPPFLAGS'
21178 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21179 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21180 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21189 ac_cpp
='$CPP $CPPFLAGS'
21190 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21191 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21192 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21196 # We used to check for pthread.h first, but this fails if pthread.h
21197 # requires special compiler flags (e.g. on Tru64 or Sequent).
21198 # It gets checked for in the link test anyway.
21200 # First of all, check if the user has set any of the PTHREAD_LIBS,
21201 # etcetera environment variables, and if threads linking works using
21203 if test x
"$PTHREAD_LIBS$PTHREAD_CFLAGS" != x
; then
21204 save_CFLAGS
="$CFLAGS"
21205 CFLAGS
="$CFLAGS $PTHREAD_CFLAGS"
21207 LIBS
="$PTHREAD_LIBS $LIBS"
21208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_join using $CC $PTHREAD_CFLAGS $PTHREAD_LIBS" >&5
21209 $as_echo_n "checking for pthread_join using $CC $PTHREAD_CFLAGS $PTHREAD_LIBS... " >&6; }
21210 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21211 /* end confdefs.h. */
21213 /* Override any GCC internal prototype to avoid an error.
21214 Use char because int might match the return type of a GCC
21215 builtin and then its argument prototype would still apply. */
21219 char pthread_join ();
21223 return pthread_join ();
21228 if ac_fn_c_try_link
"$LINENO"; then :
21231 rm -f core conftest.err conftest.
$ac_objext \
21232 conftest
$ac_exeext conftest.
$ac_ext
21233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_pthread_ok" >&5
21234 $as_echo "$ax_pthread_ok" >&6; }
21235 if test x
"$ax_pthread_ok" = xno
; then
21240 CFLAGS
="$save_CFLAGS"
21243 # We must check for the threads library under a number of different
21244 # names; the ordering is very important because some systems
21245 # (e.g. DEC) have both -lpthread and -lpthreads, where one of the
21246 # libraries is broken (non-POSIX).
21248 # Create a list of thread flags to try. Items starting with a "-" are
21249 # C compiler flags, and other items are library names, except for "none"
21250 # which indicates that we try without any flags at all, and "pthread-config"
21251 # which is a program returning the flags for the Pth emulation library.
21253 ax_pthread_flags
="pthreads none -Kthread -kthread lthread -pthread -pthreads -mt -mthreads pthread --thread-safe pthread-config"
21255 # The ordering *is* (sometimes) important. Some notes on the
21256 # individual items follow:
21258 # pthreads: AIX (must check this before -lpthread)
21259 # none: in case threads are in libc; should be tried before -Kthread and
21260 # other compiler flags to prevent continual compiler warnings
21261 # -Kthread: Sequent (threads in libc, but -Kthread needed for pthread.h)
21262 # -kthread: FreeBSD kernel threads (preferred to -pthread since SMP-able)
21263 # lthread: LinuxThreads port on FreeBSD (also preferred to -pthread)
21264 # -pthread: Linux/gcc (kernel threads), BSD/gcc (userland threads), Tru64
21265 # -pthreads: Solaris/gcc
21266 # -mt: Sun Workshop C (may only link SunOS threads [-lthread], but it
21267 # doesn't hurt to check since this sometimes defines pthreads and
21268 # -D_REENTRANT too), HP C (must be checked before -lpthread, which
21269 # is present but should not be used directly)
21270 # -mthreads: Mingw32/gcc, Lynx/gcc
21271 # pthread: Linux, etcetera
21272 # --thread-safe: KAI C++
21273 # pthread-config: use pthread-config program (for GNU Pth library)
21279 # From the cc(1) man page: "[-mt] Sets various -D flags to enable
21280 # multi-threading and also sets -lpthread."
21282 ax_pthread_flags
="-mt -pthread pthread $ax_pthread_flags"
21287 # IBM z/OS requires a feature-test macro to be defined in order to
21288 # enable POSIX threads at all, so give the user a hint if this is
21289 # not set. (We don't define these ourselves, as they can affect
21290 # other portions of the system API in unpredictable ways.)
21292 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21293 /* end confdefs.h. */
21295 # if !defined(_OPEN_THREADS) && !defined(_UNIX03_THREADS)
21296 AX_PTHREAD_ZOS_MISSING
21300 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21301 $EGREP "AX_PTHREAD_ZOS_MISSING" >/dev
/null
2>&1; then :
21302 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: IBM z/OS requires -D_OPEN_THREADS or -D_UNIX03_THREADS to enable pthreads support." >&5
21303 $as_echo "$as_me: WARNING: IBM z/OS requires -D_OPEN_THREADS or -D_UNIX03_THREADS to enable pthreads support." >&2;}
21311 # Newer versions of Solaris require the "-mt -lpthread" pair, and we
21312 # check that first. On some older versions, libc contains stubbed
21313 # (non-functional) versions of the pthreads routines, so link-based
21314 # tests will erroneously succeed. (We need to link with -pthreads/-mt/
21315 # -lpthread.) (The stubs are missing pthread_cleanup_push, or rather
21316 # a function called by this macro, so we could check for that, but
21317 # who knows whether they'll stub that too in a future libc.) So
21318 # we'll look for -pthreads and -lpthread shortly thereafter.
21320 ax_pthread_flags
="-mt,pthread -pthreads -pthread pthread $ax_pthread_flags"
21324 # Older versions of Clang only give a warning instead of an error for an
21325 # unrecognized option, unless we specify -Werror. (We throw in some extra
21326 # Clang warning flags for good measure.)
21328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler needs certain flags to reject unknown flags" >&5
21329 $as_echo_n "checking if compiler needs certain flags to reject unknown flags... " >&6; }
21330 if ${ax_cv_PTHREAD_REJECT_UNKNOWN+:} false
; then :
21331 $as_echo_n "(cached) " >&6
21333 ax_cv_PTHREAD_REJECT_UNKNOWN
=unknown
21334 save_CFLAGS
="$CFLAGS"
21335 ax_pthread_extra_flags
="-Wunknown-warning-option -Wunused-command-line-argument"
21336 CFLAGS
="$CFLAGS $ax_pthread_extra_flags -Wfoobaz -foobaz"
21337 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21338 /* end confdefs.h. */
21348 if ac_fn_c_try_compile
"$LINENO"; then :
21349 ax_cv_PTHREAD_REJECT_UNKNOWN
="-Werror $ax_pthread_extra_flags"
21351 ax_cv_PTHREAD_REJECT_UNKNOWN
=no
21353 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21354 CFLAGS
="$save_CFLAGS"
21357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_PTHREAD_REJECT_UNKNOWN" >&5
21358 $as_echo "$ax_cv_PTHREAD_REJECT_UNKNOWN" >&6; }
21359 ax_pthread_extra_flags
=
21360 if test "x$ax_cv_PTHREAD_REJECT_UNKNOWN" != "xno"; then :
21361 ax_pthread_extra_flags
="$ax_cv_PTHREAD_REJECT_UNKNOWN"
21364 if test x
"$ax_pthread_ok" = xno
; then
21365 for flag
in $ax_pthread_flags; do
21369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work without any flags" >&5
21370 $as_echo_n "checking whether pthreads work without any flags... " >&6; }
21374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work with -mt -lpthread" >&5
21375 $as_echo_n "checking whether pthreads work with -mt -lpthread... " >&6; }
21376 PTHREAD_CFLAGS
="-mt"
21377 PTHREAD_LIBS
="-lpthread"
21381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work with $flag" >&5
21382 $as_echo_n "checking whether pthreads work with $flag... " >&6; }
21383 PTHREAD_CFLAGS
="$flag"
21387 # Extract the first word of "pthread-config", so it can be a program name with args.
21388 set dummy pthread
-config; ac_word
=$2
21389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21390 $as_echo_n "checking for $ac_word... " >&6; }
21391 if ${ac_cv_prog_ax_pthread_config+:} false
; then :
21392 $as_echo_n "(cached) " >&6
21394 if test -n "$ax_pthread_config"; then
21395 ac_cv_prog_ax_pthread_config
="$ax_pthread_config" # Let the user override the test.
21397 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21398 for as_dir
in $PATH
21401 test -z "$as_dir" && as_dir
=.
21402 for ac_exec_ext
in '' $ac_executable_extensions; do
21403 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
21404 ac_cv_prog_ax_pthread_config
="yes"
21405 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21412 test -z "$ac_cv_prog_ax_pthread_config" && ac_cv_prog_ax_pthread_config
="no"
21415 ax_pthread_config
=$ac_cv_prog_ax_pthread_config
21416 if test -n "$ax_pthread_config"; then
21417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_pthread_config" >&5
21418 $as_echo "$ax_pthread_config" >&6; }
21420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21421 $as_echo "no" >&6; }
21425 if test x
"$ax_pthread_config" = xno
; then continue; fi
21426 PTHREAD_CFLAGS
="`pthread-config --cflags`"
21427 PTHREAD_LIBS
="`pthread-config --ldflags` `pthread-config --libs`"
21431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the pthreads library -l$flag" >&5
21432 $as_echo_n "checking for the pthreads library -l$flag... " >&6; }
21433 PTHREAD_LIBS
="-l$flag"
21438 save_CFLAGS
="$CFLAGS"
21439 LIBS
="$PTHREAD_LIBS $LIBS"
21440 CFLAGS
="$CFLAGS $PTHREAD_CFLAGS $ax_pthread_extra_flags"
21442 # Check for various functions. We must include pthread.h,
21443 # since some functions may be macros. (On the Sequent, we
21444 # need a special flag -Kthread to make this header compile.)
21445 # We check for pthread_join because it is in -lpthread on IRIX
21446 # while pthread_create is in libc. We check for pthread_attr_init
21447 # due to DEC craziness with -lpthreads. We check for
21448 # pthread_cleanup_push because it is one of the few pthread
21449 # functions on Solaris that doesn't have a non-functional libc stub.
21450 # We try pthread_create on general principles.
21451 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21452 /* end confdefs.h. */
21453 #include <pthread.h>
21454 static void routine(void *a) { a = 0; }
21455 static void *start_routine(void *a) { return a; }
21459 pthread_t th; pthread_attr_t attr;
21460 pthread_create(&th, 0, start_routine, 0);
21461 pthread_join(th, 0);
21462 pthread_attr_init(&attr);
21463 pthread_cleanup_push(routine, 0);
21464 pthread_cleanup_pop(0) /* ; */
21469 if ac_fn_c_try_link
"$LINENO"; then :
21472 rm -f core conftest.err conftest.
$ac_objext \
21473 conftest
$ac_exeext conftest.
$ac_ext
21476 CFLAGS
="$save_CFLAGS"
21478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_pthread_ok" >&5
21479 $as_echo "$ax_pthread_ok" >&6; }
21480 if test "x$ax_pthread_ok" = xyes
; then
21489 # Various other checks:
21490 if test "x$ax_pthread_ok" = xyes
; then
21492 LIBS
="$PTHREAD_LIBS $LIBS"
21493 save_CFLAGS
="$CFLAGS"
21494 CFLAGS
="$CFLAGS $PTHREAD_CFLAGS"
21496 # Detect AIX lossage: JOINABLE attribute is called UNDETACHED.
21497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for joinable pthread attribute" >&5
21498 $as_echo_n "checking for joinable pthread attribute... " >&6; }
21499 if ${ax_cv_PTHREAD_JOINABLE_ATTR+:} false
; then :
21500 $as_echo_n "(cached) " >&6
21502 ax_cv_PTHREAD_JOINABLE_ATTR
=unknown
21503 for attr
in PTHREAD_CREATE_JOINABLE PTHREAD_CREATE_UNDETACHED
; do
21504 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21505 /* end confdefs.h. */
21506 #include <pthread.h>
21510 int attr = $attr; return attr /* ; */
21515 if ac_fn_c_try_link
"$LINENO"; then :
21516 ax_cv_PTHREAD_JOINABLE_ATTR
=$attr; break
21518 rm -f core conftest.err conftest.
$ac_objext \
21519 conftest
$ac_exeext conftest.
$ac_ext
21523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_PTHREAD_JOINABLE_ATTR" >&5
21524 $as_echo "$ax_cv_PTHREAD_JOINABLE_ATTR" >&6; }
21525 if test "$ax_cv_PTHREAD_JOINABLE_ATTR" != unknown
&& \
21526 test "$ax_cv_PTHREAD_JOINABLE_ATTR" != PTHREAD_CREATE_JOINABLE
; then :
21528 cat >>confdefs.h
<<_ACEOF
21529 #define PTHREAD_CREATE_JOINABLE $ax_cv_PTHREAD_JOINABLE_ATTR
21534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if more special flags are required for pthreads" >&5
21535 $as_echo_n "checking if more special flags are required for pthreads... " >&6; }
21536 if ${ax_cv_PTHREAD_SPECIAL_FLAGS+:} false
; then :
21537 $as_echo_n "(cached) " >&6
21539 ax_cv_PTHREAD_SPECIAL_FLAGS
=no
21540 ax_pthread_special_flags_added
=no
21541 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21542 /* end confdefs.h. */
21544 # if !defined(_REENTRANT) && !defined(_THREAD_SAFE)
21545 AX_PTHREAD_NEED_SPECIAL_FLAG
21549 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21550 $EGREP "AX_PTHREAD_NEED_SPECIAL_FLAG" >/dev
/null
2>&1; then :
21553 ax_cv_PTHREAD_SPECIAL_FLAGS
="-D_THREAD_SAFE"
21555 darwin
* | hpux
* | osf
* | solaris
*)
21556 ax_cv_PTHREAD_SPECIAL_FLAGS
="-D_REENTRANT"
21565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_PTHREAD_SPECIAL_FLAGS" >&5
21566 $as_echo "$ax_cv_PTHREAD_SPECIAL_FLAGS" >&6; }
21567 if test "x$ax_cv_PTHREAD_SPECIAL_FLAGS" != "xno" && \
21568 test "x$ax_pthread_special_flags_added" != "xyes"; then :
21569 PTHREAD_CFLAGS
="$ax_cv_PTHREAD_SPECIAL_FLAGS $PTHREAD_CFLAGS"
21570 ax_pthread_special_flags_added
=yes
21573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PTHREAD_PRIO_INHERIT" >&5
21574 $as_echo_n "checking for PTHREAD_PRIO_INHERIT... " >&6; }
21575 if ${ax_cv_PTHREAD_PRIO_INHERIT+:} false
; then :
21576 $as_echo_n "(cached) " >&6
21578 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21579 /* end confdefs.h. */
21580 #include <pthread.h>
21584 int i = PTHREAD_PRIO_INHERIT;
21589 if ac_fn_c_try_link
"$LINENO"; then :
21590 ax_cv_PTHREAD_PRIO_INHERIT
=yes
21592 ax_cv_PTHREAD_PRIO_INHERIT
=no
21594 rm -f core conftest.err conftest.
$ac_objext \
21595 conftest
$ac_exeext conftest.
$ac_ext
21598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_PTHREAD_PRIO_INHERIT" >&5
21599 $as_echo "$ax_cv_PTHREAD_PRIO_INHERIT" >&6; }
21600 if test "x$ax_cv_PTHREAD_PRIO_INHERIT" = "xyes"; then :
21602 $as_echo "#define HAVE_PTHREAD_PRIO_INHERIT 1" >>confdefs.h
21607 CFLAGS
="$save_CFLAGS"
21609 # More AIX lossage: compile with *_r variant
21610 if test "x$GCC" != xyes
; then
21614 x
*/c89
|x
*/c89_128
|x
*/c99
|x
*/c99_128
|x
*/cc
|x
*/cc128
|x
*/xlc
|x
*/xlc_v6
|x
*/xlc128
|x
*/xlc128_v6
) :
21615 #handle absolute path differently from PATH based program lookup
21618 if as_fn_executable_p
${CC}_r
; then :
21619 PTHREAD_CC
="${CC}_r"
21622 for ac_prog
in ${CC}_r
21624 # Extract the first word of "$ac_prog", so it can be a program name with args.
21625 set dummy
$ac_prog; ac_word
=$2
21626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21627 $as_echo_n "checking for $ac_word... " >&6; }
21628 if ${ac_cv_prog_PTHREAD_CC+:} false
; then :
21629 $as_echo_n "(cached) " >&6
21631 if test -n "$PTHREAD_CC"; then
21632 ac_cv_prog_PTHREAD_CC
="$PTHREAD_CC" # Let the user override the test.
21634 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21635 for as_dir
in $PATH
21638 test -z "$as_dir" && as_dir
=.
21639 for ac_exec_ext
in '' $ac_executable_extensions; do
21640 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
21641 ac_cv_prog_PTHREAD_CC
="$ac_prog"
21642 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21651 PTHREAD_CC
=$ac_cv_prog_PTHREAD_CC
21652 if test -n "$PTHREAD_CC"; then
21653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PTHREAD_CC" >&5
21654 $as_echo "$PTHREAD_CC" >&6; }
21656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21657 $as_echo "no" >&6; }
21661 test -n "$PTHREAD_CC" && break
21663 test -n "$PTHREAD_CC" || PTHREAD_CC
="$CC"
21674 test -n "$PTHREAD_CC" || PTHREAD_CC
="$CC"
21680 # Finally, execute ACTION-IF-FOUND/ACTION-IF-NOT-FOUND:
21681 if test x
"$ax_pthread_ok" = xyes
; then
21683 $as_echo "#define HAVE_PTHREAD 1" >>confdefs.h
21691 ac_cpp
='$CXXCPP $CPPFLAGS'
21692 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21693 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21694 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21704 # Check whether --enable-javascript was given.
21705 if test "${enable_javascript+set}" = set; then :
21706 enableval
=$enable_javascript;
21707 case $enableval in #(
21715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing JSEvaluateScript" >&5
21716 $as_echo_n "checking for library containing JSEvaluateScript... " >&6; }
21717 if ${ac_cv_search_JSEvaluateScript+:} false
; then :
21718 $as_echo_n "(cached) " >&6
21720 ac_func_search_save_LIBS
=$LIBS
21721 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21722 /* end confdefs.h. */
21724 /* Override any GCC internal prototype to avoid an error.
21725 Use char because int might match the return type of a GCC
21726 builtin and then its argument prototype would still apply. */
21730 char JSEvaluateScript ();
21734 return JSEvaluateScript ();
21739 for ac_lib
in '' JavaScriptCore
; do
21740 if test -z "$ac_lib"; then
21741 ac_res
="none required"
21744 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
21746 if ac_fn_cxx_try_link
"$LINENO"; then :
21747 ac_cv_search_JSEvaluateScript
=$ac_res
21749 rm -f core conftest.err conftest.
$ac_objext \
21751 if ${ac_cv_search_JSEvaluateScript+:} false
; then :
21755 if ${ac_cv_search_JSEvaluateScript+:} false
; then :
21758 ac_cv_search_JSEvaluateScript
=no
21760 rm conftest.
$ac_ext
21761 LIBS
=$ac_func_search_save_LIBS
21763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_JSEvaluateScript" >&5
21764 $as_echo "$ac_cv_search_JSEvaluateScript" >&6; }
21765 ac_res
=$ac_cv_search_JSEvaluateScript
21766 if test "$ac_res" != no
; then :
21767 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
21774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
21775 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
21776 if ${ac_cv_framework_JavaScriptCore+:} false
; then :
21777 $as_echo_n "(cached) " >&6
21780 ac_check_framework_save_LIBS
=$LIBS
21781 LIBS
="-framework JavaScriptCore $LIBS"
21782 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21783 /* end confdefs.h. */
21785 #include <JavaScriptCore/JSBase.h>
21791 JSEvaluateScript(0, 0, 0, 0, 0, 0);
21797 if ac_fn_cxx_try_link
"$LINENO"; then :
21799 ac_cv_framework_JavaScriptCore
=yes
21802 ac_cv_framework_JavaScriptCore
=no
21804 rm -f core conftest.err conftest.
$ac_objext \
21805 conftest
$ac_exeext conftest.
$ac_ext
21806 LIBS
=$ac_check_framework_save_LIBS
21809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
21810 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
21811 if test $ac_cv_framework_JavaScriptCore = yes; then :
21814 for element
in "-framework JavaScriptCore"; do
21818 acl_save_prefix
="$prefix"
21819 prefix
="$acl_final_prefix"
21820 acl_save_exec_prefix
="$exec_prefix"
21821 exec_prefix
="$acl_final_exec_prefix"
21823 exec_prefix
="$acl_save_exec_prefix"
21824 prefix
="$acl_save_prefix"
21826 if test "X$x" = "X$element"; then
21831 if test -z "$haveit"; then
21832 LIBS
="${LIBS}${LIBS:+ }$element"
21843 for cy_webkit_pkg
in "javascriptcoregtk-4.0"; do
21846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
21847 $as_echo_n "checking for WEBKIT... " >&6; }
21849 if test -n "$WEBKIT_CFLAGS"; then
21850 pkg_cv_WEBKIT_CFLAGS
="$WEBKIT_CFLAGS"
21851 elif test -n "$PKG_CONFIG"; then
21852 if test -n "$PKG_CONFIG" && \
21853 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$cy_webkit_pkg\""; } >&5
21854 ($PKG_CONFIG --exists --print-errors "$cy_webkit_pkg") 2>&5
21856 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21857 test $ac_status = 0; }; then
21858 pkg_cv_WEBKIT_CFLAGS
=`$PKG_CONFIG --cflags "$cy_webkit_pkg" 2>/dev/null`
21859 test "x$?" != "x0" && pkg_failed
=yes
21866 if test -n "$WEBKIT_LIBS"; then
21867 pkg_cv_WEBKIT_LIBS
="$WEBKIT_LIBS"
21868 elif test -n "$PKG_CONFIG"; then
21869 if test -n "$PKG_CONFIG" && \
21870 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$cy_webkit_pkg\""; } >&5
21871 ($PKG_CONFIG --exists --print-errors "$cy_webkit_pkg") 2>&5
21873 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21874 test $ac_status = 0; }; then
21875 pkg_cv_WEBKIT_LIBS
=`$PKG_CONFIG --libs "$cy_webkit_pkg" 2>/dev/null`
21876 test "x$?" != "x0" && pkg_failed
=yes
21886 if test $pkg_failed = yes; then
21887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21888 $as_echo "no" >&6; }
21890 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
21891 _pkg_short_errors_supported
=yes
21893 _pkg_short_errors_supported
=no
21895 if test $_pkg_short_errors_supported = yes; then
21896 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$cy_webkit_pkg" 2>&1`
21898 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "$cy_webkit_pkg" 2>&1`
21900 # Put the nasty error message in config.log where it belongs
21901 echo "$WEBKIT_PKG_ERRORS" >&5
21904 elif test $pkg_failed = untried
; then
21905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21906 $as_echo "no" >&6; }
21909 WEBKIT_CFLAGS
=$pkg_cv_WEBKIT_CFLAGS
21910 WEBKIT_LIBS
=$pkg_cv_WEBKIT_LIBS
21911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21912 $as_echo "yes" >&6; }
21917 for element
in `$PKG_CONFIG --cflags $cy_webkit_pkg`; do
21919 for x
in $CPPFLAGS; do
21921 acl_save_prefix
="$prefix"
21922 prefix
="$acl_final_prefix"
21923 acl_save_exec_prefix
="$exec_prefix"
21924 exec_prefix
="$acl_final_exec_prefix"
21926 exec_prefix
="$acl_save_exec_prefix"
21927 prefix
="$acl_save_prefix"
21929 if test "X$x" = "X$element"; then
21934 if test -z "$haveit"; then
21935 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
21940 for element
in `$PKG_CONFIG --libs $cy_webkit_pkg`; do
21944 acl_save_prefix
="$prefix"
21945 prefix
="$acl_final_prefix"
21946 acl_save_exec_prefix
="$exec_prefix"
21947 exec_prefix
="$acl_final_exec_prefix"
21949 exec_prefix
="$acl_save_exec_prefix"
21950 prefix
="$acl_save_prefix"
21952 if test "X$x" = "X$element"; then
21957 if test -z "$haveit"; then
21958 LIBS
="${LIBS}${LIBS:+ }$element"
21963 fi; if test "x$CY_EXECUTE" = x1
; then break; fi
21969 LTJAVASCRIPTCORE
=$LIBS
21984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing JSEvaluateScript" >&5
21985 $as_echo_n "checking for library containing JSEvaluateScript... " >&6; }
21986 if ${ac_cv_search_JSEvaluateScript+:} false
; then :
21987 $as_echo_n "(cached) " >&6
21989 ac_func_search_save_LIBS
=$LIBS
21990 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21991 /* end confdefs.h. */
21993 /* Override any GCC internal prototype to avoid an error.
21994 Use char because int might match the return type of a GCC
21995 builtin and then its argument prototype would still apply. */
21999 char JSEvaluateScript ();
22003 return JSEvaluateScript ();
22008 for ac_lib
in '' JavaScriptCore
; do
22009 if test -z "$ac_lib"; then
22010 ac_res
="none required"
22013 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
22015 if ac_fn_cxx_try_link
"$LINENO"; then :
22016 ac_cv_search_JSEvaluateScript
=$ac_res
22018 rm -f core conftest.err conftest.
$ac_objext \
22020 if ${ac_cv_search_JSEvaluateScript+:} false
; then :
22024 if ${ac_cv_search_JSEvaluateScript+:} false
; then :
22027 ac_cv_search_JSEvaluateScript
=no
22029 rm conftest.
$ac_ext
22030 LIBS
=$ac_func_search_save_LIBS
22032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_JSEvaluateScript" >&5
22033 $as_echo "$ac_cv_search_JSEvaluateScript" >&6; }
22034 ac_res
=$ac_cv_search_JSEvaluateScript
22035 if test "$ac_res" != no
; then :
22036 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
22043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
22044 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
22045 if ${ac_cv_framework_JavaScriptCore+:} false
; then :
22046 $as_echo_n "(cached) " >&6
22049 ac_check_framework_save_LIBS
=$LIBS
22050 LIBS
="-framework JavaScriptCore $LIBS"
22051 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22052 /* end confdefs.h. */
22054 #include <JavaScriptCore/JSBase.h>
22060 JSEvaluateScript(0, 0, 0, 0, 0, 0);
22066 if ac_fn_cxx_try_link
"$LINENO"; then :
22068 ac_cv_framework_JavaScriptCore
=yes
22071 ac_cv_framework_JavaScriptCore
=no
22073 rm -f core conftest.err conftest.
$ac_objext \
22074 conftest
$ac_exeext conftest.
$ac_ext
22075 LIBS
=$ac_check_framework_save_LIBS
22078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
22079 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
22080 if test $ac_cv_framework_JavaScriptCore = yes; then :
22083 for element
in "-framework JavaScriptCore"; do
22087 acl_save_prefix
="$prefix"
22088 prefix
="$acl_final_prefix"
22089 acl_save_exec_prefix
="$exec_prefix"
22090 exec_prefix
="$acl_final_exec_prefix"
22092 exec_prefix
="$acl_save_exec_prefix"
22093 prefix
="$acl_save_prefix"
22095 if test "X$x" = "X$element"; then
22100 if test -z "$haveit"; then
22101 LIBS
="${LIBS}${LIBS:+ }$element"
22112 for cy_webkit_pkg
in "javascriptcoregtk-4.0"; do
22115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
22116 $as_echo_n "checking for WEBKIT... " >&6; }
22118 if test -n "$WEBKIT_CFLAGS"; then
22119 pkg_cv_WEBKIT_CFLAGS
="$WEBKIT_CFLAGS"
22120 elif test -n "$PKG_CONFIG"; then
22121 if test -n "$PKG_CONFIG" && \
22122 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$cy_webkit_pkg\""; } >&5
22123 ($PKG_CONFIG --exists --print-errors "$cy_webkit_pkg") 2>&5
22125 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22126 test $ac_status = 0; }; then
22127 pkg_cv_WEBKIT_CFLAGS
=`$PKG_CONFIG --cflags "$cy_webkit_pkg" 2>/dev/null`
22128 test "x$?" != "x0" && pkg_failed
=yes
22135 if test -n "$WEBKIT_LIBS"; then
22136 pkg_cv_WEBKIT_LIBS
="$WEBKIT_LIBS"
22137 elif test -n "$PKG_CONFIG"; then
22138 if test -n "$PKG_CONFIG" && \
22139 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$cy_webkit_pkg\""; } >&5
22140 ($PKG_CONFIG --exists --print-errors "$cy_webkit_pkg") 2>&5
22142 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22143 test $ac_status = 0; }; then
22144 pkg_cv_WEBKIT_LIBS
=`$PKG_CONFIG --libs "$cy_webkit_pkg" 2>/dev/null`
22145 test "x$?" != "x0" && pkg_failed
=yes
22155 if test $pkg_failed = yes; then
22156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22157 $as_echo "no" >&6; }
22159 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
22160 _pkg_short_errors_supported
=yes
22162 _pkg_short_errors_supported
=no
22164 if test $_pkg_short_errors_supported = yes; then
22165 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$cy_webkit_pkg" 2>&1`
22167 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "$cy_webkit_pkg" 2>&1`
22169 # Put the nasty error message in config.log where it belongs
22170 echo "$WEBKIT_PKG_ERRORS" >&5
22173 elif test $pkg_failed = untried
; then
22174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22175 $as_echo "no" >&6; }
22178 WEBKIT_CFLAGS
=$pkg_cv_WEBKIT_CFLAGS
22179 WEBKIT_LIBS
=$pkg_cv_WEBKIT_LIBS
22180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22181 $as_echo "yes" >&6; }
22186 for element
in `$PKG_CONFIG --cflags $cy_webkit_pkg`; do
22188 for x
in $CPPFLAGS; do
22190 acl_save_prefix
="$prefix"
22191 prefix
="$acl_final_prefix"
22192 acl_save_exec_prefix
="$exec_prefix"
22193 exec_prefix
="$acl_final_exec_prefix"
22195 exec_prefix
="$acl_save_exec_prefix"
22196 prefix
="$acl_save_prefix"
22198 if test "X$x" = "X$element"; then
22203 if test -z "$haveit"; then
22204 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
22209 for element
in `$PKG_CONFIG --libs $cy_webkit_pkg`; do
22213 acl_save_prefix
="$prefix"
22214 prefix
="$acl_final_prefix"
22215 acl_save_exec_prefix
="$exec_prefix"
22216 exec_prefix
="$acl_final_exec_prefix"
22218 exec_prefix
="$acl_save_exec_prefix"
22219 prefix
="$acl_save_prefix"
22221 if test "X$x" = "X$element"; then
22226 if test -z "$haveit"; then
22227 LIBS
="${LIBS}${LIBS:+ }$element"
22232 fi; if test "x$CY_EXECUTE" = x1
; then break; fi
22238 LTJAVASCRIPTCORE
=$LIBS
22244 as_fn_error $?
"Unknown JavaScript engine: $enableval" "$LINENO" 5 ;;
22253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing JSEvaluateScript" >&5
22254 $as_echo_n "checking for library containing JSEvaluateScript... " >&6; }
22255 if ${ac_cv_search_JSEvaluateScript+:} false
; then :
22256 $as_echo_n "(cached) " >&6
22258 ac_func_search_save_LIBS
=$LIBS
22259 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22260 /* end confdefs.h. */
22262 /* Override any GCC internal prototype to avoid an error.
22263 Use char because int might match the return type of a GCC
22264 builtin and then its argument prototype would still apply. */
22268 char JSEvaluateScript ();
22272 return JSEvaluateScript ();
22277 for ac_lib
in '' JavaScriptCore
; do
22278 if test -z "$ac_lib"; then
22279 ac_res
="none required"
22282 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
22284 if ac_fn_cxx_try_link
"$LINENO"; then :
22285 ac_cv_search_JSEvaluateScript
=$ac_res
22287 rm -f core conftest.err conftest.
$ac_objext \
22289 if ${ac_cv_search_JSEvaluateScript+:} false
; then :
22293 if ${ac_cv_search_JSEvaluateScript+:} false
; then :
22296 ac_cv_search_JSEvaluateScript
=no
22298 rm conftest.
$ac_ext
22299 LIBS
=$ac_func_search_save_LIBS
22301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_JSEvaluateScript" >&5
22302 $as_echo "$ac_cv_search_JSEvaluateScript" >&6; }
22303 ac_res
=$ac_cv_search_JSEvaluateScript
22304 if test "$ac_res" != no
; then :
22305 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
22312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
22313 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
22314 if ${ac_cv_framework_JavaScriptCore+:} false
; then :
22315 $as_echo_n "(cached) " >&6
22318 ac_check_framework_save_LIBS
=$LIBS
22319 LIBS
="-framework JavaScriptCore $LIBS"
22320 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22321 /* end confdefs.h. */
22323 #include <JavaScriptCore/JSBase.h>
22329 JSEvaluateScript(0, 0, 0, 0, 0, 0);
22335 if ac_fn_cxx_try_link
"$LINENO"; then :
22337 ac_cv_framework_JavaScriptCore
=yes
22340 ac_cv_framework_JavaScriptCore
=no
22342 rm -f core conftest.err conftest.
$ac_objext \
22343 conftest
$ac_exeext conftest.
$ac_ext
22344 LIBS
=$ac_check_framework_save_LIBS
22347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
22348 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
22349 if test $ac_cv_framework_JavaScriptCore = yes; then :
22352 for element
in "-framework JavaScriptCore"; do
22356 acl_save_prefix
="$prefix"
22357 prefix
="$acl_final_prefix"
22358 acl_save_exec_prefix
="$exec_prefix"
22359 exec_prefix
="$acl_final_exec_prefix"
22361 exec_prefix
="$acl_save_exec_prefix"
22362 prefix
="$acl_save_prefix"
22364 if test "X$x" = "X$element"; then
22369 if test -z "$haveit"; then
22370 LIBS
="${LIBS}${LIBS:+ }$element"
22381 for cy_webkit_pkg
in "javascriptcoregtk-4.0"; do
22384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
22385 $as_echo_n "checking for WEBKIT... " >&6; }
22387 if test -n "$WEBKIT_CFLAGS"; then
22388 pkg_cv_WEBKIT_CFLAGS
="$WEBKIT_CFLAGS"
22389 elif test -n "$PKG_CONFIG"; then
22390 if test -n "$PKG_CONFIG" && \
22391 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$cy_webkit_pkg\""; } >&5
22392 ($PKG_CONFIG --exists --print-errors "$cy_webkit_pkg") 2>&5
22394 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22395 test $ac_status = 0; }; then
22396 pkg_cv_WEBKIT_CFLAGS
=`$PKG_CONFIG --cflags "$cy_webkit_pkg" 2>/dev/null`
22397 test "x$?" != "x0" && pkg_failed
=yes
22404 if test -n "$WEBKIT_LIBS"; then
22405 pkg_cv_WEBKIT_LIBS
="$WEBKIT_LIBS"
22406 elif test -n "$PKG_CONFIG"; then
22407 if test -n "$PKG_CONFIG" && \
22408 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$cy_webkit_pkg\""; } >&5
22409 ($PKG_CONFIG --exists --print-errors "$cy_webkit_pkg") 2>&5
22411 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22412 test $ac_status = 0; }; then
22413 pkg_cv_WEBKIT_LIBS
=`$PKG_CONFIG --libs "$cy_webkit_pkg" 2>/dev/null`
22414 test "x$?" != "x0" && pkg_failed
=yes
22424 if test $pkg_failed = yes; then
22425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22426 $as_echo "no" >&6; }
22428 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
22429 _pkg_short_errors_supported
=yes
22431 _pkg_short_errors_supported
=no
22433 if test $_pkg_short_errors_supported = yes; then
22434 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$cy_webkit_pkg" 2>&1`
22436 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "$cy_webkit_pkg" 2>&1`
22438 # Put the nasty error message in config.log where it belongs
22439 echo "$WEBKIT_PKG_ERRORS" >&5
22442 elif test $pkg_failed = untried
; then
22443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22444 $as_echo "no" >&6; }
22447 WEBKIT_CFLAGS
=$pkg_cv_WEBKIT_CFLAGS
22448 WEBKIT_LIBS
=$pkg_cv_WEBKIT_LIBS
22449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22450 $as_echo "yes" >&6; }
22455 for element
in `$PKG_CONFIG --cflags $cy_webkit_pkg`; do
22457 for x
in $CPPFLAGS; do
22459 acl_save_prefix
="$prefix"
22460 prefix
="$acl_final_prefix"
22461 acl_save_exec_prefix
="$exec_prefix"
22462 exec_prefix
="$acl_final_exec_prefix"
22464 exec_prefix
="$acl_save_exec_prefix"
22465 prefix
="$acl_save_prefix"
22467 if test "X$x" = "X$element"; then
22472 if test -z "$haveit"; then
22473 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
22478 for element
in `$PKG_CONFIG --libs $cy_webkit_pkg`; do
22482 acl_save_prefix
="$prefix"
22483 prefix
="$acl_final_prefix"
22484 acl_save_exec_prefix
="$exec_prefix"
22485 exec_prefix
="$acl_final_exec_prefix"
22487 exec_prefix
="$acl_save_exec_prefix"
22488 prefix
="$acl_save_prefix"
22490 if test "X$x" = "X$element"; then
22495 if test -z "$haveit"; then
22496 LIBS
="${LIBS}${LIBS:+ }$element"
22501 fi; if test "x$CY_EXECUTE" = x1
; then break; fi
22507 LTJAVASCRIPTCORE
=$LIBS
22515 # Check whether --enable-console was given.
22516 if test "${enable_console+set}" = set; then :
22517 enableval
=$enable_console;
22520 if test "x$enable_console" != "xno"; then
22522 CY_CONSOLE_FALSE
='#'
22524 CY_CONSOLE_TRUE
='#'
22529 # Check whether --enable-attach was given.
22530 if test "${enable_attach+set}" = set; then :
22531 enableval
=$enable_attach;
22534 if test "x$enable_attach" != "xno" -a "x$CY_EXECUTE" = x1
; then
22536 CY_ATTACH_FALSE
='#'
22545 if test "x$CY_EXECUTE" = x1
; then
22547 CY_EXECUTE_FALSE
='#'
22549 CY_EXECUTE_TRUE
='#'
22554 if test "x$CY_SYSTEM" = x
; then CY_SYSTEM
=1; fi
22558 case $CY_EXECUTE in #(
22564 for ac_header
in uv.h
22566 ac_fn_cxx_check_header_mongrel
"$LINENO" "uv.h" "ac_cv_header_uv_h" "$ac_includes_default"
22567 if test "x$ac_cv_header_uv_h" = xyes
; then :
22568 cat >>confdefs.h
<<_ACEOF
22569 #define HAVE_UV_H 1
22572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing uv_loop_init" >&5
22573 $as_echo_n "checking for library containing uv_loop_init... " >&6; }
22574 if ${ac_cv_search_uv_loop_init+:} false
; then :
22575 $as_echo_n "(cached) " >&6
22577 ac_func_search_save_LIBS
=$LIBS
22578 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22579 /* end confdefs.h. */
22581 /* Override any GCC internal prototype to avoid an error.
22582 Use char because int might match the return type of a GCC
22583 builtin and then its argument prototype would still apply. */
22587 char uv_loop_init ();
22591 return uv_loop_init ();
22596 for ac_lib
in '' uv
; do
22597 if test -z "$ac_lib"; then
22598 ac_res
="none required"
22601 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
22603 if ac_fn_cxx_try_link
"$LINENO"; then :
22604 ac_cv_search_uv_loop_init
=$ac_res
22606 rm -f core conftest.err conftest.
$ac_objext \
22608 if ${ac_cv_search_uv_loop_init+:} false
; then :
22612 if ${ac_cv_search_uv_loop_init+:} false
; then :
22615 ac_cv_search_uv_loop_init
=no
22617 rm conftest.
$ac_ext
22618 LIBS
=$ac_func_search_save_LIBS
22620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_uv_loop_init" >&5
22621 $as_echo "$ac_cv_search_uv_loop_init" >&6; }
22622 ac_res
=$ac_cv_search_uv_loop_init
22623 if test "$ac_res" != no
; then :
22624 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
22641 for ac_header
in sqlite3.h
22643 ac_fn_cxx_check_header_mongrel
"$LINENO" "sqlite3.h" "ac_cv_header_sqlite3_h" "$ac_includes_default"
22644 if test "x$ac_cv_header_sqlite3_h" = xyes
; then :
22645 cat >>confdefs.h
<<_ACEOF
22646 #define HAVE_SQLITE3_H 1
22649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sqlite3_open_v2" >&5
22650 $as_echo_n "checking for library containing sqlite3_open_v2... " >&6; }
22651 if ${ac_cv_search_sqlite3_open_v2+:} false
; then :
22652 $as_echo_n "(cached) " >&6
22654 ac_func_search_save_LIBS
=$LIBS
22655 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22656 /* end confdefs.h. */
22658 /* Override any GCC internal prototype to avoid an error.
22659 Use char because int might match the return type of a GCC
22660 builtin and then its argument prototype would still apply. */
22664 char sqlite3_open_v2 ();
22668 return sqlite3_open_v2 ();
22673 for ac_lib
in '' sqlite3 sqlite
; do
22674 if test -z "$ac_lib"; then
22675 ac_res
="none required"
22678 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
22680 if ac_fn_cxx_try_link
"$LINENO"; then :
22681 ac_cv_search_sqlite3_open_v2
=$ac_res
22683 rm -f core conftest.err conftest.
$ac_objext \
22685 if ${ac_cv_search_sqlite3_open_v2+:} false
; then :
22689 if ${ac_cv_search_sqlite3_open_v2+:} false
; then :
22692 ac_cv_search_sqlite3_open_v2
=no
22694 rm conftest.
$ac_ext
22695 LIBS
=$ac_func_search_save_LIBS
22697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sqlite3_open_v2" >&5
22698 $as_echo "$ac_cv_search_sqlite3_open_v2" >&6; }
22699 ac_res
=$ac_cv_search_sqlite3_open_v2
22700 if test "$ac_res" != no
; then :
22701 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
22715 for ac_header
in ffi.h ffi
/ffi.h
22717 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
22718 ac_fn_cxx_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
22719 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
22720 cat >>confdefs.h
<<_ACEOF
22721 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
22732 if test "x$ac_cv_header_ffi_h" = xno
&& test "x$ac_cv_header_ffi_ffi_h" = xno
; then :
22737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBFFI" >&5
22738 $as_echo_n "checking for LIBFFI... " >&6; }
22740 if test -n "$LIBFFI_CFLAGS"; then
22741 pkg_cv_LIBFFI_CFLAGS
="$LIBFFI_CFLAGS"
22742 elif test -n "$PKG_CONFIG"; then
22743 if test -n "$PKG_CONFIG" && \
22744 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libffi\""; } >&5
22745 ($PKG_CONFIG --exists --print-errors "libffi") 2>&5
22747 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22748 test $ac_status = 0; }; then
22749 pkg_cv_LIBFFI_CFLAGS
=`$PKG_CONFIG --cflags "libffi" 2>/dev/null`
22750 test "x$?" != "x0" && pkg_failed
=yes
22757 if test -n "$LIBFFI_LIBS"; then
22758 pkg_cv_LIBFFI_LIBS
="$LIBFFI_LIBS"
22759 elif test -n "$PKG_CONFIG"; then
22760 if test -n "$PKG_CONFIG" && \
22761 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libffi\""; } >&5
22762 ($PKG_CONFIG --exists --print-errors "libffi") 2>&5
22764 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22765 test $ac_status = 0; }; then
22766 pkg_cv_LIBFFI_LIBS
=`$PKG_CONFIG --libs "libffi" 2>/dev/null`
22767 test "x$?" != "x0" && pkg_failed
=yes
22777 if test $pkg_failed = yes; then
22778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22779 $as_echo "no" >&6; }
22781 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
22782 _pkg_short_errors_supported
=yes
22784 _pkg_short_errors_supported
=no
22786 if test $_pkg_short_errors_supported = yes; then
22787 LIBFFI_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libffi" 2>&1`
22789 LIBFFI_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "libffi" 2>&1`
22791 # Put the nasty error message in config.log where it belongs
22792 echo "$LIBFFI_PKG_ERRORS" >&5
22794 as_fn_error $?
"missing \"libffi\"" "$LINENO" 5
22795 elif test $pkg_failed = untried
; then
22796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22797 $as_echo "no" >&6; }
22798 as_fn_error $?
"missing \"libffi\"" "$LINENO" 5
22800 LIBFFI_CFLAGS
=$pkg_cv_LIBFFI_CFLAGS
22801 LIBFFI_LIBS
=$pkg_cv_LIBFFI_LIBS
22802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22803 $as_echo "yes" >&6; }
22806 for element
in `$PKG_CONFIG --cflags libffi`; do
22808 for x
in $CPPFLAGS; do
22810 acl_save_prefix
="$prefix"
22811 prefix
="$acl_final_prefix"
22812 acl_save_exec_prefix
="$exec_prefix"
22813 exec_prefix
="$acl_final_exec_prefix"
22815 exec_prefix
="$acl_save_exec_prefix"
22816 prefix
="$acl_save_prefix"
22818 if test "X$x" = "X$element"; then
22823 if test -z "$haveit"; then
22824 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
22829 for element
in `$PKG_CONFIG --libs libffi`; do
22833 acl_save_prefix
="$prefix"
22834 prefix
="$acl_final_prefix"
22835 acl_save_exec_prefix
="$exec_prefix"
22836 exec_prefix
="$acl_final_exec_prefix"
22838 exec_prefix
="$acl_save_exec_prefix"
22839 prefix
="$acl_save_prefix"
22841 if test "X$x" = "X$element"; then
22846 if test -z "$haveit"; then
22847 LIBS
="${LIBS}${LIBS:+ }$element"
22856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing ffi_call" >&5
22857 $as_echo_n "checking for library containing ffi_call... " >&6; }
22858 if ${ac_cv_search_ffi_call+:} false
; then :
22859 $as_echo_n "(cached) " >&6
22861 ac_func_search_save_LIBS
=$LIBS
22862 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22863 /* end confdefs.h. */
22865 /* Override any GCC internal prototype to avoid an error.
22866 Use char because int might match the return type of a GCC
22867 builtin and then its argument prototype would still apply. */
22875 return ffi_call ();
22880 for ac_lib
in '' ffi
; do
22881 if test -z "$ac_lib"; then
22882 ac_res
="none required"
22885 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
22887 if ac_fn_cxx_try_link
"$LINENO"; then :
22888 ac_cv_search_ffi_call
=$ac_res
22890 rm -f core conftest.err conftest.
$ac_objext \
22892 if ${ac_cv_search_ffi_call+:} false
; then :
22896 if ${ac_cv_search_ffi_call+:} false
; then :
22899 ac_cv_search_ffi_call
=no
22901 rm conftest.
$ac_ext
22902 LIBS
=$ac_func_search_save_LIBS
22904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_ffi_call" >&5
22905 $as_echo "$ac_cv_search_ffi_call" >&6; }
22906 ac_res
=$ac_cv_search_ffi_call
22907 if test "$ac_res" != no
; then :
22908 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
22912 case $ac_cv_search_ffi_call in #(
22917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBFFI" >&5
22918 $as_echo_n "checking for LIBFFI... " >&6; }
22920 if test -n "$LIBFFI_CFLAGS"; then
22921 pkg_cv_LIBFFI_CFLAGS
="$LIBFFI_CFLAGS"
22922 elif test -n "$PKG_CONFIG"; then
22923 if test -n "$PKG_CONFIG" && \
22924 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libffi\""; } >&5
22925 ($PKG_CONFIG --exists --print-errors "libffi") 2>&5
22927 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22928 test $ac_status = 0; }; then
22929 pkg_cv_LIBFFI_CFLAGS
=`$PKG_CONFIG --cflags "libffi" 2>/dev/null`
22930 test "x$?" != "x0" && pkg_failed
=yes
22937 if test -n "$LIBFFI_LIBS"; then
22938 pkg_cv_LIBFFI_LIBS
="$LIBFFI_LIBS"
22939 elif test -n "$PKG_CONFIG"; then
22940 if test -n "$PKG_CONFIG" && \
22941 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libffi\""; } >&5
22942 ($PKG_CONFIG --exists --print-errors "libffi") 2>&5
22944 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22945 test $ac_status = 0; }; then
22946 pkg_cv_LIBFFI_LIBS
=`$PKG_CONFIG --libs "libffi" 2>/dev/null`
22947 test "x$?" != "x0" && pkg_failed
=yes
22957 if test $pkg_failed = yes; then
22958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22959 $as_echo "no" >&6; }
22961 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
22962 _pkg_short_errors_supported
=yes
22964 _pkg_short_errors_supported
=no
22966 if test $_pkg_short_errors_supported = yes; then
22967 LIBFFI_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libffi" 2>&1`
22969 LIBFFI_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "libffi" 2>&1`
22971 # Put the nasty error message in config.log where it belongs
22972 echo "$LIBFFI_PKG_ERRORS" >&5
22974 as_fn_error $?
"missing \"libffi\"" "$LINENO" 5
22975 elif test $pkg_failed = untried
; then
22976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22977 $as_echo "no" >&6; }
22978 as_fn_error $?
"missing \"libffi\"" "$LINENO" 5
22980 LIBFFI_CFLAGS
=$pkg_cv_LIBFFI_CFLAGS
22981 LIBFFI_LIBS
=$pkg_cv_LIBFFI_LIBS
22982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22983 $as_echo "yes" >&6; }
22986 for element
in `$PKG_CONFIG --cflags libffi`; do
22988 for x
in $CPPFLAGS; do
22990 acl_save_prefix
="$prefix"
22991 prefix
="$acl_final_prefix"
22992 acl_save_exec_prefix
="$exec_prefix"
22993 exec_prefix
="$acl_final_exec_prefix"
22995 exec_prefix
="$acl_save_exec_prefix"
22996 prefix
="$acl_save_prefix"
22998 if test "X$x" = "X$element"; then
23003 if test -z "$haveit"; then
23004 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
23009 for element
in `$PKG_CONFIG --libs libffi`; do
23013 acl_save_prefix
="$prefix"
23014 prefix
="$acl_final_prefix"
23015 acl_save_exec_prefix
="$exec_prefix"
23016 exec_prefix
="$acl_final_exec_prefix"
23018 exec_prefix
="$acl_save_exec_prefix"
23019 prefix
="$acl_save_prefix"
23021 if test "X$x" = "X$element"; then
23026 if test -z "$haveit"; then
23027 LIBS
="${LIBS}${LIBS:+ }$element"
23036 for ac_func
in ffi_prep_cif_var
23038 ac_fn_cxx_check_func
"$LINENO" "ffi_prep_cif_var" "ac_cv_func_ffi_prep_cif_var"
23039 if test "x$ac_cv_func_ffi_prep_cif_var" = xyes
; then :
23040 cat >>confdefs.h
<<_ACEOF
23041 #define HAVE_FFI_PREP_CIF_VAR 1
23058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaVM" >&5
23059 $as_echo_n "checking for framework JavaVM... " >&6; }
23060 if ${ac_cv_framework_JavaVM+:} false
; then :
23061 $as_echo_n "(cached) " >&6
23064 ac_check_framework_save_LIBS
=$LIBS
23065 LIBS
="-framework JavaVM $LIBS"
23066 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23067 /* end confdefs.h. */
23069 #include <JavaVM/jni.h>
23074 JNI_GetCreatedJavaVMs(NULL, 0, NULL);
23079 if ac_fn_cxx_try_link
"$LINENO"; then :
23081 ac_cv_framework_JavaVM
=yes
23084 ac_cv_framework_JavaVM
=no
23086 rm -f core conftest.err conftest.
$ac_objext \
23087 conftest
$ac_exeext conftest.
$ac_ext
23088 LIBS
=$ac_check_framework_save_LIBS
23091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaVM" >&5
23092 $as_echo "$ac_cv_framework_JavaVM" >&6; }
23093 if test $ac_cv_framework_JavaVM = yes; then :
23096 for element
in "-framework JavaVM"; do
23100 acl_save_prefix
="$prefix"
23101 prefix
="$acl_final_prefix"
23102 acl_save_exec_prefix
="$exec_prefix"
23103 exec_prefix
="$acl_final_exec_prefix"
23105 exec_prefix
="$acl_save_exec_prefix"
23106 prefix
="$acl_save_prefix"
23108 if test "X$x" = "X$element"; then
23113 if test -z "$haveit"; then
23114 LIBS
="${LIBS}${LIBS:+ }$element"
23124 ac_fn_cxx_check_header_mongrel
"$LINENO" "jni.h" "ac_cv_header_jni_h" "$ac_includes_default"
23125 if test "x$ac_cv_header_jni_h" = xyes
; then :
23129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing JNI_GetCreatedJavaVMs" >&5
23130 $as_echo_n "checking for library containing JNI_GetCreatedJavaVMs... " >&6; }
23131 if ${ac_cv_search_JNI_GetCreatedJavaVMs+:} false
; then :
23132 $as_echo_n "(cached) " >&6
23134 ac_func_search_save_LIBS
=$LIBS
23135 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23136 /* end confdefs.h. */
23138 /* Override any GCC internal prototype to avoid an error.
23139 Use char because int might match the return type of a GCC
23140 builtin and then its argument prototype would still apply. */
23144 char JNI_GetCreatedJavaVMs ();
23148 return JNI_GetCreatedJavaVMs ();
23153 for ac_lib
in '' art dvm
; do
23154 if test -z "$ac_lib"; then
23155 ac_res
="none required"
23158 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
23160 if ac_fn_cxx_try_link
"$LINENO"; then :
23161 ac_cv_search_JNI_GetCreatedJavaVMs
=$ac_res
23163 rm -f core conftest.err conftest.
$ac_objext \
23165 if ${ac_cv_search_JNI_GetCreatedJavaVMs+:} false
; then :
23169 if ${ac_cv_search_JNI_GetCreatedJavaVMs+:} false
; then :
23172 ac_cv_search_JNI_GetCreatedJavaVMs
=no
23174 rm conftest.
$ac_ext
23175 LIBS
=$ac_func_search_save_LIBS
23177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_JNI_GetCreatedJavaVMs" >&5
23178 $as_echo "$ac_cv_search_JNI_GetCreatedJavaVMs" >&6; }
23179 ac_res
=$ac_cv_search_JNI_GetCreatedJavaVMs
23180 if test "$ac_res" != no
; then :
23181 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
23206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBRUBY21" >&5
23207 $as_echo_n "checking for LIBRUBY21... " >&6; }
23209 if test -n "$LIBRUBY21_CFLAGS"; then
23210 pkg_cv_LIBRUBY21_CFLAGS
="$LIBRUBY21_CFLAGS"
23211 elif test -n "$PKG_CONFIG"; then
23212 if test -n "$PKG_CONFIG" && \
23213 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ruby-2.1\""; } >&5
23214 ($PKG_CONFIG --exists --print-errors "ruby-2.1") 2>&5
23216 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23217 test $ac_status = 0; }; then
23218 pkg_cv_LIBRUBY21_CFLAGS
=`$PKG_CONFIG --cflags "ruby-2.1" 2>/dev/null`
23219 test "x$?" != "x0" && pkg_failed
=yes
23226 if test -n "$LIBRUBY21_LIBS"; then
23227 pkg_cv_LIBRUBY21_LIBS
="$LIBRUBY21_LIBS"
23228 elif test -n "$PKG_CONFIG"; then
23229 if test -n "$PKG_CONFIG" && \
23230 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ruby-2.1\""; } >&5
23231 ($PKG_CONFIG --exists --print-errors "ruby-2.1") 2>&5
23233 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23234 test $ac_status = 0; }; then
23235 pkg_cv_LIBRUBY21_LIBS
=`$PKG_CONFIG --libs "ruby-2.1" 2>/dev/null`
23236 test "x$?" != "x0" && pkg_failed
=yes
23246 if test $pkg_failed = yes; then
23247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23248 $as_echo "no" >&6; }
23250 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
23251 _pkg_short_errors_supported
=yes
23253 _pkg_short_errors_supported
=no
23255 if test $_pkg_short_errors_supported = yes; then
23256 LIBRUBY21_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "ruby-2.1" 2>&1`
23258 LIBRUBY21_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "ruby-2.1" 2>&1`
23260 # Put the nasty error message in config.log where it belongs
23261 echo "$LIBRUBY21_PKG_ERRORS" >&5
23264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework Ruby" >&5
23265 $as_echo_n "checking for framework Ruby... " >&6; }
23266 if ${ac_cv_framework_Ruby+:} false
; then :
23267 $as_echo_n "(cached) " >&6
23270 ac_check_framework_save_LIBS
=$LIBS
23271 LIBS
="-framework Ruby $LIBS"
23272 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23273 /* end confdefs.h. */
23275 #include <Ruby/ruby.h>
23285 if ac_fn_cxx_try_link
"$LINENO"; then :
23287 ac_cv_framework_Ruby
=yes
23290 ac_cv_framework_Ruby
=no
23292 rm -f core conftest.err conftest.
$ac_objext \
23293 conftest
$ac_exeext conftest.
$ac_ext
23294 LIBS
=$ac_check_framework_save_LIBS
23297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_Ruby" >&5
23298 $as_echo "$ac_cv_framework_Ruby" >&6; }
23299 if test $ac_cv_framework_Ruby = yes; then :
23302 for element
in "-framework Ruby"; do
23306 acl_save_prefix
="$prefix"
23307 prefix
="$acl_final_prefix"
23308 acl_save_exec_prefix
="$exec_prefix"
23309 exec_prefix
="$acl_final_exec_prefix"
23311 exec_prefix
="$acl_save_exec_prefix"
23312 prefix
="$acl_save_prefix"
23314 if test "X$x" = "X$element"; then
23319 if test -z "$haveit"; then
23320 LIBS
="${LIBS}${LIBS:+ }$element"
23330 for ac_header
in ruby.h
23332 ac_fn_cxx_check_header_mongrel
"$LINENO" "ruby.h" "ac_cv_header_ruby_h" "$ac_includes_default"
23333 if test "x$ac_cv_header_ruby_h" = xyes
; then :
23334 cat >>confdefs.h
<<_ACEOF
23335 #define HAVE_RUBY_H 1
23340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing ruby_init" >&5
23341 $as_echo_n "checking for library containing ruby_init... " >&6; }
23342 if ${ac_cv_search_ruby_init+:} false
; then :
23343 $as_echo_n "(cached) " >&6
23345 ac_func_search_save_LIBS
=$LIBS
23346 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23347 /* end confdefs.h. */
23349 /* Override any GCC internal prototype to avoid an error.
23350 Use char because int might match the return type of a GCC
23351 builtin and then its argument prototype would still apply. */
23359 return ruby_init ();
23364 for ac_lib
in '' ruby
; do
23365 if test -z "$ac_lib"; then
23366 ac_res
="none required"
23369 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
23371 if ac_fn_cxx_try_link
"$LINENO"; then :
23372 ac_cv_search_ruby_init
=$ac_res
23374 rm -f core conftest.err conftest.
$ac_objext \
23376 if ${ac_cv_search_ruby_init+:} false
; then :
23380 if ${ac_cv_search_ruby_init+:} false
; then :
23383 ac_cv_search_ruby_init
=no
23385 rm conftest.
$ac_ext
23386 LIBS
=$ac_func_search_save_LIBS
23388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_ruby_init" >&5
23389 $as_echo "$ac_cv_search_ruby_init" >&6; }
23390 ac_res
=$ac_cv_search_ruby_init
23391 if test "$ac_res" != no
; then :
23392 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
23408 elif test $pkg_failed = untried
; then
23409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23410 $as_echo "no" >&6; }
23412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework Ruby" >&5
23413 $as_echo_n "checking for framework Ruby... " >&6; }
23414 if ${ac_cv_framework_Ruby+:} false
; then :
23415 $as_echo_n "(cached) " >&6
23418 ac_check_framework_save_LIBS
=$LIBS
23419 LIBS
="-framework Ruby $LIBS"
23420 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23421 /* end confdefs.h. */
23423 #include <Ruby/ruby.h>
23433 if ac_fn_cxx_try_link
"$LINENO"; then :
23435 ac_cv_framework_Ruby
=yes
23438 ac_cv_framework_Ruby
=no
23440 rm -f core conftest.err conftest.
$ac_objext \
23441 conftest
$ac_exeext conftest.
$ac_ext
23442 LIBS
=$ac_check_framework_save_LIBS
23445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_Ruby" >&5
23446 $as_echo "$ac_cv_framework_Ruby" >&6; }
23447 if test $ac_cv_framework_Ruby = yes; then :
23450 for element
in "-framework Ruby"; do
23454 acl_save_prefix
="$prefix"
23455 prefix
="$acl_final_prefix"
23456 acl_save_exec_prefix
="$exec_prefix"
23457 exec_prefix
="$acl_final_exec_prefix"
23459 exec_prefix
="$acl_save_exec_prefix"
23460 prefix
="$acl_save_prefix"
23462 if test "X$x" = "X$element"; then
23467 if test -z "$haveit"; then
23468 LIBS
="${LIBS}${LIBS:+ }$element"
23478 for ac_header
in ruby.h
23480 ac_fn_cxx_check_header_mongrel
"$LINENO" "ruby.h" "ac_cv_header_ruby_h" "$ac_includes_default"
23481 if test "x$ac_cv_header_ruby_h" = xyes
; then :
23482 cat >>confdefs.h
<<_ACEOF
23483 #define HAVE_RUBY_H 1
23488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing ruby_init" >&5
23489 $as_echo_n "checking for library containing ruby_init... " >&6; }
23490 if ${ac_cv_search_ruby_init+:} false
; then :
23491 $as_echo_n "(cached) " >&6
23493 ac_func_search_save_LIBS
=$LIBS
23494 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23495 /* end confdefs.h. */
23497 /* Override any GCC internal prototype to avoid an error.
23498 Use char because int might match the return type of a GCC
23499 builtin and then its argument prototype would still apply. */
23507 return ruby_init ();
23512 for ac_lib
in '' ruby
; do
23513 if test -z "$ac_lib"; then
23514 ac_res
="none required"
23517 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
23519 if ac_fn_cxx_try_link
"$LINENO"; then :
23520 ac_cv_search_ruby_init
=$ac_res
23522 rm -f core conftest.err conftest.
$ac_objext \
23524 if ${ac_cv_search_ruby_init+:} false
; then :
23528 if ${ac_cv_search_ruby_init+:} false
; then :
23531 ac_cv_search_ruby_init
=no
23533 rm conftest.
$ac_ext
23534 LIBS
=$ac_func_search_save_LIBS
23536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_ruby_init" >&5
23537 $as_echo "$ac_cv_search_ruby_init" >&6; }
23538 ac_res
=$ac_cv_search_ruby_init
23539 if test "$ac_res" != no
; then :
23540 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
23557 LIBRUBY21_CFLAGS
=$pkg_cv_LIBRUBY21_CFLAGS
23558 LIBRUBY21_LIBS
=$pkg_cv_LIBRUBY21_LIBS
23559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23560 $as_echo "yes" >&6; }
23565 for element
in `$PKG_CONFIG --cflags ruby-2.1`; do
23567 for x
in $CPPFLAGS; do
23569 acl_save_prefix
="$prefix"
23570 prefix
="$acl_final_prefix"
23571 acl_save_exec_prefix
="$exec_prefix"
23572 exec_prefix
="$acl_final_exec_prefix"
23574 exec_prefix
="$acl_save_exec_prefix"
23575 prefix
="$acl_save_prefix"
23577 if test "X$x" = "X$element"; then
23582 if test -z "$haveit"; then
23583 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
23588 for element
in `$PKG_CONFIG --libs ruby-2.1`; do
23592 acl_save_prefix
="$prefix"
23593 prefix
="$acl_final_prefix"
23594 acl_save_exec_prefix
="$exec_prefix"
23595 exec_prefix
="$acl_final_exec_prefix"
23597 exec_prefix
="$acl_save_exec_prefix"
23598 prefix
="$acl_save_prefix"
23600 if test "X$x" = "X$element"; then
23605 if test -z "$haveit"; then
23606 LIBS
="${LIBS}${LIBS:+ }$element"
23618 # Check whether --with-python was given.
23619 if test "${with_python+set}" = set; then :
23620 withval
=$with_python;
23626 if test "x$with_python" != "xno"; then :
23635 for element
in `$with_python --includes`; do
23637 for x
in $CPPFLAGS; do
23639 acl_save_prefix
="$prefix"
23640 prefix
="$acl_final_prefix"
23641 acl_save_exec_prefix
="$exec_prefix"
23642 exec_prefix
="$acl_final_exec_prefix"
23644 exec_prefix
="$acl_save_exec_prefix"
23645 prefix
="$acl_save_prefix"
23647 if test "X$x" = "X$element"; then
23652 if test -z "$haveit"; then
23653 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
23658 for element
in `$with_python --ldflags`; do
23662 acl_save_prefix
="$prefix"
23663 prefix
="$acl_final_prefix"
23664 acl_save_exec_prefix
="$exec_prefix"
23665 exec_prefix
="$acl_final_exec_prefix"
23667 exec_prefix
="$acl_save_exec_prefix"
23668 prefix
="$acl_save_prefix"
23670 if test "X$x" = "X$element"; then
23675 if test -z "$haveit"; then
23676 LIBS
="${LIBS}${LIBS:+ }$element"
23693 if test "x$with_python" != "xno"; then
23695 CY_PRELINK_FALSE
='#'
23697 CY_PRELINK_TRUE
='#'
23703 ac_cpp
='$OBJCXXCPP $CPPFLAGS'
23704 ac_compile
='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23705 ac_link
='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23706 ac_compiler_gnu
=$ac_cv_objcxx_compiler_gnu
23709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we really have Objective C++" >&5
23710 $as_echo_n "checking if we really have Objective C++... " >&6; }
23711 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23712 /* end confdefs.h. */
23715 if ac_fn_objcxx_try_compile
"$LINENO"; then :
23718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23719 $as_echo "yes" >&6; }
23722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23723 $as_echo "no" >&6; }
23725 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23727 if test "x$CY_OBJECTIVEC" = x1
; then :
23733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework CoreFoundation" >&5
23734 $as_echo_n "checking for framework CoreFoundation... " >&6; }
23735 if ${ac_cv_framework_CoreFoundation+:} false
; then :
23736 $as_echo_n "(cached) " >&6
23739 ac_check_framework_save_LIBS
=$LIBS
23740 LIBS
="-framework CoreFoundation $LIBS"
23741 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23742 /* end confdefs.h. */
23744 #include <CoreFoundation/CFBase.h>
23749 CFAllocatorGetDefault();
23754 if ac_fn_objcxx_try_link
"$LINENO"; then :
23756 ac_cv_framework_CoreFoundation
=yes
23759 ac_cv_framework_CoreFoundation
=no
23761 rm -f core conftest.err conftest.
$ac_objext \
23762 conftest
$ac_exeext conftest.
$ac_ext
23763 LIBS
=$ac_check_framework_save_LIBS
23766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_CoreFoundation" >&5
23767 $as_echo "$ac_cv_framework_CoreFoundation" >&6; }
23768 if test $ac_cv_framework_CoreFoundation = yes; then :
23771 for element
in "-framework CoreFoundation"; do
23775 acl_save_prefix
="$prefix"
23776 prefix
="$acl_final_prefix"
23777 acl_save_exec_prefix
="$exec_prefix"
23778 exec_prefix
="$acl_final_exec_prefix"
23780 exec_prefix
="$acl_save_exec_prefix"
23781 prefix
="$acl_save_prefix"
23783 if test "X$x" = "X$element"; then
23788 if test -z "$haveit"; then
23789 LIBS
="${LIBS}${LIBS:+ }$element"
23799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework Foundation" >&5
23800 $as_echo_n "checking for framework Foundation... " >&6; }
23801 if ${ac_cv_framework_Foundation+:} false
; then :
23802 $as_echo_n "(cached) " >&6
23805 ac_check_framework_save_LIBS
=$LIBS
23806 LIBS
="-framework Foundation $LIBS"
23807 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23808 /* end confdefs.h. */
23810 #include <Foundation/NSObject.h>
23815 [[NSObject alloc] init];
23820 if ac_fn_objcxx_try_link
"$LINENO"; then :
23822 ac_cv_framework_Foundation
=yes
23825 ac_cv_framework_Foundation
=no
23827 rm -f core conftest.err conftest.
$ac_objext \
23828 conftest
$ac_exeext conftest.
$ac_ext
23829 LIBS
=$ac_check_framework_save_LIBS
23832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_Foundation" >&5
23833 $as_echo "$ac_cv_framework_Foundation" >&6; }
23834 if test $ac_cv_framework_Foundation = yes; then :
23837 for element
in "-framework Foundation"; do
23841 acl_save_prefix
="$prefix"
23842 prefix
="$acl_final_prefix"
23843 acl_save_exec_prefix
="$exec_prefix"
23844 exec_prefix
="$acl_final_exec_prefix"
23846 exec_prefix
="$acl_save_exec_prefix"
23847 prefix
="$acl_save_prefix"
23849 if test "X$x" = "X$element"; then
23854 if test -z "$haveit"; then
23855 LIBS
="${LIBS}${LIBS:+ }$element"
23859 cat >>confdefs.h
<<_ACEOF
23860 #define HAVE_FRAMEWORK_FOUNDATION 1
23870 for ac_prog
in gnustep
-config
23872 # Extract the first word of "$ac_prog", so it can be a program name with args.
23873 set dummy
$ac_prog; ac_word
=$2
23874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23875 $as_echo_n "checking for $ac_word... " >&6; }
23876 if ${ac_cv_prog_GNUSTEP_CONFIG+:} false
; then :
23877 $as_echo_n "(cached) " >&6
23879 if test -n "$GNUSTEP_CONFIG"; then
23880 ac_cv_prog_GNUSTEP_CONFIG
="$GNUSTEP_CONFIG" # Let the user override the test.
23882 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23883 for as_dir
in $PATH
23886 test -z "$as_dir" && as_dir
=.
23887 for ac_exec_ext
in '' $ac_executable_extensions; do
23888 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
23889 ac_cv_prog_GNUSTEP_CONFIG
="$ac_prog"
23890 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23899 GNUSTEP_CONFIG
=$ac_cv_prog_GNUSTEP_CONFIG
23900 if test -n "$GNUSTEP_CONFIG"; then
23901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNUSTEP_CONFIG" >&5
23902 $as_echo "$GNUSTEP_CONFIG" >&6; }
23904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23905 $as_echo "no" >&6; }
23909 test -n "$GNUSTEP_CONFIG" && break
23913 if test "x$GNUSTEP_CONFIG" != x
; then :
23918 for element
in `$GNUSTEP_CONFIG --objc-flags`; do
23920 for x
in $OBJCXXFLAGS; do
23922 acl_save_prefix
="$prefix"
23923 prefix
="$acl_final_prefix"
23924 acl_save_exec_prefix
="$exec_prefix"
23925 exec_prefix
="$acl_final_exec_prefix"
23927 exec_prefix
="$acl_save_exec_prefix"
23928 prefix
="$acl_save_prefix"
23930 if test "X$x" = "X$element"; then
23935 if test -z "$haveit"; then
23936 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
23941 for element
in `$GNUSTEP_CONFIG --base-libs`; do
23945 acl_save_prefix
="$prefix"
23946 prefix
="$acl_final_prefix"
23947 acl_save_exec_prefix
="$exec_prefix"
23948 exec_prefix
="$acl_final_exec_prefix"
23950 exec_prefix
="$acl_save_exec_prefix"
23951 prefix
="$acl_save_prefix"
23953 if test "X$x" = "X$element"; then
23958 if test -z "$haveit"; then
23959 LIBS
="${LIBS}${LIBS:+ }$element"
23983 ac_cpp
='$CXXCPP $CPPFLAGS'
23984 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23985 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23986 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23993 if test "x$CY_JAVA" = x1
; then
24001 if test "x$CY_RUBY" = x1
; then
24009 if test "x$CY_PYTHON" = x1
; then
24011 CY_PYTHON_FALSE
='#'
24017 if test "x$CY_OBJECTIVEC" = x1
; then
24018 CY_OBJECTIVEC_TRUE
=
24019 CY_OBJECTIVEC_FALSE
='#'
24021 CY_OBJECTIVEC_TRUE
='#'
24022 CY_OBJECTIVEC_FALSE
=
24027 # Check whether --with-libclang was given.
24028 if test "${with_libclang+set}" = set; then :
24029 withval
=$with_libclang;
24035 if test "x$with_libclang" != "xno"; then :
24037 CY_LIBCLANG
="$with_libclang"
24040 if test "x$with_libclang" != "xno"; then
24042 CY_PRELINK_FALSE
='#'
24044 CY_PRELINK_TRUE
='#'
24053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a readline compatible library" >&5
24054 $as_echo_n "checking for a readline compatible library... " >&6; }
24055 if ${ax_cv_lib_readline+:} false
; then :
24056 $as_echo_n "(cached) " >&6
24060 for readline_lib
in readline edit editline
; do
24061 for termcap_lib
in "" termcap curses ncurses
; do
24062 if test -z "$termcap_lib"; then
24063 TRY_LIB
="-l$readline_lib"
24065 TRY_LIB
="-l$readline_lib -l$termcap_lib"
24067 LIBS
="$ORIG_LIBS $TRY_LIB"
24068 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24069 /* end confdefs.h. */
24071 /* Override any GCC internal prototype to avoid an error.
24072 Use char because int might match the return type of a GCC
24073 builtin and then its argument prototype would still apply. */
24081 return readline ();
24086 if ac_fn_cxx_try_link
"$LINENO"; then :
24087 ax_cv_lib_readline
="$TRY_LIB"
24089 rm -f core conftest.err conftest.
$ac_objext \
24090 conftest
$ac_exeext conftest.
$ac_ext
24091 if test -n "$ax_cv_lib_readline"; then
24095 if test -n "$ax_cv_lib_readline"; then
24099 if test -z "$ax_cv_lib_readline"; then
24100 ax_cv_lib_readline
="no"
24105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_lib_readline" >&5
24106 $as_echo "$ax_cv_lib_readline" >&6; }
24108 if test "$ax_cv_lib_readline" != "no"; then
24109 LIBS
="$LIBS $ax_cv_lib_readline"
24111 $as_echo "#define HAVE_LIBREADLINE 1" >>confdefs.h
24113 for ac_header
in readline.h readline
/readline.h
24115 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
24116 ac_fn_cxx_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
24117 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
24118 cat >>confdefs.h
<<_ACEOF
24119 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
24126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether readline supports history" >&5
24127 $as_echo_n "checking whether readline supports history... " >&6; }
24128 if ${ax_cv_lib_readline_history+:} false
; then :
24129 $as_echo_n "(cached) " >&6
24132 ax_cv_lib_readline_history
="no"
24133 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24134 /* end confdefs.h. */
24136 /* Override any GCC internal prototype to avoid an error.
24137 Use char because int might match the return type of a GCC
24138 builtin and then its argument prototype would still apply. */
24142 char add_history ();
24146 return add_history ();
24151 if ac_fn_cxx_try_link
"$LINENO"; then :
24152 ax_cv_lib_readline_history
="yes"
24154 rm -f core conftest.err conftest.
$ac_objext \
24155 conftest
$ac_exeext conftest.
$ac_ext
24158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_lib_readline_history" >&5
24159 $as_echo "$ax_cv_lib_readline_history" >&6; }
24160 if test "$ax_cv_lib_readline_history" = "yes"; then
24162 $as_echo "#define HAVE_READLINE_HISTORY 1" >>confdefs.h
24164 for ac_header
in history.h readline
/history.h
24166 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
24167 ac_fn_cxx_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
24168 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
24169 cat >>confdefs.h
<<_ACEOF
24170 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
24180 LTLIBREADLINE
=$LIBS
24184 case $ax_cv_lib_readline in #(
24186 as_fn_error $?
"missing \"libreadline\"" "$LINENO" 5 ;; #(
24194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing cur_term" >&5
24195 $as_echo_n "checking for library containing cur_term... " >&6; }
24196 if ${ac_cv_search_cur_term+:} false
; then :
24197 $as_echo_n "(cached) " >&6
24199 ac_func_search_save_LIBS
=$LIBS
24200 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24201 /* end confdefs.h. */
24203 /* Override any GCC internal prototype to avoid an error.
24204 Use char because int might match the return type of a GCC
24205 builtin and then its argument prototype would still apply. */
24213 return cur_term ();
24218 for ac_lib
in '' termcap ncurses
; do
24219 if test -z "$ac_lib"; then
24220 ac_res
="none required"
24223 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
24225 if ac_fn_cxx_try_link
"$LINENO"; then :
24226 ac_cv_search_cur_term
=$ac_res
24228 rm -f core conftest.err conftest.
$ac_objext \
24230 if ${ac_cv_search_cur_term+:} false
; then :
24234 if ${ac_cv_search_cur_term+:} false
; then :
24237 ac_cv_search_cur_term
=no
24239 rm conftest.
$ac_ext
24240 LIBS
=$ac_func_search_save_LIBS
24242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_cur_term" >&5
24243 $as_echo "$ac_cv_search_cur_term" >&6; }
24244 ac_res
=$ac_cv_search_cur_term
24245 if test "$ac_res" != no
; then :
24246 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
24261 ac_config_files
="$ac_config_files Makefile"
24263 cat >confcache
<<\_ACEOF
24264 # This file is a shell script that caches the results of configure
24265 # tests run on this system so they can be shared between configure
24266 # scripts and configure runs, see configure's option --config-cache.
24267 # It is not useful on other systems. If it contains results you don't
24268 # want to keep, you may remove or edit it.
24270 # config.status only pays attention to the cache file if you give it
24271 # the --recheck option to rerun configure.
24273 # `ac_cv_env_foo' variables (set or unset) will be overridden when
24274 # loading this file, other *unset* `ac_cv_foo' will be assigned the
24275 # following values.
24279 # The following way of writing the cache mishandles newlines in values,
24280 # but we know of no workaround that is simple, portable, and efficient.
24281 # So, we kill variables containing newlines.
24282 # Ultrix sh set writes to stderr and can't be redirected directly,
24283 # and sets the high bit in the cache file unless we assign to the vars.
24285 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
24286 eval ac_val
=\$
$ac_var
24290 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
24291 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
24294 _
| IFS
| as_nl
) ;; #(
24295 BASH_ARGV
| BASH_SOURCE
) eval $ac_var= ;; #(
24296 *) { eval $ac_var=; unset $ac_var;} ;;
24302 case $as_nl`(ac_space=' '; set) 2>&1` in #(
24303 *${as_nl}ac_space
=\
*)
24304 # `set' does not quote correctly, so add quotes: double-quote
24305 # substitution turns \\\\ into \\, and sed turns \\ into \.
24308 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
24311 # `set' quotes correctly as required by POSIX, so do not add quotes.
24312 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
24321 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
24323 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
24325 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
24326 if test -w "$cache_file"; then
24327 if test "x$cache_file" != "x/dev/null"; then
24328 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
24329 $as_echo "$as_me: updating cache $cache_file" >&6;}
24330 if test ! -f "$cache_file" || test -h "$cache_file"; then
24331 cat confcache
>"$cache_file"
24333 case $cache_file in #(
24335 mv -f confcache
"$cache_file"$$
&&
24336 mv -f "$cache_file"$$
"$cache_file" ;; #(
24338 mv -f confcache
"$cache_file" ;;
24343 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
24344 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
24349 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
24350 # Let make expand exec_prefix.
24351 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
24353 DEFS
=-DHAVE_CONFIG_H
24358 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
24359 # 1. Remove the extension, and $U if already installed.
24360 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
24361 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
24362 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
24363 # will be set to the directory where LIBOBJS objects are built.
24364 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
24365 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
24367 LIBOBJS
=$ac_libobjs
24369 LTLIBOBJS
=$ac_ltlibobjs
24372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
24373 $as_echo_n "checking that generated files are newer than configure... " >&6; }
24374 if test -n "$am_sleep_pid"; then
24375 # Hide warnings about reused PIDs.
24376 wait $am_sleep_pid 2>/dev
/null
24378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
24379 $as_echo "done" >&6; }
24380 if test -n "$EXEEXT"; then
24382 am__EXEEXT_FALSE
='#'
24384 am__EXEEXT_TRUE
='#'
24388 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
24389 as_fn_error $?
"conditional \"MAINTAINER_MODE\" was never defined.
24390 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24392 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
24393 as_fn_error $?
"conditional \"AMDEP\" was never defined.
24394 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24396 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
24397 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
24398 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24400 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
24401 as_fn_error $?
"conditional \"am__fastdepCXX\" was never defined.
24402 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24404 if test -z "${am__fastdepOBJCXX_TRUE}" && test -z "${am__fastdepOBJCXX_FALSE}"; then
24405 as_fn_error $?
"conditional \"am__fastdepOBJCXX\" was never defined.
24406 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24408 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
24409 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
24410 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24412 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
24413 as_fn_error $?
"conditional \"am__fastdepCXX\" was never defined.
24414 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24416 if test -z "${CY_CONSOLE_TRUE}" && test -z "${CY_CONSOLE_FALSE}"; then
24417 as_fn_error $?
"conditional \"CY_CONSOLE\" was never defined.
24418 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24420 if test -z "${CY_ATTACH_TRUE}" && test -z "${CY_ATTACH_FALSE}"; then
24421 as_fn_error $?
"conditional \"CY_ATTACH\" was never defined.
24422 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24424 if test -z "${CY_EXECUTE_TRUE}" && test -z "${CY_EXECUTE_FALSE}"; then
24425 as_fn_error $?
"conditional \"CY_EXECUTE\" was never defined.
24426 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24428 if test -z "${CY_PRELINK_TRUE}" && test -z "${CY_PRELINK_FALSE}"; then
24429 as_fn_error $?
"conditional \"CY_PRELINK\" was never defined.
24430 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24432 if test -z "${CY_JAVA_TRUE}" && test -z "${CY_JAVA_FALSE}"; then
24433 as_fn_error $?
"conditional \"CY_JAVA\" was never defined.
24434 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24436 if test -z "${CY_RUBY_TRUE}" && test -z "${CY_RUBY_FALSE}"; then
24437 as_fn_error $?
"conditional \"CY_RUBY\" was never defined.
24438 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24440 if test -z "${CY_PYTHON_TRUE}" && test -z "${CY_PYTHON_FALSE}"; then
24441 as_fn_error $?
"conditional \"CY_PYTHON\" was never defined.
24442 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24444 if test -z "${CY_OBJECTIVEC_TRUE}" && test -z "${CY_OBJECTIVEC_FALSE}"; then
24445 as_fn_error $?
"conditional \"CY_OBJECTIVEC\" was never defined.
24446 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24448 if test -z "${CY_PRELINK_TRUE}" && test -z "${CY_PRELINK_FALSE}"; then
24449 as_fn_error $?
"conditional \"CY_PRELINK\" was never defined.
24450 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24453 : "${CONFIG_STATUS=./config.status}"
24455 ac_clean_files_save
=$ac_clean_files
24456 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
24457 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
24458 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
24460 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
24462 # Generated by $as_me.
24463 # Run this file to recreate the current configuration.
24464 # Compiler output produced by configure, useful for debugging
24465 # configure, is in config.log if it exists.
24468 ac_cs_recheck=false
24471 SHELL=\${CONFIG_SHELL-$SHELL}
24474 cat >>$CONFIG_STATUS <<\_ASEOF
|| as_write_fail
=1
24475 ## -------------------- ##
24476 ## M4sh Initialization. ##
24477 ## -------------------- ##
24479 # Be more Bourne compatible
24480 DUALCASE
=1; export DUALCASE
# for MKS sh
24481 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
24484 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
24485 # is contrary to our usage. Disable this feature.
24486 alias -g '${1+"$@"}'='"$@"'
24487 setopt NO_GLOB_SUBST
24489 case `(set -o) 2>/dev/null` in #(
24501 # Printing a long string crashes Solaris 7 /usr/bin/printf.
24502 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
24503 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
24504 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
24505 # Prefer a ksh shell builtin over an external printf program on Solaris,
24506 # but without wasting forks for bash or zsh.
24507 if test -z "$BASH_VERSION$ZSH_VERSION" \
24508 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
24509 as_echo='print
-r --'
24510 as_echo_n='print
-rn --'
24511 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
24512 as_echo='printf %s
\n'
24513 as_echo_n='printf %s
'
24515 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
24516 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
24517 as_echo_n='/usr
/ucb
/echo -n'
24519 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
24520 as_echo_n_body='eval
24524 expr "X$arg" : "X\\(.*\\)$as_nl";
24525 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
24527 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
24529 export as_echo_n_body
24530 as_echo_n='sh
-c $as_echo_n_body as_echo
'
24532 export as_echo_body
24533 as_echo='sh
-c $as_echo_body as_echo
'
24536 # The user is always right.
24537 if test "${PATH_SEPARATOR+set}" != set; then
24539 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
24540 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
24547 # We need space, tab and new line, in precisely that order. Quoting is
24548 # there to prevent editors from complaining about space-tab.
24549 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
24550 # splitting by setting IFS to empty value.)
24553 # Find who we are. Look in the path if we contain no directory separator.
24556 *[\\/]* ) as_myself=$0 ;;
24557 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24558 for as_dir in $PATH
24561 test -z "$as_dir" && as_dir=.
24562 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
24568 # We did not find ourselves, most probably we were run as `sh COMMAND'
24569 # in which case we are not to be found in the path.
24570 if test "x$as_myself" = x
; then
24573 if test ! -f "$as_myself"; then
24574 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
24578 # Unset variables that we do not need and which cause bugs (e.g. in
24579 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
24580 # suppresses any "Segmentation fault" message there. '((' could
24581 # trigger a bug in pdksh 5.2.14.
24582 for as_var
in BASH_ENV ENV MAIL MAILPATH
24583 do eval test x\
${$as_var+set} = xset \
24584 && ( (unset $as_var) || exit 1) >/dev
/null
2>&1 && unset $as_var || :
24597 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
24600 # as_fn_error STATUS ERROR [LINENO LOG_FD]
24601 # ----------------------------------------
24602 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
24603 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
24604 # script with STATUS, using 1 if that was 0.
24607 as_status
=$1; test $as_status -eq 0 && as_status
=1
24609 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
24610 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
24612 $as_echo "$as_me: error: $2" >&2
24613 as_fn_exit
$as_status
24617 # as_fn_set_status STATUS
24618 # -----------------------
24619 # Set $? to STATUS, without forking.
24620 as_fn_set_status
()
24623 } # as_fn_set_status
24625 # as_fn_exit STATUS
24626 # -----------------
24627 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
24631 as_fn_set_status
$1
24637 # Portably unset VAR.
24640 { eval $1=; unset $1;}
24642 as_unset
=as_fn_unset
24643 # as_fn_append VAR VALUE
24644 # ----------------------
24645 # Append the text in VALUE to the end of the definition contained in VAR. Take
24646 # advantage of any shell optimizations that allow amortized linear growth over
24647 # repeated appends, instead of the typical quadratic growth present in naive
24649 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
24650 eval 'as_fn_append ()
24661 # as_fn_arith ARG...
24662 # ------------------
24663 # Perform arithmetic evaluation on the ARGs, and store the result in the
24664 # global $as_val. Take advantage of shells that can avoid forks. The arguments
24665 # must be portable across $(()) and expr.
24666 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
24667 eval 'as_fn_arith ()
24674 as_val
=`expr "$@" || test $? -eq 1`
24679 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
24680 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
24686 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
24687 as_basename
=basename
24692 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
24698 as_me
=`$as_basename -- "$0" ||
24699 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
24700 X"$0" : 'X\(//\)$' \| \
24701 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
24703 sed '/^.*\/\([^/][^/]*\)\/*$/{
24717 # Avoid depending upon Character Ranges.
24718 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
24719 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
24720 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
24721 as_cr_digits
='0123456789'
24722 as_cr_alnum
=$as_cr_Letters$as_cr_digits
24724 ECHO_C
= ECHO_N
= ECHO_T
=
24725 case `echo -n x` in #(((((
24727 case `echo 'xy\c'` in
24728 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
24730 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
24737 rm -f conf$$ conf$$.exe conf$$.
file
24738 if test -d conf$$.dir
; then
24739 rm -f conf$$.dir
/conf$$.
file
24742 mkdir conf$$.dir
2>/dev
/null
24744 if (echo >conf$$.
file) 2>/dev
/null
; then
24745 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
24747 # ... but there are two gotchas:
24748 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
24749 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
24750 # In both cases, we have to default to `cp -pR'.
24751 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
24753 elif ln conf$$.
file conf$$
2>/dev
/null
; then
24761 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
24762 rmdir conf$$.dir
2>/dev
/null
24767 # Create "$as_dir" as a directory, including parents if necessary.
24772 -*) as_dir
=.
/$as_dir;;
24774 test -d "$as_dir" || eval $as_mkdir_p || {
24778 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
24779 *) as_qdir
=$as_dir;;
24781 as_dirs
="'$as_qdir' $as_dirs"
24782 as_dir
=`$as_dirname -- "$as_dir" ||
24783 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24784 X"$as_dir" : 'X\(//\)[^/]' \| \
24785 X"$as_dir" : 'X\(//\)$' \| \
24786 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
24787 $as_echo X"$as_dir" |
24788 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
24792 /^X\(\/\/\)[^/].*/{
24805 test -d "$as_dir" && break
24807 test -z "$as_dirs" || eval "mkdir $as_dirs"
24808 } || test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
24812 if mkdir -p .
2>/dev
/null
; then
24813 as_mkdir_p
='mkdir -p "$as_dir"'
24815 test -d .
/-p && rmdir .
/-p
24820 # as_fn_executable_p FILE
24821 # -----------------------
24822 # Test if FILE is an executable regular file.
24823 as_fn_executable_p
()
24825 test -f "$1" && test -x "$1"
24826 } # as_fn_executable_p
24827 as_test_x
='test -x'
24828 as_executable_p
=as_fn_executable_p
24830 # Sed expression to map a string onto a valid CPP name.
24831 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
24833 # Sed expression to map a string onto a valid variable name.
24834 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
24838 ## ----------------------------------- ##
24839 ## Main body of $CONFIG_STATUS script. ##
24840 ## ----------------------------------- ##
24842 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
24844 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
24845 # Save the log message, to keep $0 and so on meaningful, and to
24846 # report actual input values of CONFIG_FILES etc. instead of their
24847 # values after options handling.
24849 This file was extended by Cycript $as_me 0.9, which was
24850 generated by GNU Autoconf 2.69. Invocation command line was
24852 CONFIG_FILES = $CONFIG_FILES
24853 CONFIG_HEADERS = $CONFIG_HEADERS
24854 CONFIG_LINKS = $CONFIG_LINKS
24855 CONFIG_COMMANDS = $CONFIG_COMMANDS
24858 on `(hostname || uname -n) 2>/dev/null | sed 1q`
24863 case $ac_config_files in *"
24864 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
24867 case $ac_config_headers in *"
24868 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
24872 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
24873 # Files that config.status was made for.
24874 config_files="$ac_config_files"
24875 config_headers="$ac_config_headers"
24876 config_commands="$ac_config_commands"
24880 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
24882 \`$as_me' instantiates files and other configuration actions
24883 from templates according to the current configuration. Unless the files
24884 and actions are specified as TAGs, all are instantiated by default.
24886 Usage: $0 [OPTION]... [TAG]...
24888 -h, --help print this help, then exit
24889 -V, --version print version number and configuration settings, then exit
24890 --config print configuration, then exit
24891 -q, --quiet, --silent
24892 do not print progress messages
24893 -d, --debug don't remove temporary files
24894 --recheck update $as_me by reconfiguring in the same conditions
24895 --file=FILE[:TEMPLATE]
24896 instantiate the configuration file FILE
24897 --header=FILE[:TEMPLATE]
24898 instantiate the configuration header FILE
24900 Configuration files:
24903 Configuration headers:
24906 Configuration commands:
24909 Report bugs to <saurik@saurik.com>.
24910 Cycript home page: <http://www.cycript.org/>."
24913 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
24914 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
24916 Cycript config.status 0.9
24917 configured by $0, generated by GNU Autoconf 2.69,
24918 with options \\"\$ac_cs_config\\"
24920 Copyright (C) 2012 Free Software Foundation, Inc.
24921 This config.status script is free software; the Free Software Foundation
24922 gives unlimited permission to copy, distribute and modify it."
24929 test -n "\$AWK" || AWK=awk
24932 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
24933 # The default lists apply if the user does not specify any file.
24939 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
24940 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
24944 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
24956 # Handling of the options.
24957 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
24959 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
24960 $as_echo "$ac_cs_version"; exit ;;
24961 --config | --confi | --conf | --con | --co | --c )
24962 $as_echo "$ac_cs_config"; exit ;;
24963 --debug | --debu | --deb | --de | --d | -d )
24965 --file | --fil | --fi | --f )
24968 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
24969 '') as_fn_error $?
"missing file argument" ;;
24971 as_fn_append CONFIG_FILES
" '$ac_optarg'"
24972 ac_need_defaults
=false
;;
24973 --header | --heade | --head | --hea )
24976 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
24978 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
24979 ac_need_defaults
=false
;;
24981 # Conflict between --help and --header
24982 as_fn_error $?
"ambiguous option: \`$1'
24983 Try \`$0 --help' for more information.";;
24984 --help | --hel | -h )
24985 $as_echo "$ac_cs_usage"; exit ;;
24986 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
24987 | -silent | --silent | --silen | --sile | --sil | --si | --s)
24990 # This is an error.
24991 -*) as_fn_error $?
"unrecognized option: \`$1'
24992 Try \`$0 --help' for more information." ;;
24994 *) as_fn_append ac_config_targets
" $1"
24995 ac_need_defaults
=false
;;
25001 ac_configure_extra_args
=
25003 if $ac_cs_silent; then
25005 ac_configure_extra_args
="$ac_configure_extra_args --silent"
25009 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25010 if \$ac_cs_recheck; then
25011 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
25013 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
25014 CONFIG_SHELL='$SHELL'
25015 export CONFIG_SHELL
25020 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
25024 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
25025 ## Running $as_me. ##
25031 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25035 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
25038 # The HP-UX ksh and POSIX shell print the target directory to stdout
25039 # if CDPATH is set.
25040 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
25042 sed_quote_subst='$sed_quote_subst'
25043 double_quote_subst='$double_quote_subst'
25044 delay_variable_subst='$delay_variable_subst'
25045 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
25046 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
25047 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
25048 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
25049 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
25050 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
25051 shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
25052 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
25053 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
25054 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
25055 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
25056 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
25057 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
25058 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
25059 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
25060 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
25061 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
25062 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
25063 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
25064 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
25065 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
25066 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
25067 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
25068 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
25069 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
25070 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
25071 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
25072 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
25073 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
25074 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
25075 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
25076 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
25077 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
25078 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
25079 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
25080 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
25081 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
25082 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
25083 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
25084 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
25085 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
25086 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
25087 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
25088 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
25089 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
25090 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
25091 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
25092 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
25093 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
25094 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
25095 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
25096 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
25097 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
25098 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
25099 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
25100 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
25101 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
25102 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
25103 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"`'
25104 lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
25105 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
25106 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
25107 lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
25108 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
25109 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
25110 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
25111 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
25112 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
25113 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
25114 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
25115 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
25116 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
25117 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
25118 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
25119 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
25120 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
25121 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
25122 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
25123 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
25124 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
25125 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
25126 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
25127 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
25128 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
25129 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
25130 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
25131 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
25132 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
25133 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
25134 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
25135 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
25136 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
25137 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
25138 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
25139 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
25140 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
25141 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
25142 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
25143 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
25144 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
25145 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
25146 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
25147 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
25148 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
25149 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
25150 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
25151 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
25152 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
25153 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
25154 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
25155 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
25156 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
25157 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
25158 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
25159 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
25160 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
25161 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
25162 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
25163 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
25164 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
25165 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
25166 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
25167 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
25168 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
25169 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
25170 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
25171 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
25172 configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
25173 configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
25174 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
25175 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
25176 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
25177 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
25178 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
25179 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
25180 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
25181 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
25182 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
25183 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
25184 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
25185 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
25186 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
25187 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
25188 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
25189 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
25190 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
25191 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
25192 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
25193 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
25194 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
25195 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
25196 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
25197 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
25198 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
25199 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
25200 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
25201 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
25202 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
25203 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
25204 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
25205 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
25206 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
25207 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
25208 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
25209 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
25210 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
25211 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
25212 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
25213 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
25214 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
25215 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
25216 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
25217 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
25218 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
25219 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
25220 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
25221 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
25222 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
25223 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
25224 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
25225 postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
25226 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
25227 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
25228 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
25229 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
25230 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
25231 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
25232 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
25233 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
25236 LTCFLAGS='$LTCFLAGS'
25237 compiler='$compiler_DEFAULT'
25239 # A function that is used when there is no print builtin or printf.
25240 func_fallback_echo ()
25242 eval 'cat <<_LTECHO_EOF
25247 # Quote evaled strings.
25262 deplibs_check_method \
25267 sharedlib_from_linklib_cmd \
25270 archiver_list_spec \
25276 lt_cv_sys_global_symbol_pipe \
25277 lt_cv_sys_global_symbol_to_cdecl \
25278 lt_cv_sys_global_symbol_to_import \
25279 lt_cv_sys_global_symbol_to_c_name_address \
25280 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
25281 lt_cv_nm_interface \
25282 nm_file_list_spec \
25283 lt_cv_truncate_bin \
25284 lt_prog_compiler_no_builtin_flag \
25285 lt_prog_compiler_pic \
25286 lt_prog_compiler_wl \
25287 lt_prog_compiler_static \
25288 lt_cv_prog_compiler_c_o \
25297 export_dynamic_flag_spec \
25298 whole_archive_flag_spec \
25299 compiler_needs_object \
25301 allow_undefined_flag \
25302 no_undefined_flag \
25303 hardcode_libdir_flag_spec \
25304 hardcode_libdir_separator \
25308 variables_saved_for_relink \
25310 library_names_spec \
25312 install_override_mode \
25316 compiler_lib_search_dirs \
25321 compiler_lib_search_path \
25325 lt_prog_compiler_no_builtin_flag_CXX \
25326 lt_prog_compiler_pic_CXX \
25327 lt_prog_compiler_wl_CXX \
25328 lt_prog_compiler_static_CXX \
25329 lt_cv_prog_compiler_c_o_CXX \
25330 export_dynamic_flag_spec_CXX \
25331 whole_archive_flag_spec_CXX \
25332 compiler_needs_object_CXX \
25334 allow_undefined_flag_CXX \
25335 no_undefined_flag_CXX \
25336 hardcode_libdir_flag_spec_CXX \
25337 hardcode_libdir_separator_CXX \
25338 exclude_expsyms_CXX \
25339 include_expsyms_CXX \
25340 file_list_spec_CXX \
25341 compiler_lib_search_dirs_CXX \
25342 predep_objects_CXX \
25343 postdep_objects_CXX \
25346 compiler_lib_search_path_CXX; do
25347 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
25348 *[\\\\\\\`\\"\\\$]*)
25349 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
25352 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
25357 # Double-quote double-evaled strings.
25358 for var in reload_cmds \
25359 old_postinstall_cmds \
25360 old_postuninstall_cmds \
25362 extract_expsyms_cmds \
25363 old_archive_from_new_cmds \
25364 old_archive_from_expsyms_cmds \
25366 archive_expsym_cmds \
25368 module_expsym_cmds \
25369 export_symbols_cmds \
25373 postuninstall_cmds \
25375 sys_lib_search_path_spec \
25376 configure_time_dlsearch_path \
25377 configure_time_lt_sys_library_path \
25379 old_archive_cmds_CXX \
25380 old_archive_from_new_cmds_CXX \
25381 old_archive_from_expsyms_cmds_CXX \
25383 archive_expsym_cmds_CXX \
25385 module_expsym_cmds_CXX \
25386 export_symbols_cmds_CXX \
25388 postlink_cmds_CXX; do
25389 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
25390 *[\\\\\\\`\\"\\\$]*)
25391 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
25394 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
25399 ac_aux_dir='$ac_aux_dir'
25401 # See if we are running on zsh, and set the options that allow our
25402 # commands through without removal of \ escapes INIT.
25403 if test -n "\${ZSH_VERSION+set}"; then
25404 setopt NO_GLOB_SUBST
25420 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
25422 # Handling of arguments.
25423 for ac_config_target
in $ac_config_targets
25425 case $ac_config_target in
25426 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
25427 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
25428 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
25429 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
25431 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
25436 # If the user did not use the arguments to specify the items to instantiate,
25437 # then the envvar interface is used. Set only those that are not.
25438 # We use the long form for the default assignment because of an extremely
25439 # bizarre bug on SunOS 4.1.3.
25440 if $ac_need_defaults; then
25441 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
25442 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
25443 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
25446 # Have a temporary directory for convenience. Make it in the build tree
25447 # simply because there is no reason against having it here, and in addition,
25448 # creating and moving files from /tmp can sometimes cause problems.
25449 # Hook for its removal unless debugging.
25450 # Note that there is a small window in which the directory will not be cleaned:
25451 # after its creation but before its name has been assigned to `$tmp'.
25455 trap 'exit_status=$?
25456 : "${ac_tmp:=$tmp}"
25457 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
25459 trap 'as_fn_exit 1' 1 2 13 15
25461 # Create a (secure) tmp directory for tmp files.
25464 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
25468 tmp
=.
/conf$$
-$RANDOM
25469 (umask 077 && mkdir "$tmp")
25470 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
25473 # Set up the scripts for CONFIG_FILES section.
25474 # No need to generate them if there are no CONFIG_FILES.
25475 # This happens for instance with `./config.status config.h'.
25476 if test -n "$CONFIG_FILES"; then
25479 ac_cr
=`echo X | tr X '\015'`
25480 # On cygwin, bash can eat \r inside `` if the user requested igncr.
25481 # But we know of no other shell where ac_cr would be empty at this
25482 # point, so we can use a bashism as a fallback.
25483 if test "x$ac_cr" = x
; then
25484 eval ac_cr
=\$
\'\\r
\'
25486 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
25487 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
25490 ac_cs_awk_cr
=$ac_cr
25493 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
25498 echo "cat >conf$$subs.awk <<_ACEOF" &&
25499 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
25501 } >conf$$subs.sh ||
25502 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
25503 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
25505 for ac_last_try in false false false false false :; do
25506 . ./conf$$subs.sh ||
25507 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
25509 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
25510 if test $ac_delim_n = $ac_delim_num; then
25512 elif $ac_last_try; then
25513 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
25515 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
25518 rm -f conf$$subs.sh
25520 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25521 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
25525 s/^/S["/; s
/!.
*/"]=/
25535 s/\(.\{148\}\)..*/\1/
25537 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
25542 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
25549 s/\(.\{148\}\)..*/\1/
25551 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
25555 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
25560 ' <conf$$subs.awk | sed '
25565 ' >>$CONFIG_STATUS || ac_write_fail=1
25566 rm -f conf$$subs.awk
25567 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25569 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
25570 for (key in S) S_is_set[key] = 1
25576 nfields = split(line, field, "@
")
25578 len = length(field[1])
25579 for (i = 2; i < nfields; i++) {
25581 keylen = length(key)
25582 if (S_is_set[key]) {
25584 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
25585 len += length(value) + length(field[++i])
25596 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
25597 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
25598 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
25601 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
25602 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
25605 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
25606 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
25607 # trailing colons and then remove the whole line if VPATH becomes empty
25608 # (actually we leave an empty line to preserve line numbers).
25609 if test "x
$srcdir" = x.; then
25610 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
25628 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
25629 fi # test -n "$CONFIG_FILES"
25631 # Set up the scripts for CONFIG_HEADERS section.
25632 # No need to generate them if there are no CONFIG_HEADERS.
25633 # This happens for instance with `./config.status Makefile'.
25634 if test -n "$CONFIG_HEADERS"; then
25635 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
25639 # Transform confdefs.h into an awk script `defines.awk', embedded as
25640 # here-document in config.status, that substitutes the proper values into
25641 # config.h.in to produce config.h.
25643 # Create a delimiter string that does not exist in confdefs.h, to ease
25644 # handling of long lines.
25646 for ac_last_try in false false :; do
25647 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
25648 if test -z "$ac_tt"; then
25650 elif $ac_last_try; then
25651 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
25653 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
25657 # For the awk script, D is an array of macro values keyed by name,
25658 # likewise P contains macro parameters if any. Preserve backslash
25659 # newline sequences.
25661 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
25663 s/.\{148\}/&'"$ac_delim"'/g
25666 s/^[ ]*#[ ]*define[ ][ ]*/ /
25673 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
25675 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
25679 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
25680 D["\
1"]=" \
3\\\\\\n
"\\/p
25682 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
25687 s/.\{148\}/&'"$ac_delim"'/g
25692 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
25695 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
25697 ' <confdefs.h | sed '
25698 s/'"$ac_delim"'/"\\\
25699 "/g' >>$CONFIG_STATUS || ac_write_fail=1
25701 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25702 for (key in D) D_is_set[key] = 1
25705 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
25707 split(line, arg, " ")
25708 if (arg[1] == "#") {
25712 defundef
= substr
(arg
[1], 2)
25715 split(mac1
, mac2
, "(") #)
25717 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
25718 if (D_is_set
[macro
]) {
25719 # Preserve the white space surrounding the "#".
25720 print prefix
"define", macro P
[macro
] D
[macro
]
25723 # Replace #undef with comments. This is necessary, for example,
25724 # in the case of _POSIX_SOURCE, which is predefined and required
25725 # on some systems where configure will not decide to define it.
25726 if (defundef
== "undef") {
25727 print
"/*", prefix defundef
, macro
, "*/"
25735 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
25736 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
25737 fi # test -n "$CONFIG_HEADERS"
25740 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
25745 :[FHLC
]) ac_mode
=$ac_tag; continue;;
25747 case $ac_mode$ac_tag in
25749 :L
* | :C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
25750 :[FH
]-) ac_tag
=-:-;;
25751 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
25768 -) ac_f
="$ac_tmp/stdin";;
25769 *) # Look for the file first in the build tree, then in the source tree
25770 # (if the path is not absolute). The absolute path cannot be DOS-style,
25771 # because $ac_f cannot contain `:'.
25775 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
25777 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
25779 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
25780 as_fn_append ac_file_inputs
" '$ac_f'"
25783 # Let's still pretend it is `configure' which instantiates (i.e., don't
25784 # use $as_me), people would be surprised to read:
25785 # /* config.h. Generated by config.status. */
25786 configure_input
='Generated from '`
25787 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
25789 if test x
"$ac_file" != x
-; then
25790 configure_input
="$ac_file. $configure_input"
25791 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
25792 $as_echo "$as_me: creating $ac_file" >&6;}
25794 # Neutralize special characters interpreted by sed in replacement strings.
25795 case $configure_input in #(
25796 *\
&* | *\
|* | *\\* )
25797 ac_sed_conf_input
=`$as_echo "$configure_input" |
25798 sed 's/[\\\\&|]/\\\\&/g'`;; #(
25799 *) ac_sed_conf_input
=$configure_input;;
25803 *:-:* | *:-) cat >"$ac_tmp/stdin" \
25804 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
25809 ac_dir
=`$as_dirname -- "$ac_file" ||
25810 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25811 X"$ac_file" : 'X\(//\)[^/]' \| \
25812 X"$ac_file" : 'X\(//\)$' \| \
25813 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
25814 $as_echo X"$ac_file" |
25815 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
25819 /^X\(\/\/\)[^/].*/{
25832 as_dir
="$ac_dir"; as_fn_mkdir_p
25836 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
25838 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
25839 # A ".." for each directory in $ac_dir_suffix.
25840 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
25841 case $ac_top_builddir_sub in
25842 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
25843 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
25846 ac_abs_top_builddir
=$ac_pwd
25847 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
25848 # for backward compatibility:
25849 ac_top_builddir
=$ac_top_build_prefix
25852 .
) # We are building in place.
25854 ac_top_srcdir
=$ac_top_builddir_sub
25855 ac_abs_top_srcdir
=$ac_pwd ;;
25856 [\\/]* | ?
:[\\/]* ) # Absolute name.
25857 ac_srcdir
=$srcdir$ac_dir_suffix;
25858 ac_top_srcdir
=$srcdir
25859 ac_abs_top_srcdir
=$srcdir ;;
25860 *) # Relative name.
25861 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
25862 ac_top_srcdir
=$ac_top_build_prefix$srcdir
25863 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
25865 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
25875 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
25876 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
25878 ac_MKDIR_P
=$MKDIR_P
25880 [\\/$
]* | ?
:[\\/]* ) ;;
25881 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
25885 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
25886 # If the template does not know about datarootdir, expand it.
25887 # FIXME: This hack should be removed a few years after 2.60.
25888 ac_datarootdir_hack
=; ac_datarootdir_seen
=
25899 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
25900 *datarootdir
*) ac_datarootdir_seen
=yes;;
25901 *@datadir@
*|*@docdir@
*|*@infodir@
*|*@localedir@
*|*@mandir@
*)
25902 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
25903 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
25905 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25906 ac_datarootdir_hack='
25907 s&@datadir@&$datadir&g
25908 s&@docdir@&$docdir&g
25909 s&@infodir@&$infodir&g
25910 s&@localedir@&$localedir&g
25911 s&@mandir@&$mandir&g
25912 s&\\\${datarootdir}&$datarootdir&g' ;;
25916 # Neutralize VPATH when `$srcdir' = `.'.
25917 # Shell code in configure.ac might set extrasub.
25918 # FIXME: do we really want to maintain this feature?
25919 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25920 ac_sed_extra="$ac_vpsub
25923 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
25925 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
25926 s
|@configure_input@
|$ac_sed_conf_input|;t t
25927 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
25928 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
25929 s
&@srcdir@
&$ac_srcdir&;t t
25930 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
25931 s
&@top_srcdir@
&$ac_top_srcdir&;t t
25932 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
25933 s
&@builddir@
&$ac_builddir&;t t
25934 s
&@abs_builddir@
&$ac_abs_builddir&;t t
25935 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
25936 s
&@INSTALL@
&$ac_INSTALL&;t t
25937 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
25938 $ac_datarootdir_hack
25940 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
25941 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
25943 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
25944 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
25945 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
25946 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
25947 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
25948 which seems to be undefined. Please make sure it is defined" >&5
25949 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
25950 which seems to be undefined. Please make sure it is defined" >&2;}
25952 rm -f "$ac_tmp/stdin"
25954 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
25955 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
25957 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
25963 if test x"$ac_file" != x-; then
25965 $as_echo "/* $configure_input */" \
25966 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
25967 } >"$ac_tmp/config.h" \
25968 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
25969 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
25970 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
25971 $as_echo "$as_me: $ac_file is unchanged" >&6;}
25974 mv "$ac_tmp/config.h" "$ac_file" \
25975 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
25978 $as_echo "/* $configure_input */" \
25979 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
25980 || as_fn_error $? "could not create -" "$LINENO" 5
25982 # Compute "$ac_file"'s index
in $config_headers.
25985 for _am_header
in $config_headers :; do
25986 case $_am_header in
25987 $_am_arg | $_am_arg:* )
25990 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
25993 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
25994 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25995 X"$_am_arg" : 'X\(//\)[^/]' \| \
25996 X"$_am_arg" : 'X\(//\)$' \| \
25997 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
25998 $as_echo X"$_am_arg" |
25999 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
26003 /^X\(\/\/\)[^/].*/{
26015 s/.*/./; q'`/stamp
-h$_am_stamp_count
26018 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
26019 $as_echo "$as_me: executing $ac_file commands" >&6;}
26024 case $ac_file$ac_mode in
26025 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" || {
26026 # Older Autoconf quotes --file arguments for eval, but not when files
26027 # are listed without --file. Let's play safe and only enable the eval
26028 # if we detect the quoting.
26029 case $CONFIG_FILES in
26030 *\'*) eval set x
"$CONFIG_FILES" ;;
26031 *) set x
$CONFIG_FILES ;;
26036 # Strip MF so we end up with the name of the file.
26037 mf
=`echo "$mf" | sed -e 's/:.*$//'`
26038 # Check whether this is an Automake generated Makefile or not.
26039 # We used to match only the files named 'Makefile.in', but
26040 # some people rename them; so instead we look at the file content.
26041 # Grep'ing the first line is not enough: some people post-process
26042 # each Makefile.in and add a new line on top of each file to say so.
26043 # Grep'ing the whole file is not good either: AIX grep has a line
26044 # limit of 2048, but all sed's we know have understand at least 4000.
26045 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X
>/dev
/null
2>&1; then
26046 dirpart
=`$as_dirname -- "$mf" ||
26047 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26048 X"$mf" : 'X\(//\)[^/]' \| \
26049 X"$mf" : 'X\(//\)$' \| \
26050 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
26052 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
26056 /^X\(\/\/\)[^/].*/{
26072 # Extract the definition of DEPDIR, am__include, and am__quote
26073 # from the Makefile without running 'make'.
26074 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
26075 test -z "$DEPDIR" && continue
26076 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
26077 test -z "$am__include" && continue
26078 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
26079 # Find all dependency output files, they are included files with
26080 # $(DEPDIR) in their names. We invoke sed twice because it is the
26081 # simplest approach to changing $(DEPDIR) to its actual value in the
26083 for file in `sed -n "
26084 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
26085 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
26086 # Make sure the directory exists.
26087 test -f "$dirpart/$file" && continue
26088 fdir
=`$as_dirname -- "$file" ||
26089 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26090 X"$file" : 'X\(//\)[^/]' \| \
26091 X"$file" : 'X\(//\)$' \| \
26092 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
26093 $as_echo X"$file" |
26094 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
26098 /^X\(\/\/\)[^/].*/{
26111 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
26112 # echo "creating $dirpart/$file"
26113 echo '# dummy' > "$dirpart/$file"
26120 # See if we are running on zsh, and set the options that allow our
26121 # commands through without removal of \ escapes.
26122 if test -n "${ZSH_VERSION+set}"; then
26123 setopt NO_GLOB_SUBST
26127 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
26130 cat <<_LT_EOF >> "$cfgfile"
26132 # Generated automatically by $as_me ($PACKAGE) $VERSION
26133 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
26134 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
26136 # Provide generalized library-building support services.
26137 # Written by Gordon Matzigkeit, 1996
26139 # Copyright (C) 2014 Free Software Foundation, Inc.
26140 # This is free software; see the source for copying conditions. There is NO
26141 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
26143 # GNU Libtool is free software; you can redistribute it and/or modify
26144 # it under the terms of the GNU General Public License as published by
26145 # the Free Software Foundation; either version 2 of of the License, or
26146 # (at your option) any later version.
26148 # As a special exception to the GNU General Public License, if you
26149 # distribute this file as part of a program or library that is built
26150 # using GNU Libtool, you may include this file under the same
26151 # distribution terms that you use for the rest of that program.
26153 # GNU Libtool is distributed in the hope that it will be useful, but
26154 # WITHOUT ANY WARRANTY; without even the implied warranty of
26155 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
26156 # GNU General Public License for more details.
26158 # You should have received a copy of the GNU General Public License
26159 # along with this program. If not, see <http://www.gnu.org/licenses/>.
26162 # The names of the tagged configurations supported by this script.
26163 available_tags='CXX '
26165 # Configured defaults for sys_lib_dlsearch_path munging.
26166 : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
26168 # ### BEGIN LIBTOOL CONFIG
26170 # Which release of libtool.m4 was used?
26171 macro_version=$macro_version
26172 macro_revision=$macro_revision
26174 # Whether or not to build static libraries.
26175 build_old_libs=$enable_static
26177 # Whether or not to build shared libraries.
26178 build_libtool_libs=$enable_shared
26180 # What type of objects to build.
26183 # Whether or not to optimize for fast installation.
26184 fast_install=$enable_fast_install
26186 # Shared archive member basename,for filename based shared library versioning on AIX.
26187 shared_archive_member_spec=$shared_archive_member_spec
26189 # Shell to use when invoking shell scripts.
26192 # An echo program that protects backslashes.
26195 # The PATH separator for the build system.
26196 PATH_SEPARATOR=$lt_PATH_SEPARATOR
26199 host_alias=$host_alias
26203 # The build system.
26204 build_alias=$build_alias
26208 # A sed program that does not truncate output.
26211 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
26212 Xsed="\$SED -e 1s/^X//"
26214 # A grep program that handles long lines.
26220 # A literal string matcher.
26223 # A BSD- or MS-compatible name lister.
26226 # Whether we need soft or hard links.
26229 # What is the maximum length of a command?
26230 max_cmd_len=$max_cmd_len
26232 # Object file suffix (normally "o").
26235 # Executable file suffix (normally "").
26238 # whether the shell understands "unset".
26241 # turn spaces into newlines.
26244 # turn newlines into spaces.
26247 # convert \$build file names to \$host format.
26248 to_host_file_cmd=$lt_cv_to_host_file_cmd
26250 # convert \$build files to toolchain format.
26251 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
26253 # An object symbol dumper.
26254 OBJDUMP=$lt_OBJDUMP
26256 # Method to check whether dependent libraries are shared objects.
26257 deplibs_check_method=$lt_deplibs_check_method
26259 # Command to use when deplibs_check_method = "file_magic".
26260 file_magic_cmd=$lt_file_magic_cmd
26262 # How to find potential files when deplibs_check_method = "file_magic".
26263 file_magic_glob=$lt_file_magic_glob
26265 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
26266 want_nocaseglob=$lt_want_nocaseglob
26268 # DLL creation program.
26269 DLLTOOL=$lt_DLLTOOL
26271 # Command to associate shared and link libraries.
26272 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
26277 # Flags to create an archive.
26278 AR_FLAGS=$lt_AR_FLAGS
26280 # How to feed a file listing to the archiver.
26281 archiver_list_spec=$lt_archiver_list_spec
26283 # A symbol stripping program.
26286 # Commands used to install an old-style archive.
26288 old_postinstall_cmds=$lt_old_postinstall_cmds
26289 old_postuninstall_cmds=$lt_old_postuninstall_cmds
26291 # Whether to use a lock for old archive extraction.
26292 lock_old_archive_extraction=$lock_old_archive_extraction
26297 # LTCC compiler flags.
26298 LTCFLAGS=$lt_CFLAGS
26300 # Take the output of nm and produce a listing of raw symbols and C names.
26301 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
26303 # Transform the output of nm in a proper C declaration.
26304 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
26306 # Transform the output of nm into a list of symbols to manually relocate.
26307 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
26309 # Transform the output of nm in a C name address pair.
26310 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
26312 # Transform the output of nm in a C name address pair when lib prefix is needed.
26313 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
26315 # The name lister interface.
26316 nm_interface=$lt_lt_cv_nm_interface
26318 # Specify filename containing input files for \$NM.
26319 nm_file_list_spec=$lt_nm_file_list_spec
26321 # The root where to search for dependent libraries,and where our libraries should be installed.
26322 lt_sysroot=$lt_sysroot
26324 # Command to truncate a binary pipe.
26325 lt_truncate_bin=$lt_lt_cv_truncate_bin
26327 # The name of the directory that contains temporary libtool files.
26330 # Used to examine libraries when file_magic_cmd begins with "file".
26331 MAGIC_CMD=$MAGIC_CMD
26333 # Must we lock files when doing compilation?
26334 need_locks=$lt_need_locks
26337 MANIFEST_TOOL=$lt_MANIFEST_TOOL
26339 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
26340 DSYMUTIL=$lt_DSYMUTIL
26342 # Tool to change global to local symbols on Mac OS X.
26345 # Tool to manipulate fat objects and archives on Mac OS X.
26348 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
26351 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
26352 OTOOL64=$lt_OTOOL64
26354 # Old archive suffix (normally "a").
26357 # Shared library suffix (normally ".so").
26358 shrext_cmds=$lt_shrext_cmds
26360 # The commands to extract the exported symbol list from a shared archive.
26361 extract_expsyms_cmds=$lt_extract_expsyms_cmds
26363 # Variables whose values should be saved in libtool wrapper scripts and
26364 # restored at link time.
26365 variables_saved_for_relink=$lt_variables_saved_for_relink
26367 # Do we need the "lib" prefix for modules?
26368 need_lib_prefix=$need_lib_prefix
26370 # Do we need a version for libraries?
26371 need_version=$need_version
26373 # Library versioning type.
26374 version_type=$version_type
26376 # Shared library runtime path variable.
26377 runpath_var=$runpath_var
26379 # Shared library path variable.
26380 shlibpath_var=$shlibpath_var
26382 # Is shlibpath searched before the hard-coded library search path?
26383 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
26385 # Format of library name prefix.
26386 libname_spec=$lt_libname_spec
26388 # List of archive names. First name is the real one, the rest are links.
26389 # The last name is the one that the linker finds with -lNAME
26390 library_names_spec=$lt_library_names_spec
26392 # The coded name of the library, if different from the real name.
26393 soname_spec=$lt_soname_spec
26395 # Permission mode override for installation of shared libraries.
26396 install_override_mode=$lt_install_override_mode
26398 # Command to use after installation of a shared archive.
26399 postinstall_cmds=$lt_postinstall_cmds
26401 # Command to use after uninstallation of a shared archive.
26402 postuninstall_cmds=$lt_postuninstall_cmds
26404 # Commands used to finish a libtool library installation in a directory.
26405 finish_cmds=$lt_finish_cmds
26407 # As "finish_cmds", except a single script fragment to be evaled but
26409 finish_eval=$lt_finish_eval
26411 # Whether we should hardcode library paths into libraries.
26412 hardcode_into_libs=$hardcode_into_libs
26414 # Compile-time system search path for libraries.
26415 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
26417 # Detected run-time system search path for libraries.
26418 sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
26420 # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
26421 configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
26423 # Whether dlopen is supported.
26424 dlopen_support=$enable_dlopen
26426 # Whether dlopen of programs is supported.
26427 dlopen_self=$enable_dlopen_self
26429 # Whether dlopen of statically linked programs is supported.
26430 dlopen_self_static=$enable_dlopen_self_static
26432 # Commands to strip libraries.
26433 old_striplib=$lt_old_striplib
26434 striplib=$lt_striplib
26437 # The linker used to build libraries.
26440 # How to create reloadable object files.
26441 reload_flag=$lt_reload_flag
26442 reload_cmds=$lt_reload_cmds
26444 # Commands used to build an old-style archive.
26445 old_archive_cmds=$lt_old_archive_cmds
26447 # A language specific compiler.
26450 # Is the compiler the GNU compiler?
26453 # Compiler flag to turn off builtin functions.
26454 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
26456 # Additional compiler flags for building library objects.
26457 pic_flag=$lt_lt_prog_compiler_pic
26459 # How to pass a linker flag through the compiler.
26460 wl=$lt_lt_prog_compiler_wl
26462 # Compiler flag to prevent dynamic linking.
26463 link_static_flag=$lt_lt_prog_compiler_static
26465 # Does compiler simultaneously support -c and -o options?
26466 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
26468 # Whether or not to add -lc for building shared libraries.
26469 build_libtool_need_lc=$archive_cmds_need_lc
26471 # Whether or not to disallow shared libs when runtime libs are static.
26472 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
26474 # Compiler flag to allow reflexive dlopens.
26475 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
26477 # Compiler flag to generate shared objects directly from archives.
26478 whole_archive_flag_spec=$lt_whole_archive_flag_spec
26480 # Whether the compiler copes with passing no objects directly.
26481 compiler_needs_object=$lt_compiler_needs_object
26483 # Create an old-style archive from a shared archive.
26484 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
26486 # Create a temporary old-style archive to link instead of a shared archive.
26487 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
26489 # Commands used to build a shared archive.
26490 archive_cmds=$lt_archive_cmds
26491 archive_expsym_cmds=$lt_archive_expsym_cmds
26493 # Commands used to build a loadable module if different from building
26494 # a shared archive.
26495 module_cmds=$lt_module_cmds
26496 module_expsym_cmds=$lt_module_expsym_cmds
26498 # Whether we are building with GNU ld or not.
26499 with_gnu_ld=$lt_with_gnu_ld
26501 # Flag that allows shared libraries with undefined symbols to be built.
26502 allow_undefined_flag=$lt_allow_undefined_flag
26504 # Flag that enforces no undefined symbols.
26505 no_undefined_flag=$lt_no_undefined_flag
26507 # Flag to hardcode \$libdir into a binary during linking.
26508 # This must work even if \$libdir does not exist
26509 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
26511 # Whether we need a single "-rpath" flag with a separated argument.
26512 hardcode_libdir_separator=$lt_hardcode_libdir_separator
26514 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
26515 # DIR into the resulting binary.
26516 hardcode_direct=$hardcode_direct
26518 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
26519 # DIR into the resulting binary and the resulting library dependency is
26520 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
26521 # library is relocated.
26522 hardcode_direct_absolute=$hardcode_direct_absolute
26524 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
26525 # into the resulting binary.
26526 hardcode_minus_L=$hardcode_minus_L
26528 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
26529 # into the resulting binary.
26530 hardcode_shlibpath_var=$hardcode_shlibpath_var
26532 # Set to "yes" if building a shared library automatically hardcodes DIR
26533 # into the library and all subsequent libraries and executables linked
26535 hardcode_automatic=$hardcode_automatic
26537 # Set to yes if linker adds runtime paths of dependent libraries
26538 # to runtime path list.
26539 inherit_rpath=$inherit_rpath
26541 # Whether libtool must link a program against all its dependency libraries.
26542 link_all_deplibs=$link_all_deplibs
26544 # Set to "yes" if exported symbols are required.
26545 always_export_symbols=$always_export_symbols
26547 # The commands to list exported symbols.
26548 export_symbols_cmds=$lt_export_symbols_cmds
26550 # Symbols that should not be listed in the preloaded symbols.
26551 exclude_expsyms=$lt_exclude_expsyms
26553 # Symbols that must always be exported.
26554 include_expsyms=$lt_include_expsyms
26556 # Commands necessary for linking programs (against libraries) with templates.
26557 prelink_cmds=$lt_prelink_cmds
26559 # Commands necessary for finishing linking programs.
26560 postlink_cmds=$lt_postlink_cmds
26562 # Specify filename containing input files.
26563 file_list_spec=$lt_file_list_spec
26565 # How to hardcode a shared library path into an executable.
26566 hardcode_action=$hardcode_action
26568 # The directories searched by this compiler when creating a shared library.
26569 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
26571 # Dependencies to place before and after the objects being linked to
26572 # create a shared library.
26573 predep_objects=$lt_predep_objects
26574 postdep_objects=$lt_postdep_objects
26575 predeps=$lt_predeps
26576 postdeps=$lt_postdeps
26578 # The library search path used internally by the compiler when linking
26579 # a shared library.
26580 compiler_lib_search_path=$lt_compiler_lib_search_path
26582 # ### END LIBTOOL CONFIG
26586 cat <<'_LT_EOF' >> "$cfgfile"
26588 # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
26590 # func_munge_path_list VARIABLE PATH
26591 # -----------------------------------
26592 # VARIABLE is name of variable containing _space_ separated list of
26593 # directories to be munged by the contents of PATH, which is string
26596 # string "DIR[ DIR]" will be prepended to VARIABLE
26598 # string "DIR[ DIR]" will be appended to VARIABLE
26599 # "DIRP[:DIRP]::[DIRA:]DIRA"
26600 # string "DIRP[ DIRP]" will be prepended to VARIABLE and string
26601 # "DIRA[ DIRA]" will be appended to VARIABLE
26603 # VARIABLE will be replaced by "DIR[ DIR]"
26604 func_munge_path_list ()
26610 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
26613 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
26616 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
26617 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
26620 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
26626 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
26627 func_cc_basename ()
26629 for cc_temp in $*""; do
26631 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
26632 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
26637 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
26641 # ### END FUNCTIONS SHARED WITH CONFIGURE
26647 cat <<\_LT_EOF
>> "$cfgfile"
26648 # AIX sometimes has problems with the GCC collect2 program. For some
26649 # reason, if we set the COLLECT_NAMES environment variable, the problems
26650 # vanish in a puff of smoke.
26651 if test set != "${COLLECT_NAMES+set}"; then
26653 export COLLECT_NAMES
26660 ltmain
=$ac_aux_dir/ltmain.sh
26663 # We use sed instead of cat because bash on DJGPP gets confused if
26664 # if finds mixed CR/LF and LF-only lines. Since sed operates in
26665 # text mode, it properly converts lines to CR/LF. This bash problem
26666 # is reportedly fixed, but why not run on old versions too?
26667 sed '$q' "$ltmain" >> "$cfgfile" \
26668 || (rm -f "$cfgfile"; exit 1)
26670 mv -f "$cfgfile" "$ofile" ||
26671 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
26675 cat <<_LT_EOF >> "$ofile"
26677 # ### BEGIN LIBTOOL TAG CONFIG: CXX
26679 # The linker used to build libraries.
26682 # How to create reloadable object files.
26683 reload_flag=$lt_reload_flag_CXX
26684 reload_cmds=$lt_reload_cmds_CXX
26686 # Commands used to build an old-style archive.
26687 old_archive_cmds=$lt_old_archive_cmds_CXX
26689 # A language specific compiler.
26690 CC=$lt_compiler_CXX
26692 # Is the compiler the GNU compiler?
26695 # Compiler flag to turn off builtin functions.
26696 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
26698 # Additional compiler flags for building library objects.
26699 pic_flag=$lt_lt_prog_compiler_pic_CXX
26701 # How to pass a linker flag through the compiler.
26702 wl=$lt_lt_prog_compiler_wl_CXX
26704 # Compiler flag to prevent dynamic linking.
26705 link_static_flag=$lt_lt_prog_compiler_static_CXX
26707 # Does compiler simultaneously support -c and -o options?
26708 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
26710 # Whether or not to add -lc for building shared libraries.
26711 build_libtool_need_lc=$archive_cmds_need_lc_CXX
26713 # Whether or not to disallow shared libs when runtime libs are static.
26714 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
26716 # Compiler flag to allow reflexive dlopens.
26717 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
26719 # Compiler flag to generate shared objects directly from archives.
26720 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
26722 # Whether the compiler copes with passing no objects directly.
26723 compiler_needs_object=$lt_compiler_needs_object_CXX
26725 # Create an old-style archive from a shared archive.
26726 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
26728 # Create a temporary old-style archive to link instead of a shared archive.
26729 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
26731 # Commands used to build a shared archive.
26732 archive_cmds=$lt_archive_cmds_CXX
26733 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
26735 # Commands used to build a loadable module if different from building
26736 # a shared archive.
26737 module_cmds=$lt_module_cmds_CXX
26738 module_expsym_cmds=$lt_module_expsym_cmds_CXX
26740 # Whether we are building with GNU ld or not.
26741 with_gnu_ld=$lt_with_gnu_ld_CXX
26743 # Flag that allows shared libraries with undefined symbols to be built.
26744 allow_undefined_flag=$lt_allow_undefined_flag_CXX
26746 # Flag that enforces no undefined symbols.
26747 no_undefined_flag=$lt_no_undefined_flag_CXX
26749 # Flag to hardcode \$libdir into a binary during linking.
26750 # This must work even if \$libdir does not exist
26751 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
26753 # Whether we need a single "-rpath" flag with a separated argument.
26754 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
26756 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
26757 # DIR into the resulting binary.
26758 hardcode_direct=$hardcode_direct_CXX
26760 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
26761 # DIR into the resulting binary and the resulting library dependency is
26762 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
26763 # library is relocated.
26764 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
26766 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
26767 # into the resulting binary.
26768 hardcode_minus_L=$hardcode_minus_L_CXX
26770 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
26771 # into the resulting binary.
26772 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
26774 # Set to "yes" if building a shared library automatically hardcodes DIR
26775 # into the library and all subsequent libraries and executables linked
26777 hardcode_automatic=$hardcode_automatic_CXX
26779 # Set to yes if linker adds runtime paths of dependent libraries
26780 # to runtime path list.
26781 inherit_rpath=$inherit_rpath_CXX
26783 # Whether libtool must link a program against all its dependency libraries.
26784 link_all_deplibs=$link_all_deplibs_CXX
26786 # Set to "yes" if exported symbols are required.
26787 always_export_symbols=$always_export_symbols_CXX
26789 # The commands to list exported symbols.
26790 export_symbols_cmds=$lt_export_symbols_cmds_CXX
26792 # Symbols that should not be listed in the preloaded symbols.
26793 exclude_expsyms=$lt_exclude_expsyms_CXX
26795 # Symbols that must always be exported.
26796 include_expsyms=$lt_include_expsyms_CXX
26798 # Commands necessary for linking programs (against libraries) with templates.
26799 prelink_cmds=$lt_prelink_cmds_CXX
26801 # Commands necessary for finishing linking programs.
26802 postlink_cmds=$lt_postlink_cmds_CXX
26804 # Specify filename containing input files.
26805 file_list_spec=$lt_file_list_spec_CXX
26807 # How to hardcode a shared library path into an executable.
26808 hardcode_action=$hardcode_action_CXX
26810 # The directories searched by this compiler when creating a shared library.
26811 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
26813 # Dependencies to place before and after the objects being linked to
26814 # create a shared library.
26815 predep_objects=$lt_predep_objects_CXX
26816 postdep_objects=$lt_postdep_objects_CXX
26817 predeps=$lt_predeps_CXX
26818 postdeps=$lt_postdeps_CXX
26820 # The library search path used internally by the compiler when linking
26821 # a shared library.
26822 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
26824 # ### END LIBTOOL TAG CONFIG: CXX
26835 ac_clean_files
=$ac_clean_files_save
26837 test $ac_write_fail = 0 ||
26838 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
26841 # configure is writing to config.log, and then calls config.status.
26842 # config.status does its own redirection, appending to config.log.
26843 # Unfortunately, on DOS this fails, as config.log is still kept open
26844 # by configure, so config.status won't be able to write to it; its
26845 # output is simply discarded. So we exec the FD to /dev/null,
26846 # effectively closing config.log, so it can be properly (re)opened and
26847 # appended to by config.status. When coming back to configure, we
26848 # need to make the FD available again.
26849 if test "$no_create" != yes; then
26851 ac_config_status_args
=
26852 test "$silent" = yes &&
26853 ac_config_status_args
="$ac_config_status_args --quiet"
26855 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
26857 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
26858 # would make configure fail if this is the last instruction.
26859 $ac_cs_success || as_fn_exit
1
26861 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
26862 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
26863 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}