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
724 CXXCPPFLAGS_FOR_BUILD
747 am__fastdepOBJCXX_FALSE
748 am__fastdepOBJCXX_TRUE
777 MAINTAINER_MODE_FALSE
791 INSTALL_STRIP_PROGRAM
833 program_transform_name
846 enable_option_checking
848 enable_maintainer_mode
849 enable_dependency_tracking
864 ac_precious_vars
='build_alias
897 # Initialize some variables set by options.
899 ac_init_version
=false
900 ac_unrecognized_opts
=
902 # The variables have the same names as the options, with
903 # dashes changed to underlines.
911 program_transform_name
=s
,x
,x
,
919 # Installation directory options.
920 # These are left unexpanded so users can "make install exec_prefix=/foo"
921 # and all the variables that are supposed to be based on exec_prefix
922 # by default will actually change.
923 # Use braces instead of parens because sh, perl, etc. also accept them.
924 # (The list follows the same order as the GNU Coding Standards.)
925 bindir
='${exec_prefix}/bin'
926 sbindir
='${exec_prefix}/sbin'
927 libexecdir
='${exec_prefix}/libexec'
928 datarootdir
='${prefix}/share'
929 datadir
='${datarootdir}'
930 sysconfdir
='${prefix}/etc'
931 sharedstatedir
='${prefix}/com'
932 localstatedir
='${prefix}/var'
933 includedir
='${prefix}/include'
934 oldincludedir
='/usr/include'
935 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
936 infodir
='${datarootdir}/info'
941 libdir
='${exec_prefix}/lib'
942 localedir
='${datarootdir}/locale'
943 mandir
='${datarootdir}/man'
949 # If the previous option needs an argument, assign it.
950 if test -n "$ac_prev"; then
951 eval $ac_prev=\
$ac_option
957 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
962 # Accept the important Cygnus configure options, so we can diagnose typos.
964 case $ac_dashdash$ac_option in
968 -bindir | --bindir | --bindi | --bind | --bin | --bi)
970 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
973 -build | --build | --buil | --bui | --bu)
974 ac_prev
=build_alias
;;
975 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
976 build_alias
=$ac_optarg ;;
978 -cache-file | --cache-file | --cache-fil | --cache-fi \
979 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
980 ac_prev
=cache_file
;;
981 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
982 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
983 cache_file
=$ac_optarg ;;
986 cache_file
=config.cache
;;
988 -datadir | --datadir | --datadi | --datad)
990 -datadir=* | --datadir=* | --datadi=* | --datad=*)
991 datadir
=$ac_optarg ;;
993 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
994 | --dataroo | --dataro | --datar)
995 ac_prev
=datarootdir
;;
996 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
997 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
998 datarootdir
=$ac_optarg ;;
1000 -disable-* | --disable-*)
1001 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1002 # Reject names that are not valid shell variable names.
1003 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1004 as_fn_error $?
"invalid feature name: $ac_useropt"
1005 ac_useropt_orig
=$ac_useropt
1006 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1007 case $ac_user_opts in
1009 "enable_
$ac_useropt"
1011 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1012 ac_unrecognized_sep
=', ';;
1014 eval enable_
$ac_useropt=no
;;
1016 -docdir | --docdir | --docdi | --doc | --do)
1018 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1019 docdir
=$ac_optarg ;;
1021 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1023 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1024 dvidir
=$ac_optarg ;;
1026 -enable-* | --enable-*)
1027 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1028 # Reject names that are not valid shell variable names.
1029 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1030 as_fn_error $?
"invalid feature name: $ac_useropt"
1031 ac_useropt_orig
=$ac_useropt
1032 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1033 case $ac_user_opts in
1035 "enable_
$ac_useropt"
1037 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1038 ac_unrecognized_sep
=', ';;
1040 eval enable_
$ac_useropt=\
$ac_optarg ;;
1042 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1043 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1044 | --exec | --exe | --ex)
1045 ac_prev
=exec_prefix
;;
1046 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1047 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1048 | --exec=* | --exe=* | --ex=*)
1049 exec_prefix
=$ac_optarg ;;
1051 -gas | --gas | --ga | --g)
1052 # Obsolete; use --with-gas.
1055 -help | --help | --hel | --he | -h)
1056 ac_init_help
=long
;;
1057 -help=r
* | --help=r
* | --hel=r
* | --he=r
* | -hr*)
1058 ac_init_help
=recursive
;;
1059 -help=s
* | --help=s
* | --hel=s
* | --he=s
* | -hs*)
1060 ac_init_help
=short
;;
1062 -host | --host | --hos | --ho)
1063 ac_prev
=host_alias
;;
1064 -host=* | --host=* | --hos=* | --ho=*)
1065 host_alias
=$ac_optarg ;;
1067 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1069 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1071 htmldir
=$ac_optarg ;;
1073 -includedir | --includedir | --includedi | --included | --include \
1074 | --includ | --inclu | --incl | --inc)
1075 ac_prev
=includedir
;;
1076 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1077 | --includ=* | --inclu=* | --incl=* | --inc=*)
1078 includedir
=$ac_optarg ;;
1080 -infodir | --infodir | --infodi | --infod | --info | --inf)
1082 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1083 infodir
=$ac_optarg ;;
1085 -libdir | --libdir | --libdi | --libd)
1087 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1088 libdir
=$ac_optarg ;;
1090 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1091 | --libexe | --libex | --libe)
1092 ac_prev
=libexecdir
;;
1093 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1094 | --libexe=* | --libex=* | --libe=*)
1095 libexecdir
=$ac_optarg ;;
1097 -localedir | --localedir | --localedi | --localed | --locale)
1098 ac_prev
=localedir
;;
1099 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1100 localedir
=$ac_optarg ;;
1102 -localstatedir | --localstatedir | --localstatedi | --localstated \
1103 | --localstate | --localstat | --localsta | --localst | --locals)
1104 ac_prev
=localstatedir
;;
1105 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1106 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1107 localstatedir
=$ac_optarg ;;
1109 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1111 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1112 mandir
=$ac_optarg ;;
1114 -nfp | --nfp | --nf)
1115 # Obsolete; use --without-fp.
1118 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1119 | --no-cr | --no-c | -n)
1122 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1123 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1126 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1127 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1128 | --oldin | --oldi | --old | --ol | --o)
1129 ac_prev
=oldincludedir
;;
1130 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1131 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1132 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1133 oldincludedir
=$ac_optarg ;;
1135 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1137 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1138 prefix
=$ac_optarg ;;
1140 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1141 | --program-pre | --program-pr | --program-p)
1142 ac_prev
=program_prefix
;;
1143 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1144 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1145 program_prefix
=$ac_optarg ;;
1147 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1148 | --program-suf | --program-su | --program-s)
1149 ac_prev
=program_suffix
;;
1150 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1151 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1152 program_suffix
=$ac_optarg ;;
1154 -program-transform-name | --program-transform-name \
1155 | --program-transform-nam | --program-transform-na \
1156 | --program-transform-n | --program-transform- \
1157 | --program-transform | --program-transfor \
1158 | --program-transfo | --program-transf \
1159 | --program-trans | --program-tran \
1160 | --progr-tra | --program-tr | --program-t)
1161 ac_prev
=program_transform_name
;;
1162 -program-transform-name=* | --program-transform-name=* \
1163 | --program-transform-nam=* | --program-transform-na=* \
1164 | --program-transform-n=* | --program-transform-=* \
1165 | --program-transform=* | --program-transfor=* \
1166 | --program-transfo=* | --program-transf=* \
1167 | --program-trans=* | --program-tran=* \
1168 | --progr-tra=* | --program-tr=* | --program-t=*)
1169 program_transform_name
=$ac_optarg ;;
1171 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1173 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1174 pdfdir
=$ac_optarg ;;
1176 -psdir | --psdir | --psdi | --psd | --ps)
1178 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1181 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1182 | -silent | --silent | --silen | --sile | --sil)
1185 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1187 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1189 sbindir
=$ac_optarg ;;
1191 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1192 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1193 | --sharedst | --shareds | --shared | --share | --shar \
1195 ac_prev
=sharedstatedir
;;
1196 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1197 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1198 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1200 sharedstatedir
=$ac_optarg ;;
1202 -site | --site | --sit)
1204 -site=* | --site=* | --sit=*)
1207 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1209 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1210 srcdir
=$ac_optarg ;;
1212 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1213 | --syscon | --sysco | --sysc | --sys | --sy)
1214 ac_prev
=sysconfdir
;;
1215 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1216 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1217 sysconfdir
=$ac_optarg ;;
1219 -target | --target | --targe | --targ | --tar | --ta | --t)
1220 ac_prev
=target_alias
;;
1221 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1222 target_alias
=$ac_optarg ;;
1224 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1227 -version | --version | --versio | --versi | --vers | -V)
1228 ac_init_version
=: ;;
1231 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1232 # Reject names that are not valid shell variable names.
1233 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1234 as_fn_error $?
"invalid package name: $ac_useropt"
1235 ac_useropt_orig
=$ac_useropt
1236 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1237 case $ac_user_opts in
1241 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1242 ac_unrecognized_sep
=', ';;
1244 eval with_
$ac_useropt=\
$ac_optarg ;;
1246 -without-* | --without-*)
1247 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1248 # Reject names that are not valid shell variable names.
1249 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1250 as_fn_error $?
"invalid package name: $ac_useropt"
1251 ac_useropt_orig
=$ac_useropt
1252 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1253 case $ac_user_opts in
1257 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1258 ac_unrecognized_sep
=', ';;
1260 eval with_
$ac_useropt=no
;;
1263 # Obsolete; use --with-x.
1266 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1267 | --x-incl | --x-inc | --x-in | --x-i)
1268 ac_prev
=x_includes
;;
1269 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1270 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1271 x_includes
=$ac_optarg ;;
1273 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1274 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1275 ac_prev
=x_libraries
;;
1276 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1277 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1278 x_libraries
=$ac_optarg ;;
1280 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1281 Try \`$0 --help' for more information"
1285 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1286 # Reject names that are not valid shell variable names.
1287 case $ac_envvar in #(
1288 '' | [0-9]* | *[!_$as_cr_alnum]* )
1289 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1291 eval $ac_envvar=\
$ac_optarg
1292 export $ac_envvar ;;
1295 # FIXME: should be removed in autoconf 3.0.
1296 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1297 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1298 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1299 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1305 if test -n "$ac_prev"; then
1306 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1307 as_fn_error $?
"missing argument to $ac_option"
1310 if test -n "$ac_unrecognized_opts"; then
1311 case $enable_option_checking in
1313 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1314 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1318 # Check all directory arguments for consistency.
1319 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1320 datadir sysconfdir sharedstatedir localstatedir includedir \
1321 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1322 libdir localedir mandir
1324 eval ac_val
=\$
$ac_var
1325 # Remove trailing slashes.
1328 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1329 eval $ac_var=\
$ac_val;;
1331 # Be sure to have absolute directory names.
1333 [\\/$
]* | ?
:[\\/]* ) continue;;
1334 NONE
| '' ) case $ac_var in *prefix
) continue;; esac;;
1336 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1339 # There might be people who depend on the old broken behavior: `$host'
1340 # used to hold the argument of --host etc.
1341 # FIXME: To remove some day.
1344 target
=$target_alias
1346 # FIXME: To remove some day.
1347 if test "x$host_alias" != x
; then
1348 if test "x$build_alias" = x
; then
1349 cross_compiling
=maybe
1350 elif test "x$build_alias" != "x$host_alias"; then
1356 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1358 test "$silent" = yes && exec 6>/dev
/null
1361 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1362 ac_ls_di
=`ls -di .` &&
1363 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1364 as_fn_error $?
"working directory cannot be determined"
1365 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1366 as_fn_error $?
"pwd does not report name of working directory"
1369 # Find the source files, if location was not specified.
1370 if test -z "$srcdir"; then
1371 ac_srcdir_defaulted
=yes
1372 # Try the directory containing this script, then the parent directory.
1373 ac_confdir
=`$as_dirname -- "$as_myself" ||
1374 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1375 X"$as_myself" : 'X\(//\)[^/]' \| \
1376 X"$as_myself" : 'X\(//\)$' \| \
1377 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1378 $as_echo X"$as_myself" |
1379 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1397 if test ! -r "$srcdir/$ac_unique_file"; then
1401 ac_srcdir_defaulted
=no
1403 if test ! -r "$srcdir/$ac_unique_file"; then
1404 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1405 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1407 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1409 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1411 # When building in place, set srcdir=.
1412 if test "$ac_abs_confdir" = "$ac_pwd"; then
1415 # Remove unnecessary trailing slashes from srcdir.
1416 # Double slashes in file names in object file debugging info
1417 # mess up M-x gdb in Emacs.
1419 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1421 for ac_var
in $ac_precious_vars; do
1422 eval ac_env_
${ac_var}_set
=\
${${ac_var}+set}
1423 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1424 eval ac_cv_env_
${ac_var}_set
=\
${${ac_var}+set}
1425 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1429 # Report the --help message.
1431 if test "$ac_init_help" = "long"; then
1432 # Omit some internal or obsolete options to make the list less imposing.
1433 # This message is too long to be a string in the A/UX 3.1 sh.
1435 \`configure' configures Cycript 0.9 to adapt to many kinds of systems.
1437 Usage: $0 [OPTION]... [VAR=VALUE]...
1439 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1440 VAR=VALUE. See below for descriptions of some of the useful variables.
1442 Defaults for the options are specified in brackets.
1445 -h, --help display this help and exit
1446 --help=short display options specific to this package
1447 --help=recursive display the short help of all the included packages
1448 -V, --version display version information and exit
1449 -q, --quiet, --silent do not print \`checking ...' messages
1450 --cache-file=FILE cache test results in FILE [disabled]
1451 -C, --config-cache alias for \`--cache-file=config.cache'
1452 -n, --no-create do not create output files
1453 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1455 Installation directories:
1456 --prefix=PREFIX install architecture-independent files in PREFIX
1457 [$ac_default_prefix]
1458 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1461 By default, \`make install' will install all the files in
1462 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1463 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1464 for instance \`--prefix=\$HOME'.
1466 For better control, use the options below.
1468 Fine tuning of the installation directories:
1469 --bindir=DIR user executables [EPREFIX/bin]
1470 --sbindir=DIR system admin executables [EPREFIX/sbin]
1471 --libexecdir=DIR program executables [EPREFIX/libexec]
1472 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1473 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1474 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1475 --libdir=DIR object code libraries [EPREFIX/lib]
1476 --includedir=DIR C header files [PREFIX/include]
1477 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1478 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1479 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1480 --infodir=DIR info documentation [DATAROOTDIR/info]
1481 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1482 --mandir=DIR man documentation [DATAROOTDIR/man]
1483 --docdir=DIR documentation root [DATAROOTDIR/doc/cycript]
1484 --htmldir=DIR html documentation [DOCDIR]
1485 --dvidir=DIR dvi documentation [DOCDIR]
1486 --pdfdir=DIR pdf documentation [DOCDIR]
1487 --psdir=DIR ps documentation [DOCDIR]
1493 --program-prefix=PREFIX prepend PREFIX to installed program names
1494 --program-suffix=SUFFIX append SUFFIX to installed program names
1495 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1498 --build=BUILD configure
for building on BUILD
[guessed
]
1499 --host=HOST cross
-compile to build programs to run on HOST
[BUILD
]
1503 if test -n "$ac_init_help"; then
1504 case $ac_init_help in
1505 short
| recursive
) echo "Configuration of Cycript 0.9:";;
1510 --disable-option-checking ignore unrecognized
--enable/--with options
1511 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1512 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1513 --enable-silent-rules less verbose build output
(undo
: "make V=1")
1514 --disable-silent-rules verbose build output
(undo
: "make V=0")
1515 --enable-maintainer-mode
1516 enable make rules and dependencies not useful
(and
1517 sometimes confusing
) to the casual installer
1518 --enable-dependency-tracking
1519 do not reject slow dependency extractors
1520 --disable-dependency-tracking
1521 speeds up one
-time build
1522 --enable-static[=PKGS
] build static libraries
[default
=no
]
1523 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1524 --enable-fast-install[=PKGS
]
1525 optimize
for fast installation
[default
=yes]
1526 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1527 --enable-javascript[=ENGINE
]
1528 use a JavaScript runtime
(currently the only
1529 available option
for ENGINE is JavaScriptCore
)
1531 --disable-console disable console
1532 --disable-attach disable attach
1535 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1536 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1537 --with-pic[=PKGS
] try to use only PIC
/non
-PIC objects
[default
=use
1539 --with-aix-soname=aix
|svr4
|both
1540 shared library versioning
(aka
"SONAME") variant to
1541 provide on AIX
, [default
=aix
].
1542 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1543 --with-sysroot[=DIR
] Search
for dependent libraries within DIR
(or the
1544 compiler
's sysroot if not specified).
1545 --with-python support python (pass the path to python-config)
1546 --with-libclang build bridge definitions using this libclang
1548 Some influential environment variables:
1549 CC C compiler command
1550 CFLAGS C compiler flags
1551 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1552 nonstandard directory <lib dir>
1553 LIBS libraries to pass to the linker, e.g. -l<library>
1554 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1555 you have headers in a nonstandard directory <include dir>
1556 CXX C++ compiler command
1557 CXXFLAGS C++ compiler flags
1558 OBJCXX Objective C++ compiler command
1559 OBJCXXFLAGS Objective C++ compiler flags
1561 CXXCPP C++ preprocessor
1563 User-defined run-time library search path.
1564 PKG_CONFIG path to pkg-config utility
1566 directories to add to pkg-config's search path
1568 path overriding pkg
-config's built-in search path
1569 BISON GNU Project parser generator (yacc replacement)
1570 FLEX the fast lexical analyser generator
1571 GPERF perfect hash function generator
1572 GNUTAR a very sticky lump of files
1575 C compiler flags for WEBKIT, overriding pkg-config
1576 WEBKIT_LIBS linker flags for WEBKIT, overriding pkg-config
1578 C compiler flags for LIBFFI, overriding pkg-config
1579 LIBFFI_LIBS linker flags for LIBFFI, overriding pkg-config
1581 C compiler flags for LIBRUBY21, overriding pkg-config
1583 linker flags for LIBRUBY21, overriding pkg-config
1585 prints information about the current gnustep installation
1587 Use these variables to override the choices made by `configure' or to
help
1588 it to
find libraries and programs with nonstandard names
/locations.
1590 Report bugs to
<saurik@saurik.com
>.
1591 Cycript home page
: <http
://www.cycript.org
/>.
1596 if test "$ac_init_help" = "recursive"; then
1597 # If there are subdirs, report their specific --help.
1598 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1599 test -d "$ac_dir" ||
1600 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1605 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1607 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1608 # A ".." for each directory in $ac_dir_suffix.
1609 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1610 case $ac_top_builddir_sub in
1611 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1612 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1615 ac_abs_top_builddir
=$ac_pwd
1616 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1617 # for backward compatibility:
1618 ac_top_builddir
=$ac_top_build_prefix
1621 .
) # We are building in place.
1623 ac_top_srcdir
=$ac_top_builddir_sub
1624 ac_abs_top_srcdir
=$ac_pwd ;;
1625 [\\/]* | ?
:[\\/]* ) # Absolute name.
1626 ac_srcdir
=$srcdir$ac_dir_suffix;
1627 ac_top_srcdir
=$srcdir
1628 ac_abs_top_srcdir
=$srcdir ;;
1630 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1631 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1632 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1634 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1636 cd "$ac_dir" || { ac_status
=$?
; continue; }
1637 # Check for guested configure.
1638 if test -f "$ac_srcdir/configure.gnu"; then
1640 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1641 elif test -f "$ac_srcdir/configure"; then
1643 $SHELL "$ac_srcdir/configure" --help=recursive
1645 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1647 cd "$ac_pwd" || { ac_status
=$?
; break; }
1651 test -n "$ac_init_help" && exit $ac_status
1652 if $ac_init_version; then
1654 Cycript configure
0.9
1655 generated by GNU Autoconf
2.69
1657 Copyright
(C
) 2012 Free Software Foundation
, Inc.
1658 This configure
script is free software
; the Free Software Foundation
1659 gives unlimited permission to copy
, distribute and modify it.
1661 Copyright
(C
) 2009-2016 Jay Freeman
(saurik
)
1666 ## ------------------------ ##
1667 ## Autoconf initialization. ##
1668 ## ------------------------ ##
1670 # ac_fn_c_try_compile LINENO
1671 # --------------------------
1672 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1673 ac_fn_c_try_compile
()
1675 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1676 rm -f conftest.
$ac_objext
1677 if { { ac_try
="$ac_compile"
1679 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
1680 *) ac_try_echo=$ac_try;;
1682 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1683 $as_echo "$ac_try_echo"; } >&5
1684 (eval "$ac_compile") 2>conftest.err
1686 if test -s conftest.err; then
1687 grep -v '^ *+' conftest.err >conftest.er1
1688 cat conftest.er1 >&5
1689 mv -f conftest.er1 conftest.err
1691 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1692 test $ac_status = 0; } && {
1693 test -z "$ac_c_werror_flag" ||
1694 test ! -s conftest.err
1695 } && test -s conftest.$ac_objext; then :
1698 $as_echo "$as_me: failed program was:" >&5
1699 sed 's/^/| /' conftest.$ac_ext >&5
1703 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1704 as_fn_set_status $ac_retval
1706 } # ac_fn_c_try_compile
1708 # ac_fn_cxx_try_compile LINENO
1709 # ----------------------------
1710 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1711 ac_fn_cxx_try_compile ()
1713 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1714 rm -f conftest.$ac_objext
1715 if { { ac_try="$ac_compile"
1717 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
1718 *) ac_try_echo
=$ac_try;;
1720 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1721 $as_echo "$ac_try_echo"; } >&5
1722 (eval "$ac_compile") 2>conftest.err
1724 if test -s conftest.err
; then
1725 grep -v '^ *+' conftest.err
>conftest.er1
1726 cat conftest.er1
>&5
1727 mv -f conftest.er1 conftest.err
1729 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1730 test $ac_status = 0; } && {
1731 test -z "$ac_cxx_werror_flag" ||
1732 test ! -s conftest.err
1733 } && test -s conftest.
$ac_objext; then :
1736 $as_echo "$as_me: failed program was:" >&5
1737 sed 's/^/| /' conftest.
$ac_ext >&5
1741 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1742 as_fn_set_status
$ac_retval
1744 } # ac_fn_cxx_try_compile
1746 # ac_fn_objcxx_try_compile LINENO
1747 # -------------------------------
1748 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1749 ac_fn_objcxx_try_compile
()
1751 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1752 rm -f conftest.
$ac_objext
1753 if { { ac_try
="$ac_compile"
1755 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
1756 *) ac_try_echo=$ac_try;;
1758 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1759 $as_echo "$ac_try_echo"; } >&5
1760 (eval "$ac_compile") 2>conftest.err
1762 if test -s conftest.err; then
1763 grep -v '^ *+' conftest.err >conftest.er1
1764 cat conftest.er1 >&5
1765 mv -f conftest.er1 conftest.err
1767 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1768 test $ac_status = 0; } && {
1769 test -z "$ac_objcxx_werror_flag" ||
1770 test ! -s conftest.err
1771 } && test -s conftest.$ac_objext; then :
1774 $as_echo "$as_me: failed program was:" >&5
1775 sed 's/^/| /' conftest.$ac_ext >&5
1779 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1780 as_fn_set_status $ac_retval
1782 } # ac_fn_objcxx_try_compile
1784 # ac_fn_c_try_cpp LINENO
1785 # ----------------------
1786 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1789 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1790 if { { ac_try="$ac_cpp conftest.$ac_ext"
1792 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
1793 *) ac_try_echo
=$ac_try;;
1795 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1796 $as_echo "$ac_try_echo"; } >&5
1797 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1799 if test -s conftest.err
; then
1800 grep -v '^ *+' conftest.err
>conftest.er1
1801 cat conftest.er1
>&5
1802 mv -f conftest.er1 conftest.err
1804 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1805 test $ac_status = 0; } > conftest.i
&& {
1806 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1807 test ! -s conftest.err
1811 $as_echo "$as_me: failed program was:" >&5
1812 sed 's/^/| /' conftest.
$ac_ext >&5
1816 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1817 as_fn_set_status
$ac_retval
1821 # ac_fn_cxx_try_cpp LINENO
1822 # ------------------------
1823 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1824 ac_fn_cxx_try_cpp
()
1826 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1827 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1829 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
1830 *) ac_try_echo=$ac_try;;
1832 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1833 $as_echo "$ac_try_echo"; } >&5
1834 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1836 if test -s conftest.err; then
1837 grep -v '^ *+' conftest.err >conftest.er1
1838 cat conftest.er1 >&5
1839 mv -f conftest.er1 conftest.err
1841 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1842 test $ac_status = 0; } > conftest.i && {
1843 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1844 test ! -s conftest.err
1848 $as_echo "$as_me: failed program was:" >&5
1849 sed 's/^/| /' conftest.$ac_ext >&5
1853 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1854 as_fn_set_status $ac_retval
1856 } # ac_fn_cxx_try_cpp
1858 # ac_fn_c_try_link LINENO
1859 # -----------------------
1860 # Try to link conftest.$ac_ext, and return whether this succeeded.
1863 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1864 rm -f conftest.$ac_objext conftest$ac_exeext
1865 if { { ac_try="$ac_link"
1867 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
1868 *) ac_try_echo
=$ac_try;;
1870 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1871 $as_echo "$ac_try_echo"; } >&5
1872 (eval "$ac_link") 2>conftest.err
1874 if test -s conftest.err
; then
1875 grep -v '^ *+' conftest.err
>conftest.er1
1876 cat conftest.er1
>&5
1877 mv -f conftest.er1 conftest.err
1879 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1880 test $ac_status = 0; } && {
1881 test -z "$ac_c_werror_flag" ||
1882 test ! -s conftest.err
1883 } && test -s conftest
$ac_exeext && {
1884 test "$cross_compiling" = yes ||
1885 test -x conftest
$ac_exeext
1889 $as_echo "$as_me: failed program was:" >&5
1890 sed 's/^/| /' conftest.
$ac_ext >&5
1894 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1895 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1896 # interfere with the next link command; also delete a directory that is
1897 # left behind by Apple's compiler. We do this before executing the actions.
1898 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1899 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1900 as_fn_set_status
$ac_retval
1902 } # ac_fn_c_try_link
1904 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1905 # -------------------------------------------------------
1906 # Tests whether HEADER exists and can be compiled using the include files in
1907 # INCLUDES, setting the cache variable VAR accordingly.
1908 ac_fn_c_check_header_compile
()
1910 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1912 $as_echo_n "checking for $2... " >&6; }
1913 if eval \
${$3+:} false
; then :
1914 $as_echo_n "(cached) " >&6
1916 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1917 /* end confdefs.h. */
1921 if ac_fn_c_try_compile
"$LINENO"; then :
1926 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1930 $as_echo "$ac_res" >&6; }
1931 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1933 } # ac_fn_c_check_header_compile
1935 # ac_fn_c_try_run LINENO
1936 # ----------------------
1937 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1938 # that executables *can* be run.
1941 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1942 if { { ac_try
="$ac_link"
1944 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
1945 *) ac_try_echo=$ac_try;;
1947 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1948 $as_echo "$ac_try_echo"; } >&5
1949 (eval "$ac_link") 2>&5
1951 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1952 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1953 { { case "(($ac_try" in
1954 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
1955 *) ac_try_echo
=$ac_try;;
1957 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1958 $as_echo "$ac_try_echo"; } >&5
1959 (eval "$ac_try") 2>&5
1961 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1962 test $ac_status = 0; }; }; then :
1965 $as_echo "$as_me: program exited with status $ac_status" >&5
1966 $as_echo "$as_me: failed program was:" >&5
1967 sed 's/^/| /' conftest.
$ac_ext >&5
1969 ac_retval
=$ac_status
1971 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1972 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1973 as_fn_set_status
$ac_retval
1977 # ac_fn_c_check_func LINENO FUNC VAR
1978 # ----------------------------------
1979 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1980 ac_fn_c_check_func
()
1982 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1984 $as_echo_n "checking for $2... " >&6; }
1985 if eval \
${$3+:} false
; then :
1986 $as_echo_n "(cached) " >&6
1988 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1989 /* end confdefs.h. */
1990 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1991 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1992 #define $2 innocuous_$2
1994 /* System header to define __stub macros and hopefully few prototypes,
1995 which can conflict with char $2 (); below.
1996 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1997 <limits.h> exists even on freestanding compilers. */
2000 # include <limits.h>
2002 # include <assert.h>
2007 /* Override any GCC internal prototype to avoid an error.
2008 Use char because int might match the return type of a GCC
2009 builtin and then its argument prototype would still apply. */
2014 /* The GNU C library defines this for functions which it implements
2015 to always fail with ENOSYS. Some functions are actually named
2016 something starting with __ and the normal name is an alias. */
2017 #if defined __stub_$2 || defined __stub___$2
2029 if ac_fn_c_try_link
"$LINENO"; then :
2034 rm -f core conftest.err conftest.
$ac_objext \
2035 conftest
$ac_exeext conftest.
$ac_ext
2038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2039 $as_echo "$ac_res" >&6; }
2040 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2042 } # ac_fn_c_check_func
2044 # ac_fn_cxx_try_link LINENO
2045 # -------------------------
2046 # Try to link conftest.$ac_ext, and return whether this succeeded.
2047 ac_fn_cxx_try_link
()
2049 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2050 rm -f conftest.
$ac_objext conftest
$ac_exeext
2051 if { { ac_try
="$ac_link"
2053 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
2054 *) ac_try_echo=$ac_try;;
2056 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2057 $as_echo "$ac_try_echo"; } >&5
2058 (eval "$ac_link") 2>conftest.err
2060 if test -s conftest.err; then
2061 grep -v '^ *+' conftest.err >conftest.er1
2062 cat conftest.er1 >&5
2063 mv -f conftest.er1 conftest.err
2065 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2066 test $ac_status = 0; } && {
2067 test -z "$ac_cxx_werror_flag" ||
2068 test ! -s conftest.err
2069 } && test -s conftest$ac_exeext && {
2070 test "$cross_compiling" = yes ||
2071 test -x conftest$ac_exeext
2075 $as_echo "$as_me: failed program was:" >&5
2076 sed 's/^/| /' conftest.$ac_ext >&5
2080 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2081 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2082 # interfere with the next link command; also delete a directory that is
2083 # left behind by Apple's compiler. We do this before executing the actions.
2084 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2085 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2086 as_fn_set_status $ac_retval
2088 } # ac_fn_cxx_try_link
2090 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2091 # ---------------------------------------------------------
2092 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2093 # the include files in INCLUDES and setting the cache variable VAR
2095 ac_fn_cxx_check_header_mongrel ()
2097 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2098 if eval \${$3+:} false; then :
2099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2100 $as_echo_n "checking for $2... " >&6; }
2101 if eval \${$3+:} false; then :
2102 $as_echo_n "(cached) " >&6
2105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2106 $as_echo "$ac_res" >&6; }
2108 # Is the header compilable?
2109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2110 $as_echo_n "checking $2 usability... " >&6; }
2111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2112 /* end confdefs.h. */
2116 if ac_fn_cxx_try_compile "$LINENO"; then :
2117 ac_header_compiler=yes
2119 ac_header_compiler=no
2121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2123 $as_echo "$ac_header_compiler" >&6; }
2125 # Is the header present?
2126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2127 $as_echo_n "checking $2 presence... " >&6; }
2128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2129 /* end confdefs.h. */
2132 if ac_fn_cxx_try_cpp "$LINENO"; then :
2133 ac_header_preproc=yes
2135 ac_header_preproc=no
2137 rm -f conftest.err conftest.i conftest.$ac_ext
2138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2139 $as_echo "$ac_header_preproc" >&6; }
2141 # So? What about this header?
2142 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2144 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2145 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2146 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2147 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2150 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2151 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2152 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2153 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2154 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2155 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2156 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2157 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2158 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2159 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2160 ( $as_echo "## -------------------------------- ##
2161 ## Report this to saurik@saurik.com ##
2162 ## -------------------------------- ##"
2163 ) | sed "s/^/$as_me: WARNING: /" >&2
2166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2167 $as_echo_n "checking for $2... " >&6; }
2168 if eval \${$3+:} false; then :
2169 $as_echo_n "(cached) " >&6
2171 eval "$3=\$ac_header_compiler"
2174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2175 $as_echo "$ac_res" >&6; }
2177 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2179 } # ac_fn_cxx_check_header_mongrel
2181 # ac_fn_cxx_check_func LINENO FUNC VAR
2182 # ------------------------------------
2183 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2184 ac_fn_cxx_check_func ()
2186 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2188 $as_echo_n "checking for $2... " >&6; }
2189 if eval \${$3+:} false; then :
2190 $as_echo_n "(cached) " >&6
2192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2193 /* end confdefs.h. */
2194 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2195 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2196 #define $2 innocuous_$2
2198 /* System header to define __stub macros and hopefully few prototypes,
2199 which can conflict with char $2 (); below.
2200 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2201 <limits.h> exists even on freestanding compilers. */
2204 # include <limits.h>
2206 # include <assert.h>
2211 /* Override any GCC internal prototype to avoid an error.
2212 Use char because int might match the return type of a GCC
2213 builtin and then its argument prototype would still apply. */
2218 /* The GNU C library defines this for functions which it implements
2219 to always fail with ENOSYS. Some functions are actually named
2220 something starting with __ and the normal name is an alias. */
2221 #if defined __stub_$2 || defined __stub___$2
2233 if ac_fn_cxx_try_link "$LINENO"; then :
2238 rm -f core conftest.err conftest.$ac_objext \
2239 conftest$ac_exeext conftest.$ac_ext
2242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2243 $as_echo "$ac_res" >&6; }
2244 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2246 } # ac_fn_cxx_check_func
2248 # ac_fn_objcxx_try_link LINENO
2249 # ----------------------------
2250 # Try to link conftest.$ac_ext, and return whether this succeeded.
2251 ac_fn_objcxx_try_link ()
2253 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2254 rm -f conftest.$ac_objext conftest$ac_exeext
2255 if { { ac_try="$ac_link"
2257 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
2258 *) ac_try_echo
=$ac_try;;
2260 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2261 $as_echo "$ac_try_echo"; } >&5
2262 (eval "$ac_link") 2>conftest.err
2264 if test -s conftest.err
; then
2265 grep -v '^ *+' conftest.err
>conftest.er1
2266 cat conftest.er1
>&5
2267 mv -f conftest.er1 conftest.err
2269 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2270 test $ac_status = 0; } && {
2271 test -z "$ac_objcxx_werror_flag" ||
2272 test ! -s conftest.err
2273 } && test -s conftest
$ac_exeext && {
2274 test "$cross_compiling" = yes ||
2275 test -x conftest
$ac_exeext
2279 $as_echo "$as_me: failed program was:" >&5
2280 sed 's/^/| /' conftest.
$ac_ext >&5
2284 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2285 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2286 # interfere with the next link command; also delete a directory that is
2287 # left behind by Apple's compiler. We do this before executing the actions.
2288 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2289 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2290 as_fn_set_status
$ac_retval
2292 } # ac_fn_objcxx_try_link
2293 cat >config.log
<<_ACEOF
2294 This file contains any messages produced by compilers while
2295 running configure, to aid debugging if configure makes a mistake.
2297 It was created by Cycript $as_me 0.9, which was
2298 generated by GNU Autoconf 2.69. Invocation command line was
2310 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2311 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2312 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2313 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2314 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2316 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2317 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2319 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2320 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2321 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2322 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2323 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2324 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2325 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2329 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2333 test -z "$as_dir" && as_dir
=.
2334 $as_echo "PATH: $as_dir"
2350 # Keep a trace of the command line.
2351 # Strip out --no-create and --no-recursion so they do not pile up.
2352 # Strip out --silent because we don't want to record it for future runs.
2353 # Also quote any args containing shell meta-characters.
2354 # Make two passes to allow for proper duplicate-argument suppression.
2358 ac_must_keep_next
=false
2364 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2365 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2366 | -silent | --silent | --silen | --sile | --sil)
2369 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2372 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2374 as_fn_append ac_configure_args1
" '$ac_arg'"
2375 if test $ac_must_keep_next = true
; then
2376 ac_must_keep_next
=false
# Got value, back to normal.
2379 *=* | --config-cache | -C | -disable-* | --disable-* \
2380 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2381 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2382 | -with-* | --with-* | -without-* | --without-* | --x)
2383 case "$ac_configure_args0 " in
2384 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2387 -* ) ac_must_keep_next
=true
;;
2390 as_fn_append ac_configure_args
" '$ac_arg'"
2395 { ac_configure_args0
=; unset ac_configure_args0
;}
2396 { ac_configure_args1
=; unset ac_configure_args1
;}
2398 # When interrupted or exit'd, cleanup temporary files, and complete
2399 # config.log. We remove comments because anyway the quotes in there
2400 # would cause problems or look ugly.
2401 # WARNING: Use '\'' to represent an apostrophe within the trap.
2402 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2403 trap 'exit_status=$?
2404 # Save into config.log some information that might help in debugging.
2408 $as_echo "## ---------------- ##
2409 ## Cache variables. ##
2410 ## ---------------- ##"
2412 # The following way of writing the cache mishandles newlines in values,
2414 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2415 eval ac_val=\$$ac_var
2419 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2420 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2423 _ | IFS | as_nl) ;; #(
2424 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2425 *) { eval $ac_var=; unset $ac_var;} ;;
2430 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2431 *${as_nl}ac_space=\ *)
2433 "s/'\''/'\''\\\\'\'''\''/g;
2434 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2437 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2444 $as_echo "## ----------------- ##
2445 ## Output variables. ##
2446 ## ----------------- ##"
2448 for ac_var in $ac_subst_vars
2450 eval ac_val=\$$ac_var
2452 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2454 $as_echo "$ac_var='\''$ac_val'\''"
2458 if test -n "$ac_subst_files"; then
2459 $as_echo "## ------------------- ##
2460 ## File substitutions. ##
2461 ## ------------------- ##"
2463 for ac_var
in $ac_subst_files
2465 eval ac_val
=\$
$ac_var
2467 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2469 $as_echo "$ac_var='\''$ac_val'\''"
2474 if test -s confdefs.h; then
2475 $as_echo "## ----------- ##
2482 test "$ac_signal" != 0 &&
2483 $as_echo "$as_me: caught signal $ac_signal"
2484 $as_echo "$as_me: exit $exit_status"
2486 rm -f core *.core core.conftest.* &&
2487 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2490 for ac_signal
in 1 2 13 15; do
2491 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2495 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2496 rm -f -r conftest
* confdefs.h
2498 $as_echo "/* confdefs.h */" > confdefs.h
2500 # Predefined preprocessor variables.
2502 cat >>confdefs.h
<<_ACEOF
2503 #define PACKAGE_NAME "$PACKAGE_NAME"
2506 cat >>confdefs.h
<<_ACEOF
2507 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2510 cat >>confdefs.h
<<_ACEOF
2511 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2514 cat >>confdefs.h
<<_ACEOF
2515 #define PACKAGE_STRING "$PACKAGE_STRING"
2518 cat >>confdefs.h
<<_ACEOF
2519 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2522 cat >>confdefs.h
<<_ACEOF
2523 #define PACKAGE_URL "$PACKAGE_URL"
2527 # Let the site file select an alternate cache file if it wants to.
2528 # Prefer an explicitly selected file to automatically selected ones.
2531 if test -n "$CONFIG_SITE"; then
2532 # We do not want a PATH search for config.site.
2533 case $CONFIG_SITE in #((
2534 -*) ac_site_file1
=.
/$CONFIG_SITE;;
2535 */*) ac_site_file1
=$CONFIG_SITE;;
2536 *) ac_site_file1
=.
/$CONFIG_SITE;;
2538 elif test "x$prefix" != xNONE
; then
2539 ac_site_file1
=$prefix/share
/config.site
2540 ac_site_file2
=$prefix/etc
/config.site
2542 ac_site_file1
=$ac_default_prefix/share
/config.site
2543 ac_site_file2
=$ac_default_prefix/etc
/config.site
2545 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2547 test "x$ac_site_file" = xNONE
&& continue
2548 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2549 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2550 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2551 sed 's/^/| /' "$ac_site_file" >&5
2553 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2554 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2555 as_fn_error $?
"failed to load site script $ac_site_file
2556 See \`config.log' for more details" "$LINENO" 5; }
2560 if test -r "$cache_file"; then
2561 # Some versions of bash will fail to source /dev/null (special files
2562 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2563 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2564 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2565 $as_echo "$as_me: loading cache $cache_file" >&6;}
2567 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2568 *) .
"./$cache_file";;
2572 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2573 $as_echo "$as_me: creating cache $cache_file" >&6;}
2577 # Check that the precious variables saved in the cache have kept the same
2579 ac_cache_corrupted
=false
2580 for ac_var
in $ac_precious_vars; do
2581 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2582 eval ac_new_set
=\
$ac_env_${ac_var}_set
2583 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2584 eval ac_new_val
=\
$ac_env_${ac_var}_value
2585 case $ac_old_set,$ac_new_set in
2587 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2588 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2589 ac_cache_corrupted
=: ;;
2591 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2592 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2593 ac_cache_corrupted
=: ;;
2596 if test "x$ac_old_val" != "x$ac_new_val"; then
2597 # differences in whitespace do not lead to failure.
2598 ac_old_val_w
=`echo x $ac_old_val`
2599 ac_new_val_w
=`echo x $ac_new_val`
2600 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2601 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2602 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2603 ac_cache_corrupted
=:
2605 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2606 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2607 eval $ac_var=\
$ac_old_val
2609 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2610 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2611 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2612 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2615 # Pass precious variables to config.status.
2616 if test "$ac_new_set" = set; then
2618 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2619 *) ac_arg
=$ac_var=$ac_new_val ;;
2621 case " $ac_configure_args " in
2622 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2623 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2627 if $ac_cache_corrupted; then
2628 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2629 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2630 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2631 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2632 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2634 ## -------------------- ##
2635 ## Main body of script. ##
2636 ## -------------------- ##
2639 ac_cpp
='$CPP $CPPFLAGS'
2640 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2641 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2642 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2649 for ac_dir
in .
"$srcdir"/.
; do
2650 if test -f "$ac_dir/install-sh"; then
2652 ac_install_sh
="$ac_aux_dir/install-sh -c"
2654 elif test -f "$ac_dir/install.sh"; then
2656 ac_install_sh
="$ac_aux_dir/install.sh -c"
2658 elif test -f "$ac_dir/shtool"; then
2660 ac_install_sh
="$ac_aux_dir/shtool install -c"
2664 if test -z "$ac_aux_dir"; then
2665 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in . \"$srcdir\"/." "$LINENO" 5
2668 # These three variables are undocumented and unsupported,
2669 # and are intended to be withdrawn in a future Autoconf release.
2670 # They can cause serious problems if a builder's source tree is in a directory
2671 # whose full name contains unusual characters.
2672 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2673 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2674 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2678 ac_config_headers
="$ac_config_headers config.h"
2681 am__api_version
='1.15'
2683 # Find a good install program. We prefer a C program (faster),
2684 # so one script is as good as another. But avoid the broken or
2685 # incompatible versions:
2686 # SysV /etc/install, /usr/sbin/install
2687 # SunOS /usr/etc/install
2688 # IRIX /sbin/install
2690 # AmigaOS /C/install, which installs bootblocks on floppy discs
2691 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2692 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2693 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2694 # OS/2's system install, which has a completely different semantic
2695 # ./install, which can be erroneously created by make from ./install.sh.
2696 # Reject install programs that cannot install multiple files.
2697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2698 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2699 if test -z "$INSTALL"; then
2700 if ${ac_cv_path_install+:} false
; then :
2701 $as_echo_n "(cached) " >&6
2703 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2707 test -z "$as_dir" && as_dir
=.
2708 # Account for people who put trailing slashes in PATH elements.
2709 case $as_dir/ in #((
2710 .
/ | .
// | /[cC
]/* | \
2711 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
2712 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
2715 # OSF1 and SCO ODT 3.0 have their own names for install.
2716 # Don't use installbsd from OSF since it installs stuff as root
2718 for ac_prog
in ginstall scoinst
install; do
2719 for ac_exec_ext
in '' $ac_executable_extensions; do
2720 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
2721 if test $ac_prog = install &&
2722 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2723 # AIX install. It has an incompatible calling convention.
2725 elif test $ac_prog = install &&
2726 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2727 # program-specific install script used by HP pwplus--don't use.
2730 rm -rf conftest.one conftest.two conftest.dir
2731 echo one
> conftest.one
2732 echo two
> conftest.two
2734 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2735 test -s conftest.one
&& test -s conftest.two
&&
2736 test -s conftest.dir
/conftest.one
&&
2737 test -s conftest.dir
/conftest.two
2739 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2752 rm -rf conftest.one conftest.two conftest.dir
2755 if test "${ac_cv_path_install+set}" = set; then
2756 INSTALL
=$ac_cv_path_install
2758 # As a last resort, use the slow shell script. Don't cache a
2759 # value for INSTALL within a source directory, because that will
2760 # break other packages using the cache if that directory is
2761 # removed, or if the value is a relative name.
2762 INSTALL
=$ac_install_sh
2765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2766 $as_echo "$INSTALL" >&6; }
2768 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2769 # It thinks the first close brace ends the variable substitution.
2770 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2772 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2774 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2777 $as_echo_n "checking whether build environment is sane... " >&6; }
2778 # Reject unsafe characters in $srcdir or the absolute working directory
2779 # name. Accept space and tab only in the latter.
2783 *[\\\"\#\$\&\'\`$am_lf]*)
2784 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5;;
2787 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2788 as_fn_error $?
"unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2791 # Do 'set' in a subshell so we don't clobber the current shell's
2792 # arguments. Must try -L first in case configure is actually a
2793 # symlink; some systems play weird games with the mod time of symlinks
2794 # (eg FreeBSD returns the mod time of the symlink's containing
2798 for am_try
in 1 2; do
2799 echo "timestamp, slept: $am_has_slept" > conftest.
file
2800 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2801 if test "$*" = "X"; then
2803 set X
`ls -t "$srcdir/configure" conftest.file`
2805 if test "$*" != "X $srcdir/configure conftest.file" \
2806 && test "$*" != "X conftest.file $srcdir/configure"; then
2808 # If neither matched, then we have a broken ls. This can happen
2809 # if, for instance, CONFIG_SHELL is bash and it inherits a
2810 # broken ls alias from the environment. This has actually
2811 # happened. Such a system could not be considered "sane".
2812 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
2813 alias in your environment" "$LINENO" 5
2815 if test "$2" = conftest.
file || test $am_try -eq 2; then
2822 test "$2" = conftest.
file
2828 as_fn_error $?
"newly created file is older than distributed files!
2829 Check your system clock" "$LINENO" 5
2831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2832 $as_echo "yes" >&6; }
2833 # If we didn't sleep, we still need to ensure time stamps of config.status and
2834 # generated files are strictly newer.
2836 if grep 'slept: no' conftest.
file >/dev
/null
2>&1; then
2843 test "$program_prefix" != NONE
&&
2844 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2845 # Use a double $ so make ignores it.
2846 test "$program_suffix" != NONE
&&
2847 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2848 # Double any \ or $.
2849 # By default was `s,x,x', remove it if useless.
2850 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2851 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2853 # Expand $ac_aux_dir to an absolute path.
2854 am_aux_dir
=`cd "$ac_aux_dir" && pwd`
2856 if test x
"${MISSING+set}" != xset
; then
2859 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2861 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2864 # Use eval to expand $SHELL
2865 if eval "$MISSING --is-lightweight"; then
2866 am_missing_run
="$MISSING "
2869 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2870 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2873 if test x
"${install_sh+set}" != xset
; then
2876 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2878 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2882 # Installed binaries are usually stripped using 'strip' when the user
2883 # run "make install-strip". However 'strip' might not be the right
2884 # tool to use in cross-compilation environments, therefore Automake
2885 # will honor the 'STRIP' environment variable to overrule this program.
2886 if test "$cross_compiling" != no
; then
2887 if test -n "$ac_tool_prefix"; then
2888 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2889 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2891 $as_echo_n "checking for $ac_word... " >&6; }
2892 if ${ac_cv_prog_STRIP+:} false
; then :
2893 $as_echo_n "(cached) " >&6
2895 if test -n "$STRIP"; then
2896 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2898 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2902 test -z "$as_dir" && as_dir
=.
2903 for ac_exec_ext
in '' $ac_executable_extensions; do
2904 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2905 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2906 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2915 STRIP
=$ac_cv_prog_STRIP
2916 if test -n "$STRIP"; then
2917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2918 $as_echo "$STRIP" >&6; }
2920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2921 $as_echo "no" >&6; }
2926 if test -z "$ac_cv_prog_STRIP"; then
2928 # Extract the first word of "strip", so it can be a program name with args.
2929 set dummy strip
; ac_word
=$2
2930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2931 $as_echo_n "checking for $ac_word... " >&6; }
2932 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
2933 $as_echo_n "(cached) " >&6
2935 if test -n "$ac_ct_STRIP"; then
2936 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2938 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2942 test -z "$as_dir" && as_dir
=.
2943 for ac_exec_ext
in '' $ac_executable_extensions; do
2944 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2945 ac_cv_prog_ac_ct_STRIP
="strip"
2946 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2955 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2956 if test -n "$ac_ct_STRIP"; then
2957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2958 $as_echo "$ac_ct_STRIP" >&6; }
2960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2961 $as_echo "no" >&6; }
2964 if test "x$ac_ct_STRIP" = x
; then
2967 case $cross_compiling:$ac_tool_warned in
2969 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2970 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2971 ac_tool_warned
=yes ;;
2976 STRIP
="$ac_cv_prog_STRIP"
2980 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2983 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2984 if test -z "$MKDIR_P"; then
2985 if ${ac_cv_path_mkdir+:} false
; then :
2986 $as_echo_n "(cached) " >&6
2988 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2989 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2992 test -z "$as_dir" && as_dir
=.
2993 for ac_prog
in mkdir gmkdir
; do
2994 for ac_exec_ext
in '' $ac_executable_extensions; do
2995 as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext" || continue
2996 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2997 'mkdir (GNU coreutils) '* | \
2998 'mkdir (coreutils) '* | \
2999 'mkdir (fileutils) '4.1*)
3000 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
3010 test -d .
/--version && rmdir .
/--version
3011 if test "${ac_cv_path_mkdir+set}" = set; then
3012 MKDIR_P
="$ac_cv_path_mkdir -p"
3014 # As a last resort, use the slow shell script. Don't cache a
3015 # value for MKDIR_P within a source directory, because that will
3016 # break other packages using the cache if that directory is
3017 # removed, or if the value is a relative name.
3018 MKDIR_P
="$ac_install_sh -d"
3021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3022 $as_echo "$MKDIR_P" >&6; }
3024 for ac_prog
in gawk mawk nawk
awk
3026 # Extract the first word of "$ac_prog", so it can be a program name with args.
3027 set dummy
$ac_prog; ac_word
=$2
3028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3029 $as_echo_n "checking for $ac_word... " >&6; }
3030 if ${ac_cv_prog_AWK+:} false
; then :
3031 $as_echo_n "(cached) " >&6
3033 if test -n "$AWK"; then
3034 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
3036 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3040 test -z "$as_dir" && as_dir
=.
3041 for ac_exec_ext
in '' $ac_executable_extensions; do
3042 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3043 ac_cv_prog_AWK
="$ac_prog"
3044 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3054 if test -n "$AWK"; then
3055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3056 $as_echo "$AWK" >&6; }
3058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3059 $as_echo "no" >&6; }
3063 test -n "$AWK" && break
3066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3067 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3069 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3070 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
3071 $as_echo_n "(cached) " >&6
3073 cat >conftest.
make <<\_ACEOF
3076 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3078 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3079 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3081 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3083 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3087 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3089 $as_echo "yes" >&6; }
3092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3093 $as_echo "no" >&6; }
3094 SET_MAKE
="MAKE=${MAKE-make}"
3097 rm -rf .tst
2>/dev
/null
3098 mkdir .tst
2>/dev
/null
3099 if test -d .tst
; then
3104 rmdir .tst
2>/dev
/null
3106 # Check whether --enable-silent-rules was given.
3107 if test "${enable_silent_rules+set}" = set; then :
3108 enableval
=$enable_silent_rules;
3111 case $enable_silent_rules in # (((
3112 yes) AM_DEFAULT_VERBOSITY
=0;;
3113 no
) AM_DEFAULT_VERBOSITY
=1;;
3114 *) AM_DEFAULT_VERBOSITY
=1;;
3116 am_make
=${MAKE-make}
3117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3118 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3119 if ${am_cv_make_support_nested_variables+:} false
; then :
3120 $as_echo_n "(cached) " >&6
3122 if $as_echo 'TRUE=$(BAR$(V))
3128 .PHONY: am__doit' | $am_make -f - >/dev
/null
2>&1; then
3129 am_cv_make_support_nested_variables
=yes
3131 am_cv_make_support_nested_variables
=no
3134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3135 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3136 if test $am_cv_make_support_nested_variables = yes; then
3138 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
3140 AM_V
=$AM_DEFAULT_VERBOSITY
3141 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
3145 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3146 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3147 # is not polluted with repeated "-I."
3148 am__isrc
=' -I$(srcdir)'
3149 # test to see if srcdir already configured
3150 if test -f $srcdir/config.status
; then
3151 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3155 # test whether we have cygpath
3156 if test -z "$CYGPATH_W"; then
3157 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
3158 CYGPATH_W
='cygpath -w'
3165 # Define the identity of the package.
3170 cat >>confdefs.h
<<_ACEOF
3171 #define PACKAGE "$PACKAGE"
3175 cat >>confdefs.h
<<_ACEOF
3176 #define VERSION "$VERSION"
3179 # Some tools Automake needs.
3181 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3184 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3187 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3190 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
3193 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
3195 # For better backward compatibility. To be removed once Automake 1.9.x
3196 # dies out for good. For more background, see:
3197 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3198 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3199 mkdir_p
='$(MKDIR_P)'
3201 # We need awk for the "check" target (and possibly the TAP driver). The
3202 # system "awk" is bad on some platforms.
3203 # Always define AMTAR for backward compatibility. Yes, it's still used
3204 # in the wild :-( We should find a proper way to deprecate it ...
3208 # We'll loop over all known methods to create a tar archive until one works.
3209 _am_tools
='gnutar pax cpio none'
3211 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
3218 # POSIX will say in a future version that running "rm -f" with no argument
3219 # is OK; and we want to be able to make that assumption in our Makefile
3220 # recipes. So use an aggressive probe to check that the usage we want is
3221 # actually supported "in the wild" to an acceptable degree.
3222 # See automake bug#10828.
3223 # To make any issue more visible, cause the running configure to be aborted
3224 # by default if the 'rm' program in use doesn't match our expectations; the
3225 # user can still override this though.
3226 if rm -f && rm -fr && rm -rf; then : OK
; else
3230 Your 'rm' program seems unable to run without file operands specified
3231 on the command line, even when the '-f' option is present. This is contrary
3232 to the behaviour of most rm programs out there, and not conforming with
3233 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3235 Please tell bug-automake@gnu.org about your system, including the value
3236 of your $PATH and any error possibly output before this message. This
3237 can help us improve future automake versions.
3240 if test x
"$ACCEPT_INFERIOR_RM_PROGRAM" = x
"yes"; then
3241 echo 'Configuration will proceed anyway, since you have set the' >&2
3242 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3246 Aborting the configuration process, to ensure you take notice of the issue.
3248 You can download and install GNU coreutils to get an 'rm' implementation
3249 that behaves properly: <http://www.gnu.org/software/coreutils/>.
3251 If you want to complete the configuration process using your problematic
3252 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3253 to "yes", and re-run configure.
3256 as_fn_error $?
"Your 'rm' program is bad, sorry." "$LINENO" 5
3261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3262 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3263 # Check whether --enable-maintainer-mode was given.
3264 if test "${enable_maintainer_mode+set}" = set; then :
3265 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
3267 USE_MAINTAINER_MODE
=no
3270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3271 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3272 if test $USE_MAINTAINER_MODE = yes; then
3273 MAINTAINER_MODE_TRUE
=
3274 MAINTAINER_MODE_FALSE
='#'
3276 MAINTAINER_MODE_TRUE
='#'
3277 MAINTAINER_MODE_FALSE
=
3280 MAINT
=$MAINTAINER_MODE_TRUE
3285 ac_cpp
='$CPP $CPPFLAGS'
3286 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3287 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3288 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3289 if test -n "$ac_tool_prefix"; then
3290 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3291 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3293 $as_echo_n "checking for $ac_word... " >&6; }
3294 if ${ac_cv_prog_CC+:} false
; then :
3295 $as_echo_n "(cached) " >&6
3297 if test -n "$CC"; then
3298 ac_cv_prog_CC
="$CC" # Let the user override the test.
3300 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3304 test -z "$as_dir" && as_dir
=.
3305 for ac_exec_ext
in '' $ac_executable_extensions; do
3306 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3307 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3308 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3318 if test -n "$CC"; then
3319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3320 $as_echo "$CC" >&6; }
3322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3323 $as_echo "no" >&6; }
3328 if test -z "$ac_cv_prog_CC"; then
3330 # Extract the first word of "gcc", so it can be a program name with args.
3331 set dummy gcc
; ac_word
=$2
3332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3333 $as_echo_n "checking for $ac_word... " >&6; }
3334 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3335 $as_echo_n "(cached) " >&6
3337 if test -n "$ac_ct_CC"; then
3338 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3340 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3344 test -z "$as_dir" && as_dir
=.
3345 for ac_exec_ext
in '' $ac_executable_extensions; do
3346 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3347 ac_cv_prog_ac_ct_CC
="gcc"
3348 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3357 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3358 if test -n "$ac_ct_CC"; then
3359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3360 $as_echo "$ac_ct_CC" >&6; }
3362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3363 $as_echo "no" >&6; }
3366 if test "x$ac_ct_CC" = x
; then
3369 case $cross_compiling:$ac_tool_warned in
3371 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3372 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3373 ac_tool_warned
=yes ;;
3381 if test -z "$CC"; then
3382 if test -n "$ac_tool_prefix"; then
3383 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3384 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3386 $as_echo_n "checking for $ac_word... " >&6; }
3387 if ${ac_cv_prog_CC+:} false
; then :
3388 $as_echo_n "(cached) " >&6
3390 if test -n "$CC"; then
3391 ac_cv_prog_CC
="$CC" # Let the user override the test.
3393 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3397 test -z "$as_dir" && as_dir
=.
3398 for ac_exec_ext
in '' $ac_executable_extensions; do
3399 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3400 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3401 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3411 if test -n "$CC"; then
3412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3413 $as_echo "$CC" >&6; }
3415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3416 $as_echo "no" >&6; }
3422 if test -z "$CC"; then
3423 # Extract the first word of "cc", so it can be a program name with args.
3424 set dummy cc
; ac_word
=$2
3425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3426 $as_echo_n "checking for $ac_word... " >&6; }
3427 if ${ac_cv_prog_CC+:} false
; then :
3428 $as_echo_n "(cached) " >&6
3430 if test -n "$CC"; then
3431 ac_cv_prog_CC
="$CC" # Let the user override the test.
3434 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3438 test -z "$as_dir" && as_dir
=.
3439 for ac_exec_ext
in '' $ac_executable_extensions; do
3440 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3441 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3442 ac_prog_rejected
=yes
3446 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3453 if test $ac_prog_rejected = yes; then
3454 # We found a bogon in the path, so make sure we never use it.
3455 set dummy
$ac_cv_prog_CC
3457 if test $# != 0; then
3458 # We chose a different compiler from the bogus one.
3459 # However, it has the same basename, so the bogon will be chosen
3460 # first if we set CC to just the basename; use the full file name.
3462 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3468 if test -n "$CC"; then
3469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3470 $as_echo "$CC" >&6; }
3472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3473 $as_echo "no" >&6; }
3478 if test -z "$CC"; then
3479 if test -n "$ac_tool_prefix"; then
3480 for ac_prog
in cl.exe
3482 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3483 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3485 $as_echo_n "checking for $ac_word... " >&6; }
3486 if ${ac_cv_prog_CC+:} false
; then :
3487 $as_echo_n "(cached) " >&6
3489 if test -n "$CC"; then
3490 ac_cv_prog_CC
="$CC" # Let the user override the test.
3492 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3496 test -z "$as_dir" && as_dir
=.
3497 for ac_exec_ext
in '' $ac_executable_extensions; do
3498 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3499 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3500 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3510 if test -n "$CC"; then
3511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3512 $as_echo "$CC" >&6; }
3514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3515 $as_echo "no" >&6; }
3519 test -n "$CC" && break
3522 if test -z "$CC"; then
3524 for ac_prog
in cl.exe
3526 # Extract the first word of "$ac_prog", so it can be a program name with args.
3527 set dummy
$ac_prog; ac_word
=$2
3528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3529 $as_echo_n "checking for $ac_word... " >&6; }
3530 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3531 $as_echo_n "(cached) " >&6
3533 if test -n "$ac_ct_CC"; then
3534 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3536 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3540 test -z "$as_dir" && as_dir
=.
3541 for ac_exec_ext
in '' $ac_executable_extensions; do
3542 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3543 ac_cv_prog_ac_ct_CC
="$ac_prog"
3544 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3553 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3554 if test -n "$ac_ct_CC"; then
3555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3556 $as_echo "$ac_ct_CC" >&6; }
3558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3559 $as_echo "no" >&6; }
3563 test -n "$ac_ct_CC" && break
3566 if test "x$ac_ct_CC" = x
; then
3569 case $cross_compiling:$ac_tool_warned in
3571 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3572 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3573 ac_tool_warned
=yes ;;
3582 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3583 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3584 as_fn_error $?
"no acceptable C compiler found in \$PATH
3585 See \`config.log' for more details" "$LINENO" 5; }
3587 # Provide some information about the compiler.
3588 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3591 for ac_option
in --version -v -V -qversion; do
3592 { { ac_try
="$ac_compiler $ac_option >&5"
3594 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3595 *) ac_try_echo=$ac_try;;
3597 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3598 $as_echo "$ac_try_echo"; } >&5
3599 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3601 if test -s conftest.err; then
3603 ... rest of stderr output deleted ...
3604 10q' conftest.err >conftest.er1
3605 cat conftest.er1 >&5
3607 rm -f conftest.er1 conftest.err
3608 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3609 test $ac_status = 0; }
3612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3613 /* end confdefs.h. */
3623 ac_clean_files_save=$ac_clean_files
3624 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3625 # Try to create an executable without -o first, disregard a.out.
3626 # It will help us diagnose broken compilers, and finding out an intuition
3628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3629 $as_echo_n "checking whether the C compiler works... " >&6; }
3630 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3632 # The possible output files:
3633 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3636 for ac_file in $ac_files
3639 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3640 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3645 if { { ac_try="$ac_link_default"
3647 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
3648 *) ac_try_echo
=$ac_try;;
3650 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3651 $as_echo "$ac_try_echo"; } >&5
3652 (eval "$ac_link_default") 2>&5
3654 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3655 test $ac_status = 0; }; then :
3656 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3657 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3658 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3659 # so that the user can short-circuit this test for compilers unknown to
3661 for ac_file
in $ac_files ''
3663 test -f "$ac_file" || continue
3665 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.dSYM
| *.o
| *.obj
)
3668 # We found the default executable, but exeext='' is most
3672 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3674 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3676 # We set ac_cv_exeext here because the later test for it is not
3677 # safe: cross compilers may not add the suffix if given an `-o'
3678 # argument, so we may need to know it at that point already.
3679 # Even if this section looks crufty: it has the advantage of
3686 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3691 if test -z "$ac_file"; then :
3692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3693 $as_echo "no" >&6; }
3694 $as_echo "$as_me: failed program was:" >&5
3695 sed 's/^/| /' conftest.
$ac_ext >&5
3697 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3698 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3699 as_fn_error
77 "C compiler cannot create executables
3700 See \`config.log' for more details" "$LINENO" 5; }
3702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3703 $as_echo "yes" >&6; }
3705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3706 $as_echo_n "checking for C compiler default output file name... " >&6; }
3707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3708 $as_echo "$ac_file" >&6; }
3709 ac_exeext
=$ac_cv_exeext
3711 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3712 ac_clean_files
=$ac_clean_files_save
3713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3714 $as_echo_n "checking for suffix of executables... " >&6; }
3715 if { { ac_try
="$ac_link"
3717 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3718 *) ac_try_echo=$ac_try;;
3720 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3721 $as_echo "$ac_try_echo"; } >&5
3722 (eval "$ac_link") 2>&5
3724 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3725 test $ac_status = 0; }; then :
3726 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3727 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3728 # work properly (i.e., refer to `conftest.exe'), while it won't with
3730 for ac_file
in conftest.exe conftest conftest.
*; do
3731 test -f "$ac_file" || continue
3733 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.dSYM
| *.o
| *.obj
) ;;
3734 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3740 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3741 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3742 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3743 See \`config.log' for more details" "$LINENO" 5; }
3745 rm -f conftest conftest
$ac_cv_exeext
3746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3747 $as_echo "$ac_cv_exeext" >&6; }
3749 rm -f conftest.
$ac_ext
3750 EXEEXT
=$ac_cv_exeext
3752 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3753 /* end confdefs.h. */
3758 FILE *f = fopen ("conftest.out", "w");
3759 return ferror (f) || fclose (f) != 0;
3765 ac_clean_files
="$ac_clean_files conftest.out"
3766 # Check that the compiler produces executables we can run. If not, either
3767 # the compiler is broken, or we cross compile.
3768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3769 $as_echo_n "checking whether we are cross compiling... " >&6; }
3770 if test "$cross_compiling" != yes; then
3771 { { ac_try
="$ac_link"
3773 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3774 *) ac_try_echo=$ac_try;;
3776 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3777 $as_echo "$ac_try_echo"; } >&5
3778 (eval "$ac_link") 2>&5
3780 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3781 test $ac_status = 0; }
3782 if { ac_try='./conftest$ac_cv_exeext'
3783 { { case "(($ac_try" in
3784 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
3785 *) ac_try_echo
=$ac_try;;
3787 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3788 $as_echo "$ac_try_echo"; } >&5
3789 (eval "$ac_try") 2>&5
3791 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3792 test $ac_status = 0; }; }; then
3795 if test "$cross_compiling" = maybe
; then
3798 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3799 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3800 as_fn_error $?
"cannot run C compiled programs.
3801 If you meant to cross compile, use \`--host'.
3802 See \`config.log' for more details" "$LINENO" 5; }
3806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3807 $as_echo "$cross_compiling" >&6; }
3809 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3810 ac_clean_files
=$ac_clean_files_save
3811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3812 $as_echo_n "checking for suffix of object files... " >&6; }
3813 if ${ac_cv_objext+:} false
; then :
3814 $as_echo_n "(cached) " >&6
3816 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3817 /* end confdefs.h. */
3827 rm -f conftest.o conftest.obj
3828 if { { ac_try
="$ac_compile"
3830 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3831 *) ac_try_echo=$ac_try;;
3833 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3834 $as_echo "$ac_try_echo"; } >&5
3835 (eval "$ac_compile") 2>&5
3837 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3838 test $ac_status = 0; }; then :
3839 for ac_file in conftest.o conftest.obj conftest.*; do
3840 test -f "$ac_file" || continue;
3842 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3843 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3848 $as_echo "$as_me: failed program was:" >&5
3849 sed 's/^/| /' conftest.$ac_ext >&5
3851 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3852 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3853 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3854 See \
`config.log' for more details" "$LINENO" 5; }
3856 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3859 $as_echo "$ac_cv_objext" >&6; }
3860 OBJEXT=$ac_cv_objext
3862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3863 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3864 if ${ac_cv_c_compiler_gnu+:} false; then :
3865 $as_echo_n "(cached) " >&6
3867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3868 /* end confdefs.h. */
3881 if ac_fn_c_try_compile "$LINENO"; then :
3886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3887 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3891 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3892 if test $ac_compiler_gnu = yes; then
3897 ac_test_CFLAGS=${CFLAGS+set}
3898 ac_save_CFLAGS=$CFLAGS
3899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3900 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3901 if ${ac_cv_prog_cc_g+:} false; then :
3902 $as_echo_n "(cached) " >&6
3904 ac_save_c_werror_flag=$ac_c_werror_flag
3905 ac_c_werror_flag=yes
3908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3909 /* end confdefs.h. */
3919 if ac_fn_c_try_compile "$LINENO"; then :
3923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3924 /* end confdefs.h. */
3934 if ac_fn_c_try_compile "$LINENO"; then :
3937 ac_c_werror_flag=$ac_save_c_werror_flag
3939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3940 /* end confdefs.h. */
3950 if ac_fn_c_try_compile "$LINENO"; then :
3953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3958 ac_c_werror_flag=$ac_save_c_werror_flag
3960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3961 $as_echo "$ac_cv_prog_cc_g" >&6; }
3962 if test "$ac_test_CFLAGS" = set; then
3963 CFLAGS=$ac_save_CFLAGS
3964 elif test $ac_cv_prog_cc_g = yes; then
3965 if test "$GCC" = yes; then
3971 if test "$GCC" = yes; then
3977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3978 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3979 if ${ac_cv_prog_cc_c89+:} false; then :
3980 $as_echo_n "(cached) " >&6
3982 ac_cv_prog_cc_c89=no
3984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3985 /* end confdefs.h. */
3989 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3990 struct buf { int x; };
3991 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3992 static char *e (p, i)
3998 static char *f (char * (*g) (char **, int), char **p, ...)
4003 s = g (p, va_arg (v,int));
4008 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4009 function prototypes and stuff, but not '\xHH' hex character constants.
4010 These don't provoke an error unfortunately, instead are silently treated
4011 as 'x'. The following induces an error, until -std is added to get
4012 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4013 array size at least. It's necessary to write '\x00'==0 to get something
4014 that's true only with -std. */
4015 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4017 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4018 inside strings and character constants. */
4020 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4022 int test (int i, double x);
4023 struct s1 {int (*f) (int a);};
4024 struct s2 {int (*f) (double a);};
4025 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4031 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4036 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4037 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4039 CC="$ac_save_CC $ac_arg"
4040 if ac_fn_c_try_compile "$LINENO"; then :
4041 ac_cv_prog_cc_c89=$ac_arg
4043 rm -f core conftest.err conftest.$ac_objext
4044 test "x$ac_cv_prog_cc_c89" != "xno" && break
4046 rm -f conftest.$ac_ext
4051 case "x$ac_cv_prog_cc_c89" in
4053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4054 $as_echo "none needed" >&6; } ;;
4056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4057 $as_echo "unsupported" >&6; } ;;
4059 CC="$CC $ac_cv_prog_cc_c89"
4060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4061 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4063 if test "x$ac_cv_prog_cc_c89" != xno; then :
4068 ac_cpp='$CPP $CPPFLAGS'
4069 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4070 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4071 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4074 ac_cpp='$CPP $CPPFLAGS'
4075 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4076 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4077 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4079 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4080 if ${am_cv_prog_cc_c_o+:} false; then :
4081 $as_echo_n "(cached) " >&6
4083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4084 /* end confdefs.h. */
4094 # Make sure it works both with $CC and with simple cc.
4095 # Following AC_PROG_CC_C_O, we do the test twice because some
4096 # compilers refuse to overwrite an existing .o file with -o,
4097 # though they will create one.
4098 am_cv_prog_cc_c_o=yes
4100 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4101 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4104 (exit $ac_status); } \
4105 && test -f conftest2.$ac_objext; then
4108 am_cv_prog_cc_c_o=no
4112 rm -f core conftest*
4115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4116 $as_echo "$am_cv_prog_cc_c_o" >&6; }
4117 if test "$am_cv_prog_cc_c_o" != yes; then
4118 # Losing compiler, so override with the script.
4119 # FIXME: It is wrong to rewrite CC.
4120 # But if we don't then we get into trouble of one sort or another.
4121 # A longer-term fix would be to have automake use am__CC in this case,
4122 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4123 CC="$am_aux_dir/compile $CC"
4126 ac_cpp='$CPP $CPPFLAGS'
4127 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4128 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4129 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4131 DEPDIR="${am__leading_dot}deps"
4133 ac_config_commands="$ac_config_commands depfiles"
4136 am_make=${MAKE-make}
4137 cat > confinc << 'END'
4139 @echo this is the am__doit target
4142 # If we don't find an include directive, just comment out the code.
4143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4144 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4148 # First try GNU make style include.
4149 echo "include confinc" > confmf
4150 # Ignore all kinds of additional output from 'make'.
4151 case `$am_make -s -f confmf
2> /dev
/null
` in #(
4152 *the\ am__doit\ target*)
4158 # Now try BSD make style include.
4159 if test "$am__include" = "#"; then
4160 echo '.include "confinc"' > confmf
4161 case `$am_make -s -f confmf
2> /dev
/null
` in #(
4162 *the\ am__doit\ target*)
4163 am__include=.include
4171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4172 $as_echo "$_am_result" >&6; }
4173 rm -f confinc confmf
4175 # Check whether --enable-dependency-tracking was given.
4176 if test "${enable_dependency_tracking+set}" = set; then :
4177 enableval=$enable_dependency_tracking;
4180 if test "x$enable_dependency_tracking" != xno; then
4181 am_depcomp="$ac_aux_dir/depcomp"
4185 if test "x$enable_dependency_tracking" != xno; then
4195 depcc="$CC" am_compiler_list=
4197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4198 $as_echo_n "checking dependency style of $depcc... " >&6; }
4199 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4200 $as_echo_n "(cached) " >&6
4202 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4203 # We make a subdir and do the tests there. Otherwise we can end up
4204 # making bogus files that we don't know about and never remove. For
4205 # instance it was reported that on HP-UX the gcc test will end up
4206 # making a dummy file named 'D' -- because '-MD' means "put the output
4210 # Copy depcomp to subdir because otherwise we won't find it if we're
4211 # using a relative directory.
4212 cp "$am_depcomp" conftest.dir
4214 # We will build objects and dependencies in a subdirectory because
4215 # it helps to detect inapplicable dependency modes. For instance
4216 # both Tru64's cc and ICC support -MD to output dependencies as a
4217 # side effect of compilation, but ICC will put the dependencies in
4218 # the current directory while Tru64 will put them in the object
4222 am_cv_CC_dependencies_compiler_type=none
4223 if test "$am_compiler_list" = ""; then
4224 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
4227 case " $depcc " in #(
4228 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4231 for depmode in $am_compiler_list; do
4232 # Setup a source with many dependencies, because some compilers
4233 # like to wrap large dependency lists on column 80 (with \), and
4234 # we should not choose a depcomp mode which is confused by this.
4236 # We need to recreate these files for each test, as the compiler may
4237 # overwrite some of them when testing with obscure command lines.
4238 # This happens at least with the AIX C compiler.
4240 for i in 1 2 3 4 5 6; do
4241 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4242 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4243 # Solaris 10 /bin/sh.
4244 echo '/* dummy */' > sub/conftst$i.h
4246 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4248 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4249 # mode. It turns out that the SunPro C++ compiler does not properly
4250 # handle '-M -o', and we need to detect this. Also, some Intel
4251 # versions had trouble with output in subdirs.
4252 am__obj=sub/conftest.${OBJEXT-o}
4253 am__minus_obj="-o $am__obj"
4256 # This depmode causes a compiler race in universal mode.
4257 test "$am__universal" = false || continue
4260 # After this tag, mechanisms are not by side-effect, so they'll
4261 # only be used when explicitly requested.
4262 if test "x$enable_dependency_tracking" = xyes; then
4268 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4269 # This compiler won't grok '-c -o', but also, the minuso test has
4270 # not run yet. These depmodes are late enough in the game, and
4271 # so weak that their functioning should not be impacted.
4272 am__obj=conftest.${OBJEXT-o}
4277 if depmode=$depmode \
4278 source=sub/conftest.c object=$am__obj \
4279 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4280 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4281 >/dev/null 2>conftest.err &&
4282 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4283 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4284 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4285 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4286 # icc doesn't choke on unknown options, it will just issue warnings
4287 # or remarks (even with -Werror). So we grep stderr for any message
4288 # that says an option was ignored or not supported.
4289 # When given -MP, icc 7.0 and 7.1 complain thusly:
4290 # icc: Command line warning: ignoring option '-M'; no argument required
4291 # The diagnosis changed in icc 8.0:
4292 # icc: Command line remark: option '-MP' not supported
4293 if (grep 'ignoring option' conftest.err ||
4294 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4295 am_cv_CC_dependencies_compiler_type=$depmode
4304 am_cv_CC_dependencies_compiler_type=none
4308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4309 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4310 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4313 test "x$enable_dependency_tracking" != xno \
4314 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4316 am__fastdepCC_FALSE='#'
4318 am__fastdepCC_TRUE='#'
4319 am__fastdepCC_FALSE=
4324 ac_cpp='$CXXCPP $CPPFLAGS'
4325 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4326 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4327 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4328 if test -z "$CXX"; then
4329 if test -n "$CCC"; then
4332 if test -n "$ac_tool_prefix"; then
4333 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4335 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4336 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4338 $as_echo_n "checking for $ac_word... " >&6; }
4339 if ${ac_cv_prog_CXX+:} false; then :
4340 $as_echo_n "(cached) " >&6
4342 if test -n "$CXX"; then
4343 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4345 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4349 test -z "$as_dir" && as_dir=.
4350 for ac_exec_ext in '' $ac_executable_extensions; do
4351 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4352 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4353 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4363 if test -n "$CXX"; then
4364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4365 $as_echo "$CXX" >&6; }
4367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4368 $as_echo "no" >&6; }
4372 test -n "$CXX" && break
4375 if test -z "$CXX"; then
4377 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4379 # Extract the first word of "$ac_prog", so it can be a program name with args.
4380 set dummy $ac_prog; ac_word=$2
4381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4382 $as_echo_n "checking for $ac_word... " >&6; }
4383 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4384 $as_echo_n "(cached) " >&6
4386 if test -n "$ac_ct_CXX"; then
4387 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4389 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4393 test -z "$as_dir" && as_dir=.
4394 for ac_exec_ext in '' $ac_executable_extensions; do
4395 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4396 ac_cv_prog_ac_ct_CXX="$ac_prog"
4397 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4406 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4407 if test -n "$ac_ct_CXX"; then
4408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4409 $as_echo "$ac_ct_CXX" >&6; }
4411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4412 $as_echo "no" >&6; }
4416 test -n "$ac_ct_CXX" && break
4419 if test "x$ac_ct_CXX" = x; then
4422 case $cross_compiling:$ac_tool_warned in
4424 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4425 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4426 ac_tool_warned=yes ;;
4434 # Provide some information about the compiler.
4435 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4438 for ac_option in --version -v -V -qversion; do
4439 { { ac_try="$ac_compiler $ac_option >&5"
4441 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
4442 *) ac_try_echo
=$ac_try;;
4444 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4445 $as_echo "$ac_try_echo"; } >&5
4446 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4448 if test -s conftest.err
; then
4450 ... rest of stderr output deleted ...
4451 10q' conftest.err
>conftest.er1
4452 cat conftest.er1
>&5
4454 rm -f conftest.er1 conftest.err
4455 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4456 test $ac_status = 0; }
4459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4460 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4461 if ${ac_cv_cxx_compiler_gnu+:} false
; then :
4462 $as_echo_n "(cached) " >&6
4464 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4465 /* end confdefs.h. */
4478 if ac_fn_cxx_try_compile
"$LINENO"; then :
4483 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4484 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
4487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4488 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4489 if test $ac_compiler_gnu = yes; then
4494 ac_test_CXXFLAGS
=${CXXFLAGS+set}
4495 ac_save_CXXFLAGS
=$CXXFLAGS
4496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4497 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4498 if ${ac_cv_prog_cxx_g+:} false
; then :
4499 $as_echo_n "(cached) " >&6
4501 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
4502 ac_cxx_werror_flag
=yes
4505 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4506 /* end confdefs.h. */
4516 if ac_fn_cxx_try_compile
"$LINENO"; then :
4517 ac_cv_prog_cxx_g
=yes
4520 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4521 /* end confdefs.h. */
4531 if ac_fn_cxx_try_compile
"$LINENO"; then :
4534 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4536 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4537 /* end confdefs.h. */
4547 if ac_fn_cxx_try_compile
"$LINENO"; then :
4548 ac_cv_prog_cxx_g
=yes
4550 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4552 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4554 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4555 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4558 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4559 if test "$ac_test_CXXFLAGS" = set; then
4560 CXXFLAGS
=$ac_save_CXXFLAGS
4561 elif test $ac_cv_prog_cxx_g = yes; then
4562 if test "$GXX" = yes; then
4568 if test "$GXX" = yes; then
4575 ac_cpp
='$CPP $CPPFLAGS'
4576 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4577 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4578 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4580 depcc
="$CXX" am_compiler_list
=
4582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4583 $as_echo_n "checking dependency style of $depcc... " >&6; }
4584 if ${am_cv_CXX_dependencies_compiler_type+:} false
; then :
4585 $as_echo_n "(cached) " >&6
4587 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4588 # We make a subdir and do the tests there. Otherwise we can end up
4589 # making bogus files that we don't know about and never remove. For
4590 # instance it was reported that on HP-UX the gcc test will end up
4591 # making a dummy file named 'D' -- because '-MD' means "put the output
4595 # Copy depcomp to subdir because otherwise we won't find it if we're
4596 # using a relative directory.
4597 cp "$am_depcomp" conftest.dir
4599 # We will build objects and dependencies in a subdirectory because
4600 # it helps to detect inapplicable dependency modes. For instance
4601 # both Tru64's cc and ICC support -MD to output dependencies as a
4602 # side effect of compilation, but ICC will put the dependencies in
4603 # the current directory while Tru64 will put them in the object
4607 am_cv_CXX_dependencies_compiler_type
=none
4608 if test "$am_compiler_list" = ""; then
4609 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4612 case " $depcc " in #(
4613 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
4616 for depmode
in $am_compiler_list; do
4617 # Setup a source with many dependencies, because some compilers
4618 # like to wrap large dependency lists on column 80 (with \), and
4619 # we should not choose a depcomp mode which is confused by this.
4621 # We need to recreate these files for each test, as the compiler may
4622 # overwrite some of them when testing with obscure command lines.
4623 # This happens at least with the AIX C compiler.
4625 for i
in 1 2 3 4 5 6; do
4626 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4627 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4628 # Solaris 10 /bin/sh.
4629 echo '/* dummy */' > sub
/conftst
$i.h
4631 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4633 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4634 # mode. It turns out that the SunPro C++ compiler does not properly
4635 # handle '-M -o', and we need to detect this. Also, some Intel
4636 # versions had trouble with output in subdirs.
4637 am__obj
=sub
/conftest.
${OBJEXT-o}
4638 am__minus_obj
="-o $am__obj"
4641 # This depmode causes a compiler race in universal mode.
4642 test "$am__universal" = false
|| continue
4645 # After this tag, mechanisms are not by side-effect, so they'll
4646 # only be used when explicitly requested.
4647 if test "x$enable_dependency_tracking" = xyes
; then
4653 msvc7
| msvc7msys
| msvisualcpp
| msvcmsys
)
4654 # This compiler won't grok '-c -o', but also, the minuso test has
4655 # not run yet. These depmodes are late enough in the game, and
4656 # so weak that their functioning should not be impacted.
4657 am__obj
=conftest.
${OBJEXT-o}
4662 if depmode
=$depmode \
4663 source=sub
/conftest.c object
=$am__obj \
4664 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4665 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4666 >/dev
/null
2>conftest.err
&&
4667 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4668 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4669 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4670 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4671 # icc doesn't choke on unknown options, it will just issue warnings
4672 # or remarks (even with -Werror). So we grep stderr for any message
4673 # that says an option was ignored or not supported.
4674 # When given -MP, icc 7.0 and 7.1 complain thusly:
4675 # icc: Command line warning: ignoring option '-M'; no argument required
4676 # The diagnosis changed in icc 8.0:
4677 # icc: Command line remark: option '-MP' not supported
4678 if (grep 'ignoring option' conftest.err
||
4679 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4680 am_cv_CXX_dependencies_compiler_type
=$depmode
4689 am_cv_CXX_dependencies_compiler_type
=none
4693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
4694 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
4695 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
4698 test "x$enable_dependency_tracking" != xno \
4699 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
4700 am__fastdepCXX_TRUE
=
4701 am__fastdepCXX_FALSE
='#'
4703 am__fastdepCXX_TRUE
='#'
4704 am__fastdepCXX_FALSE
=
4709 ac_cpp
='$OBJCXXCPP $CPPFLAGS'
4710 ac_compile
='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4711 ac_link
='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4712 ac_compiler_gnu
=$ac_cv_objcxx_compiler_gnu
4713 if test -n "$ac_tool_prefix"; then
4714 for ac_prog
in g
++ objc
++ objcxx c
++ CXX
4716 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4717 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4719 $as_echo_n "checking for $ac_word... " >&6; }
4720 if ${ac_cv_prog_OBJCXX+:} false
; then :
4721 $as_echo_n "(cached) " >&6
4723 if test -n "$OBJCXX"; then
4724 ac_cv_prog_OBJCXX
="$OBJCXX" # Let the user override the test.
4726 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4730 test -z "$as_dir" && as_dir
=.
4731 for ac_exec_ext
in '' $ac_executable_extensions; do
4732 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4733 ac_cv_prog_OBJCXX
="$ac_tool_prefix$ac_prog"
4734 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4743 OBJCXX
=$ac_cv_prog_OBJCXX
4744 if test -n "$OBJCXX"; then
4745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCXX" >&5
4746 $as_echo "$OBJCXX" >&6; }
4748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4749 $as_echo "no" >&6; }
4753 test -n "$OBJCXX" && break
4756 if test -z "$OBJCXX"; then
4757 ac_ct_OBJCXX
=$OBJCXX
4758 for ac_prog
in g
++ objc
++ objcxx c
++ CXX
4760 # Extract the first word of "$ac_prog", so it can be a program name with args.
4761 set dummy
$ac_prog; ac_word
=$2
4762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4763 $as_echo_n "checking for $ac_word... " >&6; }
4764 if ${ac_cv_prog_ac_ct_OBJCXX+:} false
; then :
4765 $as_echo_n "(cached) " >&6
4767 if test -n "$ac_ct_OBJCXX"; then
4768 ac_cv_prog_ac_ct_OBJCXX
="$ac_ct_OBJCXX" # Let the user override the test.
4770 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4774 test -z "$as_dir" && as_dir
=.
4775 for ac_exec_ext
in '' $ac_executable_extensions; do
4776 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4777 ac_cv_prog_ac_ct_OBJCXX
="$ac_prog"
4778 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4787 ac_ct_OBJCXX
=$ac_cv_prog_ac_ct_OBJCXX
4788 if test -n "$ac_ct_OBJCXX"; then
4789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJCXX" >&5
4790 $as_echo "$ac_ct_OBJCXX" >&6; }
4792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4793 $as_echo "no" >&6; }
4797 test -n "$ac_ct_OBJCXX" && break
4800 if test "x$ac_ct_OBJCXX" = x
; then
4803 case $cross_compiling:$ac_tool_warned in
4805 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4806 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4807 ac_tool_warned
=yes ;;
4809 OBJCXX
=$ac_ct_OBJCXX
4813 # Provide some information about the compiler.
4814 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Objective C++ compiler version" >&5
4817 for ac_option
in --version -v -V -qversion; do
4818 { { ac_try
="$ac_compiler $ac_option >&5"
4820 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
4821 *) ac_try_echo=$ac_try;;
4823 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4824 $as_echo "$ac_try_echo"; } >&5
4825 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4827 if test -s conftest.err; then
4829 ... rest of stderr output deleted ...
4830 10q' conftest.err >conftest.er1
4831 cat conftest.er1 >&5
4833 rm -f conftest.er1 conftest.err
4834 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4835 test $ac_status = 0; }
4838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Objective C++ compiler" >&5
4839 $as_echo_n "checking whether we are using the GNU Objective C++ compiler... " >&6; }
4840 if ${ac_cv_objcxx_compiler_gnu+:} false; then :
4841 $as_echo_n "(cached) " >&6
4843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4844 /* end confdefs.h. */
4857 if ac_fn_objcxx_try_compile "$LINENO"; then :
4862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4863 ac_cv_objcxx_compiler_gnu=$ac_compiler_gnu
4866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objcxx_compiler_gnu" >&5
4867 $as_echo "$ac_cv_objcxx_compiler_gnu" >&6; }
4868 if test $ac_compiler_gnu = yes; then
4873 ac_test_OBJCXXFLAGS=${OBJCXXFLAGS+set}
4874 ac_save_OBJCXXFLAGS=$OBJCXXFLAGS
4875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $OBJCXX accepts -g" >&5
4876 $as_echo_n "checking whether $OBJCXX accepts -g... " >&6; }
4877 if ${ac_cv_prog_objcxx_g+:} false; then :
4878 $as_echo_n "(cached) " >&6
4880 ac_save_objcxx_werror_flag=$ac_objcxx_werror_flag
4881 ac_objcxx_werror_flag=yes
4882 ac_cv_prog_objcxx_g=no
4884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4885 /* end confdefs.h. */
4895 if ac_fn_objcxx_try_compile "$LINENO"; then :
4896 ac_cv_prog_objcxx_g=yes
4899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4900 /* end confdefs.h. */
4910 if ac_fn_objcxx_try_compile "$LINENO"; then :
4913 ac_objcxx_werror_flag=$ac_save_objcxx_werror_flag
4915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4916 /* end confdefs.h. */
4926 if ac_fn_objcxx_try_compile "$LINENO"; then :
4927 ac_cv_prog_objcxx_g=yes
4929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4934 ac_objcxx_werror_flag=$ac_save_objcx_werror_flag
4936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objcxx_g" >&5
4937 $as_echo "$ac_cv_prog_objcxx_g" >&6; }
4938 if test "$ac_test_OBJCXXFLAGS" = set; then
4939 OBJCXXFLAGS=$ac_save_OBJCXXFLAGS
4940 elif test $ac_cv_prog_objcxx_g = yes; then
4941 if test "$GOBJCXX" = yes; then
4942 OBJCXXFLAGS="-g -O2"
4947 if test "$GOBJCXX" = yes; then
4954 ac_cpp='$CPP $CPPFLAGS'
4955 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4956 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4957 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4959 depcc="$OBJCXX" am_compiler_list='gcc3 gcc'
4961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4962 $as_echo_n "checking dependency style of $depcc... " >&6; }
4963 if ${am_cv_OBJCXX_dependencies_compiler_type+:} false; then :
4964 $as_echo_n "(cached) " >&6
4966 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4967 # We make a subdir and do the tests there. Otherwise we can end up
4968 # making bogus files that we don't know about and never remove. For
4969 # instance it was reported that on HP-UX the gcc test will end up
4970 # making a dummy file named 'D' -- because '-MD' means "put the output
4974 # Copy depcomp to subdir because otherwise we won't find it if we're
4975 # using a relative directory.
4976 cp "$am_depcomp" conftest.dir
4978 # We will build objects and dependencies in a subdirectory because
4979 # it helps to detect inapplicable dependency modes. For instance
4980 # both Tru64's cc and ICC support -MD to output dependencies as a
4981 # side effect of compilation, but ICC will put the dependencies in
4982 # the current directory while Tru64 will put them in the object
4986 am_cv_OBJCXX_dependencies_compiler_type=none
4987 if test "$am_compiler_list" = ""; then
4988 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
4993 for depmode in $am_compiler_list; do
4994 # Setup a source with many dependencies, because some compilers
4995 # like to wrap large dependency lists on column 80 (with \), and
4996 # we should not choose a depcomp mode which is confused by this.
4998 # We need to recreate these files for each test, as the compiler may
4999 # overwrite some of them when testing with obscure command lines.
5000 # This happens at least with the AIX C compiler.
5002 for i in 1 2 3 4 5 6; do
5003 echo '#include "conftst'$i'.h"' >> sub/conftest.c
5004 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
5005 # Solaris 10 /bin/sh.
5006 echo '/* dummy */' > sub/conftst$i.h
5008 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5010 # We check with '-c' and '-o' for the sake of the "dashmstdout"
5011 # mode. It turns out that the SunPro C++ compiler does not properly
5012 # handle '-M -o', and we need to detect this. Also, some Intel
5013 # versions had trouble with output in subdirs.
5014 am__obj=sub/conftest.${OBJEXT-o}
5015 am__minus_obj="-o $am__obj"
5018 # This depmode causes a compiler race in universal mode.
5019 test "$am__universal" = false || continue
5022 # After this tag, mechanisms are not by side-effect, so they'll
5023 # only be used when explicitly requested.
5024 if test "x$enable_dependency_tracking" = xyes; then
5030 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
5031 # This compiler won't grok '-c -o', but also, the minuso test has
5032 # not run yet. These depmodes are late enough in the game, and
5033 # so weak that their functioning should not be impacted.
5034 am__obj=conftest.${OBJEXT-o}
5039 if depmode=$depmode \
5040 source=sub/conftest.c object=$am__obj \
5041 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5042 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5043 >/dev/null 2>conftest.err &&
5044 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5045 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5046 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5047 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5048 # icc doesn't choke on unknown options, it will just issue warnings
5049 # or remarks (even with -Werror). So we grep stderr for any message
5050 # that says an option was ignored or not supported.
5051 # When given -MP, icc 7.0 and 7.1 complain thusly:
5052 # icc: Command line warning: ignoring option '-M'; no argument required
5053 # The diagnosis changed in icc 8.0:
5054 # icc: Command line remark: option '-MP' not supported
5055 if (grep 'ignoring option' conftest.err ||
5056 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5057 am_cv_OBJCXX_dependencies_compiler_type=$depmode
5066 am_cv_OBJCXX_dependencies_compiler_type=none
5070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_OBJCXX_dependencies_compiler_type" >&5
5071 $as_echo "$am_cv_OBJCXX_dependencies_compiler_type" >&6; }
5072 OBJCXXDEPMODE=depmode=$am_cv_OBJCXX_dependencies_compiler_type
5075 test "x$enable_dependency_tracking" != xno \
5076 && test "$am_cv_OBJCXX_dependencies_compiler_type" = gcc3; then
5077 am__fastdepOBJCXX_TRUE=
5078 am__fastdepOBJCXX_FALSE='#'
5080 am__fastdepOBJCXX_TRUE='#'
5081 am__fastdepOBJCXX_FALSE=
5087 ac_cpp='$CPP $CPPFLAGS'
5088 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5089 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5090 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
5092 $as_echo_n "checking how to run the C preprocessor... " >&6; }
5093 # On Suns, sometimes $CPP names a directory.
5094 if test -n "$CPP" && test -d "$CPP"; then
5097 if test -z "$CPP"; then
5098 if ${ac_cv_prog_CPP+:} false; then :
5099 $as_echo_n "(cached) " >&6
5101 # Double quotes because CPP needs to be expanded
5102 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5105 for ac_c_preproc_warn_flag in '' yes
5107 # Use a header file that comes with gcc, so configuring glibc
5108 # with a fresh cross-compiler works.
5109 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5110 # <limits.h> exists even on freestanding compilers.
5111 # On the NeXT, cc -E runs the code through the compiler's parser,
5112 # not just through cpp. "Syntax error" is here to catch this case.
5113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5114 /* end confdefs.h. */
5116 # include <limits.h>
5118 # include <assert.h>
5122 if ac_fn_c_try_cpp "$LINENO"; then :
5125 # Broken: fails on valid input.
5128 rm -f conftest.err conftest.i conftest.$ac_ext
5130 # OK, works on sane cases. Now check whether nonexistent headers
5131 # can be detected and how.
5132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5133 /* end confdefs.h. */
5134 #include <ac_nonexistent.h>
5136 if ac_fn_c_try_cpp "$LINENO"; then :
5137 # Broken: success on invalid input.
5140 # Passes both tests.
5144 rm -f conftest.err conftest.i conftest.$ac_ext
5147 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5148 rm -f conftest.i conftest.err conftest.
$ac_ext
5149 if $ac_preproc_ok; then :
5161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5162 $as_echo "$CPP" >&6; }
5164 for ac_c_preproc_warn_flag
in '' yes
5166 # Use a header file that comes with gcc, so configuring glibc
5167 # with a fresh cross-compiler works.
5168 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5169 # <limits.h> exists even on freestanding compilers.
5170 # On the NeXT, cc -E runs the code through the compiler's parser,
5171 # not just through cpp. "Syntax error" is here to catch this case.
5172 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5173 /* end confdefs.h. */
5175 # include <limits.h>
5177 # include <assert.h>
5181 if ac_fn_c_try_cpp
"$LINENO"; then :
5184 # Broken: fails on valid input.
5187 rm -f conftest.err conftest.i conftest.
$ac_ext
5189 # OK, works on sane cases. Now check whether nonexistent headers
5190 # can be detected and how.
5191 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5192 /* end confdefs.h. */
5193 #include <ac_nonexistent.h>
5195 if ac_fn_c_try_cpp
"$LINENO"; then :
5196 # Broken: success on invalid input.
5199 # Passes both tests.
5203 rm -f conftest.err conftest.i conftest.
$ac_ext
5206 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5207 rm -f conftest.i conftest.err conftest.
$ac_ext
5208 if $ac_preproc_ok; then :
5211 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5212 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5213 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
5214 See \`config.log' for more details" "$LINENO" 5; }
5218 ac_cpp
='$CPP $CPPFLAGS'
5219 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5220 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5221 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5224 # Make sure we can run config.sub.
5225 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
5226 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
5228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
5229 $as_echo_n "checking build system type... " >&6; }
5230 if ${ac_cv_build+:} false
; then :
5231 $as_echo_n "(cached) " >&6
5233 ac_build_alias
=$build_alias
5234 test "x$ac_build_alias" = x
&&
5235 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
5236 test "x$ac_build_alias" = x
&&
5237 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
5238 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
5239 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
5242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
5243 $as_echo "$ac_cv_build" >&6; }
5244 case $ac_cv_build in
5246 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
5249 ac_save_IFS
=$IFS; IFS
='-'
5255 # Remember, the first character of IFS is used to create $*,
5256 # except with old shells:
5259 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
5262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
5263 $as_echo_n "checking host system type... " >&6; }
5264 if ${ac_cv_host+:} false
; then :
5265 $as_echo_n "(cached) " >&6
5267 if test "x$host_alias" = x
; then
5268 ac_cv_host
=$ac_cv_build
5270 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
5271 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
5275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
5276 $as_echo "$ac_cv_host" >&6; }
5279 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
5282 ac_save_IFS
=$IFS; IFS
='-'
5288 # Remember, the first character of IFS is used to create $*,
5289 # except with old shells:
5292 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
5297 save_cross_compiling
=$cross_compiling
5298 save_ac_tool_prefix
=$ac_tool_prefix
5303 ac_build_cpp
='$CPP_FOR_BUILD $CPPFLAGS_FOR_BUILD'
5304 ac_build_compile
='$CC_FOR_BUILD -c $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD conftest.$ac_ext >&5'
5305 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'
5306 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5307 if test -n "$ac_tool_prefix"; then
5308 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
5309 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
5310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5311 $as_echo_n "checking for $ac_word... " >&6; }
5312 if ${ac_cv_prog_CC_FOR_BUILD+:} false
; then :
5313 $as_echo_n "(cached) " >&6
5315 if test -n "$CC_FOR_BUILD"; then
5316 ac_cv_prog_CC_FOR_BUILD
="$CC_FOR_BUILD" # Let the user override the test.
5318 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5322 test -z "$as_dir" && as_dir
=.
5323 for ac_exec_ext
in '' $ac_executable_extensions; do
5324 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5325 ac_cv_prog_CC_FOR_BUILD
="${ac_tool_prefix}gcc"
5326 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5335 CC_FOR_BUILD
=$ac_cv_prog_CC_FOR_BUILD
5336 if test -n "$CC_FOR_BUILD"; then
5337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC_FOR_BUILD" >&5
5338 $as_echo "$CC_FOR_BUILD" >&6; }
5340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5341 $as_echo "no" >&6; }
5346 if test -z "$ac_cv_prog_CC_FOR_BUILD"; then
5347 ac_ct_CC_FOR_BUILD
=$CC_FOR_BUILD
5348 # Extract the first word of "gcc", so it can be a program name with args.
5349 set dummy gcc
; ac_word
=$2
5350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5351 $as_echo_n "checking for $ac_word... " >&6; }
5352 if ${ac_cv_prog_ac_ct_CC_FOR_BUILD+:} false
; then :
5353 $as_echo_n "(cached) " >&6
5355 if test -n "$ac_ct_CC_FOR_BUILD"; then
5356 ac_cv_prog_ac_ct_CC_FOR_BUILD
="$ac_ct_CC_FOR_BUILD" # Let the user override the test.
5358 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5362 test -z "$as_dir" && as_dir
=.
5363 for ac_exec_ext
in '' $ac_executable_extensions; do
5364 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5365 ac_cv_prog_ac_ct_CC_FOR_BUILD
="gcc"
5366 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5375 ac_ct_CC_FOR_BUILD
=$ac_cv_prog_ac_ct_CC_FOR_BUILD
5376 if test -n "$ac_ct_CC_FOR_BUILD"; then
5377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC_FOR_BUILD" >&5
5378 $as_echo "$ac_ct_CC_FOR_BUILD" >&6; }
5380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5381 $as_echo "no" >&6; }
5384 if test "x$ac_ct_CC_FOR_BUILD" = x
; then
5387 case $cross_compiling:$ac_tool_warned in
5389 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with build triplet" >&5
5390 $as_echo "$as_me: WARNING: using cross tools not prefixed with build triplet" >&2;}
5391 ac_tool_warned
=yes ;;
5393 CC_FOR_BUILD
=$ac_ct_CC_FOR_BUILD
5396 CC_FOR_BUILD
="$ac_cv_prog_CC_FOR_BUILD"
5399 if test -z "$CC_FOR_BUILD"; then
5400 if test -n "$ac_tool_prefix"; then
5401 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
5402 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
5403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5404 $as_echo_n "checking for $ac_word... " >&6; }
5405 if ${ac_cv_prog_CC_FOR_BUILD+:} false
; then :
5406 $as_echo_n "(cached) " >&6
5408 if test -n "$CC_FOR_BUILD"; then
5409 ac_cv_prog_CC_FOR_BUILD
="$CC_FOR_BUILD" # Let the user override the test.
5411 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5415 test -z "$as_dir" && as_dir
=.
5416 for ac_exec_ext
in '' $ac_executable_extensions; do
5417 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5418 ac_cv_prog_CC_FOR_BUILD
="${ac_tool_prefix}cc"
5419 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5428 CC_FOR_BUILD
=$ac_cv_prog_CC_FOR_BUILD
5429 if test -n "$CC_FOR_BUILD"; then
5430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC_FOR_BUILD" >&5
5431 $as_echo "$CC_FOR_BUILD" >&6; }
5433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5434 $as_echo "no" >&6; }
5440 if test -z "$CC_FOR_BUILD"; then
5441 # Extract the first word of "cc", so it can be a program name with args.
5442 set dummy cc
; ac_word
=$2
5443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5444 $as_echo_n "checking for $ac_word... " >&6; }
5445 if ${ac_cv_prog_CC_FOR_BUILD+:} false
; then :
5446 $as_echo_n "(cached) " >&6
5448 if test -n "$CC_FOR_BUILD"; then
5449 ac_cv_prog_CC_FOR_BUILD
="$CC_FOR_BUILD" # Let the user override the test.
5452 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5456 test -z "$as_dir" && as_dir
=.
5457 for ac_exec_ext
in '' $ac_executable_extensions; do
5458 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5459 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
5460 ac_prog_rejected
=yes
5463 ac_cv_prog_CC_FOR_BUILD
="cc"
5464 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5471 if test $ac_prog_rejected = yes; then
5472 # We found a bogon in the path, so make sure we never use it.
5473 set dummy
$ac_cv_prog_CC_FOR_BUILD
5475 if test $# != 0; then
5476 # We chose a different compiler from the bogus one.
5477 # However, it has the same basename, so the bogon will be chosen
5478 # first if we set CC_FOR_BUILD to just the basename; use the full file name.
5480 ac_cv_prog_CC_FOR_BUILD
="$as_dir/$ac_word${1+' '}$@"
5485 CC_FOR_BUILD
=$ac_cv_prog_CC_FOR_BUILD
5486 if test -n "$CC_FOR_BUILD"; then
5487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC_FOR_BUILD" >&5
5488 $as_echo "$CC_FOR_BUILD" >&6; }
5490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5491 $as_echo "no" >&6; }
5496 if test -z "$CC_FOR_BUILD"; then
5497 if test -n "$ac_tool_prefix"; then
5498 for ac_prog
in cl.exe
5500 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5501 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5503 $as_echo_n "checking for $ac_word... " >&6; }
5504 if ${ac_cv_prog_CC_FOR_BUILD+:} false
; then :
5505 $as_echo_n "(cached) " >&6
5507 if test -n "$CC_FOR_BUILD"; then
5508 ac_cv_prog_CC_FOR_BUILD
="$CC_FOR_BUILD" # Let the user override the test.
5510 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5514 test -z "$as_dir" && as_dir
=.
5515 for ac_exec_ext
in '' $ac_executable_extensions; do
5516 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5517 ac_cv_prog_CC_FOR_BUILD
="$ac_tool_prefix$ac_prog"
5518 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5527 CC_FOR_BUILD
=$ac_cv_prog_CC_FOR_BUILD
5528 if test -n "$CC_FOR_BUILD"; then
5529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC_FOR_BUILD" >&5
5530 $as_echo "$CC_FOR_BUILD" >&6; }
5532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5533 $as_echo "no" >&6; }
5537 test -n "$CC_FOR_BUILD" && break
5540 if test -z "$CC_FOR_BUILD"; then
5541 ac_ct_CC_FOR_BUILD
=$CC_FOR_BUILD
5542 for ac_prog
in cl.exe
5544 # Extract the first word of "$ac_prog", so it can be a program name with args.
5545 set dummy
$ac_prog; ac_word
=$2
5546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5547 $as_echo_n "checking for $ac_word... " >&6; }
5548 if ${ac_cv_prog_ac_ct_CC_FOR_BUILD+:} false
; then :
5549 $as_echo_n "(cached) " >&6
5551 if test -n "$ac_ct_CC_FOR_BUILD"; then
5552 ac_cv_prog_ac_ct_CC_FOR_BUILD
="$ac_ct_CC_FOR_BUILD" # Let the user override the test.
5554 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5558 test -z "$as_dir" && as_dir
=.
5559 for ac_exec_ext
in '' $ac_executable_extensions; do
5560 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5561 ac_cv_prog_ac_ct_CC_FOR_BUILD
="$ac_prog"
5562 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5571 ac_ct_CC_FOR_BUILD
=$ac_cv_prog_ac_ct_CC_FOR_BUILD
5572 if test -n "$ac_ct_CC_FOR_BUILD"; then
5573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC_FOR_BUILD" >&5
5574 $as_echo "$ac_ct_CC_FOR_BUILD" >&6; }
5576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5577 $as_echo "no" >&6; }
5581 test -n "$ac_ct_CC_FOR_BUILD" && break
5584 if test "x$ac_ct_CC_FOR_BUILD" = x
; then
5587 case $cross_compiling:$ac_tool_warned in
5589 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with build triplet" >&5
5590 $as_echo "$as_me: WARNING: using cross tools not prefixed with build triplet" >&2;}
5591 ac_tool_warned
=yes ;;
5593 CC_FOR_BUILD
=$ac_ct_CC_FOR_BUILD
5600 test -z "$CC_FOR_BUILD" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5601 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5602 as_fn_error $?
"no acceptable C compiler found in \$PATH
5603 See \`config.log' for more details" "$LINENO" 5; }
5605 # Provide some information about the compiler.
5606 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5607 set X
$ac_build_compile
5609 for ac_option
in --version -v -V -qversion; do
5610 { { ac_try
="$ac_compiler $ac_option >&5"
5612 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
5613 *) ac_try_echo=$ac_try;;
5615 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5616 $as_echo "$ac_try_echo"; } >&5
5617 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5619 if test -s conftest.err; then
5621 ... rest of stderr output deleted ...
5622 10q' conftest.err >conftest.er1
5623 cat conftest.er1 >&5
5625 rm -f conftest.er1 conftest.err
5626 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5627 test $ac_status = 0; }
5630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
5631 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
5632 if ${ac_cv_c_compiler_gnu+:} false; then :
5633 $as_echo_n "(cached) " >&6
5635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5636 /* end confdefs.h. */
5649 if ac_fn_c_try_compile "$LINENO"; then :
5654 rm -f core conftest.err conftest.$ac_build_objext conftest.$ac_ext
5655 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5659 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
5660 if test $ac_compiler_gnu = yes; then
5665 ac_test_CFLAGS=${CFLAGS_FOR_BUILD+set}
5666 ac_save_CFLAGS=$CFLAGS_FOR_BUILD
5667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD accepts -g" >&5
5668 $as_echo_n "checking whether $CC_FOR_BUILD accepts -g... " >&6; }
5669 if ${ac_cv_build_prog_cc_g+:} false; then :
5670 $as_echo_n "(cached) " >&6
5672 ac_save_c_werror_flag=$ac_c_werror_flag
5673 ac_c_werror_flag=yes
5674 ac_cv_build_prog_cc_g=no
5675 CFLAGS_FOR_BUILD="-g"
5676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5677 /* end confdefs.h. */
5687 if ac_fn_c_try_compile "$LINENO"; then :
5688 ac_cv_build_prog_cc_g=yes
5691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5692 /* end confdefs.h. */
5702 if ac_fn_c_try_compile "$LINENO"; then :
5705 ac_c_werror_flag=$ac_save_c_werror_flag
5706 CFLAGS_FOR_BUILD="-g"
5707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5708 /* end confdefs.h. */
5718 if ac_fn_c_try_compile "$LINENO"; then :
5719 ac_cv_build_prog_cc_g=yes
5721 rm -f core conftest.err conftest.$ac_build_objext conftest.$ac_ext
5723 rm -f core conftest.err conftest.$ac_build_objext conftest.$ac_ext
5725 rm -f core conftest.err conftest.$ac_build_objext conftest.$ac_ext
5726 ac_c_werror_flag=$ac_save_c_werror_flag
5728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build_prog_cc_g" >&5
5729 $as_echo "$ac_cv_build_prog_cc_g" >&6; }
5730 if test "$ac_test_CFLAGS" = set; then
5731 CFLAGS_FOR_BUILD=$ac_save_CFLAGS
5732 elif test $ac_cv_build_prog_cc_g = yes; then
5733 if test "$GCC" = yes; then
5734 CFLAGS_FOR_BUILD="-g -O2"
5736 CFLAGS_FOR_BUILD="-g"
5739 if test "$GCC" = yes; then
5740 CFLAGS_FOR_BUILD="-O2"
5745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC_FOR_BUILD option to accept ISO C89" >&5
5746 $as_echo_n "checking for $CC_FOR_BUILD option to accept ISO C89... " >&6; }
5747 if ${ac_cv_prog_cc_c89+:} false; then :
5748 $as_echo_n "(cached) " >&6
5750 ac_cv_prog_cc_c89=no
5751 ac_save_CC=$CC_FOR_BUILD
5752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5753 /* end confdefs.h. */
5757 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5758 struct buf { int x; };
5759 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5760 static char *e (p, i)
5766 static char *f (char * (*g) (char **, int), char **p, ...)
5771 s = g (p, va_arg (v,int));
5776 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5777 function prototypes and stuff, but not '\xHH' hex character constants.
5778 These don't provoke an error unfortunately, instead are silently treated
5779 as 'x'. The following induces an error, until -std is added to get
5780 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5781 array size at least. It's necessary to write '\x00'==0 to get something
5782 that's true only with -std. */
5783 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5785 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5786 inside strings and character constants. */
5788 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5790 int test (int i, double x);
5791 struct s1 {int (*f) (int a);};
5792 struct s2 {int (*f) (double a);};
5793 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5799 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5804 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5805 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5807 CC_FOR_BUILD="$ac_save_CC $ac_arg"
5808 if ac_fn_c_try_compile "$LINENO"; then :
5809 ac_cv_prog_cc_c89=$ac_arg
5811 rm -f core conftest.err conftest.$ac_build_objext
5812 test "x$ac_cv_prog_cc_c89" != "xno" && break
5814 rm -f conftest.$ac_ext
5815 CC_FOR_BUILD=$ac_save_CC
5819 case "x$ac_cv_prog_cc_c89" in
5821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5822 $as_echo "none needed" >&6; } ;;
5824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5825 $as_echo "unsupported" >&6; } ;;
5827 CC_FOR_BUILD="$CC_FOR_BUILD $ac_cv_prog_cc_c89"
5828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5829 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5831 if test "x$ac_cv_prog_cc_c89" != xno; then :
5836 ac_build_cpp='$CPP_FOR_BUILD $CPPFLAGS_FOR_BUILD'
5837 ac_build_compile='$CC_FOR_BUILD -c $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD conftest.$ac_ext >&5'
5838 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'
5839 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5842 ac_build_cpp='$CPP_FOR_BUILD $CPPFLAGS_FOR_BUILD'
5843 ac_build_compile='$CC_FOR_BUILD -c $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD conftest.$ac_ext >&5'
5844 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'
5845 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD understands -c and -o together" >&5
5847 $as_echo_n "checking whether $CC_FOR_BUILD understands -c and -o together... " >&6; }
5848 if ${am_cv_prog_cc_c_o+:} false; then :
5849 $as_echo_n "(cached) " >&6
5851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5852 /* end confdefs.h. */
5862 # Make sure it works both with $CC and with simple cc.
5863 # Following AC_PROG_CC_C_O, we do the test twice because some
5864 # compilers refuse to overwrite an existing .o file with -o,
5865 # though they will create one.
5866 am_cv_prog_cc_c_o=yes
5868 if { echo "$as_me:$LINENO: $CC_FOR_BUILD -c conftest.$ac_ext -o conftest2.$ac_build_objext" >&5
5869 ($CC_FOR_BUILD -c conftest.$ac_ext -o conftest2.$ac_build_objext) >&5 2>&5
5871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5872 (exit $ac_status); } \
5873 && test -f conftest2.$ac_build_objext; then
5876 am_cv_prog_cc_c_o=no
5880 rm -f core conftest*
5883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
5884 $as_echo "$am_cv_prog_cc_c_o" >&6; }
5885 if test "$am_cv_prog_cc_c_o" != yes; then
5886 # Losing compiler, so override with the script.
5887 # FIXME: It is wrong to rewrite CC.
5888 # But if we don't then we get into trouble of one sort or another.
5889 # A longer-term fix would be to have automake use am__CC in this case,
5890 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
5891 CC_FOR_BUILD="$am_aux_dir/compile $CC_FOR_BUILD"
5894 ac_build_cpp='$CPP_FOR_BUILD $CPPFLAGS_FOR_BUILD'
5895 ac_build_compile='$CC_FOR_BUILD -c $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD conftest.$ac_ext >&5'
5896 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'
5897 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5900 depcc="$CC_FOR_BUILD" am_compiler_list=
5902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5903 $as_echo_n "checking dependency style of $depcc... " >&6; }
5904 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
5905 $as_echo_n "(cached) " >&6
5907 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5908 # We make a subdir and do the tests there. Otherwise we can end up
5909 # making bogus files that we don't know about and never remove. For
5910 # instance it was reported that on HP-UX the gcc test will end up
5911 # making a dummy file named 'D' -- because '-MD' means "put the output
5915 # Copy depcomp to subdir because otherwise we won't find it if we're
5916 # using a relative directory.
5917 cp "$am_depcomp" conftest.dir
5919 # We will build objects and dependencies in a subdirectory because
5920 # it helps to detect inapplicable dependency modes. For instance
5921 # both Tru64's cc and ICC support -MD to output dependencies as a
5922 # side effect of compilation, but ICC will put the dependencies in
5923 # the current directory while Tru64 will put them in the object
5927 am_cv_CC_dependencies_compiler_type=none
5928 if test "$am_compiler_list" = ""; then
5929 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
5932 case " $depcc " in #(
5933 *\ -arch\ *\ -arch\ *) am__universal=true ;;
5936 for depmode in $am_compiler_list; do
5937 # Setup a source with many dependencies, because some compilers
5938 # like to wrap large dependency lists on column 80 (with \), and
5939 # we should not choose a depcomp mode which is confused by this.
5941 # We need to recreate these files for each test, as the compiler may
5942 # overwrite some of them when testing with obscure command lines.
5943 # This happens at least with the AIX C compiler.
5945 for i in 1 2 3 4 5 6; do
5946 echo '#include "conftst'$i'.h"' >> sub/conftest.c
5947 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
5948 # Solaris 10 /bin/sh.
5949 echo '/* dummy */' > sub/conftst$i.h
5951 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5953 # We check with '-c' and '-o' for the sake of the "dashmstdout"
5954 # mode. It turns out that the SunPro C++ compiler does not properly
5955 # handle '-M -o', and we need to detect this. Also, some Intel
5956 # versions had trouble with output in subdirs.
5957 am__obj=sub/conftest.${OBJEXT-o}
5958 am__minus_obj="-o $am__obj"
5961 # This depmode causes a compiler race in universal mode.
5962 test "$am__universal" = false || continue
5965 # After this tag, mechanisms are not by side-effect, so they'll
5966 # only be used when explicitly requested.
5967 if test "x$enable_dependency_tracking" = xyes; then
5973 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
5974 # This compiler won't grok '-c -o', but also, the minuso test has
5975 # not run yet. These depmodes are late enough in the game, and
5976 # so weak that their functioning should not be impacted.
5977 am__obj=conftest.${OBJEXT-o}
5982 if depmode=$depmode \
5983 source=sub/conftest.c object=$am__obj \
5984 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5985 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5986 >/dev/null 2>conftest.err &&
5987 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5988 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5989 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5990 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5991 # icc doesn't choke on unknown options, it will just issue warnings
5992 # or remarks (even with -Werror). So we grep stderr for any message
5993 # that says an option was ignored or not supported.
5994 # When given -MP, icc 7.0 and 7.1 complain thusly:
5995 # icc: Command line warning: ignoring option '-M'; no argument required
5996 # The diagnosis changed in icc 8.0:
5997 # icc: Command line remark: option '-MP' not supported
5998 if (grep 'ignoring option' conftest.err ||
5999 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
6000 am_cv_CC_dependencies_compiler_type=$depmode
6009 am_cv_CC_dependencies_compiler_type=none
6013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
6014 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
6015 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
6018 test "x$enable_dependency_tracking" != xno \
6019 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
6021 am__fastdepCC_FALSE='#'
6023 am__fastdepCC_TRUE='#'
6024 am__fastdepCC_FALSE=
6029 ac_build_cpp='$CPP_FOR_BUILD $CPPFLAGS_FOR_BUILD'
6030 ac_build_compile='$CC_FOR_BUILD -c $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD conftest.$ac_ext >&5'
6031 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'
6032 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6034 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6035 # On Suns, sometimes $CPP names a directory.
6036 if test -n "$CPP_FOR_BUILD" && test -d "$CPP_FOR_BUILD"; then
6039 if test -z "$CPP_FOR_BUILD"; then
6040 if ${ac_cv_build_prog_CPP+:} false; then :
6041 $as_echo_n "(cached) " >&6
6043 # Double quotes because CPP needs to be expanded
6044 for CPP_FOR_BUILD in "$CC_FOR_BUILD -E" "$CC_FOR_BUILD -E -traditional-cpp" "/lib/cpp"
6047 for ac_c_preproc_warn_flag in '' yes
6049 # Use a header file that comes with gcc, so configuring glibc
6050 # with a fresh cross-compiler works.
6051 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6052 # <limits.h> exists even on freestanding compilers.
6053 # On the NeXT, cc -E runs the code through the compiler's parser,
6054 # not just through cpp. "Syntax error" is here to catch this case.
6055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6056 /* end confdefs.h. */
6058 # include <limits.h>
6060 # include <assert.h>
6064 if ac_fn_c_try_cpp "$LINENO"; then :
6067 # Broken: fails on valid input.
6070 rm -f conftest.err conftest.i conftest.$ac_ext
6072 # OK, works on sane cases. Now check whether nonexistent headers
6073 # can be detected and how.
6074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6075 /* end confdefs.h. */
6076 #include <ac_nonexistent.h>
6078 if ac_fn_c_try_cpp "$LINENO"; then :
6079 # Broken: success on invalid input.
6082 # Passes both tests.
6086 rm -f conftest.err conftest.i conftest.$ac_ext
6089 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6090 rm -f conftest.i conftest.err conftest.
$ac_ext
6091 if $ac_preproc_ok; then :
6096 ac_cv_build_prog_CPP
=$CPP_FOR_BUILD
6099 CPP_FOR_BUILD
=$ac_cv_build_prog_CPP
6101 ac_cv_build_prog_CPP
=$CPP_FOR_BUILD
6103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP_FOR_BUILD" >&5
6104 $as_echo "$CPP_FOR_BUILD" >&6; }
6106 for ac_c_preproc_warn_flag
in '' yes
6108 # Use a header file that comes with gcc, so configuring glibc
6109 # with a fresh cross-compiler works.
6110 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6111 # <limits.h> exists even on freestanding compilers.
6112 # On the NeXT, cc -E runs the code through the compiler's parser,
6113 # not just through cpp. "Syntax error" is here to catch this case.
6114 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6115 /* end confdefs.h. */
6117 # include <limits.h>
6119 # include <assert.h>
6123 if ac_fn_c_try_cpp
"$LINENO"; then :
6126 # Broken: fails on valid input.
6129 rm -f conftest.err conftest.i conftest.
$ac_ext
6131 # OK, works on sane cases. Now check whether nonexistent headers
6132 # can be detected and how.
6133 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6134 /* end confdefs.h. */
6135 #include <ac_nonexistent.h>
6137 if ac_fn_c_try_cpp
"$LINENO"; then :
6138 # Broken: success on invalid input.
6141 # Passes both tests.
6145 rm -f conftest.err conftest.i conftest.
$ac_ext
6148 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6149 rm -f conftest.i conftest.err conftest.
$ac_ext
6150 if $ac_preproc_ok; then :
6153 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6154 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6155 as_fn_error $?
"C preprocessor \"$CPP_FOR_BUILD\" fails sanity check
6156 See \`config.log' for more details" "$LINENO" 5; }
6160 ac_build_cpp
='$CPP_FOR_BUILD $CPPFLAGS_FOR_BUILD'
6161 ac_build_compile
='$CC_FOR_BUILD -c $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD conftest.$ac_ext >&5'
6162 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'
6163 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6167 ac_tool_prefix
=$save_ac_tool_prefix
6168 cross_compiling
=$save_cross_compiling
6171 BUILD_EXEEXT
=$ac_build_exeext
6172 BUILD_OBJEXT
=$ac_build_objext
6175 ac_cpp
='$CXXCPP $CPPFLAGS'
6176 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6177 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6178 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
6179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
6180 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
6181 if test -z "$CXXCPP"; then
6182 if ${ac_cv_prog_CXXCPP+:} false
; then :
6183 $as_echo_n "(cached) " >&6
6185 # Double quotes because CXXCPP needs to be expanded
6186 for CXXCPP
in "$CXX -E" "/lib/cpp"
6189 for ac_cxx_preproc_warn_flag
in '' yes
6191 # Use a header file that comes with gcc, so configuring glibc
6192 # with a fresh cross-compiler works.
6193 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6194 # <limits.h> exists even on freestanding compilers.
6195 # On the NeXT, cc -E runs the code through the compiler's parser,
6196 # not just through cpp. "Syntax error" is here to catch this case.
6197 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6198 /* end confdefs.h. */
6200 # include <limits.h>
6202 # include <assert.h>
6206 if ac_fn_cxx_try_cpp
"$LINENO"; then :
6209 # Broken: fails on valid input.
6212 rm -f conftest.err conftest.i conftest.
$ac_ext
6214 # OK, works on sane cases. Now check whether nonexistent headers
6215 # can be detected and how.
6216 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6217 /* end confdefs.h. */
6218 #include <ac_nonexistent.h>
6220 if ac_fn_cxx_try_cpp
"$LINENO"; then :
6221 # Broken: success on invalid input.
6224 # Passes both tests.
6228 rm -f conftest.err conftest.i conftest.
$ac_ext
6231 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6232 rm -f conftest.i conftest.err conftest.
$ac_ext
6233 if $ac_preproc_ok; then :
6238 ac_cv_prog_CXXCPP
=$CXXCPP
6241 CXXCPP
=$ac_cv_prog_CXXCPP
6243 ac_cv_prog_CXXCPP
=$CXXCPP
6245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
6246 $as_echo "$CXXCPP" >&6; }
6248 for ac_cxx_preproc_warn_flag
in '' yes
6250 # Use a header file that comes with gcc, so configuring glibc
6251 # with a fresh cross-compiler works.
6252 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6253 # <limits.h> exists even on freestanding compilers.
6254 # On the NeXT, cc -E runs the code through the compiler's parser,
6255 # not just through cpp. "Syntax error" is here to catch this case.
6256 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6257 /* end confdefs.h. */
6259 # include <limits.h>
6261 # include <assert.h>
6265 if ac_fn_cxx_try_cpp
"$LINENO"; then :
6268 # Broken: fails on valid input.
6271 rm -f conftest.err conftest.i conftest.
$ac_ext
6273 # OK, works on sane cases. Now check whether nonexistent headers
6274 # can be detected and how.
6275 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6276 /* end confdefs.h. */
6277 #include <ac_nonexistent.h>
6279 if ac_fn_cxx_try_cpp
"$LINENO"; then :
6280 # Broken: success on invalid input.
6283 # Passes both tests.
6287 rm -f conftest.err conftest.i conftest.
$ac_ext
6290 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6291 rm -f conftest.i conftest.err conftest.
$ac_ext
6292 if $ac_preproc_ok; then :
6295 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6296 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6297 as_fn_error $?
"C++ preprocessor \"$CXXCPP\" fails sanity check
6298 See \`config.log' for more details" "$LINENO" 5; }
6302 ac_cpp
='$CPP $CPPFLAGS'
6303 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6304 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6305 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6309 save_cross_compiling
=$cross_compiling
6310 save_ac_tool_prefix
=$ac_tool_prefix
6315 ac_cpp
='$CXXCPP_FOR_BUILD $CPPFLAGS_FOR_BUILD'
6316 ac_build_compile
='$CXX_FOR_BUILD -c $CXXFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD conftest.$ac_ext >&5'
6317 ac_build_link
='$CXX_FOR_BUILD -o conftest$ac_exeext $CXXFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD $LDFLAGS conftest.$ac_ext $LIBS >&5'
6318 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
6319 if test -z "$CXX_FOR_BUILD"; then
6320 if test -n "$CCC"; then
6323 if test -n "$ac_tool_prefix"; then
6324 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
6326 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6327 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
6328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6329 $as_echo_n "checking for $ac_word... " >&6; }
6330 if ${ac_cv_prog_CXX_FOR_BUILD+:} false
; then :
6331 $as_echo_n "(cached) " >&6
6333 if test -n "$CXX_FOR_BUILD"; then
6334 ac_cv_prog_CXX_FOR_BUILD
="$CXX_FOR_BUILD" # Let the user override the test.
6336 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6340 test -z "$as_dir" && as_dir
=.
6341 for ac_exec_ext
in '' $ac_executable_extensions; do
6342 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6343 ac_cv_prog_CXX_FOR_BUILD
="$ac_tool_prefix$ac_prog"
6344 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6353 CXX_FOR_BUILD
=$ac_cv_prog_CXX_FOR_BUILD
6354 if test -n "$CXX_FOR_BUILD"; then
6355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX_FOR_BUILD" >&5
6356 $as_echo "$CXX_FOR_BUILD" >&6; }
6358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6359 $as_echo "no" >&6; }
6363 test -n "$CXX_FOR_BUILD" && break
6366 if test -z "$CXX_FOR_BUILD"; then
6367 ac_ct_CXX_FOR_BUILD
=$CXX_FOR_BUILD
6368 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
6370 # Extract the first word of "$ac_prog", so it can be a program name with args.
6371 set dummy
$ac_prog; ac_word
=$2
6372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6373 $as_echo_n "checking for $ac_word... " >&6; }
6374 if ${ac_cv_prog_ac_ct_CXX_FOR_BUILD+:} false
; then :
6375 $as_echo_n "(cached) " >&6
6377 if test -n "$ac_ct_CXX_FOR_BUILD"; then
6378 ac_cv_prog_ac_ct_CXX_FOR_BUILD
="$ac_ct_CXX_FOR_BUILD" # Let the user override the test.
6380 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6384 test -z "$as_dir" && as_dir
=.
6385 for ac_exec_ext
in '' $ac_executable_extensions; do
6386 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6387 ac_cv_prog_ac_ct_CXX_FOR_BUILD
="$ac_prog"
6388 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6397 ac_ct_CXX_FOR_BUILD
=$ac_cv_prog_ac_ct_CXX_FOR_BUILD
6398 if test -n "$ac_ct_CXX_FOR_BUILD"; then
6399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX_FOR_BUILD" >&5
6400 $as_echo "$ac_ct_CXX_FOR_BUILD" >&6; }
6402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6403 $as_echo "no" >&6; }
6407 test -n "$ac_ct_CXX_FOR_BUILD" && break
6410 if test "x$ac_ct_CXX_FOR_BUILD" = x
; then
6413 case $cross_compiling:$ac_tool_warned in
6415 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with build triplet" >&5
6416 $as_echo "$as_me: WARNING: using cross tools not prefixed with build triplet" >&2;}
6417 ac_tool_warned
=yes ;;
6419 CXX_FOR_BUILD
=$ac_ct_CXX_FOR_BUILD
6425 # Provide some information about the compiler.
6426 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
6427 set X
$ac_build_compile
6429 for ac_option
in --version -v -V -qversion; do
6430 { { ac_try
="$ac_compiler $ac_option >&5"
6432 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
6433 *) ac_try_echo=$ac_try;;
6435 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
6436 $as_echo "$ac_try_echo"; } >&5
6437 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
6439 if test -s conftest.err; then
6441 ... rest of stderr output deleted ...
6442 10q' conftest.err >conftest.er1
6443 cat conftest.er1 >&5
6445 rm -f conftest.er1 conftest.err
6446 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6447 test $ac_status = 0; }
6450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
6451 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
6452 if ${ac_cv_cxx_compiler_gnu+:} false; then :
6453 $as_echo_n "(cached) " >&6
6455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6456 /* end confdefs.h. */
6469 if ac_fn_cxx_try_compile "$LINENO"; then :
6474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6475 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
6478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
6479 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
6480 if test $ac_compiler_gnu = yes; then
6485 ac_test_CXXFLAGS=${CXXFLAGS_FOR_BUILD+set}
6486 ac_save_CXXFLAGS=$CXXFLAGS_FOR_BUILD
6487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX_FOR_BUILD accepts -g" >&5
6488 $as_echo_n "checking whether $CXX_FOR_BUILD accepts -g... " >&6; }
6489 if ${ac_cv_build_prog_cxx_g+:} false; then :
6490 $as_echo_n "(cached) " >&6
6492 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
6493 ac_cxx_werror_flag=yes
6494 ac_cv_build_prog_cxx_g=no
6495 CXXFLAGS_FOR_BUILD="-g"
6496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6497 /* end confdefs.h. */
6507 if ac_fn_cxx_try_compile "$LINENO"; then :
6508 ac_cv_build_prog_cxx_g=yes
6510 CXXFLAGS_FOR_BUILD=""
6511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6512 /* end confdefs.h. */
6522 if ac_fn_cxx_try_compile "$LINENO"; then :
6525 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
6526 CXXFLAGS_FOR_BUILD="-g"
6527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6528 /* end confdefs.h. */
6538 if ac_fn_cxx_try_compile "$LINENO"; then :
6539 ac_cv_build_prog_cxx_g=yes
6541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6546 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
6548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build_prog_cxx_g" >&5
6549 $as_echo "$ac_cv_build_prog_cxx_g" >&6; }
6550 if test "$ac_test_CXXFLAGS" = set; then
6551 CXXFLAGS_FOR_BUILD=$ac_save_CXXFLAGS
6552 elif test $ac_cv_build_prog_cxx_g = yes; then
6553 if test "$GXX" = yes; then
6554 CXXFLAGS_FOR_BUILD="-g -O2"
6556 CXXFLAGS_FOR_BUILD="-g"
6559 if test "$GXX" = yes; then
6560 CXXFLAGS_FOR_BUILD="-O2"
6566 ac_cpp='$CPP $CPPFLAGS_FOR_BUILD'
6567 ac_build_compile='$CC -c $CFLAGS $CPPFLAGS_FOR_BUILD conftest.$ac_ext >&5'
6568 ac_build_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS_FOR_BUILD $LDFLAGS conftest.$ac_ext $LIBS >&5'
6569 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6571 depcc="$CXX_FOR_BUILD" am_compiler_list=
6573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
6574 $as_echo_n "checking dependency style of $depcc... " >&6; }
6575 if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
6576 $as_echo_n "(cached) " >&6
6578 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
6579 # We make a subdir and do the tests there. Otherwise we can end up
6580 # making bogus files that we don't know about and never remove. For
6581 # instance it was reported that on HP-UX the gcc test will end up
6582 # making a dummy file named 'D' -- because '-MD' means "put the output
6586 # Copy depcomp to subdir because otherwise we won't find it if we're
6587 # using a relative directory.
6588 cp "$am_depcomp" conftest.dir
6590 # We will build objects and dependencies in a subdirectory because
6591 # it helps to detect inapplicable dependency modes. For instance
6592 # both Tru64's cc and ICC support -MD to output dependencies as a
6593 # side effect of compilation, but ICC will put the dependencies in
6594 # the current directory while Tru64 will put them in the object
6598 am_cv_CXX_dependencies_compiler_type=none
6599 if test "$am_compiler_list" = ""; then
6600 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
6603 case " $depcc " in #(
6604 *\ -arch\ *\ -arch\ *) am__universal=true ;;
6607 for depmode in $am_compiler_list; do
6608 # Setup a source with many dependencies, because some compilers
6609 # like to wrap large dependency lists on column 80 (with \), and
6610 # we should not choose a depcomp mode which is confused by this.
6612 # We need to recreate these files for each test, as the compiler may
6613 # overwrite some of them when testing with obscure command lines.
6614 # This happens at least with the AIX C compiler.
6616 for i in 1 2 3 4 5 6; do
6617 echo '#include "conftst'$i'.h"' >> sub/conftest.c
6618 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
6619 # Solaris 10 /bin/sh.
6620 echo '/* dummy */' > sub/conftst$i.h
6622 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
6624 # We check with '-c' and '-o' for the sake of the "dashmstdout"
6625 # mode. It turns out that the SunPro C++ compiler does not properly
6626 # handle '-M -o', and we need to detect this. Also, some Intel
6627 # versions had trouble with output in subdirs.
6628 am__obj=sub/conftest.${OBJEXT-o}
6629 am__minus_obj="-o $am__obj"
6632 # This depmode causes a compiler race in universal mode.
6633 test "$am__universal" = false || continue
6636 # After this tag, mechanisms are not by side-effect, so they'll
6637 # only be used when explicitly requested.
6638 if test "x$enable_dependency_tracking" = xyes; then
6644 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
6645 # This compiler won't grok '-c -o', but also, the minuso test has
6646 # not run yet. These depmodes are late enough in the game, and
6647 # so weak that their functioning should not be impacted.
6648 am__obj=conftest.${OBJEXT-o}
6653 if depmode=$depmode \
6654 source=sub/conftest.c object=$am__obj \
6655 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
6656 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
6657 >/dev/null 2>conftest.err &&
6658 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
6659 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
6660 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
6661 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
6662 # icc doesn't choke on unknown options, it will just issue warnings
6663 # or remarks (even with -Werror). So we grep stderr for any message
6664 # that says an option was ignored or not supported.
6665 # When given -MP, icc 7.0 and 7.1 complain thusly:
6666 # icc: Command line warning: ignoring option '-M'; no argument required
6667 # The diagnosis changed in icc 8.0:
6668 # icc: Command line remark: option '-MP' not supported
6669 if (grep 'ignoring option' conftest.err ||
6670 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
6671 am_cv_CXX_dependencies_compiler_type=$depmode
6680 am_cv_CXX_dependencies_compiler_type=none
6684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
6685 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
6686 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
6689 test "x$enable_dependency_tracking" != xno \
6690 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
6691 am__fastdepCXX_TRUE=
6692 am__fastdepCXX_FALSE='#'
6694 am__fastdepCXX_TRUE='#'
6695 am__fastdepCXX_FALSE=
6700 ac_cpp='$CXXCPP_FOR_BUILD $CPPFLAGS_FOR_BUILD'
6701 ac_build_compile='$CXX_FOR_BUILD -c $CXXFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD conftest.$ac_ext >&5'
6702 ac_build_link='$CXX_FOR_BUILD -o conftest$ac_exeext $CXXFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD $LDFLAGS conftest.$ac_ext $LIBS >&5'
6703 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
6705 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
6706 if test -z "$CXXCPP_FOR_BUILD"; then
6707 if ${ac_cv_build_prog_CXXCPP+:} false; then :
6708 $as_echo_n "(cached) " >&6
6710 # Double quotes because CXXCPP needs to be expanded
6711 for CXXCPP_FOR_BUILD in "$CXX_FOR_BUILD -E" "/lib/cpp"
6714 for ac_cxx_preproc_warn_flag in '' yes
6716 # Use a header file that comes with gcc, so configuring glibc
6717 # with a fresh cross-compiler works.
6718 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6719 # <limits.h> exists even on freestanding compilers.
6720 # On the NeXT, cc -E runs the code through the compiler's parser,
6721 # not just through cpp. "Syntax error" is here to catch this case.
6722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6723 /* end confdefs.h. */
6725 # include <limits.h>
6727 # include <assert.h>
6731 if ac_fn_cxx_try_cpp "$LINENO"; then :
6734 # Broken: fails on valid input.
6737 rm -f conftest.err conftest.i conftest.$ac_ext
6739 # OK, works on sane cases. Now check whether nonexistent headers
6740 # can be detected and how.
6741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6742 /* end confdefs.h. */
6743 #include <ac_nonexistent.h>
6745 if ac_fn_cxx_try_cpp "$LINENO"; then :
6746 # Broken: success on invalid input.
6749 # Passes both tests.
6753 rm -f conftest.err conftest.i conftest.$ac_ext
6756 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6757 rm -f conftest.i conftest.err conftest.
$ac_ext
6758 if $ac_preproc_ok; then :
6763 ac_cv_build_prog_CXXCPP
=$CXXCPP_FOR_BUILD
6766 CXXCPP_FOR_BUILD
=$ac_cv_build_prog_CXXCPP
6768 ac_cv_build_prog_CXXCPP
=$CXXCPP_FOR_BUILD
6770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP_FOR_BUILD" >&5
6771 $as_echo "$CXXCPP_FOR_BUILD" >&6; }
6773 for ac_cxx_preproc_warn_flag
in '' yes
6775 # Use a header file that comes with gcc, so configuring glibc
6776 # with a fresh cross-compiler works.
6777 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6778 # <limits.h> exists even on freestanding compilers.
6779 # On the NeXT, cc -E runs the code through the compiler's parser,
6780 # not just through cpp. "Syntax error" is here to catch this case.
6781 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6782 /* end confdefs.h. */
6784 # include <limits.h>
6786 # include <assert.h>
6790 if ac_fn_cxx_try_cpp
"$LINENO"; then :
6793 # Broken: fails on valid input.
6796 rm -f conftest.err conftest.i conftest.
$ac_ext
6798 # OK, works on sane cases. Now check whether nonexistent headers
6799 # can be detected and how.
6800 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6801 /* end confdefs.h. */
6802 #include <ac_nonexistent.h>
6804 if ac_fn_cxx_try_cpp
"$LINENO"; then :
6805 # Broken: success on invalid input.
6808 # Passes both tests.
6812 rm -f conftest.err conftest.i conftest.
$ac_ext
6815 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6816 rm -f conftest.i conftest.err conftest.
$ac_ext
6817 if $ac_preproc_ok; then :
6820 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6821 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6822 as_fn_error $?
"C++ preprocessor \"$CXXCPP_FOR_BUILD\" fails sanity check
6823 See \`config.log' for more details" "$LINENO" 5; }
6827 ac_cpp
='$CPP $CPPFLAGS_FOR_BUILD'
6828 ac_build_compile
='$CC -c $CFLAGS $CPPFLAGS_FOR_BUILD conftest.$ac_ext >&5'
6829 ac_build_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS_FOR_BUILD $LDFLAGS conftest.$ac_ext $LIBS >&5'
6830 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6833 ac_tool_prefix
=$save_ac_tool_prefix
6834 cross_compiling
=$save_cross_compiling
6840 if test -n "$ac_tool_prefix"; then
6841 for ac_prog
in ar lib
"link -lib"
6843 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6844 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
6845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6846 $as_echo_n "checking for $ac_word... " >&6; }
6847 if ${ac_cv_prog_AR+:} false
; then :
6848 $as_echo_n "(cached) " >&6
6850 if test -n "$AR"; then
6851 ac_cv_prog_AR
="$AR" # Let the user override the test.
6853 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6857 test -z "$as_dir" && as_dir
=.
6858 for ac_exec_ext
in '' $ac_executable_extensions; do
6859 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6860 ac_cv_prog_AR
="$ac_tool_prefix$ac_prog"
6861 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6871 if test -n "$AR"; then
6872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6873 $as_echo "$AR" >&6; }
6875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6876 $as_echo "no" >&6; }
6880 test -n "$AR" && break
6883 if test -z "$AR"; then
6885 for ac_prog
in ar lib
"link -lib"
6887 # Extract the first word of "$ac_prog", so it can be a program name with args.
6888 set dummy
$ac_prog; ac_word
=$2
6889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6890 $as_echo_n "checking for $ac_word... " >&6; }
6891 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
6892 $as_echo_n "(cached) " >&6
6894 if test -n "$ac_ct_AR"; then
6895 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
6897 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6901 test -z "$as_dir" && as_dir
=.
6902 for ac_exec_ext
in '' $ac_executable_extensions; do
6903 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6904 ac_cv_prog_ac_ct_AR
="$ac_prog"
6905 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6914 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
6915 if test -n "$ac_ct_AR"; then
6916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6917 $as_echo "$ac_ct_AR" >&6; }
6919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6920 $as_echo "no" >&6; }
6924 test -n "$ac_ct_AR" && break
6927 if test "x$ac_ct_AR" = x
; then
6930 case $cross_compiling:$ac_tool_warned in
6932 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6933 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6934 ac_tool_warned
=yes ;;
6942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the archiver ($AR) interface" >&5
6943 $as_echo_n "checking the archiver ($AR) interface... " >&6; }
6944 if ${am_cv_ar_interface+:} false
; then :
6945 $as_echo_n "(cached) " >&6
6948 ac_cpp
='$CPP $CPPFLAGS'
6949 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6950 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6951 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6953 am_cv_ar_interface
=ar
6954 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6955 /* end confdefs.h. */
6956 int some_variable = 0;
6958 if ac_fn_c_try_compile
"$LINENO"; then :
6959 am_ar_try
='$AR cru libconftest.a conftest.$ac_objext >&5'
6960 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
6961 (eval $am_ar_try) 2>&5
6963 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6964 test $ac_status = 0; }
6965 if test "$ac_status" -eq 0; then
6966 am_cv_ar_interface
=ar
6968 am_ar_try
='$AR -NOLOGO -OUT:conftest.lib conftest.$ac_objext >&5'
6969 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
6970 (eval $am_ar_try) 2>&5
6972 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6973 test $ac_status = 0; }
6974 if test "$ac_status" -eq 0; then
6975 am_cv_ar_interface
=lib
6977 am_cv_ar_interface
=unknown
6980 rm -f conftest.lib libconftest.a
6983 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6985 ac_cpp
='$CPP $CPPFLAGS'
6986 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6987 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6988 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_ar_interface" >&5
6992 $as_echo "$am_cv_ar_interface" >&6; }
6994 case $am_cv_ar_interface in
6998 # Microsoft lib, so override with the ar-lib wrapper script.
6999 # FIXME: It is wrong to rewrite AR.
7000 # But if we don't then we get into trouble of one sort or another.
7001 # A longer-term fix would be to have automake use am__AR in this case,
7002 # and then we could set am__AR="$am_aux_dir/ar-lib \$(AR)" or something
7004 AR
="$am_aux_dir/ar-lib $AR"
7007 as_fn_error $?
"could not determine $AR interface" "$LINENO" 5
7015 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
7016 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
7021 macro_version
='2.4.6'
7022 macro_revision
='2.4.6'
7036 ltmain
=$ac_aux_dir/ltmain.sh
7038 # Backslashify metacharacters that are still active within
7039 # double-quoted strings.
7040 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g'
7042 # Same as above, but do not quote variable references.
7043 double_quote_subst
='s/\(["`\\]\)/\\\1/g'
7045 # Sed substitution to delay expansion of an escaped shell variable in a
7046 # double_quote_subst'ed string.
7047 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
7049 # Sed substitution to delay expansion of an escaped single quote.
7050 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
7052 # Sed substitution to avoid accidental globbing in evaled expressions
7053 no_glob_subst
='s/\*/\\\*/g'
7055 ECHO
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
7056 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
7057 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
7059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
7060 $as_echo_n "checking how to print strings... " >&6; }
7061 # Test print first, because it will be a builtin if present.
7062 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
7063 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
7065 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
7068 # Use this function as a fallback that always works.
7069 func_fallback_echo ()
7071 eval 'cat <<_LTECHO_EOF
7075 ECHO='func_fallback_echo
'
7078 # func_echo_all arg...
7079 # Invoke $ECHO with all args, space-separated.
7086 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
7087 $as_echo "printf" >&6; } ;;
7088 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
7089 $as_echo "print -r" >&6; } ;;
7090 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
7091 $as_echo "cat" >&6; } ;;
7107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
7108 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
7109 if ${ac_cv_path_SED+:} false; then :
7110 $as_echo_n "(cached) " >&6
7112 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
7113 for ac_i in 1 2 3 4 5 6 7; do
7114 ac_script="$ac_script$as_nl$ac_script"
7116 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
7117 { ac_script=; unset ac_script;}
7118 if test -z "$SED"; then
7119 ac_path_SED_found=false
7120 # Loop through the user's path and
test for each of PROGNAME
-LIST
7121 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7125 test -z "$as_dir" && as_dir
=.
7126 for ac_prog
in sed gsed
; do
7127 for ac_exec_ext
in '' $ac_executable_extensions; do
7128 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
7129 as_fn_executable_p
"$ac_path_SED" || continue
7130 # Check for GNU ac_path_SED and select it if it is found.
7131 # Check for GNU $ac_path_SED
7132 case `"$ac_path_SED" --version 2>&1` in
7134 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
7137 $as_echo_n 0123456789 >"conftest.in"
7140 cat "conftest.in" "conftest.in" >"conftest.tmp"
7141 mv "conftest.tmp" "conftest.in"
7142 cp "conftest.in" "conftest.nl"
7143 $as_echo '' >> "conftest.nl"
7144 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
7145 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
7146 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
7147 if test $ac_count -gt ${ac_path_SED_max-0}; then
7148 # Best one so far, save it but keep looking for a better one
7149 ac_cv_path_SED
="$ac_path_SED"
7150 ac_path_SED_max
=$ac_count
7152 # 10*(2^10) chars as input seems more than enough
7153 test $ac_count -gt 10 && break
7155 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
7158 $ac_path_SED_found && break 3
7163 if test -z "$ac_cv_path_SED"; then
7164 as_fn_error $?
"no acceptable sed could be found in \$PATH" "$LINENO" 5
7171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
7172 $as_echo "$ac_cv_path_SED" >&6; }
7173 SED
="$ac_cv_path_SED"
7176 test -z "$SED" && SED
=sed
7177 Xsed
="$SED -e 1s/^X//"
7189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
7190 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
7191 if ${ac_cv_path_GREP+:} false
; then :
7192 $as_echo_n "(cached) " >&6
7194 if test -z "$GREP"; then
7195 ac_path_GREP_found
=false
7196 # Loop through the user's path and test for each of PROGNAME-LIST
7197 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7198 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
7201 test -z "$as_dir" && as_dir
=.
7202 for ac_prog
in grep ggrep
; do
7203 for ac_exec_ext
in '' $ac_executable_extensions; do
7204 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
7205 as_fn_executable_p
"$ac_path_GREP" || continue
7206 # Check for GNU ac_path_GREP and select it if it is found.
7207 # Check for GNU $ac_path_GREP
7208 case `"$ac_path_GREP" --version 2>&1` in
7210 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
7213 $as_echo_n 0123456789 >"conftest.in"
7216 cat "conftest.in" "conftest.in" >"conftest.tmp"
7217 mv "conftest.tmp" "conftest.in"
7218 cp "conftest.in" "conftest.nl"
7219 $as_echo 'GREP' >> "conftest.nl"
7220 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
7221 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
7222 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
7223 if test $ac_count -gt ${ac_path_GREP_max-0}; then
7224 # Best one so far, save it but keep looking for a better one
7225 ac_cv_path_GREP
="$ac_path_GREP"
7226 ac_path_GREP_max
=$ac_count
7228 # 10*(2^10) chars as input seems more than enough
7229 test $ac_count -gt 10 && break
7231 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
7234 $ac_path_GREP_found && break 3
7239 if test -z "$ac_cv_path_GREP"; then
7240 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7243 ac_cv_path_GREP
=$GREP
7247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
7248 $as_echo "$ac_cv_path_GREP" >&6; }
7249 GREP
="$ac_cv_path_GREP"
7252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
7253 $as_echo_n "checking for egrep... " >&6; }
7254 if ${ac_cv_path_EGREP+:} false
; then :
7255 $as_echo_n "(cached) " >&6
7257 if echo a
| $GREP -E '(a|b)' >/dev
/null
2>&1
7258 then ac_cv_path_EGREP
="$GREP -E"
7260 if test -z "$EGREP"; then
7261 ac_path_EGREP_found
=false
7262 # Loop through the user's path and test for each of PROGNAME-LIST
7263 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7264 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
7267 test -z "$as_dir" && as_dir
=.
7268 for ac_prog
in egrep; do
7269 for ac_exec_ext
in '' $ac_executable_extensions; do
7270 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
7271 as_fn_executable_p
"$ac_path_EGREP" || continue
7272 # Check for GNU ac_path_EGREP and select it if it is found.
7273 # Check for GNU $ac_path_EGREP
7274 case `"$ac_path_EGREP" --version 2>&1` in
7276 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
7279 $as_echo_n 0123456789 >"conftest.in"
7282 cat "conftest.in" "conftest.in" >"conftest.tmp"
7283 mv "conftest.tmp" "conftest.in"
7284 cp "conftest.in" "conftest.nl"
7285 $as_echo 'EGREP' >> "conftest.nl"
7286 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
7287 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
7288 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
7289 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
7290 # Best one so far, save it but keep looking for a better one
7291 ac_cv_path_EGREP
="$ac_path_EGREP"
7292 ac_path_EGREP_max
=$ac_count
7294 # 10*(2^10) chars as input seems more than enough
7295 test $ac_count -gt 10 && break
7297 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
7300 $ac_path_EGREP_found && break 3
7305 if test -z "$ac_cv_path_EGREP"; then
7306 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7309 ac_cv_path_EGREP
=$EGREP
7314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
7315 $as_echo "$ac_cv_path_EGREP" >&6; }
7316 EGREP
="$ac_cv_path_EGREP"
7319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
7320 $as_echo_n "checking for fgrep... " >&6; }
7321 if ${ac_cv_path_FGREP+:} false
; then :
7322 $as_echo_n "(cached) " >&6
7324 if echo 'ab*c' | $GREP -F 'ab*c' >/dev
/null
2>&1
7325 then ac_cv_path_FGREP
="$GREP -F"
7327 if test -z "$FGREP"; then
7328 ac_path_FGREP_found
=false
7329 # Loop through the user's path and test for each of PROGNAME-LIST
7330 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7331 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
7334 test -z "$as_dir" && as_dir
=.
7335 for ac_prog
in fgrep
; do
7336 for ac_exec_ext
in '' $ac_executable_extensions; do
7337 ac_path_FGREP
="$as_dir/$ac_prog$ac_exec_ext"
7338 as_fn_executable_p
"$ac_path_FGREP" || continue
7339 # Check for GNU ac_path_FGREP and select it if it is found.
7340 # Check for GNU $ac_path_FGREP
7341 case `"$ac_path_FGREP" --version 2>&1` in
7343 ac_cv_path_FGREP
="$ac_path_FGREP" ac_path_FGREP_found
=:;;
7346 $as_echo_n 0123456789 >"conftest.in"
7349 cat "conftest.in" "conftest.in" >"conftest.tmp"
7350 mv "conftest.tmp" "conftest.in"
7351 cp "conftest.in" "conftest.nl"
7352 $as_echo 'FGREP' >> "conftest.nl"
7353 "$ac_path_FGREP" FGREP
< "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
7354 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
7355 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
7356 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
7357 # Best one so far, save it but keep looking for a better one
7358 ac_cv_path_FGREP
="$ac_path_FGREP"
7359 ac_path_FGREP_max
=$ac_count
7361 # 10*(2^10) chars as input seems more than enough
7362 test $ac_count -gt 10 && break
7364 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
7367 $ac_path_FGREP_found && break 3
7372 if test -z "$ac_cv_path_FGREP"; then
7373 as_fn_error $?
"no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7376 ac_cv_path_FGREP
=$FGREP
7381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
7382 $as_echo "$ac_cv_path_FGREP" >&6; }
7383 FGREP
="$ac_cv_path_FGREP"
7386 test -z "$GREP" && GREP
=grep
7406 # Check whether --with-gnu-ld was given.
7407 if test "${with_gnu_ld+set}" = set; then :
7408 withval
=$with_gnu_ld; test no
= "$withval" || with_gnu_ld
=yes
7414 if test yes = "$GCC"; then
7415 # Check if gcc -print-prog-name=ld gives a path.
7416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
7417 $as_echo_n "checking for ld used by $CC... " >&6; }
7420 # gcc leaves a trailing carriage return, which upsets mingw
7421 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
7423 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
7426 # Accept absolute paths.
7428 re_direlt
='/[^/][^/]*/\.\./'
7429 # Canonicalize the pathname of ld
7430 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
7431 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev
/null
2>&1; do
7432 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
7434 test -z "$LD" && LD
=$ac_prog
7437 # If it fails, then pretend we aren't using GCC.
7441 # If it is relative, then search for the first ld in PATH.
7445 elif test yes = "$with_gnu_ld"; then
7446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
7447 $as_echo_n "checking for GNU ld... " >&6; }
7449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
7450 $as_echo_n "checking for non-GNU ld... " >&6; }
7452 if ${lt_cv_path_LD+:} false
; then :
7453 $as_echo_n "(cached) " >&6
7455 if test -z "$LD"; then
7456 lt_save_ifs
=$IFS; IFS
=$PATH_SEPARATOR
7457 for ac_dir
in $PATH; do
7459 test -z "$ac_dir" && ac_dir
=.
7460 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
7461 lt_cv_path_LD
=$ac_dir/$ac_prog
7462 # Check to see if the program is GNU ld. I'd rather use --version,
7463 # but apparently some variants of GNU ld only accept -v.
7464 # Break only if it was the GNU/non-GNU ld that we prefer.
7465 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
7466 *GNU
* | *'with BFD'*)
7467 test no
!= "$with_gnu_ld" && break
7470 test yes != "$with_gnu_ld" && break
7477 lt_cv_path_LD
=$LD # Let the user override the test with a path.
7482 if test -n "$LD"; then
7483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
7484 $as_echo "$LD" >&6; }
7486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7487 $as_echo "no" >&6; }
7489 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
7490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
7491 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
7492 if ${lt_cv_prog_gnu_ld+:} false
; then :
7493 $as_echo_n "(cached) " >&6
7495 # I'd rather use --version here, but apparently some GNU lds only accept -v.
7496 case `$LD -v 2>&1 </dev/null` in
7497 *GNU
* | *'with BFD'*)
7498 lt_cv_prog_gnu_ld
=yes
7501 lt_cv_prog_gnu_ld
=no
7505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
7506 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
7507 with_gnu_ld
=$lt_cv_prog_gnu_ld
7517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
7518 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
7519 if ${lt_cv_path_NM+:} false
; then :
7520 $as_echo_n "(cached) " >&6
7522 if test -n "$NM"; then
7523 # Let the user override the test.
7526 lt_nm_to_check
=${ac_tool_prefix}nm
7527 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
7528 lt_nm_to_check
="$lt_nm_to_check nm"
7530 for lt_tmp_nm
in $lt_nm_to_check; do
7531 lt_save_ifs
=$IFS; IFS
=$PATH_SEPARATOR
7532 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
7534 test -z "$ac_dir" && ac_dir
=.
7535 tmp_nm
=$ac_dir/$lt_tmp_nm
7536 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
7537 # Check to see if the nm accepts a BSD-compat flag.
7538 # Adding the 'sed 1q' prevents false positives on HP-UX, which says:
7539 # nm: unknown option "B" ignored
7540 # Tru64's nm complains that /dev/null is an invalid object file
7541 # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
7543 mingw
*) lt_bad_file
=conftest.nm
/nofile
;;
7544 *) lt_bad_file
=/dev
/null
;;
7546 case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
7547 *$lt_bad_file* | *'Invalid file or object type'*)
7548 lt_cv_path_NM
="$tmp_nm -B"
7552 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
7554 lt_cv_path_NM
="$tmp_nm -p"
7558 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
7559 continue # so that we can try to find one that supports BSD flags
7568 : ${lt_cv_path_NM=no}
7571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
7572 $as_echo "$lt_cv_path_NM" >&6; }
7573 if test no
!= "$lt_cv_path_NM"; then
7576 # Didn't find any BSD compatible name lister, look for dumpbin.
7577 if test -n "$DUMPBIN"; then :
7578 # Let the user override the test.
7580 if test -n "$ac_tool_prefix"; then
7581 for ac_prog
in dumpbin
"link -dump"
7583 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7584 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
7585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7586 $as_echo_n "checking for $ac_word... " >&6; }
7587 if ${ac_cv_prog_DUMPBIN+:} false
; then :
7588 $as_echo_n "(cached) " >&6
7590 if test -n "$DUMPBIN"; then
7591 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
7593 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7597 test -z "$as_dir" && as_dir
=.
7598 for ac_exec_ext
in '' $ac_executable_extensions; do
7599 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7600 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
7601 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7610 DUMPBIN
=$ac_cv_prog_DUMPBIN
7611 if test -n "$DUMPBIN"; then
7612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
7613 $as_echo "$DUMPBIN" >&6; }
7615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7616 $as_echo "no" >&6; }
7620 test -n "$DUMPBIN" && break
7623 if test -z "$DUMPBIN"; then
7624 ac_ct_DUMPBIN
=$DUMPBIN
7625 for ac_prog
in dumpbin
"link -dump"
7627 # Extract the first word of "$ac_prog", so it can be a program name with args.
7628 set dummy
$ac_prog; ac_word
=$2
7629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7630 $as_echo_n "checking for $ac_word... " >&6; }
7631 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false
; then :
7632 $as_echo_n "(cached) " >&6
7634 if test -n "$ac_ct_DUMPBIN"; then
7635 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
7637 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7641 test -z "$as_dir" && as_dir
=.
7642 for ac_exec_ext
in '' $ac_executable_extensions; do
7643 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7644 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
7645 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7654 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
7655 if test -n "$ac_ct_DUMPBIN"; then
7656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
7657 $as_echo "$ac_ct_DUMPBIN" >&6; }
7659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7660 $as_echo "no" >&6; }
7664 test -n "$ac_ct_DUMPBIN" && break
7667 if test "x$ac_ct_DUMPBIN" = x
; then
7670 case $cross_compiling:$ac_tool_warned in
7672 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7673 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7674 ac_tool_warned
=yes ;;
7676 DUMPBIN
=$ac_ct_DUMPBIN
7680 case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
7682 DUMPBIN
="$DUMPBIN -symbols -headers"
7690 if test : != "$DUMPBIN"; then
7694 test -z "$NM" && NM
=nm
7701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
7702 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
7703 if ${lt_cv_nm_interface+:} false
; then :
7704 $as_echo_n "(cached) " >&6
7706 lt_cv_nm_interface
="BSD nm"
7707 echo "int some_variable = 0;" > conftest.
$ac_ext
7708 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
7709 (eval "$ac_compile" 2>conftest.err
)
7710 cat conftest.err
>&5
7711 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
7712 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
7713 cat conftest.err
>&5
7714 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
7715 cat conftest.out
>&5
7716 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
7717 lt_cv_nm_interface
="MS dumpbin"
7721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
7722 $as_echo "$lt_cv_nm_interface" >&6; }
7724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
7725 $as_echo_n "checking whether ln -s works... " >&6; }
7727 if test "$LN_S" = "ln -s"; then
7728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7729 $as_echo "yes" >&6; }
7731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
7732 $as_echo "no, using $LN_S" >&6; }
7735 # find the maximum length of command line arguments
7736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
7737 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
7738 if ${lt_cv_sys_max_cmd_len+:} false
; then :
7739 $as_echo_n "(cached) " >&6
7746 # On DJGPP, this test can blow up pretty badly due to problems in libc
7747 # (any single argument exceeding 2000 bytes causes a buffer overrun
7748 # during glob expansion). Even if it were fixed, the result of this
7749 # check would be larger than it should be.
7750 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
7754 # Under GNU Hurd, this test is not required because there is
7755 # no limit to the length of command line arguments.
7756 # Libtool will interpret -1 as no limit whatsoever
7757 lt_cv_sys_max_cmd_len
=-1;
7760 cygwin
* | mingw
* | cegcc
*)
7761 # On Win9x/ME, this test blows up -- it succeeds, but takes
7762 # about 5 minutes as the teststring grows exponentially.
7763 # Worse, since 9x/ME are not pre-emptively multitasking,
7764 # you end up with a "frozen" computer, even though with patience
7765 # the test eventually succeeds (with a max line length of 256k).
7766 # Instead, let's just punt: use the minimum linelength reported by
7767 # all of the supported platforms: 8192 (on NT/2K/XP).
7768 lt_cv_sys_max_cmd_len
=8192;
7772 # On MiNT this can take a long time and run out of memory.
7773 lt_cv_sys_max_cmd_len
=8192;
7777 # On AmigaOS with pdksh, this test takes hours, literally.
7778 # So we just punt and use a minimum line length of 8192.
7779 lt_cv_sys_max_cmd_len
=8192;
7782 bitrig
* | darwin
* | dragonfly
* | freebsd
* | netbsd
* | openbsd
*)
7783 # This has been around since 386BSD, at least. Likely further.
7784 if test -x /sbin
/sysctl
; then
7785 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
7786 elif test -x /usr
/sbin
/sysctl
; then
7787 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
7789 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
7791 # And add a safety zone
7792 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
7793 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
7797 # We know the value 262144 and hardcode it with a safety zone (like BSD)
7798 lt_cv_sys_max_cmd_len
=196608
7802 # The test takes a long time on OS/2.
7803 lt_cv_sys_max_cmd_len
=8192
7807 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
7808 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
7809 # nice to cause kernel panics so lets avoid the loop below.
7810 # First set a reasonable default.
7811 lt_cv_sys_max_cmd_len
=16384
7813 if test -x /sbin
/sysconfig
; then
7814 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
7815 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
7820 lt_cv_sys_max_cmd_len
=102400
7822 sysv5
* | sco5v6
* | sysv4.2uw2
*)
7823 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
7824 if test -n "$kargmax"; then
7825 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
7827 lt_cv_sys_max_cmd_len
=32768
7831 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
7832 if test -n "$lt_cv_sys_max_cmd_len" && \
7833 test undefined
!= "$lt_cv_sys_max_cmd_len"; then
7834 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
7835 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
7837 # Make teststring a little bigger before we do anything with it.
7838 # a 1K string should be a reasonable start.
7839 for i
in 1 2 3 4 5 6 7 8; do
7840 teststring
=$teststring$teststring
7842 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
7843 # If test is not a shell built-in, we'll probably end up computing a
7844 # maximum length that is only half of the actual maximum length, but
7846 while { test X
`env echo "$teststring$teststring" 2>/dev/null` \
7847 = "X$teststring$teststring"; } >/dev
/null
2>&1 &&
7848 test 17 != "$i" # 1/2 MB should be enough
7851 teststring
=$teststring$teststring
7853 # Only check the string length outside the loop.
7854 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
7856 # Add a significant safety factor because C++ compilers can tack on
7857 # massive amounts of additional arguments before passing them to the
7858 # linker. It appears as though 1/2 is a usable value.
7859 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
7866 if test -n "$lt_cv_sys_max_cmd_len"; then
7867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
7868 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
7870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
7871 $as_echo "none" >&6; }
7873 max_cmd_len
=$lt_cv_sys_max_cmd_len
7884 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
7894 # test EBCDIC or ASCII
7895 case `echo X|tr X '\101'` in
7896 A
) # ASCII based system
7897 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
7898 lt_SP2NL
='tr \040 \012'
7899 lt_NL2SP
='tr \015\012 \040\040'
7901 *) # EBCDIC based system
7902 lt_SP2NL
='tr \100 \n'
7903 lt_NL2SP
='tr \r\n \100\100'
7915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
7916 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
7917 if ${lt_cv_to_host_file_cmd+:} false
; then :
7918 $as_echo_n "(cached) " >&6
7923 *-*-mingw* ) # actually msys
7924 lt_cv_to_host_file_cmd
=func_convert_file_msys_to_w32
7927 lt_cv_to_host_file_cmd
=func_convert_file_cygwin_to_w32
7929 * ) # otherwise, assume *nix
7930 lt_cv_to_host_file_cmd
=func_convert_file_nix_to_w32
7936 *-*-mingw* ) # actually msys
7937 lt_cv_to_host_file_cmd
=func_convert_file_msys_to_cygwin
7940 lt_cv_to_host_file_cmd
=func_convert_file_noop
7942 * ) # otherwise, assume *nix
7943 lt_cv_to_host_file_cmd
=func_convert_file_nix_to_cygwin
7947 * ) # unhandled hosts (and "normal" native builds)
7948 lt_cv_to_host_file_cmd
=func_convert_file_noop
7954 to_host_file_cmd
=$lt_cv_to_host_file_cmd
7955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
7956 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
7962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
7963 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
7964 if ${lt_cv_to_tool_file_cmd+:} false
; then :
7965 $as_echo_n "(cached) " >&6
7967 #assume ordinary cross tools, or native build.
7968 lt_cv_to_tool_file_cmd
=func_convert_file_noop
7972 *-*-mingw* ) # actually msys
7973 lt_cv_to_tool_file_cmd
=func_convert_file_msys_to_w32
7981 to_tool_file_cmd
=$lt_cv_to_tool_file_cmd
7982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
7983 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
7989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
7990 $as_echo_n "checking for $LD option to reload object files... " >&6; }
7991 if ${lt_cv_ld_reload_flag+:} false
; then :
7992 $as_echo_n "(cached) " >&6
7994 lt_cv_ld_reload_flag
='-r'
7996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
7997 $as_echo "$lt_cv_ld_reload_flag" >&6; }
7998 reload_flag
=$lt_cv_ld_reload_flag
7999 case $reload_flag in
8001 *) reload_flag
=" $reload_flag" ;;
8003 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
8005 cygwin
* | mingw
* | pw32
* | cegcc
*)
8006 if test yes != "$GCC"; then
8011 if test yes = "$GCC"; then
8012 reload_cmds
='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
8014 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
8027 if test -n "$ac_tool_prefix"; then
8028 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
8029 set dummy
${ac_tool_prefix}objdump
; ac_word
=$2
8030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8031 $as_echo_n "checking for $ac_word... " >&6; }
8032 if ${ac_cv_prog_OBJDUMP+:} false
; then :
8033 $as_echo_n "(cached) " >&6
8035 if test -n "$OBJDUMP"; then
8036 ac_cv_prog_OBJDUMP
="$OBJDUMP" # Let the user override the test.
8038 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8042 test -z "$as_dir" && as_dir
=.
8043 for ac_exec_ext
in '' $ac_executable_extensions; do
8044 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8045 ac_cv_prog_OBJDUMP
="${ac_tool_prefix}objdump"
8046 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8055 OBJDUMP
=$ac_cv_prog_OBJDUMP
8056 if test -n "$OBJDUMP"; then
8057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
8058 $as_echo "$OBJDUMP" >&6; }
8060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8061 $as_echo "no" >&6; }
8066 if test -z "$ac_cv_prog_OBJDUMP"; then
8067 ac_ct_OBJDUMP
=$OBJDUMP
8068 # Extract the first word of "objdump", so it can be a program name with args.
8069 set dummy objdump
; ac_word
=$2
8070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8071 $as_echo_n "checking for $ac_word... " >&6; }
8072 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false
; then :
8073 $as_echo_n "(cached) " >&6
8075 if test -n "$ac_ct_OBJDUMP"; then
8076 ac_cv_prog_ac_ct_OBJDUMP
="$ac_ct_OBJDUMP" # Let the user override the test.
8078 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8082 test -z "$as_dir" && as_dir
=.
8083 for ac_exec_ext
in '' $ac_executable_extensions; do
8084 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8085 ac_cv_prog_ac_ct_OBJDUMP
="objdump"
8086 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8095 ac_ct_OBJDUMP
=$ac_cv_prog_ac_ct_OBJDUMP
8096 if test -n "$ac_ct_OBJDUMP"; then
8097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
8098 $as_echo "$ac_ct_OBJDUMP" >&6; }
8100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8101 $as_echo "no" >&6; }
8104 if test "x$ac_ct_OBJDUMP" = x
; then
8107 case $cross_compiling:$ac_tool_warned in
8109 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8110 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8111 ac_tool_warned
=yes ;;
8113 OBJDUMP
=$ac_ct_OBJDUMP
8116 OBJDUMP
="$ac_cv_prog_OBJDUMP"
8119 test -z "$OBJDUMP" && OBJDUMP
=objdump
8129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
8130 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
8131 if ${lt_cv_deplibs_check_method+:} false
; then :
8132 $as_echo_n "(cached) " >&6
8134 lt_cv_file_magic_cmd
='$MAGIC_CMD'
8135 lt_cv_file_magic_test_file
=
8136 lt_cv_deplibs_check_method
='unknown'
8137 # Need to set the preceding variable on all platforms that support
8138 # interlibrary dependencies.
8139 # 'none' -- dependencies not supported.
8140 # 'unknown' -- same as none, but documents that we really don't know.
8141 # 'pass_all' -- all dependencies passed with no checks.
8142 # 'test_compile' -- check by making test program.
8143 # 'file_magic [[regex]]' -- check by looking for files in library path
8144 # that responds to the $file_magic_cmd with a given extended regex.
8145 # If you have 'file' or equivalent on your system and you're not sure
8146 # whether 'pass_all' will *always* work, you probably want this one.
8150 lt_cv_deplibs_check_method
=pass_all
8154 lt_cv_deplibs_check_method
=pass_all
8158 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
8159 lt_cv_file_magic_cmd
='/usr/bin/file -L'
8160 lt_cv_file_magic_test_file
=/shlib
/libc.so
8164 # func_win32_libid is a shell function defined in ltmain.sh
8165 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
8166 lt_cv_file_magic_cmd
='func_win32_libid'
8170 # Base MSYS/MinGW do not provide the 'file' command needed by
8171 # func_win32_libid shell function, so use a weaker test based on 'objdump',
8172 # unless we find 'file', for example because we are cross-compiling.
8173 if ( file / ) >/dev
/null
2>&1; then
8174 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
8175 lt_cv_file_magic_cmd
='func_win32_libid'
8177 # Keep this pattern in sync with the one in func_win32_libid.
8178 lt_cv_deplibs_check_method
='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
8179 lt_cv_file_magic_cmd
='$OBJDUMP -f'
8184 # use the weaker test based on 'objdump'. See mingw*.
8185 lt_cv_deplibs_check_method
='file_magic file format pe-arm-.*little(.*architecture: arm)?'
8186 lt_cv_file_magic_cmd
='$OBJDUMP -f'
8189 darwin
* | rhapsody
*)
8190 lt_cv_deplibs_check_method
=pass_all
8193 freebsd
* | dragonfly
*)
8194 if echo __ELF__
| $CC -E - | $GREP __ELF__
> /dev
/null
; then
8197 # Not sure whether the presence of OpenBSD here was a mistake.
8198 # Let's accept both of them until this is cleared up.
8199 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
8200 lt_cv_file_magic_cmd
=/usr
/bin
/file
8201 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
8205 lt_cv_deplibs_check_method
=pass_all
8210 lt_cv_deplibs_check_method
=pass_all
8213 hpux10.20
* | hpux11
*)
8214 lt_cv_file_magic_cmd
=/usr
/bin
/file
8217 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
8218 lt_cv_file_magic_test_file
=/usr
/lib
/hpux
32/libc.so
8221 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]'
8222 lt_cv_file_magic_test_file
=/usr
/lib
/pa
20_
64/libc.sl
8225 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
8226 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
8232 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
8233 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|\.a)$'
8236 irix5
* | irix6
* | nonstopux
*)
8238 *-32|*"-32 ") libmagic
=32-bit;;
8239 *-n32|*"-n32 ") libmagic
=N32
;;
8240 *-64|*"-64 ") libmagic
=64-bit;;
8241 *) libmagic
=never
-match;;
8243 lt_cv_deplibs_check_method
=pass_all
8246 # This must be glibc/ELF.
8247 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
8248 lt_cv_deplibs_check_method
=pass_all
8252 if echo __ELF__
| $CC -E - | $GREP __ELF__
> /dev
/null
; then
8253 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
8255 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|_pic\.a)$'
8260 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
8261 lt_cv_file_magic_cmd
=/usr
/bin
/file
8262 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
8266 lt_cv_deplibs_check_method
=pass_all
8270 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
8271 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
8273 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
8277 osf3
* | osf4
* | osf5
*)
8278 lt_cv_deplibs_check_method
=pass_all
8282 lt_cv_deplibs_check_method
=pass_all
8286 lt_cv_deplibs_check_method
=pass_all
8289 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
8290 lt_cv_deplibs_check_method
=pass_all
8294 case $host_vendor in
8296 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]'
8297 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
8300 lt_cv_deplibs_check_method
=pass_all
8303 lt_cv_file_magic_cmd
='/bin/file'
8304 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
8307 lt_cv_file_magic_cmd
='/bin/file'
8308 lt_cv_deplibs_check_method
="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
8309 lt_cv_file_magic_test_file
=/lib
/libc.so
8312 lt_cv_deplibs_check_method
=pass_all
8315 lt_cv_deplibs_check_method
=pass_all
8321 lt_cv_deplibs_check_method
=pass_all
8324 lt_cv_deplibs_check_method
=pass_all
8329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
8330 $as_echo "$lt_cv_deplibs_check_method" >&6; }
8334 if test "$build" = "$host"; then
8337 if ( shopt | grep nocaseglob
) >/dev
/null
2>&1; then
8340 file_magic_glob
=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
8346 file_magic_cmd
=$lt_cv_file_magic_cmd
8347 deplibs_check_method
=$lt_cv_deplibs_check_method
8348 test -z "$deplibs_check_method" && deplibs_check_method
=unknown
8371 if test -n "$ac_tool_prefix"; then
8372 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8373 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
8374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8375 $as_echo_n "checking for $ac_word... " >&6; }
8376 if ${ac_cv_prog_DLLTOOL+:} false
; then :
8377 $as_echo_n "(cached) " >&6
8379 if test -n "$DLLTOOL"; then
8380 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
8382 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8386 test -z "$as_dir" && as_dir
=.
8387 for ac_exec_ext
in '' $ac_executable_extensions; do
8388 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8389 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
8390 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8399 DLLTOOL
=$ac_cv_prog_DLLTOOL
8400 if test -n "$DLLTOOL"; then
8401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8402 $as_echo "$DLLTOOL" >&6; }
8404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8405 $as_echo "no" >&6; }
8410 if test -z "$ac_cv_prog_DLLTOOL"; then
8411 ac_ct_DLLTOOL
=$DLLTOOL
8412 # Extract the first word of "dlltool", so it can be a program name with args.
8413 set dummy dlltool
; ac_word
=$2
8414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8415 $as_echo_n "checking for $ac_word... " >&6; }
8416 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false
; then :
8417 $as_echo_n "(cached) " >&6
8419 if test -n "$ac_ct_DLLTOOL"; then
8420 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
8422 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8426 test -z "$as_dir" && as_dir
=.
8427 for ac_exec_ext
in '' $ac_executable_extensions; do
8428 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8429 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
8430 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8439 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
8440 if test -n "$ac_ct_DLLTOOL"; then
8441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8442 $as_echo "$ac_ct_DLLTOOL" >&6; }
8444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8445 $as_echo "no" >&6; }
8448 if test "x$ac_ct_DLLTOOL" = x
; then
8451 case $cross_compiling:$ac_tool_warned in
8453 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8454 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8455 ac_tool_warned
=yes ;;
8457 DLLTOOL
=$ac_ct_DLLTOOL
8460 DLLTOOL
="$ac_cv_prog_DLLTOOL"
8463 test -z "$DLLTOOL" && DLLTOOL
=dlltool
8474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
8475 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
8476 if ${lt_cv_sharedlib_from_linklib_cmd+:} false
; then :
8477 $as_echo_n "(cached) " >&6
8479 lt_cv_sharedlib_from_linklib_cmd
='unknown'
8482 cygwin
* | mingw
* | pw32
* | cegcc
*)
8483 # two different shell functions defined in ltmain.sh;
8484 # decide which one to use based on capabilities of $DLLTOOL
8485 case `$DLLTOOL --help 2>&1` in
8486 *--identify-strict*)
8487 lt_cv_sharedlib_from_linklib_cmd
=func_cygming_dll_for_implib
8490 lt_cv_sharedlib_from_linklib_cmd
=func_cygming_dll_for_implib_fallback
8495 # fallback: assume linklib IS sharedlib
8496 lt_cv_sharedlib_from_linklib_cmd
=$ECHO
8501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
8502 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
8503 sharedlib_from_linklib_cmd
=$lt_cv_sharedlib_from_linklib_cmd
8504 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd
=$ECHO
8512 if test -n "$ac_tool_prefix"; then
8515 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
8516 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
8517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8518 $as_echo_n "checking for $ac_word... " >&6; }
8519 if ${ac_cv_prog_AR+:} false
; then :
8520 $as_echo_n "(cached) " >&6
8522 if test -n "$AR"; then
8523 ac_cv_prog_AR
="$AR" # Let the user override the test.
8525 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8529 test -z "$as_dir" && as_dir
=.
8530 for ac_exec_ext
in '' $ac_executable_extensions; do
8531 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8532 ac_cv_prog_AR
="$ac_tool_prefix$ac_prog"
8533 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8543 if test -n "$AR"; then
8544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
8545 $as_echo "$AR" >&6; }
8547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8548 $as_echo "no" >&6; }
8552 test -n "$AR" && break
8555 if test -z "$AR"; then
8559 # Extract the first word of "$ac_prog", so it can be a program name with args.
8560 set dummy
$ac_prog; ac_word
=$2
8561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8562 $as_echo_n "checking for $ac_word... " >&6; }
8563 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
8564 $as_echo_n "(cached) " >&6
8566 if test -n "$ac_ct_AR"; then
8567 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
8569 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8573 test -z "$as_dir" && as_dir
=.
8574 for ac_exec_ext
in '' $ac_executable_extensions; do
8575 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8576 ac_cv_prog_ac_ct_AR
="$ac_prog"
8577 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8586 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
8587 if test -n "$ac_ct_AR"; then
8588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
8589 $as_echo "$ac_ct_AR" >&6; }
8591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8592 $as_echo "no" >&6; }
8596 test -n "$ac_ct_AR" && break
8599 if test "x$ac_ct_AR" = x
; then
8602 case $cross_compiling:$ac_tool_warned in
8604 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8605 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8606 ac_tool_warned
=yes ;;
8625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
8626 $as_echo_n "checking for archiver @FILE support... " >&6; }
8627 if ${lt_cv_ar_at_file+:} false
; then :
8628 $as_echo_n "(cached) " >&6
8631 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8632 /* end confdefs.h. */
8642 if ac_fn_c_try_compile
"$LINENO"; then :
8643 echo conftest.
$ac_objext > conftest.lst
8644 lt_ar_try
='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
8645 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
8646 (eval $lt_ar_try) 2>&5
8648 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8649 test $ac_status = 0; }
8650 if test 0 -eq "$ac_status"; then
8651 # Ensure the archiver fails upon bogus file names.
8652 rm -f conftest.
$ac_objext libconftest.a
8653 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
8654 (eval $lt_ar_try) 2>&5
8656 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8657 test $ac_status = 0; }
8658 if test 0 -ne "$ac_status"; then
8662 rm -f conftest.
* libconftest.a
8665 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
8669 $as_echo "$lt_cv_ar_at_file" >&6; }
8671 if test no
= "$lt_cv_ar_at_file"; then
8674 archiver_list_spec
=$lt_cv_ar_at_file
8683 if test -n "$ac_tool_prefix"; then
8684 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
8685 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
8686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8687 $as_echo_n "checking for $ac_word... " >&6; }
8688 if ${ac_cv_prog_STRIP+:} false
; then :
8689 $as_echo_n "(cached) " >&6
8691 if test -n "$STRIP"; then
8692 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
8694 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8698 test -z "$as_dir" && as_dir
=.
8699 for ac_exec_ext
in '' $ac_executable_extensions; do
8700 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8701 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
8702 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8711 STRIP
=$ac_cv_prog_STRIP
8712 if test -n "$STRIP"; then
8713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
8714 $as_echo "$STRIP" >&6; }
8716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8717 $as_echo "no" >&6; }
8722 if test -z "$ac_cv_prog_STRIP"; then
8724 # Extract the first word of "strip", so it can be a program name with args.
8725 set dummy strip
; ac_word
=$2
8726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8727 $as_echo_n "checking for $ac_word... " >&6; }
8728 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
8729 $as_echo_n "(cached) " >&6
8731 if test -n "$ac_ct_STRIP"; then
8732 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
8734 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8738 test -z "$as_dir" && as_dir
=.
8739 for ac_exec_ext
in '' $ac_executable_extensions; do
8740 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8741 ac_cv_prog_ac_ct_STRIP
="strip"
8742 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8751 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
8752 if test -n "$ac_ct_STRIP"; then
8753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
8754 $as_echo "$ac_ct_STRIP" >&6; }
8756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8757 $as_echo "no" >&6; }
8760 if test "x$ac_ct_STRIP" = x
; then
8763 case $cross_compiling:$ac_tool_warned in
8765 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8766 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8767 ac_tool_warned
=yes ;;
8772 STRIP
="$ac_cv_prog_STRIP"
8775 test -z "$STRIP" && STRIP
=:
8782 if test -n "$ac_tool_prefix"; then
8783 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
8784 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
8785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8786 $as_echo_n "checking for $ac_word... " >&6; }
8787 if ${ac_cv_prog_RANLIB+:} false
; then :
8788 $as_echo_n "(cached) " >&6
8790 if test -n "$RANLIB"; then
8791 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
8793 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8797 test -z "$as_dir" && as_dir
=.
8798 for ac_exec_ext
in '' $ac_executable_extensions; do
8799 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8800 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
8801 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8810 RANLIB
=$ac_cv_prog_RANLIB
8811 if test -n "$RANLIB"; then
8812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
8813 $as_echo "$RANLIB" >&6; }
8815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8816 $as_echo "no" >&6; }
8821 if test -z "$ac_cv_prog_RANLIB"; then
8822 ac_ct_RANLIB
=$RANLIB
8823 # Extract the first word of "ranlib", so it can be a program name with args.
8824 set dummy ranlib
; ac_word
=$2
8825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8826 $as_echo_n "checking for $ac_word... " >&6; }
8827 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
8828 $as_echo_n "(cached) " >&6
8830 if test -n "$ac_ct_RANLIB"; then
8831 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
8833 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8837 test -z "$as_dir" && as_dir
=.
8838 for ac_exec_ext
in '' $ac_executable_extensions; do
8839 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8840 ac_cv_prog_ac_ct_RANLIB
="ranlib"
8841 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8850 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
8851 if test -n "$ac_ct_RANLIB"; then
8852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
8853 $as_echo "$ac_ct_RANLIB" >&6; }
8855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8856 $as_echo "no" >&6; }
8859 if test "x$ac_ct_RANLIB" = x
; then
8862 case $cross_compiling:$ac_tool_warned in
8864 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8865 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8866 ac_tool_warned
=yes ;;
8868 RANLIB
=$ac_ct_RANLIB
8871 RANLIB
="$ac_cv_prog_RANLIB"
8874 test -z "$RANLIB" && RANLIB
=:
8881 # Determine commands to create old-style static archives.
8882 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs'
8883 old_postinstall_cmds
='chmod 644 $oldlib'
8884 old_postuninstall_cmds
=
8886 if test -n "$RANLIB"; then
8889 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
8892 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
8895 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$tool_oldlib"
8900 lock_old_archive_extraction
=yes ;;
8902 lock_old_archive_extraction
=no
;;
8943 # If no C compiler was specified, use CC.
8946 # If no C compiler flags were specified, use CFLAGS.
8947 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
8949 # Allow CC to be a program name with arguments.
8953 # Check for command to grab the raw symbol name followed by C symbol from nm.
8954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
8955 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
8956 if ${lt_cv_sys_global_symbol_pipe+:} false
; then :
8957 $as_echo_n "(cached) " >&6
8960 # These are sane defaults that work on at least a few old systems.
8961 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
8963 # Character class describing NM global symbol codes.
8964 symcode
='[BCDEGRST]'
8966 # Regexp to match symbols that can be accessed directly from C.
8967 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
8969 # Define system-specific variables.
8974 cygwin
* | mingw
* | pw32
* | cegcc
*)
8975 symcode
='[ABCDGISTW]'
8978 if test ia64
= "$host_cpu"; then
8979 symcode
='[ABCDEGRST]'
8983 symcode
='[BCDEGRST]'
8986 symcode
='[BCDEGQRST]'
8997 sysv5
* | sco5v6
* | unixware
* | OpenUNIX
*)
9005 # If we're using GNU nm, then use its standard symbol codes.
9006 case `$NM -V 2>&1` in
9007 *GNU
* | *'with BFD'*)
9008 symcode
='[ABCDGIRSTW]' ;;
9011 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
9012 # Gets list of data symbols to import.
9013 lt_cv_sys_global_symbol_to_import
="sed -n -e 's/^I .* \(.*\)$/\1/p'"
9014 # Adjust the below global symbol transforms to fixup imported variables.
9015 lt_cdecl_hook
=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
9016 lt_c_name_hook
=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'"
9017 lt_c_name_lib_hook
="\
9018 -e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\
9019 -e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'"
9021 # Disable hooks by default.
9022 lt_cv_sys_global_symbol_to_import
=
9028 # Transform an extracted symbol line into a proper C declaration.
9029 # Some systems (esp. on ia64) link data and code symbols differently,
9030 # so use this general approach.
9031 lt_cv_sys_global_symbol_to_cdecl
="sed -n"\
9033 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
9034 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
9036 # Transform an extracted symbol line into symbol name and symbol address
9037 lt_cv_sys_global_symbol_to_c_name_address
="sed -n"\
9039 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
9040 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'"
9042 # Transform an extracted symbol line into symbol name with lib prefix and
9044 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
="sed -n"\
9045 $lt_c_name_lib_hook\
9046 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
9047 " -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\
9048 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'"
9050 # Handle CRLF in mingw tool chain
9054 opt_cr
=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
9058 # Try without a prefix underscore, then with it.
9059 for ac_symprfx
in "" "_"; do
9061 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
9062 symxfrm
="\\1 $ac_symprfx\\2 \\2"
9064 # Write the raw and C identifiers.
9065 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
9066 # Fake it for dumpbin and say T for any non-static function,
9067 # D for any global variable and I for any imported variable.
9068 # Also find C++ and __fastcall symbols from MSVC++,
9069 # which start with @ or ?.
9070 lt_cv_sys_global_symbol_pipe
="$AWK '"\
9071 " {last_section=section; section=\$ 3};"\
9072 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
9073 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
9074 " /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
9075 " /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
9076 " /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
9077 " \$ 0!~/External *\|/{next};"\
9078 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
9079 " {if(hide[section]) next};"\
9080 " {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
9081 " {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
9082 " s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
9083 " s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
9084 " ' prfx=^$ac_symprfx"
9086 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
9088 lt_cv_sys_global_symbol_pipe
="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
9090 # Check to see that the pipe works correctly.
9094 cat > conftest.
$ac_ext <<_LT_EOF
9099 void nm_test_func(void);
9100 void nm_test_func(void){}
9104 int main(){nm_test_var='a';nm_test_func();return(0);}
9107 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9108 (eval $ac_compile) 2>&5
9110 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9111 test $ac_status = 0; }; then
9112 # Now try to grab the symbols.
9114 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
9115 (eval $NM conftest.
$ac_objext \
| "$lt_cv_sys_global_symbol_pipe" \
> $nlist) 2>&5
9117 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9118 test $ac_status = 0; } && test -s "$nlist"; then
9119 # Try sorting and uniquifying the output.
9120 if sort "$nlist" | uniq > "$nlist"T
; then
9121 mv -f "$nlist"T
"$nlist"
9126 # Make sure that we snagged all the symbols we need.
9127 if $GREP ' nm_test_var$' "$nlist" >/dev
/null
; then
9128 if $GREP ' nm_test_func$' "$nlist" >/dev
/null
; then
9129 cat <<_LT_EOF > conftest.$ac_ext
9130 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
9131 #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
9132 /* DATA imports from DLLs on WIN32 can't be const, because runtime
9133 relocations are performed -- see ld's documentation on pseudo-relocs. */
9134 # define LT_DLSYM_CONST
9135 #elif defined __osf__
9136 /* This system does not cope well with relocations in const data. */
9137 # define LT_DLSYM_CONST
9139 # define LT_DLSYM_CONST const
9147 # Now generate the symbol file.
9148 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
9150 cat <<_LT_EOF >> conftest.$ac_ext
9152 /* The mapping between symbol names and symbols. */
9153 LT_DLSYM_CONST struct {
9157 lt__PROGRAM__LTX_preloaded_symbols[] =
9159 { "@PROGRAM@", (void *) 0 },
9161 $SED "s/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main
>> conftest.
$ac_ext
9162 cat <<\_LT_EOF
>> conftest.
$ac_ext
9166 /* This works around a problem
in FreeBSD linker
*/
9167 #ifdef FREEBSD_WORKAROUND
9168 static const void
*lt_preloaded_setup
() {
9169 return lt__PROGRAM__LTX_preloaded_symbols
;
9177 # Now try linking the two files.
9178 mv conftest.
$ac_objext conftstm.
$ac_objext
9179 lt_globsym_save_LIBS
=$LIBS
9180 lt_globsym_save_CFLAGS
=$CFLAGS
9181 LIBS
=conftstm.
$ac_objext
9182 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
9183 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
9184 (eval $ac_link) 2>&5
9186 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9187 test $ac_status = 0; } && test -s conftest
$ac_exeext; then
9190 LIBS
=$lt_globsym_save_LIBS
9191 CFLAGS
=$lt_globsym_save_CFLAGS
9193 echo "cannot find nm_test_func in $nlist" >&5
9196 echo "cannot find nm_test_var in $nlist" >&5
9199 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
9202 echo "$progname: failed program was:" >&5
9203 cat conftest.
$ac_ext >&5
9205 rm -rf conftest
* conftst
*
9207 # Do not use the global_symbol_pipe unless it works.
9208 if test yes = "$pipe_works"; then
9211 lt_cv_sys_global_symbol_pipe
=
9217 if test -z "$lt_cv_sys_global_symbol_pipe"; then
9218 lt_cv_sys_global_symbol_to_cdecl
=
9220 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
9221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
9222 $as_echo "failed" >&6; }
9224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
9225 $as_echo "ok" >&6; }
9228 # Response file support.
9229 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
9230 nm_file_list_spec
='@'
9231 elif $NM --help 2>/dev
/null
| grep '[@]FILE' >/dev
/null
; then
9232 nm_file_list_spec
='@'
9271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
9272 $as_echo_n "checking for sysroot... " >&6; }
9274 # Check whether --with-sysroot was given.
9275 if test "${with_sysroot+set}" = set; then :
9276 withval
=$with_sysroot;
9283 case $with_sysroot in #(
9285 if test yes = "$GCC"; then
9286 lt_sysroot
=`$CC --print-sysroot 2>/dev/null`
9290 lt_sysroot
=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
9295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
9296 $as_echo "$with_sysroot" >&6; }
9297 as_fn_error $?
"The sysroot must be an absolute path." "$LINENO" 5
9301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
9302 $as_echo "${lt_sysroot:-no}" >&6; }
9308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
9309 $as_echo_n "checking for a working dd... " >&6; }
9310 if ${ac_cv_path_lt_DD+:} false
; then :
9311 $as_echo_n "(cached) " >&6
9313 printf 0123456789abcdef0123456789abcdef
>conftest.i
9314 cat conftest.i conftest.i
>conftest2.i
9316 if test -z "$lt_DD"; then
9317 ac_path_lt_DD_found
=false
9318 # Loop through the user's path and test for each of PROGNAME-LIST
9319 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9323 test -z "$as_dir" && as_dir
=.
9324 for ac_prog
in dd; do
9325 for ac_exec_ext
in '' $ac_executable_extensions; do
9326 ac_path_lt_DD
="$as_dir/$ac_prog$ac_exec_ext"
9327 as_fn_executable_p
"$ac_path_lt_DD" || continue
9328 if "$ac_path_lt_DD" bs
=32 count
=1 <conftest2.i
>conftest.out
2>/dev
/null
; then
9329 cmp -s conftest.i conftest.out \
9330 && ac_cv_path_lt_DD
="$ac_path_lt_DD" ac_path_lt_DD_found
=:
9332 $ac_path_lt_DD_found && break 3
9337 if test -z "$ac_cv_path_lt_DD"; then
9341 ac_cv_path_lt_DD
=$lt_DD
9344 rm -f conftest.i conftest2.i conftest.out
9346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
9347 $as_echo "$ac_cv_path_lt_DD" >&6; }
9350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
9351 $as_echo_n "checking how to truncate binary pipes... " >&6; }
9352 if ${lt_cv_truncate_bin+:} false
; then :
9353 $as_echo_n "(cached) " >&6
9355 printf 0123456789abcdef0123456789abcdef
>conftest.i
9356 cat conftest.i conftest.i
>conftest2.i
9358 if "$ac_cv_path_lt_DD" bs
=32 count
=1 <conftest2.i
>conftest.out
2>/dev
/null
; then
9359 cmp -s conftest.i conftest.out \
9360 && lt_cv_truncate_bin
="$ac_cv_path_lt_DD bs=4096 count=1"
9362 rm -f conftest.i conftest2.i conftest.out
9363 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin
="$SED -e 4q"
9365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
9366 $as_echo "$lt_cv_truncate_bin" >&6; }
9374 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
9377 for cc_temp
in $
*""; do
9379 compile
| *[\\/]compile
| ccache
| *[\\/]ccache
) ;;
9380 distcc
| *[\\/]distcc
| purify
| *[\\/]purify
) ;;
9385 func_cc_basename_result
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
9388 # Check whether --enable-libtool-lock was given.
9389 if test "${enable_libtool_lock+set}" = set; then :
9390 enableval
=$enable_libtool_lock;
9393 test no
= "$enable_libtool_lock" || enable_libtool_lock
=yes
9395 # Some flags need to be propagated to the compiler or linker for good
9399 # Find out what ABI is being produced by ac_compile, and set mode
9400 # options accordingly.
9401 echo 'int i;' > conftest.
$ac_ext
9402 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9403 (eval $ac_compile) 2>&5
9405 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9406 test $ac_status = 0; }; then
9407 case `/usr/bin/file conftest.$ac_objext` in
9419 # Find out what ABI is being produced by ac_compile, and set linker
9420 # options accordingly.
9421 echo '#line '$LINENO' "configure"' > conftest.
$ac_ext
9422 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9423 (eval $ac_compile) 2>&5
9425 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9426 test $ac_status = 0; }; then
9427 if test yes = "$lt_cv_prog_gnu_ld"; then
9428 case `/usr/bin/file conftest.$ac_objext` in
9430 LD
="${LD-ld} -melf32bsmip"
9433 LD
="${LD-ld} -melf32bmipn32"
9436 LD
="${LD-ld} -melf64bmip"
9440 case `/usr/bin/file conftest.$ac_objext` in
9457 # Find out what ABI is being produced by ac_compile, and set linker
9458 # options accordingly.
9459 echo '#line '$LINENO' "configure"' > conftest.
$ac_ext
9460 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9461 (eval $ac_compile) 2>&5
9463 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9464 test $ac_status = 0; }; then
9466 case `/usr/bin/file conftest.$ac_objext` in
9474 case `/usr/bin/file conftest.$ac_objext` in
9476 emul
="${emul}btsmip"
9479 emul
="${emul}ltsmip"
9482 case `/usr/bin/file conftest.$ac_objext` in
9487 LD
="${LD-ld} -m $emul"
9492 x86_64
-*kfreebsd
*-gnu|x86_64
-*linux
*|powerpc
*-*linux
*| \
9493 s390
*-*linux
*|s390
*-*tpf
*|sparc
*-*linux
*)
9494 # Find out what ABI is being produced by ac_compile, and set linker
9495 # options accordingly. Note that the listed cases only cover the
9496 # situations where additional linker options are needed (such as when
9497 # doing 32-bit compilation for a host where ld defaults to 64-bit, or
9498 # vice versa); the common cases where no linker options are needed do
9499 # not appear in the list.
9500 echo 'int i;' > conftest.
$ac_ext
9501 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9502 (eval $ac_compile) 2>&5
9504 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9505 test $ac_status = 0; }; then
9506 case `/usr/bin/file conftest.o` in
9509 x86_64
-*kfreebsd
*-gnu)
9510 LD
="${LD-ld} -m elf_i386_fbsd"
9513 case `/usr/bin/file conftest.o` in
9515 LD
="${LD-ld} -m elf32_x86_64"
9518 LD
="${LD-ld} -m elf_i386"
9522 powerpc64le
-*linux
*)
9523 LD
="${LD-ld} -m elf32lppclinux"
9526 LD
="${LD-ld} -m elf32ppclinux"
9529 LD
="${LD-ld} -m elf_s390"
9532 LD
="${LD-ld} -m elf32_sparc"
9538 x86_64
-*kfreebsd
*-gnu)
9539 LD
="${LD-ld} -m elf_x86_64_fbsd"
9542 LD
="${LD-ld} -m elf_x86_64"
9545 LD
="${LD-ld} -m elf64lppc"
9548 LD
="${LD-ld} -m elf64ppc"
9550 s390
*-*linux
*|s390
*-*tpf
*)
9551 LD
="${LD-ld} -m elf64_s390"
9554 LD
="${LD-ld} -m elf64_sparc"
9564 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
9566 CFLAGS
="$CFLAGS -belf"
9567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
9568 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
9569 if ${lt_cv_cc_needs_belf+:} false
; then :
9570 $as_echo_n "(cached) " >&6
9573 ac_cpp
='$CPP $CPPFLAGS'
9574 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9575 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9576 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
9578 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9579 /* end confdefs.h. */
9589 if ac_fn_c_try_link
"$LINENO"; then :
9590 lt_cv_cc_needs_belf
=yes
9592 lt_cv_cc_needs_belf
=no
9594 rm -f core conftest.err conftest.
$ac_objext \
9595 conftest
$ac_exeext conftest.
$ac_ext
9597 ac_cpp
='$CPP $CPPFLAGS'
9598 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9599 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9600 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
9603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
9604 $as_echo "$lt_cv_cc_needs_belf" >&6; }
9605 if test yes != "$lt_cv_cc_needs_belf"; then
9606 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
9611 # Find out what ABI is being produced by ac_compile, and set linker
9612 # options accordingly.
9613 echo 'int i;' > conftest.
$ac_ext
9614 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9615 (eval $ac_compile) 2>&5
9617 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9618 test $ac_status = 0; }; then
9619 case `/usr/bin/file conftest.o` in
9621 case $lt_cv_prog_gnu_ld in
9624 i?
86-*-solaris*|x86_64
-*-solaris*)
9625 LD
="${LD-ld} -m elf_x86_64"
9628 LD
="${LD-ld} -m elf64_sparc"
9631 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
9632 if ${LD-ld} -V | grep _sol2
>/dev
/null
2>&1; then
9637 if ${LD-ld} -64 -r -o conftest2.o conftest.o
>/dev
/null
2>&1; then
9649 need_locks
=$enable_libtool_lock
9651 if test -n "$ac_tool_prefix"; then
9652 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
9653 set dummy
${ac_tool_prefix}mt
; ac_word
=$2
9654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9655 $as_echo_n "checking for $ac_word... " >&6; }
9656 if ${ac_cv_prog_MANIFEST_TOOL+:} false
; then :
9657 $as_echo_n "(cached) " >&6
9659 if test -n "$MANIFEST_TOOL"; then
9660 ac_cv_prog_MANIFEST_TOOL
="$MANIFEST_TOOL" # Let the user override the test.
9662 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9666 test -z "$as_dir" && as_dir
=.
9667 for ac_exec_ext
in '' $ac_executable_extensions; do
9668 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9669 ac_cv_prog_MANIFEST_TOOL
="${ac_tool_prefix}mt"
9670 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9679 MANIFEST_TOOL
=$ac_cv_prog_MANIFEST_TOOL
9680 if test -n "$MANIFEST_TOOL"; then
9681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
9682 $as_echo "$MANIFEST_TOOL" >&6; }
9684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9685 $as_echo "no" >&6; }
9690 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
9691 ac_ct_MANIFEST_TOOL
=$MANIFEST_TOOL
9692 # Extract the first word of "mt", so it can be a program name with args.
9693 set dummy mt
; ac_word
=$2
9694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9695 $as_echo_n "checking for $ac_word... " >&6; }
9696 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false
; then :
9697 $as_echo_n "(cached) " >&6
9699 if test -n "$ac_ct_MANIFEST_TOOL"; then
9700 ac_cv_prog_ac_ct_MANIFEST_TOOL
="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
9702 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9706 test -z "$as_dir" && as_dir
=.
9707 for ac_exec_ext
in '' $ac_executable_extensions; do
9708 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9709 ac_cv_prog_ac_ct_MANIFEST_TOOL
="mt"
9710 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9719 ac_ct_MANIFEST_TOOL
=$ac_cv_prog_ac_ct_MANIFEST_TOOL
9720 if test -n "$ac_ct_MANIFEST_TOOL"; then
9721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
9722 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
9724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9725 $as_echo "no" >&6; }
9728 if test "x$ac_ct_MANIFEST_TOOL" = x
; then
9731 case $cross_compiling:$ac_tool_warned in
9733 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9734 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9735 ac_tool_warned
=yes ;;
9737 MANIFEST_TOOL
=$ac_ct_MANIFEST_TOOL
9740 MANIFEST_TOOL
="$ac_cv_prog_MANIFEST_TOOL"
9743 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL
=mt
9744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
9745 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
9746 if ${lt_cv_path_mainfest_tool+:} false
; then :
9747 $as_echo_n "(cached) " >&6
9749 lt_cv_path_mainfest_tool
=no
9750 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
9751 $MANIFEST_TOOL '-?' 2>conftest.err
> conftest.out
9752 cat conftest.err
>&5
9753 if $GREP 'Manifest Tool' conftest.out
> /dev
/null
; then
9754 lt_cv_path_mainfest_tool
=yes
9758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
9759 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
9760 if test yes != "$lt_cv_path_mainfest_tool"; then
9770 rhapsody
* | darwin
*)
9771 if test -n "$ac_tool_prefix"; then
9772 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
9773 set dummy
${ac_tool_prefix}dsymutil
; ac_word
=$2
9774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9775 $as_echo_n "checking for $ac_word... " >&6; }
9776 if ${ac_cv_prog_DSYMUTIL+:} false
; then :
9777 $as_echo_n "(cached) " >&6
9779 if test -n "$DSYMUTIL"; then
9780 ac_cv_prog_DSYMUTIL
="$DSYMUTIL" # Let the user override the test.
9782 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9786 test -z "$as_dir" && as_dir
=.
9787 for ac_exec_ext
in '' $ac_executable_extensions; do
9788 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9789 ac_cv_prog_DSYMUTIL
="${ac_tool_prefix}dsymutil"
9790 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9799 DSYMUTIL
=$ac_cv_prog_DSYMUTIL
9800 if test -n "$DSYMUTIL"; then
9801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
9802 $as_echo "$DSYMUTIL" >&6; }
9804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9805 $as_echo "no" >&6; }
9810 if test -z "$ac_cv_prog_DSYMUTIL"; then
9811 ac_ct_DSYMUTIL
=$DSYMUTIL
9812 # Extract the first word of "dsymutil", so it can be a program name with args.
9813 set dummy dsymutil
; ac_word
=$2
9814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9815 $as_echo_n "checking for $ac_word... " >&6; }
9816 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false
; then :
9817 $as_echo_n "(cached) " >&6
9819 if test -n "$ac_ct_DSYMUTIL"; then
9820 ac_cv_prog_ac_ct_DSYMUTIL
="$ac_ct_DSYMUTIL" # Let the user override the test.
9822 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9826 test -z "$as_dir" && as_dir
=.
9827 for ac_exec_ext
in '' $ac_executable_extensions; do
9828 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9829 ac_cv_prog_ac_ct_DSYMUTIL
="dsymutil"
9830 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9839 ac_ct_DSYMUTIL
=$ac_cv_prog_ac_ct_DSYMUTIL
9840 if test -n "$ac_ct_DSYMUTIL"; then
9841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
9842 $as_echo "$ac_ct_DSYMUTIL" >&6; }
9844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9845 $as_echo "no" >&6; }
9848 if test "x$ac_ct_DSYMUTIL" = x
; then
9851 case $cross_compiling:$ac_tool_warned in
9853 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9854 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9855 ac_tool_warned
=yes ;;
9857 DSYMUTIL
=$ac_ct_DSYMUTIL
9860 DSYMUTIL
="$ac_cv_prog_DSYMUTIL"
9863 if test -n "$ac_tool_prefix"; then
9864 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
9865 set dummy
${ac_tool_prefix}nmedit
; ac_word
=$2
9866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9867 $as_echo_n "checking for $ac_word... " >&6; }
9868 if ${ac_cv_prog_NMEDIT+:} false
; then :
9869 $as_echo_n "(cached) " >&6
9871 if test -n "$NMEDIT"; then
9872 ac_cv_prog_NMEDIT
="$NMEDIT" # Let the user override the test.
9874 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9878 test -z "$as_dir" && as_dir
=.
9879 for ac_exec_ext
in '' $ac_executable_extensions; do
9880 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9881 ac_cv_prog_NMEDIT
="${ac_tool_prefix}nmedit"
9882 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9891 NMEDIT
=$ac_cv_prog_NMEDIT
9892 if test -n "$NMEDIT"; then
9893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
9894 $as_echo "$NMEDIT" >&6; }
9896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9897 $as_echo "no" >&6; }
9902 if test -z "$ac_cv_prog_NMEDIT"; then
9903 ac_ct_NMEDIT
=$NMEDIT
9904 # Extract the first word of "nmedit", so it can be a program name with args.
9905 set dummy nmedit
; ac_word
=$2
9906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9907 $as_echo_n "checking for $ac_word... " >&6; }
9908 if ${ac_cv_prog_ac_ct_NMEDIT+:} false
; then :
9909 $as_echo_n "(cached) " >&6
9911 if test -n "$ac_ct_NMEDIT"; then
9912 ac_cv_prog_ac_ct_NMEDIT
="$ac_ct_NMEDIT" # Let the user override the test.
9914 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9918 test -z "$as_dir" && as_dir
=.
9919 for ac_exec_ext
in '' $ac_executable_extensions; do
9920 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9921 ac_cv_prog_ac_ct_NMEDIT
="nmedit"
9922 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9931 ac_ct_NMEDIT
=$ac_cv_prog_ac_ct_NMEDIT
9932 if test -n "$ac_ct_NMEDIT"; then
9933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
9934 $as_echo "$ac_ct_NMEDIT" >&6; }
9936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9937 $as_echo "no" >&6; }
9940 if test "x$ac_ct_NMEDIT" = x
; then
9943 case $cross_compiling:$ac_tool_warned in
9945 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9946 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9947 ac_tool_warned
=yes ;;
9949 NMEDIT
=$ac_ct_NMEDIT
9952 NMEDIT
="$ac_cv_prog_NMEDIT"
9955 if test -n "$ac_tool_prefix"; then
9956 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
9957 set dummy
${ac_tool_prefix}lipo
; ac_word
=$2
9958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9959 $as_echo_n "checking for $ac_word... " >&6; }
9960 if ${ac_cv_prog_LIPO+:} false
; then :
9961 $as_echo_n "(cached) " >&6
9963 if test -n "$LIPO"; then
9964 ac_cv_prog_LIPO
="$LIPO" # Let the user override the test.
9966 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9970 test -z "$as_dir" && as_dir
=.
9971 for ac_exec_ext
in '' $ac_executable_extensions; do
9972 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9973 ac_cv_prog_LIPO
="${ac_tool_prefix}lipo"
9974 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9983 LIPO
=$ac_cv_prog_LIPO
9984 if test -n "$LIPO"; then
9985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
9986 $as_echo "$LIPO" >&6; }
9988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9989 $as_echo "no" >&6; }
9994 if test -z "$ac_cv_prog_LIPO"; then
9996 # Extract the first word of "lipo", so it can be a program name with args.
9997 set dummy lipo
; ac_word
=$2
9998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9999 $as_echo_n "checking for $ac_word... " >&6; }
10000 if ${ac_cv_prog_ac_ct_LIPO+:} false
; then :
10001 $as_echo_n "(cached) " >&6
10003 if test -n "$ac_ct_LIPO"; then
10004 ac_cv_prog_ac_ct_LIPO
="$ac_ct_LIPO" # Let the user override the test.
10006 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10007 for as_dir
in $PATH
10010 test -z "$as_dir" && as_dir
=.
10011 for ac_exec_ext
in '' $ac_executable_extensions; do
10012 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10013 ac_cv_prog_ac_ct_LIPO
="lipo"
10014 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10023 ac_ct_LIPO
=$ac_cv_prog_ac_ct_LIPO
10024 if test -n "$ac_ct_LIPO"; then
10025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
10026 $as_echo "$ac_ct_LIPO" >&6; }
10028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10029 $as_echo "no" >&6; }
10032 if test "x$ac_ct_LIPO" = x
; then
10035 case $cross_compiling:$ac_tool_warned in
10037 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10038 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10039 ac_tool_warned
=yes ;;
10044 LIPO
="$ac_cv_prog_LIPO"
10047 if test -n "$ac_tool_prefix"; then
10048 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
10049 set dummy
${ac_tool_prefix}otool
; ac_word
=$2
10050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10051 $as_echo_n "checking for $ac_word... " >&6; }
10052 if ${ac_cv_prog_OTOOL+:} false
; then :
10053 $as_echo_n "(cached) " >&6
10055 if test -n "$OTOOL"; then
10056 ac_cv_prog_OTOOL
="$OTOOL" # Let the user override the test.
10058 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10059 for as_dir
in $PATH
10062 test -z "$as_dir" && as_dir
=.
10063 for ac_exec_ext
in '' $ac_executable_extensions; do
10064 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10065 ac_cv_prog_OTOOL
="${ac_tool_prefix}otool"
10066 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10075 OTOOL
=$ac_cv_prog_OTOOL
10076 if test -n "$OTOOL"; then
10077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
10078 $as_echo "$OTOOL" >&6; }
10080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10081 $as_echo "no" >&6; }
10086 if test -z "$ac_cv_prog_OTOOL"; then
10088 # Extract the first word of "otool", so it can be a program name with args.
10089 set dummy otool
; ac_word
=$2
10090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10091 $as_echo_n "checking for $ac_word... " >&6; }
10092 if ${ac_cv_prog_ac_ct_OTOOL+:} false
; then :
10093 $as_echo_n "(cached) " >&6
10095 if test -n "$ac_ct_OTOOL"; then
10096 ac_cv_prog_ac_ct_OTOOL
="$ac_ct_OTOOL" # Let the user override the test.
10098 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10099 for as_dir
in $PATH
10102 test -z "$as_dir" && as_dir
=.
10103 for ac_exec_ext
in '' $ac_executable_extensions; do
10104 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10105 ac_cv_prog_ac_ct_OTOOL
="otool"
10106 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10115 ac_ct_OTOOL
=$ac_cv_prog_ac_ct_OTOOL
10116 if test -n "$ac_ct_OTOOL"; then
10117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
10118 $as_echo "$ac_ct_OTOOL" >&6; }
10120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10121 $as_echo "no" >&6; }
10124 if test "x$ac_ct_OTOOL" = x
; then
10127 case $cross_compiling:$ac_tool_warned in
10129 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10130 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10131 ac_tool_warned
=yes ;;
10136 OTOOL
="$ac_cv_prog_OTOOL"
10139 if test -n "$ac_tool_prefix"; then
10140 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
10141 set dummy
${ac_tool_prefix}otool64
; ac_word
=$2
10142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10143 $as_echo_n "checking for $ac_word... " >&6; }
10144 if ${ac_cv_prog_OTOOL64+:} false
; then :
10145 $as_echo_n "(cached) " >&6
10147 if test -n "$OTOOL64"; then
10148 ac_cv_prog_OTOOL64
="$OTOOL64" # Let the user override the test.
10150 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10151 for as_dir
in $PATH
10154 test -z "$as_dir" && as_dir
=.
10155 for ac_exec_ext
in '' $ac_executable_extensions; do
10156 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10157 ac_cv_prog_OTOOL64
="${ac_tool_prefix}otool64"
10158 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10167 OTOOL64
=$ac_cv_prog_OTOOL64
10168 if test -n "$OTOOL64"; then
10169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
10170 $as_echo "$OTOOL64" >&6; }
10172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10173 $as_echo "no" >&6; }
10178 if test -z "$ac_cv_prog_OTOOL64"; then
10179 ac_ct_OTOOL64
=$OTOOL64
10180 # Extract the first word of "otool64", so it can be a program name with args.
10181 set dummy otool64
; ac_word
=$2
10182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10183 $as_echo_n "checking for $ac_word... " >&6; }
10184 if ${ac_cv_prog_ac_ct_OTOOL64+:} false
; then :
10185 $as_echo_n "(cached) " >&6
10187 if test -n "$ac_ct_OTOOL64"; then
10188 ac_cv_prog_ac_ct_OTOOL64
="$ac_ct_OTOOL64" # Let the user override the test.
10190 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10191 for as_dir
in $PATH
10194 test -z "$as_dir" && as_dir
=.
10195 for ac_exec_ext
in '' $ac_executable_extensions; do
10196 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10197 ac_cv_prog_ac_ct_OTOOL64
="otool64"
10198 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10207 ac_ct_OTOOL64
=$ac_cv_prog_ac_ct_OTOOL64
10208 if test -n "$ac_ct_OTOOL64"; then
10209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
10210 $as_echo "$ac_ct_OTOOL64" >&6; }
10212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10213 $as_echo "no" >&6; }
10216 if test "x$ac_ct_OTOOL64" = x
; then
10219 case $cross_compiling:$ac_tool_warned in
10221 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10222 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10223 ac_tool_warned
=yes ;;
10225 OTOOL64
=$ac_ct_OTOOL64
10228 OTOOL64
="$ac_cv_prog_OTOOL64"
10257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
10258 $as_echo_n "checking for -single_module linker flag... " >&6; }
10259 if ${lt_cv_apple_cc_single_mod+:} false
; then :
10260 $as_echo_n "(cached) " >&6
10262 lt_cv_apple_cc_single_mod
=no
10263 if test -z "$LT_MULTI_MODULE"; then
10264 # By default we will add the -single_module flag. You can override
10265 # by either setting the environment variable LT_MULTI_MODULE
10266 # non-empty at configure time, or by adding -multi_module to the
10268 rm -rf libconftest.dylib
*
10269 echo "int foo(void){return 1;}" > conftest.c
10270 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
10271 -dynamiclib -Wl,-single_module conftest.c" >&5
10272 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
10273 -dynamiclib -Wl,-single_module conftest.c
2>conftest.err
10275 # If there is a non-empty error log, and "single_module"
10276 # appears in it, assume the flag caused a linker warning
10277 if test -s conftest.err
&& $GREP single_module conftest.err
; then
10278 cat conftest.err
>&5
10279 # Otherwise, if the output was created with a 0 exit code from
10280 # the compiler, it worked.
10281 elif test -f libconftest.dylib
&& test 0 = "$_lt_result"; then
10282 lt_cv_apple_cc_single_mod
=yes
10284 cat conftest.err
>&5
10286 rm -rf libconftest.dylib
*
10290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
10291 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
10293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
10294 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
10295 if ${lt_cv_ld_exported_symbols_list+:} false
; then :
10296 $as_echo_n "(cached) " >&6
10298 lt_cv_ld_exported_symbols_list
=no
10299 save_LDFLAGS
=$LDFLAGS
10300 echo "_main" > conftest.sym
10301 LDFLAGS
="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
10302 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10303 /* end confdefs.h. */
10313 if ac_fn_c_try_link
"$LINENO"; then :
10314 lt_cv_ld_exported_symbols_list
=yes
10316 lt_cv_ld_exported_symbols_list
=no
10318 rm -f core conftest.err conftest.
$ac_objext \
10319 conftest
$ac_exeext conftest.
$ac_ext
10320 LDFLAGS
=$save_LDFLAGS
10323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
10324 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
10326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
10327 $as_echo_n "checking for -force_load linker flag... " >&6; }
10328 if ${lt_cv_ld_force_load+:} false
; then :
10329 $as_echo_n "(cached) " >&6
10331 lt_cv_ld_force_load
=no
10332 cat > conftest.c
<< _LT_EOF
10333 int forced_loaded() { return 2;}
10335 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
10336 $LTCC $LTCFLAGS -c -o conftest.o conftest.c
2>&5
10337 echo "$AR cru libconftest.a conftest.o" >&5
10338 $AR cru libconftest.a conftest.o
2>&5
10339 echo "$RANLIB libconftest.a" >&5
10340 $RANLIB libconftest.a
2>&5
10341 cat > conftest.c
<< _LT_EOF
10342 int main() { return 0;}
10344 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
10345 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
2>conftest.err
10347 if test -s conftest.err
&& $GREP force_load conftest.err
; then
10348 cat conftest.err
>&5
10349 elif test -f conftest
&& test 0 = "$_lt_result" && $GREP forced_load conftest
>/dev
/null
2>&1; then
10350 lt_cv_ld_force_load
=yes
10352 cat conftest.err
>&5
10354 rm -f conftest.err libconftest.a conftest conftest.c
10355 rm -rf conftest.dSYM
10358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
10359 $as_echo "$lt_cv_ld_force_load" >&6; }
10361 rhapsody
* | darwin1.
[012])
10362 _lt_dar_allow_undefined
='$wl-undefined ${wl}suppress' ;;
10364 _lt_dar_allow_undefined
='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
10365 darwin
*) # darwin 5.x on
10366 # if running on 10.5 or later, the deployment target defaults
10367 # to the OS version, if on x86, and 10.4, the deployment
10368 # target defaults to 10.4. Don't you love it?
10369 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
10370 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
10371 _lt_dar_allow_undefined
='$wl-undefined ${wl}dynamic_lookup' ;;
10373 _lt_dar_allow_undefined
='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
10375 _lt_dar_allow_undefined
='$wl-undefined ${wl}dynamic_lookup' ;;
10379 if test yes = "$lt_cv_apple_cc_single_mod"; then
10380 _lt_dar_single_mod
='$single_module'
10382 if test yes = "$lt_cv_ld_exported_symbols_list"; then
10383 _lt_dar_export_syms
=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
10385 _lt_dar_export_syms
='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
10387 if test : != "$DSYMUTIL" && test no
= "$lt_cv_ld_force_load"; then
10388 _lt_dsymutil
='~$DSYMUTIL $lib || :'
10395 # func_munge_path_list VARIABLE PATH
10396 # -----------------------------------
10397 # VARIABLE is name of variable containing _space_ separated list of
10398 # directories to be munged by the contents of PATH, which is string
10401 # string "DIR[ DIR]" will be prepended to VARIABLE
10403 # string "DIR[ DIR]" will be appended to VARIABLE
10404 # "DIRP[:DIRP]::[DIRA:]DIRA"
10405 # string "DIRP[ DIRP]" will be prepended to VARIABLE and string
10406 # "DIRA[ DIRA]" will be appended to VARIABLE
10408 # VARIABLE will be replaced by "DIR[ DIR]"
10409 func_munge_path_list
()
10415 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$
$1\"
10418 eval $1=\"\$
$1 `$ECHO $2 | $SED 's/:/ /g'`\"
10421 eval $1=\"\$
$1\
`$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
10422 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$
$1\"
10425 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
10431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
10432 $as_echo_n "checking for ANSI C header files... " >&6; }
10433 if ${ac_cv_header_stdc+:} false
; then :
10434 $as_echo_n "(cached) " >&6
10436 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10437 /* end confdefs.h. */
10438 #include <stdlib.h>
10439 #include <stdarg.h>
10440 #include <string.h>
10451 if ac_fn_c_try_compile
"$LINENO"; then :
10452 ac_cv_header_stdc
=yes
10454 ac_cv_header_stdc
=no
10456 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10458 if test $ac_cv_header_stdc = yes; then
10459 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
10460 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10461 /* end confdefs.h. */
10462 #include <string.h>
10465 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10466 $EGREP "memchr" >/dev
/null
2>&1; then :
10469 ac_cv_header_stdc
=no
10475 if test $ac_cv_header_stdc = yes; then
10476 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
10477 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10478 /* end confdefs.h. */
10479 #include <stdlib.h>
10482 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10483 $EGREP "free" >/dev
/null
2>&1; then :
10486 ac_cv_header_stdc
=no
10492 if test $ac_cv_header_stdc = yes; then
10493 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
10494 if test "$cross_compiling" = yes; then :
10497 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10498 /* end confdefs.h. */
10500 #include <stdlib.h>
10501 #if ((' ' & 0x0FF) == 0x020)
10502 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
10503 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
10505 # define ISLOWER(c) \
10506 (('a' <= (c) && (c) <= 'i') \
10507 || ('j' <= (c) && (c) <= 'r') \
10508 || ('s' <= (c) && (c) <= 'z'))
10509 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
10512 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
10517 for (i = 0; i < 256; i++)
10518 if (XOR (islower (i), ISLOWER (i))
10519 || toupper (i) != TOUPPER (i))
10524 if ac_fn_c_try_run
"$LINENO"; then :
10527 ac_cv_header_stdc
=no
10529 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
10530 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
10535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
10536 $as_echo "$ac_cv_header_stdc" >&6; }
10537 if test $ac_cv_header_stdc = yes; then
10539 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
10543 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
10544 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
10545 inttypes.h stdint.h unistd.h
10547 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10548 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
10550 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
10551 cat >>confdefs.h
<<_ACEOF
10552 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10560 for ac_header
in dlfcn.h
10562 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
10564 if test "x$ac_cv_header_dlfcn_h" = xyes
; then :
10565 cat >>confdefs.h
<<_ACEOF
10566 #define HAVE_DLFCN_H 1
10576 func_stripname_cnf
()
10579 .
*) func_stripname_result
=`$ECHO "$3" | $SED "s%^$1%%; s%\\\\$2\$%%"`;;
10580 *) func_stripname_result
=`$ECHO "$3" | $SED "s%^$1%%; s%$2\$%%"`;;
10582 } # func_stripname_cnf
10589 # Check whether --enable-static was given.
10590 if test "${enable_static+set}" = set; then :
10591 enableval
=$enable_static; p
=${PACKAGE-default}
10593 yes) enable_static
=yes ;;
10594 no
) enable_static
=no
;;
10597 # Look at the argument we got. We use all the common list separators.
10598 lt_save_ifs
=$IFS; IFS
=$IFS$PATH_SEPARATOR,
10599 for pkg
in $enableval; do
10601 if test "X$pkg" = "X$p"; then
10624 enable_win32_dll
=no
10627 # Check whether --enable-shared was given.
10628 if test "${enable_shared+set}" = set; then :
10629 enableval
=$enable_shared; p
=${PACKAGE-default}
10631 yes) enable_shared
=yes ;;
10632 no
) enable_shared
=no
;;
10635 # Look at the argument we got. We use all the common list separators.
10636 lt_save_ifs
=$IFS; IFS
=$IFS$PATH_SEPARATOR,
10637 for pkg
in $enableval; do
10639 if test "X$pkg" = "X$p"; then
10660 # Check whether --with-pic was given.
10661 if test "${with_pic+set}" = set; then :
10662 withval
=$with_pic; lt_p
=${PACKAGE-default}
10664 yes|no
) pic_mode
=$withval ;;
10667 # Look at the argument we got. We use all the common list separators.
10668 lt_save_ifs
=$IFS; IFS
=$IFS$PATH_SEPARATOR,
10669 for lt_pkg
in $withval; do
10671 if test "X$lt_pkg" = "X$lt_p"; then
10689 # Check whether --enable-fast-install was given.
10690 if test "${enable_fast_install+set}" = set; then :
10691 enableval
=$enable_fast_install; p
=${PACKAGE-default}
10693 yes) enable_fast_install
=yes ;;
10694 no
) enable_fast_install
=no
;;
10696 enable_fast_install
=no
10697 # Look at the argument we got. We use all the common list separators.
10698 lt_save_ifs
=$IFS; IFS
=$IFS$PATH_SEPARATOR,
10699 for pkg
in $enableval; do
10701 if test "X$pkg" = "X$p"; then
10702 enable_fast_install
=yes
10709 enable_fast_install
=yes
10719 shared_archive_member_spec
=
10720 case $host,$enable_shared in
10721 power
*-*-aix[5-9]*,yes)
10722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
10723 $as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
10725 # Check whether --with-aix-soname was given.
10726 if test "${with_aix_soname+set}" = set; then :
10727 withval
=$with_aix_soname; case $withval in
10731 as_fn_error $?
"Unknown argument to --with-aix-soname" "$LINENO" 5
10734 lt_cv_with_aix_soname
=$with_aix_soname
10736 if ${lt_cv_with_aix_soname+:} false
; then :
10737 $as_echo_n "(cached) " >&6
10739 lt_cv_with_aix_soname
=aix
10742 with_aix_soname
=$lt_cv_with_aix_soname
10745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
10746 $as_echo "$with_aix_soname" >&6; }
10747 if test aix
!= "$with_aix_soname"; then
10748 # For the AIX way of multilib, we name the shared archive member
10749 # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
10750 # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
10751 # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
10752 # the AIX toolchain works better with OBJECT_MODE set (default 32).
10753 if test 64 = "${OBJECT_MODE-32}"; then
10754 shared_archive_member_spec
=shr_64
10756 shared_archive_member_spec
=shr
10761 with_aix_soname
=aix
10774 # This can be used to rebuild libtool when needed
10775 LIBTOOL_DEPS
=$ltmain
10777 # Always use our own libtool.
10778 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
10809 test -z "$LN_S" && LN_S
="ln -s"
10824 if test -n "${ZSH_VERSION+set}"; then
10825 setopt NO_GLOB_SUBST
10828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
10829 $as_echo_n "checking for objdir... " >&6; }
10830 if ${lt_cv_objdir+:} false
; then :
10831 $as_echo_n "(cached) " >&6
10833 rm -f .libs
2>/dev
/null
10834 mkdir .libs
2>/dev
/null
10835 if test -d .libs
; then
10838 # MS-DOS does not allow filenames that begin with a dot.
10841 rmdir .libs
2>/dev
/null
10843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
10844 $as_echo "$lt_cv_objdir" >&6; }
10845 objdir
=$lt_cv_objdir
10851 cat >>confdefs.h
<<_ACEOF
10852 #define LT_OBJDIR "$lt_cv_objdir/"
10860 # AIX sometimes has problems with the GCC collect2 program. For some
10861 # reason, if we set the COLLECT_NAMES environment variable, the problems
10862 # vanish in a puff of smoke.
10863 if test set != "${COLLECT_NAMES+set}"; then
10865 export COLLECT_NAMES
10870 # Global variables:
10872 can_build_shared
=yes
10874 # All known linkers require a '.a' archive for static linking (except MSVC,
10875 # which needs '.lib').
10878 with_gnu_ld
=$lt_cv_prog_gnu_ld
10883 # Set sane defaults for various variables
10884 test -z "$CC" && CC
=cc
10885 test -z "$LTCC" && LTCC
=$CC
10886 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
10887 test -z "$LD" && LD
=ld
10888 test -z "$ac_objext" && ac_objext
=o
10890 func_cc_basename
$compiler
10891 cc_basename
=$func_cc_basename_result
10894 # Only perform the check for file, if the check method requires it
10895 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
10896 case $deplibs_check_method in
10898 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
10899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
10900 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
10901 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
10902 $as_echo_n "(cached) " >&6
10906 lt_cv_path_MAGIC_CMD
=$MAGIC_CMD # Let the user override the test with a path.
10909 lt_save_MAGIC_CMD
=$MAGIC_CMD
10910 lt_save_ifs
=$IFS; IFS
=$PATH_SEPARATOR
10911 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
10912 for ac_dir
in $ac_dummy; do
10914 test -z "$ac_dir" && ac_dir
=.
10915 if test -f "$ac_dir/${ac_tool_prefix}file"; then
10916 lt_cv_path_MAGIC_CMD
=$ac_dir/"${ac_tool_prefix}file"
10917 if test -n "$file_magic_test_file"; then
10918 case $deplibs_check_method in
10920 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
10921 MAGIC_CMD
=$lt_cv_path_MAGIC_CMD
10922 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null
|
10923 $EGREP "$file_magic_regex" > /dev
/null
; then
10928 *** Warning: the command libtool uses to detect shared libraries,
10929 *** $file_magic_cmd, produces output that libtool cannot recognize.
10930 *** The result is that libtool may fail to recognize shared libraries
10931 *** as such. This will affect the creation of libtool libraries that
10932 *** depend on shared libraries, but programs linked with such libtool
10933 *** libraries will work regardless of this problem. Nevertheless, you
10934 *** may want to report the problem to your system manager and/or to
10935 *** bug-libtool@gnu.org
10945 MAGIC_CMD
=$lt_save_MAGIC_CMD
10950 MAGIC_CMD
=$lt_cv_path_MAGIC_CMD
10951 if test -n "$MAGIC_CMD"; then
10952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
10953 $as_echo "$MAGIC_CMD" >&6; }
10955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10956 $as_echo "no" >&6; }
10963 if test -z "$lt_cv_path_MAGIC_CMD"; then
10964 if test -n "$ac_tool_prefix"; then
10965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
10966 $as_echo_n "checking for file... " >&6; }
10967 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
10968 $as_echo_n "(cached) " >&6
10972 lt_cv_path_MAGIC_CMD
=$MAGIC_CMD # Let the user override the test with a path.
10975 lt_save_MAGIC_CMD
=$MAGIC_CMD
10976 lt_save_ifs
=$IFS; IFS
=$PATH_SEPARATOR
10977 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
10978 for ac_dir
in $ac_dummy; do
10980 test -z "$ac_dir" && ac_dir
=.
10981 if test -f "$ac_dir/file"; then
10982 lt_cv_path_MAGIC_CMD
=$ac_dir/"file"
10983 if test -n "$file_magic_test_file"; then
10984 case $deplibs_check_method in
10986 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
10987 MAGIC_CMD
=$lt_cv_path_MAGIC_CMD
10988 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null
|
10989 $EGREP "$file_magic_regex" > /dev
/null
; then
10994 *** Warning: the command libtool uses to detect shared libraries,
10995 *** $file_magic_cmd, produces output that libtool cannot recognize.
10996 *** The result is that libtool may fail to recognize shared libraries
10997 *** as such. This will affect the creation of libtool libraries that
10998 *** depend on shared libraries, but programs linked with such libtool
10999 *** libraries will work regardless of this problem. Nevertheless, you
11000 *** may want to report the problem to your system manager and/or to
11001 *** bug-libtool@gnu.org
11011 MAGIC_CMD
=$lt_save_MAGIC_CMD
11016 MAGIC_CMD
=$lt_cv_path_MAGIC_CMD
11017 if test -n "$MAGIC_CMD"; then
11018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
11019 $as_echo "$MAGIC_CMD" >&6; }
11021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11022 $as_echo "no" >&6; }
11035 # Use C for the default configuration in the libtool script
11039 ac_cpp
='$CPP $CPPFLAGS'
11040 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11041 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11042 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11045 # Source file extension for C test sources.
11048 # Object file extension for compiled C test sources.
11052 # Code to be used in simple compile tests
11053 lt_simple_compile_test_code
="int some_variable = 0;"
11055 # Code to be used in simple link tests
11056 lt_simple_link_test_code
='int main(){return(0);}'
11064 # If no C compiler was specified, use CC.
11067 # If no C compiler flags were specified, use CFLAGS.
11068 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
11070 # Allow CC to be a program name with arguments.
11073 # Save the default compiler, since it gets overwritten when the other
11074 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
11075 compiler_DEFAULT
=$CC
11077 # save warnings/boilerplate of simple test code
11078 ac_outfile
=conftest.
$ac_objext
11079 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
11080 eval "$ac_compile" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
11081 _lt_compiler_boilerplate
=`cat conftest.err`
11084 ac_outfile
=conftest.
$ac_objext
11085 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
11086 eval "$ac_link" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
11087 _lt_linker_boilerplate
=`cat conftest.err`
11092 ## There is no encapsulation within the following macros, do not change
11093 ## the running order or otherwise move them around unless you know exactly
11094 ## what you are doing...
11095 if test -n "$compiler"; then
11097 lt_prog_compiler_no_builtin_flag
=
11099 if test yes = "$GCC"; then
11100 case $cc_basename in
11102 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
11104 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
11107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
11108 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
11109 if ${lt_cv_prog_compiler_rtti_exceptions+:} false
; then :
11110 $as_echo_n "(cached) " >&6
11112 lt_cv_prog_compiler_rtti_exceptions
=no
11113 ac_outfile
=conftest.
$ac_objext
11114 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
11115 lt_compiler_flag
="-fno-rtti -fno-exceptions" ## exclude from sc_useless_quotes_in_assignment
11116 # Insert the option either (1) after the last *FLAGS variable, or
11117 # (2) before a word containing "conftest.", or (3) at the end.
11118 # Note that $ac_compile itself does not contain backslashes and begins
11119 # with a dollar sign (not a hyphen), so the echo should work correctly.
11120 # The option is referenced via a variable to avoid confusing sed.
11121 lt_compile
=`echo "$ac_compile" | $SED \
11122 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11123 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11124 -e 's:$: $lt_compiler_flag:'`
11125 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
11126 (eval "$lt_compile" 2>conftest.err
)
11128 cat conftest.err
>&5
11129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11130 if (exit $ac_status) && test -s "$ac_outfile"; then
11131 # The compiler can only warn and ignore the option if not recognized
11132 # So say no if there are warnings other than the usual output.
11133 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
11134 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
11135 if test ! -s conftest.er2
|| diff conftest.exp conftest.er2
>/dev
/null
; then
11136 lt_cv_prog_compiler_rtti_exceptions
=yes
11142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
11143 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
11145 if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
11146 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
11158 lt_prog_compiler_wl
=
11159 lt_prog_compiler_pic
=
11160 lt_prog_compiler_static
=
11163 if test yes = "$GCC"; then
11164 lt_prog_compiler_wl
='-Wl,'
11165 lt_prog_compiler_static
='-static'
11169 # All AIX code is PIC.
11170 if test ia64
= "$host_cpu"; then
11171 # AIX 5 now supports IA64 processor
11172 lt_prog_compiler_static
='-Bstatic'
11174 lt_prog_compiler_pic
='-fPIC'
11180 # see comment about AmigaOS4 .so support
11181 lt_prog_compiler_pic
='-fPIC'
11184 # FIXME: we need at least 68020 code to build shared libraries, but
11185 # adding the '-m68020' flag to GCC prevents building anything better,
11187 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
11192 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
11193 # PIC is the default for these OSes.
11196 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
11197 # This hack is so that the source file can tell whether it is being
11198 # built for inclusion in a dll (and should export symbols for example).
11199 # Although the cygwin gcc ignores -fPIC, still need this for old-style
11200 # (--disable-auto-import) libraries
11201 lt_prog_compiler_pic
='-DDLL_EXPORT'
11204 lt_prog_compiler_static
='$wl-static'
11209 darwin
* | rhapsody
*)
11210 # PIC is the default on this platform
11211 # Common symbols not allowed in MH_DYLIB files
11212 lt_prog_compiler_pic
='-fno-common'
11216 # PIC is the default for Haiku.
11217 # The "-static" flag exists, but is broken.
11218 lt_prog_compiler_static
=
11222 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
11223 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
11224 # sets the default TLS model and affects inlining.
11230 lt_prog_compiler_pic
='-fPIC'
11236 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
11237 # Instead, we relocate shared libraries at runtime.
11241 # Just because we use GCC doesn't mean we suddenly get shared libraries
11242 # on systems that don't support them.
11243 lt_prog_compiler_can_build_shared
=no
11248 # QNX uses GNU C++, but need to define -shared option too, otherwise
11249 # it will coredump.
11250 lt_prog_compiler_pic
='-fPIC -shared'
11254 if test -d /usr
/nec
; then
11255 lt_prog_compiler_pic
=-Kconform_pic
11260 lt_prog_compiler_pic
='-fPIC'
11264 case $cc_basename in
11265 nvcc
*) # Cuda Compiler Driver 2.2
11266 lt_prog_compiler_wl
='-Xlinker '
11267 if test -n "$lt_prog_compiler_pic"; then
11268 lt_prog_compiler_pic
="-Xcompiler $lt_prog_compiler_pic"
11273 # PORTME Check for flag to pass linker flags through the system compiler.
11276 lt_prog_compiler_wl
='-Wl,'
11277 if test ia64
= "$host_cpu"; then
11278 # AIX 5 now supports IA64 processor
11279 lt_prog_compiler_static
='-Bstatic'
11281 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
11285 darwin
* | rhapsody
*)
11286 # PIC is the default on this platform
11287 # Common symbols not allowed in MH_DYLIB files
11288 lt_prog_compiler_pic
='-fno-common'
11289 case $cc_basename in
11291 # NAG Fortran compiler
11292 lt_prog_compiler_wl
='-Wl,-Wl,,'
11293 lt_prog_compiler_pic
='-PIC'
11294 lt_prog_compiler_static
='-Bstatic'
11299 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
11300 # This hack is so that the source file can tell whether it is being
11301 # built for inclusion in a dll (and should export symbols for example).
11302 lt_prog_compiler_pic
='-DDLL_EXPORT'
11305 lt_prog_compiler_static
='$wl-static'
11310 hpux9
* | hpux10
* | hpux11
*)
11311 lt_prog_compiler_wl
='-Wl,'
11312 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
11313 # not for PA HP-UX.
11319 lt_prog_compiler_pic
='+Z'
11322 # Is there a better lt_prog_compiler_static that works with the bundled CC?
11323 lt_prog_compiler_static
='$wl-a ${wl}archive'
11326 irix5
* | irix6
* | nonstopux
*)
11327 lt_prog_compiler_wl
='-Wl,'
11328 # PIC (with -KPIC) is the default.
11329 lt_prog_compiler_static
='-non_shared'
11332 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
11333 case $cc_basename in
11334 # old Intel for x86_64, which still supported -KPIC.
11336 lt_prog_compiler_wl
='-Wl,'
11337 lt_prog_compiler_pic
='-KPIC'
11338 lt_prog_compiler_static
='-static'
11340 # icc used to be incompatible with GCC.
11341 # ICC 10 doesn't accept -KPIC any more.
11343 lt_prog_compiler_wl
='-Wl,'
11344 lt_prog_compiler_pic
='-fPIC'
11345 lt_prog_compiler_static
='-static'
11347 # Lahey Fortran 8.1.
11349 lt_prog_compiler_wl
='-Wl,'
11350 lt_prog_compiler_pic
='--shared'
11351 lt_prog_compiler_static
='--static'
11354 # NAG Fortran compiler
11355 lt_prog_compiler_wl
='-Wl,-Wl,,'
11356 lt_prog_compiler_pic
='-PIC'
11357 lt_prog_compiler_static
='-Bstatic'
11360 # Fabrice Bellard et al's Tiny C Compiler
11361 lt_prog_compiler_wl
='-Wl,'
11362 lt_prog_compiler_pic
='-fPIC'
11363 lt_prog_compiler_static
='-static'
11365 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
11366 # Portland Group compilers (*not* the Pentium gcc compiler,
11367 # which looks to be a dead project)
11368 lt_prog_compiler_wl
='-Wl,'
11369 lt_prog_compiler_pic
='-fpic'
11370 lt_prog_compiler_static
='-Bstatic'
11373 lt_prog_compiler_wl
='-Wl,'
11374 # All Alpha code is PIC.
11375 lt_prog_compiler_static
='-non_shared'
11377 xl
* | bgxl
* | bgf
* | mpixl
*)
11378 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
11379 lt_prog_compiler_wl
='-Wl,'
11380 lt_prog_compiler_pic
='-qpic'
11381 lt_prog_compiler_static
='-qstaticlink'
11384 case `$CC -V 2>&1 | sed 5q` in
11385 *Sun\ Ceres\ Fortran
* | *Sun
*Fortran
*\
[1-7].
* | *Sun
*Fortran
*\
8.
[0-3]*)
11386 # Sun Fortran 8.3 passes all unrecognized flags to the linker
11387 lt_prog_compiler_pic
='-KPIC'
11388 lt_prog_compiler_static
='-Bstatic'
11389 lt_prog_compiler_wl
=''
11391 *Sun\ F
* | *Sun
*Fortran
*)
11392 lt_prog_compiler_pic
='-KPIC'
11393 lt_prog_compiler_static
='-Bstatic'
11394 lt_prog_compiler_wl
='-Qoption ld '
11398 lt_prog_compiler_pic
='-KPIC'
11399 lt_prog_compiler_static
='-Bstatic'
11400 lt_prog_compiler_wl
='-Wl,'
11402 *Intel
*\
[CF
]*Compiler
*)
11403 lt_prog_compiler_wl
='-Wl,'
11404 lt_prog_compiler_pic
='-fPIC'
11405 lt_prog_compiler_static
='-static'
11408 lt_prog_compiler_wl
='-Wl,'
11409 lt_prog_compiler_pic
='-fpic'
11410 lt_prog_compiler_static
='-Bstatic'
11418 lt_prog_compiler_pic
='-KPIC'
11419 lt_prog_compiler_static
='-Bstatic'
11423 # QNX uses GNU C++, but need to define -shared option too, otherwise
11424 # it will coredump.
11425 lt_prog_compiler_pic
='-fPIC -shared'
11428 osf3
* | osf4
* | osf5
*)
11429 lt_prog_compiler_wl
='-Wl,'
11430 # All OSF/1 code is PIC.
11431 lt_prog_compiler_static
='-non_shared'
11435 lt_prog_compiler_static
='-non_shared'
11439 lt_prog_compiler_pic
='-KPIC'
11440 lt_prog_compiler_static
='-Bstatic'
11441 case $cc_basename in
11442 f77
* | f90
* | f95
* | sunf77
* | sunf90
* | sunf95
*)
11443 lt_prog_compiler_wl
='-Qoption ld ';;
11445 lt_prog_compiler_wl
='-Wl,';;
11450 lt_prog_compiler_wl
='-Qoption ld '
11451 lt_prog_compiler_pic
='-PIC'
11452 lt_prog_compiler_static
='-Bstatic'
11455 sysv4
| sysv4.2uw2
* | sysv4.3
*)
11456 lt_prog_compiler_wl
='-Wl,'
11457 lt_prog_compiler_pic
='-KPIC'
11458 lt_prog_compiler_static
='-Bstatic'
11462 if test -d /usr
/nec
; then
11463 lt_prog_compiler_pic
='-Kconform_pic'
11464 lt_prog_compiler_static
='-Bstatic'
11468 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
11469 lt_prog_compiler_wl
='-Wl,'
11470 lt_prog_compiler_pic
='-KPIC'
11471 lt_prog_compiler_static
='-Bstatic'
11475 lt_prog_compiler_wl
='-Wl,'
11476 lt_prog_compiler_can_build_shared
=no
11480 lt_prog_compiler_pic
='-pic'
11481 lt_prog_compiler_static
='-Bstatic'
11485 lt_prog_compiler_can_build_shared
=no
11491 # For platforms that do not support PIC, -DPIC is meaningless:
11493 lt_prog_compiler_pic
=
11496 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
11500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
11501 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
11502 if ${lt_cv_prog_compiler_pic+:} false
; then :
11503 $as_echo_n "(cached) " >&6
11505 lt_cv_prog_compiler_pic
=$lt_prog_compiler_pic
11507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
11508 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
11509 lt_prog_compiler_pic
=$lt_cv_prog_compiler_pic
11512 # Check to make sure the PIC flag actually works.
11514 if test -n "$lt_prog_compiler_pic"; then
11515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
11516 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
11517 if ${lt_cv_prog_compiler_pic_works+:} false
; then :
11518 $as_echo_n "(cached) " >&6
11520 lt_cv_prog_compiler_pic_works
=no
11521 ac_outfile
=conftest.
$ac_objext
11522 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
11523 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC" ## exclude from sc_useless_quotes_in_assignment
11524 # Insert the option either (1) after the last *FLAGS variable, or
11525 # (2) before a word containing "conftest.", or (3) at the end.
11526 # Note that $ac_compile itself does not contain backslashes and begins
11527 # with a dollar sign (not a hyphen), so the echo should work correctly.
11528 # The option is referenced via a variable to avoid confusing sed.
11529 lt_compile
=`echo "$ac_compile" | $SED \
11530 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11531 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11532 -e 's:$: $lt_compiler_flag:'`
11533 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
11534 (eval "$lt_compile" 2>conftest.err
)
11536 cat conftest.err
>&5
11537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11538 if (exit $ac_status) && test -s "$ac_outfile"; then
11539 # The compiler can only warn and ignore the option if not recognized
11540 # So say no if there are warnings other than the usual output.
11541 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
11542 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
11543 if test ! -s conftest.er2
|| diff conftest.exp conftest.er2
>/dev
/null
; then
11544 lt_cv_prog_compiler_pic_works
=yes
11550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
11551 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
11553 if test yes = "$lt_cv_prog_compiler_pic_works"; then
11554 case $lt_prog_compiler_pic in
11556 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
11559 lt_prog_compiler_pic
=
11560 lt_prog_compiler_can_build_shared
=no
11576 # Check to make sure the static flag actually works.
11578 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
11579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
11580 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
11581 if ${lt_cv_prog_compiler_static_works+:} false
; then :
11582 $as_echo_n "(cached) " >&6
11584 lt_cv_prog_compiler_static_works
=no
11585 save_LDFLAGS
=$LDFLAGS
11586 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
11587 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
11588 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
11589 # The linker can only warn and ignore the option if not recognized
11590 # So say no if there are warnings
11591 if test -s conftest.err
; then
11592 # Append any errors to the config.log.
11593 cat conftest.err
1>&5
11594 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
11595 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
11596 if diff conftest.exp conftest.er2
>/dev
/null
; then
11597 lt_cv_prog_compiler_static_works
=yes
11600 lt_cv_prog_compiler_static_works
=yes
11604 LDFLAGS
=$save_LDFLAGS
11607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
11608 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
11610 if test yes = "$lt_cv_prog_compiler_static_works"; then
11613 lt_prog_compiler_static
=
11622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
11623 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
11624 if ${lt_cv_prog_compiler_c_o+:} false
; then :
11625 $as_echo_n "(cached) " >&6
11627 lt_cv_prog_compiler_c_o
=no
11628 $RM -r conftest
2>/dev
/null
11632 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
11634 lt_compiler_flag
="-o out/conftest2.$ac_objext"
11635 # Insert the option either (1) after the last *FLAGS variable, or
11636 # (2) before a word containing "conftest.", or (3) at the end.
11637 # Note that $ac_compile itself does not contain backslashes and begins
11638 # with a dollar sign (not a hyphen), so the echo should work correctly.
11639 lt_compile
=`echo "$ac_compile" | $SED \
11640 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11641 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11642 -e 's:$: $lt_compiler_flag:'`
11643 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
11644 (eval "$lt_compile" 2>out
/conftest.err
)
11646 cat out
/conftest.err
>&5
11647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11648 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
11650 # The compiler can only warn and ignore the option if not recognized
11651 # So say no if there are warnings
11652 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out
/conftest.exp
11653 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
11654 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
11655 lt_cv_prog_compiler_c_o
=yes
11660 # SGI C++ compiler will create directory out/ii_files/ for
11661 # template instantiation
11662 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
11663 $RM out
/* && rmdir out
11669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
11670 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
11677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
11678 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
11679 if ${lt_cv_prog_compiler_c_o+:} false
; then :
11680 $as_echo_n "(cached) " >&6
11682 lt_cv_prog_compiler_c_o
=no
11683 $RM -r conftest
2>/dev
/null
11687 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
11689 lt_compiler_flag
="-o out/conftest2.$ac_objext"
11690 # Insert the option either (1) after the last *FLAGS variable, or
11691 # (2) before a word containing "conftest.", or (3) at the end.
11692 # Note that $ac_compile itself does not contain backslashes and begins
11693 # with a dollar sign (not a hyphen), so the echo should work correctly.
11694 lt_compile
=`echo "$ac_compile" | $SED \
11695 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11696 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11697 -e 's:$: $lt_compiler_flag:'`
11698 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
11699 (eval "$lt_compile" 2>out
/conftest.err
)
11701 cat out
/conftest.err
>&5
11702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11703 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
11705 # The compiler can only warn and ignore the option if not recognized
11706 # So say no if there are warnings
11707 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out
/conftest.exp
11708 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
11709 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
11710 lt_cv_prog_compiler_c_o
=yes
11715 # SGI C++ compiler will create directory out/ii_files/ for
11716 # template instantiation
11717 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
11718 $RM out
/* && rmdir out
11724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
11725 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
11730 hard_links
=nottested
11731 if test no
= "$lt_cv_prog_compiler_c_o" && test no
!= "$need_locks"; then
11732 # do not overwrite the value of need_locks provided by the user
11733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
11734 $as_echo_n "checking if we can lock with hard links... " >&6; }
11737 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
11739 ln conftest.a conftest.b
2>&5 || hard_links
=no
11740 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
11741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
11742 $as_echo "$hard_links" >&6; }
11743 if test no
= "$hard_links"; then
11744 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
11745 $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
11757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11758 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
11761 allow_undefined_flag
=
11762 always_export_symbols
=no
11764 archive_expsym_cmds
=
11765 compiler_needs_object
=no
11766 enable_shared_with_static_runtimes
=no
11767 export_dynamic_flag_spec
=
11768 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
11769 hardcode_automatic
=no
11771 hardcode_direct_absolute
=no
11772 hardcode_libdir_flag_spec
=
11773 hardcode_libdir_separator
=
11774 hardcode_minus_L
=no
11775 hardcode_shlibpath_var
=unsupported
11777 link_all_deplibs
=unknown
11779 module_expsym_cmds
=
11780 old_archive_from_new_cmds
=
11781 old_archive_from_expsyms_cmds
=
11782 thread_safe_flag_spec
=
11783 whole_archive_flag_spec
=
11784 # include_expsyms should be a list of space-separated symbols to be *always*
11785 # included in the symbol list
11787 # exclude_expsyms can be an extended regexp of symbols to exclude
11788 # it will be wrapped by ' (' and ')$', so one must not match beginning or
11789 # end of line. Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
11790 # as well as any symbol that contains 'd'.
11791 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
11792 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
11793 # platforms (ab)use it in PIC code, but their linkers get confused if
11794 # the symbol is explicitly referenced. Since portable code cannot
11795 # rely on this symbol name, it's probably fine to never include it in
11796 # preloaded symbol tables.
11797 # Exclude shared library initialization/finalization symbols.
11798 extract_expsyms_cmds
=
11801 cygwin
* | mingw
* | pw32
* | cegcc
*)
11802 # FIXME: the MSVC++ port hasn't been tested in a loooong time
11803 # When not using gcc, we currently assume that we are using
11804 # Microsoft Visual C++.
11805 if test yes != "$GCC"; then
11810 # we just hope/assume this is gcc and not c89 (= MSVC++)
11813 openbsd
* | bitrig
*)
11820 # On some targets, GNU ld is compatible enough with the native linker
11821 # that we're better off using the native interface for both.
11822 lt_use_gnu_ld_interface
=no
11823 if test yes = "$with_gnu_ld"; then
11826 # The AIX port of GNU ld has always aspired to compatibility
11827 # with the native linker. However, as the warning in the GNU ld
11828 # block says, versions before 2.19.5* couldn't really create working
11829 # shared libraries, regardless of the interface used.
11830 case `$LD -v 2>&1` in
11831 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
11832 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
11833 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
11835 lt_use_gnu_ld_interface
=yes
11840 lt_use_gnu_ld_interface
=yes
11845 if test yes = "$lt_use_gnu_ld_interface"; then
11846 # If archive_cmds runs LD, not CC, wlarc should be empty
11849 # Set some defaults for GNU ld with shared library support. These
11850 # are reset later if shared libraries are not supported. Putting them
11851 # here allows them to be overridden if necessary.
11852 runpath_var
=LD_RUN_PATH
11853 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
11854 export_dynamic_flag_spec
='$wl--export-dynamic'
11855 # ancient GNU ld didn't support --whole-archive et. al.
11856 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev
/null
; then
11857 whole_archive_flag_spec
=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
11859 whole_archive_flag_spec
=
11861 supports_anon_versioning
=no
11862 case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
11863 *GNU\ gold
*) supports_anon_versioning
=yes ;;
11864 *\
[01].
* | *\
2.
[0-9].
* | *\
2.10.
*) ;; # catch versions < 2.11
11865 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
11866 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
11867 *\
2.11.
*) ;; # other 2.11 versions
11868 *) supports_anon_versioning
=yes ;;
11871 # See if GNU ld supports shared libraries.
11874 # On AIX/PPC, the GNU linker is very broken
11875 if test ia64
!= "$host_cpu"; then
11879 *** Warning: the GNU linker, at least up to release 2.19, is reported
11880 *** to be unable to reliably create shared libraries on AIX.
11881 *** Therefore, libtool is disabling shared libraries support. If you
11882 *** really care for shared libraries, you may want to install binutils
11883 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
11884 *** You will then need to restart the configuration process.
11893 # see comment about AmigaOS4 .so support
11894 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11895 archive_expsym_cmds
=''
11898 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)'
11899 hardcode_libdir_flag_spec
='-L$libdir'
11900 hardcode_minus_L
=yes
11906 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
11907 allow_undefined_flag
=unsupported
11908 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
11909 # support --undefined. This deserves some investigation. FIXME
11910 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11916 cygwin
* | mingw
* | pw32
* | cegcc
*)
11917 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
11918 # as there is no search path for DLLs.
11919 hardcode_libdir_flag_spec
='-L$libdir'
11920 export_dynamic_flag_spec
='$wl--export-all-symbols'
11921 allow_undefined_flag
=unsupported
11922 always_export_symbols
=no
11923 enable_shared_with_static_runtimes
=yes
11924 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'
11925 exclude_expsyms
='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
11927 if $LD --help 2>&1 | $GREP 'auto-import' > /dev
/null
; then
11928 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
11929 # If the export-symbols file already is a .def file, use it as
11930 # is; otherwise, prepend EXPORTS...
11931 archive_expsym_cmds
='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
11932 cp $export_symbols $output_objdir/$soname.def;
11934 echo EXPORTS > $output_objdir/$soname.def;
11935 cat $export_symbols >> $output_objdir/$soname.def;
11937 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
11944 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11945 link_all_deplibs
=yes
11949 hardcode_libdir_flag_spec
='-L$libdir'
11950 hardcode_minus_L
=yes
11951 allow_undefined_flag
=unsupported
11953 archive_cmds
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
11954 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
11955 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
11956 $ECHO EXPORTS >> $output_objdir/$libname.def~
11957 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
11958 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
11959 emximp -o $lib $output_objdir/$libname.def'
11960 archive_expsym_cmds
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
11961 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
11962 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
11963 $ECHO EXPORTS >> $output_objdir/$libname.def~
11964 prefix_cmds="$SED"~
11965 if test EXPORTS = "`$SED 1q $export_symbols`"; then
11966 prefix_cmds="$prefix_cmds -e 1d";
11968 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
11969 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
11970 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
11971 emximp -o $lib $output_objdir/$libname.def'
11972 old_archive_From_new_cmds
='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
11973 enable_shared_with_static_runtimes
=yes
11978 hardcode_shlibpath_var
=no
11979 hardcode_libdir_flag_spec
='$wl-rpath,$libdir'
11980 export_dynamic_flag_spec
='$wl-E'
11981 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
11982 # Instead, shared libraries are loaded at an image base (0x10000000 by
11983 # default) and relocated if they conflict, which is a slow very memory
11984 # consuming and fragmenting process. To avoid this, we pick a random,
11985 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
11986 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
11987 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
11988 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'
11991 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
11993 if test linux
-dietlibc = "$host_os"; then
11994 case $cc_basename in
11995 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
11998 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev
/null \
11999 && test no
= "$tmp_diet"
12001 tmp_addflag
=' $pic_flag'
12002 tmp_sharedflag
='-shared'
12003 case $cc_basename,$host_cpu in
12004 pgcc
*) # Portland Group C compiler
12005 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'
12006 tmp_addflag
=' $pic_flag'
12008 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
12009 # Portland Group f77 and f90 compilers
12010 whole_archive_flag_spec
='$wl--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
12011 tmp_addflag
=' $pic_flag -Mnomain' ;;
12012 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
12013 tmp_addflag
=' -i_dynamic' ;;
12014 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
12015 tmp_addflag
=' -i_dynamic -nofor_main' ;;
12016 ifc
* | ifort
*) # Intel Fortran compiler
12017 tmp_addflag
=' -nofor_main' ;;
12018 lf95
*) # Lahey Fortran 8.1
12019 whole_archive_flag_spec
=
12020 tmp_sharedflag
='--shared' ;;
12021 nagfor
*) # NAGFOR 5.3
12022 tmp_sharedflag
='-Wl,-shared' ;;
12023 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
12024 tmp_sharedflag
='-qmkshrobj'
12026 nvcc
*) # Cuda Compiler Driver 2.2
12027 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'
12028 compiler_needs_object
=yes
12031 case `$CC -V 2>&1 | sed 5q` in
12032 *Sun\ C
*) # Sun C 5.9
12033 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'
12034 compiler_needs_object
=yes
12035 tmp_sharedflag
='-G' ;;
12036 *Sun\ F
*) # Sun Fortran 8.3
12037 tmp_sharedflag
='-G' ;;
12039 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
12041 if test yes = "$supports_anon_versioning"; then
12042 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
12043 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12044 echo "local: *; };" >> $output_objdir/$libname.ver~
12045 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
12048 case $cc_basename in
12050 export_dynamic_flag_spec
='-rdynamic'
12052 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
12053 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
12054 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
12055 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
12056 archive_cmds
='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
12057 if test yes = "$supports_anon_versioning"; then
12058 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
12059 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12060 echo "local: *; };" >> $output_objdir/$libname.ver~
12061 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
12071 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
12072 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
12075 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
12076 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
12081 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev
/null
; then
12085 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
12086 *** create shared libraries on Solaris systems. Therefore, libtool
12087 *** is disabling shared libraries support. We urge you to upgrade GNU
12088 *** binutils to release 2.9.1 or newer. Another option is to modify
12089 *** your PATH or compiler configuration so that the native linker is
12090 *** used, and then restart.
12093 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
12094 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
12095 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
12101 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
12102 case `$LD -v 2>&1` in
12103 *\
[01].
* | *\
2.
[0-9].
* | *\
2.1[0-5].
*)
12107 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
12108 *** reliably create shared libraries on SCO systems. Therefore, libtool
12109 *** is disabling shared libraries support. We urge you to upgrade GNU
12110 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
12111 *** your PATH or compiler configuration so that the native linker is
12112 *** used, and then restart.
12117 # For security reasons, it is highly recommended that you always
12118 # use absolute paths for naming shared libraries, and exclude the
12119 # DT_RUNPATH tag from executables and libraries. But doing so
12120 # requires that you compile everything twice, which is a pain.
12121 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
12122 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
12123 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
12124 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
12133 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
12135 hardcode_direct
=yes
12136 hardcode_shlibpath_var
=no
12140 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
12141 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
12142 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
12149 if test no
= "$ld_shlibs"; then
12151 hardcode_libdir_flag_spec
=
12152 export_dynamic_flag_spec
=
12153 whole_archive_flag_spec
=
12156 # PORTME fill in a description of your system's linker (not GNU ld)
12159 allow_undefined_flag
=unsupported
12160 always_export_symbols
=yes
12161 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'
12162 # Note: this linker hardcodes the directories in LIBPATH if there
12163 # are no directories specified by -L.
12164 hardcode_minus_L
=yes
12165 if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
12166 # Neither direct hardcoding nor static linking is supported with a
12168 hardcode_direct
=unsupported
12173 if test ia64
= "$host_cpu"; then
12174 # On IA64, the linker does run time linking by default, so we don't
12175 # have to do anything special.
12176 aix_use_runtimelinking
=no
12177 exp_sym_flag
='-Bexport'
12180 # If we're using GNU nm, then we don't want the "-C" option.
12181 # -C means demangle to GNU nm, but means don't demangle to AIX nm.
12182 # Without the "-l" option, or with the "-B" option, AIX nm treats
12183 # weak defined symbols like other global defined symbols, whereas
12184 # GNU nm marks them as "W".
12185 # While the 'weak' keyword is ignored in the Export File, we need
12186 # it in the Import File for the 'aix-soname' feature, so we have
12187 # to replace the "-B" option with "-P" for AIX nm.
12188 if $NM -V 2>&1 | $GREP 'GNU' > /dev
/null
; then
12189 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'
12191 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'
12193 aix_use_runtimelinking
=no
12195 # Test if we are trying to use run time linking or normal
12196 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12197 # have runtime linking enabled, and use it for executables.
12198 # For shared libraries, we enable/disable runtime linking
12199 # depending on the kind of the shared library created -
12200 # when "with_aix_soname,aix_use_runtimelinking" is:
12201 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables
12202 # "aix,yes" lib.so shared, rtl:yes, for executables
12203 # lib.a static archive
12204 # "both,no" lib.so.V(shr.o) shared, rtl:yes
12205 # lib.a(lib.so.V) shared, rtl:no, for executables
12206 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
12207 # lib.a(lib.so.V) shared, rtl:no
12208 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables
12209 # lib.a static archive
12210 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
12211 for ld_flag
in $LDFLAGS; do
12212 if (test x
-brtl = "x$ld_flag" || test x
-Wl,-brtl = "x$ld_flag"); then
12213 aix_use_runtimelinking
=yes
12217 if test svr4
,no
= "$with_aix_soname,$aix_use_runtimelinking"; then
12218 # With aix-soname=svr4, we create the lib.so.V shared archives only,
12219 # so we don't have lib.a shared libs to link our executables.
12220 # We have to force runtime linking in this case.
12221 aix_use_runtimelinking
=yes
12222 LDFLAGS
="$LDFLAGS -Wl,-brtl"
12227 exp_sym_flag
='-bexport'
12228 no_entry_flag
='-bnoentry'
12231 # When large executables or shared objects are built, AIX ld can
12232 # have problems creating the table of contents. If linking a library
12233 # or program results in "error TOC overflow" add -mminimal-toc to
12234 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12235 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12238 hardcode_direct
=yes
12239 hardcode_direct_absolute
=yes
12240 hardcode_libdir_separator
=':'
12241 link_all_deplibs
=yes
12242 file_list_spec
='$wl-f,'
12243 case $with_aix_soname,$aix_use_runtimelinking in
12244 aix
,*) ;; # traditional, no import file
12245 svr4
,* | *,yes) # use import file
12246 # The Import File defines what to hardcode.
12248 hardcode_direct_absolute
=no
12252 if test yes = "$GCC"; then
12253 case $host_os in aix4.
[012]|aix4.
[012].
*)
12254 # We only want to do this on AIX 4.2 and lower, the check
12255 # below for broken collect2 doesn't work under 4.3+
12256 collect2name
=`$CC -print-prog-name=collect2`
12257 if test -f "$collect2name" &&
12258 strings "$collect2name" | $GREP resolve_lib_name
>/dev
/null
12260 # We have reworked collect2
12263 # We have old collect2
12264 hardcode_direct
=unsupported
12265 # It fails to find uninstalled libraries when the uninstalled
12266 # path is not listed in the libpath. Setting hardcode_minus_L
12267 # to unsupported forces relinking
12268 hardcode_minus_L
=yes
12269 hardcode_libdir_flag_spec
='-L$libdir'
12270 hardcode_libdir_separator
=
12274 shared_flag
='-shared'
12275 if test yes = "$aix_use_runtimelinking"; then
12276 shared_flag
="$shared_flag "'$wl-G'
12278 # Need to ensure runtime linking is disabled for the traditional
12279 # shared library, or the linker may eventually find shared libraries
12280 # /with/ Import File - we do not want to mix them.
12281 shared_flag_aix
='-shared'
12282 shared_flag_svr4
='-shared $wl-G'
12285 if test ia64
= "$host_cpu"; then
12286 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12287 # chokes on -Wl,-G. The following line is correct:
12290 if test yes = "$aix_use_runtimelinking"; then
12291 shared_flag
='$wl-G'
12293 shared_flag
='$wl-bM:SRE'
12295 shared_flag_aix
='$wl-bM:SRE'
12296 shared_flag_svr4
='$wl-G'
12300 export_dynamic_flag_spec
='$wl-bexpall'
12301 # It seems that -bexpall does not export symbols beginning with
12302 # underscore (_), so it is better to generate a list of symbols to export.
12303 always_export_symbols
=yes
12304 if test aix
,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
12305 # Warning - without using the other runtime loading flags (-brtl),
12306 # -berok will link without error, but may produce a broken library.
12307 allow_undefined_flag
='-berok'
12308 # Determine the default libpath from the value encoded in an
12309 # empty executable.
12310 if test set = "${lt_cv_aix_libpath+set}"; then
12311 aix_libpath
=$lt_cv_aix_libpath
12313 if ${lt_cv_aix_libpath_+:} false
; then :
12314 $as_echo_n "(cached) " >&6
12316 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12317 /* end confdefs.h. */
12327 if ac_fn_c_try_link
"$LINENO"; then :
12329 lt_aix_libpath_sed
='
12330 /Import File Strings/,/^$/ {
12332 s/^0 *\([^ ]*\) *$/\1/
12336 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12337 # Check for a 64-bit object if we didn't find anything.
12338 if test -z "$lt_cv_aix_libpath_"; then
12339 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12342 rm -f core conftest.err conftest.
$ac_objext \
12343 conftest
$ac_exeext conftest.
$ac_ext
12344 if test -z "$lt_cv_aix_libpath_"; then
12345 lt_cv_aix_libpath_
=/usr
/lib
:/lib
12350 aix_libpath
=$lt_cv_aix_libpath_
12353 hardcode_libdir_flag_spec
='$wl-blibpath:$libdir:'"$aix_libpath"
12354 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
12356 if test ia64
= "$host_cpu"; then
12357 hardcode_libdir_flag_spec
='$wl-R $libdir:/usr/lib:/lib'
12358 allow_undefined_flag
="-z nodefs"
12359 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"
12361 # Determine the default libpath from the value encoded in an
12362 # empty executable.
12363 if test set = "${lt_cv_aix_libpath+set}"; then
12364 aix_libpath
=$lt_cv_aix_libpath
12366 if ${lt_cv_aix_libpath_+:} false
; then :
12367 $as_echo_n "(cached) " >&6
12369 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12370 /* end confdefs.h. */
12380 if ac_fn_c_try_link
"$LINENO"; then :
12382 lt_aix_libpath_sed
='
12383 /Import File Strings/,/^$/ {
12385 s/^0 *\([^ ]*\) *$/\1/
12389 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12390 # Check for a 64-bit object if we didn't find anything.
12391 if test -z "$lt_cv_aix_libpath_"; then
12392 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12395 rm -f core conftest.err conftest.
$ac_objext \
12396 conftest
$ac_exeext conftest.
$ac_ext
12397 if test -z "$lt_cv_aix_libpath_"; then
12398 lt_cv_aix_libpath_
=/usr
/lib
:/lib
12403 aix_libpath
=$lt_cv_aix_libpath_
12406 hardcode_libdir_flag_spec
='$wl-blibpath:$libdir:'"$aix_libpath"
12407 # Warning - without using the other run time loading flags,
12408 # -berok will link without error, but may produce a broken library.
12409 no_undefined_flag
=' $wl-bernotok'
12410 allow_undefined_flag
=' $wl-berok'
12411 if test yes = "$with_gnu_ld"; then
12412 # We only use this code for GNU lds that support --whole-archive.
12413 whole_archive_flag_spec
='$wl--whole-archive$convenience $wl--no-whole-archive'
12415 # Exported symbols can be pulled into shared objects from archives
12416 whole_archive_flag_spec
='$convenience'
12418 archive_cmds_need_lc
=yes
12419 archive_expsym_cmds
='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
12420 # -brtl affects multiple linker settings, -berok does not and is overridden later
12421 compiler_flags_filtered
='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
12422 if test svr4
!= "$with_aix_soname"; then
12423 # This is similar to how AIX traditionally builds its shared libraries.
12424 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'
12426 if test aix
!= "$with_aix_soname"; then
12427 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'
12429 # used by -dlpreopen to get the symbols
12430 archive_expsym_cmds
="$archive_expsym_cmds"'~$MV $output_objdir/$realname.d/$soname $output_objdir'
12432 archive_expsym_cmds
="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
12440 # see comment about AmigaOS4 .so support
12441 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
12442 archive_expsym_cmds
=''
12445 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)'
12446 hardcode_libdir_flag_spec
='-L$libdir'
12447 hardcode_minus_L
=yes
12453 export_dynamic_flag_spec
=-rdynamic
12456 cygwin
* | mingw
* | pw32
* | cegcc
*)
12457 # When not using gcc, we currently assume that we are using
12458 # Microsoft Visual C++.
12459 # hardcode_libdir_flag_spec is actually meaningless, as there is
12460 # no search path for DLLs.
12461 case $cc_basename in
12464 hardcode_libdir_flag_spec
=' '
12465 allow_undefined_flag
=unsupported
12466 always_export_symbols
=yes
12468 # Tell ltmain to make .lib files, not .a files.
12470 # Tell ltmain to make .dll files, not .so files.
12472 # FIXME: Setting linknames here is a bad hack.
12473 archive_cmds
='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
12474 archive_expsym_cmds
='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
12475 cp "$export_symbols" "$output_objdir/$soname.def";
12476 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
12478 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
12480 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
12482 # The linker will not automatically build a static lib if we build a DLL.
12483 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
12484 enable_shared_with_static_runtimes
=yes
12485 exclude_expsyms
='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
12486 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
12488 old_postinstall_cmds
='chmod 644 $oldlib'
12489 postlink_cmds
='lt_outputfile="@OUTPUT@"~
12490 lt_tool_outputfile="@TOOL_OUTPUT@"~
12491 case $lt_outputfile in
12494 lt_outputfile=$lt_outputfile.exe
12495 lt_tool_outputfile=$lt_tool_outputfile.exe
12498 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
12499 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
12500 $RM "$lt_outputfile.manifest";
12504 # Assume MSVC wrapper
12505 hardcode_libdir_flag_spec
=' '
12506 allow_undefined_flag
=unsupported
12507 # Tell ltmain to make .lib files, not .a files.
12509 # Tell ltmain to make .dll files, not .so files.
12511 # FIXME: Setting linknames here is a bad hack.
12512 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
12513 # The linker will automatically build a .lib file if we build a DLL.
12514 old_archive_from_new_cmds
='true'
12515 # FIXME: Should let the user specify the lib program.
12516 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
12517 enable_shared_with_static_runtimes
=yes
12522 darwin
* | rhapsody
*)
12525 archive_cmds_need_lc
=no
12527 hardcode_automatic
=yes
12528 hardcode_shlibpath_var
=unsupported
12529 if test yes = "$lt_cv_ld_force_load"; then
12530 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\"`'
12533 whole_archive_flag_spec
=''
12535 link_all_deplibs
=yes
12536 allow_undefined_flag
=$_lt_dar_allow_undefined
12537 case $cc_basename in
12538 ifort
*|nagfor
*) _lt_dar_can_shared
=yes ;;
12539 *) _lt_dar_can_shared
=$GCC ;;
12541 if test yes = "$_lt_dar_can_shared"; then
12542 output_verbose_link_cmd
=func_echo_all
12543 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
12544 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
12545 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"
12546 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"
12555 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12556 hardcode_libdir_flag_spec
='-L$libdir'
12557 hardcode_shlibpath_var
=no
12560 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
12561 # support. Future versions do this automatically, but an explicit c++rt0.o
12562 # does not break anything, and helps significantly (at the cost of a little
12565 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
12566 hardcode_libdir_flag_spec
='-R$libdir'
12567 hardcode_direct
=yes
12568 hardcode_shlibpath_var
=no
12571 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
12573 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
12574 hardcode_direct
=yes
12575 hardcode_minus_L
=yes
12576 hardcode_shlibpath_var
=no
12579 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
12580 freebsd
* | dragonfly
*)
12581 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
12582 hardcode_libdir_flag_spec
='-R$libdir'
12583 hardcode_direct
=yes
12584 hardcode_shlibpath_var
=no
12588 if test yes = "$GCC"; then
12589 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'
12591 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'
12593 hardcode_libdir_flag_spec
='$wl+b $wl$libdir'
12594 hardcode_libdir_separator
=:
12595 hardcode_direct
=yes
12597 # hardcode_minus_L: Not really in the search PATH,
12598 # but as the default location of the library.
12599 hardcode_minus_L
=yes
12600 export_dynamic_flag_spec
='$wl-E'
12604 if test yes,no
= "$GCC,$with_gnu_ld"; then
12605 archive_cmds
='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12607 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
12609 if test no
= "$with_gnu_ld"; then
12610 hardcode_libdir_flag_spec
='$wl+b $wl$libdir'
12611 hardcode_libdir_separator
=:
12612 hardcode_direct
=yes
12613 hardcode_direct_absolute
=yes
12614 export_dynamic_flag_spec
='$wl-E'
12615 # hardcode_minus_L: Not really in the search PATH,
12616 # but as the default location of the library.
12617 hardcode_minus_L
=yes
12622 if test yes,no
= "$GCC,$with_gnu_ld"; then
12625 archive_cmds
='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
12628 archive_cmds
='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
12631 archive_cmds
='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12637 archive_cmds
='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
12640 archive_cmds
='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
12644 # Older versions of the 11.00 compiler do not understand -b yet
12645 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
12646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
12647 $as_echo_n "checking if $CC understands -b... " >&6; }
12648 if ${lt_cv_prog_compiler__b+:} false
; then :
12649 $as_echo_n "(cached) " >&6
12651 lt_cv_prog_compiler__b
=no
12652 save_LDFLAGS
=$LDFLAGS
12653 LDFLAGS
="$LDFLAGS -b"
12654 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
12655 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
12656 # The linker can only warn and ignore the option if not recognized
12657 # So say no if there are warnings
12658 if test -s conftest.err
; then
12659 # Append any errors to the config.log.
12660 cat conftest.err
1>&5
12661 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
12662 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
12663 if diff conftest.exp conftest.er2
>/dev
/null
; then
12664 lt_cv_prog_compiler__b
=yes
12667 lt_cv_prog_compiler__b
=yes
12671 LDFLAGS
=$save_LDFLAGS
12674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
12675 $as_echo "$lt_cv_prog_compiler__b" >&6; }
12677 if test yes = "$lt_cv_prog_compiler__b"; then
12678 archive_cmds
='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12680 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
12686 if test no
= "$with_gnu_ld"; then
12687 hardcode_libdir_flag_spec
='$wl+b $wl$libdir'
12688 hardcode_libdir_separator
=:
12693 hardcode_shlibpath_var
=no
12696 hardcode_direct
=yes
12697 hardcode_direct_absolute
=yes
12698 export_dynamic_flag_spec
='$wl-E'
12700 # hardcode_minus_L: Not really in the search PATH,
12701 # but as the default location of the library.
12702 hardcode_minus_L
=yes
12708 irix5
* | irix6
* | nonstopux
*)
12709 if test yes = "$GCC"; then
12710 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'
12711 # Try to use the -exported_symbol ld option, if it does not
12712 # work, assume that -exports_file does not work either and
12713 # implicitly export all symbols.
12714 # This should be the same for all languages, so no per-tag cache variable.
12715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
12716 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
12717 if ${lt_cv_irix_exported_symbol+:} false
; then :
12718 $as_echo_n "(cached) " >&6
12720 save_LDFLAGS
=$LDFLAGS
12721 LDFLAGS
="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
12722 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12723 /* end confdefs.h. */
12724 int foo (void) { return 0; }
12726 if ac_fn_c_try_link
"$LINENO"; then :
12727 lt_cv_irix_exported_symbol
=yes
12729 lt_cv_irix_exported_symbol
=no
12731 rm -f core conftest.err conftest.
$ac_objext \
12732 conftest
$ac_exeext conftest.
$ac_ext
12733 LDFLAGS
=$save_LDFLAGS
12735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
12736 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
12737 if test yes = "$lt_cv_irix_exported_symbol"; then
12738 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'
12741 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'
12742 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'
12744 archive_cmds_need_lc
='no'
12745 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
12746 hardcode_libdir_separator
=:
12748 link_all_deplibs
=yes
12752 case $cc_basename in
12754 # Fabrice Bellard et al's Tiny C Compiler
12756 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
12762 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
12763 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
12765 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
12767 hardcode_libdir_flag_spec
='-R$libdir'
12768 hardcode_direct
=yes
12769 hardcode_shlibpath_var
=no
12773 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12774 hardcode_direct
=yes
12775 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
12776 hardcode_libdir_separator
=:
12777 hardcode_shlibpath_var
=no
12783 openbsd
* | bitrig
*)
12784 if test -f /usr
/libexec
/ld.so
; then
12785 hardcode_direct
=yes
12786 hardcode_shlibpath_var
=no
12787 hardcode_direct_absolute
=yes
12788 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
12789 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
12790 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
12791 hardcode_libdir_flag_spec
='$wl-rpath,$libdir'
12792 export_dynamic_flag_spec
='$wl-E'
12794 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
12795 hardcode_libdir_flag_spec
='$wl-rpath,$libdir'
12803 hardcode_libdir_flag_spec
='-L$libdir'
12804 hardcode_minus_L
=yes
12805 allow_undefined_flag
=unsupported
12807 archive_cmds
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
12808 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
12809 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
12810 $ECHO EXPORTS >> $output_objdir/$libname.def~
12811 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
12812 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
12813 emximp -o $lib $output_objdir/$libname.def'
12814 archive_expsym_cmds
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
12815 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
12816 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
12817 $ECHO EXPORTS >> $output_objdir/$libname.def~
12818 prefix_cmds="$SED"~
12819 if test EXPORTS = "`$SED 1q $export_symbols`"; then
12820 prefix_cmds="$prefix_cmds -e 1d";
12822 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
12823 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
12824 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
12825 emximp -o $lib $output_objdir/$libname.def'
12826 old_archive_From_new_cmds
='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
12827 enable_shared_with_static_runtimes
=yes
12831 if test yes = "$GCC"; then
12832 allow_undefined_flag
=' $wl-expect_unresolved $wl\*'
12833 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'
12835 allow_undefined_flag
=' -expect_unresolved \*'
12836 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'
12838 archive_cmds_need_lc
='no'
12839 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
12840 hardcode_libdir_separator
=:
12843 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
12844 if test yes = "$GCC"; then
12845 allow_undefined_flag
=' $wl-expect_unresolved $wl\*'
12846 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'
12847 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
12849 allow_undefined_flag
=' -expect_unresolved \*'
12850 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'
12851 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~
12852 $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'
12854 # Both c and cxx compiler support -rpath directly
12855 hardcode_libdir_flag_spec
='-rpath $libdir'
12857 archive_cmds_need_lc
='no'
12858 hardcode_libdir_separator
=:
12862 no_undefined_flag
=' -z defs'
12863 if test yes = "$GCC"; then
12865 archive_cmds
='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
12866 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12867 $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'
12869 case `$CC -V 2>&1` in
12872 archive_cmds
='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
12873 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12874 $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
12878 archive_cmds
='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
12879 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12880 $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
12884 hardcode_libdir_flag_spec
='-R$libdir'
12885 hardcode_shlibpath_var
=no
12887 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
12889 # The compiler driver will combine and reorder linker options,
12890 # but understands '-z linker_flag'. GCC discards it without '$wl',
12891 # but is careful enough not to reorder.
12892 # Supported since Solaris 2.6 (maybe 2.5.1?)
12893 if test yes = "$GCC"; then
12894 whole_archive_flag_spec
='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
12896 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
12900 link_all_deplibs
=yes
12904 if test sequent
= "$host_vendor"; then
12905 # Use $CC to link under sequent, because it throws in some extra .o
12906 # files that make .init and .fini sections work.
12907 archive_cmds
='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
12909 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
12911 hardcode_libdir_flag_spec
='-L$libdir'
12912 hardcode_direct
=yes
12913 hardcode_minus_L
=yes
12914 hardcode_shlibpath_var
=no
12918 case $host_vendor in
12920 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12921 hardcode_direct
=yes # is this really true???
12924 ## LD is ld it makes a PLAMLIB
12925 ## CC just makes a GrossModule.
12926 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
12927 reload_cmds
='$CC -r -o $output$reload_objs'
12931 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12932 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
12935 runpath_var
='LD_RUN_PATH'
12936 hardcode_shlibpath_var
=no
12940 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12941 hardcode_shlibpath_var
=no
12942 export_dynamic_flag_spec
='-Bexport'
12946 if test -d /usr
/nec
; then
12947 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12948 hardcode_shlibpath_var
=no
12949 runpath_var
=LD_RUN_PATH
12950 hardcode_runpath_var
=yes
12955 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
12956 no_undefined_flag
='$wl-z,text'
12957 archive_cmds_need_lc
=no
12958 hardcode_shlibpath_var
=no
12959 runpath_var
='LD_RUN_PATH'
12961 if test yes = "$GCC"; then
12962 archive_cmds
='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12963 archive_expsym_cmds
='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12965 archive_cmds
='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12966 archive_expsym_cmds
='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12970 sysv5
* | sco3.2v5
* | sco5v6
*)
12971 # Note: We CANNOT use -z defs as we might desire, because we do not
12972 # link with -lc, and that would cause any symbols used from libc to
12973 # always be unresolved, which means just about no library would
12974 # ever link correctly. If we're not using GNU ld we use -z text
12975 # though, which does catch some bad symbols but isn't as heavy-handed
12977 no_undefined_flag
='$wl-z,text'
12978 allow_undefined_flag
='$wl-z,nodefs'
12979 archive_cmds_need_lc
=no
12980 hardcode_shlibpath_var
=no
12981 hardcode_libdir_flag_spec
='$wl-R,$libdir'
12982 hardcode_libdir_separator
=':'
12983 link_all_deplibs
=yes
12984 export_dynamic_flag_spec
='$wl-Bexport'
12985 runpath_var
='LD_RUN_PATH'
12987 if test yes = "$GCC"; then
12988 archive_cmds
='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12989 archive_expsym_cmds
='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12991 archive_cmds
='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12992 archive_expsym_cmds
='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12997 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12998 hardcode_libdir_flag_spec
='-L$libdir'
12999 hardcode_shlibpath_var
=no
13007 if test sni
= "$host_vendor"; then
13009 sysv4
| sysv4.2uw2
* | sysv4.3
* | sysv5
*)
13010 export_dynamic_flag_spec
='$wl-Blargedynsym'
13016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
13017 $as_echo "$ld_shlibs" >&6; }
13018 test no
= "$ld_shlibs" && can_build_shared
=no
13020 with_gnu_ld
=$with_gnu_ld
13037 # Do we need to explicitly link libc?
13039 case "x$archive_cmds_need_lc" in
13041 # Assume -lc should be added
13042 archive_cmds_need_lc
=yes
13044 if test yes,yes = "$GCC,$enable_shared"; then
13045 case $archive_cmds in
13047 # FIXME: we may have to deal with multi-command sequences.
13050 # Test whether the compiler implicitly links with -lc since on some
13051 # systems, -lgcc has to come before -lc. If gcc already passes -lc
13052 # to ld, don't add -lc before -lgcc.
13053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
13054 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
13055 if ${lt_cv_archive_cmds_need_lc+:} false
; then :
13056 $as_echo_n "(cached) " >&6
13059 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13061 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13062 (eval $ac_compile) 2>&5
13064 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13065 test $ac_status = 0; } 2>conftest.err
; then
13068 libobjs
=conftest.
$ac_objext
13070 wl
=$lt_prog_compiler_wl
13071 pic_flag
=$lt_prog_compiler_pic
13077 lt_save_allow_undefined_flag
=$allow_undefined_flag
13078 allow_undefined_flag
=
13079 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
13080 (eval $archive_cmds 2\
>\
&1 \
| $GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
13082 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13083 test $ac_status = 0; }
13085 lt_cv_archive_cmds_need_lc
=no
13087 lt_cv_archive_cmds_need_lc
=yes
13089 allow_undefined_flag
=$lt_save_allow_undefined_flag
13091 cat conftest.err
1>&5
13096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
13097 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
13098 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
13256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
13257 $as_echo_n "checking dynamic linker characteristics... " >&6; }
13259 if test yes = "$GCC"; then
13261 darwin
*) lt_awk_arg
='/^libraries:/,/LR/' ;;
13262 *) lt_awk_arg
='/^libraries:/' ;;
13265 mingw
* | cegcc
*) lt_sed_strip_eq
='s|=\([A-Za-z]:\)|\1|g' ;;
13266 *) lt_sed_strip_eq
='s|=/|/|g' ;;
13268 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
13269 case $lt_search_path_spec in
13271 # if the path contains ";" then we assume it to be the separator
13272 # otherwise default to the standard path separator (i.e. ":") - it is
13273 # assumed that no part of a normal pathname contains ";" but that should
13274 # okay in the real world where ";" in dirpaths is itself problematic.
13275 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
13278 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
13281 # Ok, now we have the path, separated by spaces, we can step through it
13282 # and add multilib dir if necessary...
13283 lt_tmp_lt_search_path_spec
=
13284 lt_multi_os_dir
=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
13285 # ...but if some path component already ends with the multilib dir we assume
13286 # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
13287 case "$lt_multi_os_dir; $lt_search_path_spec " in
13288 "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
13292 for lt_sys_path
in $lt_search_path_spec; do
13293 if test -d "$lt_sys_path$lt_multi_os_dir"; then
13294 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
13295 elif test -n "$lt_multi_os_dir"; then
13296 test -d "$lt_sys_path" && \
13297 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
13300 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
13301 BEGIN {RS = " "; FS = "/|\n";} {
13304 for (lt_i = NF; lt_i > 0; lt_i--) {
13305 if ($lt_i != "" && $lt_i != ".") {
13306 if ($lt_i == "..") {
13309 if (lt_count == 0) {
13310 lt_foo = "/" $lt_i lt_foo;
13317 if (lt_foo != "") { lt_freq[lt_foo]++; }
13318 if (lt_freq[lt_foo] == 1) { print lt_foo; }
13320 # AWK program above erroneously prepends '/' to C:/dos/paths
13323 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
13324 $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
13326 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
13328 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
13330 library_names_spec
=
13331 libname_spec
='lib$name'
13335 postuninstall_cmds
=
13339 shlibpath_overrides_runpath
=unknown
13341 dynamic_linker
="$host_os ld.so"
13342 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
13343 need_lib_prefix
=unknown
13344 hardcode_into_libs
=no
13346 # when you set need_version to no, make sure it does not cause -set_version
13347 # flags to be left without arguments
13348 need_version
=unknown
13354 version_type
=linux
# correct to gnu/linux during the next big refactor
13355 library_names_spec
='$libname$release$shared_ext$versuffix $libname.a'
13356 shlibpath_var
=LIBPATH
13358 # AIX 3 has no versioning support, so we append a major version to the name.
13359 soname_spec
='$libname$release$shared_ext$major'
13363 version_type
=linux
# correct to gnu/linux during the next big refactor
13366 hardcode_into_libs
=yes
13367 if test ia64
= "$host_cpu"; then
13368 # AIX 5 supports IA64
13369 library_names_spec
='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
13370 shlibpath_var
=LD_LIBRARY_PATH
13372 # With GCC up to 2.95.x, collect2 would create an import file
13373 # for dependence libraries. The import file would start with
13374 # the line '#! .'. This would cause the generated library to
13375 # depend on '.', always an invalid library. This was fixed in
13376 # development snapshots of GCC prior to 3.0.
13378 aix4
| aix4.
[01] | aix4.
[01].
*)
13379 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
13381 echo '#endif'; } | $CC -E - | $GREP yes > /dev
/null
; then
13384 can_build_shared
=no
13388 # Using Import Files as archive members, it is possible to support
13389 # filename-based versioning of shared library archives on AIX. While
13390 # this would work for both with and without runtime linking, it will
13391 # prevent static linking of such archives. So we do filename-based
13392 # shared library versioning with .so extension only, which is used
13393 # when both runtime linking and shared linking is enabled.
13394 # Unfortunately, runtime linking may impact performance, so we do
13395 # not want this to be the default eventually. Also, we use the
13396 # versioned .so libs for executables only if there is the -brtl
13397 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
13398 # To allow for filename-based versioning support, we need to create
13399 # libNAME.so.V as an archive file, containing:
13400 # *) an Import File, referring to the versioned filename of the
13401 # archive as well as the shared archive member, telling the
13402 # bitwidth (32 or 64) of that shared object, and providing the
13403 # list of exported symbols of that shared object, eventually
13404 # decorated with the 'weak' keyword
13405 # *) the shared object with the F_LOADONLY flag set, to really avoid
13406 # it being seen by the linker.
13407 # At run time we better use the real file rather than another symlink,
13408 # but for link time we create the symlink libNAME.so -> libNAME.so.V
13410 case $with_aix_soname,$aix_use_runtimelinking in
13411 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
13412 # soname into executable. Probably we can add versioning support to
13413 # collect2, so additional links can be useful in future.
13414 aix
,yes) # traditional libtool
13415 dynamic_linker
='AIX unversionable lib.so'
13416 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
13417 # instead of lib<name>.a to let people know that these are not
13418 # typical AIX shared libraries.
13419 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13421 aix
,no
) # traditional AIX only
13422 dynamic_linker
='AIX lib.a(lib.so.V)'
13423 # We preserve .a as extension for shared libraries through AIX4.2
13424 # and later when we are not doing run time linking.
13425 library_names_spec
='$libname$release.a $libname.a'
13426 soname_spec
='$libname$release$shared_ext$major'
13428 svr4
,*) # full svr4 only
13429 dynamic_linker
="AIX lib.so.V($shared_archive_member_spec.o)"
13430 library_names_spec
='$libname$release$shared_ext$major $libname$shared_ext'
13431 # We do not specify a path in Import Files, so LIBPATH fires.
13432 shlibpath_overrides_runpath
=yes
13434 *,yes) # both, prefer svr4
13435 dynamic_linker
="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
13436 library_names_spec
='$libname$release$shared_ext$major $libname$shared_ext'
13437 # unpreferred sharedlib libNAME.a needs extra handling
13438 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"'
13439 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"'
13440 # We do not specify a path in Import Files, so LIBPATH fires.
13441 shlibpath_overrides_runpath
=yes
13443 *,no
) # both, prefer aix
13444 dynamic_linker
="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
13445 library_names_spec
='$libname$release.a $libname.a'
13446 soname_spec
='$libname$release$shared_ext$major'
13447 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
13448 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)'
13449 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"'
13452 shlibpath_var
=LIBPATH
13459 # Since July 2007 AmigaOS4 officially supports .so libraries.
13460 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
13461 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13464 library_names_spec
='$libname.ixlibrary $libname.a'
13465 # Create ${libname}_ixlibrary.a entries in /sys/libs.
13466 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'
13472 library_names_spec
='$libname$shared_ext'
13473 dynamic_linker
="$host_os ld.so"
13474 shlibpath_var
=LIBRARY_PATH
13478 version_type
=linux
# correct to gnu/linux during the next big refactor
13480 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13481 soname_spec
='$libname$release$shared_ext$major'
13482 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
13483 shlibpath_var
=LD_LIBRARY_PATH
13484 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
13485 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
13486 # the default ld.so.conf also contains /usr/contrib/lib and
13487 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
13488 # libtool to hard-code these into programs
13491 cygwin
* | mingw
* | pw32
* | cegcc
*)
13492 version_type
=windows
13497 case $GCC,$cc_basename in
13500 library_names_spec
='$libname.dll.a'
13501 # DLL is installed to $(libdir)/../bin by postinstall_cmds
13502 postinstall_cmds
='base_file=`basename \$file`~
13503 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
13504 dldir=$destdir/`dirname \$dlpath`~
13505 test -d \$dldir || mkdir -p \$dldir~
13506 $install_prog $dir/$dlname \$dldir/$dlname~
13507 chmod a+x \$dldir/$dlname~
13508 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
13509 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
13511 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
13512 dlpath=$dir/\$dldll~
13514 shlibpath_overrides_runpath
=yes
13518 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
13519 soname_spec
='`echo $libname | sed -e 's
/^lib
/cyg
/'``echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
13521 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
13524 # MinGW DLLs use traditional 'lib' prefix
13525 soname_spec
='$libname`echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
13528 # pw32 DLLs use 'pw' prefix rather than 'lib'
13529 library_names_spec
='`echo $libname | sed -e 's
/^lib
/pw
/'``echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
13532 dynamic_linker
='Win32 ld.exe'
13537 libname_spec
='$name'
13538 soname_spec
='$libname`echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
13539 library_names_spec
='$libname.dll.lib'
13543 sys_lib_search_path_spec
=
13546 for lt_path
in $LIB
13549 # Let DOS variable expansion print the short 8.3 style file name.
13550 lt_path
=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
13551 sys_lib_search_path_spec
="$sys_lib_search_path_spec $lt_path"
13554 # Convert to MSYS style.
13555 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
13558 # Convert to unix form, then to dos form, then back to unix form
13559 # but this time dos style (no spaces!) so that the unix form looks
13560 # like /cygdrive/c/PROGRA~1:/cygdr...
13561 sys_lib_search_path_spec
=`cygpath --path --unix "$LIB"`
13562 sys_lib_search_path_spec
=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
13563 sys_lib_search_path_spec
=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
13566 sys_lib_search_path_spec
=$LIB
13567 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev
/null
; then
13568 # It is most probably a Windows format PATH.
13569 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
13571 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
13573 # FIXME: find the short name or the path components, as spaces are
13574 # common. (e.g. "Program Files" -> "PROGRA~1")
13578 # DLL is installed to $(libdir)/../bin by postinstall_cmds
13579 postinstall_cmds
='base_file=`basename \$file`~
13580 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
13581 dldir=$destdir/`dirname \$dlpath`~
13582 test -d \$dldir || mkdir -p \$dldir~
13583 $install_prog $dir/$dlname \$dldir/$dlname'
13584 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
13585 dlpath=$dir/\$dldll~
13587 shlibpath_overrides_runpath
=yes
13588 dynamic_linker
='Win32 link.exe'
13592 # Assume MSVC wrapper
13593 library_names_spec
='$libname`echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext $libname.lib'
13594 dynamic_linker
='Win32 ld.exe'
13597 # FIXME: first we should search . and the directory the executable is in
13601 darwin
* | rhapsody
*)
13602 dynamic_linker
="$host_os dyld"
13603 version_type
=darwin
13606 library_names_spec
='$libname$release$major$shared_ext $libname$shared_ext'
13607 soname_spec
='$libname$release$major$shared_ext'
13608 shlibpath_overrides_runpath
=yes
13609 shlibpath_var
=DYLD_LIBRARY_PATH
13610 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
13612 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
13613 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
13617 version_type
=linux
# correct to gnu/linux during the next big refactor
13620 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13621 soname_spec
='$libname$release$shared_ext$major'
13622 shlibpath_var
=LD_LIBRARY_PATH
13625 freebsd
* | dragonfly
*)
13626 # DragonFly does not have aout. When/if they implement a new
13627 # versioning mechanism, adjust this.
13628 if test -x /usr
/bin
/objformat
; then
13629 objformat
=`/usr/bin/objformat`
13632 freebsd
[23].
*) objformat
=aout
;;
13633 *) objformat
=elf
;;
13636 version_type
=freebsd
-$objformat
13637 case $version_type in
13639 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13640 soname_spec
='$libname$release$shared_ext$major'
13645 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
13649 shlibpath_var
=LD_LIBRARY_PATH
13652 shlibpath_overrides_runpath
=yes
13654 freebsd3.
[01]* | freebsdelf3.
[01]*)
13655 shlibpath_overrides_runpath
=yes
13656 hardcode_into_libs
=yes
13658 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
13659 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
13660 shlibpath_overrides_runpath
=no
13661 hardcode_into_libs
=yes
13663 *) # from 4.6 on, and DragonFly
13664 shlibpath_overrides_runpath
=yes
13665 hardcode_into_libs
=yes
13671 version_type
=linux
# correct to gnu/linux during the next big refactor
13674 dynamic_linker
="$host_os runtime_loader"
13675 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13676 soname_spec
='$libname$release$shared_ext$major'
13677 shlibpath_var
=LIBRARY_PATH
13678 shlibpath_overrides_runpath
=no
13679 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
13680 hardcode_into_libs
=yes
13683 hpux9
* | hpux10
* | hpux11
*)
13684 # Give a soname corresponding to the major version so that dld.sl refuses to
13685 # link against other versions.
13692 hardcode_into_libs
=yes
13693 dynamic_linker
="$host_os dld.so"
13694 shlibpath_var
=LD_LIBRARY_PATH
13695 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
13696 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13697 soname_spec
='$libname$release$shared_ext$major'
13698 if test 32 = "$HPUX_IA64_MODE"; then
13699 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
13700 sys_lib_dlsearch_path_spec
=/usr
/lib
/hpux32
13702 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
13703 sys_lib_dlsearch_path_spec
=/usr
/lib
/hpux64
13708 hardcode_into_libs
=yes
13709 dynamic_linker
="$host_os dld.sl"
13710 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
13711 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
13712 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13713 soname_spec
='$libname$release$shared_ext$major'
13714 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
13715 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
13719 dynamic_linker
="$host_os dld.sl"
13720 shlibpath_var
=SHLIB_PATH
13721 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
13722 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13723 soname_spec
='$libname$release$shared_ext$major'
13726 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
13727 postinstall_cmds
='chmod 555 $lib'
13728 # or fails outright, so override atomically:
13729 install_override_mode
=555
13733 version_type
=linux
# correct to gnu/linux during the next big refactor
13736 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13737 soname_spec
='$libname$release$shared_ext$major'
13738 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
13739 shlibpath_var
=LD_LIBRARY_PATH
13740 shlibpath_overrides_runpath
=no
13741 hardcode_into_libs
=yes
13744 irix5
* | irix6
* | nonstopux
*)
13746 nonstopux
*) version_type
=nonstopux
;;
13748 if test yes = "$lt_cv_prog_gnu_ld"; then
13749 version_type
=linux
# correct to gnu/linux during the next big refactor
13756 soname_spec
='$libname$release$shared_ext$major'
13757 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
13759 irix5
* | nonstopux
*)
13760 libsuff
= shlibsuff
=
13763 case $LD in # libtool.m4 will add one of these switches to LD
13764 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
13765 libsuff
= shlibsuff
= libmagic
=32-bit;;
13766 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
13767 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
13768 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
13769 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
13770 *) libsuff
= shlibsuff
= libmagic
=never
-match;;
13774 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
13775 shlibpath_overrides_runpath
=no
13776 sys_lib_search_path_spec
="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
13777 sys_lib_dlsearch_path_spec
="/usr/lib$libsuff /lib$libsuff"
13778 hardcode_into_libs
=yes
13781 # No shared lib support for Linux oldld, aout, or coff.
13782 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
13787 version_type
=none
# Android doesn't support versioned libraries.
13790 library_names_spec
='$libname$release$shared_ext'
13791 soname_spec
='$libname$release$shared_ext'
13793 shlibpath_var
=LD_LIBRARY_PATH
13794 shlibpath_overrides_runpath
=yes
13796 # This implies no fast_install, which is unacceptable.
13797 # Some rework will be needed to allow for fast_install
13798 # before this can be enabled.
13799 hardcode_into_libs
=yes
13801 dynamic_linker
='Android linker'
13802 # Don't embed -rpath directories since the linker doesn't support them.
13803 hardcode_libdir_flag_spec
='-L$libdir'
13806 # This must be glibc/ELF.
13807 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
13808 version_type
=linux
# correct to gnu/linux during the next big refactor
13811 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13812 soname_spec
='$libname$release$shared_ext$major'
13813 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
13814 shlibpath_var
=LD_LIBRARY_PATH
13815 shlibpath_overrides_runpath
=no
13817 # Some binutils ld are patched to set DT_RUNPATH
13818 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
13819 $as_echo_n "(cached) " >&6
13821 lt_cv_shlibpath_overrides_runpath
=no
13822 save_LDFLAGS
=$LDFLAGS
13823 save_libdir
=$libdir
13824 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
13825 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
13826 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13827 /* end confdefs.h. */
13837 if ac_fn_c_try_link
"$LINENO"; then :
13838 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null
| grep "RUNPATH.*$libdir" >/dev
/null
; then :
13839 lt_cv_shlibpath_overrides_runpath
=yes
13842 rm -f core conftest.err conftest.
$ac_objext \
13843 conftest
$ac_exeext conftest.
$ac_ext
13844 LDFLAGS
=$save_LDFLAGS
13845 libdir
=$save_libdir
13849 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
13851 # This implies no fast_install, which is unacceptable.
13852 # Some rework will be needed to allow for fast_install
13853 # before this can be enabled.
13854 hardcode_into_libs
=yes
13856 # Ideally, we could use ldconfig to report *all* directores which are
13857 # searched for libraries, however this is still not possible. Aside from not
13858 # being certain /sbin/ldconfig is available, command
13859 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
13860 # even though it is searched at run-time. Try to do the best guess by
13861 # appending ld.so.conf contents (and includes) to the search path.
13862 if test -f /etc
/ld.so.conf
; then
13863 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' ' '`
13864 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
13867 # We used to test for /lib/ld.so.1 and disable shared libraries on
13868 # powerpc, because MkLinux only supported shared libraries with the
13869 # GNU dynamic linker. Since this was broken with cross compilers,
13870 # most powerpc-linux boxes support dynamic linking these days and
13871 # people can always --disable-shared, the test was removed, and we
13872 # assume the GNU/Linux dynamic linker is in use.
13873 dynamic_linker
='GNU/Linux ld.so'
13880 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
13881 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
13882 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13883 dynamic_linker
='NetBSD (a.out) ld.so'
13885 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13886 soname_spec
='$libname$release$shared_ext$major'
13887 dynamic_linker
='NetBSD ld.elf_so'
13889 shlibpath_var
=LD_LIBRARY_PATH
13890 shlibpath_overrides_runpath
=yes
13891 hardcode_into_libs
=yes
13895 version_type
=linux
# correct to gnu/linux during the next big refactor
13896 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13897 shlibpath_var
=LD_LIBRARY_PATH
13898 shlibpath_overrides_runpath
=yes
13905 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13906 soname_spec
='$libname$release$shared_ext$major'
13907 shlibpath_var
=LD_LIBRARY_PATH
13908 shlibpath_overrides_runpath
=no
13909 hardcode_into_libs
=yes
13910 dynamic_linker
='ldqnx.so'
13913 openbsd
* | bitrig
*)
13915 sys_lib_dlsearch_path_spec
=/usr
/lib
13917 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
13922 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
13923 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13924 shlibpath_var
=LD_LIBRARY_PATH
13925 shlibpath_overrides_runpath
=yes
13929 libname_spec
='$name'
13930 version_type
=windows
13934 # OS/2 can only load a DLL with a base name of 8 characters or less.
13935 soname_spec
='`test -n "$os2dllname" && libname="$os2dllname";
13936 v=$($ECHO $release$versuffix | tr -d .-);
13937 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
13938 $ECHO $n$v`$shared_ext'
13939 library_names_spec
='${libname}_dll.$libext'
13940 dynamic_linker
='OS/2 ld.exe'
13941 shlibpath_var
=BEGINLIBPATH
13942 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
13943 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
13944 postinstall_cmds
='base_file=`basename \$file`~
13945 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
13946 dldir=$destdir/`dirname \$dlpath`~
13947 test -d \$dldir || mkdir -p \$dldir~
13948 $install_prog $dir/$dlname \$dldir/$dlname~
13949 chmod a+x \$dldir/$dlname~
13950 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
13951 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
13953 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
13954 dlpath=$dir/\$dldll~
13958 osf3
* | osf4
* | osf5
*)
13962 soname_spec
='$libname$release$shared_ext$major'
13963 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13964 shlibpath_var
=LD_LIBRARY_PATH
13965 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
13966 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
13974 version_type
=linux
# correct to gnu/linux during the next big refactor
13977 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13978 soname_spec
='$libname$release$shared_ext$major'
13979 shlibpath_var
=LD_LIBRARY_PATH
13980 shlibpath_overrides_runpath
=yes
13981 hardcode_into_libs
=yes
13982 # ldd complains unless libraries are executable
13983 postinstall_cmds
='chmod +x $lib'
13988 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
13989 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
13990 shlibpath_var
=LD_LIBRARY_PATH
13991 shlibpath_overrides_runpath
=yes
13992 if test yes = "$with_gnu_ld"; then
13999 version_type
=linux
# correct to gnu/linux during the next big refactor
14000 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
14001 soname_spec
='$libname$release$shared_ext$major'
14002 shlibpath_var
=LD_LIBRARY_PATH
14003 case $host_vendor in
14005 shlibpath_overrides_runpath
=no
14007 runpath_var
=LD_RUN_PATH
14015 shlibpath_overrides_runpath
=no
14016 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
14022 if test -d /usr
/nec
; then
14023 version_type
=linux
# correct to gnu/linux during the next big refactor
14024 library_names_spec
='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
14025 soname_spec
='$libname$shared_ext.$major'
14026 shlibpath_var
=LD_LIBRARY_PATH
14030 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
14034 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
14035 soname_spec
='$libname$release$shared_ext$major'
14036 shlibpath_var
=LD_LIBRARY_PATH
14037 shlibpath_overrides_runpath
=yes
14038 hardcode_into_libs
=yes
14039 if test yes = "$with_gnu_ld"; then
14040 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14042 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
14045 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
14049 sys_lib_dlsearch_path_spec
='/usr/lib'
14053 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
14054 version_type
=linux
# correct to gnu/linux during the next big refactor
14057 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
14058 shlibpath_var
=LD_LIBRARY_PATH
14059 shlibpath_overrides_runpath
=no
14060 hardcode_into_libs
=yes
14064 version_type
=linux
# correct to gnu/linux during the next big refactor
14065 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
14066 soname_spec
='$libname$release$shared_ext$major'
14067 shlibpath_var
=LD_LIBRARY_PATH
14074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14075 $as_echo "$dynamic_linker" >&6; }
14076 test no
= "$dynamic_linker" && can_build_shared
=no
14078 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
14079 if test yes = "$GCC"; then
14080 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14083 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
14084 sys_lib_search_path_spec
=$lt_cv_sys_lib_search_path_spec
14087 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
14088 sys_lib_dlsearch_path_spec
=$lt_cv_sys_lib_dlsearch_path_spec
14091 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
14092 configure_time_dlsearch_path
=$sys_lib_dlsearch_path_spec
14094 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
14095 func_munge_path_list sys_lib_dlsearch_path_spec
"$LT_SYS_LIBRARY_PATH"
14097 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
14098 configure_time_lt_sys_library_path
=$LT_SYS_LIBRARY_PATH
14196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14197 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14199 if test -n "$hardcode_libdir_flag_spec" ||
14200 test -n "$runpath_var" ||
14201 test yes = "$hardcode_automatic"; then
14203 # We can hardcode non-existent directories.
14204 if test no
!= "$hardcode_direct" &&
14205 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14206 # have to relink, otherwise we might link with an installed library
14207 # when we should be linking with a yet-to-be-installed one
14208 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
14209 test no
!= "$hardcode_minus_L"; then
14210 # Linking always hardcodes the temporary library directory.
14211 hardcode_action
=relink
14213 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14214 hardcode_action
=immediate
14217 # We cannot hardcode anything, or else we can only hardcode existing
14219 hardcode_action
=unsupported
14221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
14222 $as_echo "$hardcode_action" >&6; }
14224 if test relink
= "$hardcode_action" ||
14225 test yes = "$inherit_rpath"; then
14226 # Fast installation is not supported
14227 enable_fast_install
=no
14228 elif test yes = "$shlibpath_overrides_runpath" ||
14229 test no
= "$enable_shared"; then
14230 # Fast installation is not necessary
14231 enable_fast_install
=needless
14239 if test yes != "$enable_dlopen"; then
14240 enable_dlopen
=unknown
14241 enable_dlopen_self
=unknown
14242 enable_dlopen_self_static
=unknown
14249 lt_cv_dlopen
=load_add_on
14251 lt_cv_dlopen_self
=yes
14254 mingw
* | pw32
* | cegcc
*)
14255 lt_cv_dlopen
=LoadLibrary
14260 lt_cv_dlopen
=dlopen
14265 # if libdl is installed we need to link against it
14266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14267 $as_echo_n "checking for dlopen in -ldl... " >&6; }
14268 if ${ac_cv_lib_dl_dlopen+:} false
; then :
14269 $as_echo_n "(cached) " >&6
14271 ac_check_lib_save_LIBS
=$LIBS
14273 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14274 /* end confdefs.h. */
14276 /* Override any GCC internal prototype to avoid an error.
14277 Use char because int might match the return type of a GCC
14278 builtin and then its argument prototype would still apply. */
14291 if ac_fn_c_try_link
"$LINENO"; then :
14292 ac_cv_lib_dl_dlopen
=yes
14294 ac_cv_lib_dl_dlopen
=no
14296 rm -f core conftest.err conftest.
$ac_objext \
14297 conftest
$ac_exeext conftest.
$ac_ext
14298 LIBS
=$ac_check_lib_save_LIBS
14300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14301 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
14302 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
14303 lt_cv_dlopen
=dlopen lt_cv_dlopen_libs
=-ldl
14308 lt_cv_dlopen_self
=yes
14315 # Don't try to run any link tests for TPF. We know it's impossible
14316 # because TPF is a cross-compiler, and we know how we open DSOs.
14317 lt_cv_dlopen
=dlopen
14319 lt_cv_dlopen_self
=no
14323 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
14324 if test "x$ac_cv_func_shl_load" = xyes
; then :
14325 lt_cv_dlopen
=shl_load
14327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
14328 $as_echo_n "checking for shl_load in -ldld... " >&6; }
14329 if ${ac_cv_lib_dld_shl_load+:} false
; then :
14330 $as_echo_n "(cached) " >&6
14332 ac_check_lib_save_LIBS
=$LIBS
14334 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14335 /* end confdefs.h. */
14337 /* Override any GCC internal prototype to avoid an error.
14338 Use char because int might match the return type of a GCC
14339 builtin and then its argument prototype would still apply. */
14347 return shl_load ();
14352 if ac_fn_c_try_link
"$LINENO"; then :
14353 ac_cv_lib_dld_shl_load
=yes
14355 ac_cv_lib_dld_shl_load
=no
14357 rm -f core conftest.err conftest.
$ac_objext \
14358 conftest
$ac_exeext conftest.
$ac_ext
14359 LIBS
=$ac_check_lib_save_LIBS
14361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
14362 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
14363 if test "x$ac_cv_lib_dld_shl_load" = xyes
; then :
14364 lt_cv_dlopen
=shl_load lt_cv_dlopen_libs
=-ldld
14366 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
14367 if test "x$ac_cv_func_dlopen" = xyes
; then :
14368 lt_cv_dlopen
=dlopen
14370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14371 $as_echo_n "checking for dlopen in -ldl... " >&6; }
14372 if ${ac_cv_lib_dl_dlopen+:} false
; then :
14373 $as_echo_n "(cached) " >&6
14375 ac_check_lib_save_LIBS
=$LIBS
14377 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14378 /* end confdefs.h. */
14380 /* Override any GCC internal prototype to avoid an error.
14381 Use char because int might match the return type of a GCC
14382 builtin and then its argument prototype would still apply. */
14395 if ac_fn_c_try_link
"$LINENO"; then :
14396 ac_cv_lib_dl_dlopen
=yes
14398 ac_cv_lib_dl_dlopen
=no
14400 rm -f core conftest.err conftest.
$ac_objext \
14401 conftest
$ac_exeext conftest.
$ac_ext
14402 LIBS
=$ac_check_lib_save_LIBS
14404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14405 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
14406 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
14407 lt_cv_dlopen
=dlopen lt_cv_dlopen_libs
=-ldl
14409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
14410 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
14411 if ${ac_cv_lib_svld_dlopen+:} false
; then :
14412 $as_echo_n "(cached) " >&6
14414 ac_check_lib_save_LIBS
=$LIBS
14415 LIBS
="-lsvld $LIBS"
14416 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14417 /* end confdefs.h. */
14419 /* Override any GCC internal prototype to avoid an error.
14420 Use char because int might match the return type of a GCC
14421 builtin and then its argument prototype would still apply. */
14434 if ac_fn_c_try_link
"$LINENO"; then :
14435 ac_cv_lib_svld_dlopen
=yes
14437 ac_cv_lib_svld_dlopen
=no
14439 rm -f core conftest.err conftest.
$ac_objext \
14440 conftest
$ac_exeext conftest.
$ac_ext
14441 LIBS
=$ac_check_lib_save_LIBS
14443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
14444 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
14445 if test "x$ac_cv_lib_svld_dlopen" = xyes
; then :
14446 lt_cv_dlopen
=dlopen lt_cv_dlopen_libs
=-lsvld
14448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
14449 $as_echo_n "checking for dld_link in -ldld... " >&6; }
14450 if ${ac_cv_lib_dld_dld_link+:} false
; then :
14451 $as_echo_n "(cached) " >&6
14453 ac_check_lib_save_LIBS
=$LIBS
14455 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14456 /* end confdefs.h. */
14458 /* Override any GCC internal prototype to avoid an error.
14459 Use char because int might match the return type of a GCC
14460 builtin and then its argument prototype would still apply. */
14468 return dld_link ();
14473 if ac_fn_c_try_link
"$LINENO"; then :
14474 ac_cv_lib_dld_dld_link
=yes
14476 ac_cv_lib_dld_dld_link
=no
14478 rm -f core conftest.err conftest.
$ac_objext \
14479 conftest
$ac_exeext conftest.
$ac_ext
14480 LIBS
=$ac_check_lib_save_LIBS
14482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
14483 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
14484 if test "x$ac_cv_lib_dld_dld_link" = xyes
; then :
14485 lt_cv_dlopen
=dld_link lt_cv_dlopen_libs
=-ldld
14506 if test no
= "$lt_cv_dlopen"; then
14512 case $lt_cv_dlopen in
14514 save_CPPFLAGS
=$CPPFLAGS
14515 test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
14517 save_LDFLAGS
=$LDFLAGS
14518 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
14521 LIBS
="$lt_cv_dlopen_libs $LIBS"
14523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
14524 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
14525 if ${lt_cv_dlopen_self+:} false
; then :
14526 $as_echo_n "(cached) " >&6
14528 if test yes = "$cross_compiling"; then :
14529 lt_cv_dlopen_self
=cross
14531 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
14532 lt_status
=$lt_dlunknown
14533 cat > conftest.
$ac_ext <<_LT_EOF
14534 #line $LINENO "configure"
14535 #include "confdefs.h"
14544 # define LT_DLGLOBAL RTLD_GLOBAL
14547 # define LT_DLGLOBAL DL_GLOBAL
14549 # define LT_DLGLOBAL 0
14553 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
14554 find out it does not work in some platform. */
14555 #ifndef LT_DLLAZY_OR_NOW
14557 # define LT_DLLAZY_OR_NOW RTLD_LAZY
14560 # define LT_DLLAZY_OR_NOW DL_LAZY
14563 # define LT_DLLAZY_OR_NOW RTLD_NOW
14566 # define LT_DLLAZY_OR_NOW DL_NOW
14568 # define LT_DLLAZY_OR_NOW 0
14575 /* When -fvisibility=hidden is used, assume the code has been annotated
14576 correspondingly for the symbols needed. */
14577 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
14578 int fnord () __attribute__((visibility("default")));
14581 int fnord () { return 42; }
14584 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
14585 int status = $lt_dlunknown;
14589 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
14592 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
14593 else puts (dlerror ());
14595 /* dlclose (self); */
14603 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
14604 (eval $ac_link) 2>&5
14606 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14607 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev
/null
; then
14608 (.
/conftest
; exit; ) >&5 2>/dev
/null
14610 case x
$lt_status in
14611 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
14612 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
14613 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
14616 # compilation failed
14617 lt_cv_dlopen_self
=no
14624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
14625 $as_echo "$lt_cv_dlopen_self" >&6; }
14627 if test yes = "$lt_cv_dlopen_self"; then
14628 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
14629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
14630 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
14631 if ${lt_cv_dlopen_self_static+:} false
; then :
14632 $as_echo_n "(cached) " >&6
14634 if test yes = "$cross_compiling"; then :
14635 lt_cv_dlopen_self_static
=cross
14637 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
14638 lt_status
=$lt_dlunknown
14639 cat > conftest.
$ac_ext <<_LT_EOF
14640 #line $LINENO "configure"
14641 #include "confdefs.h"
14650 # define LT_DLGLOBAL RTLD_GLOBAL
14653 # define LT_DLGLOBAL DL_GLOBAL
14655 # define LT_DLGLOBAL 0
14659 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
14660 find out it does not work in some platform. */
14661 #ifndef LT_DLLAZY_OR_NOW
14663 # define LT_DLLAZY_OR_NOW RTLD_LAZY
14666 # define LT_DLLAZY_OR_NOW DL_LAZY
14669 # define LT_DLLAZY_OR_NOW RTLD_NOW
14672 # define LT_DLLAZY_OR_NOW DL_NOW
14674 # define LT_DLLAZY_OR_NOW 0
14681 /* When -fvisibility=hidden is used, assume the code has been annotated
14682 correspondingly for the symbols needed. */
14683 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
14684 int fnord () __attribute__((visibility("default")));
14687 int fnord () { return 42; }
14690 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
14691 int status = $lt_dlunknown;
14695 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
14698 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
14699 else puts (dlerror ());
14701 /* dlclose (self); */
14709 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
14710 (eval $ac_link) 2>&5
14712 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14713 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev
/null
; then
14714 (.
/conftest
; exit; ) >&5 2>/dev
/null
14716 case x
$lt_status in
14717 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
14718 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
14719 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
14722 # compilation failed
14723 lt_cv_dlopen_self_static
=no
14730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
14731 $as_echo "$lt_cv_dlopen_self_static" >&6; }
14734 CPPFLAGS
=$save_CPPFLAGS
14735 LDFLAGS
=$save_LDFLAGS
14740 case $lt_cv_dlopen_self in
14741 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
14742 *) enable_dlopen_self
=unknown
;;
14745 case $lt_cv_dlopen_self_static in
14746 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
14747 *) enable_dlopen_self_static
=unknown
;;
14769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
14770 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
14771 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev
/null
; then
14772 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
14773 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
14774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14775 $as_echo "yes" >&6; }
14777 # FIXME - insert some real tests, host_os isn't really good enough
14780 if test -n "$STRIP"; then
14781 striplib
="$STRIP -x"
14782 old_striplib
="$STRIP -S"
14783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14784 $as_echo "yes" >&6; }
14786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14787 $as_echo "no" >&6; }
14791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14792 $as_echo "no" >&6; }
14808 # Report what library types will actually be built
14809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
14810 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
14811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
14812 $as_echo "$can_build_shared" >&6; }
14814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
14815 $as_echo_n "checking whether to build shared libraries... " >&6; }
14816 test no
= "$can_build_shared" && enable_shared
=no
14818 # On AIX, shared libraries and static libraries use the same namespace, and
14819 # are all built from PIC.
14822 test yes = "$enable_shared" && enable_static
=no
14823 if test -n "$RANLIB"; then
14824 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
14825 postinstall_cmds
='$RANLIB $lib'
14830 if test ia64
!= "$host_cpu"; then
14831 case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
14832 yes,aix
,yes) ;; # shared object as lib.so file only
14833 yes,svr4
,*) ;; # shared object as lib.so archive member only
14834 yes,*) enable_static
=no
;; # shared object in lib.a archive as well
14839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
14840 $as_echo "$enable_shared" >&6; }
14842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
14843 $as_echo_n "checking whether to build static libraries... " >&6; }
14844 # Make sure either enable_shared or enable_static is yes.
14845 test yes = "$enable_shared" || enable_static
=yes
14846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
14847 $as_echo "$enable_static" >&6; }
14854 ac_cpp
='$CPP $CPPFLAGS'
14855 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14856 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14857 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14861 if test -n "$CXX" && ( test no
!= "$CXX" &&
14862 ( (test g
++ = "$CXX" && `g++ -v >/dev/null 2>&1` ) ||
14863 (test g
++ != "$CXX"))); then
14865 ac_cpp
='$CXXCPP $CPPFLAGS'
14866 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14867 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14868 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
14870 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
14871 if test -z "$CXXCPP"; then
14872 if ${ac_cv_prog_CXXCPP+:} false
; then :
14873 $as_echo_n "(cached) " >&6
14875 # Double quotes because CXXCPP needs to be expanded
14876 for CXXCPP
in "$CXX -E" "/lib/cpp"
14878 ac_preproc_ok
=false
14879 for ac_cxx_preproc_warn_flag
in '' yes
14881 # Use a header file that comes with gcc, so configuring glibc
14882 # with a fresh cross-compiler works.
14883 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14884 # <limits.h> exists even on freestanding compilers.
14885 # On the NeXT, cc -E runs the code through the compiler's parser,
14886 # not just through cpp. "Syntax error" is here to catch this case.
14887 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14888 /* end confdefs.h. */
14890 # include <limits.h>
14892 # include <assert.h>
14896 if ac_fn_cxx_try_cpp
"$LINENO"; then :
14899 # Broken: fails on valid input.
14902 rm -f conftest.err conftest.i conftest.
$ac_ext
14904 # OK, works on sane cases. Now check whether nonexistent headers
14905 # can be detected and how.
14906 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14907 /* end confdefs.h. */
14908 #include <ac_nonexistent.h>
14910 if ac_fn_cxx_try_cpp
"$LINENO"; then :
14911 # Broken: success on invalid input.
14914 # Passes both tests.
14918 rm -f conftest.err conftest.i conftest.
$ac_ext
14921 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
14922 rm -f conftest.i conftest.err conftest.
$ac_ext
14923 if $ac_preproc_ok; then :
14928 ac_cv_prog_CXXCPP
=$CXXCPP
14931 CXXCPP
=$ac_cv_prog_CXXCPP
14933 ac_cv_prog_CXXCPP
=$CXXCPP
14935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
14936 $as_echo "$CXXCPP" >&6; }
14937 ac_preproc_ok
=false
14938 for ac_cxx_preproc_warn_flag
in '' yes
14940 # Use a header file that comes with gcc, so configuring glibc
14941 # with a fresh cross-compiler works.
14942 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14943 # <limits.h> exists even on freestanding compilers.
14944 # On the NeXT, cc -E runs the code through the compiler's parser,
14945 # not just through cpp. "Syntax error" is here to catch this case.
14946 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14947 /* end confdefs.h. */
14949 # include <limits.h>
14951 # include <assert.h>
14955 if ac_fn_cxx_try_cpp
"$LINENO"; then :
14958 # Broken: fails on valid input.
14961 rm -f conftest.err conftest.i conftest.
$ac_ext
14963 # OK, works on sane cases. Now check whether nonexistent headers
14964 # can be detected and how.
14965 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14966 /* end confdefs.h. */
14967 #include <ac_nonexistent.h>
14969 if ac_fn_cxx_try_cpp
"$LINENO"; then :
14970 # Broken: success on invalid input.
14973 # Passes both tests.
14977 rm -f conftest.err conftest.i conftest.
$ac_ext
14980 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
14981 rm -f conftest.i conftest.err conftest.
$ac_ext
14982 if $ac_preproc_ok; then :
14985 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14986 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14987 as_fn_error $?
"C++ preprocessor \"$CXXCPP\" fails sanity check
14988 See \`config.log' for more details" "$LINENO" 5; }
14992 ac_cpp
='$CPP $CPPFLAGS'
14993 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14994 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14995 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14998 _lt_caught_CXX_error
=yes
15002 ac_cpp
='$CXXCPP $CPPFLAGS'
15003 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15004 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15005 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
15007 archive_cmds_need_lc_CXX
=no
15008 allow_undefined_flag_CXX
=
15009 always_export_symbols_CXX
=no
15010 archive_expsym_cmds_CXX
=
15011 compiler_needs_object_CXX
=no
15012 export_dynamic_flag_spec_CXX
=
15013 hardcode_direct_CXX
=no
15014 hardcode_direct_absolute_CXX
=no
15015 hardcode_libdir_flag_spec_CXX
=
15016 hardcode_libdir_separator_CXX
=
15017 hardcode_minus_L_CXX
=no
15018 hardcode_shlibpath_var_CXX
=unsupported
15019 hardcode_automatic_CXX
=no
15020 inherit_rpath_CXX
=no
15022 module_expsym_cmds_CXX
=
15023 link_all_deplibs_CXX
=unknown
15024 old_archive_cmds_CXX
=$old_archive_cmds
15025 reload_flag_CXX
=$reload_flag
15026 reload_cmds_CXX
=$reload_cmds
15027 no_undefined_flag_CXX
=
15028 whole_archive_flag_spec_CXX
=
15029 enable_shared_with_static_runtimes_CXX
=no
15031 # Source file extension for C++ test sources.
15034 # Object file extension for compiled C++ test sources.
15038 # No sense in running all these tests if we already determined that
15039 # the CXX compiler isn't working. Some variables (like enable_shared)
15040 # are currently assumed to apply to all compilers on this platform,
15041 # and will be corrupted by setting them based on a non-working compiler.
15042 if test yes != "$_lt_caught_CXX_error"; then
15043 # Code to be used in simple compile tests
15044 lt_simple_compile_test_code
="int some_variable = 0;"
15046 # Code to be used in simple link tests
15047 lt_simple_link_test_code
='int main(int, char *[]) { return(0); }'
15049 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
15056 # If no C compiler was specified, use CC.
15059 # If no C compiler flags were specified, use CFLAGS.
15060 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
15062 # Allow CC to be a program name with arguments.
15066 # save warnings/boilerplate of simple test code
15067 ac_outfile
=conftest.
$ac_objext
15068 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
15069 eval "$ac_compile" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
15070 _lt_compiler_boilerplate
=`cat conftest.err`
15073 ac_outfile
=conftest.
$ac_objext
15074 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
15075 eval "$ac_link" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
15076 _lt_linker_boilerplate
=`cat conftest.err`
15080 # Allow CC to be a program name with arguments.
15082 lt_save_CFLAGS
=$CFLAGS
15086 lt_save_with_gnu_ld
=$with_gnu_ld
15087 lt_save_path_LD
=$lt_cv_path_LD
15088 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
15089 lt_cv_prog_gnu_ld
=$lt_cv_prog_gnu_ldcxx
15091 $as_unset lt_cv_prog_gnu_ld
15093 if test -n "${lt_cv_path_LDCXX+set}"; then
15094 lt_cv_path_LD
=$lt_cv_path_LDCXX
15096 $as_unset lt_cv_path_LD
15098 test -z "${LDCXX+set}" || LD
=$LDCXX
15103 func_cc_basename
$compiler
15104 cc_basename
=$func_cc_basename_result
15107 if test -n "$compiler"; then
15108 # We don't want -fno-exception when compiling C++ code, so set the
15109 # no_builtin_flag separately
15110 if test yes = "$GXX"; then
15111 lt_prog_compiler_no_builtin_flag_CXX
=' -fno-builtin'
15113 lt_prog_compiler_no_builtin_flag_CXX
=
15116 if test yes = "$GXX"; then
15117 # Set up default GNU C++ configuration
15121 # Check whether --with-gnu-ld was given.
15122 if test "${with_gnu_ld+set}" = set; then :
15123 withval
=$with_gnu_ld; test no
= "$withval" || with_gnu_ld
=yes
15129 if test yes = "$GCC"; then
15130 # Check if gcc -print-prog-name=ld gives a path.
15131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
15132 $as_echo_n "checking for ld used by $CC... " >&6; }
15135 # gcc leaves a trailing carriage return, which upsets mingw
15136 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
15138 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
15141 # Accept absolute paths.
15143 re_direlt
='/[^/][^/]*/\.\./'
15144 # Canonicalize the pathname of ld
15145 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
15146 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev
/null
2>&1; do
15147 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
15149 test -z "$LD" && LD
=$ac_prog
15152 # If it fails, then pretend we aren't using GCC.
15156 # If it is relative, then search for the first ld in PATH.
15157 with_gnu_ld
=unknown
15160 elif test yes = "$with_gnu_ld"; then
15161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
15162 $as_echo_n "checking for GNU ld... " >&6; }
15164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
15165 $as_echo_n "checking for non-GNU ld... " >&6; }
15167 if ${lt_cv_path_LD+:} false
; then :
15168 $as_echo_n "(cached) " >&6
15170 if test -z "$LD"; then
15171 lt_save_ifs
=$IFS; IFS
=$PATH_SEPARATOR
15172 for ac_dir
in $PATH; do
15174 test -z "$ac_dir" && ac_dir
=.
15175 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
15176 lt_cv_path_LD
=$ac_dir/$ac_prog
15177 # Check to see if the program is GNU ld. I'd rather use --version,
15178 # but apparently some variants of GNU ld only accept -v.
15179 # Break only if it was the GNU/non-GNU ld that we prefer.
15180 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
15181 *GNU
* | *'with BFD'*)
15182 test no
!= "$with_gnu_ld" && break
15185 test yes != "$with_gnu_ld" && break
15192 lt_cv_path_LD
=$LD # Let the user override the test with a path.
15197 if test -n "$LD"; then
15198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
15199 $as_echo "$LD" >&6; }
15201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15202 $as_echo "no" >&6; }
15204 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
15205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
15206 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
15207 if ${lt_cv_prog_gnu_ld+:} false
; then :
15208 $as_echo_n "(cached) " >&6
15210 # I'd rather use --version here, but apparently some GNU lds only accept -v.
15211 case `$LD -v 2>&1 </dev/null` in
15212 *GNU
* | *'with BFD'*)
15213 lt_cv_prog_gnu_ld
=yes
15216 lt_cv_prog_gnu_ld
=no
15220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
15221 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
15222 with_gnu_ld
=$lt_cv_prog_gnu_ld
15230 # Check if GNU C++ uses GNU ld as the underlying linker, since the
15231 # archiving commands below assume that GNU ld is being used.
15232 if test yes = "$with_gnu_ld"; then
15233 archive_cmds_CXX
='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
15234 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'
15236 hardcode_libdir_flag_spec_CXX
='$wl-rpath $wl$libdir'
15237 export_dynamic_flag_spec_CXX
='$wl--export-dynamic'
15239 # If archive_cmds runs LD, not CC, wlarc should be empty
15240 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
15241 # investigate it a little bit more. (MM)
15244 # ancient GNU ld didn't support --whole-archive et. al.
15245 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
15246 $GREP 'no-whole-archive' > /dev
/null
; then
15247 whole_archive_flag_spec_CXX
=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
15249 whole_archive_flag_spec_CXX
=
15255 # A generic and very simple default shared library creation
15256 # command for GNU C++ for the case where it uses the native
15257 # linker, instead of GNU ld. If possible, this setting should
15258 # overridden to take advantage of the native linker features on
15259 # the platform it is being used on.
15260 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
15263 # Commands to make compiler produce verbose output that lists
15264 # what "hidden" libraries, object files and flags are used when
15265 # linking a shared library.
15266 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
15274 # PORTME: fill in a description of your system's C++ link characteristics
15275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15276 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
15280 # FIXME: insert proper C++ library support
15284 if test ia64
= "$host_cpu"; then
15285 # On IA64, the linker does run time linking by default, so we don't
15286 # have to do anything special.
15287 aix_use_runtimelinking
=no
15288 exp_sym_flag
='-Bexport'
15291 aix_use_runtimelinking
=no
15293 # Test if we are trying to use run time linking or normal
15294 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
15295 # have runtime linking enabled, and use it for executables.
15296 # For shared libraries, we enable/disable runtime linking
15297 # depending on the kind of the shared library created -
15298 # when "with_aix_soname,aix_use_runtimelinking" is:
15299 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables
15300 # "aix,yes" lib.so shared, rtl:yes, for executables
15301 # lib.a static archive
15302 # "both,no" lib.so.V(shr.o) shared, rtl:yes
15303 # lib.a(lib.so.V) shared, rtl:no, for executables
15304 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
15305 # lib.a(lib.so.V) shared, rtl:no
15306 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables
15307 # lib.a static archive
15308 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
15309 for ld_flag
in $LDFLAGS; do
15312 aix_use_runtimelinking
=yes
15317 if test svr4
,no
= "$with_aix_soname,$aix_use_runtimelinking"; then
15318 # With aix-soname=svr4, we create the lib.so.V shared archives only,
15319 # so we don't have lib.a shared libs to link our executables.
15320 # We have to force runtime linking in this case.
15321 aix_use_runtimelinking
=yes
15322 LDFLAGS
="$LDFLAGS -Wl,-brtl"
15327 exp_sym_flag
='-bexport'
15328 no_entry_flag
='-bnoentry'
15331 # When large executables or shared objects are built, AIX ld can
15332 # have problems creating the table of contents. If linking a library
15333 # or program results in "error TOC overflow" add -mminimal-toc to
15334 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
15335 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
15337 archive_cmds_CXX
=''
15338 hardcode_direct_CXX
=yes
15339 hardcode_direct_absolute_CXX
=yes
15340 hardcode_libdir_separator_CXX
=':'
15341 link_all_deplibs_CXX
=yes
15342 file_list_spec_CXX
='$wl-f,'
15343 case $with_aix_soname,$aix_use_runtimelinking in
15344 aix
,*) ;; # no import file
15345 svr4
,* | *,yes) # use import file
15346 # The Import File defines what to hardcode.
15347 hardcode_direct_CXX
=no
15348 hardcode_direct_absolute_CXX
=no
15352 if test yes = "$GXX"; then
15353 case $host_os in aix4.
[012]|aix4.
[012].
*)
15354 # We only want to do this on AIX 4.2 and lower, the check
15355 # below for broken collect2 doesn't work under 4.3+
15356 collect2name
=`$CC -print-prog-name=collect2`
15357 if test -f "$collect2name" &&
15358 strings "$collect2name" | $GREP resolve_lib_name
>/dev
/null
15360 # We have reworked collect2
15363 # We have old collect2
15364 hardcode_direct_CXX
=unsupported
15365 # It fails to find uninstalled libraries when the uninstalled
15366 # path is not listed in the libpath. Setting hardcode_minus_L
15367 # to unsupported forces relinking
15368 hardcode_minus_L_CXX
=yes
15369 hardcode_libdir_flag_spec_CXX
='-L$libdir'
15370 hardcode_libdir_separator_CXX
=
15373 shared_flag
='-shared'
15374 if test yes = "$aix_use_runtimelinking"; then
15375 shared_flag
=$shared_flag' $wl-G'
15377 # Need to ensure runtime linking is disabled for the traditional
15378 # shared library, or the linker may eventually find shared libraries
15379 # /with/ Import File - we do not want to mix them.
15380 shared_flag_aix
='-shared'
15381 shared_flag_svr4
='-shared $wl-G'
15384 if test ia64
= "$host_cpu"; then
15385 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
15386 # chokes on -Wl,-G. The following line is correct:
15389 if test yes = "$aix_use_runtimelinking"; then
15390 shared_flag
='$wl-G'
15392 shared_flag
='$wl-bM:SRE'
15394 shared_flag_aix
='$wl-bM:SRE'
15395 shared_flag_svr4
='$wl-G'
15399 export_dynamic_flag_spec_CXX
='$wl-bexpall'
15400 # It seems that -bexpall does not export symbols beginning with
15401 # underscore (_), so it is better to generate a list of symbols to
15403 always_export_symbols_CXX
=yes
15404 if test aix
,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
15405 # Warning - without using the other runtime loading flags (-brtl),
15406 # -berok will link without error, but may produce a broken library.
15407 # The "-G" linker flag allows undefined symbols.
15408 no_undefined_flag_CXX
='-bernotok'
15409 # Determine the default libpath from the value encoded in an empty
15411 if test set = "${lt_cv_aix_libpath+set}"; then
15412 aix_libpath
=$lt_cv_aix_libpath
15414 if ${lt_cv_aix_libpath__CXX+:} false
; then :
15415 $as_echo_n "(cached) " >&6
15417 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15418 /* end confdefs.h. */
15428 if ac_fn_cxx_try_link
"$LINENO"; then :
15430 lt_aix_libpath_sed
='
15431 /Import File Strings/,/^$/ {
15433 s/^0 *\([^ ]*\) *$/\1/
15437 lt_cv_aix_libpath__CXX
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15438 # Check for a 64-bit object if we didn't find anything.
15439 if test -z "$lt_cv_aix_libpath__CXX"; then
15440 lt_cv_aix_libpath__CXX
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15443 rm -f core conftest.err conftest.
$ac_objext \
15444 conftest
$ac_exeext conftest.
$ac_ext
15445 if test -z "$lt_cv_aix_libpath__CXX"; then
15446 lt_cv_aix_libpath__CXX
=/usr
/lib
:/lib
15451 aix_libpath
=$lt_cv_aix_libpath__CXX
15454 hardcode_libdir_flag_spec_CXX
='$wl-blibpath:$libdir:'"$aix_libpath"
15456 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
15458 if test ia64
= "$host_cpu"; then
15459 hardcode_libdir_flag_spec_CXX
='$wl-R $libdir:/usr/lib:/lib'
15460 allow_undefined_flag_CXX
="-z nodefs"
15461 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"
15463 # Determine the default libpath from the value encoded in an
15464 # empty executable.
15465 if test set = "${lt_cv_aix_libpath+set}"; then
15466 aix_libpath
=$lt_cv_aix_libpath
15468 if ${lt_cv_aix_libpath__CXX+:} false
; then :
15469 $as_echo_n "(cached) " >&6
15471 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15472 /* end confdefs.h. */
15482 if ac_fn_cxx_try_link
"$LINENO"; then :
15484 lt_aix_libpath_sed
='
15485 /Import File Strings/,/^$/ {
15487 s/^0 *\([^ ]*\) *$/\1/
15491 lt_cv_aix_libpath__CXX
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15492 # Check for a 64-bit object if we didn't find anything.
15493 if test -z "$lt_cv_aix_libpath__CXX"; then
15494 lt_cv_aix_libpath__CXX
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15497 rm -f core conftest.err conftest.
$ac_objext \
15498 conftest
$ac_exeext conftest.
$ac_ext
15499 if test -z "$lt_cv_aix_libpath__CXX"; then
15500 lt_cv_aix_libpath__CXX
=/usr
/lib
:/lib
15505 aix_libpath
=$lt_cv_aix_libpath__CXX
15508 hardcode_libdir_flag_spec_CXX
='$wl-blibpath:$libdir:'"$aix_libpath"
15509 # Warning - without using the other run time loading flags,
15510 # -berok will link without error, but may produce a broken library.
15511 no_undefined_flag_CXX
=' $wl-bernotok'
15512 allow_undefined_flag_CXX
=' $wl-berok'
15513 if test yes = "$with_gnu_ld"; then
15514 # We only use this code for GNU lds that support --whole-archive.
15515 whole_archive_flag_spec_CXX
='$wl--whole-archive$convenience $wl--no-whole-archive'
15517 # Exported symbols can be pulled into shared objects from archives
15518 whole_archive_flag_spec_CXX
='$convenience'
15520 archive_cmds_need_lc_CXX
=yes
15521 archive_expsym_cmds_CXX
='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
15522 # -brtl affects multiple linker settings, -berok does not and is overridden later
15523 compiler_flags_filtered
='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
15524 if test svr4
!= "$with_aix_soname"; then
15525 # This is similar to how AIX traditionally builds its shared
15526 # libraries. Need -bnortl late, we may have -brtl in LDFLAGS.
15527 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'
15529 if test aix
!= "$with_aix_soname"; then
15530 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'
15532 # used by -dlpreopen to get the symbols
15533 archive_expsym_cmds_CXX
="$archive_expsym_cmds_CXX"'~$MV $output_objdir/$realname.d/$soname $output_objdir'
15535 archive_expsym_cmds_CXX
="$archive_expsym_cmds_CXX"'~$RM -r $output_objdir/$realname.d'
15541 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
15542 allow_undefined_flag_CXX
=unsupported
15543 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
15544 # support --undefined. This deserves some investigation. FIXME
15545 archive_cmds_CXX
='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
15552 case $cc_basename in
15554 # FIXME: insert proper C++ library support
15560 cygwin
* | mingw
* | pw32
* | cegcc
*)
15561 case $GXX,$cc_basename in
15564 # hardcode_libdir_flag_spec is actually meaningless, as there is
15565 # no search path for DLLs.
15566 hardcode_libdir_flag_spec_CXX
=' '
15567 allow_undefined_flag_CXX
=unsupported
15568 always_export_symbols_CXX
=yes
15569 file_list_spec_CXX
='@'
15570 # Tell ltmain to make .lib files, not .a files.
15572 # Tell ltmain to make .dll files, not .so files.
15574 # FIXME: Setting linknames here is a bad hack.
15575 archive_cmds_CXX
='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
15576 archive_expsym_cmds_CXX
='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
15577 cp "$export_symbols" "$output_objdir/$soname.def";
15578 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
15580 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
15582 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
15584 # The linker will not automatically build a static lib if we build a DLL.
15585 # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
15586 enable_shared_with_static_runtimes_CXX
=yes
15588 old_postinstall_cmds_CXX
='chmod 644 $oldlib'
15589 postlink_cmds_CXX
='lt_outputfile="@OUTPUT@"~
15590 lt_tool_outputfile="@TOOL_OUTPUT@"~
15591 case $lt_outputfile in
15594 lt_outputfile=$lt_outputfile.exe
15595 lt_tool_outputfile=$lt_tool_outputfile.exe
15598 func_to_tool_file "$lt_outputfile"~
15599 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
15600 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
15601 $RM "$lt_outputfile.manifest";
15606 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
15607 # as there is no search path for DLLs.
15608 hardcode_libdir_flag_spec_CXX
='-L$libdir'
15609 export_dynamic_flag_spec_CXX
='$wl--export-all-symbols'
15610 allow_undefined_flag_CXX
=unsupported
15611 always_export_symbols_CXX
=no
15612 enable_shared_with_static_runtimes_CXX
=yes
15614 if $LD --help 2>&1 | $GREP 'auto-import' > /dev
/null
; then
15615 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'
15616 # If the export-symbols file already is a .def file, use it as
15617 # is; otherwise, prepend EXPORTS...
15618 archive_expsym_cmds_CXX
='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
15619 cp $export_symbols $output_objdir/$soname.def;
15621 echo EXPORTS > $output_objdir/$soname.def;
15622 cat $export_symbols >> $output_objdir/$soname.def;
15624 $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'
15631 darwin
* | rhapsody
*)
15634 archive_cmds_need_lc_CXX
=no
15635 hardcode_direct_CXX
=no
15636 hardcode_automatic_CXX
=yes
15637 hardcode_shlibpath_var_CXX
=unsupported
15638 if test yes = "$lt_cv_ld_force_load"; then
15639 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\"`'
15642 whole_archive_flag_spec_CXX
=''
15644 link_all_deplibs_CXX
=yes
15645 allow_undefined_flag_CXX
=$_lt_dar_allow_undefined
15646 case $cc_basename in
15647 ifort
*|nagfor
*) _lt_dar_can_shared
=yes ;;
15648 *) _lt_dar_can_shared
=$GCC ;;
15650 if test yes = "$_lt_dar_can_shared"; then
15651 output_verbose_link_cmd
=func_echo_all
15652 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"
15653 module_cmds_CXX
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
15654 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"
15655 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"
15656 if test yes != "$lt_cv_apple_cc_single_mod"; then
15657 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"
15658 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"
15668 hardcode_libdir_flag_spec_CXX
='-L$libdir'
15669 hardcode_minus_L_CXX
=yes
15670 allow_undefined_flag_CXX
=unsupported
15672 archive_cmds_CXX
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
15673 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
15674 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
15675 $ECHO EXPORTS >> $output_objdir/$libname.def~
15676 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
15677 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
15678 emximp -o $lib $output_objdir/$libname.def'
15679 archive_expsym_cmds_CXX
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
15680 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
15681 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
15682 $ECHO EXPORTS >> $output_objdir/$libname.def~
15683 prefix_cmds="$SED"~
15684 if test EXPORTS = "`$SED 1q $export_symbols`"; then
15685 prefix_cmds="$prefix_cmds -e 1d";
15687 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
15688 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
15689 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
15690 emximp -o $lib $output_objdir/$libname.def'
15691 old_archive_From_new_cmds_CXX
='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
15692 enable_shared_with_static_runtimes_CXX
=yes
15696 case $cc_basename in
15698 # FIXME: insert proper C++ library support
15702 # Green Hills C++ Compiler
15703 # FIXME: insert proper C++ library support
15707 # FIXME: insert proper C++ library support
15714 # C++ shared libraries reported to be fairly broken before
15720 archive_cmds_need_lc_CXX
=no
15723 freebsd
* | dragonfly
*)
15724 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
15730 archive_cmds_CXX
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
15731 link_all_deplibs_CXX
=yes
15735 hardcode_libdir_flag_spec_CXX
='$wl+b $wl$libdir'
15736 hardcode_libdir_separator_CXX
=:
15737 export_dynamic_flag_spec_CXX
='$wl-E'
15738 hardcode_direct_CXX
=yes
15739 hardcode_minus_L_CXX
=yes # Not in the search PATH,
15740 # but as the default
15741 # location of the library.
15743 case $cc_basename in
15745 # FIXME: insert proper C++ library support
15749 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'
15750 # Commands to make compiler produce verbose output that lists
15751 # what "hidden" libraries, object files and flags are used when
15752 # linking a shared library.
15754 # There doesn't appear to be a way to prevent this compiler from
15755 # explicitly linking system object files so we need to strip them
15756 # from the output so that they don't get included in the library
15758 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"'
15761 if test yes = "$GXX"; then
15762 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'
15764 # FIXME: insert proper C++ library support
15772 if test no
= "$with_gnu_ld"; then
15773 hardcode_libdir_flag_spec_CXX
='$wl+b $wl$libdir'
15774 hardcode_libdir_separator_CXX
=:
15780 export_dynamic_flag_spec_CXX
='$wl-E'
15786 hardcode_direct_CXX
=no
15787 hardcode_shlibpath_var_CXX
=no
15790 hardcode_direct_CXX
=yes
15791 hardcode_direct_absolute_CXX
=yes
15792 hardcode_minus_L_CXX
=yes # Not in the search PATH,
15793 # but as the default
15794 # location of the library.
15798 case $cc_basename in
15800 # FIXME: insert proper C++ library support
15806 archive_cmds_CXX
='$CC -b $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15809 archive_cmds_CXX
='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15812 archive_cmds_CXX
='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15815 # Commands to make compiler produce verbose output that lists
15816 # what "hidden" libraries, object files and flags are used when
15817 # linking a shared library.
15819 # There doesn't appear to be a way to prevent this compiler from
15820 # explicitly linking system object files so we need to strip them
15821 # from the output so that they don't get included in the library
15823 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"'
15826 if test yes = "$GXX"; then
15827 if test no
= "$with_gnu_ld"; then
15830 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15833 archive_cmds_CXX
='$CC -shared -nostdlib $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15836 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'
15841 # FIXME: insert proper C++ library support
15849 hardcode_direct_CXX
=no
15850 hardcode_shlibpath_var_CXX
=no
15851 hardcode_libdir_flag_spec_CXX
='$wl-rpath,$libdir'
15852 export_dynamic_flag_spec_CXX
='$wl-E'
15853 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
15854 # Instead, shared libraries are loaded at an image base (0x10000000 by
15855 # default) and relocated if they conflict, which is a slow very memory
15856 # consuming and fragmenting process. To avoid this, we pick a random,
15857 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
15858 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
15859 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'
15860 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'
15863 case $cc_basename in
15866 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'
15868 # Archives containing C++ object files must be created using
15869 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
15870 # necessary to make sure instantiated templates are included
15872 old_archive_cmds_CXX
='$CC -ar -WR,-u -o $oldlib $oldobjs'
15875 if test yes = "$GXX"; then
15876 if test no
= "$with_gnu_ld"; then
15877 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'
15879 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'
15882 link_all_deplibs_CXX
=yes
15885 hardcode_libdir_flag_spec_CXX
='$wl-rpath $wl$libdir'
15886 hardcode_libdir_separator_CXX
=:
15887 inherit_rpath_CXX
=yes
15890 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
15891 case $cc_basename in
15893 # Kuck and Associates, Inc. (KAI) C++ Compiler
15895 # KCC will only create a shared library if the output file
15896 # ends with ".so" (or ".sl" for HP-UX), so rename the library
15897 # to its proper name (with version) after linking.
15898 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'
15899 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'
15900 # Commands to make compiler produce verbose output that lists
15901 # what "hidden" libraries, object files and flags are used when
15902 # linking a shared library.
15904 # There doesn't appear to be a way to prevent this compiler from
15905 # explicitly linking system object files so we need to strip them
15906 # from the output so that they don't get included in the library
15908 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"'
15910 hardcode_libdir_flag_spec_CXX
='$wl-rpath,$libdir'
15911 export_dynamic_flag_spec_CXX
='$wl--export-dynamic'
15913 # Archives containing C++ object files must be created using
15914 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
15915 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
15920 # version 8.0 and above of icpc choke on multiply defined symbols
15921 # if we add $predep_objects and $postdep_objects, however 7.1 and
15922 # earlier do not add the objects themselves.
15923 case `$CC -V 2>&1` in
15925 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
15926 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'
15928 *) # Version 8.0 or newer
15931 ia64
*) tmp_idyn
=' -i_dynamic';;
15933 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
15934 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'
15937 archive_cmds_need_lc_CXX
=no
15938 hardcode_libdir_flag_spec_CXX
='$wl-rpath,$libdir'
15939 export_dynamic_flag_spec_CXX
='$wl--export-dynamic'
15940 whole_archive_flag_spec_CXX
='$wl--whole-archive$convenience $wl--no-whole-archive'
15943 # Portland Group C++ compiler
15945 *pgCC\
[1-5].
* | *pgcpp\
[1-5].
*)
15946 prelink_cmds_CXX
='tpldir=Template.dir~
15948 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
15949 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
15950 old_archive_cmds_CXX
='tpldir=Template.dir~
15952 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
15953 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
15955 archive_cmds_CXX
='tpldir=Template.dir~
15957 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
15958 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
15959 archive_expsym_cmds_CXX
='tpldir=Template.dir~
15961 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
15962 $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'
15964 *) # Version 6 and above use weak symbols
15965 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
15966 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'
15970 hardcode_libdir_flag_spec_CXX
='$wl--rpath $wl$libdir'
15971 export_dynamic_flag_spec_CXX
='$wl--export-dynamic'
15972 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'
15976 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
15977 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'
15979 runpath_var
=LD_RUN_PATH
15980 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
15981 hardcode_libdir_separator_CXX
=:
15983 # Commands to make compiler produce verbose output that lists
15984 # what "hidden" libraries, object files and flags are used when
15985 # linking a shared library.
15987 # There doesn't appear to be a way to prevent this compiler from
15988 # explicitly linking system object files so we need to strip them
15989 # from the output so that they don't get included in the library
15991 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'
15993 xl
* | mpixl
* | bgxl
*)
15994 # IBM XL 8.0 on PPC, with GNU ld
15995 hardcode_libdir_flag_spec_CXX
='$wl-rpath $wl$libdir'
15996 export_dynamic_flag_spec_CXX
='$wl--export-dynamic'
15997 archive_cmds_CXX
='$CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
15998 if test yes = "$supports_anon_versioning"; then
15999 archive_expsym_cmds_CXX
='echo "{ global:" > $output_objdir/$libname.ver~
16000 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
16001 echo "local: *; };" >> $output_objdir/$libname.ver~
16002 $CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
16006 case `$CC -V 2>&1 | sed 5q` in
16009 no_undefined_flag_CXX
=' -zdefs'
16010 archive_cmds_CXX
='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
16011 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'
16012 hardcode_libdir_flag_spec_CXX
='-R$libdir'
16013 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'
16014 compiler_needs_object_CXX
=yes
16016 # Not sure whether something based on
16017 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
16019 output_verbose_link_cmd
='func_echo_all'
16021 # Archives containing C++ object files must be created using
16022 # "CC -xar", where "CC" is the Sun C++ compiler. This is
16023 # necessary to make sure instantiated templates are included
16025 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
16033 # FIXME: insert proper C++ library support
16038 # FIXME: insert proper C++ library support
16043 case $cc_basename in
16045 # FIXME: insert proper C++ library support
16049 # FIXME: insert proper C++ library support
16056 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
16057 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
16059 hardcode_libdir_flag_spec_CXX
='-R$libdir'
16060 hardcode_direct_CXX
=yes
16061 hardcode_shlibpath_var_CXX
=no
16063 # Workaround some broken pre-1.5 toolchains
16064 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
16071 openbsd
* | bitrig
*)
16072 if test -f /usr
/libexec
/ld.so
; then
16073 hardcode_direct_CXX
=yes
16074 hardcode_shlibpath_var_CXX
=no
16075 hardcode_direct_absolute_CXX
=yes
16076 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
16077 hardcode_libdir_flag_spec_CXX
='$wl-rpath,$libdir'
16078 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`"; then
16079 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-retain-symbols-file,$export_symbols -o $lib'
16080 export_dynamic_flag_spec_CXX
='$wl-E'
16081 whole_archive_flag_spec_CXX
=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
16083 output_verbose_link_cmd
=func_echo_all
16089 osf3
* | osf4
* | osf5
*)
16090 case $cc_basename in
16092 # Kuck and Associates, Inc. (KAI) C++ Compiler
16094 # KCC will only create a shared library if the output file
16095 # ends with ".so" (or ".sl" for HP-UX), so rename the library
16096 # to its proper name (with version) after linking.
16097 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'
16099 hardcode_libdir_flag_spec_CXX
='$wl-rpath,$libdir'
16100 hardcode_libdir_separator_CXX
=:
16102 # Archives containing C++ object files must be created using
16103 # the KAI C++ compiler.
16105 osf3
*) old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs' ;;
16106 *) old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs' ;;
16110 # Rational C++ 2.4.1
16111 # FIXME: insert proper C++ library support
16117 allow_undefined_flag_CXX
=' $wl-expect_unresolved $wl\*'
16118 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'
16119 hardcode_libdir_flag_spec_CXX
='$wl-rpath $wl$libdir'
16122 allow_undefined_flag_CXX
=' -expect_unresolved \*'
16123 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'
16124 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
16125 echo "-hidden">> $lib.exp~
16126 $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~
16128 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
16132 hardcode_libdir_separator_CXX
=:
16134 # Commands to make compiler produce verbose output that lists
16135 # what "hidden" libraries, object files and flags are used when
16136 # linking a shared library.
16138 # There doesn't appear to be a way to prevent this compiler from
16139 # explicitly linking system object files so we need to strip them
16140 # from the output so that they don't get included in the library
16142 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"'
16145 if test yes,no
= "$GXX,$with_gnu_ld"; then
16146 allow_undefined_flag_CXX
=' $wl-expect_unresolved $wl\*'
16149 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'
16152 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'
16156 hardcode_libdir_flag_spec_CXX
='$wl-rpath $wl$libdir'
16157 hardcode_libdir_separator_CXX
=:
16159 # Commands to make compiler produce verbose output that lists
16160 # what "hidden" libraries, object files and flags are used when
16161 # linking a shared library.
16162 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
16165 # FIXME: insert proper C++ library support
16173 # FIXME: insert proper C++ library support
16178 case $cc_basename in
16181 # FIXME: insert proper C++ library support
16186 # FIXME: insert proper C++ library support
16190 # FIXME: insert proper C++ library support
16197 case $cc_basename in
16199 # Sun C++ 4.2, 5.x and Centerline C++
16200 archive_cmds_need_lc_CXX
=yes
16201 no_undefined_flag_CXX
=' -zdefs'
16202 archive_cmds_CXX
='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
16203 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
16204 $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'
16206 hardcode_libdir_flag_spec_CXX
='-R$libdir'
16207 hardcode_shlibpath_var_CXX
=no
16209 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
16211 # The compiler driver will combine and reorder linker options,
16212 # but understands '-z linker_flag'.
16213 # Supported since Solaris 2.6 (maybe 2.5.1?)
16214 whole_archive_flag_spec_CXX
='-z allextract$convenience -z defaultextract'
16217 link_all_deplibs_CXX
=yes
16219 output_verbose_link_cmd
='func_echo_all'
16221 # Archives containing C++ object files must be created using
16222 # "CC -xar", where "CC" is the Sun C++ compiler. This is
16223 # necessary to make sure instantiated templates are included
16225 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
16228 # Green Hills C++ Compiler
16229 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
16231 # The C++ compiler must be used to create the archive.
16232 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
16235 # GNU C++ compiler with Solaris linker
16236 if test yes,no
= "$GXX,$with_gnu_ld"; then
16237 no_undefined_flag_CXX
=' $wl-z ${wl}defs'
16238 if $CC --version | $GREP -v '^2\.7' > /dev
/null
; then
16239 archive_cmds_CXX
='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
16240 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
16241 $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'
16243 # Commands to make compiler produce verbose output that lists
16244 # what "hidden" libraries, object files and flags are used when
16245 # linking a shared library.
16246 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
16248 # g++ 2.7 appears to require '-G' NOT '-shared' on this
16250 archive_cmds_CXX
='$CC -G -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
16251 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
16252 $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'
16254 # Commands to make compiler produce verbose output that lists
16255 # what "hidden" libraries, object files and flags are used when
16256 # linking a shared library.
16257 output_verbose_link_cmd
='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
16260 hardcode_libdir_flag_spec_CXX
='$wl-R $wl$libdir'
16262 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
16264 whole_archive_flag_spec_CXX
='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
16272 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
16273 no_undefined_flag_CXX
='$wl-z,text'
16274 archive_cmds_need_lc_CXX
=no
16275 hardcode_shlibpath_var_CXX
=no
16276 runpath_var
='LD_RUN_PATH'
16278 case $cc_basename in
16280 archive_cmds_CXX
='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16281 archive_expsym_cmds_CXX
='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16284 archive_cmds_CXX
='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16285 archive_expsym_cmds_CXX
='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16290 sysv5
* | sco3.2v5
* | sco5v6
*)
16291 # Note: We CANNOT use -z defs as we might desire, because we do not
16292 # link with -lc, and that would cause any symbols used from libc to
16293 # always be unresolved, which means just about no library would
16294 # ever link correctly. If we're not using GNU ld we use -z text
16295 # though, which does catch some bad symbols but isn't as heavy-handed
16297 no_undefined_flag_CXX
='$wl-z,text'
16298 allow_undefined_flag_CXX
='$wl-z,nodefs'
16299 archive_cmds_need_lc_CXX
=no
16300 hardcode_shlibpath_var_CXX
=no
16301 hardcode_libdir_flag_spec_CXX
='$wl-R,$libdir'
16302 hardcode_libdir_separator_CXX
=':'
16303 link_all_deplibs_CXX
=yes
16304 export_dynamic_flag_spec_CXX
='$wl-Bexport'
16305 runpath_var
='LD_RUN_PATH'
16307 case $cc_basename in
16309 archive_cmds_CXX
='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16310 archive_expsym_cmds_CXX
='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16311 old_archive_cmds_CXX
='$CC -Tprelink_objects $oldobjs~
16312 '"$old_archive_cmds_CXX"
16313 reload_cmds_CXX
='$CC -Tprelink_objects $reload_objs~
16314 '"$reload_cmds_CXX"
16317 archive_cmds_CXX
='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16318 archive_expsym_cmds_CXX
='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16324 case $cc_basename in
16326 # NonStop-UX NCC 3.20
16327 # FIXME: insert proper C++ library support
16331 # FIXME: insert proper C++ library support
16338 # FIXME: insert proper C++ library support
16343 # FIXME: insert proper C++ library support
16348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
16349 $as_echo "$ld_shlibs_CXX" >&6; }
16350 test no
= "$ld_shlibs_CXX" && can_build_shared
=no
16356 ## There is no encapsulation within the following macros, do not change
16357 ## the running order or otherwise move them around unless you know exactly
16358 ## what you are doing...
16359 # Dependencies to place before and after the object being linked:
16360 predep_objects_CXX
=
16361 postdep_objects_CXX
=
16364 compiler_lib_search_path_CXX
=
16366 cat > conftest.
$ac_ext <<_LT_EOF
16370 Foo (void) { a = 0; }
16377 _lt_libdeps_save_CFLAGS
=$CFLAGS
16378 case "$CC $CFLAGS " in #(
16379 *\
-flto*\
*) CFLAGS
="$CFLAGS -fno-lto" ;;
16380 *\
-fwhopr*\
*) CFLAGS
="$CFLAGS -fno-whopr" ;;
16381 *\
-fuse-linker-plugin*\
*) CFLAGS
="$CFLAGS -fno-use-linker-plugin" ;;
16384 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
16385 (eval $ac_compile) 2>&5
16387 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16388 test $ac_status = 0; }; then
16389 # Parse the compiler output and extract the necessary
16390 # objects, libraries and library flags.
16392 # Sentinel used to keep track of whether or not we are before
16393 # the conftest object file.
16394 pre_test_object_deps_done
=no
16396 for p
in `eval "$output_verbose_link_cmd"`; do
16400 # Some compilers place space between "-{L,R}" and the path.
16401 # Remove the space.
16402 if test x
-L = "$p" ||
16403 test x
-R = "$p"; then
16408 # Expand the sysroot to ease extracting the directories later.
16409 if test -z "$prev"; then
16411 -L*) func_stripname_cnf
'-L' '' "$p"; prev
=-L; p
=$func_stripname_result ;;
16412 -R*) func_stripname_cnf
'-R' '' "$p"; prev
=-R; p
=$func_stripname_result ;;
16413 -l*) func_stripname_cnf
'-l' '' "$p"; prev
=-l; p
=$func_stripname_result ;;
16417 =*) func_stripname_cnf
'=' '' "$p"; p
=$lt_sysroot$func_stripname_result ;;
16419 if test no
= "$pre_test_object_deps_done"; then
16422 # Internal compiler library paths should come after those
16423 # provided the user. The postdeps already come after the
16424 # user supplied libs so there is no need to process them.
16425 if test -z "$compiler_lib_search_path_CXX"; then
16426 compiler_lib_search_path_CXX
=$prev$p
16428 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} $prev$p"
16431 # The "-l" case would never come before the object being
16432 # linked, so don't bother handling this case.
16435 if test -z "$postdeps_CXX"; then
16436 postdeps_CXX
=$prev$p
16438 postdeps_CXX
="${postdeps_CXX} $prev$p"
16444 *.lto.
$objext) ;; # Ignore GCC LTO objects
16446 # This assumes that the test object file only shows up
16447 # once in the compiler output.
16448 if test "$p" = "conftest.$objext"; then
16449 pre_test_object_deps_done
=yes
16453 if test no
= "$pre_test_object_deps_done"; then
16454 if test -z "$predep_objects_CXX"; then
16455 predep_objects_CXX
=$p
16457 predep_objects_CXX
="$predep_objects_CXX $p"
16460 if test -z "$postdep_objects_CXX"; then
16461 postdep_objects_CXX
=$p
16463 postdep_objects_CXX
="$postdep_objects_CXX $p"
16468 *) ;; # Ignore the rest.
16476 echo "libtool.m4: error: problem compiling CXX test program"
16479 $RM -f confest.
$objext
16480 CFLAGS
=$_lt_libdeps_save_CFLAGS
16482 # PORTME: override above test on systems where it is broken
16485 # Interix 3.5 installs completely hosed .la files for C++, so rather than
16486 # hack all around it, let's just trust "g++" to DTRT.
16487 predep_objects_CXX
=
16488 postdep_objects_CXX
=
16494 case " $postdeps_CXX " in
16495 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
16497 compiler_lib_search_dirs_CXX
=
16498 if test -n "${compiler_lib_search_path_CXX}"; then
16499 compiler_lib_search_dirs_CXX
=`echo " ${compiler_lib_search_path_CXX}" | $SED -e 's! -L! !g' -e 's!^ !!'`
16532 lt_prog_compiler_wl_CXX
=
16533 lt_prog_compiler_pic_CXX
=
16534 lt_prog_compiler_static_CXX
=
16537 # C++ specific cases for pic, static, wl, etc.
16538 if test yes = "$GXX"; then
16539 lt_prog_compiler_wl_CXX
='-Wl,'
16540 lt_prog_compiler_static_CXX
='-static'
16544 # All AIX code is PIC.
16545 if test ia64
= "$host_cpu"; then
16546 # AIX 5 now supports IA64 processor
16547 lt_prog_compiler_static_CXX
='-Bstatic'
16549 lt_prog_compiler_pic_CXX
='-fPIC'
16555 # see comment about AmigaOS4 .so support
16556 lt_prog_compiler_pic_CXX
='-fPIC'
16559 # FIXME: we need at least 68020 code to build shared libraries, but
16560 # adding the '-m68020' flag to GCC prevents building anything better,
16562 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
16567 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
16568 # PIC is the default for these OSes.
16570 mingw
* | cygwin
* | os2
* | pw32
* | cegcc
*)
16571 # This hack is so that the source file can tell whether it is being
16572 # built for inclusion in a dll (and should export symbols for example).
16573 # Although the cygwin gcc ignores -fPIC, still need this for old-style
16574 # (--disable-auto-import) libraries
16575 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
16578 lt_prog_compiler_static_CXX
='$wl-static'
16582 darwin
* | rhapsody
*)
16583 # PIC is the default on this platform
16584 # Common symbols not allowed in MH_DYLIB files
16585 lt_prog_compiler_pic_CXX
='-fno-common'
16588 # DJGPP does not support shared libraries at all
16589 lt_prog_compiler_pic_CXX
=
16592 # PIC is the default for Haiku.
16593 # The "-static" flag exists, but is broken.
16594 lt_prog_compiler_static_CXX
=
16597 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
16598 # Instead, we relocate shared libraries at runtime.
16601 if test -d /usr
/nec
; then
16602 lt_prog_compiler_pic_CXX
=-Kconform_pic
16606 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
16607 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
16608 # sets the default TLS model and affects inlining.
16613 lt_prog_compiler_pic_CXX
='-fPIC'
16618 # QNX uses GNU C++, but need to define -shared option too, otherwise
16619 # it will coredump.
16620 lt_prog_compiler_pic_CXX
='-fPIC -shared'
16623 lt_prog_compiler_pic_CXX
='-fPIC'
16629 # All AIX code is PIC.
16630 if test ia64
= "$host_cpu"; then
16631 # AIX 5 now supports IA64 processor
16632 lt_prog_compiler_static_CXX
='-Bstatic'
16634 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
16638 case $cc_basename in
16640 # Green Hills C++ Compiler
16641 # _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"
16645 mingw
* | cygwin
* | os2
* | pw32
* | cegcc
*)
16646 # This hack is so that the source file can tell whether it is being
16647 # built for inclusion in a dll (and should export symbols for example).
16648 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
16651 case $cc_basename in
16653 lt_prog_compiler_pic_CXX
='-KPIC'
16656 # Green Hills C++ Compiler
16657 lt_prog_compiler_pic_CXX
='-pic'
16663 freebsd
* | dragonfly
*)
16664 # FreeBSD uses GNU C++
16666 hpux9
* | hpux10
* | hpux11
*)
16667 case $cc_basename in
16669 lt_prog_compiler_wl_CXX
='-Wl,'
16670 lt_prog_compiler_static_CXX
='$wl-a ${wl}archive'
16671 if test ia64
!= "$host_cpu"; then
16672 lt_prog_compiler_pic_CXX
='+Z'
16676 lt_prog_compiler_wl_CXX
='-Wl,'
16677 lt_prog_compiler_static_CXX
='$wl-a ${wl}archive'
16683 lt_prog_compiler_pic_CXX
='+Z'
16692 # This is c89, which is MS Visual C++ (no shared libs)
16693 # Anyone wants to do a port?
16695 irix5
* | irix6
* | nonstopux
*)
16696 case $cc_basename in
16698 lt_prog_compiler_wl_CXX
='-Wl,'
16699 lt_prog_compiler_static_CXX
='-non_shared'
16700 # CC pic flag -KPIC is the default.
16706 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
16707 case $cc_basename in
16710 lt_prog_compiler_wl_CXX
='--backend -Wl,'
16711 lt_prog_compiler_pic_CXX
='-fPIC'
16714 # old Intel C++ for x86_64, which still supported -KPIC.
16715 lt_prog_compiler_wl_CXX
='-Wl,'
16716 lt_prog_compiler_pic_CXX
='-KPIC'
16717 lt_prog_compiler_static_CXX
='-static'
16720 # Intel C++, used to be incompatible with GCC.
16721 # ICC 10 doesn't accept -KPIC any more.
16722 lt_prog_compiler_wl_CXX
='-Wl,'
16723 lt_prog_compiler_pic_CXX
='-fPIC'
16724 lt_prog_compiler_static_CXX
='-static'
16727 # Portland Group C++ compiler
16728 lt_prog_compiler_wl_CXX
='-Wl,'
16729 lt_prog_compiler_pic_CXX
='-fpic'
16730 lt_prog_compiler_static_CXX
='-Bstatic'
16734 # Make sure the PIC flag is empty. It appears that all Alpha
16735 # Linux and Compaq Tru64 Unix objects are PIC.
16736 lt_prog_compiler_pic_CXX
=
16737 lt_prog_compiler_static_CXX
='-non_shared'
16739 xlc
* | xlC
* | bgxl
[cC
]* | mpixl
[cC
]*)
16740 # IBM XL 8.0, 9.0 on PPC and BlueGene
16741 lt_prog_compiler_wl_CXX
='-Wl,'
16742 lt_prog_compiler_pic_CXX
='-qpic'
16743 lt_prog_compiler_static_CXX
='-qstaticlink'
16746 case `$CC -V 2>&1 | sed 5q` in
16749 lt_prog_compiler_pic_CXX
='-KPIC'
16750 lt_prog_compiler_static_CXX
='-Bstatic'
16751 lt_prog_compiler_wl_CXX
='-Qoption ld '
16762 case $cc_basename in
16764 lt_prog_compiler_pic_CXX
='-W c,exportall'
16773 # QNX uses GNU C++, but need to define -shared option too, otherwise
16774 # it will coredump.
16775 lt_prog_compiler_pic_CXX
='-fPIC -shared'
16777 osf3
* | osf4
* | osf5
*)
16778 case $cc_basename in
16780 lt_prog_compiler_wl_CXX
='--backend -Wl,'
16783 # Rational C++ 2.4.1
16784 lt_prog_compiler_pic_CXX
='-pic'
16787 # Digital/Compaq C++
16788 lt_prog_compiler_wl_CXX
='-Wl,'
16789 # Make sure the PIC flag is empty. It appears that all Alpha
16790 # Linux and Compaq Tru64 Unix objects are PIC.
16791 lt_prog_compiler_pic_CXX
=
16792 lt_prog_compiler_static_CXX
='-non_shared'
16801 case $cc_basename in
16803 # Sun C++ 4.2, 5.x and Centerline C++
16804 lt_prog_compiler_pic_CXX
='-KPIC'
16805 lt_prog_compiler_static_CXX
='-Bstatic'
16806 lt_prog_compiler_wl_CXX
='-Qoption ld '
16809 # Green Hills C++ Compiler
16810 lt_prog_compiler_pic_CXX
='-PIC'
16817 case $cc_basename in
16820 lt_prog_compiler_pic_CXX
='-pic'
16821 lt_prog_compiler_static_CXX
='-Bstatic'
16825 lt_prog_compiler_pic_CXX
='-pic'
16831 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
16832 case $cc_basename in
16834 lt_prog_compiler_wl_CXX
='-Wl,'
16835 lt_prog_compiler_pic_CXX
='-KPIC'
16836 lt_prog_compiler_static_CXX
='-Bstatic'
16841 case $cc_basename in
16843 # NonStop-UX NCC 3.20
16844 lt_prog_compiler_pic_CXX
='-KPIC'
16853 lt_prog_compiler_can_build_shared_CXX
=no
16859 # For platforms that do not support PIC, -DPIC is meaningless:
16861 lt_prog_compiler_pic_CXX
=
16864 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
16868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
16869 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
16870 if ${lt_cv_prog_compiler_pic_CXX+:} false
; then :
16871 $as_echo_n "(cached) " >&6
16873 lt_cv_prog_compiler_pic_CXX
=$lt_prog_compiler_pic_CXX
16875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
16876 $as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
16877 lt_prog_compiler_pic_CXX
=$lt_cv_prog_compiler_pic_CXX
16880 # Check to make sure the PIC flag actually works.
16882 if test -n "$lt_prog_compiler_pic_CXX"; then
16883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
16884 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
16885 if ${lt_cv_prog_compiler_pic_works_CXX+:} false
; then :
16886 $as_echo_n "(cached) " >&6
16888 lt_cv_prog_compiler_pic_works_CXX
=no
16889 ac_outfile
=conftest.
$ac_objext
16890 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
16891 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC" ## exclude from sc_useless_quotes_in_assignment
16892 # Insert the option either (1) after the last *FLAGS variable, or
16893 # (2) before a word containing "conftest.", or (3) at the end.
16894 # Note that $ac_compile itself does not contain backslashes and begins
16895 # with a dollar sign (not a hyphen), so the echo should work correctly.
16896 # The option is referenced via a variable to avoid confusing sed.
16897 lt_compile
=`echo "$ac_compile" | $SED \
16898 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16899 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16900 -e 's:$: $lt_compiler_flag:'`
16901 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
16902 (eval "$lt_compile" 2>conftest.err
)
16904 cat conftest.err
>&5
16905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16906 if (exit $ac_status) && test -s "$ac_outfile"; then
16907 # The compiler can only warn and ignore the option if not recognized
16908 # So say no if there are warnings other than the usual output.
16909 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
16910 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
16911 if test ! -s conftest.er2
|| diff conftest.exp conftest.er2
>/dev
/null
; then
16912 lt_cv_prog_compiler_pic_works_CXX
=yes
16918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
16919 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
16921 if test yes = "$lt_cv_prog_compiler_pic_works_CXX"; then
16922 case $lt_prog_compiler_pic_CXX in
16924 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
16927 lt_prog_compiler_pic_CXX
=
16928 lt_prog_compiler_can_build_shared_CXX
=no
16938 # Check to make sure the static flag actually works.
16940 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
16941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
16942 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
16943 if ${lt_cv_prog_compiler_static_works_CXX+:} false
; then :
16944 $as_echo_n "(cached) " >&6
16946 lt_cv_prog_compiler_static_works_CXX
=no
16947 save_LDFLAGS
=$LDFLAGS
16948 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
16949 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
16950 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
16951 # The linker can only warn and ignore the option if not recognized
16952 # So say no if there are warnings
16953 if test -s conftest.err
; then
16954 # Append any errors to the config.log.
16955 cat conftest.err
1>&5
16956 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
16957 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
16958 if diff conftest.exp conftest.er2
>/dev
/null
; then
16959 lt_cv_prog_compiler_static_works_CXX
=yes
16962 lt_cv_prog_compiler_static_works_CXX
=yes
16966 LDFLAGS
=$save_LDFLAGS
16969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
16970 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
16972 if test yes = "$lt_cv_prog_compiler_static_works_CXX"; then
16975 lt_prog_compiler_static_CXX
=
16981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
16982 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
16983 if ${lt_cv_prog_compiler_c_o_CXX+:} false
; then :
16984 $as_echo_n "(cached) " >&6
16986 lt_cv_prog_compiler_c_o_CXX
=no
16987 $RM -r conftest
2>/dev
/null
16991 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
16993 lt_compiler_flag
="-o out/conftest2.$ac_objext"
16994 # Insert the option either (1) after the last *FLAGS variable, or
16995 # (2) before a word containing "conftest.", or (3) at the end.
16996 # Note that $ac_compile itself does not contain backslashes and begins
16997 # with a dollar sign (not a hyphen), so the echo should work correctly.
16998 lt_compile
=`echo "$ac_compile" | $SED \
16999 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17000 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17001 -e 's:$: $lt_compiler_flag:'`
17002 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
17003 (eval "$lt_compile" 2>out
/conftest.err
)
17005 cat out
/conftest.err
>&5
17006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17007 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
17009 # The compiler can only warn and ignore the option if not recognized
17010 # So say no if there are warnings
17011 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out
/conftest.exp
17012 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
17013 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
17014 lt_cv_prog_compiler_c_o_CXX
=yes
17019 # SGI C++ compiler will create directory out/ii_files/ for
17020 # template instantiation
17021 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
17022 $RM out
/* && rmdir out
17028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
17029 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
17033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
17034 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
17035 if ${lt_cv_prog_compiler_c_o_CXX+:} false
; then :
17036 $as_echo_n "(cached) " >&6
17038 lt_cv_prog_compiler_c_o_CXX
=no
17039 $RM -r conftest
2>/dev
/null
17043 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
17045 lt_compiler_flag
="-o out/conftest2.$ac_objext"
17046 # Insert the option either (1) after the last *FLAGS variable, or
17047 # (2) before a word containing "conftest.", or (3) at the end.
17048 # Note that $ac_compile itself does not contain backslashes and begins
17049 # with a dollar sign (not a hyphen), so the echo should work correctly.
17050 lt_compile
=`echo "$ac_compile" | $SED \
17051 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17052 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17053 -e 's:$: $lt_compiler_flag:'`
17054 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
17055 (eval "$lt_compile" 2>out
/conftest.err
)
17057 cat out
/conftest.err
>&5
17058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17059 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
17061 # The compiler can only warn and ignore the option if not recognized
17062 # So say no if there are warnings
17063 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out
/conftest.exp
17064 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
17065 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
17066 lt_cv_prog_compiler_c_o_CXX
=yes
17071 # SGI C++ compiler will create directory out/ii_files/ for
17072 # template instantiation
17073 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
17074 $RM out
/* && rmdir out
17080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
17081 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
17086 hard_links
=nottested
17087 if test no
= "$lt_cv_prog_compiler_c_o_CXX" && test no
!= "$need_locks"; then
17088 # do not overwrite the value of need_locks provided by the user
17089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
17090 $as_echo_n "checking if we can lock with hard links... " >&6; }
17093 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
17095 ln conftest.a conftest.b
2>&5 || hard_links
=no
17096 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
17097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
17098 $as_echo "$hard_links" >&6; }
17099 if test no
= "$hard_links"; then
17100 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
17101 $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
17110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
17111 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
17113 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
17114 exclude_expsyms_CXX
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
17117 # If we're using GNU nm, then we don't want the "-C" option.
17118 # -C means demangle to GNU nm, but means don't demangle to AIX nm.
17119 # Without the "-l" option, or with the "-B" option, AIX nm treats
17120 # weak defined symbols like other global defined symbols, whereas
17121 # GNU nm marks them as "W".
17122 # While the 'weak' keyword is ignored in the Export File, we need
17123 # it in the Import File for the 'aix-soname' feature, so we have
17124 # to replace the "-B" option with "-P" for AIX nm.
17125 if $NM -V 2>&1 | $GREP 'GNU' > /dev
/null
; then
17126 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'
17128 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'
17132 export_symbols_cmds_CXX
=$ltdll_cmds
17134 cygwin
* | mingw
* | cegcc
*)
17135 case $cc_basename in
17137 exclude_expsyms_CXX
='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
17140 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'
17141 exclude_expsyms_CXX
='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
17146 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
17150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
17151 $as_echo "$ld_shlibs_CXX" >&6; }
17152 test no
= "$ld_shlibs_CXX" && can_build_shared
=no
17154 with_gnu_ld_CXX
=$with_gnu_ld
17162 # Do we need to explicitly link libc?
17164 case "x$archive_cmds_need_lc_CXX" in
17166 # Assume -lc should be added
17167 archive_cmds_need_lc_CXX
=yes
17169 if test yes,yes = "$GCC,$enable_shared"; then
17170 case $archive_cmds_CXX in
17172 # FIXME: we may have to deal with multi-command sequences.
17175 # Test whether the compiler implicitly links with -lc since on some
17176 # systems, -lgcc has to come before -lc. If gcc already passes -lc
17177 # to ld, don't add -lc before -lgcc.
17178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
17179 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
17180 if ${lt_cv_archive_cmds_need_lc_CXX+:} false
; then :
17181 $as_echo_n "(cached) " >&6
17184 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
17186 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
17187 (eval $ac_compile) 2>&5
17189 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17190 test $ac_status = 0; } 2>conftest.err
; then
17193 libobjs
=conftest.
$ac_objext
17195 wl
=$lt_prog_compiler_wl_CXX
17196 pic_flag
=$lt_prog_compiler_pic_CXX
17202 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
17203 allow_undefined_flag_CXX
=
17204 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
17205 (eval $archive_cmds_CXX 2\
>\
&1 \
| $GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
17207 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17208 test $ac_status = 0; }
17210 lt_cv_archive_cmds_need_lc_CXX
=no
17212 lt_cv_archive_cmds_need_lc_CXX
=yes
17214 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
17216 cat conftest.err
1>&5
17221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
17222 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
17223 archive_cmds_need_lc_CXX
=$lt_cv_archive_cmds_need_lc_CXX
17291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
17292 $as_echo_n "checking dynamic linker characteristics... " >&6; }
17294 library_names_spec
=
17295 libname_spec
='lib$name'
17299 postuninstall_cmds
=
17303 shlibpath_overrides_runpath
=unknown
17305 dynamic_linker
="$host_os ld.so"
17306 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
17307 need_lib_prefix
=unknown
17308 hardcode_into_libs
=no
17310 # when you set need_version to no, make sure it does not cause -set_version
17311 # flags to be left without arguments
17312 need_version
=unknown
17318 version_type
=linux
# correct to gnu/linux during the next big refactor
17319 library_names_spec
='$libname$release$shared_ext$versuffix $libname.a'
17320 shlibpath_var
=LIBPATH
17322 # AIX 3 has no versioning support, so we append a major version to the name.
17323 soname_spec
='$libname$release$shared_ext$major'
17327 version_type
=linux
# correct to gnu/linux during the next big refactor
17330 hardcode_into_libs
=yes
17331 if test ia64
= "$host_cpu"; then
17332 # AIX 5 supports IA64
17333 library_names_spec
='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
17334 shlibpath_var
=LD_LIBRARY_PATH
17336 # With GCC up to 2.95.x, collect2 would create an import file
17337 # for dependence libraries. The import file would start with
17338 # the line '#! .'. This would cause the generated library to
17339 # depend on '.', always an invalid library. This was fixed in
17340 # development snapshots of GCC prior to 3.0.
17342 aix4
| aix4.
[01] | aix4.
[01].
*)
17343 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
17345 echo '#endif'; } | $CC -E - | $GREP yes > /dev
/null
; then
17348 can_build_shared
=no
17352 # Using Import Files as archive members, it is possible to support
17353 # filename-based versioning of shared library archives on AIX. While
17354 # this would work for both with and without runtime linking, it will
17355 # prevent static linking of such archives. So we do filename-based
17356 # shared library versioning with .so extension only, which is used
17357 # when both runtime linking and shared linking is enabled.
17358 # Unfortunately, runtime linking may impact performance, so we do
17359 # not want this to be the default eventually. Also, we use the
17360 # versioned .so libs for executables only if there is the -brtl
17361 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
17362 # To allow for filename-based versioning support, we need to create
17363 # libNAME.so.V as an archive file, containing:
17364 # *) an Import File, referring to the versioned filename of the
17365 # archive as well as the shared archive member, telling the
17366 # bitwidth (32 or 64) of that shared object, and providing the
17367 # list of exported symbols of that shared object, eventually
17368 # decorated with the 'weak' keyword
17369 # *) the shared object with the F_LOADONLY flag set, to really avoid
17370 # it being seen by the linker.
17371 # At run time we better use the real file rather than another symlink,
17372 # but for link time we create the symlink libNAME.so -> libNAME.so.V
17374 case $with_aix_soname,$aix_use_runtimelinking in
17375 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
17376 # soname into executable. Probably we can add versioning support to
17377 # collect2, so additional links can be useful in future.
17378 aix
,yes) # traditional libtool
17379 dynamic_linker
='AIX unversionable lib.so'
17380 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
17381 # instead of lib<name>.a to let people know that these are not
17382 # typical AIX shared libraries.
17383 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17385 aix
,no
) # traditional AIX only
17386 dynamic_linker
='AIX lib.a(lib.so.V)'
17387 # We preserve .a as extension for shared libraries through AIX4.2
17388 # and later when we are not doing run time linking.
17389 library_names_spec
='$libname$release.a $libname.a'
17390 soname_spec
='$libname$release$shared_ext$major'
17392 svr4
,*) # full svr4 only
17393 dynamic_linker
="AIX lib.so.V($shared_archive_member_spec.o)"
17394 library_names_spec
='$libname$release$shared_ext$major $libname$shared_ext'
17395 # We do not specify a path in Import Files, so LIBPATH fires.
17396 shlibpath_overrides_runpath
=yes
17398 *,yes) # both, prefer svr4
17399 dynamic_linker
="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
17400 library_names_spec
='$libname$release$shared_ext$major $libname$shared_ext'
17401 # unpreferred sharedlib libNAME.a needs extra handling
17402 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"'
17403 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"'
17404 # We do not specify a path in Import Files, so LIBPATH fires.
17405 shlibpath_overrides_runpath
=yes
17407 *,no
) # both, prefer aix
17408 dynamic_linker
="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
17409 library_names_spec
='$libname$release.a $libname.a'
17410 soname_spec
='$libname$release$shared_ext$major'
17411 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
17412 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)'
17413 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"'
17416 shlibpath_var
=LIBPATH
17423 # Since July 2007 AmigaOS4 officially supports .so libraries.
17424 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
17425 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17428 library_names_spec
='$libname.ixlibrary $libname.a'
17429 # Create ${libname}_ixlibrary.a entries in /sys/libs.
17430 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'
17436 library_names_spec
='$libname$shared_ext'
17437 dynamic_linker
="$host_os ld.so"
17438 shlibpath_var
=LIBRARY_PATH
17442 version_type
=linux
# correct to gnu/linux during the next big refactor
17444 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17445 soname_spec
='$libname$release$shared_ext$major'
17446 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
17447 shlibpath_var
=LD_LIBRARY_PATH
17448 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
17449 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
17450 # the default ld.so.conf also contains /usr/contrib/lib and
17451 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
17452 # libtool to hard-code these into programs
17455 cygwin
* | mingw
* | pw32
* | cegcc
*)
17456 version_type
=windows
17461 case $GCC,$cc_basename in
17464 library_names_spec
='$libname.dll.a'
17465 # DLL is installed to $(libdir)/../bin by postinstall_cmds
17466 postinstall_cmds
='base_file=`basename \$file`~
17467 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
17468 dldir=$destdir/`dirname \$dlpath`~
17469 test -d \$dldir || mkdir -p \$dldir~
17470 $install_prog $dir/$dlname \$dldir/$dlname~
17471 chmod a+x \$dldir/$dlname~
17472 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
17473 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
17475 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
17476 dlpath=$dir/\$dldll~
17478 shlibpath_overrides_runpath
=yes
17482 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
17483 soname_spec
='`echo $libname | sed -e 's
/^lib
/cyg
/'``echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
17487 # MinGW DLLs use traditional 'lib' prefix
17488 soname_spec
='$libname`echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
17491 # pw32 DLLs use 'pw' prefix rather than 'lib'
17492 library_names_spec
='`echo $libname | sed -e 's
/^lib
/pw
/'``echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
17495 dynamic_linker
='Win32 ld.exe'
17500 libname_spec
='$name'
17501 soname_spec
='$libname`echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
17502 library_names_spec
='$libname.dll.lib'
17506 sys_lib_search_path_spec
=
17509 for lt_path
in $LIB
17512 # Let DOS variable expansion print the short 8.3 style file name.
17513 lt_path
=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
17514 sys_lib_search_path_spec
="$sys_lib_search_path_spec $lt_path"
17517 # Convert to MSYS style.
17518 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
17521 # Convert to unix form, then to dos form, then back to unix form
17522 # but this time dos style (no spaces!) so that the unix form looks
17523 # like /cygdrive/c/PROGRA~1:/cygdr...
17524 sys_lib_search_path_spec
=`cygpath --path --unix "$LIB"`
17525 sys_lib_search_path_spec
=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
17526 sys_lib_search_path_spec
=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
17529 sys_lib_search_path_spec
=$LIB
17530 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev
/null
; then
17531 # It is most probably a Windows format PATH.
17532 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
17534 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
17536 # FIXME: find the short name or the path components, as spaces are
17537 # common. (e.g. "Program Files" -> "PROGRA~1")
17541 # DLL is installed to $(libdir)/../bin by postinstall_cmds
17542 postinstall_cmds
='base_file=`basename \$file`~
17543 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
17544 dldir=$destdir/`dirname \$dlpath`~
17545 test -d \$dldir || mkdir -p \$dldir~
17546 $install_prog $dir/$dlname \$dldir/$dlname'
17547 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
17548 dlpath=$dir/\$dldll~
17550 shlibpath_overrides_runpath
=yes
17551 dynamic_linker
='Win32 link.exe'
17555 # Assume MSVC wrapper
17556 library_names_spec
='$libname`echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext $libname.lib'
17557 dynamic_linker
='Win32 ld.exe'
17560 # FIXME: first we should search . and the directory the executable is in
17564 darwin
* | rhapsody
*)
17565 dynamic_linker
="$host_os dyld"
17566 version_type
=darwin
17569 library_names_spec
='$libname$release$major$shared_ext $libname$shared_ext'
17570 soname_spec
='$libname$release$major$shared_ext'
17571 shlibpath_overrides_runpath
=yes
17572 shlibpath_var
=DYLD_LIBRARY_PATH
17573 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
17575 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
17579 version_type
=linux
# correct to gnu/linux during the next big refactor
17582 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17583 soname_spec
='$libname$release$shared_ext$major'
17584 shlibpath_var
=LD_LIBRARY_PATH
17587 freebsd
* | dragonfly
*)
17588 # DragonFly does not have aout. When/if they implement a new
17589 # versioning mechanism, adjust this.
17590 if test -x /usr
/bin
/objformat
; then
17591 objformat
=`/usr/bin/objformat`
17594 freebsd
[23].
*) objformat
=aout
;;
17595 *) objformat
=elf
;;
17598 version_type
=freebsd
-$objformat
17599 case $version_type in
17601 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17602 soname_spec
='$libname$release$shared_ext$major'
17607 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
17611 shlibpath_var
=LD_LIBRARY_PATH
17614 shlibpath_overrides_runpath
=yes
17616 freebsd3.
[01]* | freebsdelf3.
[01]*)
17617 shlibpath_overrides_runpath
=yes
17618 hardcode_into_libs
=yes
17620 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
17621 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
17622 shlibpath_overrides_runpath
=no
17623 hardcode_into_libs
=yes
17625 *) # from 4.6 on, and DragonFly
17626 shlibpath_overrides_runpath
=yes
17627 hardcode_into_libs
=yes
17633 version_type
=linux
# correct to gnu/linux during the next big refactor
17636 dynamic_linker
="$host_os runtime_loader"
17637 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17638 soname_spec
='$libname$release$shared_ext$major'
17639 shlibpath_var
=LIBRARY_PATH
17640 shlibpath_overrides_runpath
=no
17641 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
17642 hardcode_into_libs
=yes
17645 hpux9
* | hpux10
* | hpux11
*)
17646 # Give a soname corresponding to the major version so that dld.sl refuses to
17647 # link against other versions.
17654 hardcode_into_libs
=yes
17655 dynamic_linker
="$host_os dld.so"
17656 shlibpath_var
=LD_LIBRARY_PATH
17657 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
17658 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17659 soname_spec
='$libname$release$shared_ext$major'
17660 if test 32 = "$HPUX_IA64_MODE"; then
17661 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
17662 sys_lib_dlsearch_path_spec
=/usr
/lib
/hpux32
17664 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
17665 sys_lib_dlsearch_path_spec
=/usr
/lib
/hpux64
17670 hardcode_into_libs
=yes
17671 dynamic_linker
="$host_os dld.sl"
17672 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
17673 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
17674 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17675 soname_spec
='$libname$release$shared_ext$major'
17676 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
17677 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
17681 dynamic_linker
="$host_os dld.sl"
17682 shlibpath_var
=SHLIB_PATH
17683 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
17684 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17685 soname_spec
='$libname$release$shared_ext$major'
17688 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
17689 postinstall_cmds
='chmod 555 $lib'
17690 # or fails outright, so override atomically:
17691 install_override_mode
=555
17695 version_type
=linux
# correct to gnu/linux during the next big refactor
17698 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17699 soname_spec
='$libname$release$shared_ext$major'
17700 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
17701 shlibpath_var
=LD_LIBRARY_PATH
17702 shlibpath_overrides_runpath
=no
17703 hardcode_into_libs
=yes
17706 irix5
* | irix6
* | nonstopux
*)
17708 nonstopux
*) version_type
=nonstopux
;;
17710 if test yes = "$lt_cv_prog_gnu_ld"; then
17711 version_type
=linux
# correct to gnu/linux during the next big refactor
17718 soname_spec
='$libname$release$shared_ext$major'
17719 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
17721 irix5
* | nonstopux
*)
17722 libsuff
= shlibsuff
=
17725 case $LD in # libtool.m4 will add one of these switches to LD
17726 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
17727 libsuff
= shlibsuff
= libmagic
=32-bit;;
17728 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
17729 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
17730 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
17731 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
17732 *) libsuff
= shlibsuff
= libmagic
=never
-match;;
17736 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
17737 shlibpath_overrides_runpath
=no
17738 sys_lib_search_path_spec
="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
17739 sys_lib_dlsearch_path_spec
="/usr/lib$libsuff /lib$libsuff"
17740 hardcode_into_libs
=yes
17743 # No shared lib support for Linux oldld, aout, or coff.
17744 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
17749 version_type
=none
# Android doesn't support versioned libraries.
17752 library_names_spec
='$libname$release$shared_ext'
17753 soname_spec
='$libname$release$shared_ext'
17755 shlibpath_var
=LD_LIBRARY_PATH
17756 shlibpath_overrides_runpath
=yes
17758 # This implies no fast_install, which is unacceptable.
17759 # Some rework will be needed to allow for fast_install
17760 # before this can be enabled.
17761 hardcode_into_libs
=yes
17763 dynamic_linker
='Android linker'
17764 # Don't embed -rpath directories since the linker doesn't support them.
17765 hardcode_libdir_flag_spec_CXX
='-L$libdir'
17768 # This must be glibc/ELF.
17769 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
17770 version_type
=linux
# correct to gnu/linux during the next big refactor
17773 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17774 soname_spec
='$libname$release$shared_ext$major'
17775 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
17776 shlibpath_var
=LD_LIBRARY_PATH
17777 shlibpath_overrides_runpath
=no
17779 # Some binutils ld are patched to set DT_RUNPATH
17780 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
17781 $as_echo_n "(cached) " >&6
17783 lt_cv_shlibpath_overrides_runpath
=no
17784 save_LDFLAGS
=$LDFLAGS
17785 save_libdir
=$libdir
17786 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
17787 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
17788 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17789 /* end confdefs.h. */
17799 if ac_fn_cxx_try_link
"$LINENO"; then :
17800 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null
| grep "RUNPATH.*$libdir" >/dev
/null
; then :
17801 lt_cv_shlibpath_overrides_runpath
=yes
17804 rm -f core conftest.err conftest.
$ac_objext \
17805 conftest
$ac_exeext conftest.
$ac_ext
17806 LDFLAGS
=$save_LDFLAGS
17807 libdir
=$save_libdir
17811 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
17813 # This implies no fast_install, which is unacceptable.
17814 # Some rework will be needed to allow for fast_install
17815 # before this can be enabled.
17816 hardcode_into_libs
=yes
17818 # Ideally, we could use ldconfig to report *all* directores which are
17819 # searched for libraries, however this is still not possible. Aside from not
17820 # being certain /sbin/ldconfig is available, command
17821 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
17822 # even though it is searched at run-time. Try to do the best guess by
17823 # appending ld.so.conf contents (and includes) to the search path.
17824 if test -f /etc
/ld.so.conf
; then
17825 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' ' '`
17826 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
17829 # We used to test for /lib/ld.so.1 and disable shared libraries on
17830 # powerpc, because MkLinux only supported shared libraries with the
17831 # GNU dynamic linker. Since this was broken with cross compilers,
17832 # most powerpc-linux boxes support dynamic linking these days and
17833 # people can always --disable-shared, the test was removed, and we
17834 # assume the GNU/Linux dynamic linker is in use.
17835 dynamic_linker
='GNU/Linux ld.so'
17842 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
17843 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
17844 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17845 dynamic_linker
='NetBSD (a.out) ld.so'
17847 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17848 soname_spec
='$libname$release$shared_ext$major'
17849 dynamic_linker
='NetBSD ld.elf_so'
17851 shlibpath_var
=LD_LIBRARY_PATH
17852 shlibpath_overrides_runpath
=yes
17853 hardcode_into_libs
=yes
17857 version_type
=linux
# correct to gnu/linux during the next big refactor
17858 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17859 shlibpath_var
=LD_LIBRARY_PATH
17860 shlibpath_overrides_runpath
=yes
17867 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17868 soname_spec
='$libname$release$shared_ext$major'
17869 shlibpath_var
=LD_LIBRARY_PATH
17870 shlibpath_overrides_runpath
=no
17871 hardcode_into_libs
=yes
17872 dynamic_linker
='ldqnx.so'
17875 openbsd
* | bitrig
*)
17877 sys_lib_dlsearch_path_spec
=/usr
/lib
17879 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
17884 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
17885 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17886 shlibpath_var
=LD_LIBRARY_PATH
17887 shlibpath_overrides_runpath
=yes
17891 libname_spec
='$name'
17892 version_type
=windows
17896 # OS/2 can only load a DLL with a base name of 8 characters or less.
17897 soname_spec
='`test -n "$os2dllname" && libname="$os2dllname";
17898 v=$($ECHO $release$versuffix | tr -d .-);
17899 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
17900 $ECHO $n$v`$shared_ext'
17901 library_names_spec
='${libname}_dll.$libext'
17902 dynamic_linker
='OS/2 ld.exe'
17903 shlibpath_var
=BEGINLIBPATH
17904 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
17905 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
17906 postinstall_cmds
='base_file=`basename \$file`~
17907 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
17908 dldir=$destdir/`dirname \$dlpath`~
17909 test -d \$dldir || mkdir -p \$dldir~
17910 $install_prog $dir/$dlname \$dldir/$dlname~
17911 chmod a+x \$dldir/$dlname~
17912 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
17913 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
17915 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
17916 dlpath=$dir/\$dldll~
17920 osf3
* | osf4
* | osf5
*)
17924 soname_spec
='$libname$release$shared_ext$major'
17925 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17926 shlibpath_var
=LD_LIBRARY_PATH
17927 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
17928 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
17936 version_type
=linux
# correct to gnu/linux during the next big refactor
17939 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17940 soname_spec
='$libname$release$shared_ext$major'
17941 shlibpath_var
=LD_LIBRARY_PATH
17942 shlibpath_overrides_runpath
=yes
17943 hardcode_into_libs
=yes
17944 # ldd complains unless libraries are executable
17945 postinstall_cmds
='chmod +x $lib'
17950 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
17951 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
17952 shlibpath_var
=LD_LIBRARY_PATH
17953 shlibpath_overrides_runpath
=yes
17954 if test yes = "$with_gnu_ld"; then
17961 version_type
=linux
# correct to gnu/linux during the next big refactor
17962 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17963 soname_spec
='$libname$release$shared_ext$major'
17964 shlibpath_var
=LD_LIBRARY_PATH
17965 case $host_vendor in
17967 shlibpath_overrides_runpath
=no
17969 runpath_var
=LD_RUN_PATH
17977 shlibpath_overrides_runpath
=no
17978 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
17984 if test -d /usr
/nec
; then
17985 version_type
=linux
# correct to gnu/linux during the next big refactor
17986 library_names_spec
='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
17987 soname_spec
='$libname$shared_ext.$major'
17988 shlibpath_var
=LD_LIBRARY_PATH
17992 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
17996 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
17997 soname_spec
='$libname$release$shared_ext$major'
17998 shlibpath_var
=LD_LIBRARY_PATH
17999 shlibpath_overrides_runpath
=yes
18000 hardcode_into_libs
=yes
18001 if test yes = "$with_gnu_ld"; then
18002 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
18004 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
18007 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
18011 sys_lib_dlsearch_path_spec
='/usr/lib'
18015 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
18016 version_type
=linux
# correct to gnu/linux during the next big refactor
18019 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
18020 shlibpath_var
=LD_LIBRARY_PATH
18021 shlibpath_overrides_runpath
=no
18022 hardcode_into_libs
=yes
18026 version_type
=linux
# correct to gnu/linux during the next big refactor
18027 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
18028 soname_spec
='$libname$release$shared_ext$major'
18029 shlibpath_var
=LD_LIBRARY_PATH
18036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
18037 $as_echo "$dynamic_linker" >&6; }
18038 test no
= "$dynamic_linker" && can_build_shared
=no
18040 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
18041 if test yes = "$GCC"; then
18042 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
18045 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
18046 sys_lib_search_path_spec
=$lt_cv_sys_lib_search_path_spec
18049 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
18050 sys_lib_dlsearch_path_spec
=$lt_cv_sys_lib_dlsearch_path_spec
18053 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
18054 configure_time_dlsearch_path
=$sys_lib_dlsearch_path_spec
18056 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
18057 func_munge_path_list sys_lib_dlsearch_path_spec
"$LT_SYS_LIBRARY_PATH"
18059 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
18060 configure_time_lt_sys_library_path
=$LT_SYS_LIBRARY_PATH
18101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
18102 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
18103 hardcode_action_CXX
=
18104 if test -n "$hardcode_libdir_flag_spec_CXX" ||
18105 test -n "$runpath_var_CXX" ||
18106 test yes = "$hardcode_automatic_CXX"; then
18108 # We can hardcode non-existent directories.
18109 if test no
!= "$hardcode_direct_CXX" &&
18110 # If the only mechanism to avoid hardcoding is shlibpath_var, we
18111 # have to relink, otherwise we might link with an installed library
18112 # when we should be linking with a yet-to-be-installed one
18113 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" &&
18114 test no
!= "$hardcode_minus_L_CXX"; then
18115 # Linking always hardcodes the temporary library directory.
18116 hardcode_action_CXX
=relink
18118 # We can link without hardcoding, and we can hardcode nonexisting dirs.
18119 hardcode_action_CXX
=immediate
18122 # We cannot hardcode anything, or else we can only hardcode existing
18124 hardcode_action_CXX
=unsupported
18126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
18127 $as_echo "$hardcode_action_CXX" >&6; }
18129 if test relink
= "$hardcode_action_CXX" ||
18130 test yes = "$inherit_rpath_CXX"; then
18131 # Fast installation is not supported
18132 enable_fast_install
=no
18133 elif test yes = "$shlibpath_overrides_runpath" ||
18134 test no
= "$enable_shared"; then
18135 # Fast installation is not necessary
18136 enable_fast_install
=needless
18145 fi # test -n "$compiler"
18148 CFLAGS
=$lt_save_CFLAGS
18152 with_gnu_ld
=$lt_save_with_gnu_ld
18153 lt_cv_path_LDCXX
=$lt_cv_path_LD
18154 lt_cv_path_LD
=$lt_save_path_LD
18155 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
18156 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
18157 fi # test yes != "$_lt_caught_CXX_error"
18160 ac_cpp
='$CPP $CPPFLAGS'
18161 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18162 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18163 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18179 ac_config_commands
="$ac_config_commands libtool"
18184 # Only expand once:
18189 ac_cpp
='$CXXCPP $CPPFLAGS'
18190 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18191 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18192 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18195 ax_cxx_compile_cxx11_required
=true
18197 ac_cpp
='$CXXCPP $CPPFLAGS'
18198 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18199 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18200 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX supports C++11 features by default" >&5
18203 $as_echo_n "checking whether $CXX supports C++11 features by default... " >&6; }
18204 if ${ax_cv_cxx_compile_cxx11+:} false
; then :
18205 $as_echo_n "(cached) " >&6
18207 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18208 /* end confdefs.h. */
18210 template <typename T>
18213 static_assert(sizeof(int) <= sizeof(T), "not big enough");
18217 virtual void f() {}
18219 struct Child : public Base {
18220 virtual void f() override {}
18223 typedef check<check<bool>> right_angle_brackets;
18228 typedef check<int> check_type;
18230 check_type&& cr = static_cast<check_type&&>(c);
18236 if ac_fn_cxx_try_compile
"$LINENO"; then :
18237 ax_cv_cxx_compile_cxx11
=yes
18239 ax_cv_cxx_compile_cxx11
=no
18241 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_cxx_compile_cxx11" >&5
18244 $as_echo "$ax_cv_cxx_compile_cxx11" >&6; }
18245 if test x
$ax_cv_cxx_compile_cxx11 = xyes
; then
18249 if test x
$ac_success = xno
; then
18250 for switch
in -std=gnu
++11 -std=gnu
++0x
; do
18251 cachevar
=`$as_echo "ax_cv_cxx_compile_cxx11_$switch" | $as_tr_sh`
18252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX supports C++11 features with $switch" >&5
18253 $as_echo_n "checking whether $CXX supports C++11 features with $switch... " >&6; }
18254 if eval \
${$cachevar+:} false
; then :
18255 $as_echo_n "(cached) " >&6
18257 ac_save_CXXFLAGS
="$CXXFLAGS"
18258 CXXFLAGS
="$CXXFLAGS $switch"
18259 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18260 /* end confdefs.h. */
18262 template <typename T>
18265 static_assert(sizeof(int) <= sizeof(T), "not big enough");
18269 virtual void f() {}
18271 struct Child : public Base {
18272 virtual void f() override {}
18275 typedef check<check<bool>> right_angle_brackets;
18280 typedef check<int> check_type;
18282 check_type&& cr = static_cast<check_type&&>(c);
18288 if ac_fn_cxx_try_compile
"$LINENO"; then :
18293 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18294 CXXFLAGS
="$ac_save_CXXFLAGS"
18296 eval ac_res
=\$
$cachevar
18297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
18298 $as_echo "$ac_res" >&6; }
18299 if eval test x\$
$cachevar = xyes
; then
18300 CXXFLAGS
="$CXXFLAGS $switch"
18309 ac_cpp
='$CXXCPP $CPPFLAGS'
18310 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18311 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18312 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18314 if test x
$ax_cxx_compile_cxx11_required = xtrue
; then
18315 if test x
$ac_success = xno
; then
18316 as_fn_error $?
"*** A compiler with support for C++11 language features is required." "$LINENO" 5
18319 if test x
$ac_success = xno
; then
18321 { $as_echo "$as_me:${as_lineno-$LINENO}: No compiler with C++11 support was found" >&5
18322 $as_echo "$as_me: No compiler with C++11 support was found" >&6;}
18326 $as_echo "#define HAVE_CXX11 1" >>confdefs.h
18333 OBJCXXFLAGS
="${OBJCXXFLAGS} ${CXXFLAGS##*' '}"
18342 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
18343 if test -n "$ac_tool_prefix"; then
18344 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
18345 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
18346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18347 $as_echo_n "checking for $ac_word... " >&6; }
18348 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
18349 $as_echo_n "(cached) " >&6
18351 case $PKG_CONFIG in
18353 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
18356 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18357 for as_dir
in $PATH
18360 test -z "$as_dir" && as_dir
=.
18361 for ac_exec_ext
in '' $ac_executable_extensions; do
18362 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
18363 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
18364 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18374 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
18375 if test -n "$PKG_CONFIG"; then
18376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
18377 $as_echo "$PKG_CONFIG" >&6; }
18379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18380 $as_echo "no" >&6; }
18385 if test -z "$ac_cv_path_PKG_CONFIG"; then
18386 ac_pt_PKG_CONFIG
=$PKG_CONFIG
18387 # Extract the first word of "pkg-config", so it can be a program name with args.
18388 set dummy pkg
-config; ac_word
=$2
18389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18390 $as_echo_n "checking for $ac_word... " >&6; }
18391 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
18392 $as_echo_n "(cached) " >&6
18394 case $ac_pt_PKG_CONFIG in
18396 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
18399 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18400 for as_dir
in $PATH
18403 test -z "$as_dir" && as_dir
=.
18404 for ac_exec_ext
in '' $ac_executable_extensions; do
18405 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
18406 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
18407 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18417 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
18418 if test -n "$ac_pt_PKG_CONFIG"; then
18419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
18420 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
18422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18423 $as_echo "no" >&6; }
18426 if test "x$ac_pt_PKG_CONFIG" = x
; then
18429 case $cross_compiling:$ac_tool_warned in
18431 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
18432 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
18433 ac_tool_warned
=yes ;;
18435 PKG_CONFIG
=$ac_pt_PKG_CONFIG
18438 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
18442 if test -n "$PKG_CONFIG"; then
18443 _pkg_min_version
=0.22
18444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
18445 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
18446 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
18447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18448 $as_echo "yes" >&6; }
18450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18451 $as_echo "no" >&6; }
18456 # Extract the first word of "git", so it can be a program name with args.
18457 set dummy git
; ac_word
=$2
18458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18459 $as_echo_n "checking for $ac_word... " >&6; }
18460 if ${ac_cv_path_GIT+:} false
; then :
18461 $as_echo_n "(cached) " >&6
18465 ac_cv_path_GIT
="$GIT" # Let the user override the test with a path.
18468 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18469 for as_dir
in $PATH
18472 test -z "$as_dir" && as_dir
=.
18473 for ac_exec_ext
in '' $ac_executable_extensions; do
18474 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
18475 ac_cv_path_GIT
="$as_dir/$ac_word$ac_exec_ext"
18476 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18486 GIT
=$ac_cv_path_GIT
18487 if test -n "$GIT"; then
18488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GIT" >&5
18489 $as_echo "$GIT" >&6; }
18491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18492 $as_echo "no" >&6; }
18496 # Extract the first word of "time", so it can be a program name with args.
18497 set dummy
time; ac_word
=$2
18498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18499 $as_echo_n "checking for $ac_word... " >&6; }
18500 if ${ac_cv_path_TIME+:} false
; then :
18501 $as_echo_n "(cached) " >&6
18505 ac_cv_path_TIME
="$TIME" # Let the user override the test with a path.
18508 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18509 for as_dir
in $PATH
18512 test -z "$as_dir" && as_dir
=.
18513 for ac_exec_ext
in '' $ac_executable_extensions; do
18514 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
18515 ac_cv_path_TIME
="$as_dir/$ac_word$ac_exec_ext"
18516 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18526 TIME
=$ac_cv_path_TIME
18527 if test -n "$TIME"; then
18528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TIME" >&5
18529 $as_echo "$TIME" >&6; }
18531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18532 $as_echo "no" >&6; }
18541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bison >= 3.0" >&5
18542 $as_echo_n "checking for bison >= 3.0... " >&6; }
18543 if test -z "$BISON"; then
18544 ac_path_BISON_found
=false
18545 # Loop through the user's path and test for each of PROGNAME-LIST
18546 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18547 for as_dir
in $PATH
18550 test -z "$as_dir" && as_dir
=.
18551 for ac_prog
in bison
; do
18552 for ac_exec_ext
in '' $ac_executable_extensions; do
18553 ac_path_BISON
="$as_dir/$ac_prog$ac_exec_ext"
18554 as_fn_executable_p
"$ac_path_BISON" || continue
18555 version
=`$ac_path_BISON -V | $SED -e '1 s/^bison (GNU Bison) \(.*\)$/\1/p;d'`
18556 if ${version:+false} :; then :
18559 as_awk_strverscmp
='
18560 # Use only awk features that work with 7th edition Unix awk (1978).
18561 # My, what an old awk you have, Mr. Solaris!
18563 while (length(v1) && length(v2)) {
18564 # Set d1 to be the next thing to compare from v1, and likewise for d2.
18565 # Normally this is a single character, but if v1 and v2 contain digits,
18566 # compare them as integers and fractions as strverscmp does.
18567 if (v1 ~ /^0-9/ && v2 ~ /^0-9/) {
18568 # Split v1 and v2 into their leading digit string components d1 and d2,
18569 # and advance v1 and v2 past the leading digit strings.
18570 for (len1 = 1; substr(v1, len1 + 1) ~ /^0-9/; len1++) continue
18571 for (len2 = 1; substr(v2, len2 + 1) ~ /^0-9/; len2++) continue
18572 d1 = substr(v1, 1, len1); v1 = substr(v1, len1 + 1)
18573 d2 = substr(v2, 1, len2); v2 = substr(v2, len2 + 1)
18576 # Compare two fractions.
18577 while (d1 ~ /^0/ && d2 ~ /^0/) {
18578 d1 = substr(d1, 2); len1--
18579 d2 = substr(d2, 2); len2--
18581 if (len1 != len2 && ! (len1 && len2 && substr(d1, 1, 1) == substr(d2, 1, 1))) {
18582 # The two components differ in length, and the common prefix
18583 # contains only leading zeros. Consider the longer to be less.
18587 # Otherwise, compare as strings.
18592 # A fraction is less than an integer.
18597 # An integer is greater than a fraction.
18600 # Compare two integers.
18606 # The normal case, without worrying about digits.
18607 d1 = substr(v1, 1, 1); v1 = substr(v1, 2)
18608 d2 = substr(v2, 1, 1); v2 = substr(v2, 2)
18610 if (d1 < d2) exit 1
18611 if (d1 > d2) exit 2
18613 # Beware Solaris /usr/xgp4/bin/awk (at least through Solaris 10),
18614 # which mishandles some comparisons of empty strings to integers.
18615 if (length(v2)) exit 1
18616 if (length(v1)) exit 2
18621 awk "$as_awk_strverscmp" v1
="$as_arg_v1" v2
="$as_arg_v2" /dev
/null
18626 ac_cv_path_BISON
=$ac_path_BISON ;; #(
18628 ac_cv_path_BISON
=$ac_path_BISON ;; #(
18634 $ac_path_BISON_found && break 3
18639 if test -z "$ac_cv_path_BISON"; then
18640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18641 $as_echo "no" >&6; }
18644 ac_cv_path_BISON
=$BISON
18650 BISON
=$ac_cv_path_BISON
18652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
18653 $as_echo "$BISON" >&6; }
18658 as_fn_error $?
"You need bison 3.0 or greater" "$LINENO" 5
18664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18665 $as_echo "no" >&6; }
18673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for flex >= 2.5.33" >&5
18674 $as_echo_n "checking for flex >= 2.5.33... " >&6; }
18675 if test -z "$FLEX"; then
18676 ac_path_FLEX_found
=false
18677 # Loop through the user's path and test for each of PROGNAME-LIST
18678 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18679 for as_dir
in $PATH
18682 test -z "$as_dir" && as_dir
=.
18683 for ac_prog
in flex
; do
18684 for ac_exec_ext
in '' $ac_executable_extensions; do
18685 ac_path_FLEX
="$as_dir/$ac_prog$ac_exec_ext"
18686 as_fn_executable_p
"$ac_path_FLEX" || continue
18687 version
=`$ac_path_FLEX --version | $SED -e '1 s/^[^0-9.]* \([0-9.]*\).*$/\1/p;d'`
18688 if ${version:+false} :; then :
18693 awk "$as_awk_strverscmp" v1
="$as_arg_v1" v2
="$as_arg_v2" /dev
/null
18698 ac_cv_path_FLEX
=$ac_path_FLEX ;; #(
18700 ac_cv_path_FLEX
=$ac_path_FLEX ;; #(
18706 $ac_path_FLEX_found && break 3
18711 if test -z "$ac_cv_path_FLEX"; then
18712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18713 $as_echo "no" >&6; }
18716 ac_cv_path_FLEX
=$FLEX
18722 FLEX
=$ac_cv_path_FLEX
18724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
18725 $as_echo "$FLEX" >&6; }
18730 as_fn_error $?
"You need flex 2.5.33 or greater" "$LINENO" 5
18736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18737 $as_echo "no" >&6; }
18745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gperf >= 3.0.3" >&5
18746 $as_echo_n "checking for gperf >= 3.0.3... " >&6; }
18747 if test -z "$GPERF"; then
18748 ac_path_GPERF_found
=false
18749 # Loop through the user's path and test for each of PROGNAME-LIST
18750 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18751 for as_dir
in $PATH
18754 test -z "$as_dir" && as_dir
=.
18755 for ac_prog
in gperf
; do
18756 for ac_exec_ext
in '' $ac_executable_extensions; do
18757 ac_path_GPERF
="$as_dir/$ac_prog$ac_exec_ext"
18758 as_fn_executable_p
"$ac_path_GPERF" || continue
18759 version
=`$ac_path_GPERF --version | $SED -e '1 s/^.* \([0-9.]*\)$/\1/p;d'`
18760 if ${version:+false} :; then :
18765 awk "$as_awk_strverscmp" v1
="$as_arg_v1" v2
="$as_arg_v2" /dev
/null
18770 ac_cv_path_GPERF
=$ac_path_GPERF ;; #(
18772 ac_cv_path_GPERF
=$ac_path_GPERF ;; #(
18778 $ac_path_GPERF_found && break 3
18783 if test -z "$ac_cv_path_GPERF"; then
18784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18785 $as_echo "no" >&6; }
18788 ac_cv_path_GPERF
=$GPERF
18794 GPERF
=$ac_cv_path_GPERF
18796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GPERF" >&5
18797 $as_echo "$GPERF" >&6; }
18802 as_fn_error $?
"You need gperf 3.0.3 or greater" "$LINENO" 5
18808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18809 $as_echo "no" >&6; }
18817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tar gtar gnutar >= 1.19" >&5
18818 $as_echo_n "checking for tar gtar gnutar >= 1.19... " >&6; }
18819 if test -z "$GNUTAR"; then
18820 ac_path_GNUTAR_found
=false
18821 # Loop through the user's path and test for each of PROGNAME-LIST
18822 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18823 for as_dir
in $PATH
18826 test -z "$as_dir" && as_dir
=.
18827 for ac_prog
in tar gtar gnutar
; do
18828 for ac_exec_ext
in '' $ac_executable_extensions; do
18829 ac_path_GNUTAR
="$as_dir/$ac_prog$ac_exec_ext"
18830 as_fn_executable_p
"$ac_path_GNUTAR" || continue
18831 version
=`$ac_path_GNUTAR --version | $SED -e '1 s/^tar (GNU tar) \(.*\)$/\1/p;d'`
18832 if ${version:+false} :; then :
18837 awk "$as_awk_strverscmp" v1
="$as_arg_v1" v2
="$as_arg_v2" /dev
/null
18842 ac_cv_path_GNUTAR
=$ac_path_GNUTAR ;; #(
18844 ac_cv_path_GNUTAR
=$ac_path_GNUTAR ;; #(
18850 $ac_path_GNUTAR_found && break 3
18855 if test -z "$ac_cv_path_GNUTAR"; then
18856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18857 $as_echo "no" >&6; }
18860 ac_cv_path_GNUTAR
=$GNUTAR
18866 GNUTAR
=$ac_cv_path_GNUTAR
18868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNUTAR" >&5
18869 $as_echo "$GNUTAR" >&6; }
18874 as_fn_error $?
"You need tar gtar gnutar 1.19 or greater" "$LINENO" 5
18880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18881 $as_echo "no" >&6; }
18892 if test "x$LFLAGS" = x
; then :
18893 LFLAGS
="--full --ecs"
18901 ac_cpp
='$CPP $CPPFLAGS'
18902 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18903 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18904 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking CFLAGS for maximum warnings" >&5
18907 $as_echo_n "checking CFLAGS for maximum warnings... " >&6; }
18908 if ${ac_cv_cflags_warn_all+:} false
; then :
18909 $as_echo_n "(cached) " >&6
18911 ac_cv_cflags_warn_all
="no, unknown"
18912 ac_save_CFLAGS
="$CFLAGS"
18913 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" #
18914 do CFLAGS
="$ac_save_CFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
18915 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18916 /* end confdefs.h. */
18926 if ac_fn_c_try_compile
"$LINENO"; then :
18927 ac_cv_cflags_warn_all
=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
18929 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18931 CFLAGS
="$ac_save_CFLAGS"
18934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags_warn_all" >&5
18935 $as_echo "$ac_cv_cflags_warn_all" >&6; }
18938 case ".$ac_cv_cflags_warn_all" in
18941 *) if ${CFLAGS+:} false
; then :
18942 case " $CFLAGS " in
18943 *" $ac_cv_cflags_warn_all "*)
18944 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$ac_cv_cflags_warn_all"; } >&5
18945 (: CFLAGS already contains
$ac_cv_cflags_warn_all) 2>&5
18947 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18948 test $ac_status = 0; }
18951 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$ac_cv_cflags_warn_all\""; } >&5
18952 (: CFLAGS
="$CFLAGS $ac_cv_cflags_warn_all") 2>&5
18954 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18955 test $ac_status = 0; }
18956 CFLAGS
="$CFLAGS $ac_cv_cflags_warn_all"
18960 CFLAGS
="$ac_cv_cflags_warn_all"
18966 ac_cpp
='$CXXCPP $CPPFLAGS'
18967 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18968 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18969 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18973 ac_cpp
='$CXXCPP $CPPFLAGS'
18974 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18975 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18976 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking CXXFLAGS for maximum warnings" >&5
18979 $as_echo_n "checking CXXFLAGS for maximum warnings... " >&6; }
18980 if ${ac_cv_cxxflags_warn_all+:} false
; then :
18981 $as_echo_n "(cached) " >&6
18983 ac_cv_cxxflags_warn_all
="no, unknown"
18984 ac_save_CXXFLAGS
="$CXXFLAGS"
18985 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" #
18986 do CXXFLAGS
="$ac_save_CXXFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
18987 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18988 /* end confdefs.h. */
18998 if ac_fn_cxx_try_compile
"$LINENO"; then :
18999 ac_cv_cxxflags_warn_all
=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
19001 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19003 CXXFLAGS
="$ac_save_CXXFLAGS"
19006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxxflags_warn_all" >&5
19007 $as_echo "$ac_cv_cxxflags_warn_all" >&6; }
19010 case ".$ac_cv_cxxflags_warn_all" in
19013 *) if ${CXXFLAGS+:} false
; then :
19014 case " $CXXFLAGS " in
19015 *" $ac_cv_cxxflags_warn_all "*)
19016 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXFLAGS already contains \$ac_cv_cxxflags_warn_all"; } >&5
19017 (: CXXFLAGS already contains
$ac_cv_cxxflags_warn_all) 2>&5
19019 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19020 test $ac_status = 0; }
19023 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXFLAGS=\"\$CXXFLAGS \$ac_cv_cxxflags_warn_all\""; } >&5
19024 (: CXXFLAGS
="$CXXFLAGS $ac_cv_cxxflags_warn_all") 2>&5
19026 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19027 test $ac_status = 0; }
19028 CXXFLAGS
="$CXXFLAGS $ac_cv_cxxflags_warn_all"
19032 CXXFLAGS
="$ac_cv_cxxflags_warn_all"
19038 ac_cpp
='$CXXCPP $CPPFLAGS'
19039 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19040 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19041 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking CXXFLAGS for maximum warnings" >&5
19045 $as_echo_n "checking CXXFLAGS for maximum warnings... " >&6; }
19046 if ${ac_cv_cxxflags_warn_all+:} false
; then :
19047 $as_echo_n "(cached) " >&6
19049 ac_cv_cxxflags_warn_all
="no, unknown"
19050 ac_save_CXXFLAGS
="$CXXFLAGS"
19051 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" #
19052 do CXXFLAGS
="$ac_save_CXXFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
19053 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19054 /* end confdefs.h. */
19064 if ac_fn_cxx_try_compile
"$LINENO"; then :
19065 ac_cv_cxxflags_warn_all
=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
19067 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19069 CXXFLAGS
="$ac_save_CXXFLAGS"
19072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxxflags_warn_all" >&5
19073 $as_echo "$ac_cv_cxxflags_warn_all" >&6; }
19076 case ".$ac_cv_cxxflags_warn_all" in
19079 *) if ${CXXFLAGS+:} false
; then :
19080 case " $CXXFLAGS " in
19081 *" $ac_cv_cxxflags_warn_all "*)
19082 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXFLAGS already contains \$ac_cv_cxxflags_warn_all"; } >&5
19083 (: CXXFLAGS already contains
$ac_cv_cxxflags_warn_all) 2>&5
19085 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19086 test $ac_status = 0; }
19089 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXFLAGS=\"\$CXXFLAGS \$ac_cv_cxxflags_warn_all\""; } >&5
19090 (: CXXFLAGS
="$CXXFLAGS $ac_cv_cxxflags_warn_all") 2>&5
19092 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19093 test $ac_status = 0; }
19094 CXXFLAGS
="$CXXFLAGS $ac_cv_cxxflags_warn_all"
19098 CXXFLAGS
="$ac_cv_cxxflags_warn_all"
19108 ac_cpp
='$CPP $CPPFLAGS'
19109 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19110 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19111 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cc -Werror" >&5
19114 $as_echo_n "checking for cc -Werror... " >&6; }
19118 for element
in -Werror; do
19120 for x
in $CFLAGS; do
19122 acl_save_prefix
="$prefix"
19123 prefix
="$acl_final_prefix"
19124 acl_save_exec_prefix
="$exec_prefix"
19125 exec_prefix
="$acl_final_exec_prefix"
19127 exec_prefix
="$acl_save_exec_prefix"
19128 prefix
="$acl_save_prefix"
19130 if test "X$x" = "X$element"; then
19135 if test -z "$haveit"; then
19136 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
19141 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19142 /* end confdefs.h. */
19145 if ac_fn_c_try_compile
"$LINENO"; then :
19150 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19153 if test "x$cy_good" = x1
; then :
19154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19155 $as_echo "yes" >&6; }
19157 for element
in -Werror; do
19159 for x
in $CFLAGS; do
19161 acl_save_prefix
="$prefix"
19162 prefix
="$acl_final_prefix"
19163 acl_save_exec_prefix
="$exec_prefix"
19164 exec_prefix
="$acl_final_exec_prefix"
19166 exec_prefix
="$acl_save_exec_prefix"
19167 prefix
="$acl_save_prefix"
19169 if test "X$x" = "X$element"; then
19174 if test -z "$haveit"; then
19175 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
19181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19182 $as_echo "no" >&6; }
19186 ac_cpp
='$CXXCPP $CPPFLAGS'
19187 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19188 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19189 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19194 ac_cpp
='$CXXCPP $CPPFLAGS'
19195 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19196 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19197 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -Werror" >&5
19200 $as_echo_n "checking for c++ -Werror... " >&6; }
19204 for element
in -Werror; do
19206 for x
in $CXXFLAGS; do
19208 acl_save_prefix
="$prefix"
19209 prefix
="$acl_final_prefix"
19210 acl_save_exec_prefix
="$exec_prefix"
19211 exec_prefix
="$acl_final_exec_prefix"
19213 exec_prefix
="$acl_save_exec_prefix"
19214 prefix
="$acl_save_prefix"
19216 if test "X$x" = "X$element"; then
19221 if test -z "$haveit"; then
19222 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
19227 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19228 /* end confdefs.h. */
19231 if ac_fn_cxx_try_compile
"$LINENO"; then :
19236 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19239 if test "x$cy_good" = x1
; then :
19240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19241 $as_echo "yes" >&6; }
19243 for element
in -Werror; do
19245 for x
in $CXXFLAGS; do
19247 acl_save_prefix
="$prefix"
19248 prefix
="$acl_final_prefix"
19249 acl_save_exec_prefix
="$exec_prefix"
19250 exec_prefix
="$acl_final_exec_prefix"
19252 exec_prefix
="$acl_save_exec_prefix"
19253 prefix
="$acl_save_prefix"
19255 if test "X$x" = "X$element"; then
19260 if test -z "$haveit"; then
19261 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
19267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19268 $as_echo "no" >&6; }
19272 ac_cpp
='$CXXCPP $CPPFLAGS'
19273 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19274 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19275 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19280 ac_cpp
='$OBJCXXCPP $CPPFLAGS'
19281 ac_compile
='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19282 ac_link
='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19283 ac_compiler_gnu
=$ac_cv_objcxx_compiler_gnu
19285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -ObjC -Werror" >&5
19286 $as_echo_n "checking for c++ -ObjC -Werror... " >&6; }
19288 cy_save
=$OBJCXXFLAGS
19290 for element
in -Werror; do
19292 for x
in $OBJCXXFLAGS; do
19294 acl_save_prefix
="$prefix"
19295 prefix
="$acl_final_prefix"
19296 acl_save_exec_prefix
="$exec_prefix"
19297 exec_prefix
="$acl_final_exec_prefix"
19299 exec_prefix
="$acl_save_exec_prefix"
19300 prefix
="$acl_save_prefix"
19302 if test "X$x" = "X$element"; then
19307 if test -z "$haveit"; then
19308 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
19313 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19314 /* end confdefs.h. */
19317 if ac_fn_objcxx_try_compile
"$LINENO"; then :
19322 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19324 OBJCXXFLAGS
=$cy_save
19325 if test "x$cy_good" = x1
; then :
19326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19327 $as_echo "yes" >&6; }
19329 for element
in -Werror; do
19331 for x
in $OBJCXXFLAGS; do
19333 acl_save_prefix
="$prefix"
19334 prefix
="$acl_final_prefix"
19335 acl_save_exec_prefix
="$exec_prefix"
19336 exec_prefix
="$acl_final_exec_prefix"
19338 exec_prefix
="$acl_save_exec_prefix"
19339 prefix
="$acl_save_prefix"
19341 if test "X$x" = "X$element"; then
19346 if test -z "$haveit"; then
19347 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
19353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19354 $as_echo "no" >&6; }
19358 ac_cpp
='$CXXCPP $CPPFLAGS'
19359 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19360 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19361 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19369 ac_cpp
='$CPP $CPPFLAGS'
19370 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19371 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19372 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cc -Wno-deprecated-declarations" >&5
19375 $as_echo_n "checking for cc -Wno-deprecated-declarations... " >&6; }
19379 for element
in -Wno-deprecated-declarations; do
19381 for x
in $CFLAGS; do
19383 acl_save_prefix
="$prefix"
19384 prefix
="$acl_final_prefix"
19385 acl_save_exec_prefix
="$exec_prefix"
19386 exec_prefix
="$acl_final_exec_prefix"
19388 exec_prefix
="$acl_save_exec_prefix"
19389 prefix
="$acl_save_prefix"
19391 if test "X$x" = "X$element"; then
19396 if test -z "$haveit"; then
19397 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
19402 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19403 /* end confdefs.h. */
19406 if ac_fn_c_try_compile
"$LINENO"; then :
19411 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19414 if test "x$cy_good" = x1
; then :
19415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19416 $as_echo "yes" >&6; }
19418 for element
in -Wno-deprecated-declarations; do
19420 for x
in $CFLAGS; do
19422 acl_save_prefix
="$prefix"
19423 prefix
="$acl_final_prefix"
19424 acl_save_exec_prefix
="$exec_prefix"
19425 exec_prefix
="$acl_final_exec_prefix"
19427 exec_prefix
="$acl_save_exec_prefix"
19428 prefix
="$acl_save_prefix"
19430 if test "X$x" = "X$element"; then
19435 if test -z "$haveit"; then
19436 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
19442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19443 $as_echo "no" >&6; }
19447 ac_cpp
='$CXXCPP $CPPFLAGS'
19448 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19449 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19450 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19455 ac_cpp
='$CXXCPP $CPPFLAGS'
19456 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19457 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19458 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -Wno-deprecated-declarations" >&5
19461 $as_echo_n "checking for c++ -Wno-deprecated-declarations... " >&6; }
19465 for element
in -Wno-deprecated-declarations; do
19467 for x
in $CXXFLAGS; do
19469 acl_save_prefix
="$prefix"
19470 prefix
="$acl_final_prefix"
19471 acl_save_exec_prefix
="$exec_prefix"
19472 exec_prefix
="$acl_final_exec_prefix"
19474 exec_prefix
="$acl_save_exec_prefix"
19475 prefix
="$acl_save_prefix"
19477 if test "X$x" = "X$element"; then
19482 if test -z "$haveit"; then
19483 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
19488 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19489 /* end confdefs.h. */
19492 if ac_fn_cxx_try_compile
"$LINENO"; then :
19497 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19500 if test "x$cy_good" = x1
; then :
19501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19502 $as_echo "yes" >&6; }
19504 for element
in -Wno-deprecated-declarations; do
19506 for x
in $CXXFLAGS; do
19508 acl_save_prefix
="$prefix"
19509 prefix
="$acl_final_prefix"
19510 acl_save_exec_prefix
="$exec_prefix"
19511 exec_prefix
="$acl_final_exec_prefix"
19513 exec_prefix
="$acl_save_exec_prefix"
19514 prefix
="$acl_save_prefix"
19516 if test "X$x" = "X$element"; then
19521 if test -z "$haveit"; then
19522 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
19528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19529 $as_echo "no" >&6; }
19533 ac_cpp
='$CXXCPP $CPPFLAGS'
19534 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19535 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19536 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19541 ac_cpp
='$OBJCXXCPP $CPPFLAGS'
19542 ac_compile
='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19543 ac_link
='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19544 ac_compiler_gnu
=$ac_cv_objcxx_compiler_gnu
19546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -ObjC -Wno-deprecated-declarations" >&5
19547 $as_echo_n "checking for c++ -ObjC -Wno-deprecated-declarations... " >&6; }
19549 cy_save
=$OBJCXXFLAGS
19551 for element
in -Wno-deprecated-declarations; do
19553 for x
in $OBJCXXFLAGS; do
19555 acl_save_prefix
="$prefix"
19556 prefix
="$acl_final_prefix"
19557 acl_save_exec_prefix
="$exec_prefix"
19558 exec_prefix
="$acl_final_exec_prefix"
19560 exec_prefix
="$acl_save_exec_prefix"
19561 prefix
="$acl_save_prefix"
19563 if test "X$x" = "X$element"; then
19568 if test -z "$haveit"; then
19569 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
19574 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19575 /* end confdefs.h. */
19578 if ac_fn_objcxx_try_compile
"$LINENO"; then :
19583 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19585 OBJCXXFLAGS
=$cy_save
19586 if test "x$cy_good" = x1
; then :
19587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19588 $as_echo "yes" >&6; }
19590 for element
in -Wno-deprecated-declarations; do
19592 for x
in $OBJCXXFLAGS; do
19594 acl_save_prefix
="$prefix"
19595 prefix
="$acl_final_prefix"
19596 acl_save_exec_prefix
="$exec_prefix"
19597 exec_prefix
="$acl_final_exec_prefix"
19599 exec_prefix
="$acl_save_exec_prefix"
19600 prefix
="$acl_save_prefix"
19602 if test "X$x" = "X$element"; then
19607 if test -z "$haveit"; then
19608 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
19614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19615 $as_echo "no" >&6; }
19619 ac_cpp
='$CXXCPP $CPPFLAGS'
19620 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19621 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19622 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19630 ac_cpp
='$CPP $CPPFLAGS'
19631 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19632 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19633 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cc -Wno-dangling-else" >&5
19636 $as_echo_n "checking for cc -Wno-dangling-else... " >&6; }
19640 for element
in -Wno-dangling-else; do
19642 for x
in $CFLAGS; do
19644 acl_save_prefix
="$prefix"
19645 prefix
="$acl_final_prefix"
19646 acl_save_exec_prefix
="$exec_prefix"
19647 exec_prefix
="$acl_final_exec_prefix"
19649 exec_prefix
="$acl_save_exec_prefix"
19650 prefix
="$acl_save_prefix"
19652 if test "X$x" = "X$element"; then
19657 if test -z "$haveit"; then
19658 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
19663 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19664 /* end confdefs.h. */
19667 if ac_fn_c_try_compile
"$LINENO"; then :
19672 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19675 if test "x$cy_good" = x1
; then :
19676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19677 $as_echo "yes" >&6; }
19679 for element
in -Wno-dangling-else; do
19681 for x
in $CFLAGS; do
19683 acl_save_prefix
="$prefix"
19684 prefix
="$acl_final_prefix"
19685 acl_save_exec_prefix
="$exec_prefix"
19686 exec_prefix
="$acl_final_exec_prefix"
19688 exec_prefix
="$acl_save_exec_prefix"
19689 prefix
="$acl_save_prefix"
19691 if test "X$x" = "X$element"; then
19696 if test -z "$haveit"; then
19697 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
19703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19704 $as_echo "no" >&6; }
19708 ac_cpp
='$CXXCPP $CPPFLAGS'
19709 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19710 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19711 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19716 ac_cpp
='$CXXCPP $CPPFLAGS'
19717 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19718 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19719 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -Wno-dangling-else" >&5
19722 $as_echo_n "checking for c++ -Wno-dangling-else... " >&6; }
19726 for element
in -Wno-dangling-else; do
19728 for x
in $CXXFLAGS; do
19730 acl_save_prefix
="$prefix"
19731 prefix
="$acl_final_prefix"
19732 acl_save_exec_prefix
="$exec_prefix"
19733 exec_prefix
="$acl_final_exec_prefix"
19735 exec_prefix
="$acl_save_exec_prefix"
19736 prefix
="$acl_save_prefix"
19738 if test "X$x" = "X$element"; then
19743 if test -z "$haveit"; then
19744 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
19749 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19750 /* end confdefs.h. */
19753 if ac_fn_cxx_try_compile
"$LINENO"; then :
19758 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19761 if test "x$cy_good" = x1
; then :
19762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19763 $as_echo "yes" >&6; }
19765 for element
in -Wno-dangling-else; do
19767 for x
in $CXXFLAGS; do
19769 acl_save_prefix
="$prefix"
19770 prefix
="$acl_final_prefix"
19771 acl_save_exec_prefix
="$exec_prefix"
19772 exec_prefix
="$acl_final_exec_prefix"
19774 exec_prefix
="$acl_save_exec_prefix"
19775 prefix
="$acl_save_prefix"
19777 if test "X$x" = "X$element"; then
19782 if test -z "$haveit"; then
19783 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
19789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19790 $as_echo "no" >&6; }
19794 ac_cpp
='$CXXCPP $CPPFLAGS'
19795 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19796 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19797 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19802 ac_cpp
='$OBJCXXCPP $CPPFLAGS'
19803 ac_compile
='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19804 ac_link
='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19805 ac_compiler_gnu
=$ac_cv_objcxx_compiler_gnu
19807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -ObjC -Wno-dangling-else" >&5
19808 $as_echo_n "checking for c++ -ObjC -Wno-dangling-else... " >&6; }
19810 cy_save
=$OBJCXXFLAGS
19812 for element
in -Wno-dangling-else; do
19814 for x
in $OBJCXXFLAGS; do
19816 acl_save_prefix
="$prefix"
19817 prefix
="$acl_final_prefix"
19818 acl_save_exec_prefix
="$exec_prefix"
19819 exec_prefix
="$acl_final_exec_prefix"
19821 exec_prefix
="$acl_save_exec_prefix"
19822 prefix
="$acl_save_prefix"
19824 if test "X$x" = "X$element"; then
19829 if test -z "$haveit"; then
19830 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
19835 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19836 /* end confdefs.h. */
19839 if ac_fn_objcxx_try_compile
"$LINENO"; then :
19844 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19846 OBJCXXFLAGS
=$cy_save
19847 if test "x$cy_good" = x1
; then :
19848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19849 $as_echo "yes" >&6; }
19851 for element
in -Wno-dangling-else; do
19853 for x
in $OBJCXXFLAGS; do
19855 acl_save_prefix
="$prefix"
19856 prefix
="$acl_final_prefix"
19857 acl_save_exec_prefix
="$exec_prefix"
19858 exec_prefix
="$acl_final_exec_prefix"
19860 exec_prefix
="$acl_save_exec_prefix"
19861 prefix
="$acl_save_prefix"
19863 if test "X$x" = "X$element"; then
19868 if test -z "$haveit"; then
19869 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
19875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19876 $as_echo "no" >&6; }
19880 ac_cpp
='$CXXCPP $CPPFLAGS'
19881 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19882 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19883 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19890 ac_cpp
='$CPP $CPPFLAGS'
19891 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19892 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19893 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cc -Wno-empty-body" >&5
19896 $as_echo_n "checking for cc -Wno-empty-body... " >&6; }
19900 for element
in -Wno-empty-body; do
19902 for x
in $CFLAGS; do
19904 acl_save_prefix
="$prefix"
19905 prefix
="$acl_final_prefix"
19906 acl_save_exec_prefix
="$exec_prefix"
19907 exec_prefix
="$acl_final_exec_prefix"
19909 exec_prefix
="$acl_save_exec_prefix"
19910 prefix
="$acl_save_prefix"
19912 if test "X$x" = "X$element"; then
19917 if test -z "$haveit"; then
19918 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
19923 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19924 /* end confdefs.h. */
19927 if ac_fn_c_try_compile
"$LINENO"; then :
19932 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19935 if test "x$cy_good" = x1
; then :
19936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19937 $as_echo "yes" >&6; }
19939 for element
in -Wno-empty-body; do
19941 for x
in $CFLAGS; do
19943 acl_save_prefix
="$prefix"
19944 prefix
="$acl_final_prefix"
19945 acl_save_exec_prefix
="$exec_prefix"
19946 exec_prefix
="$acl_final_exec_prefix"
19948 exec_prefix
="$acl_save_exec_prefix"
19949 prefix
="$acl_save_prefix"
19951 if test "X$x" = "X$element"; then
19956 if test -z "$haveit"; then
19957 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
19963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19964 $as_echo "no" >&6; }
19968 ac_cpp
='$CXXCPP $CPPFLAGS'
19969 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19970 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19971 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19976 ac_cpp
='$CXXCPP $CPPFLAGS'
19977 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19978 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19979 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -Wno-empty-body" >&5
19982 $as_echo_n "checking for c++ -Wno-empty-body... " >&6; }
19986 for element
in -Wno-empty-body; do
19988 for x
in $CXXFLAGS; do
19990 acl_save_prefix
="$prefix"
19991 prefix
="$acl_final_prefix"
19992 acl_save_exec_prefix
="$exec_prefix"
19993 exec_prefix
="$acl_final_exec_prefix"
19995 exec_prefix
="$acl_save_exec_prefix"
19996 prefix
="$acl_save_prefix"
19998 if test "X$x" = "X$element"; then
20003 if test -z "$haveit"; then
20004 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
20009 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20010 /* end confdefs.h. */
20013 if ac_fn_cxx_try_compile
"$LINENO"; then :
20018 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20021 if test "x$cy_good" = x1
; then :
20022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20023 $as_echo "yes" >&6; }
20025 for element
in -Wno-empty-body; do
20027 for x
in $CXXFLAGS; do
20029 acl_save_prefix
="$prefix"
20030 prefix
="$acl_final_prefix"
20031 acl_save_exec_prefix
="$exec_prefix"
20032 exec_prefix
="$acl_final_exec_prefix"
20034 exec_prefix
="$acl_save_exec_prefix"
20035 prefix
="$acl_save_prefix"
20037 if test "X$x" = "X$element"; then
20042 if test -z "$haveit"; then
20043 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
20049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20050 $as_echo "no" >&6; }
20054 ac_cpp
='$CXXCPP $CPPFLAGS'
20055 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20056 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20057 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20062 ac_cpp
='$OBJCXXCPP $CPPFLAGS'
20063 ac_compile
='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20064 ac_link
='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20065 ac_compiler_gnu
=$ac_cv_objcxx_compiler_gnu
20067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -ObjC -Wno-empty-body" >&5
20068 $as_echo_n "checking for c++ -ObjC -Wno-empty-body... " >&6; }
20070 cy_save
=$OBJCXXFLAGS
20072 for element
in -Wno-empty-body; do
20074 for x
in $OBJCXXFLAGS; do
20076 acl_save_prefix
="$prefix"
20077 prefix
="$acl_final_prefix"
20078 acl_save_exec_prefix
="$exec_prefix"
20079 exec_prefix
="$acl_final_exec_prefix"
20081 exec_prefix
="$acl_save_exec_prefix"
20082 prefix
="$acl_save_prefix"
20084 if test "X$x" = "X$element"; then
20089 if test -z "$haveit"; then
20090 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
20095 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20096 /* end confdefs.h. */
20099 if ac_fn_objcxx_try_compile
"$LINENO"; then :
20104 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20106 OBJCXXFLAGS
=$cy_save
20107 if test "x$cy_good" = x1
; then :
20108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20109 $as_echo "yes" >&6; }
20111 for element
in -Wno-empty-body; do
20113 for x
in $OBJCXXFLAGS; do
20115 acl_save_prefix
="$prefix"
20116 prefix
="$acl_final_prefix"
20117 acl_save_exec_prefix
="$exec_prefix"
20118 exec_prefix
="$acl_final_exec_prefix"
20120 exec_prefix
="$acl_save_exec_prefix"
20121 prefix
="$acl_save_prefix"
20123 if test "X$x" = "X$element"; then
20128 if test -z "$haveit"; then
20129 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
20135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20136 $as_echo "no" >&6; }
20140 ac_cpp
='$CXXCPP $CPPFLAGS'
20141 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20142 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20143 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20150 ac_cpp
='$CPP $CPPFLAGS'
20151 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20152 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20153 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cc -Wno-overloaded-virtual" >&5
20156 $as_echo_n "checking for cc -Wno-overloaded-virtual... " >&6; }
20160 for element
in -Wno-overloaded-virtual; do
20162 for x
in $CFLAGS; do
20164 acl_save_prefix
="$prefix"
20165 prefix
="$acl_final_prefix"
20166 acl_save_exec_prefix
="$exec_prefix"
20167 exec_prefix
="$acl_final_exec_prefix"
20169 exec_prefix
="$acl_save_exec_prefix"
20170 prefix
="$acl_save_prefix"
20172 if test "X$x" = "X$element"; then
20177 if test -z "$haveit"; then
20178 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
20183 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20184 /* end confdefs.h. */
20187 if ac_fn_c_try_compile
"$LINENO"; then :
20192 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20195 if test "x$cy_good" = x1
; then :
20196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20197 $as_echo "yes" >&6; }
20199 for element
in -Wno-overloaded-virtual; do
20201 for x
in $CFLAGS; do
20203 acl_save_prefix
="$prefix"
20204 prefix
="$acl_final_prefix"
20205 acl_save_exec_prefix
="$exec_prefix"
20206 exec_prefix
="$acl_final_exec_prefix"
20208 exec_prefix
="$acl_save_exec_prefix"
20209 prefix
="$acl_save_prefix"
20211 if test "X$x" = "X$element"; then
20216 if test -z "$haveit"; then
20217 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
20223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20224 $as_echo "no" >&6; }
20228 ac_cpp
='$CXXCPP $CPPFLAGS'
20229 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20230 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20231 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20236 ac_cpp
='$CXXCPP $CPPFLAGS'
20237 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20238 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20239 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -Wno-overloaded-virtual" >&5
20242 $as_echo_n "checking for c++ -Wno-overloaded-virtual... " >&6; }
20246 for element
in -Wno-overloaded-virtual; do
20248 for x
in $CXXFLAGS; do
20250 acl_save_prefix
="$prefix"
20251 prefix
="$acl_final_prefix"
20252 acl_save_exec_prefix
="$exec_prefix"
20253 exec_prefix
="$acl_final_exec_prefix"
20255 exec_prefix
="$acl_save_exec_prefix"
20256 prefix
="$acl_save_prefix"
20258 if test "X$x" = "X$element"; then
20263 if test -z "$haveit"; then
20264 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
20269 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20270 /* end confdefs.h. */
20273 if ac_fn_cxx_try_compile
"$LINENO"; then :
20278 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20281 if test "x$cy_good" = x1
; then :
20282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20283 $as_echo "yes" >&6; }
20285 for element
in -Wno-overloaded-virtual; do
20287 for x
in $CXXFLAGS; do
20289 acl_save_prefix
="$prefix"
20290 prefix
="$acl_final_prefix"
20291 acl_save_exec_prefix
="$exec_prefix"
20292 exec_prefix
="$acl_final_exec_prefix"
20294 exec_prefix
="$acl_save_exec_prefix"
20295 prefix
="$acl_save_prefix"
20297 if test "X$x" = "X$element"; then
20302 if test -z "$haveit"; then
20303 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
20309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20310 $as_echo "no" >&6; }
20314 ac_cpp
='$CXXCPP $CPPFLAGS'
20315 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20316 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20317 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20322 ac_cpp
='$OBJCXXCPP $CPPFLAGS'
20323 ac_compile
='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20324 ac_link
='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20325 ac_compiler_gnu
=$ac_cv_objcxx_compiler_gnu
20327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -ObjC -Wno-overloaded-virtual" >&5
20328 $as_echo_n "checking for c++ -ObjC -Wno-overloaded-virtual... " >&6; }
20330 cy_save
=$OBJCXXFLAGS
20332 for element
in -Wno-overloaded-virtual; do
20334 for x
in $OBJCXXFLAGS; do
20336 acl_save_prefix
="$prefix"
20337 prefix
="$acl_final_prefix"
20338 acl_save_exec_prefix
="$exec_prefix"
20339 exec_prefix
="$acl_final_exec_prefix"
20341 exec_prefix
="$acl_save_exec_prefix"
20342 prefix
="$acl_save_prefix"
20344 if test "X$x" = "X$element"; then
20349 if test -z "$haveit"; then
20350 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
20355 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20356 /* end confdefs.h. */
20359 if ac_fn_objcxx_try_compile
"$LINENO"; then :
20364 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20366 OBJCXXFLAGS
=$cy_save
20367 if test "x$cy_good" = x1
; then :
20368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20369 $as_echo "yes" >&6; }
20371 for element
in -Wno-overloaded-virtual; do
20373 for x
in $OBJCXXFLAGS; do
20375 acl_save_prefix
="$prefix"
20376 prefix
="$acl_final_prefix"
20377 acl_save_exec_prefix
="$exec_prefix"
20378 exec_prefix
="$acl_final_exec_prefix"
20380 exec_prefix
="$acl_save_exec_prefix"
20381 prefix
="$acl_save_prefix"
20383 if test "X$x" = "X$element"; then
20388 if test -z "$haveit"; then
20389 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
20395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20396 $as_echo "no" >&6; }
20400 ac_cpp
='$CXXCPP $CPPFLAGS'
20401 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20402 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20403 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20410 ac_cpp
='$CPP $CPPFLAGS'
20411 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20412 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20413 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cc -Wno-parentheses" >&5
20416 $as_echo_n "checking for cc -Wno-parentheses... " >&6; }
20420 for element
in -Wno-parentheses; do
20422 for x
in $CFLAGS; do
20424 acl_save_prefix
="$prefix"
20425 prefix
="$acl_final_prefix"
20426 acl_save_exec_prefix
="$exec_prefix"
20427 exec_prefix
="$acl_final_exec_prefix"
20429 exec_prefix
="$acl_save_exec_prefix"
20430 prefix
="$acl_save_prefix"
20432 if test "X$x" = "X$element"; then
20437 if test -z "$haveit"; then
20438 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
20443 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20444 /* end confdefs.h. */
20447 if ac_fn_c_try_compile
"$LINENO"; then :
20452 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20455 if test "x$cy_good" = x1
; then :
20456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20457 $as_echo "yes" >&6; }
20459 for element
in -Wno-parentheses; do
20461 for x
in $CFLAGS; do
20463 acl_save_prefix
="$prefix"
20464 prefix
="$acl_final_prefix"
20465 acl_save_exec_prefix
="$exec_prefix"
20466 exec_prefix
="$acl_final_exec_prefix"
20468 exec_prefix
="$acl_save_exec_prefix"
20469 prefix
="$acl_save_prefix"
20471 if test "X$x" = "X$element"; then
20476 if test -z "$haveit"; then
20477 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
20483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20484 $as_echo "no" >&6; }
20488 ac_cpp
='$CXXCPP $CPPFLAGS'
20489 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20490 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20491 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20496 ac_cpp
='$CXXCPP $CPPFLAGS'
20497 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20498 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20499 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -Wno-parentheses" >&5
20502 $as_echo_n "checking for c++ -Wno-parentheses... " >&6; }
20506 for element
in -Wno-parentheses; do
20508 for x
in $CXXFLAGS; do
20510 acl_save_prefix
="$prefix"
20511 prefix
="$acl_final_prefix"
20512 acl_save_exec_prefix
="$exec_prefix"
20513 exec_prefix
="$acl_final_exec_prefix"
20515 exec_prefix
="$acl_save_exec_prefix"
20516 prefix
="$acl_save_prefix"
20518 if test "X$x" = "X$element"; then
20523 if test -z "$haveit"; then
20524 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
20529 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20530 /* end confdefs.h. */
20533 if ac_fn_cxx_try_compile
"$LINENO"; then :
20538 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20541 if test "x$cy_good" = x1
; then :
20542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20543 $as_echo "yes" >&6; }
20545 for element
in -Wno-parentheses; do
20547 for x
in $CXXFLAGS; do
20549 acl_save_prefix
="$prefix"
20550 prefix
="$acl_final_prefix"
20551 acl_save_exec_prefix
="$exec_prefix"
20552 exec_prefix
="$acl_final_exec_prefix"
20554 exec_prefix
="$acl_save_exec_prefix"
20555 prefix
="$acl_save_prefix"
20557 if test "X$x" = "X$element"; then
20562 if test -z "$haveit"; then
20563 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
20569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20570 $as_echo "no" >&6; }
20574 ac_cpp
='$CXXCPP $CPPFLAGS'
20575 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20576 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20577 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20582 ac_cpp
='$OBJCXXCPP $CPPFLAGS'
20583 ac_compile
='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20584 ac_link
='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20585 ac_compiler_gnu
=$ac_cv_objcxx_compiler_gnu
20587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -ObjC -Wno-parentheses" >&5
20588 $as_echo_n "checking for c++ -ObjC -Wno-parentheses... " >&6; }
20590 cy_save
=$OBJCXXFLAGS
20592 for element
in -Wno-parentheses; do
20594 for x
in $OBJCXXFLAGS; do
20596 acl_save_prefix
="$prefix"
20597 prefix
="$acl_final_prefix"
20598 acl_save_exec_prefix
="$exec_prefix"
20599 exec_prefix
="$acl_final_exec_prefix"
20601 exec_prefix
="$acl_save_exec_prefix"
20602 prefix
="$acl_save_prefix"
20604 if test "X$x" = "X$element"; then
20609 if test -z "$haveit"; then
20610 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
20615 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20616 /* end confdefs.h. */
20619 if ac_fn_objcxx_try_compile
"$LINENO"; then :
20624 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20626 OBJCXXFLAGS
=$cy_save
20627 if test "x$cy_good" = x1
; then :
20628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20629 $as_echo "yes" >&6; }
20631 for element
in -Wno-parentheses; do
20633 for x
in $OBJCXXFLAGS; do
20635 acl_save_prefix
="$prefix"
20636 prefix
="$acl_final_prefix"
20637 acl_save_exec_prefix
="$exec_prefix"
20638 exec_prefix
="$acl_final_exec_prefix"
20640 exec_prefix
="$acl_save_exec_prefix"
20641 prefix
="$acl_save_prefix"
20643 if test "X$x" = "X$element"; then
20648 if test -z "$haveit"; then
20649 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
20655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20656 $as_echo "no" >&6; }
20660 ac_cpp
='$CXXCPP $CPPFLAGS'
20661 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20662 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20663 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20670 ac_cpp
='$CPP $CPPFLAGS'
20671 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20672 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20673 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cc -Wno-tautological-undefined-compare" >&5
20676 $as_echo_n "checking for cc -Wno-tautological-undefined-compare... " >&6; }
20680 for element
in -Wno-tautological-undefined-compare; do
20682 for x
in $CFLAGS; do
20684 acl_save_prefix
="$prefix"
20685 prefix
="$acl_final_prefix"
20686 acl_save_exec_prefix
="$exec_prefix"
20687 exec_prefix
="$acl_final_exec_prefix"
20689 exec_prefix
="$acl_save_exec_prefix"
20690 prefix
="$acl_save_prefix"
20692 if test "X$x" = "X$element"; then
20697 if test -z "$haveit"; then
20698 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
20703 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20704 /* end confdefs.h. */
20707 if ac_fn_c_try_compile
"$LINENO"; then :
20712 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20715 if test "x$cy_good" = x1
; then :
20716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20717 $as_echo "yes" >&6; }
20719 for element
in -Wno-tautological-undefined-compare; do
20721 for x
in $CFLAGS; do
20723 acl_save_prefix
="$prefix"
20724 prefix
="$acl_final_prefix"
20725 acl_save_exec_prefix
="$exec_prefix"
20726 exec_prefix
="$acl_final_exec_prefix"
20728 exec_prefix
="$acl_save_exec_prefix"
20729 prefix
="$acl_save_prefix"
20731 if test "X$x" = "X$element"; then
20736 if test -z "$haveit"; then
20737 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
20743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20744 $as_echo "no" >&6; }
20748 ac_cpp
='$CXXCPP $CPPFLAGS'
20749 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20750 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20751 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20756 ac_cpp
='$CXXCPP $CPPFLAGS'
20757 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20758 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20759 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -Wno-tautological-undefined-compare" >&5
20762 $as_echo_n "checking for c++ -Wno-tautological-undefined-compare... " >&6; }
20766 for element
in -Wno-tautological-undefined-compare; do
20768 for x
in $CXXFLAGS; do
20770 acl_save_prefix
="$prefix"
20771 prefix
="$acl_final_prefix"
20772 acl_save_exec_prefix
="$exec_prefix"
20773 exec_prefix
="$acl_final_exec_prefix"
20775 exec_prefix
="$acl_save_exec_prefix"
20776 prefix
="$acl_save_prefix"
20778 if test "X$x" = "X$element"; then
20783 if test -z "$haveit"; then
20784 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
20789 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20790 /* end confdefs.h. */
20793 if ac_fn_cxx_try_compile
"$LINENO"; then :
20798 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20801 if test "x$cy_good" = x1
; then :
20802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20803 $as_echo "yes" >&6; }
20805 for element
in -Wno-tautological-undefined-compare; do
20807 for x
in $CXXFLAGS; do
20809 acl_save_prefix
="$prefix"
20810 prefix
="$acl_final_prefix"
20811 acl_save_exec_prefix
="$exec_prefix"
20812 exec_prefix
="$acl_final_exec_prefix"
20814 exec_prefix
="$acl_save_exec_prefix"
20815 prefix
="$acl_save_prefix"
20817 if test "X$x" = "X$element"; then
20822 if test -z "$haveit"; then
20823 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
20829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20830 $as_echo "no" >&6; }
20834 ac_cpp
='$CXXCPP $CPPFLAGS'
20835 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20836 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20837 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20842 ac_cpp
='$OBJCXXCPP $CPPFLAGS'
20843 ac_compile
='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20844 ac_link
='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20845 ac_compiler_gnu
=$ac_cv_objcxx_compiler_gnu
20847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -ObjC -Wno-tautological-undefined-compare" >&5
20848 $as_echo_n "checking for c++ -ObjC -Wno-tautological-undefined-compare... " >&6; }
20850 cy_save
=$OBJCXXFLAGS
20852 for element
in -Wno-tautological-undefined-compare; do
20854 for x
in $OBJCXXFLAGS; do
20856 acl_save_prefix
="$prefix"
20857 prefix
="$acl_final_prefix"
20858 acl_save_exec_prefix
="$exec_prefix"
20859 exec_prefix
="$acl_final_exec_prefix"
20861 exec_prefix
="$acl_save_exec_prefix"
20862 prefix
="$acl_save_prefix"
20864 if test "X$x" = "X$element"; then
20869 if test -z "$haveit"; then
20870 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
20875 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20876 /* end confdefs.h. */
20879 if ac_fn_objcxx_try_compile
"$LINENO"; then :
20884 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20886 OBJCXXFLAGS
=$cy_save
20887 if test "x$cy_good" = x1
; then :
20888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20889 $as_echo "yes" >&6; }
20891 for element
in -Wno-tautological-undefined-compare; do
20893 for x
in $OBJCXXFLAGS; do
20895 acl_save_prefix
="$prefix"
20896 prefix
="$acl_final_prefix"
20897 acl_save_exec_prefix
="$exec_prefix"
20898 exec_prefix
="$acl_final_exec_prefix"
20900 exec_prefix
="$acl_save_exec_prefix"
20901 prefix
="$acl_save_prefix"
20903 if test "X$x" = "X$element"; then
20908 if test -z "$haveit"; then
20909 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
20915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20916 $as_echo "no" >&6; }
20920 ac_cpp
='$CXXCPP $CPPFLAGS'
20921 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20922 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20923 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20930 ac_cpp
='$CPP $CPPFLAGS'
20931 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20932 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20933 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cc -Wno-unneeded-internal-declaration" >&5
20936 $as_echo_n "checking for cc -Wno-unneeded-internal-declaration... " >&6; }
20940 for element
in -Wno-unneeded-internal-declaration; do
20942 for x
in $CFLAGS; do
20944 acl_save_prefix
="$prefix"
20945 prefix
="$acl_final_prefix"
20946 acl_save_exec_prefix
="$exec_prefix"
20947 exec_prefix
="$acl_final_exec_prefix"
20949 exec_prefix
="$acl_save_exec_prefix"
20950 prefix
="$acl_save_prefix"
20952 if test "X$x" = "X$element"; then
20957 if test -z "$haveit"; then
20958 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
20963 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20964 /* end confdefs.h. */
20967 if ac_fn_c_try_compile
"$LINENO"; then :
20972 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20975 if test "x$cy_good" = x1
; then :
20976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20977 $as_echo "yes" >&6; }
20979 for element
in -Wno-unneeded-internal-declaration; do
20981 for x
in $CFLAGS; do
20983 acl_save_prefix
="$prefix"
20984 prefix
="$acl_final_prefix"
20985 acl_save_exec_prefix
="$exec_prefix"
20986 exec_prefix
="$acl_final_exec_prefix"
20988 exec_prefix
="$acl_save_exec_prefix"
20989 prefix
="$acl_save_prefix"
20991 if test "X$x" = "X$element"; then
20996 if test -z "$haveit"; then
20997 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
21003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21004 $as_echo "no" >&6; }
21008 ac_cpp
='$CXXCPP $CPPFLAGS'
21009 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21010 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21011 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21016 ac_cpp
='$CXXCPP $CPPFLAGS'
21017 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21018 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21019 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -Wno-unneeded-internal-declaration" >&5
21022 $as_echo_n "checking for c++ -Wno-unneeded-internal-declaration... " >&6; }
21026 for element
in -Wno-unneeded-internal-declaration; do
21028 for x
in $CXXFLAGS; do
21030 acl_save_prefix
="$prefix"
21031 prefix
="$acl_final_prefix"
21032 acl_save_exec_prefix
="$exec_prefix"
21033 exec_prefix
="$acl_final_exec_prefix"
21035 exec_prefix
="$acl_save_exec_prefix"
21036 prefix
="$acl_save_prefix"
21038 if test "X$x" = "X$element"; then
21043 if test -z "$haveit"; then
21044 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
21049 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21050 /* end confdefs.h. */
21053 if ac_fn_cxx_try_compile
"$LINENO"; then :
21058 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21061 if test "x$cy_good" = x1
; then :
21062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21063 $as_echo "yes" >&6; }
21065 for element
in -Wno-unneeded-internal-declaration; do
21067 for x
in $CXXFLAGS; do
21069 acl_save_prefix
="$prefix"
21070 prefix
="$acl_final_prefix"
21071 acl_save_exec_prefix
="$exec_prefix"
21072 exec_prefix
="$acl_final_exec_prefix"
21074 exec_prefix
="$acl_save_exec_prefix"
21075 prefix
="$acl_save_prefix"
21077 if test "X$x" = "X$element"; then
21082 if test -z "$haveit"; then
21083 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
21089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21090 $as_echo "no" >&6; }
21094 ac_cpp
='$CXXCPP $CPPFLAGS'
21095 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21096 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21097 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21102 ac_cpp
='$OBJCXXCPP $CPPFLAGS'
21103 ac_compile
='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21104 ac_link
='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21105 ac_compiler_gnu
=$ac_cv_objcxx_compiler_gnu
21107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -ObjC -Wno-unneeded-internal-declaration" >&5
21108 $as_echo_n "checking for c++ -ObjC -Wno-unneeded-internal-declaration... " >&6; }
21110 cy_save
=$OBJCXXFLAGS
21112 for element
in -Wno-unneeded-internal-declaration; do
21114 for x
in $OBJCXXFLAGS; do
21116 acl_save_prefix
="$prefix"
21117 prefix
="$acl_final_prefix"
21118 acl_save_exec_prefix
="$exec_prefix"
21119 exec_prefix
="$acl_final_exec_prefix"
21121 exec_prefix
="$acl_save_exec_prefix"
21122 prefix
="$acl_save_prefix"
21124 if test "X$x" = "X$element"; then
21129 if test -z "$haveit"; then
21130 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
21135 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21136 /* end confdefs.h. */
21139 if ac_fn_objcxx_try_compile
"$LINENO"; then :
21144 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21146 OBJCXXFLAGS
=$cy_save
21147 if test "x$cy_good" = x1
; then :
21148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21149 $as_echo "yes" >&6; }
21151 for element
in -Wno-unneeded-internal-declaration; do
21153 for x
in $OBJCXXFLAGS; do
21155 acl_save_prefix
="$prefix"
21156 prefix
="$acl_final_prefix"
21157 acl_save_exec_prefix
="$exec_prefix"
21158 exec_prefix
="$acl_final_exec_prefix"
21160 exec_prefix
="$acl_save_exec_prefix"
21161 prefix
="$acl_save_prefix"
21163 if test "X$x" = "X$element"; then
21168 if test -z "$haveit"; then
21169 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
21175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21176 $as_echo "no" >&6; }
21180 ac_cpp
='$CXXCPP $CPPFLAGS'
21181 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21182 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21183 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21192 ac_cpp
='$CPP $CPPFLAGS'
21193 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21194 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21195 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21199 # We used to check for pthread.h first, but this fails if pthread.h
21200 # requires special compiler flags (e.g. on Tru64 or Sequent).
21201 # It gets checked for in the link test anyway.
21203 # First of all, check if the user has set any of the PTHREAD_LIBS,
21204 # etcetera environment variables, and if threads linking works using
21206 if test x
"$PTHREAD_LIBS$PTHREAD_CFLAGS" != x
; then
21207 save_CFLAGS
="$CFLAGS"
21208 CFLAGS
="$CFLAGS $PTHREAD_CFLAGS"
21210 LIBS
="$PTHREAD_LIBS $LIBS"
21211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_join using $CC $PTHREAD_CFLAGS $PTHREAD_LIBS" >&5
21212 $as_echo_n "checking for pthread_join using $CC $PTHREAD_CFLAGS $PTHREAD_LIBS... " >&6; }
21213 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21214 /* end confdefs.h. */
21216 /* Override any GCC internal prototype to avoid an error.
21217 Use char because int might match the return type of a GCC
21218 builtin and then its argument prototype would still apply. */
21222 char pthread_join ();
21226 return pthread_join ();
21231 if ac_fn_c_try_link
"$LINENO"; then :
21234 rm -f core conftest.err conftest.
$ac_objext \
21235 conftest
$ac_exeext conftest.
$ac_ext
21236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_pthread_ok" >&5
21237 $as_echo "$ax_pthread_ok" >&6; }
21238 if test x
"$ax_pthread_ok" = xno
; then
21243 CFLAGS
="$save_CFLAGS"
21246 # We must check for the threads library under a number of different
21247 # names; the ordering is very important because some systems
21248 # (e.g. DEC) have both -lpthread and -lpthreads, where one of the
21249 # libraries is broken (non-POSIX).
21251 # Create a list of thread flags to try. Items starting with a "-" are
21252 # C compiler flags, and other items are library names, except for "none"
21253 # which indicates that we try without any flags at all, and "pthread-config"
21254 # which is a program returning the flags for the Pth emulation library.
21256 ax_pthread_flags
="pthreads none -Kthread -kthread lthread -pthread -pthreads -mt -mthreads pthread --thread-safe pthread-config"
21258 # The ordering *is* (sometimes) important. Some notes on the
21259 # individual items follow:
21261 # pthreads: AIX (must check this before -lpthread)
21262 # none: in case threads are in libc; should be tried before -Kthread and
21263 # other compiler flags to prevent continual compiler warnings
21264 # -Kthread: Sequent (threads in libc, but -Kthread needed for pthread.h)
21265 # -kthread: FreeBSD kernel threads (preferred to -pthread since SMP-able)
21266 # lthread: LinuxThreads port on FreeBSD (also preferred to -pthread)
21267 # -pthread: Linux/gcc (kernel threads), BSD/gcc (userland threads), Tru64
21268 # -pthreads: Solaris/gcc
21269 # -mt: Sun Workshop C (may only link SunOS threads [-lthread], but it
21270 # doesn't hurt to check since this sometimes defines pthreads and
21271 # -D_REENTRANT too), HP C (must be checked before -lpthread, which
21272 # is present but should not be used directly)
21273 # -mthreads: Mingw32/gcc, Lynx/gcc
21274 # pthread: Linux, etcetera
21275 # --thread-safe: KAI C++
21276 # pthread-config: use pthread-config program (for GNU Pth library)
21282 # From the cc(1) man page: "[-mt] Sets various -D flags to enable
21283 # multi-threading and also sets -lpthread."
21285 ax_pthread_flags
="-mt -pthread pthread $ax_pthread_flags"
21290 # IBM z/OS requires a feature-test macro to be defined in order to
21291 # enable POSIX threads at all, so give the user a hint if this is
21292 # not set. (We don't define these ourselves, as they can affect
21293 # other portions of the system API in unpredictable ways.)
21295 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21296 /* end confdefs.h. */
21298 # if !defined(_OPEN_THREADS) && !defined(_UNIX03_THREADS)
21299 AX_PTHREAD_ZOS_MISSING
21303 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21304 $EGREP "AX_PTHREAD_ZOS_MISSING" >/dev
/null
2>&1; then :
21305 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: IBM z/OS requires -D_OPEN_THREADS or -D_UNIX03_THREADS to enable pthreads support." >&5
21306 $as_echo "$as_me: WARNING: IBM z/OS requires -D_OPEN_THREADS or -D_UNIX03_THREADS to enable pthreads support." >&2;}
21314 # Newer versions of Solaris require the "-mt -lpthread" pair, and we
21315 # check that first. On some older versions, libc contains stubbed
21316 # (non-functional) versions of the pthreads routines, so link-based
21317 # tests will erroneously succeed. (We need to link with -pthreads/-mt/
21318 # -lpthread.) (The stubs are missing pthread_cleanup_push, or rather
21319 # a function called by this macro, so we could check for that, but
21320 # who knows whether they'll stub that too in a future libc.) So
21321 # we'll look for -pthreads and -lpthread shortly thereafter.
21323 ax_pthread_flags
="-mt,pthread -pthreads -pthread pthread $ax_pthread_flags"
21327 # Older versions of Clang only give a warning instead of an error for an
21328 # unrecognized option, unless we specify -Werror. (We throw in some extra
21329 # Clang warning flags for good measure.)
21331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler needs certain flags to reject unknown flags" >&5
21332 $as_echo_n "checking if compiler needs certain flags to reject unknown flags... " >&6; }
21333 if ${ax_cv_PTHREAD_REJECT_UNKNOWN+:} false
; then :
21334 $as_echo_n "(cached) " >&6
21336 ax_cv_PTHREAD_REJECT_UNKNOWN
=unknown
21337 save_CFLAGS
="$CFLAGS"
21338 ax_pthread_extra_flags
="-Wunknown-warning-option -Wunused-command-line-argument"
21339 CFLAGS
="$CFLAGS $ax_pthread_extra_flags -Wfoobaz -foobaz"
21340 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21341 /* end confdefs.h. */
21351 if ac_fn_c_try_compile
"$LINENO"; then :
21352 ax_cv_PTHREAD_REJECT_UNKNOWN
="-Werror $ax_pthread_extra_flags"
21354 ax_cv_PTHREAD_REJECT_UNKNOWN
=no
21356 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21357 CFLAGS
="$save_CFLAGS"
21360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_PTHREAD_REJECT_UNKNOWN" >&5
21361 $as_echo "$ax_cv_PTHREAD_REJECT_UNKNOWN" >&6; }
21362 ax_pthread_extra_flags
=
21363 if test "x$ax_cv_PTHREAD_REJECT_UNKNOWN" != "xno"; then :
21364 ax_pthread_extra_flags
="$ax_cv_PTHREAD_REJECT_UNKNOWN"
21367 if test x
"$ax_pthread_ok" = xno
; then
21368 for flag
in $ax_pthread_flags; do
21372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work without any flags" >&5
21373 $as_echo_n "checking whether pthreads work without any flags... " >&6; }
21377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work with -mt -lpthread" >&5
21378 $as_echo_n "checking whether pthreads work with -mt -lpthread... " >&6; }
21379 PTHREAD_CFLAGS
="-mt"
21380 PTHREAD_LIBS
="-lpthread"
21384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work with $flag" >&5
21385 $as_echo_n "checking whether pthreads work with $flag... " >&6; }
21386 PTHREAD_CFLAGS
="$flag"
21390 # Extract the first word of "pthread-config", so it can be a program name with args.
21391 set dummy pthread
-config; ac_word
=$2
21392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21393 $as_echo_n "checking for $ac_word... " >&6; }
21394 if ${ac_cv_prog_ax_pthread_config+:} false
; then :
21395 $as_echo_n "(cached) " >&6
21397 if test -n "$ax_pthread_config"; then
21398 ac_cv_prog_ax_pthread_config
="$ax_pthread_config" # Let the user override the test.
21400 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21401 for as_dir
in $PATH
21404 test -z "$as_dir" && as_dir
=.
21405 for ac_exec_ext
in '' $ac_executable_extensions; do
21406 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
21407 ac_cv_prog_ax_pthread_config
="yes"
21408 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21415 test -z "$ac_cv_prog_ax_pthread_config" && ac_cv_prog_ax_pthread_config
="no"
21418 ax_pthread_config
=$ac_cv_prog_ax_pthread_config
21419 if test -n "$ax_pthread_config"; then
21420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_pthread_config" >&5
21421 $as_echo "$ax_pthread_config" >&6; }
21423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21424 $as_echo "no" >&6; }
21428 if test x
"$ax_pthread_config" = xno
; then continue; fi
21429 PTHREAD_CFLAGS
="`pthread-config --cflags`"
21430 PTHREAD_LIBS
="`pthread-config --ldflags` `pthread-config --libs`"
21434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the pthreads library -l$flag" >&5
21435 $as_echo_n "checking for the pthreads library -l$flag... " >&6; }
21436 PTHREAD_LIBS
="-l$flag"
21441 save_CFLAGS
="$CFLAGS"
21442 LIBS
="$PTHREAD_LIBS $LIBS"
21443 CFLAGS
="$CFLAGS $PTHREAD_CFLAGS $ax_pthread_extra_flags"
21445 # Check for various functions. We must include pthread.h,
21446 # since some functions may be macros. (On the Sequent, we
21447 # need a special flag -Kthread to make this header compile.)
21448 # We check for pthread_join because it is in -lpthread on IRIX
21449 # while pthread_create is in libc. We check for pthread_attr_init
21450 # due to DEC craziness with -lpthreads. We check for
21451 # pthread_cleanup_push because it is one of the few pthread
21452 # functions on Solaris that doesn't have a non-functional libc stub.
21453 # We try pthread_create on general principles.
21454 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21455 /* end confdefs.h. */
21456 #include <pthread.h>
21457 static void routine(void *a) { a = 0; }
21458 static void *start_routine(void *a) { return a; }
21462 pthread_t th; pthread_attr_t attr;
21463 pthread_create(&th, 0, start_routine, 0);
21464 pthread_join(th, 0);
21465 pthread_attr_init(&attr);
21466 pthread_cleanup_push(routine, 0);
21467 pthread_cleanup_pop(0) /* ; */
21472 if ac_fn_c_try_link
"$LINENO"; then :
21475 rm -f core conftest.err conftest.
$ac_objext \
21476 conftest
$ac_exeext conftest.
$ac_ext
21479 CFLAGS
="$save_CFLAGS"
21481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_pthread_ok" >&5
21482 $as_echo "$ax_pthread_ok" >&6; }
21483 if test "x$ax_pthread_ok" = xyes
; then
21492 # Various other checks:
21493 if test "x$ax_pthread_ok" = xyes
; then
21495 LIBS
="$PTHREAD_LIBS $LIBS"
21496 save_CFLAGS
="$CFLAGS"
21497 CFLAGS
="$CFLAGS $PTHREAD_CFLAGS"
21499 # Detect AIX lossage: JOINABLE attribute is called UNDETACHED.
21500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for joinable pthread attribute" >&5
21501 $as_echo_n "checking for joinable pthread attribute... " >&6; }
21502 if ${ax_cv_PTHREAD_JOINABLE_ATTR+:} false
; then :
21503 $as_echo_n "(cached) " >&6
21505 ax_cv_PTHREAD_JOINABLE_ATTR
=unknown
21506 for attr
in PTHREAD_CREATE_JOINABLE PTHREAD_CREATE_UNDETACHED
; do
21507 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21508 /* end confdefs.h. */
21509 #include <pthread.h>
21513 int attr = $attr; return attr /* ; */
21518 if ac_fn_c_try_link
"$LINENO"; then :
21519 ax_cv_PTHREAD_JOINABLE_ATTR
=$attr; break
21521 rm -f core conftest.err conftest.
$ac_objext \
21522 conftest
$ac_exeext conftest.
$ac_ext
21526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_PTHREAD_JOINABLE_ATTR" >&5
21527 $as_echo "$ax_cv_PTHREAD_JOINABLE_ATTR" >&6; }
21528 if test "$ax_cv_PTHREAD_JOINABLE_ATTR" != unknown
&& \
21529 test "$ax_cv_PTHREAD_JOINABLE_ATTR" != PTHREAD_CREATE_JOINABLE
; then :
21531 cat >>confdefs.h
<<_ACEOF
21532 #define PTHREAD_CREATE_JOINABLE $ax_cv_PTHREAD_JOINABLE_ATTR
21537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if more special flags are required for pthreads" >&5
21538 $as_echo_n "checking if more special flags are required for pthreads... " >&6; }
21539 if ${ax_cv_PTHREAD_SPECIAL_FLAGS+:} false
; then :
21540 $as_echo_n "(cached) " >&6
21542 ax_cv_PTHREAD_SPECIAL_FLAGS
=no
21543 ax_pthread_special_flags_added
=no
21544 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21545 /* end confdefs.h. */
21547 # if !defined(_REENTRANT) && !defined(_THREAD_SAFE)
21548 AX_PTHREAD_NEED_SPECIAL_FLAG
21552 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21553 $EGREP "AX_PTHREAD_NEED_SPECIAL_FLAG" >/dev
/null
2>&1; then :
21556 ax_cv_PTHREAD_SPECIAL_FLAGS
="-D_THREAD_SAFE"
21558 darwin
* | hpux
* | osf
* | solaris
*)
21559 ax_cv_PTHREAD_SPECIAL_FLAGS
="-D_REENTRANT"
21568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_PTHREAD_SPECIAL_FLAGS" >&5
21569 $as_echo "$ax_cv_PTHREAD_SPECIAL_FLAGS" >&6; }
21570 if test "x$ax_cv_PTHREAD_SPECIAL_FLAGS" != "xno" && \
21571 test "x$ax_pthread_special_flags_added" != "xyes"; then :
21572 PTHREAD_CFLAGS
="$ax_cv_PTHREAD_SPECIAL_FLAGS $PTHREAD_CFLAGS"
21573 ax_pthread_special_flags_added
=yes
21576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PTHREAD_PRIO_INHERIT" >&5
21577 $as_echo_n "checking for PTHREAD_PRIO_INHERIT... " >&6; }
21578 if ${ax_cv_PTHREAD_PRIO_INHERIT+:} false
; then :
21579 $as_echo_n "(cached) " >&6
21581 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21582 /* end confdefs.h. */
21583 #include <pthread.h>
21587 int i = PTHREAD_PRIO_INHERIT;
21592 if ac_fn_c_try_link
"$LINENO"; then :
21593 ax_cv_PTHREAD_PRIO_INHERIT
=yes
21595 ax_cv_PTHREAD_PRIO_INHERIT
=no
21597 rm -f core conftest.err conftest.
$ac_objext \
21598 conftest
$ac_exeext conftest.
$ac_ext
21601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_PTHREAD_PRIO_INHERIT" >&5
21602 $as_echo "$ax_cv_PTHREAD_PRIO_INHERIT" >&6; }
21603 if test "x$ax_cv_PTHREAD_PRIO_INHERIT" = "xyes"; then :
21605 $as_echo "#define HAVE_PTHREAD_PRIO_INHERIT 1" >>confdefs.h
21610 CFLAGS
="$save_CFLAGS"
21612 # More AIX lossage: compile with *_r variant
21613 if test "x$GCC" != xyes
; then
21617 x
*/c89
|x
*/c89_128
|x
*/c99
|x
*/c99_128
|x
*/cc
|x
*/cc128
|x
*/xlc
|x
*/xlc_v6
|x
*/xlc128
|x
*/xlc128_v6
) :
21618 #handle absolute path differently from PATH based program lookup
21621 if as_fn_executable_p
${CC}_r
; then :
21622 PTHREAD_CC
="${CC}_r"
21625 for ac_prog
in ${CC}_r
21627 # Extract the first word of "$ac_prog", so it can be a program name with args.
21628 set dummy
$ac_prog; ac_word
=$2
21629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21630 $as_echo_n "checking for $ac_word... " >&6; }
21631 if ${ac_cv_prog_PTHREAD_CC+:} false
; then :
21632 $as_echo_n "(cached) " >&6
21634 if test -n "$PTHREAD_CC"; then
21635 ac_cv_prog_PTHREAD_CC
="$PTHREAD_CC" # Let the user override the test.
21637 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21638 for as_dir
in $PATH
21641 test -z "$as_dir" && as_dir
=.
21642 for ac_exec_ext
in '' $ac_executable_extensions; do
21643 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
21644 ac_cv_prog_PTHREAD_CC
="$ac_prog"
21645 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21654 PTHREAD_CC
=$ac_cv_prog_PTHREAD_CC
21655 if test -n "$PTHREAD_CC"; then
21656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PTHREAD_CC" >&5
21657 $as_echo "$PTHREAD_CC" >&6; }
21659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21660 $as_echo "no" >&6; }
21664 test -n "$PTHREAD_CC" && break
21666 test -n "$PTHREAD_CC" || PTHREAD_CC
="$CC"
21677 test -n "$PTHREAD_CC" || PTHREAD_CC
="$CC"
21683 # Finally, execute ACTION-IF-FOUND/ACTION-IF-NOT-FOUND:
21684 if test x
"$ax_pthread_ok" = xyes
; then
21686 $as_echo "#define HAVE_PTHREAD 1" >>confdefs.h
21694 ac_cpp
='$CXXCPP $CPPFLAGS'
21695 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21696 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21697 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21707 # Check whether --enable-javascript was given.
21708 if test "${enable_javascript+set}" = set; then :
21709 enableval
=$enable_javascript;
21710 case $enableval in #(
21718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing JSEvaluateScript" >&5
21719 $as_echo_n "checking for library containing JSEvaluateScript... " >&6; }
21720 if ${ac_cv_search_JSEvaluateScript+:} false
; then :
21721 $as_echo_n "(cached) " >&6
21723 ac_func_search_save_LIBS
=$LIBS
21724 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21725 /* end confdefs.h. */
21727 /* Override any GCC internal prototype to avoid an error.
21728 Use char because int might match the return type of a GCC
21729 builtin and then its argument prototype would still apply. */
21733 char JSEvaluateScript ();
21737 return JSEvaluateScript ();
21742 for ac_lib
in '' JavaScriptCore
; do
21743 if test -z "$ac_lib"; then
21744 ac_res
="none required"
21747 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
21749 if ac_fn_cxx_try_link
"$LINENO"; then :
21750 ac_cv_search_JSEvaluateScript
=$ac_res
21752 rm -f core conftest.err conftest.
$ac_objext \
21754 if ${ac_cv_search_JSEvaluateScript+:} false
; then :
21758 if ${ac_cv_search_JSEvaluateScript+:} false
; then :
21761 ac_cv_search_JSEvaluateScript
=no
21763 rm conftest.
$ac_ext
21764 LIBS
=$ac_func_search_save_LIBS
21766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_JSEvaluateScript" >&5
21767 $as_echo "$ac_cv_search_JSEvaluateScript" >&6; }
21768 ac_res
=$ac_cv_search_JSEvaluateScript
21769 if test "$ac_res" != no
; then :
21770 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
21777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
21778 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
21779 if ${ac_cv_framework_JavaScriptCore+:} false
; then :
21780 $as_echo_n "(cached) " >&6
21783 ac_check_framework_save_LIBS
=$LIBS
21784 LIBS
="-framework JavaScriptCore $LIBS"
21785 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21786 /* end confdefs.h. */
21788 #include <JavaScriptCore/JSBase.h>
21794 JSEvaluateScript(0, 0, 0, 0, 0, 0);
21800 if ac_fn_cxx_try_link
"$LINENO"; then :
21802 ac_cv_framework_JavaScriptCore
=yes
21805 ac_cv_framework_JavaScriptCore
=no
21807 rm -f core conftest.err conftest.
$ac_objext \
21808 conftest
$ac_exeext conftest.
$ac_ext
21809 LIBS
=$ac_check_framework_save_LIBS
21812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
21813 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
21814 if test $ac_cv_framework_JavaScriptCore = yes; then :
21817 for element
in "-framework JavaScriptCore"; do
21821 acl_save_prefix
="$prefix"
21822 prefix
="$acl_final_prefix"
21823 acl_save_exec_prefix
="$exec_prefix"
21824 exec_prefix
="$acl_final_exec_prefix"
21826 exec_prefix
="$acl_save_exec_prefix"
21827 prefix
="$acl_save_prefix"
21829 if test "X$x" = "X$element"; then
21834 if test -z "$haveit"; then
21835 LIBS
="${LIBS}${LIBS:+ }$element"
21846 for cy_webkit_pkg
in "javascriptcoregtk-4.0"; do
21849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
21850 $as_echo_n "checking for WEBKIT... " >&6; }
21852 if test -n "$WEBKIT_CFLAGS"; then
21853 pkg_cv_WEBKIT_CFLAGS
="$WEBKIT_CFLAGS"
21854 elif test -n "$PKG_CONFIG"; then
21855 if test -n "$PKG_CONFIG" && \
21856 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$cy_webkit_pkg\""; } >&5
21857 ($PKG_CONFIG --exists --print-errors "$cy_webkit_pkg") 2>&5
21859 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21860 test $ac_status = 0; }; then
21861 pkg_cv_WEBKIT_CFLAGS
=`$PKG_CONFIG --cflags "$cy_webkit_pkg" 2>/dev/null`
21862 test "x$?" != "x0" && pkg_failed
=yes
21869 if test -n "$WEBKIT_LIBS"; then
21870 pkg_cv_WEBKIT_LIBS
="$WEBKIT_LIBS"
21871 elif test -n "$PKG_CONFIG"; then
21872 if test -n "$PKG_CONFIG" && \
21873 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$cy_webkit_pkg\""; } >&5
21874 ($PKG_CONFIG --exists --print-errors "$cy_webkit_pkg") 2>&5
21876 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21877 test $ac_status = 0; }; then
21878 pkg_cv_WEBKIT_LIBS
=`$PKG_CONFIG --libs "$cy_webkit_pkg" 2>/dev/null`
21879 test "x$?" != "x0" && pkg_failed
=yes
21889 if test $pkg_failed = yes; then
21890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21891 $as_echo "no" >&6; }
21893 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
21894 _pkg_short_errors_supported
=yes
21896 _pkg_short_errors_supported
=no
21898 if test $_pkg_short_errors_supported = yes; then
21899 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$cy_webkit_pkg" 2>&1`
21901 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "$cy_webkit_pkg" 2>&1`
21903 # Put the nasty error message in config.log where it belongs
21904 echo "$WEBKIT_PKG_ERRORS" >&5
21907 elif test $pkg_failed = untried
; then
21908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21909 $as_echo "no" >&6; }
21912 WEBKIT_CFLAGS
=$pkg_cv_WEBKIT_CFLAGS
21913 WEBKIT_LIBS
=$pkg_cv_WEBKIT_LIBS
21914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21915 $as_echo "yes" >&6; }
21920 for element
in `$PKG_CONFIG --cflags $cy_webkit_pkg`; do
21922 for x
in $CPPFLAGS; do
21924 acl_save_prefix
="$prefix"
21925 prefix
="$acl_final_prefix"
21926 acl_save_exec_prefix
="$exec_prefix"
21927 exec_prefix
="$acl_final_exec_prefix"
21929 exec_prefix
="$acl_save_exec_prefix"
21930 prefix
="$acl_save_prefix"
21932 if test "X$x" = "X$element"; then
21937 if test -z "$haveit"; then
21938 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
21943 for element
in `$PKG_CONFIG --libs $cy_webkit_pkg`; do
21947 acl_save_prefix
="$prefix"
21948 prefix
="$acl_final_prefix"
21949 acl_save_exec_prefix
="$exec_prefix"
21950 exec_prefix
="$acl_final_exec_prefix"
21952 exec_prefix
="$acl_save_exec_prefix"
21953 prefix
="$acl_save_prefix"
21955 if test "X$x" = "X$element"; then
21960 if test -z "$haveit"; then
21961 LIBS
="${LIBS}${LIBS:+ }$element"
21966 fi; if test "x$CY_EXECUTE" = x1
; then break; fi
21972 LTJAVASCRIPTCORE
=$LIBS
21987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing JSEvaluateScript" >&5
21988 $as_echo_n "checking for library containing JSEvaluateScript... " >&6; }
21989 if ${ac_cv_search_JSEvaluateScript+:} false
; then :
21990 $as_echo_n "(cached) " >&6
21992 ac_func_search_save_LIBS
=$LIBS
21993 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21994 /* end confdefs.h. */
21996 /* Override any GCC internal prototype to avoid an error.
21997 Use char because int might match the return type of a GCC
21998 builtin and then its argument prototype would still apply. */
22002 char JSEvaluateScript ();
22006 return JSEvaluateScript ();
22011 for ac_lib
in '' JavaScriptCore
; do
22012 if test -z "$ac_lib"; then
22013 ac_res
="none required"
22016 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
22018 if ac_fn_cxx_try_link
"$LINENO"; then :
22019 ac_cv_search_JSEvaluateScript
=$ac_res
22021 rm -f core conftest.err conftest.
$ac_objext \
22023 if ${ac_cv_search_JSEvaluateScript+:} false
; then :
22027 if ${ac_cv_search_JSEvaluateScript+:} false
; then :
22030 ac_cv_search_JSEvaluateScript
=no
22032 rm conftest.
$ac_ext
22033 LIBS
=$ac_func_search_save_LIBS
22035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_JSEvaluateScript" >&5
22036 $as_echo "$ac_cv_search_JSEvaluateScript" >&6; }
22037 ac_res
=$ac_cv_search_JSEvaluateScript
22038 if test "$ac_res" != no
; then :
22039 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
22046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
22047 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
22048 if ${ac_cv_framework_JavaScriptCore+:} false
; then :
22049 $as_echo_n "(cached) " >&6
22052 ac_check_framework_save_LIBS
=$LIBS
22053 LIBS
="-framework JavaScriptCore $LIBS"
22054 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22055 /* end confdefs.h. */
22057 #include <JavaScriptCore/JSBase.h>
22063 JSEvaluateScript(0, 0, 0, 0, 0, 0);
22069 if ac_fn_cxx_try_link
"$LINENO"; then :
22071 ac_cv_framework_JavaScriptCore
=yes
22074 ac_cv_framework_JavaScriptCore
=no
22076 rm -f core conftest.err conftest.
$ac_objext \
22077 conftest
$ac_exeext conftest.
$ac_ext
22078 LIBS
=$ac_check_framework_save_LIBS
22081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
22082 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
22083 if test $ac_cv_framework_JavaScriptCore = yes; then :
22086 for element
in "-framework JavaScriptCore"; do
22090 acl_save_prefix
="$prefix"
22091 prefix
="$acl_final_prefix"
22092 acl_save_exec_prefix
="$exec_prefix"
22093 exec_prefix
="$acl_final_exec_prefix"
22095 exec_prefix
="$acl_save_exec_prefix"
22096 prefix
="$acl_save_prefix"
22098 if test "X$x" = "X$element"; then
22103 if test -z "$haveit"; then
22104 LIBS
="${LIBS}${LIBS:+ }$element"
22115 for cy_webkit_pkg
in "javascriptcoregtk-4.0"; do
22118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
22119 $as_echo_n "checking for WEBKIT... " >&6; }
22121 if test -n "$WEBKIT_CFLAGS"; then
22122 pkg_cv_WEBKIT_CFLAGS
="$WEBKIT_CFLAGS"
22123 elif test -n "$PKG_CONFIG"; then
22124 if test -n "$PKG_CONFIG" && \
22125 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$cy_webkit_pkg\""; } >&5
22126 ($PKG_CONFIG --exists --print-errors "$cy_webkit_pkg") 2>&5
22128 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22129 test $ac_status = 0; }; then
22130 pkg_cv_WEBKIT_CFLAGS
=`$PKG_CONFIG --cflags "$cy_webkit_pkg" 2>/dev/null`
22131 test "x$?" != "x0" && pkg_failed
=yes
22138 if test -n "$WEBKIT_LIBS"; then
22139 pkg_cv_WEBKIT_LIBS
="$WEBKIT_LIBS"
22140 elif test -n "$PKG_CONFIG"; then
22141 if test -n "$PKG_CONFIG" && \
22142 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$cy_webkit_pkg\""; } >&5
22143 ($PKG_CONFIG --exists --print-errors "$cy_webkit_pkg") 2>&5
22145 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22146 test $ac_status = 0; }; then
22147 pkg_cv_WEBKIT_LIBS
=`$PKG_CONFIG --libs "$cy_webkit_pkg" 2>/dev/null`
22148 test "x$?" != "x0" && pkg_failed
=yes
22158 if test $pkg_failed = yes; then
22159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22160 $as_echo "no" >&6; }
22162 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
22163 _pkg_short_errors_supported
=yes
22165 _pkg_short_errors_supported
=no
22167 if test $_pkg_short_errors_supported = yes; then
22168 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$cy_webkit_pkg" 2>&1`
22170 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "$cy_webkit_pkg" 2>&1`
22172 # Put the nasty error message in config.log where it belongs
22173 echo "$WEBKIT_PKG_ERRORS" >&5
22176 elif test $pkg_failed = untried
; then
22177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22178 $as_echo "no" >&6; }
22181 WEBKIT_CFLAGS
=$pkg_cv_WEBKIT_CFLAGS
22182 WEBKIT_LIBS
=$pkg_cv_WEBKIT_LIBS
22183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22184 $as_echo "yes" >&6; }
22189 for element
in `$PKG_CONFIG --cflags $cy_webkit_pkg`; do
22191 for x
in $CPPFLAGS; do
22193 acl_save_prefix
="$prefix"
22194 prefix
="$acl_final_prefix"
22195 acl_save_exec_prefix
="$exec_prefix"
22196 exec_prefix
="$acl_final_exec_prefix"
22198 exec_prefix
="$acl_save_exec_prefix"
22199 prefix
="$acl_save_prefix"
22201 if test "X$x" = "X$element"; then
22206 if test -z "$haveit"; then
22207 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
22212 for element
in `$PKG_CONFIG --libs $cy_webkit_pkg`; do
22216 acl_save_prefix
="$prefix"
22217 prefix
="$acl_final_prefix"
22218 acl_save_exec_prefix
="$exec_prefix"
22219 exec_prefix
="$acl_final_exec_prefix"
22221 exec_prefix
="$acl_save_exec_prefix"
22222 prefix
="$acl_save_prefix"
22224 if test "X$x" = "X$element"; then
22229 if test -z "$haveit"; then
22230 LIBS
="${LIBS}${LIBS:+ }$element"
22235 fi; if test "x$CY_EXECUTE" = x1
; then break; fi
22241 LTJAVASCRIPTCORE
=$LIBS
22247 as_fn_error $?
"Unknown JavaScript engine: $enableval" "$LINENO" 5 ;;
22256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing JSEvaluateScript" >&5
22257 $as_echo_n "checking for library containing JSEvaluateScript... " >&6; }
22258 if ${ac_cv_search_JSEvaluateScript+:} false
; then :
22259 $as_echo_n "(cached) " >&6
22261 ac_func_search_save_LIBS
=$LIBS
22262 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22263 /* end confdefs.h. */
22265 /* Override any GCC internal prototype to avoid an error.
22266 Use char because int might match the return type of a GCC
22267 builtin and then its argument prototype would still apply. */
22271 char JSEvaluateScript ();
22275 return JSEvaluateScript ();
22280 for ac_lib
in '' JavaScriptCore
; do
22281 if test -z "$ac_lib"; then
22282 ac_res
="none required"
22285 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
22287 if ac_fn_cxx_try_link
"$LINENO"; then :
22288 ac_cv_search_JSEvaluateScript
=$ac_res
22290 rm -f core conftest.err conftest.
$ac_objext \
22292 if ${ac_cv_search_JSEvaluateScript+:} false
; then :
22296 if ${ac_cv_search_JSEvaluateScript+:} false
; then :
22299 ac_cv_search_JSEvaluateScript
=no
22301 rm conftest.
$ac_ext
22302 LIBS
=$ac_func_search_save_LIBS
22304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_JSEvaluateScript" >&5
22305 $as_echo "$ac_cv_search_JSEvaluateScript" >&6; }
22306 ac_res
=$ac_cv_search_JSEvaluateScript
22307 if test "$ac_res" != no
; then :
22308 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
22315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
22316 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
22317 if ${ac_cv_framework_JavaScriptCore+:} false
; then :
22318 $as_echo_n "(cached) " >&6
22321 ac_check_framework_save_LIBS
=$LIBS
22322 LIBS
="-framework JavaScriptCore $LIBS"
22323 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22324 /* end confdefs.h. */
22326 #include <JavaScriptCore/JSBase.h>
22332 JSEvaluateScript(0, 0, 0, 0, 0, 0);
22338 if ac_fn_cxx_try_link
"$LINENO"; then :
22340 ac_cv_framework_JavaScriptCore
=yes
22343 ac_cv_framework_JavaScriptCore
=no
22345 rm -f core conftest.err conftest.
$ac_objext \
22346 conftest
$ac_exeext conftest.
$ac_ext
22347 LIBS
=$ac_check_framework_save_LIBS
22350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
22351 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
22352 if test $ac_cv_framework_JavaScriptCore = yes; then :
22355 for element
in "-framework JavaScriptCore"; do
22359 acl_save_prefix
="$prefix"
22360 prefix
="$acl_final_prefix"
22361 acl_save_exec_prefix
="$exec_prefix"
22362 exec_prefix
="$acl_final_exec_prefix"
22364 exec_prefix
="$acl_save_exec_prefix"
22365 prefix
="$acl_save_prefix"
22367 if test "X$x" = "X$element"; then
22372 if test -z "$haveit"; then
22373 LIBS
="${LIBS}${LIBS:+ }$element"
22384 for cy_webkit_pkg
in "javascriptcoregtk-4.0"; do
22387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
22388 $as_echo_n "checking for WEBKIT... " >&6; }
22390 if test -n "$WEBKIT_CFLAGS"; then
22391 pkg_cv_WEBKIT_CFLAGS
="$WEBKIT_CFLAGS"
22392 elif test -n "$PKG_CONFIG"; then
22393 if test -n "$PKG_CONFIG" && \
22394 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$cy_webkit_pkg\""; } >&5
22395 ($PKG_CONFIG --exists --print-errors "$cy_webkit_pkg") 2>&5
22397 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22398 test $ac_status = 0; }; then
22399 pkg_cv_WEBKIT_CFLAGS
=`$PKG_CONFIG --cflags "$cy_webkit_pkg" 2>/dev/null`
22400 test "x$?" != "x0" && pkg_failed
=yes
22407 if test -n "$WEBKIT_LIBS"; then
22408 pkg_cv_WEBKIT_LIBS
="$WEBKIT_LIBS"
22409 elif test -n "$PKG_CONFIG"; then
22410 if test -n "$PKG_CONFIG" && \
22411 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$cy_webkit_pkg\""; } >&5
22412 ($PKG_CONFIG --exists --print-errors "$cy_webkit_pkg") 2>&5
22414 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22415 test $ac_status = 0; }; then
22416 pkg_cv_WEBKIT_LIBS
=`$PKG_CONFIG --libs "$cy_webkit_pkg" 2>/dev/null`
22417 test "x$?" != "x0" && pkg_failed
=yes
22427 if test $pkg_failed = yes; then
22428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22429 $as_echo "no" >&6; }
22431 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
22432 _pkg_short_errors_supported
=yes
22434 _pkg_short_errors_supported
=no
22436 if test $_pkg_short_errors_supported = yes; then
22437 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$cy_webkit_pkg" 2>&1`
22439 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "$cy_webkit_pkg" 2>&1`
22441 # Put the nasty error message in config.log where it belongs
22442 echo "$WEBKIT_PKG_ERRORS" >&5
22445 elif test $pkg_failed = untried
; then
22446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22447 $as_echo "no" >&6; }
22450 WEBKIT_CFLAGS
=$pkg_cv_WEBKIT_CFLAGS
22451 WEBKIT_LIBS
=$pkg_cv_WEBKIT_LIBS
22452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22453 $as_echo "yes" >&6; }
22458 for element
in `$PKG_CONFIG --cflags $cy_webkit_pkg`; do
22460 for x
in $CPPFLAGS; do
22462 acl_save_prefix
="$prefix"
22463 prefix
="$acl_final_prefix"
22464 acl_save_exec_prefix
="$exec_prefix"
22465 exec_prefix
="$acl_final_exec_prefix"
22467 exec_prefix
="$acl_save_exec_prefix"
22468 prefix
="$acl_save_prefix"
22470 if test "X$x" = "X$element"; then
22475 if test -z "$haveit"; then
22476 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
22481 for element
in `$PKG_CONFIG --libs $cy_webkit_pkg`; do
22485 acl_save_prefix
="$prefix"
22486 prefix
="$acl_final_prefix"
22487 acl_save_exec_prefix
="$exec_prefix"
22488 exec_prefix
="$acl_final_exec_prefix"
22490 exec_prefix
="$acl_save_exec_prefix"
22491 prefix
="$acl_save_prefix"
22493 if test "X$x" = "X$element"; then
22498 if test -z "$haveit"; then
22499 LIBS
="${LIBS}${LIBS:+ }$element"
22504 fi; if test "x$CY_EXECUTE" = x1
; then break; fi
22510 LTJAVASCRIPTCORE
=$LIBS
22518 # Check whether --enable-console was given.
22519 if test "${enable_console+set}" = set; then :
22520 enableval
=$enable_console;
22523 if test "x$enable_console" != "xno"; then
22525 CY_CONSOLE_FALSE
='#'
22527 CY_CONSOLE_TRUE
='#'
22532 # Check whether --enable-attach was given.
22533 if test "${enable_attach+set}" = set; then :
22534 enableval
=$enable_attach;
22537 if test "x$enable_attach" != "xno" -a "x$CY_EXECUTE" = x1
; then
22539 CY_ATTACH_FALSE
='#'
22548 if test "x$CY_EXECUTE" = x1
; then
22550 CY_EXECUTE_FALSE
='#'
22552 CY_EXECUTE_TRUE
='#'
22557 if test "x$CY_SYSTEM" = x
; then CY_SYSTEM
=1; fi
22561 case $CY_EXECUTE in #(
22567 for ac_header
in uv.h
22569 ac_fn_cxx_check_header_mongrel
"$LINENO" "uv.h" "ac_cv_header_uv_h" "$ac_includes_default"
22570 if test "x$ac_cv_header_uv_h" = xyes
; then :
22571 cat >>confdefs.h
<<_ACEOF
22572 #define HAVE_UV_H 1
22575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing uv_loop_init" >&5
22576 $as_echo_n "checking for library containing uv_loop_init... " >&6; }
22577 if ${ac_cv_search_uv_loop_init+:} false
; then :
22578 $as_echo_n "(cached) " >&6
22580 ac_func_search_save_LIBS
=$LIBS
22581 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22582 /* end confdefs.h. */
22584 /* Override any GCC internal prototype to avoid an error.
22585 Use char because int might match the return type of a GCC
22586 builtin and then its argument prototype would still apply. */
22590 char uv_loop_init ();
22594 return uv_loop_init ();
22599 for ac_lib
in '' uv
; do
22600 if test -z "$ac_lib"; then
22601 ac_res
="none required"
22604 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
22606 if ac_fn_cxx_try_link
"$LINENO"; then :
22607 ac_cv_search_uv_loop_init
=$ac_res
22609 rm -f core conftest.err conftest.
$ac_objext \
22611 if ${ac_cv_search_uv_loop_init+:} false
; then :
22615 if ${ac_cv_search_uv_loop_init+:} false
; then :
22618 ac_cv_search_uv_loop_init
=no
22620 rm conftest.
$ac_ext
22621 LIBS
=$ac_func_search_save_LIBS
22623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_uv_loop_init" >&5
22624 $as_echo "$ac_cv_search_uv_loop_init" >&6; }
22625 ac_res
=$ac_cv_search_uv_loop_init
22626 if test "$ac_res" != no
; then :
22627 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
22644 for ac_header
in sqlite3.h
22646 ac_fn_cxx_check_header_mongrel
"$LINENO" "sqlite3.h" "ac_cv_header_sqlite3_h" "$ac_includes_default"
22647 if test "x$ac_cv_header_sqlite3_h" = xyes
; then :
22648 cat >>confdefs.h
<<_ACEOF
22649 #define HAVE_SQLITE3_H 1
22652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sqlite3_open_v2" >&5
22653 $as_echo_n "checking for library containing sqlite3_open_v2... " >&6; }
22654 if ${ac_cv_search_sqlite3_open_v2+:} false
; then :
22655 $as_echo_n "(cached) " >&6
22657 ac_func_search_save_LIBS
=$LIBS
22658 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22659 /* end confdefs.h. */
22661 /* Override any GCC internal prototype to avoid an error.
22662 Use char because int might match the return type of a GCC
22663 builtin and then its argument prototype would still apply. */
22667 char sqlite3_open_v2 ();
22671 return sqlite3_open_v2 ();
22676 for ac_lib
in '' sqlite3 sqlite
; do
22677 if test -z "$ac_lib"; then
22678 ac_res
="none required"
22681 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
22683 if ac_fn_cxx_try_link
"$LINENO"; then :
22684 ac_cv_search_sqlite3_open_v2
=$ac_res
22686 rm -f core conftest.err conftest.
$ac_objext \
22688 if ${ac_cv_search_sqlite3_open_v2+:} false
; then :
22692 if ${ac_cv_search_sqlite3_open_v2+:} false
; then :
22695 ac_cv_search_sqlite3_open_v2
=no
22697 rm conftest.
$ac_ext
22698 LIBS
=$ac_func_search_save_LIBS
22700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sqlite3_open_v2" >&5
22701 $as_echo "$ac_cv_search_sqlite3_open_v2" >&6; }
22702 ac_res
=$ac_cv_search_sqlite3_open_v2
22703 if test "$ac_res" != no
; then :
22704 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
22718 for ac_header
in ffi.h ffi
/ffi.h
22720 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
22721 ac_fn_cxx_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
22722 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
22723 cat >>confdefs.h
<<_ACEOF
22724 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
22735 if test "x$ac_cv_header_ffi_h" = xno
&& test "x$ac_cv_header_ffi_ffi_h" = xno
; then :
22740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBFFI" >&5
22741 $as_echo_n "checking for LIBFFI... " >&6; }
22743 if test -n "$LIBFFI_CFLAGS"; then
22744 pkg_cv_LIBFFI_CFLAGS
="$LIBFFI_CFLAGS"
22745 elif test -n "$PKG_CONFIG"; then
22746 if test -n "$PKG_CONFIG" && \
22747 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libffi\""; } >&5
22748 ($PKG_CONFIG --exists --print-errors "libffi") 2>&5
22750 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22751 test $ac_status = 0; }; then
22752 pkg_cv_LIBFFI_CFLAGS
=`$PKG_CONFIG --cflags "libffi" 2>/dev/null`
22753 test "x$?" != "x0" && pkg_failed
=yes
22760 if test -n "$LIBFFI_LIBS"; then
22761 pkg_cv_LIBFFI_LIBS
="$LIBFFI_LIBS"
22762 elif test -n "$PKG_CONFIG"; then
22763 if test -n "$PKG_CONFIG" && \
22764 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libffi\""; } >&5
22765 ($PKG_CONFIG --exists --print-errors "libffi") 2>&5
22767 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22768 test $ac_status = 0; }; then
22769 pkg_cv_LIBFFI_LIBS
=`$PKG_CONFIG --libs "libffi" 2>/dev/null`
22770 test "x$?" != "x0" && pkg_failed
=yes
22780 if test $pkg_failed = yes; then
22781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22782 $as_echo "no" >&6; }
22784 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
22785 _pkg_short_errors_supported
=yes
22787 _pkg_short_errors_supported
=no
22789 if test $_pkg_short_errors_supported = yes; then
22790 LIBFFI_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libffi" 2>&1`
22792 LIBFFI_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "libffi" 2>&1`
22794 # Put the nasty error message in config.log where it belongs
22795 echo "$LIBFFI_PKG_ERRORS" >&5
22797 as_fn_error $?
"missing \"libffi\"" "$LINENO" 5
22798 elif test $pkg_failed = untried
; then
22799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22800 $as_echo "no" >&6; }
22801 as_fn_error $?
"missing \"libffi\"" "$LINENO" 5
22803 LIBFFI_CFLAGS
=$pkg_cv_LIBFFI_CFLAGS
22804 LIBFFI_LIBS
=$pkg_cv_LIBFFI_LIBS
22805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22806 $as_echo "yes" >&6; }
22809 for element
in `$PKG_CONFIG --cflags libffi`; do
22811 for x
in $CPPFLAGS; do
22813 acl_save_prefix
="$prefix"
22814 prefix
="$acl_final_prefix"
22815 acl_save_exec_prefix
="$exec_prefix"
22816 exec_prefix
="$acl_final_exec_prefix"
22818 exec_prefix
="$acl_save_exec_prefix"
22819 prefix
="$acl_save_prefix"
22821 if test "X$x" = "X$element"; then
22826 if test -z "$haveit"; then
22827 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
22832 for element
in `$PKG_CONFIG --libs libffi`; do
22836 acl_save_prefix
="$prefix"
22837 prefix
="$acl_final_prefix"
22838 acl_save_exec_prefix
="$exec_prefix"
22839 exec_prefix
="$acl_final_exec_prefix"
22841 exec_prefix
="$acl_save_exec_prefix"
22842 prefix
="$acl_save_prefix"
22844 if test "X$x" = "X$element"; then
22849 if test -z "$haveit"; then
22850 LIBS
="${LIBS}${LIBS:+ }$element"
22859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing ffi_call" >&5
22860 $as_echo_n "checking for library containing ffi_call... " >&6; }
22861 if ${ac_cv_search_ffi_call+:} false
; then :
22862 $as_echo_n "(cached) " >&6
22864 ac_func_search_save_LIBS
=$LIBS
22865 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22866 /* end confdefs.h. */
22868 /* Override any GCC internal prototype to avoid an error.
22869 Use char because int might match the return type of a GCC
22870 builtin and then its argument prototype would still apply. */
22878 return ffi_call ();
22883 for ac_lib
in '' ffi
; do
22884 if test -z "$ac_lib"; then
22885 ac_res
="none required"
22888 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
22890 if ac_fn_cxx_try_link
"$LINENO"; then :
22891 ac_cv_search_ffi_call
=$ac_res
22893 rm -f core conftest.err conftest.
$ac_objext \
22895 if ${ac_cv_search_ffi_call+:} false
; then :
22899 if ${ac_cv_search_ffi_call+:} false
; then :
22902 ac_cv_search_ffi_call
=no
22904 rm conftest.
$ac_ext
22905 LIBS
=$ac_func_search_save_LIBS
22907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_ffi_call" >&5
22908 $as_echo "$ac_cv_search_ffi_call" >&6; }
22909 ac_res
=$ac_cv_search_ffi_call
22910 if test "$ac_res" != no
; then :
22911 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
22915 case $ac_cv_search_ffi_call in #(
22920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBFFI" >&5
22921 $as_echo_n "checking for LIBFFI... " >&6; }
22923 if test -n "$LIBFFI_CFLAGS"; then
22924 pkg_cv_LIBFFI_CFLAGS
="$LIBFFI_CFLAGS"
22925 elif test -n "$PKG_CONFIG"; then
22926 if test -n "$PKG_CONFIG" && \
22927 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libffi\""; } >&5
22928 ($PKG_CONFIG --exists --print-errors "libffi") 2>&5
22930 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22931 test $ac_status = 0; }; then
22932 pkg_cv_LIBFFI_CFLAGS
=`$PKG_CONFIG --cflags "libffi" 2>/dev/null`
22933 test "x$?" != "x0" && pkg_failed
=yes
22940 if test -n "$LIBFFI_LIBS"; then
22941 pkg_cv_LIBFFI_LIBS
="$LIBFFI_LIBS"
22942 elif test -n "$PKG_CONFIG"; then
22943 if test -n "$PKG_CONFIG" && \
22944 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libffi\""; } >&5
22945 ($PKG_CONFIG --exists --print-errors "libffi") 2>&5
22947 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22948 test $ac_status = 0; }; then
22949 pkg_cv_LIBFFI_LIBS
=`$PKG_CONFIG --libs "libffi" 2>/dev/null`
22950 test "x$?" != "x0" && pkg_failed
=yes
22960 if test $pkg_failed = yes; then
22961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22962 $as_echo "no" >&6; }
22964 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
22965 _pkg_short_errors_supported
=yes
22967 _pkg_short_errors_supported
=no
22969 if test $_pkg_short_errors_supported = yes; then
22970 LIBFFI_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libffi" 2>&1`
22972 LIBFFI_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "libffi" 2>&1`
22974 # Put the nasty error message in config.log where it belongs
22975 echo "$LIBFFI_PKG_ERRORS" >&5
22977 as_fn_error $?
"missing \"libffi\"" "$LINENO" 5
22978 elif test $pkg_failed = untried
; then
22979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22980 $as_echo "no" >&6; }
22981 as_fn_error $?
"missing \"libffi\"" "$LINENO" 5
22983 LIBFFI_CFLAGS
=$pkg_cv_LIBFFI_CFLAGS
22984 LIBFFI_LIBS
=$pkg_cv_LIBFFI_LIBS
22985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22986 $as_echo "yes" >&6; }
22989 for element
in `$PKG_CONFIG --cflags libffi`; do
22991 for x
in $CPPFLAGS; do
22993 acl_save_prefix
="$prefix"
22994 prefix
="$acl_final_prefix"
22995 acl_save_exec_prefix
="$exec_prefix"
22996 exec_prefix
="$acl_final_exec_prefix"
22998 exec_prefix
="$acl_save_exec_prefix"
22999 prefix
="$acl_save_prefix"
23001 if test "X$x" = "X$element"; then
23006 if test -z "$haveit"; then
23007 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
23012 for element
in `$PKG_CONFIG --libs libffi`; do
23016 acl_save_prefix
="$prefix"
23017 prefix
="$acl_final_prefix"
23018 acl_save_exec_prefix
="$exec_prefix"
23019 exec_prefix
="$acl_final_exec_prefix"
23021 exec_prefix
="$acl_save_exec_prefix"
23022 prefix
="$acl_save_prefix"
23024 if test "X$x" = "X$element"; then
23029 if test -z "$haveit"; then
23030 LIBS
="${LIBS}${LIBS:+ }$element"
23039 for ac_func
in ffi_prep_cif_var
23041 ac_fn_cxx_check_func
"$LINENO" "ffi_prep_cif_var" "ac_cv_func_ffi_prep_cif_var"
23042 if test "x$ac_cv_func_ffi_prep_cif_var" = xyes
; then :
23043 cat >>confdefs.h
<<_ACEOF
23044 #define HAVE_FFI_PREP_CIF_VAR 1
23061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaVM" >&5
23062 $as_echo_n "checking for framework JavaVM... " >&6; }
23063 if ${ac_cv_framework_JavaVM+:} false
; then :
23064 $as_echo_n "(cached) " >&6
23067 ac_check_framework_save_LIBS
=$LIBS
23068 LIBS
="-framework JavaVM $LIBS"
23069 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23070 /* end confdefs.h. */
23072 #include <JavaVM/jni.h>
23077 JNI_GetCreatedJavaVMs(NULL, 0, NULL);
23082 if ac_fn_cxx_try_link
"$LINENO"; then :
23084 ac_cv_framework_JavaVM
=yes
23087 ac_cv_framework_JavaVM
=no
23089 rm -f core conftest.err conftest.
$ac_objext \
23090 conftest
$ac_exeext conftest.
$ac_ext
23091 LIBS
=$ac_check_framework_save_LIBS
23094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaVM" >&5
23095 $as_echo "$ac_cv_framework_JavaVM" >&6; }
23096 if test $ac_cv_framework_JavaVM = yes; then :
23099 for element
in "-framework JavaVM"; do
23103 acl_save_prefix
="$prefix"
23104 prefix
="$acl_final_prefix"
23105 acl_save_exec_prefix
="$exec_prefix"
23106 exec_prefix
="$acl_final_exec_prefix"
23108 exec_prefix
="$acl_save_exec_prefix"
23109 prefix
="$acl_save_prefix"
23111 if test "X$x" = "X$element"; then
23116 if test -z "$haveit"; then
23117 LIBS
="${LIBS}${LIBS:+ }$element"
23127 ac_fn_cxx_check_header_mongrel
"$LINENO" "jni.h" "ac_cv_header_jni_h" "$ac_includes_default"
23128 if test "x$ac_cv_header_jni_h" = xyes
; then :
23152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBRUBY21" >&5
23153 $as_echo_n "checking for LIBRUBY21... " >&6; }
23155 if test -n "$LIBRUBY21_CFLAGS"; then
23156 pkg_cv_LIBRUBY21_CFLAGS
="$LIBRUBY21_CFLAGS"
23157 elif test -n "$PKG_CONFIG"; then
23158 if test -n "$PKG_CONFIG" && \
23159 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ruby-2.1\""; } >&5
23160 ($PKG_CONFIG --exists --print-errors "ruby-2.1") 2>&5
23162 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23163 test $ac_status = 0; }; then
23164 pkg_cv_LIBRUBY21_CFLAGS
=`$PKG_CONFIG --cflags "ruby-2.1" 2>/dev/null`
23165 test "x$?" != "x0" && pkg_failed
=yes
23172 if test -n "$LIBRUBY21_LIBS"; then
23173 pkg_cv_LIBRUBY21_LIBS
="$LIBRUBY21_LIBS"
23174 elif test -n "$PKG_CONFIG"; then
23175 if test -n "$PKG_CONFIG" && \
23176 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ruby-2.1\""; } >&5
23177 ($PKG_CONFIG --exists --print-errors "ruby-2.1") 2>&5
23179 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23180 test $ac_status = 0; }; then
23181 pkg_cv_LIBRUBY21_LIBS
=`$PKG_CONFIG --libs "ruby-2.1" 2>/dev/null`
23182 test "x$?" != "x0" && pkg_failed
=yes
23192 if test $pkg_failed = yes; then
23193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23194 $as_echo "no" >&6; }
23196 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
23197 _pkg_short_errors_supported
=yes
23199 _pkg_short_errors_supported
=no
23201 if test $_pkg_short_errors_supported = yes; then
23202 LIBRUBY21_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "ruby-2.1" 2>&1`
23204 LIBRUBY21_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "ruby-2.1" 2>&1`
23206 # Put the nasty error message in config.log where it belongs
23207 echo "$LIBRUBY21_PKG_ERRORS" >&5
23210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework Ruby" >&5
23211 $as_echo_n "checking for framework Ruby... " >&6; }
23212 if ${ac_cv_framework_Ruby+:} false
; then :
23213 $as_echo_n "(cached) " >&6
23216 ac_check_framework_save_LIBS
=$LIBS
23217 LIBS
="-framework Ruby $LIBS"
23218 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23219 /* end confdefs.h. */
23221 #include <Ruby/ruby.h>
23231 if ac_fn_cxx_try_link
"$LINENO"; then :
23233 ac_cv_framework_Ruby
=yes
23236 ac_cv_framework_Ruby
=no
23238 rm -f core conftest.err conftest.
$ac_objext \
23239 conftest
$ac_exeext conftest.
$ac_ext
23240 LIBS
=$ac_check_framework_save_LIBS
23243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_Ruby" >&5
23244 $as_echo "$ac_cv_framework_Ruby" >&6; }
23245 if test $ac_cv_framework_Ruby = yes; then :
23248 for element
in "-framework Ruby"; do
23252 acl_save_prefix
="$prefix"
23253 prefix
="$acl_final_prefix"
23254 acl_save_exec_prefix
="$exec_prefix"
23255 exec_prefix
="$acl_final_exec_prefix"
23257 exec_prefix
="$acl_save_exec_prefix"
23258 prefix
="$acl_save_prefix"
23260 if test "X$x" = "X$element"; then
23265 if test -z "$haveit"; then
23266 LIBS
="${LIBS}${LIBS:+ }$element"
23276 for ac_header
in ruby.h
23278 ac_fn_cxx_check_header_mongrel
"$LINENO" "ruby.h" "ac_cv_header_ruby_h" "$ac_includes_default"
23279 if test "x$ac_cv_header_ruby_h" = xyes
; then :
23280 cat >>confdefs.h
<<_ACEOF
23281 #define HAVE_RUBY_H 1
23286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing ruby_init" >&5
23287 $as_echo_n "checking for library containing ruby_init... " >&6; }
23288 if ${ac_cv_search_ruby_init+:} false
; then :
23289 $as_echo_n "(cached) " >&6
23291 ac_func_search_save_LIBS
=$LIBS
23292 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23293 /* end confdefs.h. */
23295 /* Override any GCC internal prototype to avoid an error.
23296 Use char because int might match the return type of a GCC
23297 builtin and then its argument prototype would still apply. */
23305 return ruby_init ();
23310 for ac_lib
in '' ruby
; do
23311 if test -z "$ac_lib"; then
23312 ac_res
="none required"
23315 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
23317 if ac_fn_cxx_try_link
"$LINENO"; then :
23318 ac_cv_search_ruby_init
=$ac_res
23320 rm -f core conftest.err conftest.
$ac_objext \
23322 if ${ac_cv_search_ruby_init+:} false
; then :
23326 if ${ac_cv_search_ruby_init+:} false
; then :
23329 ac_cv_search_ruby_init
=no
23331 rm conftest.
$ac_ext
23332 LIBS
=$ac_func_search_save_LIBS
23334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_ruby_init" >&5
23335 $as_echo "$ac_cv_search_ruby_init" >&6; }
23336 ac_res
=$ac_cv_search_ruby_init
23337 if test "$ac_res" != no
; then :
23338 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
23354 elif test $pkg_failed = untried
; then
23355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23356 $as_echo "no" >&6; }
23358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework Ruby" >&5
23359 $as_echo_n "checking for framework Ruby... " >&6; }
23360 if ${ac_cv_framework_Ruby+:} false
; then :
23361 $as_echo_n "(cached) " >&6
23364 ac_check_framework_save_LIBS
=$LIBS
23365 LIBS
="-framework Ruby $LIBS"
23366 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23367 /* end confdefs.h. */
23369 #include <Ruby/ruby.h>
23379 if ac_fn_cxx_try_link
"$LINENO"; then :
23381 ac_cv_framework_Ruby
=yes
23384 ac_cv_framework_Ruby
=no
23386 rm -f core conftest.err conftest.
$ac_objext \
23387 conftest
$ac_exeext conftest.
$ac_ext
23388 LIBS
=$ac_check_framework_save_LIBS
23391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_Ruby" >&5
23392 $as_echo "$ac_cv_framework_Ruby" >&6; }
23393 if test $ac_cv_framework_Ruby = yes; then :
23396 for element
in "-framework Ruby"; do
23400 acl_save_prefix
="$prefix"
23401 prefix
="$acl_final_prefix"
23402 acl_save_exec_prefix
="$exec_prefix"
23403 exec_prefix
="$acl_final_exec_prefix"
23405 exec_prefix
="$acl_save_exec_prefix"
23406 prefix
="$acl_save_prefix"
23408 if test "X$x" = "X$element"; then
23413 if test -z "$haveit"; then
23414 LIBS
="${LIBS}${LIBS:+ }$element"
23424 for ac_header
in ruby.h
23426 ac_fn_cxx_check_header_mongrel
"$LINENO" "ruby.h" "ac_cv_header_ruby_h" "$ac_includes_default"
23427 if test "x$ac_cv_header_ruby_h" = xyes
; then :
23428 cat >>confdefs.h
<<_ACEOF
23429 #define HAVE_RUBY_H 1
23434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing ruby_init" >&5
23435 $as_echo_n "checking for library containing ruby_init... " >&6; }
23436 if ${ac_cv_search_ruby_init+:} false
; then :
23437 $as_echo_n "(cached) " >&6
23439 ac_func_search_save_LIBS
=$LIBS
23440 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23441 /* end confdefs.h. */
23443 /* Override any GCC internal prototype to avoid an error.
23444 Use char because int might match the return type of a GCC
23445 builtin and then its argument prototype would still apply. */
23453 return ruby_init ();
23458 for ac_lib
in '' ruby
; do
23459 if test -z "$ac_lib"; then
23460 ac_res
="none required"
23463 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
23465 if ac_fn_cxx_try_link
"$LINENO"; then :
23466 ac_cv_search_ruby_init
=$ac_res
23468 rm -f core conftest.err conftest.
$ac_objext \
23470 if ${ac_cv_search_ruby_init+:} false
; then :
23474 if ${ac_cv_search_ruby_init+:} false
; then :
23477 ac_cv_search_ruby_init
=no
23479 rm conftest.
$ac_ext
23480 LIBS
=$ac_func_search_save_LIBS
23482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_ruby_init" >&5
23483 $as_echo "$ac_cv_search_ruby_init" >&6; }
23484 ac_res
=$ac_cv_search_ruby_init
23485 if test "$ac_res" != no
; then :
23486 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
23503 LIBRUBY21_CFLAGS
=$pkg_cv_LIBRUBY21_CFLAGS
23504 LIBRUBY21_LIBS
=$pkg_cv_LIBRUBY21_LIBS
23505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23506 $as_echo "yes" >&6; }
23511 for element
in `$PKG_CONFIG --cflags ruby-2.1`; do
23513 for x
in $CPPFLAGS; do
23515 acl_save_prefix
="$prefix"
23516 prefix
="$acl_final_prefix"
23517 acl_save_exec_prefix
="$exec_prefix"
23518 exec_prefix
="$acl_final_exec_prefix"
23520 exec_prefix
="$acl_save_exec_prefix"
23521 prefix
="$acl_save_prefix"
23523 if test "X$x" = "X$element"; then
23528 if test -z "$haveit"; then
23529 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
23534 for element
in `$PKG_CONFIG --libs ruby-2.1`; do
23538 acl_save_prefix
="$prefix"
23539 prefix
="$acl_final_prefix"
23540 acl_save_exec_prefix
="$exec_prefix"
23541 exec_prefix
="$acl_final_exec_prefix"
23543 exec_prefix
="$acl_save_exec_prefix"
23544 prefix
="$acl_save_prefix"
23546 if test "X$x" = "X$element"; then
23551 if test -z "$haveit"; then
23552 LIBS
="${LIBS}${LIBS:+ }$element"
23564 # Check whether --with-python was given.
23565 if test "${with_python+set}" = set; then :
23566 withval
=$with_python;
23572 if test "x$with_python" != "xno"; then :
23581 for element
in `$with_python --includes`; do
23583 for x
in $CPPFLAGS; do
23585 acl_save_prefix
="$prefix"
23586 prefix
="$acl_final_prefix"
23587 acl_save_exec_prefix
="$exec_prefix"
23588 exec_prefix
="$acl_final_exec_prefix"
23590 exec_prefix
="$acl_save_exec_prefix"
23591 prefix
="$acl_save_prefix"
23593 if test "X$x" = "X$element"; then
23598 if test -z "$haveit"; then
23599 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
23604 for element
in `$with_python --ldflags`; do
23608 acl_save_prefix
="$prefix"
23609 prefix
="$acl_final_prefix"
23610 acl_save_exec_prefix
="$exec_prefix"
23611 exec_prefix
="$acl_final_exec_prefix"
23613 exec_prefix
="$acl_save_exec_prefix"
23614 prefix
="$acl_save_prefix"
23616 if test "X$x" = "X$element"; then
23621 if test -z "$haveit"; then
23622 LIBS
="${LIBS}${LIBS:+ }$element"
23639 if test "x$with_python" != "xno"; then
23641 CY_PRELINK_FALSE
='#'
23643 CY_PRELINK_TRUE
='#'
23649 ac_cpp
='$OBJCXXCPP $CPPFLAGS'
23650 ac_compile
='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23651 ac_link
='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23652 ac_compiler_gnu
=$ac_cv_objcxx_compiler_gnu
23655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we really have Objective C++" >&5
23656 $as_echo_n "checking if we really have Objective C++... " >&6; }
23657 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23658 /* end confdefs.h. */
23661 if ac_fn_objcxx_try_compile
"$LINENO"; then :
23664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23665 $as_echo "yes" >&6; }
23668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23669 $as_echo "no" >&6; }
23671 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23673 if test "x$CY_OBJECTIVEC" = x1
; then :
23679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework CoreFoundation" >&5
23680 $as_echo_n "checking for framework CoreFoundation... " >&6; }
23681 if ${ac_cv_framework_CoreFoundation+:} false
; then :
23682 $as_echo_n "(cached) " >&6
23685 ac_check_framework_save_LIBS
=$LIBS
23686 LIBS
="-framework CoreFoundation $LIBS"
23687 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23688 /* end confdefs.h. */
23690 #include <CoreFoundation/CFBase.h>
23695 CFAllocatorGetDefault();
23700 if ac_fn_objcxx_try_link
"$LINENO"; then :
23702 ac_cv_framework_CoreFoundation
=yes
23705 ac_cv_framework_CoreFoundation
=no
23707 rm -f core conftest.err conftest.
$ac_objext \
23708 conftest
$ac_exeext conftest.
$ac_ext
23709 LIBS
=$ac_check_framework_save_LIBS
23712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_CoreFoundation" >&5
23713 $as_echo "$ac_cv_framework_CoreFoundation" >&6; }
23714 if test $ac_cv_framework_CoreFoundation = yes; then :
23717 for element
in "-framework CoreFoundation"; do
23721 acl_save_prefix
="$prefix"
23722 prefix
="$acl_final_prefix"
23723 acl_save_exec_prefix
="$exec_prefix"
23724 exec_prefix
="$acl_final_exec_prefix"
23726 exec_prefix
="$acl_save_exec_prefix"
23727 prefix
="$acl_save_prefix"
23729 if test "X$x" = "X$element"; then
23734 if test -z "$haveit"; then
23735 LIBS
="${LIBS}${LIBS:+ }$element"
23745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework Foundation" >&5
23746 $as_echo_n "checking for framework Foundation... " >&6; }
23747 if ${ac_cv_framework_Foundation+:} false
; then :
23748 $as_echo_n "(cached) " >&6
23751 ac_check_framework_save_LIBS
=$LIBS
23752 LIBS
="-framework Foundation $LIBS"
23753 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23754 /* end confdefs.h. */
23756 #include <Foundation/NSObject.h>
23761 [[NSObject alloc] init];
23766 if ac_fn_objcxx_try_link
"$LINENO"; then :
23768 ac_cv_framework_Foundation
=yes
23771 ac_cv_framework_Foundation
=no
23773 rm -f core conftest.err conftest.
$ac_objext \
23774 conftest
$ac_exeext conftest.
$ac_ext
23775 LIBS
=$ac_check_framework_save_LIBS
23778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_Foundation" >&5
23779 $as_echo "$ac_cv_framework_Foundation" >&6; }
23780 if test $ac_cv_framework_Foundation = yes; then :
23783 for element
in "-framework Foundation"; do
23787 acl_save_prefix
="$prefix"
23788 prefix
="$acl_final_prefix"
23789 acl_save_exec_prefix
="$exec_prefix"
23790 exec_prefix
="$acl_final_exec_prefix"
23792 exec_prefix
="$acl_save_exec_prefix"
23793 prefix
="$acl_save_prefix"
23795 if test "X$x" = "X$element"; then
23800 if test -z "$haveit"; then
23801 LIBS
="${LIBS}${LIBS:+ }$element"
23805 cat >>confdefs.h
<<_ACEOF
23806 #define HAVE_FRAMEWORK_FOUNDATION 1
23816 for ac_prog
in gnustep
-config
23818 # Extract the first word of "$ac_prog", so it can be a program name with args.
23819 set dummy
$ac_prog; ac_word
=$2
23820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23821 $as_echo_n "checking for $ac_word... " >&6; }
23822 if ${ac_cv_prog_GNUSTEP_CONFIG+:} false
; then :
23823 $as_echo_n "(cached) " >&6
23825 if test -n "$GNUSTEP_CONFIG"; then
23826 ac_cv_prog_GNUSTEP_CONFIG
="$GNUSTEP_CONFIG" # Let the user override the test.
23828 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23829 for as_dir
in $PATH
23832 test -z "$as_dir" && as_dir
=.
23833 for ac_exec_ext
in '' $ac_executable_extensions; do
23834 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
23835 ac_cv_prog_GNUSTEP_CONFIG
="$ac_prog"
23836 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23845 GNUSTEP_CONFIG
=$ac_cv_prog_GNUSTEP_CONFIG
23846 if test -n "$GNUSTEP_CONFIG"; then
23847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNUSTEP_CONFIG" >&5
23848 $as_echo "$GNUSTEP_CONFIG" >&6; }
23850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23851 $as_echo "no" >&6; }
23855 test -n "$GNUSTEP_CONFIG" && break
23859 if test "x$GNUSTEP_CONFIG" != x
; then :
23864 for element
in `$GNUSTEP_CONFIG --objc-flags`; do
23866 for x
in $OBJCXXFLAGS; do
23868 acl_save_prefix
="$prefix"
23869 prefix
="$acl_final_prefix"
23870 acl_save_exec_prefix
="$exec_prefix"
23871 exec_prefix
="$acl_final_exec_prefix"
23873 exec_prefix
="$acl_save_exec_prefix"
23874 prefix
="$acl_save_prefix"
23876 if test "X$x" = "X$element"; then
23881 if test -z "$haveit"; then
23882 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
23887 for element
in `$GNUSTEP_CONFIG --base-libs`; do
23891 acl_save_prefix
="$prefix"
23892 prefix
="$acl_final_prefix"
23893 acl_save_exec_prefix
="$exec_prefix"
23894 exec_prefix
="$acl_final_exec_prefix"
23896 exec_prefix
="$acl_save_exec_prefix"
23897 prefix
="$acl_save_prefix"
23899 if test "X$x" = "X$element"; then
23904 if test -z "$haveit"; then
23905 LIBS
="${LIBS}${LIBS:+ }$element"
23929 ac_cpp
='$CXXCPP $CPPFLAGS'
23930 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23931 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23932 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23939 if test "x$CY_JAVA" = x1
; then
23947 if test "x$CY_RUBY" = x1
; then
23955 if test "x$CY_PYTHON" = x1
; then
23957 CY_PYTHON_FALSE
='#'
23963 if test "x$CY_OBJECTIVEC" = x1
; then
23964 CY_OBJECTIVEC_TRUE
=
23965 CY_OBJECTIVEC_FALSE
='#'
23967 CY_OBJECTIVEC_TRUE
='#'
23968 CY_OBJECTIVEC_FALSE
=
23972 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23973 /* end confdefs.h. */
23975 #ifndef __ANDROID__
23980 if ac_fn_cxx_try_compile
"$LINENO"; then :
23991 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23993 if test "x$CY_ANDROID" = x1
; then
23995 CY_ANDROID_FALSE
='#'
23997 CY_ANDROID_TRUE
='#'
24003 # Check whether --with-libclang was given.
24004 if test "${with_libclang+set}" = set; then :
24005 withval
=$with_libclang;
24011 if test "x$with_libclang" != "xno"; then :
24013 CY_LIBCLANG
="$with_libclang"
24016 if test "x$with_libclang" != "xno"; then
24018 CY_PRELINK_FALSE
='#'
24020 CY_PRELINK_TRUE
='#'
24029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a readline compatible library" >&5
24030 $as_echo_n "checking for a readline compatible library... " >&6; }
24031 if ${ax_cv_lib_readline+:} false
; then :
24032 $as_echo_n "(cached) " >&6
24036 for readline_lib
in readline edit editline
; do
24037 for termcap_lib
in "" termcap curses ncurses
; do
24038 if test -z "$termcap_lib"; then
24039 TRY_LIB
="-l$readline_lib"
24041 TRY_LIB
="-l$readline_lib -l$termcap_lib"
24043 LIBS
="$ORIG_LIBS $TRY_LIB"
24044 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24045 /* end confdefs.h. */
24047 /* Override any GCC internal prototype to avoid an error.
24048 Use char because int might match the return type of a GCC
24049 builtin and then its argument prototype would still apply. */
24057 return readline ();
24062 if ac_fn_cxx_try_link
"$LINENO"; then :
24063 ax_cv_lib_readline
="$TRY_LIB"
24065 rm -f core conftest.err conftest.
$ac_objext \
24066 conftest
$ac_exeext conftest.
$ac_ext
24067 if test -n "$ax_cv_lib_readline"; then
24071 if test -n "$ax_cv_lib_readline"; then
24075 if test -z "$ax_cv_lib_readline"; then
24076 ax_cv_lib_readline
="no"
24081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_lib_readline" >&5
24082 $as_echo "$ax_cv_lib_readline" >&6; }
24084 if test "$ax_cv_lib_readline" != "no"; then
24085 LIBS
="$LIBS $ax_cv_lib_readline"
24087 $as_echo "#define HAVE_LIBREADLINE 1" >>confdefs.h
24089 for ac_header
in readline.h readline
/readline.h
24091 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
24092 ac_fn_cxx_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
24093 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
24094 cat >>confdefs.h
<<_ACEOF
24095 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
24102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether readline supports history" >&5
24103 $as_echo_n "checking whether readline supports history... " >&6; }
24104 if ${ax_cv_lib_readline_history+:} false
; then :
24105 $as_echo_n "(cached) " >&6
24108 ax_cv_lib_readline_history
="no"
24109 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24110 /* end confdefs.h. */
24112 /* Override any GCC internal prototype to avoid an error.
24113 Use char because int might match the return type of a GCC
24114 builtin and then its argument prototype would still apply. */
24118 char add_history ();
24122 return add_history ();
24127 if ac_fn_cxx_try_link
"$LINENO"; then :
24128 ax_cv_lib_readline_history
="yes"
24130 rm -f core conftest.err conftest.
$ac_objext \
24131 conftest
$ac_exeext conftest.
$ac_ext
24134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_lib_readline_history" >&5
24135 $as_echo "$ax_cv_lib_readline_history" >&6; }
24136 if test "$ax_cv_lib_readline_history" = "yes"; then
24138 $as_echo "#define HAVE_READLINE_HISTORY 1" >>confdefs.h
24140 for ac_header
in history.h readline
/history.h
24142 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
24143 ac_fn_cxx_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
24144 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
24145 cat >>confdefs.h
<<_ACEOF
24146 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
24156 LTLIBREADLINE
=$LIBS
24160 case $ax_cv_lib_readline in #(
24162 as_fn_error $?
"missing \"libreadline\"" "$LINENO" 5 ;; #(
24170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing cur_term" >&5
24171 $as_echo_n "checking for library containing cur_term... " >&6; }
24172 if ${ac_cv_search_cur_term+:} false
; then :
24173 $as_echo_n "(cached) " >&6
24175 ac_func_search_save_LIBS
=$LIBS
24176 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24177 /* end confdefs.h. */
24179 /* Override any GCC internal prototype to avoid an error.
24180 Use char because int might match the return type of a GCC
24181 builtin and then its argument prototype would still apply. */
24189 return cur_term ();
24194 for ac_lib
in '' termcap ncurses
; do
24195 if test -z "$ac_lib"; then
24196 ac_res
="none required"
24199 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
24201 if ac_fn_cxx_try_link
"$LINENO"; then :
24202 ac_cv_search_cur_term
=$ac_res
24204 rm -f core conftest.err conftest.
$ac_objext \
24206 if ${ac_cv_search_cur_term+:} false
; then :
24210 if ${ac_cv_search_cur_term+:} false
; then :
24213 ac_cv_search_cur_term
=no
24215 rm conftest.
$ac_ext
24216 LIBS
=$ac_func_search_save_LIBS
24218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_cur_term" >&5
24219 $as_echo "$ac_cv_search_cur_term" >&6; }
24220 ac_res
=$ac_cv_search_cur_term
24221 if test "$ac_res" != no
; then :
24222 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
24237 ac_config_files
="$ac_config_files Makefile"
24239 cat >confcache
<<\_ACEOF
24240 # This file is a shell script that caches the results of configure
24241 # tests run on this system so they can be shared between configure
24242 # scripts and configure runs, see configure's option --config-cache.
24243 # It is not useful on other systems. If it contains results you don't
24244 # want to keep, you may remove or edit it.
24246 # config.status only pays attention to the cache file if you give it
24247 # the --recheck option to rerun configure.
24249 # `ac_cv_env_foo' variables (set or unset) will be overridden when
24250 # loading this file, other *unset* `ac_cv_foo' will be assigned the
24251 # following values.
24255 # The following way of writing the cache mishandles newlines in values,
24256 # but we know of no workaround that is simple, portable, and efficient.
24257 # So, we kill variables containing newlines.
24258 # Ultrix sh set writes to stderr and can't be redirected directly,
24259 # and sets the high bit in the cache file unless we assign to the vars.
24261 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
24262 eval ac_val
=\$
$ac_var
24266 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
24267 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
24270 _
| IFS
| as_nl
) ;; #(
24271 BASH_ARGV
| BASH_SOURCE
) eval $ac_var= ;; #(
24272 *) { eval $ac_var=; unset $ac_var;} ;;
24278 case $as_nl`(ac_space=' '; set) 2>&1` in #(
24279 *${as_nl}ac_space
=\
*)
24280 # `set' does not quote correctly, so add quotes: double-quote
24281 # substitution turns \\\\ into \\, and sed turns \\ into \.
24284 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
24287 # `set' quotes correctly as required by POSIX, so do not add quotes.
24288 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
24297 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
24299 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
24301 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
24302 if test -w "$cache_file"; then
24303 if test "x$cache_file" != "x/dev/null"; then
24304 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
24305 $as_echo "$as_me: updating cache $cache_file" >&6;}
24306 if test ! -f "$cache_file" || test -h "$cache_file"; then
24307 cat confcache
>"$cache_file"
24309 case $cache_file in #(
24311 mv -f confcache
"$cache_file"$$
&&
24312 mv -f "$cache_file"$$
"$cache_file" ;; #(
24314 mv -f confcache
"$cache_file" ;;
24319 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
24320 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
24325 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
24326 # Let make expand exec_prefix.
24327 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
24329 DEFS
=-DHAVE_CONFIG_H
24334 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
24335 # 1. Remove the extension, and $U if already installed.
24336 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
24337 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
24338 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
24339 # will be set to the directory where LIBOBJS objects are built.
24340 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
24341 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
24343 LIBOBJS
=$ac_libobjs
24345 LTLIBOBJS
=$ac_ltlibobjs
24348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
24349 $as_echo_n "checking that generated files are newer than configure... " >&6; }
24350 if test -n "$am_sleep_pid"; then
24351 # Hide warnings about reused PIDs.
24352 wait $am_sleep_pid 2>/dev
/null
24354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
24355 $as_echo "done" >&6; }
24356 if test -n "$EXEEXT"; then
24358 am__EXEEXT_FALSE
='#'
24360 am__EXEEXT_TRUE
='#'
24364 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
24365 as_fn_error $?
"conditional \"MAINTAINER_MODE\" was never defined.
24366 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24368 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
24369 as_fn_error $?
"conditional \"AMDEP\" was never defined.
24370 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24372 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
24373 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
24374 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24376 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
24377 as_fn_error $?
"conditional \"am__fastdepCXX\" was never defined.
24378 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24380 if test -z "${am__fastdepOBJCXX_TRUE}" && test -z "${am__fastdepOBJCXX_FALSE}"; then
24381 as_fn_error $?
"conditional \"am__fastdepOBJCXX\" was never defined.
24382 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24384 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
24385 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
24386 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24388 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
24389 as_fn_error $?
"conditional \"am__fastdepCXX\" was never defined.
24390 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24392 if test -z "${CY_CONSOLE_TRUE}" && test -z "${CY_CONSOLE_FALSE}"; then
24393 as_fn_error $?
"conditional \"CY_CONSOLE\" was never defined.
24394 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24396 if test -z "${CY_ATTACH_TRUE}" && test -z "${CY_ATTACH_FALSE}"; then
24397 as_fn_error $?
"conditional \"CY_ATTACH\" was never defined.
24398 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24400 if test -z "${CY_EXECUTE_TRUE}" && test -z "${CY_EXECUTE_FALSE}"; then
24401 as_fn_error $?
"conditional \"CY_EXECUTE\" was never defined.
24402 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24404 if test -z "${CY_PRELINK_TRUE}" && test -z "${CY_PRELINK_FALSE}"; then
24405 as_fn_error $?
"conditional \"CY_PRELINK\" was never defined.
24406 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24408 if test -z "${CY_JAVA_TRUE}" && test -z "${CY_JAVA_FALSE}"; then
24409 as_fn_error $?
"conditional \"CY_JAVA\" was never defined.
24410 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24412 if test -z "${CY_RUBY_TRUE}" && test -z "${CY_RUBY_FALSE}"; then
24413 as_fn_error $?
"conditional \"CY_RUBY\" was never defined.
24414 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24416 if test -z "${CY_PYTHON_TRUE}" && test -z "${CY_PYTHON_FALSE}"; then
24417 as_fn_error $?
"conditional \"CY_PYTHON\" was never defined.
24418 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24420 if test -z "${CY_OBJECTIVEC_TRUE}" && test -z "${CY_OBJECTIVEC_FALSE}"; then
24421 as_fn_error $?
"conditional \"CY_OBJECTIVEC\" was never defined.
24422 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24424 if test -z "${CY_ANDROID_TRUE}" && test -z "${CY_ANDROID_FALSE}"; then
24425 as_fn_error $?
"conditional \"CY_ANDROID\" 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
24433 : "${CONFIG_STATUS=./config.status}"
24435 ac_clean_files_save
=$ac_clean_files
24436 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
24437 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
24438 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
24440 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
24442 # Generated by $as_me.
24443 # Run this file to recreate the current configuration.
24444 # Compiler output produced by configure, useful for debugging
24445 # configure, is in config.log if it exists.
24448 ac_cs_recheck=false
24451 SHELL=\${CONFIG_SHELL-$SHELL}
24454 cat >>$CONFIG_STATUS <<\_ASEOF
|| as_write_fail
=1
24455 ## -------------------- ##
24456 ## M4sh Initialization. ##
24457 ## -------------------- ##
24459 # Be more Bourne compatible
24460 DUALCASE
=1; export DUALCASE
# for MKS sh
24461 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
24464 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
24465 # is contrary to our usage. Disable this feature.
24466 alias -g '${1+"$@"}'='"$@"'
24467 setopt NO_GLOB_SUBST
24469 case `(set -o) 2>/dev/null` in #(
24481 # Printing a long string crashes Solaris 7 /usr/bin/printf.
24482 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
24483 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
24484 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
24485 # Prefer a ksh shell builtin over an external printf program on Solaris,
24486 # but without wasting forks for bash or zsh.
24487 if test -z "$BASH_VERSION$ZSH_VERSION" \
24488 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
24489 as_echo='print
-r --'
24490 as_echo_n='print
-rn --'
24491 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
24492 as_echo='printf %s
\n'
24493 as_echo_n='printf %s
'
24495 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
24496 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
24497 as_echo_n='/usr
/ucb
/echo -n'
24499 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
24500 as_echo_n_body='eval
24504 expr "X$arg" : "X\\(.*\\)$as_nl";
24505 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
24507 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
24509 export as_echo_n_body
24510 as_echo_n='sh
-c $as_echo_n_body as_echo
'
24512 export as_echo_body
24513 as_echo='sh
-c $as_echo_body as_echo
'
24516 # The user is always right.
24517 if test "${PATH_SEPARATOR+set}" != set; then
24519 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
24520 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
24527 # We need space, tab and new line, in precisely that order. Quoting is
24528 # there to prevent editors from complaining about space-tab.
24529 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
24530 # splitting by setting IFS to empty value.)
24533 # Find who we are. Look in the path if we contain no directory separator.
24536 *[\\/]* ) as_myself=$0 ;;
24537 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24538 for as_dir in $PATH
24541 test -z "$as_dir" && as_dir=.
24542 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
24548 # We did not find ourselves, most probably we were run as `sh COMMAND'
24549 # in which case we are not to be found in the path.
24550 if test "x$as_myself" = x
; then
24553 if test ! -f "$as_myself"; then
24554 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
24558 # Unset variables that we do not need and which cause bugs (e.g. in
24559 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
24560 # suppresses any "Segmentation fault" message there. '((' could
24561 # trigger a bug in pdksh 5.2.14.
24562 for as_var
in BASH_ENV ENV MAIL MAILPATH
24563 do eval test x\
${$as_var+set} = xset \
24564 && ( (unset $as_var) || exit 1) >/dev
/null
2>&1 && unset $as_var || :
24577 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
24580 # as_fn_error STATUS ERROR [LINENO LOG_FD]
24581 # ----------------------------------------
24582 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
24583 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
24584 # script with STATUS, using 1 if that was 0.
24587 as_status
=$1; test $as_status -eq 0 && as_status
=1
24589 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
24590 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
24592 $as_echo "$as_me: error: $2" >&2
24593 as_fn_exit
$as_status
24597 # as_fn_set_status STATUS
24598 # -----------------------
24599 # Set $? to STATUS, without forking.
24600 as_fn_set_status
()
24603 } # as_fn_set_status
24605 # as_fn_exit STATUS
24606 # -----------------
24607 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
24611 as_fn_set_status
$1
24617 # Portably unset VAR.
24620 { eval $1=; unset $1;}
24622 as_unset
=as_fn_unset
24623 # as_fn_append VAR VALUE
24624 # ----------------------
24625 # Append the text in VALUE to the end of the definition contained in VAR. Take
24626 # advantage of any shell optimizations that allow amortized linear growth over
24627 # repeated appends, instead of the typical quadratic growth present in naive
24629 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
24630 eval 'as_fn_append ()
24641 # as_fn_arith ARG...
24642 # ------------------
24643 # Perform arithmetic evaluation on the ARGs, and store the result in the
24644 # global $as_val. Take advantage of shells that can avoid forks. The arguments
24645 # must be portable across $(()) and expr.
24646 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
24647 eval 'as_fn_arith ()
24654 as_val
=`expr "$@" || test $? -eq 1`
24659 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
24660 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
24666 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
24667 as_basename
=basename
24672 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
24678 as_me
=`$as_basename -- "$0" ||
24679 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
24680 X"$0" : 'X\(//\)$' \| \
24681 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
24683 sed '/^.*\/\([^/][^/]*\)\/*$/{
24697 # Avoid depending upon Character Ranges.
24698 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
24699 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
24700 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
24701 as_cr_digits
='0123456789'
24702 as_cr_alnum
=$as_cr_Letters$as_cr_digits
24704 ECHO_C
= ECHO_N
= ECHO_T
=
24705 case `echo -n x` in #(((((
24707 case `echo 'xy\c'` in
24708 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
24710 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
24717 rm -f conf$$ conf$$.exe conf$$.
file
24718 if test -d conf$$.dir
; then
24719 rm -f conf$$.dir
/conf$$.
file
24722 mkdir conf$$.dir
2>/dev
/null
24724 if (echo >conf$$.
file) 2>/dev
/null
; then
24725 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
24727 # ... but there are two gotchas:
24728 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
24729 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
24730 # In both cases, we have to default to `cp -pR'.
24731 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
24733 elif ln conf$$.
file conf$$
2>/dev
/null
; then
24741 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
24742 rmdir conf$$.dir
2>/dev
/null
24747 # Create "$as_dir" as a directory, including parents if necessary.
24752 -*) as_dir
=.
/$as_dir;;
24754 test -d "$as_dir" || eval $as_mkdir_p || {
24758 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
24759 *) as_qdir
=$as_dir;;
24761 as_dirs
="'$as_qdir' $as_dirs"
24762 as_dir
=`$as_dirname -- "$as_dir" ||
24763 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24764 X"$as_dir" : 'X\(//\)[^/]' \| \
24765 X"$as_dir" : 'X\(//\)$' \| \
24766 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
24767 $as_echo X"$as_dir" |
24768 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
24772 /^X\(\/\/\)[^/].*/{
24785 test -d "$as_dir" && break
24787 test -z "$as_dirs" || eval "mkdir $as_dirs"
24788 } || test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
24792 if mkdir -p .
2>/dev
/null
; then
24793 as_mkdir_p
='mkdir -p "$as_dir"'
24795 test -d .
/-p && rmdir .
/-p
24800 # as_fn_executable_p FILE
24801 # -----------------------
24802 # Test if FILE is an executable regular file.
24803 as_fn_executable_p
()
24805 test -f "$1" && test -x "$1"
24806 } # as_fn_executable_p
24807 as_test_x
='test -x'
24808 as_executable_p
=as_fn_executable_p
24810 # Sed expression to map a string onto a valid CPP name.
24811 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
24813 # Sed expression to map a string onto a valid variable name.
24814 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
24818 ## ----------------------------------- ##
24819 ## Main body of $CONFIG_STATUS script. ##
24820 ## ----------------------------------- ##
24822 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
24824 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
24825 # Save the log message, to keep $0 and so on meaningful, and to
24826 # report actual input values of CONFIG_FILES etc. instead of their
24827 # values after options handling.
24829 This file was extended by Cycript $as_me 0.9, which was
24830 generated by GNU Autoconf 2.69. Invocation command line was
24832 CONFIG_FILES = $CONFIG_FILES
24833 CONFIG_HEADERS = $CONFIG_HEADERS
24834 CONFIG_LINKS = $CONFIG_LINKS
24835 CONFIG_COMMANDS = $CONFIG_COMMANDS
24838 on `(hostname || uname -n) 2>/dev/null | sed 1q`
24843 case $ac_config_files in *"
24844 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
24847 case $ac_config_headers in *"
24848 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
24852 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
24853 # Files that config.status was made for.
24854 config_files="$ac_config_files"
24855 config_headers="$ac_config_headers"
24856 config_commands="$ac_config_commands"
24860 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
24862 \`$as_me' instantiates files and other configuration actions
24863 from templates according to the current configuration. Unless the files
24864 and actions are specified as TAGs, all are instantiated by default.
24866 Usage: $0 [OPTION]... [TAG]...
24868 -h, --help print this help, then exit
24869 -V, --version print version number and configuration settings, then exit
24870 --config print configuration, then exit
24871 -q, --quiet, --silent
24872 do not print progress messages
24873 -d, --debug don't remove temporary files
24874 --recheck update $as_me by reconfiguring in the same conditions
24875 --file=FILE[:TEMPLATE]
24876 instantiate the configuration file FILE
24877 --header=FILE[:TEMPLATE]
24878 instantiate the configuration header FILE
24880 Configuration files:
24883 Configuration headers:
24886 Configuration commands:
24889 Report bugs to <saurik@saurik.com>.
24890 Cycript home page: <http://www.cycript.org/>."
24893 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
24894 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
24896 Cycript config.status 0.9
24897 configured by $0, generated by GNU Autoconf 2.69,
24898 with options \\"\$ac_cs_config\\"
24900 Copyright (C) 2012 Free Software Foundation, Inc.
24901 This config.status script is free software; the Free Software Foundation
24902 gives unlimited permission to copy, distribute and modify it."
24909 test -n "\$AWK" || AWK=awk
24912 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
24913 # The default lists apply if the user does not specify any file.
24919 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
24920 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
24924 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
24936 # Handling of the options.
24937 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
24939 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
24940 $as_echo "$ac_cs_version"; exit ;;
24941 --config | --confi | --conf | --con | --co | --c )
24942 $as_echo "$ac_cs_config"; exit ;;
24943 --debug | --debu | --deb | --de | --d | -d )
24945 --file | --fil | --fi | --f )
24948 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
24949 '') as_fn_error $?
"missing file argument" ;;
24951 as_fn_append CONFIG_FILES
" '$ac_optarg'"
24952 ac_need_defaults
=false
;;
24953 --header | --heade | --head | --hea )
24956 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
24958 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
24959 ac_need_defaults
=false
;;
24961 # Conflict between --help and --header
24962 as_fn_error $?
"ambiguous option: \`$1'
24963 Try \`$0 --help' for more information.";;
24964 --help | --hel | -h )
24965 $as_echo "$ac_cs_usage"; exit ;;
24966 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
24967 | -silent | --silent | --silen | --sile | --sil | --si | --s)
24970 # This is an error.
24971 -*) as_fn_error $?
"unrecognized option: \`$1'
24972 Try \`$0 --help' for more information." ;;
24974 *) as_fn_append ac_config_targets
" $1"
24975 ac_need_defaults
=false
;;
24981 ac_configure_extra_args
=
24983 if $ac_cs_silent; then
24985 ac_configure_extra_args
="$ac_configure_extra_args --silent"
24989 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
24990 if \$ac_cs_recheck; then
24991 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
24993 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
24994 CONFIG_SHELL='$SHELL'
24995 export CONFIG_SHELL
25000 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
25004 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
25005 ## Running $as_me. ##
25011 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25015 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
25018 # The HP-UX ksh and POSIX shell print the target directory to stdout
25019 # if CDPATH is set.
25020 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
25022 sed_quote_subst='$sed_quote_subst'
25023 double_quote_subst='$double_quote_subst'
25024 delay_variable_subst='$delay_variable_subst'
25025 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
25026 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
25027 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
25028 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
25029 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
25030 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
25031 shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
25032 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
25033 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
25034 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
25035 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
25036 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
25037 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
25038 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
25039 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
25040 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
25041 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
25042 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
25043 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
25044 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
25045 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
25046 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
25047 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
25048 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
25049 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
25050 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
25051 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
25052 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
25053 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
25054 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
25055 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
25056 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
25057 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
25058 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
25059 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
25060 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
25061 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
25062 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
25063 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
25064 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
25065 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
25066 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
25067 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
25068 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
25069 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
25070 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
25071 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
25072 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
25073 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
25074 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
25075 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
25076 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
25077 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
25078 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
25079 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
25080 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
25081 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
25082 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
25083 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"`'
25084 lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
25085 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
25086 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
25087 lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
25088 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
25089 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
25090 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
25091 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
25092 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
25093 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
25094 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
25095 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
25096 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
25097 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
25098 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
25099 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
25100 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
25101 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
25102 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
25103 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
25104 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
25105 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
25106 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
25107 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
25108 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
25109 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
25110 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
25111 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
25112 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
25113 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
25114 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
25115 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
25116 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
25117 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
25118 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
25119 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
25120 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
25121 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
25122 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
25123 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
25124 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
25125 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
25126 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
25127 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
25128 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
25129 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
25130 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
25131 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
25132 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
25133 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
25134 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
25135 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
25136 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
25137 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
25138 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
25139 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
25140 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
25141 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
25142 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
25143 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
25144 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
25145 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
25146 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
25147 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
25148 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
25149 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
25150 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
25151 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
25152 configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
25153 configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
25154 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
25155 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
25156 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
25157 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
25158 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
25159 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
25160 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
25161 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
25162 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
25163 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
25164 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
25165 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
25166 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
25167 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
25168 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
25169 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
25170 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
25171 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
25172 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
25173 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
25174 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
25175 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
25176 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
25177 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
25178 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
25179 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
25180 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
25181 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
25182 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
25183 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
25184 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
25185 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
25186 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
25187 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
25188 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
25189 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
25190 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
25191 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
25192 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
25193 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
25194 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
25195 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
25196 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
25197 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
25198 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
25199 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
25200 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
25201 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
25202 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
25203 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
25204 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
25205 postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
25206 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
25207 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
25208 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
25209 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
25210 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
25211 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
25212 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
25213 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
25216 LTCFLAGS='$LTCFLAGS'
25217 compiler='$compiler_DEFAULT'
25219 # A function that is used when there is no print builtin or printf.
25220 func_fallback_echo ()
25222 eval 'cat <<_LTECHO_EOF
25227 # Quote evaled strings.
25242 deplibs_check_method \
25247 sharedlib_from_linklib_cmd \
25250 archiver_list_spec \
25256 lt_cv_sys_global_symbol_pipe \
25257 lt_cv_sys_global_symbol_to_cdecl \
25258 lt_cv_sys_global_symbol_to_import \
25259 lt_cv_sys_global_symbol_to_c_name_address \
25260 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
25261 lt_cv_nm_interface \
25262 nm_file_list_spec \
25263 lt_cv_truncate_bin \
25264 lt_prog_compiler_no_builtin_flag \
25265 lt_prog_compiler_pic \
25266 lt_prog_compiler_wl \
25267 lt_prog_compiler_static \
25268 lt_cv_prog_compiler_c_o \
25277 export_dynamic_flag_spec \
25278 whole_archive_flag_spec \
25279 compiler_needs_object \
25281 allow_undefined_flag \
25282 no_undefined_flag \
25283 hardcode_libdir_flag_spec \
25284 hardcode_libdir_separator \
25288 variables_saved_for_relink \
25290 library_names_spec \
25292 install_override_mode \
25296 compiler_lib_search_dirs \
25301 compiler_lib_search_path \
25305 lt_prog_compiler_no_builtin_flag_CXX \
25306 lt_prog_compiler_pic_CXX \
25307 lt_prog_compiler_wl_CXX \
25308 lt_prog_compiler_static_CXX \
25309 lt_cv_prog_compiler_c_o_CXX \
25310 export_dynamic_flag_spec_CXX \
25311 whole_archive_flag_spec_CXX \
25312 compiler_needs_object_CXX \
25314 allow_undefined_flag_CXX \
25315 no_undefined_flag_CXX \
25316 hardcode_libdir_flag_spec_CXX \
25317 hardcode_libdir_separator_CXX \
25318 exclude_expsyms_CXX \
25319 include_expsyms_CXX \
25320 file_list_spec_CXX \
25321 compiler_lib_search_dirs_CXX \
25322 predep_objects_CXX \
25323 postdep_objects_CXX \
25326 compiler_lib_search_path_CXX; do
25327 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
25328 *[\\\\\\\`\\"\\\$]*)
25329 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
25332 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
25337 # Double-quote double-evaled strings.
25338 for var in reload_cmds \
25339 old_postinstall_cmds \
25340 old_postuninstall_cmds \
25342 extract_expsyms_cmds \
25343 old_archive_from_new_cmds \
25344 old_archive_from_expsyms_cmds \
25346 archive_expsym_cmds \
25348 module_expsym_cmds \
25349 export_symbols_cmds \
25353 postuninstall_cmds \
25355 sys_lib_search_path_spec \
25356 configure_time_dlsearch_path \
25357 configure_time_lt_sys_library_path \
25359 old_archive_cmds_CXX \
25360 old_archive_from_new_cmds_CXX \
25361 old_archive_from_expsyms_cmds_CXX \
25363 archive_expsym_cmds_CXX \
25365 module_expsym_cmds_CXX \
25366 export_symbols_cmds_CXX \
25368 postlink_cmds_CXX; do
25369 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
25370 *[\\\\\\\`\\"\\\$]*)
25371 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
25374 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
25379 ac_aux_dir='$ac_aux_dir'
25381 # See if we are running on zsh, and set the options that allow our
25382 # commands through without removal of \ escapes INIT.
25383 if test -n "\${ZSH_VERSION+set}"; then
25384 setopt NO_GLOB_SUBST
25400 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
25402 # Handling of arguments.
25403 for ac_config_target
in $ac_config_targets
25405 case $ac_config_target in
25406 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
25407 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
25408 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
25409 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
25411 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
25416 # If the user did not use the arguments to specify the items to instantiate,
25417 # then the envvar interface is used. Set only those that are not.
25418 # We use the long form for the default assignment because of an extremely
25419 # bizarre bug on SunOS 4.1.3.
25420 if $ac_need_defaults; then
25421 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
25422 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
25423 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
25426 # Have a temporary directory for convenience. Make it in the build tree
25427 # simply because there is no reason against having it here, and in addition,
25428 # creating and moving files from /tmp can sometimes cause problems.
25429 # Hook for its removal unless debugging.
25430 # Note that there is a small window in which the directory will not be cleaned:
25431 # after its creation but before its name has been assigned to `$tmp'.
25435 trap 'exit_status=$?
25436 : "${ac_tmp:=$tmp}"
25437 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
25439 trap 'as_fn_exit 1' 1 2 13 15
25441 # Create a (secure) tmp directory for tmp files.
25444 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
25448 tmp
=.
/conf$$
-$RANDOM
25449 (umask 077 && mkdir "$tmp")
25450 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
25453 # Set up the scripts for CONFIG_FILES section.
25454 # No need to generate them if there are no CONFIG_FILES.
25455 # This happens for instance with `./config.status config.h'.
25456 if test -n "$CONFIG_FILES"; then
25459 ac_cr
=`echo X | tr X '\015'`
25460 # On cygwin, bash can eat \r inside `` if the user requested igncr.
25461 # But we know of no other shell where ac_cr would be empty at this
25462 # point, so we can use a bashism as a fallback.
25463 if test "x$ac_cr" = x
; then
25464 eval ac_cr
=\$
\'\\r
\'
25466 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
25467 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
25470 ac_cs_awk_cr
=$ac_cr
25473 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
25478 echo "cat >conf$$subs.awk <<_ACEOF" &&
25479 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
25481 } >conf$$subs.sh ||
25482 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
25483 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
25485 for ac_last_try in false false false false false :; do
25486 . ./conf$$subs.sh ||
25487 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
25489 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
25490 if test $ac_delim_n = $ac_delim_num; then
25492 elif $ac_last_try; then
25493 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
25495 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
25498 rm -f conf$$subs.sh
25500 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25501 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
25505 s/^/S["/; s
/!.
*/"]=/
25515 s/\(.\{148\}\)..*/\1/
25517 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
25522 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
25529 s/\(.\{148\}\)..*/\1/
25531 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
25535 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
25540 ' <conf$$subs.awk | sed '
25545 ' >>$CONFIG_STATUS || ac_write_fail=1
25546 rm -f conf$$subs.awk
25547 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25549 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
25550 for (key in S) S_is_set[key] = 1
25556 nfields = split(line, field, "@
")
25558 len = length(field[1])
25559 for (i = 2; i < nfields; i++) {
25561 keylen = length(key)
25562 if (S_is_set[key]) {
25564 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
25565 len += length(value) + length(field[++i])
25576 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
25577 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
25578 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
25581 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
25582 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
25585 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
25586 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
25587 # trailing colons and then remove the whole line if VPATH becomes empty
25588 # (actually we leave an empty line to preserve line numbers).
25589 if test "x
$srcdir" = x.; then
25590 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
25608 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
25609 fi # test -n "$CONFIG_FILES"
25611 # Set up the scripts for CONFIG_HEADERS section.
25612 # No need to generate them if there are no CONFIG_HEADERS.
25613 # This happens for instance with `./config.status Makefile'.
25614 if test -n "$CONFIG_HEADERS"; then
25615 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
25619 # Transform confdefs.h into an awk script `defines.awk', embedded as
25620 # here-document in config.status, that substitutes the proper values into
25621 # config.h.in to produce config.h.
25623 # Create a delimiter string that does not exist in confdefs.h, to ease
25624 # handling of long lines.
25626 for ac_last_try in false false :; do
25627 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
25628 if test -z "$ac_tt"; then
25630 elif $ac_last_try; then
25631 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
25633 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
25637 # For the awk script, D is an array of macro values keyed by name,
25638 # likewise P contains macro parameters if any. Preserve backslash
25639 # newline sequences.
25641 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
25643 s/.\{148\}/&'"$ac_delim"'/g
25646 s/^[ ]*#[ ]*define[ ][ ]*/ /
25653 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
25655 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
25659 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
25660 D["\
1"]=" \
3\\\\\\n
"\\/p
25662 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
25667 s/.\{148\}/&'"$ac_delim"'/g
25672 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
25675 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
25677 ' <confdefs.h | sed '
25678 s/'"$ac_delim"'/"\\\
25679 "/g' >>$CONFIG_STATUS || ac_write_fail=1
25681 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25682 for (key in D) D_is_set[key] = 1
25685 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
25687 split(line, arg, " ")
25688 if (arg[1] == "#") {
25692 defundef
= substr
(arg
[1], 2)
25695 split(mac1
, mac2
, "(") #)
25697 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
25698 if (D_is_set
[macro
]) {
25699 # Preserve the white space surrounding the "#".
25700 print prefix
"define", macro P
[macro
] D
[macro
]
25703 # Replace #undef with comments. This is necessary, for example,
25704 # in the case of _POSIX_SOURCE, which is predefined and required
25705 # on some systems where configure will not decide to define it.
25706 if (defundef
== "undef") {
25707 print
"/*", prefix defundef
, macro
, "*/"
25715 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
25716 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
25717 fi # test -n "$CONFIG_HEADERS"
25720 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
25725 :[FHLC
]) ac_mode
=$ac_tag; continue;;
25727 case $ac_mode$ac_tag in
25729 :L
* | :C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
25730 :[FH
]-) ac_tag
=-:-;;
25731 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
25748 -) ac_f
="$ac_tmp/stdin";;
25749 *) # Look for the file first in the build tree, then in the source tree
25750 # (if the path is not absolute). The absolute path cannot be DOS-style,
25751 # because $ac_f cannot contain `:'.
25755 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
25757 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
25759 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
25760 as_fn_append ac_file_inputs
" '$ac_f'"
25763 # Let's still pretend it is `configure' which instantiates (i.e., don't
25764 # use $as_me), people would be surprised to read:
25765 # /* config.h. Generated by config.status. */
25766 configure_input
='Generated from '`
25767 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
25769 if test x
"$ac_file" != x
-; then
25770 configure_input
="$ac_file. $configure_input"
25771 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
25772 $as_echo "$as_me: creating $ac_file" >&6;}
25774 # Neutralize special characters interpreted by sed in replacement strings.
25775 case $configure_input in #(
25776 *\
&* | *\
|* | *\\* )
25777 ac_sed_conf_input
=`$as_echo "$configure_input" |
25778 sed 's/[\\\\&|]/\\\\&/g'`;; #(
25779 *) ac_sed_conf_input
=$configure_input;;
25783 *:-:* | *:-) cat >"$ac_tmp/stdin" \
25784 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
25789 ac_dir
=`$as_dirname -- "$ac_file" ||
25790 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25791 X"$ac_file" : 'X\(//\)[^/]' \| \
25792 X"$ac_file" : 'X\(//\)$' \| \
25793 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
25794 $as_echo X"$ac_file" |
25795 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
25799 /^X\(\/\/\)[^/].*/{
25812 as_dir
="$ac_dir"; as_fn_mkdir_p
25816 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
25818 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
25819 # A ".." for each directory in $ac_dir_suffix.
25820 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
25821 case $ac_top_builddir_sub in
25822 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
25823 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
25826 ac_abs_top_builddir
=$ac_pwd
25827 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
25828 # for backward compatibility:
25829 ac_top_builddir
=$ac_top_build_prefix
25832 .
) # We are building in place.
25834 ac_top_srcdir
=$ac_top_builddir_sub
25835 ac_abs_top_srcdir
=$ac_pwd ;;
25836 [\\/]* | ?
:[\\/]* ) # Absolute name.
25837 ac_srcdir
=$srcdir$ac_dir_suffix;
25838 ac_top_srcdir
=$srcdir
25839 ac_abs_top_srcdir
=$srcdir ;;
25840 *) # Relative name.
25841 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
25842 ac_top_srcdir
=$ac_top_build_prefix$srcdir
25843 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
25845 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
25855 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
25856 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
25858 ac_MKDIR_P
=$MKDIR_P
25860 [\\/$
]* | ?
:[\\/]* ) ;;
25861 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
25865 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
25866 # If the template does not know about datarootdir, expand it.
25867 # FIXME: This hack should be removed a few years after 2.60.
25868 ac_datarootdir_hack
=; ac_datarootdir_seen
=
25879 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
25880 *datarootdir
*) ac_datarootdir_seen
=yes;;
25881 *@datadir@
*|*@docdir@
*|*@infodir@
*|*@localedir@
*|*@mandir@
*)
25882 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
25883 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
25885 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25886 ac_datarootdir_hack='
25887 s&@datadir@&$datadir&g
25888 s&@docdir@&$docdir&g
25889 s&@infodir@&$infodir&g
25890 s&@localedir@&$localedir&g
25891 s&@mandir@&$mandir&g
25892 s&\\\${datarootdir}&$datarootdir&g' ;;
25896 # Neutralize VPATH when `$srcdir' = `.'.
25897 # Shell code in configure.ac might set extrasub.
25898 # FIXME: do we really want to maintain this feature?
25899 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25900 ac_sed_extra="$ac_vpsub
25903 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
25905 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
25906 s
|@configure_input@
|$ac_sed_conf_input|;t t
25907 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
25908 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
25909 s
&@srcdir@
&$ac_srcdir&;t t
25910 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
25911 s
&@top_srcdir@
&$ac_top_srcdir&;t t
25912 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
25913 s
&@builddir@
&$ac_builddir&;t t
25914 s
&@abs_builddir@
&$ac_abs_builddir&;t t
25915 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
25916 s
&@INSTALL@
&$ac_INSTALL&;t t
25917 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
25918 $ac_datarootdir_hack
25920 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
25921 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
25923 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
25924 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
25925 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
25926 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
25927 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
25928 which seems to be undefined. Please make sure it is defined" >&5
25929 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
25930 which seems to be undefined. Please make sure it is defined" >&2;}
25932 rm -f "$ac_tmp/stdin"
25934 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
25935 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
25937 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
25943 if test x"$ac_file" != x-; then
25945 $as_echo "/* $configure_input */" \
25946 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
25947 } >"$ac_tmp/config.h" \
25948 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
25949 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
25950 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
25951 $as_echo "$as_me: $ac_file is unchanged" >&6;}
25954 mv "$ac_tmp/config.h" "$ac_file" \
25955 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
25958 $as_echo "/* $configure_input */" \
25959 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
25960 || as_fn_error $? "could not create -" "$LINENO" 5
25962 # Compute "$ac_file"'s index
in $config_headers.
25965 for _am_header
in $config_headers :; do
25966 case $_am_header in
25967 $_am_arg | $_am_arg:* )
25970 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
25973 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
25974 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25975 X"$_am_arg" : 'X\(//\)[^/]' \| \
25976 X"$_am_arg" : 'X\(//\)$' \| \
25977 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
25978 $as_echo X"$_am_arg" |
25979 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
25983 /^X\(\/\/\)[^/].*/{
25995 s/.*/./; q'`/stamp
-h$_am_stamp_count
25998 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
25999 $as_echo "$as_me: executing $ac_file commands" >&6;}
26004 case $ac_file$ac_mode in
26005 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" || {
26006 # Older Autoconf quotes --file arguments for eval, but not when files
26007 # are listed without --file. Let's play safe and only enable the eval
26008 # if we detect the quoting.
26009 case $CONFIG_FILES in
26010 *\'*) eval set x
"$CONFIG_FILES" ;;
26011 *) set x
$CONFIG_FILES ;;
26016 # Strip MF so we end up with the name of the file.
26017 mf
=`echo "$mf" | sed -e 's/:.*$//'`
26018 # Check whether this is an Automake generated Makefile or not.
26019 # We used to match only the files named 'Makefile.in', but
26020 # some people rename them; so instead we look at the file content.
26021 # Grep'ing the first line is not enough: some people post-process
26022 # each Makefile.in and add a new line on top of each file to say so.
26023 # Grep'ing the whole file is not good either: AIX grep has a line
26024 # limit of 2048, but all sed's we know have understand at least 4000.
26025 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X
>/dev
/null
2>&1; then
26026 dirpart
=`$as_dirname -- "$mf" ||
26027 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26028 X"$mf" : 'X\(//\)[^/]' \| \
26029 X"$mf" : 'X\(//\)$' \| \
26030 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
26032 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
26036 /^X\(\/\/\)[^/].*/{
26052 # Extract the definition of DEPDIR, am__include, and am__quote
26053 # from the Makefile without running 'make'.
26054 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
26055 test -z "$DEPDIR" && continue
26056 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
26057 test -z "$am__include" && continue
26058 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
26059 # Find all dependency output files, they are included files with
26060 # $(DEPDIR) in their names. We invoke sed twice because it is the
26061 # simplest approach to changing $(DEPDIR) to its actual value in the
26063 for file in `sed -n "
26064 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
26065 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
26066 # Make sure the directory exists.
26067 test -f "$dirpart/$file" && continue
26068 fdir
=`$as_dirname -- "$file" ||
26069 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26070 X"$file" : 'X\(//\)[^/]' \| \
26071 X"$file" : 'X\(//\)$' \| \
26072 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
26073 $as_echo X"$file" |
26074 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
26078 /^X\(\/\/\)[^/].*/{
26091 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
26092 # echo "creating $dirpart/$file"
26093 echo '# dummy' > "$dirpart/$file"
26100 # See if we are running on zsh, and set the options that allow our
26101 # commands through without removal of \ escapes.
26102 if test -n "${ZSH_VERSION+set}"; then
26103 setopt NO_GLOB_SUBST
26107 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
26110 cat <<_LT_EOF >> "$cfgfile"
26112 # Generated automatically by $as_me ($PACKAGE) $VERSION
26113 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
26114 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
26116 # Provide generalized library-building support services.
26117 # Written by Gordon Matzigkeit, 1996
26119 # Copyright (C) 2014 Free Software Foundation, Inc.
26120 # This is free software; see the source for copying conditions. There is NO
26121 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
26123 # GNU Libtool is free software; you can redistribute it and/or modify
26124 # it under the terms of the GNU General Public License as published by
26125 # the Free Software Foundation; either version 2 of of the License, or
26126 # (at your option) any later version.
26128 # As a special exception to the GNU General Public License, if you
26129 # distribute this file as part of a program or library that is built
26130 # using GNU Libtool, you may include this file under the same
26131 # distribution terms that you use for the rest of that program.
26133 # GNU Libtool is distributed in the hope that it will be useful, but
26134 # WITHOUT ANY WARRANTY; without even the implied warranty of
26135 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
26136 # GNU General Public License for more details.
26138 # You should have received a copy of the GNU General Public License
26139 # along with this program. If not, see <http://www.gnu.org/licenses/>.
26142 # The names of the tagged configurations supported by this script.
26143 available_tags='CXX '
26145 # Configured defaults for sys_lib_dlsearch_path munging.
26146 : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
26148 # ### BEGIN LIBTOOL CONFIG
26150 # Which release of libtool.m4 was used?
26151 macro_version=$macro_version
26152 macro_revision=$macro_revision
26154 # Whether or not to build static libraries.
26155 build_old_libs=$enable_static
26157 # Whether or not to build shared libraries.
26158 build_libtool_libs=$enable_shared
26160 # What type of objects to build.
26163 # Whether or not to optimize for fast installation.
26164 fast_install=$enable_fast_install
26166 # Shared archive member basename,for filename based shared library versioning on AIX.
26167 shared_archive_member_spec=$shared_archive_member_spec
26169 # Shell to use when invoking shell scripts.
26172 # An echo program that protects backslashes.
26175 # The PATH separator for the build system.
26176 PATH_SEPARATOR=$lt_PATH_SEPARATOR
26179 host_alias=$host_alias
26183 # The build system.
26184 build_alias=$build_alias
26188 # A sed program that does not truncate output.
26191 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
26192 Xsed="\$SED -e 1s/^X//"
26194 # A grep program that handles long lines.
26200 # A literal string matcher.
26203 # A BSD- or MS-compatible name lister.
26206 # Whether we need soft or hard links.
26209 # What is the maximum length of a command?
26210 max_cmd_len=$max_cmd_len
26212 # Object file suffix (normally "o").
26215 # Executable file suffix (normally "").
26218 # whether the shell understands "unset".
26221 # turn spaces into newlines.
26224 # turn newlines into spaces.
26227 # convert \$build file names to \$host format.
26228 to_host_file_cmd=$lt_cv_to_host_file_cmd
26230 # convert \$build files to toolchain format.
26231 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
26233 # An object symbol dumper.
26234 OBJDUMP=$lt_OBJDUMP
26236 # Method to check whether dependent libraries are shared objects.
26237 deplibs_check_method=$lt_deplibs_check_method
26239 # Command to use when deplibs_check_method = "file_magic".
26240 file_magic_cmd=$lt_file_magic_cmd
26242 # How to find potential files when deplibs_check_method = "file_magic".
26243 file_magic_glob=$lt_file_magic_glob
26245 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
26246 want_nocaseglob=$lt_want_nocaseglob
26248 # DLL creation program.
26249 DLLTOOL=$lt_DLLTOOL
26251 # Command to associate shared and link libraries.
26252 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
26257 # Flags to create an archive.
26258 AR_FLAGS=$lt_AR_FLAGS
26260 # How to feed a file listing to the archiver.
26261 archiver_list_spec=$lt_archiver_list_spec
26263 # A symbol stripping program.
26266 # Commands used to install an old-style archive.
26268 old_postinstall_cmds=$lt_old_postinstall_cmds
26269 old_postuninstall_cmds=$lt_old_postuninstall_cmds
26271 # Whether to use a lock for old archive extraction.
26272 lock_old_archive_extraction=$lock_old_archive_extraction
26277 # LTCC compiler flags.
26278 LTCFLAGS=$lt_CFLAGS
26280 # Take the output of nm and produce a listing of raw symbols and C names.
26281 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
26283 # Transform the output of nm in a proper C declaration.
26284 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
26286 # Transform the output of nm into a list of symbols to manually relocate.
26287 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
26289 # Transform the output of nm in a C name address pair.
26290 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
26292 # Transform the output of nm in a C name address pair when lib prefix is needed.
26293 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
26295 # The name lister interface.
26296 nm_interface=$lt_lt_cv_nm_interface
26298 # Specify filename containing input files for \$NM.
26299 nm_file_list_spec=$lt_nm_file_list_spec
26301 # The root where to search for dependent libraries,and where our libraries should be installed.
26302 lt_sysroot=$lt_sysroot
26304 # Command to truncate a binary pipe.
26305 lt_truncate_bin=$lt_lt_cv_truncate_bin
26307 # The name of the directory that contains temporary libtool files.
26310 # Used to examine libraries when file_magic_cmd begins with "file".
26311 MAGIC_CMD=$MAGIC_CMD
26313 # Must we lock files when doing compilation?
26314 need_locks=$lt_need_locks
26317 MANIFEST_TOOL=$lt_MANIFEST_TOOL
26319 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
26320 DSYMUTIL=$lt_DSYMUTIL
26322 # Tool to change global to local symbols on Mac OS X.
26325 # Tool to manipulate fat objects and archives on Mac OS X.
26328 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
26331 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
26332 OTOOL64=$lt_OTOOL64
26334 # Old archive suffix (normally "a").
26337 # Shared library suffix (normally ".so").
26338 shrext_cmds=$lt_shrext_cmds
26340 # The commands to extract the exported symbol list from a shared archive.
26341 extract_expsyms_cmds=$lt_extract_expsyms_cmds
26343 # Variables whose values should be saved in libtool wrapper scripts and
26344 # restored at link time.
26345 variables_saved_for_relink=$lt_variables_saved_for_relink
26347 # Do we need the "lib" prefix for modules?
26348 need_lib_prefix=$need_lib_prefix
26350 # Do we need a version for libraries?
26351 need_version=$need_version
26353 # Library versioning type.
26354 version_type=$version_type
26356 # Shared library runtime path variable.
26357 runpath_var=$runpath_var
26359 # Shared library path variable.
26360 shlibpath_var=$shlibpath_var
26362 # Is shlibpath searched before the hard-coded library search path?
26363 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
26365 # Format of library name prefix.
26366 libname_spec=$lt_libname_spec
26368 # List of archive names. First name is the real one, the rest are links.
26369 # The last name is the one that the linker finds with -lNAME
26370 library_names_spec=$lt_library_names_spec
26372 # The coded name of the library, if different from the real name.
26373 soname_spec=$lt_soname_spec
26375 # Permission mode override for installation of shared libraries.
26376 install_override_mode=$lt_install_override_mode
26378 # Command to use after installation of a shared archive.
26379 postinstall_cmds=$lt_postinstall_cmds
26381 # Command to use after uninstallation of a shared archive.
26382 postuninstall_cmds=$lt_postuninstall_cmds
26384 # Commands used to finish a libtool library installation in a directory.
26385 finish_cmds=$lt_finish_cmds
26387 # As "finish_cmds", except a single script fragment to be evaled but
26389 finish_eval=$lt_finish_eval
26391 # Whether we should hardcode library paths into libraries.
26392 hardcode_into_libs=$hardcode_into_libs
26394 # Compile-time system search path for libraries.
26395 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
26397 # Detected run-time system search path for libraries.
26398 sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
26400 # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
26401 configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
26403 # Whether dlopen is supported.
26404 dlopen_support=$enable_dlopen
26406 # Whether dlopen of programs is supported.
26407 dlopen_self=$enable_dlopen_self
26409 # Whether dlopen of statically linked programs is supported.
26410 dlopen_self_static=$enable_dlopen_self_static
26412 # Commands to strip libraries.
26413 old_striplib=$lt_old_striplib
26414 striplib=$lt_striplib
26417 # The linker used to build libraries.
26420 # How to create reloadable object files.
26421 reload_flag=$lt_reload_flag
26422 reload_cmds=$lt_reload_cmds
26424 # Commands used to build an old-style archive.
26425 old_archive_cmds=$lt_old_archive_cmds
26427 # A language specific compiler.
26430 # Is the compiler the GNU compiler?
26433 # Compiler flag to turn off builtin functions.
26434 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
26436 # Additional compiler flags for building library objects.
26437 pic_flag=$lt_lt_prog_compiler_pic
26439 # How to pass a linker flag through the compiler.
26440 wl=$lt_lt_prog_compiler_wl
26442 # Compiler flag to prevent dynamic linking.
26443 link_static_flag=$lt_lt_prog_compiler_static
26445 # Does compiler simultaneously support -c and -o options?
26446 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
26448 # Whether or not to add -lc for building shared libraries.
26449 build_libtool_need_lc=$archive_cmds_need_lc
26451 # Whether or not to disallow shared libs when runtime libs are static.
26452 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
26454 # Compiler flag to allow reflexive dlopens.
26455 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
26457 # Compiler flag to generate shared objects directly from archives.
26458 whole_archive_flag_spec=$lt_whole_archive_flag_spec
26460 # Whether the compiler copes with passing no objects directly.
26461 compiler_needs_object=$lt_compiler_needs_object
26463 # Create an old-style archive from a shared archive.
26464 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
26466 # Create a temporary old-style archive to link instead of a shared archive.
26467 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
26469 # Commands used to build a shared archive.
26470 archive_cmds=$lt_archive_cmds
26471 archive_expsym_cmds=$lt_archive_expsym_cmds
26473 # Commands used to build a loadable module if different from building
26474 # a shared archive.
26475 module_cmds=$lt_module_cmds
26476 module_expsym_cmds=$lt_module_expsym_cmds
26478 # Whether we are building with GNU ld or not.
26479 with_gnu_ld=$lt_with_gnu_ld
26481 # Flag that allows shared libraries with undefined symbols to be built.
26482 allow_undefined_flag=$lt_allow_undefined_flag
26484 # Flag that enforces no undefined symbols.
26485 no_undefined_flag=$lt_no_undefined_flag
26487 # Flag to hardcode \$libdir into a binary during linking.
26488 # This must work even if \$libdir does not exist
26489 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
26491 # Whether we need a single "-rpath" flag with a separated argument.
26492 hardcode_libdir_separator=$lt_hardcode_libdir_separator
26494 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
26495 # DIR into the resulting binary.
26496 hardcode_direct=$hardcode_direct
26498 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
26499 # DIR into the resulting binary and the resulting library dependency is
26500 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
26501 # library is relocated.
26502 hardcode_direct_absolute=$hardcode_direct_absolute
26504 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
26505 # into the resulting binary.
26506 hardcode_minus_L=$hardcode_minus_L
26508 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
26509 # into the resulting binary.
26510 hardcode_shlibpath_var=$hardcode_shlibpath_var
26512 # Set to "yes" if building a shared library automatically hardcodes DIR
26513 # into the library and all subsequent libraries and executables linked
26515 hardcode_automatic=$hardcode_automatic
26517 # Set to yes if linker adds runtime paths of dependent libraries
26518 # to runtime path list.
26519 inherit_rpath=$inherit_rpath
26521 # Whether libtool must link a program against all its dependency libraries.
26522 link_all_deplibs=$link_all_deplibs
26524 # Set to "yes" if exported symbols are required.
26525 always_export_symbols=$always_export_symbols
26527 # The commands to list exported symbols.
26528 export_symbols_cmds=$lt_export_symbols_cmds
26530 # Symbols that should not be listed in the preloaded symbols.
26531 exclude_expsyms=$lt_exclude_expsyms
26533 # Symbols that must always be exported.
26534 include_expsyms=$lt_include_expsyms
26536 # Commands necessary for linking programs (against libraries) with templates.
26537 prelink_cmds=$lt_prelink_cmds
26539 # Commands necessary for finishing linking programs.
26540 postlink_cmds=$lt_postlink_cmds
26542 # Specify filename containing input files.
26543 file_list_spec=$lt_file_list_spec
26545 # How to hardcode a shared library path into an executable.
26546 hardcode_action=$hardcode_action
26548 # The directories searched by this compiler when creating a shared library.
26549 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
26551 # Dependencies to place before and after the objects being linked to
26552 # create a shared library.
26553 predep_objects=$lt_predep_objects
26554 postdep_objects=$lt_postdep_objects
26555 predeps=$lt_predeps
26556 postdeps=$lt_postdeps
26558 # The library search path used internally by the compiler when linking
26559 # a shared library.
26560 compiler_lib_search_path=$lt_compiler_lib_search_path
26562 # ### END LIBTOOL CONFIG
26566 cat <<'_LT_EOF' >> "$cfgfile"
26568 # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
26570 # func_munge_path_list VARIABLE PATH
26571 # -----------------------------------
26572 # VARIABLE is name of variable containing _space_ separated list of
26573 # directories to be munged by the contents of PATH, which is string
26576 # string "DIR[ DIR]" will be prepended to VARIABLE
26578 # string "DIR[ DIR]" will be appended to VARIABLE
26579 # "DIRP[:DIRP]::[DIRA:]DIRA"
26580 # string "DIRP[ DIRP]" will be prepended to VARIABLE and string
26581 # "DIRA[ DIRA]" will be appended to VARIABLE
26583 # VARIABLE will be replaced by "DIR[ DIR]"
26584 func_munge_path_list ()
26590 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
26593 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
26596 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
26597 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
26600 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
26606 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
26607 func_cc_basename ()
26609 for cc_temp in $*""; do
26611 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
26612 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
26617 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
26621 # ### END FUNCTIONS SHARED WITH CONFIGURE
26627 cat <<\_LT_EOF
>> "$cfgfile"
26628 # AIX sometimes has problems with the GCC collect2 program. For some
26629 # reason, if we set the COLLECT_NAMES environment variable, the problems
26630 # vanish in a puff of smoke.
26631 if test set != "${COLLECT_NAMES+set}"; then
26633 export COLLECT_NAMES
26640 ltmain
=$ac_aux_dir/ltmain.sh
26643 # We use sed instead of cat because bash on DJGPP gets confused if
26644 # if finds mixed CR/LF and LF-only lines. Since sed operates in
26645 # text mode, it properly converts lines to CR/LF. This bash problem
26646 # is reportedly fixed, but why not run on old versions too?
26647 sed '$q' "$ltmain" >> "$cfgfile" \
26648 || (rm -f "$cfgfile"; exit 1)
26650 mv -f "$cfgfile" "$ofile" ||
26651 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
26655 cat <<_LT_EOF >> "$ofile"
26657 # ### BEGIN LIBTOOL TAG CONFIG: CXX
26659 # The linker used to build libraries.
26662 # How to create reloadable object files.
26663 reload_flag=$lt_reload_flag_CXX
26664 reload_cmds=$lt_reload_cmds_CXX
26666 # Commands used to build an old-style archive.
26667 old_archive_cmds=$lt_old_archive_cmds_CXX
26669 # A language specific compiler.
26670 CC=$lt_compiler_CXX
26672 # Is the compiler the GNU compiler?
26675 # Compiler flag to turn off builtin functions.
26676 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
26678 # Additional compiler flags for building library objects.
26679 pic_flag=$lt_lt_prog_compiler_pic_CXX
26681 # How to pass a linker flag through the compiler.
26682 wl=$lt_lt_prog_compiler_wl_CXX
26684 # Compiler flag to prevent dynamic linking.
26685 link_static_flag=$lt_lt_prog_compiler_static_CXX
26687 # Does compiler simultaneously support -c and -o options?
26688 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
26690 # Whether or not to add -lc for building shared libraries.
26691 build_libtool_need_lc=$archive_cmds_need_lc_CXX
26693 # Whether or not to disallow shared libs when runtime libs are static.
26694 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
26696 # Compiler flag to allow reflexive dlopens.
26697 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
26699 # Compiler flag to generate shared objects directly from archives.
26700 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
26702 # Whether the compiler copes with passing no objects directly.
26703 compiler_needs_object=$lt_compiler_needs_object_CXX
26705 # Create an old-style archive from a shared archive.
26706 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
26708 # Create a temporary old-style archive to link instead of a shared archive.
26709 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
26711 # Commands used to build a shared archive.
26712 archive_cmds=$lt_archive_cmds_CXX
26713 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
26715 # Commands used to build a loadable module if different from building
26716 # a shared archive.
26717 module_cmds=$lt_module_cmds_CXX
26718 module_expsym_cmds=$lt_module_expsym_cmds_CXX
26720 # Whether we are building with GNU ld or not.
26721 with_gnu_ld=$lt_with_gnu_ld_CXX
26723 # Flag that allows shared libraries with undefined symbols to be built.
26724 allow_undefined_flag=$lt_allow_undefined_flag_CXX
26726 # Flag that enforces no undefined symbols.
26727 no_undefined_flag=$lt_no_undefined_flag_CXX
26729 # Flag to hardcode \$libdir into a binary during linking.
26730 # This must work even if \$libdir does not exist
26731 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
26733 # Whether we need a single "-rpath" flag with a separated argument.
26734 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
26736 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
26737 # DIR into the resulting binary.
26738 hardcode_direct=$hardcode_direct_CXX
26740 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
26741 # DIR into the resulting binary and the resulting library dependency is
26742 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
26743 # library is relocated.
26744 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
26746 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
26747 # into the resulting binary.
26748 hardcode_minus_L=$hardcode_minus_L_CXX
26750 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
26751 # into the resulting binary.
26752 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
26754 # Set to "yes" if building a shared library automatically hardcodes DIR
26755 # into the library and all subsequent libraries and executables linked
26757 hardcode_automatic=$hardcode_automatic_CXX
26759 # Set to yes if linker adds runtime paths of dependent libraries
26760 # to runtime path list.
26761 inherit_rpath=$inherit_rpath_CXX
26763 # Whether libtool must link a program against all its dependency libraries.
26764 link_all_deplibs=$link_all_deplibs_CXX
26766 # Set to "yes" if exported symbols are required.
26767 always_export_symbols=$always_export_symbols_CXX
26769 # The commands to list exported symbols.
26770 export_symbols_cmds=$lt_export_symbols_cmds_CXX
26772 # Symbols that should not be listed in the preloaded symbols.
26773 exclude_expsyms=$lt_exclude_expsyms_CXX
26775 # Symbols that must always be exported.
26776 include_expsyms=$lt_include_expsyms_CXX
26778 # Commands necessary for linking programs (against libraries) with templates.
26779 prelink_cmds=$lt_prelink_cmds_CXX
26781 # Commands necessary for finishing linking programs.
26782 postlink_cmds=$lt_postlink_cmds_CXX
26784 # Specify filename containing input files.
26785 file_list_spec=$lt_file_list_spec_CXX
26787 # How to hardcode a shared library path into an executable.
26788 hardcode_action=$hardcode_action_CXX
26790 # The directories searched by this compiler when creating a shared library.
26791 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
26793 # Dependencies to place before and after the objects being linked to
26794 # create a shared library.
26795 predep_objects=$lt_predep_objects_CXX
26796 postdep_objects=$lt_postdep_objects_CXX
26797 predeps=$lt_predeps_CXX
26798 postdeps=$lt_postdeps_CXX
26800 # The library search path used internally by the compiler when linking
26801 # a shared library.
26802 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
26804 # ### END LIBTOOL TAG CONFIG: CXX
26815 ac_clean_files
=$ac_clean_files_save
26817 test $ac_write_fail = 0 ||
26818 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
26821 # configure is writing to config.log, and then calls config.status.
26822 # config.status does its own redirection, appending to config.log.
26823 # Unfortunately, on DOS this fails, as config.log is still kept open
26824 # by configure, so config.status won't be able to write to it; its
26825 # output is simply discarded. So we exec the FD to /dev/null,
26826 # effectively closing config.log, so it can be properly (re)opened and
26827 # appended to by config.status. When coming back to configure, we
26828 # need to make the FD available again.
26829 if test "$no_create" != yes; then
26831 ac_config_status_args
=
26832 test "$silent" = yes &&
26833 ac_config_status_args
="$ac_config_status_args --quiet"
26835 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
26837 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
26838 # would make configure fail if this is the last instruction.
26839 $ac_cs_success || as_fn_exit
1
26841 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
26842 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
26843 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}