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
714 am__fastdepOBJCXX_FALSE
715 am__fastdepOBJCXX_TRUE
744 MAINTAINER_MODE_FALSE
758 INSTALL_STRIP_PROGRAM
800 program_transform_name
813 enable_option_checking
815 enable_maintainer_mode
816 enable_dependency_tracking
829 ac_precious_vars
='build_alias
859 # Initialize some variables set by options.
861 ac_init_version
=false
862 ac_unrecognized_opts
=
864 # The variables have the same names as the options, with
865 # dashes changed to underlines.
873 program_transform_name
=s
,x
,x
,
881 # Installation directory options.
882 # These are left unexpanded so users can "make install exec_prefix=/foo"
883 # and all the variables that are supposed to be based on exec_prefix
884 # by default will actually change.
885 # Use braces instead of parens because sh, perl, etc. also accept them.
886 # (The list follows the same order as the GNU Coding Standards.)
887 bindir
='${exec_prefix}/bin'
888 sbindir
='${exec_prefix}/sbin'
889 libexecdir
='${exec_prefix}/libexec'
890 datarootdir
='${prefix}/share'
891 datadir
='${datarootdir}'
892 sysconfdir
='${prefix}/etc'
893 sharedstatedir
='${prefix}/com'
894 localstatedir
='${prefix}/var'
895 includedir
='${prefix}/include'
896 oldincludedir
='/usr/include'
897 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
898 infodir
='${datarootdir}/info'
903 libdir
='${exec_prefix}/lib'
904 localedir
='${datarootdir}/locale'
905 mandir
='${datarootdir}/man'
911 # If the previous option needs an argument, assign it.
912 if test -n "$ac_prev"; then
913 eval $ac_prev=\
$ac_option
919 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
924 # Accept the important Cygnus configure options, so we can diagnose typos.
926 case $ac_dashdash$ac_option in
930 -bindir | --bindir | --bindi | --bind | --bin | --bi)
932 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
935 -build | --build | --buil | --bui | --bu)
936 ac_prev
=build_alias
;;
937 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
938 build_alias
=$ac_optarg ;;
940 -cache-file | --cache-file | --cache-fil | --cache-fi \
941 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
942 ac_prev
=cache_file
;;
943 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
944 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
945 cache_file
=$ac_optarg ;;
948 cache_file
=config.cache
;;
950 -datadir | --datadir | --datadi | --datad)
952 -datadir=* | --datadir=* | --datadi=* | --datad=*)
953 datadir
=$ac_optarg ;;
955 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
956 | --dataroo | --dataro | --datar)
957 ac_prev
=datarootdir
;;
958 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
959 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
960 datarootdir
=$ac_optarg ;;
962 -disable-* | --disable-*)
963 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
964 # Reject names that are not valid shell variable names.
965 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
966 as_fn_error $?
"invalid feature name: $ac_useropt"
967 ac_useropt_orig
=$ac_useropt
968 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
969 case $ac_user_opts in
973 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
974 ac_unrecognized_sep
=', ';;
976 eval enable_
$ac_useropt=no
;;
978 -docdir | --docdir | --docdi | --doc | --do)
980 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
983 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
985 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
988 -enable-* | --enable-*)
989 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
990 # Reject names that are not valid shell variable names.
991 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
992 as_fn_error $?
"invalid feature name: $ac_useropt"
993 ac_useropt_orig
=$ac_useropt
994 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
995 case $ac_user_opts in
999 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1000 ac_unrecognized_sep
=', ';;
1002 eval enable_
$ac_useropt=\
$ac_optarg ;;
1004 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1005 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1006 | --exec | --exe | --ex)
1007 ac_prev
=exec_prefix
;;
1008 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1009 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1010 | --exec=* | --exe=* | --ex=*)
1011 exec_prefix
=$ac_optarg ;;
1013 -gas | --gas | --ga | --g)
1014 # Obsolete; use --with-gas.
1017 -help | --help | --hel | --he | -h)
1018 ac_init_help
=long
;;
1019 -help=r
* | --help=r
* | --hel=r
* | --he=r
* | -hr*)
1020 ac_init_help
=recursive
;;
1021 -help=s
* | --help=s
* | --hel=s
* | --he=s
* | -hs*)
1022 ac_init_help
=short
;;
1024 -host | --host | --hos | --ho)
1025 ac_prev
=host_alias
;;
1026 -host=* | --host=* | --hos=* | --ho=*)
1027 host_alias
=$ac_optarg ;;
1029 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1031 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1033 htmldir
=$ac_optarg ;;
1035 -includedir | --includedir | --includedi | --included | --include \
1036 | --includ | --inclu | --incl | --inc)
1037 ac_prev
=includedir
;;
1038 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1039 | --includ=* | --inclu=* | --incl=* | --inc=*)
1040 includedir
=$ac_optarg ;;
1042 -infodir | --infodir | --infodi | --infod | --info | --inf)
1044 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1045 infodir
=$ac_optarg ;;
1047 -libdir | --libdir | --libdi | --libd)
1049 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1050 libdir
=$ac_optarg ;;
1052 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1053 | --libexe | --libex | --libe)
1054 ac_prev
=libexecdir
;;
1055 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1056 | --libexe=* | --libex=* | --libe=*)
1057 libexecdir
=$ac_optarg ;;
1059 -localedir | --localedir | --localedi | --localed | --locale)
1060 ac_prev
=localedir
;;
1061 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1062 localedir
=$ac_optarg ;;
1064 -localstatedir | --localstatedir | --localstatedi | --localstated \
1065 | --localstate | --localstat | --localsta | --localst | --locals)
1066 ac_prev
=localstatedir
;;
1067 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1068 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1069 localstatedir
=$ac_optarg ;;
1071 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1073 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1074 mandir
=$ac_optarg ;;
1076 -nfp | --nfp | --nf)
1077 # Obsolete; use --without-fp.
1080 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1081 | --no-cr | --no-c | -n)
1084 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1085 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1088 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1089 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1090 | --oldin | --oldi | --old | --ol | --o)
1091 ac_prev
=oldincludedir
;;
1092 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1093 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1094 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1095 oldincludedir
=$ac_optarg ;;
1097 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1099 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1100 prefix
=$ac_optarg ;;
1102 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1103 | --program-pre | --program-pr | --program-p)
1104 ac_prev
=program_prefix
;;
1105 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1106 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1107 program_prefix
=$ac_optarg ;;
1109 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1110 | --program-suf | --program-su | --program-s)
1111 ac_prev
=program_suffix
;;
1112 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1113 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1114 program_suffix
=$ac_optarg ;;
1116 -program-transform-name | --program-transform-name \
1117 | --program-transform-nam | --program-transform-na \
1118 | --program-transform-n | --program-transform- \
1119 | --program-transform | --program-transfor \
1120 | --program-transfo | --program-transf \
1121 | --program-trans | --program-tran \
1122 | --progr-tra | --program-tr | --program-t)
1123 ac_prev
=program_transform_name
;;
1124 -program-transform-name=* | --program-transform-name=* \
1125 | --program-transform-nam=* | --program-transform-na=* \
1126 | --program-transform-n=* | --program-transform-=* \
1127 | --program-transform=* | --program-transfor=* \
1128 | --program-transfo=* | --program-transf=* \
1129 | --program-trans=* | --program-tran=* \
1130 | --progr-tra=* | --program-tr=* | --program-t=*)
1131 program_transform_name
=$ac_optarg ;;
1133 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1135 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1136 pdfdir
=$ac_optarg ;;
1138 -psdir | --psdir | --psdi | --psd | --ps)
1140 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1143 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1144 | -silent | --silent | --silen | --sile | --sil)
1147 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1149 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1151 sbindir
=$ac_optarg ;;
1153 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1154 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1155 | --sharedst | --shareds | --shared | --share | --shar \
1157 ac_prev
=sharedstatedir
;;
1158 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1159 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1160 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1162 sharedstatedir
=$ac_optarg ;;
1164 -site | --site | --sit)
1166 -site=* | --site=* | --sit=*)
1169 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1171 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1172 srcdir
=$ac_optarg ;;
1174 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1175 | --syscon | --sysco | --sysc | --sys | --sy)
1176 ac_prev
=sysconfdir
;;
1177 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1178 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1179 sysconfdir
=$ac_optarg ;;
1181 -target | --target | --targe | --targ | --tar | --ta | --t)
1182 ac_prev
=target_alias
;;
1183 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1184 target_alias
=$ac_optarg ;;
1186 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1189 -version | --version | --versio | --versi | --vers | -V)
1190 ac_init_version
=: ;;
1193 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1194 # Reject names that are not valid shell variable names.
1195 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1196 as_fn_error $?
"invalid package name: $ac_useropt"
1197 ac_useropt_orig
=$ac_useropt
1198 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1199 case $ac_user_opts in
1203 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1204 ac_unrecognized_sep
=', ';;
1206 eval with_
$ac_useropt=\
$ac_optarg ;;
1208 -without-* | --without-*)
1209 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1210 # Reject names that are not valid shell variable names.
1211 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1212 as_fn_error $?
"invalid package name: $ac_useropt"
1213 ac_useropt_orig
=$ac_useropt
1214 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1215 case $ac_user_opts in
1219 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1220 ac_unrecognized_sep
=', ';;
1222 eval with_
$ac_useropt=no
;;
1225 # Obsolete; use --with-x.
1228 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1229 | --x-incl | --x-inc | --x-in | --x-i)
1230 ac_prev
=x_includes
;;
1231 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1232 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1233 x_includes
=$ac_optarg ;;
1235 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1236 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1237 ac_prev
=x_libraries
;;
1238 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1239 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1240 x_libraries
=$ac_optarg ;;
1242 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1243 Try \`$0 --help' for more information"
1247 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1248 # Reject names that are not valid shell variable names.
1249 case $ac_envvar in #(
1250 '' | [0-9]* | *[!_$as_cr_alnum]* )
1251 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1253 eval $ac_envvar=\
$ac_optarg
1254 export $ac_envvar ;;
1257 # FIXME: should be removed in autoconf 3.0.
1258 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1259 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1260 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1261 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1267 if test -n "$ac_prev"; then
1268 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1269 as_fn_error $?
"missing argument to $ac_option"
1272 if test -n "$ac_unrecognized_opts"; then
1273 case $enable_option_checking in
1275 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1276 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1280 # Check all directory arguments for consistency.
1281 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1282 datadir sysconfdir sharedstatedir localstatedir includedir \
1283 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1284 libdir localedir mandir
1286 eval ac_val
=\$
$ac_var
1287 # Remove trailing slashes.
1290 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1291 eval $ac_var=\
$ac_val;;
1293 # Be sure to have absolute directory names.
1295 [\\/$
]* | ?
:[\\/]* ) continue;;
1296 NONE
| '' ) case $ac_var in *prefix
) continue;; esac;;
1298 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1301 # There might be people who depend on the old broken behavior: `$host'
1302 # used to hold the argument of --host etc.
1303 # FIXME: To remove some day.
1306 target
=$target_alias
1308 # FIXME: To remove some day.
1309 if test "x$host_alias" != x
; then
1310 if test "x$build_alias" = x
; then
1311 cross_compiling
=maybe
1312 elif test "x$build_alias" != "x$host_alias"; then
1318 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1320 test "$silent" = yes && exec 6>/dev
/null
1323 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1324 ac_ls_di
=`ls -di .` &&
1325 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1326 as_fn_error $?
"working directory cannot be determined"
1327 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1328 as_fn_error $?
"pwd does not report name of working directory"
1331 # Find the source files, if location was not specified.
1332 if test -z "$srcdir"; then
1333 ac_srcdir_defaulted
=yes
1334 # Try the directory containing this script, then the parent directory.
1335 ac_confdir
=`$as_dirname -- "$as_myself" ||
1336 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1337 X"$as_myself" : 'X\(//\)[^/]' \| \
1338 X"$as_myself" : 'X\(//\)$' \| \
1339 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1340 $as_echo X"$as_myself" |
1341 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1359 if test ! -r "$srcdir/$ac_unique_file"; then
1363 ac_srcdir_defaulted
=no
1365 if test ! -r "$srcdir/$ac_unique_file"; then
1366 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1367 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1369 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1371 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1373 # When building in place, set srcdir=.
1374 if test "$ac_abs_confdir" = "$ac_pwd"; then
1377 # Remove unnecessary trailing slashes from srcdir.
1378 # Double slashes in file names in object file debugging info
1379 # mess up M-x gdb in Emacs.
1381 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1383 for ac_var
in $ac_precious_vars; do
1384 eval ac_env_
${ac_var}_set
=\
${${ac_var}+set}
1385 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1386 eval ac_cv_env_
${ac_var}_set
=\
${${ac_var}+set}
1387 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1391 # Report the --help message.
1393 if test "$ac_init_help" = "long"; then
1394 # Omit some internal or obsolete options to make the list less imposing.
1395 # This message is too long to be a string in the A/UX 3.1 sh.
1397 \`configure' configures Cycript 0.9 to adapt to many kinds of systems.
1399 Usage: $0 [OPTION]... [VAR=VALUE]...
1401 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1402 VAR=VALUE. See below for descriptions of some of the useful variables.
1404 Defaults for the options are specified in brackets.
1407 -h, --help display this help and exit
1408 --help=short display options specific to this package
1409 --help=recursive display the short help of all the included packages
1410 -V, --version display version information and exit
1411 -q, --quiet, --silent do not print \`checking ...' messages
1412 --cache-file=FILE cache test results in FILE [disabled]
1413 -C, --config-cache alias for \`--cache-file=config.cache'
1414 -n, --no-create do not create output files
1415 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1417 Installation directories:
1418 --prefix=PREFIX install architecture-independent files in PREFIX
1419 [$ac_default_prefix]
1420 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1423 By default, \`make install' will install all the files in
1424 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1425 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1426 for instance \`--prefix=\$HOME'.
1428 For better control, use the options below.
1430 Fine tuning of the installation directories:
1431 --bindir=DIR user executables [EPREFIX/bin]
1432 --sbindir=DIR system admin executables [EPREFIX/sbin]
1433 --libexecdir=DIR program executables [EPREFIX/libexec]
1434 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1435 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1436 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1437 --libdir=DIR object code libraries [EPREFIX/lib]
1438 --includedir=DIR C header files [PREFIX/include]
1439 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1440 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1441 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1442 --infodir=DIR info documentation [DATAROOTDIR/info]
1443 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1444 --mandir=DIR man documentation [DATAROOTDIR/man]
1445 --docdir=DIR documentation root [DATAROOTDIR/doc/cycript]
1446 --htmldir=DIR html documentation [DOCDIR]
1447 --dvidir=DIR dvi documentation [DOCDIR]
1448 --pdfdir=DIR pdf documentation [DOCDIR]
1449 --psdir=DIR ps documentation [DOCDIR]
1455 --program-prefix=PREFIX prepend PREFIX to installed program names
1456 --program-suffix=SUFFIX append SUFFIX to installed program names
1457 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1460 --build=BUILD configure
for building on BUILD
[guessed
]
1461 --host=HOST cross
-compile to build programs to run on HOST
[BUILD
]
1465 if test -n "$ac_init_help"; then
1466 case $ac_init_help in
1467 short
| recursive
) echo "Configuration of Cycript 0.9:";;
1472 --disable-option-checking ignore unrecognized
--enable/--with options
1473 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1474 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1475 --enable-silent-rules less verbose build output
(undo
: "make V=1")
1476 --disable-silent-rules verbose build output
(undo
: "make V=0")
1477 --enable-maintainer-mode
1478 enable make rules and dependencies not useful
(and
1479 sometimes confusing
) to the casual installer
1480 --enable-dependency-tracking
1481 do not reject slow dependency extractors
1482 --disable-dependency-tracking
1483 speeds up one
-time build
1484 --enable-static[=PKGS
] build static libraries
[default
=no
]
1485 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1486 --enable-fast-install[=PKGS
]
1487 optimize
for fast installation
[default
=yes]
1488 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1489 --enable-javascript[=ENGINE
]
1490 use a JavaScript runtime
(currently the only
1491 available option
for ENGINE is JavaScriptCore
)
1493 --disable-console disable console
1494 --disable-attach disable attach
1497 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1498 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1499 --with-pic[=PKGS
] try to use only PIC
/non
-PIC objects
[default
=use
1501 --with-aix-soname=aix
|svr4
|both
1502 shared library versioning
(aka
"SONAME") variant to
1503 provide on AIX
, [default
=aix
].
1504 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1505 --with-sysroot[=DIR
] Search
for dependent libraries within DIR
(or the
1506 compiler
's sysroot if not specified).
1508 Some influential environment variables:
1509 CC C compiler command
1510 CFLAGS C compiler flags
1511 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1512 nonstandard directory <lib dir>
1513 LIBS libraries to pass to the linker, e.g. -l<library>
1514 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1515 you have headers in a nonstandard directory <include dir>
1516 CXX C++ compiler command
1517 CXXFLAGS C++ compiler flags
1518 OBJCXX Objective C++ compiler command
1519 OBJCXXFLAGS Objective C++ compiler flags
1521 User-defined run-time library search path.
1523 CXXCPP C++ preprocessor
1524 PKG_CONFIG path to pkg-config utility
1526 directories to add to pkg-config's search path
1528 path overriding pkg
-config's built-in search path
1529 BISON GNU Project parser generator (yacc replacement)
1530 FLEX the fast lexical analyser generator
1531 GPERF perfect hash function generator
1532 GNUTAR a very sticky lump of files
1534 C compiler flags for WEBKIT, overriding pkg-config
1535 WEBKIT_LIBS linker flags for WEBKIT, overriding pkg-config
1537 prints information about the current gnustep installation
1539 Use these variables to override the choices made by `configure' or to
help
1540 it to
find libraries and programs with nonstandard names
/locations.
1542 Report bugs to
<saurik@saurik.com
>.
1543 Cycript home page
: <http
://www.cycript.org
/>.
1548 if test "$ac_init_help" = "recursive"; then
1549 # If there are subdirs, report their specific --help.
1550 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1551 test -d "$ac_dir" ||
1552 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1557 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1559 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1560 # A ".." for each directory in $ac_dir_suffix.
1561 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1562 case $ac_top_builddir_sub in
1563 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1564 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1567 ac_abs_top_builddir
=$ac_pwd
1568 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1569 # for backward compatibility:
1570 ac_top_builddir
=$ac_top_build_prefix
1573 .
) # We are building in place.
1575 ac_top_srcdir
=$ac_top_builddir_sub
1576 ac_abs_top_srcdir
=$ac_pwd ;;
1577 [\\/]* | ?
:[\\/]* ) # Absolute name.
1578 ac_srcdir
=$srcdir$ac_dir_suffix;
1579 ac_top_srcdir
=$srcdir
1580 ac_abs_top_srcdir
=$srcdir ;;
1582 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1583 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1584 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1586 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1588 cd "$ac_dir" || { ac_status
=$?
; continue; }
1589 # Check for guested configure.
1590 if test -f "$ac_srcdir/configure.gnu"; then
1592 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1593 elif test -f "$ac_srcdir/configure"; then
1595 $SHELL "$ac_srcdir/configure" --help=recursive
1597 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1599 cd "$ac_pwd" || { ac_status
=$?
; break; }
1603 test -n "$ac_init_help" && exit $ac_status
1604 if $ac_init_version; then
1606 Cycript configure
0.9
1607 generated by GNU Autoconf
2.69
1609 Copyright
(C
) 2012 Free Software Foundation
, Inc.
1610 This configure
script is free software
; the Free Software Foundation
1611 gives unlimited permission to copy
, distribute and modify it.
1613 Copyright
(C
) 2009-2015 Jay Freeman
(saurik
)
1618 ## ------------------------ ##
1619 ## Autoconf initialization. ##
1620 ## ------------------------ ##
1622 # ac_fn_c_try_compile LINENO
1623 # --------------------------
1624 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1625 ac_fn_c_try_compile
()
1627 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1628 rm -f conftest.
$ac_objext
1629 if { { ac_try
="$ac_compile"
1631 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
1632 *) ac_try_echo=$ac_try;;
1634 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1635 $as_echo "$ac_try_echo"; } >&5
1636 (eval "$ac_compile") 2>conftest.err
1638 if test -s conftest.err; then
1639 grep -v '^ *+' conftest.err >conftest.er1
1640 cat conftest.er1 >&5
1641 mv -f conftest.er1 conftest.err
1643 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1644 test $ac_status = 0; } && {
1645 test -z "$ac_c_werror_flag" ||
1646 test ! -s conftest.err
1647 } && test -s conftest.$ac_objext; then :
1650 $as_echo "$as_me: failed program was:" >&5
1651 sed 's/^/| /' conftest.$ac_ext >&5
1655 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1656 as_fn_set_status $ac_retval
1658 } # ac_fn_c_try_compile
1660 # ac_fn_cxx_try_compile LINENO
1661 # ----------------------------
1662 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1663 ac_fn_cxx_try_compile ()
1665 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1666 rm -f conftest.$ac_objext
1667 if { { ac_try="$ac_compile"
1669 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
1670 *) ac_try_echo
=$ac_try;;
1672 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1673 $as_echo "$ac_try_echo"; } >&5
1674 (eval "$ac_compile") 2>conftest.err
1676 if test -s conftest.err
; then
1677 grep -v '^ *+' conftest.err
>conftest.er1
1678 cat conftest.er1
>&5
1679 mv -f conftest.er1 conftest.err
1681 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1682 test $ac_status = 0; } && {
1683 test -z "$ac_cxx_werror_flag" ||
1684 test ! -s conftest.err
1685 } && test -s conftest.
$ac_objext; then :
1688 $as_echo "$as_me: failed program was:" >&5
1689 sed 's/^/| /' conftest.
$ac_ext >&5
1693 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1694 as_fn_set_status
$ac_retval
1696 } # ac_fn_cxx_try_compile
1698 # ac_fn_objcxx_try_compile LINENO
1699 # -------------------------------
1700 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1701 ac_fn_objcxx_try_compile
()
1703 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1704 rm -f conftest.
$ac_objext
1705 if { { ac_try
="$ac_compile"
1707 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
1708 *) ac_try_echo=$ac_try;;
1710 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1711 $as_echo "$ac_try_echo"; } >&5
1712 (eval "$ac_compile") 2>conftest.err
1714 if test -s conftest.err; then
1715 grep -v '^ *+' conftest.err >conftest.er1
1716 cat conftest.er1 >&5
1717 mv -f conftest.er1 conftest.err
1719 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1720 test $ac_status = 0; } && {
1721 test -z "$ac_objcxx_werror_flag" ||
1722 test ! -s conftest.err
1723 } && test -s conftest.$ac_objext; then :
1726 $as_echo "$as_me: failed program was:" >&5
1727 sed 's/^/| /' conftest.$ac_ext >&5
1731 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1732 as_fn_set_status $ac_retval
1734 } # ac_fn_objcxx_try_compile
1736 # ac_fn_c_try_link LINENO
1737 # -----------------------
1738 # Try to link conftest.$ac_ext, and return whether this succeeded.
1741 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1742 rm -f conftest.$ac_objext conftest$ac_exeext
1743 if { { ac_try="$ac_link"
1745 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
1746 *) ac_try_echo
=$ac_try;;
1748 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1749 $as_echo "$ac_try_echo"; } >&5
1750 (eval "$ac_link") 2>conftest.err
1752 if test -s conftest.err
; then
1753 grep -v '^ *+' conftest.err
>conftest.er1
1754 cat conftest.er1
>&5
1755 mv -f conftest.er1 conftest.err
1757 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1758 test $ac_status = 0; } && {
1759 test -z "$ac_c_werror_flag" ||
1760 test ! -s conftest.err
1761 } && test -s conftest
$ac_exeext && {
1762 test "$cross_compiling" = yes ||
1763 test -x conftest
$ac_exeext
1767 $as_echo "$as_me: failed program was:" >&5
1768 sed 's/^/| /' conftest.
$ac_ext >&5
1772 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1773 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1774 # interfere with the next link command; also delete a directory that is
1775 # left behind by Apple's compiler. We do this before executing the actions.
1776 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1777 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1778 as_fn_set_status
$ac_retval
1780 } # ac_fn_c_try_link
1782 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1783 # -------------------------------------------------------
1784 # Tests whether HEADER exists and can be compiled using the include files in
1785 # INCLUDES, setting the cache variable VAR accordingly.
1786 ac_fn_c_check_header_compile
()
1788 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1790 $as_echo_n "checking for $2... " >&6; }
1791 if eval \
${$3+:} false
; then :
1792 $as_echo_n "(cached) " >&6
1794 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1795 /* end confdefs.h. */
1799 if ac_fn_c_try_compile
"$LINENO"; then :
1804 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1808 $as_echo "$ac_res" >&6; }
1809 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1811 } # ac_fn_c_check_header_compile
1813 # ac_fn_c_try_cpp LINENO
1814 # ----------------------
1815 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1818 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1819 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1821 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
1822 *) ac_try_echo=$ac_try;;
1824 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1825 $as_echo "$ac_try_echo"; } >&5
1826 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1828 if test -s conftest.err; then
1829 grep -v '^ *+' conftest.err >conftest.er1
1830 cat conftest.er1 >&5
1831 mv -f conftest.er1 conftest.err
1833 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1834 test $ac_status = 0; } > conftest.i && {
1835 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1836 test ! -s conftest.err
1840 $as_echo "$as_me: failed program was:" >&5
1841 sed 's/^/| /' conftest.$ac_ext >&5
1845 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1846 as_fn_set_status $ac_retval
1850 # ac_fn_c_try_run LINENO
1851 # ----------------------
1852 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1853 # that executables *can* be run.
1856 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1857 if { { ac_try="$ac_link"
1859 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
1860 *) ac_try_echo
=$ac_try;;
1862 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1863 $as_echo "$ac_try_echo"; } >&5
1864 (eval "$ac_link") 2>&5
1866 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1867 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1868 { { case "(($ac_try" in
1869 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
1870 *) ac_try_echo=$ac_try;;
1872 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1873 $as_echo "$ac_try_echo"; } >&5
1874 (eval "$ac_try") 2>&5
1876 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1877 test $ac_status = 0; }; }; then :
1880 $as_echo "$as_me: program exited with status $ac_status" >&5
1881 $as_echo "$as_me: failed program was:" >&5
1882 sed 's/^/| /' conftest.$ac_ext >&5
1884 ac_retval=$ac_status
1886 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1887 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1888 as_fn_set_status $ac_retval
1892 # ac_fn_c_check_func LINENO FUNC VAR
1893 # ----------------------------------
1894 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1895 ac_fn_c_check_func ()
1897 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1899 $as_echo_n "checking for $2... " >&6; }
1900 if eval \${$3+:} false; then :
1901 $as_echo_n "(cached) " >&6
1903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1904 /* end confdefs.h. */
1905 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1906 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1907 #define $2 innocuous_$2
1909 /* System header to define __stub macros and hopefully few prototypes,
1910 which can conflict with char $2 (); below.
1911 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1912 <limits.h> exists even on freestanding compilers. */
1915 # include <limits.h>
1917 # include <assert.h>
1922 /* Override any GCC internal prototype to avoid an error.
1923 Use char because int might match the return type of a GCC
1924 builtin and then its argument prototype would still apply. */
1929 /* The GNU C library defines this for functions which it implements
1930 to always fail with ENOSYS. Some functions are actually named
1931 something starting with __ and the normal name is an alias. */
1932 #if defined __stub_$2 || defined __stub___$2
1944 if ac_fn_c_try_link "$LINENO"; then :
1949 rm -f core conftest.err conftest.$ac_objext \
1950 conftest$ac_exeext conftest.$ac_ext
1953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1954 $as_echo "$ac_res" >&6; }
1955 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1957 } # ac_fn_c_check_func
1959 # ac_fn_cxx_try_cpp LINENO
1960 # ------------------------
1961 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1962 ac_fn_cxx_try_cpp ()
1964 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1965 if { { ac_try="$ac_cpp conftest.$ac_ext"
1967 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
1968 *) ac_try_echo
=$ac_try;;
1970 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1971 $as_echo "$ac_try_echo"; } >&5
1972 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1974 if test -s conftest.err
; then
1975 grep -v '^ *+' conftest.err
>conftest.er1
1976 cat conftest.er1
>&5
1977 mv -f conftest.er1 conftest.err
1979 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1980 test $ac_status = 0; } > conftest.i
&& {
1981 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1982 test ! -s conftest.err
1986 $as_echo "$as_me: failed program was:" >&5
1987 sed 's/^/| /' conftest.
$ac_ext >&5
1991 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1992 as_fn_set_status
$ac_retval
1994 } # ac_fn_cxx_try_cpp
1996 # ac_fn_cxx_try_link LINENO
1997 # -------------------------
1998 # Try to link conftest.$ac_ext, and return whether this succeeded.
1999 ac_fn_cxx_try_link
()
2001 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2002 rm -f conftest.
$ac_objext conftest
$ac_exeext
2003 if { { ac_try
="$ac_link"
2005 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
2006 *) ac_try_echo=$ac_try;;
2008 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2009 $as_echo "$ac_try_echo"; } >&5
2010 (eval "$ac_link") 2>conftest.err
2012 if test -s conftest.err; then
2013 grep -v '^ *+' conftest.err >conftest.er1
2014 cat conftest.er1 >&5
2015 mv -f conftest.er1 conftest.err
2017 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2018 test $ac_status = 0; } && {
2019 test -z "$ac_cxx_werror_flag" ||
2020 test ! -s conftest.err
2021 } && test -s conftest$ac_exeext && {
2022 test "$cross_compiling" = yes ||
2023 test -x conftest$ac_exeext
2027 $as_echo "$as_me: failed program was:" >&5
2028 sed 's/^/| /' conftest.$ac_ext >&5
2032 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2033 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2034 # interfere with the next link command; also delete a directory that is
2035 # left behind by Apple's compiler. We do this before executing the actions.
2036 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2037 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2038 as_fn_set_status $ac_retval
2040 } # ac_fn_cxx_try_link
2042 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2043 # ---------------------------------------------------------
2044 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2045 # the include files in INCLUDES and setting the cache variable VAR
2047 ac_fn_cxx_check_header_mongrel ()
2049 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2050 if eval \${$3+:} false; then :
2051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2052 $as_echo_n "checking for $2... " >&6; }
2053 if eval \${$3+:} false; then :
2054 $as_echo_n "(cached) " >&6
2057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2058 $as_echo "$ac_res" >&6; }
2060 # Is the header compilable?
2061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2062 $as_echo_n "checking $2 usability... " >&6; }
2063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2064 /* end confdefs.h. */
2068 if ac_fn_cxx_try_compile "$LINENO"; then :
2069 ac_header_compiler=yes
2071 ac_header_compiler=no
2073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2075 $as_echo "$ac_header_compiler" >&6; }
2077 # Is the header present?
2078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2079 $as_echo_n "checking $2 presence... " >&6; }
2080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2081 /* end confdefs.h. */
2084 if ac_fn_cxx_try_cpp "$LINENO"; then :
2085 ac_header_preproc=yes
2087 ac_header_preproc=no
2089 rm -f conftest.err conftest.i conftest.$ac_ext
2090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2091 $as_echo "$ac_header_preproc" >&6; }
2093 # So? What about this header?
2094 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2096 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2097 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2098 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2099 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2102 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2103 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2104 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2105 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2106 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2107 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2108 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2109 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2110 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2111 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2112 ( $as_echo "## -------------------------------- ##
2113 ## Report this to saurik@saurik.com ##
2114 ## -------------------------------- ##"
2115 ) | sed "s/^/$as_me: WARNING: /" >&2
2118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2119 $as_echo_n "checking for $2... " >&6; }
2120 if eval \${$3+:} false; then :
2121 $as_echo_n "(cached) " >&6
2123 eval "$3=\$ac_header_compiler"
2126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2127 $as_echo "$ac_res" >&6; }
2129 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2131 } # ac_fn_cxx_check_header_mongrel
2133 # ac_fn_objcxx_try_link LINENO
2134 # ----------------------------
2135 # Try to link conftest.$ac_ext, and return whether this succeeded.
2136 ac_fn_objcxx_try_link ()
2138 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2139 rm -f conftest.$ac_objext conftest$ac_exeext
2140 if { { ac_try="$ac_link"
2142 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
2143 *) ac_try_echo
=$ac_try;;
2145 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2146 $as_echo "$ac_try_echo"; } >&5
2147 (eval "$ac_link") 2>conftest.err
2149 if test -s conftest.err
; then
2150 grep -v '^ *+' conftest.err
>conftest.er1
2151 cat conftest.er1
>&5
2152 mv -f conftest.er1 conftest.err
2154 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2155 test $ac_status = 0; } && {
2156 test -z "$ac_objcxx_werror_flag" ||
2157 test ! -s conftest.err
2158 } && test -s conftest
$ac_exeext && {
2159 test "$cross_compiling" = yes ||
2160 test -x conftest
$ac_exeext
2164 $as_echo "$as_me: failed program was:" >&5
2165 sed 's/^/| /' conftest.
$ac_ext >&5
2169 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2170 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2171 # interfere with the next link command; also delete a directory that is
2172 # left behind by Apple's compiler. We do this before executing the actions.
2173 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2174 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2175 as_fn_set_status
$ac_retval
2177 } # ac_fn_objcxx_try_link
2178 cat >config.log
<<_ACEOF
2179 This file contains any messages produced by compilers while
2180 running configure, to aid debugging if configure makes a mistake.
2182 It was created by Cycript $as_me 0.9, which was
2183 generated by GNU Autoconf 2.69. Invocation command line was
2195 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2196 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2197 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2198 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2199 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2201 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2202 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2204 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2205 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2206 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2207 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2208 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2209 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2210 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2214 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2218 test -z "$as_dir" && as_dir
=.
2219 $as_echo "PATH: $as_dir"
2235 # Keep a trace of the command line.
2236 # Strip out --no-create and --no-recursion so they do not pile up.
2237 # Strip out --silent because we don't want to record it for future runs.
2238 # Also quote any args containing shell meta-characters.
2239 # Make two passes to allow for proper duplicate-argument suppression.
2243 ac_must_keep_next
=false
2249 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2250 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2251 | -silent | --silent | --silen | --sile | --sil)
2254 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2257 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2259 as_fn_append ac_configure_args1
" '$ac_arg'"
2260 if test $ac_must_keep_next = true
; then
2261 ac_must_keep_next
=false
# Got value, back to normal.
2264 *=* | --config-cache | -C | -disable-* | --disable-* \
2265 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2266 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2267 | -with-* | --with-* | -without-* | --without-* | --x)
2268 case "$ac_configure_args0 " in
2269 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2272 -* ) ac_must_keep_next
=true
;;
2275 as_fn_append ac_configure_args
" '$ac_arg'"
2280 { ac_configure_args0
=; unset ac_configure_args0
;}
2281 { ac_configure_args1
=; unset ac_configure_args1
;}
2283 # When interrupted or exit'd, cleanup temporary files, and complete
2284 # config.log. We remove comments because anyway the quotes in there
2285 # would cause problems or look ugly.
2286 # WARNING: Use '\'' to represent an apostrophe within the trap.
2287 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2288 trap 'exit_status=$?
2289 # Save into config.log some information that might help in debugging.
2293 $as_echo "## ---------------- ##
2294 ## Cache variables. ##
2295 ## ---------------- ##"
2297 # The following way of writing the cache mishandles newlines in values,
2299 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2300 eval ac_val=\$$ac_var
2304 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2305 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2308 _ | IFS | as_nl) ;; #(
2309 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2310 *) { eval $ac_var=; unset $ac_var;} ;;
2315 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2316 *${as_nl}ac_space=\ *)
2318 "s/'\''/'\''\\\\'\'''\''/g;
2319 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2322 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2329 $as_echo "## ----------------- ##
2330 ## Output variables. ##
2331 ## ----------------- ##"
2333 for ac_var in $ac_subst_vars
2335 eval ac_val=\$$ac_var
2337 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2339 $as_echo "$ac_var='\''$ac_val'\''"
2343 if test -n "$ac_subst_files"; then
2344 $as_echo "## ------------------- ##
2345 ## File substitutions. ##
2346 ## ------------------- ##"
2348 for ac_var
in $ac_subst_files
2350 eval ac_val
=\$
$ac_var
2352 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2354 $as_echo "$ac_var='\''$ac_val'\''"
2359 if test -s confdefs.h; then
2360 $as_echo "## ----------- ##
2367 test "$ac_signal" != 0 &&
2368 $as_echo "$as_me: caught signal $ac_signal"
2369 $as_echo "$as_me: exit $exit_status"
2371 rm -f core *.core core.conftest.* &&
2372 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2375 for ac_signal
in 1 2 13 15; do
2376 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2380 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2381 rm -f -r conftest
* confdefs.h
2383 $as_echo "/* confdefs.h */" > confdefs.h
2385 # Predefined preprocessor variables.
2387 cat >>confdefs.h
<<_ACEOF
2388 #define PACKAGE_NAME "$PACKAGE_NAME"
2391 cat >>confdefs.h
<<_ACEOF
2392 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2395 cat >>confdefs.h
<<_ACEOF
2396 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2399 cat >>confdefs.h
<<_ACEOF
2400 #define PACKAGE_STRING "$PACKAGE_STRING"
2403 cat >>confdefs.h
<<_ACEOF
2404 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2407 cat >>confdefs.h
<<_ACEOF
2408 #define PACKAGE_URL "$PACKAGE_URL"
2412 # Let the site file select an alternate cache file if it wants to.
2413 # Prefer an explicitly selected file to automatically selected ones.
2416 if test -n "$CONFIG_SITE"; then
2417 # We do not want a PATH search for config.site.
2418 case $CONFIG_SITE in #((
2419 -*) ac_site_file1
=.
/$CONFIG_SITE;;
2420 */*) ac_site_file1
=$CONFIG_SITE;;
2421 *) ac_site_file1
=.
/$CONFIG_SITE;;
2423 elif test "x$prefix" != xNONE
; then
2424 ac_site_file1
=$prefix/share
/config.site
2425 ac_site_file2
=$prefix/etc
/config.site
2427 ac_site_file1
=$ac_default_prefix/share
/config.site
2428 ac_site_file2
=$ac_default_prefix/etc
/config.site
2430 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2432 test "x$ac_site_file" = xNONE
&& continue
2433 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2434 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2435 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2436 sed 's/^/| /' "$ac_site_file" >&5
2438 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2439 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2440 as_fn_error $?
"failed to load site script $ac_site_file
2441 See \`config.log' for more details" "$LINENO" 5; }
2445 if test -r "$cache_file"; then
2446 # Some versions of bash will fail to source /dev/null (special files
2447 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2448 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2449 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2450 $as_echo "$as_me: loading cache $cache_file" >&6;}
2452 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2453 *) .
"./$cache_file";;
2457 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2458 $as_echo "$as_me: creating cache $cache_file" >&6;}
2462 # Check that the precious variables saved in the cache have kept the same
2464 ac_cache_corrupted
=false
2465 for ac_var
in $ac_precious_vars; do
2466 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2467 eval ac_new_set
=\
$ac_env_${ac_var}_set
2468 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2469 eval ac_new_val
=\
$ac_env_${ac_var}_value
2470 case $ac_old_set,$ac_new_set in
2472 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2473 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2474 ac_cache_corrupted
=: ;;
2476 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2477 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2478 ac_cache_corrupted
=: ;;
2481 if test "x$ac_old_val" != "x$ac_new_val"; then
2482 # differences in whitespace do not lead to failure.
2483 ac_old_val_w
=`echo x $ac_old_val`
2484 ac_new_val_w
=`echo x $ac_new_val`
2485 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2486 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2487 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2488 ac_cache_corrupted
=:
2490 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2491 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2492 eval $ac_var=\
$ac_old_val
2494 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2495 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2496 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2497 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2500 # Pass precious variables to config.status.
2501 if test "$ac_new_set" = set; then
2503 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2504 *) ac_arg
=$ac_var=$ac_new_val ;;
2506 case " $ac_configure_args " in
2507 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2508 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2512 if $ac_cache_corrupted; then
2513 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2514 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2515 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2516 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2517 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2519 ## -------------------- ##
2520 ## Main body of script. ##
2521 ## -------------------- ##
2524 ac_cpp
='$CPP $CPPFLAGS'
2525 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2526 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2527 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2534 for ac_dir
in .
"$srcdir"/.
; do
2535 if test -f "$ac_dir/install-sh"; then
2537 ac_install_sh
="$ac_aux_dir/install-sh -c"
2539 elif test -f "$ac_dir/install.sh"; then
2541 ac_install_sh
="$ac_aux_dir/install.sh -c"
2543 elif test -f "$ac_dir/shtool"; then
2545 ac_install_sh
="$ac_aux_dir/shtool install -c"
2549 if test -z "$ac_aux_dir"; then
2550 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in . \"$srcdir\"/." "$LINENO" 5
2553 # These three variables are undocumented and unsupported,
2554 # and are intended to be withdrawn in a future Autoconf release.
2555 # They can cause serious problems if a builder's source tree is in a directory
2556 # whose full name contains unusual characters.
2557 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2558 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2559 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2563 ac_config_headers
="$ac_config_headers config.h"
2566 am__api_version
='1.15'
2568 # Find a good install program. We prefer a C program (faster),
2569 # so one script is as good as another. But avoid the broken or
2570 # incompatible versions:
2571 # SysV /etc/install, /usr/sbin/install
2572 # SunOS /usr/etc/install
2573 # IRIX /sbin/install
2575 # AmigaOS /C/install, which installs bootblocks on floppy discs
2576 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2577 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2578 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2579 # OS/2's system install, which has a completely different semantic
2580 # ./install, which can be erroneously created by make from ./install.sh.
2581 # Reject install programs that cannot install multiple files.
2582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2583 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2584 if test -z "$INSTALL"; then
2585 if ${ac_cv_path_install+:} false
; then :
2586 $as_echo_n "(cached) " >&6
2588 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2592 test -z "$as_dir" && as_dir
=.
2593 # Account for people who put trailing slashes in PATH elements.
2594 case $as_dir/ in #((
2595 .
/ | .
// | /[cC
]/* | \
2596 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
2597 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
2600 # OSF1 and SCO ODT 3.0 have their own names for install.
2601 # Don't use installbsd from OSF since it installs stuff as root
2603 for ac_prog
in ginstall scoinst
install; do
2604 for ac_exec_ext
in '' $ac_executable_extensions; do
2605 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
2606 if test $ac_prog = install &&
2607 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2608 # AIX install. It has an incompatible calling convention.
2610 elif test $ac_prog = install &&
2611 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2612 # program-specific install script used by HP pwplus--don't use.
2615 rm -rf conftest.one conftest.two conftest.dir
2616 echo one
> conftest.one
2617 echo two
> conftest.two
2619 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2620 test -s conftest.one
&& test -s conftest.two
&&
2621 test -s conftest.dir
/conftest.one
&&
2622 test -s conftest.dir
/conftest.two
2624 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2637 rm -rf conftest.one conftest.two conftest.dir
2640 if test "${ac_cv_path_install+set}" = set; then
2641 INSTALL
=$ac_cv_path_install
2643 # As a last resort, use the slow shell script. Don't cache a
2644 # value for INSTALL within a source directory, because that will
2645 # break other packages using the cache if that directory is
2646 # removed, or if the value is a relative name.
2647 INSTALL
=$ac_install_sh
2650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2651 $as_echo "$INSTALL" >&6; }
2653 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2654 # It thinks the first close brace ends the variable substitution.
2655 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2657 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2659 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2662 $as_echo_n "checking whether build environment is sane... " >&6; }
2663 # Reject unsafe characters in $srcdir or the absolute working directory
2664 # name. Accept space and tab only in the latter.
2668 *[\\\"\#\$\&\'\`$am_lf]*)
2669 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5;;
2672 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2673 as_fn_error $?
"unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2676 # Do 'set' in a subshell so we don't clobber the current shell's
2677 # arguments. Must try -L first in case configure is actually a
2678 # symlink; some systems play weird games with the mod time of symlinks
2679 # (eg FreeBSD returns the mod time of the symlink's containing
2683 for am_try
in 1 2; do
2684 echo "timestamp, slept: $am_has_slept" > conftest.
file
2685 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2686 if test "$*" = "X"; then
2688 set X
`ls -t "$srcdir/configure" conftest.file`
2690 if test "$*" != "X $srcdir/configure conftest.file" \
2691 && test "$*" != "X conftest.file $srcdir/configure"; then
2693 # If neither matched, then we have a broken ls. This can happen
2694 # if, for instance, CONFIG_SHELL is bash and it inherits a
2695 # broken ls alias from the environment. This has actually
2696 # happened. Such a system could not be considered "sane".
2697 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
2698 alias in your environment" "$LINENO" 5
2700 if test "$2" = conftest.
file || test $am_try -eq 2; then
2707 test "$2" = conftest.
file
2713 as_fn_error $?
"newly created file is older than distributed files!
2714 Check your system clock" "$LINENO" 5
2716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2717 $as_echo "yes" >&6; }
2718 # If we didn't sleep, we still need to ensure time stamps of config.status and
2719 # generated files are strictly newer.
2721 if grep 'slept: no' conftest.
file >/dev
/null
2>&1; then
2728 test "$program_prefix" != NONE
&&
2729 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2730 # Use a double $ so make ignores it.
2731 test "$program_suffix" != NONE
&&
2732 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2733 # Double any \ or $.
2734 # By default was `s,x,x', remove it if useless.
2735 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2736 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2738 # Expand $ac_aux_dir to an absolute path.
2739 am_aux_dir
=`cd "$ac_aux_dir" && pwd`
2741 if test x
"${MISSING+set}" != xset
; then
2744 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2746 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2749 # Use eval to expand $SHELL
2750 if eval "$MISSING --is-lightweight"; then
2751 am_missing_run
="$MISSING "
2754 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2755 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2758 if test x
"${install_sh+set}" != xset
; then
2761 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2763 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2767 # Installed binaries are usually stripped using 'strip' when the user
2768 # run "make install-strip". However 'strip' might not be the right
2769 # tool to use in cross-compilation environments, therefore Automake
2770 # will honor the 'STRIP' environment variable to overrule this program.
2771 if test "$cross_compiling" != no
; then
2772 if test -n "$ac_tool_prefix"; then
2773 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2774 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2776 $as_echo_n "checking for $ac_word... " >&6; }
2777 if ${ac_cv_prog_STRIP+:} false
; then :
2778 $as_echo_n "(cached) " >&6
2780 if test -n "$STRIP"; then
2781 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2783 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2787 test -z "$as_dir" && as_dir
=.
2788 for ac_exec_ext
in '' $ac_executable_extensions; do
2789 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2790 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2791 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2800 STRIP
=$ac_cv_prog_STRIP
2801 if test -n "$STRIP"; then
2802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2803 $as_echo "$STRIP" >&6; }
2805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2806 $as_echo "no" >&6; }
2811 if test -z "$ac_cv_prog_STRIP"; then
2813 # Extract the first word of "strip", so it can be a program name with args.
2814 set dummy strip
; ac_word
=$2
2815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2816 $as_echo_n "checking for $ac_word... " >&6; }
2817 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
2818 $as_echo_n "(cached) " >&6
2820 if test -n "$ac_ct_STRIP"; then
2821 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2823 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2827 test -z "$as_dir" && as_dir
=.
2828 for ac_exec_ext
in '' $ac_executable_extensions; do
2829 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2830 ac_cv_prog_ac_ct_STRIP
="strip"
2831 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2840 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2841 if test -n "$ac_ct_STRIP"; then
2842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2843 $as_echo "$ac_ct_STRIP" >&6; }
2845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2846 $as_echo "no" >&6; }
2849 if test "x$ac_ct_STRIP" = x
; then
2852 case $cross_compiling:$ac_tool_warned in
2854 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2855 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2856 ac_tool_warned
=yes ;;
2861 STRIP
="$ac_cv_prog_STRIP"
2865 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2868 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2869 if test -z "$MKDIR_P"; then
2870 if ${ac_cv_path_mkdir+:} false
; then :
2871 $as_echo_n "(cached) " >&6
2873 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2874 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2877 test -z "$as_dir" && as_dir
=.
2878 for ac_prog
in mkdir gmkdir
; do
2879 for ac_exec_ext
in '' $ac_executable_extensions; do
2880 as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext" || continue
2881 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2882 'mkdir (GNU coreutils) '* | \
2883 'mkdir (coreutils) '* | \
2884 'mkdir (fileutils) '4.1*)
2885 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2895 test -d .
/--version && rmdir .
/--version
2896 if test "${ac_cv_path_mkdir+set}" = set; then
2897 MKDIR_P
="$ac_cv_path_mkdir -p"
2899 # As a last resort, use the slow shell script. Don't cache a
2900 # value for MKDIR_P within a source directory, because that will
2901 # break other packages using the cache if that directory is
2902 # removed, or if the value is a relative name.
2903 MKDIR_P
="$ac_install_sh -d"
2906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2907 $as_echo "$MKDIR_P" >&6; }
2909 for ac_prog
in gawk mawk nawk
awk
2911 # Extract the first word of "$ac_prog", so it can be a program name with args.
2912 set dummy
$ac_prog; ac_word
=$2
2913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2914 $as_echo_n "checking for $ac_word... " >&6; }
2915 if ${ac_cv_prog_AWK+:} false
; then :
2916 $as_echo_n "(cached) " >&6
2918 if test -n "$AWK"; then
2919 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2921 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2925 test -z "$as_dir" && as_dir
=.
2926 for ac_exec_ext
in '' $ac_executable_extensions; do
2927 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2928 ac_cv_prog_AWK
="$ac_prog"
2929 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2939 if test -n "$AWK"; then
2940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2941 $as_echo "$AWK" >&6; }
2943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2944 $as_echo "no" >&6; }
2948 test -n "$AWK" && break
2951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2952 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2954 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2955 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
2956 $as_echo_n "(cached) " >&6
2958 cat >conftest.
make <<\_ACEOF
2961 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2963 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2964 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2966 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2968 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2972 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2974 $as_echo "yes" >&6; }
2977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2978 $as_echo "no" >&6; }
2979 SET_MAKE
="MAKE=${MAKE-make}"
2982 rm -rf .tst
2>/dev
/null
2983 mkdir .tst
2>/dev
/null
2984 if test -d .tst
; then
2989 rmdir .tst
2>/dev
/null
2991 # Check whether --enable-silent-rules was given.
2992 if test "${enable_silent_rules+set}" = set; then :
2993 enableval
=$enable_silent_rules;
2996 case $enable_silent_rules in # (((
2997 yes) AM_DEFAULT_VERBOSITY
=0;;
2998 no
) AM_DEFAULT_VERBOSITY
=1;;
2999 *) AM_DEFAULT_VERBOSITY
=1;;
3001 am_make
=${MAKE-make}
3002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3003 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3004 if ${am_cv_make_support_nested_variables+:} false
; then :
3005 $as_echo_n "(cached) " >&6
3007 if $as_echo 'TRUE=$(BAR$(V))
3013 .PHONY: am__doit' | $am_make -f - >/dev
/null
2>&1; then
3014 am_cv_make_support_nested_variables
=yes
3016 am_cv_make_support_nested_variables
=no
3019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3020 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3021 if test $am_cv_make_support_nested_variables = yes; then
3023 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
3025 AM_V
=$AM_DEFAULT_VERBOSITY
3026 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
3030 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3031 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3032 # is not polluted with repeated "-I."
3033 am__isrc
=' -I$(srcdir)'
3034 # test to see if srcdir already configured
3035 if test -f $srcdir/config.status
; then
3036 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3040 # test whether we have cygpath
3041 if test -z "$CYGPATH_W"; then
3042 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
3043 CYGPATH_W
='cygpath -w'
3050 # Define the identity of the package.
3055 cat >>confdefs.h
<<_ACEOF
3056 #define PACKAGE "$PACKAGE"
3060 cat >>confdefs.h
<<_ACEOF
3061 #define VERSION "$VERSION"
3064 # Some tools Automake needs.
3066 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3069 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3072 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3075 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
3078 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
3080 # For better backward compatibility. To be removed once Automake 1.9.x
3081 # dies out for good. For more background, see:
3082 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3083 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3084 mkdir_p
='$(MKDIR_P)'
3086 # We need awk for the "check" target (and possibly the TAP driver). The
3087 # system "awk" is bad on some platforms.
3088 # Always define AMTAR for backward compatibility. Yes, it's still used
3089 # in the wild :-( We should find a proper way to deprecate it ...
3093 # We'll loop over all known methods to create a tar archive until one works.
3094 _am_tools
='gnutar pax cpio none'
3096 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
3103 # POSIX will say in a future version that running "rm -f" with no argument
3104 # is OK; and we want to be able to make that assumption in our Makefile
3105 # recipes. So use an aggressive probe to check that the usage we want is
3106 # actually supported "in the wild" to an acceptable degree.
3107 # See automake bug#10828.
3108 # To make any issue more visible, cause the running configure to be aborted
3109 # by default if the 'rm' program in use doesn't match our expectations; the
3110 # user can still override this though.
3111 if rm -f && rm -fr && rm -rf; then : OK
; else
3115 Your 'rm' program seems unable to run without file operands specified
3116 on the command line, even when the '-f' option is present. This is contrary
3117 to the behaviour of most rm programs out there, and not conforming with
3118 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3120 Please tell bug-automake@gnu.org about your system, including the value
3121 of your $PATH and any error possibly output before this message. This
3122 can help us improve future automake versions.
3125 if test x
"$ACCEPT_INFERIOR_RM_PROGRAM" = x
"yes"; then
3126 echo 'Configuration will proceed anyway, since you have set the' >&2
3127 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3131 Aborting the configuration process, to ensure you take notice of the issue.
3133 You can download and install GNU coreutils to get an 'rm' implementation
3134 that behaves properly: <http://www.gnu.org/software/coreutils/>.
3136 If you want to complete the configuration process using your problematic
3137 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3138 to "yes", and re-run configure.
3141 as_fn_error $?
"Your 'rm' program is bad, sorry." "$LINENO" 5
3146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3147 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3148 # Check whether --enable-maintainer-mode was given.
3149 if test "${enable_maintainer_mode+set}" = set; then :
3150 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
3152 USE_MAINTAINER_MODE
=no
3155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3156 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3157 if test $USE_MAINTAINER_MODE = yes; then
3158 MAINTAINER_MODE_TRUE
=
3159 MAINTAINER_MODE_FALSE
='#'
3161 MAINTAINER_MODE_TRUE
='#'
3162 MAINTAINER_MODE_FALSE
=
3165 MAINT
=$MAINTAINER_MODE_TRUE
3170 ac_cpp
='$CPP $CPPFLAGS'
3171 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3172 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3173 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3174 if test -n "$ac_tool_prefix"; then
3175 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3176 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3178 $as_echo_n "checking for $ac_word... " >&6; }
3179 if ${ac_cv_prog_CC+:} false
; then :
3180 $as_echo_n "(cached) " >&6
3182 if test -n "$CC"; then
3183 ac_cv_prog_CC
="$CC" # Let the user override the test.
3185 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3189 test -z "$as_dir" && as_dir
=.
3190 for ac_exec_ext
in '' $ac_executable_extensions; do
3191 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3192 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3193 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3203 if test -n "$CC"; then
3204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3205 $as_echo "$CC" >&6; }
3207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3208 $as_echo "no" >&6; }
3213 if test -z "$ac_cv_prog_CC"; then
3215 # Extract the first word of "gcc", so it can be a program name with args.
3216 set dummy gcc
; ac_word
=$2
3217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3218 $as_echo_n "checking for $ac_word... " >&6; }
3219 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3220 $as_echo_n "(cached) " >&6
3222 if test -n "$ac_ct_CC"; then
3223 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3225 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3229 test -z "$as_dir" && as_dir
=.
3230 for ac_exec_ext
in '' $ac_executable_extensions; do
3231 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3232 ac_cv_prog_ac_ct_CC
="gcc"
3233 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3242 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3243 if test -n "$ac_ct_CC"; then
3244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3245 $as_echo "$ac_ct_CC" >&6; }
3247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3248 $as_echo "no" >&6; }
3251 if test "x$ac_ct_CC" = x
; then
3254 case $cross_compiling:$ac_tool_warned in
3256 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3257 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3258 ac_tool_warned
=yes ;;
3266 if test -z "$CC"; then
3267 if test -n "$ac_tool_prefix"; then
3268 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3269 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3271 $as_echo_n "checking for $ac_word... " >&6; }
3272 if ${ac_cv_prog_CC+:} false
; then :
3273 $as_echo_n "(cached) " >&6
3275 if test -n "$CC"; then
3276 ac_cv_prog_CC
="$CC" # Let the user override the test.
3278 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3282 test -z "$as_dir" && as_dir
=.
3283 for ac_exec_ext
in '' $ac_executable_extensions; do
3284 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3285 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3286 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3296 if test -n "$CC"; then
3297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3298 $as_echo "$CC" >&6; }
3300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3301 $as_echo "no" >&6; }
3307 if test -z "$CC"; then
3308 # Extract the first word of "cc", so it can be a program name with args.
3309 set dummy cc
; ac_word
=$2
3310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3311 $as_echo_n "checking for $ac_word... " >&6; }
3312 if ${ac_cv_prog_CC+:} false
; then :
3313 $as_echo_n "(cached) " >&6
3315 if test -n "$CC"; then
3316 ac_cv_prog_CC
="$CC" # Let the user override the test.
3319 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3323 test -z "$as_dir" && as_dir
=.
3324 for ac_exec_ext
in '' $ac_executable_extensions; do
3325 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3326 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3327 ac_prog_rejected
=yes
3331 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3338 if test $ac_prog_rejected = yes; then
3339 # We found a bogon in the path, so make sure we never use it.
3340 set dummy
$ac_cv_prog_CC
3342 if test $# != 0; then
3343 # We chose a different compiler from the bogus one.
3344 # However, it has the same basename, so the bogon will be chosen
3345 # first if we set CC to just the basename; use the full file name.
3347 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3353 if test -n "$CC"; then
3354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3355 $as_echo "$CC" >&6; }
3357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3358 $as_echo "no" >&6; }
3363 if test -z "$CC"; then
3364 if test -n "$ac_tool_prefix"; then
3365 for ac_prog
in cl.exe
3367 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3368 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3370 $as_echo_n "checking for $ac_word... " >&6; }
3371 if ${ac_cv_prog_CC+:} false
; then :
3372 $as_echo_n "(cached) " >&6
3374 if test -n "$CC"; then
3375 ac_cv_prog_CC
="$CC" # Let the user override the test.
3377 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3381 test -z "$as_dir" && as_dir
=.
3382 for ac_exec_ext
in '' $ac_executable_extensions; do
3383 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3384 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3385 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3395 if test -n "$CC"; then
3396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3397 $as_echo "$CC" >&6; }
3399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3400 $as_echo "no" >&6; }
3404 test -n "$CC" && break
3407 if test -z "$CC"; then
3409 for ac_prog
in cl.exe
3411 # Extract the first word of "$ac_prog", so it can be a program name with args.
3412 set dummy
$ac_prog; ac_word
=$2
3413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3414 $as_echo_n "checking for $ac_word... " >&6; }
3415 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3416 $as_echo_n "(cached) " >&6
3418 if test -n "$ac_ct_CC"; then
3419 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3421 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3425 test -z "$as_dir" && as_dir
=.
3426 for ac_exec_ext
in '' $ac_executable_extensions; do
3427 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3428 ac_cv_prog_ac_ct_CC
="$ac_prog"
3429 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3438 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3439 if test -n "$ac_ct_CC"; then
3440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3441 $as_echo "$ac_ct_CC" >&6; }
3443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3444 $as_echo "no" >&6; }
3448 test -n "$ac_ct_CC" && break
3451 if test "x$ac_ct_CC" = x
; then
3454 case $cross_compiling:$ac_tool_warned in
3456 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3457 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3458 ac_tool_warned
=yes ;;
3467 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3468 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3469 as_fn_error $?
"no acceptable C compiler found in \$PATH
3470 See \`config.log' for more details" "$LINENO" 5; }
3472 # Provide some information about the compiler.
3473 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3476 for ac_option
in --version -v -V -qversion; do
3477 { { ac_try
="$ac_compiler $ac_option >&5"
3479 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3480 *) ac_try_echo=$ac_try;;
3482 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3483 $as_echo "$ac_try_echo"; } >&5
3484 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3486 if test -s conftest.err; then
3488 ... rest of stderr output deleted ...
3489 10q' conftest.err >conftest.er1
3490 cat conftest.er1 >&5
3492 rm -f conftest.er1 conftest.err
3493 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3494 test $ac_status = 0; }
3497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3498 /* end confdefs.h. */
3508 ac_clean_files_save=$ac_clean_files
3509 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3510 # Try to create an executable without -o first, disregard a.out.
3511 # It will help us diagnose broken compilers, and finding out an intuition
3513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3514 $as_echo_n "checking whether the C compiler works... " >&6; }
3515 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3517 # The possible output files:
3518 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3521 for ac_file in $ac_files
3524 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3525 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3530 if { { ac_try="$ac_link_default"
3532 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
3533 *) ac_try_echo
=$ac_try;;
3535 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3536 $as_echo "$ac_try_echo"; } >&5
3537 (eval "$ac_link_default") 2>&5
3539 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3540 test $ac_status = 0; }; then :
3541 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3542 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3543 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3544 # so that the user can short-circuit this test for compilers unknown to
3546 for ac_file
in $ac_files ''
3548 test -f "$ac_file" || continue
3550 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.dSYM
| *.o
| *.obj
)
3553 # We found the default executable, but exeext='' is most
3557 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3559 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3561 # We set ac_cv_exeext here because the later test for it is not
3562 # safe: cross compilers may not add the suffix if given an `-o'
3563 # argument, so we may need to know it at that point already.
3564 # Even if this section looks crufty: it has the advantage of
3571 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3576 if test -z "$ac_file"; then :
3577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3578 $as_echo "no" >&6; }
3579 $as_echo "$as_me: failed program was:" >&5
3580 sed 's/^/| /' conftest.
$ac_ext >&5
3582 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3583 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3584 as_fn_error
77 "C compiler cannot create executables
3585 See \`config.log' for more details" "$LINENO" 5; }
3587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3588 $as_echo "yes" >&6; }
3590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3591 $as_echo_n "checking for C compiler default output file name... " >&6; }
3592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3593 $as_echo "$ac_file" >&6; }
3594 ac_exeext
=$ac_cv_exeext
3596 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3597 ac_clean_files
=$ac_clean_files_save
3598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3599 $as_echo_n "checking for suffix of executables... " >&6; }
3600 if { { ac_try
="$ac_link"
3602 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3603 *) ac_try_echo=$ac_try;;
3605 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3606 $as_echo "$ac_try_echo"; } >&5
3607 (eval "$ac_link") 2>&5
3609 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3610 test $ac_status = 0; }; then :
3611 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3612 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3613 # work properly (i.e., refer to `conftest.exe'), while it won't with
3615 for ac_file
in conftest.exe conftest conftest.
*; do
3616 test -f "$ac_file" || continue
3618 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.dSYM
| *.o
| *.obj
) ;;
3619 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3625 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3626 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3627 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3628 See \`config.log' for more details" "$LINENO" 5; }
3630 rm -f conftest conftest
$ac_cv_exeext
3631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3632 $as_echo "$ac_cv_exeext" >&6; }
3634 rm -f conftest.
$ac_ext
3635 EXEEXT
=$ac_cv_exeext
3637 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3638 /* end confdefs.h. */
3643 FILE *f = fopen ("conftest.out", "w");
3644 return ferror (f) || fclose (f) != 0;
3650 ac_clean_files
="$ac_clean_files conftest.out"
3651 # Check that the compiler produces executables we can run. If not, either
3652 # the compiler is broken, or we cross compile.
3653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3654 $as_echo_n "checking whether we are cross compiling... " >&6; }
3655 if test "$cross_compiling" != yes; then
3656 { { ac_try
="$ac_link"
3658 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3659 *) ac_try_echo=$ac_try;;
3661 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3662 $as_echo "$ac_try_echo"; } >&5
3663 (eval "$ac_link") 2>&5
3665 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3666 test $ac_status = 0; }
3667 if { ac_try='./conftest$ac_cv_exeext'
3668 { { case "(($ac_try" in
3669 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
3670 *) ac_try_echo
=$ac_try;;
3672 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3673 $as_echo "$ac_try_echo"; } >&5
3674 (eval "$ac_try") 2>&5
3676 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3677 test $ac_status = 0; }; }; then
3680 if test "$cross_compiling" = maybe
; then
3683 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3684 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3685 as_fn_error $?
"cannot run C compiled programs.
3686 If you meant to cross compile, use \`--host'.
3687 See \`config.log' for more details" "$LINENO" 5; }
3691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3692 $as_echo "$cross_compiling" >&6; }
3694 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3695 ac_clean_files
=$ac_clean_files_save
3696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3697 $as_echo_n "checking for suffix of object files... " >&6; }
3698 if ${ac_cv_objext+:} false
; then :
3699 $as_echo_n "(cached) " >&6
3701 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3702 /* end confdefs.h. */
3712 rm -f conftest.o conftest.obj
3713 if { { ac_try
="$ac_compile"
3715 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3716 *) ac_try_echo=$ac_try;;
3718 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3719 $as_echo "$ac_try_echo"; } >&5
3720 (eval "$ac_compile") 2>&5
3722 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3723 test $ac_status = 0; }; then :
3724 for ac_file in conftest.o conftest.obj conftest.*; do
3725 test -f "$ac_file" || continue;
3727 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3728 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3733 $as_echo "$as_me: failed program was:" >&5
3734 sed 's/^/| /' conftest.$ac_ext >&5
3736 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3737 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3738 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3739 See \
`config.log' for more details" "$LINENO" 5; }
3741 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3744 $as_echo "$ac_cv_objext" >&6; }
3745 OBJEXT=$ac_cv_objext
3747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3748 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3749 if ${ac_cv_c_compiler_gnu+:} false; then :
3750 $as_echo_n "(cached) " >&6
3752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3753 /* end confdefs.h. */
3766 if ac_fn_c_try_compile "$LINENO"; then :
3771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3772 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3776 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3777 if test $ac_compiler_gnu = yes; then
3782 ac_test_CFLAGS=${CFLAGS+set}
3783 ac_save_CFLAGS=$CFLAGS
3784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3785 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3786 if ${ac_cv_prog_cc_g+:} false; then :
3787 $as_echo_n "(cached) " >&6
3789 ac_save_c_werror_flag=$ac_c_werror_flag
3790 ac_c_werror_flag=yes
3793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3794 /* end confdefs.h. */
3804 if ac_fn_c_try_compile "$LINENO"; then :
3808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3809 /* end confdefs.h. */
3819 if ac_fn_c_try_compile "$LINENO"; then :
3822 ac_c_werror_flag=$ac_save_c_werror_flag
3824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3825 /* end confdefs.h. */
3835 if ac_fn_c_try_compile "$LINENO"; then :
3838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3843 ac_c_werror_flag=$ac_save_c_werror_flag
3845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3846 $as_echo "$ac_cv_prog_cc_g" >&6; }
3847 if test "$ac_test_CFLAGS" = set; then
3848 CFLAGS=$ac_save_CFLAGS
3849 elif test $ac_cv_prog_cc_g = yes; then
3850 if test "$GCC" = yes; then
3856 if test "$GCC" = yes; then
3862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3863 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3864 if ${ac_cv_prog_cc_c89+:} false; then :
3865 $as_echo_n "(cached) " >&6
3867 ac_cv_prog_cc_c89=no
3869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3870 /* end confdefs.h. */
3874 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3875 struct buf { int x; };
3876 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3877 static char *e (p, i)
3883 static char *f (char * (*g) (char **, int), char **p, ...)
3888 s = g (p, va_arg (v,int));
3893 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3894 function prototypes and stuff, but not '\xHH' hex character constants.
3895 These don't provoke an error unfortunately, instead are silently treated
3896 as 'x'. The following induces an error, until -std is added to get
3897 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3898 array size at least. It's necessary to write '\x00'==0 to get something
3899 that's true only with -std. */
3900 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3902 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3903 inside strings and character constants. */
3905 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3907 int test (int i, double x);
3908 struct s1 {int (*f) (int a);};
3909 struct s2 {int (*f) (double a);};
3910 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3916 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3921 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3922 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3924 CC="$ac_save_CC $ac_arg"
3925 if ac_fn_c_try_compile "$LINENO"; then :
3926 ac_cv_prog_cc_c89=$ac_arg
3928 rm -f core conftest.err conftest.$ac_objext
3929 test "x$ac_cv_prog_cc_c89" != "xno" && break
3931 rm -f conftest.$ac_ext
3936 case "x$ac_cv_prog_cc_c89" in
3938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3939 $as_echo "none needed" >&6; } ;;
3941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3942 $as_echo "unsupported" >&6; } ;;
3944 CC="$CC $ac_cv_prog_cc_c89"
3945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3946 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3948 if test "x$ac_cv_prog_cc_c89" != xno; then :
3953 ac_cpp='$CPP $CPPFLAGS'
3954 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3955 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3956 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3959 ac_cpp='$CPP $CPPFLAGS'
3960 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3961 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3962 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3964 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3965 if ${am_cv_prog_cc_c_o+:} false; then :
3966 $as_echo_n "(cached) " >&6
3968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3969 /* end confdefs.h. */
3979 # Make sure it works both with $CC and with simple cc.
3980 # Following AC_PROG_CC_C_O, we do the test twice because some
3981 # compilers refuse to overwrite an existing .o file with -o,
3982 # though they will create one.
3983 am_cv_prog_cc_c_o=yes
3985 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3986 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3989 (exit $ac_status); } \
3990 && test -f conftest2.$ac_objext; then
3993 am_cv_prog_cc_c_o=no
3997 rm -f core conftest*
4000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4001 $as_echo "$am_cv_prog_cc_c_o" >&6; }
4002 if test "$am_cv_prog_cc_c_o" != yes; then
4003 # Losing compiler, so override with the script.
4004 # FIXME: It is wrong to rewrite CC.
4005 # But if we don't then we get into trouble of one sort or another.
4006 # A longer-term fix would be to have automake use am__CC in this case,
4007 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4008 CC="$am_aux_dir/compile $CC"
4011 ac_cpp='$CPP $CPPFLAGS'
4012 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4013 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4014 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4016 DEPDIR="${am__leading_dot}deps"
4018 ac_config_commands="$ac_config_commands depfiles"
4021 am_make=${MAKE-make}
4022 cat > confinc << 'END'
4024 @echo this is the am__doit target
4027 # If we don't find an include directive, just comment out the code.
4028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4029 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4033 # First try GNU make style include.
4034 echo "include confinc" > confmf
4035 # Ignore all kinds of additional output from 'make'.
4036 case `$am_make -s -f confmf
2> /dev
/null
` in #(
4037 *the\ am__doit\ target*)
4043 # Now try BSD make style include.
4044 if test "$am__include" = "#"; then
4045 echo '.include "confinc"' > confmf
4046 case `$am_make -s -f confmf
2> /dev
/null
` in #(
4047 *the\ am__doit\ target*)
4048 am__include=.include
4056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4057 $as_echo "$_am_result" >&6; }
4058 rm -f confinc confmf
4060 # Check whether --enable-dependency-tracking was given.
4061 if test "${enable_dependency_tracking+set}" = set; then :
4062 enableval=$enable_dependency_tracking;
4065 if test "x$enable_dependency_tracking" != xno; then
4066 am_depcomp="$ac_aux_dir/depcomp"
4070 if test "x$enable_dependency_tracking" != xno; then
4080 depcc="$CC" am_compiler_list=
4082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4083 $as_echo_n "checking dependency style of $depcc... " >&6; }
4084 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4085 $as_echo_n "(cached) " >&6
4087 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4088 # We make a subdir and do the tests there. Otherwise we can end up
4089 # making bogus files that we don't know about and never remove. For
4090 # instance it was reported that on HP-UX the gcc test will end up
4091 # making a dummy file named 'D' -- because '-MD' means "put the output
4095 # Copy depcomp to subdir because otherwise we won't find it if we're
4096 # using a relative directory.
4097 cp "$am_depcomp" conftest.dir
4099 # We will build objects and dependencies in a subdirectory because
4100 # it helps to detect inapplicable dependency modes. For instance
4101 # both Tru64's cc and ICC support -MD to output dependencies as a
4102 # side effect of compilation, but ICC will put the dependencies in
4103 # the current directory while Tru64 will put them in the object
4107 am_cv_CC_dependencies_compiler_type=none
4108 if test "$am_compiler_list" = ""; then
4109 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
4112 case " $depcc " in #(
4113 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4116 for depmode in $am_compiler_list; do
4117 # Setup a source with many dependencies, because some compilers
4118 # like to wrap large dependency lists on column 80 (with \), and
4119 # we should not choose a depcomp mode which is confused by this.
4121 # We need to recreate these files for each test, as the compiler may
4122 # overwrite some of them when testing with obscure command lines.
4123 # This happens at least with the AIX C compiler.
4125 for i in 1 2 3 4 5 6; do
4126 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4127 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4128 # Solaris 10 /bin/sh.
4129 echo '/* dummy */' > sub/conftst$i.h
4131 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4133 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4134 # mode. It turns out that the SunPro C++ compiler does not properly
4135 # handle '-M -o', and we need to detect this. Also, some Intel
4136 # versions had trouble with output in subdirs.
4137 am__obj=sub/conftest.${OBJEXT-o}
4138 am__minus_obj="-o $am__obj"
4141 # This depmode causes a compiler race in universal mode.
4142 test "$am__universal" = false || continue
4145 # After this tag, mechanisms are not by side-effect, so they'll
4146 # only be used when explicitly requested.
4147 if test "x$enable_dependency_tracking" = xyes; then
4153 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4154 # This compiler won't grok '-c -o', but also, the minuso test has
4155 # not run yet. These depmodes are late enough in the game, and
4156 # so weak that their functioning should not be impacted.
4157 am__obj=conftest.${OBJEXT-o}
4162 if depmode=$depmode \
4163 source=sub/conftest.c object=$am__obj \
4164 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4165 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4166 >/dev/null 2>conftest.err &&
4167 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4168 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4169 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4170 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4171 # icc doesn't choke on unknown options, it will just issue warnings
4172 # or remarks (even with -Werror). So we grep stderr for any message
4173 # that says an option was ignored or not supported.
4174 # When given -MP, icc 7.0 and 7.1 complain thusly:
4175 # icc: Command line warning: ignoring option '-M'; no argument required
4176 # The diagnosis changed in icc 8.0:
4177 # icc: Command line remark: option '-MP' not supported
4178 if (grep 'ignoring option' conftest.err ||
4179 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4180 am_cv_CC_dependencies_compiler_type=$depmode
4189 am_cv_CC_dependencies_compiler_type=none
4193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4194 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4195 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4198 test "x$enable_dependency_tracking" != xno \
4199 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4201 am__fastdepCC_FALSE='#'
4203 am__fastdepCC_TRUE='#'
4204 am__fastdepCC_FALSE=
4209 ac_cpp='$CXXCPP $CPPFLAGS'
4210 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4211 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4212 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4213 if test -z "$CXX"; then
4214 if test -n "$CCC"; then
4217 if test -n "$ac_tool_prefix"; then
4218 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4220 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4221 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4223 $as_echo_n "checking for $ac_word... " >&6; }
4224 if ${ac_cv_prog_CXX+:} false; then :
4225 $as_echo_n "(cached) " >&6
4227 if test -n "$CXX"; then
4228 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4230 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4234 test -z "$as_dir" && as_dir=.
4235 for ac_exec_ext in '' $ac_executable_extensions; do
4236 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4237 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4238 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4248 if test -n "$CXX"; then
4249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4250 $as_echo "$CXX" >&6; }
4252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4253 $as_echo "no" >&6; }
4257 test -n "$CXX" && break
4260 if test -z "$CXX"; then
4262 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4264 # Extract the first word of "$ac_prog", so it can be a program name with args.
4265 set dummy $ac_prog; ac_word=$2
4266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4267 $as_echo_n "checking for $ac_word... " >&6; }
4268 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4269 $as_echo_n "(cached) " >&6
4271 if test -n "$ac_ct_CXX"; then
4272 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4274 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4278 test -z "$as_dir" && as_dir=.
4279 for ac_exec_ext in '' $ac_executable_extensions; do
4280 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4281 ac_cv_prog_ac_ct_CXX="$ac_prog"
4282 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4291 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4292 if test -n "$ac_ct_CXX"; then
4293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4294 $as_echo "$ac_ct_CXX" >&6; }
4296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4297 $as_echo "no" >&6; }
4301 test -n "$ac_ct_CXX" && break
4304 if test "x$ac_ct_CXX" = x; then
4307 case $cross_compiling:$ac_tool_warned in
4309 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4310 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4311 ac_tool_warned=yes ;;
4319 # Provide some information about the compiler.
4320 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4323 for ac_option in --version -v -V -qversion; do
4324 { { ac_try="$ac_compiler $ac_option >&5"
4326 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
4327 *) ac_try_echo
=$ac_try;;
4329 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4330 $as_echo "$ac_try_echo"; } >&5
4331 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4333 if test -s conftest.err
; then
4335 ... rest of stderr output deleted ...
4336 10q' conftest.err
>conftest.er1
4337 cat conftest.er1
>&5
4339 rm -f conftest.er1 conftest.err
4340 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4341 test $ac_status = 0; }
4344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4345 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4346 if ${ac_cv_cxx_compiler_gnu+:} false
; then :
4347 $as_echo_n "(cached) " >&6
4349 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4350 /* end confdefs.h. */
4363 if ac_fn_cxx_try_compile
"$LINENO"; then :
4368 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4369 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
4372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4373 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4374 if test $ac_compiler_gnu = yes; then
4379 ac_test_CXXFLAGS
=${CXXFLAGS+set}
4380 ac_save_CXXFLAGS
=$CXXFLAGS
4381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4382 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4383 if ${ac_cv_prog_cxx_g+:} false
; then :
4384 $as_echo_n "(cached) " >&6
4386 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
4387 ac_cxx_werror_flag
=yes
4390 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4391 /* end confdefs.h. */
4401 if ac_fn_cxx_try_compile
"$LINENO"; then :
4402 ac_cv_prog_cxx_g
=yes
4405 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4406 /* end confdefs.h. */
4416 if ac_fn_cxx_try_compile
"$LINENO"; then :
4419 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4421 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4422 /* end confdefs.h. */
4432 if ac_fn_cxx_try_compile
"$LINENO"; then :
4433 ac_cv_prog_cxx_g
=yes
4435 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4437 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4439 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4440 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4443 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4444 if test "$ac_test_CXXFLAGS" = set; then
4445 CXXFLAGS
=$ac_save_CXXFLAGS
4446 elif test $ac_cv_prog_cxx_g = yes; then
4447 if test "$GXX" = yes; then
4453 if test "$GXX" = yes; then
4460 ac_cpp
='$CPP $CPPFLAGS'
4461 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4462 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4463 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4465 depcc
="$CXX" am_compiler_list
=
4467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4468 $as_echo_n "checking dependency style of $depcc... " >&6; }
4469 if ${am_cv_CXX_dependencies_compiler_type+:} false
; then :
4470 $as_echo_n "(cached) " >&6
4472 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4473 # We make a subdir and do the tests there. Otherwise we can end up
4474 # making bogus files that we don't know about and never remove. For
4475 # instance it was reported that on HP-UX the gcc test will end up
4476 # making a dummy file named 'D' -- because '-MD' means "put the output
4480 # Copy depcomp to subdir because otherwise we won't find it if we're
4481 # using a relative directory.
4482 cp "$am_depcomp" conftest.dir
4484 # We will build objects and dependencies in a subdirectory because
4485 # it helps to detect inapplicable dependency modes. For instance
4486 # both Tru64's cc and ICC support -MD to output dependencies as a
4487 # side effect of compilation, but ICC will put the dependencies in
4488 # the current directory while Tru64 will put them in the object
4492 am_cv_CXX_dependencies_compiler_type
=none
4493 if test "$am_compiler_list" = ""; then
4494 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4497 case " $depcc " in #(
4498 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
4501 for depmode
in $am_compiler_list; do
4502 # Setup a source with many dependencies, because some compilers
4503 # like to wrap large dependency lists on column 80 (with \), and
4504 # we should not choose a depcomp mode which is confused by this.
4506 # We need to recreate these files for each test, as the compiler may
4507 # overwrite some of them when testing with obscure command lines.
4508 # This happens at least with the AIX C compiler.
4510 for i
in 1 2 3 4 5 6; do
4511 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4512 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4513 # Solaris 10 /bin/sh.
4514 echo '/* dummy */' > sub
/conftst
$i.h
4516 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4518 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4519 # mode. It turns out that the SunPro C++ compiler does not properly
4520 # handle '-M -o', and we need to detect this. Also, some Intel
4521 # versions had trouble with output in subdirs.
4522 am__obj
=sub
/conftest.
${OBJEXT-o}
4523 am__minus_obj
="-o $am__obj"
4526 # This depmode causes a compiler race in universal mode.
4527 test "$am__universal" = false
|| continue
4530 # After this tag, mechanisms are not by side-effect, so they'll
4531 # only be used when explicitly requested.
4532 if test "x$enable_dependency_tracking" = xyes
; then
4538 msvc7
| msvc7msys
| msvisualcpp
| msvcmsys
)
4539 # This compiler won't grok '-c -o', but also, the minuso test has
4540 # not run yet. These depmodes are late enough in the game, and
4541 # so weak that their functioning should not be impacted.
4542 am__obj
=conftest.
${OBJEXT-o}
4547 if depmode
=$depmode \
4548 source=sub
/conftest.c object
=$am__obj \
4549 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4550 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4551 >/dev
/null
2>conftest.err
&&
4552 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4553 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4554 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4555 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4556 # icc doesn't choke on unknown options, it will just issue warnings
4557 # or remarks (even with -Werror). So we grep stderr for any message
4558 # that says an option was ignored or not supported.
4559 # When given -MP, icc 7.0 and 7.1 complain thusly:
4560 # icc: Command line warning: ignoring option '-M'; no argument required
4561 # The diagnosis changed in icc 8.0:
4562 # icc: Command line remark: option '-MP' not supported
4563 if (grep 'ignoring option' conftest.err
||
4564 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4565 am_cv_CXX_dependencies_compiler_type
=$depmode
4574 am_cv_CXX_dependencies_compiler_type
=none
4578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
4579 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
4580 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
4583 test "x$enable_dependency_tracking" != xno \
4584 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
4585 am__fastdepCXX_TRUE
=
4586 am__fastdepCXX_FALSE
='#'
4588 am__fastdepCXX_TRUE
='#'
4589 am__fastdepCXX_FALSE
=
4594 ac_cpp
='$OBJCXXCPP $CPPFLAGS'
4595 ac_compile
='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4596 ac_link
='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4597 ac_compiler_gnu
=$ac_cv_objcxx_compiler_gnu
4598 if test -n "$ac_tool_prefix"; then
4599 for ac_prog
in g
++ objc
++ objcxx c
++ CXX
4601 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4602 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4604 $as_echo_n "checking for $ac_word... " >&6; }
4605 if ${ac_cv_prog_OBJCXX+:} false
; then :
4606 $as_echo_n "(cached) " >&6
4608 if test -n "$OBJCXX"; then
4609 ac_cv_prog_OBJCXX
="$OBJCXX" # Let the user override the test.
4611 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4615 test -z "$as_dir" && as_dir
=.
4616 for ac_exec_ext
in '' $ac_executable_extensions; do
4617 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4618 ac_cv_prog_OBJCXX
="$ac_tool_prefix$ac_prog"
4619 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4628 OBJCXX
=$ac_cv_prog_OBJCXX
4629 if test -n "$OBJCXX"; then
4630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCXX" >&5
4631 $as_echo "$OBJCXX" >&6; }
4633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4634 $as_echo "no" >&6; }
4638 test -n "$OBJCXX" && break
4641 if test -z "$OBJCXX"; then
4642 ac_ct_OBJCXX
=$OBJCXX
4643 for ac_prog
in g
++ objc
++ objcxx c
++ CXX
4645 # Extract the first word of "$ac_prog", so it can be a program name with args.
4646 set dummy
$ac_prog; ac_word
=$2
4647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4648 $as_echo_n "checking for $ac_word... " >&6; }
4649 if ${ac_cv_prog_ac_ct_OBJCXX+:} false
; then :
4650 $as_echo_n "(cached) " >&6
4652 if test -n "$ac_ct_OBJCXX"; then
4653 ac_cv_prog_ac_ct_OBJCXX
="$ac_ct_OBJCXX" # Let the user override the test.
4655 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4659 test -z "$as_dir" && as_dir
=.
4660 for ac_exec_ext
in '' $ac_executable_extensions; do
4661 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4662 ac_cv_prog_ac_ct_OBJCXX
="$ac_prog"
4663 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4672 ac_ct_OBJCXX
=$ac_cv_prog_ac_ct_OBJCXX
4673 if test -n "$ac_ct_OBJCXX"; then
4674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJCXX" >&5
4675 $as_echo "$ac_ct_OBJCXX" >&6; }
4677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4678 $as_echo "no" >&6; }
4682 test -n "$ac_ct_OBJCXX" && break
4685 if test "x$ac_ct_OBJCXX" = x
; then
4688 case $cross_compiling:$ac_tool_warned in
4690 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4691 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4692 ac_tool_warned
=yes ;;
4694 OBJCXX
=$ac_ct_OBJCXX
4698 # Provide some information about the compiler.
4699 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Objective C++ compiler version" >&5
4702 for ac_option
in --version -v -V -qversion; do
4703 { { ac_try
="$ac_compiler $ac_option >&5"
4705 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
4706 *) ac_try_echo=$ac_try;;
4708 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4709 $as_echo "$ac_try_echo"; } >&5
4710 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4712 if test -s conftest.err; then
4714 ... rest of stderr output deleted ...
4715 10q' conftest.err >conftest.er1
4716 cat conftest.er1 >&5
4718 rm -f conftest.er1 conftest.err
4719 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4720 test $ac_status = 0; }
4723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Objective C++ compiler" >&5
4724 $as_echo_n "checking whether we are using the GNU Objective C++ compiler... " >&6; }
4725 if ${ac_cv_objcxx_compiler_gnu+:} false; then :
4726 $as_echo_n "(cached) " >&6
4728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4729 /* end confdefs.h. */
4742 if ac_fn_objcxx_try_compile "$LINENO"; then :
4747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4748 ac_cv_objcxx_compiler_gnu=$ac_compiler_gnu
4751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objcxx_compiler_gnu" >&5
4752 $as_echo "$ac_cv_objcxx_compiler_gnu" >&6; }
4753 if test $ac_compiler_gnu = yes; then
4758 ac_test_OBJCXXFLAGS=${OBJCXXFLAGS+set}
4759 ac_save_OBJCXXFLAGS=$OBJCXXFLAGS
4760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $OBJCXX accepts -g" >&5
4761 $as_echo_n "checking whether $OBJCXX accepts -g... " >&6; }
4762 if ${ac_cv_prog_objcxx_g+:} false; then :
4763 $as_echo_n "(cached) " >&6
4765 ac_save_objcxx_werror_flag=$ac_objcxx_werror_flag
4766 ac_objcxx_werror_flag=yes
4767 ac_cv_prog_objcxx_g=no
4769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4770 /* end confdefs.h. */
4780 if ac_fn_objcxx_try_compile "$LINENO"; then :
4781 ac_cv_prog_objcxx_g=yes
4784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4785 /* end confdefs.h. */
4795 if ac_fn_objcxx_try_compile "$LINENO"; then :
4798 ac_objcxx_werror_flag=$ac_save_objcxx_werror_flag
4800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4801 /* end confdefs.h. */
4811 if ac_fn_objcxx_try_compile "$LINENO"; then :
4812 ac_cv_prog_objcxx_g=yes
4814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4819 ac_objcxx_werror_flag=$ac_save_objcx_werror_flag
4821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objcxx_g" >&5
4822 $as_echo "$ac_cv_prog_objcxx_g" >&6; }
4823 if test "$ac_test_OBJCXXFLAGS" = set; then
4824 OBJCXXFLAGS=$ac_save_OBJCXXFLAGS
4825 elif test $ac_cv_prog_objcxx_g = yes; then
4826 if test "$GOBJCXX" = yes; then
4827 OBJCXXFLAGS="-g -O2"
4832 if test "$GOBJCXX" = yes; then
4839 ac_cpp='$CPP $CPPFLAGS'
4840 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4841 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4842 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4844 depcc="$OBJCXX" am_compiler_list='gcc3 gcc'
4846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4847 $as_echo_n "checking dependency style of $depcc... " >&6; }
4848 if ${am_cv_OBJCXX_dependencies_compiler_type+:} false; then :
4849 $as_echo_n "(cached) " >&6
4851 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4852 # We make a subdir and do the tests there. Otherwise we can end up
4853 # making bogus files that we don't know about and never remove. For
4854 # instance it was reported that on HP-UX the gcc test will end up
4855 # making a dummy file named 'D' -- because '-MD' means "put the output
4859 # Copy depcomp to subdir because otherwise we won't find it if we're
4860 # using a relative directory.
4861 cp "$am_depcomp" conftest.dir
4863 # We will build objects and dependencies in a subdirectory because
4864 # it helps to detect inapplicable dependency modes. For instance
4865 # both Tru64's cc and ICC support -MD to output dependencies as a
4866 # side effect of compilation, but ICC will put the dependencies in
4867 # the current directory while Tru64 will put them in the object
4871 am_cv_OBJCXX_dependencies_compiler_type=none
4872 if test "$am_compiler_list" = ""; then
4873 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
4878 for depmode in $am_compiler_list; do
4879 # Setup a source with many dependencies, because some compilers
4880 # like to wrap large dependency lists on column 80 (with \), and
4881 # we should not choose a depcomp mode which is confused by this.
4883 # We need to recreate these files for each test, as the compiler may
4884 # overwrite some of them when testing with obscure command lines.
4885 # This happens at least with the AIX C compiler.
4887 for i in 1 2 3 4 5 6; do
4888 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4889 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4890 # Solaris 10 /bin/sh.
4891 echo '/* dummy */' > sub/conftst$i.h
4893 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4895 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4896 # mode. It turns out that the SunPro C++ compiler does not properly
4897 # handle '-M -o', and we need to detect this. Also, some Intel
4898 # versions had trouble with output in subdirs.
4899 am__obj=sub/conftest.${OBJEXT-o}
4900 am__minus_obj="-o $am__obj"
4903 # This depmode causes a compiler race in universal mode.
4904 test "$am__universal" = false || continue
4907 # After this tag, mechanisms are not by side-effect, so they'll
4908 # only be used when explicitly requested.
4909 if test "x$enable_dependency_tracking" = xyes; then
4915 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4916 # This compiler won't grok '-c -o', but also, the minuso test has
4917 # not run yet. These depmodes are late enough in the game, and
4918 # so weak that their functioning should not be impacted.
4919 am__obj=conftest.${OBJEXT-o}
4924 if depmode=$depmode \
4925 source=sub/conftest.c object=$am__obj \
4926 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4927 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4928 >/dev/null 2>conftest.err &&
4929 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4930 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4931 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4932 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4933 # icc doesn't choke on unknown options, it will just issue warnings
4934 # or remarks (even with -Werror). So we grep stderr for any message
4935 # that says an option was ignored or not supported.
4936 # When given -MP, icc 7.0 and 7.1 complain thusly:
4937 # icc: Command line warning: ignoring option '-M'; no argument required
4938 # The diagnosis changed in icc 8.0:
4939 # icc: Command line remark: option '-MP' not supported
4940 if (grep 'ignoring option' conftest.err ||
4941 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4942 am_cv_OBJCXX_dependencies_compiler_type=$depmode
4951 am_cv_OBJCXX_dependencies_compiler_type=none
4955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_OBJCXX_dependencies_compiler_type" >&5
4956 $as_echo "$am_cv_OBJCXX_dependencies_compiler_type" >&6; }
4957 OBJCXXDEPMODE=depmode=$am_cv_OBJCXX_dependencies_compiler_type
4960 test "x$enable_dependency_tracking" != xno \
4961 && test "$am_cv_OBJCXX_dependencies_compiler_type" = gcc3; then
4962 am__fastdepOBJCXX_TRUE=
4963 am__fastdepOBJCXX_FALSE='#'
4965 am__fastdepOBJCXX_TRUE='#'
4966 am__fastdepOBJCXX_FALSE=
4972 if test -n "$ac_tool_prefix"; then
4973 for ac_prog in ar lib "link -lib"
4975 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4976 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4978 $as_echo_n "checking for $ac_word... " >&6; }
4979 if ${ac_cv_prog_AR+:} false; then :
4980 $as_echo_n "(cached) " >&6
4982 if test -n "$AR"; then
4983 ac_cv_prog_AR="$AR" # Let the user override the test.
4985 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4989 test -z "$as_dir" && as_dir=.
4990 for ac_exec_ext in '' $ac_executable_extensions; do
4991 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4992 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
4993 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5003 if test -n "$AR"; then
5004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5005 $as_echo "$AR" >&6; }
5007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5008 $as_echo "no" >&6; }
5012 test -n "$AR" && break
5015 if test -z "$AR"; then
5017 for ac_prog in ar lib "link -lib"
5019 # Extract the first word of "$ac_prog", so it can be a program name with args.
5020 set dummy $ac_prog; ac_word=$2
5021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5022 $as_echo_n "checking for $ac_word... " >&6; }
5023 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5024 $as_echo_n "(cached) " >&6
5026 if test -n "$ac_ct_AR"; then
5027 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5029 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5033 test -z "$as_dir" && as_dir=.
5034 for ac_exec_ext in '' $ac_executable_extensions; do
5035 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5036 ac_cv_prog_ac_ct_AR="$ac_prog"
5037 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5046 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5047 if test -n "$ac_ct_AR"; then
5048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5049 $as_echo "$ac_ct_AR" >&6; }
5051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5052 $as_echo "no" >&6; }
5056 test -n "$ac_ct_AR" && break
5059 if test "x$ac_ct_AR" = x; then
5062 case $cross_compiling:$ac_tool_warned in
5064 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5065 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5066 ac_tool_warned=yes ;;
5074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the archiver ($AR) interface" >&5
5075 $as_echo_n "checking the archiver ($AR) interface... " >&6; }
5076 if ${am_cv_ar_interface+:} false; then :
5077 $as_echo_n "(cached) " >&6
5080 ac_cpp='$CPP $CPPFLAGS'
5081 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5082 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5083 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5085 am_cv_ar_interface=ar
5086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5087 /* end confdefs.h. */
5088 int some_variable = 0;
5090 if ac_fn_c_try_compile "$LINENO"; then :
5091 am_ar_try='$AR cru libconftest.a conftest.$ac_objext >&5'
5092 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
5093 (eval $am_ar_try) 2>&5
5095 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5096 test $ac_status = 0; }
5097 if test "$ac_status" -eq 0; then
5098 am_cv_ar_interface=ar
5100 am_ar_try='$AR -NOLOGO -OUT:conftest.lib conftest.$ac_objext >&5'
5101 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
5102 (eval $am_ar_try) 2>&5
5104 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5105 test $ac_status = 0; }
5106 if test "$ac_status" -eq 0; then
5107 am_cv_ar_interface=lib
5109 am_cv_ar_interface=unknown
5112 rm -f conftest.lib libconftest.a
5115 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5117 ac_cpp='$CPP $CPPFLAGS'
5118 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5119 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5120 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_ar_interface" >&5
5124 $as_echo "$am_cv_ar_interface" >&6; }
5126 case $am_cv_ar_interface in
5130 # Microsoft lib, so override with the ar-lib wrapper script.
5131 # FIXME: It is wrong to rewrite AR.
5132 # But if we don't then we get into trouble of one sort or another.
5133 # A longer-term fix would be to have automake use am__AR in this case,
5134 # and then we could set am__AR="$am_aux_dir/ar-lib \$(AR)" or something
5136 AR="$am_aux_dir/ar-lib $AR"
5139 as_fn_error $? "could not determine $AR interface" "$LINENO" 5
5147 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&5
5148 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&2;} ;;
5153 macro_version='2.4.6'
5154 macro_revision='2.4.6'
5168 ltmain=$ac_aux_dir/ltmain.sh
5170 # Make sure we can run config.sub.
5171 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
5172 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
5174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
5175 $as_echo_n "checking build system type... " >&6; }
5176 if ${ac_cv_build+:} false; then :
5177 $as_echo_n "(cached) " >&6
5179 ac_build_alias=$build_alias
5180 test "x$ac_build_alias" = x &&
5181 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
5182 test "x$ac_build_alias" = x &&
5183 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
5184 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
5185 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
5188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
5189 $as_echo "$ac_cv_build" >&6; }
5190 case $ac_cv_build in
5192 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
5195 ac_save_IFS=$IFS; IFS='-'
5201 # Remember, the first character of IFS is used to create $*,
5202 # except with old shells:
5205 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
5208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
5209 $as_echo_n "checking host system type... " >&6; }
5210 if ${ac_cv_host+:} false; then :
5211 $as_echo_n "(cached) " >&6
5213 if test "x$host_alias" = x; then
5214 ac_cv_host=$ac_cv_build
5216 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
5217 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
5221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
5222 $as_echo "$ac_cv_host" >&6; }
5225 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
5228 ac_save_IFS=$IFS; IFS='-'
5234 # Remember, the first character of IFS is used to create $*,
5235 # except with old shells:
5238 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
5241 # Backslashify metacharacters that are still active within
5242 # double-quoted strings.
5243 sed_quote_subst='s/\(["`$
\\]\
)/\\\
1/g
'
5245 # Same as above, but do not quote variable references.
5246 double_quote_subst='s
/\
(["`\\]\)/\\\1/g'
5248 # Sed substitution to delay expansion of an escaped shell variable in a
5249 # double_quote_subst'ed string.
5250 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5252 # Sed substitution to delay expansion of an escaped single quote.
5253 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5255 # Sed substitution to avoid accidental globbing in evaled expressions
5256 no_glob_subst='s/\*/\\\*/g'
5258 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5259 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5260 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print
strings" >&5
5263 $as_echo_n "checking how to print
strings...
" >&6; }
5264 # Test print first, because it will be a builtin if present.
5265 if test "X
`( print -r -- -n ) 2>/dev/null`" = X-n && \
5266 test "X
`print -r -- $ECHO 2>/dev/null`" = "X
$ECHO"; then
5268 elif test "X
`printf %s $ECHO 2>/dev/null`" = "X
$ECHO"; then
5271 # Use this function as a fallback that always works.
5272 func_fallback_echo ()
5274 eval 'cat <<_LTECHO_EOF
5278 ECHO='func_fallback_echo'
5281 # func_echo_all arg...
5282 # Invoke $ECHO with all args, space-separated.
5289 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: printf" >&5
5290 $as_echo "printf" >&6; } ;;
5291 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: print
-r" >&5
5292 $as_echo "print
-r" >&6; } ;;
5293 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: cat" >&5
5294 $as_echo "cat" >&6; } ;;
5310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for a
sed that does not truncate output
" >&5
5311 $as_echo_n "checking
for a
sed that does not truncate output...
" >&6; }
5312 if ${ac_cv_path_SED+:} false; then :
5313 $as_echo_n "(cached
) " >&6
5315 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5316 for ac_i in 1 2 3 4 5 6 7; do
5317 ac_script="$ac_script$as_nl$ac_script"
5319 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5320 { ac_script=; unset ac_script;}
5321 if test -z "$SED"; then
5322 ac_path_SED_found=false
5323 # Loop through the user's path and test for each of PROGNAME-LIST
5324 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5328 test -z "$as_dir" && as_dir=.
5329 for ac_prog in sed gsed; do
5330 for ac_exec_ext in '' $ac_executable_extensions; do
5331 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5332 as_fn_executable_p "$ac_path_SED" || continue
5333 # Check for GNU ac_path_SED and select it if it is found.
5334 # Check for GNU $ac_path_SED
5335 case `"$ac_path_SED" --version 2>&1` in
5337 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5340 $as_echo_n 0123456789 >"conftest.
in"
5343 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
5344 mv "conftest.tmp
" "conftest.
in"
5345 cp "conftest.
in" "conftest.
nl"
5346 $as_echo '' >> "conftest.
nl"
5347 "$ac_path_SED" -f conftest.sed < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
5348 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
5349 as_fn_arith $ac_count + 1 && ac_count=$as_val
5350 if test $ac_count -gt ${ac_path_SED_max-0}; then
5351 # Best one so far, save it but keep looking for a better one
5352 ac_cv_path_SED="$ac_path_SED"
5353 ac_path_SED_max=$ac_count
5355 # 10*(2^10) chars as input seems more than enough
5356 test $ac_count -gt 10 && break
5358 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5361 $ac_path_SED_found && break 3
5366 if test -z "$ac_cv_path_SED"; then
5367 as_fn_error $? "no acceptable
sed could be found
in \
$PATH" "$LINENO" 5
5374 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_SED" >&5
5375 $as_echo "$ac_cv_path_SED" >&6; }
5376 SED="$ac_cv_path_SED"
5379 test -z "$SED" && SED=sed
5380 Xsed="$SED -e 1s
/^X
//"
5392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for grep that handles long lines and
-e" >&5
5393 $as_echo_n "checking
for grep that handles long lines and
-e...
" >&6; }
5394 if ${ac_cv_path_GREP+:} false; then :
5395 $as_echo_n "(cached
) " >&6
5397 if test -z "$GREP"; then
5398 ac_path_GREP_found=false
5399 # Loop through the user's path and test for each of PROGNAME-LIST
5400 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5401 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5404 test -z "$as_dir" && as_dir=.
5405 for ac_prog in grep ggrep; do
5406 for ac_exec_ext in '' $ac_executable_extensions; do
5407 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5408 as_fn_executable_p "$ac_path_GREP" || continue
5409 # Check for GNU ac_path_GREP and select it if it is found.
5410 # Check for GNU $ac_path_GREP
5411 case `"$ac_path_GREP" --version 2>&1` in
5413 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5416 $as_echo_n 0123456789 >"conftest.
in"
5419 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
5420 mv "conftest.tmp
" "conftest.
in"
5421 cp "conftest.
in" "conftest.
nl"
5422 $as_echo 'GREP' >> "conftest.
nl"
5423 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
5424 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
5425 as_fn_arith $ac_count + 1 && ac_count=$as_val
5426 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5427 # Best one so far, save it but keep looking for a better one
5428 ac_cv_path_GREP="$ac_path_GREP"
5429 ac_path_GREP_max=$ac_count
5431 # 10*(2^10) chars as input seems more than enough
5432 test $ac_count -gt 10 && break
5434 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5437 $ac_path_GREP_found && break 3
5442 if test -z "$ac_cv_path_GREP"; then
5443 as_fn_error $? "no acceptable
grep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
5446 ac_cv_path_GREP=$GREP
5450 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_GREP" >&5
5451 $as_echo "$ac_cv_path_GREP" >&6; }
5452 GREP="$ac_cv_path_GREP"
5455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for egrep" >&5
5456 $as_echo_n "checking
for egrep...
" >&6; }
5457 if ${ac_cv_path_EGREP+:} false; then :
5458 $as_echo_n "(cached
) " >&6
5460 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5461 then ac_cv_path_EGREP="$GREP -E"
5463 if test -z "$EGREP"; then
5464 ac_path_EGREP_found=false
5465 # Loop through the user's path and test for each of PROGNAME-LIST
5466 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5467 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5470 test -z "$as_dir" && as_dir=.
5471 for ac_prog in egrep; do
5472 for ac_exec_ext in '' $ac_executable_extensions; do
5473 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5474 as_fn_executable_p "$ac_path_EGREP" || continue
5475 # Check for GNU ac_path_EGREP and select it if it is found.
5476 # Check for GNU $ac_path_EGREP
5477 case `"$ac_path_EGREP" --version 2>&1` in
5479 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5482 $as_echo_n 0123456789 >"conftest.
in"
5485 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
5486 mv "conftest.tmp
" "conftest.
in"
5487 cp "conftest.
in" "conftest.
nl"
5488 $as_echo 'EGREP' >> "conftest.
nl"
5489 "$ac_path_EGREP" 'EGREP$' < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
5490 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
5491 as_fn_arith $ac_count + 1 && ac_count=$as_val
5492 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5493 # Best one so far, save it but keep looking for a better one
5494 ac_cv_path_EGREP="$ac_path_EGREP"
5495 ac_path_EGREP_max=$ac_count
5497 # 10*(2^10) chars as input seems more than enough
5498 test $ac_count -gt 10 && break
5500 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5503 $ac_path_EGREP_found && break 3
5508 if test -z "$ac_cv_path_EGREP"; then
5509 as_fn_error $? "no acceptable
egrep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
5512 ac_cv_path_EGREP=$EGREP
5517 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_EGREP" >&5
5518 $as_echo "$ac_cv_path_EGREP" >&6; }
5519 EGREP="$ac_cv_path_EGREP"
5522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for fgrep
" >&5
5523 $as_echo_n "checking
for fgrep...
" >&6; }
5524 if ${ac_cv_path_FGREP+:} false; then :
5525 $as_echo_n "(cached
) " >&6
5527 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5528 then ac_cv_path_FGREP="$GREP -F"
5530 if test -z "$FGREP"; then
5531 ac_path_FGREP_found=false
5532 # Loop through the user's path and test for each of PROGNAME-LIST
5533 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5534 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5537 test -z "$as_dir" && as_dir=.
5538 for ac_prog in fgrep; do
5539 for ac_exec_ext in '' $ac_executable_extensions; do
5540 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5541 as_fn_executable_p "$ac_path_FGREP" || continue
5542 # Check for GNU ac_path_FGREP and select it if it is found.
5543 # Check for GNU $ac_path_FGREP
5544 case `"$ac_path_FGREP" --version 2>&1` in
5546 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5549 $as_echo_n 0123456789 >"conftest.
in"
5552 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
5553 mv "conftest.tmp
" "conftest.
in"
5554 cp "conftest.
in" "conftest.
nl"
5555 $as_echo 'FGREP' >> "conftest.
nl"
5556 "$ac_path_FGREP" FGREP < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
5557 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
5558 as_fn_arith $ac_count + 1 && ac_count=$as_val
5559 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5560 # Best one so far, save it but keep looking for a better one
5561 ac_cv_path_FGREP="$ac_path_FGREP"
5562 ac_path_FGREP_max=$ac_count
5564 # 10*(2^10) chars as input seems more than enough
5565 test $ac_count -gt 10 && break
5567 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5570 $ac_path_FGREP_found && break 3
5575 if test -z "$ac_cv_path_FGREP"; then
5576 as_fn_error $? "no acceptable fgrep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
5579 ac_cv_path_FGREP=$FGREP
5584 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_FGREP" >&5
5585 $as_echo "$ac_cv_path_FGREP" >&6; }
5586 FGREP="$ac_cv_path_FGREP"
5589 test -z "$GREP" && GREP=grep
5609 # Check whether --with-gnu-ld was given.
5610 if test "${with_gnu_ld+set}" = set; then :
5611 withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
5617 if test yes = "$GCC"; then
5618 # Check if gcc -print-prog-name=ld gives a path.
5619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ld used by
$CC" >&5
5620 $as_echo_n "checking
for ld used by
$CC...
" >&6; }
5623 # gcc leaves a trailing carriage return, which upsets mingw
5624 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5626 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5629 # Accept absolute paths.
5631 re_direlt='/[^/][^/]*/\.\./'
5632 # Canonicalize the pathname of ld
5633 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5634 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5635 ac_prog=`$ECHO $ac_prog| $SED "s
%$re_direlt%/%"`
5637 test -z "$LD" && LD=$ac_prog
5640 # If it fails, then pretend we aren't using GCC.
5644 # If it is relative, then search for the first ld in PATH.
5648 elif test yes = "$with_gnu_ld"; then
5649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for GNU ld
" >&5
5650 $as_echo_n "checking
for GNU ld...
" >&6; }
5652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for non
-GNU ld
" >&5
5653 $as_echo_n "checking
for non
-GNU ld...
" >&6; }
5655 if ${lt_cv_path_LD+:} false; then :
5656 $as_echo_n "(cached
) " >&6
5658 if test -z "$LD"; then
5659 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
5660 for ac_dir in $PATH; do
5662 test -z "$ac_dir" && ac_dir=.
5663 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5664 lt_cv_path_LD=$ac_dir/$ac_prog
5665 # Check to see if the program is GNU ld. I'd rather use --version,
5666 # but apparently some variants of GNU ld only accept -v.
5667 # Break only if it was the GNU/non-GNU ld that we prefer.
5668 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5669 *GNU* | *'with BFD'*)
5670 test no != "$with_gnu_ld" && break
5673 test yes != "$with_gnu_ld" && break
5680 lt_cv_path_LD=$LD # Let the user override the test with a path.
5685 if test -n "$LD"; then
5686 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
5687 $as_echo "$LD" >&6; }
5689 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5690 $as_echo "no
" >&6; }
5692 test -z "$LD" && as_fn_error $? "no acceptable ld found
in \
$PATH" "$LINENO" 5
5693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if the linker
($LD) is GNU ld
" >&5
5694 $as_echo_n "checking
if the linker
($LD) is GNU ld...
" >&6; }
5695 if ${lt_cv_prog_gnu_ld+:} false; then :
5696 $as_echo_n "(cached
) " >&6
5698 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5699 case `$LD -v 2>&1 </dev/null` in
5700 *GNU* | *'with BFD'*)
5701 lt_cv_prog_gnu_ld=yes
5704 lt_cv_prog_gnu_ld=no
5708 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_gnu_ld" >&5
5709 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5710 with_gnu_ld=$lt_cv_prog_gnu_ld
5720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for BSD
- or MS
-compatible name lister
(nm
)" >&5
5721 $as_echo_n "checking
for BSD
- or MS
-compatible name lister
(nm
)...
" >&6; }
5722 if ${lt_cv_path_NM+:} false; then :
5723 $as_echo_n "(cached
) " >&6
5725 if test -n "$NM"; then
5726 # Let the user override the test.
5729 lt_nm_to_check=${ac_tool_prefix}nm
5730 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5731 lt_nm_to_check="$lt_nm_to_check nm
"
5733 for lt_tmp_nm in $lt_nm_to_check; do
5734 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
5735 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5737 test -z "$ac_dir" && ac_dir=.
5738 tmp_nm=$ac_dir/$lt_tmp_nm
5739 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
5740 # Check to see if the nm accepts a BSD-compat flag.
5741 # Adding the 'sed 1q' prevents false positives on HP-UX, which says:
5742 # nm: unknown option "B
" ignored
5743 # Tru64's nm complains that /dev/null is an invalid object file
5744 # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
5746 mingw*) lt_bad_file=conftest.nm/nofile ;;
5747 *) lt_bad_file=/dev/null ;;
5749 case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
5750 *$lt_bad_file* | *'Invalid file or object type'*)
5751 lt_cv_path_NM="$tmp_nm -B"
5755 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5757 lt_cv_path_NM="$tmp_nm -p"
5761 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5762 continue # so that we can try to find one that supports BSD flags
5771 : ${lt_cv_path_NM=no}
5774 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_path_NM" >&5
5775 $as_echo "$lt_cv_path_NM" >&6; }
5776 if test no != "$lt_cv_path_NM"; then
5779 # Didn't find any BSD compatible name lister, look for dumpbin.
5780 if test -n "$DUMPBIN"; then :
5781 # Let the user override the test.
5783 if test -n "$ac_tool_prefix"; then
5784 for ac_prog in dumpbin "link
-dump"
5786 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5787 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5789 $as_echo_n "checking
for $ac_word...
" >&6; }
5790 if ${ac_cv_prog_DUMPBIN+:} false; then :
5791 $as_echo_n "(cached
) " >&6
5793 if test -n "$DUMPBIN"; then
5794 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5796 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5800 test -z "$as_dir" && as_dir=.
5801 for ac_exec_ext in '' $ac_executable_extensions; do
5802 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5803 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5804 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5813 DUMPBIN=$ac_cv_prog_DUMPBIN
5814 if test -n "$DUMPBIN"; then
5815 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DUMPBIN" >&5
5816 $as_echo "$DUMPBIN" >&6; }
5818 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5819 $as_echo "no
" >&6; }
5823 test -n "$DUMPBIN" && break
5826 if test -z "$DUMPBIN"; then
5827 ac_ct_DUMPBIN=$DUMPBIN
5828 for ac_prog in dumpbin "link
-dump"
5830 # Extract the first word of "$ac_prog", so it can be a program name with args.
5831 set dummy $ac_prog; ac_word=$2
5832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5833 $as_echo_n "checking
for $ac_word...
" >&6; }
5834 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5835 $as_echo_n "(cached
) " >&6
5837 if test -n "$ac_ct_DUMPBIN"; then
5838 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5840 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5844 test -z "$as_dir" && as_dir=.
5845 for ac_exec_ext in '' $ac_executable_extensions; do
5846 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5847 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5848 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5857 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5858 if test -n "$ac_ct_DUMPBIN"; then
5859 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DUMPBIN" >&5
5860 $as_echo "$ac_ct_DUMPBIN" >&6; }
5862 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5863 $as_echo "no
" >&6; }
5867 test -n "$ac_ct_DUMPBIN" && break
5870 if test "x
$ac_ct_DUMPBIN" = x; then
5873 case $cross_compiling:$ac_tool_warned in
5875 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5876 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5877 ac_tool_warned=yes ;;
5879 DUMPBIN=$ac_ct_DUMPBIN
5883 case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
5885 DUMPBIN="$DUMPBIN -symbols -headers"
5893 if test : != "$DUMPBIN"; then
5897 test -z "$NM" && NM=nm
5904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister
($NM) interface
" >&5
5905 $as_echo_n "checking the name lister
($NM) interface...
" >&6; }
5906 if ${lt_cv_nm_interface+:} false; then :
5907 $as_echo_n "(cached
) " >&6
5909 lt_cv_nm_interface="BSD nm
"
5910 echo "int some_variable
= 0;" > conftest.$ac_ext
5911 (eval echo "\"\
$as_me:$LINENO: $ac_compile\"" >&5)
5912 (eval "$ac_compile" 2>conftest.err)
5913 cat conftest.err >&5
5914 (eval echo "\"\
$as_me:$LINENO: $NM \\\"conftest.
$ac_objext\\\"\"" >&5)
5915 (eval "$NM \"conftest.
$ac_objext\"" 2>conftest.err > conftest.out)
5916 cat conftest.err >&5
5917 (eval echo "\"\
$as_me:$LINENO: output
\"" >&5)
5918 cat conftest.out >&5
5919 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5920 lt_cv_nm_interface="MS dumpbin
"
5924 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_nm_interface" >&5
5925 $as_echo "$lt_cv_nm_interface" >&6; }
5927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether
ln -s works
" >&5
5928 $as_echo_n "checking whether
ln -s works...
" >&6; }
5930 if test "$LN_S" = "ln -s"; then
5931 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
5932 $as_echo "yes" >&6; }
5934 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
, using
$LN_S" >&5
5935 $as_echo "no
, using
$LN_S" >&6; }
5938 # find the maximum length of command line arguments
5939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of
command line arguments
" >&5
5940 $as_echo_n "checking the maximum length of
command line arguments...
" >&6; }
5941 if ${lt_cv_sys_max_cmd_len+:} false; then :
5942 $as_echo_n "(cached
) " >&6
5949 # On DJGPP, this test can blow up pretty badly due to problems in libc
5950 # (any single argument exceeding 2000 bytes causes a buffer overrun
5951 # during glob expansion). Even if it were fixed, the result of this
5952 # check would be larger than it should be.
5953 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5957 # Under GNU Hurd, this test is not required because there is
5958 # no limit to the length of command line arguments.
5959 # Libtool will interpret -1 as no limit whatsoever
5960 lt_cv_sys_max_cmd_len=-1;
5963 cygwin* | mingw* | cegcc*)
5964 # On Win9x/ME, this test blows up -- it succeeds, but takes
5965 # about 5 minutes as the teststring grows exponentially.
5966 # Worse, since 9x/ME are not pre-emptively multitasking,
5967 # you end up with a "frozen
" computer, even though with patience
5968 # the test eventually succeeds (with a max line length of 256k).
5969 # Instead, let's just punt: use the minimum linelength reported by
5970 # all of the supported platforms: 8192 (on NT/2K/XP).
5971 lt_cv_sys_max_cmd_len=8192;
5975 # On MiNT this can take a long time and run out of memory.
5976 lt_cv_sys_max_cmd_len=8192;
5980 # On AmigaOS with pdksh, this test takes hours, literally.
5981 # So we just punt and use a minimum line length of 8192.
5982 lt_cv_sys_max_cmd_len=8192;
5985 bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
5986 # This has been around since 386BSD, at least. Likely further.
5987 if test -x /sbin/sysctl; then
5988 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5989 elif test -x /usr/sbin/sysctl; then
5990 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5992 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5994 # And add a safety zone
5995 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5996 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6000 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6001 lt_cv_sys_max_cmd_len=196608
6005 # The test takes a long time on OS/2.
6006 lt_cv_sys_max_cmd_len=8192
6010 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6011 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6012 # nice to cause kernel panics so lets avoid the loop below.
6013 # First set a reasonable default.
6014 lt_cv_sys_max_cmd_len=16384
6016 if test -x /sbin/sysconfig; then
6017 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6018 *1*) lt_cv_sys_max_cmd_len=-1 ;;
6023 lt_cv_sys_max_cmd_len=102400
6025 sysv5* | sco5v6* | sysv4.2uw2*)
6026 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6027 if test -n "$kargmax"; then
6028 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
6030 lt_cv_sys_max_cmd_len=32768
6034 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6035 if test -n "$lt_cv_sys_max_cmd_len" && \
6036 test undefined != "$lt_cv_sys_max_cmd_len"; then
6037 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6038 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6040 # Make teststring a little bigger before we do anything with it.
6041 # a 1K string should be a reasonable start.
6042 for i in 1 2 3 4 5 6 7 8; do
6043 teststring=$teststring$teststring
6045 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6046 # If test is not a shell built-in, we'll probably end up computing a
6047 # maximum length that is only half of the actual maximum length, but
6049 while { test X`env echo "$teststring$teststring" 2>/dev/null` \
6050 = "X
$teststring$teststring"; } >/dev/null 2>&1 &&
6051 test 17 != "$i" # 1/2 MB should be enough
6054 teststring=$teststring$teststring
6056 # Only check the string length outside the loop.
6057 lt_cv_sys_max_cmd_len=`expr "X
$teststring" : ".
*" 2>&1`
6059 # Add a significant safety factor because C++ compilers can tack on
6060 # massive amounts of additional arguments before passing them to the
6061 # linker. It appears as though 1/2 is a usable value.
6062 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6069 if test -n "$lt_cv_sys_max_cmd_len"; then
6070 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_sys_max_cmd_len" >&5
6071 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6073 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: none
" >&5
6074 $as_echo "none
" >&6; }
6076 max_cmd_len=$lt_cv_sys_max_cmd_len
6087 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6097 # test EBCDIC or ASCII
6098 case `echo X|tr X '\101'` in
6099 A) # ASCII based system
6100 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6101 lt_SP2NL='tr \040 \012'
6102 lt_NL2SP='tr \015\012 \040\040'
6104 *) # EBCDIC based system
6105 lt_SP2NL='tr \100 \n'
6106 lt_NL2SP='tr \r\n \100\100'
6118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert
$build file names to
$host format
" >&5
6119 $as_echo_n "checking how to convert
$build file names to
$host format...
" >&6; }
6120 if ${lt_cv_to_host_file_cmd+:} false; then :
6121 $as_echo_n "(cached
) " >&6
6126 *-*-mingw* ) # actually msys
6127 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
6130 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
6132 * ) # otherwise, assume *nix
6133 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
6139 *-*-mingw* ) # actually msys
6140 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
6143 lt_cv_to_host_file_cmd=func_convert_file_noop
6145 * ) # otherwise, assume *nix
6146 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
6150 * ) # unhandled hosts (and "normal
" native builds)
6151 lt_cv_to_host_file_cmd=func_convert_file_noop
6157 to_host_file_cmd=$lt_cv_to_host_file_cmd
6158 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_to_host_file_cmd" >&5
6159 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
6165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert
$build file names to toolchain format
" >&5
6166 $as_echo_n "checking how to convert
$build file names to toolchain format...
" >&6; }
6167 if ${lt_cv_to_tool_file_cmd+:} false; then :
6168 $as_echo_n "(cached
) " >&6
6170 #assume ordinary cross tools, or native build.
6171 lt_cv_to_tool_file_cmd=func_convert_file_noop
6175 *-*-mingw* ) # actually msys
6176 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
6184 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
6185 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_to_tool_file_cmd" >&5
6186 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
6192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $LD option to reload object files
" >&5
6193 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
6194 if ${lt_cv_ld_reload_flag+:} false; then :
6195 $as_echo_n "(cached
) " >&6
6197 lt_cv_ld_reload_flag='-r'
6199 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_reload_flag" >&5
6200 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6201 reload_flag=$lt_cv_ld_reload_flag
6202 case $reload_flag in
6204 *) reload_flag=" $reload_flag" ;;
6206 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6208 cygwin* | mingw* | pw32* | cegcc*)
6209 if test yes != "$GCC"; then
6214 if test yes = "$GCC"; then
6215 reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
6217 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6230 if test -n "$ac_tool_prefix"; then
6231 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
6232 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6234 $as_echo_n "checking
for $ac_word...
" >&6; }
6235 if ${ac_cv_prog_OBJDUMP+:} false; then :
6236 $as_echo_n "(cached
) " >&6
6238 if test -n "$OBJDUMP"; then
6239 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6241 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6245 test -z "$as_dir" && as_dir=.
6246 for ac_exec_ext in '' $ac_executable_extensions; do
6247 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6248 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
6249 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6258 OBJDUMP=$ac_cv_prog_OBJDUMP
6259 if test -n "$OBJDUMP"; then
6260 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
6261 $as_echo "$OBJDUMP" >&6; }
6263 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6264 $as_echo "no
" >&6; }
6269 if test -z "$ac_cv_prog_OBJDUMP"; then
6270 ac_ct_OBJDUMP=$OBJDUMP
6271 # Extract the first word of "objdump
", so it can be a program name with args.
6272 set dummy objdump; ac_word=$2
6273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6274 $as_echo_n "checking
for $ac_word...
" >&6; }
6275 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
6276 $as_echo_n "(cached
) " >&6
6278 if test -n "$ac_ct_OBJDUMP"; then
6279 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6281 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6285 test -z "$as_dir" && as_dir=.
6286 for ac_exec_ext in '' $ac_executable_extensions; do
6287 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6288 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
6289 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6298 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6299 if test -n "$ac_ct_OBJDUMP"; then
6300 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OBJDUMP" >&5
6301 $as_echo "$ac_ct_OBJDUMP" >&6; }
6303 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6304 $as_echo "no
" >&6; }
6307 if test "x
$ac_ct_OBJDUMP" = x; then
6310 case $cross_compiling:$ac_tool_warned in
6312 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6313 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6314 ac_tool_warned=yes ;;
6316 OBJDUMP=$ac_ct_OBJDUMP
6319 OBJDUMP="$ac_cv_prog_OBJDUMP"
6322 test -z "$OBJDUMP" && OBJDUMP=objdump
6332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries
" >&5
6333 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
6334 if ${lt_cv_deplibs_check_method+:} false; then :
6335 $as_echo_n "(cached
) " >&6
6337 lt_cv_file_magic_cmd='$MAGIC_CMD'
6338 lt_cv_file_magic_test_file=
6339 lt_cv_deplibs_check_method='unknown'
6340 # Need to set the preceding variable on all platforms that support
6341 # interlibrary dependencies.
6342 # 'none' -- dependencies not supported.
6343 # 'unknown' -- same as none, but documents that we really don't know.
6344 # 'pass_all' -- all dependencies passed with no checks.
6345 # 'test_compile' -- check by making test program.
6346 # 'file_magic [[regex]]' -- check by looking for files in library path
6347 # that responds to the $file_magic_cmd with a given extended regex.
6348 # If you have 'file' or equivalent on your system and you're not sure
6349 # whether 'pass_all' will *always* work, you probably want this one.
6353 lt_cv_deplibs_check_method=pass_all
6357 lt_cv_deplibs_check_method=pass_all
6361 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6362 lt_cv_file_magic_cmd='/usr/bin/file -L'
6363 lt_cv_file_magic_test_file=/shlib/libc.so
6367 # func_win32_libid is a shell function defined in ltmain.sh
6368 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6369 lt_cv_file_magic_cmd='func_win32_libid'
6373 # Base MSYS/MinGW do not provide the 'file' command needed by
6374 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6375 # unless we find 'file', for example because we are cross-compiling.
6376 if ( file / ) >/dev/null 2>&1; then
6377 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6378 lt_cv_file_magic_cmd='func_win32_libid'
6380 # Keep this pattern in sync with the one in func_win32_libid.
6381 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
6382 lt_cv_file_magic_cmd='$OBJDUMP -f'
6387 # use the weaker test based on 'objdump'. See mingw*.
6388 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6389 lt_cv_file_magic_cmd='$OBJDUMP -f'
6392 darwin* | rhapsody*)
6393 lt_cv_deplibs_check_method=pass_all
6396 freebsd* | dragonfly*)
6397 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6400 # Not sure whether the presence of OpenBSD here was a mistake.
6401 # Let's accept both of them until this is cleared up.
6402 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6403 lt_cv_file_magic_cmd=/usr/bin/file
6404 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6408 lt_cv_deplibs_check_method=pass_all
6413 lt_cv_deplibs_check_method=pass_all
6416 hpux10.20* | hpux11*)
6417 lt_cv_file_magic_cmd=/usr/bin/file
6420 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6421 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6424 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]'
6425 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6428 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6429 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6435 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6436 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6439 irix5* | irix6* | nonstopux*)
6441 *-32|*"-32 ") libmagic=32-bit;;
6442 *-n32|*"-n32 ") libmagic=N32;;
6443 *-64|*"-64 ") libmagic=64-bit;;
6444 *) libmagic=never-match;;
6446 lt_cv_deplibs_check_method=pass_all
6449 # This must be glibc/ELF.
6450 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
6451 lt_cv_deplibs_check_method=pass_all
6455 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6456 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6458 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6463 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6464 lt_cv_file_magic_cmd=/usr/bin/file
6465 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6469 lt_cv_deplibs_check_method=pass_all
6473 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
6474 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6476 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6480 osf3* | osf4* | osf5*)
6481 lt_cv_deplibs_check_method=pass_all
6485 lt_cv_deplibs_check_method=pass_all
6489 lt_cv_deplibs_check_method=pass_all
6492 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6493 lt_cv_deplibs_check_method=pass_all
6497 case $host_vendor in
6499 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]'
6500 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6503 lt_cv_deplibs_check_method=pass_all
6506 lt_cv_file_magic_cmd='/bin/file'
6507 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6510 lt_cv_file_magic_cmd='/bin/file'
6511 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
6512 lt_cv_file_magic_test_file=/lib/libc.so
6515 lt_cv_deplibs_check_method=pass_all
6518 lt_cv_deplibs_check_method=pass_all
6524 lt_cv_deplibs_check_method=pass_all
6527 lt_cv_deplibs_check_method=pass_all
6532 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_deplibs_check_method" >&5
6533 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6537 if test "$build" = "$host"; then
6540 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
6543 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s
/\
(..\
)/s\
/[\
1]\
/[\
1]\
/g
;/g
"`
6549 file_magic_cmd=$lt_cv_file_magic_cmd
6550 deplibs_check_method=$lt_cv_deplibs_check_method
6551 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6574 if test -n "$ac_tool_prefix"; then
6575 # Extract the first word of "${ac_tool_prefix}dlltool
", so it can be a program name with args.
6576 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
6577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6578 $as_echo_n "checking
for $ac_word...
" >&6; }
6579 if ${ac_cv_prog_DLLTOOL+:} false; then :
6580 $as_echo_n "(cached
) " >&6
6582 if test -n "$DLLTOOL"; then
6583 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6585 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6589 test -z "$as_dir" && as_dir=.
6590 for ac_exec_ext in '' $ac_executable_extensions; do
6591 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6592 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool
"
6593 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6602 DLLTOOL=$ac_cv_prog_DLLTOOL
6603 if test -n "$DLLTOOL"; then
6604 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
6605 $as_echo "$DLLTOOL" >&6; }
6607 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6608 $as_echo "no
" >&6; }
6613 if test -z "$ac_cv_prog_DLLTOOL"; then
6614 ac_ct_DLLTOOL=$DLLTOOL
6615 # Extract the first word of "dlltool
", so it can be a program name with args.
6616 set dummy dlltool; ac_word=$2
6617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6618 $as_echo_n "checking
for $ac_word...
" >&6; }
6619 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
6620 $as_echo_n "(cached
) " >&6
6622 if test -n "$ac_ct_DLLTOOL"; then
6623 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
6625 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6629 test -z "$as_dir" && as_dir=.
6630 for ac_exec_ext in '' $ac_executable_extensions; do
6631 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6632 ac_cv_prog_ac_ct_DLLTOOL="dlltool
"
6633 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6642 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
6643 if test -n "$ac_ct_DLLTOOL"; then
6644 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DLLTOOL" >&5
6645 $as_echo "$ac_ct_DLLTOOL" >&6; }
6647 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6648 $as_echo "no
" >&6; }
6651 if test "x
$ac_ct_DLLTOOL" = x; then
6654 case $cross_compiling:$ac_tool_warned in
6656 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6657 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6658 ac_tool_warned=yes ;;
6660 DLLTOOL=$ac_ct_DLLTOOL
6663 DLLTOOL="$ac_cv_prog_DLLTOOL"
6666 test -z "$DLLTOOL" && DLLTOOL=dlltool
6677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries
" >&5
6678 $as_echo_n "checking how to associate runtime and link libraries...
" >&6; }
6679 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
6680 $as_echo_n "(cached
) " >&6
6682 lt_cv_sharedlib_from_linklib_cmd='unknown'
6685 cygwin* | mingw* | pw32* | cegcc*)
6686 # two different shell functions defined in ltmain.sh;
6687 # decide which one to use based on capabilities of $DLLTOOL
6688 case `$DLLTOOL --help 2>&1` in
6689 *--identify-strict*)
6690 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
6693 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
6698 # fallback: assume linklib IS sharedlib
6699 lt_cv_sharedlib_from_linklib_cmd=$ECHO
6704 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_sharedlib_from_linklib_cmd" >&5
6705 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6706 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
6707 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
6715 if test -n "$ac_tool_prefix"; then
6718 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6719 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6721 $as_echo_n "checking
for $ac_word...
" >&6; }
6722 if ${ac_cv_prog_AR+:} false; then :
6723 $as_echo_n "(cached
) " >&6
6725 if test -n "$AR"; then
6726 ac_cv_prog_AR="$AR" # Let the user override the test.
6728 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6732 test -z "$as_dir" && as_dir=.
6733 for ac_exec_ext in '' $ac_executable_extensions; do
6734 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6735 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6736 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6746 if test -n "$AR"; then
6747 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
6748 $as_echo "$AR" >&6; }
6750 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6751 $as_echo "no
" >&6; }
6755 test -n "$AR" && break
6758 if test -z "$AR"; then
6762 # Extract the first word of "$ac_prog", so it can be a program name with args.
6763 set dummy $ac_prog; ac_word=$2
6764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6765 $as_echo_n "checking
for $ac_word...
" >&6; }
6766 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6767 $as_echo_n "(cached
) " >&6
6769 if test -n "$ac_ct_AR"; then
6770 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6772 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6776 test -z "$as_dir" && as_dir=.
6777 for ac_exec_ext in '' $ac_executable_extensions; do
6778 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6779 ac_cv_prog_ac_ct_AR="$ac_prog"
6780 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6789 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6790 if test -n "$ac_ct_AR"; then
6791 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_AR" >&5
6792 $as_echo "$ac_ct_AR" >&6; }
6794 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6795 $as_echo "no
" >&6; }
6799 test -n "$ac_ct_AR" && break
6802 if test "x
$ac_ct_AR" = x; then
6805 case $cross_compiling:$ac_tool_warned in
6807 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6808 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6809 ac_tool_warned=yes ;;
6828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for archiver @FILE support
" >&5
6829 $as_echo_n "checking
for archiver @FILE support...
" >&6; }
6830 if ${lt_cv_ar_at_file+:} false; then :
6831 $as_echo_n "(cached
) " >&6
6834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6835 /* end confdefs.h. */
6845 if ac_fn_c_try_compile "$LINENO"; then :
6846 echo conftest.$ac_objext > conftest.lst
6847 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6848 { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6849 (eval $lt_ar_try) 2>&5
6851 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6852 test $ac_status = 0; }
6853 if test 0 -eq "$ac_status"; then
6854 # Ensure the archiver fails upon bogus file names.
6855 rm -f conftest.$ac_objext libconftest.a
6856 { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6857 (eval $lt_ar_try) 2>&5
6859 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6860 test $ac_status = 0; }
6861 if test 0 -ne "$ac_status"; then
6865 rm -f conftest.* libconftest.a
6868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6871 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ar_at_file" >&5
6872 $as_echo "$lt_cv_ar_at_file" >&6; }
6874 if test no = "$lt_cv_ar_at_file"; then
6877 archiver_list_spec=$lt_cv_ar_at_file
6886 if test -n "$ac_tool_prefix"; then
6887 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
6888 set dummy ${ac_tool_prefix}strip; ac_word=$2
6889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6890 $as_echo_n "checking
for $ac_word...
" >&6; }
6891 if ${ac_cv_prog_STRIP+:} false; then :
6892 $as_echo_n "(cached
) " >&6
6894 if test -n "$STRIP"; then
6895 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6897 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6901 test -z "$as_dir" && as_dir=.
6902 for ac_exec_ext in '' $ac_executable_extensions; do
6903 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6904 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
6905 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6914 STRIP=$ac_cv_prog_STRIP
6915 if test -n "$STRIP"; then
6916 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
6917 $as_echo "$STRIP" >&6; }
6919 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6920 $as_echo "no
" >&6; }
6925 if test -z "$ac_cv_prog_STRIP"; then
6927 # Extract the first word of "strip
", so it can be a program name with args.
6928 set dummy strip; ac_word=$2
6929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6930 $as_echo_n "checking
for $ac_word...
" >&6; }
6931 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6932 $as_echo_n "(cached
) " >&6
6934 if test -n "$ac_ct_STRIP"; then
6935 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6937 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6941 test -z "$as_dir" && as_dir=.
6942 for ac_exec_ext in '' $ac_executable_extensions; do
6943 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6944 ac_cv_prog_ac_ct_STRIP="strip
"
6945 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6954 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6955 if test -n "$ac_ct_STRIP"; then
6956 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_STRIP" >&5
6957 $as_echo "$ac_ct_STRIP" >&6; }
6959 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6960 $as_echo "no
" >&6; }
6963 if test "x
$ac_ct_STRIP" = x; then
6966 case $cross_compiling:$ac_tool_warned in
6968 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6969 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6970 ac_tool_warned=yes ;;
6975 STRIP="$ac_cv_prog_STRIP"
6978 test -z "$STRIP" && STRIP=:
6985 if test -n "$ac_tool_prefix"; then
6986 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
6987 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6989 $as_echo_n "checking
for $ac_word...
" >&6; }
6990 if ${ac_cv_prog_RANLIB+:} false; then :
6991 $as_echo_n "(cached
) " >&6
6993 if test -n "$RANLIB"; then
6994 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6996 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7000 test -z "$as_dir" && as_dir=.
7001 for ac_exec_ext in '' $ac_executable_extensions; do
7002 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7003 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
7004 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7013 RANLIB=$ac_cv_prog_RANLIB
7014 if test -n "$RANLIB"; then
7015 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
7016 $as_echo "$RANLIB" >&6; }
7018 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7019 $as_echo "no
" >&6; }
7024 if test -z "$ac_cv_prog_RANLIB"; then
7025 ac_ct_RANLIB=$RANLIB
7026 # Extract the first word of "ranlib
", so it can be a program name with args.
7027 set dummy ranlib; ac_word=$2
7028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7029 $as_echo_n "checking
for $ac_word...
" >&6; }
7030 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
7031 $as_echo_n "(cached
) " >&6
7033 if test -n "$ac_ct_RANLIB"; then
7034 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7036 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7040 test -z "$as_dir" && as_dir=.
7041 for ac_exec_ext in '' $ac_executable_extensions; do
7042 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7043 ac_cv_prog_ac_ct_RANLIB="ranlib
"
7044 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7053 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7054 if test -n "$ac_ct_RANLIB"; then
7055 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_RANLIB" >&5
7056 $as_echo "$ac_ct_RANLIB" >&6; }
7058 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7059 $as_echo "no
" >&6; }
7062 if test "x
$ac_ct_RANLIB" = x; then
7065 case $cross_compiling:$ac_tool_warned in
7067 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7068 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7069 ac_tool_warned=yes ;;
7071 RANLIB=$ac_ct_RANLIB
7074 RANLIB="$ac_cv_prog_RANLIB"
7077 test -z "$RANLIB" && RANLIB=:
7084 # Determine commands to create old-style static archives.
7085 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7086 old_postinstall_cmds='chmod 644 $oldlib'
7087 old_postuninstall_cmds=
7089 if test -n "$RANLIB"; then
7092 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$tool_oldlib"
7095 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$tool_oldlib"
7098 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$tool_oldlib"
7103 lock_old_archive_extraction=yes ;;
7105 lock_old_archive_extraction=no ;;
7146 # If no C compiler was specified, use CC.
7149 # If no C compiler flags were specified, use CFLAGS.
7150 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7152 # Allow CC to be a program name with arguments.
7156 # Check for command to grab the raw symbol name followed by C symbol from nm.
7157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
command to parse
$NM output from
$compiler object
" >&5
7158 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
7159 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
7160 $as_echo_n "(cached
) " >&6
7163 # These are sane defaults that work on at least a few old systems.
7164 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
7166 # Character class describing NM global symbol codes.
7167 symcode='[BCDEGRST]'
7169 # Regexp to match symbols that can be accessed directly from C.
7170 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7172 # Define system-specific variables.
7177 cygwin* | mingw* | pw32* | cegcc*)
7178 symcode='[ABCDGISTW]'
7181 if test ia64 = "$host_cpu"; then
7182 symcode='[ABCDEGRST]'
7186 symcode='[BCDEGRST]'
7189 symcode='[BCDEGQRST]'
7200 sysv5* | sco5v6* | unixware* | OpenUNIX*)
7208 # If we're using GNU nm, then use its standard symbol codes.
7209 case `$NM -V 2>&1` in
7210 *GNU* | *'with BFD'*)
7211 symcode='[ABCDGIRSTW]' ;;
7214 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
7215 # Gets list of data symbols to import.
7216 lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
7217 # Adjust the below global symbol transforms to fixup imported variables.
7218 lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
7219 lt_c_name_hook=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'"
7220 lt_c_name_lib_hook="\
7221 -e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\
7222 -e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'"
7224 # Disable hooks by default.
7225 lt_cv_sys_global_symbol_to_import=
7231 # Transform an extracted symbol line into a proper C declaration.
7232 # Some systems (esp. on ia64) link data and code symbols differently,
7233 # so use this general approach.
7234 lt_cv_sys_global_symbol_to_cdecl="sed -n"\
7236 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
7237 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
7239 # Transform an extracted symbol line into symbol name and symbol address
7240 lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
7242 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
7243 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'"
7245 # Transform an extracted symbol line into symbol name with lib prefix and
7247 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
7248 $lt_c_name_lib_hook\
7249 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
7250 " -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\
7251 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'"
7253 # Handle CRLF in mingw tool chain
7257 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7261 # Try without a prefix underscore, then with it.
7262 for ac_symprfx in "" "_
"; do
7264 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7265 symxfrm="\\1 $ac_symprfx\\2 \\2"
7267 # Write the raw and C identifiers.
7268 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
7269 # Fake it for dumpbin and say T for any non-static function,
7270 # D for any global variable and I for any imported variable.
7271 # Also find C++ and __fastcall symbols from MSVC++,
7272 # which start with @ or ?.
7273 lt_cv_sys_global_symbol_pipe="$AWK '"\
7274 " {last_section=section; section=\$ 3};"\
7275 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
7276 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7277 " /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
7278 " /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
7279 " /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
7280 " \$ 0!~/External *\|/{next};"\
7281 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7282 " {if(hide[section]) next};"\
7283 " {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
7284 " {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
7285 " s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
7286 " s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
7287 " ' prfx
=^
$ac_symprfx"
7289 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7291 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
7293 # Check to see that the pipe works correctly.
7297 cat > conftest.$ac_ext <<_LT_EOF
7302 void nm_test_func(void);
7303 void nm_test_func(void){}
7307 int main(){nm_test_var='a';nm_test_func();return(0);}
7310 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7311 (eval $ac_compile) 2>&5
7313 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7314 test $ac_status = 0; }; then
7315 # Now try to grab the symbols.
7317 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$NM conftest.
$ac_objext \
| "$lt_cv_sys_global_symbol_pipe" \
> $nlist\""; } >&5
7318 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7320 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7321 test $ac_status = 0; } && test -s "$nlist"; then
7322 # Try sorting and uniquifying the output.
7323 if sort "$nlist" | uniq > "$nlist"T; then
7324 mv -f "$nlist"T "$nlist"
7329 # Make sure that we snagged all the symbols we need.
7330 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7331 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7332 cat <<_LT_EOF > conftest.$ac_ext
7333 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
7334 #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
7335 /* DATA imports from DLLs on WIN32 can't be const, because runtime
7336 relocations are performed -- see ld's documentation on pseudo-relocs. */
7337 # define LT_DLSYM_CONST
7338 #elif defined __osf__
7339 /* This system does not cope well with relocations in const data. */
7340 # define LT_DLSYM_CONST
7342 # define LT_DLSYM_CONST const
7350 # Now generate the symbol file.
7351 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7353 cat <<_LT_EOF >> conftest.$ac_ext
7355 /* The mapping between symbol names and symbols. */
7356 LT_DLSYM_CONST struct {
7360 lt__PROGRAM__LTX_preloaded_symbols[] =
7362 { "@PROGRAM@
", (void *) 0 },
7364 $SED "s
/^
$symcode$symcode* .
* \
(.
*\
)$
/ {\"\
1\", (void
*) \
&\
1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7365 cat <<\_LT_EOF >> conftest.$ac_ext
7369 /* This works around a problem in FreeBSD linker */
7370 #ifdef FREEBSD_WORKAROUND
7371 static const void *lt_preloaded_setup() {
7372 return lt__PROGRAM__LTX_preloaded_symbols;
7380 # Now try linking the two files.
7381 mv conftest.$ac_objext conftstm.$ac_objext
7382 lt_globsym_save_LIBS=$LIBS
7383 lt_globsym_save_CFLAGS=$CFLAGS
7384 LIBS=conftstm.$ac_objext
7385 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7386 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7387 (eval $ac_link) 2>&5
7389 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7390 test $ac_status = 0; } && test -s conftest$ac_exeext; then
7393 LIBS=$lt_globsym_save_LIBS
7394 CFLAGS=$lt_globsym_save_CFLAGS
7396 echo "cannot
find nm_test_func
in $nlist" >&5
7399 echo "cannot
find nm_test_var
in $nlist" >&5
7402 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
7405 echo "$progname: failed program was
:" >&5
7406 cat conftest.$ac_ext >&5
7408 rm -rf conftest* conftst*
7410 # Do not use the global_symbol_pipe unless it works.
7411 if test yes = "$pipe_works"; then
7414 lt_cv_sys_global_symbol_pipe=
7420 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7421 lt_cv_sys_global_symbol_to_cdecl=
7423 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7424 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: failed
" >&5
7425 $as_echo "failed
" >&6; }
7427 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ok
" >&5
7428 $as_echo "ok
" >&6; }
7431 # Response file support.
7432 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
7433 nm_file_list_spec='@'
7434 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
7435 nm_file_list_spec='@'
7474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for sysroot
" >&5
7475 $as_echo_n "checking
for sysroot...
" >&6; }
7477 # Check whether --with-sysroot was given.
7478 if test "${with_sysroot+set}" = set; then :
7479 withval=$with_sysroot;
7486 case $with_sysroot in #(
7488 if test yes = "$GCC"; then
7489 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
7493 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
7498 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $with_sysroot" >&5
7499 $as_echo "$with_sysroot" >&6; }
7500 as_fn_error $? "The sysroot must be an absolute path.
" "$LINENO" 5
7504 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ${lt_sysroot:-no}" >&5
7505 $as_echo "${lt_sysroot:-no}" >&6; }
7511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for a working
dd" >&5
7512 $as_echo_n "checking
for a working
dd...
" >&6; }
7513 if ${ac_cv_path_lt_DD+:} false; then :
7514 $as_echo_n "(cached
) " >&6
7516 printf 0123456789abcdef0123456789abcdef >conftest.i
7517 cat conftest.i conftest.i >conftest2.i
7519 if test -z "$lt_DD"; then
7520 ac_path_lt_DD_found=false
7521 # Loop through the user's path and test for each of PROGNAME-LIST
7522 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7526 test -z "$as_dir" && as_dir=.
7527 for ac_prog in dd; do
7528 for ac_exec_ext in '' $ac_executable_extensions; do
7529 ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext"
7530 as_fn_executable_p "$ac_path_lt_DD" || continue
7531 if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
7532 cmp -s conftest.i conftest.out \
7533 && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
7535 $ac_path_lt_DD_found && break 3
7540 if test -z "$ac_cv_path_lt_DD"; then
7544 ac_cv_path_lt_DD=$lt_DD
7547 rm -f conftest.i conftest2.i conftest.out
7549 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_lt_DD" >&5
7550 $as_echo "$ac_cv_path_lt_DD" >&6; }
7553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes
" >&5
7554 $as_echo_n "checking how to truncate binary pipes...
" >&6; }
7555 if ${lt_cv_truncate_bin+:} false; then :
7556 $as_echo_n "(cached
) " >&6
7558 printf 0123456789abcdef0123456789abcdef >conftest.i
7559 cat conftest.i conftest.i >conftest2.i
7561 if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
7562 cmp -s conftest.i conftest.out \
7563 && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs
=4096 count
=1"
7565 rm -f conftest.i conftest2.i conftest.out
7566 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q
"
7568 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_truncate_bin" >&5
7569 $as_echo "$lt_cv_truncate_bin" >&6; }
7577 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
7580 for cc_temp in $*""; do
7582 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7583 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7588 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s
%.
*/%%; s
%^
$host_alias-%%"`
7591 # Check whether --enable-libtool-lock was given.
7592 if test "${enable_libtool_lock+set}" = set; then :
7593 enableval=$enable_libtool_lock;
7596 test no = "$enable_libtool_lock" || enable_libtool_lock=yes
7598 # Some flags need to be propagated to the compiler or linker for good
7602 # Find out what ABI is being produced by ac_compile, and set mode
7603 # options accordingly.
7604 echo 'int i;' > conftest.$ac_ext
7605 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7606 (eval $ac_compile) 2>&5
7608 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7609 test $ac_status = 0; }; then
7610 case `/usr/bin/file conftest.$ac_objext` in
7622 # Find out what ABI is being produced by ac_compile, and set linker
7623 # options accordingly.
7624 echo '#line '$LINENO' "configure
"' > conftest.$ac_ext
7625 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7626 (eval $ac_compile) 2>&5
7628 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7629 test $ac_status = 0; }; then
7630 if test yes = "$lt_cv_prog_gnu_ld"; then
7631 case `/usr/bin/file conftest.$ac_objext` in
7633 LD="${LD-ld} -melf32bsmip"
7636 LD="${LD-ld} -melf32bmipn32"
7639 LD="${LD-ld} -melf64bmip"
7643 case `/usr/bin/file conftest.$ac_objext` in
7660 # Find out what ABI is being produced by ac_compile, and set linker
7661 # options accordingly.
7662 echo '#line '$LINENO' "configure
"' > conftest.$ac_ext
7663 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7664 (eval $ac_compile) 2>&5
7666 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7667 test $ac_status = 0; }; then
7669 case `/usr/bin/file conftest.$ac_objext` in
7677 case `/usr/bin/file conftest.$ac_objext` in
7679 emul="${emul}btsmip
"
7682 emul="${emul}ltsmip
"
7685 case `/usr/bin/file conftest.$ac_objext` in
7690 LD="${LD-ld} -m $emul"
7695 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
7696 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7697 # Find out what ABI is being produced by ac_compile, and set linker
7698 # options accordingly. Note that the listed cases only cover the
7699 # situations where additional linker options are needed (such as when
7700 # doing 32-bit compilation for a host where ld defaults to 64-bit, or
7701 # vice versa); the common cases where no linker options are needed do
7702 # not appear in the list.
7703 echo 'int i;' > conftest.$ac_ext
7704 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7705 (eval $ac_compile) 2>&5
7707 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7708 test $ac_status = 0; }; then
7709 case `/usr/bin/file conftest.o` in
7712 x86_64-*kfreebsd*-gnu)
7713 LD="${LD-ld} -m elf_i386_fbsd
"
7716 case `/usr/bin/file conftest.o` in
7718 LD="${LD-ld} -m elf32_x86_64
"
7721 LD="${LD-ld} -m elf_i386
"
7725 powerpc64le-*linux*)
7726 LD="${LD-ld} -m elf32lppclinux
"
7729 LD="${LD-ld} -m elf32ppclinux
"
7732 LD="${LD-ld} -m elf_s390
"
7735 LD="${LD-ld} -m elf32_sparc
"
7741 x86_64-*kfreebsd*-gnu)
7742 LD="${LD-ld} -m elf_x86_64_fbsd
"
7745 LD="${LD-ld} -m elf_x86_64
"
7748 LD="${LD-ld} -m elf64lppc
"
7751 LD="${LD-ld} -m elf64ppc
"
7753 s390*-*linux*|s390*-*tpf*)
7754 LD="${LD-ld} -m elf64_s390
"
7757 LD="${LD-ld} -m elf64_sparc
"
7767 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7769 CFLAGS="$CFLAGS -belf"
7770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs
-belf" >&5
7771 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
7772 if ${lt_cv_cc_needs_belf+:} false; then :
7773 $as_echo_n "(cached
) " >&6
7776 ac_cpp='$CPP $CPPFLAGS'
7777 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7778 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7779 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7782 /* end confdefs.h. */
7792 if ac_fn_c_try_link "$LINENO"; then :
7793 lt_cv_cc_needs_belf=yes
7795 lt_cv_cc_needs_belf=no
7797 rm -f core conftest.err conftest.$ac_objext \
7798 conftest$ac_exeext conftest.$ac_ext
7800 ac_cpp='$CPP $CPPFLAGS'
7801 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7802 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7803 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7806 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_cc_needs_belf" >&5
7807 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7808 if test yes != "$lt_cv_cc_needs_belf"; then
7809 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7814 # Find out what ABI is being produced by ac_compile, and set linker
7815 # options accordingly.
7816 echo 'int i;' > conftest.$ac_ext
7817 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7818 (eval $ac_compile) 2>&5
7820 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7821 test $ac_status = 0; }; then
7822 case `/usr/bin/file conftest.o` in
7824 case $lt_cv_prog_gnu_ld in
7827 i?86-*-solaris*|x86_64-*-solaris*)
7828 LD="${LD-ld} -m elf_x86_64
"
7831 LD="${LD-ld} -m elf64_sparc
"
7834 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
7835 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
7840 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7852 need_locks=$enable_libtool_lock
7854 if test -n "$ac_tool_prefix"; then
7855 # Extract the first word of "${ac_tool_prefix}mt
", so it can be a program name with args.
7856 set dummy ${ac_tool_prefix}mt; ac_word=$2
7857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7858 $as_echo_n "checking
for $ac_word...
" >&6; }
7859 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
7860 $as_echo_n "(cached
) " >&6
7862 if test -n "$MANIFEST_TOOL"; then
7863 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
7865 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7869 test -z "$as_dir" && as_dir=.
7870 for ac_exec_ext in '' $ac_executable_extensions; do
7871 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7872 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt
"
7873 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7882 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
7883 if test -n "$MANIFEST_TOOL"; then
7884 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MANIFEST_TOOL" >&5
7885 $as_echo "$MANIFEST_TOOL" >&6; }
7887 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7888 $as_echo "no
" >&6; }
7893 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
7894 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
7895 # Extract the first word of "mt
", so it can be a program name with args.
7896 set dummy mt; ac_word=$2
7897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7898 $as_echo_n "checking
for $ac_word...
" >&6; }
7899 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
7900 $as_echo_n "(cached
) " >&6
7902 if test -n "$ac_ct_MANIFEST_TOOL"; then
7903 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
7905 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7909 test -z "$as_dir" && as_dir=.
7910 for ac_exec_ext in '' $ac_executable_extensions; do
7911 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7912 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt
"
7913 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7922 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7923 if test -n "$ac_ct_MANIFEST_TOOL"; then
7924 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_MANIFEST_TOOL" >&5
7925 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7927 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7928 $as_echo "no
" >&6; }
7931 if test "x
$ac_ct_MANIFEST_TOOL" = x; then
7934 case $cross_compiling:$ac_tool_warned in
7936 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7937 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7938 ac_tool_warned=yes ;;
7940 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7943 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7946 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $MANIFEST_TOOL is a manifest tool
" >&5
7948 $as_echo_n "checking
if $MANIFEST_TOOL is a manifest tool...
" >&6; }
7949 if ${lt_cv_path_mainfest_tool+:} false; then :
7950 $as_echo_n "(cached
) " >&6
7952 lt_cv_path_mainfest_tool=no
7953 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7954 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7955 cat conftest.err >&5
7956 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7957 lt_cv_path_mainfest_tool=yes
7961 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_path_mainfest_tool" >&5
7962 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
7963 if test yes != "$lt_cv_path_mainfest_tool"; then
7973 rhapsody* | darwin*)
7974 if test -n "$ac_tool_prefix"; then
7975 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
7976 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7978 $as_echo_n "checking
for $ac_word...
" >&6; }
7979 if ${ac_cv_prog_DSYMUTIL+:} false; then :
7980 $as_echo_n "(cached
) " >&6
7982 if test -n "$DSYMUTIL"; then
7983 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7985 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7989 test -z "$as_dir" && as_dir=.
7990 for ac_exec_ext in '' $ac_executable_extensions; do
7991 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7992 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
7993 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8002 DSYMUTIL=$ac_cv_prog_DSYMUTIL
8003 if test -n "$DSYMUTIL"; then
8004 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
8005 $as_echo "$DSYMUTIL" >&6; }
8007 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8008 $as_echo "no
" >&6; }
8013 if test -z "$ac_cv_prog_DSYMUTIL"; then
8014 ac_ct_DSYMUTIL=$DSYMUTIL
8015 # Extract the first word of "dsymutil
", so it can be a program name with args.
8016 set dummy dsymutil; ac_word=$2
8017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8018 $as_echo_n "checking
for $ac_word...
" >&6; }
8019 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
8020 $as_echo_n "(cached
) " >&6
8022 if test -n "$ac_ct_DSYMUTIL"; then
8023 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
8025 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8029 test -z "$as_dir" && as_dir=.
8030 for ac_exec_ext in '' $ac_executable_extensions; do
8031 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8032 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
8033 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8042 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
8043 if test -n "$ac_ct_DSYMUTIL"; then
8044 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DSYMUTIL" >&5
8045 $as_echo "$ac_ct_DSYMUTIL" >&6; }
8047 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8048 $as_echo "no
" >&6; }
8051 if test "x
$ac_ct_DSYMUTIL" = x; then
8054 case $cross_compiling:$ac_tool_warned in
8056 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8057 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8058 ac_tool_warned=yes ;;
8060 DSYMUTIL=$ac_ct_DSYMUTIL
8063 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
8066 if test -n "$ac_tool_prefix"; then
8067 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
8068 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
8069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8070 $as_echo_n "checking
for $ac_word...
" >&6; }
8071 if ${ac_cv_prog_NMEDIT+:} false; then :
8072 $as_echo_n "(cached
) " >&6
8074 if test -n "$NMEDIT"; then
8075 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
8077 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8081 test -z "$as_dir" && as_dir=.
8082 for ac_exec_ext in '' $ac_executable_extensions; do
8083 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8084 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
8085 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8094 NMEDIT=$ac_cv_prog_NMEDIT
8095 if test -n "$NMEDIT"; then
8096 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NMEDIT" >&5
8097 $as_echo "$NMEDIT" >&6; }
8099 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8100 $as_echo "no
" >&6; }
8105 if test -z "$ac_cv_prog_NMEDIT"; then
8106 ac_ct_NMEDIT=$NMEDIT
8107 # Extract the first word of "nmedit
", so it can be a program name with args.
8108 set dummy nmedit; ac_word=$2
8109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8110 $as_echo_n "checking
for $ac_word...
" >&6; }
8111 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
8112 $as_echo_n "(cached
) " >&6
8114 if test -n "$ac_ct_NMEDIT"; then
8115 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
8117 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8121 test -z "$as_dir" && as_dir=.
8122 for ac_exec_ext in '' $ac_executable_extensions; do
8123 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8124 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
8125 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8134 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
8135 if test -n "$ac_ct_NMEDIT"; then
8136 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_NMEDIT" >&5
8137 $as_echo "$ac_ct_NMEDIT" >&6; }
8139 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8140 $as_echo "no
" >&6; }
8143 if test "x
$ac_ct_NMEDIT" = x; then
8146 case $cross_compiling:$ac_tool_warned in
8148 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8149 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8150 ac_tool_warned=yes ;;
8152 NMEDIT=$ac_ct_NMEDIT
8155 NMEDIT="$ac_cv_prog_NMEDIT"
8158 if test -n "$ac_tool_prefix"; then
8159 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
8160 set dummy ${ac_tool_prefix}lipo; ac_word=$2
8161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8162 $as_echo_n "checking
for $ac_word...
" >&6; }
8163 if ${ac_cv_prog_LIPO+:} false; then :
8164 $as_echo_n "(cached
) " >&6
8166 if test -n "$LIPO"; then
8167 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8169 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8173 test -z "$as_dir" && as_dir=.
8174 for ac_exec_ext in '' $ac_executable_extensions; do
8175 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8176 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
8177 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8186 LIPO=$ac_cv_prog_LIPO
8187 if test -n "$LIPO"; then
8188 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
8189 $as_echo "$LIPO" >&6; }
8191 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8192 $as_echo "no
" >&6; }
8197 if test -z "$ac_cv_prog_LIPO"; then
8199 # Extract the first word of "lipo
", so it can be a program name with args.
8200 set dummy lipo; ac_word=$2
8201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8202 $as_echo_n "checking
for $ac_word...
" >&6; }
8203 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
8204 $as_echo_n "(cached
) " >&6
8206 if test -n "$ac_ct_LIPO"; then
8207 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
8209 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8213 test -z "$as_dir" && as_dir=.
8214 for ac_exec_ext in '' $ac_executable_extensions; do
8215 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8216 ac_cv_prog_ac_ct_LIPO="lipo
"
8217 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8226 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
8227 if test -n "$ac_ct_LIPO"; then
8228 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_LIPO" >&5
8229 $as_echo "$ac_ct_LIPO" >&6; }
8231 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8232 $as_echo "no
" >&6; }
8235 if test "x
$ac_ct_LIPO" = x; then
8238 case $cross_compiling:$ac_tool_warned in
8240 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8241 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8242 ac_tool_warned=yes ;;
8247 LIPO="$ac_cv_prog_LIPO"
8250 if test -n "$ac_tool_prefix"; then
8251 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
8252 set dummy ${ac_tool_prefix}otool; ac_word=$2
8253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8254 $as_echo_n "checking
for $ac_word...
" >&6; }
8255 if ${ac_cv_prog_OTOOL+:} false; then :
8256 $as_echo_n "(cached
) " >&6
8258 if test -n "$OTOOL"; then
8259 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8261 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8265 test -z "$as_dir" && as_dir=.
8266 for ac_exec_ext in '' $ac_executable_extensions; do
8267 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8268 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
8269 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8278 OTOOL=$ac_cv_prog_OTOOL
8279 if test -n "$OTOOL"; then
8280 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
8281 $as_echo "$OTOOL" >&6; }
8283 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8284 $as_echo "no
" >&6; }
8289 if test -z "$ac_cv_prog_OTOOL"; then
8291 # Extract the first word of "otool
", so it can be a program name with args.
8292 set dummy otool; ac_word=$2
8293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8294 $as_echo_n "checking
for $ac_word...
" >&6; }
8295 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
8296 $as_echo_n "(cached
) " >&6
8298 if test -n "$ac_ct_OTOOL"; then
8299 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8301 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8305 test -z "$as_dir" && as_dir=.
8306 for ac_exec_ext in '' $ac_executable_extensions; do
8307 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8308 ac_cv_prog_ac_ct_OTOOL="otool
"
8309 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8318 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8319 if test -n "$ac_ct_OTOOL"; then
8320 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL" >&5
8321 $as_echo "$ac_ct_OTOOL" >&6; }
8323 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8324 $as_echo "no
" >&6; }
8327 if test "x
$ac_ct_OTOOL" = x; then
8330 case $cross_compiling:$ac_tool_warned in
8332 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8333 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8334 ac_tool_warned=yes ;;
8339 OTOOL="$ac_cv_prog_OTOOL"
8342 if test -n "$ac_tool_prefix"; then
8343 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
8344 set dummy ${ac_tool_prefix}otool64; ac_word=$2
8345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8346 $as_echo_n "checking
for $ac_word...
" >&6; }
8347 if ${ac_cv_prog_OTOOL64+:} false; then :
8348 $as_echo_n "(cached
) " >&6
8350 if test -n "$OTOOL64"; then
8351 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8353 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8357 test -z "$as_dir" && as_dir=.
8358 for ac_exec_ext in '' $ac_executable_extensions; do
8359 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8360 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
8361 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8370 OTOOL64=$ac_cv_prog_OTOOL64
8371 if test -n "$OTOOL64"; then
8372 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL64" >&5
8373 $as_echo "$OTOOL64" >&6; }
8375 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8376 $as_echo "no
" >&6; }
8381 if test -z "$ac_cv_prog_OTOOL64"; then
8382 ac_ct_OTOOL64=$OTOOL64
8383 # Extract the first word of "otool64
", so it can be a program name with args.
8384 set dummy otool64; ac_word=$2
8385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8386 $as_echo_n "checking
for $ac_word...
" >&6; }
8387 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
8388 $as_echo_n "(cached
) " >&6
8390 if test -n "$ac_ct_OTOOL64"; then
8391 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8393 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8397 test -z "$as_dir" && as_dir=.
8398 for ac_exec_ext in '' $ac_executable_extensions; do
8399 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8400 ac_cv_prog_ac_ct_OTOOL64="otool64
"
8401 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8410 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8411 if test -n "$ac_ct_OTOOL64"; then
8412 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL64" >&5
8413 $as_echo "$ac_ct_OTOOL64" >&6; }
8415 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8416 $as_echo "no
" >&6; }
8419 if test "x
$ac_ct_OTOOL64" = x; then
8422 case $cross_compiling:$ac_tool_warned in
8424 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8425 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8426 ac_tool_warned=yes ;;
8428 OTOOL64=$ac_ct_OTOOL64
8431 OTOOL64="$ac_cv_prog_OTOOL64"
8460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -single_module linker flag
" >&5
8461 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
8462 if ${lt_cv_apple_cc_single_mod+:} false; then :
8463 $as_echo_n "(cached
) " >&6
8465 lt_cv_apple_cc_single_mod=no
8466 if test -z "$LT_MULTI_MODULE"; then
8467 # By default we will add the -single_module flag. You can override
8468 # by either setting the environment variable LT_MULTI_MODULE
8469 # non-empty at configure time, or by adding -multi_module to the
8471 rm -rf libconftest.dylib*
8472 echo "int foo
(void
){return 1;}" > conftest.c
8473 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8474 -dynamiclib -Wl,-single_module conftest.c
" >&5
8475 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8476 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8478 # If there is a non-empty error log, and "single_module
"
8479 # appears in it, assume the flag caused a linker warning
8480 if test -s conftest.err && $GREP single_module conftest.err; then
8481 cat conftest.err >&5
8482 # Otherwise, if the output was created with a 0 exit code from
8483 # the compiler, it worked.
8484 elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
8485 lt_cv_apple_cc_single_mod=yes
8487 cat conftest.err >&5
8489 rm -rf libconftest.dylib*
8493 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_apple_cc_single_mod" >&5
8494 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -exported_symbols_list linker flag
" >&5
8497 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
8498 if ${lt_cv_ld_exported_symbols_list+:} false; then :
8499 $as_echo_n "(cached
) " >&6
8501 lt_cv_ld_exported_symbols_list=no
8502 save_LDFLAGS=$LDFLAGS
8503 echo "_main
" > conftest.sym
8504 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
8505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8506 /* end confdefs.h. */
8516 if ac_fn_c_try_link "$LINENO"; then :
8517 lt_cv_ld_exported_symbols_list=yes
8519 lt_cv_ld_exported_symbols_list=no
8521 rm -f core conftest.err conftest.$ac_objext \
8522 conftest$ac_exeext conftest.$ac_ext
8523 LDFLAGS=$save_LDFLAGS
8526 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_exported_symbols_list" >&5
8527 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -force_load linker flag
" >&5
8530 $as_echo_n "checking
for -force_load linker flag...
" >&6; }
8531 if ${lt_cv_ld_force_load+:} false; then :
8532 $as_echo_n "(cached
) " >&6
8534 lt_cv_ld_force_load=no
8535 cat > conftest.c << _LT_EOF
8536 int forced_loaded() { return 2;}
8538 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c
" >&5
8539 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8540 echo "$AR cru libconftest.a conftest.o
" >&5
8541 $AR cru libconftest.a conftest.o 2>&5
8542 echo "$RANLIB libconftest.a
" >&5
8543 $RANLIB libconftest.a 2>&5
8544 cat > conftest.c << _LT_EOF
8545 int main() { return 0;}
8547 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
" >&5
8548 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8550 if test -s conftest.err && $GREP force_load conftest.err; then
8551 cat conftest.err >&5
8552 elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
8553 lt_cv_ld_force_load=yes
8555 cat conftest.err >&5
8557 rm -f conftest.err libconftest.a conftest conftest.c
8558 rm -rf conftest.dSYM
8561 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_force_load" >&5
8562 $as_echo "$lt_cv_ld_force_load" >&6; }
8564 rhapsody* | darwin1.[012])
8565 _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
8567 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
8568 darwin*) # darwin 5.x on
8569 # if running on 10.5 or later, the deployment target defaults
8570 # to the OS version, if on x86, and 10.4, the deployment
8571 # target defaults to 10.4. Don't you love it?
8572 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8573 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8574 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
8576 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
8578 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
8582 if test yes = "$lt_cv_apple_cc_single_mod"; then
8583 _lt_dar_single_mod='$single_module'
8585 if test yes = "$lt_cv_ld_exported_symbols_list"; then
8586 _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
8588 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
8590 if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
8591 _lt_dsymutil='~$DSYMUTIL $lib || :'
8598 # func_munge_path_list VARIABLE PATH
8599 # -----------------------------------
8600 # VARIABLE is name of variable containing _space_ separated list of
8601 # directories to be munged by the contents of PATH, which is string
8604 # string "DIR
[ DIR
]" will be prepended to VARIABLE
8606 # string "DIR
[ DIR
]" will be appended to VARIABLE
8607 # "DIRP
[:DIRP
]::[DIRA
:]DIRA
"
8608 # string "DIRP
[ DIRP
]" will be prepended to VARIABLE and string
8609 # "DIRA
[ DIRA
]" will be appended to VARIABLE
8611 # VARIABLE will be replaced by "DIR
[ DIR
]"
8612 func_munge_path_list ()
8618 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
8621 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
8624 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
8625 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
8628 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
8634 ac_cpp='$CPP $CPPFLAGS'
8635 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8636 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8637 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor
" >&5
8639 $as_echo_n "checking how to run the C preprocessor...
" >&6; }
8640 # On Suns, sometimes $CPP names a directory.
8641 if test -n "$CPP" && test -d "$CPP"; then
8644 if test -z "$CPP"; then
8645 if ${ac_cv_prog_CPP+:} false; then :
8646 $as_echo_n "(cached
) " >&6
8648 # Double quotes because CPP needs to be expanded
8649 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
8652 for ac_c_preproc_warn_flag in '' yes
8654 # Use a header file that comes with gcc, so configuring glibc
8655 # with a fresh cross-compiler works.
8656 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8657 # <limits.h> exists even on freestanding compilers.
8658 # On the NeXT, cc -E runs the code through the compiler's parser,
8659 # not just through cpp. "Syntax error
" is here to catch this case.
8660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8661 /* end confdefs.h. */
8663 # include <limits.h>
8665 # include <assert.h>
8669 if ac_fn_c_try_cpp "$LINENO"; then :
8672 # Broken: fails on valid input.
8675 rm -f conftest.err conftest.i conftest.$ac_ext
8677 # OK, works on sane cases. Now check whether nonexistent headers
8678 # can be detected and how.
8679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8680 /* end confdefs.h. */
8681 #include <ac_nonexistent.h>
8683 if ac_fn_c_try_cpp "$LINENO"; then :
8684 # Broken: success on invalid input.
8687 # Passes both tests.
8691 rm -f conftest.err conftest.i conftest.$ac_ext
8694 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8695 rm -f conftest.i conftest.err conftest.$ac_ext
8696 if $ac_preproc_ok; then :
8708 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CPP" >&5
8709 $as_echo "$CPP" >&6; }
8711 for ac_c_preproc_warn_flag in '' yes
8713 # Use a header file that comes with gcc, so configuring glibc
8714 # with a fresh cross-compiler works.
8715 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8716 # <limits.h> exists even on freestanding compilers.
8717 # On the NeXT, cc -E runs the code through the compiler's parser,
8718 # not just through cpp. "Syntax error
" is here to catch this case.
8719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8720 /* end confdefs.h. */
8722 # include <limits.h>
8724 # include <assert.h>
8728 if ac_fn_c_try_cpp "$LINENO"; then :
8731 # Broken: fails on valid input.
8734 rm -f conftest.err conftest.i conftest.$ac_ext
8736 # OK, works on sane cases. Now check whether nonexistent headers
8737 # can be detected and how.
8738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8739 /* end confdefs.h. */
8740 #include <ac_nonexistent.h>
8742 if ac_fn_c_try_cpp "$LINENO"; then :
8743 # Broken: success on invalid input.
8746 # Passes both tests.
8750 rm -f conftest.err conftest.i conftest.$ac_ext
8753 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8754 rm -f conftest.i conftest.err conftest.$ac_ext
8755 if $ac_preproc_ok; then :
8758 { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
8759 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8760 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
8761 See \`config.log' for more details
" "$LINENO" 5; }
8765 ac_cpp='$CPP $CPPFLAGS'
8766 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8767 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8768 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ANSI C header files
" >&5
8772 $as_echo_n "checking
for ANSI C header files...
" >&6; }
8773 if ${ac_cv_header_stdc+:} false; then :
8774 $as_echo_n "(cached
) " >&6
8776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8777 /* end confdefs.h. */
8791 if ac_fn_c_try_compile "$LINENO"; then :
8792 ac_cv_header_stdc=yes
8794 ac_cv_header_stdc=no
8796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8798 if test $ac_cv_header_stdc = yes; then
8799 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8801 /* end confdefs.h. */
8805 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
8806 $EGREP "memchr
" >/dev/null 2>&1; then :
8809 ac_cv_header_stdc=no
8815 if test $ac_cv_header_stdc = yes; then
8816 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8818 /* end confdefs.h. */
8822 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
8823 $EGREP "free
" >/dev/null 2>&1; then :
8826 ac_cv_header_stdc=no
8832 if test $ac_cv_header_stdc = yes; then
8833 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8834 if test "$cross_compiling" = yes; then :
8837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8838 /* end confdefs.h. */
8841 #if ((' ' & 0x0FF) == 0x020)
8842 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8843 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8845 # define ISLOWER(c) \
8846 (('a' <= (c) && (c) <= 'i') \
8847 || ('j' <= (c) && (c) <= 'r') \
8848 || ('s' <= (c) && (c) <= 'z'))
8849 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8852 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8857 for (i = 0; i < 256; i++)
8858 if (XOR (islower (i), ISLOWER (i))
8859 || toupper (i) != TOUPPER (i))
8864 if ac_fn_c_try_run "$LINENO"; then :
8867 ac_cv_header_stdc=no
8869 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8870 conftest.$ac_objext conftest.beam conftest.$ac_ext
8875 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_header_stdc" >&5
8876 $as_echo "$ac_cv_header_stdc" >&6; }
8877 if test $ac_cv_header_stdc = yes; then
8879 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
8883 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
8884 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
8885 inttypes.h stdint.h unistd.h
8887 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8888 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8890 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
8891 cat >>confdefs.h
<<_ACEOF
8892 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8900 for ac_header
in dlfcn.h
8902 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8904 if test "x$ac_cv_header_dlfcn_h" = xyes
; then :
8905 cat >>confdefs.h
<<_ACEOF
8906 #define HAVE_DLFCN_H 1
8916 func_stripname_cnf
()
8919 .
*) func_stripname_result
=`$ECHO "$3" | $SED "s%^$1%%; s%\\\\$2\$%%"`;;
8920 *) func_stripname_result
=`$ECHO "$3" | $SED "s%^$1%%; s%$2\$%%"`;;
8922 } # func_stripname_cnf
8929 # Check whether --enable-static was given.
8930 if test "${enable_static+set}" = set; then :
8931 enableval
=$enable_static; p
=${PACKAGE-default}
8933 yes) enable_static
=yes ;;
8934 no
) enable_static
=no
;;
8937 # Look at the argument we got. We use all the common list separators.
8938 lt_save_ifs
=$IFS; IFS
=$IFS$PATH_SEPARATOR,
8939 for pkg
in $enableval; do
8941 if test "X$pkg" = "X$p"; then
8967 # Check whether --enable-shared was given.
8968 if test "${enable_shared+set}" = set; then :
8969 enableval
=$enable_shared; p
=${PACKAGE-default}
8971 yes) enable_shared
=yes ;;
8972 no
) enable_shared
=no
;;
8975 # Look at the argument we got. We use all the common list separators.
8976 lt_save_ifs
=$IFS; IFS
=$IFS$PATH_SEPARATOR,
8977 for pkg
in $enableval; do
8979 if test "X$pkg" = "X$p"; then
9000 # Check whether --with-pic was given.
9001 if test "${with_pic+set}" = set; then :
9002 withval
=$with_pic; lt_p
=${PACKAGE-default}
9004 yes|no
) pic_mode
=$withval ;;
9007 # Look at the argument we got. We use all the common list separators.
9008 lt_save_ifs
=$IFS; IFS
=$IFS$PATH_SEPARATOR,
9009 for lt_pkg
in $withval; do
9011 if test "X$lt_pkg" = "X$lt_p"; then
9029 # Check whether --enable-fast-install was given.
9030 if test "${enable_fast_install+set}" = set; then :
9031 enableval
=$enable_fast_install; p
=${PACKAGE-default}
9033 yes) enable_fast_install
=yes ;;
9034 no
) enable_fast_install
=no
;;
9036 enable_fast_install
=no
9037 # Look at the argument we got. We use all the common list separators.
9038 lt_save_ifs
=$IFS; IFS
=$IFS$PATH_SEPARATOR,
9039 for pkg
in $enableval; do
9041 if test "X$pkg" = "X$p"; then
9042 enable_fast_install
=yes
9049 enable_fast_install
=yes
9059 shared_archive_member_spec
=
9060 case $host,$enable_shared in
9061 power
*-*-aix[5-9]*,yes)
9062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
9063 $as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
9065 # Check whether --with-aix-soname was given.
9066 if test "${with_aix_soname+set}" = set; then :
9067 withval
=$with_aix_soname; case $withval in
9071 as_fn_error $?
"Unknown argument to --with-aix-soname" "$LINENO" 5
9074 lt_cv_with_aix_soname
=$with_aix_soname
9076 if ${lt_cv_with_aix_soname+:} false
; then :
9077 $as_echo_n "(cached) " >&6
9079 lt_cv_with_aix_soname
=aix
9082 with_aix_soname
=$lt_cv_with_aix_soname
9085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
9086 $as_echo "$with_aix_soname" >&6; }
9087 if test aix
!= "$with_aix_soname"; then
9088 # For the AIX way of multilib, we name the shared archive member
9089 # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
9090 # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
9091 # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
9092 # the AIX toolchain works better with OBJECT_MODE set (default 32).
9093 if test 64 = "${OBJECT_MODE-32}"; then
9094 shared_archive_member_spec
=shr_64
9096 shared_archive_member_spec
=shr
9114 # This can be used to rebuild libtool when needed
9115 LIBTOOL_DEPS
=$ltmain
9117 # Always use our own libtool.
9118 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
9149 test -z "$LN_S" && LN_S
="ln -s"
9164 if test -n "${ZSH_VERSION+set}"; then
9165 setopt NO_GLOB_SUBST
9168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
9169 $as_echo_n "checking for objdir... " >&6; }
9170 if ${lt_cv_objdir+:} false
; then :
9171 $as_echo_n "(cached) " >&6
9173 rm -f .libs
2>/dev
/null
9174 mkdir .libs
2>/dev
/null
9175 if test -d .libs
; then
9178 # MS-DOS does not allow filenames that begin with a dot.
9181 rmdir .libs
2>/dev
/null
9183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
9184 $as_echo "$lt_cv_objdir" >&6; }
9185 objdir
=$lt_cv_objdir
9191 cat >>confdefs.h
<<_ACEOF
9192 #define LT_OBJDIR "$lt_cv_objdir/"
9200 # AIX sometimes has problems with the GCC collect2 program. For some
9201 # reason, if we set the COLLECT_NAMES environment variable, the problems
9202 # vanish in a puff of smoke.
9203 if test set != "${COLLECT_NAMES+set}"; then
9205 export COLLECT_NAMES
9212 can_build_shared
=yes
9214 # All known linkers require a '.a' archive for static linking (except MSVC,
9215 # which needs '.lib').
9218 with_gnu_ld
=$lt_cv_prog_gnu_ld
9223 # Set sane defaults for various variables
9224 test -z "$CC" && CC
=cc
9225 test -z "$LTCC" && LTCC
=$CC
9226 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
9227 test -z "$LD" && LD
=ld
9228 test -z "$ac_objext" && ac_objext
=o
9230 func_cc_basename
$compiler
9231 cc_basename
=$func_cc_basename_result
9234 # Only perform the check for file, if the check method requires it
9235 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
9236 case $deplibs_check_method in
9238 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
9239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
9240 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
9241 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
9242 $as_echo_n "(cached) " >&6
9246 lt_cv_path_MAGIC_CMD
=$MAGIC_CMD # Let the user override the test with a path.
9249 lt_save_MAGIC_CMD
=$MAGIC_CMD
9250 lt_save_ifs
=$IFS; IFS
=$PATH_SEPARATOR
9251 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
9252 for ac_dir
in $ac_dummy; do
9254 test -z "$ac_dir" && ac_dir
=.
9255 if test -f "$ac_dir/${ac_tool_prefix}file"; then
9256 lt_cv_path_MAGIC_CMD
=$ac_dir/"${ac_tool_prefix}file"
9257 if test -n "$file_magic_test_file"; then
9258 case $deplibs_check_method in
9260 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9261 MAGIC_CMD
=$lt_cv_path_MAGIC_CMD
9262 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null
|
9263 $EGREP "$file_magic_regex" > /dev
/null
; then
9268 *** Warning: the command libtool uses to detect shared libraries,
9269 *** $file_magic_cmd, produces output that libtool cannot recognize.
9270 *** The result is that libtool may fail to recognize shared libraries
9271 *** as such. This will affect the creation of libtool libraries that
9272 *** depend on shared libraries, but programs linked with such libtool
9273 *** libraries will work regardless of this problem. Nevertheless, you
9274 *** may want to report the problem to your system manager and/or to
9275 *** bug-libtool@gnu.org
9285 MAGIC_CMD
=$lt_save_MAGIC_CMD
9290 MAGIC_CMD
=$lt_cv_path_MAGIC_CMD
9291 if test -n "$MAGIC_CMD"; then
9292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9293 $as_echo "$MAGIC_CMD" >&6; }
9295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9296 $as_echo "no" >&6; }
9303 if test -z "$lt_cv_path_MAGIC_CMD"; then
9304 if test -n "$ac_tool_prefix"; then
9305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
9306 $as_echo_n "checking for file... " >&6; }
9307 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
9308 $as_echo_n "(cached) " >&6
9312 lt_cv_path_MAGIC_CMD
=$MAGIC_CMD # Let the user override the test with a path.
9315 lt_save_MAGIC_CMD
=$MAGIC_CMD
9316 lt_save_ifs
=$IFS; IFS
=$PATH_SEPARATOR
9317 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
9318 for ac_dir
in $ac_dummy; do
9320 test -z "$ac_dir" && ac_dir
=.
9321 if test -f "$ac_dir/file"; then
9322 lt_cv_path_MAGIC_CMD
=$ac_dir/"file"
9323 if test -n "$file_magic_test_file"; then
9324 case $deplibs_check_method in
9326 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9327 MAGIC_CMD
=$lt_cv_path_MAGIC_CMD
9328 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null
|
9329 $EGREP "$file_magic_regex" > /dev
/null
; then
9334 *** Warning: the command libtool uses to detect shared libraries,
9335 *** $file_magic_cmd, produces output that libtool cannot recognize.
9336 *** The result is that libtool may fail to recognize shared libraries
9337 *** as such. This will affect the creation of libtool libraries that
9338 *** depend on shared libraries, but programs linked with such libtool
9339 *** libraries will work regardless of this problem. Nevertheless, you
9340 *** may want to report the problem to your system manager and/or to
9341 *** bug-libtool@gnu.org
9351 MAGIC_CMD
=$lt_save_MAGIC_CMD
9356 MAGIC_CMD
=$lt_cv_path_MAGIC_CMD
9357 if test -n "$MAGIC_CMD"; then
9358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9359 $as_echo "$MAGIC_CMD" >&6; }
9361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9362 $as_echo "no" >&6; }
9375 # Use C for the default configuration in the libtool script
9379 ac_cpp
='$CPP $CPPFLAGS'
9380 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9381 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9382 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
9385 # Source file extension for C test sources.
9388 # Object file extension for compiled C test sources.
9392 # Code to be used in simple compile tests
9393 lt_simple_compile_test_code
="int some_variable = 0;"
9395 # Code to be used in simple link tests
9396 lt_simple_link_test_code
='int main(){return(0);}'
9404 # If no C compiler was specified, use CC.
9407 # If no C compiler flags were specified, use CFLAGS.
9408 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
9410 # Allow CC to be a program name with arguments.
9413 # Save the default compiler, since it gets overwritten when the other
9414 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9415 compiler_DEFAULT
=$CC
9417 # save warnings/boilerplate of simple test code
9418 ac_outfile
=conftest.
$ac_objext
9419 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
9420 eval "$ac_compile" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
9421 _lt_compiler_boilerplate
=`cat conftest.err`
9424 ac_outfile
=conftest.
$ac_objext
9425 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
9426 eval "$ac_link" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
9427 _lt_linker_boilerplate
=`cat conftest.err`
9432 ## There is no encapsulation within the following macros, do not change
9433 ## the running order or otherwise move them around unless you know exactly
9434 ## what you are doing...
9435 if test -n "$compiler"; then
9437 lt_prog_compiler_no_builtin_flag
=
9439 if test yes = "$GCC"; then
9440 case $cc_basename in
9442 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
9444 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
9447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9448 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9449 if ${lt_cv_prog_compiler_rtti_exceptions+:} false
; then :
9450 $as_echo_n "(cached) " >&6
9452 lt_cv_prog_compiler_rtti_exceptions
=no
9453 ac_outfile
=conftest.
$ac_objext
9454 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9455 lt_compiler_flag
="-fno-rtti -fno-exceptions" ## exclude from sc_useless_quotes_in_assignment
9456 # Insert the option either (1) after the last *FLAGS variable, or
9457 # (2) before a word containing "conftest.", or (3) at the end.
9458 # Note that $ac_compile itself does not contain backslashes and begins
9459 # with a dollar sign (not a hyphen), so the echo should work correctly.
9460 # The option is referenced via a variable to avoid confusing sed.
9461 lt_compile
=`echo "$ac_compile" | $SED \
9462 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9463 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9464 -e 's:$: $lt_compiler_flag:'`
9465 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9466 (eval "$lt_compile" 2>conftest.err
)
9468 cat conftest.err
>&5
9469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9470 if (exit $ac_status) && test -s "$ac_outfile"; then
9471 # The compiler can only warn and ignore the option if not recognized
9472 # So say no if there are warnings other than the usual output.
9473 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9474 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9475 if test ! -s conftest.er2
|| diff conftest.exp conftest.er2
>/dev
/null
; then
9476 lt_cv_prog_compiler_rtti_exceptions
=yes
9482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9483 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9485 if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
9486 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9498 lt_prog_compiler_wl
=
9499 lt_prog_compiler_pic
=
9500 lt_prog_compiler_static
=
9503 if test yes = "$GCC"; then
9504 lt_prog_compiler_wl
='-Wl,'
9505 lt_prog_compiler_static
='-static'
9509 # All AIX code is PIC.
9510 if test ia64
= "$host_cpu"; then
9511 # AIX 5 now supports IA64 processor
9512 lt_prog_compiler_static
='-Bstatic'
9514 lt_prog_compiler_pic
='-fPIC'
9520 # see comment about AmigaOS4 .so support
9521 lt_prog_compiler_pic
='-fPIC'
9524 # FIXME: we need at least 68020 code to build shared libraries, but
9525 # adding the '-m68020' flag to GCC prevents building anything better,
9527 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
9532 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
9533 # PIC is the default for these OSes.
9536 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
9537 # This hack is so that the source file can tell whether it is being
9538 # built for inclusion in a dll (and should export symbols for example).
9539 # Although the cygwin gcc ignores -fPIC, still need this for old-style
9540 # (--disable-auto-import) libraries
9541 lt_prog_compiler_pic
='-DDLL_EXPORT'
9544 lt_prog_compiler_static
='$wl-static'
9549 darwin
* | rhapsody
*)
9550 # PIC is the default on this platform
9551 # Common symbols not allowed in MH_DYLIB files
9552 lt_prog_compiler_pic
='-fno-common'
9556 # PIC is the default for Haiku.
9557 # The "-static" flag exists, but is broken.
9558 lt_prog_compiler_static
=
9562 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9563 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
9564 # sets the default TLS model and affects inlining.
9570 lt_prog_compiler_pic
='-fPIC'
9576 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9577 # Instead, we relocate shared libraries at runtime.
9581 # Just because we use GCC doesn't mean we suddenly get shared libraries
9582 # on systems that don't support them.
9583 lt_prog_compiler_can_build_shared
=no
9588 # QNX uses GNU C++, but need to define -shared option too, otherwise
9590 lt_prog_compiler_pic
='-fPIC -shared'
9594 if test -d /usr
/nec
; then
9595 lt_prog_compiler_pic
=-Kconform_pic
9600 lt_prog_compiler_pic
='-fPIC'
9604 case $cc_basename in
9605 nvcc
*) # Cuda Compiler Driver 2.2
9606 lt_prog_compiler_wl
='-Xlinker '
9607 if test -n "$lt_prog_compiler_pic"; then
9608 lt_prog_compiler_pic
="-Xcompiler $lt_prog_compiler_pic"
9613 # PORTME Check for flag to pass linker flags through the system compiler.
9616 lt_prog_compiler_wl
='-Wl,'
9617 if test ia64
= "$host_cpu"; then
9618 # AIX 5 now supports IA64 processor
9619 lt_prog_compiler_static
='-Bstatic'
9621 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
9625 darwin
* | rhapsody
*)
9626 # PIC is the default on this platform
9627 # Common symbols not allowed in MH_DYLIB files
9628 lt_prog_compiler_pic
='-fno-common'
9629 case $cc_basename in
9631 # NAG Fortran compiler
9632 lt_prog_compiler_wl
='-Wl,-Wl,,'
9633 lt_prog_compiler_pic
='-PIC'
9634 lt_prog_compiler_static
='-Bstatic'
9639 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
9640 # This hack is so that the source file can tell whether it is being
9641 # built for inclusion in a dll (and should export symbols for example).
9642 lt_prog_compiler_pic
='-DDLL_EXPORT'
9645 lt_prog_compiler_static
='$wl-static'
9650 hpux9
* | hpux10
* | hpux11
*)
9651 lt_prog_compiler_wl
='-Wl,'
9652 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9659 lt_prog_compiler_pic
='+Z'
9662 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9663 lt_prog_compiler_static
='$wl-a ${wl}archive'
9666 irix5
* | irix6
* | nonstopux
*)
9667 lt_prog_compiler_wl
='-Wl,'
9668 # PIC (with -KPIC) is the default.
9669 lt_prog_compiler_static
='-non_shared'
9672 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
9673 case $cc_basename in
9674 # old Intel for x86_64, which still supported -KPIC.
9676 lt_prog_compiler_wl
='-Wl,'
9677 lt_prog_compiler_pic
='-KPIC'
9678 lt_prog_compiler_static
='-static'
9680 # icc used to be incompatible with GCC.
9681 # ICC 10 doesn't accept -KPIC any more.
9683 lt_prog_compiler_wl
='-Wl,'
9684 lt_prog_compiler_pic
='-fPIC'
9685 lt_prog_compiler_static
='-static'
9687 # Lahey Fortran 8.1.
9689 lt_prog_compiler_wl
='-Wl,'
9690 lt_prog_compiler_pic
='--shared'
9691 lt_prog_compiler_static
='--static'
9694 # NAG Fortran compiler
9695 lt_prog_compiler_wl
='-Wl,-Wl,,'
9696 lt_prog_compiler_pic
='-PIC'
9697 lt_prog_compiler_static
='-Bstatic'
9700 # Fabrice Bellard et al's Tiny C Compiler
9701 lt_prog_compiler_wl
='-Wl,'
9702 lt_prog_compiler_pic
='-fPIC'
9703 lt_prog_compiler_static
='-static'
9705 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
9706 # Portland Group compilers (*not* the Pentium gcc compiler,
9707 # which looks to be a dead project)
9708 lt_prog_compiler_wl
='-Wl,'
9709 lt_prog_compiler_pic
='-fpic'
9710 lt_prog_compiler_static
='-Bstatic'
9713 lt_prog_compiler_wl
='-Wl,'
9714 # All Alpha code is PIC.
9715 lt_prog_compiler_static
='-non_shared'
9717 xl
* | bgxl
* | bgf
* | mpixl
*)
9718 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9719 lt_prog_compiler_wl
='-Wl,'
9720 lt_prog_compiler_pic
='-qpic'
9721 lt_prog_compiler_static
='-qstaticlink'
9724 case `$CC -V 2>&1 | sed 5q` in
9725 *Sun\ Ceres\ Fortran
* | *Sun
*Fortran
*\
[1-7].
* | *Sun
*Fortran
*\
8.
[0-3]*)
9726 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9727 lt_prog_compiler_pic
='-KPIC'
9728 lt_prog_compiler_static
='-Bstatic'
9729 lt_prog_compiler_wl
=''
9731 *Sun\ F
* | *Sun
*Fortran
*)
9732 lt_prog_compiler_pic
='-KPIC'
9733 lt_prog_compiler_static
='-Bstatic'
9734 lt_prog_compiler_wl
='-Qoption ld '
9738 lt_prog_compiler_pic
='-KPIC'
9739 lt_prog_compiler_static
='-Bstatic'
9740 lt_prog_compiler_wl
='-Wl,'
9742 *Intel
*\
[CF
]*Compiler
*)
9743 lt_prog_compiler_wl
='-Wl,'
9744 lt_prog_compiler_pic
='-fPIC'
9745 lt_prog_compiler_static
='-static'
9748 lt_prog_compiler_wl
='-Wl,'
9749 lt_prog_compiler_pic
='-fpic'
9750 lt_prog_compiler_static
='-Bstatic'
9758 lt_prog_compiler_pic
='-KPIC'
9759 lt_prog_compiler_static
='-Bstatic'
9763 # QNX uses GNU C++, but need to define -shared option too, otherwise
9765 lt_prog_compiler_pic
='-fPIC -shared'
9768 osf3
* | osf4
* | osf5
*)
9769 lt_prog_compiler_wl
='-Wl,'
9770 # All OSF/1 code is PIC.
9771 lt_prog_compiler_static
='-non_shared'
9775 lt_prog_compiler_static
='-non_shared'
9779 lt_prog_compiler_pic
='-KPIC'
9780 lt_prog_compiler_static
='-Bstatic'
9781 case $cc_basename in
9782 f77
* | f90
* | f95
* | sunf77
* | sunf90
* | sunf95
*)
9783 lt_prog_compiler_wl
='-Qoption ld ';;
9785 lt_prog_compiler_wl
='-Wl,';;
9790 lt_prog_compiler_wl
='-Qoption ld '
9791 lt_prog_compiler_pic
='-PIC'
9792 lt_prog_compiler_static
='-Bstatic'
9795 sysv4
| sysv4.2uw2
* | sysv4.3
*)
9796 lt_prog_compiler_wl
='-Wl,'
9797 lt_prog_compiler_pic
='-KPIC'
9798 lt_prog_compiler_static
='-Bstatic'
9802 if test -d /usr
/nec
; then
9803 lt_prog_compiler_pic
='-Kconform_pic'
9804 lt_prog_compiler_static
='-Bstatic'
9808 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
9809 lt_prog_compiler_wl
='-Wl,'
9810 lt_prog_compiler_pic
='-KPIC'
9811 lt_prog_compiler_static
='-Bstatic'
9815 lt_prog_compiler_wl
='-Wl,'
9816 lt_prog_compiler_can_build_shared
=no
9820 lt_prog_compiler_pic
='-pic'
9821 lt_prog_compiler_static
='-Bstatic'
9825 lt_prog_compiler_can_build_shared
=no
9831 # For platforms that do not support PIC, -DPIC is meaningless:
9833 lt_prog_compiler_pic
=
9836 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
9840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9841 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9842 if ${lt_cv_prog_compiler_pic+:} false
; then :
9843 $as_echo_n "(cached) " >&6
9845 lt_cv_prog_compiler_pic
=$lt_prog_compiler_pic
9847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
9848 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
9849 lt_prog_compiler_pic
=$lt_cv_prog_compiler_pic
9852 # Check to make sure the PIC flag actually works.
9854 if test -n "$lt_prog_compiler_pic"; then
9855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9856 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9857 if ${lt_cv_prog_compiler_pic_works+:} false
; then :
9858 $as_echo_n "(cached) " >&6
9860 lt_cv_prog_compiler_pic_works
=no
9861 ac_outfile
=conftest.
$ac_objext
9862 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9863 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC" ## exclude from sc_useless_quotes_in_assignment
9864 # Insert the option either (1) after the last *FLAGS variable, or
9865 # (2) before a word containing "conftest.", or (3) at the end.
9866 # Note that $ac_compile itself does not contain backslashes and begins
9867 # with a dollar sign (not a hyphen), so the echo should work correctly.
9868 # The option is referenced via a variable to avoid confusing sed.
9869 lt_compile
=`echo "$ac_compile" | $SED \
9870 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9871 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9872 -e 's:$: $lt_compiler_flag:'`
9873 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9874 (eval "$lt_compile" 2>conftest.err
)
9876 cat conftest.err
>&5
9877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9878 if (exit $ac_status) && test -s "$ac_outfile"; then
9879 # The compiler can only warn and ignore the option if not recognized
9880 # So say no if there are warnings other than the usual output.
9881 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9882 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9883 if test ! -s conftest.er2
|| diff conftest.exp conftest.er2
>/dev
/null
; then
9884 lt_cv_prog_compiler_pic_works
=yes
9890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9891 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9893 if test yes = "$lt_cv_prog_compiler_pic_works"; then
9894 case $lt_prog_compiler_pic in
9896 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
9899 lt_prog_compiler_pic
=
9900 lt_prog_compiler_can_build_shared
=no
9916 # Check to make sure the static flag actually works.
9918 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
9919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9920 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9921 if ${lt_cv_prog_compiler_static_works+:} false
; then :
9922 $as_echo_n "(cached) " >&6
9924 lt_cv_prog_compiler_static_works
=no
9925 save_LDFLAGS
=$LDFLAGS
9926 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
9927 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9928 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9929 # The linker can only warn and ignore the option if not recognized
9930 # So say no if there are warnings
9931 if test -s conftest.err
; then
9932 # Append any errors to the config.log.
9933 cat conftest.err
1>&5
9934 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9935 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9936 if diff conftest.exp conftest.er2
>/dev
/null
; then
9937 lt_cv_prog_compiler_static_works
=yes
9940 lt_cv_prog_compiler_static_works
=yes
9944 LDFLAGS
=$save_LDFLAGS
9947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9948 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9950 if test yes = "$lt_cv_prog_compiler_static_works"; then
9953 lt_prog_compiler_static
=
9962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9963 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9964 if ${lt_cv_prog_compiler_c_o+:} false
; then :
9965 $as_echo_n "(cached) " >&6
9967 lt_cv_prog_compiler_c_o
=no
9968 $RM -r conftest
2>/dev
/null
9972 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9974 lt_compiler_flag
="-o out/conftest2.$ac_objext"
9975 # Insert the option either (1) after the last *FLAGS variable, or
9976 # (2) before a word containing "conftest.", or (3) at the end.
9977 # Note that $ac_compile itself does not contain backslashes and begins
9978 # with a dollar sign (not a hyphen), so the echo should work correctly.
9979 lt_compile
=`echo "$ac_compile" | $SED \
9980 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9981 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9982 -e 's:$: $lt_compiler_flag:'`
9983 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9984 (eval "$lt_compile" 2>out
/conftest.err
)
9986 cat out
/conftest.err
>&5
9987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9988 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
9990 # The compiler can only warn and ignore the option if not recognized
9991 # So say no if there are warnings
9992 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out
/conftest.exp
9993 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
9994 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
9995 lt_cv_prog_compiler_c_o
=yes
10000 # SGI C++ compiler will create directory out/ii_files/ for
10001 # template instantiation
10002 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
10003 $RM out
/* && rmdir out
10009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10010 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10018 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10019 if ${lt_cv_prog_compiler_c_o+:} false
; then :
10020 $as_echo_n "(cached) " >&6
10022 lt_cv_prog_compiler_c_o
=no
10023 $RM -r conftest
2>/dev
/null
10027 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10029 lt_compiler_flag
="-o out/conftest2.$ac_objext"
10030 # Insert the option either (1) after the last *FLAGS variable, or
10031 # (2) before a word containing "conftest.", or (3) at the end.
10032 # Note that $ac_compile itself does not contain backslashes and begins
10033 # with a dollar sign (not a hyphen), so the echo should work correctly.
10034 lt_compile
=`echo "$ac_compile" | $SED \
10035 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10036 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10037 -e 's:$: $lt_compiler_flag:'`
10038 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10039 (eval "$lt_compile" 2>out
/conftest.err
)
10041 cat out
/conftest.err
>&5
10042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10043 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
10045 # The compiler can only warn and ignore the option if not recognized
10046 # So say no if there are warnings
10047 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out
/conftest.exp
10048 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
10049 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
10050 lt_cv_prog_compiler_c_o
=yes
10055 # SGI C++ compiler will create directory out/ii_files/ for
10056 # template instantiation
10057 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
10058 $RM out
/* && rmdir out
10064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10065 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10070 hard_links
=nottested
10071 if test no
= "$lt_cv_prog_compiler_c_o" && test no
!= "$need_locks"; then
10072 # do not overwrite the value of need_locks provided by the user
10073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
10074 $as_echo_n "checking if we can lock with hard links... " >&6; }
10077 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
10079 ln conftest.a conftest.b
2>&5 || hard_links
=no
10080 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
10081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
10082 $as_echo "$hard_links" >&6; }
10083 if test no
= "$hard_links"; then
10084 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
10085 $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
10097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10098 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
10101 allow_undefined_flag
=
10102 always_export_symbols
=no
10104 archive_expsym_cmds
=
10105 compiler_needs_object
=no
10106 enable_shared_with_static_runtimes
=no
10107 export_dynamic_flag_spec
=
10108 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10109 hardcode_automatic
=no
10111 hardcode_direct_absolute
=no
10112 hardcode_libdir_flag_spec
=
10113 hardcode_libdir_separator
=
10114 hardcode_minus_L
=no
10115 hardcode_shlibpath_var
=unsupported
10117 link_all_deplibs
=unknown
10119 module_expsym_cmds
=
10120 old_archive_from_new_cmds
=
10121 old_archive_from_expsyms_cmds
=
10122 thread_safe_flag_spec
=
10123 whole_archive_flag_spec
=
10124 # include_expsyms should be a list of space-separated symbols to be *always*
10125 # included in the symbol list
10127 # exclude_expsyms can be an extended regexp of symbols to exclude
10128 # it will be wrapped by ' (' and ')$', so one must not match beginning or
10129 # end of line. Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
10130 # as well as any symbol that contains 'd'.
10131 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
10132 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
10133 # platforms (ab)use it in PIC code, but their linkers get confused if
10134 # the symbol is explicitly referenced. Since portable code cannot
10135 # rely on this symbol name, it's probably fine to never include it in
10136 # preloaded symbol tables.
10137 # Exclude shared library initialization/finalization symbols.
10138 extract_expsyms_cmds
=
10141 cygwin
* | mingw
* | pw32
* | cegcc
*)
10142 # FIXME: the MSVC++ port hasn't been tested in a loooong time
10143 # When not using gcc, we currently assume that we are using
10144 # Microsoft Visual C++.
10145 if test yes != "$GCC"; then
10150 # we just hope/assume this is gcc and not c89 (= MSVC++)
10153 openbsd
* | bitrig
*)
10160 # On some targets, GNU ld is compatible enough with the native linker
10161 # that we're better off using the native interface for both.
10162 lt_use_gnu_ld_interface
=no
10163 if test yes = "$with_gnu_ld"; then
10166 # The AIX port of GNU ld has always aspired to compatibility
10167 # with the native linker. However, as the warning in the GNU ld
10168 # block says, versions before 2.19.5* couldn't really create working
10169 # shared libraries, regardless of the interface used.
10170 case `$LD -v 2>&1` in
10171 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
10172 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
10173 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
10175 lt_use_gnu_ld_interface
=yes
10180 lt_use_gnu_ld_interface
=yes
10185 if test yes = "$lt_use_gnu_ld_interface"; then
10186 # If archive_cmds runs LD, not CC, wlarc should be empty
10189 # Set some defaults for GNU ld with shared library support. These
10190 # are reset later if shared libraries are not supported. Putting them
10191 # here allows them to be overridden if necessary.
10192 runpath_var
=LD_RUN_PATH
10193 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
10194 export_dynamic_flag_spec
='$wl--export-dynamic'
10195 # ancient GNU ld didn't support --whole-archive et. al.
10196 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev
/null
; then
10197 whole_archive_flag_spec
=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
10199 whole_archive_flag_spec
=
10201 supports_anon_versioning
=no
10202 case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
10203 *GNU\ gold
*) supports_anon_versioning
=yes ;;
10204 *\
[01].
* | *\
2.
[0-9].
* | *\
2.10.
*) ;; # catch versions < 2.11
10205 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
10206 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
10207 *\
2.11.
*) ;; # other 2.11 versions
10208 *) supports_anon_versioning
=yes ;;
10211 # See if GNU ld supports shared libraries.
10214 # On AIX/PPC, the GNU linker is very broken
10215 if test ia64
!= "$host_cpu"; then
10219 *** Warning: the GNU linker, at least up to release 2.19, is reported
10220 *** to be unable to reliably create shared libraries on AIX.
10221 *** Therefore, libtool is disabling shared libraries support. If you
10222 *** really care for shared libraries, you may want to install binutils
10223 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
10224 *** You will then need to restart the configuration process.
10233 # see comment about AmigaOS4 .so support
10234 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10235 archive_expsym_cmds
=''
10238 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)'
10239 hardcode_libdir_flag_spec
='-L$libdir'
10240 hardcode_minus_L
=yes
10246 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
10247 allow_undefined_flag
=unsupported
10248 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
10249 # support --undefined. This deserves some investigation. FIXME
10250 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10256 cygwin
* | mingw
* | pw32
* | cegcc
*)
10257 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
10258 # as there is no search path for DLLs.
10259 hardcode_libdir_flag_spec
='-L$libdir'
10260 export_dynamic_flag_spec
='$wl--export-all-symbols'
10261 allow_undefined_flag
=unsupported
10262 always_export_symbols
=no
10263 enable_shared_with_static_runtimes
=yes
10264 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'
10265 exclude_expsyms
='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
10267 if $LD --help 2>&1 | $GREP 'auto-import' > /dev
/null
; then
10268 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10269 # If the export-symbols file already is a .def file, use it as
10270 # is; otherwise, prepend EXPORTS...
10271 archive_expsym_cmds
='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
10272 cp $export_symbols $output_objdir/$soname.def;
10274 echo EXPORTS > $output_objdir/$soname.def;
10275 cat $export_symbols >> $output_objdir/$soname.def;
10277 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10284 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10285 link_all_deplibs
=yes
10289 hardcode_libdir_flag_spec
='-L$libdir'
10290 hardcode_minus_L
=yes
10291 allow_undefined_flag
=unsupported
10293 archive_cmds
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10294 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10295 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10296 $ECHO EXPORTS >> $output_objdir/$libname.def~
10297 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
10298 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10299 emximp -o $lib $output_objdir/$libname.def'
10300 archive_expsym_cmds
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10301 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10302 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10303 $ECHO EXPORTS >> $output_objdir/$libname.def~
10304 prefix_cmds="$SED"~
10305 if test EXPORTS = "`$SED 1q $export_symbols`"; then
10306 prefix_cmds="$prefix_cmds -e 1d";
10308 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
10309 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
10310 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10311 emximp -o $lib $output_objdir/$libname.def'
10312 old_archive_From_new_cmds
='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
10313 enable_shared_with_static_runtimes
=yes
10318 hardcode_shlibpath_var
=no
10319 hardcode_libdir_flag_spec
='$wl-rpath,$libdir'
10320 export_dynamic_flag_spec
='$wl-E'
10321 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
10322 # Instead, shared libraries are loaded at an image base (0x10000000 by
10323 # default) and relocated if they conflict, which is a slow very memory
10324 # consuming and fragmenting process. To avoid this, we pick a random,
10325 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
10326 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
10327 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10328 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'
10331 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
10333 if test linux
-dietlibc = "$host_os"; then
10334 case $cc_basename in
10335 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
10338 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev
/null \
10339 && test no
= "$tmp_diet"
10341 tmp_addflag
=' $pic_flag'
10342 tmp_sharedflag
='-shared'
10343 case $cc_basename,$host_cpu in
10344 pgcc
*) # Portland Group C compiler
10345 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'
10346 tmp_addflag
=' $pic_flag'
10348 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
10349 # Portland Group f77 and f90 compilers
10350 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'
10351 tmp_addflag
=' $pic_flag -Mnomain' ;;
10352 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
10353 tmp_addflag
=' -i_dynamic' ;;
10354 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
10355 tmp_addflag
=' -i_dynamic -nofor_main' ;;
10356 ifc
* | ifort
*) # Intel Fortran compiler
10357 tmp_addflag
=' -nofor_main' ;;
10358 lf95
*) # Lahey Fortran 8.1
10359 whole_archive_flag_spec
=
10360 tmp_sharedflag
='--shared' ;;
10361 nagfor
*) # NAGFOR 5.3
10362 tmp_sharedflag
='-Wl,-shared' ;;
10363 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
10364 tmp_sharedflag
='-qmkshrobj'
10366 nvcc
*) # Cuda Compiler Driver 2.2
10367 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'
10368 compiler_needs_object
=yes
10371 case `$CC -V 2>&1 | sed 5q` in
10372 *Sun\ C
*) # Sun C 5.9
10373 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'
10374 compiler_needs_object
=yes
10375 tmp_sharedflag
='-G' ;;
10376 *Sun\ F
*) # Sun Fortran 8.3
10377 tmp_sharedflag
='-G' ;;
10379 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10381 if test yes = "$supports_anon_versioning"; then
10382 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
10383 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10384 echo "local: *; };" >> $output_objdir/$libname.ver~
10385 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
10388 case $cc_basename in
10390 export_dynamic_flag_spec
='-rdynamic'
10392 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
10393 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
10394 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
10395 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
10396 archive_cmds
='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
10397 if test yes = "$supports_anon_versioning"; then
10398 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
10399 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10400 echo "local: *; };" >> $output_objdir/$libname.ver~
10401 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
10411 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
10412 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10415 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10416 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10421 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev
/null
; then
10425 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
10426 *** create shared libraries on Solaris systems. Therefore, libtool
10427 *** is disabling shared libraries support. We urge you to upgrade GNU
10428 *** binutils to release 2.9.1 or newer. Another option is to modify
10429 *** your PATH or compiler configuration so that the native linker is
10430 *** used, and then restart.
10433 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
10434 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10435 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10441 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
10442 case `$LD -v 2>&1` in
10443 *\
[01].
* | *\
2.
[0-9].
* | *\
2.1[0-5].
*)
10447 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
10448 *** reliably create shared libraries on SCO systems. Therefore, libtool
10449 *** is disabling shared libraries support. We urge you to upgrade GNU
10450 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
10451 *** your PATH or compiler configuration so that the native linker is
10452 *** used, and then restart.
10457 # For security reasons, it is highly recommended that you always
10458 # use absolute paths for naming shared libraries, and exclude the
10459 # DT_RUNPATH tag from executables and libraries. But doing so
10460 # requires that you compile everything twice, which is a pain.
10461 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
10462 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
10463 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10464 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10473 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10475 hardcode_direct
=yes
10476 hardcode_shlibpath_var
=no
10480 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
10481 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10482 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10489 if test no
= "$ld_shlibs"; then
10491 hardcode_libdir_flag_spec
=
10492 export_dynamic_flag_spec
=
10493 whole_archive_flag_spec
=
10496 # PORTME fill in a description of your system's linker (not GNU ld)
10499 allow_undefined_flag
=unsupported
10500 always_export_symbols
=yes
10501 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'
10502 # Note: this linker hardcodes the directories in LIBPATH if there
10503 # are no directories specified by -L.
10504 hardcode_minus_L
=yes
10505 if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
10506 # Neither direct hardcoding nor static linking is supported with a
10508 hardcode_direct
=unsupported
10513 if test ia64
= "$host_cpu"; then
10514 # On IA64, the linker does run time linking by default, so we don't
10515 # have to do anything special.
10516 aix_use_runtimelinking
=no
10517 exp_sym_flag
='-Bexport'
10520 # If we're using GNU nm, then we don't want the "-C" option.
10521 # -C means demangle to GNU nm, but means don't demangle to AIX nm.
10522 # Without the "-l" option, or with the "-B" option, AIX nm treats
10523 # weak defined symbols like other global defined symbols, whereas
10524 # GNU nm marks them as "W".
10525 # While the 'weak' keyword is ignored in the Export File, we need
10526 # it in the Import File for the 'aix-soname' feature, so we have
10527 # to replace the "-B" option with "-P" for AIX nm.
10528 if $NM -V 2>&1 | $GREP 'GNU' > /dev
/null
; then
10529 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'
10531 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'
10533 aix_use_runtimelinking
=no
10535 # Test if we are trying to use run time linking or normal
10536 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10537 # have runtime linking enabled, and use it for executables.
10538 # For shared libraries, we enable/disable runtime linking
10539 # depending on the kind of the shared library created -
10540 # when "with_aix_soname,aix_use_runtimelinking" is:
10541 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables
10542 # "aix,yes" lib.so shared, rtl:yes, for executables
10543 # lib.a static archive
10544 # "both,no" lib.so.V(shr.o) shared, rtl:yes
10545 # lib.a(lib.so.V) shared, rtl:no, for executables
10546 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
10547 # lib.a(lib.so.V) shared, rtl:no
10548 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables
10549 # lib.a static archive
10550 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
10551 for ld_flag
in $LDFLAGS; do
10552 if (test x
-brtl = "x$ld_flag" || test x
-Wl,-brtl = "x$ld_flag"); then
10553 aix_use_runtimelinking
=yes
10557 if test svr4
,no
= "$with_aix_soname,$aix_use_runtimelinking"; then
10558 # With aix-soname=svr4, we create the lib.so.V shared archives only,
10559 # so we don't have lib.a shared libs to link our executables.
10560 # We have to force runtime linking in this case.
10561 aix_use_runtimelinking
=yes
10562 LDFLAGS
="$LDFLAGS -Wl,-brtl"
10567 exp_sym_flag
='-bexport'
10568 no_entry_flag
='-bnoentry'
10571 # When large executables or shared objects are built, AIX ld can
10572 # have problems creating the table of contents. If linking a library
10573 # or program results in "error TOC overflow" add -mminimal-toc to
10574 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10575 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10578 hardcode_direct
=yes
10579 hardcode_direct_absolute
=yes
10580 hardcode_libdir_separator
=':'
10581 link_all_deplibs
=yes
10582 file_list_spec
='$wl-f,'
10583 case $with_aix_soname,$aix_use_runtimelinking in
10584 aix
,*) ;; # traditional, no import file
10585 svr4
,* | *,yes) # use import file
10586 # The Import File defines what to hardcode.
10588 hardcode_direct_absolute
=no
10592 if test yes = "$GCC"; then
10593 case $host_os in aix4.
[012]|aix4.
[012].
*)
10594 # We only want to do this on AIX 4.2 and lower, the check
10595 # below for broken collect2 doesn't work under 4.3+
10596 collect2name
=`$CC -print-prog-name=collect2`
10597 if test -f "$collect2name" &&
10598 strings "$collect2name" | $GREP resolve_lib_name
>/dev
/null
10600 # We have reworked collect2
10603 # We have old collect2
10604 hardcode_direct
=unsupported
10605 # It fails to find uninstalled libraries when the uninstalled
10606 # path is not listed in the libpath. Setting hardcode_minus_L
10607 # to unsupported forces relinking
10608 hardcode_minus_L
=yes
10609 hardcode_libdir_flag_spec
='-L$libdir'
10610 hardcode_libdir_separator
=
10614 shared_flag
='-shared'
10615 if test yes = "$aix_use_runtimelinking"; then
10616 shared_flag
="$shared_flag "'$wl-G'
10618 # Need to ensure runtime linking is disabled for the traditional
10619 # shared library, or the linker may eventually find shared libraries
10620 # /with/ Import File - we do not want to mix them.
10621 shared_flag_aix
='-shared'
10622 shared_flag_svr4
='-shared $wl-G'
10625 if test ia64
= "$host_cpu"; then
10626 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10627 # chokes on -Wl,-G. The following line is correct:
10630 if test yes = "$aix_use_runtimelinking"; then
10631 shared_flag
='$wl-G'
10633 shared_flag
='$wl-bM:SRE'
10635 shared_flag_aix
='$wl-bM:SRE'
10636 shared_flag_svr4
='$wl-G'
10640 export_dynamic_flag_spec
='$wl-bexpall'
10641 # It seems that -bexpall does not export symbols beginning with
10642 # underscore (_), so it is better to generate a list of symbols to export.
10643 always_export_symbols
=yes
10644 if test aix
,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
10645 # Warning - without using the other runtime loading flags (-brtl),
10646 # -berok will link without error, but may produce a broken library.
10647 allow_undefined_flag
='-berok'
10648 # Determine the default libpath from the value encoded in an
10649 # empty executable.
10650 if test set = "${lt_cv_aix_libpath+set}"; then
10651 aix_libpath
=$lt_cv_aix_libpath
10653 if ${lt_cv_aix_libpath_+:} false
; then :
10654 $as_echo_n "(cached) " >&6
10656 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10657 /* end confdefs.h. */
10667 if ac_fn_c_try_link
"$LINENO"; then :
10669 lt_aix_libpath_sed
='
10670 /Import File Strings/,/^$/ {
10672 s/^0 *\([^ ]*\) *$/\1/
10676 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10677 # Check for a 64-bit object if we didn't find anything.
10678 if test -z "$lt_cv_aix_libpath_"; then
10679 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10682 rm -f core conftest.err conftest.
$ac_objext \
10683 conftest
$ac_exeext conftest.
$ac_ext
10684 if test -z "$lt_cv_aix_libpath_"; then
10685 lt_cv_aix_libpath_
=/usr
/lib
:/lib
10690 aix_libpath
=$lt_cv_aix_libpath_
10693 hardcode_libdir_flag_spec
='$wl-blibpath:$libdir:'"$aix_libpath"
10694 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
10696 if test ia64
= "$host_cpu"; then
10697 hardcode_libdir_flag_spec
='$wl-R $libdir:/usr/lib:/lib'
10698 allow_undefined_flag
="-z nodefs"
10699 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"
10701 # Determine the default libpath from the value encoded in an
10702 # empty executable.
10703 if test set = "${lt_cv_aix_libpath+set}"; then
10704 aix_libpath
=$lt_cv_aix_libpath
10706 if ${lt_cv_aix_libpath_+:} false
; then :
10707 $as_echo_n "(cached) " >&6
10709 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10710 /* end confdefs.h. */
10720 if ac_fn_c_try_link
"$LINENO"; then :
10722 lt_aix_libpath_sed
='
10723 /Import File Strings/,/^$/ {
10725 s/^0 *\([^ ]*\) *$/\1/
10729 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10730 # Check for a 64-bit object if we didn't find anything.
10731 if test -z "$lt_cv_aix_libpath_"; then
10732 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10735 rm -f core conftest.err conftest.
$ac_objext \
10736 conftest
$ac_exeext conftest.
$ac_ext
10737 if test -z "$lt_cv_aix_libpath_"; then
10738 lt_cv_aix_libpath_
=/usr
/lib
:/lib
10743 aix_libpath
=$lt_cv_aix_libpath_
10746 hardcode_libdir_flag_spec
='$wl-blibpath:$libdir:'"$aix_libpath"
10747 # Warning - without using the other run time loading flags,
10748 # -berok will link without error, but may produce a broken library.
10749 no_undefined_flag
=' $wl-bernotok'
10750 allow_undefined_flag
=' $wl-berok'
10751 if test yes = "$with_gnu_ld"; then
10752 # We only use this code for GNU lds that support --whole-archive.
10753 whole_archive_flag_spec
='$wl--whole-archive$convenience $wl--no-whole-archive'
10755 # Exported symbols can be pulled into shared objects from archives
10756 whole_archive_flag_spec
='$convenience'
10758 archive_cmds_need_lc
=yes
10759 archive_expsym_cmds
='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
10760 # -brtl affects multiple linker settings, -berok does not and is overridden later
10761 compiler_flags_filtered
='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
10762 if test svr4
!= "$with_aix_soname"; then
10763 # This is similar to how AIX traditionally builds its shared libraries.
10764 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'
10766 if test aix
!= "$with_aix_soname"; then
10767 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'
10769 # used by -dlpreopen to get the symbols
10770 archive_expsym_cmds
="$archive_expsym_cmds"'~$MV $output_objdir/$realname.d/$soname $output_objdir'
10772 archive_expsym_cmds
="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
10780 # see comment about AmigaOS4 .so support
10781 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10782 archive_expsym_cmds
=''
10785 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)'
10786 hardcode_libdir_flag_spec
='-L$libdir'
10787 hardcode_minus_L
=yes
10793 export_dynamic_flag_spec
=-rdynamic
10796 cygwin
* | mingw
* | pw32
* | cegcc
*)
10797 # When not using gcc, we currently assume that we are using
10798 # Microsoft Visual C++.
10799 # hardcode_libdir_flag_spec is actually meaningless, as there is
10800 # no search path for DLLs.
10801 case $cc_basename in
10804 hardcode_libdir_flag_spec
=' '
10805 allow_undefined_flag
=unsupported
10806 always_export_symbols
=yes
10808 # Tell ltmain to make .lib files, not .a files.
10810 # Tell ltmain to make .dll files, not .so files.
10812 # FIXME: Setting linknames here is a bad hack.
10813 archive_cmds
='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
10814 archive_expsym_cmds
='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
10815 cp "$export_symbols" "$output_objdir/$soname.def";
10816 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
10818 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
10820 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
10822 # The linker will not automatically build a static lib if we build a DLL.
10823 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
10824 enable_shared_with_static_runtimes
=yes
10825 exclude_expsyms
='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
10826 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10828 old_postinstall_cmds
='chmod 644 $oldlib'
10829 postlink_cmds
='lt_outputfile="@OUTPUT@"~
10830 lt_tool_outputfile="@TOOL_OUTPUT@"~
10831 case $lt_outputfile in
10834 lt_outputfile=$lt_outputfile.exe
10835 lt_tool_outputfile=$lt_tool_outputfile.exe
10838 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
10839 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
10840 $RM "$lt_outputfile.manifest";
10844 # Assume MSVC wrapper
10845 hardcode_libdir_flag_spec
=' '
10846 allow_undefined_flag
=unsupported
10847 # Tell ltmain to make .lib files, not .a files.
10849 # Tell ltmain to make .dll files, not .so files.
10851 # FIXME: Setting linknames here is a bad hack.
10852 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10853 # The linker will automatically build a .lib file if we build a DLL.
10854 old_archive_from_new_cmds
='true'
10855 # FIXME: Should let the user specify the lib program.
10856 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
10857 enable_shared_with_static_runtimes
=yes
10862 darwin
* | rhapsody
*)
10865 archive_cmds_need_lc
=no
10867 hardcode_automatic
=yes
10868 hardcode_shlibpath_var
=unsupported
10869 if test yes = "$lt_cv_ld_force_load"; then
10870 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\"`'
10873 whole_archive_flag_spec
=''
10875 link_all_deplibs
=yes
10876 allow_undefined_flag
=$_lt_dar_allow_undefined
10877 case $cc_basename in
10878 ifort
*|nagfor
*) _lt_dar_can_shared
=yes ;;
10879 *) _lt_dar_can_shared
=$GCC ;;
10881 if test yes = "$_lt_dar_can_shared"; then
10882 output_verbose_link_cmd
=func_echo_all
10883 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
10884 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
10885 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"
10886 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"
10895 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10896 hardcode_libdir_flag_spec
='-L$libdir'
10897 hardcode_shlibpath_var
=no
10900 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10901 # support. Future versions do this automatically, but an explicit c++rt0.o
10902 # does not break anything, and helps significantly (at the cost of a little
10905 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10906 hardcode_libdir_flag_spec
='-R$libdir'
10907 hardcode_direct
=yes
10908 hardcode_shlibpath_var
=no
10911 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10913 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10914 hardcode_direct
=yes
10915 hardcode_minus_L
=yes
10916 hardcode_shlibpath_var
=no
10919 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10920 freebsd
* | dragonfly
*)
10921 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10922 hardcode_libdir_flag_spec
='-R$libdir'
10923 hardcode_direct
=yes
10924 hardcode_shlibpath_var
=no
10928 if test yes = "$GCC"; then
10929 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'
10931 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'
10933 hardcode_libdir_flag_spec
='$wl+b $wl$libdir'
10934 hardcode_libdir_separator
=:
10935 hardcode_direct
=yes
10937 # hardcode_minus_L: Not really in the search PATH,
10938 # but as the default location of the library.
10939 hardcode_minus_L
=yes
10940 export_dynamic_flag_spec
='$wl-E'
10944 if test yes,no
= "$GCC,$with_gnu_ld"; then
10945 archive_cmds
='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10947 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10949 if test no
= "$with_gnu_ld"; then
10950 hardcode_libdir_flag_spec
='$wl+b $wl$libdir'
10951 hardcode_libdir_separator
=:
10952 hardcode_direct
=yes
10953 hardcode_direct_absolute
=yes
10954 export_dynamic_flag_spec
='$wl-E'
10955 # hardcode_minus_L: Not really in the search PATH,
10956 # but as the default location of the library.
10957 hardcode_minus_L
=yes
10962 if test yes,no
= "$GCC,$with_gnu_ld"; then
10965 archive_cmds
='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
10968 archive_cmds
='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10971 archive_cmds
='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10977 archive_cmds
='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
10980 archive_cmds
='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10984 # Older versions of the 11.00 compiler do not understand -b yet
10985 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10987 $as_echo_n "checking if $CC understands -b... " >&6; }
10988 if ${lt_cv_prog_compiler__b+:} false
; then :
10989 $as_echo_n "(cached) " >&6
10991 lt_cv_prog_compiler__b
=no
10992 save_LDFLAGS
=$LDFLAGS
10993 LDFLAGS
="$LDFLAGS -b"
10994 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
10995 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
10996 # The linker can only warn and ignore the option if not recognized
10997 # So say no if there are warnings
10998 if test -s conftest.err
; then
10999 # Append any errors to the config.log.
11000 cat conftest.err
1>&5
11001 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
11002 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
11003 if diff conftest.exp conftest.er2
>/dev
/null
; then
11004 lt_cv_prog_compiler__b
=yes
11007 lt_cv_prog_compiler__b
=yes
11011 LDFLAGS
=$save_LDFLAGS
11014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
11015 $as_echo "$lt_cv_prog_compiler__b" >&6; }
11017 if test yes = "$lt_cv_prog_compiler__b"; then
11018 archive_cmds
='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11020 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11026 if test no
= "$with_gnu_ld"; then
11027 hardcode_libdir_flag_spec
='$wl+b $wl$libdir'
11028 hardcode_libdir_separator
=:
11033 hardcode_shlibpath_var
=no
11036 hardcode_direct
=yes
11037 hardcode_direct_absolute
=yes
11038 export_dynamic_flag_spec
='$wl-E'
11040 # hardcode_minus_L: Not really in the search PATH,
11041 # but as the default location of the library.
11042 hardcode_minus_L
=yes
11048 irix5
* | irix6
* | nonstopux
*)
11049 if test yes = "$GCC"; then
11050 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'
11051 # Try to use the -exported_symbol ld option, if it does not
11052 # work, assume that -exports_file does not work either and
11053 # implicitly export all symbols.
11054 # This should be the same for all languages, so no per-tag cache variable.
11055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
11056 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
11057 if ${lt_cv_irix_exported_symbol+:} false
; then :
11058 $as_echo_n "(cached) " >&6
11060 save_LDFLAGS
=$LDFLAGS
11061 LDFLAGS
="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
11062 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11063 /* end confdefs.h. */
11064 int foo (void) { return 0; }
11066 if ac_fn_c_try_link
"$LINENO"; then :
11067 lt_cv_irix_exported_symbol
=yes
11069 lt_cv_irix_exported_symbol
=no
11071 rm -f core conftest.err conftest.
$ac_objext \
11072 conftest
$ac_exeext conftest.
$ac_ext
11073 LDFLAGS
=$save_LDFLAGS
11075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
11076 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
11077 if test yes = "$lt_cv_irix_exported_symbol"; then
11078 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'
11081 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'
11082 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'
11084 archive_cmds_need_lc
='no'
11085 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
11086 hardcode_libdir_separator
=:
11088 link_all_deplibs
=yes
11092 case $cc_basename in
11094 # Fabrice Bellard et al's Tiny C Compiler
11096 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11102 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
11103 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
11105 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
11107 hardcode_libdir_flag_spec
='-R$libdir'
11108 hardcode_direct
=yes
11109 hardcode_shlibpath_var
=no
11113 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11114 hardcode_direct
=yes
11115 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
11116 hardcode_libdir_separator
=:
11117 hardcode_shlibpath_var
=no
11123 openbsd
* | bitrig
*)
11124 if test -f /usr
/libexec
/ld.so
; then
11125 hardcode_direct
=yes
11126 hardcode_shlibpath_var
=no
11127 hardcode_direct_absolute
=yes
11128 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
11129 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11130 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
11131 hardcode_libdir_flag_spec
='$wl-rpath,$libdir'
11132 export_dynamic_flag_spec
='$wl-E'
11134 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11135 hardcode_libdir_flag_spec
='$wl-rpath,$libdir'
11143 hardcode_libdir_flag_spec
='-L$libdir'
11144 hardcode_minus_L
=yes
11145 allow_undefined_flag
=unsupported
11147 archive_cmds
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
11148 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
11149 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
11150 $ECHO EXPORTS >> $output_objdir/$libname.def~
11151 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
11152 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
11153 emximp -o $lib $output_objdir/$libname.def'
11154 archive_expsym_cmds
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
11155 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
11156 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
11157 $ECHO EXPORTS >> $output_objdir/$libname.def~
11158 prefix_cmds="$SED"~
11159 if test EXPORTS = "`$SED 1q $export_symbols`"; then
11160 prefix_cmds="$prefix_cmds -e 1d";
11162 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
11163 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
11164 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
11165 emximp -o $lib $output_objdir/$libname.def'
11166 old_archive_From_new_cmds
='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
11167 enable_shared_with_static_runtimes
=yes
11171 if test yes = "$GCC"; then
11172 allow_undefined_flag
=' $wl-expect_unresolved $wl\*'
11173 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'
11175 allow_undefined_flag
=' -expect_unresolved \*'
11176 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'
11178 archive_cmds_need_lc
='no'
11179 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
11180 hardcode_libdir_separator
=:
11183 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
11184 if test yes = "$GCC"; then
11185 allow_undefined_flag
=' $wl-expect_unresolved $wl\*'
11186 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'
11187 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
11189 allow_undefined_flag
=' -expect_unresolved \*'
11190 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'
11191 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~
11192 $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'
11194 # Both c and cxx compiler support -rpath directly
11195 hardcode_libdir_flag_spec
='-rpath $libdir'
11197 archive_cmds_need_lc
='no'
11198 hardcode_libdir_separator
=:
11202 no_undefined_flag
=' -z defs'
11203 if test yes = "$GCC"; then
11205 archive_cmds
='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
11206 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11207 $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'
11209 case `$CC -V 2>&1` in
11212 archive_cmds
='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
11213 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11214 $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
11218 archive_cmds
='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
11219 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11220 $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
11224 hardcode_libdir_flag_spec
='-R$libdir'
11225 hardcode_shlibpath_var
=no
11227 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
11229 # The compiler driver will combine and reorder linker options,
11230 # but understands '-z linker_flag'. GCC discards it without '$wl',
11231 # but is careful enough not to reorder.
11232 # Supported since Solaris 2.6 (maybe 2.5.1?)
11233 if test yes = "$GCC"; then
11234 whole_archive_flag_spec
='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
11236 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
11240 link_all_deplibs
=yes
11244 if test sequent
= "$host_vendor"; then
11245 # Use $CC to link under sequent, because it throws in some extra .o
11246 # files that make .init and .fini sections work.
11247 archive_cmds
='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
11249 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
11251 hardcode_libdir_flag_spec
='-L$libdir'
11252 hardcode_direct
=yes
11253 hardcode_minus_L
=yes
11254 hardcode_shlibpath_var
=no
11258 case $host_vendor in
11260 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11261 hardcode_direct
=yes # is this really true???
11264 ## LD is ld it makes a PLAMLIB
11265 ## CC just makes a GrossModule.
11266 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
11267 reload_cmds
='$CC -r -o $output$reload_objs'
11271 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11272 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
11275 runpath_var
='LD_RUN_PATH'
11276 hardcode_shlibpath_var
=no
11280 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11281 hardcode_shlibpath_var
=no
11282 export_dynamic_flag_spec
='-Bexport'
11286 if test -d /usr
/nec
; then
11287 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11288 hardcode_shlibpath_var
=no
11289 runpath_var
=LD_RUN_PATH
11290 hardcode_runpath_var
=yes
11295 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
11296 no_undefined_flag
='$wl-z,text'
11297 archive_cmds_need_lc
=no
11298 hardcode_shlibpath_var
=no
11299 runpath_var
='LD_RUN_PATH'
11301 if test yes = "$GCC"; then
11302 archive_cmds
='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11303 archive_expsym_cmds
='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11305 archive_cmds
='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11306 archive_expsym_cmds
='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11310 sysv5
* | sco3.2v5
* | sco5v6
*)
11311 # Note: We CANNOT use -z defs as we might desire, because we do not
11312 # link with -lc, and that would cause any symbols used from libc to
11313 # always be unresolved, which means just about no library would
11314 # ever link correctly. If we're not using GNU ld we use -z text
11315 # though, which does catch some bad symbols but isn't as heavy-handed
11317 no_undefined_flag
='$wl-z,text'
11318 allow_undefined_flag
='$wl-z,nodefs'
11319 archive_cmds_need_lc
=no
11320 hardcode_shlibpath_var
=no
11321 hardcode_libdir_flag_spec
='$wl-R,$libdir'
11322 hardcode_libdir_separator
=':'
11323 link_all_deplibs
=yes
11324 export_dynamic_flag_spec
='$wl-Bexport'
11325 runpath_var
='LD_RUN_PATH'
11327 if test yes = "$GCC"; then
11328 archive_cmds
='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11329 archive_expsym_cmds
='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11331 archive_cmds
='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11332 archive_expsym_cmds
='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11337 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11338 hardcode_libdir_flag_spec
='-L$libdir'
11339 hardcode_shlibpath_var
=no
11347 if test sni
= "$host_vendor"; then
11349 sysv4
| sysv4.2uw2
* | sysv4.3
* | sysv5
*)
11350 export_dynamic_flag_spec
='$wl-Blargedynsym'
11356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
11357 $as_echo "$ld_shlibs" >&6; }
11358 test no
= "$ld_shlibs" && can_build_shared
=no
11360 with_gnu_ld
=$with_gnu_ld
11377 # Do we need to explicitly link libc?
11379 case "x$archive_cmds_need_lc" in
11381 # Assume -lc should be added
11382 archive_cmds_need_lc
=yes
11384 if test yes,yes = "$GCC,$enable_shared"; then
11385 case $archive_cmds in
11387 # FIXME: we may have to deal with multi-command sequences.
11390 # Test whether the compiler implicitly links with -lc since on some
11391 # systems, -lgcc has to come before -lc. If gcc already passes -lc
11392 # to ld, don't add -lc before -lgcc.
11393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
11394 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
11395 if ${lt_cv_archive_cmds_need_lc+:} false
; then :
11396 $as_echo_n "(cached) " >&6
11399 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
11401 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
11402 (eval $ac_compile) 2>&5
11404 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11405 test $ac_status = 0; } 2>conftest.err
; then
11408 libobjs
=conftest.
$ac_objext
11410 wl
=$lt_prog_compiler_wl
11411 pic_flag
=$lt_prog_compiler_pic
11417 lt_save_allow_undefined_flag
=$allow_undefined_flag
11418 allow_undefined_flag
=
11419 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
11420 (eval $archive_cmds 2\
>\
&1 \
| $GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
11422 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11423 test $ac_status = 0; }
11425 lt_cv_archive_cmds_need_lc
=no
11427 lt_cv_archive_cmds_need_lc
=yes
11429 allow_undefined_flag
=$lt_save_allow_undefined_flag
11431 cat conftest.err
1>&5
11436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
11437 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
11438 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
11596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11597 $as_echo_n "checking dynamic linker characteristics... " >&6; }
11599 if test yes = "$GCC"; then
11601 darwin
*) lt_awk_arg
='/^libraries:/,/LR/' ;;
11602 *) lt_awk_arg
='/^libraries:/' ;;
11605 mingw
* | cegcc
*) lt_sed_strip_eq
='s|=\([A-Za-z]:\)|\1|g' ;;
11606 *) lt_sed_strip_eq
='s|=/|/|g' ;;
11608 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11609 case $lt_search_path_spec in
11611 # if the path contains ";" then we assume it to be the separator
11612 # otherwise default to the standard path separator (i.e. ":") - it is
11613 # assumed that no part of a normal pathname contains ";" but that should
11614 # okay in the real world where ";" in dirpaths is itself problematic.
11615 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11618 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11621 # Ok, now we have the path, separated by spaces, we can step through it
11622 # and add multilib dir if necessary...
11623 lt_tmp_lt_search_path_spec
=
11624 lt_multi_os_dir
=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11625 # ...but if some path component already ends with the multilib dir we assume
11626 # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
11627 case "$lt_multi_os_dir; $lt_search_path_spec " in
11628 "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
11632 for lt_sys_path
in $lt_search_path_spec; do
11633 if test -d "$lt_sys_path$lt_multi_os_dir"; then
11634 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
11635 elif test -n "$lt_multi_os_dir"; then
11636 test -d "$lt_sys_path" && \
11637 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
11640 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11641 BEGIN {RS = " "; FS = "/|\n";} {
11644 for (lt_i = NF; lt_i > 0; lt_i--) {
11645 if ($lt_i != "" && $lt_i != ".") {
11646 if ($lt_i == "..") {
11649 if (lt_count == 0) {
11650 lt_foo = "/" $lt_i lt_foo;
11657 if (lt_foo != "") { lt_freq[lt_foo]++; }
11658 if (lt_freq[lt_foo] == 1) { print lt_foo; }
11660 # AWK program above erroneously prepends '/' to C:/dos/paths
11663 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
11664 $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
11666 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11668 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
11670 library_names_spec
=
11671 libname_spec
='lib$name'
11675 postuninstall_cmds
=
11679 shlibpath_overrides_runpath
=unknown
11681 dynamic_linker
="$host_os ld.so"
11682 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
11683 need_lib_prefix
=unknown
11684 hardcode_into_libs
=no
11686 # when you set need_version to no, make sure it does not cause -set_version
11687 # flags to be left without arguments
11688 need_version
=unknown
11694 version_type
=linux
# correct to gnu/linux during the next big refactor
11695 library_names_spec
='$libname$release$shared_ext$versuffix $libname.a'
11696 shlibpath_var
=LIBPATH
11698 # AIX 3 has no versioning support, so we append a major version to the name.
11699 soname_spec
='$libname$release$shared_ext$major'
11703 version_type
=linux
# correct to gnu/linux during the next big refactor
11706 hardcode_into_libs
=yes
11707 if test ia64
= "$host_cpu"; then
11708 # AIX 5 supports IA64
11709 library_names_spec
='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
11710 shlibpath_var
=LD_LIBRARY_PATH
11712 # With GCC up to 2.95.x, collect2 would create an import file
11713 # for dependence libraries. The import file would start with
11714 # the line '#! .'. This would cause the generated library to
11715 # depend on '.', always an invalid library. This was fixed in
11716 # development snapshots of GCC prior to 3.0.
11718 aix4
| aix4.
[01] | aix4.
[01].
*)
11719 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11721 echo '#endif'; } | $CC -E - | $GREP yes > /dev
/null
; then
11724 can_build_shared
=no
11728 # Using Import Files as archive members, it is possible to support
11729 # filename-based versioning of shared library archives on AIX. While
11730 # this would work for both with and without runtime linking, it will
11731 # prevent static linking of such archives. So we do filename-based
11732 # shared library versioning with .so extension only, which is used
11733 # when both runtime linking and shared linking is enabled.
11734 # Unfortunately, runtime linking may impact performance, so we do
11735 # not want this to be the default eventually. Also, we use the
11736 # versioned .so libs for executables only if there is the -brtl
11737 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
11738 # To allow for filename-based versioning support, we need to create
11739 # libNAME.so.V as an archive file, containing:
11740 # *) an Import File, referring to the versioned filename of the
11741 # archive as well as the shared archive member, telling the
11742 # bitwidth (32 or 64) of that shared object, and providing the
11743 # list of exported symbols of that shared object, eventually
11744 # decorated with the 'weak' keyword
11745 # *) the shared object with the F_LOADONLY flag set, to really avoid
11746 # it being seen by the linker.
11747 # At run time we better use the real file rather than another symlink,
11748 # but for link time we create the symlink libNAME.so -> libNAME.so.V
11750 case $with_aix_soname,$aix_use_runtimelinking in
11751 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
11752 # soname into executable. Probably we can add versioning support to
11753 # collect2, so additional links can be useful in future.
11754 aix
,yes) # traditional libtool
11755 dynamic_linker
='AIX unversionable lib.so'
11756 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11757 # instead of lib<name>.a to let people know that these are not
11758 # typical AIX shared libraries.
11759 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11761 aix
,no
) # traditional AIX only
11762 dynamic_linker
='AIX lib.a(lib.so.V)'
11763 # We preserve .a as extension for shared libraries through AIX4.2
11764 # and later when we are not doing run time linking.
11765 library_names_spec
='$libname$release.a $libname.a'
11766 soname_spec
='$libname$release$shared_ext$major'
11768 svr4
,*) # full svr4 only
11769 dynamic_linker
="AIX lib.so.V($shared_archive_member_spec.o)"
11770 library_names_spec
='$libname$release$shared_ext$major $libname$shared_ext'
11771 # We do not specify a path in Import Files, so LIBPATH fires.
11772 shlibpath_overrides_runpath
=yes
11774 *,yes) # both, prefer svr4
11775 dynamic_linker
="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
11776 library_names_spec
='$libname$release$shared_ext$major $libname$shared_ext'
11777 # unpreferred sharedlib libNAME.a needs extra handling
11778 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"'
11779 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"'
11780 # We do not specify a path in Import Files, so LIBPATH fires.
11781 shlibpath_overrides_runpath
=yes
11783 *,no
) # both, prefer aix
11784 dynamic_linker
="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
11785 library_names_spec
='$libname$release.a $libname.a'
11786 soname_spec
='$libname$release$shared_ext$major'
11787 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
11788 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)'
11789 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"'
11792 shlibpath_var
=LIBPATH
11799 # Since July 2007 AmigaOS4 officially supports .so libraries.
11800 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11801 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11804 library_names_spec
='$libname.ixlibrary $libname.a'
11805 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11806 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'
11812 library_names_spec
='$libname$shared_ext'
11813 dynamic_linker
="$host_os ld.so"
11814 shlibpath_var
=LIBRARY_PATH
11818 version_type
=linux
# correct to gnu/linux during the next big refactor
11820 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11821 soname_spec
='$libname$release$shared_ext$major'
11822 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
11823 shlibpath_var
=LD_LIBRARY_PATH
11824 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11825 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
11826 # the default ld.so.conf also contains /usr/contrib/lib and
11827 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11828 # libtool to hard-code these into programs
11831 cygwin
* | mingw
* | pw32
* | cegcc
*)
11832 version_type
=windows
11837 case $GCC,$cc_basename in
11840 library_names_spec
='$libname.dll.a'
11841 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11842 postinstall_cmds
='base_file=`basename \$file`~
11843 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
11844 dldir=$destdir/`dirname \$dlpath`~
11845 test -d \$dldir || mkdir -p \$dldir~
11846 $install_prog $dir/$dlname \$dldir/$dlname~
11847 chmod a+x \$dldir/$dlname~
11848 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11849 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11851 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11852 dlpath=$dir/\$dldll~
11854 shlibpath_overrides_runpath
=yes
11858 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11859 soname_spec
='`echo $libname | sed -e 's
/^lib
/cyg
/'``echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
11861 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
11864 # MinGW DLLs use traditional 'lib' prefix
11865 soname_spec
='$libname`echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
11868 # pw32 DLLs use 'pw' prefix rather than 'lib'
11869 library_names_spec
='`echo $libname | sed -e 's
/^lib
/pw
/'``echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
11872 dynamic_linker
='Win32 ld.exe'
11877 libname_spec
='$name'
11878 soname_spec
='$libname`echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
11879 library_names_spec
='$libname.dll.lib'
11883 sys_lib_search_path_spec
=
11886 for lt_path
in $LIB
11889 # Let DOS variable expansion print the short 8.3 style file name.
11890 lt_path
=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
11891 sys_lib_search_path_spec
="$sys_lib_search_path_spec $lt_path"
11894 # Convert to MSYS style.
11895 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
11898 # Convert to unix form, then to dos form, then back to unix form
11899 # but this time dos style (no spaces!) so that the unix form looks
11900 # like /cygdrive/c/PROGRA~1:/cygdr...
11901 sys_lib_search_path_spec
=`cygpath --path --unix "$LIB"`
11902 sys_lib_search_path_spec
=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
11903 sys_lib_search_path_spec
=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11906 sys_lib_search_path_spec
=$LIB
11907 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev
/null
; then
11908 # It is most probably a Windows format PATH.
11909 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11911 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11913 # FIXME: find the short name or the path components, as spaces are
11914 # common. (e.g. "Program Files" -> "PROGRA~1")
11918 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11919 postinstall_cmds
='base_file=`basename \$file`~
11920 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
11921 dldir=$destdir/`dirname \$dlpath`~
11922 test -d \$dldir || mkdir -p \$dldir~
11923 $install_prog $dir/$dlname \$dldir/$dlname'
11924 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11925 dlpath=$dir/\$dldll~
11927 shlibpath_overrides_runpath
=yes
11928 dynamic_linker
='Win32 link.exe'
11932 # Assume MSVC wrapper
11933 library_names_spec
='$libname`echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext $libname.lib'
11934 dynamic_linker
='Win32 ld.exe'
11937 # FIXME: first we should search . and the directory the executable is in
11941 darwin
* | rhapsody
*)
11942 dynamic_linker
="$host_os dyld"
11943 version_type
=darwin
11946 library_names_spec
='$libname$release$major$shared_ext $libname$shared_ext'
11947 soname_spec
='$libname$release$major$shared_ext'
11948 shlibpath_overrides_runpath
=yes
11949 shlibpath_var
=DYLD_LIBRARY_PATH
11950 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
11952 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
11953 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
11957 version_type
=linux
# correct to gnu/linux during the next big refactor
11960 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11961 soname_spec
='$libname$release$shared_ext$major'
11962 shlibpath_var
=LD_LIBRARY_PATH
11965 freebsd
* | dragonfly
*)
11966 # DragonFly does not have aout. When/if they implement a new
11967 # versioning mechanism, adjust this.
11968 if test -x /usr
/bin
/objformat
; then
11969 objformat
=`/usr/bin/objformat`
11972 freebsd
[23].
*) objformat
=aout
;;
11973 *) objformat
=elf
;;
11976 version_type
=freebsd
-$objformat
11977 case $version_type in
11979 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11980 soname_spec
='$libname$release$shared_ext$major'
11985 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11989 shlibpath_var
=LD_LIBRARY_PATH
11992 shlibpath_overrides_runpath
=yes
11994 freebsd3.
[01]* | freebsdelf3.
[01]*)
11995 shlibpath_overrides_runpath
=yes
11996 hardcode_into_libs
=yes
11998 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
11999 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
12000 shlibpath_overrides_runpath
=no
12001 hardcode_into_libs
=yes
12003 *) # from 4.6 on, and DragonFly
12004 shlibpath_overrides_runpath
=yes
12005 hardcode_into_libs
=yes
12011 version_type
=linux
# correct to gnu/linux during the next big refactor
12014 dynamic_linker
="$host_os runtime_loader"
12015 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12016 soname_spec
='$libname$release$shared_ext$major'
12017 shlibpath_var
=LIBRARY_PATH
12018 shlibpath_overrides_runpath
=no
12019 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
12020 hardcode_into_libs
=yes
12023 hpux9
* | hpux10
* | hpux11
*)
12024 # Give a soname corresponding to the major version so that dld.sl refuses to
12025 # link against other versions.
12032 hardcode_into_libs
=yes
12033 dynamic_linker
="$host_os dld.so"
12034 shlibpath_var
=LD_LIBRARY_PATH
12035 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
12036 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12037 soname_spec
='$libname$release$shared_ext$major'
12038 if test 32 = "$HPUX_IA64_MODE"; then
12039 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
12040 sys_lib_dlsearch_path_spec
=/usr
/lib
/hpux32
12042 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
12043 sys_lib_dlsearch_path_spec
=/usr
/lib
/hpux64
12048 hardcode_into_libs
=yes
12049 dynamic_linker
="$host_os dld.sl"
12050 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
12051 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
12052 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12053 soname_spec
='$libname$release$shared_ext$major'
12054 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
12055 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
12059 dynamic_linker
="$host_os dld.sl"
12060 shlibpath_var
=SHLIB_PATH
12061 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
12062 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12063 soname_spec
='$libname$release$shared_ext$major'
12066 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
12067 postinstall_cmds
='chmod 555 $lib'
12068 # or fails outright, so override atomically:
12069 install_override_mode
=555
12073 version_type
=linux
# correct to gnu/linux during the next big refactor
12076 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12077 soname_spec
='$libname$release$shared_ext$major'
12078 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
12079 shlibpath_var
=LD_LIBRARY_PATH
12080 shlibpath_overrides_runpath
=no
12081 hardcode_into_libs
=yes
12084 irix5
* | irix6
* | nonstopux
*)
12086 nonstopux
*) version_type
=nonstopux
;;
12088 if test yes = "$lt_cv_prog_gnu_ld"; then
12089 version_type
=linux
# correct to gnu/linux during the next big refactor
12096 soname_spec
='$libname$release$shared_ext$major'
12097 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
12099 irix5
* | nonstopux
*)
12100 libsuff
= shlibsuff
=
12103 case $LD in # libtool.m4 will add one of these switches to LD
12104 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
12105 libsuff
= shlibsuff
= libmagic
=32-bit;;
12106 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
12107 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
12108 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
12109 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
12110 *) libsuff
= shlibsuff
= libmagic
=never
-match;;
12114 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
12115 shlibpath_overrides_runpath
=no
12116 sys_lib_search_path_spec
="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
12117 sys_lib_dlsearch_path_spec
="/usr/lib$libsuff /lib$libsuff"
12118 hardcode_into_libs
=yes
12121 # No shared lib support for Linux oldld, aout, or coff.
12122 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
12127 version_type
=none
# Android doesn't support versioned libraries.
12130 library_names_spec
='$libname$release$shared_ext'
12131 soname_spec
='$libname$release$shared_ext'
12133 shlibpath_var
=LD_LIBRARY_PATH
12134 shlibpath_overrides_runpath
=yes
12136 # This implies no fast_install, which is unacceptable.
12137 # Some rework will be needed to allow for fast_install
12138 # before this can be enabled.
12139 hardcode_into_libs
=yes
12141 dynamic_linker
='Android linker'
12142 # Don't embed -rpath directories since the linker doesn't support them.
12143 hardcode_libdir_flag_spec
='-L$libdir'
12146 # This must be glibc/ELF.
12147 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
12148 version_type
=linux
# correct to gnu/linux during the next big refactor
12151 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12152 soname_spec
='$libname$release$shared_ext$major'
12153 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
12154 shlibpath_var
=LD_LIBRARY_PATH
12155 shlibpath_overrides_runpath
=no
12157 # Some binutils ld are patched to set DT_RUNPATH
12158 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
12159 $as_echo_n "(cached) " >&6
12161 lt_cv_shlibpath_overrides_runpath
=no
12162 save_LDFLAGS
=$LDFLAGS
12163 save_libdir
=$libdir
12164 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
12165 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
12166 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12167 /* end confdefs.h. */
12177 if ac_fn_c_try_link
"$LINENO"; then :
12178 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null
| grep "RUNPATH.*$libdir" >/dev
/null
; then :
12179 lt_cv_shlibpath_overrides_runpath
=yes
12182 rm -f core conftest.err conftest.
$ac_objext \
12183 conftest
$ac_exeext conftest.
$ac_ext
12184 LDFLAGS
=$save_LDFLAGS
12185 libdir
=$save_libdir
12189 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
12191 # This implies no fast_install, which is unacceptable.
12192 # Some rework will be needed to allow for fast_install
12193 # before this can be enabled.
12194 hardcode_into_libs
=yes
12196 # Ideally, we could use ldconfig to report *all* directores which are
12197 # searched for libraries, however this is still not possible. Aside from not
12198 # being certain /sbin/ldconfig is available, command
12199 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
12200 # even though it is searched at run-time. Try to do the best guess by
12201 # appending ld.so.conf contents (and includes) to the search path.
12202 if test -f /etc
/ld.so.conf
; then
12203 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' ' '`
12204 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
12207 # We used to test for /lib/ld.so.1 and disable shared libraries on
12208 # powerpc, because MkLinux only supported shared libraries with the
12209 # GNU dynamic linker. Since this was broken with cross compilers,
12210 # most powerpc-linux boxes support dynamic linking these days and
12211 # people can always --disable-shared, the test was removed, and we
12212 # assume the GNU/Linux dynamic linker is in use.
12213 dynamic_linker
='GNU/Linux ld.so'
12220 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
12221 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12222 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12223 dynamic_linker
='NetBSD (a.out) ld.so'
12225 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12226 soname_spec
='$libname$release$shared_ext$major'
12227 dynamic_linker
='NetBSD ld.elf_so'
12229 shlibpath_var
=LD_LIBRARY_PATH
12230 shlibpath_overrides_runpath
=yes
12231 hardcode_into_libs
=yes
12235 version_type
=linux
# correct to gnu/linux during the next big refactor
12236 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12237 shlibpath_var
=LD_LIBRARY_PATH
12238 shlibpath_overrides_runpath
=yes
12245 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12246 soname_spec
='$libname$release$shared_ext$major'
12247 shlibpath_var
=LD_LIBRARY_PATH
12248 shlibpath_overrides_runpath
=no
12249 hardcode_into_libs
=yes
12250 dynamic_linker
='ldqnx.so'
12253 openbsd
* | bitrig
*)
12255 sys_lib_dlsearch_path_spec
=/usr
/lib
12257 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
12262 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12263 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12264 shlibpath_var
=LD_LIBRARY_PATH
12265 shlibpath_overrides_runpath
=yes
12269 libname_spec
='$name'
12270 version_type
=windows
12274 # OS/2 can only load a DLL with a base name of 8 characters or less.
12275 soname_spec
='`test -n "$os2dllname" && libname="$os2dllname";
12276 v=$($ECHO $release$versuffix | tr -d .-);
12277 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
12278 $ECHO $n$v`$shared_ext'
12279 library_names_spec
='${libname}_dll.$libext'
12280 dynamic_linker
='OS/2 ld.exe'
12281 shlibpath_var
=BEGINLIBPATH
12282 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
12283 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
12284 postinstall_cmds
='base_file=`basename \$file`~
12285 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
12286 dldir=$destdir/`dirname \$dlpath`~
12287 test -d \$dldir || mkdir -p \$dldir~
12288 $install_prog $dir/$dlname \$dldir/$dlname~
12289 chmod a+x \$dldir/$dlname~
12290 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
12291 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
12293 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
12294 dlpath=$dir/\$dldll~
12298 osf3
* | osf4
* | osf5
*)
12302 soname_spec
='$libname$release$shared_ext$major'
12303 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12304 shlibpath_var
=LD_LIBRARY_PATH
12305 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
12306 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
12314 version_type
=linux
# correct to gnu/linux during the next big refactor
12317 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12318 soname_spec
='$libname$release$shared_ext$major'
12319 shlibpath_var
=LD_LIBRARY_PATH
12320 shlibpath_overrides_runpath
=yes
12321 hardcode_into_libs
=yes
12322 # ldd complains unless libraries are executable
12323 postinstall_cmds
='chmod +x $lib'
12328 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12329 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
12330 shlibpath_var
=LD_LIBRARY_PATH
12331 shlibpath_overrides_runpath
=yes
12332 if test yes = "$with_gnu_ld"; then
12339 version_type
=linux
# correct to gnu/linux during the next big refactor
12340 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12341 soname_spec
='$libname$release$shared_ext$major'
12342 shlibpath_var
=LD_LIBRARY_PATH
12343 case $host_vendor in
12345 shlibpath_overrides_runpath
=no
12347 runpath_var
=LD_RUN_PATH
12355 shlibpath_overrides_runpath
=no
12356 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
12362 if test -d /usr
/nec
; then
12363 version_type
=linux
# correct to gnu/linux during the next big refactor
12364 library_names_spec
='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
12365 soname_spec
='$libname$shared_ext.$major'
12366 shlibpath_var
=LD_LIBRARY_PATH
12370 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
12374 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
12375 soname_spec
='$libname$release$shared_ext$major'
12376 shlibpath_var
=LD_LIBRARY_PATH
12377 shlibpath_overrides_runpath
=yes
12378 hardcode_into_libs
=yes
12379 if test yes = "$with_gnu_ld"; then
12380 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
12382 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
12385 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
12389 sys_lib_dlsearch_path_spec
='/usr/lib'
12393 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
12394 version_type
=linux
# correct to gnu/linux during the next big refactor
12397 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12398 shlibpath_var
=LD_LIBRARY_PATH
12399 shlibpath_overrides_runpath
=no
12400 hardcode_into_libs
=yes
12404 version_type
=linux
# correct to gnu/linux during the next big refactor
12405 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12406 soname_spec
='$libname$release$shared_ext$major'
12407 shlibpath_var
=LD_LIBRARY_PATH
12414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
12415 $as_echo "$dynamic_linker" >&6; }
12416 test no
= "$dynamic_linker" && can_build_shared
=no
12418 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
12419 if test yes = "$GCC"; then
12420 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
12423 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
12424 sys_lib_search_path_spec
=$lt_cv_sys_lib_search_path_spec
12427 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
12428 sys_lib_dlsearch_path_spec
=$lt_cv_sys_lib_dlsearch_path_spec
12431 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
12432 configure_time_dlsearch_path
=$sys_lib_dlsearch_path_spec
12434 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
12435 func_munge_path_list sys_lib_dlsearch_path_spec
"$LT_SYS_LIBRARY_PATH"
12437 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
12438 configure_time_lt_sys_library_path
=$LT_SYS_LIBRARY_PATH
12536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
12537 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
12539 if test -n "$hardcode_libdir_flag_spec" ||
12540 test -n "$runpath_var" ||
12541 test yes = "$hardcode_automatic"; then
12543 # We can hardcode non-existent directories.
12544 if test no
!= "$hardcode_direct" &&
12545 # If the only mechanism to avoid hardcoding is shlibpath_var, we
12546 # have to relink, otherwise we might link with an installed library
12547 # when we should be linking with a yet-to-be-installed one
12548 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
12549 test no
!= "$hardcode_minus_L"; then
12550 # Linking always hardcodes the temporary library directory.
12551 hardcode_action
=relink
12553 # We can link without hardcoding, and we can hardcode nonexisting dirs.
12554 hardcode_action
=immediate
12557 # We cannot hardcode anything, or else we can only hardcode existing
12559 hardcode_action
=unsupported
12561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
12562 $as_echo "$hardcode_action" >&6; }
12564 if test relink
= "$hardcode_action" ||
12565 test yes = "$inherit_rpath"; then
12566 # Fast installation is not supported
12567 enable_fast_install
=no
12568 elif test yes = "$shlibpath_overrides_runpath" ||
12569 test no
= "$enable_shared"; then
12570 # Fast installation is not necessary
12571 enable_fast_install
=needless
12579 if test yes != "$enable_dlopen"; then
12580 enable_dlopen
=unknown
12581 enable_dlopen_self
=unknown
12582 enable_dlopen_self_static
=unknown
12589 lt_cv_dlopen
=load_add_on
12591 lt_cv_dlopen_self
=yes
12594 mingw
* | pw32
* | cegcc
*)
12595 lt_cv_dlopen
=LoadLibrary
12600 lt_cv_dlopen
=dlopen
12605 # if libdl is installed we need to link against it
12606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12607 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12608 if ${ac_cv_lib_dl_dlopen+:} false
; then :
12609 $as_echo_n "(cached) " >&6
12611 ac_check_lib_save_LIBS
=$LIBS
12613 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12614 /* end confdefs.h. */
12616 /* Override any GCC internal prototype to avoid an error.
12617 Use char because int might match the return type of a GCC
12618 builtin and then its argument prototype would still apply. */
12631 if ac_fn_c_try_link
"$LINENO"; then :
12632 ac_cv_lib_dl_dlopen
=yes
12634 ac_cv_lib_dl_dlopen
=no
12636 rm -f core conftest.err conftest.
$ac_objext \
12637 conftest
$ac_exeext conftest.
$ac_ext
12638 LIBS
=$ac_check_lib_save_LIBS
12640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12641 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12642 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
12643 lt_cv_dlopen
=dlopen lt_cv_dlopen_libs
=-ldl
12648 lt_cv_dlopen_self
=yes
12655 # Don't try to run any link tests for TPF. We know it's impossible
12656 # because TPF is a cross-compiler, and we know how we open DSOs.
12657 lt_cv_dlopen
=dlopen
12659 lt_cv_dlopen_self
=no
12663 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
12664 if test "x$ac_cv_func_shl_load" = xyes
; then :
12665 lt_cv_dlopen
=shl_load
12667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12668 $as_echo_n "checking for shl_load in -ldld... " >&6; }
12669 if ${ac_cv_lib_dld_shl_load+:} false
; then :
12670 $as_echo_n "(cached) " >&6
12672 ac_check_lib_save_LIBS
=$LIBS
12674 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12675 /* end confdefs.h. */
12677 /* Override any GCC internal prototype to avoid an error.
12678 Use char because int might match the return type of a GCC
12679 builtin and then its argument prototype would still apply. */
12687 return shl_load ();
12692 if ac_fn_c_try_link
"$LINENO"; then :
12693 ac_cv_lib_dld_shl_load
=yes
12695 ac_cv_lib_dld_shl_load
=no
12697 rm -f core conftest.err conftest.
$ac_objext \
12698 conftest
$ac_exeext conftest.
$ac_ext
12699 LIBS
=$ac_check_lib_save_LIBS
12701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12702 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12703 if test "x$ac_cv_lib_dld_shl_load" = xyes
; then :
12704 lt_cv_dlopen
=shl_load lt_cv_dlopen_libs
=-ldld
12706 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
12707 if test "x$ac_cv_func_dlopen" = xyes
; then :
12708 lt_cv_dlopen
=dlopen
12710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12711 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12712 if ${ac_cv_lib_dl_dlopen+:} false
; then :
12713 $as_echo_n "(cached) " >&6
12715 ac_check_lib_save_LIBS
=$LIBS
12717 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12718 /* end confdefs.h. */
12720 /* Override any GCC internal prototype to avoid an error.
12721 Use char because int might match the return type of a GCC
12722 builtin and then its argument prototype would still apply. */
12735 if ac_fn_c_try_link
"$LINENO"; then :
12736 ac_cv_lib_dl_dlopen
=yes
12738 ac_cv_lib_dl_dlopen
=no
12740 rm -f core conftest.err conftest.
$ac_objext \
12741 conftest
$ac_exeext conftest.
$ac_ext
12742 LIBS
=$ac_check_lib_save_LIBS
12744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12745 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12746 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
12747 lt_cv_dlopen
=dlopen lt_cv_dlopen_libs
=-ldl
12749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12750 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12751 if ${ac_cv_lib_svld_dlopen+:} false
; then :
12752 $as_echo_n "(cached) " >&6
12754 ac_check_lib_save_LIBS
=$LIBS
12755 LIBS
="-lsvld $LIBS"
12756 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12757 /* end confdefs.h. */
12759 /* Override any GCC internal prototype to avoid an error.
12760 Use char because int might match the return type of a GCC
12761 builtin and then its argument prototype would still apply. */
12774 if ac_fn_c_try_link
"$LINENO"; then :
12775 ac_cv_lib_svld_dlopen
=yes
12777 ac_cv_lib_svld_dlopen
=no
12779 rm -f core conftest.err conftest.
$ac_objext \
12780 conftest
$ac_exeext conftest.
$ac_ext
12781 LIBS
=$ac_check_lib_save_LIBS
12783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12784 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12785 if test "x$ac_cv_lib_svld_dlopen" = xyes
; then :
12786 lt_cv_dlopen
=dlopen lt_cv_dlopen_libs
=-lsvld
12788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12789 $as_echo_n "checking for dld_link in -ldld... " >&6; }
12790 if ${ac_cv_lib_dld_dld_link+:} false
; then :
12791 $as_echo_n "(cached) " >&6
12793 ac_check_lib_save_LIBS
=$LIBS
12795 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12796 /* end confdefs.h. */
12798 /* Override any GCC internal prototype to avoid an error.
12799 Use char because int might match the return type of a GCC
12800 builtin and then its argument prototype would still apply. */
12808 return dld_link ();
12813 if ac_fn_c_try_link
"$LINENO"; then :
12814 ac_cv_lib_dld_dld_link
=yes
12816 ac_cv_lib_dld_dld_link
=no
12818 rm -f core conftest.err conftest.
$ac_objext \
12819 conftest
$ac_exeext conftest.
$ac_ext
12820 LIBS
=$ac_check_lib_save_LIBS
12822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12823 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12824 if test "x$ac_cv_lib_dld_dld_link" = xyes
; then :
12825 lt_cv_dlopen
=dld_link lt_cv_dlopen_libs
=-ldld
12846 if test no
= "$lt_cv_dlopen"; then
12852 case $lt_cv_dlopen in
12854 save_CPPFLAGS
=$CPPFLAGS
12855 test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
12857 save_LDFLAGS
=$LDFLAGS
12858 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
12861 LIBS
="$lt_cv_dlopen_libs $LIBS"
12863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12864 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12865 if ${lt_cv_dlopen_self+:} false
; then :
12866 $as_echo_n "(cached) " >&6
12868 if test yes = "$cross_compiling"; then :
12869 lt_cv_dlopen_self
=cross
12871 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12872 lt_status
=$lt_dlunknown
12873 cat > conftest.
$ac_ext <<_LT_EOF
12874 #line $LINENO "configure"
12875 #include "confdefs.h"
12884 # define LT_DLGLOBAL RTLD_GLOBAL
12887 # define LT_DLGLOBAL DL_GLOBAL
12889 # define LT_DLGLOBAL 0
12893 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12894 find out it does not work in some platform. */
12895 #ifndef LT_DLLAZY_OR_NOW
12897 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12900 # define LT_DLLAZY_OR_NOW DL_LAZY
12903 # define LT_DLLAZY_OR_NOW RTLD_NOW
12906 # define LT_DLLAZY_OR_NOW DL_NOW
12908 # define LT_DLLAZY_OR_NOW 0
12915 /* When -fvisibility=hidden is used, assume the code has been annotated
12916 correspondingly for the symbols needed. */
12917 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12918 int fnord () __attribute__((visibility("default")));
12921 int fnord () { return 42; }
12924 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12925 int status = $lt_dlunknown;
12929 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12932 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12933 else puts (dlerror ());
12935 /* dlclose (self); */
12943 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12944 (eval $ac_link) 2>&5
12946 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12947 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev
/null
; then
12948 (.
/conftest
; exit; ) >&5 2>/dev
/null
12950 case x
$lt_status in
12951 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
12952 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
12953 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
12956 # compilation failed
12957 lt_cv_dlopen_self
=no
12964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12965 $as_echo "$lt_cv_dlopen_self" >&6; }
12967 if test yes = "$lt_cv_dlopen_self"; then
12968 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
12969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12970 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12971 if ${lt_cv_dlopen_self_static+:} false
; then :
12972 $as_echo_n "(cached) " >&6
12974 if test yes = "$cross_compiling"; then :
12975 lt_cv_dlopen_self_static
=cross
12977 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12978 lt_status
=$lt_dlunknown
12979 cat > conftest.
$ac_ext <<_LT_EOF
12980 #line $LINENO "configure"
12981 #include "confdefs.h"
12990 # define LT_DLGLOBAL RTLD_GLOBAL
12993 # define LT_DLGLOBAL DL_GLOBAL
12995 # define LT_DLGLOBAL 0
12999 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
13000 find out it does not work in some platform. */
13001 #ifndef LT_DLLAZY_OR_NOW
13003 # define LT_DLLAZY_OR_NOW RTLD_LAZY
13006 # define LT_DLLAZY_OR_NOW DL_LAZY
13009 # define LT_DLLAZY_OR_NOW RTLD_NOW
13012 # define LT_DLLAZY_OR_NOW DL_NOW
13014 # define LT_DLLAZY_OR_NOW 0
13021 /* When -fvisibility=hidden is used, assume the code has been annotated
13022 correspondingly for the symbols needed. */
13023 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
13024 int fnord () __attribute__((visibility("default")));
13027 int fnord () { return 42; }
13030 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13031 int status = $lt_dlunknown;
13035 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
13038 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
13039 else puts (dlerror ());
13041 /* dlclose (self); */
13049 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
13050 (eval $ac_link) 2>&5
13052 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13053 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev
/null
; then
13054 (.
/conftest
; exit; ) >&5 2>/dev
/null
13056 case x
$lt_status in
13057 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
13058 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
13059 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
13062 # compilation failed
13063 lt_cv_dlopen_self_static
=no
13070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
13071 $as_echo "$lt_cv_dlopen_self_static" >&6; }
13074 CPPFLAGS
=$save_CPPFLAGS
13075 LDFLAGS
=$save_LDFLAGS
13080 case $lt_cv_dlopen_self in
13081 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
13082 *) enable_dlopen_self
=unknown
;;
13085 case $lt_cv_dlopen_self_static in
13086 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
13087 *) enable_dlopen_self_static
=unknown
;;
13109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
13110 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
13111 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev
/null
; then
13112 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
13113 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
13114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13115 $as_echo "yes" >&6; }
13117 # FIXME - insert some real tests, host_os isn't really good enough
13120 if test -n "$STRIP"; then
13121 striplib
="$STRIP -x"
13122 old_striplib
="$STRIP -S"
13123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13124 $as_echo "yes" >&6; }
13126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13127 $as_echo "no" >&6; }
13131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13132 $as_echo "no" >&6; }
13148 # Report what library types will actually be built
13149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
13150 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
13151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
13152 $as_echo "$can_build_shared" >&6; }
13154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
13155 $as_echo_n "checking whether to build shared libraries... " >&6; }
13156 test no
= "$can_build_shared" && enable_shared
=no
13158 # On AIX, shared libraries and static libraries use the same namespace, and
13159 # are all built from PIC.
13162 test yes = "$enable_shared" && enable_static
=no
13163 if test -n "$RANLIB"; then
13164 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
13165 postinstall_cmds
='$RANLIB $lib'
13170 if test ia64
!= "$host_cpu"; then
13171 case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
13172 yes,aix
,yes) ;; # shared object as lib.so file only
13173 yes,svr4
,*) ;; # shared object as lib.so archive member only
13174 yes,*) enable_static
=no
;; # shared object in lib.a archive as well
13179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
13180 $as_echo "$enable_shared" >&6; }
13182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
13183 $as_echo_n "checking whether to build static libraries... " >&6; }
13184 # Make sure either enable_shared or enable_static is yes.
13185 test yes = "$enable_shared" || enable_static
=yes
13186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
13187 $as_echo "$enable_static" >&6; }
13194 ac_cpp
='$CPP $CPPFLAGS'
13195 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13196 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13197 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13201 if test -n "$CXX" && ( test no
!= "$CXX" &&
13202 ( (test g
++ = "$CXX" && `g++ -v >/dev/null 2>&1` ) ||
13203 (test g
++ != "$CXX"))); then
13205 ac_cpp
='$CXXCPP $CPPFLAGS'
13206 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13207 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13208 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
13210 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
13211 if test -z "$CXXCPP"; then
13212 if ${ac_cv_prog_CXXCPP+:} false
; then :
13213 $as_echo_n "(cached) " >&6
13215 # Double quotes because CXXCPP needs to be expanded
13216 for CXXCPP
in "$CXX -E" "/lib/cpp"
13218 ac_preproc_ok
=false
13219 for ac_cxx_preproc_warn_flag
in '' yes
13221 # Use a header file that comes with gcc, so configuring glibc
13222 # with a fresh cross-compiler works.
13223 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13224 # <limits.h> exists even on freestanding compilers.
13225 # On the NeXT, cc -E runs the code through the compiler's parser,
13226 # not just through cpp. "Syntax error" is here to catch this case.
13227 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13228 /* end confdefs.h. */
13230 # include <limits.h>
13232 # include <assert.h>
13236 if ac_fn_cxx_try_cpp
"$LINENO"; then :
13239 # Broken: fails on valid input.
13242 rm -f conftest.err conftest.i conftest.
$ac_ext
13244 # OK, works on sane cases. Now check whether nonexistent headers
13245 # can be detected and how.
13246 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13247 /* end confdefs.h. */
13248 #include <ac_nonexistent.h>
13250 if ac_fn_cxx_try_cpp
"$LINENO"; then :
13251 # Broken: success on invalid input.
13254 # Passes both tests.
13258 rm -f conftest.err conftest.i conftest.
$ac_ext
13261 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13262 rm -f conftest.i conftest.err conftest.
$ac_ext
13263 if $ac_preproc_ok; then :
13268 ac_cv_prog_CXXCPP
=$CXXCPP
13271 CXXCPP
=$ac_cv_prog_CXXCPP
13273 ac_cv_prog_CXXCPP
=$CXXCPP
13275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
13276 $as_echo "$CXXCPP" >&6; }
13277 ac_preproc_ok
=false
13278 for ac_cxx_preproc_warn_flag
in '' yes
13280 # Use a header file that comes with gcc, so configuring glibc
13281 # with a fresh cross-compiler works.
13282 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13283 # <limits.h> exists even on freestanding compilers.
13284 # On the NeXT, cc -E runs the code through the compiler's parser,
13285 # not just through cpp. "Syntax error" is here to catch this case.
13286 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13287 /* end confdefs.h. */
13289 # include <limits.h>
13291 # include <assert.h>
13295 if ac_fn_cxx_try_cpp
"$LINENO"; then :
13298 # Broken: fails on valid input.
13301 rm -f conftest.err conftest.i conftest.
$ac_ext
13303 # OK, works on sane cases. Now check whether nonexistent headers
13304 # can be detected and how.
13305 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13306 /* end confdefs.h. */
13307 #include <ac_nonexistent.h>
13309 if ac_fn_cxx_try_cpp
"$LINENO"; then :
13310 # Broken: success on invalid input.
13313 # Passes both tests.
13317 rm -f conftest.err conftest.i conftest.
$ac_ext
13320 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13321 rm -f conftest.i conftest.err conftest.
$ac_ext
13322 if $ac_preproc_ok; then :
13325 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13326 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13327 as_fn_error $?
"C++ preprocessor \"$CXXCPP\" fails sanity check
13328 See \`config.log' for more details" "$LINENO" 5; }
13332 ac_cpp
='$CPP $CPPFLAGS'
13333 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13334 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13335 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13338 _lt_caught_CXX_error
=yes
13342 ac_cpp
='$CXXCPP $CPPFLAGS'
13343 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13344 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13345 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13347 archive_cmds_need_lc_CXX
=no
13348 allow_undefined_flag_CXX
=
13349 always_export_symbols_CXX
=no
13350 archive_expsym_cmds_CXX
=
13351 compiler_needs_object_CXX
=no
13352 export_dynamic_flag_spec_CXX
=
13353 hardcode_direct_CXX
=no
13354 hardcode_direct_absolute_CXX
=no
13355 hardcode_libdir_flag_spec_CXX
=
13356 hardcode_libdir_separator_CXX
=
13357 hardcode_minus_L_CXX
=no
13358 hardcode_shlibpath_var_CXX
=unsupported
13359 hardcode_automatic_CXX
=no
13360 inherit_rpath_CXX
=no
13362 module_expsym_cmds_CXX
=
13363 link_all_deplibs_CXX
=unknown
13364 old_archive_cmds_CXX
=$old_archive_cmds
13365 reload_flag_CXX
=$reload_flag
13366 reload_cmds_CXX
=$reload_cmds
13367 no_undefined_flag_CXX
=
13368 whole_archive_flag_spec_CXX
=
13369 enable_shared_with_static_runtimes_CXX
=no
13371 # Source file extension for C++ test sources.
13374 # Object file extension for compiled C++ test sources.
13378 # No sense in running all these tests if we already determined that
13379 # the CXX compiler isn't working. Some variables (like enable_shared)
13380 # are currently assumed to apply to all compilers on this platform,
13381 # and will be corrupted by setting them based on a non-working compiler.
13382 if test yes != "$_lt_caught_CXX_error"; then
13383 # Code to be used in simple compile tests
13384 lt_simple_compile_test_code
="int some_variable = 0;"
13386 # Code to be used in simple link tests
13387 lt_simple_link_test_code
='int main(int, char *[]) { return(0); }'
13389 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
13396 # If no C compiler was specified, use CC.
13399 # If no C compiler flags were specified, use CFLAGS.
13400 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
13402 # Allow CC to be a program name with arguments.
13406 # save warnings/boilerplate of simple test code
13407 ac_outfile
=conftest.
$ac_objext
13408 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
13409 eval "$ac_compile" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
13410 _lt_compiler_boilerplate
=`cat conftest.err`
13413 ac_outfile
=conftest.
$ac_objext
13414 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
13415 eval "$ac_link" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
13416 _lt_linker_boilerplate
=`cat conftest.err`
13420 # Allow CC to be a program name with arguments.
13422 lt_save_CFLAGS
=$CFLAGS
13426 lt_save_with_gnu_ld
=$with_gnu_ld
13427 lt_save_path_LD
=$lt_cv_path_LD
13428 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
13429 lt_cv_prog_gnu_ld
=$lt_cv_prog_gnu_ldcxx
13431 $as_unset lt_cv_prog_gnu_ld
13433 if test -n "${lt_cv_path_LDCXX+set}"; then
13434 lt_cv_path_LD
=$lt_cv_path_LDCXX
13436 $as_unset lt_cv_path_LD
13438 test -z "${LDCXX+set}" || LD
=$LDCXX
13443 func_cc_basename
$compiler
13444 cc_basename
=$func_cc_basename_result
13447 if test -n "$compiler"; then
13448 # We don't want -fno-exception when compiling C++ code, so set the
13449 # no_builtin_flag separately
13450 if test yes = "$GXX"; then
13451 lt_prog_compiler_no_builtin_flag_CXX
=' -fno-builtin'
13453 lt_prog_compiler_no_builtin_flag_CXX
=
13456 if test yes = "$GXX"; then
13457 # Set up default GNU C++ configuration
13461 # Check whether --with-gnu-ld was given.
13462 if test "${with_gnu_ld+set}" = set; then :
13463 withval
=$with_gnu_ld; test no
= "$withval" || with_gnu_ld
=yes
13469 if test yes = "$GCC"; then
13470 # Check if gcc -print-prog-name=ld gives a path.
13471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
13472 $as_echo_n "checking for ld used by $CC... " >&6; }
13475 # gcc leaves a trailing carriage return, which upsets mingw
13476 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
13478 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
13481 # Accept absolute paths.
13483 re_direlt
='/[^/][^/]*/\.\./'
13484 # Canonicalize the pathname of ld
13485 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
13486 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev
/null
2>&1; do
13487 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
13489 test -z "$LD" && LD
=$ac_prog
13492 # If it fails, then pretend we aren't using GCC.
13496 # If it is relative, then search for the first ld in PATH.
13497 with_gnu_ld
=unknown
13500 elif test yes = "$with_gnu_ld"; then
13501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
13502 $as_echo_n "checking for GNU ld... " >&6; }
13504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
13505 $as_echo_n "checking for non-GNU ld... " >&6; }
13507 if ${lt_cv_path_LD+:} false
; then :
13508 $as_echo_n "(cached) " >&6
13510 if test -z "$LD"; then
13511 lt_save_ifs
=$IFS; IFS
=$PATH_SEPARATOR
13512 for ac_dir
in $PATH; do
13514 test -z "$ac_dir" && ac_dir
=.
13515 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
13516 lt_cv_path_LD
=$ac_dir/$ac_prog
13517 # Check to see if the program is GNU ld. I'd rather use --version,
13518 # but apparently some variants of GNU ld only accept -v.
13519 # Break only if it was the GNU/non-GNU ld that we prefer.
13520 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
13521 *GNU
* | *'with BFD'*)
13522 test no
!= "$with_gnu_ld" && break
13525 test yes != "$with_gnu_ld" && break
13532 lt_cv_path_LD
=$LD # Let the user override the test with a path.
13537 if test -n "$LD"; then
13538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
13539 $as_echo "$LD" >&6; }
13541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13542 $as_echo "no" >&6; }
13544 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
13545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
13546 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
13547 if ${lt_cv_prog_gnu_ld+:} false
; then :
13548 $as_echo_n "(cached) " >&6
13550 # I'd rather use --version here, but apparently some GNU lds only accept -v.
13551 case `$LD -v 2>&1 </dev/null` in
13552 *GNU
* | *'with BFD'*)
13553 lt_cv_prog_gnu_ld
=yes
13556 lt_cv_prog_gnu_ld
=no
13560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
13561 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
13562 with_gnu_ld
=$lt_cv_prog_gnu_ld
13570 # Check if GNU C++ uses GNU ld as the underlying linker, since the
13571 # archiving commands below assume that GNU ld is being used.
13572 if test yes = "$with_gnu_ld"; then
13573 archive_cmds_CXX
='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
13574 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'
13576 hardcode_libdir_flag_spec_CXX
='$wl-rpath $wl$libdir'
13577 export_dynamic_flag_spec_CXX
='$wl--export-dynamic'
13579 # If archive_cmds runs LD, not CC, wlarc should be empty
13580 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
13581 # investigate it a little bit more. (MM)
13584 # ancient GNU ld didn't support --whole-archive et. al.
13585 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
13586 $GREP 'no-whole-archive' > /dev
/null
; then
13587 whole_archive_flag_spec_CXX
=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
13589 whole_archive_flag_spec_CXX
=
13595 # A generic and very simple default shared library creation
13596 # command for GNU C++ for the case where it uses the native
13597 # linker, instead of GNU ld. If possible, this setting should
13598 # overridden to take advantage of the native linker features on
13599 # the platform it is being used on.
13600 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13603 # Commands to make compiler produce verbose output that lists
13604 # what "hidden" libraries, object files and flags are used when
13605 # linking a shared library.
13606 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13614 # PORTME: fill in a description of your system's C++ link characteristics
13615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13616 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13620 # FIXME: insert proper C++ library support
13624 if test ia64
= "$host_cpu"; then
13625 # On IA64, the linker does run time linking by default, so we don't
13626 # have to do anything special.
13627 aix_use_runtimelinking
=no
13628 exp_sym_flag
='-Bexport'
13631 aix_use_runtimelinking
=no
13633 # Test if we are trying to use run time linking or normal
13634 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
13635 # have runtime linking enabled, and use it for executables.
13636 # For shared libraries, we enable/disable runtime linking
13637 # depending on the kind of the shared library created -
13638 # when "with_aix_soname,aix_use_runtimelinking" is:
13639 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables
13640 # "aix,yes" lib.so shared, rtl:yes, for executables
13641 # lib.a static archive
13642 # "both,no" lib.so.V(shr.o) shared, rtl:yes
13643 # lib.a(lib.so.V) shared, rtl:no, for executables
13644 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
13645 # lib.a(lib.so.V) shared, rtl:no
13646 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables
13647 # lib.a static archive
13648 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
13649 for ld_flag
in $LDFLAGS; do
13652 aix_use_runtimelinking
=yes
13657 if test svr4
,no
= "$with_aix_soname,$aix_use_runtimelinking"; then
13658 # With aix-soname=svr4, we create the lib.so.V shared archives only,
13659 # so we don't have lib.a shared libs to link our executables.
13660 # We have to force runtime linking in this case.
13661 aix_use_runtimelinking
=yes
13662 LDFLAGS
="$LDFLAGS -Wl,-brtl"
13667 exp_sym_flag
='-bexport'
13668 no_entry_flag
='-bnoentry'
13671 # When large executables or shared objects are built, AIX ld can
13672 # have problems creating the table of contents. If linking a library
13673 # or program results in "error TOC overflow" add -mminimal-toc to
13674 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
13675 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
13677 archive_cmds_CXX
=''
13678 hardcode_direct_CXX
=yes
13679 hardcode_direct_absolute_CXX
=yes
13680 hardcode_libdir_separator_CXX
=':'
13681 link_all_deplibs_CXX
=yes
13682 file_list_spec_CXX
='$wl-f,'
13683 case $with_aix_soname,$aix_use_runtimelinking in
13684 aix
,*) ;; # no import file
13685 svr4
,* | *,yes) # use import file
13686 # The Import File defines what to hardcode.
13687 hardcode_direct_CXX
=no
13688 hardcode_direct_absolute_CXX
=no
13692 if test yes = "$GXX"; then
13693 case $host_os in aix4.
[012]|aix4.
[012].
*)
13694 # We only want to do this on AIX 4.2 and lower, the check
13695 # below for broken collect2 doesn't work under 4.3+
13696 collect2name
=`$CC -print-prog-name=collect2`
13697 if test -f "$collect2name" &&
13698 strings "$collect2name" | $GREP resolve_lib_name
>/dev
/null
13700 # We have reworked collect2
13703 # We have old collect2
13704 hardcode_direct_CXX
=unsupported
13705 # It fails to find uninstalled libraries when the uninstalled
13706 # path is not listed in the libpath. Setting hardcode_minus_L
13707 # to unsupported forces relinking
13708 hardcode_minus_L_CXX
=yes
13709 hardcode_libdir_flag_spec_CXX
='-L$libdir'
13710 hardcode_libdir_separator_CXX
=
13713 shared_flag
='-shared'
13714 if test yes = "$aix_use_runtimelinking"; then
13715 shared_flag
=$shared_flag' $wl-G'
13717 # Need to ensure runtime linking is disabled for the traditional
13718 # shared library, or the linker may eventually find shared libraries
13719 # /with/ Import File - we do not want to mix them.
13720 shared_flag_aix
='-shared'
13721 shared_flag_svr4
='-shared $wl-G'
13724 if test ia64
= "$host_cpu"; then
13725 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
13726 # chokes on -Wl,-G. The following line is correct:
13729 if test yes = "$aix_use_runtimelinking"; then
13730 shared_flag
='$wl-G'
13732 shared_flag
='$wl-bM:SRE'
13734 shared_flag_aix
='$wl-bM:SRE'
13735 shared_flag_svr4
='$wl-G'
13739 export_dynamic_flag_spec_CXX
='$wl-bexpall'
13740 # It seems that -bexpall does not export symbols beginning with
13741 # underscore (_), so it is better to generate a list of symbols to
13743 always_export_symbols_CXX
=yes
13744 if test aix
,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
13745 # Warning - without using the other runtime loading flags (-brtl),
13746 # -berok will link without error, but may produce a broken library.
13747 # The "-G" linker flag allows undefined symbols.
13748 no_undefined_flag_CXX
='-bernotok'
13749 # Determine the default libpath from the value encoded in an empty
13751 if test set = "${lt_cv_aix_libpath+set}"; then
13752 aix_libpath
=$lt_cv_aix_libpath
13754 if ${lt_cv_aix_libpath__CXX+:} false
; then :
13755 $as_echo_n "(cached) " >&6
13757 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13758 /* end confdefs.h. */
13768 if ac_fn_cxx_try_link
"$LINENO"; then :
13770 lt_aix_libpath_sed
='
13771 /Import File Strings/,/^$/ {
13773 s/^0 *\([^ ]*\) *$/\1/
13777 lt_cv_aix_libpath__CXX
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13778 # Check for a 64-bit object if we didn't find anything.
13779 if test -z "$lt_cv_aix_libpath__CXX"; then
13780 lt_cv_aix_libpath__CXX
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13783 rm -f core conftest.err conftest.
$ac_objext \
13784 conftest
$ac_exeext conftest.
$ac_ext
13785 if test -z "$lt_cv_aix_libpath__CXX"; then
13786 lt_cv_aix_libpath__CXX
=/usr
/lib
:/lib
13791 aix_libpath
=$lt_cv_aix_libpath__CXX
13794 hardcode_libdir_flag_spec_CXX
='$wl-blibpath:$libdir:'"$aix_libpath"
13796 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
13798 if test ia64
= "$host_cpu"; then
13799 hardcode_libdir_flag_spec_CXX
='$wl-R $libdir:/usr/lib:/lib'
13800 allow_undefined_flag_CXX
="-z nodefs"
13801 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"
13803 # Determine the default libpath from the value encoded in an
13804 # empty executable.
13805 if test set = "${lt_cv_aix_libpath+set}"; then
13806 aix_libpath
=$lt_cv_aix_libpath
13808 if ${lt_cv_aix_libpath__CXX+:} false
; then :
13809 $as_echo_n "(cached) " >&6
13811 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13812 /* end confdefs.h. */
13822 if ac_fn_cxx_try_link
"$LINENO"; then :
13824 lt_aix_libpath_sed
='
13825 /Import File Strings/,/^$/ {
13827 s/^0 *\([^ ]*\) *$/\1/
13831 lt_cv_aix_libpath__CXX
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13832 # Check for a 64-bit object if we didn't find anything.
13833 if test -z "$lt_cv_aix_libpath__CXX"; then
13834 lt_cv_aix_libpath__CXX
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13837 rm -f core conftest.err conftest.
$ac_objext \
13838 conftest
$ac_exeext conftest.
$ac_ext
13839 if test -z "$lt_cv_aix_libpath__CXX"; then
13840 lt_cv_aix_libpath__CXX
=/usr
/lib
:/lib
13845 aix_libpath
=$lt_cv_aix_libpath__CXX
13848 hardcode_libdir_flag_spec_CXX
='$wl-blibpath:$libdir:'"$aix_libpath"
13849 # Warning - without using the other run time loading flags,
13850 # -berok will link without error, but may produce a broken library.
13851 no_undefined_flag_CXX
=' $wl-bernotok'
13852 allow_undefined_flag_CXX
=' $wl-berok'
13853 if test yes = "$with_gnu_ld"; then
13854 # We only use this code for GNU lds that support --whole-archive.
13855 whole_archive_flag_spec_CXX
='$wl--whole-archive$convenience $wl--no-whole-archive'
13857 # Exported symbols can be pulled into shared objects from archives
13858 whole_archive_flag_spec_CXX
='$convenience'
13860 archive_cmds_need_lc_CXX
=yes
13861 archive_expsym_cmds_CXX
='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
13862 # -brtl affects multiple linker settings, -berok does not and is overridden later
13863 compiler_flags_filtered
='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
13864 if test svr4
!= "$with_aix_soname"; then
13865 # This is similar to how AIX traditionally builds its shared
13866 # libraries. Need -bnortl late, we may have -brtl in LDFLAGS.
13867 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'
13869 if test aix
!= "$with_aix_soname"; then
13870 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'
13872 # used by -dlpreopen to get the symbols
13873 archive_expsym_cmds_CXX
="$archive_expsym_cmds_CXX"'~$MV $output_objdir/$realname.d/$soname $output_objdir'
13875 archive_expsym_cmds_CXX
="$archive_expsym_cmds_CXX"'~$RM -r $output_objdir/$realname.d'
13881 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
13882 allow_undefined_flag_CXX
=unsupported
13883 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13884 # support --undefined. This deserves some investigation. FIXME
13885 archive_cmds_CXX
='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
13892 case $cc_basename in
13894 # FIXME: insert proper C++ library support
13900 cygwin
* | mingw
* | pw32
* | cegcc
*)
13901 case $GXX,$cc_basename in
13904 # hardcode_libdir_flag_spec is actually meaningless, as there is
13905 # no search path for DLLs.
13906 hardcode_libdir_flag_spec_CXX
=' '
13907 allow_undefined_flag_CXX
=unsupported
13908 always_export_symbols_CXX
=yes
13909 file_list_spec_CXX
='@'
13910 # Tell ltmain to make .lib files, not .a files.
13912 # Tell ltmain to make .dll files, not .so files.
13914 # FIXME: Setting linknames here is a bad hack.
13915 archive_cmds_CXX
='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
13916 archive_expsym_cmds_CXX
='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
13917 cp "$export_symbols" "$output_objdir/$soname.def";
13918 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
13920 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
13922 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
13924 # The linker will not automatically build a static lib if we build a DLL.
13925 # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
13926 enable_shared_with_static_runtimes_CXX
=yes
13928 old_postinstall_cmds_CXX
='chmod 644 $oldlib'
13929 postlink_cmds_CXX
='lt_outputfile="@OUTPUT@"~
13930 lt_tool_outputfile="@TOOL_OUTPUT@"~
13931 case $lt_outputfile in
13934 lt_outputfile=$lt_outputfile.exe
13935 lt_tool_outputfile=$lt_tool_outputfile.exe
13938 func_to_tool_file "$lt_outputfile"~
13939 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
13940 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
13941 $RM "$lt_outputfile.manifest";
13946 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
13947 # as there is no search path for DLLs.
13948 hardcode_libdir_flag_spec_CXX
='-L$libdir'
13949 export_dynamic_flag_spec_CXX
='$wl--export-all-symbols'
13950 allow_undefined_flag_CXX
=unsupported
13951 always_export_symbols_CXX
=no
13952 enable_shared_with_static_runtimes_CXX
=yes
13954 if $LD --help 2>&1 | $GREP 'auto-import' > /dev
/null
; then
13955 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'
13956 # If the export-symbols file already is a .def file, use it as
13957 # is; otherwise, prepend EXPORTS...
13958 archive_expsym_cmds_CXX
='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
13959 cp $export_symbols $output_objdir/$soname.def;
13961 echo EXPORTS > $output_objdir/$soname.def;
13962 cat $export_symbols >> $output_objdir/$soname.def;
13964 $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'
13971 darwin
* | rhapsody
*)
13974 archive_cmds_need_lc_CXX
=no
13975 hardcode_direct_CXX
=no
13976 hardcode_automatic_CXX
=yes
13977 hardcode_shlibpath_var_CXX
=unsupported
13978 if test yes = "$lt_cv_ld_force_load"; then
13979 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\"`'
13982 whole_archive_flag_spec_CXX
=''
13984 link_all_deplibs_CXX
=yes
13985 allow_undefined_flag_CXX
=$_lt_dar_allow_undefined
13986 case $cc_basename in
13987 ifort
*|nagfor
*) _lt_dar_can_shared
=yes ;;
13988 *) _lt_dar_can_shared
=$GCC ;;
13990 if test yes = "$_lt_dar_can_shared"; then
13991 output_verbose_link_cmd
=func_echo_all
13992 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"
13993 module_cmds_CXX
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
13994 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"
13995 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"
13996 if test yes != "$lt_cv_apple_cc_single_mod"; then
13997 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"
13998 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"
14008 hardcode_libdir_flag_spec_CXX
='-L$libdir'
14009 hardcode_minus_L_CXX
=yes
14010 allow_undefined_flag_CXX
=unsupported
14012 archive_cmds_CXX
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
14013 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
14014 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
14015 $ECHO EXPORTS >> $output_objdir/$libname.def~
14016 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
14017 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
14018 emximp -o $lib $output_objdir/$libname.def'
14019 archive_expsym_cmds_CXX
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
14020 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
14021 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
14022 $ECHO EXPORTS >> $output_objdir/$libname.def~
14023 prefix_cmds="$SED"~
14024 if test EXPORTS = "`$SED 1q $export_symbols`"; then
14025 prefix_cmds="$prefix_cmds -e 1d";
14027 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
14028 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
14029 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
14030 emximp -o $lib $output_objdir/$libname.def'
14031 old_archive_From_new_cmds_CXX
='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
14032 enable_shared_with_static_runtimes_CXX
=yes
14036 case $cc_basename in
14038 # FIXME: insert proper C++ library support
14042 # Green Hills C++ Compiler
14043 # FIXME: insert proper C++ library support
14047 # FIXME: insert proper C++ library support
14054 # C++ shared libraries reported to be fairly broken before
14060 archive_cmds_need_lc_CXX
=no
14063 freebsd
* | dragonfly
*)
14064 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
14070 archive_cmds_CXX
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
14071 link_all_deplibs_CXX
=yes
14075 hardcode_libdir_flag_spec_CXX
='$wl+b $wl$libdir'
14076 hardcode_libdir_separator_CXX
=:
14077 export_dynamic_flag_spec_CXX
='$wl-E'
14078 hardcode_direct_CXX
=yes
14079 hardcode_minus_L_CXX
=yes # Not in the search PATH,
14080 # but as the default
14081 # location of the library.
14083 case $cc_basename in
14085 # FIXME: insert proper C++ library support
14089 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'
14090 # Commands to make compiler produce verbose output that lists
14091 # what "hidden" libraries, object files and flags are used when
14092 # linking a shared library.
14094 # There doesn't appear to be a way to prevent this compiler from
14095 # explicitly linking system object files so we need to strip them
14096 # from the output so that they don't get included in the library
14098 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"'
14101 if test yes = "$GXX"; then
14102 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'
14104 # FIXME: insert proper C++ library support
14112 if test no
= "$with_gnu_ld"; then
14113 hardcode_libdir_flag_spec_CXX
='$wl+b $wl$libdir'
14114 hardcode_libdir_separator_CXX
=:
14120 export_dynamic_flag_spec_CXX
='$wl-E'
14126 hardcode_direct_CXX
=no
14127 hardcode_shlibpath_var_CXX
=no
14130 hardcode_direct_CXX
=yes
14131 hardcode_direct_absolute_CXX
=yes
14132 hardcode_minus_L_CXX
=yes # Not in the search PATH,
14133 # but as the default
14134 # location of the library.
14138 case $cc_basename in
14140 # FIXME: insert proper C++ library support
14146 archive_cmds_CXX
='$CC -b $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14149 archive_cmds_CXX
='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14152 archive_cmds_CXX
='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14155 # Commands to make compiler produce verbose output that lists
14156 # what "hidden" libraries, object files and flags are used when
14157 # linking a shared library.
14159 # There doesn't appear to be a way to prevent this compiler from
14160 # explicitly linking system object files so we need to strip them
14161 # from the output so that they don't get included in the library
14163 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"'
14166 if test yes = "$GXX"; then
14167 if test no
= "$with_gnu_ld"; then
14170 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14173 archive_cmds_CXX
='$CC -shared -nostdlib $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14176 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'
14181 # FIXME: insert proper C++ library support
14189 hardcode_direct_CXX
=no
14190 hardcode_shlibpath_var_CXX
=no
14191 hardcode_libdir_flag_spec_CXX
='$wl-rpath,$libdir'
14192 export_dynamic_flag_spec_CXX
='$wl-E'
14193 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
14194 # Instead, shared libraries are loaded at an image base (0x10000000 by
14195 # default) and relocated if they conflict, which is a slow very memory
14196 # consuming and fragmenting process. To avoid this, we pick a random,
14197 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
14198 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
14199 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'
14200 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'
14203 case $cc_basename in
14206 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'
14208 # Archives containing C++ object files must be created using
14209 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
14210 # necessary to make sure instantiated templates are included
14212 old_archive_cmds_CXX
='$CC -ar -WR,-u -o $oldlib $oldobjs'
14215 if test yes = "$GXX"; then
14216 if test no
= "$with_gnu_ld"; then
14217 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'
14219 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'
14222 link_all_deplibs_CXX
=yes
14225 hardcode_libdir_flag_spec_CXX
='$wl-rpath $wl$libdir'
14226 hardcode_libdir_separator_CXX
=:
14227 inherit_rpath_CXX
=yes
14230 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
14231 case $cc_basename in
14233 # Kuck and Associates, Inc. (KAI) C++ Compiler
14235 # KCC will only create a shared library if the output file
14236 # ends with ".so" (or ".sl" for HP-UX), so rename the library
14237 # to its proper name (with version) after linking.
14238 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'
14239 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'
14240 # Commands to make compiler produce verbose output that lists
14241 # what "hidden" libraries, object files and flags are used when
14242 # linking a shared library.
14244 # There doesn't appear to be a way to prevent this compiler from
14245 # explicitly linking system object files so we need to strip them
14246 # from the output so that they don't get included in the library
14248 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"'
14250 hardcode_libdir_flag_spec_CXX
='$wl-rpath,$libdir'
14251 export_dynamic_flag_spec_CXX
='$wl--export-dynamic'
14253 # Archives containing C++ object files must be created using
14254 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
14255 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
14260 # version 8.0 and above of icpc choke on multiply defined symbols
14261 # if we add $predep_objects and $postdep_objects, however 7.1 and
14262 # earlier do not add the objects themselves.
14263 case `$CC -V 2>&1` in
14265 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
14266 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'
14268 *) # Version 8.0 or newer
14271 ia64
*) tmp_idyn
=' -i_dynamic';;
14273 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
14274 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'
14277 archive_cmds_need_lc_CXX
=no
14278 hardcode_libdir_flag_spec_CXX
='$wl-rpath,$libdir'
14279 export_dynamic_flag_spec_CXX
='$wl--export-dynamic'
14280 whole_archive_flag_spec_CXX
='$wl--whole-archive$convenience $wl--no-whole-archive'
14283 # Portland Group C++ compiler
14285 *pgCC\
[1-5].
* | *pgcpp\
[1-5].
*)
14286 prelink_cmds_CXX
='tpldir=Template.dir~
14288 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
14289 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
14290 old_archive_cmds_CXX
='tpldir=Template.dir~
14292 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
14293 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
14295 archive_cmds_CXX
='tpldir=Template.dir~
14297 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
14298 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
14299 archive_expsym_cmds_CXX
='tpldir=Template.dir~
14301 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
14302 $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'
14304 *) # Version 6 and above use weak symbols
14305 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
14306 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'
14310 hardcode_libdir_flag_spec_CXX
='$wl--rpath $wl$libdir'
14311 export_dynamic_flag_spec_CXX
='$wl--export-dynamic'
14312 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'
14316 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
14317 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'
14319 runpath_var
=LD_RUN_PATH
14320 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
14321 hardcode_libdir_separator_CXX
=:
14323 # Commands to make compiler produce verbose output that lists
14324 # what "hidden" libraries, object files and flags are used when
14325 # linking a shared library.
14327 # There doesn't appear to be a way to prevent this compiler from
14328 # explicitly linking system object files so we need to strip them
14329 # from the output so that they don't get included in the library
14331 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'
14333 xl
* | mpixl
* | bgxl
*)
14334 # IBM XL 8.0 on PPC, with GNU ld
14335 hardcode_libdir_flag_spec_CXX
='$wl-rpath $wl$libdir'
14336 export_dynamic_flag_spec_CXX
='$wl--export-dynamic'
14337 archive_cmds_CXX
='$CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
14338 if test yes = "$supports_anon_versioning"; then
14339 archive_expsym_cmds_CXX
='echo "{ global:" > $output_objdir/$libname.ver~
14340 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14341 echo "local: *; };" >> $output_objdir/$libname.ver~
14342 $CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
14346 case `$CC -V 2>&1 | sed 5q` in
14349 no_undefined_flag_CXX
=' -zdefs'
14350 archive_cmds_CXX
='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14351 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'
14352 hardcode_libdir_flag_spec_CXX
='-R$libdir'
14353 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'
14354 compiler_needs_object_CXX
=yes
14356 # Not sure whether something based on
14357 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
14359 output_verbose_link_cmd
='func_echo_all'
14361 # Archives containing C++ object files must be created using
14362 # "CC -xar", where "CC" is the Sun C++ compiler. This is
14363 # necessary to make sure instantiated templates are included
14365 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
14373 # FIXME: insert proper C++ library support
14378 # FIXME: insert proper C++ library support
14383 case $cc_basename in
14385 # FIXME: insert proper C++ library support
14389 # FIXME: insert proper C++ library support
14396 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
14397 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
14399 hardcode_libdir_flag_spec_CXX
='-R$libdir'
14400 hardcode_direct_CXX
=yes
14401 hardcode_shlibpath_var_CXX
=no
14403 # Workaround some broken pre-1.5 toolchains
14404 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
14411 openbsd
* | bitrig
*)
14412 if test -f /usr
/libexec
/ld.so
; then
14413 hardcode_direct_CXX
=yes
14414 hardcode_shlibpath_var_CXX
=no
14415 hardcode_direct_absolute_CXX
=yes
14416 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
14417 hardcode_libdir_flag_spec_CXX
='$wl-rpath,$libdir'
14418 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`"; then
14419 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-retain-symbols-file,$export_symbols -o $lib'
14420 export_dynamic_flag_spec_CXX
='$wl-E'
14421 whole_archive_flag_spec_CXX
=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
14423 output_verbose_link_cmd
=func_echo_all
14429 osf3
* | osf4
* | osf5
*)
14430 case $cc_basename in
14432 # Kuck and Associates, Inc. (KAI) C++ Compiler
14434 # KCC will only create a shared library if the output file
14435 # ends with ".so" (or ".sl" for HP-UX), so rename the library
14436 # to its proper name (with version) after linking.
14437 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'
14439 hardcode_libdir_flag_spec_CXX
='$wl-rpath,$libdir'
14440 hardcode_libdir_separator_CXX
=:
14442 # Archives containing C++ object files must be created using
14443 # the KAI C++ compiler.
14445 osf3
*) old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs' ;;
14446 *) old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs' ;;
14450 # Rational C++ 2.4.1
14451 # FIXME: insert proper C++ library support
14457 allow_undefined_flag_CXX
=' $wl-expect_unresolved $wl\*'
14458 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'
14459 hardcode_libdir_flag_spec_CXX
='$wl-rpath $wl$libdir'
14462 allow_undefined_flag_CXX
=' -expect_unresolved \*'
14463 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'
14464 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
14465 echo "-hidden">> $lib.exp~
14466 $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~
14468 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
14472 hardcode_libdir_separator_CXX
=:
14474 # Commands to make compiler produce verbose output that lists
14475 # what "hidden" libraries, object files and flags are used when
14476 # linking a shared library.
14478 # There doesn't appear to be a way to prevent this compiler from
14479 # explicitly linking system object files so we need to strip them
14480 # from the output so that they don't get included in the library
14482 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"'
14485 if test yes,no
= "$GXX,$with_gnu_ld"; then
14486 allow_undefined_flag_CXX
=' $wl-expect_unresolved $wl\*'
14489 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'
14492 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'
14496 hardcode_libdir_flag_spec_CXX
='$wl-rpath $wl$libdir'
14497 hardcode_libdir_separator_CXX
=:
14499 # Commands to make compiler produce verbose output that lists
14500 # what "hidden" libraries, object files and flags are used when
14501 # linking a shared library.
14502 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14505 # FIXME: insert proper C++ library support
14513 # FIXME: insert proper C++ library support
14518 case $cc_basename in
14521 # FIXME: insert proper C++ library support
14526 # FIXME: insert proper C++ library support
14530 # FIXME: insert proper C++ library support
14537 case $cc_basename in
14539 # Sun C++ 4.2, 5.x and Centerline C++
14540 archive_cmds_need_lc_CXX
=yes
14541 no_undefined_flag_CXX
=' -zdefs'
14542 archive_cmds_CXX
='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14543 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14544 $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'
14546 hardcode_libdir_flag_spec_CXX
='-R$libdir'
14547 hardcode_shlibpath_var_CXX
=no
14549 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
14551 # The compiler driver will combine and reorder linker options,
14552 # but understands '-z linker_flag'.
14553 # Supported since Solaris 2.6 (maybe 2.5.1?)
14554 whole_archive_flag_spec_CXX
='-z allextract$convenience -z defaultextract'
14557 link_all_deplibs_CXX
=yes
14559 output_verbose_link_cmd
='func_echo_all'
14561 # Archives containing C++ object files must be created using
14562 # "CC -xar", where "CC" is the Sun C++ compiler. This is
14563 # necessary to make sure instantiated templates are included
14565 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
14568 # Green Hills C++ Compiler
14569 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
14571 # The C++ compiler must be used to create the archive.
14572 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
14575 # GNU C++ compiler with Solaris linker
14576 if test yes,no
= "$GXX,$with_gnu_ld"; then
14577 no_undefined_flag_CXX
=' $wl-z ${wl}defs'
14578 if $CC --version | $GREP -v '^2\.7' > /dev
/null
; then
14579 archive_cmds_CXX
='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
14580 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14581 $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'
14583 # Commands to make compiler produce verbose output that lists
14584 # what "hidden" libraries, object files and flags are used when
14585 # linking a shared library.
14586 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14588 # g++ 2.7 appears to require '-G' NOT '-shared' on this
14590 archive_cmds_CXX
='$CC -G -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
14591 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14592 $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'
14594 # Commands to make compiler produce verbose output that lists
14595 # what "hidden" libraries, object files and flags are used when
14596 # linking a shared library.
14597 output_verbose_link_cmd
='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14600 hardcode_libdir_flag_spec_CXX
='$wl-R $wl$libdir'
14602 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
14604 whole_archive_flag_spec_CXX
='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
14612 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
14613 no_undefined_flag_CXX
='$wl-z,text'
14614 archive_cmds_need_lc_CXX
=no
14615 hardcode_shlibpath_var_CXX
=no
14616 runpath_var
='LD_RUN_PATH'
14618 case $cc_basename in
14620 archive_cmds_CXX
='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14621 archive_expsym_cmds_CXX
='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14624 archive_cmds_CXX
='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14625 archive_expsym_cmds_CXX
='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14630 sysv5
* | sco3.2v5
* | sco5v6
*)
14631 # Note: We CANNOT use -z defs as we might desire, because we do not
14632 # link with -lc, and that would cause any symbols used from libc to
14633 # always be unresolved, which means just about no library would
14634 # ever link correctly. If we're not using GNU ld we use -z text
14635 # though, which does catch some bad symbols but isn't as heavy-handed
14637 no_undefined_flag_CXX
='$wl-z,text'
14638 allow_undefined_flag_CXX
='$wl-z,nodefs'
14639 archive_cmds_need_lc_CXX
=no
14640 hardcode_shlibpath_var_CXX
=no
14641 hardcode_libdir_flag_spec_CXX
='$wl-R,$libdir'
14642 hardcode_libdir_separator_CXX
=':'
14643 link_all_deplibs_CXX
=yes
14644 export_dynamic_flag_spec_CXX
='$wl-Bexport'
14645 runpath_var
='LD_RUN_PATH'
14647 case $cc_basename in
14649 archive_cmds_CXX
='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14650 archive_expsym_cmds_CXX
='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14651 old_archive_cmds_CXX
='$CC -Tprelink_objects $oldobjs~
14652 '"$old_archive_cmds_CXX"
14653 reload_cmds_CXX
='$CC -Tprelink_objects $reload_objs~
14654 '"$reload_cmds_CXX"
14657 archive_cmds_CXX
='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14658 archive_expsym_cmds_CXX
='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14664 case $cc_basename in
14666 # NonStop-UX NCC 3.20
14667 # FIXME: insert proper C++ library support
14671 # FIXME: insert proper C++ library support
14678 # FIXME: insert proper C++ library support
14683 # FIXME: insert proper C++ library support
14688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14689 $as_echo "$ld_shlibs_CXX" >&6; }
14690 test no
= "$ld_shlibs_CXX" && can_build_shared
=no
14696 ## There is no encapsulation within the following macros, do not change
14697 ## the running order or otherwise move them around unless you know exactly
14698 ## what you are doing...
14699 # Dependencies to place before and after the object being linked:
14700 predep_objects_CXX
=
14701 postdep_objects_CXX
=
14704 compiler_lib_search_path_CXX
=
14706 cat > conftest.
$ac_ext <<_LT_EOF
14710 Foo (void) { a = 0; }
14717 _lt_libdeps_save_CFLAGS
=$CFLAGS
14718 case "$CC $CFLAGS " in #(
14719 *\
-flto*\
*) CFLAGS
="$CFLAGS -fno-lto" ;;
14720 *\
-fwhopr*\
*) CFLAGS
="$CFLAGS -fno-whopr" ;;
14721 *\
-fuse-linker-plugin*\
*) CFLAGS
="$CFLAGS -fno-use-linker-plugin" ;;
14724 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14725 (eval $ac_compile) 2>&5
14727 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14728 test $ac_status = 0; }; then
14729 # Parse the compiler output and extract the necessary
14730 # objects, libraries and library flags.
14732 # Sentinel used to keep track of whether or not we are before
14733 # the conftest object file.
14734 pre_test_object_deps_done
=no
14736 for p
in `eval "$output_verbose_link_cmd"`; do
14740 # Some compilers place space between "-{L,R}" and the path.
14741 # Remove the space.
14742 if test x
-L = "$p" ||
14743 test x
-R = "$p"; then
14748 # Expand the sysroot to ease extracting the directories later.
14749 if test -z "$prev"; then
14751 -L*) func_stripname_cnf
'-L' '' "$p"; prev
=-L; p
=$func_stripname_result ;;
14752 -R*) func_stripname_cnf
'-R' '' "$p"; prev
=-R; p
=$func_stripname_result ;;
14753 -l*) func_stripname_cnf
'-l' '' "$p"; prev
=-l; p
=$func_stripname_result ;;
14757 =*) func_stripname_cnf
'=' '' "$p"; p
=$lt_sysroot$func_stripname_result ;;
14759 if test no
= "$pre_test_object_deps_done"; then
14762 # Internal compiler library paths should come after those
14763 # provided the user. The postdeps already come after the
14764 # user supplied libs so there is no need to process them.
14765 if test -z "$compiler_lib_search_path_CXX"; then
14766 compiler_lib_search_path_CXX
=$prev$p
14768 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} $prev$p"
14771 # The "-l" case would never come before the object being
14772 # linked, so don't bother handling this case.
14775 if test -z "$postdeps_CXX"; then
14776 postdeps_CXX
=$prev$p
14778 postdeps_CXX
="${postdeps_CXX} $prev$p"
14784 *.lto.
$objext) ;; # Ignore GCC LTO objects
14786 # This assumes that the test object file only shows up
14787 # once in the compiler output.
14788 if test "$p" = "conftest.$objext"; then
14789 pre_test_object_deps_done
=yes
14793 if test no
= "$pre_test_object_deps_done"; then
14794 if test -z "$predep_objects_CXX"; then
14795 predep_objects_CXX
=$p
14797 predep_objects_CXX
="$predep_objects_CXX $p"
14800 if test -z "$postdep_objects_CXX"; then
14801 postdep_objects_CXX
=$p
14803 postdep_objects_CXX
="$postdep_objects_CXX $p"
14808 *) ;; # Ignore the rest.
14816 echo "libtool.m4: error: problem compiling CXX test program"
14819 $RM -f confest.
$objext
14820 CFLAGS
=$_lt_libdeps_save_CFLAGS
14822 # PORTME: override above test on systems where it is broken
14825 # Interix 3.5 installs completely hosed .la files for C++, so rather than
14826 # hack all around it, let's just trust "g++" to DTRT.
14827 predep_objects_CXX
=
14828 postdep_objects_CXX
=
14834 case " $postdeps_CXX " in
14835 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
14837 compiler_lib_search_dirs_CXX
=
14838 if test -n "${compiler_lib_search_path_CXX}"; then
14839 compiler_lib_search_dirs_CXX
=`echo " ${compiler_lib_search_path_CXX}" | $SED -e 's! -L! !g' -e 's!^ !!'`
14872 lt_prog_compiler_wl_CXX
=
14873 lt_prog_compiler_pic_CXX
=
14874 lt_prog_compiler_static_CXX
=
14877 # C++ specific cases for pic, static, wl, etc.
14878 if test yes = "$GXX"; then
14879 lt_prog_compiler_wl_CXX
='-Wl,'
14880 lt_prog_compiler_static_CXX
='-static'
14884 # All AIX code is PIC.
14885 if test ia64
= "$host_cpu"; then
14886 # AIX 5 now supports IA64 processor
14887 lt_prog_compiler_static_CXX
='-Bstatic'
14889 lt_prog_compiler_pic_CXX
='-fPIC'
14895 # see comment about AmigaOS4 .so support
14896 lt_prog_compiler_pic_CXX
='-fPIC'
14899 # FIXME: we need at least 68020 code to build shared libraries, but
14900 # adding the '-m68020' flag to GCC prevents building anything better,
14902 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
14907 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
14908 # PIC is the default for these OSes.
14910 mingw
* | cygwin
* | os2
* | pw32
* | cegcc
*)
14911 # This hack is so that the source file can tell whether it is being
14912 # built for inclusion in a dll (and should export symbols for example).
14913 # Although the cygwin gcc ignores -fPIC, still need this for old-style
14914 # (--disable-auto-import) libraries
14915 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
14918 lt_prog_compiler_static_CXX
='$wl-static'
14922 darwin
* | rhapsody
*)
14923 # PIC is the default on this platform
14924 # Common symbols not allowed in MH_DYLIB files
14925 lt_prog_compiler_pic_CXX
='-fno-common'
14928 # DJGPP does not support shared libraries at all
14929 lt_prog_compiler_pic_CXX
=
14932 # PIC is the default for Haiku.
14933 # The "-static" flag exists, but is broken.
14934 lt_prog_compiler_static_CXX
=
14937 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
14938 # Instead, we relocate shared libraries at runtime.
14941 if test -d /usr
/nec
; then
14942 lt_prog_compiler_pic_CXX
=-Kconform_pic
14946 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
14947 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
14948 # sets the default TLS model and affects inlining.
14953 lt_prog_compiler_pic_CXX
='-fPIC'
14958 # QNX uses GNU C++, but need to define -shared option too, otherwise
14959 # it will coredump.
14960 lt_prog_compiler_pic_CXX
='-fPIC -shared'
14963 lt_prog_compiler_pic_CXX
='-fPIC'
14969 # All AIX code is PIC.
14970 if test ia64
= "$host_cpu"; then
14971 # AIX 5 now supports IA64 processor
14972 lt_prog_compiler_static_CXX
='-Bstatic'
14974 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
14978 case $cc_basename in
14980 # Green Hills C++ Compiler
14981 # _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"
14985 mingw
* | cygwin
* | os2
* | pw32
* | cegcc
*)
14986 # This hack is so that the source file can tell whether it is being
14987 # built for inclusion in a dll (and should export symbols for example).
14988 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
14991 case $cc_basename in
14993 lt_prog_compiler_pic_CXX
='-KPIC'
14996 # Green Hills C++ Compiler
14997 lt_prog_compiler_pic_CXX
='-pic'
15003 freebsd
* | dragonfly
*)
15004 # FreeBSD uses GNU C++
15006 hpux9
* | hpux10
* | hpux11
*)
15007 case $cc_basename in
15009 lt_prog_compiler_wl_CXX
='-Wl,'
15010 lt_prog_compiler_static_CXX
='$wl-a ${wl}archive'
15011 if test ia64
!= "$host_cpu"; then
15012 lt_prog_compiler_pic_CXX
='+Z'
15016 lt_prog_compiler_wl_CXX
='-Wl,'
15017 lt_prog_compiler_static_CXX
='$wl-a ${wl}archive'
15023 lt_prog_compiler_pic_CXX
='+Z'
15032 # This is c89, which is MS Visual C++ (no shared libs)
15033 # Anyone wants to do a port?
15035 irix5
* | irix6
* | nonstopux
*)
15036 case $cc_basename in
15038 lt_prog_compiler_wl_CXX
='-Wl,'
15039 lt_prog_compiler_static_CXX
='-non_shared'
15040 # CC pic flag -KPIC is the default.
15046 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
15047 case $cc_basename in
15050 lt_prog_compiler_wl_CXX
='--backend -Wl,'
15051 lt_prog_compiler_pic_CXX
='-fPIC'
15054 # old Intel C++ for x86_64, which still supported -KPIC.
15055 lt_prog_compiler_wl_CXX
='-Wl,'
15056 lt_prog_compiler_pic_CXX
='-KPIC'
15057 lt_prog_compiler_static_CXX
='-static'
15060 # Intel C++, used to be incompatible with GCC.
15061 # ICC 10 doesn't accept -KPIC any more.
15062 lt_prog_compiler_wl_CXX
='-Wl,'
15063 lt_prog_compiler_pic_CXX
='-fPIC'
15064 lt_prog_compiler_static_CXX
='-static'
15067 # Portland Group C++ compiler
15068 lt_prog_compiler_wl_CXX
='-Wl,'
15069 lt_prog_compiler_pic_CXX
='-fpic'
15070 lt_prog_compiler_static_CXX
='-Bstatic'
15074 # Make sure the PIC flag is empty. It appears that all Alpha
15075 # Linux and Compaq Tru64 Unix objects are PIC.
15076 lt_prog_compiler_pic_CXX
=
15077 lt_prog_compiler_static_CXX
='-non_shared'
15079 xlc
* | xlC
* | bgxl
[cC
]* | mpixl
[cC
]*)
15080 # IBM XL 8.0, 9.0 on PPC and BlueGene
15081 lt_prog_compiler_wl_CXX
='-Wl,'
15082 lt_prog_compiler_pic_CXX
='-qpic'
15083 lt_prog_compiler_static_CXX
='-qstaticlink'
15086 case `$CC -V 2>&1 | sed 5q` in
15089 lt_prog_compiler_pic_CXX
='-KPIC'
15090 lt_prog_compiler_static_CXX
='-Bstatic'
15091 lt_prog_compiler_wl_CXX
='-Qoption ld '
15102 case $cc_basename in
15104 lt_prog_compiler_pic_CXX
='-W c,exportall'
15113 # QNX uses GNU C++, but need to define -shared option too, otherwise
15114 # it will coredump.
15115 lt_prog_compiler_pic_CXX
='-fPIC -shared'
15117 osf3
* | osf4
* | osf5
*)
15118 case $cc_basename in
15120 lt_prog_compiler_wl_CXX
='--backend -Wl,'
15123 # Rational C++ 2.4.1
15124 lt_prog_compiler_pic_CXX
='-pic'
15127 # Digital/Compaq C++
15128 lt_prog_compiler_wl_CXX
='-Wl,'
15129 # Make sure the PIC flag is empty. It appears that all Alpha
15130 # Linux and Compaq Tru64 Unix objects are PIC.
15131 lt_prog_compiler_pic_CXX
=
15132 lt_prog_compiler_static_CXX
='-non_shared'
15141 case $cc_basename in
15143 # Sun C++ 4.2, 5.x and Centerline C++
15144 lt_prog_compiler_pic_CXX
='-KPIC'
15145 lt_prog_compiler_static_CXX
='-Bstatic'
15146 lt_prog_compiler_wl_CXX
='-Qoption ld '
15149 # Green Hills C++ Compiler
15150 lt_prog_compiler_pic_CXX
='-PIC'
15157 case $cc_basename in
15160 lt_prog_compiler_pic_CXX
='-pic'
15161 lt_prog_compiler_static_CXX
='-Bstatic'
15165 lt_prog_compiler_pic_CXX
='-pic'
15171 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
15172 case $cc_basename in
15174 lt_prog_compiler_wl_CXX
='-Wl,'
15175 lt_prog_compiler_pic_CXX
='-KPIC'
15176 lt_prog_compiler_static_CXX
='-Bstatic'
15181 case $cc_basename in
15183 # NonStop-UX NCC 3.20
15184 lt_prog_compiler_pic_CXX
='-KPIC'
15193 lt_prog_compiler_can_build_shared_CXX
=no
15199 # For platforms that do not support PIC, -DPIC is meaningless:
15201 lt_prog_compiler_pic_CXX
=
15204 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
15208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
15209 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
15210 if ${lt_cv_prog_compiler_pic_CXX+:} false
; then :
15211 $as_echo_n "(cached) " >&6
15213 lt_cv_prog_compiler_pic_CXX
=$lt_prog_compiler_pic_CXX
15215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
15216 $as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
15217 lt_prog_compiler_pic_CXX
=$lt_cv_prog_compiler_pic_CXX
15220 # Check to make sure the PIC flag actually works.
15222 if test -n "$lt_prog_compiler_pic_CXX"; then
15223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
15224 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
15225 if ${lt_cv_prog_compiler_pic_works_CXX+:} false
; then :
15226 $as_echo_n "(cached) " >&6
15228 lt_cv_prog_compiler_pic_works_CXX
=no
15229 ac_outfile
=conftest.
$ac_objext
15230 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
15231 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC" ## exclude from sc_useless_quotes_in_assignment
15232 # Insert the option either (1) after the last *FLAGS variable, or
15233 # (2) before a word containing "conftest.", or (3) at the end.
15234 # Note that $ac_compile itself does not contain backslashes and begins
15235 # with a dollar sign (not a hyphen), so the echo should work correctly.
15236 # The option is referenced via a variable to avoid confusing sed.
15237 lt_compile
=`echo "$ac_compile" | $SED \
15238 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15239 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15240 -e 's:$: $lt_compiler_flag:'`
15241 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
15242 (eval "$lt_compile" 2>conftest.err
)
15244 cat conftest.err
>&5
15245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15246 if (exit $ac_status) && test -s "$ac_outfile"; then
15247 # The compiler can only warn and ignore the option if not recognized
15248 # So say no if there are warnings other than the usual output.
15249 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
15250 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
15251 if test ! -s conftest.er2
|| diff conftest.exp conftest.er2
>/dev
/null
; then
15252 lt_cv_prog_compiler_pic_works_CXX
=yes
15258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
15259 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
15261 if test yes = "$lt_cv_prog_compiler_pic_works_CXX"; then
15262 case $lt_prog_compiler_pic_CXX in
15264 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
15267 lt_prog_compiler_pic_CXX
=
15268 lt_prog_compiler_can_build_shared_CXX
=no
15278 # Check to make sure the static flag actually works.
15280 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
15281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
15282 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
15283 if ${lt_cv_prog_compiler_static_works_CXX+:} false
; then :
15284 $as_echo_n "(cached) " >&6
15286 lt_cv_prog_compiler_static_works_CXX
=no
15287 save_LDFLAGS
=$LDFLAGS
15288 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
15289 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
15290 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
15291 # The linker can only warn and ignore the option if not recognized
15292 # So say no if there are warnings
15293 if test -s conftest.err
; then
15294 # Append any errors to the config.log.
15295 cat conftest.err
1>&5
15296 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
15297 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
15298 if diff conftest.exp conftest.er2
>/dev
/null
; then
15299 lt_cv_prog_compiler_static_works_CXX
=yes
15302 lt_cv_prog_compiler_static_works_CXX
=yes
15306 LDFLAGS
=$save_LDFLAGS
15309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
15310 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
15312 if test yes = "$lt_cv_prog_compiler_static_works_CXX"; then
15315 lt_prog_compiler_static_CXX
=
15321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
15322 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
15323 if ${lt_cv_prog_compiler_c_o_CXX+:} false
; then :
15324 $as_echo_n "(cached) " >&6
15326 lt_cv_prog_compiler_c_o_CXX
=no
15327 $RM -r conftest
2>/dev
/null
15331 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
15333 lt_compiler_flag
="-o out/conftest2.$ac_objext"
15334 # Insert the option either (1) after the last *FLAGS variable, or
15335 # (2) before a word containing "conftest.", or (3) at the end.
15336 # Note that $ac_compile itself does not contain backslashes and begins
15337 # with a dollar sign (not a hyphen), so the echo should work correctly.
15338 lt_compile
=`echo "$ac_compile" | $SED \
15339 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15340 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15341 -e 's:$: $lt_compiler_flag:'`
15342 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
15343 (eval "$lt_compile" 2>out
/conftest.err
)
15345 cat out
/conftest.err
>&5
15346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15347 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
15349 # The compiler can only warn and ignore the option if not recognized
15350 # So say no if there are warnings
15351 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out
/conftest.exp
15352 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
15353 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
15354 lt_cv_prog_compiler_c_o_CXX
=yes
15359 # SGI C++ compiler will create directory out/ii_files/ for
15360 # template instantiation
15361 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
15362 $RM out
/* && rmdir out
15368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
15369 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
15373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
15374 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
15375 if ${lt_cv_prog_compiler_c_o_CXX+:} false
; then :
15376 $as_echo_n "(cached) " >&6
15378 lt_cv_prog_compiler_c_o_CXX
=no
15379 $RM -r conftest
2>/dev
/null
15383 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
15385 lt_compiler_flag
="-o out/conftest2.$ac_objext"
15386 # Insert the option either (1) after the last *FLAGS variable, or
15387 # (2) before a word containing "conftest.", or (3) at the end.
15388 # Note that $ac_compile itself does not contain backslashes and begins
15389 # with a dollar sign (not a hyphen), so the echo should work correctly.
15390 lt_compile
=`echo "$ac_compile" | $SED \
15391 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15392 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15393 -e 's:$: $lt_compiler_flag:'`
15394 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
15395 (eval "$lt_compile" 2>out
/conftest.err
)
15397 cat out
/conftest.err
>&5
15398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15399 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
15401 # The compiler can only warn and ignore the option if not recognized
15402 # So say no if there are warnings
15403 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out
/conftest.exp
15404 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
15405 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
15406 lt_cv_prog_compiler_c_o_CXX
=yes
15411 # SGI C++ compiler will create directory out/ii_files/ for
15412 # template instantiation
15413 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
15414 $RM out
/* && rmdir out
15420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
15421 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
15426 hard_links
=nottested
15427 if test no
= "$lt_cv_prog_compiler_c_o_CXX" && test no
!= "$need_locks"; then
15428 # do not overwrite the value of need_locks provided by the user
15429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
15430 $as_echo_n "checking if we can lock with hard links... " >&6; }
15433 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
15435 ln conftest.a conftest.b
2>&5 || hard_links
=no
15436 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
15437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
15438 $as_echo "$hard_links" >&6; }
15439 if test no
= "$hard_links"; then
15440 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
15441 $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
15450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15451 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
15453 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15454 exclude_expsyms_CXX
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
15457 # If we're using GNU nm, then we don't want the "-C" option.
15458 # -C means demangle to GNU nm, but means don't demangle to AIX nm.
15459 # Without the "-l" option, or with the "-B" option, AIX nm treats
15460 # weak defined symbols like other global defined symbols, whereas
15461 # GNU nm marks them as "W".
15462 # While the 'weak' keyword is ignored in the Export File, we need
15463 # it in the Import File for the 'aix-soname' feature, so we have
15464 # to replace the "-B" option with "-P" for AIX nm.
15465 if $NM -V 2>&1 | $GREP 'GNU' > /dev
/null
; then
15466 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'
15468 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'
15472 export_symbols_cmds_CXX
=$ltdll_cmds
15474 cygwin
* | mingw
* | cegcc
*)
15475 case $cc_basename in
15477 exclude_expsyms_CXX
='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
15480 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'
15481 exclude_expsyms_CXX
='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
15486 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
15491 $as_echo "$ld_shlibs_CXX" >&6; }
15492 test no
= "$ld_shlibs_CXX" && can_build_shared
=no
15494 with_gnu_ld_CXX
=$with_gnu_ld
15502 # Do we need to explicitly link libc?
15504 case "x$archive_cmds_need_lc_CXX" in
15506 # Assume -lc should be added
15507 archive_cmds_need_lc_CXX
=yes
15509 if test yes,yes = "$GCC,$enable_shared"; then
15510 case $archive_cmds_CXX in
15512 # FIXME: we may have to deal with multi-command sequences.
15515 # Test whether the compiler implicitly links with -lc since on some
15516 # systems, -lgcc has to come before -lc. If gcc already passes -lc
15517 # to ld, don't add -lc before -lgcc.
15518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
15519 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
15520 if ${lt_cv_archive_cmds_need_lc_CXX+:} false
; then :
15521 $as_echo_n "(cached) " >&6
15524 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
15526 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15527 (eval $ac_compile) 2>&5
15529 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15530 test $ac_status = 0; } 2>conftest.err
; then
15533 libobjs
=conftest.
$ac_objext
15535 wl
=$lt_prog_compiler_wl_CXX
15536 pic_flag
=$lt_prog_compiler_pic_CXX
15542 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
15543 allow_undefined_flag_CXX
=
15544 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
15545 (eval $archive_cmds_CXX 2\
>\
&1 \
| $GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
15547 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15548 test $ac_status = 0; }
15550 lt_cv_archive_cmds_need_lc_CXX
=no
15552 lt_cv_archive_cmds_need_lc_CXX
=yes
15554 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
15556 cat conftest.err
1>&5
15561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
15562 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
15563 archive_cmds_need_lc_CXX
=$lt_cv_archive_cmds_need_lc_CXX
15631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
15632 $as_echo_n "checking dynamic linker characteristics... " >&6; }
15634 library_names_spec
=
15635 libname_spec
='lib$name'
15639 postuninstall_cmds
=
15643 shlibpath_overrides_runpath
=unknown
15645 dynamic_linker
="$host_os ld.so"
15646 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
15647 need_lib_prefix
=unknown
15648 hardcode_into_libs
=no
15650 # when you set need_version to no, make sure it does not cause -set_version
15651 # flags to be left without arguments
15652 need_version
=unknown
15658 version_type
=linux
# correct to gnu/linux during the next big refactor
15659 library_names_spec
='$libname$release$shared_ext$versuffix $libname.a'
15660 shlibpath_var
=LIBPATH
15662 # AIX 3 has no versioning support, so we append a major version to the name.
15663 soname_spec
='$libname$release$shared_ext$major'
15667 version_type
=linux
# correct to gnu/linux during the next big refactor
15670 hardcode_into_libs
=yes
15671 if test ia64
= "$host_cpu"; then
15672 # AIX 5 supports IA64
15673 library_names_spec
='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
15674 shlibpath_var
=LD_LIBRARY_PATH
15676 # With GCC up to 2.95.x, collect2 would create an import file
15677 # for dependence libraries. The import file would start with
15678 # the line '#! .'. This would cause the generated library to
15679 # depend on '.', always an invalid library. This was fixed in
15680 # development snapshots of GCC prior to 3.0.
15682 aix4
| aix4.
[01] | aix4.
[01].
*)
15683 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15685 echo '#endif'; } | $CC -E - | $GREP yes > /dev
/null
; then
15688 can_build_shared
=no
15692 # Using Import Files as archive members, it is possible to support
15693 # filename-based versioning of shared library archives on AIX. While
15694 # this would work for both with and without runtime linking, it will
15695 # prevent static linking of such archives. So we do filename-based
15696 # shared library versioning with .so extension only, which is used
15697 # when both runtime linking and shared linking is enabled.
15698 # Unfortunately, runtime linking may impact performance, so we do
15699 # not want this to be the default eventually. Also, we use the
15700 # versioned .so libs for executables only if there is the -brtl
15701 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
15702 # To allow for filename-based versioning support, we need to create
15703 # libNAME.so.V as an archive file, containing:
15704 # *) an Import File, referring to the versioned filename of the
15705 # archive as well as the shared archive member, telling the
15706 # bitwidth (32 or 64) of that shared object, and providing the
15707 # list of exported symbols of that shared object, eventually
15708 # decorated with the 'weak' keyword
15709 # *) the shared object with the F_LOADONLY flag set, to really avoid
15710 # it being seen by the linker.
15711 # At run time we better use the real file rather than another symlink,
15712 # but for link time we create the symlink libNAME.so -> libNAME.so.V
15714 case $with_aix_soname,$aix_use_runtimelinking in
15715 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
15716 # soname into executable. Probably we can add versioning support to
15717 # collect2, so additional links can be useful in future.
15718 aix
,yes) # traditional libtool
15719 dynamic_linker
='AIX unversionable lib.so'
15720 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15721 # instead of lib<name>.a to let people know that these are not
15722 # typical AIX shared libraries.
15723 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15725 aix
,no
) # traditional AIX only
15726 dynamic_linker
='AIX lib.a(lib.so.V)'
15727 # We preserve .a as extension for shared libraries through AIX4.2
15728 # and later when we are not doing run time linking.
15729 library_names_spec
='$libname$release.a $libname.a'
15730 soname_spec
='$libname$release$shared_ext$major'
15732 svr4
,*) # full svr4 only
15733 dynamic_linker
="AIX lib.so.V($shared_archive_member_spec.o)"
15734 library_names_spec
='$libname$release$shared_ext$major $libname$shared_ext'
15735 # We do not specify a path in Import Files, so LIBPATH fires.
15736 shlibpath_overrides_runpath
=yes
15738 *,yes) # both, prefer svr4
15739 dynamic_linker
="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
15740 library_names_spec
='$libname$release$shared_ext$major $libname$shared_ext'
15741 # unpreferred sharedlib libNAME.a needs extra handling
15742 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"'
15743 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"'
15744 # We do not specify a path in Import Files, so LIBPATH fires.
15745 shlibpath_overrides_runpath
=yes
15747 *,no
) # both, prefer aix
15748 dynamic_linker
="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
15749 library_names_spec
='$libname$release.a $libname.a'
15750 soname_spec
='$libname$release$shared_ext$major'
15751 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
15752 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)'
15753 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"'
15756 shlibpath_var
=LIBPATH
15763 # Since July 2007 AmigaOS4 officially supports .so libraries.
15764 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
15765 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15768 library_names_spec
='$libname.ixlibrary $libname.a'
15769 # Create ${libname}_ixlibrary.a entries in /sys/libs.
15770 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'
15776 library_names_spec
='$libname$shared_ext'
15777 dynamic_linker
="$host_os ld.so"
15778 shlibpath_var
=LIBRARY_PATH
15782 version_type
=linux
# correct to gnu/linux during the next big refactor
15784 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15785 soname_spec
='$libname$release$shared_ext$major'
15786 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
15787 shlibpath_var
=LD_LIBRARY_PATH
15788 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15789 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
15790 # the default ld.so.conf also contains /usr/contrib/lib and
15791 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15792 # libtool to hard-code these into programs
15795 cygwin
* | mingw
* | pw32
* | cegcc
*)
15796 version_type
=windows
15801 case $GCC,$cc_basename in
15804 library_names_spec
='$libname.dll.a'
15805 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15806 postinstall_cmds
='base_file=`basename \$file`~
15807 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
15808 dldir=$destdir/`dirname \$dlpath`~
15809 test -d \$dldir || mkdir -p \$dldir~
15810 $install_prog $dir/$dlname \$dldir/$dlname~
15811 chmod a+x \$dldir/$dlname~
15812 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
15813 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
15815 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15816 dlpath=$dir/\$dldll~
15818 shlibpath_overrides_runpath
=yes
15822 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15823 soname_spec
='`echo $libname | sed -e 's
/^lib
/cyg
/'``echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
15827 # MinGW DLLs use traditional 'lib' prefix
15828 soname_spec
='$libname`echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
15831 # pw32 DLLs use 'pw' prefix rather than 'lib'
15832 library_names_spec
='`echo $libname | sed -e 's
/^lib
/pw
/'``echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
15835 dynamic_linker
='Win32 ld.exe'
15840 libname_spec
='$name'
15841 soname_spec
='$libname`echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
15842 library_names_spec
='$libname.dll.lib'
15846 sys_lib_search_path_spec
=
15849 for lt_path
in $LIB
15852 # Let DOS variable expansion print the short 8.3 style file name.
15853 lt_path
=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
15854 sys_lib_search_path_spec
="$sys_lib_search_path_spec $lt_path"
15857 # Convert to MSYS style.
15858 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
15861 # Convert to unix form, then to dos form, then back to unix form
15862 # but this time dos style (no spaces!) so that the unix form looks
15863 # like /cygdrive/c/PROGRA~1:/cygdr...
15864 sys_lib_search_path_spec
=`cygpath --path --unix "$LIB"`
15865 sys_lib_search_path_spec
=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
15866 sys_lib_search_path_spec
=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15869 sys_lib_search_path_spec
=$LIB
15870 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev
/null
; then
15871 # It is most probably a Windows format PATH.
15872 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15874 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15876 # FIXME: find the short name or the path components, as spaces are
15877 # common. (e.g. "Program Files" -> "PROGRA~1")
15881 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15882 postinstall_cmds
='base_file=`basename \$file`~
15883 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
15884 dldir=$destdir/`dirname \$dlpath`~
15885 test -d \$dldir || mkdir -p \$dldir~
15886 $install_prog $dir/$dlname \$dldir/$dlname'
15887 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15888 dlpath=$dir/\$dldll~
15890 shlibpath_overrides_runpath
=yes
15891 dynamic_linker
='Win32 link.exe'
15895 # Assume MSVC wrapper
15896 library_names_spec
='$libname`echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext $libname.lib'
15897 dynamic_linker
='Win32 ld.exe'
15900 # FIXME: first we should search . and the directory the executable is in
15904 darwin
* | rhapsody
*)
15905 dynamic_linker
="$host_os dyld"
15906 version_type
=darwin
15909 library_names_spec
='$libname$release$major$shared_ext $libname$shared_ext'
15910 soname_spec
='$libname$release$major$shared_ext'
15911 shlibpath_overrides_runpath
=yes
15912 shlibpath_var
=DYLD_LIBRARY_PATH
15913 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
15915 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
15919 version_type
=linux
# correct to gnu/linux during the next big refactor
15922 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15923 soname_spec
='$libname$release$shared_ext$major'
15924 shlibpath_var
=LD_LIBRARY_PATH
15927 freebsd
* | dragonfly
*)
15928 # DragonFly does not have aout. When/if they implement a new
15929 # versioning mechanism, adjust this.
15930 if test -x /usr
/bin
/objformat
; then
15931 objformat
=`/usr/bin/objformat`
15934 freebsd
[23].
*) objformat
=aout
;;
15935 *) objformat
=elf
;;
15938 version_type
=freebsd
-$objformat
15939 case $version_type in
15941 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15942 soname_spec
='$libname$release$shared_ext$major'
15947 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
15951 shlibpath_var
=LD_LIBRARY_PATH
15954 shlibpath_overrides_runpath
=yes
15956 freebsd3.
[01]* | freebsdelf3.
[01]*)
15957 shlibpath_overrides_runpath
=yes
15958 hardcode_into_libs
=yes
15960 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
15961 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
15962 shlibpath_overrides_runpath
=no
15963 hardcode_into_libs
=yes
15965 *) # from 4.6 on, and DragonFly
15966 shlibpath_overrides_runpath
=yes
15967 hardcode_into_libs
=yes
15973 version_type
=linux
# correct to gnu/linux during the next big refactor
15976 dynamic_linker
="$host_os runtime_loader"
15977 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15978 soname_spec
='$libname$release$shared_ext$major'
15979 shlibpath_var
=LIBRARY_PATH
15980 shlibpath_overrides_runpath
=no
15981 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
15982 hardcode_into_libs
=yes
15985 hpux9
* | hpux10
* | hpux11
*)
15986 # Give a soname corresponding to the major version so that dld.sl refuses to
15987 # link against other versions.
15994 hardcode_into_libs
=yes
15995 dynamic_linker
="$host_os dld.so"
15996 shlibpath_var
=LD_LIBRARY_PATH
15997 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15998 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15999 soname_spec
='$libname$release$shared_ext$major'
16000 if test 32 = "$HPUX_IA64_MODE"; then
16001 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
16002 sys_lib_dlsearch_path_spec
=/usr
/lib
/hpux32
16004 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
16005 sys_lib_dlsearch_path_spec
=/usr
/lib
/hpux64
16010 hardcode_into_libs
=yes
16011 dynamic_linker
="$host_os dld.sl"
16012 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
16013 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
16014 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16015 soname_spec
='$libname$release$shared_ext$major'
16016 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
16017 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
16021 dynamic_linker
="$host_os dld.sl"
16022 shlibpath_var
=SHLIB_PATH
16023 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
16024 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16025 soname_spec
='$libname$release$shared_ext$major'
16028 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
16029 postinstall_cmds
='chmod 555 $lib'
16030 # or fails outright, so override atomically:
16031 install_override_mode
=555
16035 version_type
=linux
# correct to gnu/linux during the next big refactor
16038 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16039 soname_spec
='$libname$release$shared_ext$major'
16040 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
16041 shlibpath_var
=LD_LIBRARY_PATH
16042 shlibpath_overrides_runpath
=no
16043 hardcode_into_libs
=yes
16046 irix5
* | irix6
* | nonstopux
*)
16048 nonstopux
*) version_type
=nonstopux
;;
16050 if test yes = "$lt_cv_prog_gnu_ld"; then
16051 version_type
=linux
# correct to gnu/linux during the next big refactor
16058 soname_spec
='$libname$release$shared_ext$major'
16059 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
16061 irix5
* | nonstopux
*)
16062 libsuff
= shlibsuff
=
16065 case $LD in # libtool.m4 will add one of these switches to LD
16066 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
16067 libsuff
= shlibsuff
= libmagic
=32-bit;;
16068 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
16069 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
16070 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
16071 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
16072 *) libsuff
= shlibsuff
= libmagic
=never
-match;;
16076 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
16077 shlibpath_overrides_runpath
=no
16078 sys_lib_search_path_spec
="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
16079 sys_lib_dlsearch_path_spec
="/usr/lib$libsuff /lib$libsuff"
16080 hardcode_into_libs
=yes
16083 # No shared lib support for Linux oldld, aout, or coff.
16084 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
16089 version_type
=none
# Android doesn't support versioned libraries.
16092 library_names_spec
='$libname$release$shared_ext'
16093 soname_spec
='$libname$release$shared_ext'
16095 shlibpath_var
=LD_LIBRARY_PATH
16096 shlibpath_overrides_runpath
=yes
16098 # This implies no fast_install, which is unacceptable.
16099 # Some rework will be needed to allow for fast_install
16100 # before this can be enabled.
16101 hardcode_into_libs
=yes
16103 dynamic_linker
='Android linker'
16104 # Don't embed -rpath directories since the linker doesn't support them.
16105 hardcode_libdir_flag_spec_CXX
='-L$libdir'
16108 # This must be glibc/ELF.
16109 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
16110 version_type
=linux
# correct to gnu/linux during the next big refactor
16113 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16114 soname_spec
='$libname$release$shared_ext$major'
16115 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
16116 shlibpath_var
=LD_LIBRARY_PATH
16117 shlibpath_overrides_runpath
=no
16119 # Some binutils ld are patched to set DT_RUNPATH
16120 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
16121 $as_echo_n "(cached) " >&6
16123 lt_cv_shlibpath_overrides_runpath
=no
16124 save_LDFLAGS
=$LDFLAGS
16125 save_libdir
=$libdir
16126 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
16127 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
16128 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16129 /* end confdefs.h. */
16139 if ac_fn_cxx_try_link
"$LINENO"; then :
16140 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null
| grep "RUNPATH.*$libdir" >/dev
/null
; then :
16141 lt_cv_shlibpath_overrides_runpath
=yes
16144 rm -f core conftest.err conftest.
$ac_objext \
16145 conftest
$ac_exeext conftest.
$ac_ext
16146 LDFLAGS
=$save_LDFLAGS
16147 libdir
=$save_libdir
16151 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
16153 # This implies no fast_install, which is unacceptable.
16154 # Some rework will be needed to allow for fast_install
16155 # before this can be enabled.
16156 hardcode_into_libs
=yes
16158 # Ideally, we could use ldconfig to report *all* directores which are
16159 # searched for libraries, however this is still not possible. Aside from not
16160 # being certain /sbin/ldconfig is available, command
16161 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
16162 # even though it is searched at run-time. Try to do the best guess by
16163 # appending ld.so.conf contents (and includes) to the search path.
16164 if test -f /etc
/ld.so.conf
; then
16165 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' ' '`
16166 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
16169 # We used to test for /lib/ld.so.1 and disable shared libraries on
16170 # powerpc, because MkLinux only supported shared libraries with the
16171 # GNU dynamic linker. Since this was broken with cross compilers,
16172 # most powerpc-linux boxes support dynamic linking these days and
16173 # people can always --disable-shared, the test was removed, and we
16174 # assume the GNU/Linux dynamic linker is in use.
16175 dynamic_linker
='GNU/Linux ld.so'
16182 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
16183 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
16184 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16185 dynamic_linker
='NetBSD (a.out) ld.so'
16187 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16188 soname_spec
='$libname$release$shared_ext$major'
16189 dynamic_linker
='NetBSD ld.elf_so'
16191 shlibpath_var
=LD_LIBRARY_PATH
16192 shlibpath_overrides_runpath
=yes
16193 hardcode_into_libs
=yes
16197 version_type
=linux
# correct to gnu/linux during the next big refactor
16198 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16199 shlibpath_var
=LD_LIBRARY_PATH
16200 shlibpath_overrides_runpath
=yes
16207 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16208 soname_spec
='$libname$release$shared_ext$major'
16209 shlibpath_var
=LD_LIBRARY_PATH
16210 shlibpath_overrides_runpath
=no
16211 hardcode_into_libs
=yes
16212 dynamic_linker
='ldqnx.so'
16215 openbsd
* | bitrig
*)
16217 sys_lib_dlsearch_path_spec
=/usr
/lib
16219 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
16224 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
16225 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16226 shlibpath_var
=LD_LIBRARY_PATH
16227 shlibpath_overrides_runpath
=yes
16231 libname_spec
='$name'
16232 version_type
=windows
16236 # OS/2 can only load a DLL with a base name of 8 characters or less.
16237 soname_spec
='`test -n "$os2dllname" && libname="$os2dllname";
16238 v=$($ECHO $release$versuffix | tr -d .-);
16239 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
16240 $ECHO $n$v`$shared_ext'
16241 library_names_spec
='${libname}_dll.$libext'
16242 dynamic_linker
='OS/2 ld.exe'
16243 shlibpath_var
=BEGINLIBPATH
16244 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
16245 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
16246 postinstall_cmds
='base_file=`basename \$file`~
16247 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
16248 dldir=$destdir/`dirname \$dlpath`~
16249 test -d \$dldir || mkdir -p \$dldir~
16250 $install_prog $dir/$dlname \$dldir/$dlname~
16251 chmod a+x \$dldir/$dlname~
16252 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
16253 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
16255 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
16256 dlpath=$dir/\$dldll~
16260 osf3
* | osf4
* | osf5
*)
16264 soname_spec
='$libname$release$shared_ext$major'
16265 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16266 shlibpath_var
=LD_LIBRARY_PATH
16267 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
16268 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
16276 version_type
=linux
# correct to gnu/linux during the next big refactor
16279 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16280 soname_spec
='$libname$release$shared_ext$major'
16281 shlibpath_var
=LD_LIBRARY_PATH
16282 shlibpath_overrides_runpath
=yes
16283 hardcode_into_libs
=yes
16284 # ldd complains unless libraries are executable
16285 postinstall_cmds
='chmod +x $lib'
16290 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
16291 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
16292 shlibpath_var
=LD_LIBRARY_PATH
16293 shlibpath_overrides_runpath
=yes
16294 if test yes = "$with_gnu_ld"; then
16301 version_type
=linux
# correct to gnu/linux during the next big refactor
16302 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16303 soname_spec
='$libname$release$shared_ext$major'
16304 shlibpath_var
=LD_LIBRARY_PATH
16305 case $host_vendor in
16307 shlibpath_overrides_runpath
=no
16309 runpath_var
=LD_RUN_PATH
16317 shlibpath_overrides_runpath
=no
16318 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
16324 if test -d /usr
/nec
; then
16325 version_type
=linux
# correct to gnu/linux during the next big refactor
16326 library_names_spec
='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
16327 soname_spec
='$libname$shared_ext.$major'
16328 shlibpath_var
=LD_LIBRARY_PATH
16332 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
16336 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
16337 soname_spec
='$libname$release$shared_ext$major'
16338 shlibpath_var
=LD_LIBRARY_PATH
16339 shlibpath_overrides_runpath
=yes
16340 hardcode_into_libs
=yes
16341 if test yes = "$with_gnu_ld"; then
16342 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
16344 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
16347 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
16351 sys_lib_dlsearch_path_spec
='/usr/lib'
16355 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
16356 version_type
=linux
# correct to gnu/linux during the next big refactor
16359 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16360 shlibpath_var
=LD_LIBRARY_PATH
16361 shlibpath_overrides_runpath
=no
16362 hardcode_into_libs
=yes
16366 version_type
=linux
# correct to gnu/linux during the next big refactor
16367 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16368 soname_spec
='$libname$release$shared_ext$major'
16369 shlibpath_var
=LD_LIBRARY_PATH
16376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
16377 $as_echo "$dynamic_linker" >&6; }
16378 test no
= "$dynamic_linker" && can_build_shared
=no
16380 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
16381 if test yes = "$GCC"; then
16382 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
16385 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
16386 sys_lib_search_path_spec
=$lt_cv_sys_lib_search_path_spec
16389 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
16390 sys_lib_dlsearch_path_spec
=$lt_cv_sys_lib_dlsearch_path_spec
16393 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
16394 configure_time_dlsearch_path
=$sys_lib_dlsearch_path_spec
16396 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
16397 func_munge_path_list sys_lib_dlsearch_path_spec
"$LT_SYS_LIBRARY_PATH"
16399 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
16400 configure_time_lt_sys_library_path
=$LT_SYS_LIBRARY_PATH
16441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
16442 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
16443 hardcode_action_CXX
=
16444 if test -n "$hardcode_libdir_flag_spec_CXX" ||
16445 test -n "$runpath_var_CXX" ||
16446 test yes = "$hardcode_automatic_CXX"; then
16448 # We can hardcode non-existent directories.
16449 if test no
!= "$hardcode_direct_CXX" &&
16450 # If the only mechanism to avoid hardcoding is shlibpath_var, we
16451 # have to relink, otherwise we might link with an installed library
16452 # when we should be linking with a yet-to-be-installed one
16453 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" &&
16454 test no
!= "$hardcode_minus_L_CXX"; then
16455 # Linking always hardcodes the temporary library directory.
16456 hardcode_action_CXX
=relink
16458 # We can link without hardcoding, and we can hardcode nonexisting dirs.
16459 hardcode_action_CXX
=immediate
16462 # We cannot hardcode anything, or else we can only hardcode existing
16464 hardcode_action_CXX
=unsupported
16466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
16467 $as_echo "$hardcode_action_CXX" >&6; }
16469 if test relink
= "$hardcode_action_CXX" ||
16470 test yes = "$inherit_rpath_CXX"; then
16471 # Fast installation is not supported
16472 enable_fast_install
=no
16473 elif test yes = "$shlibpath_overrides_runpath" ||
16474 test no
= "$enable_shared"; then
16475 # Fast installation is not necessary
16476 enable_fast_install
=needless
16485 fi # test -n "$compiler"
16488 CFLAGS
=$lt_save_CFLAGS
16492 with_gnu_ld
=$lt_save_with_gnu_ld
16493 lt_cv_path_LDCXX
=$lt_cv_path_LD
16494 lt_cv_path_LD
=$lt_save_path_LD
16495 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
16496 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
16497 fi # test yes != "$_lt_caught_CXX_error"
16500 ac_cpp
='$CPP $CPPFLAGS'
16501 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16502 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16503 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16519 ac_config_commands
="$ac_config_commands libtool"
16524 # Only expand once:
16529 ac_cpp
='$CXXCPP $CPPFLAGS'
16530 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16531 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16532 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16535 ax_cxx_compile_cxx11_required
=true
16537 ac_cpp
='$CXXCPP $CPPFLAGS'
16538 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16539 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16540 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX supports C++11 features by default" >&5
16543 $as_echo_n "checking whether $CXX supports C++11 features by default... " >&6; }
16544 if ${ax_cv_cxx_compile_cxx11+:} false
; then :
16545 $as_echo_n "(cached) " >&6
16547 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16548 /* end confdefs.h. */
16550 template <typename T>
16553 static_assert(sizeof(int) <= sizeof(T), "not big enough");
16557 virtual void f() {}
16559 struct Child : public Base {
16560 virtual void f() override {}
16563 typedef check<check<bool>> right_angle_brackets;
16568 typedef check<int> check_type;
16570 check_type&& cr = static_cast<check_type&&>(c);
16576 if ac_fn_cxx_try_compile
"$LINENO"; then :
16577 ax_cv_cxx_compile_cxx11
=yes
16579 ax_cv_cxx_compile_cxx11
=no
16581 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_cxx_compile_cxx11" >&5
16584 $as_echo "$ax_cv_cxx_compile_cxx11" >&6; }
16585 if test x
$ax_cv_cxx_compile_cxx11 = xyes
; then
16589 if test x
$ac_success = xno
; then
16590 for switch
in -std=gnu
++11 -std=gnu
++0x
; do
16591 cachevar
=`$as_echo "ax_cv_cxx_compile_cxx11_$switch" | $as_tr_sh`
16592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX supports C++11 features with $switch" >&5
16593 $as_echo_n "checking whether $CXX supports C++11 features with $switch... " >&6; }
16594 if eval \
${$cachevar+:} false
; then :
16595 $as_echo_n "(cached) " >&6
16597 ac_save_CXXFLAGS
="$CXXFLAGS"
16598 CXXFLAGS
="$CXXFLAGS $switch"
16599 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16600 /* end confdefs.h. */
16602 template <typename T>
16605 static_assert(sizeof(int) <= sizeof(T), "not big enough");
16609 virtual void f() {}
16611 struct Child : public Base {
16612 virtual void f() override {}
16615 typedef check<check<bool>> right_angle_brackets;
16620 typedef check<int> check_type;
16622 check_type&& cr = static_cast<check_type&&>(c);
16628 if ac_fn_cxx_try_compile
"$LINENO"; then :
16633 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16634 CXXFLAGS
="$ac_save_CXXFLAGS"
16636 eval ac_res
=\$
$cachevar
16637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
16638 $as_echo "$ac_res" >&6; }
16639 if eval test x\$
$cachevar = xyes
; then
16640 CXXFLAGS
="$CXXFLAGS $switch"
16649 ac_cpp
='$CXXCPP $CPPFLAGS'
16650 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16651 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16652 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16654 if test x
$ax_cxx_compile_cxx11_required = xtrue
; then
16655 if test x
$ac_success = xno
; then
16656 as_fn_error $?
"*** A compiler with support for C++11 language features is required." "$LINENO" 5
16659 if test x
$ac_success = xno
; then
16661 { $as_echo "$as_me:${as_lineno-$LINENO}: No compiler with C++11 support was found" >&5
16662 $as_echo "$as_me: No compiler with C++11 support was found" >&6;}
16666 $as_echo "#define HAVE_CXX11 1" >>confdefs.h
16673 OBJCXXFLAGS
="${OBJCXXFLAGS} ${CXXFLAGS##*' '}"
16682 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
16683 if test -n "$ac_tool_prefix"; then
16684 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
16685 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
16686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16687 $as_echo_n "checking for $ac_word... " >&6; }
16688 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
16689 $as_echo_n "(cached) " >&6
16691 case $PKG_CONFIG in
16693 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
16696 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16697 for as_dir
in $PATH
16700 test -z "$as_dir" && as_dir
=.
16701 for ac_exec_ext
in '' $ac_executable_extensions; do
16702 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16703 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
16704 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16714 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
16715 if test -n "$PKG_CONFIG"; then
16716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
16717 $as_echo "$PKG_CONFIG" >&6; }
16719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16720 $as_echo "no" >&6; }
16725 if test -z "$ac_cv_path_PKG_CONFIG"; then
16726 ac_pt_PKG_CONFIG
=$PKG_CONFIG
16727 # Extract the first word of "pkg-config", so it can be a program name with args.
16728 set dummy pkg
-config; ac_word
=$2
16729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16730 $as_echo_n "checking for $ac_word... " >&6; }
16731 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
16732 $as_echo_n "(cached) " >&6
16734 case $ac_pt_PKG_CONFIG in
16736 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
16739 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16740 for as_dir
in $PATH
16743 test -z "$as_dir" && as_dir
=.
16744 for ac_exec_ext
in '' $ac_executable_extensions; do
16745 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16746 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
16747 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16757 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
16758 if test -n "$ac_pt_PKG_CONFIG"; then
16759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
16760 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
16762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16763 $as_echo "no" >&6; }
16766 if test "x$ac_pt_PKG_CONFIG" = x
; then
16769 case $cross_compiling:$ac_tool_warned in
16771 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
16772 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
16773 ac_tool_warned
=yes ;;
16775 PKG_CONFIG
=$ac_pt_PKG_CONFIG
16778 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
16782 if test -n "$PKG_CONFIG"; then
16783 _pkg_min_version
=0.22
16784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
16785 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
16786 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
16787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16788 $as_echo "yes" >&6; }
16790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16791 $as_echo "no" >&6; }
16796 # Extract the first word of "git", so it can be a program name with args.
16797 set dummy git
; ac_word
=$2
16798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16799 $as_echo_n "checking for $ac_word... " >&6; }
16800 if ${ac_cv_path_GIT+:} false
; then :
16801 $as_echo_n "(cached) " >&6
16805 ac_cv_path_GIT
="$GIT" # Let the user override the test with a path.
16808 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16809 for as_dir
in $PATH
16812 test -z "$as_dir" && as_dir
=.
16813 for ac_exec_ext
in '' $ac_executable_extensions; do
16814 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16815 ac_cv_path_GIT
="$as_dir/$ac_word$ac_exec_ext"
16816 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16826 GIT
=$ac_cv_path_GIT
16827 if test -n "$GIT"; then
16828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GIT" >&5
16829 $as_echo "$GIT" >&6; }
16831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16832 $as_echo "no" >&6; }
16836 # Extract the first word of "time", so it can be a program name with args.
16837 set dummy
time; ac_word
=$2
16838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16839 $as_echo_n "checking for $ac_word... " >&6; }
16840 if ${ac_cv_path_TIME+:} false
; then :
16841 $as_echo_n "(cached) " >&6
16845 ac_cv_path_TIME
="$TIME" # Let the user override the test with a path.
16848 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16849 for as_dir
in $PATH
16852 test -z "$as_dir" && as_dir
=.
16853 for ac_exec_ext
in '' $ac_executable_extensions; do
16854 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16855 ac_cv_path_TIME
="$as_dir/$ac_word$ac_exec_ext"
16856 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16866 TIME
=$ac_cv_path_TIME
16867 if test -n "$TIME"; then
16868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TIME" >&5
16869 $as_echo "$TIME" >&6; }
16871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16872 $as_echo "no" >&6; }
16881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bison >= 3.0" >&5
16882 $as_echo_n "checking for bison >= 3.0... " >&6; }
16883 if test -z "$BISON"; then
16884 ac_path_BISON_found
=false
16885 # Loop through the user's path and test for each of PROGNAME-LIST
16886 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16887 for as_dir
in $PATH
16890 test -z "$as_dir" && as_dir
=.
16891 for ac_prog
in bison
; do
16892 for ac_exec_ext
in '' $ac_executable_extensions; do
16893 ac_path_BISON
="$as_dir/$ac_prog$ac_exec_ext"
16894 as_fn_executable_p
"$ac_path_BISON" || continue
16895 version
=`$ac_path_BISON -V | $SED -e '1 s/^bison (GNU Bison) \(.*\)$/\1/p;d'`
16896 if ${version:+false} :; then :
16899 as_awk_strverscmp
='
16900 # Use only awk features that work with 7th edition Unix awk (1978).
16901 # My, what an old awk you have, Mr. Solaris!
16903 while (length(v1) && length(v2)) {
16904 # Set d1 to be the next thing to compare from v1, and likewise for d2.
16905 # Normally this is a single character, but if v1 and v2 contain digits,
16906 # compare them as integers and fractions as strverscmp does.
16907 if (v1 ~ /^0-9/ && v2 ~ /^0-9/) {
16908 # Split v1 and v2 into their leading digit string components d1 and d2,
16909 # and advance v1 and v2 past the leading digit strings.
16910 for (len1 = 1; substr(v1, len1 + 1) ~ /^0-9/; len1++) continue
16911 for (len2 = 1; substr(v2, len2 + 1) ~ /^0-9/; len2++) continue
16912 d1 = substr(v1, 1, len1); v1 = substr(v1, len1 + 1)
16913 d2 = substr(v2, 1, len2); v2 = substr(v2, len2 + 1)
16916 # Compare two fractions.
16917 while (d1 ~ /^0/ && d2 ~ /^0/) {
16918 d1 = substr(d1, 2); len1--
16919 d2 = substr(d2, 2); len2--
16921 if (len1 != len2 && ! (len1 && len2 && substr(d1, 1, 1) == substr(d2, 1, 1))) {
16922 # The two components differ in length, and the common prefix
16923 # contains only leading zeros. Consider the longer to be less.
16927 # Otherwise, compare as strings.
16932 # A fraction is less than an integer.
16937 # An integer is greater than a fraction.
16940 # Compare two integers.
16946 # The normal case, without worrying about digits.
16947 d1 = substr(v1, 1, 1); v1 = substr(v1, 2)
16948 d2 = substr(v2, 1, 1); v2 = substr(v2, 2)
16950 if (d1 < d2) exit 1
16951 if (d1 > d2) exit 2
16953 # Beware Solaris /usr/xgp4/bin/awk (at least through Solaris 10),
16954 # which mishandles some comparisons of empty strings to integers.
16955 if (length(v2)) exit 1
16956 if (length(v1)) exit 2
16961 awk "$as_awk_strverscmp" v1
="$as_arg_v1" v2
="$as_arg_v2" /dev
/null
16966 ac_cv_path_BISON
=$ac_path_BISON ;; #(
16968 ac_cv_path_BISON
=$ac_path_BISON ;; #(
16974 $ac_path_BISON_found && break 3
16979 if test -z "$ac_cv_path_BISON"; then
16980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16981 $as_echo "no" >&6; }
16984 ac_cv_path_BISON
=$BISON
16990 BISON
=$ac_cv_path_BISON
16992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
16993 $as_echo "$BISON" >&6; }
16998 as_fn_error $?
"You need bison 3.0 or greater" "$LINENO" 5
17004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17005 $as_echo "no" >&6; }
17013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for flex >= 2.5.33" >&5
17014 $as_echo_n "checking for flex >= 2.5.33... " >&6; }
17015 if test -z "$FLEX"; then
17016 ac_path_FLEX_found
=false
17017 # Loop through the user's path and test for each of PROGNAME-LIST
17018 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
17019 for as_dir
in $PATH
17022 test -z "$as_dir" && as_dir
=.
17023 for ac_prog
in flex
; do
17024 for ac_exec_ext
in '' $ac_executable_extensions; do
17025 ac_path_FLEX
="$as_dir/$ac_prog$ac_exec_ext"
17026 as_fn_executable_p
"$ac_path_FLEX" || continue
17027 version
=`$ac_path_FLEX --version | $SED -e '1 s/^[^0-9.]* \([0-9.]*\).*$/\1/p;d'`
17028 if ${version:+false} :; then :
17033 awk "$as_awk_strverscmp" v1
="$as_arg_v1" v2
="$as_arg_v2" /dev
/null
17038 ac_cv_path_FLEX
=$ac_path_FLEX ;; #(
17040 ac_cv_path_FLEX
=$ac_path_FLEX ;; #(
17046 $ac_path_FLEX_found && break 3
17051 if test -z "$ac_cv_path_FLEX"; then
17052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17053 $as_echo "no" >&6; }
17056 ac_cv_path_FLEX
=$FLEX
17062 FLEX
=$ac_cv_path_FLEX
17064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
17065 $as_echo "$FLEX" >&6; }
17070 as_fn_error $?
"You need flex 2.5.33 or greater" "$LINENO" 5
17076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17077 $as_echo "no" >&6; }
17085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gperf >= 3.0.3" >&5
17086 $as_echo_n "checking for gperf >= 3.0.3... " >&6; }
17087 if test -z "$GPERF"; then
17088 ac_path_GPERF_found
=false
17089 # Loop through the user's path and test for each of PROGNAME-LIST
17090 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
17091 for as_dir
in $PATH
17094 test -z "$as_dir" && as_dir
=.
17095 for ac_prog
in gperf
; do
17096 for ac_exec_ext
in '' $ac_executable_extensions; do
17097 ac_path_GPERF
="$as_dir/$ac_prog$ac_exec_ext"
17098 as_fn_executable_p
"$ac_path_GPERF" || continue
17099 version
=`$ac_path_GPERF --version | $SED -e '1 s/^.* \([0-9.]*\)$/\1/p;d'`
17100 if ${version:+false} :; then :
17105 awk "$as_awk_strverscmp" v1
="$as_arg_v1" v2
="$as_arg_v2" /dev
/null
17110 ac_cv_path_GPERF
=$ac_path_GPERF ;; #(
17112 ac_cv_path_GPERF
=$ac_path_GPERF ;; #(
17118 $ac_path_GPERF_found && break 3
17123 if test -z "$ac_cv_path_GPERF"; then
17124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17125 $as_echo "no" >&6; }
17128 ac_cv_path_GPERF
=$GPERF
17134 GPERF
=$ac_cv_path_GPERF
17136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GPERF" >&5
17137 $as_echo "$GPERF" >&6; }
17142 as_fn_error $?
"You need gperf 3.0.3 or greater" "$LINENO" 5
17148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17149 $as_echo "no" >&6; }
17157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tar gtar gnutar >= 1.19" >&5
17158 $as_echo_n "checking for tar gtar gnutar >= 1.19... " >&6; }
17159 if test -z "$GNUTAR"; then
17160 ac_path_GNUTAR_found
=false
17161 # Loop through the user's path and test for each of PROGNAME-LIST
17162 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
17163 for as_dir
in $PATH
17166 test -z "$as_dir" && as_dir
=.
17167 for ac_prog
in tar gtar gnutar
; do
17168 for ac_exec_ext
in '' $ac_executable_extensions; do
17169 ac_path_GNUTAR
="$as_dir/$ac_prog$ac_exec_ext"
17170 as_fn_executable_p
"$ac_path_GNUTAR" || continue
17171 version
=`$ac_path_GNUTAR --version | $SED -e '1 s/^tar (GNU tar) \(.*\)$/\1/p;d'`
17172 if ${version:+false} :; then :
17177 awk "$as_awk_strverscmp" v1
="$as_arg_v1" v2
="$as_arg_v2" /dev
/null
17182 ac_cv_path_GNUTAR
=$ac_path_GNUTAR ;; #(
17184 ac_cv_path_GNUTAR
=$ac_path_GNUTAR ;; #(
17190 $ac_path_GNUTAR_found && break 3
17195 if test -z "$ac_cv_path_GNUTAR"; then
17196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17197 $as_echo "no" >&6; }
17200 ac_cv_path_GNUTAR
=$GNUTAR
17206 GNUTAR
=$ac_cv_path_GNUTAR
17208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNUTAR" >&5
17209 $as_echo "$GNUTAR" >&6; }
17214 as_fn_error $?
"You need tar gtar gnutar 1.19 or greater" "$LINENO" 5
17220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17221 $as_echo "no" >&6; }
17236 ac_cpp
='$CPP $CPPFLAGS'
17237 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17238 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17239 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking CFLAGS for maximum warnings" >&5
17242 $as_echo_n "checking CFLAGS for maximum warnings... " >&6; }
17243 if ${ac_cv_cflags_warn_all+:} false
; then :
17244 $as_echo_n "(cached) " >&6
17246 ac_cv_cflags_warn_all
="no, unknown"
17247 ac_save_CFLAGS
="$CFLAGS"
17248 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" #
17249 do CFLAGS
="$ac_save_CFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
17250 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17251 /* end confdefs.h. */
17261 if ac_fn_c_try_compile
"$LINENO"; then :
17262 ac_cv_cflags_warn_all
=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
17264 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17266 CFLAGS
="$ac_save_CFLAGS"
17269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags_warn_all" >&5
17270 $as_echo "$ac_cv_cflags_warn_all" >&6; }
17273 case ".$ac_cv_cflags_warn_all" in
17276 *) if ${CFLAGS+:} false
; then :
17277 case " $CFLAGS " in
17278 *" $ac_cv_cflags_warn_all "*)
17279 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$ac_cv_cflags_warn_all"; } >&5
17280 (: CFLAGS already contains
$ac_cv_cflags_warn_all) 2>&5
17282 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17283 test $ac_status = 0; }
17286 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$ac_cv_cflags_warn_all\""; } >&5
17287 (: CFLAGS
="$CFLAGS $ac_cv_cflags_warn_all") 2>&5
17289 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17290 test $ac_status = 0; }
17291 CFLAGS
="$CFLAGS $ac_cv_cflags_warn_all"
17295 CFLAGS
="$ac_cv_cflags_warn_all"
17301 ac_cpp
='$CXXCPP $CPPFLAGS'
17302 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17303 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17304 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17308 ac_cpp
='$CXXCPP $CPPFLAGS'
17309 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17310 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17311 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking CXXFLAGS for maximum warnings" >&5
17314 $as_echo_n "checking CXXFLAGS for maximum warnings... " >&6; }
17315 if ${ac_cv_cxxflags_warn_all+:} false
; then :
17316 $as_echo_n "(cached) " >&6
17318 ac_cv_cxxflags_warn_all
="no, unknown"
17319 ac_save_CXXFLAGS
="$CXXFLAGS"
17320 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" #
17321 do CXXFLAGS
="$ac_save_CXXFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
17322 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17323 /* end confdefs.h. */
17333 if ac_fn_cxx_try_compile
"$LINENO"; then :
17334 ac_cv_cxxflags_warn_all
=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
17336 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17338 CXXFLAGS
="$ac_save_CXXFLAGS"
17341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxxflags_warn_all" >&5
17342 $as_echo "$ac_cv_cxxflags_warn_all" >&6; }
17345 case ".$ac_cv_cxxflags_warn_all" in
17348 *) if ${CXXFLAGS+:} false
; then :
17349 case " $CXXFLAGS " in
17350 *" $ac_cv_cxxflags_warn_all "*)
17351 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXFLAGS already contains \$ac_cv_cxxflags_warn_all"; } >&5
17352 (: CXXFLAGS already contains
$ac_cv_cxxflags_warn_all) 2>&5
17354 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17355 test $ac_status = 0; }
17358 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXFLAGS=\"\$CXXFLAGS \$ac_cv_cxxflags_warn_all\""; } >&5
17359 (: CXXFLAGS
="$CXXFLAGS $ac_cv_cxxflags_warn_all") 2>&5
17361 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17362 test $ac_status = 0; }
17363 CXXFLAGS
="$CXXFLAGS $ac_cv_cxxflags_warn_all"
17367 CXXFLAGS
="$ac_cv_cxxflags_warn_all"
17373 ac_cpp
='$CXXCPP $CPPFLAGS'
17374 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17375 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17376 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking CXXFLAGS for maximum warnings" >&5
17380 $as_echo_n "checking CXXFLAGS for maximum warnings... " >&6; }
17381 if ${ac_cv_cxxflags_warn_all+:} false
; then :
17382 $as_echo_n "(cached) " >&6
17384 ac_cv_cxxflags_warn_all
="no, unknown"
17385 ac_save_CXXFLAGS
="$CXXFLAGS"
17386 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" #
17387 do CXXFLAGS
="$ac_save_CXXFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
17388 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17389 /* end confdefs.h. */
17399 if ac_fn_cxx_try_compile
"$LINENO"; then :
17400 ac_cv_cxxflags_warn_all
=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
17402 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17404 CXXFLAGS
="$ac_save_CXXFLAGS"
17407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxxflags_warn_all" >&5
17408 $as_echo "$ac_cv_cxxflags_warn_all" >&6; }
17411 case ".$ac_cv_cxxflags_warn_all" in
17414 *) if ${CXXFLAGS+:} false
; then :
17415 case " $CXXFLAGS " in
17416 *" $ac_cv_cxxflags_warn_all "*)
17417 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXFLAGS already contains \$ac_cv_cxxflags_warn_all"; } >&5
17418 (: CXXFLAGS already contains
$ac_cv_cxxflags_warn_all) 2>&5
17420 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17421 test $ac_status = 0; }
17424 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXFLAGS=\"\$CXXFLAGS \$ac_cv_cxxflags_warn_all\""; } >&5
17425 (: CXXFLAGS
="$CXXFLAGS $ac_cv_cxxflags_warn_all") 2>&5
17427 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17428 test $ac_status = 0; }
17429 CXXFLAGS
="$CXXFLAGS $ac_cv_cxxflags_warn_all"
17433 CXXFLAGS
="$ac_cv_cxxflags_warn_all"
17443 ac_cpp
='$CPP $CPPFLAGS'
17444 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17445 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17446 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cc -Werror" >&5
17449 $as_echo_n "checking for cc -Werror... " >&6; }
17453 for element
in -Werror; do
17455 for x
in $CFLAGS; do
17457 acl_save_prefix
="$prefix"
17458 prefix
="$acl_final_prefix"
17459 acl_save_exec_prefix
="$exec_prefix"
17460 exec_prefix
="$acl_final_exec_prefix"
17462 exec_prefix
="$acl_save_exec_prefix"
17463 prefix
="$acl_save_prefix"
17465 if test "X$x" = "X$element"; then
17470 if test -z "$haveit"; then
17471 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
17476 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17477 /* end confdefs.h. */
17480 if ac_fn_c_try_compile
"$LINENO"; then :
17485 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17488 if test "x$cy_good" = x1
; then :
17489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17490 $as_echo "yes" >&6; }
17492 for element
in -Werror; do
17494 for x
in $CFLAGS; do
17496 acl_save_prefix
="$prefix"
17497 prefix
="$acl_final_prefix"
17498 acl_save_exec_prefix
="$exec_prefix"
17499 exec_prefix
="$acl_final_exec_prefix"
17501 exec_prefix
="$acl_save_exec_prefix"
17502 prefix
="$acl_save_prefix"
17504 if test "X$x" = "X$element"; then
17509 if test -z "$haveit"; then
17510 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
17516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17517 $as_echo "no" >&6; }
17521 ac_cpp
='$CXXCPP $CPPFLAGS'
17522 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17523 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17524 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17529 ac_cpp
='$CXXCPP $CPPFLAGS'
17530 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17531 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17532 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -Werror" >&5
17535 $as_echo_n "checking for c++ -Werror... " >&6; }
17539 for element
in -Werror; do
17541 for x
in $CXXFLAGS; do
17543 acl_save_prefix
="$prefix"
17544 prefix
="$acl_final_prefix"
17545 acl_save_exec_prefix
="$exec_prefix"
17546 exec_prefix
="$acl_final_exec_prefix"
17548 exec_prefix
="$acl_save_exec_prefix"
17549 prefix
="$acl_save_prefix"
17551 if test "X$x" = "X$element"; then
17556 if test -z "$haveit"; then
17557 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
17562 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17563 /* end confdefs.h. */
17566 if ac_fn_cxx_try_compile
"$LINENO"; then :
17571 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17574 if test "x$cy_good" = x1
; then :
17575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17576 $as_echo "yes" >&6; }
17578 for element
in -Werror; do
17580 for x
in $CXXFLAGS; do
17582 acl_save_prefix
="$prefix"
17583 prefix
="$acl_final_prefix"
17584 acl_save_exec_prefix
="$exec_prefix"
17585 exec_prefix
="$acl_final_exec_prefix"
17587 exec_prefix
="$acl_save_exec_prefix"
17588 prefix
="$acl_save_prefix"
17590 if test "X$x" = "X$element"; then
17595 if test -z "$haveit"; then
17596 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
17602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17603 $as_echo "no" >&6; }
17607 ac_cpp
='$CXXCPP $CPPFLAGS'
17608 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17609 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17610 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17615 ac_cpp
='$OBJCXXCPP $CPPFLAGS'
17616 ac_compile
='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17617 ac_link
='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17618 ac_compiler_gnu
=$ac_cv_objcxx_compiler_gnu
17620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -ObjC -Werror" >&5
17621 $as_echo_n "checking for c++ -ObjC -Werror... " >&6; }
17623 cy_save
=$OBJCXXFLAGS
17625 for element
in -Werror; do
17627 for x
in $OBJCXXFLAGS; do
17629 acl_save_prefix
="$prefix"
17630 prefix
="$acl_final_prefix"
17631 acl_save_exec_prefix
="$exec_prefix"
17632 exec_prefix
="$acl_final_exec_prefix"
17634 exec_prefix
="$acl_save_exec_prefix"
17635 prefix
="$acl_save_prefix"
17637 if test "X$x" = "X$element"; then
17642 if test -z "$haveit"; then
17643 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
17648 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17649 /* end confdefs.h. */
17652 if ac_fn_objcxx_try_compile
"$LINENO"; then :
17657 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17659 OBJCXXFLAGS
=$cy_save
17660 if test "x$cy_good" = x1
; then :
17661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17662 $as_echo "yes" >&6; }
17664 for element
in -Werror; do
17666 for x
in $OBJCXXFLAGS; do
17668 acl_save_prefix
="$prefix"
17669 prefix
="$acl_final_prefix"
17670 acl_save_exec_prefix
="$exec_prefix"
17671 exec_prefix
="$acl_final_exec_prefix"
17673 exec_prefix
="$acl_save_exec_prefix"
17674 prefix
="$acl_save_prefix"
17676 if test "X$x" = "X$element"; then
17681 if test -z "$haveit"; then
17682 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
17688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17689 $as_echo "no" >&6; }
17693 ac_cpp
='$CXXCPP $CPPFLAGS'
17694 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17695 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17696 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17704 ac_cpp
='$CPP $CPPFLAGS'
17705 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17706 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17707 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cc -Wno-deprecated-declarations" >&5
17710 $as_echo_n "checking for cc -Wno-deprecated-declarations... " >&6; }
17714 for element
in -Wno-deprecated-declarations; do
17716 for x
in $CFLAGS; do
17718 acl_save_prefix
="$prefix"
17719 prefix
="$acl_final_prefix"
17720 acl_save_exec_prefix
="$exec_prefix"
17721 exec_prefix
="$acl_final_exec_prefix"
17723 exec_prefix
="$acl_save_exec_prefix"
17724 prefix
="$acl_save_prefix"
17726 if test "X$x" = "X$element"; then
17731 if test -z "$haveit"; then
17732 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
17737 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17738 /* end confdefs.h. */
17741 if ac_fn_c_try_compile
"$LINENO"; then :
17746 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17749 if test "x$cy_good" = x1
; then :
17750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17751 $as_echo "yes" >&6; }
17753 for element
in -Wno-deprecated-declarations; do
17755 for x
in $CFLAGS; do
17757 acl_save_prefix
="$prefix"
17758 prefix
="$acl_final_prefix"
17759 acl_save_exec_prefix
="$exec_prefix"
17760 exec_prefix
="$acl_final_exec_prefix"
17762 exec_prefix
="$acl_save_exec_prefix"
17763 prefix
="$acl_save_prefix"
17765 if test "X$x" = "X$element"; then
17770 if test -z "$haveit"; then
17771 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
17777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17778 $as_echo "no" >&6; }
17782 ac_cpp
='$CXXCPP $CPPFLAGS'
17783 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17784 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17785 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17790 ac_cpp
='$CXXCPP $CPPFLAGS'
17791 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17792 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17793 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -Wno-deprecated-declarations" >&5
17796 $as_echo_n "checking for c++ -Wno-deprecated-declarations... " >&6; }
17800 for element
in -Wno-deprecated-declarations; do
17802 for x
in $CXXFLAGS; do
17804 acl_save_prefix
="$prefix"
17805 prefix
="$acl_final_prefix"
17806 acl_save_exec_prefix
="$exec_prefix"
17807 exec_prefix
="$acl_final_exec_prefix"
17809 exec_prefix
="$acl_save_exec_prefix"
17810 prefix
="$acl_save_prefix"
17812 if test "X$x" = "X$element"; then
17817 if test -z "$haveit"; then
17818 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
17823 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17824 /* end confdefs.h. */
17827 if ac_fn_cxx_try_compile
"$LINENO"; then :
17832 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17835 if test "x$cy_good" = x1
; then :
17836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17837 $as_echo "yes" >&6; }
17839 for element
in -Wno-deprecated-declarations; do
17841 for x
in $CXXFLAGS; do
17843 acl_save_prefix
="$prefix"
17844 prefix
="$acl_final_prefix"
17845 acl_save_exec_prefix
="$exec_prefix"
17846 exec_prefix
="$acl_final_exec_prefix"
17848 exec_prefix
="$acl_save_exec_prefix"
17849 prefix
="$acl_save_prefix"
17851 if test "X$x" = "X$element"; then
17856 if test -z "$haveit"; then
17857 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
17863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17864 $as_echo "no" >&6; }
17868 ac_cpp
='$CXXCPP $CPPFLAGS'
17869 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17870 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17871 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17876 ac_cpp
='$OBJCXXCPP $CPPFLAGS'
17877 ac_compile
='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17878 ac_link
='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17879 ac_compiler_gnu
=$ac_cv_objcxx_compiler_gnu
17881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -ObjC -Wno-deprecated-declarations" >&5
17882 $as_echo_n "checking for c++ -ObjC -Wno-deprecated-declarations... " >&6; }
17884 cy_save
=$OBJCXXFLAGS
17886 for element
in -Wno-deprecated-declarations; do
17888 for x
in $OBJCXXFLAGS; do
17890 acl_save_prefix
="$prefix"
17891 prefix
="$acl_final_prefix"
17892 acl_save_exec_prefix
="$exec_prefix"
17893 exec_prefix
="$acl_final_exec_prefix"
17895 exec_prefix
="$acl_save_exec_prefix"
17896 prefix
="$acl_save_prefix"
17898 if test "X$x" = "X$element"; then
17903 if test -z "$haveit"; then
17904 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
17909 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17910 /* end confdefs.h. */
17913 if ac_fn_objcxx_try_compile
"$LINENO"; then :
17918 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17920 OBJCXXFLAGS
=$cy_save
17921 if test "x$cy_good" = x1
; then :
17922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17923 $as_echo "yes" >&6; }
17925 for element
in -Wno-deprecated-declarations; do
17927 for x
in $OBJCXXFLAGS; do
17929 acl_save_prefix
="$prefix"
17930 prefix
="$acl_final_prefix"
17931 acl_save_exec_prefix
="$exec_prefix"
17932 exec_prefix
="$acl_final_exec_prefix"
17934 exec_prefix
="$acl_save_exec_prefix"
17935 prefix
="$acl_save_prefix"
17937 if test "X$x" = "X$element"; then
17942 if test -z "$haveit"; then
17943 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
17949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17950 $as_echo "no" >&6; }
17954 ac_cpp
='$CXXCPP $CPPFLAGS'
17955 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17956 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17957 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17965 ac_cpp
='$CPP $CPPFLAGS'
17966 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17967 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17968 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cc -Wno-dangling-else" >&5
17971 $as_echo_n "checking for cc -Wno-dangling-else... " >&6; }
17975 for element
in -Wno-dangling-else; do
17977 for x
in $CFLAGS; do
17979 acl_save_prefix
="$prefix"
17980 prefix
="$acl_final_prefix"
17981 acl_save_exec_prefix
="$exec_prefix"
17982 exec_prefix
="$acl_final_exec_prefix"
17984 exec_prefix
="$acl_save_exec_prefix"
17985 prefix
="$acl_save_prefix"
17987 if test "X$x" = "X$element"; then
17992 if test -z "$haveit"; then
17993 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
17998 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17999 /* end confdefs.h. */
18002 if ac_fn_c_try_compile
"$LINENO"; then :
18007 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18010 if test "x$cy_good" = x1
; then :
18011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18012 $as_echo "yes" >&6; }
18014 for element
in -Wno-dangling-else; do
18016 for x
in $CFLAGS; do
18018 acl_save_prefix
="$prefix"
18019 prefix
="$acl_final_prefix"
18020 acl_save_exec_prefix
="$exec_prefix"
18021 exec_prefix
="$acl_final_exec_prefix"
18023 exec_prefix
="$acl_save_exec_prefix"
18024 prefix
="$acl_save_prefix"
18026 if test "X$x" = "X$element"; then
18031 if test -z "$haveit"; then
18032 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
18038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18039 $as_echo "no" >&6; }
18043 ac_cpp
='$CXXCPP $CPPFLAGS'
18044 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18045 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18046 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18051 ac_cpp
='$CXXCPP $CPPFLAGS'
18052 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18053 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18054 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -Wno-dangling-else" >&5
18057 $as_echo_n "checking for c++ -Wno-dangling-else... " >&6; }
18061 for element
in -Wno-dangling-else; do
18063 for x
in $CXXFLAGS; do
18065 acl_save_prefix
="$prefix"
18066 prefix
="$acl_final_prefix"
18067 acl_save_exec_prefix
="$exec_prefix"
18068 exec_prefix
="$acl_final_exec_prefix"
18070 exec_prefix
="$acl_save_exec_prefix"
18071 prefix
="$acl_save_prefix"
18073 if test "X$x" = "X$element"; then
18078 if test -z "$haveit"; then
18079 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
18084 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18085 /* end confdefs.h. */
18088 if ac_fn_cxx_try_compile
"$LINENO"; then :
18093 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18096 if test "x$cy_good" = x1
; then :
18097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18098 $as_echo "yes" >&6; }
18100 for element
in -Wno-dangling-else; do
18102 for x
in $CXXFLAGS; do
18104 acl_save_prefix
="$prefix"
18105 prefix
="$acl_final_prefix"
18106 acl_save_exec_prefix
="$exec_prefix"
18107 exec_prefix
="$acl_final_exec_prefix"
18109 exec_prefix
="$acl_save_exec_prefix"
18110 prefix
="$acl_save_prefix"
18112 if test "X$x" = "X$element"; then
18117 if test -z "$haveit"; then
18118 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
18124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18125 $as_echo "no" >&6; }
18129 ac_cpp
='$CXXCPP $CPPFLAGS'
18130 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18131 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18132 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18137 ac_cpp
='$OBJCXXCPP $CPPFLAGS'
18138 ac_compile
='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18139 ac_link
='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18140 ac_compiler_gnu
=$ac_cv_objcxx_compiler_gnu
18142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -ObjC -Wno-dangling-else" >&5
18143 $as_echo_n "checking for c++ -ObjC -Wno-dangling-else... " >&6; }
18145 cy_save
=$OBJCXXFLAGS
18147 for element
in -Wno-dangling-else; do
18149 for x
in $OBJCXXFLAGS; do
18151 acl_save_prefix
="$prefix"
18152 prefix
="$acl_final_prefix"
18153 acl_save_exec_prefix
="$exec_prefix"
18154 exec_prefix
="$acl_final_exec_prefix"
18156 exec_prefix
="$acl_save_exec_prefix"
18157 prefix
="$acl_save_prefix"
18159 if test "X$x" = "X$element"; then
18164 if test -z "$haveit"; then
18165 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
18170 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18171 /* end confdefs.h. */
18174 if ac_fn_objcxx_try_compile
"$LINENO"; then :
18179 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18181 OBJCXXFLAGS
=$cy_save
18182 if test "x$cy_good" = x1
; then :
18183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18184 $as_echo "yes" >&6; }
18186 for element
in -Wno-dangling-else; do
18188 for x
in $OBJCXXFLAGS; do
18190 acl_save_prefix
="$prefix"
18191 prefix
="$acl_final_prefix"
18192 acl_save_exec_prefix
="$exec_prefix"
18193 exec_prefix
="$acl_final_exec_prefix"
18195 exec_prefix
="$acl_save_exec_prefix"
18196 prefix
="$acl_save_prefix"
18198 if test "X$x" = "X$element"; then
18203 if test -z "$haveit"; then
18204 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
18210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18211 $as_echo "no" >&6; }
18215 ac_cpp
='$CXXCPP $CPPFLAGS'
18216 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18217 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18218 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18225 ac_cpp
='$CPP $CPPFLAGS'
18226 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18227 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18228 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cc -Wno-empty-body" >&5
18231 $as_echo_n "checking for cc -Wno-empty-body... " >&6; }
18235 for element
in -Wno-empty-body; do
18237 for x
in $CFLAGS; do
18239 acl_save_prefix
="$prefix"
18240 prefix
="$acl_final_prefix"
18241 acl_save_exec_prefix
="$exec_prefix"
18242 exec_prefix
="$acl_final_exec_prefix"
18244 exec_prefix
="$acl_save_exec_prefix"
18245 prefix
="$acl_save_prefix"
18247 if test "X$x" = "X$element"; then
18252 if test -z "$haveit"; then
18253 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
18258 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18259 /* end confdefs.h. */
18262 if ac_fn_c_try_compile
"$LINENO"; then :
18267 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18270 if test "x$cy_good" = x1
; then :
18271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18272 $as_echo "yes" >&6; }
18274 for element
in -Wno-empty-body; do
18276 for x
in $CFLAGS; do
18278 acl_save_prefix
="$prefix"
18279 prefix
="$acl_final_prefix"
18280 acl_save_exec_prefix
="$exec_prefix"
18281 exec_prefix
="$acl_final_exec_prefix"
18283 exec_prefix
="$acl_save_exec_prefix"
18284 prefix
="$acl_save_prefix"
18286 if test "X$x" = "X$element"; then
18291 if test -z "$haveit"; then
18292 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
18298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18299 $as_echo "no" >&6; }
18303 ac_cpp
='$CXXCPP $CPPFLAGS'
18304 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18305 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18306 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18311 ac_cpp
='$CXXCPP $CPPFLAGS'
18312 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18313 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18314 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -Wno-empty-body" >&5
18317 $as_echo_n "checking for c++ -Wno-empty-body... " >&6; }
18321 for element
in -Wno-empty-body; do
18323 for x
in $CXXFLAGS; do
18325 acl_save_prefix
="$prefix"
18326 prefix
="$acl_final_prefix"
18327 acl_save_exec_prefix
="$exec_prefix"
18328 exec_prefix
="$acl_final_exec_prefix"
18330 exec_prefix
="$acl_save_exec_prefix"
18331 prefix
="$acl_save_prefix"
18333 if test "X$x" = "X$element"; then
18338 if test -z "$haveit"; then
18339 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
18344 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18345 /* end confdefs.h. */
18348 if ac_fn_cxx_try_compile
"$LINENO"; then :
18353 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18356 if test "x$cy_good" = x1
; then :
18357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18358 $as_echo "yes" >&6; }
18360 for element
in -Wno-empty-body; do
18362 for x
in $CXXFLAGS; do
18364 acl_save_prefix
="$prefix"
18365 prefix
="$acl_final_prefix"
18366 acl_save_exec_prefix
="$exec_prefix"
18367 exec_prefix
="$acl_final_exec_prefix"
18369 exec_prefix
="$acl_save_exec_prefix"
18370 prefix
="$acl_save_prefix"
18372 if test "X$x" = "X$element"; then
18377 if test -z "$haveit"; then
18378 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
18384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18385 $as_echo "no" >&6; }
18389 ac_cpp
='$CXXCPP $CPPFLAGS'
18390 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18391 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18392 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18397 ac_cpp
='$OBJCXXCPP $CPPFLAGS'
18398 ac_compile
='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18399 ac_link
='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18400 ac_compiler_gnu
=$ac_cv_objcxx_compiler_gnu
18402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -ObjC -Wno-empty-body" >&5
18403 $as_echo_n "checking for c++ -ObjC -Wno-empty-body... " >&6; }
18405 cy_save
=$OBJCXXFLAGS
18407 for element
in -Wno-empty-body; do
18409 for x
in $OBJCXXFLAGS; do
18411 acl_save_prefix
="$prefix"
18412 prefix
="$acl_final_prefix"
18413 acl_save_exec_prefix
="$exec_prefix"
18414 exec_prefix
="$acl_final_exec_prefix"
18416 exec_prefix
="$acl_save_exec_prefix"
18417 prefix
="$acl_save_prefix"
18419 if test "X$x" = "X$element"; then
18424 if test -z "$haveit"; then
18425 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
18430 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18431 /* end confdefs.h. */
18434 if ac_fn_objcxx_try_compile
"$LINENO"; then :
18439 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18441 OBJCXXFLAGS
=$cy_save
18442 if test "x$cy_good" = x1
; then :
18443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18444 $as_echo "yes" >&6; }
18446 for element
in -Wno-empty-body; do
18448 for x
in $OBJCXXFLAGS; do
18450 acl_save_prefix
="$prefix"
18451 prefix
="$acl_final_prefix"
18452 acl_save_exec_prefix
="$exec_prefix"
18453 exec_prefix
="$acl_final_exec_prefix"
18455 exec_prefix
="$acl_save_exec_prefix"
18456 prefix
="$acl_save_prefix"
18458 if test "X$x" = "X$element"; then
18463 if test -z "$haveit"; then
18464 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
18470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18471 $as_echo "no" >&6; }
18475 ac_cpp
='$CXXCPP $CPPFLAGS'
18476 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18477 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18478 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18485 ac_cpp
='$CPP $CPPFLAGS'
18486 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18487 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18488 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cc -Wno-overloaded-virtual" >&5
18491 $as_echo_n "checking for cc -Wno-overloaded-virtual... " >&6; }
18495 for element
in -Wno-overloaded-virtual; do
18497 for x
in $CFLAGS; do
18499 acl_save_prefix
="$prefix"
18500 prefix
="$acl_final_prefix"
18501 acl_save_exec_prefix
="$exec_prefix"
18502 exec_prefix
="$acl_final_exec_prefix"
18504 exec_prefix
="$acl_save_exec_prefix"
18505 prefix
="$acl_save_prefix"
18507 if test "X$x" = "X$element"; then
18512 if test -z "$haveit"; then
18513 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
18518 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18519 /* end confdefs.h. */
18522 if ac_fn_c_try_compile
"$LINENO"; then :
18527 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18530 if test "x$cy_good" = x1
; then :
18531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18532 $as_echo "yes" >&6; }
18534 for element
in -Wno-overloaded-virtual; do
18536 for x
in $CFLAGS; do
18538 acl_save_prefix
="$prefix"
18539 prefix
="$acl_final_prefix"
18540 acl_save_exec_prefix
="$exec_prefix"
18541 exec_prefix
="$acl_final_exec_prefix"
18543 exec_prefix
="$acl_save_exec_prefix"
18544 prefix
="$acl_save_prefix"
18546 if test "X$x" = "X$element"; then
18551 if test -z "$haveit"; then
18552 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
18558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18559 $as_echo "no" >&6; }
18563 ac_cpp
='$CXXCPP $CPPFLAGS'
18564 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18565 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18566 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18571 ac_cpp
='$CXXCPP $CPPFLAGS'
18572 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18573 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18574 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -Wno-overloaded-virtual" >&5
18577 $as_echo_n "checking for c++ -Wno-overloaded-virtual... " >&6; }
18581 for element
in -Wno-overloaded-virtual; do
18583 for x
in $CXXFLAGS; do
18585 acl_save_prefix
="$prefix"
18586 prefix
="$acl_final_prefix"
18587 acl_save_exec_prefix
="$exec_prefix"
18588 exec_prefix
="$acl_final_exec_prefix"
18590 exec_prefix
="$acl_save_exec_prefix"
18591 prefix
="$acl_save_prefix"
18593 if test "X$x" = "X$element"; then
18598 if test -z "$haveit"; then
18599 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
18604 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18605 /* end confdefs.h. */
18608 if ac_fn_cxx_try_compile
"$LINENO"; then :
18613 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18616 if test "x$cy_good" = x1
; then :
18617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18618 $as_echo "yes" >&6; }
18620 for element
in -Wno-overloaded-virtual; do
18622 for x
in $CXXFLAGS; do
18624 acl_save_prefix
="$prefix"
18625 prefix
="$acl_final_prefix"
18626 acl_save_exec_prefix
="$exec_prefix"
18627 exec_prefix
="$acl_final_exec_prefix"
18629 exec_prefix
="$acl_save_exec_prefix"
18630 prefix
="$acl_save_prefix"
18632 if test "X$x" = "X$element"; then
18637 if test -z "$haveit"; then
18638 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
18644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18645 $as_echo "no" >&6; }
18649 ac_cpp
='$CXXCPP $CPPFLAGS'
18650 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18651 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18652 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18657 ac_cpp
='$OBJCXXCPP $CPPFLAGS'
18658 ac_compile
='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18659 ac_link
='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18660 ac_compiler_gnu
=$ac_cv_objcxx_compiler_gnu
18662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -ObjC -Wno-overloaded-virtual" >&5
18663 $as_echo_n "checking for c++ -ObjC -Wno-overloaded-virtual... " >&6; }
18665 cy_save
=$OBJCXXFLAGS
18667 for element
in -Wno-overloaded-virtual; do
18669 for x
in $OBJCXXFLAGS; do
18671 acl_save_prefix
="$prefix"
18672 prefix
="$acl_final_prefix"
18673 acl_save_exec_prefix
="$exec_prefix"
18674 exec_prefix
="$acl_final_exec_prefix"
18676 exec_prefix
="$acl_save_exec_prefix"
18677 prefix
="$acl_save_prefix"
18679 if test "X$x" = "X$element"; then
18684 if test -z "$haveit"; then
18685 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
18690 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18691 /* end confdefs.h. */
18694 if ac_fn_objcxx_try_compile
"$LINENO"; then :
18699 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18701 OBJCXXFLAGS
=$cy_save
18702 if test "x$cy_good" = x1
; then :
18703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18704 $as_echo "yes" >&6; }
18706 for element
in -Wno-overloaded-virtual; do
18708 for x
in $OBJCXXFLAGS; do
18710 acl_save_prefix
="$prefix"
18711 prefix
="$acl_final_prefix"
18712 acl_save_exec_prefix
="$exec_prefix"
18713 exec_prefix
="$acl_final_exec_prefix"
18715 exec_prefix
="$acl_save_exec_prefix"
18716 prefix
="$acl_save_prefix"
18718 if test "X$x" = "X$element"; then
18723 if test -z "$haveit"; then
18724 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
18730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18731 $as_echo "no" >&6; }
18735 ac_cpp
='$CXXCPP $CPPFLAGS'
18736 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18737 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18738 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18745 ac_cpp
='$CPP $CPPFLAGS'
18746 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18747 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18748 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cc -Wno-parentheses" >&5
18751 $as_echo_n "checking for cc -Wno-parentheses... " >&6; }
18755 for element
in -Wno-parentheses; do
18757 for x
in $CFLAGS; do
18759 acl_save_prefix
="$prefix"
18760 prefix
="$acl_final_prefix"
18761 acl_save_exec_prefix
="$exec_prefix"
18762 exec_prefix
="$acl_final_exec_prefix"
18764 exec_prefix
="$acl_save_exec_prefix"
18765 prefix
="$acl_save_prefix"
18767 if test "X$x" = "X$element"; then
18772 if test -z "$haveit"; then
18773 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
18778 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18779 /* end confdefs.h. */
18782 if ac_fn_c_try_compile
"$LINENO"; then :
18787 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18790 if test "x$cy_good" = x1
; then :
18791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18792 $as_echo "yes" >&6; }
18794 for element
in -Wno-parentheses; do
18796 for x
in $CFLAGS; do
18798 acl_save_prefix
="$prefix"
18799 prefix
="$acl_final_prefix"
18800 acl_save_exec_prefix
="$exec_prefix"
18801 exec_prefix
="$acl_final_exec_prefix"
18803 exec_prefix
="$acl_save_exec_prefix"
18804 prefix
="$acl_save_prefix"
18806 if test "X$x" = "X$element"; then
18811 if test -z "$haveit"; then
18812 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
18818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18819 $as_echo "no" >&6; }
18823 ac_cpp
='$CXXCPP $CPPFLAGS'
18824 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18825 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18826 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18831 ac_cpp
='$CXXCPP $CPPFLAGS'
18832 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18833 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18834 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -Wno-parentheses" >&5
18837 $as_echo_n "checking for c++ -Wno-parentheses... " >&6; }
18841 for element
in -Wno-parentheses; do
18843 for x
in $CXXFLAGS; do
18845 acl_save_prefix
="$prefix"
18846 prefix
="$acl_final_prefix"
18847 acl_save_exec_prefix
="$exec_prefix"
18848 exec_prefix
="$acl_final_exec_prefix"
18850 exec_prefix
="$acl_save_exec_prefix"
18851 prefix
="$acl_save_prefix"
18853 if test "X$x" = "X$element"; then
18858 if test -z "$haveit"; then
18859 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
18864 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18865 /* end confdefs.h. */
18868 if ac_fn_cxx_try_compile
"$LINENO"; then :
18873 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18876 if test "x$cy_good" = x1
; then :
18877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18878 $as_echo "yes" >&6; }
18880 for element
in -Wno-parentheses; do
18882 for x
in $CXXFLAGS; do
18884 acl_save_prefix
="$prefix"
18885 prefix
="$acl_final_prefix"
18886 acl_save_exec_prefix
="$exec_prefix"
18887 exec_prefix
="$acl_final_exec_prefix"
18889 exec_prefix
="$acl_save_exec_prefix"
18890 prefix
="$acl_save_prefix"
18892 if test "X$x" = "X$element"; then
18897 if test -z "$haveit"; then
18898 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
18904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18905 $as_echo "no" >&6; }
18909 ac_cpp
='$CXXCPP $CPPFLAGS'
18910 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18911 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18912 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18917 ac_cpp
='$OBJCXXCPP $CPPFLAGS'
18918 ac_compile
='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18919 ac_link
='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18920 ac_compiler_gnu
=$ac_cv_objcxx_compiler_gnu
18922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -ObjC -Wno-parentheses" >&5
18923 $as_echo_n "checking for c++ -ObjC -Wno-parentheses... " >&6; }
18925 cy_save
=$OBJCXXFLAGS
18927 for element
in -Wno-parentheses; do
18929 for x
in $OBJCXXFLAGS; do
18931 acl_save_prefix
="$prefix"
18932 prefix
="$acl_final_prefix"
18933 acl_save_exec_prefix
="$exec_prefix"
18934 exec_prefix
="$acl_final_exec_prefix"
18936 exec_prefix
="$acl_save_exec_prefix"
18937 prefix
="$acl_save_prefix"
18939 if test "X$x" = "X$element"; then
18944 if test -z "$haveit"; then
18945 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
18950 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18951 /* end confdefs.h. */
18954 if ac_fn_objcxx_try_compile
"$LINENO"; then :
18959 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18961 OBJCXXFLAGS
=$cy_save
18962 if test "x$cy_good" = x1
; then :
18963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18964 $as_echo "yes" >&6; }
18966 for element
in -Wno-parentheses; do
18968 for x
in $OBJCXXFLAGS; do
18970 acl_save_prefix
="$prefix"
18971 prefix
="$acl_final_prefix"
18972 acl_save_exec_prefix
="$exec_prefix"
18973 exec_prefix
="$acl_final_exec_prefix"
18975 exec_prefix
="$acl_save_exec_prefix"
18976 prefix
="$acl_save_prefix"
18978 if test "X$x" = "X$element"; then
18983 if test -z "$haveit"; then
18984 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
18990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18991 $as_echo "no" >&6; }
18995 ac_cpp
='$CXXCPP $CPPFLAGS'
18996 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18997 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18998 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19005 ac_cpp
='$CPP $CPPFLAGS'
19006 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19007 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19008 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cc -Wno-tautological-undefined-compare" >&5
19011 $as_echo_n "checking for cc -Wno-tautological-undefined-compare... " >&6; }
19015 for element
in -Wno-tautological-undefined-compare; do
19017 for x
in $CFLAGS; do
19019 acl_save_prefix
="$prefix"
19020 prefix
="$acl_final_prefix"
19021 acl_save_exec_prefix
="$exec_prefix"
19022 exec_prefix
="$acl_final_exec_prefix"
19024 exec_prefix
="$acl_save_exec_prefix"
19025 prefix
="$acl_save_prefix"
19027 if test "X$x" = "X$element"; then
19032 if test -z "$haveit"; then
19033 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
19038 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19039 /* end confdefs.h. */
19042 if ac_fn_c_try_compile
"$LINENO"; then :
19047 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19050 if test "x$cy_good" = x1
; then :
19051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19052 $as_echo "yes" >&6; }
19054 for element
in -Wno-tautological-undefined-compare; do
19056 for x
in $CFLAGS; do
19058 acl_save_prefix
="$prefix"
19059 prefix
="$acl_final_prefix"
19060 acl_save_exec_prefix
="$exec_prefix"
19061 exec_prefix
="$acl_final_exec_prefix"
19063 exec_prefix
="$acl_save_exec_prefix"
19064 prefix
="$acl_save_prefix"
19066 if test "X$x" = "X$element"; then
19071 if test -z "$haveit"; then
19072 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
19078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19079 $as_echo "no" >&6; }
19083 ac_cpp
='$CXXCPP $CPPFLAGS'
19084 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19085 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19086 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19091 ac_cpp
='$CXXCPP $CPPFLAGS'
19092 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19093 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19094 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -Wno-tautological-undefined-compare" >&5
19097 $as_echo_n "checking for c++ -Wno-tautological-undefined-compare... " >&6; }
19101 for element
in -Wno-tautological-undefined-compare; do
19103 for x
in $CXXFLAGS; do
19105 acl_save_prefix
="$prefix"
19106 prefix
="$acl_final_prefix"
19107 acl_save_exec_prefix
="$exec_prefix"
19108 exec_prefix
="$acl_final_exec_prefix"
19110 exec_prefix
="$acl_save_exec_prefix"
19111 prefix
="$acl_save_prefix"
19113 if test "X$x" = "X$element"; then
19118 if test -z "$haveit"; then
19119 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
19124 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19125 /* end confdefs.h. */
19128 if ac_fn_cxx_try_compile
"$LINENO"; then :
19133 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19136 if test "x$cy_good" = x1
; then :
19137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19138 $as_echo "yes" >&6; }
19140 for element
in -Wno-tautological-undefined-compare; do
19142 for x
in $CXXFLAGS; do
19144 acl_save_prefix
="$prefix"
19145 prefix
="$acl_final_prefix"
19146 acl_save_exec_prefix
="$exec_prefix"
19147 exec_prefix
="$acl_final_exec_prefix"
19149 exec_prefix
="$acl_save_exec_prefix"
19150 prefix
="$acl_save_prefix"
19152 if test "X$x" = "X$element"; then
19157 if test -z "$haveit"; then
19158 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
19164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19165 $as_echo "no" >&6; }
19169 ac_cpp
='$CXXCPP $CPPFLAGS'
19170 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19171 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19172 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19177 ac_cpp
='$OBJCXXCPP $CPPFLAGS'
19178 ac_compile
='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19179 ac_link
='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19180 ac_compiler_gnu
=$ac_cv_objcxx_compiler_gnu
19182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -ObjC -Wno-tautological-undefined-compare" >&5
19183 $as_echo_n "checking for c++ -ObjC -Wno-tautological-undefined-compare... " >&6; }
19185 cy_save
=$OBJCXXFLAGS
19187 for element
in -Wno-tautological-undefined-compare; do
19189 for x
in $OBJCXXFLAGS; do
19191 acl_save_prefix
="$prefix"
19192 prefix
="$acl_final_prefix"
19193 acl_save_exec_prefix
="$exec_prefix"
19194 exec_prefix
="$acl_final_exec_prefix"
19196 exec_prefix
="$acl_save_exec_prefix"
19197 prefix
="$acl_save_prefix"
19199 if test "X$x" = "X$element"; then
19204 if test -z "$haveit"; then
19205 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
19210 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19211 /* end confdefs.h. */
19214 if ac_fn_objcxx_try_compile
"$LINENO"; then :
19219 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19221 OBJCXXFLAGS
=$cy_save
19222 if test "x$cy_good" = x1
; then :
19223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19224 $as_echo "yes" >&6; }
19226 for element
in -Wno-tautological-undefined-compare; do
19228 for x
in $OBJCXXFLAGS; do
19230 acl_save_prefix
="$prefix"
19231 prefix
="$acl_final_prefix"
19232 acl_save_exec_prefix
="$exec_prefix"
19233 exec_prefix
="$acl_final_exec_prefix"
19235 exec_prefix
="$acl_save_exec_prefix"
19236 prefix
="$acl_save_prefix"
19238 if test "X$x" = "X$element"; then
19243 if test -z "$haveit"; then
19244 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
19250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19251 $as_echo "no" >&6; }
19255 ac_cpp
='$CXXCPP $CPPFLAGS'
19256 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19257 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19258 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19265 ac_cpp
='$CPP $CPPFLAGS'
19266 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19267 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19268 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cc -Wno-unneeded-internal-declaration" >&5
19271 $as_echo_n "checking for cc -Wno-unneeded-internal-declaration... " >&6; }
19275 for element
in -Wno-unneeded-internal-declaration; do
19277 for x
in $CFLAGS; do
19279 acl_save_prefix
="$prefix"
19280 prefix
="$acl_final_prefix"
19281 acl_save_exec_prefix
="$exec_prefix"
19282 exec_prefix
="$acl_final_exec_prefix"
19284 exec_prefix
="$acl_save_exec_prefix"
19285 prefix
="$acl_save_prefix"
19287 if test "X$x" = "X$element"; then
19292 if test -z "$haveit"; then
19293 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
19298 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19299 /* end confdefs.h. */
19302 if ac_fn_c_try_compile
"$LINENO"; then :
19307 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19310 if test "x$cy_good" = x1
; then :
19311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19312 $as_echo "yes" >&6; }
19314 for element
in -Wno-unneeded-internal-declaration; do
19316 for x
in $CFLAGS; do
19318 acl_save_prefix
="$prefix"
19319 prefix
="$acl_final_prefix"
19320 acl_save_exec_prefix
="$exec_prefix"
19321 exec_prefix
="$acl_final_exec_prefix"
19323 exec_prefix
="$acl_save_exec_prefix"
19324 prefix
="$acl_save_prefix"
19326 if test "X$x" = "X$element"; then
19331 if test -z "$haveit"; then
19332 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
19338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19339 $as_echo "no" >&6; }
19343 ac_cpp
='$CXXCPP $CPPFLAGS'
19344 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19345 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19346 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19351 ac_cpp
='$CXXCPP $CPPFLAGS'
19352 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19353 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19354 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -Wno-unneeded-internal-declaration" >&5
19357 $as_echo_n "checking for c++ -Wno-unneeded-internal-declaration... " >&6; }
19361 for element
in -Wno-unneeded-internal-declaration; do
19363 for x
in $CXXFLAGS; do
19365 acl_save_prefix
="$prefix"
19366 prefix
="$acl_final_prefix"
19367 acl_save_exec_prefix
="$exec_prefix"
19368 exec_prefix
="$acl_final_exec_prefix"
19370 exec_prefix
="$acl_save_exec_prefix"
19371 prefix
="$acl_save_prefix"
19373 if test "X$x" = "X$element"; then
19378 if test -z "$haveit"; then
19379 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
19384 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19385 /* end confdefs.h. */
19388 if ac_fn_cxx_try_compile
"$LINENO"; then :
19393 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19396 if test "x$cy_good" = x1
; then :
19397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19398 $as_echo "yes" >&6; }
19400 for element
in -Wno-unneeded-internal-declaration; do
19402 for x
in $CXXFLAGS; do
19404 acl_save_prefix
="$prefix"
19405 prefix
="$acl_final_prefix"
19406 acl_save_exec_prefix
="$exec_prefix"
19407 exec_prefix
="$acl_final_exec_prefix"
19409 exec_prefix
="$acl_save_exec_prefix"
19410 prefix
="$acl_save_prefix"
19412 if test "X$x" = "X$element"; then
19417 if test -z "$haveit"; then
19418 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
19424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19425 $as_echo "no" >&6; }
19429 ac_cpp
='$CXXCPP $CPPFLAGS'
19430 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19431 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19432 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19437 ac_cpp
='$OBJCXXCPP $CPPFLAGS'
19438 ac_compile
='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19439 ac_link
='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19440 ac_compiler_gnu
=$ac_cv_objcxx_compiler_gnu
19442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -ObjC -Wno-unneeded-internal-declaration" >&5
19443 $as_echo_n "checking for c++ -ObjC -Wno-unneeded-internal-declaration... " >&6; }
19445 cy_save
=$OBJCXXFLAGS
19447 for element
in -Wno-unneeded-internal-declaration; do
19449 for x
in $OBJCXXFLAGS; do
19451 acl_save_prefix
="$prefix"
19452 prefix
="$acl_final_prefix"
19453 acl_save_exec_prefix
="$exec_prefix"
19454 exec_prefix
="$acl_final_exec_prefix"
19456 exec_prefix
="$acl_save_exec_prefix"
19457 prefix
="$acl_save_prefix"
19459 if test "X$x" = "X$element"; then
19464 if test -z "$haveit"; then
19465 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
19470 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19471 /* end confdefs.h. */
19474 if ac_fn_objcxx_try_compile
"$LINENO"; then :
19479 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19481 OBJCXXFLAGS
=$cy_save
19482 if test "x$cy_good" = x1
; then :
19483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19484 $as_echo "yes" >&6; }
19486 for element
in -Wno-unneeded-internal-declaration; do
19488 for x
in $OBJCXXFLAGS; do
19490 acl_save_prefix
="$prefix"
19491 prefix
="$acl_final_prefix"
19492 acl_save_exec_prefix
="$exec_prefix"
19493 exec_prefix
="$acl_final_exec_prefix"
19495 exec_prefix
="$acl_save_exec_prefix"
19496 prefix
="$acl_save_prefix"
19498 if test "X$x" = "X$element"; then
19503 if test -z "$haveit"; then
19504 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
19510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19511 $as_echo "no" >&6; }
19515 ac_cpp
='$CXXCPP $CPPFLAGS'
19516 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19517 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19518 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19527 ac_cpp
='$CPP $CPPFLAGS'
19528 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19529 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19530 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19534 # We used to check for pthread.h first, but this fails if pthread.h
19535 # requires special compiler flags (e.g. on Tru64 or Sequent).
19536 # It gets checked for in the link test anyway.
19538 # First of all, check if the user has set any of the PTHREAD_LIBS,
19539 # etcetera environment variables, and if threads linking works using
19541 if test x
"$PTHREAD_LIBS$PTHREAD_CFLAGS" != x
; then
19542 save_CFLAGS
="$CFLAGS"
19543 CFLAGS
="$CFLAGS $PTHREAD_CFLAGS"
19545 LIBS
="$PTHREAD_LIBS $LIBS"
19546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_join using $CC $PTHREAD_CFLAGS $PTHREAD_LIBS" >&5
19547 $as_echo_n "checking for pthread_join using $CC $PTHREAD_CFLAGS $PTHREAD_LIBS... " >&6; }
19548 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19549 /* end confdefs.h. */
19551 /* Override any GCC internal prototype to avoid an error.
19552 Use char because int might match the return type of a GCC
19553 builtin and then its argument prototype would still apply. */
19557 char pthread_join ();
19561 return pthread_join ();
19566 if ac_fn_c_try_link
"$LINENO"; then :
19569 rm -f core conftest.err conftest.
$ac_objext \
19570 conftest
$ac_exeext conftest.
$ac_ext
19571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_pthread_ok" >&5
19572 $as_echo "$ax_pthread_ok" >&6; }
19573 if test x
"$ax_pthread_ok" = xno
; then
19578 CFLAGS
="$save_CFLAGS"
19581 # We must check for the threads library under a number of different
19582 # names; the ordering is very important because some systems
19583 # (e.g. DEC) have both -lpthread and -lpthreads, where one of the
19584 # libraries is broken (non-POSIX).
19586 # Create a list of thread flags to try. Items starting with a "-" are
19587 # C compiler flags, and other items are library names, except for "none"
19588 # which indicates that we try without any flags at all, and "pthread-config"
19589 # which is a program returning the flags for the Pth emulation library.
19591 ax_pthread_flags
="pthreads none -Kthread -kthread lthread -pthread -pthreads -mt -mthreads pthread --thread-safe pthread-config"
19593 # The ordering *is* (sometimes) important. Some notes on the
19594 # individual items follow:
19596 # pthreads: AIX (must check this before -lpthread)
19597 # none: in case threads are in libc; should be tried before -Kthread and
19598 # other compiler flags to prevent continual compiler warnings
19599 # -Kthread: Sequent (threads in libc, but -Kthread needed for pthread.h)
19600 # -kthread: FreeBSD kernel threads (preferred to -pthread since SMP-able)
19601 # lthread: LinuxThreads port on FreeBSD (also preferred to -pthread)
19602 # -pthread: Linux/gcc (kernel threads), BSD/gcc (userland threads), Tru64
19603 # -pthreads: Solaris/gcc
19604 # -mt: Sun Workshop C (may only link SunOS threads [-lthread], but it
19605 # doesn't hurt to check since this sometimes defines pthreads and
19606 # -D_REENTRANT too), HP C (must be checked before -lpthread, which
19607 # is present but should not be used directly)
19608 # -mthreads: Mingw32/gcc, Lynx/gcc
19609 # pthread: Linux, etcetera
19610 # --thread-safe: KAI C++
19611 # pthread-config: use pthread-config program (for GNU Pth library)
19617 # From the cc(1) man page: "[-mt] Sets various -D flags to enable
19618 # multi-threading and also sets -lpthread."
19620 ax_pthread_flags
="-mt -pthread pthread $ax_pthread_flags"
19625 # IBM z/OS requires a feature-test macro to be defined in order to
19626 # enable POSIX threads at all, so give the user a hint if this is
19627 # not set. (We don't define these ourselves, as they can affect
19628 # other portions of the system API in unpredictable ways.)
19630 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19631 /* end confdefs.h. */
19633 # if !defined(_OPEN_THREADS) && !defined(_UNIX03_THREADS)
19634 AX_PTHREAD_ZOS_MISSING
19638 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19639 $EGREP "AX_PTHREAD_ZOS_MISSING" >/dev
/null
2>&1; then :
19640 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: IBM z/OS requires -D_OPEN_THREADS or -D_UNIX03_THREADS to enable pthreads support." >&5
19641 $as_echo "$as_me: WARNING: IBM z/OS requires -D_OPEN_THREADS or -D_UNIX03_THREADS to enable pthreads support." >&2;}
19649 # Newer versions of Solaris require the "-mt -lpthread" pair, and we
19650 # check that first. On some older versions, libc contains stubbed
19651 # (non-functional) versions of the pthreads routines, so link-based
19652 # tests will erroneously succeed. (We need to link with -pthreads/-mt/
19653 # -lpthread.) (The stubs are missing pthread_cleanup_push, or rather
19654 # a function called by this macro, so we could check for that, but
19655 # who knows whether they'll stub that too in a future libc.) So
19656 # we'll look for -pthreads and -lpthread shortly thereafter.
19658 ax_pthread_flags
="-mt,pthread -pthreads -pthread pthread $ax_pthread_flags"
19662 # Older versions of Clang only give a warning instead of an error for an
19663 # unrecognized option, unless we specify -Werror. (We throw in some extra
19664 # Clang warning flags for good measure.)
19666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler needs certain flags to reject unknown flags" >&5
19667 $as_echo_n "checking if compiler needs certain flags to reject unknown flags... " >&6; }
19668 if ${ax_cv_PTHREAD_REJECT_UNKNOWN+:} false
; then :
19669 $as_echo_n "(cached) " >&6
19671 ax_cv_PTHREAD_REJECT_UNKNOWN
=unknown
19672 save_CFLAGS
="$CFLAGS"
19673 ax_pthread_extra_flags
="-Wunknown-warning-option -Wunused-command-line-argument"
19674 CFLAGS
="$CFLAGS $ax_pthread_extra_flags -Wfoobaz -foobaz"
19675 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19676 /* end confdefs.h. */
19686 if ac_fn_c_try_compile
"$LINENO"; then :
19687 ax_cv_PTHREAD_REJECT_UNKNOWN
="-Werror $ax_pthread_extra_flags"
19689 ax_cv_PTHREAD_REJECT_UNKNOWN
=no
19691 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19692 CFLAGS
="$save_CFLAGS"
19695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_PTHREAD_REJECT_UNKNOWN" >&5
19696 $as_echo "$ax_cv_PTHREAD_REJECT_UNKNOWN" >&6; }
19697 ax_pthread_extra_flags
=
19698 if test "x$ax_cv_PTHREAD_REJECT_UNKNOWN" != "xno"; then :
19699 ax_pthread_extra_flags
="$ax_cv_PTHREAD_REJECT_UNKNOWN"
19702 if test x
"$ax_pthread_ok" = xno
; then
19703 for flag
in $ax_pthread_flags; do
19707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work without any flags" >&5
19708 $as_echo_n "checking whether pthreads work without any flags... " >&6; }
19712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work with -mt -lpthread" >&5
19713 $as_echo_n "checking whether pthreads work with -mt -lpthread... " >&6; }
19714 PTHREAD_CFLAGS
="-mt"
19715 PTHREAD_LIBS
="-lpthread"
19719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work with $flag" >&5
19720 $as_echo_n "checking whether pthreads work with $flag... " >&6; }
19721 PTHREAD_CFLAGS
="$flag"
19725 # Extract the first word of "pthread-config", so it can be a program name with args.
19726 set dummy pthread
-config; ac_word
=$2
19727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19728 $as_echo_n "checking for $ac_word... " >&6; }
19729 if ${ac_cv_prog_ax_pthread_config+:} false
; then :
19730 $as_echo_n "(cached) " >&6
19732 if test -n "$ax_pthread_config"; then
19733 ac_cv_prog_ax_pthread_config
="$ax_pthread_config" # Let the user override the test.
19735 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
19736 for as_dir
in $PATH
19739 test -z "$as_dir" && as_dir
=.
19740 for ac_exec_ext
in '' $ac_executable_extensions; do
19741 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
19742 ac_cv_prog_ax_pthread_config
="yes"
19743 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19750 test -z "$ac_cv_prog_ax_pthread_config" && ac_cv_prog_ax_pthread_config
="no"
19753 ax_pthread_config
=$ac_cv_prog_ax_pthread_config
19754 if test -n "$ax_pthread_config"; then
19755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_pthread_config" >&5
19756 $as_echo "$ax_pthread_config" >&6; }
19758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19759 $as_echo "no" >&6; }
19763 if test x
"$ax_pthread_config" = xno
; then continue; fi
19764 PTHREAD_CFLAGS
="`pthread-config --cflags`"
19765 PTHREAD_LIBS
="`pthread-config --ldflags` `pthread-config --libs`"
19769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the pthreads library -l$flag" >&5
19770 $as_echo_n "checking for the pthreads library -l$flag... " >&6; }
19771 PTHREAD_LIBS
="-l$flag"
19776 save_CFLAGS
="$CFLAGS"
19777 LIBS
="$PTHREAD_LIBS $LIBS"
19778 CFLAGS
="$CFLAGS $PTHREAD_CFLAGS $ax_pthread_extra_flags"
19780 # Check for various functions. We must include pthread.h,
19781 # since some functions may be macros. (On the Sequent, we
19782 # need a special flag -Kthread to make this header compile.)
19783 # We check for pthread_join because it is in -lpthread on IRIX
19784 # while pthread_create is in libc. We check for pthread_attr_init
19785 # due to DEC craziness with -lpthreads. We check for
19786 # pthread_cleanup_push because it is one of the few pthread
19787 # functions on Solaris that doesn't have a non-functional libc stub.
19788 # We try pthread_create on general principles.
19789 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19790 /* end confdefs.h. */
19791 #include <pthread.h>
19792 static void routine(void *a) { a = 0; }
19793 static void *start_routine(void *a) { return a; }
19797 pthread_t th; pthread_attr_t attr;
19798 pthread_create(&th, 0, start_routine, 0);
19799 pthread_join(th, 0);
19800 pthread_attr_init(&attr);
19801 pthread_cleanup_push(routine, 0);
19802 pthread_cleanup_pop(0) /* ; */
19807 if ac_fn_c_try_link
"$LINENO"; then :
19810 rm -f core conftest.err conftest.
$ac_objext \
19811 conftest
$ac_exeext conftest.
$ac_ext
19814 CFLAGS
="$save_CFLAGS"
19816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_pthread_ok" >&5
19817 $as_echo "$ax_pthread_ok" >&6; }
19818 if test "x$ax_pthread_ok" = xyes
; then
19827 # Various other checks:
19828 if test "x$ax_pthread_ok" = xyes
; then
19830 LIBS
="$PTHREAD_LIBS $LIBS"
19831 save_CFLAGS
="$CFLAGS"
19832 CFLAGS
="$CFLAGS $PTHREAD_CFLAGS"
19834 # Detect AIX lossage: JOINABLE attribute is called UNDETACHED.
19835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for joinable pthread attribute" >&5
19836 $as_echo_n "checking for joinable pthread attribute... " >&6; }
19837 if ${ax_cv_PTHREAD_JOINABLE_ATTR+:} false
; then :
19838 $as_echo_n "(cached) " >&6
19840 ax_cv_PTHREAD_JOINABLE_ATTR
=unknown
19841 for attr
in PTHREAD_CREATE_JOINABLE PTHREAD_CREATE_UNDETACHED
; do
19842 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19843 /* end confdefs.h. */
19844 #include <pthread.h>
19848 int attr = $attr; return attr /* ; */
19853 if ac_fn_c_try_link
"$LINENO"; then :
19854 ax_cv_PTHREAD_JOINABLE_ATTR
=$attr; break
19856 rm -f core conftest.err conftest.
$ac_objext \
19857 conftest
$ac_exeext conftest.
$ac_ext
19861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_PTHREAD_JOINABLE_ATTR" >&5
19862 $as_echo "$ax_cv_PTHREAD_JOINABLE_ATTR" >&6; }
19863 if test "$ax_cv_PTHREAD_JOINABLE_ATTR" != unknown
&& \
19864 test "$ax_cv_PTHREAD_JOINABLE_ATTR" != PTHREAD_CREATE_JOINABLE
; then :
19866 cat >>confdefs.h
<<_ACEOF
19867 #define PTHREAD_CREATE_JOINABLE $ax_cv_PTHREAD_JOINABLE_ATTR
19872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if more special flags are required for pthreads" >&5
19873 $as_echo_n "checking if more special flags are required for pthreads... " >&6; }
19874 if ${ax_cv_PTHREAD_SPECIAL_FLAGS+:} false
; then :
19875 $as_echo_n "(cached) " >&6
19877 ax_cv_PTHREAD_SPECIAL_FLAGS
=no
19878 ax_pthread_special_flags_added
=no
19879 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19880 /* end confdefs.h. */
19882 # if !defined(_REENTRANT) && !defined(_THREAD_SAFE)
19883 AX_PTHREAD_NEED_SPECIAL_FLAG
19887 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19888 $EGREP "AX_PTHREAD_NEED_SPECIAL_FLAG" >/dev
/null
2>&1; then :
19891 ax_cv_PTHREAD_SPECIAL_FLAGS
="-D_THREAD_SAFE"
19893 darwin
* | hpux
* | osf
* | solaris
*)
19894 ax_cv_PTHREAD_SPECIAL_FLAGS
="-D_REENTRANT"
19903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_PTHREAD_SPECIAL_FLAGS" >&5
19904 $as_echo "$ax_cv_PTHREAD_SPECIAL_FLAGS" >&6; }
19905 if test "x$ax_cv_PTHREAD_SPECIAL_FLAGS" != "xno" && \
19906 test "x$ax_pthread_special_flags_added" != "xyes"; then :
19907 PTHREAD_CFLAGS
="$ax_cv_PTHREAD_SPECIAL_FLAGS $PTHREAD_CFLAGS"
19908 ax_pthread_special_flags_added
=yes
19911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PTHREAD_PRIO_INHERIT" >&5
19912 $as_echo_n "checking for PTHREAD_PRIO_INHERIT... " >&6; }
19913 if ${ax_cv_PTHREAD_PRIO_INHERIT+:} false
; then :
19914 $as_echo_n "(cached) " >&6
19916 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19917 /* end confdefs.h. */
19918 #include <pthread.h>
19922 int i = PTHREAD_PRIO_INHERIT;
19927 if ac_fn_c_try_link
"$LINENO"; then :
19928 ax_cv_PTHREAD_PRIO_INHERIT
=yes
19930 ax_cv_PTHREAD_PRIO_INHERIT
=no
19932 rm -f core conftest.err conftest.
$ac_objext \
19933 conftest
$ac_exeext conftest.
$ac_ext
19936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_PTHREAD_PRIO_INHERIT" >&5
19937 $as_echo "$ax_cv_PTHREAD_PRIO_INHERIT" >&6; }
19938 if test "x$ax_cv_PTHREAD_PRIO_INHERIT" = "xyes"; then :
19940 $as_echo "#define HAVE_PTHREAD_PRIO_INHERIT 1" >>confdefs.h
19945 CFLAGS
="$save_CFLAGS"
19947 # More AIX lossage: compile with *_r variant
19948 if test "x$GCC" != xyes
; then
19952 x
*/c89
|x
*/c89_128
|x
*/c99
|x
*/c99_128
|x
*/cc
|x
*/cc128
|x
*/xlc
|x
*/xlc_v6
|x
*/xlc128
|x
*/xlc128_v6
) :
19953 #handle absolute path differently from PATH based program lookup
19956 if as_fn_executable_p
${CC}_r
; then :
19957 PTHREAD_CC
="${CC}_r"
19960 for ac_prog
in ${CC}_r
19962 # Extract the first word of "$ac_prog", so it can be a program name with args.
19963 set dummy
$ac_prog; ac_word
=$2
19964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19965 $as_echo_n "checking for $ac_word... " >&6; }
19966 if ${ac_cv_prog_PTHREAD_CC+:} false
; then :
19967 $as_echo_n "(cached) " >&6
19969 if test -n "$PTHREAD_CC"; then
19970 ac_cv_prog_PTHREAD_CC
="$PTHREAD_CC" # Let the user override the test.
19972 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
19973 for as_dir
in $PATH
19976 test -z "$as_dir" && as_dir
=.
19977 for ac_exec_ext
in '' $ac_executable_extensions; do
19978 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
19979 ac_cv_prog_PTHREAD_CC
="$ac_prog"
19980 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19989 PTHREAD_CC
=$ac_cv_prog_PTHREAD_CC
19990 if test -n "$PTHREAD_CC"; then
19991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PTHREAD_CC" >&5
19992 $as_echo "$PTHREAD_CC" >&6; }
19994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19995 $as_echo "no" >&6; }
19999 test -n "$PTHREAD_CC" && break
20001 test -n "$PTHREAD_CC" || PTHREAD_CC
="$CC"
20012 test -n "$PTHREAD_CC" || PTHREAD_CC
="$CC"
20018 # Finally, execute ACTION-IF-FOUND/ACTION-IF-NOT-FOUND:
20019 if test x
"$ax_pthread_ok" = xyes
; then
20021 $as_echo "#define HAVE_PTHREAD 1" >>confdefs.h
20029 ac_cpp
='$CXXCPP $CPPFLAGS'
20030 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20031 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20032 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20042 # Check whether --enable-javascript was given.
20043 if test "${enable_javascript+set}" = set; then :
20044 enableval
=$enable_javascript;
20045 case $enableval in #(
20053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing JSEvaluateScript" >&5
20054 $as_echo_n "checking for library containing JSEvaluateScript... " >&6; }
20055 if ${ac_cv_search_JSEvaluateScript+:} false
; then :
20056 $as_echo_n "(cached) " >&6
20058 ac_func_search_save_LIBS
=$LIBS
20059 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20060 /* end confdefs.h. */
20062 /* Override any GCC internal prototype to avoid an error.
20063 Use char because int might match the return type of a GCC
20064 builtin and then its argument prototype would still apply. */
20068 char JSEvaluateScript ();
20072 return JSEvaluateScript ();
20077 for ac_lib
in '' JavaScriptCore
; do
20078 if test -z "$ac_lib"; then
20079 ac_res
="none required"
20082 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
20084 if ac_fn_cxx_try_link
"$LINENO"; then :
20085 ac_cv_search_JSEvaluateScript
=$ac_res
20087 rm -f core conftest.err conftest.
$ac_objext \
20089 if ${ac_cv_search_JSEvaluateScript+:} false
; then :
20093 if ${ac_cv_search_JSEvaluateScript+:} false
; then :
20096 ac_cv_search_JSEvaluateScript
=no
20098 rm conftest.
$ac_ext
20099 LIBS
=$ac_func_search_save_LIBS
20101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_JSEvaluateScript" >&5
20102 $as_echo "$ac_cv_search_JSEvaluateScript" >&6; }
20103 ac_res
=$ac_cv_search_JSEvaluateScript
20104 if test "$ac_res" != no
; then :
20105 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
20112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
20113 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
20114 if ${ac_cv_framework_JavaScriptCore+:} false
; then :
20115 $as_echo_n "(cached) " >&6
20118 ac_check_framework_save_LIBS
=$LIBS
20119 LIBS
="-framework JavaScriptCore $LIBS"
20120 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20121 /* end confdefs.h. */
20123 #include <JavaScriptCore/JSBase.h>
20129 JSEvaluateScript(0, 0, 0, 0, 0, 0);
20135 if ac_fn_cxx_try_link
"$LINENO"; then :
20137 ac_cv_framework_JavaScriptCore
=yes
20140 ac_cv_framework_JavaScriptCore
=no
20142 rm -f core conftest.err conftest.
$ac_objext \
20143 conftest
$ac_exeext conftest.
$ac_ext
20144 LIBS
=$ac_check_framework_save_LIBS
20147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
20148 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
20149 if test $ac_cv_framework_JavaScriptCore = yes; then :
20152 for element
in "-framework JavaScriptCore"; do
20156 acl_save_prefix
="$prefix"
20157 prefix
="$acl_final_prefix"
20158 acl_save_exec_prefix
="$exec_prefix"
20159 exec_prefix
="$acl_final_exec_prefix"
20161 exec_prefix
="$acl_save_exec_prefix"
20162 prefix
="$acl_save_prefix"
20164 if test "X$x" = "X$element"; then
20169 if test -z "$haveit"; then
20170 LIBS
="${LIBS}${LIBS:+ }$element"
20181 for cy_webkit_pkg
in "javascriptcoregtk-4.0"; do
20184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
20185 $as_echo_n "checking for WEBKIT... " >&6; }
20187 if test -n "$WEBKIT_CFLAGS"; then
20188 pkg_cv_WEBKIT_CFLAGS
="$WEBKIT_CFLAGS"
20189 elif test -n "$PKG_CONFIG"; then
20190 if test -n "$PKG_CONFIG" && \
20191 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$cy_webkit_pkg\""; } >&5
20192 ($PKG_CONFIG --exists --print-errors "$cy_webkit_pkg") 2>&5
20194 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20195 test $ac_status = 0; }; then
20196 pkg_cv_WEBKIT_CFLAGS
=`$PKG_CONFIG --cflags "$cy_webkit_pkg" 2>/dev/null`
20197 test "x$?" != "x0" && pkg_failed
=yes
20204 if test -n "$WEBKIT_LIBS"; then
20205 pkg_cv_WEBKIT_LIBS
="$WEBKIT_LIBS"
20206 elif test -n "$PKG_CONFIG"; then
20207 if test -n "$PKG_CONFIG" && \
20208 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$cy_webkit_pkg\""; } >&5
20209 ($PKG_CONFIG --exists --print-errors "$cy_webkit_pkg") 2>&5
20211 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20212 test $ac_status = 0; }; then
20213 pkg_cv_WEBKIT_LIBS
=`$PKG_CONFIG --libs "$cy_webkit_pkg" 2>/dev/null`
20214 test "x$?" != "x0" && pkg_failed
=yes
20224 if test $pkg_failed = yes; then
20225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20226 $as_echo "no" >&6; }
20228 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
20229 _pkg_short_errors_supported
=yes
20231 _pkg_short_errors_supported
=no
20233 if test $_pkg_short_errors_supported = yes; then
20234 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$cy_webkit_pkg" 2>&1`
20236 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "$cy_webkit_pkg" 2>&1`
20238 # Put the nasty error message in config.log where it belongs
20239 echo "$WEBKIT_PKG_ERRORS" >&5
20242 elif test $pkg_failed = untried
; then
20243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20244 $as_echo "no" >&6; }
20247 WEBKIT_CFLAGS
=$pkg_cv_WEBKIT_CFLAGS
20248 WEBKIT_LIBS
=$pkg_cv_WEBKIT_LIBS
20249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20250 $as_echo "yes" >&6; }
20255 for element
in `$PKG_CONFIG --cflags $cy_webkit_pkg`; do
20257 for x
in $CPPFLAGS; do
20259 acl_save_prefix
="$prefix"
20260 prefix
="$acl_final_prefix"
20261 acl_save_exec_prefix
="$exec_prefix"
20262 exec_prefix
="$acl_final_exec_prefix"
20264 exec_prefix
="$acl_save_exec_prefix"
20265 prefix
="$acl_save_prefix"
20267 if test "X$x" = "X$element"; then
20272 if test -z "$haveit"; then
20273 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
20278 for element
in `$PKG_CONFIG --libs $cy_webkit_pkg`; do
20282 acl_save_prefix
="$prefix"
20283 prefix
="$acl_final_prefix"
20284 acl_save_exec_prefix
="$exec_prefix"
20285 exec_prefix
="$acl_final_exec_prefix"
20287 exec_prefix
="$acl_save_exec_prefix"
20288 prefix
="$acl_save_prefix"
20290 if test "X$x" = "X$element"; then
20295 if test -z "$haveit"; then
20296 LIBS
="${LIBS}${LIBS:+ }$element"
20301 fi; if test "x$CY_EXECUTE" = x1
; then break; fi
20307 LTJAVASCRIPTCORE
=$LIBS
20322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing JSEvaluateScript" >&5
20323 $as_echo_n "checking for library containing JSEvaluateScript... " >&6; }
20324 if ${ac_cv_search_JSEvaluateScript+:} false
; then :
20325 $as_echo_n "(cached) " >&6
20327 ac_func_search_save_LIBS
=$LIBS
20328 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20329 /* end confdefs.h. */
20331 /* Override any GCC internal prototype to avoid an error.
20332 Use char because int might match the return type of a GCC
20333 builtin and then its argument prototype would still apply. */
20337 char JSEvaluateScript ();
20341 return JSEvaluateScript ();
20346 for ac_lib
in '' JavaScriptCore
; do
20347 if test -z "$ac_lib"; then
20348 ac_res
="none required"
20351 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
20353 if ac_fn_cxx_try_link
"$LINENO"; then :
20354 ac_cv_search_JSEvaluateScript
=$ac_res
20356 rm -f core conftest.err conftest.
$ac_objext \
20358 if ${ac_cv_search_JSEvaluateScript+:} false
; then :
20362 if ${ac_cv_search_JSEvaluateScript+:} false
; then :
20365 ac_cv_search_JSEvaluateScript
=no
20367 rm conftest.
$ac_ext
20368 LIBS
=$ac_func_search_save_LIBS
20370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_JSEvaluateScript" >&5
20371 $as_echo "$ac_cv_search_JSEvaluateScript" >&6; }
20372 ac_res
=$ac_cv_search_JSEvaluateScript
20373 if test "$ac_res" != no
; then :
20374 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
20381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
20382 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
20383 if ${ac_cv_framework_JavaScriptCore+:} false
; then :
20384 $as_echo_n "(cached) " >&6
20387 ac_check_framework_save_LIBS
=$LIBS
20388 LIBS
="-framework JavaScriptCore $LIBS"
20389 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20390 /* end confdefs.h. */
20392 #include <JavaScriptCore/JSBase.h>
20398 JSEvaluateScript(0, 0, 0, 0, 0, 0);
20404 if ac_fn_cxx_try_link
"$LINENO"; then :
20406 ac_cv_framework_JavaScriptCore
=yes
20409 ac_cv_framework_JavaScriptCore
=no
20411 rm -f core conftest.err conftest.
$ac_objext \
20412 conftest
$ac_exeext conftest.
$ac_ext
20413 LIBS
=$ac_check_framework_save_LIBS
20416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
20417 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
20418 if test $ac_cv_framework_JavaScriptCore = yes; then :
20421 for element
in "-framework JavaScriptCore"; do
20425 acl_save_prefix
="$prefix"
20426 prefix
="$acl_final_prefix"
20427 acl_save_exec_prefix
="$exec_prefix"
20428 exec_prefix
="$acl_final_exec_prefix"
20430 exec_prefix
="$acl_save_exec_prefix"
20431 prefix
="$acl_save_prefix"
20433 if test "X$x" = "X$element"; then
20438 if test -z "$haveit"; then
20439 LIBS
="${LIBS}${LIBS:+ }$element"
20450 for cy_webkit_pkg
in "javascriptcoregtk-4.0"; do
20453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
20454 $as_echo_n "checking for WEBKIT... " >&6; }
20456 if test -n "$WEBKIT_CFLAGS"; then
20457 pkg_cv_WEBKIT_CFLAGS
="$WEBKIT_CFLAGS"
20458 elif test -n "$PKG_CONFIG"; then
20459 if test -n "$PKG_CONFIG" && \
20460 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$cy_webkit_pkg\""; } >&5
20461 ($PKG_CONFIG --exists --print-errors "$cy_webkit_pkg") 2>&5
20463 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20464 test $ac_status = 0; }; then
20465 pkg_cv_WEBKIT_CFLAGS
=`$PKG_CONFIG --cflags "$cy_webkit_pkg" 2>/dev/null`
20466 test "x$?" != "x0" && pkg_failed
=yes
20473 if test -n "$WEBKIT_LIBS"; then
20474 pkg_cv_WEBKIT_LIBS
="$WEBKIT_LIBS"
20475 elif test -n "$PKG_CONFIG"; then
20476 if test -n "$PKG_CONFIG" && \
20477 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$cy_webkit_pkg\""; } >&5
20478 ($PKG_CONFIG --exists --print-errors "$cy_webkit_pkg") 2>&5
20480 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20481 test $ac_status = 0; }; then
20482 pkg_cv_WEBKIT_LIBS
=`$PKG_CONFIG --libs "$cy_webkit_pkg" 2>/dev/null`
20483 test "x$?" != "x0" && pkg_failed
=yes
20493 if test $pkg_failed = yes; then
20494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20495 $as_echo "no" >&6; }
20497 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
20498 _pkg_short_errors_supported
=yes
20500 _pkg_short_errors_supported
=no
20502 if test $_pkg_short_errors_supported = yes; then
20503 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$cy_webkit_pkg" 2>&1`
20505 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "$cy_webkit_pkg" 2>&1`
20507 # Put the nasty error message in config.log where it belongs
20508 echo "$WEBKIT_PKG_ERRORS" >&5
20511 elif test $pkg_failed = untried
; then
20512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20513 $as_echo "no" >&6; }
20516 WEBKIT_CFLAGS
=$pkg_cv_WEBKIT_CFLAGS
20517 WEBKIT_LIBS
=$pkg_cv_WEBKIT_LIBS
20518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20519 $as_echo "yes" >&6; }
20524 for element
in `$PKG_CONFIG --cflags $cy_webkit_pkg`; do
20526 for x
in $CPPFLAGS; do
20528 acl_save_prefix
="$prefix"
20529 prefix
="$acl_final_prefix"
20530 acl_save_exec_prefix
="$exec_prefix"
20531 exec_prefix
="$acl_final_exec_prefix"
20533 exec_prefix
="$acl_save_exec_prefix"
20534 prefix
="$acl_save_prefix"
20536 if test "X$x" = "X$element"; then
20541 if test -z "$haveit"; then
20542 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
20547 for element
in `$PKG_CONFIG --libs $cy_webkit_pkg`; do
20551 acl_save_prefix
="$prefix"
20552 prefix
="$acl_final_prefix"
20553 acl_save_exec_prefix
="$exec_prefix"
20554 exec_prefix
="$acl_final_exec_prefix"
20556 exec_prefix
="$acl_save_exec_prefix"
20557 prefix
="$acl_save_prefix"
20559 if test "X$x" = "X$element"; then
20564 if test -z "$haveit"; then
20565 LIBS
="${LIBS}${LIBS:+ }$element"
20570 fi; if test "x$CY_EXECUTE" = x1
; then break; fi
20576 LTJAVASCRIPTCORE
=$LIBS
20582 as_fn_error $?
"Unknown JavaScript engine: $enableval" "$LINENO" 5 ;;
20591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing JSEvaluateScript" >&5
20592 $as_echo_n "checking for library containing JSEvaluateScript... " >&6; }
20593 if ${ac_cv_search_JSEvaluateScript+:} false
; then :
20594 $as_echo_n "(cached) " >&6
20596 ac_func_search_save_LIBS
=$LIBS
20597 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20598 /* end confdefs.h. */
20600 /* Override any GCC internal prototype to avoid an error.
20601 Use char because int might match the return type of a GCC
20602 builtin and then its argument prototype would still apply. */
20606 char JSEvaluateScript ();
20610 return JSEvaluateScript ();
20615 for ac_lib
in '' JavaScriptCore
; do
20616 if test -z "$ac_lib"; then
20617 ac_res
="none required"
20620 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
20622 if ac_fn_cxx_try_link
"$LINENO"; then :
20623 ac_cv_search_JSEvaluateScript
=$ac_res
20625 rm -f core conftest.err conftest.
$ac_objext \
20627 if ${ac_cv_search_JSEvaluateScript+:} false
; then :
20631 if ${ac_cv_search_JSEvaluateScript+:} false
; then :
20634 ac_cv_search_JSEvaluateScript
=no
20636 rm conftest.
$ac_ext
20637 LIBS
=$ac_func_search_save_LIBS
20639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_JSEvaluateScript" >&5
20640 $as_echo "$ac_cv_search_JSEvaluateScript" >&6; }
20641 ac_res
=$ac_cv_search_JSEvaluateScript
20642 if test "$ac_res" != no
; then :
20643 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
20650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
20651 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
20652 if ${ac_cv_framework_JavaScriptCore+:} false
; then :
20653 $as_echo_n "(cached) " >&6
20656 ac_check_framework_save_LIBS
=$LIBS
20657 LIBS
="-framework JavaScriptCore $LIBS"
20658 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20659 /* end confdefs.h. */
20661 #include <JavaScriptCore/JSBase.h>
20667 JSEvaluateScript(0, 0, 0, 0, 0, 0);
20673 if ac_fn_cxx_try_link
"$LINENO"; then :
20675 ac_cv_framework_JavaScriptCore
=yes
20678 ac_cv_framework_JavaScriptCore
=no
20680 rm -f core conftest.err conftest.
$ac_objext \
20681 conftest
$ac_exeext conftest.
$ac_ext
20682 LIBS
=$ac_check_framework_save_LIBS
20685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
20686 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
20687 if test $ac_cv_framework_JavaScriptCore = yes; then :
20690 for element
in "-framework JavaScriptCore"; do
20694 acl_save_prefix
="$prefix"
20695 prefix
="$acl_final_prefix"
20696 acl_save_exec_prefix
="$exec_prefix"
20697 exec_prefix
="$acl_final_exec_prefix"
20699 exec_prefix
="$acl_save_exec_prefix"
20700 prefix
="$acl_save_prefix"
20702 if test "X$x" = "X$element"; then
20707 if test -z "$haveit"; then
20708 LIBS
="${LIBS}${LIBS:+ }$element"
20719 for cy_webkit_pkg
in "javascriptcoregtk-4.0"; do
20722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
20723 $as_echo_n "checking for WEBKIT... " >&6; }
20725 if test -n "$WEBKIT_CFLAGS"; then
20726 pkg_cv_WEBKIT_CFLAGS
="$WEBKIT_CFLAGS"
20727 elif test -n "$PKG_CONFIG"; then
20728 if test -n "$PKG_CONFIG" && \
20729 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$cy_webkit_pkg\""; } >&5
20730 ($PKG_CONFIG --exists --print-errors "$cy_webkit_pkg") 2>&5
20732 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20733 test $ac_status = 0; }; then
20734 pkg_cv_WEBKIT_CFLAGS
=`$PKG_CONFIG --cflags "$cy_webkit_pkg" 2>/dev/null`
20735 test "x$?" != "x0" && pkg_failed
=yes
20742 if test -n "$WEBKIT_LIBS"; then
20743 pkg_cv_WEBKIT_LIBS
="$WEBKIT_LIBS"
20744 elif test -n "$PKG_CONFIG"; then
20745 if test -n "$PKG_CONFIG" && \
20746 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$cy_webkit_pkg\""; } >&5
20747 ($PKG_CONFIG --exists --print-errors "$cy_webkit_pkg") 2>&5
20749 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20750 test $ac_status = 0; }; then
20751 pkg_cv_WEBKIT_LIBS
=`$PKG_CONFIG --libs "$cy_webkit_pkg" 2>/dev/null`
20752 test "x$?" != "x0" && pkg_failed
=yes
20762 if test $pkg_failed = yes; then
20763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20764 $as_echo "no" >&6; }
20766 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
20767 _pkg_short_errors_supported
=yes
20769 _pkg_short_errors_supported
=no
20771 if test $_pkg_short_errors_supported = yes; then
20772 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$cy_webkit_pkg" 2>&1`
20774 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "$cy_webkit_pkg" 2>&1`
20776 # Put the nasty error message in config.log where it belongs
20777 echo "$WEBKIT_PKG_ERRORS" >&5
20780 elif test $pkg_failed = untried
; then
20781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20782 $as_echo "no" >&6; }
20785 WEBKIT_CFLAGS
=$pkg_cv_WEBKIT_CFLAGS
20786 WEBKIT_LIBS
=$pkg_cv_WEBKIT_LIBS
20787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20788 $as_echo "yes" >&6; }
20793 for element
in `$PKG_CONFIG --cflags $cy_webkit_pkg`; do
20795 for x
in $CPPFLAGS; do
20797 acl_save_prefix
="$prefix"
20798 prefix
="$acl_final_prefix"
20799 acl_save_exec_prefix
="$exec_prefix"
20800 exec_prefix
="$acl_final_exec_prefix"
20802 exec_prefix
="$acl_save_exec_prefix"
20803 prefix
="$acl_save_prefix"
20805 if test "X$x" = "X$element"; then
20810 if test -z "$haveit"; then
20811 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
20816 for element
in `$PKG_CONFIG --libs $cy_webkit_pkg`; do
20820 acl_save_prefix
="$prefix"
20821 prefix
="$acl_final_prefix"
20822 acl_save_exec_prefix
="$exec_prefix"
20823 exec_prefix
="$acl_final_exec_prefix"
20825 exec_prefix
="$acl_save_exec_prefix"
20826 prefix
="$acl_save_prefix"
20828 if test "X$x" = "X$element"; then
20833 if test -z "$haveit"; then
20834 LIBS
="${LIBS}${LIBS:+ }$element"
20839 fi; if test "x$CY_EXECUTE" = x1
; then break; fi
20845 LTJAVASCRIPTCORE
=$LIBS
20853 # Check whether --enable-console was given.
20854 if test "${enable_console+set}" = set; then :
20855 enableval
=$enable_console;
20858 if test "x$enable_console" != "xno"; then
20860 CY_CONSOLE_FALSE
='#'
20862 CY_CONSOLE_TRUE
='#'
20867 # Check whether --enable-attach was given.
20868 if test "${enable_attach+set}" = set; then :
20869 enableval
=$enable_attach;
20872 if test "x$enable_attach" != "xno" -a "x$CY_EXECUTE" = x1
; then
20874 CY_ATTACH_FALSE
='#'
20883 if test "x$CY_EXECUTE" = x1
; then
20885 CY_EXECUTE_FALSE
='#'
20887 CY_EXECUTE_TRUE
='#'
20893 case $CY_EXECUTE in #(
20896 for ac_header
in ffi.h ffi
/ffi.h
20898 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
20899 ac_fn_cxx_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
20900 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
20901 cat >>confdefs.h
<<_ACEOF
20902 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
20913 if test "x$ac_cv_header_ffi_h" = xno
&& test "x$ac_cv_header_ffi_ffi_h" = xno
; then :
20917 C compiler flags
for LIBFFI
, overriding pkg
-config
20918 LIBFFI_LIBS linker flags
for LIBFFI
, overriding pkg
-config
20921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBFFI" >&5
20922 $as_echo_n "checking for LIBFFI... " >&6; }
20924 if test -n "$LIBFFI_CFLAGS"; then
20925 pkg_cv_LIBFFI_CFLAGS
="$LIBFFI_CFLAGS"
20926 elif test -n "$PKG_CONFIG"; then
20927 if test -n "$PKG_CONFIG" && \
20928 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libffi\""; } >&5
20929 ($PKG_CONFIG --exists --print-errors "libffi") 2>&5
20931 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20932 test $ac_status = 0; }; then
20933 pkg_cv_LIBFFI_CFLAGS
=`$PKG_CONFIG --cflags "libffi" 2>/dev/null`
20934 test "x$?" != "x0" && pkg_failed
=yes
20941 if test -n "$LIBFFI_LIBS"; then
20942 pkg_cv_LIBFFI_LIBS
="$LIBFFI_LIBS"
20943 elif test -n "$PKG_CONFIG"; then
20944 if test -n "$PKG_CONFIG" && \
20945 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libffi\""; } >&5
20946 ($PKG_CONFIG --exists --print-errors "libffi") 2>&5
20948 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20949 test $ac_status = 0; }; then
20950 pkg_cv_LIBFFI_LIBS
=`$PKG_CONFIG --libs "libffi" 2>/dev/null`
20951 test "x$?" != "x0" && pkg_failed
=yes
20961 if test $pkg_failed = yes; then
20962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20963 $as_echo "no" >&6; }
20965 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
20966 _pkg_short_errors_supported
=yes
20968 _pkg_short_errors_supported
=no
20970 if test $_pkg_short_errors_supported = yes; then
20971 LIBFFI_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libffi" 2>&1`
20973 LIBFFI_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "libffi" 2>&1`
20975 # Put the nasty error message in config.log where it belongs
20976 echo "$LIBFFI_PKG_ERRORS" >&5
20978 as_fn_error $?
"missing \"libffi\"" "$LINENO" 5
20979 elif test $pkg_failed = untried
; then
20980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20981 $as_echo "no" >&6; }
20982 as_fn_error $?
"missing \"libffi\"" "$LINENO" 5
20984 LIBFFI_CFLAGS
=$pkg_cv_LIBFFI_CFLAGS
20985 LIBFFI_LIBS
=$pkg_cv_LIBFFI_LIBS
20986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20987 $as_echo "yes" >&6; }
20990 for element
in `$PKG_CONFIG --cflags libffi`; do
20992 for x
in $CPPFLAGS; do
20994 acl_save_prefix
="$prefix"
20995 prefix
="$acl_final_prefix"
20996 acl_save_exec_prefix
="$exec_prefix"
20997 exec_prefix
="$acl_final_exec_prefix"
20999 exec_prefix
="$acl_save_exec_prefix"
21000 prefix
="$acl_save_prefix"
21002 if test "X$x" = "X$element"; then
21007 if test -z "$haveit"; then
21008 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
21013 for element
in `$PKG_CONFIG --libs libffi`; do
21017 acl_save_prefix
="$prefix"
21018 prefix
="$acl_final_prefix"
21019 acl_save_exec_prefix
="$exec_prefix"
21020 exec_prefix
="$acl_final_exec_prefix"
21022 exec_prefix
="$acl_save_exec_prefix"
21023 prefix
="$acl_save_prefix"
21025 if test "X$x" = "X$element"; then
21030 if test -z "$haveit"; then
21031 LIBS
="${LIBS}${LIBS:+ }$element"
21040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing ffi_call" >&5
21041 $as_echo_n "checking for library containing ffi_call... " >&6; }
21042 if ${ac_cv_search_ffi_call+:} false
; then :
21043 $as_echo_n "(cached) " >&6
21045 ac_func_search_save_LIBS
=$LIBS
21046 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21047 /* end confdefs.h. */
21049 /* Override any GCC internal prototype to avoid an error.
21050 Use char because int might match the return type of a GCC
21051 builtin and then its argument prototype would still apply. */
21059 return ffi_call ();
21064 for ac_lib
in '' ffi
; do
21065 if test -z "$ac_lib"; then
21066 ac_res
="none required"
21069 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
21071 if ac_fn_cxx_try_link
"$LINENO"; then :
21072 ac_cv_search_ffi_call
=$ac_res
21074 rm -f core conftest.err conftest.
$ac_objext \
21076 if ${ac_cv_search_ffi_call+:} false
; then :
21080 if ${ac_cv_search_ffi_call+:} false
; then :
21083 ac_cv_search_ffi_call
=no
21085 rm conftest.
$ac_ext
21086 LIBS
=$ac_func_search_save_LIBS
21088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_ffi_call" >&5
21089 $as_echo "$ac_cv_search_ffi_call" >&6; }
21090 ac_res
=$ac_cv_search_ffi_call
21091 if test "$ac_res" != no
; then :
21092 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
21096 case $ac_cv_search_ffi_call in #(
21101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBFFI" >&5
21102 $as_echo_n "checking for LIBFFI... " >&6; }
21104 if test -n "$LIBFFI_CFLAGS"; then
21105 pkg_cv_LIBFFI_CFLAGS
="$LIBFFI_CFLAGS"
21106 elif test -n "$PKG_CONFIG"; then
21107 if test -n "$PKG_CONFIG" && \
21108 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libffi\""; } >&5
21109 ($PKG_CONFIG --exists --print-errors "libffi") 2>&5
21111 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21112 test $ac_status = 0; }; then
21113 pkg_cv_LIBFFI_CFLAGS
=`$PKG_CONFIG --cflags "libffi" 2>/dev/null`
21114 test "x$?" != "x0" && pkg_failed
=yes
21121 if test -n "$LIBFFI_LIBS"; then
21122 pkg_cv_LIBFFI_LIBS
="$LIBFFI_LIBS"
21123 elif test -n "$PKG_CONFIG"; then
21124 if test -n "$PKG_CONFIG" && \
21125 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libffi\""; } >&5
21126 ($PKG_CONFIG --exists --print-errors "libffi") 2>&5
21128 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21129 test $ac_status = 0; }; then
21130 pkg_cv_LIBFFI_LIBS
=`$PKG_CONFIG --libs "libffi" 2>/dev/null`
21131 test "x$?" != "x0" && pkg_failed
=yes
21141 if test $pkg_failed = yes; then
21142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21143 $as_echo "no" >&6; }
21145 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
21146 _pkg_short_errors_supported
=yes
21148 _pkg_short_errors_supported
=no
21150 if test $_pkg_short_errors_supported = yes; then
21151 LIBFFI_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libffi" 2>&1`
21153 LIBFFI_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "libffi" 2>&1`
21155 # Put the nasty error message in config.log where it belongs
21156 echo "$LIBFFI_PKG_ERRORS" >&5
21158 as_fn_error $?
"missing \"libffi\"" "$LINENO" 5
21159 elif test $pkg_failed = untried
; then
21160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21161 $as_echo "no" >&6; }
21162 as_fn_error $?
"missing \"libffi\"" "$LINENO" 5
21164 LIBFFI_CFLAGS
=$pkg_cv_LIBFFI_CFLAGS
21165 LIBFFI_LIBS
=$pkg_cv_LIBFFI_LIBS
21166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21167 $as_echo "yes" >&6; }
21170 for element
in `$PKG_CONFIG --cflags libffi`; do
21172 for x
in $CPPFLAGS; do
21174 acl_save_prefix
="$prefix"
21175 prefix
="$acl_final_prefix"
21176 acl_save_exec_prefix
="$exec_prefix"
21177 exec_prefix
="$acl_final_exec_prefix"
21179 exec_prefix
="$acl_save_exec_prefix"
21180 prefix
="$acl_save_prefix"
21182 if test "X$x" = "X$element"; then
21187 if test -z "$haveit"; then
21188 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
21193 for element
in `$PKG_CONFIG --libs libffi`; do
21197 acl_save_prefix
="$prefix"
21198 prefix
="$acl_final_prefix"
21199 acl_save_exec_prefix
="$exec_prefix"
21200 exec_prefix
="$acl_final_exec_prefix"
21202 exec_prefix
="$acl_save_exec_prefix"
21203 prefix
="$acl_save_prefix"
21205 if test "X$x" = "X$element"; then
21210 if test -z "$haveit"; then
21211 LIBS
="${LIBS}${LIBS:+ }$element"
21228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaVM" >&5
21229 $as_echo_n "checking for framework JavaVM... " >&6; }
21230 if ${ac_cv_framework_JavaVM+:} false
; then :
21231 $as_echo_n "(cached) " >&6
21234 ac_check_framework_save_LIBS
=$LIBS
21235 LIBS
="-framework JavaVM $LIBS"
21236 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21237 /* end confdefs.h. */
21239 #include <JavaVM/jni.h>
21244 JNI_GetCreatedJavaVMs(NULL, 0, NULL);
21249 if ac_fn_cxx_try_link
"$LINENO"; then :
21251 ac_cv_framework_JavaVM
=yes
21254 ac_cv_framework_JavaVM
=no
21256 rm -f core conftest.err conftest.
$ac_objext \
21257 conftest
$ac_exeext conftest.
$ac_ext
21258 LIBS
=$ac_check_framework_save_LIBS
21261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaVM" >&5
21262 $as_echo "$ac_cv_framework_JavaVM" >&6; }
21263 if test $ac_cv_framework_JavaVM = yes; then :
21266 for element
in "-framework JavaVM"; do
21270 acl_save_prefix
="$prefix"
21271 prefix
="$acl_final_prefix"
21272 acl_save_exec_prefix
="$exec_prefix"
21273 exec_prefix
="$acl_final_exec_prefix"
21275 exec_prefix
="$acl_save_exec_prefix"
21276 prefix
="$acl_save_prefix"
21278 if test "X$x" = "X$element"; then
21283 if test -z "$haveit"; then
21284 LIBS
="${LIBS}${LIBS:+ }$element"
21294 ac_fn_cxx_check_header_mongrel
"$LINENO" "jni.h" "ac_cv_header_jni_h" "$ac_includes_default"
21295 if test "x$ac_cv_header_jni_h" = xyes
; then :
21302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing JNI_GetCreatedJavaVMs" >&5
21303 $as_echo_n "checking for library containing JNI_GetCreatedJavaVMs... " >&6; }
21304 if ${ac_cv_search_JNI_GetCreatedJavaVMs+:} false
; then :
21305 $as_echo_n "(cached) " >&6
21307 ac_func_search_save_LIBS
=$LIBS
21308 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21309 /* end confdefs.h. */
21311 /* Override any GCC internal prototype to avoid an error.
21312 Use char because int might match the return type of a GCC
21313 builtin and then its argument prototype would still apply. */
21317 char JNI_GetCreatedJavaVMs ();
21321 return JNI_GetCreatedJavaVMs ();
21326 for ac_lib
in '' dvm
; do
21327 if test -z "$ac_lib"; then
21328 ac_res
="none required"
21331 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
21333 if ac_fn_cxx_try_link
"$LINENO"; then :
21334 ac_cv_search_JNI_GetCreatedJavaVMs
=$ac_res
21336 rm -f core conftest.err conftest.
$ac_objext \
21338 if ${ac_cv_search_JNI_GetCreatedJavaVMs+:} false
; then :
21342 if ${ac_cv_search_JNI_GetCreatedJavaVMs+:} false
; then :
21345 ac_cv_search_JNI_GetCreatedJavaVMs
=no
21347 rm conftest.
$ac_ext
21348 LIBS
=$ac_func_search_save_LIBS
21350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_JNI_GetCreatedJavaVMs" >&5
21351 $as_echo "$ac_cv_search_JNI_GetCreatedJavaVMs" >&6; }
21352 ac_res
=$ac_cv_search_JNI_GetCreatedJavaVMs
21353 if test "$ac_res" != no
; then :
21354 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
21375 ac_cpp
='$OBJCXXCPP $CPPFLAGS'
21376 ac_compile
='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21377 ac_link
='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21378 ac_compiler_gnu
=$ac_cv_objcxx_compiler_gnu
21381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we really have Objective C++" >&5
21382 $as_echo_n "checking if we really have Objective C++... " >&6; }
21383 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21384 /* end confdefs.h. */
21387 if ac_fn_objcxx_try_compile
"$LINENO"; then :
21390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21391 $as_echo "yes" >&6; }
21394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21395 $as_echo "no" >&6; }
21397 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21399 if test "x$CY_OBJECTIVEC" = x1
; then :
21405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework CoreFoundation" >&5
21406 $as_echo_n "checking for framework CoreFoundation... " >&6; }
21407 if ${ac_cv_framework_CoreFoundation+:} false
; then :
21408 $as_echo_n "(cached) " >&6
21411 ac_check_framework_save_LIBS
=$LIBS
21412 LIBS
="-framework CoreFoundation $LIBS"
21413 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21414 /* end confdefs.h. */
21416 #include <CoreFoundation/CFBase.h>
21421 CFAllocatorGetDefault();
21426 if ac_fn_objcxx_try_link
"$LINENO"; then :
21428 ac_cv_framework_CoreFoundation
=yes
21431 ac_cv_framework_CoreFoundation
=no
21433 rm -f core conftest.err conftest.
$ac_objext \
21434 conftest
$ac_exeext conftest.
$ac_ext
21435 LIBS
=$ac_check_framework_save_LIBS
21438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_CoreFoundation" >&5
21439 $as_echo "$ac_cv_framework_CoreFoundation" >&6; }
21440 if test $ac_cv_framework_CoreFoundation = yes; then :
21443 for element
in "-framework CoreFoundation"; do
21447 acl_save_prefix
="$prefix"
21448 prefix
="$acl_final_prefix"
21449 acl_save_exec_prefix
="$exec_prefix"
21450 exec_prefix
="$acl_final_exec_prefix"
21452 exec_prefix
="$acl_save_exec_prefix"
21453 prefix
="$acl_save_prefix"
21455 if test "X$x" = "X$element"; then
21460 if test -z "$haveit"; then
21461 LIBS
="${LIBS}${LIBS:+ }$element"
21470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework Foundation" >&5
21471 $as_echo_n "checking for framework Foundation... " >&6; }
21472 if ${ac_cv_framework_Foundation+:} false
; then :
21473 $as_echo_n "(cached) " >&6
21476 ac_check_framework_save_LIBS
=$LIBS
21477 LIBS
="-framework Foundation $LIBS"
21478 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21479 /* end confdefs.h. */
21481 #include <Foundation/NSObject.h>
21486 [[NSObject alloc] init];
21491 if ac_fn_objcxx_try_link
"$LINENO"; then :
21493 ac_cv_framework_Foundation
=yes
21496 ac_cv_framework_Foundation
=no
21498 rm -f core conftest.err conftest.
$ac_objext \
21499 conftest
$ac_exeext conftest.
$ac_ext
21500 LIBS
=$ac_check_framework_save_LIBS
21503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_Foundation" >&5
21504 $as_echo "$ac_cv_framework_Foundation" >&6; }
21505 if test $ac_cv_framework_Foundation = yes; then :
21508 for element
in "-framework Foundation"; do
21512 acl_save_prefix
="$prefix"
21513 prefix
="$acl_final_prefix"
21514 acl_save_exec_prefix
="$exec_prefix"
21515 exec_prefix
="$acl_final_exec_prefix"
21517 exec_prefix
="$acl_save_exec_prefix"
21518 prefix
="$acl_save_prefix"
21520 if test "X$x" = "X$element"; then
21525 if test -z "$haveit"; then
21526 LIBS
="${LIBS}${LIBS:+ }$element"
21530 cat >>confdefs.h
<<_ACEOF
21531 #define HAVE_FRAMEWORK_FOUNDATION 1
21541 for ac_prog
in gnustep
-config
21543 # Extract the first word of "$ac_prog", so it can be a program name with args.
21544 set dummy
$ac_prog; ac_word
=$2
21545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21546 $as_echo_n "checking for $ac_word... " >&6; }
21547 if ${ac_cv_prog_GNUSTEP_CONFIG+:} false
; then :
21548 $as_echo_n "(cached) " >&6
21550 if test -n "$GNUSTEP_CONFIG"; then
21551 ac_cv_prog_GNUSTEP_CONFIG
="$GNUSTEP_CONFIG" # Let the user override the test.
21553 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21554 for as_dir
in $PATH
21557 test -z "$as_dir" && as_dir
=.
21558 for ac_exec_ext
in '' $ac_executable_extensions; do
21559 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
21560 ac_cv_prog_GNUSTEP_CONFIG
="$ac_prog"
21561 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21570 GNUSTEP_CONFIG
=$ac_cv_prog_GNUSTEP_CONFIG
21571 if test -n "$GNUSTEP_CONFIG"; then
21572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNUSTEP_CONFIG" >&5
21573 $as_echo "$GNUSTEP_CONFIG" >&6; }
21575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21576 $as_echo "no" >&6; }
21580 test -n "$GNUSTEP_CONFIG" && break
21584 if test "x$GNUSTEP_CONFIG" != x
; then :
21588 for element
in `$GNUSTEP_CONFIG --objc-flags`; do
21590 for x
in $OBJCXXFLAGS; do
21592 acl_save_prefix
="$prefix"
21593 prefix
="$acl_final_prefix"
21594 acl_save_exec_prefix
="$exec_prefix"
21595 exec_prefix
="$acl_final_exec_prefix"
21597 exec_prefix
="$acl_save_exec_prefix"
21598 prefix
="$acl_save_prefix"
21600 if test "X$x" = "X$element"; then
21605 if test -z "$haveit"; then
21606 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
21611 for element
in `$GNUSTEP_CONFIG --base-libs`; do
21615 acl_save_prefix
="$prefix"
21616 prefix
="$acl_final_prefix"
21617 acl_save_exec_prefix
="$exec_prefix"
21618 exec_prefix
="$acl_final_exec_prefix"
21620 exec_prefix
="$acl_save_exec_prefix"
21621 prefix
="$acl_save_prefix"
21623 if test "X$x" = "X$element"; then
21628 if test -z "$haveit"; then
21629 LIBS
="${LIBS}${LIBS:+ }$element"
21648 ac_cpp
='$CXXCPP $CPPFLAGS'
21649 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21650 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21651 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21658 if test "x$CY_JAVA" = x1
; then
21666 if test "x$CY_OBJECTIVEC" = x1
; then
21667 CY_OBJECTIVEC_TRUE
=
21668 CY_OBJECTIVEC_FALSE
='#'
21670 CY_OBJECTIVEC_TRUE
='#'
21671 CY_OBJECTIVEC_FALSE
=
21679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a readline compatible library" >&5
21680 $as_echo_n "checking for a readline compatible library... " >&6; }
21681 if ${ax_cv_lib_readline+:} false
; then :
21682 $as_echo_n "(cached) " >&6
21686 for readline_lib
in readline edit editline
; do
21687 for termcap_lib
in "" termcap curses ncurses
; do
21688 if test -z "$termcap_lib"; then
21689 TRY_LIB
="-l$readline_lib"
21691 TRY_LIB
="-l$readline_lib -l$termcap_lib"
21693 LIBS
="$ORIG_LIBS $TRY_LIB"
21694 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21695 /* end confdefs.h. */
21697 /* Override any GCC internal prototype to avoid an error.
21698 Use char because int might match the return type of a GCC
21699 builtin and then its argument prototype would still apply. */
21707 return readline ();
21712 if ac_fn_cxx_try_link
"$LINENO"; then :
21713 ax_cv_lib_readline
="$TRY_LIB"
21715 rm -f core conftest.err conftest.
$ac_objext \
21716 conftest
$ac_exeext conftest.
$ac_ext
21717 if test -n "$ax_cv_lib_readline"; then
21721 if test -n "$ax_cv_lib_readline"; then
21725 if test -z "$ax_cv_lib_readline"; then
21726 ax_cv_lib_readline
="no"
21731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_lib_readline" >&5
21732 $as_echo "$ax_cv_lib_readline" >&6; }
21734 if test "$ax_cv_lib_readline" != "no"; then
21735 LIBS
="$LIBS $ax_cv_lib_readline"
21737 $as_echo "#define HAVE_LIBREADLINE 1" >>confdefs.h
21739 for ac_header
in readline.h readline
/readline.h
21741 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
21742 ac_fn_cxx_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
21743 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
21744 cat >>confdefs.h
<<_ACEOF
21745 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
21752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether readline supports history" >&5
21753 $as_echo_n "checking whether readline supports history... " >&6; }
21754 if ${ax_cv_lib_readline_history+:} false
; then :
21755 $as_echo_n "(cached) " >&6
21758 ax_cv_lib_readline_history
="no"
21759 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21760 /* end confdefs.h. */
21762 /* Override any GCC internal prototype to avoid an error.
21763 Use char because int might match the return type of a GCC
21764 builtin and then its argument prototype would still apply. */
21768 char add_history ();
21772 return add_history ();
21777 if ac_fn_cxx_try_link
"$LINENO"; then :
21778 ax_cv_lib_readline_history
="yes"
21780 rm -f core conftest.err conftest.
$ac_objext \
21781 conftest
$ac_exeext conftest.
$ac_ext
21784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_lib_readline_history" >&5
21785 $as_echo "$ax_cv_lib_readline_history" >&6; }
21786 if test "$ax_cv_lib_readline_history" = "yes"; then
21788 $as_echo "#define HAVE_READLINE_HISTORY 1" >>confdefs.h
21790 for ac_header
in history.h readline
/history.h
21792 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
21793 ac_fn_cxx_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
21794 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
21795 cat >>confdefs.h
<<_ACEOF
21796 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
21806 LTLIBREADLINE
=$LIBS
21810 case $ax_cv_lib_readline in #(
21812 as_fn_error $?
"missing \"libreadline\"" "$LINENO" 5 ;; #(
21820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing cur_term" >&5
21821 $as_echo_n "checking for library containing cur_term... " >&6; }
21822 if ${ac_cv_search_cur_term+:} false
; then :
21823 $as_echo_n "(cached) " >&6
21825 ac_func_search_save_LIBS
=$LIBS
21826 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21827 /* end confdefs.h. */
21829 /* Override any GCC internal prototype to avoid an error.
21830 Use char because int might match the return type of a GCC
21831 builtin and then its argument prototype would still apply. */
21839 return cur_term ();
21844 for ac_lib
in '' termcap ncurses
; do
21845 if test -z "$ac_lib"; then
21846 ac_res
="none required"
21849 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
21851 if ac_fn_cxx_try_link
"$LINENO"; then :
21852 ac_cv_search_cur_term
=$ac_res
21854 rm -f core conftest.err conftest.
$ac_objext \
21856 if ${ac_cv_search_cur_term+:} false
; then :
21860 if ${ac_cv_search_cur_term+:} false
; then :
21863 ac_cv_search_cur_term
=no
21865 rm conftest.
$ac_ext
21866 LIBS
=$ac_func_search_save_LIBS
21868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_cur_term" >&5
21869 $as_echo "$ac_cv_search_cur_term" >&6; }
21870 ac_res
=$ac_cv_search_cur_term
21871 if test "$ac_res" != no
; then :
21872 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
21887 ac_config_files
="$ac_config_files Makefile"
21889 cat >confcache
<<\_ACEOF
21890 # This file is a shell script that caches the results of configure
21891 # tests run on this system so they can be shared between configure
21892 # scripts and configure runs, see configure's option --config-cache.
21893 # It is not useful on other systems. If it contains results you don't
21894 # want to keep, you may remove or edit it.
21896 # config.status only pays attention to the cache file if you give it
21897 # the --recheck option to rerun configure.
21899 # `ac_cv_env_foo' variables (set or unset) will be overridden when
21900 # loading this file, other *unset* `ac_cv_foo' will be assigned the
21901 # following values.
21905 # The following way of writing the cache mishandles newlines in values,
21906 # but we know of no workaround that is simple, portable, and efficient.
21907 # So, we kill variables containing newlines.
21908 # Ultrix sh set writes to stderr and can't be redirected directly,
21909 # and sets the high bit in the cache file unless we assign to the vars.
21911 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
21912 eval ac_val
=\$
$ac_var
21916 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
21917 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
21920 _
| IFS
| as_nl
) ;; #(
21921 BASH_ARGV
| BASH_SOURCE
) eval $ac_var= ;; #(
21922 *) { eval $ac_var=; unset $ac_var;} ;;
21928 case $as_nl`(ac_space=' '; set) 2>&1` in #(
21929 *${as_nl}ac_space
=\
*)
21930 # `set' does not quote correctly, so add quotes: double-quote
21931 # substitution turns \\\\ into \\, and sed turns \\ into \.
21934 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
21937 # `set' quotes correctly as required by POSIX, so do not add quotes.
21938 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
21947 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
21949 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
21951 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
21952 if test -w "$cache_file"; then
21953 if test "x$cache_file" != "x/dev/null"; then
21954 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
21955 $as_echo "$as_me: updating cache $cache_file" >&6;}
21956 if test ! -f "$cache_file" || test -h "$cache_file"; then
21957 cat confcache
>"$cache_file"
21959 case $cache_file in #(
21961 mv -f confcache
"$cache_file"$$
&&
21962 mv -f "$cache_file"$$
"$cache_file" ;; #(
21964 mv -f confcache
"$cache_file" ;;
21969 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
21970 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
21975 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
21976 # Let make expand exec_prefix.
21977 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
21979 DEFS
=-DHAVE_CONFIG_H
21984 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
21985 # 1. Remove the extension, and $U if already installed.
21986 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
21987 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
21988 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
21989 # will be set to the directory where LIBOBJS objects are built.
21990 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
21991 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
21993 LIBOBJS
=$ac_libobjs
21995 LTLIBOBJS
=$ac_ltlibobjs
21998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
21999 $as_echo_n "checking that generated files are newer than configure... " >&6; }
22000 if test -n "$am_sleep_pid"; then
22001 # Hide warnings about reused PIDs.
22002 wait $am_sleep_pid 2>/dev
/null
22004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
22005 $as_echo "done" >&6; }
22006 if test -n "$EXEEXT"; then
22008 am__EXEEXT_FALSE
='#'
22010 am__EXEEXT_TRUE
='#'
22014 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
22015 as_fn_error $?
"conditional \"MAINTAINER_MODE\" was never defined.
22016 Usually this means the macro was only invoked conditionally." "$LINENO" 5
22018 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
22019 as_fn_error $?
"conditional \"AMDEP\" was never defined.
22020 Usually this means the macro was only invoked conditionally." "$LINENO" 5
22022 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
22023 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
22024 Usually this means the macro was only invoked conditionally." "$LINENO" 5
22026 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
22027 as_fn_error $?
"conditional \"am__fastdepCXX\" was never defined.
22028 Usually this means the macro was only invoked conditionally." "$LINENO" 5
22030 if test -z "${am__fastdepOBJCXX_TRUE}" && test -z "${am__fastdepOBJCXX_FALSE}"; then
22031 as_fn_error $?
"conditional \"am__fastdepOBJCXX\" was never defined.
22032 Usually this means the macro was only invoked conditionally." "$LINENO" 5
22034 if test -z "${CY_CONSOLE_TRUE}" && test -z "${CY_CONSOLE_FALSE}"; then
22035 as_fn_error $?
"conditional \"CY_CONSOLE\" was never defined.
22036 Usually this means the macro was only invoked conditionally." "$LINENO" 5
22038 if test -z "${CY_ATTACH_TRUE}" && test -z "${CY_ATTACH_FALSE}"; then
22039 as_fn_error $?
"conditional \"CY_ATTACH\" was never defined.
22040 Usually this means the macro was only invoked conditionally." "$LINENO" 5
22042 if test -z "${CY_EXECUTE_TRUE}" && test -z "${CY_EXECUTE_FALSE}"; then
22043 as_fn_error $?
"conditional \"CY_EXECUTE\" was never defined.
22044 Usually this means the macro was only invoked conditionally." "$LINENO" 5
22046 if test -z "${CY_JAVA_TRUE}" && test -z "${CY_JAVA_FALSE}"; then
22047 as_fn_error $?
"conditional \"CY_JAVA\" was never defined.
22048 Usually this means the macro was only invoked conditionally." "$LINENO" 5
22050 if test -z "${CY_OBJECTIVEC_TRUE}" && test -z "${CY_OBJECTIVEC_FALSE}"; then
22051 as_fn_error $?
"conditional \"CY_OBJECTIVEC\" was never defined.
22052 Usually this means the macro was only invoked conditionally." "$LINENO" 5
22055 : "${CONFIG_STATUS=./config.status}"
22057 ac_clean_files_save
=$ac_clean_files
22058 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
22059 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
22060 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
22062 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
22064 # Generated by $as_me.
22065 # Run this file to recreate the current configuration.
22066 # Compiler output produced by configure, useful for debugging
22067 # configure, is in config.log if it exists.
22070 ac_cs_recheck=false
22073 SHELL=\${CONFIG_SHELL-$SHELL}
22076 cat >>$CONFIG_STATUS <<\_ASEOF
|| as_write_fail
=1
22077 ## -------------------- ##
22078 ## M4sh Initialization. ##
22079 ## -------------------- ##
22081 # Be more Bourne compatible
22082 DUALCASE
=1; export DUALCASE
# for MKS sh
22083 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
22086 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
22087 # is contrary to our usage. Disable this feature.
22088 alias -g '${1+"$@"}'='"$@"'
22089 setopt NO_GLOB_SUBST
22091 case `(set -o) 2>/dev/null` in #(
22103 # Printing a long string crashes Solaris 7 /usr/bin/printf.
22104 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
22105 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
22106 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
22107 # Prefer a ksh shell builtin over an external printf program on Solaris,
22108 # but without wasting forks for bash or zsh.
22109 if test -z "$BASH_VERSION$ZSH_VERSION" \
22110 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
22111 as_echo='print
-r --'
22112 as_echo_n='print
-rn --'
22113 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
22114 as_echo='printf %s
\n'
22115 as_echo_n='printf %s
'
22117 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
22118 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
22119 as_echo_n='/usr
/ucb
/echo -n'
22121 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
22122 as_echo_n_body='eval
22126 expr "X$arg" : "X\\(.*\\)$as_nl";
22127 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
22129 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
22131 export as_echo_n_body
22132 as_echo_n='sh
-c $as_echo_n_body as_echo
'
22134 export as_echo_body
22135 as_echo='sh
-c $as_echo_body as_echo
'
22138 # The user is always right.
22139 if test "${PATH_SEPARATOR+set}" != set; then
22141 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
22142 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
22149 # We need space, tab and new line, in precisely that order. Quoting is
22150 # there to prevent editors from complaining about space-tab.
22151 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
22152 # splitting by setting IFS to empty value.)
22155 # Find who we are. Look in the path if we contain no directory separator.
22158 *[\\/]* ) as_myself=$0 ;;
22159 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22160 for as_dir in $PATH
22163 test -z "$as_dir" && as_dir=.
22164 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
22170 # We did not find ourselves, most probably we were run as `sh COMMAND'
22171 # in which case we are not to be found in the path.
22172 if test "x$as_myself" = x
; then
22175 if test ! -f "$as_myself"; then
22176 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
22180 # Unset variables that we do not need and which cause bugs (e.g. in
22181 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
22182 # suppresses any "Segmentation fault" message there. '((' could
22183 # trigger a bug in pdksh 5.2.14.
22184 for as_var
in BASH_ENV ENV MAIL MAILPATH
22185 do eval test x\
${$as_var+set} = xset \
22186 && ( (unset $as_var) || exit 1) >/dev
/null
2>&1 && unset $as_var || :
22199 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
22202 # as_fn_error STATUS ERROR [LINENO LOG_FD]
22203 # ----------------------------------------
22204 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
22205 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
22206 # script with STATUS, using 1 if that was 0.
22209 as_status
=$1; test $as_status -eq 0 && as_status
=1
22211 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
22212 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
22214 $as_echo "$as_me: error: $2" >&2
22215 as_fn_exit
$as_status
22219 # as_fn_set_status STATUS
22220 # -----------------------
22221 # Set $? to STATUS, without forking.
22222 as_fn_set_status
()
22225 } # as_fn_set_status
22227 # as_fn_exit STATUS
22228 # -----------------
22229 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
22233 as_fn_set_status
$1
22239 # Portably unset VAR.
22242 { eval $1=; unset $1;}
22244 as_unset
=as_fn_unset
22245 # as_fn_append VAR VALUE
22246 # ----------------------
22247 # Append the text in VALUE to the end of the definition contained in VAR. Take
22248 # advantage of any shell optimizations that allow amortized linear growth over
22249 # repeated appends, instead of the typical quadratic growth present in naive
22251 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
22252 eval 'as_fn_append ()
22263 # as_fn_arith ARG...
22264 # ------------------
22265 # Perform arithmetic evaluation on the ARGs, and store the result in the
22266 # global $as_val. Take advantage of shells that can avoid forks. The arguments
22267 # must be portable across $(()) and expr.
22268 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
22269 eval 'as_fn_arith ()
22276 as_val
=`expr "$@" || test $? -eq 1`
22281 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
22282 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
22288 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
22289 as_basename
=basename
22294 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
22300 as_me
=`$as_basename -- "$0" ||
22301 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
22302 X"$0" : 'X\(//\)$' \| \
22303 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
22305 sed '/^.*\/\([^/][^/]*\)\/*$/{
22319 # Avoid depending upon Character Ranges.
22320 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
22321 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
22322 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
22323 as_cr_digits
='0123456789'
22324 as_cr_alnum
=$as_cr_Letters$as_cr_digits
22326 ECHO_C
= ECHO_N
= ECHO_T
=
22327 case `echo -n x` in #(((((
22329 case `echo 'xy\c'` in
22330 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
22332 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
22339 rm -f conf$$ conf$$.exe conf$$.
file
22340 if test -d conf$$.dir
; then
22341 rm -f conf$$.dir
/conf$$.
file
22344 mkdir conf$$.dir
2>/dev
/null
22346 if (echo >conf$$.
file) 2>/dev
/null
; then
22347 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
22349 # ... but there are two gotchas:
22350 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
22351 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
22352 # In both cases, we have to default to `cp -pR'.
22353 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
22355 elif ln conf$$.
file conf$$
2>/dev
/null
; then
22363 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
22364 rmdir conf$$.dir
2>/dev
/null
22369 # Create "$as_dir" as a directory, including parents if necessary.
22374 -*) as_dir
=.
/$as_dir;;
22376 test -d "$as_dir" || eval $as_mkdir_p || {
22380 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
22381 *) as_qdir
=$as_dir;;
22383 as_dirs
="'$as_qdir' $as_dirs"
22384 as_dir
=`$as_dirname -- "$as_dir" ||
22385 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22386 X"$as_dir" : 'X\(//\)[^/]' \| \
22387 X"$as_dir" : 'X\(//\)$' \| \
22388 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22389 $as_echo X"$as_dir" |
22390 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22394 /^X\(\/\/\)[^/].*/{
22407 test -d "$as_dir" && break
22409 test -z "$as_dirs" || eval "mkdir $as_dirs"
22410 } || test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
22414 if mkdir -p .
2>/dev
/null
; then
22415 as_mkdir_p
='mkdir -p "$as_dir"'
22417 test -d .
/-p && rmdir .
/-p
22422 # as_fn_executable_p FILE
22423 # -----------------------
22424 # Test if FILE is an executable regular file.
22425 as_fn_executable_p
()
22427 test -f "$1" && test -x "$1"
22428 } # as_fn_executable_p
22429 as_test_x
='test -x'
22430 as_executable_p
=as_fn_executable_p
22432 # Sed expression to map a string onto a valid CPP name.
22433 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
22435 # Sed expression to map a string onto a valid variable name.
22436 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
22440 ## ----------------------------------- ##
22441 ## Main body of $CONFIG_STATUS script. ##
22442 ## ----------------------------------- ##
22444 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
22446 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
22447 # Save the log message, to keep $0 and so on meaningful, and to
22448 # report actual input values of CONFIG_FILES etc. instead of their
22449 # values after options handling.
22451 This file was extended by Cycript $as_me 0.9, which was
22452 generated by GNU Autoconf 2.69. Invocation command line was
22454 CONFIG_FILES = $CONFIG_FILES
22455 CONFIG_HEADERS = $CONFIG_HEADERS
22456 CONFIG_LINKS = $CONFIG_LINKS
22457 CONFIG_COMMANDS = $CONFIG_COMMANDS
22460 on `(hostname || uname -n) 2>/dev/null | sed 1q`
22465 case $ac_config_files in *"
22466 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
22469 case $ac_config_headers in *"
22470 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
22474 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22475 # Files that config.status was made for.
22476 config_files="$ac_config_files"
22477 config_headers="$ac_config_headers"
22478 config_commands="$ac_config_commands"
22482 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
22484 \`$as_me' instantiates files and other configuration actions
22485 from templates according to the current configuration. Unless the files
22486 and actions are specified as TAGs, all are instantiated by default.
22488 Usage: $0 [OPTION]... [TAG]...
22490 -h, --help print this help, then exit
22491 -V, --version print version number and configuration settings, then exit
22492 --config print configuration, then exit
22493 -q, --quiet, --silent
22494 do not print progress messages
22495 -d, --debug don't remove temporary files
22496 --recheck update $as_me by reconfiguring in the same conditions
22497 --file=FILE[:TEMPLATE]
22498 instantiate the configuration file FILE
22499 --header=FILE[:TEMPLATE]
22500 instantiate the configuration header FILE
22502 Configuration files:
22505 Configuration headers:
22508 Configuration commands:
22511 Report bugs to <saurik@saurik.com>.
22512 Cycript home page: <http://www.cycript.org/>."
22515 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22516 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
22518 Cycript config.status 0.9
22519 configured by $0, generated by GNU Autoconf 2.69,
22520 with options \\"\$ac_cs_config\\"
22522 Copyright (C) 2012 Free Software Foundation, Inc.
22523 This config.status script is free software; the Free Software Foundation
22524 gives unlimited permission to copy, distribute and modify it."
22531 test -n "\$AWK" || AWK=awk
22534 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
22535 # The default lists apply if the user does not specify any file.
22541 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
22542 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
22546 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
22558 # Handling of the options.
22559 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
22561 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
22562 $as_echo "$ac_cs_version"; exit ;;
22563 --config | --confi | --conf | --con | --co | --c )
22564 $as_echo "$ac_cs_config"; exit ;;
22565 --debug | --debu | --deb | --de | --d | -d )
22567 --file | --fil | --fi | --f )
22570 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
22571 '') as_fn_error $?
"missing file argument" ;;
22573 as_fn_append CONFIG_FILES
" '$ac_optarg'"
22574 ac_need_defaults
=false
;;
22575 --header | --heade | --head | --hea )
22578 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
22580 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
22581 ac_need_defaults
=false
;;
22583 # Conflict between --help and --header
22584 as_fn_error $?
"ambiguous option: \`$1'
22585 Try \`$0 --help' for more information.";;
22586 --help | --hel | -h )
22587 $as_echo "$ac_cs_usage"; exit ;;
22588 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
22589 | -silent | --silent | --silen | --sile | --sil | --si | --s)
22592 # This is an error.
22593 -*) as_fn_error $?
"unrecognized option: \`$1'
22594 Try \`$0 --help' for more information." ;;
22596 *) as_fn_append ac_config_targets
" $1"
22597 ac_need_defaults
=false
;;
22603 ac_configure_extra_args
=
22605 if $ac_cs_silent; then
22607 ac_configure_extra_args
="$ac_configure_extra_args --silent"
22611 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22612 if \$ac_cs_recheck; then
22613 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
22615 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
22616 CONFIG_SHELL='$SHELL'
22617 export CONFIG_SHELL
22622 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
22626 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
22627 ## Running $as_me. ##
22633 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22637 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
22640 # The HP-UX ksh and POSIX shell print the target directory to stdout
22641 # if CDPATH is set.
22642 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
22644 sed_quote_subst='$sed_quote_subst'
22645 double_quote_subst='$double_quote_subst'
22646 delay_variable_subst='$delay_variable_subst'
22647 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
22648 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
22649 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
22650 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
22651 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
22652 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
22653 shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
22654 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
22655 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
22656 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
22657 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
22658 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
22659 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
22660 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
22661 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
22662 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
22663 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
22664 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
22665 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
22666 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
22667 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
22668 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
22669 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
22670 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
22671 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
22672 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
22673 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
22674 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
22675 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
22676 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
22677 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
22678 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
22679 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
22680 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
22681 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
22682 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
22683 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
22684 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
22685 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
22686 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
22687 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
22688 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
22689 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
22690 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
22691 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
22692 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
22693 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
22694 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
22695 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
22696 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
22697 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
22698 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
22699 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
22700 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
22701 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
22702 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
22703 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
22704 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
22705 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"`'
22706 lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
22707 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
22708 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
22709 lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
22710 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
22711 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
22712 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
22713 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
22714 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
22715 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
22716 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
22717 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
22718 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
22719 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
22720 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
22721 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
22722 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
22723 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
22724 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
22725 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
22726 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
22727 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
22728 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
22729 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
22730 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
22731 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
22732 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
22733 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
22734 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
22735 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
22736 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
22737 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
22738 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
22739 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
22740 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
22741 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
22742 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
22743 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
22744 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
22745 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
22746 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
22747 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
22748 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
22749 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
22750 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
22751 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
22752 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
22753 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
22754 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
22755 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
22756 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
22757 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
22758 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
22759 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
22760 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
22761 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
22762 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
22763 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
22764 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
22765 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
22766 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
22767 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
22768 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
22769 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
22770 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
22771 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
22772 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
22773 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
22774 configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
22775 configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
22776 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
22777 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
22778 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
22779 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
22780 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
22781 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
22782 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
22783 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
22784 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
22785 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
22786 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
22787 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
22788 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
22789 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
22790 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
22791 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
22792 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
22793 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
22794 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
22795 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
22796 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
22797 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
22798 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
22799 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
22800 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
22801 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
22802 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
22803 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
22804 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
22805 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
22806 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
22807 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
22808 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
22809 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
22810 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
22811 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
22812 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
22813 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
22814 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
22815 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
22816 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
22817 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
22818 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
22819 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
22820 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
22821 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
22822 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
22823 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
22824 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
22825 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
22826 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
22827 postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
22828 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
22829 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
22830 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
22831 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
22832 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
22833 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
22834 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
22835 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
22838 LTCFLAGS='$LTCFLAGS'
22839 compiler='$compiler_DEFAULT'
22841 # A function that is used when there is no print builtin or printf.
22842 func_fallback_echo ()
22844 eval 'cat <<_LTECHO_EOF
22849 # Quote evaled strings.
22864 deplibs_check_method \
22869 sharedlib_from_linklib_cmd \
22872 archiver_list_spec \
22878 lt_cv_sys_global_symbol_pipe \
22879 lt_cv_sys_global_symbol_to_cdecl \
22880 lt_cv_sys_global_symbol_to_import \
22881 lt_cv_sys_global_symbol_to_c_name_address \
22882 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
22883 lt_cv_nm_interface \
22884 nm_file_list_spec \
22885 lt_cv_truncate_bin \
22886 lt_prog_compiler_no_builtin_flag \
22887 lt_prog_compiler_pic \
22888 lt_prog_compiler_wl \
22889 lt_prog_compiler_static \
22890 lt_cv_prog_compiler_c_o \
22899 export_dynamic_flag_spec \
22900 whole_archive_flag_spec \
22901 compiler_needs_object \
22903 allow_undefined_flag \
22904 no_undefined_flag \
22905 hardcode_libdir_flag_spec \
22906 hardcode_libdir_separator \
22910 variables_saved_for_relink \
22912 library_names_spec \
22914 install_override_mode \
22918 compiler_lib_search_dirs \
22923 compiler_lib_search_path \
22927 lt_prog_compiler_no_builtin_flag_CXX \
22928 lt_prog_compiler_pic_CXX \
22929 lt_prog_compiler_wl_CXX \
22930 lt_prog_compiler_static_CXX \
22931 lt_cv_prog_compiler_c_o_CXX \
22932 export_dynamic_flag_spec_CXX \
22933 whole_archive_flag_spec_CXX \
22934 compiler_needs_object_CXX \
22936 allow_undefined_flag_CXX \
22937 no_undefined_flag_CXX \
22938 hardcode_libdir_flag_spec_CXX \
22939 hardcode_libdir_separator_CXX \
22940 exclude_expsyms_CXX \
22941 include_expsyms_CXX \
22942 file_list_spec_CXX \
22943 compiler_lib_search_dirs_CXX \
22944 predep_objects_CXX \
22945 postdep_objects_CXX \
22948 compiler_lib_search_path_CXX; do
22949 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
22950 *[\\\\\\\`\\"\\\$]*)
22951 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
22954 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
22959 # Double-quote double-evaled strings.
22960 for var in reload_cmds \
22961 old_postinstall_cmds \
22962 old_postuninstall_cmds \
22964 extract_expsyms_cmds \
22965 old_archive_from_new_cmds \
22966 old_archive_from_expsyms_cmds \
22968 archive_expsym_cmds \
22970 module_expsym_cmds \
22971 export_symbols_cmds \
22975 postuninstall_cmds \
22977 sys_lib_search_path_spec \
22978 configure_time_dlsearch_path \
22979 configure_time_lt_sys_library_path \
22981 old_archive_cmds_CXX \
22982 old_archive_from_new_cmds_CXX \
22983 old_archive_from_expsyms_cmds_CXX \
22985 archive_expsym_cmds_CXX \
22987 module_expsym_cmds_CXX \
22988 export_symbols_cmds_CXX \
22990 postlink_cmds_CXX; do
22991 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
22992 *[\\\\\\\`\\"\\\$]*)
22993 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
22996 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
23001 ac_aux_dir='$ac_aux_dir'
23003 # See if we are running on zsh, and set the options that allow our
23004 # commands through without removal of \ escapes INIT.
23005 if test -n "\${ZSH_VERSION+set}"; then
23006 setopt NO_GLOB_SUBST
23022 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
23024 # Handling of arguments.
23025 for ac_config_target
in $ac_config_targets
23027 case $ac_config_target in
23028 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
23029 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
23030 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
23031 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
23033 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
23038 # If the user did not use the arguments to specify the items to instantiate,
23039 # then the envvar interface is used. Set only those that are not.
23040 # We use the long form for the default assignment because of an extremely
23041 # bizarre bug on SunOS 4.1.3.
23042 if $ac_need_defaults; then
23043 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
23044 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
23045 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
23048 # Have a temporary directory for convenience. Make it in the build tree
23049 # simply because there is no reason against having it here, and in addition,
23050 # creating and moving files from /tmp can sometimes cause problems.
23051 # Hook for its removal unless debugging.
23052 # Note that there is a small window in which the directory will not be cleaned:
23053 # after its creation but before its name has been assigned to `$tmp'.
23057 trap 'exit_status=$?
23058 : "${ac_tmp:=$tmp}"
23059 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
23061 trap 'as_fn_exit 1' 1 2 13 15
23063 # Create a (secure) tmp directory for tmp files.
23066 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
23070 tmp
=.
/conf$$
-$RANDOM
23071 (umask 077 && mkdir "$tmp")
23072 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
23075 # Set up the scripts for CONFIG_FILES section.
23076 # No need to generate them if there are no CONFIG_FILES.
23077 # This happens for instance with `./config.status config.h'.
23078 if test -n "$CONFIG_FILES"; then
23081 ac_cr
=`echo X | tr X '\015'`
23082 # On cygwin, bash can eat \r inside `` if the user requested igncr.
23083 # But we know of no other shell where ac_cr would be empty at this
23084 # point, so we can use a bashism as a fallback.
23085 if test "x$ac_cr" = x
; then
23086 eval ac_cr
=\$
\'\\r
\'
23088 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
23089 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
23092 ac_cs_awk_cr
=$ac_cr
23095 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
23100 echo "cat >conf$$subs.awk <<_ACEOF" &&
23101 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
23103 } >conf$$subs.sh ||
23104 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
23105 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
23107 for ac_last_try in false false false false false :; do
23108 . ./conf$$subs.sh ||
23109 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
23111 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
23112 if test $ac_delim_n = $ac_delim_num; then
23114 elif $ac_last_try; then
23115 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
23117 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
23120 rm -f conf$$subs.sh
23122 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23123 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
23127 s/^/S["/; s
/!.
*/"]=/
23137 s/\(.\{148\}\)..*/\1/
23139 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
23144 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
23151 s/\(.\{148\}\)..*/\1/
23153 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
23157 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
23162 ' <conf$$subs.awk | sed '
23167 ' >>$CONFIG_STATUS || ac_write_fail=1
23168 rm -f conf$$subs.awk
23169 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23171 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
23172 for (key in S) S_is_set[key] = 1
23178 nfields = split(line, field, "@
")
23180 len = length(field[1])
23181 for (i = 2; i < nfields; i++) {
23183 keylen = length(key)
23184 if (S_is_set[key]) {
23186 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
23187 len += length(value) + length(field[++i])
23198 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23199 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
23200 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
23203 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
23204 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
23207 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
23208 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
23209 # trailing colons and then remove the whole line if VPATH becomes empty
23210 # (actually we leave an empty line to preserve line numbers).
23211 if test "x
$srcdir" = x.; then
23212 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
23230 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23231 fi # test -n "$CONFIG_FILES"
23233 # Set up the scripts for CONFIG_HEADERS section.
23234 # No need to generate them if there are no CONFIG_HEADERS.
23235 # This happens for instance with `./config.status Makefile'.
23236 if test -n "$CONFIG_HEADERS"; then
23237 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
23241 # Transform confdefs.h into an awk script `defines.awk', embedded as
23242 # here-document in config.status, that substitutes the proper values into
23243 # config.h.in to produce config.h.
23245 # Create a delimiter string that does not exist in confdefs.h, to ease
23246 # handling of long lines.
23248 for ac_last_try in false false :; do
23249 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
23250 if test -z "$ac_tt"; then
23252 elif $ac_last_try; then
23253 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
23255 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
23259 # For the awk script, D is an array of macro values keyed by name,
23260 # likewise P contains macro parameters if any. Preserve backslash
23261 # newline sequences.
23263 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
23265 s/.\{148\}/&'"$ac_delim"'/g
23268 s/^[ ]*#[ ]*define[ ][ ]*/ /
23275 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
23277 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
23281 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
23282 D["\
1"]=" \
3\\\\\\n
"\\/p
23284 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
23289 s/.\{148\}/&'"$ac_delim"'/g
23294 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
23297 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
23299 ' <confdefs.h | sed '
23300 s/'"$ac_delim"'/"\\\
23301 "/g' >>$CONFIG_STATUS || ac_write_fail=1
23303 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23304 for (key in D) D_is_set[key] = 1
23307 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
23309 split(line, arg, " ")
23310 if (arg[1] == "#") {
23314 defundef
= substr
(arg
[1], 2)
23317 split(mac1
, mac2
, "(") #)
23319 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
23320 if (D_is_set
[macro
]) {
23321 # Preserve the white space surrounding the "#".
23322 print prefix
"define", macro P
[macro
] D
[macro
]
23325 # Replace #undef with comments. This is necessary, for example,
23326 # in the case of _POSIX_SOURCE, which is predefined and required
23327 # on some systems where configure will not decide to define it.
23328 if (defundef
== "undef") {
23329 print
"/*", prefix defundef
, macro
, "*/"
23337 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
23338 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
23339 fi # test -n "$CONFIG_HEADERS"
23342 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
23347 :[FHLC
]) ac_mode
=$ac_tag; continue;;
23349 case $ac_mode$ac_tag in
23351 :L
* | :C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
23352 :[FH
]-) ac_tag
=-:-;;
23353 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
23370 -) ac_f
="$ac_tmp/stdin";;
23371 *) # Look for the file first in the build tree, then in the source tree
23372 # (if the path is not absolute). The absolute path cannot be DOS-style,
23373 # because $ac_f cannot contain `:'.
23377 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
23379 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
23381 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
23382 as_fn_append ac_file_inputs
" '$ac_f'"
23385 # Let's still pretend it is `configure' which instantiates (i.e., don't
23386 # use $as_me), people would be surprised to read:
23387 # /* config.h. Generated by config.status. */
23388 configure_input
='Generated from '`
23389 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
23391 if test x
"$ac_file" != x
-; then
23392 configure_input
="$ac_file. $configure_input"
23393 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
23394 $as_echo "$as_me: creating $ac_file" >&6;}
23396 # Neutralize special characters interpreted by sed in replacement strings.
23397 case $configure_input in #(
23398 *\
&* | *\
|* | *\\* )
23399 ac_sed_conf_input
=`$as_echo "$configure_input" |
23400 sed 's/[\\\\&|]/\\\\&/g'`;; #(
23401 *) ac_sed_conf_input
=$configure_input;;
23405 *:-:* | *:-) cat >"$ac_tmp/stdin" \
23406 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
23411 ac_dir
=`$as_dirname -- "$ac_file" ||
23412 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23413 X"$ac_file" : 'X\(//\)[^/]' \| \
23414 X"$ac_file" : 'X\(//\)$' \| \
23415 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
23416 $as_echo X"$ac_file" |
23417 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23421 /^X\(\/\/\)[^/].*/{
23434 as_dir
="$ac_dir"; as_fn_mkdir_p
23438 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
23440 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
23441 # A ".." for each directory in $ac_dir_suffix.
23442 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
23443 case $ac_top_builddir_sub in
23444 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
23445 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
23448 ac_abs_top_builddir
=$ac_pwd
23449 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
23450 # for backward compatibility:
23451 ac_top_builddir
=$ac_top_build_prefix
23454 .
) # We are building in place.
23456 ac_top_srcdir
=$ac_top_builddir_sub
23457 ac_abs_top_srcdir
=$ac_pwd ;;
23458 [\\/]* | ?
:[\\/]* ) # Absolute name.
23459 ac_srcdir
=$srcdir$ac_dir_suffix;
23460 ac_top_srcdir
=$srcdir
23461 ac_abs_top_srcdir
=$srcdir ;;
23462 *) # Relative name.
23463 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
23464 ac_top_srcdir
=$ac_top_build_prefix$srcdir
23465 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
23467 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
23477 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
23478 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
23480 ac_MKDIR_P
=$MKDIR_P
23482 [\\/$
]* | ?
:[\\/]* ) ;;
23483 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
23487 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
23488 # If the template does not know about datarootdir, expand it.
23489 # FIXME: This hack should be removed a few years after 2.60.
23490 ac_datarootdir_hack
=; ac_datarootdir_seen
=
23501 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
23502 *datarootdir
*) ac_datarootdir_seen
=yes;;
23503 *@datadir@
*|*@docdir@
*|*@infodir@
*|*@localedir@
*|*@mandir@
*)
23504 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
23505 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
23507 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23508 ac_datarootdir_hack='
23509 s&@datadir@&$datadir&g
23510 s&@docdir@&$docdir&g
23511 s&@infodir@&$infodir&g
23512 s&@localedir@&$localedir&g
23513 s&@mandir@&$mandir&g
23514 s&\\\${datarootdir}&$datarootdir&g' ;;
23518 # Neutralize VPATH when `$srcdir' = `.'.
23519 # Shell code in configure.ac might set extrasub.
23520 # FIXME: do we really want to maintain this feature?
23521 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23522 ac_sed_extra="$ac_vpsub
23525 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
23527 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
23528 s
|@configure_input@
|$ac_sed_conf_input|;t t
23529 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
23530 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
23531 s
&@srcdir@
&$ac_srcdir&;t t
23532 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
23533 s
&@top_srcdir@
&$ac_top_srcdir&;t t
23534 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
23535 s
&@builddir@
&$ac_builddir&;t t
23536 s
&@abs_builddir@
&$ac_abs_builddir&;t t
23537 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
23538 s
&@INSTALL@
&$ac_INSTALL&;t t
23539 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
23540 $ac_datarootdir_hack
23542 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
23543 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
23545 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
23546 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
23547 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
23548 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
23549 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
23550 which seems to be undefined. Please make sure it is defined" >&5
23551 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
23552 which seems to be undefined. Please make sure it is defined" >&2;}
23554 rm -f "$ac_tmp/stdin"
23556 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
23557 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
23559 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
23565 if test x"$ac_file" != x-; then
23567 $as_echo "/* $configure_input */" \
23568 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
23569 } >"$ac_tmp/config.h" \
23570 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
23571 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
23572 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
23573 $as_echo "$as_me: $ac_file is unchanged" >&6;}
23576 mv "$ac_tmp/config.h" "$ac_file" \
23577 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
23580 $as_echo "/* $configure_input */" \
23581 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
23582 || as_fn_error $? "could not create -" "$LINENO" 5
23584 # Compute "$ac_file"'s index
in $config_headers.
23587 for _am_header
in $config_headers :; do
23588 case $_am_header in
23589 $_am_arg | $_am_arg:* )
23592 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
23595 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
23596 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23597 X"$_am_arg" : 'X\(//\)[^/]' \| \
23598 X"$_am_arg" : 'X\(//\)$' \| \
23599 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
23600 $as_echo X"$_am_arg" |
23601 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23605 /^X\(\/\/\)[^/].*/{
23617 s/.*/./; q'`/stamp
-h$_am_stamp_count
23620 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
23621 $as_echo "$as_me: executing $ac_file commands" >&6;}
23626 case $ac_file$ac_mode in
23627 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" || {
23628 # Older Autoconf quotes --file arguments for eval, but not when files
23629 # are listed without --file. Let's play safe and only enable the eval
23630 # if we detect the quoting.
23631 case $CONFIG_FILES in
23632 *\'*) eval set x
"$CONFIG_FILES" ;;
23633 *) set x
$CONFIG_FILES ;;
23638 # Strip MF so we end up with the name of the file.
23639 mf
=`echo "$mf" | sed -e 's/:.*$//'`
23640 # Check whether this is an Automake generated Makefile or not.
23641 # We used to match only the files named 'Makefile.in', but
23642 # some people rename them; so instead we look at the file content.
23643 # Grep'ing the first line is not enough: some people post-process
23644 # each Makefile.in and add a new line on top of each file to say so.
23645 # Grep'ing the whole file is not good either: AIX grep has a line
23646 # limit of 2048, but all sed's we know have understand at least 4000.
23647 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X
>/dev
/null
2>&1; then
23648 dirpart
=`$as_dirname -- "$mf" ||
23649 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23650 X"$mf" : 'X\(//\)[^/]' \| \
23651 X"$mf" : 'X\(//\)$' \| \
23652 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
23654 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23658 /^X\(\/\/\)[^/].*/{
23674 # Extract the definition of DEPDIR, am__include, and am__quote
23675 # from the Makefile without running 'make'.
23676 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
23677 test -z "$DEPDIR" && continue
23678 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
23679 test -z "$am__include" && continue
23680 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
23681 # Find all dependency output files, they are included files with
23682 # $(DEPDIR) in their names. We invoke sed twice because it is the
23683 # simplest approach to changing $(DEPDIR) to its actual value in the
23685 for file in `sed -n "
23686 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
23687 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
23688 # Make sure the directory exists.
23689 test -f "$dirpart/$file" && continue
23690 fdir
=`$as_dirname -- "$file" ||
23691 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23692 X"$file" : 'X\(//\)[^/]' \| \
23693 X"$file" : 'X\(//\)$' \| \
23694 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
23695 $as_echo X"$file" |
23696 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23700 /^X\(\/\/\)[^/].*/{
23713 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
23714 # echo "creating $dirpart/$file"
23715 echo '# dummy' > "$dirpart/$file"
23722 # See if we are running on zsh, and set the options that allow our
23723 # commands through without removal of \ escapes.
23724 if test -n "${ZSH_VERSION+set}"; then
23725 setopt NO_GLOB_SUBST
23729 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
23732 cat <<_LT_EOF >> "$cfgfile"
23734 # Generated automatically by $as_me ($PACKAGE) $VERSION
23735 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
23736 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
23738 # Provide generalized library-building support services.
23739 # Written by Gordon Matzigkeit, 1996
23741 # Copyright (C) 2014 Free Software Foundation, Inc.
23742 # This is free software; see the source for copying conditions. There is NO
23743 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
23745 # GNU Libtool is free software; you can redistribute it and/or modify
23746 # it under the terms of the GNU General Public License as published by
23747 # the Free Software Foundation; either version 2 of of the License, or
23748 # (at your option) any later version.
23750 # As a special exception to the GNU General Public License, if you
23751 # distribute this file as part of a program or library that is built
23752 # using GNU Libtool, you may include this file under the same
23753 # distribution terms that you use for the rest of that program.
23755 # GNU Libtool is distributed in the hope that it will be useful, but
23756 # WITHOUT ANY WARRANTY; without even the implied warranty of
23757 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
23758 # GNU General Public License for more details.
23760 # You should have received a copy of the GNU General Public License
23761 # along with this program. If not, see <http://www.gnu.org/licenses/>.
23764 # The names of the tagged configurations supported by this script.
23765 available_tags='CXX '
23767 # Configured defaults for sys_lib_dlsearch_path munging.
23768 : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
23770 # ### BEGIN LIBTOOL CONFIG
23772 # Which release of libtool.m4 was used?
23773 macro_version=$macro_version
23774 macro_revision=$macro_revision
23776 # Whether or not to build static libraries.
23777 build_old_libs=$enable_static
23779 # Whether or not to build shared libraries.
23780 build_libtool_libs=$enable_shared
23782 # What type of objects to build.
23785 # Whether or not to optimize for fast installation.
23786 fast_install=$enable_fast_install
23788 # Shared archive member basename,for filename based shared library versioning on AIX.
23789 shared_archive_member_spec=$shared_archive_member_spec
23791 # Shell to use when invoking shell scripts.
23794 # An echo program that protects backslashes.
23797 # The PATH separator for the build system.
23798 PATH_SEPARATOR=$lt_PATH_SEPARATOR
23801 host_alias=$host_alias
23805 # The build system.
23806 build_alias=$build_alias
23810 # A sed program that does not truncate output.
23813 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
23814 Xsed="\$SED -e 1s/^X//"
23816 # A grep program that handles long lines.
23822 # A literal string matcher.
23825 # A BSD- or MS-compatible name lister.
23828 # Whether we need soft or hard links.
23831 # What is the maximum length of a command?
23832 max_cmd_len=$max_cmd_len
23834 # Object file suffix (normally "o").
23837 # Executable file suffix (normally "").
23840 # whether the shell understands "unset".
23843 # turn spaces into newlines.
23846 # turn newlines into spaces.
23849 # convert \$build file names to \$host format.
23850 to_host_file_cmd=$lt_cv_to_host_file_cmd
23852 # convert \$build files to toolchain format.
23853 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
23855 # An object symbol dumper.
23856 OBJDUMP=$lt_OBJDUMP
23858 # Method to check whether dependent libraries are shared objects.
23859 deplibs_check_method=$lt_deplibs_check_method
23861 # Command to use when deplibs_check_method = "file_magic".
23862 file_magic_cmd=$lt_file_magic_cmd
23864 # How to find potential files when deplibs_check_method = "file_magic".
23865 file_magic_glob=$lt_file_magic_glob
23867 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
23868 want_nocaseglob=$lt_want_nocaseglob
23870 # DLL creation program.
23871 DLLTOOL=$lt_DLLTOOL
23873 # Command to associate shared and link libraries.
23874 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
23879 # Flags to create an archive.
23880 AR_FLAGS=$lt_AR_FLAGS
23882 # How to feed a file listing to the archiver.
23883 archiver_list_spec=$lt_archiver_list_spec
23885 # A symbol stripping program.
23888 # Commands used to install an old-style archive.
23890 old_postinstall_cmds=$lt_old_postinstall_cmds
23891 old_postuninstall_cmds=$lt_old_postuninstall_cmds
23893 # Whether to use a lock for old archive extraction.
23894 lock_old_archive_extraction=$lock_old_archive_extraction
23899 # LTCC compiler flags.
23900 LTCFLAGS=$lt_CFLAGS
23902 # Take the output of nm and produce a listing of raw symbols and C names.
23903 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
23905 # Transform the output of nm in a proper C declaration.
23906 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
23908 # Transform the output of nm into a list of symbols to manually relocate.
23909 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
23911 # Transform the output of nm in a C name address pair.
23912 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
23914 # Transform the output of nm in a C name address pair when lib prefix is needed.
23915 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
23917 # The name lister interface.
23918 nm_interface=$lt_lt_cv_nm_interface
23920 # Specify filename containing input files for \$NM.
23921 nm_file_list_spec=$lt_nm_file_list_spec
23923 # The root where to search for dependent libraries,and where our libraries should be installed.
23924 lt_sysroot=$lt_sysroot
23926 # Command to truncate a binary pipe.
23927 lt_truncate_bin=$lt_lt_cv_truncate_bin
23929 # The name of the directory that contains temporary libtool files.
23932 # Used to examine libraries when file_magic_cmd begins with "file".
23933 MAGIC_CMD=$MAGIC_CMD
23935 # Must we lock files when doing compilation?
23936 need_locks=$lt_need_locks
23939 MANIFEST_TOOL=$lt_MANIFEST_TOOL
23941 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
23942 DSYMUTIL=$lt_DSYMUTIL
23944 # Tool to change global to local symbols on Mac OS X.
23947 # Tool to manipulate fat objects and archives on Mac OS X.
23950 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
23953 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
23954 OTOOL64=$lt_OTOOL64
23956 # Old archive suffix (normally "a").
23959 # Shared library suffix (normally ".so").
23960 shrext_cmds=$lt_shrext_cmds
23962 # The commands to extract the exported symbol list from a shared archive.
23963 extract_expsyms_cmds=$lt_extract_expsyms_cmds
23965 # Variables whose values should be saved in libtool wrapper scripts and
23966 # restored at link time.
23967 variables_saved_for_relink=$lt_variables_saved_for_relink
23969 # Do we need the "lib" prefix for modules?
23970 need_lib_prefix=$need_lib_prefix
23972 # Do we need a version for libraries?
23973 need_version=$need_version
23975 # Library versioning type.
23976 version_type=$version_type
23978 # Shared library runtime path variable.
23979 runpath_var=$runpath_var
23981 # Shared library path variable.
23982 shlibpath_var=$shlibpath_var
23984 # Is shlibpath searched before the hard-coded library search path?
23985 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
23987 # Format of library name prefix.
23988 libname_spec=$lt_libname_spec
23990 # List of archive names. First name is the real one, the rest are links.
23991 # The last name is the one that the linker finds with -lNAME
23992 library_names_spec=$lt_library_names_spec
23994 # The coded name of the library, if different from the real name.
23995 soname_spec=$lt_soname_spec
23997 # Permission mode override for installation of shared libraries.
23998 install_override_mode=$lt_install_override_mode
24000 # Command to use after installation of a shared archive.
24001 postinstall_cmds=$lt_postinstall_cmds
24003 # Command to use after uninstallation of a shared archive.
24004 postuninstall_cmds=$lt_postuninstall_cmds
24006 # Commands used to finish a libtool library installation in a directory.
24007 finish_cmds=$lt_finish_cmds
24009 # As "finish_cmds", except a single script fragment to be evaled but
24011 finish_eval=$lt_finish_eval
24013 # Whether we should hardcode library paths into libraries.
24014 hardcode_into_libs=$hardcode_into_libs
24016 # Compile-time system search path for libraries.
24017 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
24019 # Detected run-time system search path for libraries.
24020 sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
24022 # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
24023 configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
24025 # Whether dlopen is supported.
24026 dlopen_support=$enable_dlopen
24028 # Whether dlopen of programs is supported.
24029 dlopen_self=$enable_dlopen_self
24031 # Whether dlopen of statically linked programs is supported.
24032 dlopen_self_static=$enable_dlopen_self_static
24034 # Commands to strip libraries.
24035 old_striplib=$lt_old_striplib
24036 striplib=$lt_striplib
24039 # The linker used to build libraries.
24042 # How to create reloadable object files.
24043 reload_flag=$lt_reload_flag
24044 reload_cmds=$lt_reload_cmds
24046 # Commands used to build an old-style archive.
24047 old_archive_cmds=$lt_old_archive_cmds
24049 # A language specific compiler.
24052 # Is the compiler the GNU compiler?
24055 # Compiler flag to turn off builtin functions.
24056 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
24058 # Additional compiler flags for building library objects.
24059 pic_flag=$lt_lt_prog_compiler_pic
24061 # How to pass a linker flag through the compiler.
24062 wl=$lt_lt_prog_compiler_wl
24064 # Compiler flag to prevent dynamic linking.
24065 link_static_flag=$lt_lt_prog_compiler_static
24067 # Does compiler simultaneously support -c and -o options?
24068 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
24070 # Whether or not to add -lc for building shared libraries.
24071 build_libtool_need_lc=$archive_cmds_need_lc
24073 # Whether or not to disallow shared libs when runtime libs are static.
24074 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
24076 # Compiler flag to allow reflexive dlopens.
24077 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
24079 # Compiler flag to generate shared objects directly from archives.
24080 whole_archive_flag_spec=$lt_whole_archive_flag_spec
24082 # Whether the compiler copes with passing no objects directly.
24083 compiler_needs_object=$lt_compiler_needs_object
24085 # Create an old-style archive from a shared archive.
24086 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
24088 # Create a temporary old-style archive to link instead of a shared archive.
24089 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
24091 # Commands used to build a shared archive.
24092 archive_cmds=$lt_archive_cmds
24093 archive_expsym_cmds=$lt_archive_expsym_cmds
24095 # Commands used to build a loadable module if different from building
24096 # a shared archive.
24097 module_cmds=$lt_module_cmds
24098 module_expsym_cmds=$lt_module_expsym_cmds
24100 # Whether we are building with GNU ld or not.
24101 with_gnu_ld=$lt_with_gnu_ld
24103 # Flag that allows shared libraries with undefined symbols to be built.
24104 allow_undefined_flag=$lt_allow_undefined_flag
24106 # Flag that enforces no undefined symbols.
24107 no_undefined_flag=$lt_no_undefined_flag
24109 # Flag to hardcode \$libdir into a binary during linking.
24110 # This must work even if \$libdir does not exist
24111 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
24113 # Whether we need a single "-rpath" flag with a separated argument.
24114 hardcode_libdir_separator=$lt_hardcode_libdir_separator
24116 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
24117 # DIR into the resulting binary.
24118 hardcode_direct=$hardcode_direct
24120 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
24121 # DIR into the resulting binary and the resulting library dependency is
24122 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
24123 # library is relocated.
24124 hardcode_direct_absolute=$hardcode_direct_absolute
24126 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
24127 # into the resulting binary.
24128 hardcode_minus_L=$hardcode_minus_L
24130 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
24131 # into the resulting binary.
24132 hardcode_shlibpath_var=$hardcode_shlibpath_var
24134 # Set to "yes" if building a shared library automatically hardcodes DIR
24135 # into the library and all subsequent libraries and executables linked
24137 hardcode_automatic=$hardcode_automatic
24139 # Set to yes if linker adds runtime paths of dependent libraries
24140 # to runtime path list.
24141 inherit_rpath=$inherit_rpath
24143 # Whether libtool must link a program against all its dependency libraries.
24144 link_all_deplibs=$link_all_deplibs
24146 # Set to "yes" if exported symbols are required.
24147 always_export_symbols=$always_export_symbols
24149 # The commands to list exported symbols.
24150 export_symbols_cmds=$lt_export_symbols_cmds
24152 # Symbols that should not be listed in the preloaded symbols.
24153 exclude_expsyms=$lt_exclude_expsyms
24155 # Symbols that must always be exported.
24156 include_expsyms=$lt_include_expsyms
24158 # Commands necessary for linking programs (against libraries) with templates.
24159 prelink_cmds=$lt_prelink_cmds
24161 # Commands necessary for finishing linking programs.
24162 postlink_cmds=$lt_postlink_cmds
24164 # Specify filename containing input files.
24165 file_list_spec=$lt_file_list_spec
24167 # How to hardcode a shared library path into an executable.
24168 hardcode_action=$hardcode_action
24170 # The directories searched by this compiler when creating a shared library.
24171 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
24173 # Dependencies to place before and after the objects being linked to
24174 # create a shared library.
24175 predep_objects=$lt_predep_objects
24176 postdep_objects=$lt_postdep_objects
24177 predeps=$lt_predeps
24178 postdeps=$lt_postdeps
24180 # The library search path used internally by the compiler when linking
24181 # a shared library.
24182 compiler_lib_search_path=$lt_compiler_lib_search_path
24184 # ### END LIBTOOL CONFIG
24188 cat <<'_LT_EOF' >> "$cfgfile"
24190 # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
24192 # func_munge_path_list VARIABLE PATH
24193 # -----------------------------------
24194 # VARIABLE is name of variable containing _space_ separated list of
24195 # directories to be munged by the contents of PATH, which is string
24198 # string "DIR[ DIR]" will be prepended to VARIABLE
24200 # string "DIR[ DIR]" will be appended to VARIABLE
24201 # "DIRP[:DIRP]::[DIRA:]DIRA"
24202 # string "DIRP[ DIRP]" will be prepended to VARIABLE and string
24203 # "DIRA[ DIRA]" will be appended to VARIABLE
24205 # VARIABLE will be replaced by "DIR[ DIR]"
24206 func_munge_path_list ()
24212 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
24215 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
24218 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
24219 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
24222 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
24228 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
24229 func_cc_basename ()
24231 for cc_temp in $*""; do
24233 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
24234 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
24239 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
24243 # ### END FUNCTIONS SHARED WITH CONFIGURE
24249 cat <<\_LT_EOF
>> "$cfgfile"
24250 # AIX sometimes has problems with the GCC collect2 program. For some
24251 # reason, if we set the COLLECT_NAMES environment variable, the problems
24252 # vanish in a puff of smoke.
24253 if test set != "${COLLECT_NAMES+set}"; then
24255 export COLLECT_NAMES
24262 ltmain
=$ac_aux_dir/ltmain.sh
24265 # We use sed instead of cat because bash on DJGPP gets confused if
24266 # if finds mixed CR/LF and LF-only lines. Since sed operates in
24267 # text mode, it properly converts lines to CR/LF. This bash problem
24268 # is reportedly fixed, but why not run on old versions too?
24269 sed '$q' "$ltmain" >> "$cfgfile" \
24270 || (rm -f "$cfgfile"; exit 1)
24272 mv -f "$cfgfile" "$ofile" ||
24273 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
24277 cat <<_LT_EOF >> "$ofile"
24279 # ### BEGIN LIBTOOL TAG CONFIG: CXX
24281 # The linker used to build libraries.
24284 # How to create reloadable object files.
24285 reload_flag=$lt_reload_flag_CXX
24286 reload_cmds=$lt_reload_cmds_CXX
24288 # Commands used to build an old-style archive.
24289 old_archive_cmds=$lt_old_archive_cmds_CXX
24291 # A language specific compiler.
24292 CC=$lt_compiler_CXX
24294 # Is the compiler the GNU compiler?
24297 # Compiler flag to turn off builtin functions.
24298 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
24300 # Additional compiler flags for building library objects.
24301 pic_flag=$lt_lt_prog_compiler_pic_CXX
24303 # How to pass a linker flag through the compiler.
24304 wl=$lt_lt_prog_compiler_wl_CXX
24306 # Compiler flag to prevent dynamic linking.
24307 link_static_flag=$lt_lt_prog_compiler_static_CXX
24309 # Does compiler simultaneously support -c and -o options?
24310 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
24312 # Whether or not to add -lc for building shared libraries.
24313 build_libtool_need_lc=$archive_cmds_need_lc_CXX
24315 # Whether or not to disallow shared libs when runtime libs are static.
24316 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
24318 # Compiler flag to allow reflexive dlopens.
24319 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
24321 # Compiler flag to generate shared objects directly from archives.
24322 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
24324 # Whether the compiler copes with passing no objects directly.
24325 compiler_needs_object=$lt_compiler_needs_object_CXX
24327 # Create an old-style archive from a shared archive.
24328 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
24330 # Create a temporary old-style archive to link instead of a shared archive.
24331 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
24333 # Commands used to build a shared archive.
24334 archive_cmds=$lt_archive_cmds_CXX
24335 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
24337 # Commands used to build a loadable module if different from building
24338 # a shared archive.
24339 module_cmds=$lt_module_cmds_CXX
24340 module_expsym_cmds=$lt_module_expsym_cmds_CXX
24342 # Whether we are building with GNU ld or not.
24343 with_gnu_ld=$lt_with_gnu_ld_CXX
24345 # Flag that allows shared libraries with undefined symbols to be built.
24346 allow_undefined_flag=$lt_allow_undefined_flag_CXX
24348 # Flag that enforces no undefined symbols.
24349 no_undefined_flag=$lt_no_undefined_flag_CXX
24351 # Flag to hardcode \$libdir into a binary during linking.
24352 # This must work even if \$libdir does not exist
24353 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
24355 # Whether we need a single "-rpath" flag with a separated argument.
24356 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
24358 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
24359 # DIR into the resulting binary.
24360 hardcode_direct=$hardcode_direct_CXX
24362 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
24363 # DIR into the resulting binary and the resulting library dependency is
24364 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
24365 # library is relocated.
24366 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
24368 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
24369 # into the resulting binary.
24370 hardcode_minus_L=$hardcode_minus_L_CXX
24372 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
24373 # into the resulting binary.
24374 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
24376 # Set to "yes" if building a shared library automatically hardcodes DIR
24377 # into the library and all subsequent libraries and executables linked
24379 hardcode_automatic=$hardcode_automatic_CXX
24381 # Set to yes if linker adds runtime paths of dependent libraries
24382 # to runtime path list.
24383 inherit_rpath=$inherit_rpath_CXX
24385 # Whether libtool must link a program against all its dependency libraries.
24386 link_all_deplibs=$link_all_deplibs_CXX
24388 # Set to "yes" if exported symbols are required.
24389 always_export_symbols=$always_export_symbols_CXX
24391 # The commands to list exported symbols.
24392 export_symbols_cmds=$lt_export_symbols_cmds_CXX
24394 # Symbols that should not be listed in the preloaded symbols.
24395 exclude_expsyms=$lt_exclude_expsyms_CXX
24397 # Symbols that must always be exported.
24398 include_expsyms=$lt_include_expsyms_CXX
24400 # Commands necessary for linking programs (against libraries) with templates.
24401 prelink_cmds=$lt_prelink_cmds_CXX
24403 # Commands necessary for finishing linking programs.
24404 postlink_cmds=$lt_postlink_cmds_CXX
24406 # Specify filename containing input files.
24407 file_list_spec=$lt_file_list_spec_CXX
24409 # How to hardcode a shared library path into an executable.
24410 hardcode_action=$hardcode_action_CXX
24412 # The directories searched by this compiler when creating a shared library.
24413 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
24415 # Dependencies to place before and after the objects being linked to
24416 # create a shared library.
24417 predep_objects=$lt_predep_objects_CXX
24418 postdep_objects=$lt_postdep_objects_CXX
24419 predeps=$lt_predeps_CXX
24420 postdeps=$lt_postdeps_CXX
24422 # The library search path used internally by the compiler when linking
24423 # a shared library.
24424 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
24426 # ### END LIBTOOL TAG CONFIG: CXX
24437 ac_clean_files
=$ac_clean_files_save
24439 test $ac_write_fail = 0 ||
24440 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
24443 # configure is writing to config.log, and then calls config.status.
24444 # config.status does its own redirection, appending to config.log.
24445 # Unfortunately, on DOS this fails, as config.log is still kept open
24446 # by configure, so config.status won't be able to write to it; its
24447 # output is simply discarded. So we exec the FD to /dev/null,
24448 # effectively closing config.log, so it can be properly (re)opened and
24449 # appended to by config.status. When coming back to configure, we
24450 # need to make the FD available again.
24451 if test "$no_create" != yes; then
24453 ac_config_status_args
=
24454 test "$silent" = yes &&
24455 ac_config_status_args
="$ac_config_status_args --quiet"
24457 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
24459 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
24460 # would make configure fail if this is the last instruction.
24461 $ac_cs_success || as_fn_exit
1
24463 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
24464 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
24465 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}