2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Cycript 0.9.
5 # Report bugs to <saurik@saurik.com>.
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
14 # Copyright (C) 2009-2015 Jay Freeman (saurik)
15 ## -------------------- ##
16 ## M4sh Initialization. ##
17 ## -------------------- ##
19 # Be more Bourne compatible
20 DUALCASE
=1; export DUALCASE
# for MKS sh
21 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
24 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25 # is contrary to our usage. Disable this feature.
26 alias -g '${1+"$@"}'='"$@"'
29 case `(set -o) 2>/dev/null` in #(
41 # Printing a long string crashes Solaris 7 /usr/bin/printf.
42 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45 # Prefer a ksh shell builtin over an external printf program on Solaris,
46 # but without wasting forks for bash or zsh.
47 if test -z "$BASH_VERSION$ZSH_VERSION" \
48 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo_n='print
-rn --'
51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
55 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
57 as_echo_n='/usr
/ucb
/echo -n'
59 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
64 expr "X$arg" : "X\\(.*\\)$as_nl";
65 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
67 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
70 as_echo_n='sh
-c $as_echo_n_body as_echo
'
73 as_echo='sh
-c $as_echo_body as_echo
'
76 # The user is always right.
77 if test "${PATH_SEPARATOR+set}" != set; then
79 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
87 # We need space, tab and new line, in precisely that order. Quoting is
88 # there to prevent editors from complaining about space-tab.
89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
90 # splitting by setting IFS to empty value.)
93 # Find who we are. Look in the path if we contain no directory separator.
96 *[\\/]* ) as_myself=$0 ;;
97 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
101 test -z "$as_dir" && as_dir=.
102 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
108 # We did not find ourselves, most probably we were run as `sh COMMAND'
109 # in which case we are not to be found in the path.
110 if test "x$as_myself" = x
; then
113 if test ! -f "$as_myself"; then
114 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
118 # Unset variables that we do not need and which cause bugs (e.g. in
119 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
120 # suppresses any "Segmentation fault" message there. '((' could
121 # trigger a bug in pdksh 5.2.14.
122 for as_var
in BASH_ENV ENV MAIL MAILPATH
123 do eval test x\
${$as_var+set} = xset \
124 && ( (unset $as_var) || exit 1) >/dev
/null
2>&1 && unset $as_var || :
137 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
139 # Use a proper internal environment variable to ensure we don't fall
140 # into an infinite loop, continuously re-executing ourselves.
141 if test x
"${_as_can_reexec}" != xno
&& test "x$CONFIG_SHELL" != x
; then
142 _as_can_reexec
=no
; export _as_can_reexec
;
143 # We cannot yet assume a decent shell, so we have to provide a
144 # neutralization value for shells without unset; and this also
145 # works around shells that cannot unset nonexistent variables.
146 # Preserve -v and -x to the replacement shell.
149 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
151 *v
*x
* | *x
*v
* ) as_opts
=-vx ;;
156 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
157 # Admittedly, this is quite paranoid, since all the known shells bail
158 # out after a failed `exec'.
159 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
162 # We don't want this to propagate to other subprocesses.
163 { _as_can_reexec
=; unset _as_can_reexec
;}
164 if test "x$CONFIG_SHELL" = x
; then
165 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
168 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
169 # is contrary to our usage. Disable this feature.
170 alias -g '\${1+\"\$@\"}'='\"\$@\"'
173 case \`(set -o) 2>/dev/null\` in #(
181 as_required
="as_fn_return () { (exit \$1); }
182 as_fn_success () { as_fn_return 0; }
183 as_fn_failure () { as_fn_return 1; }
184 as_fn_ret_success () { return 0; }
185 as_fn_ret_failure () { return 1; }
188 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
189 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
190 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
191 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
192 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
195 exitcode=1; echo positional parameters were not saved.
197 test x\$exitcode = x0 || exit 1
199 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
200 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
201 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
202 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
204 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
205 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
206 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
207 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
208 PATH=/empty FPATH=/empty; export PATH FPATH
209 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
210 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
211 test \$(( 1 + 1 )) = 2 || exit 1"
212 if (eval "$as_required") 2>/dev
/null
; then :
217 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
220 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
222 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
225 test -z "$as_dir" && as_dir
=.
229 for as_base
in sh bash ksh sh5
; do
230 # Try only shells that exist, to save several forks.
231 as_shell
=$as_dir/$as_base
232 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
233 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
234 CONFIG_SHELL
=$as_shell as_have_required
=yes
235 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
243 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
244 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
245 CONFIG_SHELL
=$SHELL as_have_required
=yes
250 if test "x$CONFIG_SHELL" != x
; then :
252 # We cannot yet assume a decent shell, so we have to provide a
253 # neutralization value for shells without unset; and this also
254 # works around shells that cannot unset nonexistent variables.
255 # Preserve -v and -x to the replacement shell.
258 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
260 *v
*x
* | *x
*v
* ) as_opts
=-vx ;;
265 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
266 # Admittedly, this is quite paranoid, since all the known shells bail
267 # out after a failed `exec'.
268 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
272 if test x
$as_have_required = xno
; then :
273 $as_echo "$0: This script requires a shell more modern than all"
274 $as_echo "$0: the shells that I found on your system."
275 if test x
${ZSH_VERSION+set} = xset
; then
276 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
277 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
279 $as_echo "$0: Please tell bug-autoconf@gnu.org and saurik@saurik.com
280 $0: about your system, including any error possibly output
281 $0: before this message. Then install a modern shell, or
282 $0: manually run the script under such a shell if you do
289 SHELL
=${CONFIG_SHELL-/bin/sh}
291 # Unset more variables known to interfere with behavior of common tools.
292 CLICOLOR_FORCE
= GREP_OPTIONS
=
293 unset CLICOLOR_FORCE GREP_OPTIONS
295 ## --------------------- ##
296 ## M4sh Shell Functions. ##
297 ## --------------------- ##
300 # Portably unset VAR.
303 { eval $1=; unset $1;}
307 # as_fn_set_status STATUS
308 # -----------------------
309 # Set $? to STATUS, without forking.
317 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
327 # Create "$as_dir" as a directory, including parents if necessary.
332 -*) as_dir
=.
/$as_dir;;
334 test -d "$as_dir" || eval $as_mkdir_p || {
338 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
341 as_dirs
="'$as_qdir' $as_dirs"
342 as_dir
=`$as_dirname -- "$as_dir" ||
343 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
344 X"$as_dir" : 'X\(//\)[^/]' \| \
345 X"$as_dir" : 'X\(//\)$' \| \
346 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
347 $as_echo X"$as_dir" |
348 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
365 test -d "$as_dir" && break
367 test -z "$as_dirs" || eval "mkdir $as_dirs"
368 } || test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
373 # as_fn_executable_p FILE
374 # -----------------------
375 # Test if FILE is an executable regular file.
376 as_fn_executable_p
()
378 test -f "$1" && test -x "$1"
379 } # as_fn_executable_p
380 # as_fn_append VAR VALUE
381 # ----------------------
382 # Append the text in VALUE to the end of the definition contained in VAR. Take
383 # advantage of any shell optimizations that allow amortized linear growth over
384 # repeated appends, instead of the typical quadratic growth present in naive
386 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
387 eval 'as_fn_append ()
400 # Perform arithmetic evaluation on the ARGs, and store the result in the
401 # global $as_val. Take advantage of shells that can avoid forks. The arguments
402 # must be portable across $(()) and expr.
403 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
411 as_val
=`expr "$@" || test $? -eq 1`
416 # as_fn_error STATUS ERROR [LINENO LOG_FD]
417 # ----------------------------------------
418 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
419 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
420 # script with STATUS, using 1 if that was 0.
423 as_status
=$1; test $as_status -eq 0 && as_status
=1
425 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
426 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
428 $as_echo "$as_me: error: $2" >&2
429 as_fn_exit
$as_status
432 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
433 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
439 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
445 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
451 as_me
=`$as_basename -- "$0" ||
452 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
453 X"$0" : 'X\(//\)$' \| \
454 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
456 sed '/^.*\/\([^/][^/]*\)\/*$/{
470 # Avoid depending upon Character Ranges.
471 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
472 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
473 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
474 as_cr_digits
='0123456789'
475 as_cr_alnum
=$as_cr_Letters$as_cr_digits
478 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
479 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
480 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
481 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
482 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
494 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
498 chmod +x
"$as_me.lineno" ||
499 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
501 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
502 # already done that, so ensure we don't try to do so again and fall
503 # in an infinite loop. This has already happened in practice.
504 _as_can_reexec
=no
; export _as_can_reexec
505 # Don't try to exec as it changes $[0], causing all sort of problems
506 # (the dirname of $[0] is not the place where we might find the
507 # original and so on. Autoconf is especially sensitive to this).
509 # Exit status is that of the last command.
513 ECHO_C
= ECHO_N
= ECHO_T
=
514 case `echo -n x` in #(((((
516 case `echo 'xy\c'` in
517 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
519 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
526 rm -f conf$$ conf$$.exe conf$$.
file
527 if test -d conf$$.dir
; then
528 rm -f conf$$.dir
/conf$$.
file
531 mkdir conf$$.dir
2>/dev
/null
533 if (echo >conf$$.
file) 2>/dev
/null
; then
534 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
536 # ... but there are two gotchas:
537 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
538 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
539 # In both cases, we have to default to `cp -pR'.
540 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
542 elif ln conf$$.
file conf$$
2>/dev
/null
; then
550 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
551 rmdir conf$$.dir
2>/dev
/null
553 if mkdir -p .
2>/dev
/null
; then
554 as_mkdir_p
='mkdir -p "$as_dir"'
556 test -d .
/-p && rmdir .
/-p
561 as_executable_p
=as_fn_executable_p
563 # Sed expression to map a string onto a valid CPP name.
564 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
566 # Sed expression to map a string onto a valid variable name.
567 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
569 SHELL
=${CONFIG_SHELL-/bin/sh}
572 test -n "$DJDIR" || exec 7<&0 </dev
/null
576 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
577 # so uname gets run too.
578 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
583 ac_default_prefix
=/usr
/local
585 ac_config_libobj_dir
=.
592 # Identity of this package.
593 PACKAGE_NAME
='Cycript'
594 PACKAGE_TARNAME
='cycript'
595 PACKAGE_VERSION
='0.9'
596 PACKAGE_STRING
='Cycript 0.9'
597 PACKAGE_BUGREPORT
='saurik@saurik.com'
598 PACKAGE_URL
='http://www.cycript.org/'
600 ac_unique_file
="Console.cpp"
601 # Factoring default headers for most tests.
602 ac_includes_default
="\
604 #ifdef HAVE_SYS_TYPES_H
605 # include <sys/types.h>
607 #ifdef HAVE_SYS_STAT_H
608 # include <sys/stat.h>
614 # ifdef HAVE_STDLIB_H
619 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
624 #ifdef HAVE_STRINGS_H
625 # include <strings.h>
627 #ifdef HAVE_INTTYPES_H
628 # include <inttypes.h>
637 ac_subst_vars
='am__EXEEXT_FALSE
711 CXXCPPFLAGS_FOR_BUILD
734 am__fastdepOBJCXX_FALSE
735 am__fastdepOBJCXX_TRUE
764 MAINTAINER_MODE_FALSE
778 INSTALL_STRIP_PROGRAM
820 program_transform_name
833 enable_option_checking
835 enable_maintainer_mode
836 enable_dependency_tracking
850 ac_precious_vars
='build_alias
881 # Initialize some variables set by options.
883 ac_init_version
=false
884 ac_unrecognized_opts
=
886 # The variables have the same names as the options, with
887 # dashes changed to underlines.
895 program_transform_name
=s
,x
,x
,
903 # Installation directory options.
904 # These are left unexpanded so users can "make install exec_prefix=/foo"
905 # and all the variables that are supposed to be based on exec_prefix
906 # by default will actually change.
907 # Use braces instead of parens because sh, perl, etc. also accept them.
908 # (The list follows the same order as the GNU Coding Standards.)
909 bindir
='${exec_prefix}/bin'
910 sbindir
='${exec_prefix}/sbin'
911 libexecdir
='${exec_prefix}/libexec'
912 datarootdir
='${prefix}/share'
913 datadir
='${datarootdir}'
914 sysconfdir
='${prefix}/etc'
915 sharedstatedir
='${prefix}/com'
916 localstatedir
='${prefix}/var'
917 includedir
='${prefix}/include'
918 oldincludedir
='/usr/include'
919 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
920 infodir
='${datarootdir}/info'
925 libdir
='${exec_prefix}/lib'
926 localedir
='${datarootdir}/locale'
927 mandir
='${datarootdir}/man'
933 # If the previous option needs an argument, assign it.
934 if test -n "$ac_prev"; then
935 eval $ac_prev=\
$ac_option
941 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
946 # Accept the important Cygnus configure options, so we can diagnose typos.
948 case $ac_dashdash$ac_option in
952 -bindir | --bindir | --bindi | --bind | --bin | --bi)
954 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
957 -build | --build | --buil | --bui | --bu)
958 ac_prev
=build_alias
;;
959 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
960 build_alias
=$ac_optarg ;;
962 -cache-file | --cache-file | --cache-fil | --cache-fi \
963 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
964 ac_prev
=cache_file
;;
965 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
966 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
967 cache_file
=$ac_optarg ;;
970 cache_file
=config.cache
;;
972 -datadir | --datadir | --datadi | --datad)
974 -datadir=* | --datadir=* | --datadi=* | --datad=*)
975 datadir
=$ac_optarg ;;
977 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
978 | --dataroo | --dataro | --datar)
979 ac_prev
=datarootdir
;;
980 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
981 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
982 datarootdir
=$ac_optarg ;;
984 -disable-* | --disable-*)
985 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
986 # Reject names that are not valid shell variable names.
987 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
988 as_fn_error $?
"invalid feature name: $ac_useropt"
989 ac_useropt_orig
=$ac_useropt
990 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
991 case $ac_user_opts in
995 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
996 ac_unrecognized_sep
=', ';;
998 eval enable_
$ac_useropt=no
;;
1000 -docdir | --docdir | --docdi | --doc | --do)
1002 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1003 docdir
=$ac_optarg ;;
1005 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1007 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1008 dvidir
=$ac_optarg ;;
1010 -enable-* | --enable-*)
1011 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1012 # Reject names that are not valid shell variable names.
1013 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1014 as_fn_error $?
"invalid feature name: $ac_useropt"
1015 ac_useropt_orig
=$ac_useropt
1016 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1017 case $ac_user_opts in
1019 "enable_
$ac_useropt"
1021 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1022 ac_unrecognized_sep
=', ';;
1024 eval enable_
$ac_useropt=\
$ac_optarg ;;
1026 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1027 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1028 | --exec | --exe | --ex)
1029 ac_prev
=exec_prefix
;;
1030 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1031 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1032 | --exec=* | --exe=* | --ex=*)
1033 exec_prefix
=$ac_optarg ;;
1035 -gas | --gas | --ga | --g)
1036 # Obsolete; use --with-gas.
1039 -help | --help | --hel | --he | -h)
1040 ac_init_help
=long
;;
1041 -help=r
* | --help=r
* | --hel=r
* | --he=r
* | -hr*)
1042 ac_init_help
=recursive
;;
1043 -help=s
* | --help=s
* | --hel=s
* | --he=s
* | -hs*)
1044 ac_init_help
=short
;;
1046 -host | --host | --hos | --ho)
1047 ac_prev
=host_alias
;;
1048 -host=* | --host=* | --hos=* | --ho=*)
1049 host_alias
=$ac_optarg ;;
1051 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1053 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1055 htmldir
=$ac_optarg ;;
1057 -includedir | --includedir | --includedi | --included | --include \
1058 | --includ | --inclu | --incl | --inc)
1059 ac_prev
=includedir
;;
1060 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1061 | --includ=* | --inclu=* | --incl=* | --inc=*)
1062 includedir
=$ac_optarg ;;
1064 -infodir | --infodir | --infodi | --infod | --info | --inf)
1066 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1067 infodir
=$ac_optarg ;;
1069 -libdir | --libdir | --libdi | --libd)
1071 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1072 libdir
=$ac_optarg ;;
1074 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1075 | --libexe | --libex | --libe)
1076 ac_prev
=libexecdir
;;
1077 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1078 | --libexe=* | --libex=* | --libe=*)
1079 libexecdir
=$ac_optarg ;;
1081 -localedir | --localedir | --localedi | --localed | --locale)
1082 ac_prev
=localedir
;;
1083 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1084 localedir
=$ac_optarg ;;
1086 -localstatedir | --localstatedir | --localstatedi | --localstated \
1087 | --localstate | --localstat | --localsta | --localst | --locals)
1088 ac_prev
=localstatedir
;;
1089 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1090 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1091 localstatedir
=$ac_optarg ;;
1093 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1095 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1096 mandir
=$ac_optarg ;;
1098 -nfp | --nfp | --nf)
1099 # Obsolete; use --without-fp.
1102 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1103 | --no-cr | --no-c | -n)
1106 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1107 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1110 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1111 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1112 | --oldin | --oldi | --old | --ol | --o)
1113 ac_prev
=oldincludedir
;;
1114 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1115 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1116 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1117 oldincludedir
=$ac_optarg ;;
1119 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1121 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1122 prefix
=$ac_optarg ;;
1124 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1125 | --program-pre | --program-pr | --program-p)
1126 ac_prev
=program_prefix
;;
1127 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1128 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1129 program_prefix
=$ac_optarg ;;
1131 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1132 | --program-suf | --program-su | --program-s)
1133 ac_prev
=program_suffix
;;
1134 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1135 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1136 program_suffix
=$ac_optarg ;;
1138 -program-transform-name | --program-transform-name \
1139 | --program-transform-nam | --program-transform-na \
1140 | --program-transform-n | --program-transform- \
1141 | --program-transform | --program-transfor \
1142 | --program-transfo | --program-transf \
1143 | --program-trans | --program-tran \
1144 | --progr-tra | --program-tr | --program-t)
1145 ac_prev
=program_transform_name
;;
1146 -program-transform-name=* | --program-transform-name=* \
1147 | --program-transform-nam=* | --program-transform-na=* \
1148 | --program-transform-n=* | --program-transform-=* \
1149 | --program-transform=* | --program-transfor=* \
1150 | --program-transfo=* | --program-transf=* \
1151 | --program-trans=* | --program-tran=* \
1152 | --progr-tra=* | --program-tr=* | --program-t=*)
1153 program_transform_name
=$ac_optarg ;;
1155 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1157 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1158 pdfdir
=$ac_optarg ;;
1160 -psdir | --psdir | --psdi | --psd | --ps)
1162 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1165 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1166 | -silent | --silent | --silen | --sile | --sil)
1169 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1171 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1173 sbindir
=$ac_optarg ;;
1175 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1176 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1177 | --sharedst | --shareds | --shared | --share | --shar \
1179 ac_prev
=sharedstatedir
;;
1180 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1181 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1182 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1184 sharedstatedir
=$ac_optarg ;;
1186 -site | --site | --sit)
1188 -site=* | --site=* | --sit=*)
1191 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1193 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1194 srcdir
=$ac_optarg ;;
1196 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1197 | --syscon | --sysco | --sysc | --sys | --sy)
1198 ac_prev
=sysconfdir
;;
1199 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1200 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1201 sysconfdir
=$ac_optarg ;;
1203 -target | --target | --targe | --targ | --tar | --ta | --t)
1204 ac_prev
=target_alias
;;
1205 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1206 target_alias
=$ac_optarg ;;
1208 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1211 -version | --version | --versio | --versi | --vers | -V)
1212 ac_init_version
=: ;;
1215 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1216 # Reject names that are not valid shell variable names.
1217 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1218 as_fn_error $?
"invalid package name: $ac_useropt"
1219 ac_useropt_orig
=$ac_useropt
1220 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1221 case $ac_user_opts in
1225 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1226 ac_unrecognized_sep
=', ';;
1228 eval with_
$ac_useropt=\
$ac_optarg ;;
1230 -without-* | --without-*)
1231 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1232 # Reject names that are not valid shell variable names.
1233 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1234 as_fn_error $?
"invalid package name: $ac_useropt"
1235 ac_useropt_orig
=$ac_useropt
1236 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1237 case $ac_user_opts in
1241 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1242 ac_unrecognized_sep
=', ';;
1244 eval with_
$ac_useropt=no
;;
1247 # Obsolete; use --with-x.
1250 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1251 | --x-incl | --x-inc | --x-in | --x-i)
1252 ac_prev
=x_includes
;;
1253 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1254 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1255 x_includes
=$ac_optarg ;;
1257 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1258 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1259 ac_prev
=x_libraries
;;
1260 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1261 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1262 x_libraries
=$ac_optarg ;;
1264 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1265 Try \`$0 --help' for more information"
1269 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1270 # Reject names that are not valid shell variable names.
1271 case $ac_envvar in #(
1272 '' | [0-9]* | *[!_$as_cr_alnum]* )
1273 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1275 eval $ac_envvar=\
$ac_optarg
1276 export $ac_envvar ;;
1279 # FIXME: should be removed in autoconf 3.0.
1280 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1281 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1282 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1283 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1289 if test -n "$ac_prev"; then
1290 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1291 as_fn_error $?
"missing argument to $ac_option"
1294 if test -n "$ac_unrecognized_opts"; then
1295 case $enable_option_checking in
1297 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1298 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1302 # Check all directory arguments for consistency.
1303 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1304 datadir sysconfdir sharedstatedir localstatedir includedir \
1305 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1306 libdir localedir mandir
1308 eval ac_val
=\$
$ac_var
1309 # Remove trailing slashes.
1312 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1313 eval $ac_var=\
$ac_val;;
1315 # Be sure to have absolute directory names.
1317 [\\/$
]* | ?
:[\\/]* ) continue;;
1318 NONE
| '' ) case $ac_var in *prefix
) continue;; esac;;
1320 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1323 # There might be people who depend on the old broken behavior: `$host'
1324 # used to hold the argument of --host etc.
1325 # FIXME: To remove some day.
1328 target
=$target_alias
1330 # FIXME: To remove some day.
1331 if test "x$host_alias" != x
; then
1332 if test "x$build_alias" = x
; then
1333 cross_compiling
=maybe
1334 elif test "x$build_alias" != "x$host_alias"; then
1340 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1342 test "$silent" = yes && exec 6>/dev
/null
1345 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1346 ac_ls_di
=`ls -di .` &&
1347 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1348 as_fn_error $?
"working directory cannot be determined"
1349 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1350 as_fn_error $?
"pwd does not report name of working directory"
1353 # Find the source files, if location was not specified.
1354 if test -z "$srcdir"; then
1355 ac_srcdir_defaulted
=yes
1356 # Try the directory containing this script, then the parent directory.
1357 ac_confdir
=`$as_dirname -- "$as_myself" ||
1358 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1359 X"$as_myself" : 'X\(//\)[^/]' \| \
1360 X"$as_myself" : 'X\(//\)$' \| \
1361 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1362 $as_echo X"$as_myself" |
1363 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1381 if test ! -r "$srcdir/$ac_unique_file"; then
1385 ac_srcdir_defaulted
=no
1387 if test ! -r "$srcdir/$ac_unique_file"; then
1388 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1389 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1391 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1393 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1395 # When building in place, set srcdir=.
1396 if test "$ac_abs_confdir" = "$ac_pwd"; then
1399 # Remove unnecessary trailing slashes from srcdir.
1400 # Double slashes in file names in object file debugging info
1401 # mess up M-x gdb in Emacs.
1403 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1405 for ac_var
in $ac_precious_vars; do
1406 eval ac_env_
${ac_var}_set
=\
${${ac_var}+set}
1407 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1408 eval ac_cv_env_
${ac_var}_set
=\
${${ac_var}+set}
1409 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1413 # Report the --help message.
1415 if test "$ac_init_help" = "long"; then
1416 # Omit some internal or obsolete options to make the list less imposing.
1417 # This message is too long to be a string in the A/UX 3.1 sh.
1419 \`configure' configures Cycript 0.9 to adapt to many kinds of systems.
1421 Usage: $0 [OPTION]... [VAR=VALUE]...
1423 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1424 VAR=VALUE. See below for descriptions of some of the useful variables.
1426 Defaults for the options are specified in brackets.
1429 -h, --help display this help and exit
1430 --help=short display options specific to this package
1431 --help=recursive display the short help of all the included packages
1432 -V, --version display version information and exit
1433 -q, --quiet, --silent do not print \`checking ...' messages
1434 --cache-file=FILE cache test results in FILE [disabled]
1435 -C, --config-cache alias for \`--cache-file=config.cache'
1436 -n, --no-create do not create output files
1437 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1439 Installation directories:
1440 --prefix=PREFIX install architecture-independent files in PREFIX
1441 [$ac_default_prefix]
1442 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1445 By default, \`make install' will install all the files in
1446 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1447 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1448 for instance \`--prefix=\$HOME'.
1450 For better control, use the options below.
1452 Fine tuning of the installation directories:
1453 --bindir=DIR user executables [EPREFIX/bin]
1454 --sbindir=DIR system admin executables [EPREFIX/sbin]
1455 --libexecdir=DIR program executables [EPREFIX/libexec]
1456 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1457 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1458 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1459 --libdir=DIR object code libraries [EPREFIX/lib]
1460 --includedir=DIR C header files [PREFIX/include]
1461 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1462 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1463 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1464 --infodir=DIR info documentation [DATAROOTDIR/info]
1465 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1466 --mandir=DIR man documentation [DATAROOTDIR/man]
1467 --docdir=DIR documentation root [DATAROOTDIR/doc/cycript]
1468 --htmldir=DIR html documentation [DOCDIR]
1469 --dvidir=DIR dvi documentation [DOCDIR]
1470 --pdfdir=DIR pdf documentation [DOCDIR]
1471 --psdir=DIR ps documentation [DOCDIR]
1477 --program-prefix=PREFIX prepend PREFIX to installed program names
1478 --program-suffix=SUFFIX append SUFFIX to installed program names
1479 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1482 --build=BUILD configure
for building on BUILD
[guessed
]
1483 --host=HOST cross
-compile to build programs to run on HOST
[BUILD
]
1487 if test -n "$ac_init_help"; then
1488 case $ac_init_help in
1489 short
| recursive
) echo "Configuration of Cycript 0.9:";;
1494 --disable-option-checking ignore unrecognized
--enable/--with options
1495 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1496 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1497 --enable-silent-rules less verbose build output
(undo
: "make V=1")
1498 --disable-silent-rules verbose build output
(undo
: "make V=0")
1499 --enable-maintainer-mode
1500 enable make rules and dependencies not useful
(and
1501 sometimes confusing
) to the casual installer
1502 --enable-dependency-tracking
1503 do not reject slow dependency extractors
1504 --disable-dependency-tracking
1505 speeds up one
-time build
1506 --enable-static[=PKGS
] build static libraries
[default
=no
]
1507 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1508 --enable-fast-install[=PKGS
]
1509 optimize
for fast installation
[default
=yes]
1510 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1511 --enable-javascript[=ENGINE
]
1512 use a JavaScript runtime
(currently the only
1513 available option
for ENGINE is JavaScriptCore
)
1515 --disable-console disable console
1516 --disable-attach disable attach
1519 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1520 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1521 --with-pic[=PKGS
] try to use only PIC
/non
-PIC objects
[default
=use
1523 --with-aix-soname=aix
|svr4
|both
1524 shared library versioning
(aka
"SONAME") variant to
1525 provide on AIX
, [default
=aix
].
1526 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1527 --with-sysroot[=DIR
] Search
for dependent libraries within DIR
(or the
1528 compiler
's sysroot if not specified).
1529 --with-libclang build bridge definitions using this libclang
1531 Some influential environment variables:
1532 CC C compiler command
1533 CFLAGS C compiler flags
1534 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1535 nonstandard directory <lib dir>
1536 LIBS libraries to pass to the linker, e.g. -l<library>
1537 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1538 you have headers in a nonstandard directory <include dir>
1539 CXX C++ compiler command
1540 CXXFLAGS C++ compiler flags
1541 OBJCXX Objective C++ compiler command
1542 OBJCXXFLAGS Objective C++ compiler flags
1544 CXXCPP C++ preprocessor
1546 User-defined run-time library search path.
1547 PKG_CONFIG path to pkg-config utility
1549 directories to add to pkg-config's search path
1551 path overriding pkg
-config's built-in search path
1552 BISON GNU Project parser generator (yacc replacement)
1553 FLEX the fast lexical analyser generator
1554 GPERF perfect hash function generator
1555 GNUTAR a very sticky lump of files
1558 C compiler flags for WEBKIT, overriding pkg-config
1559 WEBKIT_LIBS linker flags for WEBKIT, overriding pkg-config
1561 prints information about the current gnustep installation
1563 Use these variables to override the choices made by `configure' or to
help
1564 it to
find libraries and programs with nonstandard names
/locations.
1566 Report bugs to
<saurik@saurik.com
>.
1567 Cycript home page
: <http
://www.cycript.org
/>.
1572 if test "$ac_init_help" = "recursive"; then
1573 # If there are subdirs, report their specific --help.
1574 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1575 test -d "$ac_dir" ||
1576 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1581 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1583 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1584 # A ".." for each directory in $ac_dir_suffix.
1585 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1586 case $ac_top_builddir_sub in
1587 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1588 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1591 ac_abs_top_builddir
=$ac_pwd
1592 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1593 # for backward compatibility:
1594 ac_top_builddir
=$ac_top_build_prefix
1597 .
) # We are building in place.
1599 ac_top_srcdir
=$ac_top_builddir_sub
1600 ac_abs_top_srcdir
=$ac_pwd ;;
1601 [\\/]* | ?
:[\\/]* ) # Absolute name.
1602 ac_srcdir
=$srcdir$ac_dir_suffix;
1603 ac_top_srcdir
=$srcdir
1604 ac_abs_top_srcdir
=$srcdir ;;
1606 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1607 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1608 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1610 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1612 cd "$ac_dir" || { ac_status
=$?
; continue; }
1613 # Check for guested configure.
1614 if test -f "$ac_srcdir/configure.gnu"; then
1616 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1617 elif test -f "$ac_srcdir/configure"; then
1619 $SHELL "$ac_srcdir/configure" --help=recursive
1621 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1623 cd "$ac_pwd" || { ac_status
=$?
; break; }
1627 test -n "$ac_init_help" && exit $ac_status
1628 if $ac_init_version; then
1630 Cycript configure
0.9
1631 generated by GNU Autoconf
2.69
1633 Copyright
(C
) 2012 Free Software Foundation
, Inc.
1634 This configure
script is free software
; the Free Software Foundation
1635 gives unlimited permission to copy
, distribute and modify it.
1637 Copyright
(C
) 2009-2015 Jay Freeman
(saurik
)
1642 ## ------------------------ ##
1643 ## Autoconf initialization. ##
1644 ## ------------------------ ##
1646 # ac_fn_c_try_compile LINENO
1647 # --------------------------
1648 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1649 ac_fn_c_try_compile
()
1651 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1652 rm -f conftest.
$ac_objext
1653 if { { ac_try
="$ac_compile"
1655 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
1656 *) ac_try_echo=$ac_try;;
1658 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1659 $as_echo "$ac_try_echo"; } >&5
1660 (eval "$ac_compile") 2>conftest.err
1662 if test -s conftest.err; then
1663 grep -v '^ *+' conftest.err >conftest.er1
1664 cat conftest.er1 >&5
1665 mv -f conftest.er1 conftest.err
1667 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1668 test $ac_status = 0; } && {
1669 test -z "$ac_c_werror_flag" ||
1670 test ! -s conftest.err
1671 } && test -s conftest.$ac_objext; then :
1674 $as_echo "$as_me: failed program was:" >&5
1675 sed 's/^/| /' conftest.$ac_ext >&5
1679 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1680 as_fn_set_status $ac_retval
1682 } # ac_fn_c_try_compile
1684 # ac_fn_cxx_try_compile LINENO
1685 # ----------------------------
1686 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1687 ac_fn_cxx_try_compile ()
1689 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1690 rm -f conftest.$ac_objext
1691 if { { ac_try="$ac_compile"
1693 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
1694 *) ac_try_echo
=$ac_try;;
1696 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1697 $as_echo "$ac_try_echo"; } >&5
1698 (eval "$ac_compile") 2>conftest.err
1700 if test -s conftest.err
; then
1701 grep -v '^ *+' conftest.err
>conftest.er1
1702 cat conftest.er1
>&5
1703 mv -f conftest.er1 conftest.err
1705 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1706 test $ac_status = 0; } && {
1707 test -z "$ac_cxx_werror_flag" ||
1708 test ! -s conftest.err
1709 } && test -s conftest.
$ac_objext; then :
1712 $as_echo "$as_me: failed program was:" >&5
1713 sed 's/^/| /' conftest.
$ac_ext >&5
1717 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1718 as_fn_set_status
$ac_retval
1720 } # ac_fn_cxx_try_compile
1722 # ac_fn_objcxx_try_compile LINENO
1723 # -------------------------------
1724 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1725 ac_fn_objcxx_try_compile
()
1727 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1728 rm -f conftest.
$ac_objext
1729 if { { ac_try
="$ac_compile"
1731 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
1732 *) ac_try_echo=$ac_try;;
1734 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1735 $as_echo "$ac_try_echo"; } >&5
1736 (eval "$ac_compile") 2>conftest.err
1738 if test -s conftest.err; then
1739 grep -v '^ *+' conftest.err >conftest.er1
1740 cat conftest.er1 >&5
1741 mv -f conftest.er1 conftest.err
1743 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1744 test $ac_status = 0; } && {
1745 test -z "$ac_objcxx_werror_flag" ||
1746 test ! -s conftest.err
1747 } && test -s conftest.$ac_objext; then :
1750 $as_echo "$as_me: failed program was:" >&5
1751 sed 's/^/| /' conftest.$ac_ext >&5
1755 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1756 as_fn_set_status $ac_retval
1758 } # ac_fn_objcxx_try_compile
1760 # ac_fn_c_try_cpp LINENO
1761 # ----------------------
1762 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1765 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1766 if { { ac_try="$ac_cpp conftest.$ac_ext"
1768 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
1769 *) ac_try_echo
=$ac_try;;
1771 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1772 $as_echo "$ac_try_echo"; } >&5
1773 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1775 if test -s conftest.err
; then
1776 grep -v '^ *+' conftest.err
>conftest.er1
1777 cat conftest.er1
>&5
1778 mv -f conftest.er1 conftest.err
1780 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1781 test $ac_status = 0; } > conftest.i
&& {
1782 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1783 test ! -s conftest.err
1787 $as_echo "$as_me: failed program was:" >&5
1788 sed 's/^/| /' conftest.
$ac_ext >&5
1792 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1793 as_fn_set_status
$ac_retval
1797 # ac_fn_cxx_try_cpp LINENO
1798 # ------------------------
1799 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1800 ac_fn_cxx_try_cpp
()
1802 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1803 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1805 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
1806 *) ac_try_echo=$ac_try;;
1808 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1809 $as_echo "$ac_try_echo"; } >&5
1810 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1812 if test -s conftest.err; then
1813 grep -v '^ *+' conftest.err >conftest.er1
1814 cat conftest.er1 >&5
1815 mv -f conftest.er1 conftest.err
1817 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1818 test $ac_status = 0; } > conftest.i && {
1819 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1820 test ! -s conftest.err
1824 $as_echo "$as_me: failed program was:" >&5
1825 sed 's/^/| /' conftest.$ac_ext >&5
1829 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1830 as_fn_set_status $ac_retval
1832 } # ac_fn_cxx_try_cpp
1834 # ac_fn_c_try_link LINENO
1835 # -----------------------
1836 # Try to link conftest.$ac_ext, and return whether this succeeded.
1839 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1840 rm -f conftest.$ac_objext conftest$ac_exeext
1841 if { { ac_try="$ac_link"
1843 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
1844 *) ac_try_echo
=$ac_try;;
1846 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1847 $as_echo "$ac_try_echo"; } >&5
1848 (eval "$ac_link") 2>conftest.err
1850 if test -s conftest.err
; then
1851 grep -v '^ *+' conftest.err
>conftest.er1
1852 cat conftest.er1
>&5
1853 mv -f conftest.er1 conftest.err
1855 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1856 test $ac_status = 0; } && {
1857 test -z "$ac_c_werror_flag" ||
1858 test ! -s conftest.err
1859 } && test -s conftest
$ac_exeext && {
1860 test "$cross_compiling" = yes ||
1861 test -x conftest
$ac_exeext
1865 $as_echo "$as_me: failed program was:" >&5
1866 sed 's/^/| /' conftest.
$ac_ext >&5
1870 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1871 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1872 # interfere with the next link command; also delete a directory that is
1873 # left behind by Apple's compiler. We do this before executing the actions.
1874 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1875 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1876 as_fn_set_status
$ac_retval
1878 } # ac_fn_c_try_link
1880 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1881 # -------------------------------------------------------
1882 # Tests whether HEADER exists and can be compiled using the include files in
1883 # INCLUDES, setting the cache variable VAR accordingly.
1884 ac_fn_c_check_header_compile
()
1886 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1888 $as_echo_n "checking for $2... " >&6; }
1889 if eval \
${$3+:} false
; then :
1890 $as_echo_n "(cached) " >&6
1892 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1893 /* end confdefs.h. */
1897 if ac_fn_c_try_compile
"$LINENO"; then :
1902 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1906 $as_echo "$ac_res" >&6; }
1907 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1909 } # ac_fn_c_check_header_compile
1911 # ac_fn_c_try_run LINENO
1912 # ----------------------
1913 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1914 # that executables *can* be run.
1917 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1918 if { { ac_try
="$ac_link"
1920 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
1921 *) ac_try_echo=$ac_try;;
1923 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1924 $as_echo "$ac_try_echo"; } >&5
1925 (eval "$ac_link") 2>&5
1927 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1928 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1929 { { case "(($ac_try" in
1930 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
1931 *) ac_try_echo
=$ac_try;;
1933 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1934 $as_echo "$ac_try_echo"; } >&5
1935 (eval "$ac_try") 2>&5
1937 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1938 test $ac_status = 0; }; }; then :
1941 $as_echo "$as_me: program exited with status $ac_status" >&5
1942 $as_echo "$as_me: failed program was:" >&5
1943 sed 's/^/| /' conftest.
$ac_ext >&5
1945 ac_retval
=$ac_status
1947 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1948 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1949 as_fn_set_status
$ac_retval
1953 # ac_fn_c_check_func LINENO FUNC VAR
1954 # ----------------------------------
1955 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1956 ac_fn_c_check_func
()
1958 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1960 $as_echo_n "checking for $2... " >&6; }
1961 if eval \
${$3+:} false
; then :
1962 $as_echo_n "(cached) " >&6
1964 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1965 /* end confdefs.h. */
1966 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1967 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1968 #define $2 innocuous_$2
1970 /* System header to define __stub macros and hopefully few prototypes,
1971 which can conflict with char $2 (); below.
1972 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1973 <limits.h> exists even on freestanding compilers. */
1976 # include <limits.h>
1978 # include <assert.h>
1983 /* Override any GCC internal prototype to avoid an error.
1984 Use char because int might match the return type of a GCC
1985 builtin and then its argument prototype would still apply. */
1990 /* The GNU C library defines this for functions which it implements
1991 to always fail with ENOSYS. Some functions are actually named
1992 something starting with __ and the normal name is an alias. */
1993 #if defined __stub_$2 || defined __stub___$2
2005 if ac_fn_c_try_link
"$LINENO"; then :
2010 rm -f core conftest.err conftest.
$ac_objext \
2011 conftest
$ac_exeext conftest.
$ac_ext
2014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2015 $as_echo "$ac_res" >&6; }
2016 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2018 } # ac_fn_c_check_func
2020 # ac_fn_cxx_try_link LINENO
2021 # -------------------------
2022 # Try to link conftest.$ac_ext, and return whether this succeeded.
2023 ac_fn_cxx_try_link
()
2025 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2026 rm -f conftest.
$ac_objext conftest
$ac_exeext
2027 if { { ac_try
="$ac_link"
2029 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
2030 *) ac_try_echo=$ac_try;;
2032 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2033 $as_echo "$ac_try_echo"; } >&5
2034 (eval "$ac_link") 2>conftest.err
2036 if test -s conftest.err; then
2037 grep -v '^ *+' conftest.err >conftest.er1
2038 cat conftest.er1 >&5
2039 mv -f conftest.er1 conftest.err
2041 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2042 test $ac_status = 0; } && {
2043 test -z "$ac_cxx_werror_flag" ||
2044 test ! -s conftest.err
2045 } && test -s conftest$ac_exeext && {
2046 test "$cross_compiling" = yes ||
2047 test -x conftest$ac_exeext
2051 $as_echo "$as_me: failed program was:" >&5
2052 sed 's/^/| /' conftest.$ac_ext >&5
2056 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2057 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2058 # interfere with the next link command; also delete a directory that is
2059 # left behind by Apple's compiler. We do this before executing the actions.
2060 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2061 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2062 as_fn_set_status $ac_retval
2064 } # ac_fn_cxx_try_link
2066 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2067 # ---------------------------------------------------------
2068 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2069 # the include files in INCLUDES and setting the cache variable VAR
2071 ac_fn_cxx_check_header_mongrel ()
2073 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2074 if eval \${$3+:} false; then :
2075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2076 $as_echo_n "checking for $2... " >&6; }
2077 if eval \${$3+:} false; then :
2078 $as_echo_n "(cached) " >&6
2081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2082 $as_echo "$ac_res" >&6; }
2084 # Is the header compilable?
2085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2086 $as_echo_n "checking $2 usability... " >&6; }
2087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2088 /* end confdefs.h. */
2092 if ac_fn_cxx_try_compile "$LINENO"; then :
2093 ac_header_compiler=yes
2095 ac_header_compiler=no
2097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2099 $as_echo "$ac_header_compiler" >&6; }
2101 # Is the header present?
2102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2103 $as_echo_n "checking $2 presence... " >&6; }
2104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2105 /* end confdefs.h. */
2108 if ac_fn_cxx_try_cpp "$LINENO"; then :
2109 ac_header_preproc=yes
2111 ac_header_preproc=no
2113 rm -f conftest.err conftest.i conftest.$ac_ext
2114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2115 $as_echo "$ac_header_preproc" >&6; }
2117 # So? What about this header?
2118 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2120 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2121 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2122 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2123 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2126 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2127 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2128 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2129 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2130 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2131 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2132 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2133 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2134 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2135 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2136 ( $as_echo "## -------------------------------- ##
2137 ## Report this to saurik@saurik.com ##
2138 ## -------------------------------- ##"
2139 ) | sed "s/^/$as_me: WARNING: /" >&2
2142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2143 $as_echo_n "checking for $2... " >&6; }
2144 if eval \${$3+:} false; then :
2145 $as_echo_n "(cached) " >&6
2147 eval "$3=\$ac_header_compiler"
2150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2151 $as_echo "$ac_res" >&6; }
2153 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2155 } # ac_fn_cxx_check_header_mongrel
2157 # ac_fn_objcxx_try_link LINENO
2158 # ----------------------------
2159 # Try to link conftest.$ac_ext, and return whether this succeeded.
2160 ac_fn_objcxx_try_link ()
2162 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2163 rm -f conftest.$ac_objext conftest$ac_exeext
2164 if { { ac_try="$ac_link"
2166 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
2167 *) ac_try_echo
=$ac_try;;
2169 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2170 $as_echo "$ac_try_echo"; } >&5
2171 (eval "$ac_link") 2>conftest.err
2173 if test -s conftest.err
; then
2174 grep -v '^ *+' conftest.err
>conftest.er1
2175 cat conftest.er1
>&5
2176 mv -f conftest.er1 conftest.err
2178 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2179 test $ac_status = 0; } && {
2180 test -z "$ac_objcxx_werror_flag" ||
2181 test ! -s conftest.err
2182 } && test -s conftest
$ac_exeext && {
2183 test "$cross_compiling" = yes ||
2184 test -x conftest
$ac_exeext
2188 $as_echo "$as_me: failed program was:" >&5
2189 sed 's/^/| /' conftest.
$ac_ext >&5
2193 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2194 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2195 # interfere with the next link command; also delete a directory that is
2196 # left behind by Apple's compiler. We do this before executing the actions.
2197 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2198 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2199 as_fn_set_status
$ac_retval
2201 } # ac_fn_objcxx_try_link
2202 cat >config.log
<<_ACEOF
2203 This file contains any messages produced by compilers while
2204 running configure, to aid debugging if configure makes a mistake.
2206 It was created by Cycript $as_me 0.9, which was
2207 generated by GNU Autoconf 2.69. Invocation command line was
2219 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2220 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2221 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2222 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2223 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2225 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2226 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2228 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2229 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2230 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2231 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2232 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2233 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2234 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2238 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2242 test -z "$as_dir" && as_dir
=.
2243 $as_echo "PATH: $as_dir"
2259 # Keep a trace of the command line.
2260 # Strip out --no-create and --no-recursion so they do not pile up.
2261 # Strip out --silent because we don't want to record it for future runs.
2262 # Also quote any args containing shell meta-characters.
2263 # Make two passes to allow for proper duplicate-argument suppression.
2267 ac_must_keep_next
=false
2273 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2274 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2275 | -silent | --silent | --silen | --sile | --sil)
2278 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2281 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2283 as_fn_append ac_configure_args1
" '$ac_arg'"
2284 if test $ac_must_keep_next = true
; then
2285 ac_must_keep_next
=false
# Got value, back to normal.
2288 *=* | --config-cache | -C | -disable-* | --disable-* \
2289 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2290 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2291 | -with-* | --with-* | -without-* | --without-* | --x)
2292 case "$ac_configure_args0 " in
2293 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2296 -* ) ac_must_keep_next
=true
;;
2299 as_fn_append ac_configure_args
" '$ac_arg'"
2304 { ac_configure_args0
=; unset ac_configure_args0
;}
2305 { ac_configure_args1
=; unset ac_configure_args1
;}
2307 # When interrupted or exit'd, cleanup temporary files, and complete
2308 # config.log. We remove comments because anyway the quotes in there
2309 # would cause problems or look ugly.
2310 # WARNING: Use '\'' to represent an apostrophe within the trap.
2311 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2312 trap 'exit_status=$?
2313 # Save into config.log some information that might help in debugging.
2317 $as_echo "## ---------------- ##
2318 ## Cache variables. ##
2319 ## ---------------- ##"
2321 # The following way of writing the cache mishandles newlines in values,
2323 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2324 eval ac_val=\$$ac_var
2328 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2329 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2332 _ | IFS | as_nl) ;; #(
2333 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2334 *) { eval $ac_var=; unset $ac_var;} ;;
2339 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2340 *${as_nl}ac_space=\ *)
2342 "s/'\''/'\''\\\\'\'''\''/g;
2343 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2346 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2353 $as_echo "## ----------------- ##
2354 ## Output variables. ##
2355 ## ----------------- ##"
2357 for ac_var in $ac_subst_vars
2359 eval ac_val=\$$ac_var
2361 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2363 $as_echo "$ac_var='\''$ac_val'\''"
2367 if test -n "$ac_subst_files"; then
2368 $as_echo "## ------------------- ##
2369 ## File substitutions. ##
2370 ## ------------------- ##"
2372 for ac_var
in $ac_subst_files
2374 eval ac_val
=\$
$ac_var
2376 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2378 $as_echo "$ac_var='\''$ac_val'\''"
2383 if test -s confdefs.h; then
2384 $as_echo "## ----------- ##
2391 test "$ac_signal" != 0 &&
2392 $as_echo "$as_me: caught signal $ac_signal"
2393 $as_echo "$as_me: exit $exit_status"
2395 rm -f core *.core core.conftest.* &&
2396 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2399 for ac_signal
in 1 2 13 15; do
2400 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2404 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2405 rm -f -r conftest
* confdefs.h
2407 $as_echo "/* confdefs.h */" > confdefs.h
2409 # Predefined preprocessor variables.
2411 cat >>confdefs.h
<<_ACEOF
2412 #define PACKAGE_NAME "$PACKAGE_NAME"
2415 cat >>confdefs.h
<<_ACEOF
2416 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2419 cat >>confdefs.h
<<_ACEOF
2420 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2423 cat >>confdefs.h
<<_ACEOF
2424 #define PACKAGE_STRING "$PACKAGE_STRING"
2427 cat >>confdefs.h
<<_ACEOF
2428 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2431 cat >>confdefs.h
<<_ACEOF
2432 #define PACKAGE_URL "$PACKAGE_URL"
2436 # Let the site file select an alternate cache file if it wants to.
2437 # Prefer an explicitly selected file to automatically selected ones.
2440 if test -n "$CONFIG_SITE"; then
2441 # We do not want a PATH search for config.site.
2442 case $CONFIG_SITE in #((
2443 -*) ac_site_file1
=.
/$CONFIG_SITE;;
2444 */*) ac_site_file1
=$CONFIG_SITE;;
2445 *) ac_site_file1
=.
/$CONFIG_SITE;;
2447 elif test "x$prefix" != xNONE
; then
2448 ac_site_file1
=$prefix/share
/config.site
2449 ac_site_file2
=$prefix/etc
/config.site
2451 ac_site_file1
=$ac_default_prefix/share
/config.site
2452 ac_site_file2
=$ac_default_prefix/etc
/config.site
2454 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2456 test "x$ac_site_file" = xNONE
&& continue
2457 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2458 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2459 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2460 sed 's/^/| /' "$ac_site_file" >&5
2462 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2463 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2464 as_fn_error $?
"failed to load site script $ac_site_file
2465 See \`config.log' for more details" "$LINENO" 5; }
2469 if test -r "$cache_file"; then
2470 # Some versions of bash will fail to source /dev/null (special files
2471 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2472 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2473 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2474 $as_echo "$as_me: loading cache $cache_file" >&6;}
2476 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2477 *) .
"./$cache_file";;
2481 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2482 $as_echo "$as_me: creating cache $cache_file" >&6;}
2486 # Check that the precious variables saved in the cache have kept the same
2488 ac_cache_corrupted
=false
2489 for ac_var
in $ac_precious_vars; do
2490 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2491 eval ac_new_set
=\
$ac_env_${ac_var}_set
2492 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2493 eval ac_new_val
=\
$ac_env_${ac_var}_value
2494 case $ac_old_set,$ac_new_set in
2496 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2497 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2498 ac_cache_corrupted
=: ;;
2500 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2501 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2502 ac_cache_corrupted
=: ;;
2505 if test "x$ac_old_val" != "x$ac_new_val"; then
2506 # differences in whitespace do not lead to failure.
2507 ac_old_val_w
=`echo x $ac_old_val`
2508 ac_new_val_w
=`echo x $ac_new_val`
2509 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2510 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2511 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2512 ac_cache_corrupted
=:
2514 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2515 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2516 eval $ac_var=\
$ac_old_val
2518 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2519 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2520 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2521 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2524 # Pass precious variables to config.status.
2525 if test "$ac_new_set" = set; then
2527 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2528 *) ac_arg
=$ac_var=$ac_new_val ;;
2530 case " $ac_configure_args " in
2531 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2532 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2536 if $ac_cache_corrupted; then
2537 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2538 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2539 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2540 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2541 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2543 ## -------------------- ##
2544 ## Main body of script. ##
2545 ## -------------------- ##
2548 ac_cpp
='$CPP $CPPFLAGS'
2549 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2550 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2551 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2558 for ac_dir
in .
"$srcdir"/.
; do
2559 if test -f "$ac_dir/install-sh"; then
2561 ac_install_sh
="$ac_aux_dir/install-sh -c"
2563 elif test -f "$ac_dir/install.sh"; then
2565 ac_install_sh
="$ac_aux_dir/install.sh -c"
2567 elif test -f "$ac_dir/shtool"; then
2569 ac_install_sh
="$ac_aux_dir/shtool install -c"
2573 if test -z "$ac_aux_dir"; then
2574 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in . \"$srcdir\"/." "$LINENO" 5
2577 # These three variables are undocumented and unsupported,
2578 # and are intended to be withdrawn in a future Autoconf release.
2579 # They can cause serious problems if a builder's source tree is in a directory
2580 # whose full name contains unusual characters.
2581 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2582 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2583 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2587 ac_config_headers
="$ac_config_headers config.h"
2590 am__api_version
='1.15'
2592 # Find a good install program. We prefer a C program (faster),
2593 # so one script is as good as another. But avoid the broken or
2594 # incompatible versions:
2595 # SysV /etc/install, /usr/sbin/install
2596 # SunOS /usr/etc/install
2597 # IRIX /sbin/install
2599 # AmigaOS /C/install, which installs bootblocks on floppy discs
2600 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2601 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2602 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2603 # OS/2's system install, which has a completely different semantic
2604 # ./install, which can be erroneously created by make from ./install.sh.
2605 # Reject install programs that cannot install multiple files.
2606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2607 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2608 if test -z "$INSTALL"; then
2609 if ${ac_cv_path_install+:} false
; then :
2610 $as_echo_n "(cached) " >&6
2612 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2616 test -z "$as_dir" && as_dir
=.
2617 # Account for people who put trailing slashes in PATH elements.
2618 case $as_dir/ in #((
2619 .
/ | .
// | /[cC
]/* | \
2620 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
2621 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
2624 # OSF1 and SCO ODT 3.0 have their own names for install.
2625 # Don't use installbsd from OSF since it installs stuff as root
2627 for ac_prog
in ginstall scoinst
install; do
2628 for ac_exec_ext
in '' $ac_executable_extensions; do
2629 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
2630 if test $ac_prog = install &&
2631 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2632 # AIX install. It has an incompatible calling convention.
2634 elif test $ac_prog = install &&
2635 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2636 # program-specific install script used by HP pwplus--don't use.
2639 rm -rf conftest.one conftest.two conftest.dir
2640 echo one
> conftest.one
2641 echo two
> conftest.two
2643 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2644 test -s conftest.one
&& test -s conftest.two
&&
2645 test -s conftest.dir
/conftest.one
&&
2646 test -s conftest.dir
/conftest.two
2648 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2661 rm -rf conftest.one conftest.two conftest.dir
2664 if test "${ac_cv_path_install+set}" = set; then
2665 INSTALL
=$ac_cv_path_install
2667 # As a last resort, use the slow shell script. Don't cache a
2668 # value for INSTALL within a source directory, because that will
2669 # break other packages using the cache if that directory is
2670 # removed, or if the value is a relative name.
2671 INSTALL
=$ac_install_sh
2674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2675 $as_echo "$INSTALL" >&6; }
2677 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2678 # It thinks the first close brace ends the variable substitution.
2679 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2681 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2683 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2686 $as_echo_n "checking whether build environment is sane... " >&6; }
2687 # Reject unsafe characters in $srcdir or the absolute working directory
2688 # name. Accept space and tab only in the latter.
2692 *[\\\"\#\$\&\'\`$am_lf]*)
2693 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5;;
2696 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2697 as_fn_error $?
"unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2700 # Do 'set' in a subshell so we don't clobber the current shell's
2701 # arguments. Must try -L first in case configure is actually a
2702 # symlink; some systems play weird games with the mod time of symlinks
2703 # (eg FreeBSD returns the mod time of the symlink's containing
2707 for am_try
in 1 2; do
2708 echo "timestamp, slept: $am_has_slept" > conftest.
file
2709 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2710 if test "$*" = "X"; then
2712 set X
`ls -t "$srcdir/configure" conftest.file`
2714 if test "$*" != "X $srcdir/configure conftest.file" \
2715 && test "$*" != "X conftest.file $srcdir/configure"; then
2717 # If neither matched, then we have a broken ls. This can happen
2718 # if, for instance, CONFIG_SHELL is bash and it inherits a
2719 # broken ls alias from the environment. This has actually
2720 # happened. Such a system could not be considered "sane".
2721 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
2722 alias in your environment" "$LINENO" 5
2724 if test "$2" = conftest.
file || test $am_try -eq 2; then
2731 test "$2" = conftest.
file
2737 as_fn_error $?
"newly created file is older than distributed files!
2738 Check your system clock" "$LINENO" 5
2740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2741 $as_echo "yes" >&6; }
2742 # If we didn't sleep, we still need to ensure time stamps of config.status and
2743 # generated files are strictly newer.
2745 if grep 'slept: no' conftest.
file >/dev
/null
2>&1; then
2752 test "$program_prefix" != NONE
&&
2753 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2754 # Use a double $ so make ignores it.
2755 test "$program_suffix" != NONE
&&
2756 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2757 # Double any \ or $.
2758 # By default was `s,x,x', remove it if useless.
2759 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2760 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2762 # Expand $ac_aux_dir to an absolute path.
2763 am_aux_dir
=`cd "$ac_aux_dir" && pwd`
2765 if test x
"${MISSING+set}" != xset
; then
2768 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2770 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2773 # Use eval to expand $SHELL
2774 if eval "$MISSING --is-lightweight"; then
2775 am_missing_run
="$MISSING "
2778 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2779 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2782 if test x
"${install_sh+set}" != xset
; then
2785 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2787 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2791 # Installed binaries are usually stripped using 'strip' when the user
2792 # run "make install-strip". However 'strip' might not be the right
2793 # tool to use in cross-compilation environments, therefore Automake
2794 # will honor the 'STRIP' environment variable to overrule this program.
2795 if test "$cross_compiling" != no
; then
2796 if test -n "$ac_tool_prefix"; then
2797 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2798 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2800 $as_echo_n "checking for $ac_word... " >&6; }
2801 if ${ac_cv_prog_STRIP+:} false
; then :
2802 $as_echo_n "(cached) " >&6
2804 if test -n "$STRIP"; then
2805 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2807 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2811 test -z "$as_dir" && as_dir
=.
2812 for ac_exec_ext
in '' $ac_executable_extensions; do
2813 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2814 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2815 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2824 STRIP
=$ac_cv_prog_STRIP
2825 if test -n "$STRIP"; then
2826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2827 $as_echo "$STRIP" >&6; }
2829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2830 $as_echo "no" >&6; }
2835 if test -z "$ac_cv_prog_STRIP"; then
2837 # Extract the first word of "strip", so it can be a program name with args.
2838 set dummy strip
; ac_word
=$2
2839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2840 $as_echo_n "checking for $ac_word... " >&6; }
2841 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
2842 $as_echo_n "(cached) " >&6
2844 if test -n "$ac_ct_STRIP"; then
2845 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2847 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2851 test -z "$as_dir" && as_dir
=.
2852 for ac_exec_ext
in '' $ac_executable_extensions; do
2853 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2854 ac_cv_prog_ac_ct_STRIP
="strip"
2855 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2864 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2865 if test -n "$ac_ct_STRIP"; then
2866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2867 $as_echo "$ac_ct_STRIP" >&6; }
2869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2870 $as_echo "no" >&6; }
2873 if test "x$ac_ct_STRIP" = x
; then
2876 case $cross_compiling:$ac_tool_warned in
2878 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2879 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2880 ac_tool_warned
=yes ;;
2885 STRIP
="$ac_cv_prog_STRIP"
2889 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2892 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2893 if test -z "$MKDIR_P"; then
2894 if ${ac_cv_path_mkdir+:} false
; then :
2895 $as_echo_n "(cached) " >&6
2897 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2898 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2901 test -z "$as_dir" && as_dir
=.
2902 for ac_prog
in mkdir gmkdir
; do
2903 for ac_exec_ext
in '' $ac_executable_extensions; do
2904 as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext" || continue
2905 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2906 'mkdir (GNU coreutils) '* | \
2907 'mkdir (coreutils) '* | \
2908 'mkdir (fileutils) '4.1*)
2909 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2919 test -d .
/--version && rmdir .
/--version
2920 if test "${ac_cv_path_mkdir+set}" = set; then
2921 MKDIR_P
="$ac_cv_path_mkdir -p"
2923 # As a last resort, use the slow shell script. Don't cache a
2924 # value for MKDIR_P within a source directory, because that will
2925 # break other packages using the cache if that directory is
2926 # removed, or if the value is a relative name.
2927 MKDIR_P
="$ac_install_sh -d"
2930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2931 $as_echo "$MKDIR_P" >&6; }
2933 for ac_prog
in gawk mawk nawk
awk
2935 # Extract the first word of "$ac_prog", so it can be a program name with args.
2936 set dummy
$ac_prog; ac_word
=$2
2937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2938 $as_echo_n "checking for $ac_word... " >&6; }
2939 if ${ac_cv_prog_AWK+:} false
; then :
2940 $as_echo_n "(cached) " >&6
2942 if test -n "$AWK"; then
2943 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2945 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2949 test -z "$as_dir" && as_dir
=.
2950 for ac_exec_ext
in '' $ac_executable_extensions; do
2951 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2952 ac_cv_prog_AWK
="$ac_prog"
2953 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2963 if test -n "$AWK"; then
2964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2965 $as_echo "$AWK" >&6; }
2967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2968 $as_echo "no" >&6; }
2972 test -n "$AWK" && break
2975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2976 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2978 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2979 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
2980 $as_echo_n "(cached) " >&6
2982 cat >conftest.
make <<\_ACEOF
2985 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2987 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2988 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2990 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2992 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2996 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2998 $as_echo "yes" >&6; }
3001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3002 $as_echo "no" >&6; }
3003 SET_MAKE
="MAKE=${MAKE-make}"
3006 rm -rf .tst
2>/dev
/null
3007 mkdir .tst
2>/dev
/null
3008 if test -d .tst
; then
3013 rmdir .tst
2>/dev
/null
3015 # Check whether --enable-silent-rules was given.
3016 if test "${enable_silent_rules+set}" = set; then :
3017 enableval
=$enable_silent_rules;
3020 case $enable_silent_rules in # (((
3021 yes) AM_DEFAULT_VERBOSITY
=0;;
3022 no
) AM_DEFAULT_VERBOSITY
=1;;
3023 *) AM_DEFAULT_VERBOSITY
=1;;
3025 am_make
=${MAKE-make}
3026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3027 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3028 if ${am_cv_make_support_nested_variables+:} false
; then :
3029 $as_echo_n "(cached) " >&6
3031 if $as_echo 'TRUE=$(BAR$(V))
3037 .PHONY: am__doit' | $am_make -f - >/dev
/null
2>&1; then
3038 am_cv_make_support_nested_variables
=yes
3040 am_cv_make_support_nested_variables
=no
3043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3044 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3045 if test $am_cv_make_support_nested_variables = yes; then
3047 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
3049 AM_V
=$AM_DEFAULT_VERBOSITY
3050 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
3054 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3055 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3056 # is not polluted with repeated "-I."
3057 am__isrc
=' -I$(srcdir)'
3058 # test to see if srcdir already configured
3059 if test -f $srcdir/config.status
; then
3060 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3064 # test whether we have cygpath
3065 if test -z "$CYGPATH_W"; then
3066 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
3067 CYGPATH_W
='cygpath -w'
3074 # Define the identity of the package.
3079 cat >>confdefs.h
<<_ACEOF
3080 #define PACKAGE "$PACKAGE"
3084 cat >>confdefs.h
<<_ACEOF
3085 #define VERSION "$VERSION"
3088 # Some tools Automake needs.
3090 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3093 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3096 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3099 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
3102 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
3104 # For better backward compatibility. To be removed once Automake 1.9.x
3105 # dies out for good. For more background, see:
3106 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3107 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3108 mkdir_p
='$(MKDIR_P)'
3110 # We need awk for the "check" target (and possibly the TAP driver). The
3111 # system "awk" is bad on some platforms.
3112 # Always define AMTAR for backward compatibility. Yes, it's still used
3113 # in the wild :-( We should find a proper way to deprecate it ...
3117 # We'll loop over all known methods to create a tar archive until one works.
3118 _am_tools
='gnutar pax cpio none'
3120 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
3127 # POSIX will say in a future version that running "rm -f" with no argument
3128 # is OK; and we want to be able to make that assumption in our Makefile
3129 # recipes. So use an aggressive probe to check that the usage we want is
3130 # actually supported "in the wild" to an acceptable degree.
3131 # See automake bug#10828.
3132 # To make any issue more visible, cause the running configure to be aborted
3133 # by default if the 'rm' program in use doesn't match our expectations; the
3134 # user can still override this though.
3135 if rm -f && rm -fr && rm -rf; then : OK
; else
3139 Your 'rm' program seems unable to run without file operands specified
3140 on the command line, even when the '-f' option is present. This is contrary
3141 to the behaviour of most rm programs out there, and not conforming with
3142 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3144 Please tell bug-automake@gnu.org about your system, including the value
3145 of your $PATH and any error possibly output before this message. This
3146 can help us improve future automake versions.
3149 if test x
"$ACCEPT_INFERIOR_RM_PROGRAM" = x
"yes"; then
3150 echo 'Configuration will proceed anyway, since you have set the' >&2
3151 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3155 Aborting the configuration process, to ensure you take notice of the issue.
3157 You can download and install GNU coreutils to get an 'rm' implementation
3158 that behaves properly: <http://www.gnu.org/software/coreutils/>.
3160 If you want to complete the configuration process using your problematic
3161 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3162 to "yes", and re-run configure.
3165 as_fn_error $?
"Your 'rm' program is bad, sorry." "$LINENO" 5
3170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3171 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3172 # Check whether --enable-maintainer-mode was given.
3173 if test "${enable_maintainer_mode+set}" = set; then :
3174 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
3176 USE_MAINTAINER_MODE
=no
3179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3180 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3181 if test $USE_MAINTAINER_MODE = yes; then
3182 MAINTAINER_MODE_TRUE
=
3183 MAINTAINER_MODE_FALSE
='#'
3185 MAINTAINER_MODE_TRUE
='#'
3186 MAINTAINER_MODE_FALSE
=
3189 MAINT
=$MAINTAINER_MODE_TRUE
3194 ac_cpp
='$CPP $CPPFLAGS'
3195 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3196 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3197 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3198 if test -n "$ac_tool_prefix"; then
3199 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3200 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3202 $as_echo_n "checking for $ac_word... " >&6; }
3203 if ${ac_cv_prog_CC+:} false
; then :
3204 $as_echo_n "(cached) " >&6
3206 if test -n "$CC"; then
3207 ac_cv_prog_CC
="$CC" # Let the user override the test.
3209 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3213 test -z "$as_dir" && as_dir
=.
3214 for ac_exec_ext
in '' $ac_executable_extensions; do
3215 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3216 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3217 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3227 if test -n "$CC"; then
3228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3229 $as_echo "$CC" >&6; }
3231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3232 $as_echo "no" >&6; }
3237 if test -z "$ac_cv_prog_CC"; then
3239 # Extract the first word of "gcc", so it can be a program name with args.
3240 set dummy gcc
; ac_word
=$2
3241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3242 $as_echo_n "checking for $ac_word... " >&6; }
3243 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3244 $as_echo_n "(cached) " >&6
3246 if test -n "$ac_ct_CC"; then
3247 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3249 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3253 test -z "$as_dir" && as_dir
=.
3254 for ac_exec_ext
in '' $ac_executable_extensions; do
3255 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3256 ac_cv_prog_ac_ct_CC
="gcc"
3257 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3266 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3267 if test -n "$ac_ct_CC"; then
3268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3269 $as_echo "$ac_ct_CC" >&6; }
3271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3272 $as_echo "no" >&6; }
3275 if test "x$ac_ct_CC" = x
; then
3278 case $cross_compiling:$ac_tool_warned in
3280 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3281 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3282 ac_tool_warned
=yes ;;
3290 if test -z "$CC"; then
3291 if test -n "$ac_tool_prefix"; then
3292 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3293 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3295 $as_echo_n "checking for $ac_word... " >&6; }
3296 if ${ac_cv_prog_CC+:} false
; then :
3297 $as_echo_n "(cached) " >&6
3299 if test -n "$CC"; then
3300 ac_cv_prog_CC
="$CC" # Let the user override the test.
3302 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3306 test -z "$as_dir" && as_dir
=.
3307 for ac_exec_ext
in '' $ac_executable_extensions; do
3308 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3309 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3310 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3320 if test -n "$CC"; then
3321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3322 $as_echo "$CC" >&6; }
3324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3325 $as_echo "no" >&6; }
3331 if test -z "$CC"; then
3332 # Extract the first word of "cc", so it can be a program name with args.
3333 set dummy cc
; ac_word
=$2
3334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3335 $as_echo_n "checking for $ac_word... " >&6; }
3336 if ${ac_cv_prog_CC+:} false
; then :
3337 $as_echo_n "(cached) " >&6
3339 if test -n "$CC"; then
3340 ac_cv_prog_CC
="$CC" # Let the user override the test.
3343 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3347 test -z "$as_dir" && as_dir
=.
3348 for ac_exec_ext
in '' $ac_executable_extensions; do
3349 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3350 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3351 ac_prog_rejected
=yes
3355 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3362 if test $ac_prog_rejected = yes; then
3363 # We found a bogon in the path, so make sure we never use it.
3364 set dummy
$ac_cv_prog_CC
3366 if test $# != 0; then
3367 # We chose a different compiler from the bogus one.
3368 # However, it has the same basename, so the bogon will be chosen
3369 # first if we set CC to just the basename; use the full file name.
3371 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3377 if test -n "$CC"; then
3378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3379 $as_echo "$CC" >&6; }
3381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3382 $as_echo "no" >&6; }
3387 if test -z "$CC"; then
3388 if test -n "$ac_tool_prefix"; then
3389 for ac_prog
in cl.exe
3391 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3392 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3394 $as_echo_n "checking for $ac_word... " >&6; }
3395 if ${ac_cv_prog_CC+:} false
; then :
3396 $as_echo_n "(cached) " >&6
3398 if test -n "$CC"; then
3399 ac_cv_prog_CC
="$CC" # Let the user override the test.
3401 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3405 test -z "$as_dir" && as_dir
=.
3406 for ac_exec_ext
in '' $ac_executable_extensions; do
3407 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3408 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3409 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3419 if test -n "$CC"; then
3420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3421 $as_echo "$CC" >&6; }
3423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3424 $as_echo "no" >&6; }
3428 test -n "$CC" && break
3431 if test -z "$CC"; then
3433 for ac_prog
in cl.exe
3435 # Extract the first word of "$ac_prog", so it can be a program name with args.
3436 set dummy
$ac_prog; ac_word
=$2
3437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3438 $as_echo_n "checking for $ac_word... " >&6; }
3439 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3440 $as_echo_n "(cached) " >&6
3442 if test -n "$ac_ct_CC"; then
3443 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3445 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3449 test -z "$as_dir" && as_dir
=.
3450 for ac_exec_ext
in '' $ac_executable_extensions; do
3451 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3452 ac_cv_prog_ac_ct_CC
="$ac_prog"
3453 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3462 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3463 if test -n "$ac_ct_CC"; then
3464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3465 $as_echo "$ac_ct_CC" >&6; }
3467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3468 $as_echo "no" >&6; }
3472 test -n "$ac_ct_CC" && break
3475 if test "x$ac_ct_CC" = x
; then
3478 case $cross_compiling:$ac_tool_warned in
3480 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3481 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3482 ac_tool_warned
=yes ;;
3491 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3492 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3493 as_fn_error $?
"no acceptable C compiler found in \$PATH
3494 See \`config.log' for more details" "$LINENO" 5; }
3496 # Provide some information about the compiler.
3497 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3500 for ac_option
in --version -v -V -qversion; do
3501 { { ac_try
="$ac_compiler $ac_option >&5"
3503 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3504 *) ac_try_echo=$ac_try;;
3506 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3507 $as_echo "$ac_try_echo"; } >&5
3508 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3510 if test -s conftest.err; then
3512 ... rest of stderr output deleted ...
3513 10q' conftest.err >conftest.er1
3514 cat conftest.er1 >&5
3516 rm -f conftest.er1 conftest.err
3517 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3518 test $ac_status = 0; }
3521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3522 /* end confdefs.h. */
3532 ac_clean_files_save=$ac_clean_files
3533 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3534 # Try to create an executable without -o first, disregard a.out.
3535 # It will help us diagnose broken compilers, and finding out an intuition
3537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3538 $as_echo_n "checking whether the C compiler works... " >&6; }
3539 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3541 # The possible output files:
3542 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3545 for ac_file in $ac_files
3548 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3549 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3554 if { { ac_try="$ac_link_default"
3556 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
3557 *) ac_try_echo
=$ac_try;;
3559 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3560 $as_echo "$ac_try_echo"; } >&5
3561 (eval "$ac_link_default") 2>&5
3563 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3564 test $ac_status = 0; }; then :
3565 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3566 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3567 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3568 # so that the user can short-circuit this test for compilers unknown to
3570 for ac_file
in $ac_files ''
3572 test -f "$ac_file" || continue
3574 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.dSYM
| *.o
| *.obj
)
3577 # We found the default executable, but exeext='' is most
3581 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3583 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3585 # We set ac_cv_exeext here because the later test for it is not
3586 # safe: cross compilers may not add the suffix if given an `-o'
3587 # argument, so we may need to know it at that point already.
3588 # Even if this section looks crufty: it has the advantage of
3595 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3600 if test -z "$ac_file"; then :
3601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3602 $as_echo "no" >&6; }
3603 $as_echo "$as_me: failed program was:" >&5
3604 sed 's/^/| /' conftest.
$ac_ext >&5
3606 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3607 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3608 as_fn_error
77 "C compiler cannot create executables
3609 See \`config.log' for more details" "$LINENO" 5; }
3611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3612 $as_echo "yes" >&6; }
3614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3615 $as_echo_n "checking for C compiler default output file name... " >&6; }
3616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3617 $as_echo "$ac_file" >&6; }
3618 ac_exeext
=$ac_cv_exeext
3620 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3621 ac_clean_files
=$ac_clean_files_save
3622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3623 $as_echo_n "checking for suffix of executables... " >&6; }
3624 if { { ac_try
="$ac_link"
3626 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3627 *) ac_try_echo=$ac_try;;
3629 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3630 $as_echo "$ac_try_echo"; } >&5
3631 (eval "$ac_link") 2>&5
3633 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3634 test $ac_status = 0; }; then :
3635 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3636 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3637 # work properly (i.e., refer to `conftest.exe'), while it won't with
3639 for ac_file
in conftest.exe conftest conftest.
*; do
3640 test -f "$ac_file" || continue
3642 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.dSYM
| *.o
| *.obj
) ;;
3643 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3649 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3650 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3651 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3652 See \`config.log' for more details" "$LINENO" 5; }
3654 rm -f conftest conftest
$ac_cv_exeext
3655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3656 $as_echo "$ac_cv_exeext" >&6; }
3658 rm -f conftest.
$ac_ext
3659 EXEEXT
=$ac_cv_exeext
3661 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3662 /* end confdefs.h. */
3667 FILE *f = fopen ("conftest.out", "w");
3668 return ferror (f) || fclose (f) != 0;
3674 ac_clean_files
="$ac_clean_files conftest.out"
3675 # Check that the compiler produces executables we can run. If not, either
3676 # the compiler is broken, or we cross compile.
3677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3678 $as_echo_n "checking whether we are cross compiling... " >&6; }
3679 if test "$cross_compiling" != yes; then
3680 { { ac_try
="$ac_link"
3682 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3683 *) ac_try_echo=$ac_try;;
3685 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3686 $as_echo "$ac_try_echo"; } >&5
3687 (eval "$ac_link") 2>&5
3689 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3690 test $ac_status = 0; }
3691 if { ac_try='./conftest$ac_cv_exeext'
3692 { { case "(($ac_try" in
3693 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
3694 *) ac_try_echo
=$ac_try;;
3696 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3697 $as_echo "$ac_try_echo"; } >&5
3698 (eval "$ac_try") 2>&5
3700 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3701 test $ac_status = 0; }; }; then
3704 if test "$cross_compiling" = maybe
; then
3707 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3708 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3709 as_fn_error $?
"cannot run C compiled programs.
3710 If you meant to cross compile, use \`--host'.
3711 See \`config.log' for more details" "$LINENO" 5; }
3715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3716 $as_echo "$cross_compiling" >&6; }
3718 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3719 ac_clean_files
=$ac_clean_files_save
3720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3721 $as_echo_n "checking for suffix of object files... " >&6; }
3722 if ${ac_cv_objext+:} false
; then :
3723 $as_echo_n "(cached) " >&6
3725 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3726 /* end confdefs.h. */
3736 rm -f conftest.o conftest.obj
3737 if { { ac_try
="$ac_compile"
3739 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3740 *) ac_try_echo=$ac_try;;
3742 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3743 $as_echo "$ac_try_echo"; } >&5
3744 (eval "$ac_compile") 2>&5
3746 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3747 test $ac_status = 0; }; then :
3748 for ac_file in conftest.o conftest.obj conftest.*; do
3749 test -f "$ac_file" || continue;
3751 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3752 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3757 $as_echo "$as_me: failed program was:" >&5
3758 sed 's/^/| /' conftest.$ac_ext >&5
3760 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3761 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3762 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3763 See \
`config.log' for more details" "$LINENO" 5; }
3765 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3768 $as_echo "$ac_cv_objext" >&6; }
3769 OBJEXT=$ac_cv_objext
3771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3772 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3773 if ${ac_cv_c_compiler_gnu+:} false; then :
3774 $as_echo_n "(cached) " >&6
3776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3777 /* end confdefs.h. */
3790 if ac_fn_c_try_compile "$LINENO"; then :
3795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3796 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3800 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3801 if test $ac_compiler_gnu = yes; then
3806 ac_test_CFLAGS=${CFLAGS+set}
3807 ac_save_CFLAGS=$CFLAGS
3808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3809 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3810 if ${ac_cv_prog_cc_g+:} false; then :
3811 $as_echo_n "(cached) " >&6
3813 ac_save_c_werror_flag=$ac_c_werror_flag
3814 ac_c_werror_flag=yes
3817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3818 /* end confdefs.h. */
3828 if ac_fn_c_try_compile "$LINENO"; then :
3832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3833 /* end confdefs.h. */
3843 if ac_fn_c_try_compile "$LINENO"; then :
3846 ac_c_werror_flag=$ac_save_c_werror_flag
3848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3849 /* end confdefs.h. */
3859 if ac_fn_c_try_compile "$LINENO"; then :
3862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3867 ac_c_werror_flag=$ac_save_c_werror_flag
3869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3870 $as_echo "$ac_cv_prog_cc_g" >&6; }
3871 if test "$ac_test_CFLAGS" = set; then
3872 CFLAGS=$ac_save_CFLAGS
3873 elif test $ac_cv_prog_cc_g = yes; then
3874 if test "$GCC" = yes; then
3880 if test "$GCC" = yes; then
3886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3887 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3888 if ${ac_cv_prog_cc_c89+:} false; then :
3889 $as_echo_n "(cached) " >&6
3891 ac_cv_prog_cc_c89=no
3893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3894 /* end confdefs.h. */
3898 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3899 struct buf { int x; };
3900 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3901 static char *e (p, i)
3907 static char *f (char * (*g) (char **, int), char **p, ...)
3912 s = g (p, va_arg (v,int));
3917 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3918 function prototypes and stuff, but not '\xHH' hex character constants.
3919 These don't provoke an error unfortunately, instead are silently treated
3920 as 'x'. The following induces an error, until -std is added to get
3921 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3922 array size at least. It's necessary to write '\x00'==0 to get something
3923 that's true only with -std. */
3924 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3926 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3927 inside strings and character constants. */
3929 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3931 int test (int i, double x);
3932 struct s1 {int (*f) (int a);};
3933 struct s2 {int (*f) (double a);};
3934 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3940 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3945 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3946 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3948 CC="$ac_save_CC $ac_arg"
3949 if ac_fn_c_try_compile "$LINENO"; then :
3950 ac_cv_prog_cc_c89=$ac_arg
3952 rm -f core conftest.err conftest.$ac_objext
3953 test "x$ac_cv_prog_cc_c89" != "xno" && break
3955 rm -f conftest.$ac_ext
3960 case "x$ac_cv_prog_cc_c89" in
3962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3963 $as_echo "none needed" >&6; } ;;
3965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3966 $as_echo "unsupported" >&6; } ;;
3968 CC="$CC $ac_cv_prog_cc_c89"
3969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3970 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3972 if test "x$ac_cv_prog_cc_c89" != xno; then :
3977 ac_cpp='$CPP $CPPFLAGS'
3978 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3979 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3980 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3983 ac_cpp='$CPP $CPPFLAGS'
3984 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3985 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3986 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3988 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3989 if ${am_cv_prog_cc_c_o+:} false; then :
3990 $as_echo_n "(cached) " >&6
3992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3993 /* end confdefs.h. */
4003 # Make sure it works both with $CC and with simple cc.
4004 # Following AC_PROG_CC_C_O, we do the test twice because some
4005 # compilers refuse to overwrite an existing .o file with -o,
4006 # though they will create one.
4007 am_cv_prog_cc_c_o=yes
4009 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4010 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4013 (exit $ac_status); } \
4014 && test -f conftest2.$ac_objext; then
4017 am_cv_prog_cc_c_o=no
4021 rm -f core conftest*
4024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4025 $as_echo "$am_cv_prog_cc_c_o" >&6; }
4026 if test "$am_cv_prog_cc_c_o" != yes; then
4027 # Losing compiler, so override with the script.
4028 # FIXME: It is wrong to rewrite CC.
4029 # But if we don't then we get into trouble of one sort or another.
4030 # A longer-term fix would be to have automake use am__CC in this case,
4031 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4032 CC="$am_aux_dir/compile $CC"
4035 ac_cpp='$CPP $CPPFLAGS'
4036 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4037 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4038 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4040 DEPDIR="${am__leading_dot}deps"
4042 ac_config_commands="$ac_config_commands depfiles"
4045 am_make=${MAKE-make}
4046 cat > confinc << 'END'
4048 @echo this is the am__doit target
4051 # If we don't find an include directive, just comment out the code.
4052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4053 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4057 # First try GNU make style include.
4058 echo "include confinc" > confmf
4059 # Ignore all kinds of additional output from 'make'.
4060 case `$am_make -s -f confmf
2> /dev
/null
` in #(
4061 *the\ am__doit\ target*)
4067 # Now try BSD make style include.
4068 if test "$am__include" = "#"; then
4069 echo '.include "confinc"' > confmf
4070 case `$am_make -s -f confmf
2> /dev
/null
` in #(
4071 *the\ am__doit\ target*)
4072 am__include=.include
4080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4081 $as_echo "$_am_result" >&6; }
4082 rm -f confinc confmf
4084 # Check whether --enable-dependency-tracking was given.
4085 if test "${enable_dependency_tracking+set}" = set; then :
4086 enableval=$enable_dependency_tracking;
4089 if test "x$enable_dependency_tracking" != xno; then
4090 am_depcomp="$ac_aux_dir/depcomp"
4094 if test "x$enable_dependency_tracking" != xno; then
4104 depcc="$CC" am_compiler_list=
4106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4107 $as_echo_n "checking dependency style of $depcc... " >&6; }
4108 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4109 $as_echo_n "(cached) " >&6
4111 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4112 # We make a subdir and do the tests there. Otherwise we can end up
4113 # making bogus files that we don't know about and never remove. For
4114 # instance it was reported that on HP-UX the gcc test will end up
4115 # making a dummy file named 'D' -- because '-MD' means "put the output
4119 # Copy depcomp to subdir because otherwise we won't find it if we're
4120 # using a relative directory.
4121 cp "$am_depcomp" conftest.dir
4123 # We will build objects and dependencies in a subdirectory because
4124 # it helps to detect inapplicable dependency modes. For instance
4125 # both Tru64's cc and ICC support -MD to output dependencies as a
4126 # side effect of compilation, but ICC will put the dependencies in
4127 # the current directory while Tru64 will put them in the object
4131 am_cv_CC_dependencies_compiler_type=none
4132 if test "$am_compiler_list" = ""; then
4133 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
4136 case " $depcc " in #(
4137 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4140 for depmode in $am_compiler_list; do
4141 # Setup a source with many dependencies, because some compilers
4142 # like to wrap large dependency lists on column 80 (with \), and
4143 # we should not choose a depcomp mode which is confused by this.
4145 # We need to recreate these files for each test, as the compiler may
4146 # overwrite some of them when testing with obscure command lines.
4147 # This happens at least with the AIX C compiler.
4149 for i in 1 2 3 4 5 6; do
4150 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4151 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4152 # Solaris 10 /bin/sh.
4153 echo '/* dummy */' > sub/conftst$i.h
4155 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4157 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4158 # mode. It turns out that the SunPro C++ compiler does not properly
4159 # handle '-M -o', and we need to detect this. Also, some Intel
4160 # versions had trouble with output in subdirs.
4161 am__obj=sub/conftest.${OBJEXT-o}
4162 am__minus_obj="-o $am__obj"
4165 # This depmode causes a compiler race in universal mode.
4166 test "$am__universal" = false || continue
4169 # After this tag, mechanisms are not by side-effect, so they'll
4170 # only be used when explicitly requested.
4171 if test "x$enable_dependency_tracking" = xyes; then
4177 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4178 # This compiler won't grok '-c -o', but also, the minuso test has
4179 # not run yet. These depmodes are late enough in the game, and
4180 # so weak that their functioning should not be impacted.
4181 am__obj=conftest.${OBJEXT-o}
4186 if depmode=$depmode \
4187 source=sub/conftest.c object=$am__obj \
4188 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4189 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4190 >/dev/null 2>conftest.err &&
4191 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4192 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4193 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4194 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4195 # icc doesn't choke on unknown options, it will just issue warnings
4196 # or remarks (even with -Werror). So we grep stderr for any message
4197 # that says an option was ignored or not supported.
4198 # When given -MP, icc 7.0 and 7.1 complain thusly:
4199 # icc: Command line warning: ignoring option '-M'; no argument required
4200 # The diagnosis changed in icc 8.0:
4201 # icc: Command line remark: option '-MP' not supported
4202 if (grep 'ignoring option' conftest.err ||
4203 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4204 am_cv_CC_dependencies_compiler_type=$depmode
4213 am_cv_CC_dependencies_compiler_type=none
4217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4218 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4219 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4222 test "x$enable_dependency_tracking" != xno \
4223 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4225 am__fastdepCC_FALSE='#'
4227 am__fastdepCC_TRUE='#'
4228 am__fastdepCC_FALSE=
4233 ac_cpp='$CXXCPP $CPPFLAGS'
4234 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4235 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4236 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4237 if test -z "$CXX"; then
4238 if test -n "$CCC"; then
4241 if test -n "$ac_tool_prefix"; then
4242 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4244 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4245 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4247 $as_echo_n "checking for $ac_word... " >&6; }
4248 if ${ac_cv_prog_CXX+:} false; then :
4249 $as_echo_n "(cached) " >&6
4251 if test -n "$CXX"; then
4252 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4254 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4258 test -z "$as_dir" && as_dir=.
4259 for ac_exec_ext in '' $ac_executable_extensions; do
4260 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4261 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4262 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4272 if test -n "$CXX"; then
4273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4274 $as_echo "$CXX" >&6; }
4276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4277 $as_echo "no" >&6; }
4281 test -n "$CXX" && break
4284 if test -z "$CXX"; then
4286 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4288 # Extract the first word of "$ac_prog", so it can be a program name with args.
4289 set dummy $ac_prog; ac_word=$2
4290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4291 $as_echo_n "checking for $ac_word... " >&6; }
4292 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4293 $as_echo_n "(cached) " >&6
4295 if test -n "$ac_ct_CXX"; then
4296 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4298 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4302 test -z "$as_dir" && as_dir=.
4303 for ac_exec_ext in '' $ac_executable_extensions; do
4304 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4305 ac_cv_prog_ac_ct_CXX="$ac_prog"
4306 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4315 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4316 if test -n "$ac_ct_CXX"; then
4317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4318 $as_echo "$ac_ct_CXX" >&6; }
4320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4321 $as_echo "no" >&6; }
4325 test -n "$ac_ct_CXX" && break
4328 if test "x$ac_ct_CXX" = x; then
4331 case $cross_compiling:$ac_tool_warned in
4333 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4334 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4335 ac_tool_warned=yes ;;
4343 # Provide some information about the compiler.
4344 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4347 for ac_option in --version -v -V -qversion; do
4348 { { ac_try="$ac_compiler $ac_option >&5"
4350 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
4351 *) ac_try_echo
=$ac_try;;
4353 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4354 $as_echo "$ac_try_echo"; } >&5
4355 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4357 if test -s conftest.err
; then
4359 ... rest of stderr output deleted ...
4360 10q' conftest.err
>conftest.er1
4361 cat conftest.er1
>&5
4363 rm -f conftest.er1 conftest.err
4364 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4365 test $ac_status = 0; }
4368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4369 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4370 if ${ac_cv_cxx_compiler_gnu+:} false
; then :
4371 $as_echo_n "(cached) " >&6
4373 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4374 /* end confdefs.h. */
4387 if ac_fn_cxx_try_compile
"$LINENO"; then :
4392 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4393 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
4396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4397 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4398 if test $ac_compiler_gnu = yes; then
4403 ac_test_CXXFLAGS
=${CXXFLAGS+set}
4404 ac_save_CXXFLAGS
=$CXXFLAGS
4405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4406 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4407 if ${ac_cv_prog_cxx_g+:} false
; then :
4408 $as_echo_n "(cached) " >&6
4410 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
4411 ac_cxx_werror_flag
=yes
4414 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4415 /* end confdefs.h. */
4425 if ac_fn_cxx_try_compile
"$LINENO"; then :
4426 ac_cv_prog_cxx_g
=yes
4429 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4430 /* end confdefs.h. */
4440 if ac_fn_cxx_try_compile
"$LINENO"; then :
4443 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4445 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4446 /* end confdefs.h. */
4456 if ac_fn_cxx_try_compile
"$LINENO"; then :
4457 ac_cv_prog_cxx_g
=yes
4459 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4461 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4463 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4464 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4467 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4468 if test "$ac_test_CXXFLAGS" = set; then
4469 CXXFLAGS
=$ac_save_CXXFLAGS
4470 elif test $ac_cv_prog_cxx_g = yes; then
4471 if test "$GXX" = yes; then
4477 if test "$GXX" = yes; then
4484 ac_cpp
='$CPP $CPPFLAGS'
4485 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4486 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4487 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4489 depcc
="$CXX" am_compiler_list
=
4491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4492 $as_echo_n "checking dependency style of $depcc... " >&6; }
4493 if ${am_cv_CXX_dependencies_compiler_type+:} false
; then :
4494 $as_echo_n "(cached) " >&6
4496 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4497 # We make a subdir and do the tests there. Otherwise we can end up
4498 # making bogus files that we don't know about and never remove. For
4499 # instance it was reported that on HP-UX the gcc test will end up
4500 # making a dummy file named 'D' -- because '-MD' means "put the output
4504 # Copy depcomp to subdir because otherwise we won't find it if we're
4505 # using a relative directory.
4506 cp "$am_depcomp" conftest.dir
4508 # We will build objects and dependencies in a subdirectory because
4509 # it helps to detect inapplicable dependency modes. For instance
4510 # both Tru64's cc and ICC support -MD to output dependencies as a
4511 # side effect of compilation, but ICC will put the dependencies in
4512 # the current directory while Tru64 will put them in the object
4516 am_cv_CXX_dependencies_compiler_type
=none
4517 if test "$am_compiler_list" = ""; then
4518 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4521 case " $depcc " in #(
4522 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
4525 for depmode
in $am_compiler_list; do
4526 # Setup a source with many dependencies, because some compilers
4527 # like to wrap large dependency lists on column 80 (with \), and
4528 # we should not choose a depcomp mode which is confused by this.
4530 # We need to recreate these files for each test, as the compiler may
4531 # overwrite some of them when testing with obscure command lines.
4532 # This happens at least with the AIX C compiler.
4534 for i
in 1 2 3 4 5 6; do
4535 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4536 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4537 # Solaris 10 /bin/sh.
4538 echo '/* dummy */' > sub
/conftst
$i.h
4540 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4542 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4543 # mode. It turns out that the SunPro C++ compiler does not properly
4544 # handle '-M -o', and we need to detect this. Also, some Intel
4545 # versions had trouble with output in subdirs.
4546 am__obj
=sub
/conftest.
${OBJEXT-o}
4547 am__minus_obj
="-o $am__obj"
4550 # This depmode causes a compiler race in universal mode.
4551 test "$am__universal" = false
|| continue
4554 # After this tag, mechanisms are not by side-effect, so they'll
4555 # only be used when explicitly requested.
4556 if test "x$enable_dependency_tracking" = xyes
; then
4562 msvc7
| msvc7msys
| msvisualcpp
| msvcmsys
)
4563 # This compiler won't grok '-c -o', but also, the minuso test has
4564 # not run yet. These depmodes are late enough in the game, and
4565 # so weak that their functioning should not be impacted.
4566 am__obj
=conftest.
${OBJEXT-o}
4571 if depmode
=$depmode \
4572 source=sub
/conftest.c object
=$am__obj \
4573 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4574 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4575 >/dev
/null
2>conftest.err
&&
4576 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4577 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4578 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4579 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4580 # icc doesn't choke on unknown options, it will just issue warnings
4581 # or remarks (even with -Werror). So we grep stderr for any message
4582 # that says an option was ignored or not supported.
4583 # When given -MP, icc 7.0 and 7.1 complain thusly:
4584 # icc: Command line warning: ignoring option '-M'; no argument required
4585 # The diagnosis changed in icc 8.0:
4586 # icc: Command line remark: option '-MP' not supported
4587 if (grep 'ignoring option' conftest.err
||
4588 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4589 am_cv_CXX_dependencies_compiler_type
=$depmode
4598 am_cv_CXX_dependencies_compiler_type
=none
4602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
4603 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
4604 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
4607 test "x$enable_dependency_tracking" != xno \
4608 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
4609 am__fastdepCXX_TRUE
=
4610 am__fastdepCXX_FALSE
='#'
4612 am__fastdepCXX_TRUE
='#'
4613 am__fastdepCXX_FALSE
=
4618 ac_cpp
='$OBJCXXCPP $CPPFLAGS'
4619 ac_compile
='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4620 ac_link
='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4621 ac_compiler_gnu
=$ac_cv_objcxx_compiler_gnu
4622 if test -n "$ac_tool_prefix"; then
4623 for ac_prog
in g
++ objc
++ objcxx c
++ CXX
4625 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4626 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4628 $as_echo_n "checking for $ac_word... " >&6; }
4629 if ${ac_cv_prog_OBJCXX+:} false
; then :
4630 $as_echo_n "(cached) " >&6
4632 if test -n "$OBJCXX"; then
4633 ac_cv_prog_OBJCXX
="$OBJCXX" # Let the user override the test.
4635 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4639 test -z "$as_dir" && as_dir
=.
4640 for ac_exec_ext
in '' $ac_executable_extensions; do
4641 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4642 ac_cv_prog_OBJCXX
="$ac_tool_prefix$ac_prog"
4643 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4652 OBJCXX
=$ac_cv_prog_OBJCXX
4653 if test -n "$OBJCXX"; then
4654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCXX" >&5
4655 $as_echo "$OBJCXX" >&6; }
4657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4658 $as_echo "no" >&6; }
4662 test -n "$OBJCXX" && break
4665 if test -z "$OBJCXX"; then
4666 ac_ct_OBJCXX
=$OBJCXX
4667 for ac_prog
in g
++ objc
++ objcxx c
++ CXX
4669 # Extract the first word of "$ac_prog", so it can be a program name with args.
4670 set dummy
$ac_prog; ac_word
=$2
4671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4672 $as_echo_n "checking for $ac_word... " >&6; }
4673 if ${ac_cv_prog_ac_ct_OBJCXX+:} false
; then :
4674 $as_echo_n "(cached) " >&6
4676 if test -n "$ac_ct_OBJCXX"; then
4677 ac_cv_prog_ac_ct_OBJCXX
="$ac_ct_OBJCXX" # Let the user override the test.
4679 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4683 test -z "$as_dir" && as_dir
=.
4684 for ac_exec_ext
in '' $ac_executable_extensions; do
4685 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4686 ac_cv_prog_ac_ct_OBJCXX
="$ac_prog"
4687 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4696 ac_ct_OBJCXX
=$ac_cv_prog_ac_ct_OBJCXX
4697 if test -n "$ac_ct_OBJCXX"; then
4698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJCXX" >&5
4699 $as_echo "$ac_ct_OBJCXX" >&6; }
4701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4702 $as_echo "no" >&6; }
4706 test -n "$ac_ct_OBJCXX" && break
4709 if test "x$ac_ct_OBJCXX" = x
; then
4712 case $cross_compiling:$ac_tool_warned in
4714 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4715 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4716 ac_tool_warned
=yes ;;
4718 OBJCXX
=$ac_ct_OBJCXX
4722 # Provide some information about the compiler.
4723 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Objective C++ compiler version" >&5
4726 for ac_option
in --version -v -V -qversion; do
4727 { { ac_try
="$ac_compiler $ac_option >&5"
4729 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
4730 *) ac_try_echo=$ac_try;;
4732 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4733 $as_echo "$ac_try_echo"; } >&5
4734 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4736 if test -s conftest.err; then
4738 ... rest of stderr output deleted ...
4739 10q' conftest.err >conftest.er1
4740 cat conftest.er1 >&5
4742 rm -f conftest.er1 conftest.err
4743 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4744 test $ac_status = 0; }
4747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Objective C++ compiler" >&5
4748 $as_echo_n "checking whether we are using the GNU Objective C++ compiler... " >&6; }
4749 if ${ac_cv_objcxx_compiler_gnu+:} false; then :
4750 $as_echo_n "(cached) " >&6
4752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4753 /* end confdefs.h. */
4766 if ac_fn_objcxx_try_compile "$LINENO"; then :
4771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4772 ac_cv_objcxx_compiler_gnu=$ac_compiler_gnu
4775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objcxx_compiler_gnu" >&5
4776 $as_echo "$ac_cv_objcxx_compiler_gnu" >&6; }
4777 if test $ac_compiler_gnu = yes; then
4782 ac_test_OBJCXXFLAGS=${OBJCXXFLAGS+set}
4783 ac_save_OBJCXXFLAGS=$OBJCXXFLAGS
4784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $OBJCXX accepts -g" >&5
4785 $as_echo_n "checking whether $OBJCXX accepts -g... " >&6; }
4786 if ${ac_cv_prog_objcxx_g+:} false; then :
4787 $as_echo_n "(cached) " >&6
4789 ac_save_objcxx_werror_flag=$ac_objcxx_werror_flag
4790 ac_objcxx_werror_flag=yes
4791 ac_cv_prog_objcxx_g=no
4793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4794 /* end confdefs.h. */
4804 if ac_fn_objcxx_try_compile "$LINENO"; then :
4805 ac_cv_prog_objcxx_g=yes
4808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4809 /* end confdefs.h. */
4819 if ac_fn_objcxx_try_compile "$LINENO"; then :
4822 ac_objcxx_werror_flag=$ac_save_objcxx_werror_flag
4824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4825 /* end confdefs.h. */
4835 if ac_fn_objcxx_try_compile "$LINENO"; then :
4836 ac_cv_prog_objcxx_g=yes
4838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4843 ac_objcxx_werror_flag=$ac_save_objcx_werror_flag
4845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objcxx_g" >&5
4846 $as_echo "$ac_cv_prog_objcxx_g" >&6; }
4847 if test "$ac_test_OBJCXXFLAGS" = set; then
4848 OBJCXXFLAGS=$ac_save_OBJCXXFLAGS
4849 elif test $ac_cv_prog_objcxx_g = yes; then
4850 if test "$GOBJCXX" = yes; then
4851 OBJCXXFLAGS="-g -O2"
4856 if test "$GOBJCXX" = yes; then
4863 ac_cpp='$CPP $CPPFLAGS'
4864 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4865 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4866 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4868 depcc="$OBJCXX" am_compiler_list='gcc3 gcc'
4870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4871 $as_echo_n "checking dependency style of $depcc... " >&6; }
4872 if ${am_cv_OBJCXX_dependencies_compiler_type+:} false; then :
4873 $as_echo_n "(cached) " >&6
4875 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4876 # We make a subdir and do the tests there. Otherwise we can end up
4877 # making bogus files that we don't know about and never remove. For
4878 # instance it was reported that on HP-UX the gcc test will end up
4879 # making a dummy file named 'D' -- because '-MD' means "put the output
4883 # Copy depcomp to subdir because otherwise we won't find it if we're
4884 # using a relative directory.
4885 cp "$am_depcomp" conftest.dir
4887 # We will build objects and dependencies in a subdirectory because
4888 # it helps to detect inapplicable dependency modes. For instance
4889 # both Tru64's cc and ICC support -MD to output dependencies as a
4890 # side effect of compilation, but ICC will put the dependencies in
4891 # the current directory while Tru64 will put them in the object
4895 am_cv_OBJCXX_dependencies_compiler_type=none
4896 if test "$am_compiler_list" = ""; then
4897 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
4902 for depmode in $am_compiler_list; do
4903 # Setup a source with many dependencies, because some compilers
4904 # like to wrap large dependency lists on column 80 (with \), and
4905 # we should not choose a depcomp mode which is confused by this.
4907 # We need to recreate these files for each test, as the compiler may
4908 # overwrite some of them when testing with obscure command lines.
4909 # This happens at least with the AIX C compiler.
4911 for i in 1 2 3 4 5 6; do
4912 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4913 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4914 # Solaris 10 /bin/sh.
4915 echo '/* dummy */' > sub/conftst$i.h
4917 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4919 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4920 # mode. It turns out that the SunPro C++ compiler does not properly
4921 # handle '-M -o', and we need to detect this. Also, some Intel
4922 # versions had trouble with output in subdirs.
4923 am__obj=sub/conftest.${OBJEXT-o}
4924 am__minus_obj="-o $am__obj"
4927 # This depmode causes a compiler race in universal mode.
4928 test "$am__universal" = false || continue
4931 # After this tag, mechanisms are not by side-effect, so they'll
4932 # only be used when explicitly requested.
4933 if test "x$enable_dependency_tracking" = xyes; then
4939 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4940 # This compiler won't grok '-c -o', but also, the minuso test has
4941 # not run yet. These depmodes are late enough in the game, and
4942 # so weak that their functioning should not be impacted.
4943 am__obj=conftest.${OBJEXT-o}
4948 if depmode=$depmode \
4949 source=sub/conftest.c object=$am__obj \
4950 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4951 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4952 >/dev/null 2>conftest.err &&
4953 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4954 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4955 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4956 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4957 # icc doesn't choke on unknown options, it will just issue warnings
4958 # or remarks (even with -Werror). So we grep stderr for any message
4959 # that says an option was ignored or not supported.
4960 # When given -MP, icc 7.0 and 7.1 complain thusly:
4961 # icc: Command line warning: ignoring option '-M'; no argument required
4962 # The diagnosis changed in icc 8.0:
4963 # icc: Command line remark: option '-MP' not supported
4964 if (grep 'ignoring option' conftest.err ||
4965 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4966 am_cv_OBJCXX_dependencies_compiler_type=$depmode
4975 am_cv_OBJCXX_dependencies_compiler_type=none
4979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_OBJCXX_dependencies_compiler_type" >&5
4980 $as_echo "$am_cv_OBJCXX_dependencies_compiler_type" >&6; }
4981 OBJCXXDEPMODE=depmode=$am_cv_OBJCXX_dependencies_compiler_type
4984 test "x$enable_dependency_tracking" != xno \
4985 && test "$am_cv_OBJCXX_dependencies_compiler_type" = gcc3; then
4986 am__fastdepOBJCXX_TRUE=
4987 am__fastdepOBJCXX_FALSE='#'
4989 am__fastdepOBJCXX_TRUE='#'
4990 am__fastdepOBJCXX_FALSE=
4996 ac_cpp='$CPP $CPPFLAGS'
4997 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4998 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4999 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
5001 $as_echo_n "checking how to run the C preprocessor... " >&6; }
5002 # On Suns, sometimes $CPP names a directory.
5003 if test -n "$CPP" && test -d "$CPP"; then
5006 if test -z "$CPP"; then
5007 if ${ac_cv_prog_CPP+:} false; then :
5008 $as_echo_n "(cached) " >&6
5010 # Double quotes because CPP needs to be expanded
5011 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5014 for ac_c_preproc_warn_flag in '' yes
5016 # Use a header file that comes with gcc, so configuring glibc
5017 # with a fresh cross-compiler works.
5018 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5019 # <limits.h> exists even on freestanding compilers.
5020 # On the NeXT, cc -E runs the code through the compiler's parser,
5021 # not just through cpp. "Syntax error" is here to catch this case.
5022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5023 /* end confdefs.h. */
5025 # include <limits.h>
5027 # include <assert.h>
5031 if ac_fn_c_try_cpp "$LINENO"; then :
5034 # Broken: fails on valid input.
5037 rm -f conftest.err conftest.i conftest.$ac_ext
5039 # OK, works on sane cases. Now check whether nonexistent headers
5040 # can be detected and how.
5041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5042 /* end confdefs.h. */
5043 #include <ac_nonexistent.h>
5045 if ac_fn_c_try_cpp "$LINENO"; then :
5046 # Broken: success on invalid input.
5049 # Passes both tests.
5053 rm -f conftest.err conftest.i conftest.$ac_ext
5056 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5057 rm -f conftest.i conftest.err conftest.
$ac_ext
5058 if $ac_preproc_ok; then :
5070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5071 $as_echo "$CPP" >&6; }
5073 for ac_c_preproc_warn_flag
in '' yes
5075 # Use a header file that comes with gcc, so configuring glibc
5076 # with a fresh cross-compiler works.
5077 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5078 # <limits.h> exists even on freestanding compilers.
5079 # On the NeXT, cc -E runs the code through the compiler's parser,
5080 # not just through cpp. "Syntax error" is here to catch this case.
5081 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5082 /* end confdefs.h. */
5084 # include <limits.h>
5086 # include <assert.h>
5090 if ac_fn_c_try_cpp
"$LINENO"; then :
5093 # Broken: fails on valid input.
5096 rm -f conftest.err conftest.i conftest.
$ac_ext
5098 # OK, works on sane cases. Now check whether nonexistent headers
5099 # can be detected and how.
5100 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5101 /* end confdefs.h. */
5102 #include <ac_nonexistent.h>
5104 if ac_fn_c_try_cpp
"$LINENO"; then :
5105 # Broken: success on invalid input.
5108 # Passes both tests.
5112 rm -f conftest.err conftest.i conftest.
$ac_ext
5115 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5116 rm -f conftest.i conftest.err conftest.
$ac_ext
5117 if $ac_preproc_ok; then :
5120 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5121 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5122 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
5123 See \`config.log' for more details" "$LINENO" 5; }
5127 ac_cpp
='$CPP $CPPFLAGS'
5128 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5129 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5130 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5133 # Make sure we can run config.sub.
5134 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
5135 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
5137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
5138 $as_echo_n "checking build system type... " >&6; }
5139 if ${ac_cv_build+:} false
; then :
5140 $as_echo_n "(cached) " >&6
5142 ac_build_alias
=$build_alias
5143 test "x$ac_build_alias" = x
&&
5144 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
5145 test "x$ac_build_alias" = x
&&
5146 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
5147 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
5148 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
5151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
5152 $as_echo "$ac_cv_build" >&6; }
5153 case $ac_cv_build in
5155 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
5158 ac_save_IFS
=$IFS; IFS
='-'
5164 # Remember, the first character of IFS is used to create $*,
5165 # except with old shells:
5168 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
5171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
5172 $as_echo_n "checking host system type... " >&6; }
5173 if ${ac_cv_host+:} false
; then :
5174 $as_echo_n "(cached) " >&6
5176 if test "x$host_alias" = x
; then
5177 ac_cv_host
=$ac_cv_build
5179 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
5180 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
5184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
5185 $as_echo "$ac_cv_host" >&6; }
5188 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
5191 ac_save_IFS
=$IFS; IFS
='-'
5197 # Remember, the first character of IFS is used to create $*,
5198 # except with old shells:
5201 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
5206 save_cross_compiling
=$cross_compiling
5207 save_ac_tool_prefix
=$ac_tool_prefix
5212 ac_build_cpp
='$CPP_FOR_BUILD $CPPFLAGS_FOR_BUILD'
5213 ac_build_compile
='$CC_FOR_BUILD -c $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD conftest.$ac_ext >&5'
5214 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'
5215 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5216 if test -n "$ac_tool_prefix"; then
5217 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
5218 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
5219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5220 $as_echo_n "checking for $ac_word... " >&6; }
5221 if ${ac_cv_prog_CC_FOR_BUILD+:} false
; then :
5222 $as_echo_n "(cached) " >&6
5224 if test -n "$CC_FOR_BUILD"; then
5225 ac_cv_prog_CC_FOR_BUILD
="$CC_FOR_BUILD" # Let the user override the test.
5227 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5231 test -z "$as_dir" && as_dir
=.
5232 for ac_exec_ext
in '' $ac_executable_extensions; do
5233 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5234 ac_cv_prog_CC_FOR_BUILD
="${ac_tool_prefix}gcc"
5235 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5244 CC_FOR_BUILD
=$ac_cv_prog_CC_FOR_BUILD
5245 if test -n "$CC_FOR_BUILD"; then
5246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC_FOR_BUILD" >&5
5247 $as_echo "$CC_FOR_BUILD" >&6; }
5249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5250 $as_echo "no" >&6; }
5255 if test -z "$ac_cv_prog_CC_FOR_BUILD"; then
5256 ac_ct_CC_FOR_BUILD
=$CC_FOR_BUILD
5257 # Extract the first word of "gcc", so it can be a program name with args.
5258 set dummy gcc
; ac_word
=$2
5259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5260 $as_echo_n "checking for $ac_word... " >&6; }
5261 if ${ac_cv_prog_ac_ct_CC_FOR_BUILD+:} false
; then :
5262 $as_echo_n "(cached) " >&6
5264 if test -n "$ac_ct_CC_FOR_BUILD"; then
5265 ac_cv_prog_ac_ct_CC_FOR_BUILD
="$ac_ct_CC_FOR_BUILD" # Let the user override the test.
5267 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5271 test -z "$as_dir" && as_dir
=.
5272 for ac_exec_ext
in '' $ac_executable_extensions; do
5273 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5274 ac_cv_prog_ac_ct_CC_FOR_BUILD
="gcc"
5275 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5284 ac_ct_CC_FOR_BUILD
=$ac_cv_prog_ac_ct_CC_FOR_BUILD
5285 if test -n "$ac_ct_CC_FOR_BUILD"; then
5286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC_FOR_BUILD" >&5
5287 $as_echo "$ac_ct_CC_FOR_BUILD" >&6; }
5289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5290 $as_echo "no" >&6; }
5293 if test "x$ac_ct_CC_FOR_BUILD" = x
; then
5296 case $cross_compiling:$ac_tool_warned in
5298 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with build triplet" >&5
5299 $as_echo "$as_me: WARNING: using cross tools not prefixed with build triplet" >&2;}
5300 ac_tool_warned
=yes ;;
5302 CC_FOR_BUILD
=$ac_ct_CC_FOR_BUILD
5305 CC_FOR_BUILD
="$ac_cv_prog_CC_FOR_BUILD"
5308 if test -z "$CC_FOR_BUILD"; then
5309 if test -n "$ac_tool_prefix"; then
5310 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
5311 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
5312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5313 $as_echo_n "checking for $ac_word... " >&6; }
5314 if ${ac_cv_prog_CC_FOR_BUILD+:} false
; then :
5315 $as_echo_n "(cached) " >&6
5317 if test -n "$CC_FOR_BUILD"; then
5318 ac_cv_prog_CC_FOR_BUILD
="$CC_FOR_BUILD" # Let the user override the test.
5320 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5324 test -z "$as_dir" && as_dir
=.
5325 for ac_exec_ext
in '' $ac_executable_extensions; do
5326 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5327 ac_cv_prog_CC_FOR_BUILD
="${ac_tool_prefix}cc"
5328 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5337 CC_FOR_BUILD
=$ac_cv_prog_CC_FOR_BUILD
5338 if test -n "$CC_FOR_BUILD"; then
5339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC_FOR_BUILD" >&5
5340 $as_echo "$CC_FOR_BUILD" >&6; }
5342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5343 $as_echo "no" >&6; }
5349 if test -z "$CC_FOR_BUILD"; then
5350 # Extract the first word of "cc", so it can be a program name with args.
5351 set dummy cc
; ac_word
=$2
5352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5353 $as_echo_n "checking for $ac_word... " >&6; }
5354 if ${ac_cv_prog_CC_FOR_BUILD+:} false
; then :
5355 $as_echo_n "(cached) " >&6
5357 if test -n "$CC_FOR_BUILD"; then
5358 ac_cv_prog_CC_FOR_BUILD
="$CC_FOR_BUILD" # Let the user override the test.
5361 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5365 test -z "$as_dir" && as_dir
=.
5366 for ac_exec_ext
in '' $ac_executable_extensions; do
5367 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5368 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
5369 ac_prog_rejected
=yes
5372 ac_cv_prog_CC_FOR_BUILD
="cc"
5373 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5380 if test $ac_prog_rejected = yes; then
5381 # We found a bogon in the path, so make sure we never use it.
5382 set dummy
$ac_cv_prog_CC_FOR_BUILD
5384 if test $# != 0; then
5385 # We chose a different compiler from the bogus one.
5386 # However, it has the same basename, so the bogon will be chosen
5387 # first if we set CC_FOR_BUILD to just the basename; use the full file name.
5389 ac_cv_prog_CC_FOR_BUILD
="$as_dir/$ac_word${1+' '}$@"
5394 CC_FOR_BUILD
=$ac_cv_prog_CC_FOR_BUILD
5395 if test -n "$CC_FOR_BUILD"; then
5396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC_FOR_BUILD" >&5
5397 $as_echo "$CC_FOR_BUILD" >&6; }
5399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5400 $as_echo "no" >&6; }
5405 if test -z "$CC_FOR_BUILD"; then
5406 if test -n "$ac_tool_prefix"; then
5407 for ac_prog
in cl.exe
5409 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5410 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5412 $as_echo_n "checking for $ac_word... " >&6; }
5413 if ${ac_cv_prog_CC_FOR_BUILD+:} false
; then :
5414 $as_echo_n "(cached) " >&6
5416 if test -n "$CC_FOR_BUILD"; then
5417 ac_cv_prog_CC_FOR_BUILD
="$CC_FOR_BUILD" # Let the user override the test.
5419 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5423 test -z "$as_dir" && as_dir
=.
5424 for ac_exec_ext
in '' $ac_executable_extensions; do
5425 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5426 ac_cv_prog_CC_FOR_BUILD
="$ac_tool_prefix$ac_prog"
5427 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5436 CC_FOR_BUILD
=$ac_cv_prog_CC_FOR_BUILD
5437 if test -n "$CC_FOR_BUILD"; then
5438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC_FOR_BUILD" >&5
5439 $as_echo "$CC_FOR_BUILD" >&6; }
5441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5442 $as_echo "no" >&6; }
5446 test -n "$CC_FOR_BUILD" && break
5449 if test -z "$CC_FOR_BUILD"; then
5450 ac_ct_CC_FOR_BUILD
=$CC_FOR_BUILD
5451 for ac_prog
in cl.exe
5453 # Extract the first word of "$ac_prog", so it can be a program name with args.
5454 set dummy
$ac_prog; ac_word
=$2
5455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5456 $as_echo_n "checking for $ac_word... " >&6; }
5457 if ${ac_cv_prog_ac_ct_CC_FOR_BUILD+:} false
; then :
5458 $as_echo_n "(cached) " >&6
5460 if test -n "$ac_ct_CC_FOR_BUILD"; then
5461 ac_cv_prog_ac_ct_CC_FOR_BUILD
="$ac_ct_CC_FOR_BUILD" # Let the user override the test.
5463 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5467 test -z "$as_dir" && as_dir
=.
5468 for ac_exec_ext
in '' $ac_executable_extensions; do
5469 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5470 ac_cv_prog_ac_ct_CC_FOR_BUILD
="$ac_prog"
5471 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5480 ac_ct_CC_FOR_BUILD
=$ac_cv_prog_ac_ct_CC_FOR_BUILD
5481 if test -n "$ac_ct_CC_FOR_BUILD"; then
5482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC_FOR_BUILD" >&5
5483 $as_echo "$ac_ct_CC_FOR_BUILD" >&6; }
5485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5486 $as_echo "no" >&6; }
5490 test -n "$ac_ct_CC_FOR_BUILD" && break
5493 if test "x$ac_ct_CC_FOR_BUILD" = x
; then
5496 case $cross_compiling:$ac_tool_warned in
5498 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with build triplet" >&5
5499 $as_echo "$as_me: WARNING: using cross tools not prefixed with build triplet" >&2;}
5500 ac_tool_warned
=yes ;;
5502 CC_FOR_BUILD
=$ac_ct_CC_FOR_BUILD
5509 test -z "$CC_FOR_BUILD" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5510 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5511 as_fn_error $?
"no acceptable C compiler found in \$PATH
5512 See \`config.log' for more details" "$LINENO" 5; }
5514 # Provide some information about the compiler.
5515 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5516 set X
$ac_build_compile
5518 for ac_option
in --version -v -V -qversion; do
5519 { { ac_try
="$ac_compiler $ac_option >&5"
5521 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
5522 *) ac_try_echo=$ac_try;;
5524 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5525 $as_echo "$ac_try_echo"; } >&5
5526 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5528 if test -s conftest.err; then
5530 ... rest of stderr output deleted ...
5531 10q' conftest.err >conftest.er1
5532 cat conftest.er1 >&5
5534 rm -f conftest.er1 conftest.err
5535 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5536 test $ac_status = 0; }
5539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
5540 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
5541 if ${ac_cv_c_compiler_gnu+:} false; then :
5542 $as_echo_n "(cached) " >&6
5544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5545 /* end confdefs.h. */
5558 if ac_fn_c_try_compile "$LINENO"; then :
5563 rm -f core conftest.err conftest.$ac_build_objext conftest.$ac_ext
5564 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5568 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
5569 if test $ac_compiler_gnu = yes; then
5574 ac_test_CFLAGS=${CFLAGS_FOR_BUILD+set}
5575 ac_save_CFLAGS=$CFLAGS_FOR_BUILD
5576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD accepts -g" >&5
5577 $as_echo_n "checking whether $CC_FOR_BUILD accepts -g... " >&6; }
5578 if ${ac_cv_build_prog_cc_g+:} false; then :
5579 $as_echo_n "(cached) " >&6
5581 ac_save_c_werror_flag=$ac_c_werror_flag
5582 ac_c_werror_flag=yes
5583 ac_cv_build_prog_cc_g=no
5584 CFLAGS_FOR_BUILD="-g"
5585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5586 /* end confdefs.h. */
5596 if ac_fn_c_try_compile "$LINENO"; then :
5597 ac_cv_build_prog_cc_g=yes
5600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5601 /* end confdefs.h. */
5611 if ac_fn_c_try_compile "$LINENO"; then :
5614 ac_c_werror_flag=$ac_save_c_werror_flag
5615 CFLAGS_FOR_BUILD="-g"
5616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5617 /* end confdefs.h. */
5627 if ac_fn_c_try_compile "$LINENO"; then :
5628 ac_cv_build_prog_cc_g=yes
5630 rm -f core conftest.err conftest.$ac_build_objext conftest.$ac_ext
5632 rm -f core conftest.err conftest.$ac_build_objext conftest.$ac_ext
5634 rm -f core conftest.err conftest.$ac_build_objext conftest.$ac_ext
5635 ac_c_werror_flag=$ac_save_c_werror_flag
5637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build_prog_cc_g" >&5
5638 $as_echo "$ac_cv_build_prog_cc_g" >&6; }
5639 if test "$ac_test_CFLAGS" = set; then
5640 CFLAGS_FOR_BUILD=$ac_save_CFLAGS
5641 elif test $ac_cv_build_prog_cc_g = yes; then
5642 if test "$GCC" = yes; then
5643 CFLAGS_FOR_BUILD="-g -O2"
5645 CFLAGS_FOR_BUILD="-g"
5648 if test "$GCC" = yes; then
5649 CFLAGS_FOR_BUILD="-O2"
5654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC_FOR_BUILD option to accept ISO C89" >&5
5655 $as_echo_n "checking for $CC_FOR_BUILD option to accept ISO C89... " >&6; }
5656 if ${ac_cv_prog_cc_c89+:} false; then :
5657 $as_echo_n "(cached) " >&6
5659 ac_cv_prog_cc_c89=no
5660 ac_save_CC=$CC_FOR_BUILD
5661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5662 /* end confdefs.h. */
5666 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5667 struct buf { int x; };
5668 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5669 static char *e (p, i)
5675 static char *f (char * (*g) (char **, int), char **p, ...)
5680 s = g (p, va_arg (v,int));
5685 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5686 function prototypes and stuff, but not '\xHH' hex character constants.
5687 These don't provoke an error unfortunately, instead are silently treated
5688 as 'x'. The following induces an error, until -std is added to get
5689 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5690 array size at least. It's necessary to write '\x00'==0 to get something
5691 that's true only with -std. */
5692 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5694 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5695 inside strings and character constants. */
5697 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5699 int test (int i, double x);
5700 struct s1 {int (*f) (int a);};
5701 struct s2 {int (*f) (double a);};
5702 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5708 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5713 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5714 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5716 CC_FOR_BUILD="$ac_save_CC $ac_arg"
5717 if ac_fn_c_try_compile "$LINENO"; then :
5718 ac_cv_prog_cc_c89=$ac_arg
5720 rm -f core conftest.err conftest.$ac_build_objext
5721 test "x$ac_cv_prog_cc_c89" != "xno" && break
5723 rm -f conftest.$ac_ext
5724 CC_FOR_BUILD=$ac_save_CC
5728 case "x$ac_cv_prog_cc_c89" in
5730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5731 $as_echo "none needed" >&6; } ;;
5733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5734 $as_echo "unsupported" >&6; } ;;
5736 CC_FOR_BUILD="$CC_FOR_BUILD $ac_cv_prog_cc_c89"
5737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5738 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5740 if test "x$ac_cv_prog_cc_c89" != xno; then :
5745 ac_build_cpp='$CPP_FOR_BUILD $CPPFLAGS_FOR_BUILD'
5746 ac_build_compile='$CC_FOR_BUILD -c $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD conftest.$ac_ext >&5'
5747 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'
5748 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5751 ac_build_cpp='$CPP_FOR_BUILD $CPPFLAGS_FOR_BUILD'
5752 ac_build_compile='$CC_FOR_BUILD -c $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD conftest.$ac_ext >&5'
5753 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'
5754 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD understands -c and -o together" >&5
5756 $as_echo_n "checking whether $CC_FOR_BUILD understands -c and -o together... " >&6; }
5757 if ${am_cv_prog_cc_c_o+:} false; then :
5758 $as_echo_n "(cached) " >&6
5760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5761 /* end confdefs.h. */
5771 # Make sure it works both with $CC and with simple cc.
5772 # Following AC_PROG_CC_C_O, we do the test twice because some
5773 # compilers refuse to overwrite an existing .o file with -o,
5774 # though they will create one.
5775 am_cv_prog_cc_c_o=yes
5777 if { echo "$as_me:$LINENO: $CC_FOR_BUILD -c conftest.$ac_ext -o conftest2.$ac_build_objext" >&5
5778 ($CC_FOR_BUILD -c conftest.$ac_ext -o conftest2.$ac_build_objext) >&5 2>&5
5780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5781 (exit $ac_status); } \
5782 && test -f conftest2.$ac_build_objext; then
5785 am_cv_prog_cc_c_o=no
5789 rm -f core conftest*
5792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
5793 $as_echo "$am_cv_prog_cc_c_o" >&6; }
5794 if test "$am_cv_prog_cc_c_o" != yes; then
5795 # Losing compiler, so override with the script.
5796 # FIXME: It is wrong to rewrite CC.
5797 # But if we don't then we get into trouble of one sort or another.
5798 # A longer-term fix would be to have automake use am__CC in this case,
5799 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
5800 CC_FOR_BUILD="$am_aux_dir/compile $CC_FOR_BUILD"
5803 ac_build_cpp='$CPP_FOR_BUILD $CPPFLAGS_FOR_BUILD'
5804 ac_build_compile='$CC_FOR_BUILD -c $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD conftest.$ac_ext >&5'
5805 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'
5806 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5809 depcc="$CC_FOR_BUILD" am_compiler_list=
5811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5812 $as_echo_n "checking dependency style of $depcc... " >&6; }
5813 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
5814 $as_echo_n "(cached) " >&6
5816 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5817 # We make a subdir and do the tests there. Otherwise we can end up
5818 # making bogus files that we don't know about and never remove. For
5819 # instance it was reported that on HP-UX the gcc test will end up
5820 # making a dummy file named 'D' -- because '-MD' means "put the output
5824 # Copy depcomp to subdir because otherwise we won't find it if we're
5825 # using a relative directory.
5826 cp "$am_depcomp" conftest.dir
5828 # We will build objects and dependencies in a subdirectory because
5829 # it helps to detect inapplicable dependency modes. For instance
5830 # both Tru64's cc and ICC support -MD to output dependencies as a
5831 # side effect of compilation, but ICC will put the dependencies in
5832 # the current directory while Tru64 will put them in the object
5836 am_cv_CC_dependencies_compiler_type=none
5837 if test "$am_compiler_list" = ""; then
5838 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
5841 case " $depcc " in #(
5842 *\ -arch\ *\ -arch\ *) am__universal=true ;;
5845 for depmode in $am_compiler_list; do
5846 # Setup a source with many dependencies, because some compilers
5847 # like to wrap large dependency lists on column 80 (with \), and
5848 # we should not choose a depcomp mode which is confused by this.
5850 # We need to recreate these files for each test, as the compiler may
5851 # overwrite some of them when testing with obscure command lines.
5852 # This happens at least with the AIX C compiler.
5854 for i in 1 2 3 4 5 6; do
5855 echo '#include "conftst'$i'.h"' >> sub/conftest.c
5856 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
5857 # Solaris 10 /bin/sh.
5858 echo '/* dummy */' > sub/conftst$i.h
5860 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5862 # We check with '-c' and '-o' for the sake of the "dashmstdout"
5863 # mode. It turns out that the SunPro C++ compiler does not properly
5864 # handle '-M -o', and we need to detect this. Also, some Intel
5865 # versions had trouble with output in subdirs.
5866 am__obj=sub/conftest.${OBJEXT-o}
5867 am__minus_obj="-o $am__obj"
5870 # This depmode causes a compiler race in universal mode.
5871 test "$am__universal" = false || continue
5874 # After this tag, mechanisms are not by side-effect, so they'll
5875 # only be used when explicitly requested.
5876 if test "x$enable_dependency_tracking" = xyes; then
5882 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
5883 # This compiler won't grok '-c -o', but also, the minuso test has
5884 # not run yet. These depmodes are late enough in the game, and
5885 # so weak that their functioning should not be impacted.
5886 am__obj=conftest.${OBJEXT-o}
5891 if depmode=$depmode \
5892 source=sub/conftest.c object=$am__obj \
5893 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5894 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5895 >/dev/null 2>conftest.err &&
5896 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5897 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5898 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5899 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5900 # icc doesn't choke on unknown options, it will just issue warnings
5901 # or remarks (even with -Werror). So we grep stderr for any message
5902 # that says an option was ignored or not supported.
5903 # When given -MP, icc 7.0 and 7.1 complain thusly:
5904 # icc: Command line warning: ignoring option '-M'; no argument required
5905 # The diagnosis changed in icc 8.0:
5906 # icc: Command line remark: option '-MP' not supported
5907 if (grep 'ignoring option' conftest.err ||
5908 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5909 am_cv_CC_dependencies_compiler_type=$depmode
5918 am_cv_CC_dependencies_compiler_type=none
5922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5923 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5924 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
5927 test "x$enable_dependency_tracking" != xno \
5928 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
5930 am__fastdepCC_FALSE='#'
5932 am__fastdepCC_TRUE='#'
5933 am__fastdepCC_FALSE=
5938 ac_build_cpp='$CPP_FOR_BUILD $CPPFLAGS_FOR_BUILD'
5939 ac_build_compile='$CC_FOR_BUILD -c $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD conftest.$ac_ext >&5'
5940 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'
5941 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
5943 $as_echo_n "checking how to run the C preprocessor... " >&6; }
5944 # On Suns, sometimes $CPP names a directory.
5945 if test -n "$CPP_FOR_BUILD" && test -d "$CPP_FOR_BUILD"; then
5948 if test -z "$CPP_FOR_BUILD"; then
5949 if ${ac_cv_build_prog_CPP+:} false; then :
5950 $as_echo_n "(cached) " >&6
5952 # Double quotes because CPP needs to be expanded
5953 for CPP_FOR_BUILD in "$CC_FOR_BUILD -E" "$CC_FOR_BUILD -E -traditional-cpp" "/lib/cpp"
5956 for ac_c_preproc_warn_flag in '' yes
5958 # Use a header file that comes with gcc, so configuring glibc
5959 # with a fresh cross-compiler works.
5960 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5961 # <limits.h> exists even on freestanding compilers.
5962 # On the NeXT, cc -E runs the code through the compiler's parser,
5963 # not just through cpp. "Syntax error" is here to catch this case.
5964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5965 /* end confdefs.h. */
5967 # include <limits.h>
5969 # include <assert.h>
5973 if ac_fn_c_try_cpp "$LINENO"; then :
5976 # Broken: fails on valid input.
5979 rm -f conftest.err conftest.i conftest.$ac_ext
5981 # OK, works on sane cases. Now check whether nonexistent headers
5982 # can be detected and how.
5983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5984 /* end confdefs.h. */
5985 #include <ac_nonexistent.h>
5987 if ac_fn_c_try_cpp "$LINENO"; then :
5988 # Broken: success on invalid input.
5991 # Passes both tests.
5995 rm -f conftest.err conftest.i conftest.$ac_ext
5998 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5999 rm -f conftest.i conftest.err conftest.
$ac_ext
6000 if $ac_preproc_ok; then :
6005 ac_cv_build_prog_CPP
=$CPP_FOR_BUILD
6008 CPP_FOR_BUILD
=$ac_cv_build_prog_CPP
6010 ac_cv_build_prog_CPP
=$CPP_FOR_BUILD
6012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP_FOR_BUILD" >&5
6013 $as_echo "$CPP_FOR_BUILD" >&6; }
6015 for ac_c_preproc_warn_flag
in '' yes
6017 # Use a header file that comes with gcc, so configuring glibc
6018 # with a fresh cross-compiler works.
6019 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6020 # <limits.h> exists even on freestanding compilers.
6021 # On the NeXT, cc -E runs the code through the compiler's parser,
6022 # not just through cpp. "Syntax error" is here to catch this case.
6023 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6024 /* end confdefs.h. */
6026 # include <limits.h>
6028 # include <assert.h>
6032 if ac_fn_c_try_cpp
"$LINENO"; then :
6035 # Broken: fails on valid input.
6038 rm -f conftest.err conftest.i conftest.
$ac_ext
6040 # OK, works on sane cases. Now check whether nonexistent headers
6041 # can be detected and how.
6042 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6043 /* end confdefs.h. */
6044 #include <ac_nonexistent.h>
6046 if ac_fn_c_try_cpp
"$LINENO"; then :
6047 # Broken: success on invalid input.
6050 # Passes both tests.
6054 rm -f conftest.err conftest.i conftest.
$ac_ext
6057 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6058 rm -f conftest.i conftest.err conftest.
$ac_ext
6059 if $ac_preproc_ok; then :
6062 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6063 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6064 as_fn_error $?
"C preprocessor \"$CPP_FOR_BUILD\" fails sanity check
6065 See \`config.log' for more details" "$LINENO" 5; }
6069 ac_build_cpp
='$CPP_FOR_BUILD $CPPFLAGS_FOR_BUILD'
6070 ac_build_compile
='$CC_FOR_BUILD -c $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD conftest.$ac_ext >&5'
6071 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'
6072 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6076 ac_tool_prefix
=$save_ac_tool_prefix
6077 cross_compiling
=$save_cross_compiling
6080 BUILD_EXEEXT
=$ac_build_exeext
6081 BUILD_OBJEXT
=$ac_build_objext
6084 ac_cpp
='$CXXCPP $CPPFLAGS'
6085 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6086 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6087 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
6088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
6089 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
6090 if test -z "$CXXCPP"; then
6091 if ${ac_cv_prog_CXXCPP+:} false
; then :
6092 $as_echo_n "(cached) " >&6
6094 # Double quotes because CXXCPP needs to be expanded
6095 for CXXCPP
in "$CXX -E" "/lib/cpp"
6098 for ac_cxx_preproc_warn_flag
in '' yes
6100 # Use a header file that comes with gcc, so configuring glibc
6101 # with a fresh cross-compiler works.
6102 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6103 # <limits.h> exists even on freestanding compilers.
6104 # On the NeXT, cc -E runs the code through the compiler's parser,
6105 # not just through cpp. "Syntax error" is here to catch this case.
6106 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6107 /* end confdefs.h. */
6109 # include <limits.h>
6111 # include <assert.h>
6115 if ac_fn_cxx_try_cpp
"$LINENO"; then :
6118 # Broken: fails on valid input.
6121 rm -f conftest.err conftest.i conftest.
$ac_ext
6123 # OK, works on sane cases. Now check whether nonexistent headers
6124 # can be detected and how.
6125 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6126 /* end confdefs.h. */
6127 #include <ac_nonexistent.h>
6129 if ac_fn_cxx_try_cpp
"$LINENO"; then :
6130 # Broken: success on invalid input.
6133 # Passes both tests.
6137 rm -f conftest.err conftest.i conftest.
$ac_ext
6140 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6141 rm -f conftest.i conftest.err conftest.
$ac_ext
6142 if $ac_preproc_ok; then :
6147 ac_cv_prog_CXXCPP
=$CXXCPP
6150 CXXCPP
=$ac_cv_prog_CXXCPP
6152 ac_cv_prog_CXXCPP
=$CXXCPP
6154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
6155 $as_echo "$CXXCPP" >&6; }
6157 for ac_cxx_preproc_warn_flag
in '' yes
6159 # Use a header file that comes with gcc, so configuring glibc
6160 # with a fresh cross-compiler works.
6161 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6162 # <limits.h> exists even on freestanding compilers.
6163 # On the NeXT, cc -E runs the code through the compiler's parser,
6164 # not just through cpp. "Syntax error" is here to catch this case.
6165 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6166 /* end confdefs.h. */
6168 # include <limits.h>
6170 # include <assert.h>
6174 if ac_fn_cxx_try_cpp
"$LINENO"; then :
6177 # Broken: fails on valid input.
6180 rm -f conftest.err conftest.i conftest.
$ac_ext
6182 # OK, works on sane cases. Now check whether nonexistent headers
6183 # can be detected and how.
6184 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6185 /* end confdefs.h. */
6186 #include <ac_nonexistent.h>
6188 if ac_fn_cxx_try_cpp
"$LINENO"; then :
6189 # Broken: success on invalid input.
6192 # Passes both tests.
6196 rm -f conftest.err conftest.i conftest.
$ac_ext
6199 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6200 rm -f conftest.i conftest.err conftest.
$ac_ext
6201 if $ac_preproc_ok; then :
6204 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6205 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6206 as_fn_error $?
"C++ preprocessor \"$CXXCPP\" fails sanity check
6207 See \`config.log' for more details" "$LINENO" 5; }
6211 ac_cpp
='$CPP $CPPFLAGS'
6212 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6213 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6214 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6218 save_cross_compiling
=$cross_compiling
6219 save_ac_tool_prefix
=$ac_tool_prefix
6224 ac_cpp
='$CXXCPP_FOR_BUILD $CPPFLAGS_FOR_BUILD'
6225 ac_build_compile
='$CXX_FOR_BUILD -c $CXXFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD conftest.$ac_ext >&5'
6226 ac_build_link
='$CXX_FOR_BUILD -o conftest$ac_exeext $CXXFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD $LDFLAGS conftest.$ac_ext $LIBS >&5'
6227 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
6228 if test -z "$CXX_FOR_BUILD"; then
6229 if test -n "$CCC"; then
6232 if test -n "$ac_tool_prefix"; then
6233 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
6235 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6236 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
6237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6238 $as_echo_n "checking for $ac_word... " >&6; }
6239 if ${ac_cv_prog_CXX_FOR_BUILD+:} false
; then :
6240 $as_echo_n "(cached) " >&6
6242 if test -n "$CXX_FOR_BUILD"; then
6243 ac_cv_prog_CXX_FOR_BUILD
="$CXX_FOR_BUILD" # Let the user override the test.
6245 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6249 test -z "$as_dir" && as_dir
=.
6250 for ac_exec_ext
in '' $ac_executable_extensions; do
6251 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6252 ac_cv_prog_CXX_FOR_BUILD
="$ac_tool_prefix$ac_prog"
6253 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6262 CXX_FOR_BUILD
=$ac_cv_prog_CXX_FOR_BUILD
6263 if test -n "$CXX_FOR_BUILD"; then
6264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX_FOR_BUILD" >&5
6265 $as_echo "$CXX_FOR_BUILD" >&6; }
6267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6268 $as_echo "no" >&6; }
6272 test -n "$CXX_FOR_BUILD" && break
6275 if test -z "$CXX_FOR_BUILD"; then
6276 ac_ct_CXX_FOR_BUILD
=$CXX_FOR_BUILD
6277 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
6279 # Extract the first word of "$ac_prog", so it can be a program name with args.
6280 set dummy
$ac_prog; ac_word
=$2
6281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6282 $as_echo_n "checking for $ac_word... " >&6; }
6283 if ${ac_cv_prog_ac_ct_CXX_FOR_BUILD+:} false
; then :
6284 $as_echo_n "(cached) " >&6
6286 if test -n "$ac_ct_CXX_FOR_BUILD"; then
6287 ac_cv_prog_ac_ct_CXX_FOR_BUILD
="$ac_ct_CXX_FOR_BUILD" # Let the user override the test.
6289 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6293 test -z "$as_dir" && as_dir
=.
6294 for ac_exec_ext
in '' $ac_executable_extensions; do
6295 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6296 ac_cv_prog_ac_ct_CXX_FOR_BUILD
="$ac_prog"
6297 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6306 ac_ct_CXX_FOR_BUILD
=$ac_cv_prog_ac_ct_CXX_FOR_BUILD
6307 if test -n "$ac_ct_CXX_FOR_BUILD"; then
6308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX_FOR_BUILD" >&5
6309 $as_echo "$ac_ct_CXX_FOR_BUILD" >&6; }
6311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6312 $as_echo "no" >&6; }
6316 test -n "$ac_ct_CXX_FOR_BUILD" && break
6319 if test "x$ac_ct_CXX_FOR_BUILD" = x
; then
6322 case $cross_compiling:$ac_tool_warned in
6324 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with build triplet" >&5
6325 $as_echo "$as_me: WARNING: using cross tools not prefixed with build triplet" >&2;}
6326 ac_tool_warned
=yes ;;
6328 CXX_FOR_BUILD
=$ac_ct_CXX_FOR_BUILD
6334 # Provide some information about the compiler.
6335 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
6336 set X
$ac_build_compile
6338 for ac_option
in --version -v -V -qversion; do
6339 { { ac_try
="$ac_compiler $ac_option >&5"
6341 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
6342 *) ac_try_echo=$ac_try;;
6344 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
6345 $as_echo "$ac_try_echo"; } >&5
6346 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
6348 if test -s conftest.err; then
6350 ... rest of stderr output deleted ...
6351 10q' conftest.err >conftest.er1
6352 cat conftest.er1 >&5
6354 rm -f conftest.er1 conftest.err
6355 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6356 test $ac_status = 0; }
6359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
6360 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
6361 if ${ac_cv_cxx_compiler_gnu+:} false; then :
6362 $as_echo_n "(cached) " >&6
6364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6365 /* end confdefs.h. */
6378 if ac_fn_cxx_try_compile "$LINENO"; then :
6383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6384 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
6387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
6388 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
6389 if test $ac_compiler_gnu = yes; then
6394 ac_test_CXXFLAGS=${CXXFLAGS_FOR_BUILD+set}
6395 ac_save_CXXFLAGS=$CXXFLAGS_FOR_BUILD
6396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX_FOR_BUILD accepts -g" >&5
6397 $as_echo_n "checking whether $CXX_FOR_BUILD accepts -g... " >&6; }
6398 if ${ac_cv_build_prog_cxx_g+:} false; then :
6399 $as_echo_n "(cached) " >&6
6401 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
6402 ac_cxx_werror_flag=yes
6403 ac_cv_build_prog_cxx_g=no
6404 CXXFLAGS_FOR_BUILD="-g"
6405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6406 /* end confdefs.h. */
6416 if ac_fn_cxx_try_compile "$LINENO"; then :
6417 ac_cv_build_prog_cxx_g=yes
6419 CXXFLAGS_FOR_BUILD=""
6420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6421 /* end confdefs.h. */
6431 if ac_fn_cxx_try_compile "$LINENO"; then :
6434 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
6435 CXXFLAGS_FOR_BUILD="-g"
6436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6437 /* end confdefs.h. */
6447 if ac_fn_cxx_try_compile "$LINENO"; then :
6448 ac_cv_build_prog_cxx_g=yes
6450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6455 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
6457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build_prog_cxx_g" >&5
6458 $as_echo "$ac_cv_build_prog_cxx_g" >&6; }
6459 if test "$ac_test_CXXFLAGS" = set; then
6460 CXXFLAGS_FOR_BUILD=$ac_save_CXXFLAGS
6461 elif test $ac_cv_build_prog_cxx_g = yes; then
6462 if test "$GXX" = yes; then
6463 CXXFLAGS_FOR_BUILD="-g -O2"
6465 CXXFLAGS_FOR_BUILD="-g"
6468 if test "$GXX" = yes; then
6469 CXXFLAGS_FOR_BUILD="-O2"
6475 ac_cpp='$CPP $CPPFLAGS_FOR_BUILD'
6476 ac_build_compile='$CC -c $CFLAGS $CPPFLAGS_FOR_BUILD conftest.$ac_ext >&5'
6477 ac_build_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS_FOR_BUILD $LDFLAGS conftest.$ac_ext $LIBS >&5'
6478 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6480 depcc="$CXX_FOR_BUILD" am_compiler_list=
6482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
6483 $as_echo_n "checking dependency style of $depcc... " >&6; }
6484 if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
6485 $as_echo_n "(cached) " >&6
6487 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
6488 # We make a subdir and do the tests there. Otherwise we can end up
6489 # making bogus files that we don't know about and never remove. For
6490 # instance it was reported that on HP-UX the gcc test will end up
6491 # making a dummy file named 'D' -- because '-MD' means "put the output
6495 # Copy depcomp to subdir because otherwise we won't find it if we're
6496 # using a relative directory.
6497 cp "$am_depcomp" conftest.dir
6499 # We will build objects and dependencies in a subdirectory because
6500 # it helps to detect inapplicable dependency modes. For instance
6501 # both Tru64's cc and ICC support -MD to output dependencies as a
6502 # side effect of compilation, but ICC will put the dependencies in
6503 # the current directory while Tru64 will put them in the object
6507 am_cv_CXX_dependencies_compiler_type=none
6508 if test "$am_compiler_list" = ""; then
6509 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
6512 case " $depcc " in #(
6513 *\ -arch\ *\ -arch\ *) am__universal=true ;;
6516 for depmode in $am_compiler_list; do
6517 # Setup a source with many dependencies, because some compilers
6518 # like to wrap large dependency lists on column 80 (with \), and
6519 # we should not choose a depcomp mode which is confused by this.
6521 # We need to recreate these files for each test, as the compiler may
6522 # overwrite some of them when testing with obscure command lines.
6523 # This happens at least with the AIX C compiler.
6525 for i in 1 2 3 4 5 6; do
6526 echo '#include "conftst'$i'.h"' >> sub/conftest.c
6527 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
6528 # Solaris 10 /bin/sh.
6529 echo '/* dummy */' > sub/conftst$i.h
6531 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
6533 # We check with '-c' and '-o' for the sake of the "dashmstdout"
6534 # mode. It turns out that the SunPro C++ compiler does not properly
6535 # handle '-M -o', and we need to detect this. Also, some Intel
6536 # versions had trouble with output in subdirs.
6537 am__obj=sub/conftest.${OBJEXT-o}
6538 am__minus_obj="-o $am__obj"
6541 # This depmode causes a compiler race in universal mode.
6542 test "$am__universal" = false || continue
6545 # After this tag, mechanisms are not by side-effect, so they'll
6546 # only be used when explicitly requested.
6547 if test "x$enable_dependency_tracking" = xyes; then
6553 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
6554 # This compiler won't grok '-c -o', but also, the minuso test has
6555 # not run yet. These depmodes are late enough in the game, and
6556 # so weak that their functioning should not be impacted.
6557 am__obj=conftest.${OBJEXT-o}
6562 if depmode=$depmode \
6563 source=sub/conftest.c object=$am__obj \
6564 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
6565 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
6566 >/dev/null 2>conftest.err &&
6567 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
6568 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
6569 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
6570 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
6571 # icc doesn't choke on unknown options, it will just issue warnings
6572 # or remarks (even with -Werror). So we grep stderr for any message
6573 # that says an option was ignored or not supported.
6574 # When given -MP, icc 7.0 and 7.1 complain thusly:
6575 # icc: Command line warning: ignoring option '-M'; no argument required
6576 # The diagnosis changed in icc 8.0:
6577 # icc: Command line remark: option '-MP' not supported
6578 if (grep 'ignoring option' conftest.err ||
6579 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
6580 am_cv_CXX_dependencies_compiler_type=$depmode
6589 am_cv_CXX_dependencies_compiler_type=none
6593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
6594 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
6595 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
6598 test "x$enable_dependency_tracking" != xno \
6599 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
6600 am__fastdepCXX_TRUE=
6601 am__fastdepCXX_FALSE='#'
6603 am__fastdepCXX_TRUE='#'
6604 am__fastdepCXX_FALSE=
6609 ac_cpp='$CXXCPP_FOR_BUILD $CPPFLAGS_FOR_BUILD'
6610 ac_build_compile='$CXX_FOR_BUILD -c $CXXFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD conftest.$ac_ext >&5'
6611 ac_build_link='$CXX_FOR_BUILD -o conftest$ac_exeext $CXXFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD $LDFLAGS conftest.$ac_ext $LIBS >&5'
6612 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
6614 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
6615 if test -z "$CXXCPP_FOR_BUILD"; then
6616 if ${ac_cv_build_prog_CXXCPP+:} false; then :
6617 $as_echo_n "(cached) " >&6
6619 # Double quotes because CXXCPP needs to be expanded
6620 for CXXCPP_FOR_BUILD in "$CXX_FOR_BUILD -E" "/lib/cpp"
6623 for ac_cxx_preproc_warn_flag in '' yes
6625 # Use a header file that comes with gcc, so configuring glibc
6626 # with a fresh cross-compiler works.
6627 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6628 # <limits.h> exists even on freestanding compilers.
6629 # On the NeXT, cc -E runs the code through the compiler's parser,
6630 # not just through cpp. "Syntax error" is here to catch this case.
6631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6632 /* end confdefs.h. */
6634 # include <limits.h>
6636 # include <assert.h>
6640 if ac_fn_cxx_try_cpp "$LINENO"; then :
6643 # Broken: fails on valid input.
6646 rm -f conftest.err conftest.i conftest.$ac_ext
6648 # OK, works on sane cases. Now check whether nonexistent headers
6649 # can be detected and how.
6650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6651 /* end confdefs.h. */
6652 #include <ac_nonexistent.h>
6654 if ac_fn_cxx_try_cpp "$LINENO"; then :
6655 # Broken: success on invalid input.
6658 # Passes both tests.
6662 rm -f conftest.err conftest.i conftest.$ac_ext
6665 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6666 rm -f conftest.i conftest.err conftest.
$ac_ext
6667 if $ac_preproc_ok; then :
6672 ac_cv_build_prog_CXXCPP
=$CXXCPP_FOR_BUILD
6675 CXXCPP_FOR_BUILD
=$ac_cv_build_prog_CXXCPP
6677 ac_cv_build_prog_CXXCPP
=$CXXCPP_FOR_BUILD
6679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP_FOR_BUILD" >&5
6680 $as_echo "$CXXCPP_FOR_BUILD" >&6; }
6682 for ac_cxx_preproc_warn_flag
in '' yes
6684 # Use a header file that comes with gcc, so configuring glibc
6685 # with a fresh cross-compiler works.
6686 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6687 # <limits.h> exists even on freestanding compilers.
6688 # On the NeXT, cc -E runs the code through the compiler's parser,
6689 # not just through cpp. "Syntax error" is here to catch this case.
6690 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6691 /* end confdefs.h. */
6693 # include <limits.h>
6695 # include <assert.h>
6699 if ac_fn_cxx_try_cpp
"$LINENO"; then :
6702 # Broken: fails on valid input.
6705 rm -f conftest.err conftest.i conftest.
$ac_ext
6707 # OK, works on sane cases. Now check whether nonexistent headers
6708 # can be detected and how.
6709 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6710 /* end confdefs.h. */
6711 #include <ac_nonexistent.h>
6713 if ac_fn_cxx_try_cpp
"$LINENO"; then :
6714 # Broken: success on invalid input.
6717 # Passes both tests.
6721 rm -f conftest.err conftest.i conftest.
$ac_ext
6724 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6725 rm -f conftest.i conftest.err conftest.
$ac_ext
6726 if $ac_preproc_ok; then :
6729 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6730 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6731 as_fn_error $?
"C++ preprocessor \"$CXXCPP_FOR_BUILD\" fails sanity check
6732 See \`config.log' for more details" "$LINENO" 5; }
6736 ac_cpp
='$CPP $CPPFLAGS_FOR_BUILD'
6737 ac_build_compile
='$CC -c $CFLAGS $CPPFLAGS_FOR_BUILD conftest.$ac_ext >&5'
6738 ac_build_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS_FOR_BUILD $LDFLAGS conftest.$ac_ext $LIBS >&5'
6739 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6742 ac_tool_prefix
=$save_ac_tool_prefix
6743 cross_compiling
=$save_cross_compiling
6749 if test -n "$ac_tool_prefix"; then
6750 for ac_prog
in ar lib
"link -lib"
6752 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6753 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
6754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6755 $as_echo_n "checking for $ac_word... " >&6; }
6756 if ${ac_cv_prog_AR+:} false
; then :
6757 $as_echo_n "(cached) " >&6
6759 if test -n "$AR"; then
6760 ac_cv_prog_AR
="$AR" # Let the user override the test.
6762 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6766 test -z "$as_dir" && as_dir
=.
6767 for ac_exec_ext
in '' $ac_executable_extensions; do
6768 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6769 ac_cv_prog_AR
="$ac_tool_prefix$ac_prog"
6770 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6780 if test -n "$AR"; then
6781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6782 $as_echo "$AR" >&6; }
6784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6785 $as_echo "no" >&6; }
6789 test -n "$AR" && break
6792 if test -z "$AR"; then
6794 for ac_prog
in ar lib
"link -lib"
6796 # Extract the first word of "$ac_prog", so it can be a program name with args.
6797 set dummy
$ac_prog; ac_word
=$2
6798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6799 $as_echo_n "checking for $ac_word... " >&6; }
6800 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
6801 $as_echo_n "(cached) " >&6
6803 if test -n "$ac_ct_AR"; then
6804 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
6806 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6810 test -z "$as_dir" && as_dir
=.
6811 for ac_exec_ext
in '' $ac_executable_extensions; do
6812 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6813 ac_cv_prog_ac_ct_AR
="$ac_prog"
6814 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6823 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
6824 if test -n "$ac_ct_AR"; then
6825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6826 $as_echo "$ac_ct_AR" >&6; }
6828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6829 $as_echo "no" >&6; }
6833 test -n "$ac_ct_AR" && break
6836 if test "x$ac_ct_AR" = x
; then
6839 case $cross_compiling:$ac_tool_warned in
6841 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6842 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6843 ac_tool_warned
=yes ;;
6851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the archiver ($AR) interface" >&5
6852 $as_echo_n "checking the archiver ($AR) interface... " >&6; }
6853 if ${am_cv_ar_interface+:} false
; then :
6854 $as_echo_n "(cached) " >&6
6857 ac_cpp
='$CPP $CPPFLAGS'
6858 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6859 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6860 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6862 am_cv_ar_interface
=ar
6863 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6864 /* end confdefs.h. */
6865 int some_variable = 0;
6867 if ac_fn_c_try_compile
"$LINENO"; then :
6868 am_ar_try
='$AR cru libconftest.a conftest.$ac_objext >&5'
6869 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
6870 (eval $am_ar_try) 2>&5
6872 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6873 test $ac_status = 0; }
6874 if test "$ac_status" -eq 0; then
6875 am_cv_ar_interface
=ar
6877 am_ar_try
='$AR -NOLOGO -OUT:conftest.lib conftest.$ac_objext >&5'
6878 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
6879 (eval $am_ar_try) 2>&5
6881 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6882 test $ac_status = 0; }
6883 if test "$ac_status" -eq 0; then
6884 am_cv_ar_interface
=lib
6886 am_cv_ar_interface
=unknown
6889 rm -f conftest.lib libconftest.a
6892 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6894 ac_cpp
='$CPP $CPPFLAGS'
6895 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6896 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6897 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_ar_interface" >&5
6901 $as_echo "$am_cv_ar_interface" >&6; }
6903 case $am_cv_ar_interface in
6907 # Microsoft lib, so override with the ar-lib wrapper script.
6908 # FIXME: It is wrong to rewrite AR.
6909 # But if we don't then we get into trouble of one sort or another.
6910 # A longer-term fix would be to have automake use am__AR in this case,
6911 # and then we could set am__AR="$am_aux_dir/ar-lib \$(AR)" or something
6913 AR
="$am_aux_dir/ar-lib $AR"
6916 as_fn_error $?
"could not determine $AR interface" "$LINENO" 5
6924 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
6925 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
6930 macro_version
='2.4.6'
6931 macro_revision
='2.4.6'
6945 ltmain
=$ac_aux_dir/ltmain.sh
6947 # Backslashify metacharacters that are still active within
6948 # double-quoted strings.
6949 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g'
6951 # Same as above, but do not quote variable references.
6952 double_quote_subst
='s/\(["`\\]\)/\\\1/g'
6954 # Sed substitution to delay expansion of an escaped shell variable in a
6955 # double_quote_subst'ed string.
6956 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
6958 # Sed substitution to delay expansion of an escaped single quote.
6959 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
6961 # Sed substitution to avoid accidental globbing in evaled expressions
6962 no_glob_subst
='s/\*/\\\*/g'
6964 ECHO
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
6965 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
6966 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
6968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
6969 $as_echo_n "checking how to print strings... " >&6; }
6970 # Test print first, because it will be a builtin if present.
6971 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
6972 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
6974 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
6977 # Use this function as a fallback that always works.
6978 func_fallback_echo ()
6980 eval 'cat <<_LTECHO_EOF
6984 ECHO='func_fallback_echo
'
6987 # func_echo_all arg...
6988 # Invoke $ECHO with all args, space-separated.
6995 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
6996 $as_echo "printf" >&6; } ;;
6997 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
6998 $as_echo "print -r" >&6; } ;;
6999 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
7000 $as_echo "cat" >&6; } ;;
7016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
7017 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
7018 if ${ac_cv_path_SED+:} false; then :
7019 $as_echo_n "(cached) " >&6
7021 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
7022 for ac_i in 1 2 3 4 5 6 7; do
7023 ac_script="$ac_script$as_nl$ac_script"
7025 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
7026 { ac_script=; unset ac_script;}
7027 if test -z "$SED"; then
7028 ac_path_SED_found=false
7029 # Loop through the user's path and
test for each of PROGNAME
-LIST
7030 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7034 test -z "$as_dir" && as_dir
=.
7035 for ac_prog
in sed gsed
; do
7036 for ac_exec_ext
in '' $ac_executable_extensions; do
7037 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
7038 as_fn_executable_p
"$ac_path_SED" || continue
7039 # Check for GNU ac_path_SED and select it if it is found.
7040 # Check for GNU $ac_path_SED
7041 case `"$ac_path_SED" --version 2>&1` in
7043 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
7046 $as_echo_n 0123456789 >"conftest.in"
7049 cat "conftest.in" "conftest.in" >"conftest.tmp"
7050 mv "conftest.tmp" "conftest.in"
7051 cp "conftest.in" "conftest.nl"
7052 $as_echo '' >> "conftest.nl"
7053 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
7054 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
7055 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
7056 if test $ac_count -gt ${ac_path_SED_max-0}; then
7057 # Best one so far, save it but keep looking for a better one
7058 ac_cv_path_SED
="$ac_path_SED"
7059 ac_path_SED_max
=$ac_count
7061 # 10*(2^10) chars as input seems more than enough
7062 test $ac_count -gt 10 && break
7064 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
7067 $ac_path_SED_found && break 3
7072 if test -z "$ac_cv_path_SED"; then
7073 as_fn_error $?
"no acceptable sed could be found in \$PATH" "$LINENO" 5
7080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
7081 $as_echo "$ac_cv_path_SED" >&6; }
7082 SED
="$ac_cv_path_SED"
7085 test -z "$SED" && SED
=sed
7086 Xsed
="$SED -e 1s/^X//"
7098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
7099 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
7100 if ${ac_cv_path_GREP+:} false
; then :
7101 $as_echo_n "(cached) " >&6
7103 if test -z "$GREP"; then
7104 ac_path_GREP_found
=false
7105 # Loop through the user's path and test for each of PROGNAME-LIST
7106 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7107 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
7110 test -z "$as_dir" && as_dir
=.
7111 for ac_prog
in grep ggrep
; do
7112 for ac_exec_ext
in '' $ac_executable_extensions; do
7113 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
7114 as_fn_executable_p
"$ac_path_GREP" || continue
7115 # Check for GNU ac_path_GREP and select it if it is found.
7116 # Check for GNU $ac_path_GREP
7117 case `"$ac_path_GREP" --version 2>&1` in
7119 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
7122 $as_echo_n 0123456789 >"conftest.in"
7125 cat "conftest.in" "conftest.in" >"conftest.tmp"
7126 mv "conftest.tmp" "conftest.in"
7127 cp "conftest.in" "conftest.nl"
7128 $as_echo 'GREP' >> "conftest.nl"
7129 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
7130 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
7131 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
7132 if test $ac_count -gt ${ac_path_GREP_max-0}; then
7133 # Best one so far, save it but keep looking for a better one
7134 ac_cv_path_GREP
="$ac_path_GREP"
7135 ac_path_GREP_max
=$ac_count
7137 # 10*(2^10) chars as input seems more than enough
7138 test $ac_count -gt 10 && break
7140 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
7143 $ac_path_GREP_found && break 3
7148 if test -z "$ac_cv_path_GREP"; then
7149 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7152 ac_cv_path_GREP
=$GREP
7156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
7157 $as_echo "$ac_cv_path_GREP" >&6; }
7158 GREP
="$ac_cv_path_GREP"
7161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
7162 $as_echo_n "checking for egrep... " >&6; }
7163 if ${ac_cv_path_EGREP+:} false
; then :
7164 $as_echo_n "(cached) " >&6
7166 if echo a
| $GREP -E '(a|b)' >/dev
/null
2>&1
7167 then ac_cv_path_EGREP
="$GREP -E"
7169 if test -z "$EGREP"; then
7170 ac_path_EGREP_found
=false
7171 # Loop through the user's path and test for each of PROGNAME-LIST
7172 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7173 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
7176 test -z "$as_dir" && as_dir
=.
7177 for ac_prog
in egrep; do
7178 for ac_exec_ext
in '' $ac_executable_extensions; do
7179 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
7180 as_fn_executable_p
"$ac_path_EGREP" || continue
7181 # Check for GNU ac_path_EGREP and select it if it is found.
7182 # Check for GNU $ac_path_EGREP
7183 case `"$ac_path_EGREP" --version 2>&1` in
7185 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
7188 $as_echo_n 0123456789 >"conftest.in"
7191 cat "conftest.in" "conftest.in" >"conftest.tmp"
7192 mv "conftest.tmp" "conftest.in"
7193 cp "conftest.in" "conftest.nl"
7194 $as_echo 'EGREP' >> "conftest.nl"
7195 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
7196 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
7197 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
7198 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
7199 # Best one so far, save it but keep looking for a better one
7200 ac_cv_path_EGREP
="$ac_path_EGREP"
7201 ac_path_EGREP_max
=$ac_count
7203 # 10*(2^10) chars as input seems more than enough
7204 test $ac_count -gt 10 && break
7206 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
7209 $ac_path_EGREP_found && break 3
7214 if test -z "$ac_cv_path_EGREP"; then
7215 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7218 ac_cv_path_EGREP
=$EGREP
7223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
7224 $as_echo "$ac_cv_path_EGREP" >&6; }
7225 EGREP
="$ac_cv_path_EGREP"
7228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
7229 $as_echo_n "checking for fgrep... " >&6; }
7230 if ${ac_cv_path_FGREP+:} false
; then :
7231 $as_echo_n "(cached) " >&6
7233 if echo 'ab*c' | $GREP -F 'ab*c' >/dev
/null
2>&1
7234 then ac_cv_path_FGREP
="$GREP -F"
7236 if test -z "$FGREP"; then
7237 ac_path_FGREP_found
=false
7238 # Loop through the user's path and test for each of PROGNAME-LIST
7239 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7240 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
7243 test -z "$as_dir" && as_dir
=.
7244 for ac_prog
in fgrep
; do
7245 for ac_exec_ext
in '' $ac_executable_extensions; do
7246 ac_path_FGREP
="$as_dir/$ac_prog$ac_exec_ext"
7247 as_fn_executable_p
"$ac_path_FGREP" || continue
7248 # Check for GNU ac_path_FGREP and select it if it is found.
7249 # Check for GNU $ac_path_FGREP
7250 case `"$ac_path_FGREP" --version 2>&1` in
7252 ac_cv_path_FGREP
="$ac_path_FGREP" ac_path_FGREP_found
=:;;
7255 $as_echo_n 0123456789 >"conftest.in"
7258 cat "conftest.in" "conftest.in" >"conftest.tmp"
7259 mv "conftest.tmp" "conftest.in"
7260 cp "conftest.in" "conftest.nl"
7261 $as_echo 'FGREP' >> "conftest.nl"
7262 "$ac_path_FGREP" FGREP
< "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
7263 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
7264 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
7265 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
7266 # Best one so far, save it but keep looking for a better one
7267 ac_cv_path_FGREP
="$ac_path_FGREP"
7268 ac_path_FGREP_max
=$ac_count
7270 # 10*(2^10) chars as input seems more than enough
7271 test $ac_count -gt 10 && break
7273 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
7276 $ac_path_FGREP_found && break 3
7281 if test -z "$ac_cv_path_FGREP"; then
7282 as_fn_error $?
"no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7285 ac_cv_path_FGREP
=$FGREP
7290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
7291 $as_echo "$ac_cv_path_FGREP" >&6; }
7292 FGREP
="$ac_cv_path_FGREP"
7295 test -z "$GREP" && GREP
=grep
7315 # Check whether --with-gnu-ld was given.
7316 if test "${with_gnu_ld+set}" = set; then :
7317 withval
=$with_gnu_ld; test no
= "$withval" || with_gnu_ld
=yes
7323 if test yes = "$GCC"; then
7324 # Check if gcc -print-prog-name=ld gives a path.
7325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
7326 $as_echo_n "checking for ld used by $CC... " >&6; }
7329 # gcc leaves a trailing carriage return, which upsets mingw
7330 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
7332 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
7335 # Accept absolute paths.
7337 re_direlt
='/[^/][^/]*/\.\./'
7338 # Canonicalize the pathname of ld
7339 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
7340 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev
/null
2>&1; do
7341 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
7343 test -z "$LD" && LD
=$ac_prog
7346 # If it fails, then pretend we aren't using GCC.
7350 # If it is relative, then search for the first ld in PATH.
7354 elif test yes = "$with_gnu_ld"; then
7355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
7356 $as_echo_n "checking for GNU ld... " >&6; }
7358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
7359 $as_echo_n "checking for non-GNU ld... " >&6; }
7361 if ${lt_cv_path_LD+:} false
; then :
7362 $as_echo_n "(cached) " >&6
7364 if test -z "$LD"; then
7365 lt_save_ifs
=$IFS; IFS
=$PATH_SEPARATOR
7366 for ac_dir
in $PATH; do
7368 test -z "$ac_dir" && ac_dir
=.
7369 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
7370 lt_cv_path_LD
=$ac_dir/$ac_prog
7371 # Check to see if the program is GNU ld. I'd rather use --version,
7372 # but apparently some variants of GNU ld only accept -v.
7373 # Break only if it was the GNU/non-GNU ld that we prefer.
7374 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
7375 *GNU
* | *'with BFD'*)
7376 test no
!= "$with_gnu_ld" && break
7379 test yes != "$with_gnu_ld" && break
7386 lt_cv_path_LD
=$LD # Let the user override the test with a path.
7391 if test -n "$LD"; then
7392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
7393 $as_echo "$LD" >&6; }
7395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7396 $as_echo "no" >&6; }
7398 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
7399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
7400 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
7401 if ${lt_cv_prog_gnu_ld+:} false
; then :
7402 $as_echo_n "(cached) " >&6
7404 # I'd rather use --version here, but apparently some GNU lds only accept -v.
7405 case `$LD -v 2>&1 </dev/null` in
7406 *GNU
* | *'with BFD'*)
7407 lt_cv_prog_gnu_ld
=yes
7410 lt_cv_prog_gnu_ld
=no
7414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
7415 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
7416 with_gnu_ld
=$lt_cv_prog_gnu_ld
7426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
7427 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
7428 if ${lt_cv_path_NM+:} false
; then :
7429 $as_echo_n "(cached) " >&6
7431 if test -n "$NM"; then
7432 # Let the user override the test.
7435 lt_nm_to_check
=${ac_tool_prefix}nm
7436 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
7437 lt_nm_to_check
="$lt_nm_to_check nm"
7439 for lt_tmp_nm
in $lt_nm_to_check; do
7440 lt_save_ifs
=$IFS; IFS
=$PATH_SEPARATOR
7441 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
7443 test -z "$ac_dir" && ac_dir
=.
7444 tmp_nm
=$ac_dir/$lt_tmp_nm
7445 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
7446 # Check to see if the nm accepts a BSD-compat flag.
7447 # Adding the 'sed 1q' prevents false positives on HP-UX, which says:
7448 # nm: unknown option "B" ignored
7449 # Tru64's nm complains that /dev/null is an invalid object file
7450 # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
7452 mingw
*) lt_bad_file
=conftest.nm
/nofile
;;
7453 *) lt_bad_file
=/dev
/null
;;
7455 case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
7456 *$lt_bad_file* | *'Invalid file or object type'*)
7457 lt_cv_path_NM
="$tmp_nm -B"
7461 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
7463 lt_cv_path_NM
="$tmp_nm -p"
7467 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
7468 continue # so that we can try to find one that supports BSD flags
7477 : ${lt_cv_path_NM=no}
7480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
7481 $as_echo "$lt_cv_path_NM" >&6; }
7482 if test no
!= "$lt_cv_path_NM"; then
7485 # Didn't find any BSD compatible name lister, look for dumpbin.
7486 if test -n "$DUMPBIN"; then :
7487 # Let the user override the test.
7489 if test -n "$ac_tool_prefix"; then
7490 for ac_prog
in dumpbin
"link -dump"
7492 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7493 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
7494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7495 $as_echo_n "checking for $ac_word... " >&6; }
7496 if ${ac_cv_prog_DUMPBIN+:} false
; then :
7497 $as_echo_n "(cached) " >&6
7499 if test -n "$DUMPBIN"; then
7500 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
7502 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7506 test -z "$as_dir" && as_dir
=.
7507 for ac_exec_ext
in '' $ac_executable_extensions; do
7508 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7509 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
7510 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7519 DUMPBIN
=$ac_cv_prog_DUMPBIN
7520 if test -n "$DUMPBIN"; then
7521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
7522 $as_echo "$DUMPBIN" >&6; }
7524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7525 $as_echo "no" >&6; }
7529 test -n "$DUMPBIN" && break
7532 if test -z "$DUMPBIN"; then
7533 ac_ct_DUMPBIN
=$DUMPBIN
7534 for ac_prog
in dumpbin
"link -dump"
7536 # Extract the first word of "$ac_prog", so it can be a program name with args.
7537 set dummy
$ac_prog; ac_word
=$2
7538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7539 $as_echo_n "checking for $ac_word... " >&6; }
7540 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false
; then :
7541 $as_echo_n "(cached) " >&6
7543 if test -n "$ac_ct_DUMPBIN"; then
7544 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
7546 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7550 test -z "$as_dir" && as_dir
=.
7551 for ac_exec_ext
in '' $ac_executable_extensions; do
7552 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7553 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
7554 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7563 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
7564 if test -n "$ac_ct_DUMPBIN"; then
7565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
7566 $as_echo "$ac_ct_DUMPBIN" >&6; }
7568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7569 $as_echo "no" >&6; }
7573 test -n "$ac_ct_DUMPBIN" && break
7576 if test "x$ac_ct_DUMPBIN" = x
; then
7579 case $cross_compiling:$ac_tool_warned in
7581 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7582 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7583 ac_tool_warned
=yes ;;
7585 DUMPBIN
=$ac_ct_DUMPBIN
7589 case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
7591 DUMPBIN
="$DUMPBIN -symbols -headers"
7599 if test : != "$DUMPBIN"; then
7603 test -z "$NM" && NM
=nm
7610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
7611 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
7612 if ${lt_cv_nm_interface+:} false
; then :
7613 $as_echo_n "(cached) " >&6
7615 lt_cv_nm_interface
="BSD nm"
7616 echo "int some_variable = 0;" > conftest.
$ac_ext
7617 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
7618 (eval "$ac_compile" 2>conftest.err
)
7619 cat conftest.err
>&5
7620 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
7621 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
7622 cat conftest.err
>&5
7623 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
7624 cat conftest.out
>&5
7625 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
7626 lt_cv_nm_interface
="MS dumpbin"
7630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
7631 $as_echo "$lt_cv_nm_interface" >&6; }
7633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
7634 $as_echo_n "checking whether ln -s works... " >&6; }
7636 if test "$LN_S" = "ln -s"; then
7637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7638 $as_echo "yes" >&6; }
7640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
7641 $as_echo "no, using $LN_S" >&6; }
7644 # find the maximum length of command line arguments
7645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
7646 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
7647 if ${lt_cv_sys_max_cmd_len+:} false
; then :
7648 $as_echo_n "(cached) " >&6
7655 # On DJGPP, this test can blow up pretty badly due to problems in libc
7656 # (any single argument exceeding 2000 bytes causes a buffer overrun
7657 # during glob expansion). Even if it were fixed, the result of this
7658 # check would be larger than it should be.
7659 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
7663 # Under GNU Hurd, this test is not required because there is
7664 # no limit to the length of command line arguments.
7665 # Libtool will interpret -1 as no limit whatsoever
7666 lt_cv_sys_max_cmd_len
=-1;
7669 cygwin
* | mingw
* | cegcc
*)
7670 # On Win9x/ME, this test blows up -- it succeeds, but takes
7671 # about 5 minutes as the teststring grows exponentially.
7672 # Worse, since 9x/ME are not pre-emptively multitasking,
7673 # you end up with a "frozen" computer, even though with patience
7674 # the test eventually succeeds (with a max line length of 256k).
7675 # Instead, let's just punt: use the minimum linelength reported by
7676 # all of the supported platforms: 8192 (on NT/2K/XP).
7677 lt_cv_sys_max_cmd_len
=8192;
7681 # On MiNT this can take a long time and run out of memory.
7682 lt_cv_sys_max_cmd_len
=8192;
7686 # On AmigaOS with pdksh, this test takes hours, literally.
7687 # So we just punt and use a minimum line length of 8192.
7688 lt_cv_sys_max_cmd_len
=8192;
7691 bitrig
* | darwin
* | dragonfly
* | freebsd
* | netbsd
* | openbsd
*)
7692 # This has been around since 386BSD, at least. Likely further.
7693 if test -x /sbin
/sysctl
; then
7694 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
7695 elif test -x /usr
/sbin
/sysctl
; then
7696 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
7698 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
7700 # And add a safety zone
7701 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
7702 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
7706 # We know the value 262144 and hardcode it with a safety zone (like BSD)
7707 lt_cv_sys_max_cmd_len
=196608
7711 # The test takes a long time on OS/2.
7712 lt_cv_sys_max_cmd_len
=8192
7716 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
7717 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
7718 # nice to cause kernel panics so lets avoid the loop below.
7719 # First set a reasonable default.
7720 lt_cv_sys_max_cmd_len
=16384
7722 if test -x /sbin
/sysconfig
; then
7723 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
7724 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
7729 lt_cv_sys_max_cmd_len
=102400
7731 sysv5
* | sco5v6
* | sysv4.2uw2
*)
7732 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
7733 if test -n "$kargmax"; then
7734 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
7736 lt_cv_sys_max_cmd_len
=32768
7740 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
7741 if test -n "$lt_cv_sys_max_cmd_len" && \
7742 test undefined
!= "$lt_cv_sys_max_cmd_len"; then
7743 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
7744 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
7746 # Make teststring a little bigger before we do anything with it.
7747 # a 1K string should be a reasonable start.
7748 for i
in 1 2 3 4 5 6 7 8; do
7749 teststring
=$teststring$teststring
7751 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
7752 # If test is not a shell built-in, we'll probably end up computing a
7753 # maximum length that is only half of the actual maximum length, but
7755 while { test X
`env echo "$teststring$teststring" 2>/dev/null` \
7756 = "X$teststring$teststring"; } >/dev
/null
2>&1 &&
7757 test 17 != "$i" # 1/2 MB should be enough
7760 teststring
=$teststring$teststring
7762 # Only check the string length outside the loop.
7763 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
7765 # Add a significant safety factor because C++ compilers can tack on
7766 # massive amounts of additional arguments before passing them to the
7767 # linker. It appears as though 1/2 is a usable value.
7768 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
7775 if test -n "$lt_cv_sys_max_cmd_len"; then
7776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
7777 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
7779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
7780 $as_echo "none" >&6; }
7782 max_cmd_len
=$lt_cv_sys_max_cmd_len
7793 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
7803 # test EBCDIC or ASCII
7804 case `echo X|tr X '\101'` in
7805 A
) # ASCII based system
7806 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
7807 lt_SP2NL
='tr \040 \012'
7808 lt_NL2SP
='tr \015\012 \040\040'
7810 *) # EBCDIC based system
7811 lt_SP2NL
='tr \100 \n'
7812 lt_NL2SP
='tr \r\n \100\100'
7824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
7825 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
7826 if ${lt_cv_to_host_file_cmd+:} false
; then :
7827 $as_echo_n "(cached) " >&6
7832 *-*-mingw* ) # actually msys
7833 lt_cv_to_host_file_cmd
=func_convert_file_msys_to_w32
7836 lt_cv_to_host_file_cmd
=func_convert_file_cygwin_to_w32
7838 * ) # otherwise, assume *nix
7839 lt_cv_to_host_file_cmd
=func_convert_file_nix_to_w32
7845 *-*-mingw* ) # actually msys
7846 lt_cv_to_host_file_cmd
=func_convert_file_msys_to_cygwin
7849 lt_cv_to_host_file_cmd
=func_convert_file_noop
7851 * ) # otherwise, assume *nix
7852 lt_cv_to_host_file_cmd
=func_convert_file_nix_to_cygwin
7856 * ) # unhandled hosts (and "normal" native builds)
7857 lt_cv_to_host_file_cmd
=func_convert_file_noop
7863 to_host_file_cmd
=$lt_cv_to_host_file_cmd
7864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
7865 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
7871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
7872 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
7873 if ${lt_cv_to_tool_file_cmd+:} false
; then :
7874 $as_echo_n "(cached) " >&6
7876 #assume ordinary cross tools, or native build.
7877 lt_cv_to_tool_file_cmd
=func_convert_file_noop
7881 *-*-mingw* ) # actually msys
7882 lt_cv_to_tool_file_cmd
=func_convert_file_msys_to_w32
7890 to_tool_file_cmd
=$lt_cv_to_tool_file_cmd
7891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
7892 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
7898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
7899 $as_echo_n "checking for $LD option to reload object files... " >&6; }
7900 if ${lt_cv_ld_reload_flag+:} false
; then :
7901 $as_echo_n "(cached) " >&6
7903 lt_cv_ld_reload_flag
='-r'
7905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
7906 $as_echo "$lt_cv_ld_reload_flag" >&6; }
7907 reload_flag
=$lt_cv_ld_reload_flag
7908 case $reload_flag in
7910 *) reload_flag
=" $reload_flag" ;;
7912 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
7914 cygwin
* | mingw
* | pw32
* | cegcc
*)
7915 if test yes != "$GCC"; then
7920 if test yes = "$GCC"; then
7921 reload_cmds
='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
7923 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
7936 if test -n "$ac_tool_prefix"; then
7937 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
7938 set dummy
${ac_tool_prefix}objdump
; ac_word
=$2
7939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7940 $as_echo_n "checking for $ac_word... " >&6; }
7941 if ${ac_cv_prog_OBJDUMP+:} false
; then :
7942 $as_echo_n "(cached) " >&6
7944 if test -n "$OBJDUMP"; then
7945 ac_cv_prog_OBJDUMP
="$OBJDUMP" # Let the user override the test.
7947 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7951 test -z "$as_dir" && as_dir
=.
7952 for ac_exec_ext
in '' $ac_executable_extensions; do
7953 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7954 ac_cv_prog_OBJDUMP
="${ac_tool_prefix}objdump"
7955 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7964 OBJDUMP
=$ac_cv_prog_OBJDUMP
7965 if test -n "$OBJDUMP"; then
7966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
7967 $as_echo "$OBJDUMP" >&6; }
7969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7970 $as_echo "no" >&6; }
7975 if test -z "$ac_cv_prog_OBJDUMP"; then
7976 ac_ct_OBJDUMP
=$OBJDUMP
7977 # Extract the first word of "objdump", so it can be a program name with args.
7978 set dummy objdump
; ac_word
=$2
7979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7980 $as_echo_n "checking for $ac_word... " >&6; }
7981 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false
; then :
7982 $as_echo_n "(cached) " >&6
7984 if test -n "$ac_ct_OBJDUMP"; then
7985 ac_cv_prog_ac_ct_OBJDUMP
="$ac_ct_OBJDUMP" # Let the user override the test.
7987 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7991 test -z "$as_dir" && as_dir
=.
7992 for ac_exec_ext
in '' $ac_executable_extensions; do
7993 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7994 ac_cv_prog_ac_ct_OBJDUMP
="objdump"
7995 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8004 ac_ct_OBJDUMP
=$ac_cv_prog_ac_ct_OBJDUMP
8005 if test -n "$ac_ct_OBJDUMP"; then
8006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
8007 $as_echo "$ac_ct_OBJDUMP" >&6; }
8009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8010 $as_echo "no" >&6; }
8013 if test "x$ac_ct_OBJDUMP" = x
; then
8016 case $cross_compiling:$ac_tool_warned in
8018 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8019 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8020 ac_tool_warned
=yes ;;
8022 OBJDUMP
=$ac_ct_OBJDUMP
8025 OBJDUMP
="$ac_cv_prog_OBJDUMP"
8028 test -z "$OBJDUMP" && OBJDUMP
=objdump
8038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
8039 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
8040 if ${lt_cv_deplibs_check_method+:} false
; then :
8041 $as_echo_n "(cached) " >&6
8043 lt_cv_file_magic_cmd
='$MAGIC_CMD'
8044 lt_cv_file_magic_test_file
=
8045 lt_cv_deplibs_check_method
='unknown'
8046 # Need to set the preceding variable on all platforms that support
8047 # interlibrary dependencies.
8048 # 'none' -- dependencies not supported.
8049 # 'unknown' -- same as none, but documents that we really don't know.
8050 # 'pass_all' -- all dependencies passed with no checks.
8051 # 'test_compile' -- check by making test program.
8052 # 'file_magic [[regex]]' -- check by looking for files in library path
8053 # that responds to the $file_magic_cmd with a given extended regex.
8054 # If you have 'file' or equivalent on your system and you're not sure
8055 # whether 'pass_all' will *always* work, you probably want this one.
8059 lt_cv_deplibs_check_method
=pass_all
8063 lt_cv_deplibs_check_method
=pass_all
8067 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
8068 lt_cv_file_magic_cmd
='/usr/bin/file -L'
8069 lt_cv_file_magic_test_file
=/shlib
/libc.so
8073 # func_win32_libid is a shell function defined in ltmain.sh
8074 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
8075 lt_cv_file_magic_cmd
='func_win32_libid'
8079 # Base MSYS/MinGW do not provide the 'file' command needed by
8080 # func_win32_libid shell function, so use a weaker test based on 'objdump',
8081 # unless we find 'file', for example because we are cross-compiling.
8082 if ( file / ) >/dev
/null
2>&1; then
8083 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
8084 lt_cv_file_magic_cmd
='func_win32_libid'
8086 # Keep this pattern in sync with the one in func_win32_libid.
8087 lt_cv_deplibs_check_method
='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
8088 lt_cv_file_magic_cmd
='$OBJDUMP -f'
8093 # use the weaker test based on 'objdump'. See mingw*.
8094 lt_cv_deplibs_check_method
='file_magic file format pe-arm-.*little(.*architecture: arm)?'
8095 lt_cv_file_magic_cmd
='$OBJDUMP -f'
8098 darwin
* | rhapsody
*)
8099 lt_cv_deplibs_check_method
=pass_all
8102 freebsd
* | dragonfly
*)
8103 if echo __ELF__
| $CC -E - | $GREP __ELF__
> /dev
/null
; then
8106 # Not sure whether the presence of OpenBSD here was a mistake.
8107 # Let's accept both of them until this is cleared up.
8108 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
8109 lt_cv_file_magic_cmd
=/usr
/bin
/file
8110 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
8114 lt_cv_deplibs_check_method
=pass_all
8119 lt_cv_deplibs_check_method
=pass_all
8122 hpux10.20
* | hpux11
*)
8123 lt_cv_file_magic_cmd
=/usr
/bin
/file
8126 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
8127 lt_cv_file_magic_test_file
=/usr
/lib
/hpux
32/libc.so
8130 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]'
8131 lt_cv_file_magic_test_file
=/usr
/lib
/pa
20_
64/libc.sl
8134 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
8135 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
8141 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
8142 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|\.a)$'
8145 irix5
* | irix6
* | nonstopux
*)
8147 *-32|*"-32 ") libmagic
=32-bit;;
8148 *-n32|*"-n32 ") libmagic
=N32
;;
8149 *-64|*"-64 ") libmagic
=64-bit;;
8150 *) libmagic
=never
-match;;
8152 lt_cv_deplibs_check_method
=pass_all
8155 # This must be glibc/ELF.
8156 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
8157 lt_cv_deplibs_check_method
=pass_all
8161 if echo __ELF__
| $CC -E - | $GREP __ELF__
> /dev
/null
; then
8162 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
8164 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|_pic\.a)$'
8169 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
8170 lt_cv_file_magic_cmd
=/usr
/bin
/file
8171 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
8175 lt_cv_deplibs_check_method
=pass_all
8179 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
8180 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
8182 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
8186 osf3
* | osf4
* | osf5
*)
8187 lt_cv_deplibs_check_method
=pass_all
8191 lt_cv_deplibs_check_method
=pass_all
8195 lt_cv_deplibs_check_method
=pass_all
8198 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
8199 lt_cv_deplibs_check_method
=pass_all
8203 case $host_vendor in
8205 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]'
8206 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
8209 lt_cv_deplibs_check_method
=pass_all
8212 lt_cv_file_magic_cmd
='/bin/file'
8213 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
8216 lt_cv_file_magic_cmd
='/bin/file'
8217 lt_cv_deplibs_check_method
="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
8218 lt_cv_file_magic_test_file
=/lib
/libc.so
8221 lt_cv_deplibs_check_method
=pass_all
8224 lt_cv_deplibs_check_method
=pass_all
8230 lt_cv_deplibs_check_method
=pass_all
8233 lt_cv_deplibs_check_method
=pass_all
8238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
8239 $as_echo "$lt_cv_deplibs_check_method" >&6; }
8243 if test "$build" = "$host"; then
8246 if ( shopt | grep nocaseglob
) >/dev
/null
2>&1; then
8249 file_magic_glob
=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
8255 file_magic_cmd
=$lt_cv_file_magic_cmd
8256 deplibs_check_method
=$lt_cv_deplibs_check_method
8257 test -z "$deplibs_check_method" && deplibs_check_method
=unknown
8280 if test -n "$ac_tool_prefix"; then
8281 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8282 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
8283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8284 $as_echo_n "checking for $ac_word... " >&6; }
8285 if ${ac_cv_prog_DLLTOOL+:} false
; then :
8286 $as_echo_n "(cached) " >&6
8288 if test -n "$DLLTOOL"; then
8289 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
8291 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8295 test -z "$as_dir" && as_dir
=.
8296 for ac_exec_ext
in '' $ac_executable_extensions; do
8297 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8298 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
8299 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8308 DLLTOOL
=$ac_cv_prog_DLLTOOL
8309 if test -n "$DLLTOOL"; then
8310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8311 $as_echo "$DLLTOOL" >&6; }
8313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8314 $as_echo "no" >&6; }
8319 if test -z "$ac_cv_prog_DLLTOOL"; then
8320 ac_ct_DLLTOOL
=$DLLTOOL
8321 # Extract the first word of "dlltool", so it can be a program name with args.
8322 set dummy dlltool
; ac_word
=$2
8323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8324 $as_echo_n "checking for $ac_word... " >&6; }
8325 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false
; then :
8326 $as_echo_n "(cached) " >&6
8328 if test -n "$ac_ct_DLLTOOL"; then
8329 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
8331 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8335 test -z "$as_dir" && as_dir
=.
8336 for ac_exec_ext
in '' $ac_executable_extensions; do
8337 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8338 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
8339 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8348 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
8349 if test -n "$ac_ct_DLLTOOL"; then
8350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8351 $as_echo "$ac_ct_DLLTOOL" >&6; }
8353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8354 $as_echo "no" >&6; }
8357 if test "x$ac_ct_DLLTOOL" = x
; then
8360 case $cross_compiling:$ac_tool_warned in
8362 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8363 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8364 ac_tool_warned
=yes ;;
8366 DLLTOOL
=$ac_ct_DLLTOOL
8369 DLLTOOL
="$ac_cv_prog_DLLTOOL"
8372 test -z "$DLLTOOL" && DLLTOOL
=dlltool
8383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
8384 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
8385 if ${lt_cv_sharedlib_from_linklib_cmd+:} false
; then :
8386 $as_echo_n "(cached) " >&6
8388 lt_cv_sharedlib_from_linklib_cmd
='unknown'
8391 cygwin
* | mingw
* | pw32
* | cegcc
*)
8392 # two different shell functions defined in ltmain.sh;
8393 # decide which one to use based on capabilities of $DLLTOOL
8394 case `$DLLTOOL --help 2>&1` in
8395 *--identify-strict*)
8396 lt_cv_sharedlib_from_linklib_cmd
=func_cygming_dll_for_implib
8399 lt_cv_sharedlib_from_linklib_cmd
=func_cygming_dll_for_implib_fallback
8404 # fallback: assume linklib IS sharedlib
8405 lt_cv_sharedlib_from_linklib_cmd
=$ECHO
8410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
8411 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
8412 sharedlib_from_linklib_cmd
=$lt_cv_sharedlib_from_linklib_cmd
8413 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd
=$ECHO
8421 if test -n "$ac_tool_prefix"; then
8424 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
8425 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
8426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8427 $as_echo_n "checking for $ac_word... " >&6; }
8428 if ${ac_cv_prog_AR+:} false
; then :
8429 $as_echo_n "(cached) " >&6
8431 if test -n "$AR"; then
8432 ac_cv_prog_AR
="$AR" # Let the user override the test.
8434 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8438 test -z "$as_dir" && as_dir
=.
8439 for ac_exec_ext
in '' $ac_executable_extensions; do
8440 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8441 ac_cv_prog_AR
="$ac_tool_prefix$ac_prog"
8442 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8452 if test -n "$AR"; then
8453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
8454 $as_echo "$AR" >&6; }
8456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8457 $as_echo "no" >&6; }
8461 test -n "$AR" && break
8464 if test -z "$AR"; then
8468 # Extract the first word of "$ac_prog", so it can be a program name with args.
8469 set dummy
$ac_prog; ac_word
=$2
8470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8471 $as_echo_n "checking for $ac_word... " >&6; }
8472 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
8473 $as_echo_n "(cached) " >&6
8475 if test -n "$ac_ct_AR"; then
8476 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
8478 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8482 test -z "$as_dir" && as_dir
=.
8483 for ac_exec_ext
in '' $ac_executable_extensions; do
8484 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8485 ac_cv_prog_ac_ct_AR
="$ac_prog"
8486 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8495 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
8496 if test -n "$ac_ct_AR"; then
8497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
8498 $as_echo "$ac_ct_AR" >&6; }
8500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8501 $as_echo "no" >&6; }
8505 test -n "$ac_ct_AR" && break
8508 if test "x$ac_ct_AR" = x
; then
8511 case $cross_compiling:$ac_tool_warned in
8513 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8514 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8515 ac_tool_warned
=yes ;;
8534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
8535 $as_echo_n "checking for archiver @FILE support... " >&6; }
8536 if ${lt_cv_ar_at_file+:} false
; then :
8537 $as_echo_n "(cached) " >&6
8540 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8541 /* end confdefs.h. */
8551 if ac_fn_c_try_compile
"$LINENO"; then :
8552 echo conftest.
$ac_objext > conftest.lst
8553 lt_ar_try
='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
8554 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
8555 (eval $lt_ar_try) 2>&5
8557 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8558 test $ac_status = 0; }
8559 if test 0 -eq "$ac_status"; then
8560 # Ensure the archiver fails upon bogus file names.
8561 rm -f conftest.
$ac_objext libconftest.a
8562 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
8563 (eval $lt_ar_try) 2>&5
8565 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8566 test $ac_status = 0; }
8567 if test 0 -ne "$ac_status"; then
8571 rm -f conftest.
* libconftest.a
8574 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
8578 $as_echo "$lt_cv_ar_at_file" >&6; }
8580 if test no
= "$lt_cv_ar_at_file"; then
8583 archiver_list_spec
=$lt_cv_ar_at_file
8592 if test -n "$ac_tool_prefix"; then
8593 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
8594 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
8595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8596 $as_echo_n "checking for $ac_word... " >&6; }
8597 if ${ac_cv_prog_STRIP+:} false
; then :
8598 $as_echo_n "(cached) " >&6
8600 if test -n "$STRIP"; then
8601 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
8603 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8607 test -z "$as_dir" && as_dir
=.
8608 for ac_exec_ext
in '' $ac_executable_extensions; do
8609 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8610 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
8611 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8620 STRIP
=$ac_cv_prog_STRIP
8621 if test -n "$STRIP"; then
8622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
8623 $as_echo "$STRIP" >&6; }
8625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8626 $as_echo "no" >&6; }
8631 if test -z "$ac_cv_prog_STRIP"; then
8633 # Extract the first word of "strip", so it can be a program name with args.
8634 set dummy strip
; ac_word
=$2
8635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8636 $as_echo_n "checking for $ac_word... " >&6; }
8637 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
8638 $as_echo_n "(cached) " >&6
8640 if test -n "$ac_ct_STRIP"; then
8641 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
8643 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8647 test -z "$as_dir" && as_dir
=.
8648 for ac_exec_ext
in '' $ac_executable_extensions; do
8649 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8650 ac_cv_prog_ac_ct_STRIP
="strip"
8651 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8660 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
8661 if test -n "$ac_ct_STRIP"; then
8662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
8663 $as_echo "$ac_ct_STRIP" >&6; }
8665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8666 $as_echo "no" >&6; }
8669 if test "x$ac_ct_STRIP" = x
; then
8672 case $cross_compiling:$ac_tool_warned in
8674 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8675 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8676 ac_tool_warned
=yes ;;
8681 STRIP
="$ac_cv_prog_STRIP"
8684 test -z "$STRIP" && STRIP
=:
8691 if test -n "$ac_tool_prefix"; then
8692 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
8693 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
8694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8695 $as_echo_n "checking for $ac_word... " >&6; }
8696 if ${ac_cv_prog_RANLIB+:} false
; then :
8697 $as_echo_n "(cached) " >&6
8699 if test -n "$RANLIB"; then
8700 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
8702 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8706 test -z "$as_dir" && as_dir
=.
8707 for ac_exec_ext
in '' $ac_executable_extensions; do
8708 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8709 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
8710 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8719 RANLIB
=$ac_cv_prog_RANLIB
8720 if test -n "$RANLIB"; then
8721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
8722 $as_echo "$RANLIB" >&6; }
8724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8725 $as_echo "no" >&6; }
8730 if test -z "$ac_cv_prog_RANLIB"; then
8731 ac_ct_RANLIB
=$RANLIB
8732 # Extract the first word of "ranlib", so it can be a program name with args.
8733 set dummy ranlib
; ac_word
=$2
8734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8735 $as_echo_n "checking for $ac_word... " >&6; }
8736 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
8737 $as_echo_n "(cached) " >&6
8739 if test -n "$ac_ct_RANLIB"; then
8740 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
8742 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8746 test -z "$as_dir" && as_dir
=.
8747 for ac_exec_ext
in '' $ac_executable_extensions; do
8748 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8749 ac_cv_prog_ac_ct_RANLIB
="ranlib"
8750 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8759 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
8760 if test -n "$ac_ct_RANLIB"; then
8761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
8762 $as_echo "$ac_ct_RANLIB" >&6; }
8764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8765 $as_echo "no" >&6; }
8768 if test "x$ac_ct_RANLIB" = x
; then
8771 case $cross_compiling:$ac_tool_warned in
8773 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8774 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8775 ac_tool_warned
=yes ;;
8777 RANLIB
=$ac_ct_RANLIB
8780 RANLIB
="$ac_cv_prog_RANLIB"
8783 test -z "$RANLIB" && RANLIB
=:
8790 # Determine commands to create old-style static archives.
8791 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs'
8792 old_postinstall_cmds
='chmod 644 $oldlib'
8793 old_postuninstall_cmds
=
8795 if test -n "$RANLIB"; then
8798 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
8801 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
8804 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$tool_oldlib"
8809 lock_old_archive_extraction
=yes ;;
8811 lock_old_archive_extraction
=no
;;
8852 # If no C compiler was specified, use CC.
8855 # If no C compiler flags were specified, use CFLAGS.
8856 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
8858 # Allow CC to be a program name with arguments.
8862 # Check for command to grab the raw symbol name followed by C symbol from nm.
8863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
8864 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
8865 if ${lt_cv_sys_global_symbol_pipe+:} false
; then :
8866 $as_echo_n "(cached) " >&6
8869 # These are sane defaults that work on at least a few old systems.
8870 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
8872 # Character class describing NM global symbol codes.
8873 symcode
='[BCDEGRST]'
8875 # Regexp to match symbols that can be accessed directly from C.
8876 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
8878 # Define system-specific variables.
8883 cygwin
* | mingw
* | pw32
* | cegcc
*)
8884 symcode
='[ABCDGISTW]'
8887 if test ia64
= "$host_cpu"; then
8888 symcode
='[ABCDEGRST]'
8892 symcode
='[BCDEGRST]'
8895 symcode
='[BCDEGQRST]'
8906 sysv5
* | sco5v6
* | unixware
* | OpenUNIX
*)
8914 # If we're using GNU nm, then use its standard symbol codes.
8915 case `$NM -V 2>&1` in
8916 *GNU
* | *'with BFD'*)
8917 symcode
='[ABCDGIRSTW]' ;;
8920 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
8921 # Gets list of data symbols to import.
8922 lt_cv_sys_global_symbol_to_import
="sed -n -e 's/^I .* \(.*\)$/\1/p'"
8923 # Adjust the below global symbol transforms to fixup imported variables.
8924 lt_cdecl_hook
=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
8925 lt_c_name_hook
=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'"
8926 lt_c_name_lib_hook
="\
8927 -e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\
8928 -e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'"
8930 # Disable hooks by default.
8931 lt_cv_sys_global_symbol_to_import
=
8937 # Transform an extracted symbol line into a proper C declaration.
8938 # Some systems (esp. on ia64) link data and code symbols differently,
8939 # so use this general approach.
8940 lt_cv_sys_global_symbol_to_cdecl
="sed -n"\
8942 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
8943 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
8945 # Transform an extracted symbol line into symbol name and symbol address
8946 lt_cv_sys_global_symbol_to_c_name_address
="sed -n"\
8948 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
8949 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'"
8951 # Transform an extracted symbol line into symbol name with lib prefix and
8953 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
="sed -n"\
8954 $lt_c_name_lib_hook\
8955 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
8956 " -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\
8957 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'"
8959 # Handle CRLF in mingw tool chain
8963 opt_cr
=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
8967 # Try without a prefix underscore, then with it.
8968 for ac_symprfx
in "" "_"; do
8970 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
8971 symxfrm
="\\1 $ac_symprfx\\2 \\2"
8973 # Write the raw and C identifiers.
8974 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
8975 # Fake it for dumpbin and say T for any non-static function,
8976 # D for any global variable and I for any imported variable.
8977 # Also find C++ and __fastcall symbols from MSVC++,
8978 # which start with @ or ?.
8979 lt_cv_sys_global_symbol_pipe
="$AWK '"\
8980 " {last_section=section; section=\$ 3};"\
8981 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
8982 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
8983 " /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
8984 " /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
8985 " /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
8986 " \$ 0!~/External *\|/{next};"\
8987 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
8988 " {if(hide[section]) next};"\
8989 " {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
8990 " {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
8991 " s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
8992 " s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
8993 " ' prfx=^$ac_symprfx"
8995 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
8997 lt_cv_sys_global_symbol_pipe
="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
8999 # Check to see that the pipe works correctly.
9003 cat > conftest.
$ac_ext <<_LT_EOF
9008 void nm_test_func(void);
9009 void nm_test_func(void){}
9013 int main(){nm_test_var='a';nm_test_func();return(0);}
9016 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9017 (eval $ac_compile) 2>&5
9019 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9020 test $ac_status = 0; }; then
9021 # Now try to grab the symbols.
9023 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
9024 (eval $NM conftest.
$ac_objext \
| "$lt_cv_sys_global_symbol_pipe" \
> $nlist) 2>&5
9026 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9027 test $ac_status = 0; } && test -s "$nlist"; then
9028 # Try sorting and uniquifying the output.
9029 if sort "$nlist" | uniq > "$nlist"T
; then
9030 mv -f "$nlist"T
"$nlist"
9035 # Make sure that we snagged all the symbols we need.
9036 if $GREP ' nm_test_var$' "$nlist" >/dev
/null
; then
9037 if $GREP ' nm_test_func$' "$nlist" >/dev
/null
; then
9038 cat <<_LT_EOF > conftest.$ac_ext
9039 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
9040 #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
9041 /* DATA imports from DLLs on WIN32 can't be const, because runtime
9042 relocations are performed -- see ld's documentation on pseudo-relocs. */
9043 # define LT_DLSYM_CONST
9044 #elif defined __osf__
9045 /* This system does not cope well with relocations in const data. */
9046 # define LT_DLSYM_CONST
9048 # define LT_DLSYM_CONST const
9056 # Now generate the symbol file.
9057 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
9059 cat <<_LT_EOF >> conftest.$ac_ext
9061 /* The mapping between symbol names and symbols. */
9062 LT_DLSYM_CONST struct {
9066 lt__PROGRAM__LTX_preloaded_symbols[] =
9068 { "@PROGRAM@", (void *) 0 },
9070 $SED "s/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main
>> conftest.
$ac_ext
9071 cat <<\_LT_EOF
>> conftest.
$ac_ext
9075 /* This works around a problem
in FreeBSD linker
*/
9076 #ifdef FREEBSD_WORKAROUND
9077 static const void
*lt_preloaded_setup
() {
9078 return lt__PROGRAM__LTX_preloaded_symbols
;
9086 # Now try linking the two files.
9087 mv conftest.
$ac_objext conftstm.
$ac_objext
9088 lt_globsym_save_LIBS
=$LIBS
9089 lt_globsym_save_CFLAGS
=$CFLAGS
9090 LIBS
=conftstm.
$ac_objext
9091 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
9092 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
9093 (eval $ac_link) 2>&5
9095 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9096 test $ac_status = 0; } && test -s conftest
$ac_exeext; then
9099 LIBS
=$lt_globsym_save_LIBS
9100 CFLAGS
=$lt_globsym_save_CFLAGS
9102 echo "cannot find nm_test_func in $nlist" >&5
9105 echo "cannot find nm_test_var in $nlist" >&5
9108 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
9111 echo "$progname: failed program was:" >&5
9112 cat conftest.
$ac_ext >&5
9114 rm -rf conftest
* conftst
*
9116 # Do not use the global_symbol_pipe unless it works.
9117 if test yes = "$pipe_works"; then
9120 lt_cv_sys_global_symbol_pipe
=
9126 if test -z "$lt_cv_sys_global_symbol_pipe"; then
9127 lt_cv_sys_global_symbol_to_cdecl
=
9129 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
9130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
9131 $as_echo "failed" >&6; }
9133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
9134 $as_echo "ok" >&6; }
9137 # Response file support.
9138 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
9139 nm_file_list_spec
='@'
9140 elif $NM --help 2>/dev
/null
| grep '[@]FILE' >/dev
/null
; then
9141 nm_file_list_spec
='@'
9180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
9181 $as_echo_n "checking for sysroot... " >&6; }
9183 # Check whether --with-sysroot was given.
9184 if test "${with_sysroot+set}" = set; then :
9185 withval
=$with_sysroot;
9192 case $with_sysroot in #(
9194 if test yes = "$GCC"; then
9195 lt_sysroot
=`$CC --print-sysroot 2>/dev/null`
9199 lt_sysroot
=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
9204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
9205 $as_echo "$with_sysroot" >&6; }
9206 as_fn_error $?
"The sysroot must be an absolute path." "$LINENO" 5
9210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
9211 $as_echo "${lt_sysroot:-no}" >&6; }
9217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
9218 $as_echo_n "checking for a working dd... " >&6; }
9219 if ${ac_cv_path_lt_DD+:} false
; then :
9220 $as_echo_n "(cached) " >&6
9222 printf 0123456789abcdef0123456789abcdef
>conftest.i
9223 cat conftest.i conftest.i
>conftest2.i
9225 if test -z "$lt_DD"; then
9226 ac_path_lt_DD_found
=false
9227 # Loop through the user's path and test for each of PROGNAME-LIST
9228 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9232 test -z "$as_dir" && as_dir
=.
9233 for ac_prog
in dd; do
9234 for ac_exec_ext
in '' $ac_executable_extensions; do
9235 ac_path_lt_DD
="$as_dir/$ac_prog$ac_exec_ext"
9236 as_fn_executable_p
"$ac_path_lt_DD" || continue
9237 if "$ac_path_lt_DD" bs
=32 count
=1 <conftest2.i
>conftest.out
2>/dev
/null
; then
9238 cmp -s conftest.i conftest.out \
9239 && ac_cv_path_lt_DD
="$ac_path_lt_DD" ac_path_lt_DD_found
=:
9241 $ac_path_lt_DD_found && break 3
9246 if test -z "$ac_cv_path_lt_DD"; then
9250 ac_cv_path_lt_DD
=$lt_DD
9253 rm -f conftest.i conftest2.i conftest.out
9255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
9256 $as_echo "$ac_cv_path_lt_DD" >&6; }
9259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
9260 $as_echo_n "checking how to truncate binary pipes... " >&6; }
9261 if ${lt_cv_truncate_bin+:} false
; then :
9262 $as_echo_n "(cached) " >&6
9264 printf 0123456789abcdef0123456789abcdef
>conftest.i
9265 cat conftest.i conftest.i
>conftest2.i
9267 if "$ac_cv_path_lt_DD" bs
=32 count
=1 <conftest2.i
>conftest.out
2>/dev
/null
; then
9268 cmp -s conftest.i conftest.out \
9269 && lt_cv_truncate_bin
="$ac_cv_path_lt_DD bs=4096 count=1"
9271 rm -f conftest.i conftest2.i conftest.out
9272 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin
="$SED -e 4q"
9274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
9275 $as_echo "$lt_cv_truncate_bin" >&6; }
9283 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
9286 for cc_temp
in $
*""; do
9288 compile
| *[\\/]compile
| ccache
| *[\\/]ccache
) ;;
9289 distcc
| *[\\/]distcc
| purify
| *[\\/]purify
) ;;
9294 func_cc_basename_result
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
9297 # Check whether --enable-libtool-lock was given.
9298 if test "${enable_libtool_lock+set}" = set; then :
9299 enableval
=$enable_libtool_lock;
9302 test no
= "$enable_libtool_lock" || enable_libtool_lock
=yes
9304 # Some flags need to be propagated to the compiler or linker for good
9308 # Find out what ABI is being produced by ac_compile, and set mode
9309 # options accordingly.
9310 echo 'int i;' > conftest.
$ac_ext
9311 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9312 (eval $ac_compile) 2>&5
9314 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9315 test $ac_status = 0; }; then
9316 case `/usr/bin/file conftest.$ac_objext` in
9328 # Find out what ABI is being produced by ac_compile, and set linker
9329 # options accordingly.
9330 echo '#line '$LINENO' "configure"' > conftest.
$ac_ext
9331 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9332 (eval $ac_compile) 2>&5
9334 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9335 test $ac_status = 0; }; then
9336 if test yes = "$lt_cv_prog_gnu_ld"; then
9337 case `/usr/bin/file conftest.$ac_objext` in
9339 LD
="${LD-ld} -melf32bsmip"
9342 LD
="${LD-ld} -melf32bmipn32"
9345 LD
="${LD-ld} -melf64bmip"
9349 case `/usr/bin/file conftest.$ac_objext` in
9366 # Find out what ABI is being produced by ac_compile, and set linker
9367 # options accordingly.
9368 echo '#line '$LINENO' "configure"' > conftest.
$ac_ext
9369 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9370 (eval $ac_compile) 2>&5
9372 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9373 test $ac_status = 0; }; then
9375 case `/usr/bin/file conftest.$ac_objext` in
9383 case `/usr/bin/file conftest.$ac_objext` in
9385 emul
="${emul}btsmip"
9388 emul
="${emul}ltsmip"
9391 case `/usr/bin/file conftest.$ac_objext` in
9396 LD
="${LD-ld} -m $emul"
9401 x86_64
-*kfreebsd
*-gnu|x86_64
-*linux
*|powerpc
*-*linux
*| \
9402 s390
*-*linux
*|s390
*-*tpf
*|sparc
*-*linux
*)
9403 # Find out what ABI is being produced by ac_compile, and set linker
9404 # options accordingly. Note that the listed cases only cover the
9405 # situations where additional linker options are needed (such as when
9406 # doing 32-bit compilation for a host where ld defaults to 64-bit, or
9407 # vice versa); the common cases where no linker options are needed do
9408 # not appear in the list.
9409 echo 'int i;' > conftest.
$ac_ext
9410 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9411 (eval $ac_compile) 2>&5
9413 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9414 test $ac_status = 0; }; then
9415 case `/usr/bin/file conftest.o` in
9418 x86_64
-*kfreebsd
*-gnu)
9419 LD
="${LD-ld} -m elf_i386_fbsd"
9422 case `/usr/bin/file conftest.o` in
9424 LD
="${LD-ld} -m elf32_x86_64"
9427 LD
="${LD-ld} -m elf_i386"
9431 powerpc64le
-*linux
*)
9432 LD
="${LD-ld} -m elf32lppclinux"
9435 LD
="${LD-ld} -m elf32ppclinux"
9438 LD
="${LD-ld} -m elf_s390"
9441 LD
="${LD-ld} -m elf32_sparc"
9447 x86_64
-*kfreebsd
*-gnu)
9448 LD
="${LD-ld} -m elf_x86_64_fbsd"
9451 LD
="${LD-ld} -m elf_x86_64"
9454 LD
="${LD-ld} -m elf64lppc"
9457 LD
="${LD-ld} -m elf64ppc"
9459 s390
*-*linux
*|s390
*-*tpf
*)
9460 LD
="${LD-ld} -m elf64_s390"
9463 LD
="${LD-ld} -m elf64_sparc"
9473 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
9475 CFLAGS
="$CFLAGS -belf"
9476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
9477 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
9478 if ${lt_cv_cc_needs_belf+:} false
; then :
9479 $as_echo_n "(cached) " >&6
9482 ac_cpp
='$CPP $CPPFLAGS'
9483 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9484 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9485 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
9487 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9488 /* end confdefs.h. */
9498 if ac_fn_c_try_link
"$LINENO"; then :
9499 lt_cv_cc_needs_belf
=yes
9501 lt_cv_cc_needs_belf
=no
9503 rm -f core conftest.err conftest.
$ac_objext \
9504 conftest
$ac_exeext conftest.
$ac_ext
9506 ac_cpp
='$CPP $CPPFLAGS'
9507 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9508 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9509 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
9512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
9513 $as_echo "$lt_cv_cc_needs_belf" >&6; }
9514 if test yes != "$lt_cv_cc_needs_belf"; then
9515 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
9520 # Find out what ABI is being produced by ac_compile, and set linker
9521 # options accordingly.
9522 echo 'int i;' > conftest.
$ac_ext
9523 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9524 (eval $ac_compile) 2>&5
9526 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9527 test $ac_status = 0; }; then
9528 case `/usr/bin/file conftest.o` in
9530 case $lt_cv_prog_gnu_ld in
9533 i?
86-*-solaris*|x86_64
-*-solaris*)
9534 LD
="${LD-ld} -m elf_x86_64"
9537 LD
="${LD-ld} -m elf64_sparc"
9540 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
9541 if ${LD-ld} -V | grep _sol2
>/dev
/null
2>&1; then
9546 if ${LD-ld} -64 -r -o conftest2.o conftest.o
>/dev
/null
2>&1; then
9558 need_locks
=$enable_libtool_lock
9560 if test -n "$ac_tool_prefix"; then
9561 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
9562 set dummy
${ac_tool_prefix}mt
; ac_word
=$2
9563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9564 $as_echo_n "checking for $ac_word... " >&6; }
9565 if ${ac_cv_prog_MANIFEST_TOOL+:} false
; then :
9566 $as_echo_n "(cached) " >&6
9568 if test -n "$MANIFEST_TOOL"; then
9569 ac_cv_prog_MANIFEST_TOOL
="$MANIFEST_TOOL" # Let the user override the test.
9571 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9575 test -z "$as_dir" && as_dir
=.
9576 for ac_exec_ext
in '' $ac_executable_extensions; do
9577 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9578 ac_cv_prog_MANIFEST_TOOL
="${ac_tool_prefix}mt"
9579 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9588 MANIFEST_TOOL
=$ac_cv_prog_MANIFEST_TOOL
9589 if test -n "$MANIFEST_TOOL"; then
9590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
9591 $as_echo "$MANIFEST_TOOL" >&6; }
9593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9594 $as_echo "no" >&6; }
9599 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
9600 ac_ct_MANIFEST_TOOL
=$MANIFEST_TOOL
9601 # Extract the first word of "mt", so it can be a program name with args.
9602 set dummy mt
; ac_word
=$2
9603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9604 $as_echo_n "checking for $ac_word... " >&6; }
9605 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false
; then :
9606 $as_echo_n "(cached) " >&6
9608 if test -n "$ac_ct_MANIFEST_TOOL"; then
9609 ac_cv_prog_ac_ct_MANIFEST_TOOL
="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
9611 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9615 test -z "$as_dir" && as_dir
=.
9616 for ac_exec_ext
in '' $ac_executable_extensions; do
9617 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9618 ac_cv_prog_ac_ct_MANIFEST_TOOL
="mt"
9619 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9628 ac_ct_MANIFEST_TOOL
=$ac_cv_prog_ac_ct_MANIFEST_TOOL
9629 if test -n "$ac_ct_MANIFEST_TOOL"; then
9630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
9631 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
9633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9634 $as_echo "no" >&6; }
9637 if test "x$ac_ct_MANIFEST_TOOL" = x
; then
9640 case $cross_compiling:$ac_tool_warned in
9642 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9643 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9644 ac_tool_warned
=yes ;;
9646 MANIFEST_TOOL
=$ac_ct_MANIFEST_TOOL
9649 MANIFEST_TOOL
="$ac_cv_prog_MANIFEST_TOOL"
9652 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL
=mt
9653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
9654 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
9655 if ${lt_cv_path_mainfest_tool+:} false
; then :
9656 $as_echo_n "(cached) " >&6
9658 lt_cv_path_mainfest_tool
=no
9659 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
9660 $MANIFEST_TOOL '-?' 2>conftest.err
> conftest.out
9661 cat conftest.err
>&5
9662 if $GREP 'Manifest Tool' conftest.out
> /dev
/null
; then
9663 lt_cv_path_mainfest_tool
=yes
9667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
9668 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
9669 if test yes != "$lt_cv_path_mainfest_tool"; then
9679 rhapsody
* | darwin
*)
9680 if test -n "$ac_tool_prefix"; then
9681 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
9682 set dummy
${ac_tool_prefix}dsymutil
; ac_word
=$2
9683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9684 $as_echo_n "checking for $ac_word... " >&6; }
9685 if ${ac_cv_prog_DSYMUTIL+:} false
; then :
9686 $as_echo_n "(cached) " >&6
9688 if test -n "$DSYMUTIL"; then
9689 ac_cv_prog_DSYMUTIL
="$DSYMUTIL" # Let the user override the test.
9691 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9695 test -z "$as_dir" && as_dir
=.
9696 for ac_exec_ext
in '' $ac_executable_extensions; do
9697 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9698 ac_cv_prog_DSYMUTIL
="${ac_tool_prefix}dsymutil"
9699 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9708 DSYMUTIL
=$ac_cv_prog_DSYMUTIL
9709 if test -n "$DSYMUTIL"; then
9710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
9711 $as_echo "$DSYMUTIL" >&6; }
9713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9714 $as_echo "no" >&6; }
9719 if test -z "$ac_cv_prog_DSYMUTIL"; then
9720 ac_ct_DSYMUTIL
=$DSYMUTIL
9721 # Extract the first word of "dsymutil", so it can be a program name with args.
9722 set dummy dsymutil
; ac_word
=$2
9723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9724 $as_echo_n "checking for $ac_word... " >&6; }
9725 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false
; then :
9726 $as_echo_n "(cached) " >&6
9728 if test -n "$ac_ct_DSYMUTIL"; then
9729 ac_cv_prog_ac_ct_DSYMUTIL
="$ac_ct_DSYMUTIL" # Let the user override the test.
9731 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9735 test -z "$as_dir" && as_dir
=.
9736 for ac_exec_ext
in '' $ac_executable_extensions; do
9737 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9738 ac_cv_prog_ac_ct_DSYMUTIL
="dsymutil"
9739 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9748 ac_ct_DSYMUTIL
=$ac_cv_prog_ac_ct_DSYMUTIL
9749 if test -n "$ac_ct_DSYMUTIL"; then
9750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
9751 $as_echo "$ac_ct_DSYMUTIL" >&6; }
9753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9754 $as_echo "no" >&6; }
9757 if test "x$ac_ct_DSYMUTIL" = x
; then
9760 case $cross_compiling:$ac_tool_warned in
9762 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9763 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9764 ac_tool_warned
=yes ;;
9766 DSYMUTIL
=$ac_ct_DSYMUTIL
9769 DSYMUTIL
="$ac_cv_prog_DSYMUTIL"
9772 if test -n "$ac_tool_prefix"; then
9773 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
9774 set dummy
${ac_tool_prefix}nmedit
; ac_word
=$2
9775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9776 $as_echo_n "checking for $ac_word... " >&6; }
9777 if ${ac_cv_prog_NMEDIT+:} false
; then :
9778 $as_echo_n "(cached) " >&6
9780 if test -n "$NMEDIT"; then
9781 ac_cv_prog_NMEDIT
="$NMEDIT" # Let the user override the test.
9783 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9787 test -z "$as_dir" && as_dir
=.
9788 for ac_exec_ext
in '' $ac_executable_extensions; do
9789 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9790 ac_cv_prog_NMEDIT
="${ac_tool_prefix}nmedit"
9791 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9800 NMEDIT
=$ac_cv_prog_NMEDIT
9801 if test -n "$NMEDIT"; then
9802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
9803 $as_echo "$NMEDIT" >&6; }
9805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9806 $as_echo "no" >&6; }
9811 if test -z "$ac_cv_prog_NMEDIT"; then
9812 ac_ct_NMEDIT
=$NMEDIT
9813 # Extract the first word of "nmedit", so it can be a program name with args.
9814 set dummy nmedit
; ac_word
=$2
9815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9816 $as_echo_n "checking for $ac_word... " >&6; }
9817 if ${ac_cv_prog_ac_ct_NMEDIT+:} false
; then :
9818 $as_echo_n "(cached) " >&6
9820 if test -n "$ac_ct_NMEDIT"; then
9821 ac_cv_prog_ac_ct_NMEDIT
="$ac_ct_NMEDIT" # Let the user override the test.
9823 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9827 test -z "$as_dir" && as_dir
=.
9828 for ac_exec_ext
in '' $ac_executable_extensions; do
9829 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9830 ac_cv_prog_ac_ct_NMEDIT
="nmedit"
9831 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9840 ac_ct_NMEDIT
=$ac_cv_prog_ac_ct_NMEDIT
9841 if test -n "$ac_ct_NMEDIT"; then
9842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
9843 $as_echo "$ac_ct_NMEDIT" >&6; }
9845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9846 $as_echo "no" >&6; }
9849 if test "x$ac_ct_NMEDIT" = x
; then
9852 case $cross_compiling:$ac_tool_warned in
9854 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9855 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9856 ac_tool_warned
=yes ;;
9858 NMEDIT
=$ac_ct_NMEDIT
9861 NMEDIT
="$ac_cv_prog_NMEDIT"
9864 if test -n "$ac_tool_prefix"; then
9865 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
9866 set dummy
${ac_tool_prefix}lipo
; ac_word
=$2
9867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9868 $as_echo_n "checking for $ac_word... " >&6; }
9869 if ${ac_cv_prog_LIPO+:} false
; then :
9870 $as_echo_n "(cached) " >&6
9872 if test -n "$LIPO"; then
9873 ac_cv_prog_LIPO
="$LIPO" # Let the user override the test.
9875 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9879 test -z "$as_dir" && as_dir
=.
9880 for ac_exec_ext
in '' $ac_executable_extensions; do
9881 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9882 ac_cv_prog_LIPO
="${ac_tool_prefix}lipo"
9883 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9892 LIPO
=$ac_cv_prog_LIPO
9893 if test -n "$LIPO"; then
9894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
9895 $as_echo "$LIPO" >&6; }
9897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9898 $as_echo "no" >&6; }
9903 if test -z "$ac_cv_prog_LIPO"; then
9905 # Extract the first word of "lipo", so it can be a program name with args.
9906 set dummy lipo
; ac_word
=$2
9907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9908 $as_echo_n "checking for $ac_word... " >&6; }
9909 if ${ac_cv_prog_ac_ct_LIPO+:} false
; then :
9910 $as_echo_n "(cached) " >&6
9912 if test -n "$ac_ct_LIPO"; then
9913 ac_cv_prog_ac_ct_LIPO
="$ac_ct_LIPO" # Let the user override the test.
9915 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9919 test -z "$as_dir" && as_dir
=.
9920 for ac_exec_ext
in '' $ac_executable_extensions; do
9921 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9922 ac_cv_prog_ac_ct_LIPO
="lipo"
9923 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9932 ac_ct_LIPO
=$ac_cv_prog_ac_ct_LIPO
9933 if test -n "$ac_ct_LIPO"; then
9934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
9935 $as_echo "$ac_ct_LIPO" >&6; }
9937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9938 $as_echo "no" >&6; }
9941 if test "x$ac_ct_LIPO" = x
; then
9944 case $cross_compiling:$ac_tool_warned in
9946 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9947 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9948 ac_tool_warned
=yes ;;
9953 LIPO
="$ac_cv_prog_LIPO"
9956 if test -n "$ac_tool_prefix"; then
9957 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
9958 set dummy
${ac_tool_prefix}otool
; ac_word
=$2
9959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9960 $as_echo_n "checking for $ac_word... " >&6; }
9961 if ${ac_cv_prog_OTOOL+:} false
; then :
9962 $as_echo_n "(cached) " >&6
9964 if test -n "$OTOOL"; then
9965 ac_cv_prog_OTOOL
="$OTOOL" # Let the user override the test.
9967 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9971 test -z "$as_dir" && as_dir
=.
9972 for ac_exec_ext
in '' $ac_executable_extensions; do
9973 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9974 ac_cv_prog_OTOOL
="${ac_tool_prefix}otool"
9975 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9984 OTOOL
=$ac_cv_prog_OTOOL
9985 if test -n "$OTOOL"; then
9986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
9987 $as_echo "$OTOOL" >&6; }
9989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9990 $as_echo "no" >&6; }
9995 if test -z "$ac_cv_prog_OTOOL"; then
9997 # Extract the first word of "otool", so it can be a program name with args.
9998 set dummy otool
; ac_word
=$2
9999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10000 $as_echo_n "checking for $ac_word... " >&6; }
10001 if ${ac_cv_prog_ac_ct_OTOOL+:} false
; then :
10002 $as_echo_n "(cached) " >&6
10004 if test -n "$ac_ct_OTOOL"; then
10005 ac_cv_prog_ac_ct_OTOOL
="$ac_ct_OTOOL" # Let the user override the test.
10007 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10008 for as_dir
in $PATH
10011 test -z "$as_dir" && as_dir
=.
10012 for ac_exec_ext
in '' $ac_executable_extensions; do
10013 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10014 ac_cv_prog_ac_ct_OTOOL
="otool"
10015 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10024 ac_ct_OTOOL
=$ac_cv_prog_ac_ct_OTOOL
10025 if test -n "$ac_ct_OTOOL"; then
10026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
10027 $as_echo "$ac_ct_OTOOL" >&6; }
10029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10030 $as_echo "no" >&6; }
10033 if test "x$ac_ct_OTOOL" = x
; then
10036 case $cross_compiling:$ac_tool_warned in
10038 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10039 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10040 ac_tool_warned
=yes ;;
10045 OTOOL
="$ac_cv_prog_OTOOL"
10048 if test -n "$ac_tool_prefix"; then
10049 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
10050 set dummy
${ac_tool_prefix}otool64
; ac_word
=$2
10051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10052 $as_echo_n "checking for $ac_word... " >&6; }
10053 if ${ac_cv_prog_OTOOL64+:} false
; then :
10054 $as_echo_n "(cached) " >&6
10056 if test -n "$OTOOL64"; then
10057 ac_cv_prog_OTOOL64
="$OTOOL64" # Let the user override the test.
10059 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10060 for as_dir
in $PATH
10063 test -z "$as_dir" && as_dir
=.
10064 for ac_exec_ext
in '' $ac_executable_extensions; do
10065 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10066 ac_cv_prog_OTOOL64
="${ac_tool_prefix}otool64"
10067 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10076 OTOOL64
=$ac_cv_prog_OTOOL64
10077 if test -n "$OTOOL64"; then
10078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
10079 $as_echo "$OTOOL64" >&6; }
10081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10082 $as_echo "no" >&6; }
10087 if test -z "$ac_cv_prog_OTOOL64"; then
10088 ac_ct_OTOOL64
=$OTOOL64
10089 # Extract the first word of "otool64", so it can be a program name with args.
10090 set dummy otool64
; ac_word
=$2
10091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10092 $as_echo_n "checking for $ac_word... " >&6; }
10093 if ${ac_cv_prog_ac_ct_OTOOL64+:} false
; then :
10094 $as_echo_n "(cached) " >&6
10096 if test -n "$ac_ct_OTOOL64"; then
10097 ac_cv_prog_ac_ct_OTOOL64
="$ac_ct_OTOOL64" # Let the user override the test.
10099 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10100 for as_dir
in $PATH
10103 test -z "$as_dir" && as_dir
=.
10104 for ac_exec_ext
in '' $ac_executable_extensions; do
10105 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10106 ac_cv_prog_ac_ct_OTOOL64
="otool64"
10107 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10116 ac_ct_OTOOL64
=$ac_cv_prog_ac_ct_OTOOL64
10117 if test -n "$ac_ct_OTOOL64"; then
10118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
10119 $as_echo "$ac_ct_OTOOL64" >&6; }
10121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10122 $as_echo "no" >&6; }
10125 if test "x$ac_ct_OTOOL64" = x
; then
10128 case $cross_compiling:$ac_tool_warned in
10130 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10131 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10132 ac_tool_warned
=yes ;;
10134 OTOOL64
=$ac_ct_OTOOL64
10137 OTOOL64
="$ac_cv_prog_OTOOL64"
10166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
10167 $as_echo_n "checking for -single_module linker flag... " >&6; }
10168 if ${lt_cv_apple_cc_single_mod+:} false
; then :
10169 $as_echo_n "(cached) " >&6
10171 lt_cv_apple_cc_single_mod
=no
10172 if test -z "$LT_MULTI_MODULE"; then
10173 # By default we will add the -single_module flag. You can override
10174 # by either setting the environment variable LT_MULTI_MODULE
10175 # non-empty at configure time, or by adding -multi_module to the
10177 rm -rf libconftest.dylib
*
10178 echo "int foo(void){return 1;}" > conftest.c
10179 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
10180 -dynamiclib -Wl,-single_module conftest.c" >&5
10181 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
10182 -dynamiclib -Wl,-single_module conftest.c
2>conftest.err
10184 # If there is a non-empty error log, and "single_module"
10185 # appears in it, assume the flag caused a linker warning
10186 if test -s conftest.err
&& $GREP single_module conftest.err
; then
10187 cat conftest.err
>&5
10188 # Otherwise, if the output was created with a 0 exit code from
10189 # the compiler, it worked.
10190 elif test -f libconftest.dylib
&& test 0 = "$_lt_result"; then
10191 lt_cv_apple_cc_single_mod
=yes
10193 cat conftest.err
>&5
10195 rm -rf libconftest.dylib
*
10199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
10200 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
10202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
10203 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
10204 if ${lt_cv_ld_exported_symbols_list+:} false
; then :
10205 $as_echo_n "(cached) " >&6
10207 lt_cv_ld_exported_symbols_list
=no
10208 save_LDFLAGS
=$LDFLAGS
10209 echo "_main" > conftest.sym
10210 LDFLAGS
="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
10211 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10212 /* end confdefs.h. */
10222 if ac_fn_c_try_link
"$LINENO"; then :
10223 lt_cv_ld_exported_symbols_list
=yes
10225 lt_cv_ld_exported_symbols_list
=no
10227 rm -f core conftest.err conftest.
$ac_objext \
10228 conftest
$ac_exeext conftest.
$ac_ext
10229 LDFLAGS
=$save_LDFLAGS
10232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
10233 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
10235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
10236 $as_echo_n "checking for -force_load linker flag... " >&6; }
10237 if ${lt_cv_ld_force_load+:} false
; then :
10238 $as_echo_n "(cached) " >&6
10240 lt_cv_ld_force_load
=no
10241 cat > conftest.c
<< _LT_EOF
10242 int forced_loaded() { return 2;}
10244 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
10245 $LTCC $LTCFLAGS -c -o conftest.o conftest.c
2>&5
10246 echo "$AR cru libconftest.a conftest.o" >&5
10247 $AR cru libconftest.a conftest.o
2>&5
10248 echo "$RANLIB libconftest.a" >&5
10249 $RANLIB libconftest.a
2>&5
10250 cat > conftest.c
<< _LT_EOF
10251 int main() { return 0;}
10253 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
10254 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
2>conftest.err
10256 if test -s conftest.err
&& $GREP force_load conftest.err
; then
10257 cat conftest.err
>&5
10258 elif test -f conftest
&& test 0 = "$_lt_result" && $GREP forced_load conftest
>/dev
/null
2>&1; then
10259 lt_cv_ld_force_load
=yes
10261 cat conftest.err
>&5
10263 rm -f conftest.err libconftest.a conftest conftest.c
10264 rm -rf conftest.dSYM
10267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
10268 $as_echo "$lt_cv_ld_force_load" >&6; }
10270 rhapsody
* | darwin1.
[012])
10271 _lt_dar_allow_undefined
='$wl-undefined ${wl}suppress' ;;
10273 _lt_dar_allow_undefined
='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
10274 darwin
*) # darwin 5.x on
10275 # if running on 10.5 or later, the deployment target defaults
10276 # to the OS version, if on x86, and 10.4, the deployment
10277 # target defaults to 10.4. Don't you love it?
10278 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
10279 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
10280 _lt_dar_allow_undefined
='$wl-undefined ${wl}dynamic_lookup' ;;
10282 _lt_dar_allow_undefined
='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
10284 _lt_dar_allow_undefined
='$wl-undefined ${wl}dynamic_lookup' ;;
10288 if test yes = "$lt_cv_apple_cc_single_mod"; then
10289 _lt_dar_single_mod
='$single_module'
10291 if test yes = "$lt_cv_ld_exported_symbols_list"; then
10292 _lt_dar_export_syms
=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
10294 _lt_dar_export_syms
='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
10296 if test : != "$DSYMUTIL" && test no
= "$lt_cv_ld_force_load"; then
10297 _lt_dsymutil
='~$DSYMUTIL $lib || :'
10304 # func_munge_path_list VARIABLE PATH
10305 # -----------------------------------
10306 # VARIABLE is name of variable containing _space_ separated list of
10307 # directories to be munged by the contents of PATH, which is string
10310 # string "DIR[ DIR]" will be prepended to VARIABLE
10312 # string "DIR[ DIR]" will be appended to VARIABLE
10313 # "DIRP[:DIRP]::[DIRA:]DIRA"
10314 # string "DIRP[ DIRP]" will be prepended to VARIABLE and string
10315 # "DIRA[ DIRA]" will be appended to VARIABLE
10317 # VARIABLE will be replaced by "DIR[ DIR]"
10318 func_munge_path_list
()
10324 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$
$1\"
10327 eval $1=\"\$
$1 `$ECHO $2 | $SED 's/:/ /g'`\"
10330 eval $1=\"\$
$1\
`$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
10331 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$
$1\"
10334 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
10340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
10341 $as_echo_n "checking for ANSI C header files... " >&6; }
10342 if ${ac_cv_header_stdc+:} false
; then :
10343 $as_echo_n "(cached) " >&6
10345 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10346 /* end confdefs.h. */
10347 #include <stdlib.h>
10348 #include <stdarg.h>
10349 #include <string.h>
10360 if ac_fn_c_try_compile
"$LINENO"; then :
10361 ac_cv_header_stdc
=yes
10363 ac_cv_header_stdc
=no
10365 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10367 if test $ac_cv_header_stdc = yes; then
10368 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
10369 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10370 /* end confdefs.h. */
10371 #include <string.h>
10374 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10375 $EGREP "memchr" >/dev
/null
2>&1; then :
10378 ac_cv_header_stdc
=no
10384 if test $ac_cv_header_stdc = yes; then
10385 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
10386 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10387 /* end confdefs.h. */
10388 #include <stdlib.h>
10391 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10392 $EGREP "free" >/dev
/null
2>&1; then :
10395 ac_cv_header_stdc
=no
10401 if test $ac_cv_header_stdc = yes; then
10402 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
10403 if test "$cross_compiling" = yes; then :
10406 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10407 /* end confdefs.h. */
10409 #include <stdlib.h>
10410 #if ((' ' & 0x0FF) == 0x020)
10411 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
10412 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
10414 # define ISLOWER(c) \
10415 (('a' <= (c) && (c) <= 'i') \
10416 || ('j' <= (c) && (c) <= 'r') \
10417 || ('s' <= (c) && (c) <= 'z'))
10418 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
10421 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
10426 for (i = 0; i < 256; i++)
10427 if (XOR (islower (i), ISLOWER (i))
10428 || toupper (i) != TOUPPER (i))
10433 if ac_fn_c_try_run
"$LINENO"; then :
10436 ac_cv_header_stdc
=no
10438 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
10439 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
10444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
10445 $as_echo "$ac_cv_header_stdc" >&6; }
10446 if test $ac_cv_header_stdc = yes; then
10448 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
10452 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
10453 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
10454 inttypes.h stdint.h unistd.h
10456 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10457 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
10459 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
10460 cat >>confdefs.h
<<_ACEOF
10461 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10469 for ac_header
in dlfcn.h
10471 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
10473 if test "x$ac_cv_header_dlfcn_h" = xyes
; then :
10474 cat >>confdefs.h
<<_ACEOF
10475 #define HAVE_DLFCN_H 1
10485 func_stripname_cnf
()
10488 .
*) func_stripname_result
=`$ECHO "$3" | $SED "s%^$1%%; s%\\\\$2\$%%"`;;
10489 *) func_stripname_result
=`$ECHO "$3" | $SED "s%^$1%%; s%$2\$%%"`;;
10491 } # func_stripname_cnf
10498 # Check whether --enable-static was given.
10499 if test "${enable_static+set}" = set; then :
10500 enableval
=$enable_static; p
=${PACKAGE-default}
10502 yes) enable_static
=yes ;;
10503 no
) enable_static
=no
;;
10506 # Look at the argument we got. We use all the common list separators.
10507 lt_save_ifs
=$IFS; IFS
=$IFS$PATH_SEPARATOR,
10508 for pkg
in $enableval; do
10510 if test "X$pkg" = "X$p"; then
10533 enable_win32_dll
=no
10536 # Check whether --enable-shared was given.
10537 if test "${enable_shared+set}" = set; then :
10538 enableval
=$enable_shared; p
=${PACKAGE-default}
10540 yes) enable_shared
=yes ;;
10541 no
) enable_shared
=no
;;
10544 # Look at the argument we got. We use all the common list separators.
10545 lt_save_ifs
=$IFS; IFS
=$IFS$PATH_SEPARATOR,
10546 for pkg
in $enableval; do
10548 if test "X$pkg" = "X$p"; then
10569 # Check whether --with-pic was given.
10570 if test "${with_pic+set}" = set; then :
10571 withval
=$with_pic; lt_p
=${PACKAGE-default}
10573 yes|no
) pic_mode
=$withval ;;
10576 # Look at the argument we got. We use all the common list separators.
10577 lt_save_ifs
=$IFS; IFS
=$IFS$PATH_SEPARATOR,
10578 for lt_pkg
in $withval; do
10580 if test "X$lt_pkg" = "X$lt_p"; then
10598 # Check whether --enable-fast-install was given.
10599 if test "${enable_fast_install+set}" = set; then :
10600 enableval
=$enable_fast_install; p
=${PACKAGE-default}
10602 yes) enable_fast_install
=yes ;;
10603 no
) enable_fast_install
=no
;;
10605 enable_fast_install
=no
10606 # Look at the argument we got. We use all the common list separators.
10607 lt_save_ifs
=$IFS; IFS
=$IFS$PATH_SEPARATOR,
10608 for pkg
in $enableval; do
10610 if test "X$pkg" = "X$p"; then
10611 enable_fast_install
=yes
10618 enable_fast_install
=yes
10628 shared_archive_member_spec
=
10629 case $host,$enable_shared in
10630 power
*-*-aix[5-9]*,yes)
10631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
10632 $as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
10634 # Check whether --with-aix-soname was given.
10635 if test "${with_aix_soname+set}" = set; then :
10636 withval
=$with_aix_soname; case $withval in
10640 as_fn_error $?
"Unknown argument to --with-aix-soname" "$LINENO" 5
10643 lt_cv_with_aix_soname
=$with_aix_soname
10645 if ${lt_cv_with_aix_soname+:} false
; then :
10646 $as_echo_n "(cached) " >&6
10648 lt_cv_with_aix_soname
=aix
10651 with_aix_soname
=$lt_cv_with_aix_soname
10654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
10655 $as_echo "$with_aix_soname" >&6; }
10656 if test aix
!= "$with_aix_soname"; then
10657 # For the AIX way of multilib, we name the shared archive member
10658 # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
10659 # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
10660 # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
10661 # the AIX toolchain works better with OBJECT_MODE set (default 32).
10662 if test 64 = "${OBJECT_MODE-32}"; then
10663 shared_archive_member_spec
=shr_64
10665 shared_archive_member_spec
=shr
10670 with_aix_soname
=aix
10683 # This can be used to rebuild libtool when needed
10684 LIBTOOL_DEPS
=$ltmain
10686 # Always use our own libtool.
10687 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
10718 test -z "$LN_S" && LN_S
="ln -s"
10733 if test -n "${ZSH_VERSION+set}"; then
10734 setopt NO_GLOB_SUBST
10737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
10738 $as_echo_n "checking for objdir... " >&6; }
10739 if ${lt_cv_objdir+:} false
; then :
10740 $as_echo_n "(cached) " >&6
10742 rm -f .libs
2>/dev
/null
10743 mkdir .libs
2>/dev
/null
10744 if test -d .libs
; then
10747 # MS-DOS does not allow filenames that begin with a dot.
10750 rmdir .libs
2>/dev
/null
10752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
10753 $as_echo "$lt_cv_objdir" >&6; }
10754 objdir
=$lt_cv_objdir
10760 cat >>confdefs.h
<<_ACEOF
10761 #define LT_OBJDIR "$lt_cv_objdir/"
10769 # AIX sometimes has problems with the GCC collect2 program. For some
10770 # reason, if we set the COLLECT_NAMES environment variable, the problems
10771 # vanish in a puff of smoke.
10772 if test set != "${COLLECT_NAMES+set}"; then
10774 export COLLECT_NAMES
10779 # Global variables:
10781 can_build_shared
=yes
10783 # All known linkers require a '.a' archive for static linking (except MSVC,
10784 # which needs '.lib').
10787 with_gnu_ld
=$lt_cv_prog_gnu_ld
10792 # Set sane defaults for various variables
10793 test -z "$CC" && CC
=cc
10794 test -z "$LTCC" && LTCC
=$CC
10795 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
10796 test -z "$LD" && LD
=ld
10797 test -z "$ac_objext" && ac_objext
=o
10799 func_cc_basename
$compiler
10800 cc_basename
=$func_cc_basename_result
10803 # Only perform the check for file, if the check method requires it
10804 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
10805 case $deplibs_check_method in
10807 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
10808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
10809 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
10810 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
10811 $as_echo_n "(cached) " >&6
10815 lt_cv_path_MAGIC_CMD
=$MAGIC_CMD # Let the user override the test with a path.
10818 lt_save_MAGIC_CMD
=$MAGIC_CMD
10819 lt_save_ifs
=$IFS; IFS
=$PATH_SEPARATOR
10820 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
10821 for ac_dir
in $ac_dummy; do
10823 test -z "$ac_dir" && ac_dir
=.
10824 if test -f "$ac_dir/${ac_tool_prefix}file"; then
10825 lt_cv_path_MAGIC_CMD
=$ac_dir/"${ac_tool_prefix}file"
10826 if test -n "$file_magic_test_file"; then
10827 case $deplibs_check_method in
10829 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
10830 MAGIC_CMD
=$lt_cv_path_MAGIC_CMD
10831 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null
|
10832 $EGREP "$file_magic_regex" > /dev
/null
; then
10837 *** Warning: the command libtool uses to detect shared libraries,
10838 *** $file_magic_cmd, produces output that libtool cannot recognize.
10839 *** The result is that libtool may fail to recognize shared libraries
10840 *** as such. This will affect the creation of libtool libraries that
10841 *** depend on shared libraries, but programs linked with such libtool
10842 *** libraries will work regardless of this problem. Nevertheless, you
10843 *** may want to report the problem to your system manager and/or to
10844 *** bug-libtool@gnu.org
10854 MAGIC_CMD
=$lt_save_MAGIC_CMD
10859 MAGIC_CMD
=$lt_cv_path_MAGIC_CMD
10860 if test -n "$MAGIC_CMD"; then
10861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
10862 $as_echo "$MAGIC_CMD" >&6; }
10864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10865 $as_echo "no" >&6; }
10872 if test -z "$lt_cv_path_MAGIC_CMD"; then
10873 if test -n "$ac_tool_prefix"; then
10874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
10875 $as_echo_n "checking for file... " >&6; }
10876 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
10877 $as_echo_n "(cached) " >&6
10881 lt_cv_path_MAGIC_CMD
=$MAGIC_CMD # Let the user override the test with a path.
10884 lt_save_MAGIC_CMD
=$MAGIC_CMD
10885 lt_save_ifs
=$IFS; IFS
=$PATH_SEPARATOR
10886 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
10887 for ac_dir
in $ac_dummy; do
10889 test -z "$ac_dir" && ac_dir
=.
10890 if test -f "$ac_dir/file"; then
10891 lt_cv_path_MAGIC_CMD
=$ac_dir/"file"
10892 if test -n "$file_magic_test_file"; then
10893 case $deplibs_check_method in
10895 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
10896 MAGIC_CMD
=$lt_cv_path_MAGIC_CMD
10897 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null
|
10898 $EGREP "$file_magic_regex" > /dev
/null
; then
10903 *** Warning: the command libtool uses to detect shared libraries,
10904 *** $file_magic_cmd, produces output that libtool cannot recognize.
10905 *** The result is that libtool may fail to recognize shared libraries
10906 *** as such. This will affect the creation of libtool libraries that
10907 *** depend on shared libraries, but programs linked with such libtool
10908 *** libraries will work regardless of this problem. Nevertheless, you
10909 *** may want to report the problem to your system manager and/or to
10910 *** bug-libtool@gnu.org
10920 MAGIC_CMD
=$lt_save_MAGIC_CMD
10925 MAGIC_CMD
=$lt_cv_path_MAGIC_CMD
10926 if test -n "$MAGIC_CMD"; then
10927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
10928 $as_echo "$MAGIC_CMD" >&6; }
10930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10931 $as_echo "no" >&6; }
10944 # Use C for the default configuration in the libtool script
10948 ac_cpp
='$CPP $CPPFLAGS'
10949 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10950 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10951 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10954 # Source file extension for C test sources.
10957 # Object file extension for compiled C test sources.
10961 # Code to be used in simple compile tests
10962 lt_simple_compile_test_code
="int some_variable = 0;"
10964 # Code to be used in simple link tests
10965 lt_simple_link_test_code
='int main(){return(0);}'
10973 # If no C compiler was specified, use CC.
10976 # If no C compiler flags were specified, use CFLAGS.
10977 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
10979 # Allow CC to be a program name with arguments.
10982 # Save the default compiler, since it gets overwritten when the other
10983 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
10984 compiler_DEFAULT
=$CC
10986 # save warnings/boilerplate of simple test code
10987 ac_outfile
=conftest.
$ac_objext
10988 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
10989 eval "$ac_compile" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
10990 _lt_compiler_boilerplate
=`cat conftest.err`
10993 ac_outfile
=conftest.
$ac_objext
10994 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
10995 eval "$ac_link" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
10996 _lt_linker_boilerplate
=`cat conftest.err`
11001 ## There is no encapsulation within the following macros, do not change
11002 ## the running order or otherwise move them around unless you know exactly
11003 ## what you are doing...
11004 if test -n "$compiler"; then
11006 lt_prog_compiler_no_builtin_flag
=
11008 if test yes = "$GCC"; then
11009 case $cc_basename in
11011 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
11013 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
11016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
11017 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
11018 if ${lt_cv_prog_compiler_rtti_exceptions+:} false
; then :
11019 $as_echo_n "(cached) " >&6
11021 lt_cv_prog_compiler_rtti_exceptions
=no
11022 ac_outfile
=conftest.
$ac_objext
11023 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
11024 lt_compiler_flag
="-fno-rtti -fno-exceptions" ## exclude from sc_useless_quotes_in_assignment
11025 # Insert the option either (1) after the last *FLAGS variable, or
11026 # (2) before a word containing "conftest.", or (3) at the end.
11027 # Note that $ac_compile itself does not contain backslashes and begins
11028 # with a dollar sign (not a hyphen), so the echo should work correctly.
11029 # The option is referenced via a variable to avoid confusing sed.
11030 lt_compile
=`echo "$ac_compile" | $SED \
11031 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11032 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11033 -e 's:$: $lt_compiler_flag:'`
11034 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
11035 (eval "$lt_compile" 2>conftest.err
)
11037 cat conftest.err
>&5
11038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11039 if (exit $ac_status) && test -s "$ac_outfile"; then
11040 # The compiler can only warn and ignore the option if not recognized
11041 # So say no if there are warnings other than the usual output.
11042 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
11043 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
11044 if test ! -s conftest.er2
|| diff conftest.exp conftest.er2
>/dev
/null
; then
11045 lt_cv_prog_compiler_rtti_exceptions
=yes
11051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
11052 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
11054 if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
11055 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
11067 lt_prog_compiler_wl
=
11068 lt_prog_compiler_pic
=
11069 lt_prog_compiler_static
=
11072 if test yes = "$GCC"; then
11073 lt_prog_compiler_wl
='-Wl,'
11074 lt_prog_compiler_static
='-static'
11078 # All AIX code is PIC.
11079 if test ia64
= "$host_cpu"; then
11080 # AIX 5 now supports IA64 processor
11081 lt_prog_compiler_static
='-Bstatic'
11083 lt_prog_compiler_pic
='-fPIC'
11089 # see comment about AmigaOS4 .so support
11090 lt_prog_compiler_pic
='-fPIC'
11093 # FIXME: we need at least 68020 code to build shared libraries, but
11094 # adding the '-m68020' flag to GCC prevents building anything better,
11096 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
11101 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
11102 # PIC is the default for these OSes.
11105 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
11106 # This hack is so that the source file can tell whether it is being
11107 # built for inclusion in a dll (and should export symbols for example).
11108 # Although the cygwin gcc ignores -fPIC, still need this for old-style
11109 # (--disable-auto-import) libraries
11110 lt_prog_compiler_pic
='-DDLL_EXPORT'
11113 lt_prog_compiler_static
='$wl-static'
11118 darwin
* | rhapsody
*)
11119 # PIC is the default on this platform
11120 # Common symbols not allowed in MH_DYLIB files
11121 lt_prog_compiler_pic
='-fno-common'
11125 # PIC is the default for Haiku.
11126 # The "-static" flag exists, but is broken.
11127 lt_prog_compiler_static
=
11131 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
11132 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
11133 # sets the default TLS model and affects inlining.
11139 lt_prog_compiler_pic
='-fPIC'
11145 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
11146 # Instead, we relocate shared libraries at runtime.
11150 # Just because we use GCC doesn't mean we suddenly get shared libraries
11151 # on systems that don't support them.
11152 lt_prog_compiler_can_build_shared
=no
11157 # QNX uses GNU C++, but need to define -shared option too, otherwise
11158 # it will coredump.
11159 lt_prog_compiler_pic
='-fPIC -shared'
11163 if test -d /usr
/nec
; then
11164 lt_prog_compiler_pic
=-Kconform_pic
11169 lt_prog_compiler_pic
='-fPIC'
11173 case $cc_basename in
11174 nvcc
*) # Cuda Compiler Driver 2.2
11175 lt_prog_compiler_wl
='-Xlinker '
11176 if test -n "$lt_prog_compiler_pic"; then
11177 lt_prog_compiler_pic
="-Xcompiler $lt_prog_compiler_pic"
11182 # PORTME Check for flag to pass linker flags through the system compiler.
11185 lt_prog_compiler_wl
='-Wl,'
11186 if test ia64
= "$host_cpu"; then
11187 # AIX 5 now supports IA64 processor
11188 lt_prog_compiler_static
='-Bstatic'
11190 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
11194 darwin
* | rhapsody
*)
11195 # PIC is the default on this platform
11196 # Common symbols not allowed in MH_DYLIB files
11197 lt_prog_compiler_pic
='-fno-common'
11198 case $cc_basename in
11200 # NAG Fortran compiler
11201 lt_prog_compiler_wl
='-Wl,-Wl,,'
11202 lt_prog_compiler_pic
='-PIC'
11203 lt_prog_compiler_static
='-Bstatic'
11208 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
11209 # This hack is so that the source file can tell whether it is being
11210 # built for inclusion in a dll (and should export symbols for example).
11211 lt_prog_compiler_pic
='-DDLL_EXPORT'
11214 lt_prog_compiler_static
='$wl-static'
11219 hpux9
* | hpux10
* | hpux11
*)
11220 lt_prog_compiler_wl
='-Wl,'
11221 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
11222 # not for PA HP-UX.
11228 lt_prog_compiler_pic
='+Z'
11231 # Is there a better lt_prog_compiler_static that works with the bundled CC?
11232 lt_prog_compiler_static
='$wl-a ${wl}archive'
11235 irix5
* | irix6
* | nonstopux
*)
11236 lt_prog_compiler_wl
='-Wl,'
11237 # PIC (with -KPIC) is the default.
11238 lt_prog_compiler_static
='-non_shared'
11241 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
11242 case $cc_basename in
11243 # old Intel for x86_64, which still supported -KPIC.
11245 lt_prog_compiler_wl
='-Wl,'
11246 lt_prog_compiler_pic
='-KPIC'
11247 lt_prog_compiler_static
='-static'
11249 # icc used to be incompatible with GCC.
11250 # ICC 10 doesn't accept -KPIC any more.
11252 lt_prog_compiler_wl
='-Wl,'
11253 lt_prog_compiler_pic
='-fPIC'
11254 lt_prog_compiler_static
='-static'
11256 # Lahey Fortran 8.1.
11258 lt_prog_compiler_wl
='-Wl,'
11259 lt_prog_compiler_pic
='--shared'
11260 lt_prog_compiler_static
='--static'
11263 # NAG Fortran compiler
11264 lt_prog_compiler_wl
='-Wl,-Wl,,'
11265 lt_prog_compiler_pic
='-PIC'
11266 lt_prog_compiler_static
='-Bstatic'
11269 # Fabrice Bellard et al's Tiny C Compiler
11270 lt_prog_compiler_wl
='-Wl,'
11271 lt_prog_compiler_pic
='-fPIC'
11272 lt_prog_compiler_static
='-static'
11274 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
11275 # Portland Group compilers (*not* the Pentium gcc compiler,
11276 # which looks to be a dead project)
11277 lt_prog_compiler_wl
='-Wl,'
11278 lt_prog_compiler_pic
='-fpic'
11279 lt_prog_compiler_static
='-Bstatic'
11282 lt_prog_compiler_wl
='-Wl,'
11283 # All Alpha code is PIC.
11284 lt_prog_compiler_static
='-non_shared'
11286 xl
* | bgxl
* | bgf
* | mpixl
*)
11287 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
11288 lt_prog_compiler_wl
='-Wl,'
11289 lt_prog_compiler_pic
='-qpic'
11290 lt_prog_compiler_static
='-qstaticlink'
11293 case `$CC -V 2>&1 | sed 5q` in
11294 *Sun\ Ceres\ Fortran
* | *Sun
*Fortran
*\
[1-7].
* | *Sun
*Fortran
*\
8.
[0-3]*)
11295 # Sun Fortran 8.3 passes all unrecognized flags to the linker
11296 lt_prog_compiler_pic
='-KPIC'
11297 lt_prog_compiler_static
='-Bstatic'
11298 lt_prog_compiler_wl
=''
11300 *Sun\ F
* | *Sun
*Fortran
*)
11301 lt_prog_compiler_pic
='-KPIC'
11302 lt_prog_compiler_static
='-Bstatic'
11303 lt_prog_compiler_wl
='-Qoption ld '
11307 lt_prog_compiler_pic
='-KPIC'
11308 lt_prog_compiler_static
='-Bstatic'
11309 lt_prog_compiler_wl
='-Wl,'
11311 *Intel
*\
[CF
]*Compiler
*)
11312 lt_prog_compiler_wl
='-Wl,'
11313 lt_prog_compiler_pic
='-fPIC'
11314 lt_prog_compiler_static
='-static'
11317 lt_prog_compiler_wl
='-Wl,'
11318 lt_prog_compiler_pic
='-fpic'
11319 lt_prog_compiler_static
='-Bstatic'
11327 lt_prog_compiler_pic
='-KPIC'
11328 lt_prog_compiler_static
='-Bstatic'
11332 # QNX uses GNU C++, but need to define -shared option too, otherwise
11333 # it will coredump.
11334 lt_prog_compiler_pic
='-fPIC -shared'
11337 osf3
* | osf4
* | osf5
*)
11338 lt_prog_compiler_wl
='-Wl,'
11339 # All OSF/1 code is PIC.
11340 lt_prog_compiler_static
='-non_shared'
11344 lt_prog_compiler_static
='-non_shared'
11348 lt_prog_compiler_pic
='-KPIC'
11349 lt_prog_compiler_static
='-Bstatic'
11350 case $cc_basename in
11351 f77
* | f90
* | f95
* | sunf77
* | sunf90
* | sunf95
*)
11352 lt_prog_compiler_wl
='-Qoption ld ';;
11354 lt_prog_compiler_wl
='-Wl,';;
11359 lt_prog_compiler_wl
='-Qoption ld '
11360 lt_prog_compiler_pic
='-PIC'
11361 lt_prog_compiler_static
='-Bstatic'
11364 sysv4
| sysv4.2uw2
* | sysv4.3
*)
11365 lt_prog_compiler_wl
='-Wl,'
11366 lt_prog_compiler_pic
='-KPIC'
11367 lt_prog_compiler_static
='-Bstatic'
11371 if test -d /usr
/nec
; then
11372 lt_prog_compiler_pic
='-Kconform_pic'
11373 lt_prog_compiler_static
='-Bstatic'
11377 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
11378 lt_prog_compiler_wl
='-Wl,'
11379 lt_prog_compiler_pic
='-KPIC'
11380 lt_prog_compiler_static
='-Bstatic'
11384 lt_prog_compiler_wl
='-Wl,'
11385 lt_prog_compiler_can_build_shared
=no
11389 lt_prog_compiler_pic
='-pic'
11390 lt_prog_compiler_static
='-Bstatic'
11394 lt_prog_compiler_can_build_shared
=no
11400 # For platforms that do not support PIC, -DPIC is meaningless:
11402 lt_prog_compiler_pic
=
11405 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
11409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
11410 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
11411 if ${lt_cv_prog_compiler_pic+:} false
; then :
11412 $as_echo_n "(cached) " >&6
11414 lt_cv_prog_compiler_pic
=$lt_prog_compiler_pic
11416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
11417 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
11418 lt_prog_compiler_pic
=$lt_cv_prog_compiler_pic
11421 # Check to make sure the PIC flag actually works.
11423 if test -n "$lt_prog_compiler_pic"; then
11424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
11425 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
11426 if ${lt_cv_prog_compiler_pic_works+:} false
; then :
11427 $as_echo_n "(cached) " >&6
11429 lt_cv_prog_compiler_pic_works
=no
11430 ac_outfile
=conftest.
$ac_objext
11431 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
11432 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC" ## exclude from sc_useless_quotes_in_assignment
11433 # Insert the option either (1) after the last *FLAGS variable, or
11434 # (2) before a word containing "conftest.", or (3) at the end.
11435 # Note that $ac_compile itself does not contain backslashes and begins
11436 # with a dollar sign (not a hyphen), so the echo should work correctly.
11437 # The option is referenced via a variable to avoid confusing sed.
11438 lt_compile
=`echo "$ac_compile" | $SED \
11439 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11440 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11441 -e 's:$: $lt_compiler_flag:'`
11442 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
11443 (eval "$lt_compile" 2>conftest.err
)
11445 cat conftest.err
>&5
11446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11447 if (exit $ac_status) && test -s "$ac_outfile"; then
11448 # The compiler can only warn and ignore the option if not recognized
11449 # So say no if there are warnings other than the usual output.
11450 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
11451 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
11452 if test ! -s conftest.er2
|| diff conftest.exp conftest.er2
>/dev
/null
; then
11453 lt_cv_prog_compiler_pic_works
=yes
11459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
11460 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
11462 if test yes = "$lt_cv_prog_compiler_pic_works"; then
11463 case $lt_prog_compiler_pic in
11465 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
11468 lt_prog_compiler_pic
=
11469 lt_prog_compiler_can_build_shared
=no
11485 # Check to make sure the static flag actually works.
11487 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
11488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
11489 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
11490 if ${lt_cv_prog_compiler_static_works+:} false
; then :
11491 $as_echo_n "(cached) " >&6
11493 lt_cv_prog_compiler_static_works
=no
11494 save_LDFLAGS
=$LDFLAGS
11495 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
11496 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
11497 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
11498 # The linker can only warn and ignore the option if not recognized
11499 # So say no if there are warnings
11500 if test -s conftest.err
; then
11501 # Append any errors to the config.log.
11502 cat conftest.err
1>&5
11503 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
11504 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
11505 if diff conftest.exp conftest.er2
>/dev
/null
; then
11506 lt_cv_prog_compiler_static_works
=yes
11509 lt_cv_prog_compiler_static_works
=yes
11513 LDFLAGS
=$save_LDFLAGS
11516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
11517 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
11519 if test yes = "$lt_cv_prog_compiler_static_works"; then
11522 lt_prog_compiler_static
=
11531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
11532 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
11533 if ${lt_cv_prog_compiler_c_o+:} false
; then :
11534 $as_echo_n "(cached) " >&6
11536 lt_cv_prog_compiler_c_o
=no
11537 $RM -r conftest
2>/dev
/null
11541 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
11543 lt_compiler_flag
="-o out/conftest2.$ac_objext"
11544 # Insert the option either (1) after the last *FLAGS variable, or
11545 # (2) before a word containing "conftest.", or (3) at the end.
11546 # Note that $ac_compile itself does not contain backslashes and begins
11547 # with a dollar sign (not a hyphen), so the echo should work correctly.
11548 lt_compile
=`echo "$ac_compile" | $SED \
11549 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11550 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11551 -e 's:$: $lt_compiler_flag:'`
11552 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
11553 (eval "$lt_compile" 2>out
/conftest.err
)
11555 cat out
/conftest.err
>&5
11556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11557 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
11559 # The compiler can only warn and ignore the option if not recognized
11560 # So say no if there are warnings
11561 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out
/conftest.exp
11562 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
11563 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
11564 lt_cv_prog_compiler_c_o
=yes
11569 # SGI C++ compiler will create directory out/ii_files/ for
11570 # template instantiation
11571 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
11572 $RM out
/* && rmdir out
11578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
11579 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
11586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
11587 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
11588 if ${lt_cv_prog_compiler_c_o+:} false
; then :
11589 $as_echo_n "(cached) " >&6
11591 lt_cv_prog_compiler_c_o
=no
11592 $RM -r conftest
2>/dev
/null
11596 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
11598 lt_compiler_flag
="-o out/conftest2.$ac_objext"
11599 # Insert the option either (1) after the last *FLAGS variable, or
11600 # (2) before a word containing "conftest.", or (3) at the end.
11601 # Note that $ac_compile itself does not contain backslashes and begins
11602 # with a dollar sign (not a hyphen), so the echo should work correctly.
11603 lt_compile
=`echo "$ac_compile" | $SED \
11604 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11605 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11606 -e 's:$: $lt_compiler_flag:'`
11607 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
11608 (eval "$lt_compile" 2>out
/conftest.err
)
11610 cat out
/conftest.err
>&5
11611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11612 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
11614 # The compiler can only warn and ignore the option if not recognized
11615 # So say no if there are warnings
11616 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out
/conftest.exp
11617 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
11618 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
11619 lt_cv_prog_compiler_c_o
=yes
11624 # SGI C++ compiler will create directory out/ii_files/ for
11625 # template instantiation
11626 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
11627 $RM out
/* && rmdir out
11633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
11634 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
11639 hard_links
=nottested
11640 if test no
= "$lt_cv_prog_compiler_c_o" && test no
!= "$need_locks"; then
11641 # do not overwrite the value of need_locks provided by the user
11642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
11643 $as_echo_n "checking if we can lock with hard links... " >&6; }
11646 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
11648 ln conftest.a conftest.b
2>&5 || hard_links
=no
11649 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
11650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
11651 $as_echo "$hard_links" >&6; }
11652 if test no
= "$hard_links"; then
11653 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
11654 $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
11666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11667 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
11670 allow_undefined_flag
=
11671 always_export_symbols
=no
11673 archive_expsym_cmds
=
11674 compiler_needs_object
=no
11675 enable_shared_with_static_runtimes
=no
11676 export_dynamic_flag_spec
=
11677 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
11678 hardcode_automatic
=no
11680 hardcode_direct_absolute
=no
11681 hardcode_libdir_flag_spec
=
11682 hardcode_libdir_separator
=
11683 hardcode_minus_L
=no
11684 hardcode_shlibpath_var
=unsupported
11686 link_all_deplibs
=unknown
11688 module_expsym_cmds
=
11689 old_archive_from_new_cmds
=
11690 old_archive_from_expsyms_cmds
=
11691 thread_safe_flag_spec
=
11692 whole_archive_flag_spec
=
11693 # include_expsyms should be a list of space-separated symbols to be *always*
11694 # included in the symbol list
11696 # exclude_expsyms can be an extended regexp of symbols to exclude
11697 # it will be wrapped by ' (' and ')$', so one must not match beginning or
11698 # end of line. Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
11699 # as well as any symbol that contains 'd'.
11700 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
11701 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
11702 # platforms (ab)use it in PIC code, but their linkers get confused if
11703 # the symbol is explicitly referenced. Since portable code cannot
11704 # rely on this symbol name, it's probably fine to never include it in
11705 # preloaded symbol tables.
11706 # Exclude shared library initialization/finalization symbols.
11707 extract_expsyms_cmds
=
11710 cygwin
* | mingw
* | pw32
* | cegcc
*)
11711 # FIXME: the MSVC++ port hasn't been tested in a loooong time
11712 # When not using gcc, we currently assume that we are using
11713 # Microsoft Visual C++.
11714 if test yes != "$GCC"; then
11719 # we just hope/assume this is gcc and not c89 (= MSVC++)
11722 openbsd
* | bitrig
*)
11729 # On some targets, GNU ld is compatible enough with the native linker
11730 # that we're better off using the native interface for both.
11731 lt_use_gnu_ld_interface
=no
11732 if test yes = "$with_gnu_ld"; then
11735 # The AIX port of GNU ld has always aspired to compatibility
11736 # with the native linker. However, as the warning in the GNU ld
11737 # block says, versions before 2.19.5* couldn't really create working
11738 # shared libraries, regardless of the interface used.
11739 case `$LD -v 2>&1` in
11740 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
11741 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
11742 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
11744 lt_use_gnu_ld_interface
=yes
11749 lt_use_gnu_ld_interface
=yes
11754 if test yes = "$lt_use_gnu_ld_interface"; then
11755 # If archive_cmds runs LD, not CC, wlarc should be empty
11758 # Set some defaults for GNU ld with shared library support. These
11759 # are reset later if shared libraries are not supported. Putting them
11760 # here allows them to be overridden if necessary.
11761 runpath_var
=LD_RUN_PATH
11762 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
11763 export_dynamic_flag_spec
='$wl--export-dynamic'
11764 # ancient GNU ld didn't support --whole-archive et. al.
11765 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev
/null
; then
11766 whole_archive_flag_spec
=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
11768 whole_archive_flag_spec
=
11770 supports_anon_versioning
=no
11771 case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
11772 *GNU\ gold
*) supports_anon_versioning
=yes ;;
11773 *\
[01].
* | *\
2.
[0-9].
* | *\
2.10.
*) ;; # catch versions < 2.11
11774 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
11775 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
11776 *\
2.11.
*) ;; # other 2.11 versions
11777 *) supports_anon_versioning
=yes ;;
11780 # See if GNU ld supports shared libraries.
11783 # On AIX/PPC, the GNU linker is very broken
11784 if test ia64
!= "$host_cpu"; then
11788 *** Warning: the GNU linker, at least up to release 2.19, is reported
11789 *** to be unable to reliably create shared libraries on AIX.
11790 *** Therefore, libtool is disabling shared libraries support. If you
11791 *** really care for shared libraries, you may want to install binutils
11792 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
11793 *** You will then need to restart the configuration process.
11802 # see comment about AmigaOS4 .so support
11803 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11804 archive_expsym_cmds
=''
11807 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)'
11808 hardcode_libdir_flag_spec
='-L$libdir'
11809 hardcode_minus_L
=yes
11815 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
11816 allow_undefined_flag
=unsupported
11817 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
11818 # support --undefined. This deserves some investigation. FIXME
11819 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11825 cygwin
* | mingw
* | pw32
* | cegcc
*)
11826 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
11827 # as there is no search path for DLLs.
11828 hardcode_libdir_flag_spec
='-L$libdir'
11829 export_dynamic_flag_spec
='$wl--export-all-symbols'
11830 allow_undefined_flag
=unsupported
11831 always_export_symbols
=no
11832 enable_shared_with_static_runtimes
=yes
11833 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'
11834 exclude_expsyms
='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
11836 if $LD --help 2>&1 | $GREP 'auto-import' > /dev
/null
; then
11837 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
11838 # If the export-symbols file already is a .def file, use it as
11839 # is; otherwise, prepend EXPORTS...
11840 archive_expsym_cmds
='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
11841 cp $export_symbols $output_objdir/$soname.def;
11843 echo EXPORTS > $output_objdir/$soname.def;
11844 cat $export_symbols >> $output_objdir/$soname.def;
11846 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
11853 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11854 link_all_deplibs
=yes
11858 hardcode_libdir_flag_spec
='-L$libdir'
11859 hardcode_minus_L
=yes
11860 allow_undefined_flag
=unsupported
11862 archive_cmds
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
11863 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
11864 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
11865 $ECHO EXPORTS >> $output_objdir/$libname.def~
11866 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
11867 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
11868 emximp -o $lib $output_objdir/$libname.def'
11869 archive_expsym_cmds
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
11870 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
11871 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
11872 $ECHO EXPORTS >> $output_objdir/$libname.def~
11873 prefix_cmds="$SED"~
11874 if test EXPORTS = "`$SED 1q $export_symbols`"; then
11875 prefix_cmds="$prefix_cmds -e 1d";
11877 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
11878 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
11879 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
11880 emximp -o $lib $output_objdir/$libname.def'
11881 old_archive_From_new_cmds
='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
11882 enable_shared_with_static_runtimes
=yes
11887 hardcode_shlibpath_var
=no
11888 hardcode_libdir_flag_spec
='$wl-rpath,$libdir'
11889 export_dynamic_flag_spec
='$wl-E'
11890 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
11891 # Instead, shared libraries are loaded at an image base (0x10000000 by
11892 # default) and relocated if they conflict, which is a slow very memory
11893 # consuming and fragmenting process. To avoid this, we pick a random,
11894 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
11895 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
11896 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
11897 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'
11900 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
11902 if test linux
-dietlibc = "$host_os"; then
11903 case $cc_basename in
11904 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
11907 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev
/null \
11908 && test no
= "$tmp_diet"
11910 tmp_addflag
=' $pic_flag'
11911 tmp_sharedflag
='-shared'
11912 case $cc_basename,$host_cpu in
11913 pgcc
*) # Portland Group C compiler
11914 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'
11915 tmp_addflag
=' $pic_flag'
11917 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
11918 # Portland Group f77 and f90 compilers
11919 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'
11920 tmp_addflag
=' $pic_flag -Mnomain' ;;
11921 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
11922 tmp_addflag
=' -i_dynamic' ;;
11923 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
11924 tmp_addflag
=' -i_dynamic -nofor_main' ;;
11925 ifc
* | ifort
*) # Intel Fortran compiler
11926 tmp_addflag
=' -nofor_main' ;;
11927 lf95
*) # Lahey Fortran 8.1
11928 whole_archive_flag_spec
=
11929 tmp_sharedflag
='--shared' ;;
11930 nagfor
*) # NAGFOR 5.3
11931 tmp_sharedflag
='-Wl,-shared' ;;
11932 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
11933 tmp_sharedflag
='-qmkshrobj'
11935 nvcc
*) # Cuda Compiler Driver 2.2
11936 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'
11937 compiler_needs_object
=yes
11940 case `$CC -V 2>&1 | sed 5q` in
11941 *Sun\ C
*) # Sun C 5.9
11942 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'
11943 compiler_needs_object
=yes
11944 tmp_sharedflag
='-G' ;;
11945 *Sun\ F
*) # Sun Fortran 8.3
11946 tmp_sharedflag
='-G' ;;
11948 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11950 if test yes = "$supports_anon_versioning"; then
11951 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
11952 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
11953 echo "local: *; };" >> $output_objdir/$libname.ver~
11954 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
11957 case $cc_basename in
11959 export_dynamic_flag_spec
='-rdynamic'
11961 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
11962 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
11963 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
11964 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
11965 archive_cmds
='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
11966 if test yes = "$supports_anon_versioning"; then
11967 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
11968 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
11969 echo "local: *; };" >> $output_objdir/$libname.ver~
11970 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
11980 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
11981 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
11984 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11985 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
11990 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev
/null
; then
11994 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
11995 *** create shared libraries on Solaris systems. Therefore, libtool
11996 *** is disabling shared libraries support. We urge you to upgrade GNU
11997 *** binutils to release 2.9.1 or newer. Another option is to modify
11998 *** your PATH or compiler configuration so that the native linker is
11999 *** used, and then restart.
12002 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
12003 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
12004 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
12010 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
12011 case `$LD -v 2>&1` in
12012 *\
[01].
* | *\
2.
[0-9].
* | *\
2.1[0-5].
*)
12016 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
12017 *** reliably create shared libraries on SCO systems. Therefore, libtool
12018 *** is disabling shared libraries support. We urge you to upgrade GNU
12019 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
12020 *** your PATH or compiler configuration so that the native linker is
12021 *** used, and then restart.
12026 # For security reasons, it is highly recommended that you always
12027 # use absolute paths for naming shared libraries, and exclude the
12028 # DT_RUNPATH tag from executables and libraries. But doing so
12029 # requires that you compile everything twice, which is a pain.
12030 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
12031 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
12032 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
12033 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
12042 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
12044 hardcode_direct
=yes
12045 hardcode_shlibpath_var
=no
12049 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
12050 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
12051 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
12058 if test no
= "$ld_shlibs"; then
12060 hardcode_libdir_flag_spec
=
12061 export_dynamic_flag_spec
=
12062 whole_archive_flag_spec
=
12065 # PORTME fill in a description of your system's linker (not GNU ld)
12068 allow_undefined_flag
=unsupported
12069 always_export_symbols
=yes
12070 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'
12071 # Note: this linker hardcodes the directories in LIBPATH if there
12072 # are no directories specified by -L.
12073 hardcode_minus_L
=yes
12074 if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
12075 # Neither direct hardcoding nor static linking is supported with a
12077 hardcode_direct
=unsupported
12082 if test ia64
= "$host_cpu"; then
12083 # On IA64, the linker does run time linking by default, so we don't
12084 # have to do anything special.
12085 aix_use_runtimelinking
=no
12086 exp_sym_flag
='-Bexport'
12089 # If we're using GNU nm, then we don't want the "-C" option.
12090 # -C means demangle to GNU nm, but means don't demangle to AIX nm.
12091 # Without the "-l" option, or with the "-B" option, AIX nm treats
12092 # weak defined symbols like other global defined symbols, whereas
12093 # GNU nm marks them as "W".
12094 # While the 'weak' keyword is ignored in the Export File, we need
12095 # it in the Import File for the 'aix-soname' feature, so we have
12096 # to replace the "-B" option with "-P" for AIX nm.
12097 if $NM -V 2>&1 | $GREP 'GNU' > /dev
/null
; then
12098 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'
12100 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'
12102 aix_use_runtimelinking
=no
12104 # Test if we are trying to use run time linking or normal
12105 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12106 # have runtime linking enabled, and use it for executables.
12107 # For shared libraries, we enable/disable runtime linking
12108 # depending on the kind of the shared library created -
12109 # when "with_aix_soname,aix_use_runtimelinking" is:
12110 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables
12111 # "aix,yes" lib.so shared, rtl:yes, for executables
12112 # lib.a static archive
12113 # "both,no" lib.so.V(shr.o) shared, rtl:yes
12114 # lib.a(lib.so.V) shared, rtl:no, for executables
12115 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
12116 # lib.a(lib.so.V) shared, rtl:no
12117 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables
12118 # lib.a static archive
12119 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
12120 for ld_flag
in $LDFLAGS; do
12121 if (test x
-brtl = "x$ld_flag" || test x
-Wl,-brtl = "x$ld_flag"); then
12122 aix_use_runtimelinking
=yes
12126 if test svr4
,no
= "$with_aix_soname,$aix_use_runtimelinking"; then
12127 # With aix-soname=svr4, we create the lib.so.V shared archives only,
12128 # so we don't have lib.a shared libs to link our executables.
12129 # We have to force runtime linking in this case.
12130 aix_use_runtimelinking
=yes
12131 LDFLAGS
="$LDFLAGS -Wl,-brtl"
12136 exp_sym_flag
='-bexport'
12137 no_entry_flag
='-bnoentry'
12140 # When large executables or shared objects are built, AIX ld can
12141 # have problems creating the table of contents. If linking a library
12142 # or program results in "error TOC overflow" add -mminimal-toc to
12143 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12144 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12147 hardcode_direct
=yes
12148 hardcode_direct_absolute
=yes
12149 hardcode_libdir_separator
=':'
12150 link_all_deplibs
=yes
12151 file_list_spec
='$wl-f,'
12152 case $with_aix_soname,$aix_use_runtimelinking in
12153 aix
,*) ;; # traditional, no import file
12154 svr4
,* | *,yes) # use import file
12155 # The Import File defines what to hardcode.
12157 hardcode_direct_absolute
=no
12161 if test yes = "$GCC"; then
12162 case $host_os in aix4.
[012]|aix4.
[012].
*)
12163 # We only want to do this on AIX 4.2 and lower, the check
12164 # below for broken collect2 doesn't work under 4.3+
12165 collect2name
=`$CC -print-prog-name=collect2`
12166 if test -f "$collect2name" &&
12167 strings "$collect2name" | $GREP resolve_lib_name
>/dev
/null
12169 # We have reworked collect2
12172 # We have old collect2
12173 hardcode_direct
=unsupported
12174 # It fails to find uninstalled libraries when the uninstalled
12175 # path is not listed in the libpath. Setting hardcode_minus_L
12176 # to unsupported forces relinking
12177 hardcode_minus_L
=yes
12178 hardcode_libdir_flag_spec
='-L$libdir'
12179 hardcode_libdir_separator
=
12183 shared_flag
='-shared'
12184 if test yes = "$aix_use_runtimelinking"; then
12185 shared_flag
="$shared_flag "'$wl-G'
12187 # Need to ensure runtime linking is disabled for the traditional
12188 # shared library, or the linker may eventually find shared libraries
12189 # /with/ Import File - we do not want to mix them.
12190 shared_flag_aix
='-shared'
12191 shared_flag_svr4
='-shared $wl-G'
12194 if test ia64
= "$host_cpu"; then
12195 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12196 # chokes on -Wl,-G. The following line is correct:
12199 if test yes = "$aix_use_runtimelinking"; then
12200 shared_flag
='$wl-G'
12202 shared_flag
='$wl-bM:SRE'
12204 shared_flag_aix
='$wl-bM:SRE'
12205 shared_flag_svr4
='$wl-G'
12209 export_dynamic_flag_spec
='$wl-bexpall'
12210 # It seems that -bexpall does not export symbols beginning with
12211 # underscore (_), so it is better to generate a list of symbols to export.
12212 always_export_symbols
=yes
12213 if test aix
,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
12214 # Warning - without using the other runtime loading flags (-brtl),
12215 # -berok will link without error, but may produce a broken library.
12216 allow_undefined_flag
='-berok'
12217 # Determine the default libpath from the value encoded in an
12218 # empty executable.
12219 if test set = "${lt_cv_aix_libpath+set}"; then
12220 aix_libpath
=$lt_cv_aix_libpath
12222 if ${lt_cv_aix_libpath_+:} false
; then :
12223 $as_echo_n "(cached) " >&6
12225 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12226 /* end confdefs.h. */
12236 if ac_fn_c_try_link
"$LINENO"; then :
12238 lt_aix_libpath_sed
='
12239 /Import File Strings/,/^$/ {
12241 s/^0 *\([^ ]*\) *$/\1/
12245 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12246 # Check for a 64-bit object if we didn't find anything.
12247 if test -z "$lt_cv_aix_libpath_"; then
12248 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12251 rm -f core conftest.err conftest.
$ac_objext \
12252 conftest
$ac_exeext conftest.
$ac_ext
12253 if test -z "$lt_cv_aix_libpath_"; then
12254 lt_cv_aix_libpath_
=/usr
/lib
:/lib
12259 aix_libpath
=$lt_cv_aix_libpath_
12262 hardcode_libdir_flag_spec
='$wl-blibpath:$libdir:'"$aix_libpath"
12263 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
12265 if test ia64
= "$host_cpu"; then
12266 hardcode_libdir_flag_spec
='$wl-R $libdir:/usr/lib:/lib'
12267 allow_undefined_flag
="-z nodefs"
12268 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"
12270 # Determine the default libpath from the value encoded in an
12271 # empty executable.
12272 if test set = "${lt_cv_aix_libpath+set}"; then
12273 aix_libpath
=$lt_cv_aix_libpath
12275 if ${lt_cv_aix_libpath_+:} false
; then :
12276 $as_echo_n "(cached) " >&6
12278 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12279 /* end confdefs.h. */
12289 if ac_fn_c_try_link
"$LINENO"; then :
12291 lt_aix_libpath_sed
='
12292 /Import File Strings/,/^$/ {
12294 s/^0 *\([^ ]*\) *$/\1/
12298 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12299 # Check for a 64-bit object if we didn't find anything.
12300 if test -z "$lt_cv_aix_libpath_"; then
12301 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12304 rm -f core conftest.err conftest.
$ac_objext \
12305 conftest
$ac_exeext conftest.
$ac_ext
12306 if test -z "$lt_cv_aix_libpath_"; then
12307 lt_cv_aix_libpath_
=/usr
/lib
:/lib
12312 aix_libpath
=$lt_cv_aix_libpath_
12315 hardcode_libdir_flag_spec
='$wl-blibpath:$libdir:'"$aix_libpath"
12316 # Warning - without using the other run time loading flags,
12317 # -berok will link without error, but may produce a broken library.
12318 no_undefined_flag
=' $wl-bernotok'
12319 allow_undefined_flag
=' $wl-berok'
12320 if test yes = "$with_gnu_ld"; then
12321 # We only use this code for GNU lds that support --whole-archive.
12322 whole_archive_flag_spec
='$wl--whole-archive$convenience $wl--no-whole-archive'
12324 # Exported symbols can be pulled into shared objects from archives
12325 whole_archive_flag_spec
='$convenience'
12327 archive_cmds_need_lc
=yes
12328 archive_expsym_cmds
='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
12329 # -brtl affects multiple linker settings, -berok does not and is overridden later
12330 compiler_flags_filtered
='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
12331 if test svr4
!= "$with_aix_soname"; then
12332 # This is similar to how AIX traditionally builds its shared libraries.
12333 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'
12335 if test aix
!= "$with_aix_soname"; then
12336 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'
12338 # used by -dlpreopen to get the symbols
12339 archive_expsym_cmds
="$archive_expsym_cmds"'~$MV $output_objdir/$realname.d/$soname $output_objdir'
12341 archive_expsym_cmds
="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
12349 # see comment about AmigaOS4 .so support
12350 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
12351 archive_expsym_cmds
=''
12354 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)'
12355 hardcode_libdir_flag_spec
='-L$libdir'
12356 hardcode_minus_L
=yes
12362 export_dynamic_flag_spec
=-rdynamic
12365 cygwin
* | mingw
* | pw32
* | cegcc
*)
12366 # When not using gcc, we currently assume that we are using
12367 # Microsoft Visual C++.
12368 # hardcode_libdir_flag_spec is actually meaningless, as there is
12369 # no search path for DLLs.
12370 case $cc_basename in
12373 hardcode_libdir_flag_spec
=' '
12374 allow_undefined_flag
=unsupported
12375 always_export_symbols
=yes
12377 # Tell ltmain to make .lib files, not .a files.
12379 # Tell ltmain to make .dll files, not .so files.
12381 # FIXME: Setting linknames here is a bad hack.
12382 archive_cmds
='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
12383 archive_expsym_cmds
='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
12384 cp "$export_symbols" "$output_objdir/$soname.def";
12385 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
12387 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
12389 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
12391 # The linker will not automatically build a static lib if we build a DLL.
12392 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
12393 enable_shared_with_static_runtimes
=yes
12394 exclude_expsyms
='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
12395 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
12397 old_postinstall_cmds
='chmod 644 $oldlib'
12398 postlink_cmds
='lt_outputfile="@OUTPUT@"~
12399 lt_tool_outputfile="@TOOL_OUTPUT@"~
12400 case $lt_outputfile in
12403 lt_outputfile=$lt_outputfile.exe
12404 lt_tool_outputfile=$lt_tool_outputfile.exe
12407 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
12408 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
12409 $RM "$lt_outputfile.manifest";
12413 # Assume MSVC wrapper
12414 hardcode_libdir_flag_spec
=' '
12415 allow_undefined_flag
=unsupported
12416 # Tell ltmain to make .lib files, not .a files.
12418 # Tell ltmain to make .dll files, not .so files.
12420 # FIXME: Setting linknames here is a bad hack.
12421 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
12422 # The linker will automatically build a .lib file if we build a DLL.
12423 old_archive_from_new_cmds
='true'
12424 # FIXME: Should let the user specify the lib program.
12425 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
12426 enable_shared_with_static_runtimes
=yes
12431 darwin
* | rhapsody
*)
12434 archive_cmds_need_lc
=no
12436 hardcode_automatic
=yes
12437 hardcode_shlibpath_var
=unsupported
12438 if test yes = "$lt_cv_ld_force_load"; then
12439 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\"`'
12442 whole_archive_flag_spec
=''
12444 link_all_deplibs
=yes
12445 allow_undefined_flag
=$_lt_dar_allow_undefined
12446 case $cc_basename in
12447 ifort
*|nagfor
*) _lt_dar_can_shared
=yes ;;
12448 *) _lt_dar_can_shared
=$GCC ;;
12450 if test yes = "$_lt_dar_can_shared"; then
12451 output_verbose_link_cmd
=func_echo_all
12452 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
12453 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
12454 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"
12455 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"
12464 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12465 hardcode_libdir_flag_spec
='-L$libdir'
12466 hardcode_shlibpath_var
=no
12469 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
12470 # support. Future versions do this automatically, but an explicit c++rt0.o
12471 # does not break anything, and helps significantly (at the cost of a little
12474 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
12475 hardcode_libdir_flag_spec
='-R$libdir'
12476 hardcode_direct
=yes
12477 hardcode_shlibpath_var
=no
12480 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
12482 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
12483 hardcode_direct
=yes
12484 hardcode_minus_L
=yes
12485 hardcode_shlibpath_var
=no
12488 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
12489 freebsd
* | dragonfly
*)
12490 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
12491 hardcode_libdir_flag_spec
='-R$libdir'
12492 hardcode_direct
=yes
12493 hardcode_shlibpath_var
=no
12497 if test yes = "$GCC"; then
12498 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'
12500 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'
12502 hardcode_libdir_flag_spec
='$wl+b $wl$libdir'
12503 hardcode_libdir_separator
=:
12504 hardcode_direct
=yes
12506 # hardcode_minus_L: Not really in the search PATH,
12507 # but as the default location of the library.
12508 hardcode_minus_L
=yes
12509 export_dynamic_flag_spec
='$wl-E'
12513 if test yes,no
= "$GCC,$with_gnu_ld"; then
12514 archive_cmds
='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12516 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
12518 if test no
= "$with_gnu_ld"; then
12519 hardcode_libdir_flag_spec
='$wl+b $wl$libdir'
12520 hardcode_libdir_separator
=:
12521 hardcode_direct
=yes
12522 hardcode_direct_absolute
=yes
12523 export_dynamic_flag_spec
='$wl-E'
12524 # hardcode_minus_L: Not really in the search PATH,
12525 # but as the default location of the library.
12526 hardcode_minus_L
=yes
12531 if test yes,no
= "$GCC,$with_gnu_ld"; then
12534 archive_cmds
='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
12537 archive_cmds
='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
12540 archive_cmds
='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12546 archive_cmds
='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
12549 archive_cmds
='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
12553 # Older versions of the 11.00 compiler do not understand -b yet
12554 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
12555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
12556 $as_echo_n "checking if $CC understands -b... " >&6; }
12557 if ${lt_cv_prog_compiler__b+:} false
; then :
12558 $as_echo_n "(cached) " >&6
12560 lt_cv_prog_compiler__b
=no
12561 save_LDFLAGS
=$LDFLAGS
12562 LDFLAGS
="$LDFLAGS -b"
12563 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
12564 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
12565 # The linker can only warn and ignore the option if not recognized
12566 # So say no if there are warnings
12567 if test -s conftest.err
; then
12568 # Append any errors to the config.log.
12569 cat conftest.err
1>&5
12570 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
12571 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
12572 if diff conftest.exp conftest.er2
>/dev
/null
; then
12573 lt_cv_prog_compiler__b
=yes
12576 lt_cv_prog_compiler__b
=yes
12580 LDFLAGS
=$save_LDFLAGS
12583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
12584 $as_echo "$lt_cv_prog_compiler__b" >&6; }
12586 if test yes = "$lt_cv_prog_compiler__b"; then
12587 archive_cmds
='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12589 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
12595 if test no
= "$with_gnu_ld"; then
12596 hardcode_libdir_flag_spec
='$wl+b $wl$libdir'
12597 hardcode_libdir_separator
=:
12602 hardcode_shlibpath_var
=no
12605 hardcode_direct
=yes
12606 hardcode_direct_absolute
=yes
12607 export_dynamic_flag_spec
='$wl-E'
12609 # hardcode_minus_L: Not really in the search PATH,
12610 # but as the default location of the library.
12611 hardcode_minus_L
=yes
12617 irix5
* | irix6
* | nonstopux
*)
12618 if test yes = "$GCC"; then
12619 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'
12620 # Try to use the -exported_symbol ld option, if it does not
12621 # work, assume that -exports_file does not work either and
12622 # implicitly export all symbols.
12623 # This should be the same for all languages, so no per-tag cache variable.
12624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
12625 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
12626 if ${lt_cv_irix_exported_symbol+:} false
; then :
12627 $as_echo_n "(cached) " >&6
12629 save_LDFLAGS
=$LDFLAGS
12630 LDFLAGS
="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
12631 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12632 /* end confdefs.h. */
12633 int foo (void) { return 0; }
12635 if ac_fn_c_try_link
"$LINENO"; then :
12636 lt_cv_irix_exported_symbol
=yes
12638 lt_cv_irix_exported_symbol
=no
12640 rm -f core conftest.err conftest.
$ac_objext \
12641 conftest
$ac_exeext conftest.
$ac_ext
12642 LDFLAGS
=$save_LDFLAGS
12644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
12645 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
12646 if test yes = "$lt_cv_irix_exported_symbol"; then
12647 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'
12650 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'
12651 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'
12653 archive_cmds_need_lc
='no'
12654 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
12655 hardcode_libdir_separator
=:
12657 link_all_deplibs
=yes
12661 case $cc_basename in
12663 # Fabrice Bellard et al's Tiny C Compiler
12665 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
12671 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
12672 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
12674 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
12676 hardcode_libdir_flag_spec
='-R$libdir'
12677 hardcode_direct
=yes
12678 hardcode_shlibpath_var
=no
12682 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12683 hardcode_direct
=yes
12684 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
12685 hardcode_libdir_separator
=:
12686 hardcode_shlibpath_var
=no
12692 openbsd
* | bitrig
*)
12693 if test -f /usr
/libexec
/ld.so
; then
12694 hardcode_direct
=yes
12695 hardcode_shlibpath_var
=no
12696 hardcode_direct_absolute
=yes
12697 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
12698 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
12699 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
12700 hardcode_libdir_flag_spec
='$wl-rpath,$libdir'
12701 export_dynamic_flag_spec
='$wl-E'
12703 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
12704 hardcode_libdir_flag_spec
='$wl-rpath,$libdir'
12712 hardcode_libdir_flag_spec
='-L$libdir'
12713 hardcode_minus_L
=yes
12714 allow_undefined_flag
=unsupported
12716 archive_cmds
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
12717 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
12718 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
12719 $ECHO EXPORTS >> $output_objdir/$libname.def~
12720 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
12721 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
12722 emximp -o $lib $output_objdir/$libname.def'
12723 archive_expsym_cmds
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
12724 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
12725 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
12726 $ECHO EXPORTS >> $output_objdir/$libname.def~
12727 prefix_cmds="$SED"~
12728 if test EXPORTS = "`$SED 1q $export_symbols`"; then
12729 prefix_cmds="$prefix_cmds -e 1d";
12731 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
12732 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
12733 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
12734 emximp -o $lib $output_objdir/$libname.def'
12735 old_archive_From_new_cmds
='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
12736 enable_shared_with_static_runtimes
=yes
12740 if test yes = "$GCC"; then
12741 allow_undefined_flag
=' $wl-expect_unresolved $wl\*'
12742 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'
12744 allow_undefined_flag
=' -expect_unresolved \*'
12745 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'
12747 archive_cmds_need_lc
='no'
12748 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
12749 hardcode_libdir_separator
=:
12752 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
12753 if test yes = "$GCC"; then
12754 allow_undefined_flag
=' $wl-expect_unresolved $wl\*'
12755 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'
12756 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
12758 allow_undefined_flag
=' -expect_unresolved \*'
12759 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'
12760 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~
12761 $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'
12763 # Both c and cxx compiler support -rpath directly
12764 hardcode_libdir_flag_spec
='-rpath $libdir'
12766 archive_cmds_need_lc
='no'
12767 hardcode_libdir_separator
=:
12771 no_undefined_flag
=' -z defs'
12772 if test yes = "$GCC"; then
12774 archive_cmds
='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
12775 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12776 $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'
12778 case `$CC -V 2>&1` in
12781 archive_cmds
='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
12782 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12783 $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
12787 archive_cmds
='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
12788 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12789 $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
12793 hardcode_libdir_flag_spec
='-R$libdir'
12794 hardcode_shlibpath_var
=no
12796 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
12798 # The compiler driver will combine and reorder linker options,
12799 # but understands '-z linker_flag'. GCC discards it without '$wl',
12800 # but is careful enough not to reorder.
12801 # Supported since Solaris 2.6 (maybe 2.5.1?)
12802 if test yes = "$GCC"; then
12803 whole_archive_flag_spec
='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
12805 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
12809 link_all_deplibs
=yes
12813 if test sequent
= "$host_vendor"; then
12814 # Use $CC to link under sequent, because it throws in some extra .o
12815 # files that make .init and .fini sections work.
12816 archive_cmds
='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
12818 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
12820 hardcode_libdir_flag_spec
='-L$libdir'
12821 hardcode_direct
=yes
12822 hardcode_minus_L
=yes
12823 hardcode_shlibpath_var
=no
12827 case $host_vendor in
12829 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12830 hardcode_direct
=yes # is this really true???
12833 ## LD is ld it makes a PLAMLIB
12834 ## CC just makes a GrossModule.
12835 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
12836 reload_cmds
='$CC -r -o $output$reload_objs'
12840 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12841 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
12844 runpath_var
='LD_RUN_PATH'
12845 hardcode_shlibpath_var
=no
12849 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12850 hardcode_shlibpath_var
=no
12851 export_dynamic_flag_spec
='-Bexport'
12855 if test -d /usr
/nec
; then
12856 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12857 hardcode_shlibpath_var
=no
12858 runpath_var
=LD_RUN_PATH
12859 hardcode_runpath_var
=yes
12864 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
12865 no_undefined_flag
='$wl-z,text'
12866 archive_cmds_need_lc
=no
12867 hardcode_shlibpath_var
=no
12868 runpath_var
='LD_RUN_PATH'
12870 if test yes = "$GCC"; then
12871 archive_cmds
='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12872 archive_expsym_cmds
='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12874 archive_cmds
='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12875 archive_expsym_cmds
='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12879 sysv5
* | sco3.2v5
* | sco5v6
*)
12880 # Note: We CANNOT use -z defs as we might desire, because we do not
12881 # link with -lc, and that would cause any symbols used from libc to
12882 # always be unresolved, which means just about no library would
12883 # ever link correctly. If we're not using GNU ld we use -z text
12884 # though, which does catch some bad symbols but isn't as heavy-handed
12886 no_undefined_flag
='$wl-z,text'
12887 allow_undefined_flag
='$wl-z,nodefs'
12888 archive_cmds_need_lc
=no
12889 hardcode_shlibpath_var
=no
12890 hardcode_libdir_flag_spec
='$wl-R,$libdir'
12891 hardcode_libdir_separator
=':'
12892 link_all_deplibs
=yes
12893 export_dynamic_flag_spec
='$wl-Bexport'
12894 runpath_var
='LD_RUN_PATH'
12896 if test yes = "$GCC"; then
12897 archive_cmds
='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12898 archive_expsym_cmds
='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12900 archive_cmds
='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12901 archive_expsym_cmds
='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12906 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12907 hardcode_libdir_flag_spec
='-L$libdir'
12908 hardcode_shlibpath_var
=no
12916 if test sni
= "$host_vendor"; then
12918 sysv4
| sysv4.2uw2
* | sysv4.3
* | sysv5
*)
12919 export_dynamic_flag_spec
='$wl-Blargedynsym'
12925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
12926 $as_echo "$ld_shlibs" >&6; }
12927 test no
= "$ld_shlibs" && can_build_shared
=no
12929 with_gnu_ld
=$with_gnu_ld
12946 # Do we need to explicitly link libc?
12948 case "x$archive_cmds_need_lc" in
12950 # Assume -lc should be added
12951 archive_cmds_need_lc
=yes
12953 if test yes,yes = "$GCC,$enable_shared"; then
12954 case $archive_cmds in
12956 # FIXME: we may have to deal with multi-command sequences.
12959 # Test whether the compiler implicitly links with -lc since on some
12960 # systems, -lgcc has to come before -lc. If gcc already passes -lc
12961 # to ld, don't add -lc before -lgcc.
12962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
12963 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
12964 if ${lt_cv_archive_cmds_need_lc+:} false
; then :
12965 $as_echo_n "(cached) " >&6
12968 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
12970 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
12971 (eval $ac_compile) 2>&5
12973 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12974 test $ac_status = 0; } 2>conftest.err
; then
12977 libobjs
=conftest.
$ac_objext
12979 wl
=$lt_prog_compiler_wl
12980 pic_flag
=$lt_prog_compiler_pic
12986 lt_save_allow_undefined_flag
=$allow_undefined_flag
12987 allow_undefined_flag
=
12988 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
12989 (eval $archive_cmds 2\
>\
&1 \
| $GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
12991 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12992 test $ac_status = 0; }
12994 lt_cv_archive_cmds_need_lc
=no
12996 lt_cv_archive_cmds_need_lc
=yes
12998 allow_undefined_flag
=$lt_save_allow_undefined_flag
13000 cat conftest.err
1>&5
13005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
13006 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
13007 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
13165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
13166 $as_echo_n "checking dynamic linker characteristics... " >&6; }
13168 if test yes = "$GCC"; then
13170 darwin
*) lt_awk_arg
='/^libraries:/,/LR/' ;;
13171 *) lt_awk_arg
='/^libraries:/' ;;
13174 mingw
* | cegcc
*) lt_sed_strip_eq
='s|=\([A-Za-z]:\)|\1|g' ;;
13175 *) lt_sed_strip_eq
='s|=/|/|g' ;;
13177 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
13178 case $lt_search_path_spec in
13180 # if the path contains ";" then we assume it to be the separator
13181 # otherwise default to the standard path separator (i.e. ":") - it is
13182 # assumed that no part of a normal pathname contains ";" but that should
13183 # okay in the real world where ";" in dirpaths is itself problematic.
13184 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
13187 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
13190 # Ok, now we have the path, separated by spaces, we can step through it
13191 # and add multilib dir if necessary...
13192 lt_tmp_lt_search_path_spec
=
13193 lt_multi_os_dir
=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
13194 # ...but if some path component already ends with the multilib dir we assume
13195 # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
13196 case "$lt_multi_os_dir; $lt_search_path_spec " in
13197 "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
13201 for lt_sys_path
in $lt_search_path_spec; do
13202 if test -d "$lt_sys_path$lt_multi_os_dir"; then
13203 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
13204 elif test -n "$lt_multi_os_dir"; then
13205 test -d "$lt_sys_path" && \
13206 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
13209 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
13210 BEGIN {RS = " "; FS = "/|\n";} {
13213 for (lt_i = NF; lt_i > 0; lt_i--) {
13214 if ($lt_i != "" && $lt_i != ".") {
13215 if ($lt_i == "..") {
13218 if (lt_count == 0) {
13219 lt_foo = "/" $lt_i lt_foo;
13226 if (lt_foo != "") { lt_freq[lt_foo]++; }
13227 if (lt_freq[lt_foo] == 1) { print lt_foo; }
13229 # AWK program above erroneously prepends '/' to C:/dos/paths
13232 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
13233 $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
13235 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
13237 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
13239 library_names_spec
=
13240 libname_spec
='lib$name'
13244 postuninstall_cmds
=
13248 shlibpath_overrides_runpath
=unknown
13250 dynamic_linker
="$host_os ld.so"
13251 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
13252 need_lib_prefix
=unknown
13253 hardcode_into_libs
=no
13255 # when you set need_version to no, make sure it does not cause -set_version
13256 # flags to be left without arguments
13257 need_version
=unknown
13263 version_type
=linux
# correct to gnu/linux during the next big refactor
13264 library_names_spec
='$libname$release$shared_ext$versuffix $libname.a'
13265 shlibpath_var
=LIBPATH
13267 # AIX 3 has no versioning support, so we append a major version to the name.
13268 soname_spec
='$libname$release$shared_ext$major'
13272 version_type
=linux
# correct to gnu/linux during the next big refactor
13275 hardcode_into_libs
=yes
13276 if test ia64
= "$host_cpu"; then
13277 # AIX 5 supports IA64
13278 library_names_spec
='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
13279 shlibpath_var
=LD_LIBRARY_PATH
13281 # With GCC up to 2.95.x, collect2 would create an import file
13282 # for dependence libraries. The import file would start with
13283 # the line '#! .'. This would cause the generated library to
13284 # depend on '.', always an invalid library. This was fixed in
13285 # development snapshots of GCC prior to 3.0.
13287 aix4
| aix4.
[01] | aix4.
[01].
*)
13288 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
13290 echo '#endif'; } | $CC -E - | $GREP yes > /dev
/null
; then
13293 can_build_shared
=no
13297 # Using Import Files as archive members, it is possible to support
13298 # filename-based versioning of shared library archives on AIX. While
13299 # this would work for both with and without runtime linking, it will
13300 # prevent static linking of such archives. So we do filename-based
13301 # shared library versioning with .so extension only, which is used
13302 # when both runtime linking and shared linking is enabled.
13303 # Unfortunately, runtime linking may impact performance, so we do
13304 # not want this to be the default eventually. Also, we use the
13305 # versioned .so libs for executables only if there is the -brtl
13306 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
13307 # To allow for filename-based versioning support, we need to create
13308 # libNAME.so.V as an archive file, containing:
13309 # *) an Import File, referring to the versioned filename of the
13310 # archive as well as the shared archive member, telling the
13311 # bitwidth (32 or 64) of that shared object, and providing the
13312 # list of exported symbols of that shared object, eventually
13313 # decorated with the 'weak' keyword
13314 # *) the shared object with the F_LOADONLY flag set, to really avoid
13315 # it being seen by the linker.
13316 # At run time we better use the real file rather than another symlink,
13317 # but for link time we create the symlink libNAME.so -> libNAME.so.V
13319 case $with_aix_soname,$aix_use_runtimelinking in
13320 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
13321 # soname into executable. Probably we can add versioning support to
13322 # collect2, so additional links can be useful in future.
13323 aix
,yes) # traditional libtool
13324 dynamic_linker
='AIX unversionable lib.so'
13325 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
13326 # instead of lib<name>.a to let people know that these are not
13327 # typical AIX shared libraries.
13328 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13330 aix
,no
) # traditional AIX only
13331 dynamic_linker
='AIX lib.a(lib.so.V)'
13332 # We preserve .a as extension for shared libraries through AIX4.2
13333 # and later when we are not doing run time linking.
13334 library_names_spec
='$libname$release.a $libname.a'
13335 soname_spec
='$libname$release$shared_ext$major'
13337 svr4
,*) # full svr4 only
13338 dynamic_linker
="AIX lib.so.V($shared_archive_member_spec.o)"
13339 library_names_spec
='$libname$release$shared_ext$major $libname$shared_ext'
13340 # We do not specify a path in Import Files, so LIBPATH fires.
13341 shlibpath_overrides_runpath
=yes
13343 *,yes) # both, prefer svr4
13344 dynamic_linker
="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
13345 library_names_spec
='$libname$release$shared_ext$major $libname$shared_ext'
13346 # unpreferred sharedlib libNAME.a needs extra handling
13347 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"'
13348 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"'
13349 # We do not specify a path in Import Files, so LIBPATH fires.
13350 shlibpath_overrides_runpath
=yes
13352 *,no
) # both, prefer aix
13353 dynamic_linker
="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
13354 library_names_spec
='$libname$release.a $libname.a'
13355 soname_spec
='$libname$release$shared_ext$major'
13356 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
13357 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)'
13358 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"'
13361 shlibpath_var
=LIBPATH
13368 # Since July 2007 AmigaOS4 officially supports .so libraries.
13369 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
13370 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13373 library_names_spec
='$libname.ixlibrary $libname.a'
13374 # Create ${libname}_ixlibrary.a entries in /sys/libs.
13375 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'
13381 library_names_spec
='$libname$shared_ext'
13382 dynamic_linker
="$host_os ld.so"
13383 shlibpath_var
=LIBRARY_PATH
13387 version_type
=linux
# correct to gnu/linux during the next big refactor
13389 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13390 soname_spec
='$libname$release$shared_ext$major'
13391 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
13392 shlibpath_var
=LD_LIBRARY_PATH
13393 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
13394 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
13395 # the default ld.so.conf also contains /usr/contrib/lib and
13396 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
13397 # libtool to hard-code these into programs
13400 cygwin
* | mingw
* | pw32
* | cegcc
*)
13401 version_type
=windows
13406 case $GCC,$cc_basename in
13409 library_names_spec
='$libname.dll.a'
13410 # DLL is installed to $(libdir)/../bin by postinstall_cmds
13411 postinstall_cmds
='base_file=`basename \$file`~
13412 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
13413 dldir=$destdir/`dirname \$dlpath`~
13414 test -d \$dldir || mkdir -p \$dldir~
13415 $install_prog $dir/$dlname \$dldir/$dlname~
13416 chmod a+x \$dldir/$dlname~
13417 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
13418 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
13420 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
13421 dlpath=$dir/\$dldll~
13423 shlibpath_overrides_runpath
=yes
13427 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
13428 soname_spec
='`echo $libname | sed -e 's
/^lib
/cyg
/'``echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
13430 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
13433 # MinGW DLLs use traditional 'lib' prefix
13434 soname_spec
='$libname`echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
13437 # pw32 DLLs use 'pw' prefix rather than 'lib'
13438 library_names_spec
='`echo $libname | sed -e 's
/^lib
/pw
/'``echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
13441 dynamic_linker
='Win32 ld.exe'
13446 libname_spec
='$name'
13447 soname_spec
='$libname`echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
13448 library_names_spec
='$libname.dll.lib'
13452 sys_lib_search_path_spec
=
13455 for lt_path
in $LIB
13458 # Let DOS variable expansion print the short 8.3 style file name.
13459 lt_path
=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
13460 sys_lib_search_path_spec
="$sys_lib_search_path_spec $lt_path"
13463 # Convert to MSYS style.
13464 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
13467 # Convert to unix form, then to dos form, then back to unix form
13468 # but this time dos style (no spaces!) so that the unix form looks
13469 # like /cygdrive/c/PROGRA~1:/cygdr...
13470 sys_lib_search_path_spec
=`cygpath --path --unix "$LIB"`
13471 sys_lib_search_path_spec
=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
13472 sys_lib_search_path_spec
=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
13475 sys_lib_search_path_spec
=$LIB
13476 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev
/null
; then
13477 # It is most probably a Windows format PATH.
13478 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
13480 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
13482 # FIXME: find the short name or the path components, as spaces are
13483 # common. (e.g. "Program Files" -> "PROGRA~1")
13487 # DLL is installed to $(libdir)/../bin by postinstall_cmds
13488 postinstall_cmds
='base_file=`basename \$file`~
13489 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
13490 dldir=$destdir/`dirname \$dlpath`~
13491 test -d \$dldir || mkdir -p \$dldir~
13492 $install_prog $dir/$dlname \$dldir/$dlname'
13493 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
13494 dlpath=$dir/\$dldll~
13496 shlibpath_overrides_runpath
=yes
13497 dynamic_linker
='Win32 link.exe'
13501 # Assume MSVC wrapper
13502 library_names_spec
='$libname`echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext $libname.lib'
13503 dynamic_linker
='Win32 ld.exe'
13506 # FIXME: first we should search . and the directory the executable is in
13510 darwin
* | rhapsody
*)
13511 dynamic_linker
="$host_os dyld"
13512 version_type
=darwin
13515 library_names_spec
='$libname$release$major$shared_ext $libname$shared_ext'
13516 soname_spec
='$libname$release$major$shared_ext'
13517 shlibpath_overrides_runpath
=yes
13518 shlibpath_var
=DYLD_LIBRARY_PATH
13519 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
13521 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
13522 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
13526 version_type
=linux
# correct to gnu/linux during the next big refactor
13529 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13530 soname_spec
='$libname$release$shared_ext$major'
13531 shlibpath_var
=LD_LIBRARY_PATH
13534 freebsd
* | dragonfly
*)
13535 # DragonFly does not have aout. When/if they implement a new
13536 # versioning mechanism, adjust this.
13537 if test -x /usr
/bin
/objformat
; then
13538 objformat
=`/usr/bin/objformat`
13541 freebsd
[23].
*) objformat
=aout
;;
13542 *) objformat
=elf
;;
13545 version_type
=freebsd
-$objformat
13546 case $version_type in
13548 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13549 soname_spec
='$libname$release$shared_ext$major'
13554 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
13558 shlibpath_var
=LD_LIBRARY_PATH
13561 shlibpath_overrides_runpath
=yes
13563 freebsd3.
[01]* | freebsdelf3.
[01]*)
13564 shlibpath_overrides_runpath
=yes
13565 hardcode_into_libs
=yes
13567 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
13568 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
13569 shlibpath_overrides_runpath
=no
13570 hardcode_into_libs
=yes
13572 *) # from 4.6 on, and DragonFly
13573 shlibpath_overrides_runpath
=yes
13574 hardcode_into_libs
=yes
13580 version_type
=linux
# correct to gnu/linux during the next big refactor
13583 dynamic_linker
="$host_os runtime_loader"
13584 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13585 soname_spec
='$libname$release$shared_ext$major'
13586 shlibpath_var
=LIBRARY_PATH
13587 shlibpath_overrides_runpath
=no
13588 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
13589 hardcode_into_libs
=yes
13592 hpux9
* | hpux10
* | hpux11
*)
13593 # Give a soname corresponding to the major version so that dld.sl refuses to
13594 # link against other versions.
13601 hardcode_into_libs
=yes
13602 dynamic_linker
="$host_os dld.so"
13603 shlibpath_var
=LD_LIBRARY_PATH
13604 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
13605 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13606 soname_spec
='$libname$release$shared_ext$major'
13607 if test 32 = "$HPUX_IA64_MODE"; then
13608 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
13609 sys_lib_dlsearch_path_spec
=/usr
/lib
/hpux32
13611 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
13612 sys_lib_dlsearch_path_spec
=/usr
/lib
/hpux64
13617 hardcode_into_libs
=yes
13618 dynamic_linker
="$host_os dld.sl"
13619 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
13620 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
13621 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13622 soname_spec
='$libname$release$shared_ext$major'
13623 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
13624 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
13628 dynamic_linker
="$host_os dld.sl"
13629 shlibpath_var
=SHLIB_PATH
13630 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
13631 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13632 soname_spec
='$libname$release$shared_ext$major'
13635 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
13636 postinstall_cmds
='chmod 555 $lib'
13637 # or fails outright, so override atomically:
13638 install_override_mode
=555
13642 version_type
=linux
# correct to gnu/linux during the next big refactor
13645 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13646 soname_spec
='$libname$release$shared_ext$major'
13647 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
13648 shlibpath_var
=LD_LIBRARY_PATH
13649 shlibpath_overrides_runpath
=no
13650 hardcode_into_libs
=yes
13653 irix5
* | irix6
* | nonstopux
*)
13655 nonstopux
*) version_type
=nonstopux
;;
13657 if test yes = "$lt_cv_prog_gnu_ld"; then
13658 version_type
=linux
# correct to gnu/linux during the next big refactor
13665 soname_spec
='$libname$release$shared_ext$major'
13666 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
13668 irix5
* | nonstopux
*)
13669 libsuff
= shlibsuff
=
13672 case $LD in # libtool.m4 will add one of these switches to LD
13673 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
13674 libsuff
= shlibsuff
= libmagic
=32-bit;;
13675 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
13676 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
13677 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
13678 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
13679 *) libsuff
= shlibsuff
= libmagic
=never
-match;;
13683 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
13684 shlibpath_overrides_runpath
=no
13685 sys_lib_search_path_spec
="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
13686 sys_lib_dlsearch_path_spec
="/usr/lib$libsuff /lib$libsuff"
13687 hardcode_into_libs
=yes
13690 # No shared lib support for Linux oldld, aout, or coff.
13691 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
13696 version_type
=none
# Android doesn't support versioned libraries.
13699 library_names_spec
='$libname$release$shared_ext'
13700 soname_spec
='$libname$release$shared_ext'
13702 shlibpath_var
=LD_LIBRARY_PATH
13703 shlibpath_overrides_runpath
=yes
13705 # This implies no fast_install, which is unacceptable.
13706 # Some rework will be needed to allow for fast_install
13707 # before this can be enabled.
13708 hardcode_into_libs
=yes
13710 dynamic_linker
='Android linker'
13711 # Don't embed -rpath directories since the linker doesn't support them.
13712 hardcode_libdir_flag_spec
='-L$libdir'
13715 # This must be glibc/ELF.
13716 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
13717 version_type
=linux
# correct to gnu/linux during the next big refactor
13720 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13721 soname_spec
='$libname$release$shared_ext$major'
13722 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
13723 shlibpath_var
=LD_LIBRARY_PATH
13724 shlibpath_overrides_runpath
=no
13726 # Some binutils ld are patched to set DT_RUNPATH
13727 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
13728 $as_echo_n "(cached) " >&6
13730 lt_cv_shlibpath_overrides_runpath
=no
13731 save_LDFLAGS
=$LDFLAGS
13732 save_libdir
=$libdir
13733 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
13734 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
13735 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13736 /* end confdefs.h. */
13746 if ac_fn_c_try_link
"$LINENO"; then :
13747 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null
| grep "RUNPATH.*$libdir" >/dev
/null
; then :
13748 lt_cv_shlibpath_overrides_runpath
=yes
13751 rm -f core conftest.err conftest.
$ac_objext \
13752 conftest
$ac_exeext conftest.
$ac_ext
13753 LDFLAGS
=$save_LDFLAGS
13754 libdir
=$save_libdir
13758 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
13760 # This implies no fast_install, which is unacceptable.
13761 # Some rework will be needed to allow for fast_install
13762 # before this can be enabled.
13763 hardcode_into_libs
=yes
13765 # Ideally, we could use ldconfig to report *all* directores which are
13766 # searched for libraries, however this is still not possible. Aside from not
13767 # being certain /sbin/ldconfig is available, command
13768 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
13769 # even though it is searched at run-time. Try to do the best guess by
13770 # appending ld.so.conf contents (and includes) to the search path.
13771 if test -f /etc
/ld.so.conf
; then
13772 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' ' '`
13773 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
13776 # We used to test for /lib/ld.so.1 and disable shared libraries on
13777 # powerpc, because MkLinux only supported shared libraries with the
13778 # GNU dynamic linker. Since this was broken with cross compilers,
13779 # most powerpc-linux boxes support dynamic linking these days and
13780 # people can always --disable-shared, the test was removed, and we
13781 # assume the GNU/Linux dynamic linker is in use.
13782 dynamic_linker
='GNU/Linux ld.so'
13789 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
13790 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
13791 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13792 dynamic_linker
='NetBSD (a.out) ld.so'
13794 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13795 soname_spec
='$libname$release$shared_ext$major'
13796 dynamic_linker
='NetBSD ld.elf_so'
13798 shlibpath_var
=LD_LIBRARY_PATH
13799 shlibpath_overrides_runpath
=yes
13800 hardcode_into_libs
=yes
13804 version_type
=linux
# correct to gnu/linux during the next big refactor
13805 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13806 shlibpath_var
=LD_LIBRARY_PATH
13807 shlibpath_overrides_runpath
=yes
13814 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13815 soname_spec
='$libname$release$shared_ext$major'
13816 shlibpath_var
=LD_LIBRARY_PATH
13817 shlibpath_overrides_runpath
=no
13818 hardcode_into_libs
=yes
13819 dynamic_linker
='ldqnx.so'
13822 openbsd
* | bitrig
*)
13824 sys_lib_dlsearch_path_spec
=/usr
/lib
13826 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
13831 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
13832 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13833 shlibpath_var
=LD_LIBRARY_PATH
13834 shlibpath_overrides_runpath
=yes
13838 libname_spec
='$name'
13839 version_type
=windows
13843 # OS/2 can only load a DLL with a base name of 8 characters or less.
13844 soname_spec
='`test -n "$os2dllname" && libname="$os2dllname";
13845 v=$($ECHO $release$versuffix | tr -d .-);
13846 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
13847 $ECHO $n$v`$shared_ext'
13848 library_names_spec
='${libname}_dll.$libext'
13849 dynamic_linker
='OS/2 ld.exe'
13850 shlibpath_var
=BEGINLIBPATH
13851 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
13852 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
13853 postinstall_cmds
='base_file=`basename \$file`~
13854 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
13855 dldir=$destdir/`dirname \$dlpath`~
13856 test -d \$dldir || mkdir -p \$dldir~
13857 $install_prog $dir/$dlname \$dldir/$dlname~
13858 chmod a+x \$dldir/$dlname~
13859 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
13860 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
13862 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
13863 dlpath=$dir/\$dldll~
13867 osf3
* | osf4
* | osf5
*)
13871 soname_spec
='$libname$release$shared_ext$major'
13872 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13873 shlibpath_var
=LD_LIBRARY_PATH
13874 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
13875 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
13883 version_type
=linux
# correct to gnu/linux during the next big refactor
13886 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13887 soname_spec
='$libname$release$shared_ext$major'
13888 shlibpath_var
=LD_LIBRARY_PATH
13889 shlibpath_overrides_runpath
=yes
13890 hardcode_into_libs
=yes
13891 # ldd complains unless libraries are executable
13892 postinstall_cmds
='chmod +x $lib'
13897 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
13898 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
13899 shlibpath_var
=LD_LIBRARY_PATH
13900 shlibpath_overrides_runpath
=yes
13901 if test yes = "$with_gnu_ld"; then
13908 version_type
=linux
# correct to gnu/linux during the next big refactor
13909 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13910 soname_spec
='$libname$release$shared_ext$major'
13911 shlibpath_var
=LD_LIBRARY_PATH
13912 case $host_vendor in
13914 shlibpath_overrides_runpath
=no
13916 runpath_var
=LD_RUN_PATH
13924 shlibpath_overrides_runpath
=no
13925 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
13931 if test -d /usr
/nec
; then
13932 version_type
=linux
# correct to gnu/linux during the next big refactor
13933 library_names_spec
='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
13934 soname_spec
='$libname$shared_ext.$major'
13935 shlibpath_var
=LD_LIBRARY_PATH
13939 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
13943 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
13944 soname_spec
='$libname$release$shared_ext$major'
13945 shlibpath_var
=LD_LIBRARY_PATH
13946 shlibpath_overrides_runpath
=yes
13947 hardcode_into_libs
=yes
13948 if test yes = "$with_gnu_ld"; then
13949 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
13951 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
13954 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
13958 sys_lib_dlsearch_path_spec
='/usr/lib'
13962 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
13963 version_type
=linux
# correct to gnu/linux during the next big refactor
13966 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13967 shlibpath_var
=LD_LIBRARY_PATH
13968 shlibpath_overrides_runpath
=no
13969 hardcode_into_libs
=yes
13973 version_type
=linux
# correct to gnu/linux during the next big refactor
13974 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13975 soname_spec
='$libname$release$shared_ext$major'
13976 shlibpath_var
=LD_LIBRARY_PATH
13983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
13984 $as_echo "$dynamic_linker" >&6; }
13985 test no
= "$dynamic_linker" && can_build_shared
=no
13987 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
13988 if test yes = "$GCC"; then
13989 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
13992 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
13993 sys_lib_search_path_spec
=$lt_cv_sys_lib_search_path_spec
13996 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
13997 sys_lib_dlsearch_path_spec
=$lt_cv_sys_lib_dlsearch_path_spec
14000 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
14001 configure_time_dlsearch_path
=$sys_lib_dlsearch_path_spec
14003 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
14004 func_munge_path_list sys_lib_dlsearch_path_spec
"$LT_SYS_LIBRARY_PATH"
14006 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
14007 configure_time_lt_sys_library_path
=$LT_SYS_LIBRARY_PATH
14105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14106 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14108 if test -n "$hardcode_libdir_flag_spec" ||
14109 test -n "$runpath_var" ||
14110 test yes = "$hardcode_automatic"; then
14112 # We can hardcode non-existent directories.
14113 if test no
!= "$hardcode_direct" &&
14114 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14115 # have to relink, otherwise we might link with an installed library
14116 # when we should be linking with a yet-to-be-installed one
14117 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
14118 test no
!= "$hardcode_minus_L"; then
14119 # Linking always hardcodes the temporary library directory.
14120 hardcode_action
=relink
14122 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14123 hardcode_action
=immediate
14126 # We cannot hardcode anything, or else we can only hardcode existing
14128 hardcode_action
=unsupported
14130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
14131 $as_echo "$hardcode_action" >&6; }
14133 if test relink
= "$hardcode_action" ||
14134 test yes = "$inherit_rpath"; then
14135 # Fast installation is not supported
14136 enable_fast_install
=no
14137 elif test yes = "$shlibpath_overrides_runpath" ||
14138 test no
= "$enable_shared"; then
14139 # Fast installation is not necessary
14140 enable_fast_install
=needless
14148 if test yes != "$enable_dlopen"; then
14149 enable_dlopen
=unknown
14150 enable_dlopen_self
=unknown
14151 enable_dlopen_self_static
=unknown
14158 lt_cv_dlopen
=load_add_on
14160 lt_cv_dlopen_self
=yes
14163 mingw
* | pw32
* | cegcc
*)
14164 lt_cv_dlopen
=LoadLibrary
14169 lt_cv_dlopen
=dlopen
14174 # if libdl is installed we need to link against it
14175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14176 $as_echo_n "checking for dlopen in -ldl... " >&6; }
14177 if ${ac_cv_lib_dl_dlopen+:} false
; then :
14178 $as_echo_n "(cached) " >&6
14180 ac_check_lib_save_LIBS
=$LIBS
14182 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14183 /* end confdefs.h. */
14185 /* Override any GCC internal prototype to avoid an error.
14186 Use char because int might match the return type of a GCC
14187 builtin and then its argument prototype would still apply. */
14200 if ac_fn_c_try_link
"$LINENO"; then :
14201 ac_cv_lib_dl_dlopen
=yes
14203 ac_cv_lib_dl_dlopen
=no
14205 rm -f core conftest.err conftest.
$ac_objext \
14206 conftest
$ac_exeext conftest.
$ac_ext
14207 LIBS
=$ac_check_lib_save_LIBS
14209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14210 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
14211 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
14212 lt_cv_dlopen
=dlopen lt_cv_dlopen_libs
=-ldl
14217 lt_cv_dlopen_self
=yes
14224 # Don't try to run any link tests for TPF. We know it's impossible
14225 # because TPF is a cross-compiler, and we know how we open DSOs.
14226 lt_cv_dlopen
=dlopen
14228 lt_cv_dlopen_self
=no
14232 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
14233 if test "x$ac_cv_func_shl_load" = xyes
; then :
14234 lt_cv_dlopen
=shl_load
14236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
14237 $as_echo_n "checking for shl_load in -ldld... " >&6; }
14238 if ${ac_cv_lib_dld_shl_load+:} false
; then :
14239 $as_echo_n "(cached) " >&6
14241 ac_check_lib_save_LIBS
=$LIBS
14243 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14244 /* end confdefs.h. */
14246 /* Override any GCC internal prototype to avoid an error.
14247 Use char because int might match the return type of a GCC
14248 builtin and then its argument prototype would still apply. */
14256 return shl_load ();
14261 if ac_fn_c_try_link
"$LINENO"; then :
14262 ac_cv_lib_dld_shl_load
=yes
14264 ac_cv_lib_dld_shl_load
=no
14266 rm -f core conftest.err conftest.
$ac_objext \
14267 conftest
$ac_exeext conftest.
$ac_ext
14268 LIBS
=$ac_check_lib_save_LIBS
14270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
14271 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
14272 if test "x$ac_cv_lib_dld_shl_load" = xyes
; then :
14273 lt_cv_dlopen
=shl_load lt_cv_dlopen_libs
=-ldld
14275 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
14276 if test "x$ac_cv_func_dlopen" = xyes
; then :
14277 lt_cv_dlopen
=dlopen
14279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14280 $as_echo_n "checking for dlopen in -ldl... " >&6; }
14281 if ${ac_cv_lib_dl_dlopen+:} false
; then :
14282 $as_echo_n "(cached) " >&6
14284 ac_check_lib_save_LIBS
=$LIBS
14286 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14287 /* end confdefs.h. */
14289 /* Override any GCC internal prototype to avoid an error.
14290 Use char because int might match the return type of a GCC
14291 builtin and then its argument prototype would still apply. */
14304 if ac_fn_c_try_link
"$LINENO"; then :
14305 ac_cv_lib_dl_dlopen
=yes
14307 ac_cv_lib_dl_dlopen
=no
14309 rm -f core conftest.err conftest.
$ac_objext \
14310 conftest
$ac_exeext conftest.
$ac_ext
14311 LIBS
=$ac_check_lib_save_LIBS
14313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14314 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
14315 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
14316 lt_cv_dlopen
=dlopen lt_cv_dlopen_libs
=-ldl
14318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
14319 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
14320 if ${ac_cv_lib_svld_dlopen+:} false
; then :
14321 $as_echo_n "(cached) " >&6
14323 ac_check_lib_save_LIBS
=$LIBS
14324 LIBS
="-lsvld $LIBS"
14325 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14326 /* end confdefs.h. */
14328 /* Override any GCC internal prototype to avoid an error.
14329 Use char because int might match the return type of a GCC
14330 builtin and then its argument prototype would still apply. */
14343 if ac_fn_c_try_link
"$LINENO"; then :
14344 ac_cv_lib_svld_dlopen
=yes
14346 ac_cv_lib_svld_dlopen
=no
14348 rm -f core conftest.err conftest.
$ac_objext \
14349 conftest
$ac_exeext conftest.
$ac_ext
14350 LIBS
=$ac_check_lib_save_LIBS
14352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
14353 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
14354 if test "x$ac_cv_lib_svld_dlopen" = xyes
; then :
14355 lt_cv_dlopen
=dlopen lt_cv_dlopen_libs
=-lsvld
14357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
14358 $as_echo_n "checking for dld_link in -ldld... " >&6; }
14359 if ${ac_cv_lib_dld_dld_link+:} false
; then :
14360 $as_echo_n "(cached) " >&6
14362 ac_check_lib_save_LIBS
=$LIBS
14364 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14365 /* end confdefs.h. */
14367 /* Override any GCC internal prototype to avoid an error.
14368 Use char because int might match the return type of a GCC
14369 builtin and then its argument prototype would still apply. */
14377 return dld_link ();
14382 if ac_fn_c_try_link
"$LINENO"; then :
14383 ac_cv_lib_dld_dld_link
=yes
14385 ac_cv_lib_dld_dld_link
=no
14387 rm -f core conftest.err conftest.
$ac_objext \
14388 conftest
$ac_exeext conftest.
$ac_ext
14389 LIBS
=$ac_check_lib_save_LIBS
14391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
14392 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
14393 if test "x$ac_cv_lib_dld_dld_link" = xyes
; then :
14394 lt_cv_dlopen
=dld_link lt_cv_dlopen_libs
=-ldld
14415 if test no
= "$lt_cv_dlopen"; then
14421 case $lt_cv_dlopen in
14423 save_CPPFLAGS
=$CPPFLAGS
14424 test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
14426 save_LDFLAGS
=$LDFLAGS
14427 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
14430 LIBS
="$lt_cv_dlopen_libs $LIBS"
14432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
14433 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
14434 if ${lt_cv_dlopen_self+:} false
; then :
14435 $as_echo_n "(cached) " >&6
14437 if test yes = "$cross_compiling"; then :
14438 lt_cv_dlopen_self
=cross
14440 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
14441 lt_status
=$lt_dlunknown
14442 cat > conftest.
$ac_ext <<_LT_EOF
14443 #line $LINENO "configure"
14444 #include "confdefs.h"
14453 # define LT_DLGLOBAL RTLD_GLOBAL
14456 # define LT_DLGLOBAL DL_GLOBAL
14458 # define LT_DLGLOBAL 0
14462 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
14463 find out it does not work in some platform. */
14464 #ifndef LT_DLLAZY_OR_NOW
14466 # define LT_DLLAZY_OR_NOW RTLD_LAZY
14469 # define LT_DLLAZY_OR_NOW DL_LAZY
14472 # define LT_DLLAZY_OR_NOW RTLD_NOW
14475 # define LT_DLLAZY_OR_NOW DL_NOW
14477 # define LT_DLLAZY_OR_NOW 0
14484 /* When -fvisibility=hidden is used, assume the code has been annotated
14485 correspondingly for the symbols needed. */
14486 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
14487 int fnord () __attribute__((visibility("default")));
14490 int fnord () { return 42; }
14493 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
14494 int status = $lt_dlunknown;
14498 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
14501 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
14502 else puts (dlerror ());
14504 /* dlclose (self); */
14512 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
14513 (eval $ac_link) 2>&5
14515 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14516 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev
/null
; then
14517 (.
/conftest
; exit; ) >&5 2>/dev
/null
14519 case x
$lt_status in
14520 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
14521 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
14522 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
14525 # compilation failed
14526 lt_cv_dlopen_self
=no
14533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
14534 $as_echo "$lt_cv_dlopen_self" >&6; }
14536 if test yes = "$lt_cv_dlopen_self"; then
14537 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
14538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
14539 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
14540 if ${lt_cv_dlopen_self_static+:} false
; then :
14541 $as_echo_n "(cached) " >&6
14543 if test yes = "$cross_compiling"; then :
14544 lt_cv_dlopen_self_static
=cross
14546 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
14547 lt_status
=$lt_dlunknown
14548 cat > conftest.
$ac_ext <<_LT_EOF
14549 #line $LINENO "configure"
14550 #include "confdefs.h"
14559 # define LT_DLGLOBAL RTLD_GLOBAL
14562 # define LT_DLGLOBAL DL_GLOBAL
14564 # define LT_DLGLOBAL 0
14568 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
14569 find out it does not work in some platform. */
14570 #ifndef LT_DLLAZY_OR_NOW
14572 # define LT_DLLAZY_OR_NOW RTLD_LAZY
14575 # define LT_DLLAZY_OR_NOW DL_LAZY
14578 # define LT_DLLAZY_OR_NOW RTLD_NOW
14581 # define LT_DLLAZY_OR_NOW DL_NOW
14583 # define LT_DLLAZY_OR_NOW 0
14590 /* When -fvisibility=hidden is used, assume the code has been annotated
14591 correspondingly for the symbols needed. */
14592 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
14593 int fnord () __attribute__((visibility("default")));
14596 int fnord () { return 42; }
14599 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
14600 int status = $lt_dlunknown;
14604 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
14607 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
14608 else puts (dlerror ());
14610 /* dlclose (self); */
14618 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
14619 (eval $ac_link) 2>&5
14621 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14622 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev
/null
; then
14623 (.
/conftest
; exit; ) >&5 2>/dev
/null
14625 case x
$lt_status in
14626 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
14627 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
14628 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
14631 # compilation failed
14632 lt_cv_dlopen_self_static
=no
14639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
14640 $as_echo "$lt_cv_dlopen_self_static" >&6; }
14643 CPPFLAGS
=$save_CPPFLAGS
14644 LDFLAGS
=$save_LDFLAGS
14649 case $lt_cv_dlopen_self in
14650 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
14651 *) enable_dlopen_self
=unknown
;;
14654 case $lt_cv_dlopen_self_static in
14655 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
14656 *) enable_dlopen_self_static
=unknown
;;
14678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
14679 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
14680 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev
/null
; then
14681 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
14682 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
14683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14684 $as_echo "yes" >&6; }
14686 # FIXME - insert some real tests, host_os isn't really good enough
14689 if test -n "$STRIP"; then
14690 striplib
="$STRIP -x"
14691 old_striplib
="$STRIP -S"
14692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14693 $as_echo "yes" >&6; }
14695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14696 $as_echo "no" >&6; }
14700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14701 $as_echo "no" >&6; }
14717 # Report what library types will actually be built
14718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
14719 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
14720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
14721 $as_echo "$can_build_shared" >&6; }
14723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
14724 $as_echo_n "checking whether to build shared libraries... " >&6; }
14725 test no
= "$can_build_shared" && enable_shared
=no
14727 # On AIX, shared libraries and static libraries use the same namespace, and
14728 # are all built from PIC.
14731 test yes = "$enable_shared" && enable_static
=no
14732 if test -n "$RANLIB"; then
14733 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
14734 postinstall_cmds
='$RANLIB $lib'
14739 if test ia64
!= "$host_cpu"; then
14740 case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
14741 yes,aix
,yes) ;; # shared object as lib.so file only
14742 yes,svr4
,*) ;; # shared object as lib.so archive member only
14743 yes,*) enable_static
=no
;; # shared object in lib.a archive as well
14748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
14749 $as_echo "$enable_shared" >&6; }
14751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
14752 $as_echo_n "checking whether to build static libraries... " >&6; }
14753 # Make sure either enable_shared or enable_static is yes.
14754 test yes = "$enable_shared" || enable_static
=yes
14755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
14756 $as_echo "$enable_static" >&6; }
14763 ac_cpp
='$CPP $CPPFLAGS'
14764 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14765 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14766 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14770 if test -n "$CXX" && ( test no
!= "$CXX" &&
14771 ( (test g
++ = "$CXX" && `g++ -v >/dev/null 2>&1` ) ||
14772 (test g
++ != "$CXX"))); then
14774 ac_cpp
='$CXXCPP $CPPFLAGS'
14775 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14776 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14777 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
14779 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
14780 if test -z "$CXXCPP"; then
14781 if ${ac_cv_prog_CXXCPP+:} false
; then :
14782 $as_echo_n "(cached) " >&6
14784 # Double quotes because CXXCPP needs to be expanded
14785 for CXXCPP
in "$CXX -E" "/lib/cpp"
14787 ac_preproc_ok
=false
14788 for ac_cxx_preproc_warn_flag
in '' yes
14790 # Use a header file that comes with gcc, so configuring glibc
14791 # with a fresh cross-compiler works.
14792 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14793 # <limits.h> exists even on freestanding compilers.
14794 # On the NeXT, cc -E runs the code through the compiler's parser,
14795 # not just through cpp. "Syntax error" is here to catch this case.
14796 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14797 /* end confdefs.h. */
14799 # include <limits.h>
14801 # include <assert.h>
14805 if ac_fn_cxx_try_cpp
"$LINENO"; then :
14808 # Broken: fails on valid input.
14811 rm -f conftest.err conftest.i conftest.
$ac_ext
14813 # OK, works on sane cases. Now check whether nonexistent headers
14814 # can be detected and how.
14815 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14816 /* end confdefs.h. */
14817 #include <ac_nonexistent.h>
14819 if ac_fn_cxx_try_cpp
"$LINENO"; then :
14820 # Broken: success on invalid input.
14823 # Passes both tests.
14827 rm -f conftest.err conftest.i conftest.
$ac_ext
14830 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
14831 rm -f conftest.i conftest.err conftest.
$ac_ext
14832 if $ac_preproc_ok; then :
14837 ac_cv_prog_CXXCPP
=$CXXCPP
14840 CXXCPP
=$ac_cv_prog_CXXCPP
14842 ac_cv_prog_CXXCPP
=$CXXCPP
14844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
14845 $as_echo "$CXXCPP" >&6; }
14846 ac_preproc_ok
=false
14847 for ac_cxx_preproc_warn_flag
in '' yes
14849 # Use a header file that comes with gcc, so configuring glibc
14850 # with a fresh cross-compiler works.
14851 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14852 # <limits.h> exists even on freestanding compilers.
14853 # On the NeXT, cc -E runs the code through the compiler's parser,
14854 # not just through cpp. "Syntax error" is here to catch this case.
14855 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14856 /* end confdefs.h. */
14858 # include <limits.h>
14860 # include <assert.h>
14864 if ac_fn_cxx_try_cpp
"$LINENO"; then :
14867 # Broken: fails on valid input.
14870 rm -f conftest.err conftest.i conftest.
$ac_ext
14872 # OK, works on sane cases. Now check whether nonexistent headers
14873 # can be detected and how.
14874 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14875 /* end confdefs.h. */
14876 #include <ac_nonexistent.h>
14878 if ac_fn_cxx_try_cpp
"$LINENO"; then :
14879 # Broken: success on invalid input.
14882 # Passes both tests.
14886 rm -f conftest.err conftest.i conftest.
$ac_ext
14889 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
14890 rm -f conftest.i conftest.err conftest.
$ac_ext
14891 if $ac_preproc_ok; then :
14894 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14895 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14896 as_fn_error $?
"C++ preprocessor \"$CXXCPP\" fails sanity check
14897 See \`config.log' for more details" "$LINENO" 5; }
14901 ac_cpp
='$CPP $CPPFLAGS'
14902 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14903 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14904 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14907 _lt_caught_CXX_error
=yes
14911 ac_cpp
='$CXXCPP $CPPFLAGS'
14912 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14913 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14914 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14916 archive_cmds_need_lc_CXX
=no
14917 allow_undefined_flag_CXX
=
14918 always_export_symbols_CXX
=no
14919 archive_expsym_cmds_CXX
=
14920 compiler_needs_object_CXX
=no
14921 export_dynamic_flag_spec_CXX
=
14922 hardcode_direct_CXX
=no
14923 hardcode_direct_absolute_CXX
=no
14924 hardcode_libdir_flag_spec_CXX
=
14925 hardcode_libdir_separator_CXX
=
14926 hardcode_minus_L_CXX
=no
14927 hardcode_shlibpath_var_CXX
=unsupported
14928 hardcode_automatic_CXX
=no
14929 inherit_rpath_CXX
=no
14931 module_expsym_cmds_CXX
=
14932 link_all_deplibs_CXX
=unknown
14933 old_archive_cmds_CXX
=$old_archive_cmds
14934 reload_flag_CXX
=$reload_flag
14935 reload_cmds_CXX
=$reload_cmds
14936 no_undefined_flag_CXX
=
14937 whole_archive_flag_spec_CXX
=
14938 enable_shared_with_static_runtimes_CXX
=no
14940 # Source file extension for C++ test sources.
14943 # Object file extension for compiled C++ test sources.
14947 # No sense in running all these tests if we already determined that
14948 # the CXX compiler isn't working. Some variables (like enable_shared)
14949 # are currently assumed to apply to all compilers on this platform,
14950 # and will be corrupted by setting them based on a non-working compiler.
14951 if test yes != "$_lt_caught_CXX_error"; then
14952 # Code to be used in simple compile tests
14953 lt_simple_compile_test_code
="int some_variable = 0;"
14955 # Code to be used in simple link tests
14956 lt_simple_link_test_code
='int main(int, char *[]) { return(0); }'
14958 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
14965 # If no C compiler was specified, use CC.
14968 # If no C compiler flags were specified, use CFLAGS.
14969 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
14971 # Allow CC to be a program name with arguments.
14975 # save warnings/boilerplate of simple test code
14976 ac_outfile
=conftest.
$ac_objext
14977 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
14978 eval "$ac_compile" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
14979 _lt_compiler_boilerplate
=`cat conftest.err`
14982 ac_outfile
=conftest.
$ac_objext
14983 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
14984 eval "$ac_link" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
14985 _lt_linker_boilerplate
=`cat conftest.err`
14989 # Allow CC to be a program name with arguments.
14991 lt_save_CFLAGS
=$CFLAGS
14995 lt_save_with_gnu_ld
=$with_gnu_ld
14996 lt_save_path_LD
=$lt_cv_path_LD
14997 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
14998 lt_cv_prog_gnu_ld
=$lt_cv_prog_gnu_ldcxx
15000 $as_unset lt_cv_prog_gnu_ld
15002 if test -n "${lt_cv_path_LDCXX+set}"; then
15003 lt_cv_path_LD
=$lt_cv_path_LDCXX
15005 $as_unset lt_cv_path_LD
15007 test -z "${LDCXX+set}" || LD
=$LDCXX
15012 func_cc_basename
$compiler
15013 cc_basename
=$func_cc_basename_result
15016 if test -n "$compiler"; then
15017 # We don't want -fno-exception when compiling C++ code, so set the
15018 # no_builtin_flag separately
15019 if test yes = "$GXX"; then
15020 lt_prog_compiler_no_builtin_flag_CXX
=' -fno-builtin'
15022 lt_prog_compiler_no_builtin_flag_CXX
=
15025 if test yes = "$GXX"; then
15026 # Set up default GNU C++ configuration
15030 # Check whether --with-gnu-ld was given.
15031 if test "${with_gnu_ld+set}" = set; then :
15032 withval
=$with_gnu_ld; test no
= "$withval" || with_gnu_ld
=yes
15038 if test yes = "$GCC"; then
15039 # Check if gcc -print-prog-name=ld gives a path.
15040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
15041 $as_echo_n "checking for ld used by $CC... " >&6; }
15044 # gcc leaves a trailing carriage return, which upsets mingw
15045 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
15047 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
15050 # Accept absolute paths.
15052 re_direlt
='/[^/][^/]*/\.\./'
15053 # Canonicalize the pathname of ld
15054 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
15055 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev
/null
2>&1; do
15056 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
15058 test -z "$LD" && LD
=$ac_prog
15061 # If it fails, then pretend we aren't using GCC.
15065 # If it is relative, then search for the first ld in PATH.
15066 with_gnu_ld
=unknown
15069 elif test yes = "$with_gnu_ld"; then
15070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
15071 $as_echo_n "checking for GNU ld... " >&6; }
15073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
15074 $as_echo_n "checking for non-GNU ld... " >&6; }
15076 if ${lt_cv_path_LD+:} false
; then :
15077 $as_echo_n "(cached) " >&6
15079 if test -z "$LD"; then
15080 lt_save_ifs
=$IFS; IFS
=$PATH_SEPARATOR
15081 for ac_dir
in $PATH; do
15083 test -z "$ac_dir" && ac_dir
=.
15084 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
15085 lt_cv_path_LD
=$ac_dir/$ac_prog
15086 # Check to see if the program is GNU ld. I'd rather use --version,
15087 # but apparently some variants of GNU ld only accept -v.
15088 # Break only if it was the GNU/non-GNU ld that we prefer.
15089 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
15090 *GNU
* | *'with BFD'*)
15091 test no
!= "$with_gnu_ld" && break
15094 test yes != "$with_gnu_ld" && break
15101 lt_cv_path_LD
=$LD # Let the user override the test with a path.
15106 if test -n "$LD"; then
15107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
15108 $as_echo "$LD" >&6; }
15110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15111 $as_echo "no" >&6; }
15113 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
15114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
15115 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
15116 if ${lt_cv_prog_gnu_ld+:} false
; then :
15117 $as_echo_n "(cached) " >&6
15119 # I'd rather use --version here, but apparently some GNU lds only accept -v.
15120 case `$LD -v 2>&1 </dev/null` in
15121 *GNU
* | *'with BFD'*)
15122 lt_cv_prog_gnu_ld
=yes
15125 lt_cv_prog_gnu_ld
=no
15129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
15130 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
15131 with_gnu_ld
=$lt_cv_prog_gnu_ld
15139 # Check if GNU C++ uses GNU ld as the underlying linker, since the
15140 # archiving commands below assume that GNU ld is being used.
15141 if test yes = "$with_gnu_ld"; then
15142 archive_cmds_CXX
='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
15143 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'
15145 hardcode_libdir_flag_spec_CXX
='$wl-rpath $wl$libdir'
15146 export_dynamic_flag_spec_CXX
='$wl--export-dynamic'
15148 # If archive_cmds runs LD, not CC, wlarc should be empty
15149 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
15150 # investigate it a little bit more. (MM)
15153 # ancient GNU ld didn't support --whole-archive et. al.
15154 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
15155 $GREP 'no-whole-archive' > /dev
/null
; then
15156 whole_archive_flag_spec_CXX
=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
15158 whole_archive_flag_spec_CXX
=
15164 # A generic and very simple default shared library creation
15165 # command for GNU C++ for the case where it uses the native
15166 # linker, instead of GNU ld. If possible, this setting should
15167 # overridden to take advantage of the native linker features on
15168 # the platform it is being used on.
15169 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
15172 # Commands to make compiler produce verbose output that lists
15173 # what "hidden" libraries, object files and flags are used when
15174 # linking a shared library.
15175 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
15183 # PORTME: fill in a description of your system's C++ link characteristics
15184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15185 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
15189 # FIXME: insert proper C++ library support
15193 if test ia64
= "$host_cpu"; then
15194 # On IA64, the linker does run time linking by default, so we don't
15195 # have to do anything special.
15196 aix_use_runtimelinking
=no
15197 exp_sym_flag
='-Bexport'
15200 aix_use_runtimelinking
=no
15202 # Test if we are trying to use run time linking or normal
15203 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
15204 # have runtime linking enabled, and use it for executables.
15205 # For shared libraries, we enable/disable runtime linking
15206 # depending on the kind of the shared library created -
15207 # when "with_aix_soname,aix_use_runtimelinking" is:
15208 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables
15209 # "aix,yes" lib.so shared, rtl:yes, for executables
15210 # lib.a static archive
15211 # "both,no" lib.so.V(shr.o) shared, rtl:yes
15212 # lib.a(lib.so.V) shared, rtl:no, for executables
15213 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
15214 # lib.a(lib.so.V) shared, rtl:no
15215 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables
15216 # lib.a static archive
15217 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
15218 for ld_flag
in $LDFLAGS; do
15221 aix_use_runtimelinking
=yes
15226 if test svr4
,no
= "$with_aix_soname,$aix_use_runtimelinking"; then
15227 # With aix-soname=svr4, we create the lib.so.V shared archives only,
15228 # so we don't have lib.a shared libs to link our executables.
15229 # We have to force runtime linking in this case.
15230 aix_use_runtimelinking
=yes
15231 LDFLAGS
="$LDFLAGS -Wl,-brtl"
15236 exp_sym_flag
='-bexport'
15237 no_entry_flag
='-bnoentry'
15240 # When large executables or shared objects are built, AIX ld can
15241 # have problems creating the table of contents. If linking a library
15242 # or program results in "error TOC overflow" add -mminimal-toc to
15243 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
15244 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
15246 archive_cmds_CXX
=''
15247 hardcode_direct_CXX
=yes
15248 hardcode_direct_absolute_CXX
=yes
15249 hardcode_libdir_separator_CXX
=':'
15250 link_all_deplibs_CXX
=yes
15251 file_list_spec_CXX
='$wl-f,'
15252 case $with_aix_soname,$aix_use_runtimelinking in
15253 aix
,*) ;; # no import file
15254 svr4
,* | *,yes) # use import file
15255 # The Import File defines what to hardcode.
15256 hardcode_direct_CXX
=no
15257 hardcode_direct_absolute_CXX
=no
15261 if test yes = "$GXX"; then
15262 case $host_os in aix4.
[012]|aix4.
[012].
*)
15263 # We only want to do this on AIX 4.2 and lower, the check
15264 # below for broken collect2 doesn't work under 4.3+
15265 collect2name
=`$CC -print-prog-name=collect2`
15266 if test -f "$collect2name" &&
15267 strings "$collect2name" | $GREP resolve_lib_name
>/dev
/null
15269 # We have reworked collect2
15272 # We have old collect2
15273 hardcode_direct_CXX
=unsupported
15274 # It fails to find uninstalled libraries when the uninstalled
15275 # path is not listed in the libpath. Setting hardcode_minus_L
15276 # to unsupported forces relinking
15277 hardcode_minus_L_CXX
=yes
15278 hardcode_libdir_flag_spec_CXX
='-L$libdir'
15279 hardcode_libdir_separator_CXX
=
15282 shared_flag
='-shared'
15283 if test yes = "$aix_use_runtimelinking"; then
15284 shared_flag
=$shared_flag' $wl-G'
15286 # Need to ensure runtime linking is disabled for the traditional
15287 # shared library, or the linker may eventually find shared libraries
15288 # /with/ Import File - we do not want to mix them.
15289 shared_flag_aix
='-shared'
15290 shared_flag_svr4
='-shared $wl-G'
15293 if test ia64
= "$host_cpu"; then
15294 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
15295 # chokes on -Wl,-G. The following line is correct:
15298 if test yes = "$aix_use_runtimelinking"; then
15299 shared_flag
='$wl-G'
15301 shared_flag
='$wl-bM:SRE'
15303 shared_flag_aix
='$wl-bM:SRE'
15304 shared_flag_svr4
='$wl-G'
15308 export_dynamic_flag_spec_CXX
='$wl-bexpall'
15309 # It seems that -bexpall does not export symbols beginning with
15310 # underscore (_), so it is better to generate a list of symbols to
15312 always_export_symbols_CXX
=yes
15313 if test aix
,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
15314 # Warning - without using the other runtime loading flags (-brtl),
15315 # -berok will link without error, but may produce a broken library.
15316 # The "-G" linker flag allows undefined symbols.
15317 no_undefined_flag_CXX
='-bernotok'
15318 # Determine the default libpath from the value encoded in an empty
15320 if test set = "${lt_cv_aix_libpath+set}"; then
15321 aix_libpath
=$lt_cv_aix_libpath
15323 if ${lt_cv_aix_libpath__CXX+:} false
; then :
15324 $as_echo_n "(cached) " >&6
15326 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15327 /* end confdefs.h. */
15337 if ac_fn_cxx_try_link
"$LINENO"; then :
15339 lt_aix_libpath_sed
='
15340 /Import File Strings/,/^$/ {
15342 s/^0 *\([^ ]*\) *$/\1/
15346 lt_cv_aix_libpath__CXX
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15347 # Check for a 64-bit object if we didn't find anything.
15348 if test -z "$lt_cv_aix_libpath__CXX"; then
15349 lt_cv_aix_libpath__CXX
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15352 rm -f core conftest.err conftest.
$ac_objext \
15353 conftest
$ac_exeext conftest.
$ac_ext
15354 if test -z "$lt_cv_aix_libpath__CXX"; then
15355 lt_cv_aix_libpath__CXX
=/usr
/lib
:/lib
15360 aix_libpath
=$lt_cv_aix_libpath__CXX
15363 hardcode_libdir_flag_spec_CXX
='$wl-blibpath:$libdir:'"$aix_libpath"
15365 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
15367 if test ia64
= "$host_cpu"; then
15368 hardcode_libdir_flag_spec_CXX
='$wl-R $libdir:/usr/lib:/lib'
15369 allow_undefined_flag_CXX
="-z nodefs"
15370 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"
15372 # Determine the default libpath from the value encoded in an
15373 # empty executable.
15374 if test set = "${lt_cv_aix_libpath+set}"; then
15375 aix_libpath
=$lt_cv_aix_libpath
15377 if ${lt_cv_aix_libpath__CXX+:} false
; then :
15378 $as_echo_n "(cached) " >&6
15380 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15381 /* end confdefs.h. */
15391 if ac_fn_cxx_try_link
"$LINENO"; then :
15393 lt_aix_libpath_sed
='
15394 /Import File Strings/,/^$/ {
15396 s/^0 *\([^ ]*\) *$/\1/
15400 lt_cv_aix_libpath__CXX
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15401 # Check for a 64-bit object if we didn't find anything.
15402 if test -z "$lt_cv_aix_libpath__CXX"; then
15403 lt_cv_aix_libpath__CXX
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15406 rm -f core conftest.err conftest.
$ac_objext \
15407 conftest
$ac_exeext conftest.
$ac_ext
15408 if test -z "$lt_cv_aix_libpath__CXX"; then
15409 lt_cv_aix_libpath__CXX
=/usr
/lib
:/lib
15414 aix_libpath
=$lt_cv_aix_libpath__CXX
15417 hardcode_libdir_flag_spec_CXX
='$wl-blibpath:$libdir:'"$aix_libpath"
15418 # Warning - without using the other run time loading flags,
15419 # -berok will link without error, but may produce a broken library.
15420 no_undefined_flag_CXX
=' $wl-bernotok'
15421 allow_undefined_flag_CXX
=' $wl-berok'
15422 if test yes = "$with_gnu_ld"; then
15423 # We only use this code for GNU lds that support --whole-archive.
15424 whole_archive_flag_spec_CXX
='$wl--whole-archive$convenience $wl--no-whole-archive'
15426 # Exported symbols can be pulled into shared objects from archives
15427 whole_archive_flag_spec_CXX
='$convenience'
15429 archive_cmds_need_lc_CXX
=yes
15430 archive_expsym_cmds_CXX
='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
15431 # -brtl affects multiple linker settings, -berok does not and is overridden later
15432 compiler_flags_filtered
='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
15433 if test svr4
!= "$with_aix_soname"; then
15434 # This is similar to how AIX traditionally builds its shared
15435 # libraries. Need -bnortl late, we may have -brtl in LDFLAGS.
15436 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'
15438 if test aix
!= "$with_aix_soname"; then
15439 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'
15441 # used by -dlpreopen to get the symbols
15442 archive_expsym_cmds_CXX
="$archive_expsym_cmds_CXX"'~$MV $output_objdir/$realname.d/$soname $output_objdir'
15444 archive_expsym_cmds_CXX
="$archive_expsym_cmds_CXX"'~$RM -r $output_objdir/$realname.d'
15450 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
15451 allow_undefined_flag_CXX
=unsupported
15452 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
15453 # support --undefined. This deserves some investigation. FIXME
15454 archive_cmds_CXX
='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
15461 case $cc_basename in
15463 # FIXME: insert proper C++ library support
15469 cygwin
* | mingw
* | pw32
* | cegcc
*)
15470 case $GXX,$cc_basename in
15473 # hardcode_libdir_flag_spec is actually meaningless, as there is
15474 # no search path for DLLs.
15475 hardcode_libdir_flag_spec_CXX
=' '
15476 allow_undefined_flag_CXX
=unsupported
15477 always_export_symbols_CXX
=yes
15478 file_list_spec_CXX
='@'
15479 # Tell ltmain to make .lib files, not .a files.
15481 # Tell ltmain to make .dll files, not .so files.
15483 # FIXME: Setting linknames here is a bad hack.
15484 archive_cmds_CXX
='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
15485 archive_expsym_cmds_CXX
='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
15486 cp "$export_symbols" "$output_objdir/$soname.def";
15487 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
15489 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
15491 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
15493 # The linker will not automatically build a static lib if we build a DLL.
15494 # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
15495 enable_shared_with_static_runtimes_CXX
=yes
15497 old_postinstall_cmds_CXX
='chmod 644 $oldlib'
15498 postlink_cmds_CXX
='lt_outputfile="@OUTPUT@"~
15499 lt_tool_outputfile="@TOOL_OUTPUT@"~
15500 case $lt_outputfile in
15503 lt_outputfile=$lt_outputfile.exe
15504 lt_tool_outputfile=$lt_tool_outputfile.exe
15507 func_to_tool_file "$lt_outputfile"~
15508 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
15509 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
15510 $RM "$lt_outputfile.manifest";
15515 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
15516 # as there is no search path for DLLs.
15517 hardcode_libdir_flag_spec_CXX
='-L$libdir'
15518 export_dynamic_flag_spec_CXX
='$wl--export-all-symbols'
15519 allow_undefined_flag_CXX
=unsupported
15520 always_export_symbols_CXX
=no
15521 enable_shared_with_static_runtimes_CXX
=yes
15523 if $LD --help 2>&1 | $GREP 'auto-import' > /dev
/null
; then
15524 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'
15525 # If the export-symbols file already is a .def file, use it as
15526 # is; otherwise, prepend EXPORTS...
15527 archive_expsym_cmds_CXX
='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
15528 cp $export_symbols $output_objdir/$soname.def;
15530 echo EXPORTS > $output_objdir/$soname.def;
15531 cat $export_symbols >> $output_objdir/$soname.def;
15533 $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'
15540 darwin
* | rhapsody
*)
15543 archive_cmds_need_lc_CXX
=no
15544 hardcode_direct_CXX
=no
15545 hardcode_automatic_CXX
=yes
15546 hardcode_shlibpath_var_CXX
=unsupported
15547 if test yes = "$lt_cv_ld_force_load"; then
15548 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\"`'
15551 whole_archive_flag_spec_CXX
=''
15553 link_all_deplibs_CXX
=yes
15554 allow_undefined_flag_CXX
=$_lt_dar_allow_undefined
15555 case $cc_basename in
15556 ifort
*|nagfor
*) _lt_dar_can_shared
=yes ;;
15557 *) _lt_dar_can_shared
=$GCC ;;
15559 if test yes = "$_lt_dar_can_shared"; then
15560 output_verbose_link_cmd
=func_echo_all
15561 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"
15562 module_cmds_CXX
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
15563 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"
15564 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"
15565 if test yes != "$lt_cv_apple_cc_single_mod"; then
15566 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"
15567 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"
15577 hardcode_libdir_flag_spec_CXX
='-L$libdir'
15578 hardcode_minus_L_CXX
=yes
15579 allow_undefined_flag_CXX
=unsupported
15581 archive_cmds_CXX
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
15582 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
15583 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
15584 $ECHO EXPORTS >> $output_objdir/$libname.def~
15585 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
15586 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
15587 emximp -o $lib $output_objdir/$libname.def'
15588 archive_expsym_cmds_CXX
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
15589 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
15590 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
15591 $ECHO EXPORTS >> $output_objdir/$libname.def~
15592 prefix_cmds="$SED"~
15593 if test EXPORTS = "`$SED 1q $export_symbols`"; then
15594 prefix_cmds="$prefix_cmds -e 1d";
15596 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
15597 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
15598 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
15599 emximp -o $lib $output_objdir/$libname.def'
15600 old_archive_From_new_cmds_CXX
='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
15601 enable_shared_with_static_runtimes_CXX
=yes
15605 case $cc_basename in
15607 # FIXME: insert proper C++ library support
15611 # Green Hills C++ Compiler
15612 # FIXME: insert proper C++ library support
15616 # FIXME: insert proper C++ library support
15623 # C++ shared libraries reported to be fairly broken before
15629 archive_cmds_need_lc_CXX
=no
15632 freebsd
* | dragonfly
*)
15633 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
15639 archive_cmds_CXX
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
15640 link_all_deplibs_CXX
=yes
15644 hardcode_libdir_flag_spec_CXX
='$wl+b $wl$libdir'
15645 hardcode_libdir_separator_CXX
=:
15646 export_dynamic_flag_spec_CXX
='$wl-E'
15647 hardcode_direct_CXX
=yes
15648 hardcode_minus_L_CXX
=yes # Not in the search PATH,
15649 # but as the default
15650 # location of the library.
15652 case $cc_basename in
15654 # FIXME: insert proper C++ library support
15658 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'
15659 # Commands to make compiler produce verbose output that lists
15660 # what "hidden" libraries, object files and flags are used when
15661 # linking a shared library.
15663 # There doesn't appear to be a way to prevent this compiler from
15664 # explicitly linking system object files so we need to strip them
15665 # from the output so that they don't get included in the library
15667 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"'
15670 if test yes = "$GXX"; then
15671 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'
15673 # FIXME: insert proper C++ library support
15681 if test no
= "$with_gnu_ld"; then
15682 hardcode_libdir_flag_spec_CXX
='$wl+b $wl$libdir'
15683 hardcode_libdir_separator_CXX
=:
15689 export_dynamic_flag_spec_CXX
='$wl-E'
15695 hardcode_direct_CXX
=no
15696 hardcode_shlibpath_var_CXX
=no
15699 hardcode_direct_CXX
=yes
15700 hardcode_direct_absolute_CXX
=yes
15701 hardcode_minus_L_CXX
=yes # Not in the search PATH,
15702 # but as the default
15703 # location of the library.
15707 case $cc_basename in
15709 # FIXME: insert proper C++ library support
15715 archive_cmds_CXX
='$CC -b $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15718 archive_cmds_CXX
='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15721 archive_cmds_CXX
='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15724 # Commands to make compiler produce verbose output that lists
15725 # what "hidden" libraries, object files and flags are used when
15726 # linking a shared library.
15728 # There doesn't appear to be a way to prevent this compiler from
15729 # explicitly linking system object files so we need to strip them
15730 # from the output so that they don't get included in the library
15732 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"'
15735 if test yes = "$GXX"; then
15736 if test no
= "$with_gnu_ld"; then
15739 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15742 archive_cmds_CXX
='$CC -shared -nostdlib $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15745 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'
15750 # FIXME: insert proper C++ library support
15758 hardcode_direct_CXX
=no
15759 hardcode_shlibpath_var_CXX
=no
15760 hardcode_libdir_flag_spec_CXX
='$wl-rpath,$libdir'
15761 export_dynamic_flag_spec_CXX
='$wl-E'
15762 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
15763 # Instead, shared libraries are loaded at an image base (0x10000000 by
15764 # default) and relocated if they conflict, which is a slow very memory
15765 # consuming and fragmenting process. To avoid this, we pick a random,
15766 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
15767 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
15768 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'
15769 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'
15772 case $cc_basename in
15775 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'
15777 # Archives containing C++ object files must be created using
15778 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
15779 # necessary to make sure instantiated templates are included
15781 old_archive_cmds_CXX
='$CC -ar -WR,-u -o $oldlib $oldobjs'
15784 if test yes = "$GXX"; then
15785 if test no
= "$with_gnu_ld"; then
15786 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'
15788 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'
15791 link_all_deplibs_CXX
=yes
15794 hardcode_libdir_flag_spec_CXX
='$wl-rpath $wl$libdir'
15795 hardcode_libdir_separator_CXX
=:
15796 inherit_rpath_CXX
=yes
15799 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
15800 case $cc_basename in
15802 # Kuck and Associates, Inc. (KAI) C++ Compiler
15804 # KCC will only create a shared library if the output file
15805 # ends with ".so" (or ".sl" for HP-UX), so rename the library
15806 # to its proper name (with version) after linking.
15807 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'
15808 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'
15809 # Commands to make compiler produce verbose output that lists
15810 # what "hidden" libraries, object files and flags are used when
15811 # linking a shared library.
15813 # There doesn't appear to be a way to prevent this compiler from
15814 # explicitly linking system object files so we need to strip them
15815 # from the output so that they don't get included in the library
15817 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"'
15819 hardcode_libdir_flag_spec_CXX
='$wl-rpath,$libdir'
15820 export_dynamic_flag_spec_CXX
='$wl--export-dynamic'
15822 # Archives containing C++ object files must be created using
15823 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
15824 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
15829 # version 8.0 and above of icpc choke on multiply defined symbols
15830 # if we add $predep_objects and $postdep_objects, however 7.1 and
15831 # earlier do not add the objects themselves.
15832 case `$CC -V 2>&1` in
15834 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
15835 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'
15837 *) # Version 8.0 or newer
15840 ia64
*) tmp_idyn
=' -i_dynamic';;
15842 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
15843 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'
15846 archive_cmds_need_lc_CXX
=no
15847 hardcode_libdir_flag_spec_CXX
='$wl-rpath,$libdir'
15848 export_dynamic_flag_spec_CXX
='$wl--export-dynamic'
15849 whole_archive_flag_spec_CXX
='$wl--whole-archive$convenience $wl--no-whole-archive'
15852 # Portland Group C++ compiler
15854 *pgCC\
[1-5].
* | *pgcpp\
[1-5].
*)
15855 prelink_cmds_CXX
='tpldir=Template.dir~
15857 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
15858 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
15859 old_archive_cmds_CXX
='tpldir=Template.dir~
15861 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
15862 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
15864 archive_cmds_CXX
='tpldir=Template.dir~
15866 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
15867 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
15868 archive_expsym_cmds_CXX
='tpldir=Template.dir~
15870 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
15871 $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'
15873 *) # Version 6 and above use weak symbols
15874 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
15875 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'
15879 hardcode_libdir_flag_spec_CXX
='$wl--rpath $wl$libdir'
15880 export_dynamic_flag_spec_CXX
='$wl--export-dynamic'
15881 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'
15885 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
15886 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'
15888 runpath_var
=LD_RUN_PATH
15889 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
15890 hardcode_libdir_separator_CXX
=:
15892 # Commands to make compiler produce verbose output that lists
15893 # what "hidden" libraries, object files and flags are used when
15894 # linking a shared library.
15896 # There doesn't appear to be a way to prevent this compiler from
15897 # explicitly linking system object files so we need to strip them
15898 # from the output so that they don't get included in the library
15900 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'
15902 xl
* | mpixl
* | bgxl
*)
15903 # IBM XL 8.0 on PPC, with GNU ld
15904 hardcode_libdir_flag_spec_CXX
='$wl-rpath $wl$libdir'
15905 export_dynamic_flag_spec_CXX
='$wl--export-dynamic'
15906 archive_cmds_CXX
='$CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
15907 if test yes = "$supports_anon_versioning"; then
15908 archive_expsym_cmds_CXX
='echo "{ global:" > $output_objdir/$libname.ver~
15909 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
15910 echo "local: *; };" >> $output_objdir/$libname.ver~
15911 $CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
15915 case `$CC -V 2>&1 | sed 5q` in
15918 no_undefined_flag_CXX
=' -zdefs'
15919 archive_cmds_CXX
='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15920 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'
15921 hardcode_libdir_flag_spec_CXX
='-R$libdir'
15922 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'
15923 compiler_needs_object_CXX
=yes
15925 # Not sure whether something based on
15926 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
15928 output_verbose_link_cmd
='func_echo_all'
15930 # Archives containing C++ object files must be created using
15931 # "CC -xar", where "CC" is the Sun C++ compiler. This is
15932 # necessary to make sure instantiated templates are included
15934 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
15942 # FIXME: insert proper C++ library support
15947 # FIXME: insert proper C++ library support
15952 case $cc_basename in
15954 # FIXME: insert proper C++ library support
15958 # FIXME: insert proper C++ library support
15965 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
15966 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
15968 hardcode_libdir_flag_spec_CXX
='-R$libdir'
15969 hardcode_direct_CXX
=yes
15970 hardcode_shlibpath_var_CXX
=no
15972 # Workaround some broken pre-1.5 toolchains
15973 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
15980 openbsd
* | bitrig
*)
15981 if test -f /usr
/libexec
/ld.so
; then
15982 hardcode_direct_CXX
=yes
15983 hardcode_shlibpath_var_CXX
=no
15984 hardcode_direct_absolute_CXX
=yes
15985 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
15986 hardcode_libdir_flag_spec_CXX
='$wl-rpath,$libdir'
15987 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`"; then
15988 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-retain-symbols-file,$export_symbols -o $lib'
15989 export_dynamic_flag_spec_CXX
='$wl-E'
15990 whole_archive_flag_spec_CXX
=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
15992 output_verbose_link_cmd
=func_echo_all
15998 osf3
* | osf4
* | osf5
*)
15999 case $cc_basename in
16001 # Kuck and Associates, Inc. (KAI) C++ Compiler
16003 # KCC will only create a shared library if the output file
16004 # ends with ".so" (or ".sl" for HP-UX), so rename the library
16005 # to its proper name (with version) after linking.
16006 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'
16008 hardcode_libdir_flag_spec_CXX
='$wl-rpath,$libdir'
16009 hardcode_libdir_separator_CXX
=:
16011 # Archives containing C++ object files must be created using
16012 # the KAI C++ compiler.
16014 osf3
*) old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs' ;;
16015 *) old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs' ;;
16019 # Rational C++ 2.4.1
16020 # FIXME: insert proper C++ library support
16026 allow_undefined_flag_CXX
=' $wl-expect_unresolved $wl\*'
16027 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'
16028 hardcode_libdir_flag_spec_CXX
='$wl-rpath $wl$libdir'
16031 allow_undefined_flag_CXX
=' -expect_unresolved \*'
16032 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'
16033 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
16034 echo "-hidden">> $lib.exp~
16035 $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~
16037 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
16041 hardcode_libdir_separator_CXX
=:
16043 # Commands to make compiler produce verbose output that lists
16044 # what "hidden" libraries, object files and flags are used when
16045 # linking a shared library.
16047 # There doesn't appear to be a way to prevent this compiler from
16048 # explicitly linking system object files so we need to strip them
16049 # from the output so that they don't get included in the library
16051 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"'
16054 if test yes,no
= "$GXX,$with_gnu_ld"; then
16055 allow_undefined_flag_CXX
=' $wl-expect_unresolved $wl\*'
16058 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'
16061 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'
16065 hardcode_libdir_flag_spec_CXX
='$wl-rpath $wl$libdir'
16066 hardcode_libdir_separator_CXX
=:
16068 # Commands to make compiler produce verbose output that lists
16069 # what "hidden" libraries, object files and flags are used when
16070 # linking a shared library.
16071 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
16074 # FIXME: insert proper C++ library support
16082 # FIXME: insert proper C++ library support
16087 case $cc_basename in
16090 # FIXME: insert proper C++ library support
16095 # FIXME: insert proper C++ library support
16099 # FIXME: insert proper C++ library support
16106 case $cc_basename in
16108 # Sun C++ 4.2, 5.x and Centerline C++
16109 archive_cmds_need_lc_CXX
=yes
16110 no_undefined_flag_CXX
=' -zdefs'
16111 archive_cmds_CXX
='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
16112 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
16113 $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'
16115 hardcode_libdir_flag_spec_CXX
='-R$libdir'
16116 hardcode_shlibpath_var_CXX
=no
16118 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
16120 # The compiler driver will combine and reorder linker options,
16121 # but understands '-z linker_flag'.
16122 # Supported since Solaris 2.6 (maybe 2.5.1?)
16123 whole_archive_flag_spec_CXX
='-z allextract$convenience -z defaultextract'
16126 link_all_deplibs_CXX
=yes
16128 output_verbose_link_cmd
='func_echo_all'
16130 # Archives containing C++ object files must be created using
16131 # "CC -xar", where "CC" is the Sun C++ compiler. This is
16132 # necessary to make sure instantiated templates are included
16134 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
16137 # Green Hills C++ Compiler
16138 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
16140 # The C++ compiler must be used to create the archive.
16141 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
16144 # GNU C++ compiler with Solaris linker
16145 if test yes,no
= "$GXX,$with_gnu_ld"; then
16146 no_undefined_flag_CXX
=' $wl-z ${wl}defs'
16147 if $CC --version | $GREP -v '^2\.7' > /dev
/null
; then
16148 archive_cmds_CXX
='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
16149 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
16150 $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'
16152 # Commands to make compiler produce verbose output that lists
16153 # what "hidden" libraries, object files and flags are used when
16154 # linking a shared library.
16155 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
16157 # g++ 2.7 appears to require '-G' NOT '-shared' on this
16159 archive_cmds_CXX
='$CC -G -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
16160 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
16161 $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'
16163 # Commands to make compiler produce verbose output that lists
16164 # what "hidden" libraries, object files and flags are used when
16165 # linking a shared library.
16166 output_verbose_link_cmd
='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
16169 hardcode_libdir_flag_spec_CXX
='$wl-R $wl$libdir'
16171 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
16173 whole_archive_flag_spec_CXX
='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
16181 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
16182 no_undefined_flag_CXX
='$wl-z,text'
16183 archive_cmds_need_lc_CXX
=no
16184 hardcode_shlibpath_var_CXX
=no
16185 runpath_var
='LD_RUN_PATH'
16187 case $cc_basename in
16189 archive_cmds_CXX
='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16190 archive_expsym_cmds_CXX
='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16193 archive_cmds_CXX
='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16194 archive_expsym_cmds_CXX
='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16199 sysv5
* | sco3.2v5
* | sco5v6
*)
16200 # Note: We CANNOT use -z defs as we might desire, because we do not
16201 # link with -lc, and that would cause any symbols used from libc to
16202 # always be unresolved, which means just about no library would
16203 # ever link correctly. If we're not using GNU ld we use -z text
16204 # though, which does catch some bad symbols but isn't as heavy-handed
16206 no_undefined_flag_CXX
='$wl-z,text'
16207 allow_undefined_flag_CXX
='$wl-z,nodefs'
16208 archive_cmds_need_lc_CXX
=no
16209 hardcode_shlibpath_var_CXX
=no
16210 hardcode_libdir_flag_spec_CXX
='$wl-R,$libdir'
16211 hardcode_libdir_separator_CXX
=':'
16212 link_all_deplibs_CXX
=yes
16213 export_dynamic_flag_spec_CXX
='$wl-Bexport'
16214 runpath_var
='LD_RUN_PATH'
16216 case $cc_basename in
16218 archive_cmds_CXX
='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16219 archive_expsym_cmds_CXX
='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16220 old_archive_cmds_CXX
='$CC -Tprelink_objects $oldobjs~
16221 '"$old_archive_cmds_CXX"
16222 reload_cmds_CXX
='$CC -Tprelink_objects $reload_objs~
16223 '"$reload_cmds_CXX"
16226 archive_cmds_CXX
='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16227 archive_expsym_cmds_CXX
='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16233 case $cc_basename in
16235 # NonStop-UX NCC 3.20
16236 # FIXME: insert proper C++ library support
16240 # FIXME: insert proper C++ library support
16247 # FIXME: insert proper C++ library support
16252 # FIXME: insert proper C++ library support
16257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
16258 $as_echo "$ld_shlibs_CXX" >&6; }
16259 test no
= "$ld_shlibs_CXX" && can_build_shared
=no
16265 ## There is no encapsulation within the following macros, do not change
16266 ## the running order or otherwise move them around unless you know exactly
16267 ## what you are doing...
16268 # Dependencies to place before and after the object being linked:
16269 predep_objects_CXX
=
16270 postdep_objects_CXX
=
16273 compiler_lib_search_path_CXX
=
16275 cat > conftest.
$ac_ext <<_LT_EOF
16279 Foo (void) { a = 0; }
16286 _lt_libdeps_save_CFLAGS
=$CFLAGS
16287 case "$CC $CFLAGS " in #(
16288 *\
-flto*\
*) CFLAGS
="$CFLAGS -fno-lto" ;;
16289 *\
-fwhopr*\
*) CFLAGS
="$CFLAGS -fno-whopr" ;;
16290 *\
-fuse-linker-plugin*\
*) CFLAGS
="$CFLAGS -fno-use-linker-plugin" ;;
16293 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
16294 (eval $ac_compile) 2>&5
16296 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16297 test $ac_status = 0; }; then
16298 # Parse the compiler output and extract the necessary
16299 # objects, libraries and library flags.
16301 # Sentinel used to keep track of whether or not we are before
16302 # the conftest object file.
16303 pre_test_object_deps_done
=no
16305 for p
in `eval "$output_verbose_link_cmd"`; do
16309 # Some compilers place space between "-{L,R}" and the path.
16310 # Remove the space.
16311 if test x
-L = "$p" ||
16312 test x
-R = "$p"; then
16317 # Expand the sysroot to ease extracting the directories later.
16318 if test -z "$prev"; then
16320 -L*) func_stripname_cnf
'-L' '' "$p"; prev
=-L; p
=$func_stripname_result ;;
16321 -R*) func_stripname_cnf
'-R' '' "$p"; prev
=-R; p
=$func_stripname_result ;;
16322 -l*) func_stripname_cnf
'-l' '' "$p"; prev
=-l; p
=$func_stripname_result ;;
16326 =*) func_stripname_cnf
'=' '' "$p"; p
=$lt_sysroot$func_stripname_result ;;
16328 if test no
= "$pre_test_object_deps_done"; then
16331 # Internal compiler library paths should come after those
16332 # provided the user. The postdeps already come after the
16333 # user supplied libs so there is no need to process them.
16334 if test -z "$compiler_lib_search_path_CXX"; then
16335 compiler_lib_search_path_CXX
=$prev$p
16337 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} $prev$p"
16340 # The "-l" case would never come before the object being
16341 # linked, so don't bother handling this case.
16344 if test -z "$postdeps_CXX"; then
16345 postdeps_CXX
=$prev$p
16347 postdeps_CXX
="${postdeps_CXX} $prev$p"
16353 *.lto.
$objext) ;; # Ignore GCC LTO objects
16355 # This assumes that the test object file only shows up
16356 # once in the compiler output.
16357 if test "$p" = "conftest.$objext"; then
16358 pre_test_object_deps_done
=yes
16362 if test no
= "$pre_test_object_deps_done"; then
16363 if test -z "$predep_objects_CXX"; then
16364 predep_objects_CXX
=$p
16366 predep_objects_CXX
="$predep_objects_CXX $p"
16369 if test -z "$postdep_objects_CXX"; then
16370 postdep_objects_CXX
=$p
16372 postdep_objects_CXX
="$postdep_objects_CXX $p"
16377 *) ;; # Ignore the rest.
16385 echo "libtool.m4: error: problem compiling CXX test program"
16388 $RM -f confest.
$objext
16389 CFLAGS
=$_lt_libdeps_save_CFLAGS
16391 # PORTME: override above test on systems where it is broken
16394 # Interix 3.5 installs completely hosed .la files for C++, so rather than
16395 # hack all around it, let's just trust "g++" to DTRT.
16396 predep_objects_CXX
=
16397 postdep_objects_CXX
=
16403 case " $postdeps_CXX " in
16404 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
16406 compiler_lib_search_dirs_CXX
=
16407 if test -n "${compiler_lib_search_path_CXX}"; then
16408 compiler_lib_search_dirs_CXX
=`echo " ${compiler_lib_search_path_CXX}" | $SED -e 's! -L! !g' -e 's!^ !!'`
16441 lt_prog_compiler_wl_CXX
=
16442 lt_prog_compiler_pic_CXX
=
16443 lt_prog_compiler_static_CXX
=
16446 # C++ specific cases for pic, static, wl, etc.
16447 if test yes = "$GXX"; then
16448 lt_prog_compiler_wl_CXX
='-Wl,'
16449 lt_prog_compiler_static_CXX
='-static'
16453 # All AIX code is PIC.
16454 if test ia64
= "$host_cpu"; then
16455 # AIX 5 now supports IA64 processor
16456 lt_prog_compiler_static_CXX
='-Bstatic'
16458 lt_prog_compiler_pic_CXX
='-fPIC'
16464 # see comment about AmigaOS4 .so support
16465 lt_prog_compiler_pic_CXX
='-fPIC'
16468 # FIXME: we need at least 68020 code to build shared libraries, but
16469 # adding the '-m68020' flag to GCC prevents building anything better,
16471 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
16476 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
16477 # PIC is the default for these OSes.
16479 mingw
* | cygwin
* | os2
* | pw32
* | cegcc
*)
16480 # This hack is so that the source file can tell whether it is being
16481 # built for inclusion in a dll (and should export symbols for example).
16482 # Although the cygwin gcc ignores -fPIC, still need this for old-style
16483 # (--disable-auto-import) libraries
16484 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
16487 lt_prog_compiler_static_CXX
='$wl-static'
16491 darwin
* | rhapsody
*)
16492 # PIC is the default on this platform
16493 # Common symbols not allowed in MH_DYLIB files
16494 lt_prog_compiler_pic_CXX
='-fno-common'
16497 # DJGPP does not support shared libraries at all
16498 lt_prog_compiler_pic_CXX
=
16501 # PIC is the default for Haiku.
16502 # The "-static" flag exists, but is broken.
16503 lt_prog_compiler_static_CXX
=
16506 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
16507 # Instead, we relocate shared libraries at runtime.
16510 if test -d /usr
/nec
; then
16511 lt_prog_compiler_pic_CXX
=-Kconform_pic
16515 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
16516 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
16517 # sets the default TLS model and affects inlining.
16522 lt_prog_compiler_pic_CXX
='-fPIC'
16527 # QNX uses GNU C++, but need to define -shared option too, otherwise
16528 # it will coredump.
16529 lt_prog_compiler_pic_CXX
='-fPIC -shared'
16532 lt_prog_compiler_pic_CXX
='-fPIC'
16538 # All AIX code is PIC.
16539 if test ia64
= "$host_cpu"; then
16540 # AIX 5 now supports IA64 processor
16541 lt_prog_compiler_static_CXX
='-Bstatic'
16543 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
16547 case $cc_basename in
16549 # Green Hills C++ Compiler
16550 # _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"
16554 mingw
* | cygwin
* | os2
* | pw32
* | cegcc
*)
16555 # This hack is so that the source file can tell whether it is being
16556 # built for inclusion in a dll (and should export symbols for example).
16557 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
16560 case $cc_basename in
16562 lt_prog_compiler_pic_CXX
='-KPIC'
16565 # Green Hills C++ Compiler
16566 lt_prog_compiler_pic_CXX
='-pic'
16572 freebsd
* | dragonfly
*)
16573 # FreeBSD uses GNU C++
16575 hpux9
* | hpux10
* | hpux11
*)
16576 case $cc_basename in
16578 lt_prog_compiler_wl_CXX
='-Wl,'
16579 lt_prog_compiler_static_CXX
='$wl-a ${wl}archive'
16580 if test ia64
!= "$host_cpu"; then
16581 lt_prog_compiler_pic_CXX
='+Z'
16585 lt_prog_compiler_wl_CXX
='-Wl,'
16586 lt_prog_compiler_static_CXX
='$wl-a ${wl}archive'
16592 lt_prog_compiler_pic_CXX
='+Z'
16601 # This is c89, which is MS Visual C++ (no shared libs)
16602 # Anyone wants to do a port?
16604 irix5
* | irix6
* | nonstopux
*)
16605 case $cc_basename in
16607 lt_prog_compiler_wl_CXX
='-Wl,'
16608 lt_prog_compiler_static_CXX
='-non_shared'
16609 # CC pic flag -KPIC is the default.
16615 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
16616 case $cc_basename in
16619 lt_prog_compiler_wl_CXX
='--backend -Wl,'
16620 lt_prog_compiler_pic_CXX
='-fPIC'
16623 # old Intel C++ for x86_64, which still supported -KPIC.
16624 lt_prog_compiler_wl_CXX
='-Wl,'
16625 lt_prog_compiler_pic_CXX
='-KPIC'
16626 lt_prog_compiler_static_CXX
='-static'
16629 # Intel C++, used to be incompatible with GCC.
16630 # ICC 10 doesn't accept -KPIC any more.
16631 lt_prog_compiler_wl_CXX
='-Wl,'
16632 lt_prog_compiler_pic_CXX
='-fPIC'
16633 lt_prog_compiler_static_CXX
='-static'
16636 # Portland Group C++ compiler
16637 lt_prog_compiler_wl_CXX
='-Wl,'
16638 lt_prog_compiler_pic_CXX
='-fpic'
16639 lt_prog_compiler_static_CXX
='-Bstatic'
16643 # Make sure the PIC flag is empty. It appears that all Alpha
16644 # Linux and Compaq Tru64 Unix objects are PIC.
16645 lt_prog_compiler_pic_CXX
=
16646 lt_prog_compiler_static_CXX
='-non_shared'
16648 xlc
* | xlC
* | bgxl
[cC
]* | mpixl
[cC
]*)
16649 # IBM XL 8.0, 9.0 on PPC and BlueGene
16650 lt_prog_compiler_wl_CXX
='-Wl,'
16651 lt_prog_compiler_pic_CXX
='-qpic'
16652 lt_prog_compiler_static_CXX
='-qstaticlink'
16655 case `$CC -V 2>&1 | sed 5q` in
16658 lt_prog_compiler_pic_CXX
='-KPIC'
16659 lt_prog_compiler_static_CXX
='-Bstatic'
16660 lt_prog_compiler_wl_CXX
='-Qoption ld '
16671 case $cc_basename in
16673 lt_prog_compiler_pic_CXX
='-W c,exportall'
16682 # QNX uses GNU C++, but need to define -shared option too, otherwise
16683 # it will coredump.
16684 lt_prog_compiler_pic_CXX
='-fPIC -shared'
16686 osf3
* | osf4
* | osf5
*)
16687 case $cc_basename in
16689 lt_prog_compiler_wl_CXX
='--backend -Wl,'
16692 # Rational C++ 2.4.1
16693 lt_prog_compiler_pic_CXX
='-pic'
16696 # Digital/Compaq C++
16697 lt_prog_compiler_wl_CXX
='-Wl,'
16698 # Make sure the PIC flag is empty. It appears that all Alpha
16699 # Linux and Compaq Tru64 Unix objects are PIC.
16700 lt_prog_compiler_pic_CXX
=
16701 lt_prog_compiler_static_CXX
='-non_shared'
16710 case $cc_basename in
16712 # Sun C++ 4.2, 5.x and Centerline C++
16713 lt_prog_compiler_pic_CXX
='-KPIC'
16714 lt_prog_compiler_static_CXX
='-Bstatic'
16715 lt_prog_compiler_wl_CXX
='-Qoption ld '
16718 # Green Hills C++ Compiler
16719 lt_prog_compiler_pic_CXX
='-PIC'
16726 case $cc_basename in
16729 lt_prog_compiler_pic_CXX
='-pic'
16730 lt_prog_compiler_static_CXX
='-Bstatic'
16734 lt_prog_compiler_pic_CXX
='-pic'
16740 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
16741 case $cc_basename in
16743 lt_prog_compiler_wl_CXX
='-Wl,'
16744 lt_prog_compiler_pic_CXX
='-KPIC'
16745 lt_prog_compiler_static_CXX
='-Bstatic'
16750 case $cc_basename in
16752 # NonStop-UX NCC 3.20
16753 lt_prog_compiler_pic_CXX
='-KPIC'
16762 lt_prog_compiler_can_build_shared_CXX
=no
16768 # For platforms that do not support PIC, -DPIC is meaningless:
16770 lt_prog_compiler_pic_CXX
=
16773 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
16777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
16778 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
16779 if ${lt_cv_prog_compiler_pic_CXX+:} false
; then :
16780 $as_echo_n "(cached) " >&6
16782 lt_cv_prog_compiler_pic_CXX
=$lt_prog_compiler_pic_CXX
16784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
16785 $as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
16786 lt_prog_compiler_pic_CXX
=$lt_cv_prog_compiler_pic_CXX
16789 # Check to make sure the PIC flag actually works.
16791 if test -n "$lt_prog_compiler_pic_CXX"; then
16792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
16793 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
16794 if ${lt_cv_prog_compiler_pic_works_CXX+:} false
; then :
16795 $as_echo_n "(cached) " >&6
16797 lt_cv_prog_compiler_pic_works_CXX
=no
16798 ac_outfile
=conftest.
$ac_objext
16799 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
16800 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC" ## exclude from sc_useless_quotes_in_assignment
16801 # Insert the option either (1) after the last *FLAGS variable, or
16802 # (2) before a word containing "conftest.", or (3) at the end.
16803 # Note that $ac_compile itself does not contain backslashes and begins
16804 # with a dollar sign (not a hyphen), so the echo should work correctly.
16805 # The option is referenced via a variable to avoid confusing sed.
16806 lt_compile
=`echo "$ac_compile" | $SED \
16807 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16808 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16809 -e 's:$: $lt_compiler_flag:'`
16810 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
16811 (eval "$lt_compile" 2>conftest.err
)
16813 cat conftest.err
>&5
16814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16815 if (exit $ac_status) && test -s "$ac_outfile"; then
16816 # The compiler can only warn and ignore the option if not recognized
16817 # So say no if there are warnings other than the usual output.
16818 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
16819 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
16820 if test ! -s conftest.er2
|| diff conftest.exp conftest.er2
>/dev
/null
; then
16821 lt_cv_prog_compiler_pic_works_CXX
=yes
16827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
16828 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
16830 if test yes = "$lt_cv_prog_compiler_pic_works_CXX"; then
16831 case $lt_prog_compiler_pic_CXX in
16833 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
16836 lt_prog_compiler_pic_CXX
=
16837 lt_prog_compiler_can_build_shared_CXX
=no
16847 # Check to make sure the static flag actually works.
16849 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
16850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
16851 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
16852 if ${lt_cv_prog_compiler_static_works_CXX+:} false
; then :
16853 $as_echo_n "(cached) " >&6
16855 lt_cv_prog_compiler_static_works_CXX
=no
16856 save_LDFLAGS
=$LDFLAGS
16857 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
16858 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
16859 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
16860 # The linker can only warn and ignore the option if not recognized
16861 # So say no if there are warnings
16862 if test -s conftest.err
; then
16863 # Append any errors to the config.log.
16864 cat conftest.err
1>&5
16865 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
16866 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
16867 if diff conftest.exp conftest.er2
>/dev
/null
; then
16868 lt_cv_prog_compiler_static_works_CXX
=yes
16871 lt_cv_prog_compiler_static_works_CXX
=yes
16875 LDFLAGS
=$save_LDFLAGS
16878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
16879 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
16881 if test yes = "$lt_cv_prog_compiler_static_works_CXX"; then
16884 lt_prog_compiler_static_CXX
=
16890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
16891 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
16892 if ${lt_cv_prog_compiler_c_o_CXX+:} false
; then :
16893 $as_echo_n "(cached) " >&6
16895 lt_cv_prog_compiler_c_o_CXX
=no
16896 $RM -r conftest
2>/dev
/null
16900 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
16902 lt_compiler_flag
="-o out/conftest2.$ac_objext"
16903 # Insert the option either (1) after the last *FLAGS variable, or
16904 # (2) before a word containing "conftest.", or (3) at the end.
16905 # Note that $ac_compile itself does not contain backslashes and begins
16906 # with a dollar sign (not a hyphen), so the echo should work correctly.
16907 lt_compile
=`echo "$ac_compile" | $SED \
16908 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16909 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16910 -e 's:$: $lt_compiler_flag:'`
16911 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
16912 (eval "$lt_compile" 2>out
/conftest.err
)
16914 cat out
/conftest.err
>&5
16915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16916 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
16918 # The compiler can only warn and ignore the option if not recognized
16919 # So say no if there are warnings
16920 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out
/conftest.exp
16921 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
16922 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
16923 lt_cv_prog_compiler_c_o_CXX
=yes
16928 # SGI C++ compiler will create directory out/ii_files/ for
16929 # template instantiation
16930 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
16931 $RM out
/* && rmdir out
16937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
16938 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
16942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
16943 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
16944 if ${lt_cv_prog_compiler_c_o_CXX+:} false
; then :
16945 $as_echo_n "(cached) " >&6
16947 lt_cv_prog_compiler_c_o_CXX
=no
16948 $RM -r conftest
2>/dev
/null
16952 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
16954 lt_compiler_flag
="-o out/conftest2.$ac_objext"
16955 # Insert the option either (1) after the last *FLAGS variable, or
16956 # (2) before a word containing "conftest.", or (3) at the end.
16957 # Note that $ac_compile itself does not contain backslashes and begins
16958 # with a dollar sign (not a hyphen), so the echo should work correctly.
16959 lt_compile
=`echo "$ac_compile" | $SED \
16960 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16961 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16962 -e 's:$: $lt_compiler_flag:'`
16963 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
16964 (eval "$lt_compile" 2>out
/conftest.err
)
16966 cat out
/conftest.err
>&5
16967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16968 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
16970 # The compiler can only warn and ignore the option if not recognized
16971 # So say no if there are warnings
16972 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out
/conftest.exp
16973 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
16974 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
16975 lt_cv_prog_compiler_c_o_CXX
=yes
16980 # SGI C++ compiler will create directory out/ii_files/ for
16981 # template instantiation
16982 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
16983 $RM out
/* && rmdir out
16989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
16990 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
16995 hard_links
=nottested
16996 if test no
= "$lt_cv_prog_compiler_c_o_CXX" && test no
!= "$need_locks"; then
16997 # do not overwrite the value of need_locks provided by the user
16998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
16999 $as_echo_n "checking if we can lock with hard links... " >&6; }
17002 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
17004 ln conftest.a conftest.b
2>&5 || hard_links
=no
17005 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
17006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
17007 $as_echo "$hard_links" >&6; }
17008 if test no
= "$hard_links"; then
17009 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
17010 $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
17019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
17020 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
17022 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
17023 exclude_expsyms_CXX
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
17026 # If we're using GNU nm, then we don't want the "-C" option.
17027 # -C means demangle to GNU nm, but means don't demangle to AIX nm.
17028 # Without the "-l" option, or with the "-B" option, AIX nm treats
17029 # weak defined symbols like other global defined symbols, whereas
17030 # GNU nm marks them as "W".
17031 # While the 'weak' keyword is ignored in the Export File, we need
17032 # it in the Import File for the 'aix-soname' feature, so we have
17033 # to replace the "-B" option with "-P" for AIX nm.
17034 if $NM -V 2>&1 | $GREP 'GNU' > /dev
/null
; then
17035 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'
17037 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'
17041 export_symbols_cmds_CXX
=$ltdll_cmds
17043 cygwin
* | mingw
* | cegcc
*)
17044 case $cc_basename in
17046 exclude_expsyms_CXX
='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
17049 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'
17050 exclude_expsyms_CXX
='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
17055 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
17059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
17060 $as_echo "$ld_shlibs_CXX" >&6; }
17061 test no
= "$ld_shlibs_CXX" && can_build_shared
=no
17063 with_gnu_ld_CXX
=$with_gnu_ld
17071 # Do we need to explicitly link libc?
17073 case "x$archive_cmds_need_lc_CXX" in
17075 # Assume -lc should be added
17076 archive_cmds_need_lc_CXX
=yes
17078 if test yes,yes = "$GCC,$enable_shared"; then
17079 case $archive_cmds_CXX in
17081 # FIXME: we may have to deal with multi-command sequences.
17084 # Test whether the compiler implicitly links with -lc since on some
17085 # systems, -lgcc has to come before -lc. If gcc already passes -lc
17086 # to ld, don't add -lc before -lgcc.
17087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
17088 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
17089 if ${lt_cv_archive_cmds_need_lc_CXX+:} false
; then :
17090 $as_echo_n "(cached) " >&6
17093 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
17095 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
17096 (eval $ac_compile) 2>&5
17098 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17099 test $ac_status = 0; } 2>conftest.err
; then
17102 libobjs
=conftest.
$ac_objext
17104 wl
=$lt_prog_compiler_wl_CXX
17105 pic_flag
=$lt_prog_compiler_pic_CXX
17111 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
17112 allow_undefined_flag_CXX
=
17113 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
17114 (eval $archive_cmds_CXX 2\
>\
&1 \
| $GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
17116 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17117 test $ac_status = 0; }
17119 lt_cv_archive_cmds_need_lc_CXX
=no
17121 lt_cv_archive_cmds_need_lc_CXX
=yes
17123 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
17125 cat conftest.err
1>&5
17130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
17131 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
17132 archive_cmds_need_lc_CXX
=$lt_cv_archive_cmds_need_lc_CXX
17200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
17201 $as_echo_n "checking dynamic linker characteristics... " >&6; }
17203 library_names_spec
=
17204 libname_spec
='lib$name'
17208 postuninstall_cmds
=
17212 shlibpath_overrides_runpath
=unknown
17214 dynamic_linker
="$host_os ld.so"
17215 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
17216 need_lib_prefix
=unknown
17217 hardcode_into_libs
=no
17219 # when you set need_version to no, make sure it does not cause -set_version
17220 # flags to be left without arguments
17221 need_version
=unknown
17227 version_type
=linux
# correct to gnu/linux during the next big refactor
17228 library_names_spec
='$libname$release$shared_ext$versuffix $libname.a'
17229 shlibpath_var
=LIBPATH
17231 # AIX 3 has no versioning support, so we append a major version to the name.
17232 soname_spec
='$libname$release$shared_ext$major'
17236 version_type
=linux
# correct to gnu/linux during the next big refactor
17239 hardcode_into_libs
=yes
17240 if test ia64
= "$host_cpu"; then
17241 # AIX 5 supports IA64
17242 library_names_spec
='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
17243 shlibpath_var
=LD_LIBRARY_PATH
17245 # With GCC up to 2.95.x, collect2 would create an import file
17246 # for dependence libraries. The import file would start with
17247 # the line '#! .'. This would cause the generated library to
17248 # depend on '.', always an invalid library. This was fixed in
17249 # development snapshots of GCC prior to 3.0.
17251 aix4
| aix4.
[01] | aix4.
[01].
*)
17252 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
17254 echo '#endif'; } | $CC -E - | $GREP yes > /dev
/null
; then
17257 can_build_shared
=no
17261 # Using Import Files as archive members, it is possible to support
17262 # filename-based versioning of shared library archives on AIX. While
17263 # this would work for both with and without runtime linking, it will
17264 # prevent static linking of such archives. So we do filename-based
17265 # shared library versioning with .so extension only, which is used
17266 # when both runtime linking and shared linking is enabled.
17267 # Unfortunately, runtime linking may impact performance, so we do
17268 # not want this to be the default eventually. Also, we use the
17269 # versioned .so libs for executables only if there is the -brtl
17270 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
17271 # To allow for filename-based versioning support, we need to create
17272 # libNAME.so.V as an archive file, containing:
17273 # *) an Import File, referring to the versioned filename of the
17274 # archive as well as the shared archive member, telling the
17275 # bitwidth (32 or 64) of that shared object, and providing the
17276 # list of exported symbols of that shared object, eventually
17277 # decorated with the 'weak' keyword
17278 # *) the shared object with the F_LOADONLY flag set, to really avoid
17279 # it being seen by the linker.
17280 # At run time we better use the real file rather than another symlink,
17281 # but for link time we create the symlink libNAME.so -> libNAME.so.V
17283 case $with_aix_soname,$aix_use_runtimelinking in
17284 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
17285 # soname into executable. Probably we can add versioning support to
17286 # collect2, so additional links can be useful in future.
17287 aix
,yes) # traditional libtool
17288 dynamic_linker
='AIX unversionable lib.so'
17289 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
17290 # instead of lib<name>.a to let people know that these are not
17291 # typical AIX shared libraries.
17292 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17294 aix
,no
) # traditional AIX only
17295 dynamic_linker
='AIX lib.a(lib.so.V)'
17296 # We preserve .a as extension for shared libraries through AIX4.2
17297 # and later when we are not doing run time linking.
17298 library_names_spec
='$libname$release.a $libname.a'
17299 soname_spec
='$libname$release$shared_ext$major'
17301 svr4
,*) # full svr4 only
17302 dynamic_linker
="AIX lib.so.V($shared_archive_member_spec.o)"
17303 library_names_spec
='$libname$release$shared_ext$major $libname$shared_ext'
17304 # We do not specify a path in Import Files, so LIBPATH fires.
17305 shlibpath_overrides_runpath
=yes
17307 *,yes) # both, prefer svr4
17308 dynamic_linker
="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
17309 library_names_spec
='$libname$release$shared_ext$major $libname$shared_ext'
17310 # unpreferred sharedlib libNAME.a needs extra handling
17311 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"'
17312 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"'
17313 # We do not specify a path in Import Files, so LIBPATH fires.
17314 shlibpath_overrides_runpath
=yes
17316 *,no
) # both, prefer aix
17317 dynamic_linker
="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
17318 library_names_spec
='$libname$release.a $libname.a'
17319 soname_spec
='$libname$release$shared_ext$major'
17320 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
17321 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)'
17322 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"'
17325 shlibpath_var
=LIBPATH
17332 # Since July 2007 AmigaOS4 officially supports .so libraries.
17333 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
17334 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17337 library_names_spec
='$libname.ixlibrary $libname.a'
17338 # Create ${libname}_ixlibrary.a entries in /sys/libs.
17339 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'
17345 library_names_spec
='$libname$shared_ext'
17346 dynamic_linker
="$host_os ld.so"
17347 shlibpath_var
=LIBRARY_PATH
17351 version_type
=linux
# correct to gnu/linux during the next big refactor
17353 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17354 soname_spec
='$libname$release$shared_ext$major'
17355 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
17356 shlibpath_var
=LD_LIBRARY_PATH
17357 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
17358 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
17359 # the default ld.so.conf also contains /usr/contrib/lib and
17360 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
17361 # libtool to hard-code these into programs
17364 cygwin
* | mingw
* | pw32
* | cegcc
*)
17365 version_type
=windows
17370 case $GCC,$cc_basename in
17373 library_names_spec
='$libname.dll.a'
17374 # DLL is installed to $(libdir)/../bin by postinstall_cmds
17375 postinstall_cmds
='base_file=`basename \$file`~
17376 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
17377 dldir=$destdir/`dirname \$dlpath`~
17378 test -d \$dldir || mkdir -p \$dldir~
17379 $install_prog $dir/$dlname \$dldir/$dlname~
17380 chmod a+x \$dldir/$dlname~
17381 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
17382 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
17384 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
17385 dlpath=$dir/\$dldll~
17387 shlibpath_overrides_runpath
=yes
17391 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
17392 soname_spec
='`echo $libname | sed -e 's
/^lib
/cyg
/'``echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
17396 # MinGW DLLs use traditional 'lib' prefix
17397 soname_spec
='$libname`echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
17400 # pw32 DLLs use 'pw' prefix rather than 'lib'
17401 library_names_spec
='`echo $libname | sed -e 's
/^lib
/pw
/'``echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
17404 dynamic_linker
='Win32 ld.exe'
17409 libname_spec
='$name'
17410 soname_spec
='$libname`echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
17411 library_names_spec
='$libname.dll.lib'
17415 sys_lib_search_path_spec
=
17418 for lt_path
in $LIB
17421 # Let DOS variable expansion print the short 8.3 style file name.
17422 lt_path
=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
17423 sys_lib_search_path_spec
="$sys_lib_search_path_spec $lt_path"
17426 # Convert to MSYS style.
17427 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
17430 # Convert to unix form, then to dos form, then back to unix form
17431 # but this time dos style (no spaces!) so that the unix form looks
17432 # like /cygdrive/c/PROGRA~1:/cygdr...
17433 sys_lib_search_path_spec
=`cygpath --path --unix "$LIB"`
17434 sys_lib_search_path_spec
=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
17435 sys_lib_search_path_spec
=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
17438 sys_lib_search_path_spec
=$LIB
17439 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev
/null
; then
17440 # It is most probably a Windows format PATH.
17441 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
17443 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
17445 # FIXME: find the short name or the path components, as spaces are
17446 # common. (e.g. "Program Files" -> "PROGRA~1")
17450 # DLL is installed to $(libdir)/../bin by postinstall_cmds
17451 postinstall_cmds
='base_file=`basename \$file`~
17452 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
17453 dldir=$destdir/`dirname \$dlpath`~
17454 test -d \$dldir || mkdir -p \$dldir~
17455 $install_prog $dir/$dlname \$dldir/$dlname'
17456 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
17457 dlpath=$dir/\$dldll~
17459 shlibpath_overrides_runpath
=yes
17460 dynamic_linker
='Win32 link.exe'
17464 # Assume MSVC wrapper
17465 library_names_spec
='$libname`echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext $libname.lib'
17466 dynamic_linker
='Win32 ld.exe'
17469 # FIXME: first we should search . and the directory the executable is in
17473 darwin
* | rhapsody
*)
17474 dynamic_linker
="$host_os dyld"
17475 version_type
=darwin
17478 library_names_spec
='$libname$release$major$shared_ext $libname$shared_ext'
17479 soname_spec
='$libname$release$major$shared_ext'
17480 shlibpath_overrides_runpath
=yes
17481 shlibpath_var
=DYLD_LIBRARY_PATH
17482 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
17484 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
17488 version_type
=linux
# correct to gnu/linux during the next big refactor
17491 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17492 soname_spec
='$libname$release$shared_ext$major'
17493 shlibpath_var
=LD_LIBRARY_PATH
17496 freebsd
* | dragonfly
*)
17497 # DragonFly does not have aout. When/if they implement a new
17498 # versioning mechanism, adjust this.
17499 if test -x /usr
/bin
/objformat
; then
17500 objformat
=`/usr/bin/objformat`
17503 freebsd
[23].
*) objformat
=aout
;;
17504 *) objformat
=elf
;;
17507 version_type
=freebsd
-$objformat
17508 case $version_type in
17510 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17511 soname_spec
='$libname$release$shared_ext$major'
17516 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
17520 shlibpath_var
=LD_LIBRARY_PATH
17523 shlibpath_overrides_runpath
=yes
17525 freebsd3.
[01]* | freebsdelf3.
[01]*)
17526 shlibpath_overrides_runpath
=yes
17527 hardcode_into_libs
=yes
17529 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
17530 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
17531 shlibpath_overrides_runpath
=no
17532 hardcode_into_libs
=yes
17534 *) # from 4.6 on, and DragonFly
17535 shlibpath_overrides_runpath
=yes
17536 hardcode_into_libs
=yes
17542 version_type
=linux
# correct to gnu/linux during the next big refactor
17545 dynamic_linker
="$host_os runtime_loader"
17546 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17547 soname_spec
='$libname$release$shared_ext$major'
17548 shlibpath_var
=LIBRARY_PATH
17549 shlibpath_overrides_runpath
=no
17550 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
17551 hardcode_into_libs
=yes
17554 hpux9
* | hpux10
* | hpux11
*)
17555 # Give a soname corresponding to the major version so that dld.sl refuses to
17556 # link against other versions.
17563 hardcode_into_libs
=yes
17564 dynamic_linker
="$host_os dld.so"
17565 shlibpath_var
=LD_LIBRARY_PATH
17566 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
17567 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17568 soname_spec
='$libname$release$shared_ext$major'
17569 if test 32 = "$HPUX_IA64_MODE"; then
17570 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
17571 sys_lib_dlsearch_path_spec
=/usr
/lib
/hpux32
17573 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
17574 sys_lib_dlsearch_path_spec
=/usr
/lib
/hpux64
17579 hardcode_into_libs
=yes
17580 dynamic_linker
="$host_os dld.sl"
17581 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
17582 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
17583 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17584 soname_spec
='$libname$release$shared_ext$major'
17585 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
17586 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
17590 dynamic_linker
="$host_os dld.sl"
17591 shlibpath_var
=SHLIB_PATH
17592 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
17593 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17594 soname_spec
='$libname$release$shared_ext$major'
17597 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
17598 postinstall_cmds
='chmod 555 $lib'
17599 # or fails outright, so override atomically:
17600 install_override_mode
=555
17604 version_type
=linux
# correct to gnu/linux during the next big refactor
17607 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17608 soname_spec
='$libname$release$shared_ext$major'
17609 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
17610 shlibpath_var
=LD_LIBRARY_PATH
17611 shlibpath_overrides_runpath
=no
17612 hardcode_into_libs
=yes
17615 irix5
* | irix6
* | nonstopux
*)
17617 nonstopux
*) version_type
=nonstopux
;;
17619 if test yes = "$lt_cv_prog_gnu_ld"; then
17620 version_type
=linux
# correct to gnu/linux during the next big refactor
17627 soname_spec
='$libname$release$shared_ext$major'
17628 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
17630 irix5
* | nonstopux
*)
17631 libsuff
= shlibsuff
=
17634 case $LD in # libtool.m4 will add one of these switches to LD
17635 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
17636 libsuff
= shlibsuff
= libmagic
=32-bit;;
17637 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
17638 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
17639 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
17640 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
17641 *) libsuff
= shlibsuff
= libmagic
=never
-match;;
17645 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
17646 shlibpath_overrides_runpath
=no
17647 sys_lib_search_path_spec
="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
17648 sys_lib_dlsearch_path_spec
="/usr/lib$libsuff /lib$libsuff"
17649 hardcode_into_libs
=yes
17652 # No shared lib support for Linux oldld, aout, or coff.
17653 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
17658 version_type
=none
# Android doesn't support versioned libraries.
17661 library_names_spec
='$libname$release$shared_ext'
17662 soname_spec
='$libname$release$shared_ext'
17664 shlibpath_var
=LD_LIBRARY_PATH
17665 shlibpath_overrides_runpath
=yes
17667 # This implies no fast_install, which is unacceptable.
17668 # Some rework will be needed to allow for fast_install
17669 # before this can be enabled.
17670 hardcode_into_libs
=yes
17672 dynamic_linker
='Android linker'
17673 # Don't embed -rpath directories since the linker doesn't support them.
17674 hardcode_libdir_flag_spec_CXX
='-L$libdir'
17677 # This must be glibc/ELF.
17678 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
17679 version_type
=linux
# correct to gnu/linux during the next big refactor
17682 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17683 soname_spec
='$libname$release$shared_ext$major'
17684 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
17685 shlibpath_var
=LD_LIBRARY_PATH
17686 shlibpath_overrides_runpath
=no
17688 # Some binutils ld are patched to set DT_RUNPATH
17689 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
17690 $as_echo_n "(cached) " >&6
17692 lt_cv_shlibpath_overrides_runpath
=no
17693 save_LDFLAGS
=$LDFLAGS
17694 save_libdir
=$libdir
17695 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
17696 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
17697 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17698 /* end confdefs.h. */
17708 if ac_fn_cxx_try_link
"$LINENO"; then :
17709 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null
| grep "RUNPATH.*$libdir" >/dev
/null
; then :
17710 lt_cv_shlibpath_overrides_runpath
=yes
17713 rm -f core conftest.err conftest.
$ac_objext \
17714 conftest
$ac_exeext conftest.
$ac_ext
17715 LDFLAGS
=$save_LDFLAGS
17716 libdir
=$save_libdir
17720 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
17722 # This implies no fast_install, which is unacceptable.
17723 # Some rework will be needed to allow for fast_install
17724 # before this can be enabled.
17725 hardcode_into_libs
=yes
17727 # Ideally, we could use ldconfig to report *all* directores which are
17728 # searched for libraries, however this is still not possible. Aside from not
17729 # being certain /sbin/ldconfig is available, command
17730 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
17731 # even though it is searched at run-time. Try to do the best guess by
17732 # appending ld.so.conf contents (and includes) to the search path.
17733 if test -f /etc
/ld.so.conf
; then
17734 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' ' '`
17735 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
17738 # We used to test for /lib/ld.so.1 and disable shared libraries on
17739 # powerpc, because MkLinux only supported shared libraries with the
17740 # GNU dynamic linker. Since this was broken with cross compilers,
17741 # most powerpc-linux boxes support dynamic linking these days and
17742 # people can always --disable-shared, the test was removed, and we
17743 # assume the GNU/Linux dynamic linker is in use.
17744 dynamic_linker
='GNU/Linux ld.so'
17751 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
17752 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
17753 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17754 dynamic_linker
='NetBSD (a.out) ld.so'
17756 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17757 soname_spec
='$libname$release$shared_ext$major'
17758 dynamic_linker
='NetBSD ld.elf_so'
17760 shlibpath_var
=LD_LIBRARY_PATH
17761 shlibpath_overrides_runpath
=yes
17762 hardcode_into_libs
=yes
17766 version_type
=linux
# correct to gnu/linux during the next big refactor
17767 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17768 shlibpath_var
=LD_LIBRARY_PATH
17769 shlibpath_overrides_runpath
=yes
17776 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17777 soname_spec
='$libname$release$shared_ext$major'
17778 shlibpath_var
=LD_LIBRARY_PATH
17779 shlibpath_overrides_runpath
=no
17780 hardcode_into_libs
=yes
17781 dynamic_linker
='ldqnx.so'
17784 openbsd
* | bitrig
*)
17786 sys_lib_dlsearch_path_spec
=/usr
/lib
17788 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
17793 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
17794 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17795 shlibpath_var
=LD_LIBRARY_PATH
17796 shlibpath_overrides_runpath
=yes
17800 libname_spec
='$name'
17801 version_type
=windows
17805 # OS/2 can only load a DLL with a base name of 8 characters or less.
17806 soname_spec
='`test -n "$os2dllname" && libname="$os2dllname";
17807 v=$($ECHO $release$versuffix | tr -d .-);
17808 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
17809 $ECHO $n$v`$shared_ext'
17810 library_names_spec
='${libname}_dll.$libext'
17811 dynamic_linker
='OS/2 ld.exe'
17812 shlibpath_var
=BEGINLIBPATH
17813 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
17814 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
17815 postinstall_cmds
='base_file=`basename \$file`~
17816 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
17817 dldir=$destdir/`dirname \$dlpath`~
17818 test -d \$dldir || mkdir -p \$dldir~
17819 $install_prog $dir/$dlname \$dldir/$dlname~
17820 chmod a+x \$dldir/$dlname~
17821 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
17822 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
17824 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
17825 dlpath=$dir/\$dldll~
17829 osf3
* | osf4
* | osf5
*)
17833 soname_spec
='$libname$release$shared_ext$major'
17834 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17835 shlibpath_var
=LD_LIBRARY_PATH
17836 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
17837 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
17845 version_type
=linux
# correct to gnu/linux during the next big refactor
17848 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17849 soname_spec
='$libname$release$shared_ext$major'
17850 shlibpath_var
=LD_LIBRARY_PATH
17851 shlibpath_overrides_runpath
=yes
17852 hardcode_into_libs
=yes
17853 # ldd complains unless libraries are executable
17854 postinstall_cmds
='chmod +x $lib'
17859 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
17860 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
17861 shlibpath_var
=LD_LIBRARY_PATH
17862 shlibpath_overrides_runpath
=yes
17863 if test yes = "$with_gnu_ld"; then
17870 version_type
=linux
# correct to gnu/linux during the next big refactor
17871 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17872 soname_spec
='$libname$release$shared_ext$major'
17873 shlibpath_var
=LD_LIBRARY_PATH
17874 case $host_vendor in
17876 shlibpath_overrides_runpath
=no
17878 runpath_var
=LD_RUN_PATH
17886 shlibpath_overrides_runpath
=no
17887 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
17893 if test -d /usr
/nec
; then
17894 version_type
=linux
# correct to gnu/linux during the next big refactor
17895 library_names_spec
='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
17896 soname_spec
='$libname$shared_ext.$major'
17897 shlibpath_var
=LD_LIBRARY_PATH
17901 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
17905 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
17906 soname_spec
='$libname$release$shared_ext$major'
17907 shlibpath_var
=LD_LIBRARY_PATH
17908 shlibpath_overrides_runpath
=yes
17909 hardcode_into_libs
=yes
17910 if test yes = "$with_gnu_ld"; then
17911 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
17913 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
17916 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
17920 sys_lib_dlsearch_path_spec
='/usr/lib'
17924 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
17925 version_type
=linux
# correct to gnu/linux during the next big refactor
17928 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17929 shlibpath_var
=LD_LIBRARY_PATH
17930 shlibpath_overrides_runpath
=no
17931 hardcode_into_libs
=yes
17935 version_type
=linux
# correct to gnu/linux during the next big refactor
17936 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17937 soname_spec
='$libname$release$shared_ext$major'
17938 shlibpath_var
=LD_LIBRARY_PATH
17945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
17946 $as_echo "$dynamic_linker" >&6; }
17947 test no
= "$dynamic_linker" && can_build_shared
=no
17949 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
17950 if test yes = "$GCC"; then
17951 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
17954 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
17955 sys_lib_search_path_spec
=$lt_cv_sys_lib_search_path_spec
17958 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
17959 sys_lib_dlsearch_path_spec
=$lt_cv_sys_lib_dlsearch_path_spec
17962 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
17963 configure_time_dlsearch_path
=$sys_lib_dlsearch_path_spec
17965 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
17966 func_munge_path_list sys_lib_dlsearch_path_spec
"$LT_SYS_LIBRARY_PATH"
17968 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
17969 configure_time_lt_sys_library_path
=$LT_SYS_LIBRARY_PATH
18010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
18011 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
18012 hardcode_action_CXX
=
18013 if test -n "$hardcode_libdir_flag_spec_CXX" ||
18014 test -n "$runpath_var_CXX" ||
18015 test yes = "$hardcode_automatic_CXX"; then
18017 # We can hardcode non-existent directories.
18018 if test no
!= "$hardcode_direct_CXX" &&
18019 # If the only mechanism to avoid hardcoding is shlibpath_var, we
18020 # have to relink, otherwise we might link with an installed library
18021 # when we should be linking with a yet-to-be-installed one
18022 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" &&
18023 test no
!= "$hardcode_minus_L_CXX"; then
18024 # Linking always hardcodes the temporary library directory.
18025 hardcode_action_CXX
=relink
18027 # We can link without hardcoding, and we can hardcode nonexisting dirs.
18028 hardcode_action_CXX
=immediate
18031 # We cannot hardcode anything, or else we can only hardcode existing
18033 hardcode_action_CXX
=unsupported
18035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
18036 $as_echo "$hardcode_action_CXX" >&6; }
18038 if test relink
= "$hardcode_action_CXX" ||
18039 test yes = "$inherit_rpath_CXX"; then
18040 # Fast installation is not supported
18041 enable_fast_install
=no
18042 elif test yes = "$shlibpath_overrides_runpath" ||
18043 test no
= "$enable_shared"; then
18044 # Fast installation is not necessary
18045 enable_fast_install
=needless
18054 fi # test -n "$compiler"
18057 CFLAGS
=$lt_save_CFLAGS
18061 with_gnu_ld
=$lt_save_with_gnu_ld
18062 lt_cv_path_LDCXX
=$lt_cv_path_LD
18063 lt_cv_path_LD
=$lt_save_path_LD
18064 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
18065 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
18066 fi # test yes != "$_lt_caught_CXX_error"
18069 ac_cpp
='$CPP $CPPFLAGS'
18070 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18071 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18072 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18088 ac_config_commands
="$ac_config_commands libtool"
18093 # Only expand once:
18098 ac_cpp
='$CXXCPP $CPPFLAGS'
18099 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18100 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18101 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18104 ax_cxx_compile_cxx11_required
=true
18106 ac_cpp
='$CXXCPP $CPPFLAGS'
18107 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18108 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18109 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX supports C++11 features by default" >&5
18112 $as_echo_n "checking whether $CXX supports C++11 features by default... " >&6; }
18113 if ${ax_cv_cxx_compile_cxx11+:} false
; then :
18114 $as_echo_n "(cached) " >&6
18116 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18117 /* end confdefs.h. */
18119 template <typename T>
18122 static_assert(sizeof(int) <= sizeof(T), "not big enough");
18126 virtual void f() {}
18128 struct Child : public Base {
18129 virtual void f() override {}
18132 typedef check<check<bool>> right_angle_brackets;
18137 typedef check<int> check_type;
18139 check_type&& cr = static_cast<check_type&&>(c);
18145 if ac_fn_cxx_try_compile
"$LINENO"; then :
18146 ax_cv_cxx_compile_cxx11
=yes
18148 ax_cv_cxx_compile_cxx11
=no
18150 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_cxx_compile_cxx11" >&5
18153 $as_echo "$ax_cv_cxx_compile_cxx11" >&6; }
18154 if test x
$ax_cv_cxx_compile_cxx11 = xyes
; then
18158 if test x
$ac_success = xno
; then
18159 for switch
in -std=gnu
++11 -std=gnu
++0x
; do
18160 cachevar
=`$as_echo "ax_cv_cxx_compile_cxx11_$switch" | $as_tr_sh`
18161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX supports C++11 features with $switch" >&5
18162 $as_echo_n "checking whether $CXX supports C++11 features with $switch... " >&6; }
18163 if eval \
${$cachevar+:} false
; then :
18164 $as_echo_n "(cached) " >&6
18166 ac_save_CXXFLAGS
="$CXXFLAGS"
18167 CXXFLAGS
="$CXXFLAGS $switch"
18168 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18169 /* end confdefs.h. */
18171 template <typename T>
18174 static_assert(sizeof(int) <= sizeof(T), "not big enough");
18178 virtual void f() {}
18180 struct Child : public Base {
18181 virtual void f() override {}
18184 typedef check<check<bool>> right_angle_brackets;
18189 typedef check<int> check_type;
18191 check_type&& cr = static_cast<check_type&&>(c);
18197 if ac_fn_cxx_try_compile
"$LINENO"; then :
18202 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18203 CXXFLAGS
="$ac_save_CXXFLAGS"
18205 eval ac_res
=\$
$cachevar
18206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
18207 $as_echo "$ac_res" >&6; }
18208 if eval test x\$
$cachevar = xyes
; then
18209 CXXFLAGS
="$CXXFLAGS $switch"
18218 ac_cpp
='$CXXCPP $CPPFLAGS'
18219 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18220 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18221 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18223 if test x
$ax_cxx_compile_cxx11_required = xtrue
; then
18224 if test x
$ac_success = xno
; then
18225 as_fn_error $?
"*** A compiler with support for C++11 language features is required." "$LINENO" 5
18228 if test x
$ac_success = xno
; then
18230 { $as_echo "$as_me:${as_lineno-$LINENO}: No compiler with C++11 support was found" >&5
18231 $as_echo "$as_me: No compiler with C++11 support was found" >&6;}
18235 $as_echo "#define HAVE_CXX11 1" >>confdefs.h
18242 OBJCXXFLAGS
="${OBJCXXFLAGS} ${CXXFLAGS##*' '}"
18251 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
18252 if test -n "$ac_tool_prefix"; then
18253 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
18254 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
18255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18256 $as_echo_n "checking for $ac_word... " >&6; }
18257 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
18258 $as_echo_n "(cached) " >&6
18260 case $PKG_CONFIG in
18262 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
18265 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18266 for as_dir
in $PATH
18269 test -z "$as_dir" && as_dir
=.
18270 for ac_exec_ext
in '' $ac_executable_extensions; do
18271 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
18272 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
18273 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18283 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
18284 if test -n "$PKG_CONFIG"; then
18285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
18286 $as_echo "$PKG_CONFIG" >&6; }
18288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18289 $as_echo "no" >&6; }
18294 if test -z "$ac_cv_path_PKG_CONFIG"; then
18295 ac_pt_PKG_CONFIG
=$PKG_CONFIG
18296 # Extract the first word of "pkg-config", so it can be a program name with args.
18297 set dummy pkg
-config; ac_word
=$2
18298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18299 $as_echo_n "checking for $ac_word... " >&6; }
18300 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
18301 $as_echo_n "(cached) " >&6
18303 case $ac_pt_PKG_CONFIG in
18305 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
18308 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18309 for as_dir
in $PATH
18312 test -z "$as_dir" && as_dir
=.
18313 for ac_exec_ext
in '' $ac_executable_extensions; do
18314 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
18315 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
18316 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18326 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
18327 if test -n "$ac_pt_PKG_CONFIG"; then
18328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
18329 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
18331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18332 $as_echo "no" >&6; }
18335 if test "x$ac_pt_PKG_CONFIG" = x
; then
18338 case $cross_compiling:$ac_tool_warned in
18340 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
18341 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
18342 ac_tool_warned
=yes ;;
18344 PKG_CONFIG
=$ac_pt_PKG_CONFIG
18347 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
18351 if test -n "$PKG_CONFIG"; then
18352 _pkg_min_version
=0.22
18353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
18354 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
18355 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
18356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18357 $as_echo "yes" >&6; }
18359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18360 $as_echo "no" >&6; }
18365 # Extract the first word of "git", so it can be a program name with args.
18366 set dummy git
; ac_word
=$2
18367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18368 $as_echo_n "checking for $ac_word... " >&6; }
18369 if ${ac_cv_path_GIT+:} false
; then :
18370 $as_echo_n "(cached) " >&6
18374 ac_cv_path_GIT
="$GIT" # Let the user override the test with a path.
18377 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18378 for as_dir
in $PATH
18381 test -z "$as_dir" && as_dir
=.
18382 for ac_exec_ext
in '' $ac_executable_extensions; do
18383 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
18384 ac_cv_path_GIT
="$as_dir/$ac_word$ac_exec_ext"
18385 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18395 GIT
=$ac_cv_path_GIT
18396 if test -n "$GIT"; then
18397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GIT" >&5
18398 $as_echo "$GIT" >&6; }
18400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18401 $as_echo "no" >&6; }
18405 # Extract the first word of "time", so it can be a program name with args.
18406 set dummy
time; ac_word
=$2
18407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18408 $as_echo_n "checking for $ac_word... " >&6; }
18409 if ${ac_cv_path_TIME+:} false
; then :
18410 $as_echo_n "(cached) " >&6
18414 ac_cv_path_TIME
="$TIME" # Let the user override the test with a path.
18417 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18418 for as_dir
in $PATH
18421 test -z "$as_dir" && as_dir
=.
18422 for ac_exec_ext
in '' $ac_executable_extensions; do
18423 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
18424 ac_cv_path_TIME
="$as_dir/$ac_word$ac_exec_ext"
18425 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18435 TIME
=$ac_cv_path_TIME
18436 if test -n "$TIME"; then
18437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TIME" >&5
18438 $as_echo "$TIME" >&6; }
18440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18441 $as_echo "no" >&6; }
18450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bison >= 3.0" >&5
18451 $as_echo_n "checking for bison >= 3.0... " >&6; }
18452 if test -z "$BISON"; then
18453 ac_path_BISON_found
=false
18454 # Loop through the user's path and test for each of PROGNAME-LIST
18455 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18456 for as_dir
in $PATH
18459 test -z "$as_dir" && as_dir
=.
18460 for ac_prog
in bison
; do
18461 for ac_exec_ext
in '' $ac_executable_extensions; do
18462 ac_path_BISON
="$as_dir/$ac_prog$ac_exec_ext"
18463 as_fn_executable_p
"$ac_path_BISON" || continue
18464 version
=`$ac_path_BISON -V | $SED -e '1 s/^bison (GNU Bison) \(.*\)$/\1/p;d'`
18465 if ${version:+false} :; then :
18468 as_awk_strverscmp
='
18469 # Use only awk features that work with 7th edition Unix awk (1978).
18470 # My, what an old awk you have, Mr. Solaris!
18472 while (length(v1) && length(v2)) {
18473 # Set d1 to be the next thing to compare from v1, and likewise for d2.
18474 # Normally this is a single character, but if v1 and v2 contain digits,
18475 # compare them as integers and fractions as strverscmp does.
18476 if (v1 ~ /^0-9/ && v2 ~ /^0-9/) {
18477 # Split v1 and v2 into their leading digit string components d1 and d2,
18478 # and advance v1 and v2 past the leading digit strings.
18479 for (len1 = 1; substr(v1, len1 + 1) ~ /^0-9/; len1++) continue
18480 for (len2 = 1; substr(v2, len2 + 1) ~ /^0-9/; len2++) continue
18481 d1 = substr(v1, 1, len1); v1 = substr(v1, len1 + 1)
18482 d2 = substr(v2, 1, len2); v2 = substr(v2, len2 + 1)
18485 # Compare two fractions.
18486 while (d1 ~ /^0/ && d2 ~ /^0/) {
18487 d1 = substr(d1, 2); len1--
18488 d2 = substr(d2, 2); len2--
18490 if (len1 != len2 && ! (len1 && len2 && substr(d1, 1, 1) == substr(d2, 1, 1))) {
18491 # The two components differ in length, and the common prefix
18492 # contains only leading zeros. Consider the longer to be less.
18496 # Otherwise, compare as strings.
18501 # A fraction is less than an integer.
18506 # An integer is greater than a fraction.
18509 # Compare two integers.
18515 # The normal case, without worrying about digits.
18516 d1 = substr(v1, 1, 1); v1 = substr(v1, 2)
18517 d2 = substr(v2, 1, 1); v2 = substr(v2, 2)
18519 if (d1 < d2) exit 1
18520 if (d1 > d2) exit 2
18522 # Beware Solaris /usr/xgp4/bin/awk (at least through Solaris 10),
18523 # which mishandles some comparisons of empty strings to integers.
18524 if (length(v2)) exit 1
18525 if (length(v1)) exit 2
18530 awk "$as_awk_strverscmp" v1
="$as_arg_v1" v2
="$as_arg_v2" /dev
/null
18535 ac_cv_path_BISON
=$ac_path_BISON ;; #(
18537 ac_cv_path_BISON
=$ac_path_BISON ;; #(
18543 $ac_path_BISON_found && break 3
18548 if test -z "$ac_cv_path_BISON"; then
18549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18550 $as_echo "no" >&6; }
18553 ac_cv_path_BISON
=$BISON
18559 BISON
=$ac_cv_path_BISON
18561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
18562 $as_echo "$BISON" >&6; }
18567 as_fn_error $?
"You need bison 3.0 or greater" "$LINENO" 5
18573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18574 $as_echo "no" >&6; }
18582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for flex >= 2.5.33" >&5
18583 $as_echo_n "checking for flex >= 2.5.33... " >&6; }
18584 if test -z "$FLEX"; then
18585 ac_path_FLEX_found
=false
18586 # Loop through the user's path and test for each of PROGNAME-LIST
18587 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18588 for as_dir
in $PATH
18591 test -z "$as_dir" && as_dir
=.
18592 for ac_prog
in flex
; do
18593 for ac_exec_ext
in '' $ac_executable_extensions; do
18594 ac_path_FLEX
="$as_dir/$ac_prog$ac_exec_ext"
18595 as_fn_executable_p
"$ac_path_FLEX" || continue
18596 version
=`$ac_path_FLEX --version | $SED -e '1 s/^[^0-9.]* \([0-9.]*\).*$/\1/p;d'`
18597 if ${version:+false} :; then :
18602 awk "$as_awk_strverscmp" v1
="$as_arg_v1" v2
="$as_arg_v2" /dev
/null
18607 ac_cv_path_FLEX
=$ac_path_FLEX ;; #(
18609 ac_cv_path_FLEX
=$ac_path_FLEX ;; #(
18615 $ac_path_FLEX_found && break 3
18620 if test -z "$ac_cv_path_FLEX"; then
18621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18622 $as_echo "no" >&6; }
18625 ac_cv_path_FLEX
=$FLEX
18631 FLEX
=$ac_cv_path_FLEX
18633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
18634 $as_echo "$FLEX" >&6; }
18639 as_fn_error $?
"You need flex 2.5.33 or greater" "$LINENO" 5
18645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18646 $as_echo "no" >&6; }
18654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gperf >= 3.0.3" >&5
18655 $as_echo_n "checking for gperf >= 3.0.3... " >&6; }
18656 if test -z "$GPERF"; then
18657 ac_path_GPERF_found
=false
18658 # Loop through the user's path and test for each of PROGNAME-LIST
18659 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18660 for as_dir
in $PATH
18663 test -z "$as_dir" && as_dir
=.
18664 for ac_prog
in gperf
; do
18665 for ac_exec_ext
in '' $ac_executable_extensions; do
18666 ac_path_GPERF
="$as_dir/$ac_prog$ac_exec_ext"
18667 as_fn_executable_p
"$ac_path_GPERF" || continue
18668 version
=`$ac_path_GPERF --version | $SED -e '1 s/^.* \([0-9.]*\)$/\1/p;d'`
18669 if ${version:+false} :; then :
18674 awk "$as_awk_strverscmp" v1
="$as_arg_v1" v2
="$as_arg_v2" /dev
/null
18679 ac_cv_path_GPERF
=$ac_path_GPERF ;; #(
18681 ac_cv_path_GPERF
=$ac_path_GPERF ;; #(
18687 $ac_path_GPERF_found && break 3
18692 if test -z "$ac_cv_path_GPERF"; then
18693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18694 $as_echo "no" >&6; }
18697 ac_cv_path_GPERF
=$GPERF
18703 GPERF
=$ac_cv_path_GPERF
18705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GPERF" >&5
18706 $as_echo "$GPERF" >&6; }
18711 as_fn_error $?
"You need gperf 3.0.3 or greater" "$LINENO" 5
18717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18718 $as_echo "no" >&6; }
18726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tar gtar gnutar >= 1.19" >&5
18727 $as_echo_n "checking for tar gtar gnutar >= 1.19... " >&6; }
18728 if test -z "$GNUTAR"; then
18729 ac_path_GNUTAR_found
=false
18730 # Loop through the user's path and test for each of PROGNAME-LIST
18731 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18732 for as_dir
in $PATH
18735 test -z "$as_dir" && as_dir
=.
18736 for ac_prog
in tar gtar gnutar
; do
18737 for ac_exec_ext
in '' $ac_executable_extensions; do
18738 ac_path_GNUTAR
="$as_dir/$ac_prog$ac_exec_ext"
18739 as_fn_executable_p
"$ac_path_GNUTAR" || continue
18740 version
=`$ac_path_GNUTAR --version | $SED -e '1 s/^tar (GNU tar) \(.*\)$/\1/p;d'`
18741 if ${version:+false} :; then :
18746 awk "$as_awk_strverscmp" v1
="$as_arg_v1" v2
="$as_arg_v2" /dev
/null
18751 ac_cv_path_GNUTAR
=$ac_path_GNUTAR ;; #(
18753 ac_cv_path_GNUTAR
=$ac_path_GNUTAR ;; #(
18759 $ac_path_GNUTAR_found && break 3
18764 if test -z "$ac_cv_path_GNUTAR"; then
18765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18766 $as_echo "no" >&6; }
18769 ac_cv_path_GNUTAR
=$GNUTAR
18775 GNUTAR
=$ac_cv_path_GNUTAR
18777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNUTAR" >&5
18778 $as_echo "$GNUTAR" >&6; }
18783 as_fn_error $?
"You need tar gtar gnutar 1.19 or greater" "$LINENO" 5
18789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18790 $as_echo "no" >&6; }
18801 if test "x$LFLAGS" = x
; then :
18802 LFLAGS
="--full --ecs"
18810 ac_cpp
='$CPP $CPPFLAGS'
18811 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18812 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18813 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking CFLAGS for maximum warnings" >&5
18816 $as_echo_n "checking CFLAGS for maximum warnings... " >&6; }
18817 if ${ac_cv_cflags_warn_all+:} false
; then :
18818 $as_echo_n "(cached) " >&6
18820 ac_cv_cflags_warn_all
="no, unknown"
18821 ac_save_CFLAGS
="$CFLAGS"
18822 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" #
18823 do CFLAGS
="$ac_save_CFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
18824 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18825 /* end confdefs.h. */
18835 if ac_fn_c_try_compile
"$LINENO"; then :
18836 ac_cv_cflags_warn_all
=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
18838 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18840 CFLAGS
="$ac_save_CFLAGS"
18843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags_warn_all" >&5
18844 $as_echo "$ac_cv_cflags_warn_all" >&6; }
18847 case ".$ac_cv_cflags_warn_all" in
18850 *) if ${CFLAGS+:} false
; then :
18851 case " $CFLAGS " in
18852 *" $ac_cv_cflags_warn_all "*)
18853 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$ac_cv_cflags_warn_all"; } >&5
18854 (: CFLAGS already contains
$ac_cv_cflags_warn_all) 2>&5
18856 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18857 test $ac_status = 0; }
18860 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$ac_cv_cflags_warn_all\""; } >&5
18861 (: CFLAGS
="$CFLAGS $ac_cv_cflags_warn_all") 2>&5
18863 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18864 test $ac_status = 0; }
18865 CFLAGS
="$CFLAGS $ac_cv_cflags_warn_all"
18869 CFLAGS
="$ac_cv_cflags_warn_all"
18875 ac_cpp
='$CXXCPP $CPPFLAGS'
18876 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18877 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18878 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18882 ac_cpp
='$CXXCPP $CPPFLAGS'
18883 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18884 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18885 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking CXXFLAGS for maximum warnings" >&5
18888 $as_echo_n "checking CXXFLAGS for maximum warnings... " >&6; }
18889 if ${ac_cv_cxxflags_warn_all+:} false
; then :
18890 $as_echo_n "(cached) " >&6
18892 ac_cv_cxxflags_warn_all
="no, unknown"
18893 ac_save_CXXFLAGS
="$CXXFLAGS"
18894 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" #
18895 do CXXFLAGS
="$ac_save_CXXFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
18896 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18897 /* end confdefs.h. */
18907 if ac_fn_cxx_try_compile
"$LINENO"; then :
18908 ac_cv_cxxflags_warn_all
=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
18910 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18912 CXXFLAGS
="$ac_save_CXXFLAGS"
18915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxxflags_warn_all" >&5
18916 $as_echo "$ac_cv_cxxflags_warn_all" >&6; }
18919 case ".$ac_cv_cxxflags_warn_all" in
18922 *) if ${CXXFLAGS+:} false
; then :
18923 case " $CXXFLAGS " in
18924 *" $ac_cv_cxxflags_warn_all "*)
18925 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXFLAGS already contains \$ac_cv_cxxflags_warn_all"; } >&5
18926 (: CXXFLAGS already contains
$ac_cv_cxxflags_warn_all) 2>&5
18928 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18929 test $ac_status = 0; }
18932 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXFLAGS=\"\$CXXFLAGS \$ac_cv_cxxflags_warn_all\""; } >&5
18933 (: CXXFLAGS
="$CXXFLAGS $ac_cv_cxxflags_warn_all") 2>&5
18935 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18936 test $ac_status = 0; }
18937 CXXFLAGS
="$CXXFLAGS $ac_cv_cxxflags_warn_all"
18941 CXXFLAGS
="$ac_cv_cxxflags_warn_all"
18947 ac_cpp
='$CXXCPP $CPPFLAGS'
18948 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18949 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18950 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking CXXFLAGS for maximum warnings" >&5
18954 $as_echo_n "checking CXXFLAGS for maximum warnings... " >&6; }
18955 if ${ac_cv_cxxflags_warn_all+:} false
; then :
18956 $as_echo_n "(cached) " >&6
18958 ac_cv_cxxflags_warn_all
="no, unknown"
18959 ac_save_CXXFLAGS
="$CXXFLAGS"
18960 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" #
18961 do CXXFLAGS
="$ac_save_CXXFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
18962 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18963 /* end confdefs.h. */
18973 if ac_fn_cxx_try_compile
"$LINENO"; then :
18974 ac_cv_cxxflags_warn_all
=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
18976 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18978 CXXFLAGS
="$ac_save_CXXFLAGS"
18981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxxflags_warn_all" >&5
18982 $as_echo "$ac_cv_cxxflags_warn_all" >&6; }
18985 case ".$ac_cv_cxxflags_warn_all" in
18988 *) if ${CXXFLAGS+:} false
; then :
18989 case " $CXXFLAGS " in
18990 *" $ac_cv_cxxflags_warn_all "*)
18991 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXFLAGS already contains \$ac_cv_cxxflags_warn_all"; } >&5
18992 (: CXXFLAGS already contains
$ac_cv_cxxflags_warn_all) 2>&5
18994 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18995 test $ac_status = 0; }
18998 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXFLAGS=\"\$CXXFLAGS \$ac_cv_cxxflags_warn_all\""; } >&5
18999 (: CXXFLAGS
="$CXXFLAGS $ac_cv_cxxflags_warn_all") 2>&5
19001 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19002 test $ac_status = 0; }
19003 CXXFLAGS
="$CXXFLAGS $ac_cv_cxxflags_warn_all"
19007 CXXFLAGS
="$ac_cv_cxxflags_warn_all"
19017 ac_cpp
='$CPP $CPPFLAGS'
19018 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19019 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19020 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cc -Werror" >&5
19023 $as_echo_n "checking for cc -Werror... " >&6; }
19027 for element
in -Werror; do
19029 for x
in $CFLAGS; do
19031 acl_save_prefix
="$prefix"
19032 prefix
="$acl_final_prefix"
19033 acl_save_exec_prefix
="$exec_prefix"
19034 exec_prefix
="$acl_final_exec_prefix"
19036 exec_prefix
="$acl_save_exec_prefix"
19037 prefix
="$acl_save_prefix"
19039 if test "X$x" = "X$element"; then
19044 if test -z "$haveit"; then
19045 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
19050 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19051 /* end confdefs.h. */
19054 if ac_fn_c_try_compile
"$LINENO"; then :
19059 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19062 if test "x$cy_good" = x1
; then :
19063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19064 $as_echo "yes" >&6; }
19066 for element
in -Werror; do
19068 for x
in $CFLAGS; do
19070 acl_save_prefix
="$prefix"
19071 prefix
="$acl_final_prefix"
19072 acl_save_exec_prefix
="$exec_prefix"
19073 exec_prefix
="$acl_final_exec_prefix"
19075 exec_prefix
="$acl_save_exec_prefix"
19076 prefix
="$acl_save_prefix"
19078 if test "X$x" = "X$element"; then
19083 if test -z "$haveit"; then
19084 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
19090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19091 $as_echo "no" >&6; }
19095 ac_cpp
='$CXXCPP $CPPFLAGS'
19096 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19097 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19098 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19103 ac_cpp
='$CXXCPP $CPPFLAGS'
19104 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19105 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19106 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -Werror" >&5
19109 $as_echo_n "checking for c++ -Werror... " >&6; }
19113 for element
in -Werror; do
19115 for x
in $CXXFLAGS; do
19117 acl_save_prefix
="$prefix"
19118 prefix
="$acl_final_prefix"
19119 acl_save_exec_prefix
="$exec_prefix"
19120 exec_prefix
="$acl_final_exec_prefix"
19122 exec_prefix
="$acl_save_exec_prefix"
19123 prefix
="$acl_save_prefix"
19125 if test "X$x" = "X$element"; then
19130 if test -z "$haveit"; then
19131 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
19136 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19137 /* end confdefs.h. */
19140 if ac_fn_cxx_try_compile
"$LINENO"; then :
19145 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19148 if test "x$cy_good" = x1
; then :
19149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19150 $as_echo "yes" >&6; }
19152 for element
in -Werror; do
19154 for x
in $CXXFLAGS; do
19156 acl_save_prefix
="$prefix"
19157 prefix
="$acl_final_prefix"
19158 acl_save_exec_prefix
="$exec_prefix"
19159 exec_prefix
="$acl_final_exec_prefix"
19161 exec_prefix
="$acl_save_exec_prefix"
19162 prefix
="$acl_save_prefix"
19164 if test "X$x" = "X$element"; then
19169 if test -z "$haveit"; then
19170 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
19176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19177 $as_echo "no" >&6; }
19181 ac_cpp
='$CXXCPP $CPPFLAGS'
19182 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19183 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19184 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19189 ac_cpp
='$OBJCXXCPP $CPPFLAGS'
19190 ac_compile
='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19191 ac_link
='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19192 ac_compiler_gnu
=$ac_cv_objcxx_compiler_gnu
19194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -ObjC -Werror" >&5
19195 $as_echo_n "checking for c++ -ObjC -Werror... " >&6; }
19197 cy_save
=$OBJCXXFLAGS
19199 for element
in -Werror; do
19201 for x
in $OBJCXXFLAGS; do
19203 acl_save_prefix
="$prefix"
19204 prefix
="$acl_final_prefix"
19205 acl_save_exec_prefix
="$exec_prefix"
19206 exec_prefix
="$acl_final_exec_prefix"
19208 exec_prefix
="$acl_save_exec_prefix"
19209 prefix
="$acl_save_prefix"
19211 if test "X$x" = "X$element"; then
19216 if test -z "$haveit"; then
19217 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
19222 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19223 /* end confdefs.h. */
19226 if ac_fn_objcxx_try_compile
"$LINENO"; then :
19231 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19233 OBJCXXFLAGS
=$cy_save
19234 if test "x$cy_good" = x1
; then :
19235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19236 $as_echo "yes" >&6; }
19238 for element
in -Werror; do
19240 for x
in $OBJCXXFLAGS; do
19242 acl_save_prefix
="$prefix"
19243 prefix
="$acl_final_prefix"
19244 acl_save_exec_prefix
="$exec_prefix"
19245 exec_prefix
="$acl_final_exec_prefix"
19247 exec_prefix
="$acl_save_exec_prefix"
19248 prefix
="$acl_save_prefix"
19250 if test "X$x" = "X$element"; then
19255 if test -z "$haveit"; then
19256 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
19262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19263 $as_echo "no" >&6; }
19267 ac_cpp
='$CXXCPP $CPPFLAGS'
19268 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19269 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19270 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19278 ac_cpp
='$CPP $CPPFLAGS'
19279 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19280 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19281 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cc -Wno-deprecated-declarations" >&5
19284 $as_echo_n "checking for cc -Wno-deprecated-declarations... " >&6; }
19288 for element
in -Wno-deprecated-declarations; do
19290 for x
in $CFLAGS; do
19292 acl_save_prefix
="$prefix"
19293 prefix
="$acl_final_prefix"
19294 acl_save_exec_prefix
="$exec_prefix"
19295 exec_prefix
="$acl_final_exec_prefix"
19297 exec_prefix
="$acl_save_exec_prefix"
19298 prefix
="$acl_save_prefix"
19300 if test "X$x" = "X$element"; then
19305 if test -z "$haveit"; then
19306 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
19311 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19312 /* end confdefs.h. */
19315 if ac_fn_c_try_compile
"$LINENO"; then :
19320 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19323 if test "x$cy_good" = x1
; then :
19324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19325 $as_echo "yes" >&6; }
19327 for element
in -Wno-deprecated-declarations; do
19329 for x
in $CFLAGS; do
19331 acl_save_prefix
="$prefix"
19332 prefix
="$acl_final_prefix"
19333 acl_save_exec_prefix
="$exec_prefix"
19334 exec_prefix
="$acl_final_exec_prefix"
19336 exec_prefix
="$acl_save_exec_prefix"
19337 prefix
="$acl_save_prefix"
19339 if test "X$x" = "X$element"; then
19344 if test -z "$haveit"; then
19345 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
19351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19352 $as_echo "no" >&6; }
19356 ac_cpp
='$CXXCPP $CPPFLAGS'
19357 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19358 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19359 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19364 ac_cpp
='$CXXCPP $CPPFLAGS'
19365 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19366 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19367 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -Wno-deprecated-declarations" >&5
19370 $as_echo_n "checking for c++ -Wno-deprecated-declarations... " >&6; }
19374 for element
in -Wno-deprecated-declarations; do
19376 for x
in $CXXFLAGS; do
19378 acl_save_prefix
="$prefix"
19379 prefix
="$acl_final_prefix"
19380 acl_save_exec_prefix
="$exec_prefix"
19381 exec_prefix
="$acl_final_exec_prefix"
19383 exec_prefix
="$acl_save_exec_prefix"
19384 prefix
="$acl_save_prefix"
19386 if test "X$x" = "X$element"; then
19391 if test -z "$haveit"; then
19392 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
19397 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19398 /* end confdefs.h. */
19401 if ac_fn_cxx_try_compile
"$LINENO"; then :
19406 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19409 if test "x$cy_good" = x1
; then :
19410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19411 $as_echo "yes" >&6; }
19413 for element
in -Wno-deprecated-declarations; do
19415 for x
in $CXXFLAGS; do
19417 acl_save_prefix
="$prefix"
19418 prefix
="$acl_final_prefix"
19419 acl_save_exec_prefix
="$exec_prefix"
19420 exec_prefix
="$acl_final_exec_prefix"
19422 exec_prefix
="$acl_save_exec_prefix"
19423 prefix
="$acl_save_prefix"
19425 if test "X$x" = "X$element"; then
19430 if test -z "$haveit"; then
19431 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
19437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19438 $as_echo "no" >&6; }
19442 ac_cpp
='$CXXCPP $CPPFLAGS'
19443 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19444 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19445 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19450 ac_cpp
='$OBJCXXCPP $CPPFLAGS'
19451 ac_compile
='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19452 ac_link
='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19453 ac_compiler_gnu
=$ac_cv_objcxx_compiler_gnu
19455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -ObjC -Wno-deprecated-declarations" >&5
19456 $as_echo_n "checking for c++ -ObjC -Wno-deprecated-declarations... " >&6; }
19458 cy_save
=$OBJCXXFLAGS
19460 for element
in -Wno-deprecated-declarations; do
19462 for x
in $OBJCXXFLAGS; do
19464 acl_save_prefix
="$prefix"
19465 prefix
="$acl_final_prefix"
19466 acl_save_exec_prefix
="$exec_prefix"
19467 exec_prefix
="$acl_final_exec_prefix"
19469 exec_prefix
="$acl_save_exec_prefix"
19470 prefix
="$acl_save_prefix"
19472 if test "X$x" = "X$element"; then
19477 if test -z "$haveit"; then
19478 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
19483 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19484 /* end confdefs.h. */
19487 if ac_fn_objcxx_try_compile
"$LINENO"; then :
19492 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19494 OBJCXXFLAGS
=$cy_save
19495 if test "x$cy_good" = x1
; then :
19496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19497 $as_echo "yes" >&6; }
19499 for element
in -Wno-deprecated-declarations; do
19501 for x
in $OBJCXXFLAGS; do
19503 acl_save_prefix
="$prefix"
19504 prefix
="$acl_final_prefix"
19505 acl_save_exec_prefix
="$exec_prefix"
19506 exec_prefix
="$acl_final_exec_prefix"
19508 exec_prefix
="$acl_save_exec_prefix"
19509 prefix
="$acl_save_prefix"
19511 if test "X$x" = "X$element"; then
19516 if test -z "$haveit"; then
19517 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
19523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19524 $as_echo "no" >&6; }
19528 ac_cpp
='$CXXCPP $CPPFLAGS'
19529 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19530 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19531 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19539 ac_cpp
='$CPP $CPPFLAGS'
19540 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19541 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19542 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cc -Wno-dangling-else" >&5
19545 $as_echo_n "checking for cc -Wno-dangling-else... " >&6; }
19549 for element
in -Wno-dangling-else; do
19551 for x
in $CFLAGS; do
19553 acl_save_prefix
="$prefix"
19554 prefix
="$acl_final_prefix"
19555 acl_save_exec_prefix
="$exec_prefix"
19556 exec_prefix
="$acl_final_exec_prefix"
19558 exec_prefix
="$acl_save_exec_prefix"
19559 prefix
="$acl_save_prefix"
19561 if test "X$x" = "X$element"; then
19566 if test -z "$haveit"; then
19567 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
19572 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19573 /* end confdefs.h. */
19576 if ac_fn_c_try_compile
"$LINENO"; then :
19581 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19584 if test "x$cy_good" = x1
; then :
19585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19586 $as_echo "yes" >&6; }
19588 for element
in -Wno-dangling-else; do
19590 for x
in $CFLAGS; do
19592 acl_save_prefix
="$prefix"
19593 prefix
="$acl_final_prefix"
19594 acl_save_exec_prefix
="$exec_prefix"
19595 exec_prefix
="$acl_final_exec_prefix"
19597 exec_prefix
="$acl_save_exec_prefix"
19598 prefix
="$acl_save_prefix"
19600 if test "X$x" = "X$element"; then
19605 if test -z "$haveit"; then
19606 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
19612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19613 $as_echo "no" >&6; }
19617 ac_cpp
='$CXXCPP $CPPFLAGS'
19618 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19619 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19620 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19625 ac_cpp
='$CXXCPP $CPPFLAGS'
19626 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19627 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19628 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -Wno-dangling-else" >&5
19631 $as_echo_n "checking for c++ -Wno-dangling-else... " >&6; }
19635 for element
in -Wno-dangling-else; do
19637 for x
in $CXXFLAGS; do
19639 acl_save_prefix
="$prefix"
19640 prefix
="$acl_final_prefix"
19641 acl_save_exec_prefix
="$exec_prefix"
19642 exec_prefix
="$acl_final_exec_prefix"
19644 exec_prefix
="$acl_save_exec_prefix"
19645 prefix
="$acl_save_prefix"
19647 if test "X$x" = "X$element"; then
19652 if test -z "$haveit"; then
19653 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
19658 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19659 /* end confdefs.h. */
19662 if ac_fn_cxx_try_compile
"$LINENO"; then :
19667 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19670 if test "x$cy_good" = x1
; then :
19671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19672 $as_echo "yes" >&6; }
19674 for element
in -Wno-dangling-else; do
19676 for x
in $CXXFLAGS; do
19678 acl_save_prefix
="$prefix"
19679 prefix
="$acl_final_prefix"
19680 acl_save_exec_prefix
="$exec_prefix"
19681 exec_prefix
="$acl_final_exec_prefix"
19683 exec_prefix
="$acl_save_exec_prefix"
19684 prefix
="$acl_save_prefix"
19686 if test "X$x" = "X$element"; then
19691 if test -z "$haveit"; then
19692 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
19698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19699 $as_echo "no" >&6; }
19703 ac_cpp
='$CXXCPP $CPPFLAGS'
19704 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19705 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19706 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19711 ac_cpp
='$OBJCXXCPP $CPPFLAGS'
19712 ac_compile
='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19713 ac_link
='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19714 ac_compiler_gnu
=$ac_cv_objcxx_compiler_gnu
19716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -ObjC -Wno-dangling-else" >&5
19717 $as_echo_n "checking for c++ -ObjC -Wno-dangling-else... " >&6; }
19719 cy_save
=$OBJCXXFLAGS
19721 for element
in -Wno-dangling-else; do
19723 for x
in $OBJCXXFLAGS; do
19725 acl_save_prefix
="$prefix"
19726 prefix
="$acl_final_prefix"
19727 acl_save_exec_prefix
="$exec_prefix"
19728 exec_prefix
="$acl_final_exec_prefix"
19730 exec_prefix
="$acl_save_exec_prefix"
19731 prefix
="$acl_save_prefix"
19733 if test "X$x" = "X$element"; then
19738 if test -z "$haveit"; then
19739 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
19744 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19745 /* end confdefs.h. */
19748 if ac_fn_objcxx_try_compile
"$LINENO"; then :
19753 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19755 OBJCXXFLAGS
=$cy_save
19756 if test "x$cy_good" = x1
; then :
19757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19758 $as_echo "yes" >&6; }
19760 for element
in -Wno-dangling-else; do
19762 for x
in $OBJCXXFLAGS; do
19764 acl_save_prefix
="$prefix"
19765 prefix
="$acl_final_prefix"
19766 acl_save_exec_prefix
="$exec_prefix"
19767 exec_prefix
="$acl_final_exec_prefix"
19769 exec_prefix
="$acl_save_exec_prefix"
19770 prefix
="$acl_save_prefix"
19772 if test "X$x" = "X$element"; then
19777 if test -z "$haveit"; then
19778 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
19784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19785 $as_echo "no" >&6; }
19789 ac_cpp
='$CXXCPP $CPPFLAGS'
19790 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19791 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19792 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19799 ac_cpp
='$CPP $CPPFLAGS'
19800 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19801 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19802 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cc -Wno-empty-body" >&5
19805 $as_echo_n "checking for cc -Wno-empty-body... " >&6; }
19809 for element
in -Wno-empty-body; do
19811 for x
in $CFLAGS; do
19813 acl_save_prefix
="$prefix"
19814 prefix
="$acl_final_prefix"
19815 acl_save_exec_prefix
="$exec_prefix"
19816 exec_prefix
="$acl_final_exec_prefix"
19818 exec_prefix
="$acl_save_exec_prefix"
19819 prefix
="$acl_save_prefix"
19821 if test "X$x" = "X$element"; then
19826 if test -z "$haveit"; then
19827 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
19832 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19833 /* end confdefs.h. */
19836 if ac_fn_c_try_compile
"$LINENO"; then :
19841 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19844 if test "x$cy_good" = x1
; then :
19845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19846 $as_echo "yes" >&6; }
19848 for element
in -Wno-empty-body; do
19850 for x
in $CFLAGS; do
19852 acl_save_prefix
="$prefix"
19853 prefix
="$acl_final_prefix"
19854 acl_save_exec_prefix
="$exec_prefix"
19855 exec_prefix
="$acl_final_exec_prefix"
19857 exec_prefix
="$acl_save_exec_prefix"
19858 prefix
="$acl_save_prefix"
19860 if test "X$x" = "X$element"; then
19865 if test -z "$haveit"; then
19866 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
19872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19873 $as_echo "no" >&6; }
19877 ac_cpp
='$CXXCPP $CPPFLAGS'
19878 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19879 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19880 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19885 ac_cpp
='$CXXCPP $CPPFLAGS'
19886 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19887 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19888 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -Wno-empty-body" >&5
19891 $as_echo_n "checking for c++ -Wno-empty-body... " >&6; }
19895 for element
in -Wno-empty-body; do
19897 for x
in $CXXFLAGS; do
19899 acl_save_prefix
="$prefix"
19900 prefix
="$acl_final_prefix"
19901 acl_save_exec_prefix
="$exec_prefix"
19902 exec_prefix
="$acl_final_exec_prefix"
19904 exec_prefix
="$acl_save_exec_prefix"
19905 prefix
="$acl_save_prefix"
19907 if test "X$x" = "X$element"; then
19912 if test -z "$haveit"; then
19913 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
19918 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19919 /* end confdefs.h. */
19922 if ac_fn_cxx_try_compile
"$LINENO"; then :
19927 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19930 if test "x$cy_good" = x1
; then :
19931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19932 $as_echo "yes" >&6; }
19934 for element
in -Wno-empty-body; do
19936 for x
in $CXXFLAGS; do
19938 acl_save_prefix
="$prefix"
19939 prefix
="$acl_final_prefix"
19940 acl_save_exec_prefix
="$exec_prefix"
19941 exec_prefix
="$acl_final_exec_prefix"
19943 exec_prefix
="$acl_save_exec_prefix"
19944 prefix
="$acl_save_prefix"
19946 if test "X$x" = "X$element"; then
19951 if test -z "$haveit"; then
19952 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
19958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19959 $as_echo "no" >&6; }
19963 ac_cpp
='$CXXCPP $CPPFLAGS'
19964 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19965 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19966 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19971 ac_cpp
='$OBJCXXCPP $CPPFLAGS'
19972 ac_compile
='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19973 ac_link
='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19974 ac_compiler_gnu
=$ac_cv_objcxx_compiler_gnu
19976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -ObjC -Wno-empty-body" >&5
19977 $as_echo_n "checking for c++ -ObjC -Wno-empty-body... " >&6; }
19979 cy_save
=$OBJCXXFLAGS
19981 for element
in -Wno-empty-body; do
19983 for x
in $OBJCXXFLAGS; do
19985 acl_save_prefix
="$prefix"
19986 prefix
="$acl_final_prefix"
19987 acl_save_exec_prefix
="$exec_prefix"
19988 exec_prefix
="$acl_final_exec_prefix"
19990 exec_prefix
="$acl_save_exec_prefix"
19991 prefix
="$acl_save_prefix"
19993 if test "X$x" = "X$element"; then
19998 if test -z "$haveit"; then
19999 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
20004 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20005 /* end confdefs.h. */
20008 if ac_fn_objcxx_try_compile
"$LINENO"; then :
20013 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20015 OBJCXXFLAGS
=$cy_save
20016 if test "x$cy_good" = x1
; then :
20017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20018 $as_echo "yes" >&6; }
20020 for element
in -Wno-empty-body; do
20022 for x
in $OBJCXXFLAGS; do
20024 acl_save_prefix
="$prefix"
20025 prefix
="$acl_final_prefix"
20026 acl_save_exec_prefix
="$exec_prefix"
20027 exec_prefix
="$acl_final_exec_prefix"
20029 exec_prefix
="$acl_save_exec_prefix"
20030 prefix
="$acl_save_prefix"
20032 if test "X$x" = "X$element"; then
20037 if test -z "$haveit"; then
20038 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
20044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20045 $as_echo "no" >&6; }
20049 ac_cpp
='$CXXCPP $CPPFLAGS'
20050 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20051 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20052 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20059 ac_cpp
='$CPP $CPPFLAGS'
20060 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20061 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20062 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cc -Wno-overloaded-virtual" >&5
20065 $as_echo_n "checking for cc -Wno-overloaded-virtual... " >&6; }
20069 for element
in -Wno-overloaded-virtual; do
20071 for x
in $CFLAGS; do
20073 acl_save_prefix
="$prefix"
20074 prefix
="$acl_final_prefix"
20075 acl_save_exec_prefix
="$exec_prefix"
20076 exec_prefix
="$acl_final_exec_prefix"
20078 exec_prefix
="$acl_save_exec_prefix"
20079 prefix
="$acl_save_prefix"
20081 if test "X$x" = "X$element"; then
20086 if test -z "$haveit"; then
20087 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
20092 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20093 /* end confdefs.h. */
20096 if ac_fn_c_try_compile
"$LINENO"; then :
20101 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20104 if test "x$cy_good" = x1
; then :
20105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20106 $as_echo "yes" >&6; }
20108 for element
in -Wno-overloaded-virtual; do
20110 for x
in $CFLAGS; do
20112 acl_save_prefix
="$prefix"
20113 prefix
="$acl_final_prefix"
20114 acl_save_exec_prefix
="$exec_prefix"
20115 exec_prefix
="$acl_final_exec_prefix"
20117 exec_prefix
="$acl_save_exec_prefix"
20118 prefix
="$acl_save_prefix"
20120 if test "X$x" = "X$element"; then
20125 if test -z "$haveit"; then
20126 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
20132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20133 $as_echo "no" >&6; }
20137 ac_cpp
='$CXXCPP $CPPFLAGS'
20138 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20139 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20140 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20145 ac_cpp
='$CXXCPP $CPPFLAGS'
20146 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20147 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20148 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -Wno-overloaded-virtual" >&5
20151 $as_echo_n "checking for c++ -Wno-overloaded-virtual... " >&6; }
20155 for element
in -Wno-overloaded-virtual; do
20157 for x
in $CXXFLAGS; do
20159 acl_save_prefix
="$prefix"
20160 prefix
="$acl_final_prefix"
20161 acl_save_exec_prefix
="$exec_prefix"
20162 exec_prefix
="$acl_final_exec_prefix"
20164 exec_prefix
="$acl_save_exec_prefix"
20165 prefix
="$acl_save_prefix"
20167 if test "X$x" = "X$element"; then
20172 if test -z "$haveit"; then
20173 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
20178 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20179 /* end confdefs.h. */
20182 if ac_fn_cxx_try_compile
"$LINENO"; then :
20187 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20190 if test "x$cy_good" = x1
; then :
20191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20192 $as_echo "yes" >&6; }
20194 for element
in -Wno-overloaded-virtual; do
20196 for x
in $CXXFLAGS; do
20198 acl_save_prefix
="$prefix"
20199 prefix
="$acl_final_prefix"
20200 acl_save_exec_prefix
="$exec_prefix"
20201 exec_prefix
="$acl_final_exec_prefix"
20203 exec_prefix
="$acl_save_exec_prefix"
20204 prefix
="$acl_save_prefix"
20206 if test "X$x" = "X$element"; then
20211 if test -z "$haveit"; then
20212 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
20218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20219 $as_echo "no" >&6; }
20223 ac_cpp
='$CXXCPP $CPPFLAGS'
20224 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20225 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20226 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20231 ac_cpp
='$OBJCXXCPP $CPPFLAGS'
20232 ac_compile
='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20233 ac_link
='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20234 ac_compiler_gnu
=$ac_cv_objcxx_compiler_gnu
20236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -ObjC -Wno-overloaded-virtual" >&5
20237 $as_echo_n "checking for c++ -ObjC -Wno-overloaded-virtual... " >&6; }
20239 cy_save
=$OBJCXXFLAGS
20241 for element
in -Wno-overloaded-virtual; do
20243 for x
in $OBJCXXFLAGS; do
20245 acl_save_prefix
="$prefix"
20246 prefix
="$acl_final_prefix"
20247 acl_save_exec_prefix
="$exec_prefix"
20248 exec_prefix
="$acl_final_exec_prefix"
20250 exec_prefix
="$acl_save_exec_prefix"
20251 prefix
="$acl_save_prefix"
20253 if test "X$x" = "X$element"; then
20258 if test -z "$haveit"; then
20259 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
20264 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20265 /* end confdefs.h. */
20268 if ac_fn_objcxx_try_compile
"$LINENO"; then :
20273 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20275 OBJCXXFLAGS
=$cy_save
20276 if test "x$cy_good" = x1
; then :
20277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20278 $as_echo "yes" >&6; }
20280 for element
in -Wno-overloaded-virtual; do
20282 for x
in $OBJCXXFLAGS; do
20284 acl_save_prefix
="$prefix"
20285 prefix
="$acl_final_prefix"
20286 acl_save_exec_prefix
="$exec_prefix"
20287 exec_prefix
="$acl_final_exec_prefix"
20289 exec_prefix
="$acl_save_exec_prefix"
20290 prefix
="$acl_save_prefix"
20292 if test "X$x" = "X$element"; then
20297 if test -z "$haveit"; then
20298 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
20304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20305 $as_echo "no" >&6; }
20309 ac_cpp
='$CXXCPP $CPPFLAGS'
20310 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20311 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20312 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20319 ac_cpp
='$CPP $CPPFLAGS'
20320 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20321 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20322 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cc -Wno-parentheses" >&5
20325 $as_echo_n "checking for cc -Wno-parentheses... " >&6; }
20329 for element
in -Wno-parentheses; do
20331 for x
in $CFLAGS; do
20333 acl_save_prefix
="$prefix"
20334 prefix
="$acl_final_prefix"
20335 acl_save_exec_prefix
="$exec_prefix"
20336 exec_prefix
="$acl_final_exec_prefix"
20338 exec_prefix
="$acl_save_exec_prefix"
20339 prefix
="$acl_save_prefix"
20341 if test "X$x" = "X$element"; then
20346 if test -z "$haveit"; then
20347 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
20352 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20353 /* end confdefs.h. */
20356 if ac_fn_c_try_compile
"$LINENO"; then :
20361 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20364 if test "x$cy_good" = x1
; then :
20365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20366 $as_echo "yes" >&6; }
20368 for element
in -Wno-parentheses; do
20370 for x
in $CFLAGS; do
20372 acl_save_prefix
="$prefix"
20373 prefix
="$acl_final_prefix"
20374 acl_save_exec_prefix
="$exec_prefix"
20375 exec_prefix
="$acl_final_exec_prefix"
20377 exec_prefix
="$acl_save_exec_prefix"
20378 prefix
="$acl_save_prefix"
20380 if test "X$x" = "X$element"; then
20385 if test -z "$haveit"; then
20386 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
20392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20393 $as_echo "no" >&6; }
20397 ac_cpp
='$CXXCPP $CPPFLAGS'
20398 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20399 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20400 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20405 ac_cpp
='$CXXCPP $CPPFLAGS'
20406 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20407 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20408 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -Wno-parentheses" >&5
20411 $as_echo_n "checking for c++ -Wno-parentheses... " >&6; }
20415 for element
in -Wno-parentheses; do
20417 for x
in $CXXFLAGS; do
20419 acl_save_prefix
="$prefix"
20420 prefix
="$acl_final_prefix"
20421 acl_save_exec_prefix
="$exec_prefix"
20422 exec_prefix
="$acl_final_exec_prefix"
20424 exec_prefix
="$acl_save_exec_prefix"
20425 prefix
="$acl_save_prefix"
20427 if test "X$x" = "X$element"; then
20432 if test -z "$haveit"; then
20433 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
20438 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20439 /* end confdefs.h. */
20442 if ac_fn_cxx_try_compile
"$LINENO"; then :
20447 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20450 if test "x$cy_good" = x1
; then :
20451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20452 $as_echo "yes" >&6; }
20454 for element
in -Wno-parentheses; do
20456 for x
in $CXXFLAGS; do
20458 acl_save_prefix
="$prefix"
20459 prefix
="$acl_final_prefix"
20460 acl_save_exec_prefix
="$exec_prefix"
20461 exec_prefix
="$acl_final_exec_prefix"
20463 exec_prefix
="$acl_save_exec_prefix"
20464 prefix
="$acl_save_prefix"
20466 if test "X$x" = "X$element"; then
20471 if test -z "$haveit"; then
20472 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
20478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20479 $as_echo "no" >&6; }
20483 ac_cpp
='$CXXCPP $CPPFLAGS'
20484 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20485 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20486 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20491 ac_cpp
='$OBJCXXCPP $CPPFLAGS'
20492 ac_compile
='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20493 ac_link
='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20494 ac_compiler_gnu
=$ac_cv_objcxx_compiler_gnu
20496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -ObjC -Wno-parentheses" >&5
20497 $as_echo_n "checking for c++ -ObjC -Wno-parentheses... " >&6; }
20499 cy_save
=$OBJCXXFLAGS
20501 for element
in -Wno-parentheses; do
20503 for x
in $OBJCXXFLAGS; do
20505 acl_save_prefix
="$prefix"
20506 prefix
="$acl_final_prefix"
20507 acl_save_exec_prefix
="$exec_prefix"
20508 exec_prefix
="$acl_final_exec_prefix"
20510 exec_prefix
="$acl_save_exec_prefix"
20511 prefix
="$acl_save_prefix"
20513 if test "X$x" = "X$element"; then
20518 if test -z "$haveit"; then
20519 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
20524 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20525 /* end confdefs.h. */
20528 if ac_fn_objcxx_try_compile
"$LINENO"; then :
20533 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20535 OBJCXXFLAGS
=$cy_save
20536 if test "x$cy_good" = x1
; then :
20537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20538 $as_echo "yes" >&6; }
20540 for element
in -Wno-parentheses; do
20542 for x
in $OBJCXXFLAGS; do
20544 acl_save_prefix
="$prefix"
20545 prefix
="$acl_final_prefix"
20546 acl_save_exec_prefix
="$exec_prefix"
20547 exec_prefix
="$acl_final_exec_prefix"
20549 exec_prefix
="$acl_save_exec_prefix"
20550 prefix
="$acl_save_prefix"
20552 if test "X$x" = "X$element"; then
20557 if test -z "$haveit"; then
20558 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
20564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20565 $as_echo "no" >&6; }
20569 ac_cpp
='$CXXCPP $CPPFLAGS'
20570 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20571 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20572 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20579 ac_cpp
='$CPP $CPPFLAGS'
20580 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20581 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20582 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cc -Wno-tautological-undefined-compare" >&5
20585 $as_echo_n "checking for cc -Wno-tautological-undefined-compare... " >&6; }
20589 for element
in -Wno-tautological-undefined-compare; do
20591 for x
in $CFLAGS; do
20593 acl_save_prefix
="$prefix"
20594 prefix
="$acl_final_prefix"
20595 acl_save_exec_prefix
="$exec_prefix"
20596 exec_prefix
="$acl_final_exec_prefix"
20598 exec_prefix
="$acl_save_exec_prefix"
20599 prefix
="$acl_save_prefix"
20601 if test "X$x" = "X$element"; then
20606 if test -z "$haveit"; then
20607 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
20612 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20613 /* end confdefs.h. */
20616 if ac_fn_c_try_compile
"$LINENO"; then :
20621 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20624 if test "x$cy_good" = x1
; then :
20625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20626 $as_echo "yes" >&6; }
20628 for element
in -Wno-tautological-undefined-compare; do
20630 for x
in $CFLAGS; do
20632 acl_save_prefix
="$prefix"
20633 prefix
="$acl_final_prefix"
20634 acl_save_exec_prefix
="$exec_prefix"
20635 exec_prefix
="$acl_final_exec_prefix"
20637 exec_prefix
="$acl_save_exec_prefix"
20638 prefix
="$acl_save_prefix"
20640 if test "X$x" = "X$element"; then
20645 if test -z "$haveit"; then
20646 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
20652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20653 $as_echo "no" >&6; }
20657 ac_cpp
='$CXXCPP $CPPFLAGS'
20658 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20659 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20660 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20665 ac_cpp
='$CXXCPP $CPPFLAGS'
20666 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20667 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20668 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -Wno-tautological-undefined-compare" >&5
20671 $as_echo_n "checking for c++ -Wno-tautological-undefined-compare... " >&6; }
20675 for element
in -Wno-tautological-undefined-compare; do
20677 for x
in $CXXFLAGS; do
20679 acl_save_prefix
="$prefix"
20680 prefix
="$acl_final_prefix"
20681 acl_save_exec_prefix
="$exec_prefix"
20682 exec_prefix
="$acl_final_exec_prefix"
20684 exec_prefix
="$acl_save_exec_prefix"
20685 prefix
="$acl_save_prefix"
20687 if test "X$x" = "X$element"; then
20692 if test -z "$haveit"; then
20693 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
20698 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20699 /* end confdefs.h. */
20702 if ac_fn_cxx_try_compile
"$LINENO"; then :
20707 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20710 if test "x$cy_good" = x1
; then :
20711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20712 $as_echo "yes" >&6; }
20714 for element
in -Wno-tautological-undefined-compare; do
20716 for x
in $CXXFLAGS; do
20718 acl_save_prefix
="$prefix"
20719 prefix
="$acl_final_prefix"
20720 acl_save_exec_prefix
="$exec_prefix"
20721 exec_prefix
="$acl_final_exec_prefix"
20723 exec_prefix
="$acl_save_exec_prefix"
20724 prefix
="$acl_save_prefix"
20726 if test "X$x" = "X$element"; then
20731 if test -z "$haveit"; then
20732 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
20738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20739 $as_echo "no" >&6; }
20743 ac_cpp
='$CXXCPP $CPPFLAGS'
20744 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20745 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20746 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20751 ac_cpp
='$OBJCXXCPP $CPPFLAGS'
20752 ac_compile
='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20753 ac_link
='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20754 ac_compiler_gnu
=$ac_cv_objcxx_compiler_gnu
20756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -ObjC -Wno-tautological-undefined-compare" >&5
20757 $as_echo_n "checking for c++ -ObjC -Wno-tautological-undefined-compare... " >&6; }
20759 cy_save
=$OBJCXXFLAGS
20761 for element
in -Wno-tautological-undefined-compare; do
20763 for x
in $OBJCXXFLAGS; do
20765 acl_save_prefix
="$prefix"
20766 prefix
="$acl_final_prefix"
20767 acl_save_exec_prefix
="$exec_prefix"
20768 exec_prefix
="$acl_final_exec_prefix"
20770 exec_prefix
="$acl_save_exec_prefix"
20771 prefix
="$acl_save_prefix"
20773 if test "X$x" = "X$element"; then
20778 if test -z "$haveit"; then
20779 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
20784 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20785 /* end confdefs.h. */
20788 if ac_fn_objcxx_try_compile
"$LINENO"; then :
20793 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20795 OBJCXXFLAGS
=$cy_save
20796 if test "x$cy_good" = x1
; then :
20797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20798 $as_echo "yes" >&6; }
20800 for element
in -Wno-tautological-undefined-compare; do
20802 for x
in $OBJCXXFLAGS; do
20804 acl_save_prefix
="$prefix"
20805 prefix
="$acl_final_prefix"
20806 acl_save_exec_prefix
="$exec_prefix"
20807 exec_prefix
="$acl_final_exec_prefix"
20809 exec_prefix
="$acl_save_exec_prefix"
20810 prefix
="$acl_save_prefix"
20812 if test "X$x" = "X$element"; then
20817 if test -z "$haveit"; then
20818 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
20824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20825 $as_echo "no" >&6; }
20829 ac_cpp
='$CXXCPP $CPPFLAGS'
20830 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20831 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20832 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20839 ac_cpp
='$CPP $CPPFLAGS'
20840 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20841 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20842 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cc -Wno-unneeded-internal-declaration" >&5
20845 $as_echo_n "checking for cc -Wno-unneeded-internal-declaration... " >&6; }
20849 for element
in -Wno-unneeded-internal-declaration; do
20851 for x
in $CFLAGS; do
20853 acl_save_prefix
="$prefix"
20854 prefix
="$acl_final_prefix"
20855 acl_save_exec_prefix
="$exec_prefix"
20856 exec_prefix
="$acl_final_exec_prefix"
20858 exec_prefix
="$acl_save_exec_prefix"
20859 prefix
="$acl_save_prefix"
20861 if test "X$x" = "X$element"; then
20866 if test -z "$haveit"; then
20867 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
20872 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20873 /* end confdefs.h. */
20876 if ac_fn_c_try_compile
"$LINENO"; then :
20881 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20884 if test "x$cy_good" = x1
; then :
20885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20886 $as_echo "yes" >&6; }
20888 for element
in -Wno-unneeded-internal-declaration; do
20890 for x
in $CFLAGS; do
20892 acl_save_prefix
="$prefix"
20893 prefix
="$acl_final_prefix"
20894 acl_save_exec_prefix
="$exec_prefix"
20895 exec_prefix
="$acl_final_exec_prefix"
20897 exec_prefix
="$acl_save_exec_prefix"
20898 prefix
="$acl_save_prefix"
20900 if test "X$x" = "X$element"; then
20905 if test -z "$haveit"; then
20906 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
20912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20913 $as_echo "no" >&6; }
20917 ac_cpp
='$CXXCPP $CPPFLAGS'
20918 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20919 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20920 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20925 ac_cpp
='$CXXCPP $CPPFLAGS'
20926 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20927 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20928 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -Wno-unneeded-internal-declaration" >&5
20931 $as_echo_n "checking for c++ -Wno-unneeded-internal-declaration... " >&6; }
20935 for element
in -Wno-unneeded-internal-declaration; do
20937 for x
in $CXXFLAGS; do
20939 acl_save_prefix
="$prefix"
20940 prefix
="$acl_final_prefix"
20941 acl_save_exec_prefix
="$exec_prefix"
20942 exec_prefix
="$acl_final_exec_prefix"
20944 exec_prefix
="$acl_save_exec_prefix"
20945 prefix
="$acl_save_prefix"
20947 if test "X$x" = "X$element"; then
20952 if test -z "$haveit"; then
20953 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
20958 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20959 /* end confdefs.h. */
20962 if ac_fn_cxx_try_compile
"$LINENO"; then :
20967 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20970 if test "x$cy_good" = x1
; then :
20971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20972 $as_echo "yes" >&6; }
20974 for element
in -Wno-unneeded-internal-declaration; do
20976 for x
in $CXXFLAGS; do
20978 acl_save_prefix
="$prefix"
20979 prefix
="$acl_final_prefix"
20980 acl_save_exec_prefix
="$exec_prefix"
20981 exec_prefix
="$acl_final_exec_prefix"
20983 exec_prefix
="$acl_save_exec_prefix"
20984 prefix
="$acl_save_prefix"
20986 if test "X$x" = "X$element"; then
20991 if test -z "$haveit"; then
20992 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
20998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20999 $as_echo "no" >&6; }
21003 ac_cpp
='$CXXCPP $CPPFLAGS'
21004 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21005 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21006 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21011 ac_cpp
='$OBJCXXCPP $CPPFLAGS'
21012 ac_compile
='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21013 ac_link
='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21014 ac_compiler_gnu
=$ac_cv_objcxx_compiler_gnu
21016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -ObjC -Wno-unneeded-internal-declaration" >&5
21017 $as_echo_n "checking for c++ -ObjC -Wno-unneeded-internal-declaration... " >&6; }
21019 cy_save
=$OBJCXXFLAGS
21021 for element
in -Wno-unneeded-internal-declaration; do
21023 for x
in $OBJCXXFLAGS; do
21025 acl_save_prefix
="$prefix"
21026 prefix
="$acl_final_prefix"
21027 acl_save_exec_prefix
="$exec_prefix"
21028 exec_prefix
="$acl_final_exec_prefix"
21030 exec_prefix
="$acl_save_exec_prefix"
21031 prefix
="$acl_save_prefix"
21033 if test "X$x" = "X$element"; then
21038 if test -z "$haveit"; then
21039 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
21044 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21045 /* end confdefs.h. */
21048 if ac_fn_objcxx_try_compile
"$LINENO"; then :
21053 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21055 OBJCXXFLAGS
=$cy_save
21056 if test "x$cy_good" = x1
; then :
21057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21058 $as_echo "yes" >&6; }
21060 for element
in -Wno-unneeded-internal-declaration; do
21062 for x
in $OBJCXXFLAGS; do
21064 acl_save_prefix
="$prefix"
21065 prefix
="$acl_final_prefix"
21066 acl_save_exec_prefix
="$exec_prefix"
21067 exec_prefix
="$acl_final_exec_prefix"
21069 exec_prefix
="$acl_save_exec_prefix"
21070 prefix
="$acl_save_prefix"
21072 if test "X$x" = "X$element"; then
21077 if test -z "$haveit"; then
21078 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
21084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21085 $as_echo "no" >&6; }
21089 ac_cpp
='$CXXCPP $CPPFLAGS'
21090 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21091 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21092 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21101 ac_cpp
='$CPP $CPPFLAGS'
21102 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21103 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21104 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21108 # We used to check for pthread.h first, but this fails if pthread.h
21109 # requires special compiler flags (e.g. on Tru64 or Sequent).
21110 # It gets checked for in the link test anyway.
21112 # First of all, check if the user has set any of the PTHREAD_LIBS,
21113 # etcetera environment variables, and if threads linking works using
21115 if test x
"$PTHREAD_LIBS$PTHREAD_CFLAGS" != x
; then
21116 save_CFLAGS
="$CFLAGS"
21117 CFLAGS
="$CFLAGS $PTHREAD_CFLAGS"
21119 LIBS
="$PTHREAD_LIBS $LIBS"
21120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_join using $CC $PTHREAD_CFLAGS $PTHREAD_LIBS" >&5
21121 $as_echo_n "checking for pthread_join using $CC $PTHREAD_CFLAGS $PTHREAD_LIBS... " >&6; }
21122 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21123 /* end confdefs.h. */
21125 /* Override any GCC internal prototype to avoid an error.
21126 Use char because int might match the return type of a GCC
21127 builtin and then its argument prototype would still apply. */
21131 char pthread_join ();
21135 return pthread_join ();
21140 if ac_fn_c_try_link
"$LINENO"; then :
21143 rm -f core conftest.err conftest.
$ac_objext \
21144 conftest
$ac_exeext conftest.
$ac_ext
21145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_pthread_ok" >&5
21146 $as_echo "$ax_pthread_ok" >&6; }
21147 if test x
"$ax_pthread_ok" = xno
; then
21152 CFLAGS
="$save_CFLAGS"
21155 # We must check for the threads library under a number of different
21156 # names; the ordering is very important because some systems
21157 # (e.g. DEC) have both -lpthread and -lpthreads, where one of the
21158 # libraries is broken (non-POSIX).
21160 # Create a list of thread flags to try. Items starting with a "-" are
21161 # C compiler flags, and other items are library names, except for "none"
21162 # which indicates that we try without any flags at all, and "pthread-config"
21163 # which is a program returning the flags for the Pth emulation library.
21165 ax_pthread_flags
="pthreads none -Kthread -kthread lthread -pthread -pthreads -mt -mthreads pthread --thread-safe pthread-config"
21167 # The ordering *is* (sometimes) important. Some notes on the
21168 # individual items follow:
21170 # pthreads: AIX (must check this before -lpthread)
21171 # none: in case threads are in libc; should be tried before -Kthread and
21172 # other compiler flags to prevent continual compiler warnings
21173 # -Kthread: Sequent (threads in libc, but -Kthread needed for pthread.h)
21174 # -kthread: FreeBSD kernel threads (preferred to -pthread since SMP-able)
21175 # lthread: LinuxThreads port on FreeBSD (also preferred to -pthread)
21176 # -pthread: Linux/gcc (kernel threads), BSD/gcc (userland threads), Tru64
21177 # -pthreads: Solaris/gcc
21178 # -mt: Sun Workshop C (may only link SunOS threads [-lthread], but it
21179 # doesn't hurt to check since this sometimes defines pthreads and
21180 # -D_REENTRANT too), HP C (must be checked before -lpthread, which
21181 # is present but should not be used directly)
21182 # -mthreads: Mingw32/gcc, Lynx/gcc
21183 # pthread: Linux, etcetera
21184 # --thread-safe: KAI C++
21185 # pthread-config: use pthread-config program (for GNU Pth library)
21191 # From the cc(1) man page: "[-mt] Sets various -D flags to enable
21192 # multi-threading and also sets -lpthread."
21194 ax_pthread_flags
="-mt -pthread pthread $ax_pthread_flags"
21199 # IBM z/OS requires a feature-test macro to be defined in order to
21200 # enable POSIX threads at all, so give the user a hint if this is
21201 # not set. (We don't define these ourselves, as they can affect
21202 # other portions of the system API in unpredictable ways.)
21204 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21205 /* end confdefs.h. */
21207 # if !defined(_OPEN_THREADS) && !defined(_UNIX03_THREADS)
21208 AX_PTHREAD_ZOS_MISSING
21212 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21213 $EGREP "AX_PTHREAD_ZOS_MISSING" >/dev
/null
2>&1; then :
21214 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: IBM z/OS requires -D_OPEN_THREADS or -D_UNIX03_THREADS to enable pthreads support." >&5
21215 $as_echo "$as_me: WARNING: IBM z/OS requires -D_OPEN_THREADS or -D_UNIX03_THREADS to enable pthreads support." >&2;}
21223 # Newer versions of Solaris require the "-mt -lpthread" pair, and we
21224 # check that first. On some older versions, libc contains stubbed
21225 # (non-functional) versions of the pthreads routines, so link-based
21226 # tests will erroneously succeed. (We need to link with -pthreads/-mt/
21227 # -lpthread.) (The stubs are missing pthread_cleanup_push, or rather
21228 # a function called by this macro, so we could check for that, but
21229 # who knows whether they'll stub that too in a future libc.) So
21230 # we'll look for -pthreads and -lpthread shortly thereafter.
21232 ax_pthread_flags
="-mt,pthread -pthreads -pthread pthread $ax_pthread_flags"
21236 # Older versions of Clang only give a warning instead of an error for an
21237 # unrecognized option, unless we specify -Werror. (We throw in some extra
21238 # Clang warning flags for good measure.)
21240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler needs certain flags to reject unknown flags" >&5
21241 $as_echo_n "checking if compiler needs certain flags to reject unknown flags... " >&6; }
21242 if ${ax_cv_PTHREAD_REJECT_UNKNOWN+:} false
; then :
21243 $as_echo_n "(cached) " >&6
21245 ax_cv_PTHREAD_REJECT_UNKNOWN
=unknown
21246 save_CFLAGS
="$CFLAGS"
21247 ax_pthread_extra_flags
="-Wunknown-warning-option -Wunused-command-line-argument"
21248 CFLAGS
="$CFLAGS $ax_pthread_extra_flags -Wfoobaz -foobaz"
21249 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21250 /* end confdefs.h. */
21260 if ac_fn_c_try_compile
"$LINENO"; then :
21261 ax_cv_PTHREAD_REJECT_UNKNOWN
="-Werror $ax_pthread_extra_flags"
21263 ax_cv_PTHREAD_REJECT_UNKNOWN
=no
21265 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21266 CFLAGS
="$save_CFLAGS"
21269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_PTHREAD_REJECT_UNKNOWN" >&5
21270 $as_echo "$ax_cv_PTHREAD_REJECT_UNKNOWN" >&6; }
21271 ax_pthread_extra_flags
=
21272 if test "x$ax_cv_PTHREAD_REJECT_UNKNOWN" != "xno"; then :
21273 ax_pthread_extra_flags
="$ax_cv_PTHREAD_REJECT_UNKNOWN"
21276 if test x
"$ax_pthread_ok" = xno
; then
21277 for flag
in $ax_pthread_flags; do
21281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work without any flags" >&5
21282 $as_echo_n "checking whether pthreads work without any flags... " >&6; }
21286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work with -mt -lpthread" >&5
21287 $as_echo_n "checking whether pthreads work with -mt -lpthread... " >&6; }
21288 PTHREAD_CFLAGS
="-mt"
21289 PTHREAD_LIBS
="-lpthread"
21293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work with $flag" >&5
21294 $as_echo_n "checking whether pthreads work with $flag... " >&6; }
21295 PTHREAD_CFLAGS
="$flag"
21299 # Extract the first word of "pthread-config", so it can be a program name with args.
21300 set dummy pthread
-config; ac_word
=$2
21301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21302 $as_echo_n "checking for $ac_word... " >&6; }
21303 if ${ac_cv_prog_ax_pthread_config+:} false
; then :
21304 $as_echo_n "(cached) " >&6
21306 if test -n "$ax_pthread_config"; then
21307 ac_cv_prog_ax_pthread_config
="$ax_pthread_config" # Let the user override the test.
21309 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21310 for as_dir
in $PATH
21313 test -z "$as_dir" && as_dir
=.
21314 for ac_exec_ext
in '' $ac_executable_extensions; do
21315 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
21316 ac_cv_prog_ax_pthread_config
="yes"
21317 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21324 test -z "$ac_cv_prog_ax_pthread_config" && ac_cv_prog_ax_pthread_config
="no"
21327 ax_pthread_config
=$ac_cv_prog_ax_pthread_config
21328 if test -n "$ax_pthread_config"; then
21329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_pthread_config" >&5
21330 $as_echo "$ax_pthread_config" >&6; }
21332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21333 $as_echo "no" >&6; }
21337 if test x
"$ax_pthread_config" = xno
; then continue; fi
21338 PTHREAD_CFLAGS
="`pthread-config --cflags`"
21339 PTHREAD_LIBS
="`pthread-config --ldflags` `pthread-config --libs`"
21343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the pthreads library -l$flag" >&5
21344 $as_echo_n "checking for the pthreads library -l$flag... " >&6; }
21345 PTHREAD_LIBS
="-l$flag"
21350 save_CFLAGS
="$CFLAGS"
21351 LIBS
="$PTHREAD_LIBS $LIBS"
21352 CFLAGS
="$CFLAGS $PTHREAD_CFLAGS $ax_pthread_extra_flags"
21354 # Check for various functions. We must include pthread.h,
21355 # since some functions may be macros. (On the Sequent, we
21356 # need a special flag -Kthread to make this header compile.)
21357 # We check for pthread_join because it is in -lpthread on IRIX
21358 # while pthread_create is in libc. We check for pthread_attr_init
21359 # due to DEC craziness with -lpthreads. We check for
21360 # pthread_cleanup_push because it is one of the few pthread
21361 # functions on Solaris that doesn't have a non-functional libc stub.
21362 # We try pthread_create on general principles.
21363 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21364 /* end confdefs.h. */
21365 #include <pthread.h>
21366 static void routine(void *a) { a = 0; }
21367 static void *start_routine(void *a) { return a; }
21371 pthread_t th; pthread_attr_t attr;
21372 pthread_create(&th, 0, start_routine, 0);
21373 pthread_join(th, 0);
21374 pthread_attr_init(&attr);
21375 pthread_cleanup_push(routine, 0);
21376 pthread_cleanup_pop(0) /* ; */
21381 if ac_fn_c_try_link
"$LINENO"; then :
21384 rm -f core conftest.err conftest.
$ac_objext \
21385 conftest
$ac_exeext conftest.
$ac_ext
21388 CFLAGS
="$save_CFLAGS"
21390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_pthread_ok" >&5
21391 $as_echo "$ax_pthread_ok" >&6; }
21392 if test "x$ax_pthread_ok" = xyes
; then
21401 # Various other checks:
21402 if test "x$ax_pthread_ok" = xyes
; then
21404 LIBS
="$PTHREAD_LIBS $LIBS"
21405 save_CFLAGS
="$CFLAGS"
21406 CFLAGS
="$CFLAGS $PTHREAD_CFLAGS"
21408 # Detect AIX lossage: JOINABLE attribute is called UNDETACHED.
21409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for joinable pthread attribute" >&5
21410 $as_echo_n "checking for joinable pthread attribute... " >&6; }
21411 if ${ax_cv_PTHREAD_JOINABLE_ATTR+:} false
; then :
21412 $as_echo_n "(cached) " >&6
21414 ax_cv_PTHREAD_JOINABLE_ATTR
=unknown
21415 for attr
in PTHREAD_CREATE_JOINABLE PTHREAD_CREATE_UNDETACHED
; do
21416 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21417 /* end confdefs.h. */
21418 #include <pthread.h>
21422 int attr = $attr; return attr /* ; */
21427 if ac_fn_c_try_link
"$LINENO"; then :
21428 ax_cv_PTHREAD_JOINABLE_ATTR
=$attr; break
21430 rm -f core conftest.err conftest.
$ac_objext \
21431 conftest
$ac_exeext conftest.
$ac_ext
21435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_PTHREAD_JOINABLE_ATTR" >&5
21436 $as_echo "$ax_cv_PTHREAD_JOINABLE_ATTR" >&6; }
21437 if test "$ax_cv_PTHREAD_JOINABLE_ATTR" != unknown
&& \
21438 test "$ax_cv_PTHREAD_JOINABLE_ATTR" != PTHREAD_CREATE_JOINABLE
; then :
21440 cat >>confdefs.h
<<_ACEOF
21441 #define PTHREAD_CREATE_JOINABLE $ax_cv_PTHREAD_JOINABLE_ATTR
21446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if more special flags are required for pthreads" >&5
21447 $as_echo_n "checking if more special flags are required for pthreads... " >&6; }
21448 if ${ax_cv_PTHREAD_SPECIAL_FLAGS+:} false
; then :
21449 $as_echo_n "(cached) " >&6
21451 ax_cv_PTHREAD_SPECIAL_FLAGS
=no
21452 ax_pthread_special_flags_added
=no
21453 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21454 /* end confdefs.h. */
21456 # if !defined(_REENTRANT) && !defined(_THREAD_SAFE)
21457 AX_PTHREAD_NEED_SPECIAL_FLAG
21461 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21462 $EGREP "AX_PTHREAD_NEED_SPECIAL_FLAG" >/dev
/null
2>&1; then :
21465 ax_cv_PTHREAD_SPECIAL_FLAGS
="-D_THREAD_SAFE"
21467 darwin
* | hpux
* | osf
* | solaris
*)
21468 ax_cv_PTHREAD_SPECIAL_FLAGS
="-D_REENTRANT"
21477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_PTHREAD_SPECIAL_FLAGS" >&5
21478 $as_echo "$ax_cv_PTHREAD_SPECIAL_FLAGS" >&6; }
21479 if test "x$ax_cv_PTHREAD_SPECIAL_FLAGS" != "xno" && \
21480 test "x$ax_pthread_special_flags_added" != "xyes"; then :
21481 PTHREAD_CFLAGS
="$ax_cv_PTHREAD_SPECIAL_FLAGS $PTHREAD_CFLAGS"
21482 ax_pthread_special_flags_added
=yes
21485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PTHREAD_PRIO_INHERIT" >&5
21486 $as_echo_n "checking for PTHREAD_PRIO_INHERIT... " >&6; }
21487 if ${ax_cv_PTHREAD_PRIO_INHERIT+:} false
; then :
21488 $as_echo_n "(cached) " >&6
21490 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21491 /* end confdefs.h. */
21492 #include <pthread.h>
21496 int i = PTHREAD_PRIO_INHERIT;
21501 if ac_fn_c_try_link
"$LINENO"; then :
21502 ax_cv_PTHREAD_PRIO_INHERIT
=yes
21504 ax_cv_PTHREAD_PRIO_INHERIT
=no
21506 rm -f core conftest.err conftest.
$ac_objext \
21507 conftest
$ac_exeext conftest.
$ac_ext
21510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_PTHREAD_PRIO_INHERIT" >&5
21511 $as_echo "$ax_cv_PTHREAD_PRIO_INHERIT" >&6; }
21512 if test "x$ax_cv_PTHREAD_PRIO_INHERIT" = "xyes"; then :
21514 $as_echo "#define HAVE_PTHREAD_PRIO_INHERIT 1" >>confdefs.h
21519 CFLAGS
="$save_CFLAGS"
21521 # More AIX lossage: compile with *_r variant
21522 if test "x$GCC" != xyes
; then
21526 x
*/c89
|x
*/c89_128
|x
*/c99
|x
*/c99_128
|x
*/cc
|x
*/cc128
|x
*/xlc
|x
*/xlc_v6
|x
*/xlc128
|x
*/xlc128_v6
) :
21527 #handle absolute path differently from PATH based program lookup
21530 if as_fn_executable_p
${CC}_r
; then :
21531 PTHREAD_CC
="${CC}_r"
21534 for ac_prog
in ${CC}_r
21536 # Extract the first word of "$ac_prog", so it can be a program name with args.
21537 set dummy
$ac_prog; ac_word
=$2
21538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21539 $as_echo_n "checking for $ac_word... " >&6; }
21540 if ${ac_cv_prog_PTHREAD_CC+:} false
; then :
21541 $as_echo_n "(cached) " >&6
21543 if test -n "$PTHREAD_CC"; then
21544 ac_cv_prog_PTHREAD_CC
="$PTHREAD_CC" # Let the user override the test.
21546 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21547 for as_dir
in $PATH
21550 test -z "$as_dir" && as_dir
=.
21551 for ac_exec_ext
in '' $ac_executable_extensions; do
21552 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
21553 ac_cv_prog_PTHREAD_CC
="$ac_prog"
21554 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21563 PTHREAD_CC
=$ac_cv_prog_PTHREAD_CC
21564 if test -n "$PTHREAD_CC"; then
21565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PTHREAD_CC" >&5
21566 $as_echo "$PTHREAD_CC" >&6; }
21568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21569 $as_echo "no" >&6; }
21573 test -n "$PTHREAD_CC" && break
21575 test -n "$PTHREAD_CC" || PTHREAD_CC
="$CC"
21586 test -n "$PTHREAD_CC" || PTHREAD_CC
="$CC"
21592 # Finally, execute ACTION-IF-FOUND/ACTION-IF-NOT-FOUND:
21593 if test x
"$ax_pthread_ok" = xyes
; then
21595 $as_echo "#define HAVE_PTHREAD 1" >>confdefs.h
21603 ac_cpp
='$CXXCPP $CPPFLAGS'
21604 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21605 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21606 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21616 # Check whether --enable-javascript was given.
21617 if test "${enable_javascript+set}" = set; then :
21618 enableval
=$enable_javascript;
21619 case $enableval in #(
21627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing JSEvaluateScript" >&5
21628 $as_echo_n "checking for library containing JSEvaluateScript... " >&6; }
21629 if ${ac_cv_search_JSEvaluateScript+:} false
; then :
21630 $as_echo_n "(cached) " >&6
21632 ac_func_search_save_LIBS
=$LIBS
21633 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21634 /* end confdefs.h. */
21636 /* Override any GCC internal prototype to avoid an error.
21637 Use char because int might match the return type of a GCC
21638 builtin and then its argument prototype would still apply. */
21642 char JSEvaluateScript ();
21646 return JSEvaluateScript ();
21651 for ac_lib
in '' JavaScriptCore
; do
21652 if test -z "$ac_lib"; then
21653 ac_res
="none required"
21656 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
21658 if ac_fn_cxx_try_link
"$LINENO"; then :
21659 ac_cv_search_JSEvaluateScript
=$ac_res
21661 rm -f core conftest.err conftest.
$ac_objext \
21663 if ${ac_cv_search_JSEvaluateScript+:} false
; then :
21667 if ${ac_cv_search_JSEvaluateScript+:} false
; then :
21670 ac_cv_search_JSEvaluateScript
=no
21672 rm conftest.
$ac_ext
21673 LIBS
=$ac_func_search_save_LIBS
21675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_JSEvaluateScript" >&5
21676 $as_echo "$ac_cv_search_JSEvaluateScript" >&6; }
21677 ac_res
=$ac_cv_search_JSEvaluateScript
21678 if test "$ac_res" != no
; then :
21679 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
21686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
21687 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
21688 if ${ac_cv_framework_JavaScriptCore+:} false
; then :
21689 $as_echo_n "(cached) " >&6
21692 ac_check_framework_save_LIBS
=$LIBS
21693 LIBS
="-framework JavaScriptCore $LIBS"
21694 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21695 /* end confdefs.h. */
21697 #include <JavaScriptCore/JSBase.h>
21703 JSEvaluateScript(0, 0, 0, 0, 0, 0);
21709 if ac_fn_cxx_try_link
"$LINENO"; then :
21711 ac_cv_framework_JavaScriptCore
=yes
21714 ac_cv_framework_JavaScriptCore
=no
21716 rm -f core conftest.err conftest.
$ac_objext \
21717 conftest
$ac_exeext conftest.
$ac_ext
21718 LIBS
=$ac_check_framework_save_LIBS
21721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
21722 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
21723 if test $ac_cv_framework_JavaScriptCore = yes; then :
21726 for element
in "-framework JavaScriptCore"; do
21730 acl_save_prefix
="$prefix"
21731 prefix
="$acl_final_prefix"
21732 acl_save_exec_prefix
="$exec_prefix"
21733 exec_prefix
="$acl_final_exec_prefix"
21735 exec_prefix
="$acl_save_exec_prefix"
21736 prefix
="$acl_save_prefix"
21738 if test "X$x" = "X$element"; then
21743 if test -z "$haveit"; then
21744 LIBS
="${LIBS}${LIBS:+ }$element"
21755 for cy_webkit_pkg
in "javascriptcoregtk-4.0"; do
21758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
21759 $as_echo_n "checking for WEBKIT... " >&6; }
21761 if test -n "$WEBKIT_CFLAGS"; then
21762 pkg_cv_WEBKIT_CFLAGS
="$WEBKIT_CFLAGS"
21763 elif test -n "$PKG_CONFIG"; then
21764 if test -n "$PKG_CONFIG" && \
21765 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$cy_webkit_pkg\""; } >&5
21766 ($PKG_CONFIG --exists --print-errors "$cy_webkit_pkg") 2>&5
21768 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21769 test $ac_status = 0; }; then
21770 pkg_cv_WEBKIT_CFLAGS
=`$PKG_CONFIG --cflags "$cy_webkit_pkg" 2>/dev/null`
21771 test "x$?" != "x0" && pkg_failed
=yes
21778 if test -n "$WEBKIT_LIBS"; then
21779 pkg_cv_WEBKIT_LIBS
="$WEBKIT_LIBS"
21780 elif test -n "$PKG_CONFIG"; then
21781 if test -n "$PKG_CONFIG" && \
21782 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$cy_webkit_pkg\""; } >&5
21783 ($PKG_CONFIG --exists --print-errors "$cy_webkit_pkg") 2>&5
21785 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21786 test $ac_status = 0; }; then
21787 pkg_cv_WEBKIT_LIBS
=`$PKG_CONFIG --libs "$cy_webkit_pkg" 2>/dev/null`
21788 test "x$?" != "x0" && pkg_failed
=yes
21798 if test $pkg_failed = yes; then
21799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21800 $as_echo "no" >&6; }
21802 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
21803 _pkg_short_errors_supported
=yes
21805 _pkg_short_errors_supported
=no
21807 if test $_pkg_short_errors_supported = yes; then
21808 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$cy_webkit_pkg" 2>&1`
21810 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "$cy_webkit_pkg" 2>&1`
21812 # Put the nasty error message in config.log where it belongs
21813 echo "$WEBKIT_PKG_ERRORS" >&5
21816 elif test $pkg_failed = untried
; then
21817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21818 $as_echo "no" >&6; }
21821 WEBKIT_CFLAGS
=$pkg_cv_WEBKIT_CFLAGS
21822 WEBKIT_LIBS
=$pkg_cv_WEBKIT_LIBS
21823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21824 $as_echo "yes" >&6; }
21829 for element
in `$PKG_CONFIG --cflags $cy_webkit_pkg`; do
21831 for x
in $CPPFLAGS; do
21833 acl_save_prefix
="$prefix"
21834 prefix
="$acl_final_prefix"
21835 acl_save_exec_prefix
="$exec_prefix"
21836 exec_prefix
="$acl_final_exec_prefix"
21838 exec_prefix
="$acl_save_exec_prefix"
21839 prefix
="$acl_save_prefix"
21841 if test "X$x" = "X$element"; then
21846 if test -z "$haveit"; then
21847 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
21852 for element
in `$PKG_CONFIG --libs $cy_webkit_pkg`; do
21856 acl_save_prefix
="$prefix"
21857 prefix
="$acl_final_prefix"
21858 acl_save_exec_prefix
="$exec_prefix"
21859 exec_prefix
="$acl_final_exec_prefix"
21861 exec_prefix
="$acl_save_exec_prefix"
21862 prefix
="$acl_save_prefix"
21864 if test "X$x" = "X$element"; then
21869 if test -z "$haveit"; then
21870 LIBS
="${LIBS}${LIBS:+ }$element"
21875 fi; if test "x$CY_EXECUTE" = x1
; then break; fi
21881 LTJAVASCRIPTCORE
=$LIBS
21896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing JSEvaluateScript" >&5
21897 $as_echo_n "checking for library containing JSEvaluateScript... " >&6; }
21898 if ${ac_cv_search_JSEvaluateScript+:} false
; then :
21899 $as_echo_n "(cached) " >&6
21901 ac_func_search_save_LIBS
=$LIBS
21902 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21903 /* end confdefs.h. */
21905 /* Override any GCC internal prototype to avoid an error.
21906 Use char because int might match the return type of a GCC
21907 builtin and then its argument prototype would still apply. */
21911 char JSEvaluateScript ();
21915 return JSEvaluateScript ();
21920 for ac_lib
in '' JavaScriptCore
; do
21921 if test -z "$ac_lib"; then
21922 ac_res
="none required"
21925 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
21927 if ac_fn_cxx_try_link
"$LINENO"; then :
21928 ac_cv_search_JSEvaluateScript
=$ac_res
21930 rm -f core conftest.err conftest.
$ac_objext \
21932 if ${ac_cv_search_JSEvaluateScript+:} false
; then :
21936 if ${ac_cv_search_JSEvaluateScript+:} false
; then :
21939 ac_cv_search_JSEvaluateScript
=no
21941 rm conftest.
$ac_ext
21942 LIBS
=$ac_func_search_save_LIBS
21944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_JSEvaluateScript" >&5
21945 $as_echo "$ac_cv_search_JSEvaluateScript" >&6; }
21946 ac_res
=$ac_cv_search_JSEvaluateScript
21947 if test "$ac_res" != no
; then :
21948 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
21955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
21956 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
21957 if ${ac_cv_framework_JavaScriptCore+:} false
; then :
21958 $as_echo_n "(cached) " >&6
21961 ac_check_framework_save_LIBS
=$LIBS
21962 LIBS
="-framework JavaScriptCore $LIBS"
21963 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21964 /* end confdefs.h. */
21966 #include <JavaScriptCore/JSBase.h>
21972 JSEvaluateScript(0, 0, 0, 0, 0, 0);
21978 if ac_fn_cxx_try_link
"$LINENO"; then :
21980 ac_cv_framework_JavaScriptCore
=yes
21983 ac_cv_framework_JavaScriptCore
=no
21985 rm -f core conftest.err conftest.
$ac_objext \
21986 conftest
$ac_exeext conftest.
$ac_ext
21987 LIBS
=$ac_check_framework_save_LIBS
21990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
21991 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
21992 if test $ac_cv_framework_JavaScriptCore = yes; then :
21995 for element
in "-framework JavaScriptCore"; do
21999 acl_save_prefix
="$prefix"
22000 prefix
="$acl_final_prefix"
22001 acl_save_exec_prefix
="$exec_prefix"
22002 exec_prefix
="$acl_final_exec_prefix"
22004 exec_prefix
="$acl_save_exec_prefix"
22005 prefix
="$acl_save_prefix"
22007 if test "X$x" = "X$element"; then
22012 if test -z "$haveit"; then
22013 LIBS
="${LIBS}${LIBS:+ }$element"
22024 for cy_webkit_pkg
in "javascriptcoregtk-4.0"; do
22027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
22028 $as_echo_n "checking for WEBKIT... " >&6; }
22030 if test -n "$WEBKIT_CFLAGS"; then
22031 pkg_cv_WEBKIT_CFLAGS
="$WEBKIT_CFLAGS"
22032 elif test -n "$PKG_CONFIG"; then
22033 if test -n "$PKG_CONFIG" && \
22034 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$cy_webkit_pkg\""; } >&5
22035 ($PKG_CONFIG --exists --print-errors "$cy_webkit_pkg") 2>&5
22037 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22038 test $ac_status = 0; }; then
22039 pkg_cv_WEBKIT_CFLAGS
=`$PKG_CONFIG --cflags "$cy_webkit_pkg" 2>/dev/null`
22040 test "x$?" != "x0" && pkg_failed
=yes
22047 if test -n "$WEBKIT_LIBS"; then
22048 pkg_cv_WEBKIT_LIBS
="$WEBKIT_LIBS"
22049 elif test -n "$PKG_CONFIG"; then
22050 if test -n "$PKG_CONFIG" && \
22051 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$cy_webkit_pkg\""; } >&5
22052 ($PKG_CONFIG --exists --print-errors "$cy_webkit_pkg") 2>&5
22054 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22055 test $ac_status = 0; }; then
22056 pkg_cv_WEBKIT_LIBS
=`$PKG_CONFIG --libs "$cy_webkit_pkg" 2>/dev/null`
22057 test "x$?" != "x0" && pkg_failed
=yes
22067 if test $pkg_failed = yes; then
22068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22069 $as_echo "no" >&6; }
22071 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
22072 _pkg_short_errors_supported
=yes
22074 _pkg_short_errors_supported
=no
22076 if test $_pkg_short_errors_supported = yes; then
22077 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$cy_webkit_pkg" 2>&1`
22079 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "$cy_webkit_pkg" 2>&1`
22081 # Put the nasty error message in config.log where it belongs
22082 echo "$WEBKIT_PKG_ERRORS" >&5
22085 elif test $pkg_failed = untried
; then
22086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22087 $as_echo "no" >&6; }
22090 WEBKIT_CFLAGS
=$pkg_cv_WEBKIT_CFLAGS
22091 WEBKIT_LIBS
=$pkg_cv_WEBKIT_LIBS
22092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22093 $as_echo "yes" >&6; }
22098 for element
in `$PKG_CONFIG --cflags $cy_webkit_pkg`; do
22100 for x
in $CPPFLAGS; do
22102 acl_save_prefix
="$prefix"
22103 prefix
="$acl_final_prefix"
22104 acl_save_exec_prefix
="$exec_prefix"
22105 exec_prefix
="$acl_final_exec_prefix"
22107 exec_prefix
="$acl_save_exec_prefix"
22108 prefix
="$acl_save_prefix"
22110 if test "X$x" = "X$element"; then
22115 if test -z "$haveit"; then
22116 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
22121 for element
in `$PKG_CONFIG --libs $cy_webkit_pkg`; do
22125 acl_save_prefix
="$prefix"
22126 prefix
="$acl_final_prefix"
22127 acl_save_exec_prefix
="$exec_prefix"
22128 exec_prefix
="$acl_final_exec_prefix"
22130 exec_prefix
="$acl_save_exec_prefix"
22131 prefix
="$acl_save_prefix"
22133 if test "X$x" = "X$element"; then
22138 if test -z "$haveit"; then
22139 LIBS
="${LIBS}${LIBS:+ }$element"
22144 fi; if test "x$CY_EXECUTE" = x1
; then break; fi
22150 LTJAVASCRIPTCORE
=$LIBS
22156 as_fn_error $?
"Unknown JavaScript engine: $enableval" "$LINENO" 5 ;;
22165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing JSEvaluateScript" >&5
22166 $as_echo_n "checking for library containing JSEvaluateScript... " >&6; }
22167 if ${ac_cv_search_JSEvaluateScript+:} false
; then :
22168 $as_echo_n "(cached) " >&6
22170 ac_func_search_save_LIBS
=$LIBS
22171 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22172 /* end confdefs.h. */
22174 /* Override any GCC internal prototype to avoid an error.
22175 Use char because int might match the return type of a GCC
22176 builtin and then its argument prototype would still apply. */
22180 char JSEvaluateScript ();
22184 return JSEvaluateScript ();
22189 for ac_lib
in '' JavaScriptCore
; do
22190 if test -z "$ac_lib"; then
22191 ac_res
="none required"
22194 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
22196 if ac_fn_cxx_try_link
"$LINENO"; then :
22197 ac_cv_search_JSEvaluateScript
=$ac_res
22199 rm -f core conftest.err conftest.
$ac_objext \
22201 if ${ac_cv_search_JSEvaluateScript+:} false
; then :
22205 if ${ac_cv_search_JSEvaluateScript+:} false
; then :
22208 ac_cv_search_JSEvaluateScript
=no
22210 rm conftest.
$ac_ext
22211 LIBS
=$ac_func_search_save_LIBS
22213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_JSEvaluateScript" >&5
22214 $as_echo "$ac_cv_search_JSEvaluateScript" >&6; }
22215 ac_res
=$ac_cv_search_JSEvaluateScript
22216 if test "$ac_res" != no
; then :
22217 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
22224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
22225 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
22226 if ${ac_cv_framework_JavaScriptCore+:} false
; then :
22227 $as_echo_n "(cached) " >&6
22230 ac_check_framework_save_LIBS
=$LIBS
22231 LIBS
="-framework JavaScriptCore $LIBS"
22232 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22233 /* end confdefs.h. */
22235 #include <JavaScriptCore/JSBase.h>
22241 JSEvaluateScript(0, 0, 0, 0, 0, 0);
22247 if ac_fn_cxx_try_link
"$LINENO"; then :
22249 ac_cv_framework_JavaScriptCore
=yes
22252 ac_cv_framework_JavaScriptCore
=no
22254 rm -f core conftest.err conftest.
$ac_objext \
22255 conftest
$ac_exeext conftest.
$ac_ext
22256 LIBS
=$ac_check_framework_save_LIBS
22259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
22260 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
22261 if test $ac_cv_framework_JavaScriptCore = yes; then :
22264 for element
in "-framework JavaScriptCore"; do
22268 acl_save_prefix
="$prefix"
22269 prefix
="$acl_final_prefix"
22270 acl_save_exec_prefix
="$exec_prefix"
22271 exec_prefix
="$acl_final_exec_prefix"
22273 exec_prefix
="$acl_save_exec_prefix"
22274 prefix
="$acl_save_prefix"
22276 if test "X$x" = "X$element"; then
22281 if test -z "$haveit"; then
22282 LIBS
="${LIBS}${LIBS:+ }$element"
22293 for cy_webkit_pkg
in "javascriptcoregtk-4.0"; do
22296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
22297 $as_echo_n "checking for WEBKIT... " >&6; }
22299 if test -n "$WEBKIT_CFLAGS"; then
22300 pkg_cv_WEBKIT_CFLAGS
="$WEBKIT_CFLAGS"
22301 elif test -n "$PKG_CONFIG"; then
22302 if test -n "$PKG_CONFIG" && \
22303 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$cy_webkit_pkg\""; } >&5
22304 ($PKG_CONFIG --exists --print-errors "$cy_webkit_pkg") 2>&5
22306 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22307 test $ac_status = 0; }; then
22308 pkg_cv_WEBKIT_CFLAGS
=`$PKG_CONFIG --cflags "$cy_webkit_pkg" 2>/dev/null`
22309 test "x$?" != "x0" && pkg_failed
=yes
22316 if test -n "$WEBKIT_LIBS"; then
22317 pkg_cv_WEBKIT_LIBS
="$WEBKIT_LIBS"
22318 elif test -n "$PKG_CONFIG"; then
22319 if test -n "$PKG_CONFIG" && \
22320 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$cy_webkit_pkg\""; } >&5
22321 ($PKG_CONFIG --exists --print-errors "$cy_webkit_pkg") 2>&5
22323 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22324 test $ac_status = 0; }; then
22325 pkg_cv_WEBKIT_LIBS
=`$PKG_CONFIG --libs "$cy_webkit_pkg" 2>/dev/null`
22326 test "x$?" != "x0" && pkg_failed
=yes
22336 if test $pkg_failed = yes; then
22337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22338 $as_echo "no" >&6; }
22340 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
22341 _pkg_short_errors_supported
=yes
22343 _pkg_short_errors_supported
=no
22345 if test $_pkg_short_errors_supported = yes; then
22346 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$cy_webkit_pkg" 2>&1`
22348 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "$cy_webkit_pkg" 2>&1`
22350 # Put the nasty error message in config.log where it belongs
22351 echo "$WEBKIT_PKG_ERRORS" >&5
22354 elif test $pkg_failed = untried
; then
22355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22356 $as_echo "no" >&6; }
22359 WEBKIT_CFLAGS
=$pkg_cv_WEBKIT_CFLAGS
22360 WEBKIT_LIBS
=$pkg_cv_WEBKIT_LIBS
22361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22362 $as_echo "yes" >&6; }
22367 for element
in `$PKG_CONFIG --cflags $cy_webkit_pkg`; do
22369 for x
in $CPPFLAGS; do
22371 acl_save_prefix
="$prefix"
22372 prefix
="$acl_final_prefix"
22373 acl_save_exec_prefix
="$exec_prefix"
22374 exec_prefix
="$acl_final_exec_prefix"
22376 exec_prefix
="$acl_save_exec_prefix"
22377 prefix
="$acl_save_prefix"
22379 if test "X$x" = "X$element"; then
22384 if test -z "$haveit"; then
22385 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
22390 for element
in `$PKG_CONFIG --libs $cy_webkit_pkg`; do
22394 acl_save_prefix
="$prefix"
22395 prefix
="$acl_final_prefix"
22396 acl_save_exec_prefix
="$exec_prefix"
22397 exec_prefix
="$acl_final_exec_prefix"
22399 exec_prefix
="$acl_save_exec_prefix"
22400 prefix
="$acl_save_prefix"
22402 if test "X$x" = "X$element"; then
22407 if test -z "$haveit"; then
22408 LIBS
="${LIBS}${LIBS:+ }$element"
22413 fi; if test "x$CY_EXECUTE" = x1
; then break; fi
22419 LTJAVASCRIPTCORE
=$LIBS
22427 # Check whether --enable-console was given.
22428 if test "${enable_console+set}" = set; then :
22429 enableval
=$enable_console;
22432 if test "x$enable_console" != "xno"; then
22434 CY_CONSOLE_FALSE
='#'
22436 CY_CONSOLE_TRUE
='#'
22441 # Check whether --enable-attach was given.
22442 if test "${enable_attach+set}" = set; then :
22443 enableval
=$enable_attach;
22446 if test "x$enable_attach" != "xno" -a "x$CY_EXECUTE" = x1
; then
22448 CY_ATTACH_FALSE
='#'
22457 if test "x$CY_EXECUTE" = x1
; then
22459 CY_EXECUTE_FALSE
='#'
22461 CY_EXECUTE_TRUE
='#'
22466 if test "x$CY_SYSTEM" = x
; then CY_SYSTEM
=1; fi
22470 case $CY_EXECUTE in #(
22476 for ac_header
in uv.h
22478 ac_fn_cxx_check_header_mongrel
"$LINENO" "uv.h" "ac_cv_header_uv_h" "$ac_includes_default"
22479 if test "x$ac_cv_header_uv_h" = xyes
; then :
22480 cat >>confdefs.h
<<_ACEOF
22481 #define HAVE_UV_H 1
22484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing uv_loop_init" >&5
22485 $as_echo_n "checking for library containing uv_loop_init... " >&6; }
22486 if ${ac_cv_search_uv_loop_init+:} false
; then :
22487 $as_echo_n "(cached) " >&6
22489 ac_func_search_save_LIBS
=$LIBS
22490 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22491 /* end confdefs.h. */
22493 /* Override any GCC internal prototype to avoid an error.
22494 Use char because int might match the return type of a GCC
22495 builtin and then its argument prototype would still apply. */
22499 char uv_loop_init ();
22503 return uv_loop_init ();
22508 for ac_lib
in '' uv
; do
22509 if test -z "$ac_lib"; then
22510 ac_res
="none required"
22513 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
22515 if ac_fn_cxx_try_link
"$LINENO"; then :
22516 ac_cv_search_uv_loop_init
=$ac_res
22518 rm -f core conftest.err conftest.
$ac_objext \
22520 if ${ac_cv_search_uv_loop_init+:} false
; then :
22524 if ${ac_cv_search_uv_loop_init+:} false
; then :
22527 ac_cv_search_uv_loop_init
=no
22529 rm conftest.
$ac_ext
22530 LIBS
=$ac_func_search_save_LIBS
22532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_uv_loop_init" >&5
22533 $as_echo "$ac_cv_search_uv_loop_init" >&6; }
22534 ac_res
=$ac_cv_search_uv_loop_init
22535 if test "$ac_res" != no
; then :
22536 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
22553 for ac_header
in sqlite3.h
22555 ac_fn_cxx_check_header_mongrel
"$LINENO" "sqlite3.h" "ac_cv_header_sqlite3_h" "$ac_includes_default"
22556 if test "x$ac_cv_header_sqlite3_h" = xyes
; then :
22557 cat >>confdefs.h
<<_ACEOF
22558 #define HAVE_SQLITE3_H 1
22561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sqlite3_open_v2" >&5
22562 $as_echo_n "checking for library containing sqlite3_open_v2... " >&6; }
22563 if ${ac_cv_search_sqlite3_open_v2+:} false
; then :
22564 $as_echo_n "(cached) " >&6
22566 ac_func_search_save_LIBS
=$LIBS
22567 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22568 /* end confdefs.h. */
22570 /* Override any GCC internal prototype to avoid an error.
22571 Use char because int might match the return type of a GCC
22572 builtin and then its argument prototype would still apply. */
22576 char sqlite3_open_v2 ();
22580 return sqlite3_open_v2 ();
22585 for ac_lib
in '' sqlite3
; do
22586 if test -z "$ac_lib"; then
22587 ac_res
="none required"
22590 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
22592 if ac_fn_cxx_try_link
"$LINENO"; then :
22593 ac_cv_search_sqlite3_open_v2
=$ac_res
22595 rm -f core conftest.err conftest.
$ac_objext \
22597 if ${ac_cv_search_sqlite3_open_v2+:} false
; then :
22601 if ${ac_cv_search_sqlite3_open_v2+:} false
; then :
22604 ac_cv_search_sqlite3_open_v2
=no
22606 rm conftest.
$ac_ext
22607 LIBS
=$ac_func_search_save_LIBS
22609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sqlite3_open_v2" >&5
22610 $as_echo "$ac_cv_search_sqlite3_open_v2" >&6; }
22611 ac_res
=$ac_cv_search_sqlite3_open_v2
22612 if test "$ac_res" != no
; then :
22613 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
22627 for ac_header
in ffi.h ffi
/ffi.h
22629 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
22630 ac_fn_cxx_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
22631 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
22632 cat >>confdefs.h
<<_ACEOF
22633 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
22644 if test "x$ac_cv_header_ffi_h" = xno
&& test "x$ac_cv_header_ffi_ffi_h" = xno
; then :
22648 C compiler flags
for LIBFFI
, overriding pkg
-config
22649 LIBFFI_LIBS linker flags
for LIBFFI
, overriding pkg
-config
22652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBFFI" >&5
22653 $as_echo_n "checking for LIBFFI... " >&6; }
22655 if test -n "$LIBFFI_CFLAGS"; then
22656 pkg_cv_LIBFFI_CFLAGS
="$LIBFFI_CFLAGS"
22657 elif test -n "$PKG_CONFIG"; then
22658 if test -n "$PKG_CONFIG" && \
22659 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libffi\""; } >&5
22660 ($PKG_CONFIG --exists --print-errors "libffi") 2>&5
22662 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22663 test $ac_status = 0; }; then
22664 pkg_cv_LIBFFI_CFLAGS
=`$PKG_CONFIG --cflags "libffi" 2>/dev/null`
22665 test "x$?" != "x0" && pkg_failed
=yes
22672 if test -n "$LIBFFI_LIBS"; then
22673 pkg_cv_LIBFFI_LIBS
="$LIBFFI_LIBS"
22674 elif test -n "$PKG_CONFIG"; then
22675 if test -n "$PKG_CONFIG" && \
22676 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libffi\""; } >&5
22677 ($PKG_CONFIG --exists --print-errors "libffi") 2>&5
22679 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22680 test $ac_status = 0; }; then
22681 pkg_cv_LIBFFI_LIBS
=`$PKG_CONFIG --libs "libffi" 2>/dev/null`
22682 test "x$?" != "x0" && pkg_failed
=yes
22692 if test $pkg_failed = yes; then
22693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22694 $as_echo "no" >&6; }
22696 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
22697 _pkg_short_errors_supported
=yes
22699 _pkg_short_errors_supported
=no
22701 if test $_pkg_short_errors_supported = yes; then
22702 LIBFFI_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libffi" 2>&1`
22704 LIBFFI_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "libffi" 2>&1`
22706 # Put the nasty error message in config.log where it belongs
22707 echo "$LIBFFI_PKG_ERRORS" >&5
22709 as_fn_error $?
"missing \"libffi\"" "$LINENO" 5
22710 elif test $pkg_failed = untried
; then
22711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22712 $as_echo "no" >&6; }
22713 as_fn_error $?
"missing \"libffi\"" "$LINENO" 5
22715 LIBFFI_CFLAGS
=$pkg_cv_LIBFFI_CFLAGS
22716 LIBFFI_LIBS
=$pkg_cv_LIBFFI_LIBS
22717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22718 $as_echo "yes" >&6; }
22721 for element
in `$PKG_CONFIG --cflags libffi`; do
22723 for x
in $CPPFLAGS; do
22725 acl_save_prefix
="$prefix"
22726 prefix
="$acl_final_prefix"
22727 acl_save_exec_prefix
="$exec_prefix"
22728 exec_prefix
="$acl_final_exec_prefix"
22730 exec_prefix
="$acl_save_exec_prefix"
22731 prefix
="$acl_save_prefix"
22733 if test "X$x" = "X$element"; then
22738 if test -z "$haveit"; then
22739 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
22744 for element
in `$PKG_CONFIG --libs libffi`; do
22748 acl_save_prefix
="$prefix"
22749 prefix
="$acl_final_prefix"
22750 acl_save_exec_prefix
="$exec_prefix"
22751 exec_prefix
="$acl_final_exec_prefix"
22753 exec_prefix
="$acl_save_exec_prefix"
22754 prefix
="$acl_save_prefix"
22756 if test "X$x" = "X$element"; then
22761 if test -z "$haveit"; then
22762 LIBS
="${LIBS}${LIBS:+ }$element"
22771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing ffi_call" >&5
22772 $as_echo_n "checking for library containing ffi_call... " >&6; }
22773 if ${ac_cv_search_ffi_call+:} false
; then :
22774 $as_echo_n "(cached) " >&6
22776 ac_func_search_save_LIBS
=$LIBS
22777 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22778 /* end confdefs.h. */
22780 /* Override any GCC internal prototype to avoid an error.
22781 Use char because int might match the return type of a GCC
22782 builtin and then its argument prototype would still apply. */
22790 return ffi_call ();
22795 for ac_lib
in '' ffi
; do
22796 if test -z "$ac_lib"; then
22797 ac_res
="none required"
22800 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
22802 if ac_fn_cxx_try_link
"$LINENO"; then :
22803 ac_cv_search_ffi_call
=$ac_res
22805 rm -f core conftest.err conftest.
$ac_objext \
22807 if ${ac_cv_search_ffi_call+:} false
; then :
22811 if ${ac_cv_search_ffi_call+:} false
; then :
22814 ac_cv_search_ffi_call
=no
22816 rm conftest.
$ac_ext
22817 LIBS
=$ac_func_search_save_LIBS
22819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_ffi_call" >&5
22820 $as_echo "$ac_cv_search_ffi_call" >&6; }
22821 ac_res
=$ac_cv_search_ffi_call
22822 if test "$ac_res" != no
; then :
22823 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
22827 case $ac_cv_search_ffi_call in #(
22832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBFFI" >&5
22833 $as_echo_n "checking for LIBFFI... " >&6; }
22835 if test -n "$LIBFFI_CFLAGS"; then
22836 pkg_cv_LIBFFI_CFLAGS
="$LIBFFI_CFLAGS"
22837 elif test -n "$PKG_CONFIG"; then
22838 if test -n "$PKG_CONFIG" && \
22839 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libffi\""; } >&5
22840 ($PKG_CONFIG --exists --print-errors "libffi") 2>&5
22842 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22843 test $ac_status = 0; }; then
22844 pkg_cv_LIBFFI_CFLAGS
=`$PKG_CONFIG --cflags "libffi" 2>/dev/null`
22845 test "x$?" != "x0" && pkg_failed
=yes
22852 if test -n "$LIBFFI_LIBS"; then
22853 pkg_cv_LIBFFI_LIBS
="$LIBFFI_LIBS"
22854 elif test -n "$PKG_CONFIG"; then
22855 if test -n "$PKG_CONFIG" && \
22856 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libffi\""; } >&5
22857 ($PKG_CONFIG --exists --print-errors "libffi") 2>&5
22859 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22860 test $ac_status = 0; }; then
22861 pkg_cv_LIBFFI_LIBS
=`$PKG_CONFIG --libs "libffi" 2>/dev/null`
22862 test "x$?" != "x0" && pkg_failed
=yes
22872 if test $pkg_failed = yes; then
22873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22874 $as_echo "no" >&6; }
22876 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
22877 _pkg_short_errors_supported
=yes
22879 _pkg_short_errors_supported
=no
22881 if test $_pkg_short_errors_supported = yes; then
22882 LIBFFI_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libffi" 2>&1`
22884 LIBFFI_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "libffi" 2>&1`
22886 # Put the nasty error message in config.log where it belongs
22887 echo "$LIBFFI_PKG_ERRORS" >&5
22889 as_fn_error $?
"missing \"libffi\"" "$LINENO" 5
22890 elif test $pkg_failed = untried
; then
22891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22892 $as_echo "no" >&6; }
22893 as_fn_error $?
"missing \"libffi\"" "$LINENO" 5
22895 LIBFFI_CFLAGS
=$pkg_cv_LIBFFI_CFLAGS
22896 LIBFFI_LIBS
=$pkg_cv_LIBFFI_LIBS
22897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22898 $as_echo "yes" >&6; }
22901 for element
in `$PKG_CONFIG --cflags libffi`; do
22903 for x
in $CPPFLAGS; do
22905 acl_save_prefix
="$prefix"
22906 prefix
="$acl_final_prefix"
22907 acl_save_exec_prefix
="$exec_prefix"
22908 exec_prefix
="$acl_final_exec_prefix"
22910 exec_prefix
="$acl_save_exec_prefix"
22911 prefix
="$acl_save_prefix"
22913 if test "X$x" = "X$element"; then
22918 if test -z "$haveit"; then
22919 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
22924 for element
in `$PKG_CONFIG --libs libffi`; do
22928 acl_save_prefix
="$prefix"
22929 prefix
="$acl_final_prefix"
22930 acl_save_exec_prefix
="$exec_prefix"
22931 exec_prefix
="$acl_final_exec_prefix"
22933 exec_prefix
="$acl_save_exec_prefix"
22934 prefix
="$acl_save_prefix"
22936 if test "X$x" = "X$element"; then
22941 if test -z "$haveit"; then
22942 LIBS
="${LIBS}${LIBS:+ }$element"
22959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaVM" >&5
22960 $as_echo_n "checking for framework JavaVM... " >&6; }
22961 if ${ac_cv_framework_JavaVM+:} false
; then :
22962 $as_echo_n "(cached) " >&6
22965 ac_check_framework_save_LIBS
=$LIBS
22966 LIBS
="-framework JavaVM $LIBS"
22967 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22968 /* end confdefs.h. */
22970 #include <JavaVM/jni.h>
22975 JNI_GetCreatedJavaVMs(NULL, 0, NULL);
22980 if ac_fn_cxx_try_link
"$LINENO"; then :
22982 ac_cv_framework_JavaVM
=yes
22985 ac_cv_framework_JavaVM
=no
22987 rm -f core conftest.err conftest.
$ac_objext \
22988 conftest
$ac_exeext conftest.
$ac_ext
22989 LIBS
=$ac_check_framework_save_LIBS
22992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaVM" >&5
22993 $as_echo "$ac_cv_framework_JavaVM" >&6; }
22994 if test $ac_cv_framework_JavaVM = yes; then :
22997 for element
in "-framework JavaVM"; do
23001 acl_save_prefix
="$prefix"
23002 prefix
="$acl_final_prefix"
23003 acl_save_exec_prefix
="$exec_prefix"
23004 exec_prefix
="$acl_final_exec_prefix"
23006 exec_prefix
="$acl_save_exec_prefix"
23007 prefix
="$acl_save_prefix"
23009 if test "X$x" = "X$element"; then
23014 if test -z "$haveit"; then
23015 LIBS
="${LIBS}${LIBS:+ }$element"
23025 ac_fn_cxx_check_header_mongrel
"$LINENO" "jni.h" "ac_cv_header_jni_h" "$ac_includes_default"
23026 if test "x$ac_cv_header_jni_h" = xyes
; then :
23033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing JNI_GetCreatedJavaVMs" >&5
23034 $as_echo_n "checking for library containing JNI_GetCreatedJavaVMs... " >&6; }
23035 if ${ac_cv_search_JNI_GetCreatedJavaVMs+:} false
; then :
23036 $as_echo_n "(cached) " >&6
23038 ac_func_search_save_LIBS
=$LIBS
23039 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23040 /* end confdefs.h. */
23042 /* Override any GCC internal prototype to avoid an error.
23043 Use char because int might match the return type of a GCC
23044 builtin and then its argument prototype would still apply. */
23048 char JNI_GetCreatedJavaVMs ();
23052 return JNI_GetCreatedJavaVMs ();
23057 for ac_lib
in '' dvm
; do
23058 if test -z "$ac_lib"; then
23059 ac_res
="none required"
23062 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
23064 if ac_fn_cxx_try_link
"$LINENO"; then :
23065 ac_cv_search_JNI_GetCreatedJavaVMs
=$ac_res
23067 rm -f core conftest.err conftest.
$ac_objext \
23069 if ${ac_cv_search_JNI_GetCreatedJavaVMs+:} false
; then :
23073 if ${ac_cv_search_JNI_GetCreatedJavaVMs+:} false
; then :
23076 ac_cv_search_JNI_GetCreatedJavaVMs
=no
23078 rm conftest.
$ac_ext
23079 LIBS
=$ac_func_search_save_LIBS
23081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_JNI_GetCreatedJavaVMs" >&5
23082 $as_echo "$ac_cv_search_JNI_GetCreatedJavaVMs" >&6; }
23083 ac_res
=$ac_cv_search_JNI_GetCreatedJavaVMs
23084 if test "$ac_res" != no
; then :
23085 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
23106 ac_cpp
='$OBJCXXCPP $CPPFLAGS'
23107 ac_compile
='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23108 ac_link
='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23109 ac_compiler_gnu
=$ac_cv_objcxx_compiler_gnu
23112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we really have Objective C++" >&5
23113 $as_echo_n "checking if we really have Objective C++... " >&6; }
23114 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23115 /* end confdefs.h. */
23118 if ac_fn_objcxx_try_compile
"$LINENO"; then :
23121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23122 $as_echo "yes" >&6; }
23125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23126 $as_echo "no" >&6; }
23128 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23130 if test "x$CY_OBJECTIVEC" = x1
; then :
23136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework CoreFoundation" >&5
23137 $as_echo_n "checking for framework CoreFoundation... " >&6; }
23138 if ${ac_cv_framework_CoreFoundation+:} false
; then :
23139 $as_echo_n "(cached) " >&6
23142 ac_check_framework_save_LIBS
=$LIBS
23143 LIBS
="-framework CoreFoundation $LIBS"
23144 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23145 /* end confdefs.h. */
23147 #include <CoreFoundation/CFBase.h>
23152 CFAllocatorGetDefault();
23157 if ac_fn_objcxx_try_link
"$LINENO"; then :
23159 ac_cv_framework_CoreFoundation
=yes
23162 ac_cv_framework_CoreFoundation
=no
23164 rm -f core conftest.err conftest.
$ac_objext \
23165 conftest
$ac_exeext conftest.
$ac_ext
23166 LIBS
=$ac_check_framework_save_LIBS
23169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_CoreFoundation" >&5
23170 $as_echo "$ac_cv_framework_CoreFoundation" >&6; }
23171 if test $ac_cv_framework_CoreFoundation = yes; then :
23174 for element
in "-framework CoreFoundation"; do
23178 acl_save_prefix
="$prefix"
23179 prefix
="$acl_final_prefix"
23180 acl_save_exec_prefix
="$exec_prefix"
23181 exec_prefix
="$acl_final_exec_prefix"
23183 exec_prefix
="$acl_save_exec_prefix"
23184 prefix
="$acl_save_prefix"
23186 if test "X$x" = "X$element"; then
23191 if test -z "$haveit"; then
23192 LIBS
="${LIBS}${LIBS:+ }$element"
23201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework Foundation" >&5
23202 $as_echo_n "checking for framework Foundation... " >&6; }
23203 if ${ac_cv_framework_Foundation+:} false
; then :
23204 $as_echo_n "(cached) " >&6
23207 ac_check_framework_save_LIBS
=$LIBS
23208 LIBS
="-framework Foundation $LIBS"
23209 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23210 /* end confdefs.h. */
23212 #include <Foundation/NSObject.h>
23217 [[NSObject alloc] init];
23222 if ac_fn_objcxx_try_link
"$LINENO"; then :
23224 ac_cv_framework_Foundation
=yes
23227 ac_cv_framework_Foundation
=no
23229 rm -f core conftest.err conftest.
$ac_objext \
23230 conftest
$ac_exeext conftest.
$ac_ext
23231 LIBS
=$ac_check_framework_save_LIBS
23234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_Foundation" >&5
23235 $as_echo "$ac_cv_framework_Foundation" >&6; }
23236 if test $ac_cv_framework_Foundation = yes; then :
23239 for element
in "-framework Foundation"; do
23243 acl_save_prefix
="$prefix"
23244 prefix
="$acl_final_prefix"
23245 acl_save_exec_prefix
="$exec_prefix"
23246 exec_prefix
="$acl_final_exec_prefix"
23248 exec_prefix
="$acl_save_exec_prefix"
23249 prefix
="$acl_save_prefix"
23251 if test "X$x" = "X$element"; then
23256 if test -z "$haveit"; then
23257 LIBS
="${LIBS}${LIBS:+ }$element"
23261 cat >>confdefs.h
<<_ACEOF
23262 #define HAVE_FRAMEWORK_FOUNDATION 1
23272 for ac_prog
in gnustep
-config
23274 # Extract the first word of "$ac_prog", so it can be a program name with args.
23275 set dummy
$ac_prog; ac_word
=$2
23276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23277 $as_echo_n "checking for $ac_word... " >&6; }
23278 if ${ac_cv_prog_GNUSTEP_CONFIG+:} false
; then :
23279 $as_echo_n "(cached) " >&6
23281 if test -n "$GNUSTEP_CONFIG"; then
23282 ac_cv_prog_GNUSTEP_CONFIG
="$GNUSTEP_CONFIG" # Let the user override the test.
23284 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23285 for as_dir
in $PATH
23288 test -z "$as_dir" && as_dir
=.
23289 for ac_exec_ext
in '' $ac_executable_extensions; do
23290 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
23291 ac_cv_prog_GNUSTEP_CONFIG
="$ac_prog"
23292 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23301 GNUSTEP_CONFIG
=$ac_cv_prog_GNUSTEP_CONFIG
23302 if test -n "$GNUSTEP_CONFIG"; then
23303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNUSTEP_CONFIG" >&5
23304 $as_echo "$GNUSTEP_CONFIG" >&6; }
23306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23307 $as_echo "no" >&6; }
23311 test -n "$GNUSTEP_CONFIG" && break
23315 if test "x$GNUSTEP_CONFIG" != x
; then :
23319 for element
in `$GNUSTEP_CONFIG --objc-flags`; do
23321 for x
in $OBJCXXFLAGS; do
23323 acl_save_prefix
="$prefix"
23324 prefix
="$acl_final_prefix"
23325 acl_save_exec_prefix
="$exec_prefix"
23326 exec_prefix
="$acl_final_exec_prefix"
23328 exec_prefix
="$acl_save_exec_prefix"
23329 prefix
="$acl_save_prefix"
23331 if test "X$x" = "X$element"; then
23336 if test -z "$haveit"; then
23337 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
23342 for element
in `$GNUSTEP_CONFIG --base-libs`; do
23346 acl_save_prefix
="$prefix"
23347 prefix
="$acl_final_prefix"
23348 acl_save_exec_prefix
="$exec_prefix"
23349 exec_prefix
="$acl_final_exec_prefix"
23351 exec_prefix
="$acl_save_exec_prefix"
23352 prefix
="$acl_save_prefix"
23354 if test "X$x" = "X$element"; then
23359 if test -z "$haveit"; then
23360 LIBS
="${LIBS}${LIBS:+ }$element"
23379 ac_cpp
='$CXXCPP $CPPFLAGS'
23380 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23381 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23382 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23389 if test "x$CY_JAVA" = x1
; then
23397 if test "x$CY_OBJECTIVEC" = x1
; then
23398 CY_OBJECTIVEC_TRUE
=
23399 CY_OBJECTIVEC_FALSE
='#'
23401 CY_OBJECTIVEC_TRUE
='#'
23402 CY_OBJECTIVEC_FALSE
=
23407 # Check whether --with-libclang was given.
23408 if test "${with_libclang+set}" = set; then :
23409 withval
=$with_libclang;
23415 if test "x$with_libclang" != "xno"; then :
23417 CY_LIBCLANG
="$with_libclang"
23420 if test "x$with_libclang" != "xno"; then
23422 CY_PRELINK_FALSE
='#'
23424 CY_PRELINK_TRUE
='#'
23433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a readline compatible library" >&5
23434 $as_echo_n "checking for a readline compatible library... " >&6; }
23435 if ${ax_cv_lib_readline+:} false
; then :
23436 $as_echo_n "(cached) " >&6
23440 for readline_lib
in readline edit editline
; do
23441 for termcap_lib
in "" termcap curses ncurses
; do
23442 if test -z "$termcap_lib"; then
23443 TRY_LIB
="-l$readline_lib"
23445 TRY_LIB
="-l$readline_lib -l$termcap_lib"
23447 LIBS
="$ORIG_LIBS $TRY_LIB"
23448 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23449 /* end confdefs.h. */
23451 /* Override any GCC internal prototype to avoid an error.
23452 Use char because int might match the return type of a GCC
23453 builtin and then its argument prototype would still apply. */
23461 return readline ();
23466 if ac_fn_cxx_try_link
"$LINENO"; then :
23467 ax_cv_lib_readline
="$TRY_LIB"
23469 rm -f core conftest.err conftest.
$ac_objext \
23470 conftest
$ac_exeext conftest.
$ac_ext
23471 if test -n "$ax_cv_lib_readline"; then
23475 if test -n "$ax_cv_lib_readline"; then
23479 if test -z "$ax_cv_lib_readline"; then
23480 ax_cv_lib_readline
="no"
23485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_lib_readline" >&5
23486 $as_echo "$ax_cv_lib_readline" >&6; }
23488 if test "$ax_cv_lib_readline" != "no"; then
23489 LIBS
="$LIBS $ax_cv_lib_readline"
23491 $as_echo "#define HAVE_LIBREADLINE 1" >>confdefs.h
23493 for ac_header
in readline.h readline
/readline.h
23495 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
23496 ac_fn_cxx_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
23497 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
23498 cat >>confdefs.h
<<_ACEOF
23499 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
23506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether readline supports history" >&5
23507 $as_echo_n "checking whether readline supports history... " >&6; }
23508 if ${ax_cv_lib_readline_history+:} false
; then :
23509 $as_echo_n "(cached) " >&6
23512 ax_cv_lib_readline_history
="no"
23513 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23514 /* end confdefs.h. */
23516 /* Override any GCC internal prototype to avoid an error.
23517 Use char because int might match the return type of a GCC
23518 builtin and then its argument prototype would still apply. */
23522 char add_history ();
23526 return add_history ();
23531 if ac_fn_cxx_try_link
"$LINENO"; then :
23532 ax_cv_lib_readline_history
="yes"
23534 rm -f core conftest.err conftest.
$ac_objext \
23535 conftest
$ac_exeext conftest.
$ac_ext
23538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_lib_readline_history" >&5
23539 $as_echo "$ax_cv_lib_readline_history" >&6; }
23540 if test "$ax_cv_lib_readline_history" = "yes"; then
23542 $as_echo "#define HAVE_READLINE_HISTORY 1" >>confdefs.h
23544 for ac_header
in history.h readline
/history.h
23546 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
23547 ac_fn_cxx_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
23548 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
23549 cat >>confdefs.h
<<_ACEOF
23550 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
23560 LTLIBREADLINE
=$LIBS
23564 case $ax_cv_lib_readline in #(
23566 as_fn_error $?
"missing \"libreadline\"" "$LINENO" 5 ;; #(
23574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing cur_term" >&5
23575 $as_echo_n "checking for library containing cur_term... " >&6; }
23576 if ${ac_cv_search_cur_term+:} false
; then :
23577 $as_echo_n "(cached) " >&6
23579 ac_func_search_save_LIBS
=$LIBS
23580 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23581 /* end confdefs.h. */
23583 /* Override any GCC internal prototype to avoid an error.
23584 Use char because int might match the return type of a GCC
23585 builtin and then its argument prototype would still apply. */
23593 return cur_term ();
23598 for ac_lib
in '' termcap ncurses
; do
23599 if test -z "$ac_lib"; then
23600 ac_res
="none required"
23603 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
23605 if ac_fn_cxx_try_link
"$LINENO"; then :
23606 ac_cv_search_cur_term
=$ac_res
23608 rm -f core conftest.err conftest.
$ac_objext \
23610 if ${ac_cv_search_cur_term+:} false
; then :
23614 if ${ac_cv_search_cur_term+:} false
; then :
23617 ac_cv_search_cur_term
=no
23619 rm conftest.
$ac_ext
23620 LIBS
=$ac_func_search_save_LIBS
23622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_cur_term" >&5
23623 $as_echo "$ac_cv_search_cur_term" >&6; }
23624 ac_res
=$ac_cv_search_cur_term
23625 if test "$ac_res" != no
; then :
23626 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
23641 ac_config_files
="$ac_config_files Makefile"
23643 cat >confcache
<<\_ACEOF
23644 # This file is a shell script that caches the results of configure
23645 # tests run on this system so they can be shared between configure
23646 # scripts and configure runs, see configure's option --config-cache.
23647 # It is not useful on other systems. If it contains results you don't
23648 # want to keep, you may remove or edit it.
23650 # config.status only pays attention to the cache file if you give it
23651 # the --recheck option to rerun configure.
23653 # `ac_cv_env_foo' variables (set or unset) will be overridden when
23654 # loading this file, other *unset* `ac_cv_foo' will be assigned the
23655 # following values.
23659 # The following way of writing the cache mishandles newlines in values,
23660 # but we know of no workaround that is simple, portable, and efficient.
23661 # So, we kill variables containing newlines.
23662 # Ultrix sh set writes to stderr and can't be redirected directly,
23663 # and sets the high bit in the cache file unless we assign to the vars.
23665 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
23666 eval ac_val
=\$
$ac_var
23670 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
23671 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
23674 _
| IFS
| as_nl
) ;; #(
23675 BASH_ARGV
| BASH_SOURCE
) eval $ac_var= ;; #(
23676 *) { eval $ac_var=; unset $ac_var;} ;;
23682 case $as_nl`(ac_space=' '; set) 2>&1` in #(
23683 *${as_nl}ac_space
=\
*)
23684 # `set' does not quote correctly, so add quotes: double-quote
23685 # substitution turns \\\\ into \\, and sed turns \\ into \.
23688 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
23691 # `set' quotes correctly as required by POSIX, so do not add quotes.
23692 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
23701 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
23703 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
23705 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
23706 if test -w "$cache_file"; then
23707 if test "x$cache_file" != "x/dev/null"; then
23708 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
23709 $as_echo "$as_me: updating cache $cache_file" >&6;}
23710 if test ! -f "$cache_file" || test -h "$cache_file"; then
23711 cat confcache
>"$cache_file"
23713 case $cache_file in #(
23715 mv -f confcache
"$cache_file"$$
&&
23716 mv -f "$cache_file"$$
"$cache_file" ;; #(
23718 mv -f confcache
"$cache_file" ;;
23723 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
23724 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
23729 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
23730 # Let make expand exec_prefix.
23731 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
23733 DEFS
=-DHAVE_CONFIG_H
23738 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
23739 # 1. Remove the extension, and $U if already installed.
23740 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
23741 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
23742 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
23743 # will be set to the directory where LIBOBJS objects are built.
23744 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
23745 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
23747 LIBOBJS
=$ac_libobjs
23749 LTLIBOBJS
=$ac_ltlibobjs
23752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
23753 $as_echo_n "checking that generated files are newer than configure... " >&6; }
23754 if test -n "$am_sleep_pid"; then
23755 # Hide warnings about reused PIDs.
23756 wait $am_sleep_pid 2>/dev
/null
23758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
23759 $as_echo "done" >&6; }
23760 if test -n "$EXEEXT"; then
23762 am__EXEEXT_FALSE
='#'
23764 am__EXEEXT_TRUE
='#'
23768 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
23769 as_fn_error $?
"conditional \"MAINTAINER_MODE\" was never defined.
23770 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23772 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
23773 as_fn_error $?
"conditional \"AMDEP\" was never defined.
23774 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23776 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
23777 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
23778 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23780 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
23781 as_fn_error $?
"conditional \"am__fastdepCXX\" was never defined.
23782 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23784 if test -z "${am__fastdepOBJCXX_TRUE}" && test -z "${am__fastdepOBJCXX_FALSE}"; then
23785 as_fn_error $?
"conditional \"am__fastdepOBJCXX\" was never defined.
23786 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23788 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
23789 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
23790 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23792 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
23793 as_fn_error $?
"conditional \"am__fastdepCXX\" was never defined.
23794 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23796 if test -z "${CY_CONSOLE_TRUE}" && test -z "${CY_CONSOLE_FALSE}"; then
23797 as_fn_error $?
"conditional \"CY_CONSOLE\" was never defined.
23798 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23800 if test -z "${CY_ATTACH_TRUE}" && test -z "${CY_ATTACH_FALSE}"; then
23801 as_fn_error $?
"conditional \"CY_ATTACH\" was never defined.
23802 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23804 if test -z "${CY_EXECUTE_TRUE}" && test -z "${CY_EXECUTE_FALSE}"; then
23805 as_fn_error $?
"conditional \"CY_EXECUTE\" was never defined.
23806 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23808 if test -z "${CY_JAVA_TRUE}" && test -z "${CY_JAVA_FALSE}"; then
23809 as_fn_error $?
"conditional \"CY_JAVA\" was never defined.
23810 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23812 if test -z "${CY_OBJECTIVEC_TRUE}" && test -z "${CY_OBJECTIVEC_FALSE}"; then
23813 as_fn_error $?
"conditional \"CY_OBJECTIVEC\" was never defined.
23814 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23816 if test -z "${CY_PRELINK_TRUE}" && test -z "${CY_PRELINK_FALSE}"; then
23817 as_fn_error $?
"conditional \"CY_PRELINK\" was never defined.
23818 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23821 : "${CONFIG_STATUS=./config.status}"
23823 ac_clean_files_save
=$ac_clean_files
23824 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
23825 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
23826 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
23828 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
23830 # Generated by $as_me.
23831 # Run this file to recreate the current configuration.
23832 # Compiler output produced by configure, useful for debugging
23833 # configure, is in config.log if it exists.
23836 ac_cs_recheck=false
23839 SHELL=\${CONFIG_SHELL-$SHELL}
23842 cat >>$CONFIG_STATUS <<\_ASEOF
|| as_write_fail
=1
23843 ## -------------------- ##
23844 ## M4sh Initialization. ##
23845 ## -------------------- ##
23847 # Be more Bourne compatible
23848 DUALCASE
=1; export DUALCASE
# for MKS sh
23849 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
23852 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23853 # is contrary to our usage. Disable this feature.
23854 alias -g '${1+"$@"}'='"$@"'
23855 setopt NO_GLOB_SUBST
23857 case `(set -o) 2>/dev/null` in #(
23869 # Printing a long string crashes Solaris 7 /usr/bin/printf.
23870 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
23871 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
23872 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
23873 # Prefer a ksh shell builtin over an external printf program on Solaris,
23874 # but without wasting forks for bash or zsh.
23875 if test -z "$BASH_VERSION$ZSH_VERSION" \
23876 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
23877 as_echo='print
-r --'
23878 as_echo_n='print
-rn --'
23879 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
23880 as_echo='printf %s
\n'
23881 as_echo_n='printf %s
'
23883 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
23884 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
23885 as_echo_n='/usr
/ucb
/echo -n'
23887 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
23888 as_echo_n_body='eval
23892 expr "X$arg" : "X\\(.*\\)$as_nl";
23893 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
23895 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
23897 export as_echo_n_body
23898 as_echo_n='sh
-c $as_echo_n_body as_echo
'
23900 export as_echo_body
23901 as_echo='sh
-c $as_echo_body as_echo
'
23904 # The user is always right.
23905 if test "${PATH_SEPARATOR+set}" != set; then
23907 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
23908 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
23915 # We need space, tab and new line, in precisely that order. Quoting is
23916 # there to prevent editors from complaining about space-tab.
23917 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
23918 # splitting by setting IFS to empty value.)
23921 # Find who we are. Look in the path if we contain no directory separator.
23924 *[\\/]* ) as_myself=$0 ;;
23925 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23926 for as_dir in $PATH
23929 test -z "$as_dir" && as_dir=.
23930 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
23936 # We did not find ourselves, most probably we were run as `sh COMMAND'
23937 # in which case we are not to be found in the path.
23938 if test "x$as_myself" = x
; then
23941 if test ! -f "$as_myself"; then
23942 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
23946 # Unset variables that we do not need and which cause bugs (e.g. in
23947 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
23948 # suppresses any "Segmentation fault" message there. '((' could
23949 # trigger a bug in pdksh 5.2.14.
23950 for as_var
in BASH_ENV ENV MAIL MAILPATH
23951 do eval test x\
${$as_var+set} = xset \
23952 && ( (unset $as_var) || exit 1) >/dev
/null
2>&1 && unset $as_var || :
23965 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
23968 # as_fn_error STATUS ERROR [LINENO LOG_FD]
23969 # ----------------------------------------
23970 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
23971 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
23972 # script with STATUS, using 1 if that was 0.
23975 as_status
=$1; test $as_status -eq 0 && as_status
=1
23977 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
23978 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
23980 $as_echo "$as_me: error: $2" >&2
23981 as_fn_exit
$as_status
23985 # as_fn_set_status STATUS
23986 # -----------------------
23987 # Set $? to STATUS, without forking.
23988 as_fn_set_status
()
23991 } # as_fn_set_status
23993 # as_fn_exit STATUS
23994 # -----------------
23995 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
23999 as_fn_set_status
$1
24005 # Portably unset VAR.
24008 { eval $1=; unset $1;}
24010 as_unset
=as_fn_unset
24011 # as_fn_append VAR VALUE
24012 # ----------------------
24013 # Append the text in VALUE to the end of the definition contained in VAR. Take
24014 # advantage of any shell optimizations that allow amortized linear growth over
24015 # repeated appends, instead of the typical quadratic growth present in naive
24017 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
24018 eval 'as_fn_append ()
24029 # as_fn_arith ARG...
24030 # ------------------
24031 # Perform arithmetic evaluation on the ARGs, and store the result in the
24032 # global $as_val. Take advantage of shells that can avoid forks. The arguments
24033 # must be portable across $(()) and expr.
24034 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
24035 eval 'as_fn_arith ()
24042 as_val
=`expr "$@" || test $? -eq 1`
24047 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
24048 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
24054 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
24055 as_basename
=basename
24060 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
24066 as_me
=`$as_basename -- "$0" ||
24067 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
24068 X"$0" : 'X\(//\)$' \| \
24069 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
24071 sed '/^.*\/\([^/][^/]*\)\/*$/{
24085 # Avoid depending upon Character Ranges.
24086 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
24087 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
24088 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
24089 as_cr_digits
='0123456789'
24090 as_cr_alnum
=$as_cr_Letters$as_cr_digits
24092 ECHO_C
= ECHO_N
= ECHO_T
=
24093 case `echo -n x` in #(((((
24095 case `echo 'xy\c'` in
24096 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
24098 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
24105 rm -f conf$$ conf$$.exe conf$$.
file
24106 if test -d conf$$.dir
; then
24107 rm -f conf$$.dir
/conf$$.
file
24110 mkdir conf$$.dir
2>/dev
/null
24112 if (echo >conf$$.
file) 2>/dev
/null
; then
24113 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
24115 # ... but there are two gotchas:
24116 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
24117 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
24118 # In both cases, we have to default to `cp -pR'.
24119 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
24121 elif ln conf$$.
file conf$$
2>/dev
/null
; then
24129 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
24130 rmdir conf$$.dir
2>/dev
/null
24135 # Create "$as_dir" as a directory, including parents if necessary.
24140 -*) as_dir
=.
/$as_dir;;
24142 test -d "$as_dir" || eval $as_mkdir_p || {
24146 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
24147 *) as_qdir
=$as_dir;;
24149 as_dirs
="'$as_qdir' $as_dirs"
24150 as_dir
=`$as_dirname -- "$as_dir" ||
24151 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24152 X"$as_dir" : 'X\(//\)[^/]' \| \
24153 X"$as_dir" : 'X\(//\)$' \| \
24154 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
24155 $as_echo X"$as_dir" |
24156 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
24160 /^X\(\/\/\)[^/].*/{
24173 test -d "$as_dir" && break
24175 test -z "$as_dirs" || eval "mkdir $as_dirs"
24176 } || test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
24180 if mkdir -p .
2>/dev
/null
; then
24181 as_mkdir_p
='mkdir -p "$as_dir"'
24183 test -d .
/-p && rmdir .
/-p
24188 # as_fn_executable_p FILE
24189 # -----------------------
24190 # Test if FILE is an executable regular file.
24191 as_fn_executable_p
()
24193 test -f "$1" && test -x "$1"
24194 } # as_fn_executable_p
24195 as_test_x
='test -x'
24196 as_executable_p
=as_fn_executable_p
24198 # Sed expression to map a string onto a valid CPP name.
24199 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
24201 # Sed expression to map a string onto a valid variable name.
24202 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
24206 ## ----------------------------------- ##
24207 ## Main body of $CONFIG_STATUS script. ##
24208 ## ----------------------------------- ##
24210 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
24212 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
24213 # Save the log message, to keep $0 and so on meaningful, and to
24214 # report actual input values of CONFIG_FILES etc. instead of their
24215 # values after options handling.
24217 This file was extended by Cycript $as_me 0.9, which was
24218 generated by GNU Autoconf 2.69. Invocation command line was
24220 CONFIG_FILES = $CONFIG_FILES
24221 CONFIG_HEADERS = $CONFIG_HEADERS
24222 CONFIG_LINKS = $CONFIG_LINKS
24223 CONFIG_COMMANDS = $CONFIG_COMMANDS
24226 on `(hostname || uname -n) 2>/dev/null | sed 1q`
24231 case $ac_config_files in *"
24232 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
24235 case $ac_config_headers in *"
24236 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
24240 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
24241 # Files that config.status was made for.
24242 config_files="$ac_config_files"
24243 config_headers="$ac_config_headers"
24244 config_commands="$ac_config_commands"
24248 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
24250 \`$as_me' instantiates files and other configuration actions
24251 from templates according to the current configuration. Unless the files
24252 and actions are specified as TAGs, all are instantiated by default.
24254 Usage: $0 [OPTION]... [TAG]...
24256 -h, --help print this help, then exit
24257 -V, --version print version number and configuration settings, then exit
24258 --config print configuration, then exit
24259 -q, --quiet, --silent
24260 do not print progress messages
24261 -d, --debug don't remove temporary files
24262 --recheck update $as_me by reconfiguring in the same conditions
24263 --file=FILE[:TEMPLATE]
24264 instantiate the configuration file FILE
24265 --header=FILE[:TEMPLATE]
24266 instantiate the configuration header FILE
24268 Configuration files:
24271 Configuration headers:
24274 Configuration commands:
24277 Report bugs to <saurik@saurik.com>.
24278 Cycript home page: <http://www.cycript.org/>."
24281 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
24282 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
24284 Cycript config.status 0.9
24285 configured by $0, generated by GNU Autoconf 2.69,
24286 with options \\"\$ac_cs_config\\"
24288 Copyright (C) 2012 Free Software Foundation, Inc.
24289 This config.status script is free software; the Free Software Foundation
24290 gives unlimited permission to copy, distribute and modify it."
24297 test -n "\$AWK" || AWK=awk
24300 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
24301 # The default lists apply if the user does not specify any file.
24307 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
24308 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
24312 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
24324 # Handling of the options.
24325 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
24327 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
24328 $as_echo "$ac_cs_version"; exit ;;
24329 --config | --confi | --conf | --con | --co | --c )
24330 $as_echo "$ac_cs_config"; exit ;;
24331 --debug | --debu | --deb | --de | --d | -d )
24333 --file | --fil | --fi | --f )
24336 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
24337 '') as_fn_error $?
"missing file argument" ;;
24339 as_fn_append CONFIG_FILES
" '$ac_optarg'"
24340 ac_need_defaults
=false
;;
24341 --header | --heade | --head | --hea )
24344 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
24346 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
24347 ac_need_defaults
=false
;;
24349 # Conflict between --help and --header
24350 as_fn_error $?
"ambiguous option: \`$1'
24351 Try \`$0 --help' for more information.";;
24352 --help | --hel | -h )
24353 $as_echo "$ac_cs_usage"; exit ;;
24354 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
24355 | -silent | --silent | --silen | --sile | --sil | --si | --s)
24358 # This is an error.
24359 -*) as_fn_error $?
"unrecognized option: \`$1'
24360 Try \`$0 --help' for more information." ;;
24362 *) as_fn_append ac_config_targets
" $1"
24363 ac_need_defaults
=false
;;
24369 ac_configure_extra_args
=
24371 if $ac_cs_silent; then
24373 ac_configure_extra_args
="$ac_configure_extra_args --silent"
24377 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
24378 if \$ac_cs_recheck; then
24379 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
24381 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
24382 CONFIG_SHELL='$SHELL'
24383 export CONFIG_SHELL
24388 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
24392 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
24393 ## Running $as_me. ##
24399 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
24403 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
24406 # The HP-UX ksh and POSIX shell print the target directory to stdout
24407 # if CDPATH is set.
24408 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
24410 sed_quote_subst='$sed_quote_subst'
24411 double_quote_subst='$double_quote_subst'
24412 delay_variable_subst='$delay_variable_subst'
24413 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
24414 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
24415 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
24416 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
24417 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
24418 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
24419 shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
24420 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
24421 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
24422 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
24423 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
24424 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
24425 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
24426 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
24427 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
24428 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
24429 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
24430 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
24431 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
24432 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
24433 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
24434 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
24435 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
24436 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
24437 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
24438 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
24439 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
24440 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
24441 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
24442 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
24443 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
24444 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
24445 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
24446 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
24447 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
24448 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
24449 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
24450 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
24451 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
24452 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
24453 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
24454 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
24455 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
24456 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
24457 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
24458 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
24459 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
24460 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
24461 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
24462 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
24463 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
24464 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
24465 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
24466 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
24467 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
24468 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
24469 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
24470 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
24471 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"`'
24472 lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
24473 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
24474 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
24475 lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
24476 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
24477 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
24478 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
24479 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
24480 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
24481 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
24482 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
24483 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
24484 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
24485 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
24486 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
24487 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
24488 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
24489 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
24490 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
24491 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
24492 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
24493 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
24494 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
24495 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
24496 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
24497 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
24498 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
24499 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
24500 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
24501 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
24502 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
24503 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
24504 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
24505 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
24506 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
24507 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
24508 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
24509 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
24510 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
24511 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
24512 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
24513 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
24514 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
24515 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
24516 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
24517 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
24518 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
24519 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
24520 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
24521 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
24522 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
24523 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
24524 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
24525 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
24526 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
24527 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
24528 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
24529 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
24530 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
24531 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
24532 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
24533 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
24534 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
24535 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
24536 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
24537 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
24538 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
24539 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
24540 configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
24541 configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
24542 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
24543 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
24544 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
24545 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
24546 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
24547 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
24548 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
24549 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
24550 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
24551 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
24552 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
24553 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
24554 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
24555 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
24556 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
24557 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
24558 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
24559 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
24560 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
24561 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
24562 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
24563 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
24564 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
24565 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
24566 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
24567 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
24568 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
24569 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
24570 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
24571 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
24572 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
24573 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
24574 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
24575 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
24576 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
24577 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
24578 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
24579 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
24580 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
24581 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
24582 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
24583 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
24584 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
24585 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
24586 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
24587 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
24588 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
24589 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
24590 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
24591 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
24592 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
24593 postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
24594 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
24595 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
24596 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
24597 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
24598 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
24599 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
24600 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
24601 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
24604 LTCFLAGS='$LTCFLAGS'
24605 compiler='$compiler_DEFAULT'
24607 # A function that is used when there is no print builtin or printf.
24608 func_fallback_echo ()
24610 eval 'cat <<_LTECHO_EOF
24615 # Quote evaled strings.
24630 deplibs_check_method \
24635 sharedlib_from_linklib_cmd \
24638 archiver_list_spec \
24644 lt_cv_sys_global_symbol_pipe \
24645 lt_cv_sys_global_symbol_to_cdecl \
24646 lt_cv_sys_global_symbol_to_import \
24647 lt_cv_sys_global_symbol_to_c_name_address \
24648 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
24649 lt_cv_nm_interface \
24650 nm_file_list_spec \
24651 lt_cv_truncate_bin \
24652 lt_prog_compiler_no_builtin_flag \
24653 lt_prog_compiler_pic \
24654 lt_prog_compiler_wl \
24655 lt_prog_compiler_static \
24656 lt_cv_prog_compiler_c_o \
24665 export_dynamic_flag_spec \
24666 whole_archive_flag_spec \
24667 compiler_needs_object \
24669 allow_undefined_flag \
24670 no_undefined_flag \
24671 hardcode_libdir_flag_spec \
24672 hardcode_libdir_separator \
24676 variables_saved_for_relink \
24678 library_names_spec \
24680 install_override_mode \
24684 compiler_lib_search_dirs \
24689 compiler_lib_search_path \
24693 lt_prog_compiler_no_builtin_flag_CXX \
24694 lt_prog_compiler_pic_CXX \
24695 lt_prog_compiler_wl_CXX \
24696 lt_prog_compiler_static_CXX \
24697 lt_cv_prog_compiler_c_o_CXX \
24698 export_dynamic_flag_spec_CXX \
24699 whole_archive_flag_spec_CXX \
24700 compiler_needs_object_CXX \
24702 allow_undefined_flag_CXX \
24703 no_undefined_flag_CXX \
24704 hardcode_libdir_flag_spec_CXX \
24705 hardcode_libdir_separator_CXX \
24706 exclude_expsyms_CXX \
24707 include_expsyms_CXX \
24708 file_list_spec_CXX \
24709 compiler_lib_search_dirs_CXX \
24710 predep_objects_CXX \
24711 postdep_objects_CXX \
24714 compiler_lib_search_path_CXX; do
24715 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
24716 *[\\\\\\\`\\"\\\$]*)
24717 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
24720 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
24725 # Double-quote double-evaled strings.
24726 for var in reload_cmds \
24727 old_postinstall_cmds \
24728 old_postuninstall_cmds \
24730 extract_expsyms_cmds \
24731 old_archive_from_new_cmds \
24732 old_archive_from_expsyms_cmds \
24734 archive_expsym_cmds \
24736 module_expsym_cmds \
24737 export_symbols_cmds \
24741 postuninstall_cmds \
24743 sys_lib_search_path_spec \
24744 configure_time_dlsearch_path \
24745 configure_time_lt_sys_library_path \
24747 old_archive_cmds_CXX \
24748 old_archive_from_new_cmds_CXX \
24749 old_archive_from_expsyms_cmds_CXX \
24751 archive_expsym_cmds_CXX \
24753 module_expsym_cmds_CXX \
24754 export_symbols_cmds_CXX \
24756 postlink_cmds_CXX; do
24757 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
24758 *[\\\\\\\`\\"\\\$]*)
24759 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
24762 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
24767 ac_aux_dir='$ac_aux_dir'
24769 # See if we are running on zsh, and set the options that allow our
24770 # commands through without removal of \ escapes INIT.
24771 if test -n "\${ZSH_VERSION+set}"; then
24772 setopt NO_GLOB_SUBST
24788 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
24790 # Handling of arguments.
24791 for ac_config_target
in $ac_config_targets
24793 case $ac_config_target in
24794 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
24795 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
24796 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
24797 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
24799 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
24804 # If the user did not use the arguments to specify the items to instantiate,
24805 # then the envvar interface is used. Set only those that are not.
24806 # We use the long form for the default assignment because of an extremely
24807 # bizarre bug on SunOS 4.1.3.
24808 if $ac_need_defaults; then
24809 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
24810 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
24811 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
24814 # Have a temporary directory for convenience. Make it in the build tree
24815 # simply because there is no reason against having it here, and in addition,
24816 # creating and moving files from /tmp can sometimes cause problems.
24817 # Hook for its removal unless debugging.
24818 # Note that there is a small window in which the directory will not be cleaned:
24819 # after its creation but before its name has been assigned to `$tmp'.
24823 trap 'exit_status=$?
24824 : "${ac_tmp:=$tmp}"
24825 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
24827 trap 'as_fn_exit 1' 1 2 13 15
24829 # Create a (secure) tmp directory for tmp files.
24832 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
24836 tmp
=.
/conf$$
-$RANDOM
24837 (umask 077 && mkdir "$tmp")
24838 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
24841 # Set up the scripts for CONFIG_FILES section.
24842 # No need to generate them if there are no CONFIG_FILES.
24843 # This happens for instance with `./config.status config.h'.
24844 if test -n "$CONFIG_FILES"; then
24847 ac_cr
=`echo X | tr X '\015'`
24848 # On cygwin, bash can eat \r inside `` if the user requested igncr.
24849 # But we know of no other shell where ac_cr would be empty at this
24850 # point, so we can use a bashism as a fallback.
24851 if test "x$ac_cr" = x
; then
24852 eval ac_cr
=\$
\'\\r
\'
24854 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
24855 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
24858 ac_cs_awk_cr
=$ac_cr
24861 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
24866 echo "cat >conf$$subs.awk <<_ACEOF" &&
24867 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
24869 } >conf$$subs.sh ||
24870 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
24871 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
24873 for ac_last_try in false false false false false :; do
24874 . ./conf$$subs.sh ||
24875 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
24877 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
24878 if test $ac_delim_n = $ac_delim_num; then
24880 elif $ac_last_try; then
24881 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
24883 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
24886 rm -f conf$$subs.sh
24888 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
24889 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
24893 s/^/S["/; s
/!.
*/"]=/
24903 s/\(.\{148\}\)..*/\1/
24905 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
24910 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
24917 s/\(.\{148\}\)..*/\1/
24919 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
24923 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
24928 ' <conf$$subs.awk | sed '
24933 ' >>$CONFIG_STATUS || ac_write_fail=1
24934 rm -f conf$$subs.awk
24935 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
24937 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
24938 for (key in S) S_is_set[key] = 1
24944 nfields = split(line, field, "@
")
24946 len = length(field[1])
24947 for (i = 2; i < nfields; i++) {
24949 keylen = length(key)
24950 if (S_is_set[key]) {
24952 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
24953 len += length(value) + length(field[++i])
24964 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
24965 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
24966 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
24969 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
24970 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
24973 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
24974 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
24975 # trailing colons and then remove the whole line if VPATH becomes empty
24976 # (actually we leave an empty line to preserve line numbers).
24977 if test "x
$srcdir" = x.; then
24978 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
24996 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
24997 fi # test -n "$CONFIG_FILES"
24999 # Set up the scripts for CONFIG_HEADERS section.
25000 # No need to generate them if there are no CONFIG_HEADERS.
25001 # This happens for instance with `./config.status Makefile'.
25002 if test -n "$CONFIG_HEADERS"; then
25003 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
25007 # Transform confdefs.h into an awk script `defines.awk', embedded as
25008 # here-document in config.status, that substitutes the proper values into
25009 # config.h.in to produce config.h.
25011 # Create a delimiter string that does not exist in confdefs.h, to ease
25012 # handling of long lines.
25014 for ac_last_try in false false :; do
25015 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
25016 if test -z "$ac_tt"; then
25018 elif $ac_last_try; then
25019 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
25021 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
25025 # For the awk script, D is an array of macro values keyed by name,
25026 # likewise P contains macro parameters if any. Preserve backslash
25027 # newline sequences.
25029 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
25031 s/.\{148\}/&'"$ac_delim"'/g
25034 s/^[ ]*#[ ]*define[ ][ ]*/ /
25041 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
25043 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
25047 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
25048 D["\
1"]=" \
3\\\\\\n
"\\/p
25050 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
25055 s/.\{148\}/&'"$ac_delim"'/g
25060 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
25063 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
25065 ' <confdefs.h | sed '
25066 s/'"$ac_delim"'/"\\\
25067 "/g' >>$CONFIG_STATUS || ac_write_fail=1
25069 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25070 for (key in D) D_is_set[key] = 1
25073 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
25075 split(line, arg, " ")
25076 if (arg[1] == "#") {
25080 defundef
= substr
(arg
[1], 2)
25083 split(mac1
, mac2
, "(") #)
25085 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
25086 if (D_is_set
[macro
]) {
25087 # Preserve the white space surrounding the "#".
25088 print prefix
"define", macro P
[macro
] D
[macro
]
25091 # Replace #undef with comments. This is necessary, for example,
25092 # in the case of _POSIX_SOURCE, which is predefined and required
25093 # on some systems where configure will not decide to define it.
25094 if (defundef
== "undef") {
25095 print
"/*", prefix defundef
, macro
, "*/"
25103 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
25104 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
25105 fi # test -n "$CONFIG_HEADERS"
25108 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
25113 :[FHLC
]) ac_mode
=$ac_tag; continue;;
25115 case $ac_mode$ac_tag in
25117 :L
* | :C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
25118 :[FH
]-) ac_tag
=-:-;;
25119 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
25136 -) ac_f
="$ac_tmp/stdin";;
25137 *) # Look for the file first in the build tree, then in the source tree
25138 # (if the path is not absolute). The absolute path cannot be DOS-style,
25139 # because $ac_f cannot contain `:'.
25143 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
25145 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
25147 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
25148 as_fn_append ac_file_inputs
" '$ac_f'"
25151 # Let's still pretend it is `configure' which instantiates (i.e., don't
25152 # use $as_me), people would be surprised to read:
25153 # /* config.h. Generated by config.status. */
25154 configure_input
='Generated from '`
25155 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
25157 if test x
"$ac_file" != x
-; then
25158 configure_input
="$ac_file. $configure_input"
25159 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
25160 $as_echo "$as_me: creating $ac_file" >&6;}
25162 # Neutralize special characters interpreted by sed in replacement strings.
25163 case $configure_input in #(
25164 *\
&* | *\
|* | *\\* )
25165 ac_sed_conf_input
=`$as_echo "$configure_input" |
25166 sed 's/[\\\\&|]/\\\\&/g'`;; #(
25167 *) ac_sed_conf_input
=$configure_input;;
25171 *:-:* | *:-) cat >"$ac_tmp/stdin" \
25172 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
25177 ac_dir
=`$as_dirname -- "$ac_file" ||
25178 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25179 X"$ac_file" : 'X\(//\)[^/]' \| \
25180 X"$ac_file" : 'X\(//\)$' \| \
25181 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
25182 $as_echo X"$ac_file" |
25183 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
25187 /^X\(\/\/\)[^/].*/{
25200 as_dir
="$ac_dir"; as_fn_mkdir_p
25204 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
25206 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
25207 # A ".." for each directory in $ac_dir_suffix.
25208 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
25209 case $ac_top_builddir_sub in
25210 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
25211 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
25214 ac_abs_top_builddir
=$ac_pwd
25215 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
25216 # for backward compatibility:
25217 ac_top_builddir
=$ac_top_build_prefix
25220 .
) # We are building in place.
25222 ac_top_srcdir
=$ac_top_builddir_sub
25223 ac_abs_top_srcdir
=$ac_pwd ;;
25224 [\\/]* | ?
:[\\/]* ) # Absolute name.
25225 ac_srcdir
=$srcdir$ac_dir_suffix;
25226 ac_top_srcdir
=$srcdir
25227 ac_abs_top_srcdir
=$srcdir ;;
25228 *) # Relative name.
25229 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
25230 ac_top_srcdir
=$ac_top_build_prefix$srcdir
25231 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
25233 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
25243 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
25244 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
25246 ac_MKDIR_P
=$MKDIR_P
25248 [\\/$
]* | ?
:[\\/]* ) ;;
25249 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
25253 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
25254 # If the template does not know about datarootdir, expand it.
25255 # FIXME: This hack should be removed a few years after 2.60.
25256 ac_datarootdir_hack
=; ac_datarootdir_seen
=
25267 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
25268 *datarootdir
*) ac_datarootdir_seen
=yes;;
25269 *@datadir@
*|*@docdir@
*|*@infodir@
*|*@localedir@
*|*@mandir@
*)
25270 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
25271 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
25273 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25274 ac_datarootdir_hack='
25275 s&@datadir@&$datadir&g
25276 s&@docdir@&$docdir&g
25277 s&@infodir@&$infodir&g
25278 s&@localedir@&$localedir&g
25279 s&@mandir@&$mandir&g
25280 s&\\\${datarootdir}&$datarootdir&g' ;;
25284 # Neutralize VPATH when `$srcdir' = `.'.
25285 # Shell code in configure.ac might set extrasub.
25286 # FIXME: do we really want to maintain this feature?
25287 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25288 ac_sed_extra="$ac_vpsub
25291 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
25293 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
25294 s
|@configure_input@
|$ac_sed_conf_input|;t t
25295 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
25296 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
25297 s
&@srcdir@
&$ac_srcdir&;t t
25298 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
25299 s
&@top_srcdir@
&$ac_top_srcdir&;t t
25300 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
25301 s
&@builddir@
&$ac_builddir&;t t
25302 s
&@abs_builddir@
&$ac_abs_builddir&;t t
25303 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
25304 s
&@INSTALL@
&$ac_INSTALL&;t t
25305 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
25306 $ac_datarootdir_hack
25308 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
25309 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
25311 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
25312 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
25313 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
25314 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
25315 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
25316 which seems to be undefined. Please make sure it is defined" >&5
25317 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
25318 which seems to be undefined. Please make sure it is defined" >&2;}
25320 rm -f "$ac_tmp/stdin"
25322 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
25323 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
25325 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
25331 if test x"$ac_file" != x-; then
25333 $as_echo "/* $configure_input */" \
25334 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
25335 } >"$ac_tmp/config.h" \
25336 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
25337 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
25338 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
25339 $as_echo "$as_me: $ac_file is unchanged" >&6;}
25342 mv "$ac_tmp/config.h" "$ac_file" \
25343 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
25346 $as_echo "/* $configure_input */" \
25347 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
25348 || as_fn_error $? "could not create -" "$LINENO" 5
25350 # Compute "$ac_file"'s index
in $config_headers.
25353 for _am_header
in $config_headers :; do
25354 case $_am_header in
25355 $_am_arg | $_am_arg:* )
25358 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
25361 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
25362 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25363 X"$_am_arg" : 'X\(//\)[^/]' \| \
25364 X"$_am_arg" : 'X\(//\)$' \| \
25365 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
25366 $as_echo X"$_am_arg" |
25367 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
25371 /^X\(\/\/\)[^/].*/{
25383 s/.*/./; q'`/stamp
-h$_am_stamp_count
25386 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
25387 $as_echo "$as_me: executing $ac_file commands" >&6;}
25392 case $ac_file$ac_mode in
25393 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" || {
25394 # Older Autoconf quotes --file arguments for eval, but not when files
25395 # are listed without --file. Let's play safe and only enable the eval
25396 # if we detect the quoting.
25397 case $CONFIG_FILES in
25398 *\'*) eval set x
"$CONFIG_FILES" ;;
25399 *) set x
$CONFIG_FILES ;;
25404 # Strip MF so we end up with the name of the file.
25405 mf
=`echo "$mf" | sed -e 's/:.*$//'`
25406 # Check whether this is an Automake generated Makefile or not.
25407 # We used to match only the files named 'Makefile.in', but
25408 # some people rename them; so instead we look at the file content.
25409 # Grep'ing the first line is not enough: some people post-process
25410 # each Makefile.in and add a new line on top of each file to say so.
25411 # Grep'ing the whole file is not good either: AIX grep has a line
25412 # limit of 2048, but all sed's we know have understand at least 4000.
25413 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X
>/dev
/null
2>&1; then
25414 dirpart
=`$as_dirname -- "$mf" ||
25415 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25416 X"$mf" : 'X\(//\)[^/]' \| \
25417 X"$mf" : 'X\(//\)$' \| \
25418 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
25420 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
25424 /^X\(\/\/\)[^/].*/{
25440 # Extract the definition of DEPDIR, am__include, and am__quote
25441 # from the Makefile without running 'make'.
25442 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
25443 test -z "$DEPDIR" && continue
25444 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
25445 test -z "$am__include" && continue
25446 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
25447 # Find all dependency output files, they are included files with
25448 # $(DEPDIR) in their names. We invoke sed twice because it is the
25449 # simplest approach to changing $(DEPDIR) to its actual value in the
25451 for file in `sed -n "
25452 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
25453 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
25454 # Make sure the directory exists.
25455 test -f "$dirpart/$file" && continue
25456 fdir
=`$as_dirname -- "$file" ||
25457 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25458 X"$file" : 'X\(//\)[^/]' \| \
25459 X"$file" : 'X\(//\)$' \| \
25460 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
25461 $as_echo X"$file" |
25462 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
25466 /^X\(\/\/\)[^/].*/{
25479 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
25480 # echo "creating $dirpart/$file"
25481 echo '# dummy' > "$dirpart/$file"
25488 # See if we are running on zsh, and set the options that allow our
25489 # commands through without removal of \ escapes.
25490 if test -n "${ZSH_VERSION+set}"; then
25491 setopt NO_GLOB_SUBST
25495 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
25498 cat <<_LT_EOF >> "$cfgfile"
25500 # Generated automatically by $as_me ($PACKAGE) $VERSION
25501 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
25502 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
25504 # Provide generalized library-building support services.
25505 # Written by Gordon Matzigkeit, 1996
25507 # Copyright (C) 2014 Free Software Foundation, Inc.
25508 # This is free software; see the source for copying conditions. There is NO
25509 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
25511 # GNU Libtool is free software; you can redistribute it and/or modify
25512 # it under the terms of the GNU General Public License as published by
25513 # the Free Software Foundation; either version 2 of of the License, or
25514 # (at your option) any later version.
25516 # As a special exception to the GNU General Public License, if you
25517 # distribute this file as part of a program or library that is built
25518 # using GNU Libtool, you may include this file under the same
25519 # distribution terms that you use for the rest of that program.
25521 # GNU Libtool is distributed in the hope that it will be useful, but
25522 # WITHOUT ANY WARRANTY; without even the implied warranty of
25523 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
25524 # GNU General Public License for more details.
25526 # You should have received a copy of the GNU General Public License
25527 # along with this program. If not, see <http://www.gnu.org/licenses/>.
25530 # The names of the tagged configurations supported by this script.
25531 available_tags='CXX '
25533 # Configured defaults for sys_lib_dlsearch_path munging.
25534 : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
25536 # ### BEGIN LIBTOOL CONFIG
25538 # Which release of libtool.m4 was used?
25539 macro_version=$macro_version
25540 macro_revision=$macro_revision
25542 # Whether or not to build static libraries.
25543 build_old_libs=$enable_static
25545 # Whether or not to build shared libraries.
25546 build_libtool_libs=$enable_shared
25548 # What type of objects to build.
25551 # Whether or not to optimize for fast installation.
25552 fast_install=$enable_fast_install
25554 # Shared archive member basename,for filename based shared library versioning on AIX.
25555 shared_archive_member_spec=$shared_archive_member_spec
25557 # Shell to use when invoking shell scripts.
25560 # An echo program that protects backslashes.
25563 # The PATH separator for the build system.
25564 PATH_SEPARATOR=$lt_PATH_SEPARATOR
25567 host_alias=$host_alias
25571 # The build system.
25572 build_alias=$build_alias
25576 # A sed program that does not truncate output.
25579 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
25580 Xsed="\$SED -e 1s/^X//"
25582 # A grep program that handles long lines.
25588 # A literal string matcher.
25591 # A BSD- or MS-compatible name lister.
25594 # Whether we need soft or hard links.
25597 # What is the maximum length of a command?
25598 max_cmd_len=$max_cmd_len
25600 # Object file suffix (normally "o").
25603 # Executable file suffix (normally "").
25606 # whether the shell understands "unset".
25609 # turn spaces into newlines.
25612 # turn newlines into spaces.
25615 # convert \$build file names to \$host format.
25616 to_host_file_cmd=$lt_cv_to_host_file_cmd
25618 # convert \$build files to toolchain format.
25619 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
25621 # An object symbol dumper.
25622 OBJDUMP=$lt_OBJDUMP
25624 # Method to check whether dependent libraries are shared objects.
25625 deplibs_check_method=$lt_deplibs_check_method
25627 # Command to use when deplibs_check_method = "file_magic".
25628 file_magic_cmd=$lt_file_magic_cmd
25630 # How to find potential files when deplibs_check_method = "file_magic".
25631 file_magic_glob=$lt_file_magic_glob
25633 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
25634 want_nocaseglob=$lt_want_nocaseglob
25636 # DLL creation program.
25637 DLLTOOL=$lt_DLLTOOL
25639 # Command to associate shared and link libraries.
25640 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
25645 # Flags to create an archive.
25646 AR_FLAGS=$lt_AR_FLAGS
25648 # How to feed a file listing to the archiver.
25649 archiver_list_spec=$lt_archiver_list_spec
25651 # A symbol stripping program.
25654 # Commands used to install an old-style archive.
25656 old_postinstall_cmds=$lt_old_postinstall_cmds
25657 old_postuninstall_cmds=$lt_old_postuninstall_cmds
25659 # Whether to use a lock for old archive extraction.
25660 lock_old_archive_extraction=$lock_old_archive_extraction
25665 # LTCC compiler flags.
25666 LTCFLAGS=$lt_CFLAGS
25668 # Take the output of nm and produce a listing of raw symbols and C names.
25669 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
25671 # Transform the output of nm in a proper C declaration.
25672 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
25674 # Transform the output of nm into a list of symbols to manually relocate.
25675 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
25677 # Transform the output of nm in a C name address pair.
25678 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
25680 # Transform the output of nm in a C name address pair when lib prefix is needed.
25681 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
25683 # The name lister interface.
25684 nm_interface=$lt_lt_cv_nm_interface
25686 # Specify filename containing input files for \$NM.
25687 nm_file_list_spec=$lt_nm_file_list_spec
25689 # The root where to search for dependent libraries,and where our libraries should be installed.
25690 lt_sysroot=$lt_sysroot
25692 # Command to truncate a binary pipe.
25693 lt_truncate_bin=$lt_lt_cv_truncate_bin
25695 # The name of the directory that contains temporary libtool files.
25698 # Used to examine libraries when file_magic_cmd begins with "file".
25699 MAGIC_CMD=$MAGIC_CMD
25701 # Must we lock files when doing compilation?
25702 need_locks=$lt_need_locks
25705 MANIFEST_TOOL=$lt_MANIFEST_TOOL
25707 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
25708 DSYMUTIL=$lt_DSYMUTIL
25710 # Tool to change global to local symbols on Mac OS X.
25713 # Tool to manipulate fat objects and archives on Mac OS X.
25716 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
25719 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
25720 OTOOL64=$lt_OTOOL64
25722 # Old archive suffix (normally "a").
25725 # Shared library suffix (normally ".so").
25726 shrext_cmds=$lt_shrext_cmds
25728 # The commands to extract the exported symbol list from a shared archive.
25729 extract_expsyms_cmds=$lt_extract_expsyms_cmds
25731 # Variables whose values should be saved in libtool wrapper scripts and
25732 # restored at link time.
25733 variables_saved_for_relink=$lt_variables_saved_for_relink
25735 # Do we need the "lib" prefix for modules?
25736 need_lib_prefix=$need_lib_prefix
25738 # Do we need a version for libraries?
25739 need_version=$need_version
25741 # Library versioning type.
25742 version_type=$version_type
25744 # Shared library runtime path variable.
25745 runpath_var=$runpath_var
25747 # Shared library path variable.
25748 shlibpath_var=$shlibpath_var
25750 # Is shlibpath searched before the hard-coded library search path?
25751 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
25753 # Format of library name prefix.
25754 libname_spec=$lt_libname_spec
25756 # List of archive names. First name is the real one, the rest are links.
25757 # The last name is the one that the linker finds with -lNAME
25758 library_names_spec=$lt_library_names_spec
25760 # The coded name of the library, if different from the real name.
25761 soname_spec=$lt_soname_spec
25763 # Permission mode override for installation of shared libraries.
25764 install_override_mode=$lt_install_override_mode
25766 # Command to use after installation of a shared archive.
25767 postinstall_cmds=$lt_postinstall_cmds
25769 # Command to use after uninstallation of a shared archive.
25770 postuninstall_cmds=$lt_postuninstall_cmds
25772 # Commands used to finish a libtool library installation in a directory.
25773 finish_cmds=$lt_finish_cmds
25775 # As "finish_cmds", except a single script fragment to be evaled but
25777 finish_eval=$lt_finish_eval
25779 # Whether we should hardcode library paths into libraries.
25780 hardcode_into_libs=$hardcode_into_libs
25782 # Compile-time system search path for libraries.
25783 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
25785 # Detected run-time system search path for libraries.
25786 sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
25788 # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
25789 configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
25791 # Whether dlopen is supported.
25792 dlopen_support=$enable_dlopen
25794 # Whether dlopen of programs is supported.
25795 dlopen_self=$enable_dlopen_self
25797 # Whether dlopen of statically linked programs is supported.
25798 dlopen_self_static=$enable_dlopen_self_static
25800 # Commands to strip libraries.
25801 old_striplib=$lt_old_striplib
25802 striplib=$lt_striplib
25805 # The linker used to build libraries.
25808 # How to create reloadable object files.
25809 reload_flag=$lt_reload_flag
25810 reload_cmds=$lt_reload_cmds
25812 # Commands used to build an old-style archive.
25813 old_archive_cmds=$lt_old_archive_cmds
25815 # A language specific compiler.
25818 # Is the compiler the GNU compiler?
25821 # Compiler flag to turn off builtin functions.
25822 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
25824 # Additional compiler flags for building library objects.
25825 pic_flag=$lt_lt_prog_compiler_pic
25827 # How to pass a linker flag through the compiler.
25828 wl=$lt_lt_prog_compiler_wl
25830 # Compiler flag to prevent dynamic linking.
25831 link_static_flag=$lt_lt_prog_compiler_static
25833 # Does compiler simultaneously support -c and -o options?
25834 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
25836 # Whether or not to add -lc for building shared libraries.
25837 build_libtool_need_lc=$archive_cmds_need_lc
25839 # Whether or not to disallow shared libs when runtime libs are static.
25840 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
25842 # Compiler flag to allow reflexive dlopens.
25843 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
25845 # Compiler flag to generate shared objects directly from archives.
25846 whole_archive_flag_spec=$lt_whole_archive_flag_spec
25848 # Whether the compiler copes with passing no objects directly.
25849 compiler_needs_object=$lt_compiler_needs_object
25851 # Create an old-style archive from a shared archive.
25852 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
25854 # Create a temporary old-style archive to link instead of a shared archive.
25855 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
25857 # Commands used to build a shared archive.
25858 archive_cmds=$lt_archive_cmds
25859 archive_expsym_cmds=$lt_archive_expsym_cmds
25861 # Commands used to build a loadable module if different from building
25862 # a shared archive.
25863 module_cmds=$lt_module_cmds
25864 module_expsym_cmds=$lt_module_expsym_cmds
25866 # Whether we are building with GNU ld or not.
25867 with_gnu_ld=$lt_with_gnu_ld
25869 # Flag that allows shared libraries with undefined symbols to be built.
25870 allow_undefined_flag=$lt_allow_undefined_flag
25872 # Flag that enforces no undefined symbols.
25873 no_undefined_flag=$lt_no_undefined_flag
25875 # Flag to hardcode \$libdir into a binary during linking.
25876 # This must work even if \$libdir does not exist
25877 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
25879 # Whether we need a single "-rpath" flag with a separated argument.
25880 hardcode_libdir_separator=$lt_hardcode_libdir_separator
25882 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
25883 # DIR into the resulting binary.
25884 hardcode_direct=$hardcode_direct
25886 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
25887 # DIR into the resulting binary and the resulting library dependency is
25888 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
25889 # library is relocated.
25890 hardcode_direct_absolute=$hardcode_direct_absolute
25892 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
25893 # into the resulting binary.
25894 hardcode_minus_L=$hardcode_minus_L
25896 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
25897 # into the resulting binary.
25898 hardcode_shlibpath_var=$hardcode_shlibpath_var
25900 # Set to "yes" if building a shared library automatically hardcodes DIR
25901 # into the library and all subsequent libraries and executables linked
25903 hardcode_automatic=$hardcode_automatic
25905 # Set to yes if linker adds runtime paths of dependent libraries
25906 # to runtime path list.
25907 inherit_rpath=$inherit_rpath
25909 # Whether libtool must link a program against all its dependency libraries.
25910 link_all_deplibs=$link_all_deplibs
25912 # Set to "yes" if exported symbols are required.
25913 always_export_symbols=$always_export_symbols
25915 # The commands to list exported symbols.
25916 export_symbols_cmds=$lt_export_symbols_cmds
25918 # Symbols that should not be listed in the preloaded symbols.
25919 exclude_expsyms=$lt_exclude_expsyms
25921 # Symbols that must always be exported.
25922 include_expsyms=$lt_include_expsyms
25924 # Commands necessary for linking programs (against libraries) with templates.
25925 prelink_cmds=$lt_prelink_cmds
25927 # Commands necessary for finishing linking programs.
25928 postlink_cmds=$lt_postlink_cmds
25930 # Specify filename containing input files.
25931 file_list_spec=$lt_file_list_spec
25933 # How to hardcode a shared library path into an executable.
25934 hardcode_action=$hardcode_action
25936 # The directories searched by this compiler when creating a shared library.
25937 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
25939 # Dependencies to place before and after the objects being linked to
25940 # create a shared library.
25941 predep_objects=$lt_predep_objects
25942 postdep_objects=$lt_postdep_objects
25943 predeps=$lt_predeps
25944 postdeps=$lt_postdeps
25946 # The library search path used internally by the compiler when linking
25947 # a shared library.
25948 compiler_lib_search_path=$lt_compiler_lib_search_path
25950 # ### END LIBTOOL CONFIG
25954 cat <<'_LT_EOF' >> "$cfgfile"
25956 # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
25958 # func_munge_path_list VARIABLE PATH
25959 # -----------------------------------
25960 # VARIABLE is name of variable containing _space_ separated list of
25961 # directories to be munged by the contents of PATH, which is string
25964 # string "DIR[ DIR]" will be prepended to VARIABLE
25966 # string "DIR[ DIR]" will be appended to VARIABLE
25967 # "DIRP[:DIRP]::[DIRA:]DIRA"
25968 # string "DIRP[ DIRP]" will be prepended to VARIABLE and string
25969 # "DIRA[ DIRA]" will be appended to VARIABLE
25971 # VARIABLE will be replaced by "DIR[ DIR]"
25972 func_munge_path_list ()
25978 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
25981 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
25984 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
25985 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
25988 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
25994 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
25995 func_cc_basename ()
25997 for cc_temp in $*""; do
25999 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
26000 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
26005 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
26009 # ### END FUNCTIONS SHARED WITH CONFIGURE
26015 cat <<\_LT_EOF
>> "$cfgfile"
26016 # AIX sometimes has problems with the GCC collect2 program. For some
26017 # reason, if we set the COLLECT_NAMES environment variable, the problems
26018 # vanish in a puff of smoke.
26019 if test set != "${COLLECT_NAMES+set}"; then
26021 export COLLECT_NAMES
26028 ltmain
=$ac_aux_dir/ltmain.sh
26031 # We use sed instead of cat because bash on DJGPP gets confused if
26032 # if finds mixed CR/LF and LF-only lines. Since sed operates in
26033 # text mode, it properly converts lines to CR/LF. This bash problem
26034 # is reportedly fixed, but why not run on old versions too?
26035 sed '$q' "$ltmain" >> "$cfgfile" \
26036 || (rm -f "$cfgfile"; exit 1)
26038 mv -f "$cfgfile" "$ofile" ||
26039 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
26043 cat <<_LT_EOF >> "$ofile"
26045 # ### BEGIN LIBTOOL TAG CONFIG: CXX
26047 # The linker used to build libraries.
26050 # How to create reloadable object files.
26051 reload_flag=$lt_reload_flag_CXX
26052 reload_cmds=$lt_reload_cmds_CXX
26054 # Commands used to build an old-style archive.
26055 old_archive_cmds=$lt_old_archive_cmds_CXX
26057 # A language specific compiler.
26058 CC=$lt_compiler_CXX
26060 # Is the compiler the GNU compiler?
26063 # Compiler flag to turn off builtin functions.
26064 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
26066 # Additional compiler flags for building library objects.
26067 pic_flag=$lt_lt_prog_compiler_pic_CXX
26069 # How to pass a linker flag through the compiler.
26070 wl=$lt_lt_prog_compiler_wl_CXX
26072 # Compiler flag to prevent dynamic linking.
26073 link_static_flag=$lt_lt_prog_compiler_static_CXX
26075 # Does compiler simultaneously support -c and -o options?
26076 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
26078 # Whether or not to add -lc for building shared libraries.
26079 build_libtool_need_lc=$archive_cmds_need_lc_CXX
26081 # Whether or not to disallow shared libs when runtime libs are static.
26082 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
26084 # Compiler flag to allow reflexive dlopens.
26085 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
26087 # Compiler flag to generate shared objects directly from archives.
26088 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
26090 # Whether the compiler copes with passing no objects directly.
26091 compiler_needs_object=$lt_compiler_needs_object_CXX
26093 # Create an old-style archive from a shared archive.
26094 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
26096 # Create a temporary old-style archive to link instead of a shared archive.
26097 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
26099 # Commands used to build a shared archive.
26100 archive_cmds=$lt_archive_cmds_CXX
26101 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
26103 # Commands used to build a loadable module if different from building
26104 # a shared archive.
26105 module_cmds=$lt_module_cmds_CXX
26106 module_expsym_cmds=$lt_module_expsym_cmds_CXX
26108 # Whether we are building with GNU ld or not.
26109 with_gnu_ld=$lt_with_gnu_ld_CXX
26111 # Flag that allows shared libraries with undefined symbols to be built.
26112 allow_undefined_flag=$lt_allow_undefined_flag_CXX
26114 # Flag that enforces no undefined symbols.
26115 no_undefined_flag=$lt_no_undefined_flag_CXX
26117 # Flag to hardcode \$libdir into a binary during linking.
26118 # This must work even if \$libdir does not exist
26119 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
26121 # Whether we need a single "-rpath" flag with a separated argument.
26122 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
26124 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
26125 # DIR into the resulting binary.
26126 hardcode_direct=$hardcode_direct_CXX
26128 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
26129 # DIR into the resulting binary and the resulting library dependency is
26130 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
26131 # library is relocated.
26132 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
26134 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
26135 # into the resulting binary.
26136 hardcode_minus_L=$hardcode_minus_L_CXX
26138 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
26139 # into the resulting binary.
26140 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
26142 # Set to "yes" if building a shared library automatically hardcodes DIR
26143 # into the library and all subsequent libraries and executables linked
26145 hardcode_automatic=$hardcode_automatic_CXX
26147 # Set to yes if linker adds runtime paths of dependent libraries
26148 # to runtime path list.
26149 inherit_rpath=$inherit_rpath_CXX
26151 # Whether libtool must link a program against all its dependency libraries.
26152 link_all_deplibs=$link_all_deplibs_CXX
26154 # Set to "yes" if exported symbols are required.
26155 always_export_symbols=$always_export_symbols_CXX
26157 # The commands to list exported symbols.
26158 export_symbols_cmds=$lt_export_symbols_cmds_CXX
26160 # Symbols that should not be listed in the preloaded symbols.
26161 exclude_expsyms=$lt_exclude_expsyms_CXX
26163 # Symbols that must always be exported.
26164 include_expsyms=$lt_include_expsyms_CXX
26166 # Commands necessary for linking programs (against libraries) with templates.
26167 prelink_cmds=$lt_prelink_cmds_CXX
26169 # Commands necessary for finishing linking programs.
26170 postlink_cmds=$lt_postlink_cmds_CXX
26172 # Specify filename containing input files.
26173 file_list_spec=$lt_file_list_spec_CXX
26175 # How to hardcode a shared library path into an executable.
26176 hardcode_action=$hardcode_action_CXX
26178 # The directories searched by this compiler when creating a shared library.
26179 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
26181 # Dependencies to place before and after the objects being linked to
26182 # create a shared library.
26183 predep_objects=$lt_predep_objects_CXX
26184 postdep_objects=$lt_postdep_objects_CXX
26185 predeps=$lt_predeps_CXX
26186 postdeps=$lt_postdeps_CXX
26188 # The library search path used internally by the compiler when linking
26189 # a shared library.
26190 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
26192 # ### END LIBTOOL TAG CONFIG: CXX
26203 ac_clean_files
=$ac_clean_files_save
26205 test $ac_write_fail = 0 ||
26206 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
26209 # configure is writing to config.log, and then calls config.status.
26210 # config.status does its own redirection, appending to config.log.
26211 # Unfortunately, on DOS this fails, as config.log is still kept open
26212 # by configure, so config.status won't be able to write to it; its
26213 # output is simply discarded. So we exec the FD to /dev/null,
26214 # effectively closing config.log, so it can be properly (re)opened and
26215 # appended to by config.status. When coming back to configure, we
26216 # need to make the FD available again.
26217 if test "$no_create" != yes; then
26219 ac_config_status_args
=
26220 test "$silent" = yes &&
26221 ac_config_status_args
="$ac_config_status_args --quiet"
26223 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
26225 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
26226 # would make configure fail if this is the last instruction.
26227 $ac_cs_success || as_fn_exit
1
26229 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
26230 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
26231 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}