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-2012 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
718 am__fastdepOBJCXX_FALSE
719 am__fastdepOBJCXX_TRUE
748 MAINTAINER_MODE_FALSE
762 INSTALL_STRIP_PROGRAM
804 program_transform_name
817 enable_option_checking
819 enable_maintainer_mode
820 enable_dependency_tracking
831 ac_precious_vars
='build_alias
860 # Initialize some variables set by options.
862 ac_init_version
=false
863 ac_unrecognized_opts
=
865 # The variables have the same names as the options, with
866 # dashes changed to underlines.
874 program_transform_name
=s
,x
,x
,
882 # Installation directory options.
883 # These are left unexpanded so users can "make install exec_prefix=/foo"
884 # and all the variables that are supposed to be based on exec_prefix
885 # by default will actually change.
886 # Use braces instead of parens because sh, perl, etc. also accept them.
887 # (The list follows the same order as the GNU Coding Standards.)
888 bindir
='${exec_prefix}/bin'
889 sbindir
='${exec_prefix}/sbin'
890 libexecdir
='${exec_prefix}/libexec'
891 datarootdir
='${prefix}/share'
892 datadir
='${datarootdir}'
893 sysconfdir
='${prefix}/etc'
894 sharedstatedir
='${prefix}/com'
895 localstatedir
='${prefix}/var'
896 includedir
='${prefix}/include'
897 oldincludedir
='/usr/include'
898 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
899 infodir
='${datarootdir}/info'
904 libdir
='${exec_prefix}/lib'
905 localedir
='${datarootdir}/locale'
906 mandir
='${datarootdir}/man'
912 # If the previous option needs an argument, assign it.
913 if test -n "$ac_prev"; then
914 eval $ac_prev=\
$ac_option
920 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
925 # Accept the important Cygnus configure options, so we can diagnose typos.
927 case $ac_dashdash$ac_option in
931 -bindir | --bindir | --bindi | --bind | --bin | --bi)
933 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
936 -build | --build | --buil | --bui | --bu)
937 ac_prev
=build_alias
;;
938 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
939 build_alias
=$ac_optarg ;;
941 -cache-file | --cache-file | --cache-fil | --cache-fi \
942 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
943 ac_prev
=cache_file
;;
944 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
945 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
946 cache_file
=$ac_optarg ;;
949 cache_file
=config.cache
;;
951 -datadir | --datadir | --datadi | --datad)
953 -datadir=* | --datadir=* | --datadi=* | --datad=*)
954 datadir
=$ac_optarg ;;
956 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
957 | --dataroo | --dataro | --datar)
958 ac_prev
=datarootdir
;;
959 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
960 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
961 datarootdir
=$ac_optarg ;;
963 -disable-* | --disable-*)
964 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
965 # Reject names that are not valid shell variable names.
966 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
967 as_fn_error $?
"invalid feature name: $ac_useropt"
968 ac_useropt_orig
=$ac_useropt
969 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
970 case $ac_user_opts in
974 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
975 ac_unrecognized_sep
=', ';;
977 eval enable_
$ac_useropt=no
;;
979 -docdir | --docdir | --docdi | --doc | --do)
981 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
984 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
986 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
989 -enable-* | --enable-*)
990 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
991 # Reject names that are not valid shell variable names.
992 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
993 as_fn_error $?
"invalid feature name: $ac_useropt"
994 ac_useropt_orig
=$ac_useropt
995 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
996 case $ac_user_opts in
1000 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1001 ac_unrecognized_sep
=', ';;
1003 eval enable_
$ac_useropt=\
$ac_optarg ;;
1005 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1006 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1007 | --exec | --exe | --ex)
1008 ac_prev
=exec_prefix
;;
1009 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1010 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1011 | --exec=* | --exe=* | --ex=*)
1012 exec_prefix
=$ac_optarg ;;
1014 -gas | --gas | --ga | --g)
1015 # Obsolete; use --with-gas.
1018 -help | --help | --hel | --he | -h)
1019 ac_init_help
=long
;;
1020 -help=r
* | --help=r
* | --hel=r
* | --he=r
* | -hr*)
1021 ac_init_help
=recursive
;;
1022 -help=s
* | --help=s
* | --hel=s
* | --he=s
* | -hs*)
1023 ac_init_help
=short
;;
1025 -host | --host | --hos | --ho)
1026 ac_prev
=host_alias
;;
1027 -host=* | --host=* | --hos=* | --ho=*)
1028 host_alias
=$ac_optarg ;;
1030 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1032 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1034 htmldir
=$ac_optarg ;;
1036 -includedir | --includedir | --includedi | --included | --include \
1037 | --includ | --inclu | --incl | --inc)
1038 ac_prev
=includedir
;;
1039 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1040 | --includ=* | --inclu=* | --incl=* | --inc=*)
1041 includedir
=$ac_optarg ;;
1043 -infodir | --infodir | --infodi | --infod | --info | --inf)
1045 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1046 infodir
=$ac_optarg ;;
1048 -libdir | --libdir | --libdi | --libd)
1050 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1051 libdir
=$ac_optarg ;;
1053 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1054 | --libexe | --libex | --libe)
1055 ac_prev
=libexecdir
;;
1056 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1057 | --libexe=* | --libex=* | --libe=*)
1058 libexecdir
=$ac_optarg ;;
1060 -localedir | --localedir | --localedi | --localed | --locale)
1061 ac_prev
=localedir
;;
1062 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1063 localedir
=$ac_optarg ;;
1065 -localstatedir | --localstatedir | --localstatedi | --localstated \
1066 | --localstate | --localstat | --localsta | --localst | --locals)
1067 ac_prev
=localstatedir
;;
1068 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1069 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1070 localstatedir
=$ac_optarg ;;
1072 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1074 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1075 mandir
=$ac_optarg ;;
1077 -nfp | --nfp | --nf)
1078 # Obsolete; use --without-fp.
1081 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1082 | --no-cr | --no-c | -n)
1085 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1086 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1089 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1090 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1091 | --oldin | --oldi | --old | --ol | --o)
1092 ac_prev
=oldincludedir
;;
1093 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1094 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1095 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1096 oldincludedir
=$ac_optarg ;;
1098 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1100 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1101 prefix
=$ac_optarg ;;
1103 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1104 | --program-pre | --program-pr | --program-p)
1105 ac_prev
=program_prefix
;;
1106 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1107 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1108 program_prefix
=$ac_optarg ;;
1110 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1111 | --program-suf | --program-su | --program-s)
1112 ac_prev
=program_suffix
;;
1113 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1114 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1115 program_suffix
=$ac_optarg ;;
1117 -program-transform-name | --program-transform-name \
1118 | --program-transform-nam | --program-transform-na \
1119 | --program-transform-n | --program-transform- \
1120 | --program-transform | --program-transfor \
1121 | --program-transfo | --program-transf \
1122 | --program-trans | --program-tran \
1123 | --progr-tra | --program-tr | --program-t)
1124 ac_prev
=program_transform_name
;;
1125 -program-transform-name=* | --program-transform-name=* \
1126 | --program-transform-nam=* | --program-transform-na=* \
1127 | --program-transform-n=* | --program-transform-=* \
1128 | --program-transform=* | --program-transfor=* \
1129 | --program-transfo=* | --program-transf=* \
1130 | --program-trans=* | --program-tran=* \
1131 | --progr-tra=* | --program-tr=* | --program-t=*)
1132 program_transform_name
=$ac_optarg ;;
1134 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1136 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1137 pdfdir
=$ac_optarg ;;
1139 -psdir | --psdir | --psdi | --psd | --ps)
1141 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1144 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1145 | -silent | --silent | --silen | --sile | --sil)
1148 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1150 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1152 sbindir
=$ac_optarg ;;
1154 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1155 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1156 | --sharedst | --shareds | --shared | --share | --shar \
1158 ac_prev
=sharedstatedir
;;
1159 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1160 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1161 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1163 sharedstatedir
=$ac_optarg ;;
1165 -site | --site | --sit)
1167 -site=* | --site=* | --sit=*)
1170 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1172 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1173 srcdir
=$ac_optarg ;;
1175 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1176 | --syscon | --sysco | --sysc | --sys | --sy)
1177 ac_prev
=sysconfdir
;;
1178 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1179 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1180 sysconfdir
=$ac_optarg ;;
1182 -target | --target | --targe | --targ | --tar | --ta | --t)
1183 ac_prev
=target_alias
;;
1184 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1185 target_alias
=$ac_optarg ;;
1187 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1190 -version | --version | --versio | --versi | --vers | -V)
1191 ac_init_version
=: ;;
1194 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1195 # Reject names that are not valid shell variable names.
1196 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1197 as_fn_error $?
"invalid package name: $ac_useropt"
1198 ac_useropt_orig
=$ac_useropt
1199 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1200 case $ac_user_opts in
1204 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1205 ac_unrecognized_sep
=', ';;
1207 eval with_
$ac_useropt=\
$ac_optarg ;;
1209 -without-* | --without-*)
1210 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1211 # Reject names that are not valid shell variable names.
1212 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1213 as_fn_error $?
"invalid package name: $ac_useropt"
1214 ac_useropt_orig
=$ac_useropt
1215 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1216 case $ac_user_opts in
1220 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1221 ac_unrecognized_sep
=', ';;
1223 eval with_
$ac_useropt=no
;;
1226 # Obsolete; use --with-x.
1229 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1230 | --x-incl | --x-inc | --x-in | --x-i)
1231 ac_prev
=x_includes
;;
1232 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1233 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1234 x_includes
=$ac_optarg ;;
1236 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1237 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1238 ac_prev
=x_libraries
;;
1239 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1240 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1241 x_libraries
=$ac_optarg ;;
1243 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1244 Try \`$0 --help' for more information"
1248 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1249 # Reject names that are not valid shell variable names.
1250 case $ac_envvar in #(
1251 '' | [0-9]* | *[!_$as_cr_alnum]* )
1252 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1254 eval $ac_envvar=\
$ac_optarg
1255 export $ac_envvar ;;
1258 # FIXME: should be removed in autoconf 3.0.
1259 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1260 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1261 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1262 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1268 if test -n "$ac_prev"; then
1269 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1270 as_fn_error $?
"missing argument to $ac_option"
1273 if test -n "$ac_unrecognized_opts"; then
1274 case $enable_option_checking in
1276 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1277 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1281 # Check all directory arguments for consistency.
1282 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1283 datadir sysconfdir sharedstatedir localstatedir includedir \
1284 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1285 libdir localedir mandir
1287 eval ac_val
=\$
$ac_var
1288 # Remove trailing slashes.
1291 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1292 eval $ac_var=\
$ac_val;;
1294 # Be sure to have absolute directory names.
1296 [\\/$
]* | ?
:[\\/]* ) continue;;
1297 NONE
| '' ) case $ac_var in *prefix
) continue;; esac;;
1299 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1302 # There might be people who depend on the old broken behavior: `$host'
1303 # used to hold the argument of --host etc.
1304 # FIXME: To remove some day.
1307 target
=$target_alias
1309 # FIXME: To remove some day.
1310 if test "x$host_alias" != x
; then
1311 if test "x$build_alias" = x
; then
1312 cross_compiling
=maybe
1313 elif test "x$build_alias" != "x$host_alias"; then
1319 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1321 test "$silent" = yes && exec 6>/dev
/null
1324 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1325 ac_ls_di
=`ls -di .` &&
1326 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1327 as_fn_error $?
"working directory cannot be determined"
1328 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1329 as_fn_error $?
"pwd does not report name of working directory"
1332 # Find the source files, if location was not specified.
1333 if test -z "$srcdir"; then
1334 ac_srcdir_defaulted
=yes
1335 # Try the directory containing this script, then the parent directory.
1336 ac_confdir
=`$as_dirname -- "$as_myself" ||
1337 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1338 X"$as_myself" : 'X\(//\)[^/]' \| \
1339 X"$as_myself" : 'X\(//\)$' \| \
1340 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1341 $as_echo X"$as_myself" |
1342 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1360 if test ! -r "$srcdir/$ac_unique_file"; then
1364 ac_srcdir_defaulted
=no
1366 if test ! -r "$srcdir/$ac_unique_file"; then
1367 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1368 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1370 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1372 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1374 # When building in place, set srcdir=.
1375 if test "$ac_abs_confdir" = "$ac_pwd"; then
1378 # Remove unnecessary trailing slashes from srcdir.
1379 # Double slashes in file names in object file debugging info
1380 # mess up M-x gdb in Emacs.
1382 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1384 for ac_var
in $ac_precious_vars; do
1385 eval ac_env_
${ac_var}_set
=\
${${ac_var}+set}
1386 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1387 eval ac_cv_env_
${ac_var}_set
=\
${${ac_var}+set}
1388 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1392 # Report the --help message.
1394 if test "$ac_init_help" = "long"; then
1395 # Omit some internal or obsolete options to make the list less imposing.
1396 # This message is too long to be a string in the A/UX 3.1 sh.
1398 \`configure' configures Cycript 0.9 to adapt to many kinds of systems.
1400 Usage: $0 [OPTION]... [VAR=VALUE]...
1402 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1403 VAR=VALUE. See below for descriptions of some of the useful variables.
1405 Defaults for the options are specified in brackets.
1408 -h, --help display this help and exit
1409 --help=short display options specific to this package
1410 --help=recursive display the short help of all the included packages
1411 -V, --version display version information and exit
1412 -q, --quiet, --silent do not print \`checking ...' messages
1413 --cache-file=FILE cache test results in FILE [disabled]
1414 -C, --config-cache alias for \`--cache-file=config.cache'
1415 -n, --no-create do not create output files
1416 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1418 Installation directories:
1419 --prefix=PREFIX install architecture-independent files in PREFIX
1420 [$ac_default_prefix]
1421 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1424 By default, \`make install' will install all the files in
1425 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1426 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1427 for instance \`--prefix=\$HOME'.
1429 For better control, use the options below.
1431 Fine tuning of the installation directories:
1432 --bindir=DIR user executables [EPREFIX/bin]
1433 --sbindir=DIR system admin executables [EPREFIX/sbin]
1434 --libexecdir=DIR program executables [EPREFIX/libexec]
1435 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1436 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1437 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1438 --libdir=DIR object code libraries [EPREFIX/lib]
1439 --includedir=DIR C header files [PREFIX/include]
1440 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1441 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1442 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1443 --infodir=DIR info documentation [DATAROOTDIR/info]
1444 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1445 --mandir=DIR man documentation [DATAROOTDIR/man]
1446 --docdir=DIR documentation root [DATAROOTDIR/doc/cycript]
1447 --htmldir=DIR html documentation [DOCDIR]
1448 --dvidir=DIR dvi documentation [DOCDIR]
1449 --pdfdir=DIR pdf documentation [DOCDIR]
1450 --psdir=DIR ps documentation [DOCDIR]
1456 --program-prefix=PREFIX prepend PREFIX to installed program names
1457 --program-suffix=SUFFIX append SUFFIX to installed program names
1458 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1461 --build=BUILD configure
for building on BUILD
[guessed
]
1462 --host=HOST cross
-compile to build programs to run on HOST
[BUILD
]
1466 if test -n "$ac_init_help"; then
1467 case $ac_init_help in
1468 short
| recursive
) echo "Configuration of Cycript 0.9:";;
1473 --disable-option-checking ignore unrecognized
--enable/--with options
1474 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1475 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1476 --enable-silent-rules less verbose build output
(undo
: "make V=1")
1477 --disable-silent-rules verbose build output
(undo
: "make V=0")
1478 --enable-maintainer-mode
1479 enable make rules and dependencies not useful
(and
1480 sometimes confusing
) to the casual installer
1481 --enable-dependency-tracking
1482 do not reject slow dependency extractors
1483 --disable-dependency-tracking
1484 speeds up one
-time build
1485 --enable-static[=PKGS
] build static libraries
[default
=no
]
1486 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1487 --enable-fast-install[=PKGS
]
1488 optimize
for fast installation
[default
=yes]
1489 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1490 --enable-javascript[=ENGINE
]
1491 use a JavaScript runtime
(currently the only
1492 available option
for ENGINE is JavaScriptCore
)
1494 --disable-console disable console
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-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1502 --with-sysroot=DIR Search
for dependent libraries within DIR
1503 (or the compiler
's sysroot if not specified).
1505 Some influential environment variables:
1506 CC C compiler command
1507 CFLAGS C compiler flags
1508 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1509 nonstandard directory <lib dir>
1510 LIBS libraries to pass to the linker, e.g. -l<library>
1511 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1512 you have headers in a nonstandard directory <include dir>
1513 CXX C++ compiler command
1514 CXXFLAGS C++ compiler flags
1515 OBJCXX Objective C++ compiler command
1516 OBJCXXFLAGS Objective C++ compiler flags
1518 CXXCPP C++ preprocessor
1519 PKG_CONFIG path to pkg-config utility
1521 directories to add to pkg-config's search path
1523 path overriding pkg
-config's built-in search path
1524 BISON GNU Project parser generator (yacc replacement)
1525 FLEX the fast lexical analyser generator
1526 GPERF perfect hash function generator
1527 GNUTAR a very sticky lump of files
1529 C compiler flags for WEBKIT, overriding pkg-config
1530 WEBKIT_LIBS linker flags for WEBKIT, overriding pkg-config
1532 prints information about the current gnustep installation
1534 Use these variables to override the choices made by `configure' or to
help
1535 it to
find libraries and programs with nonstandard names
/locations.
1537 Report bugs to
<saurik@saurik.com
>.
1538 Cycript home page
: <http
://www.cycript.org
/>.
1543 if test "$ac_init_help" = "recursive"; then
1544 # If there are subdirs, report their specific --help.
1545 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1546 test -d "$ac_dir" ||
1547 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1552 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1554 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1555 # A ".." for each directory in $ac_dir_suffix.
1556 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1557 case $ac_top_builddir_sub in
1558 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1559 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1562 ac_abs_top_builddir
=$ac_pwd
1563 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1564 # for backward compatibility:
1565 ac_top_builddir
=$ac_top_build_prefix
1568 .
) # We are building in place.
1570 ac_top_srcdir
=$ac_top_builddir_sub
1571 ac_abs_top_srcdir
=$ac_pwd ;;
1572 [\\/]* | ?
:[\\/]* ) # Absolute name.
1573 ac_srcdir
=$srcdir$ac_dir_suffix;
1574 ac_top_srcdir
=$srcdir
1575 ac_abs_top_srcdir
=$srcdir ;;
1577 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1578 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1579 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1581 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1583 cd "$ac_dir" || { ac_status
=$?
; continue; }
1584 # Check for guested configure.
1585 if test -f "$ac_srcdir/configure.gnu"; then
1587 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1588 elif test -f "$ac_srcdir/configure"; then
1590 $SHELL "$ac_srcdir/configure" --help=recursive
1592 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1594 cd "$ac_pwd" || { ac_status
=$?
; break; }
1598 test -n "$ac_init_help" && exit $ac_status
1599 if $ac_init_version; then
1601 Cycript configure
0.9
1602 generated by GNU Autoconf
2.69
1604 Copyright
(C
) 2012 Free Software Foundation
, Inc.
1605 This configure
script is free software
; the Free Software Foundation
1606 gives unlimited permission to copy
, distribute and modify it.
1608 Copyright
(C
) 2009-2012 Jay Freeman
(saurik
)
1613 ## ------------------------ ##
1614 ## Autoconf initialization. ##
1615 ## ------------------------ ##
1617 # ac_fn_c_try_compile LINENO
1618 # --------------------------
1619 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1620 ac_fn_c_try_compile
()
1622 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1623 rm -f conftest.
$ac_objext
1624 if { { ac_try
="$ac_compile"
1626 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
1627 *) ac_try_echo=$ac_try;;
1629 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1630 $as_echo "$ac_try_echo"; } >&5
1631 (eval "$ac_compile") 2>conftest.err
1633 if test -s conftest.err; then
1634 grep -v '^ *+' conftest.err >conftest.er1
1635 cat conftest.er1 >&5
1636 mv -f conftest.er1 conftest.err
1638 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1639 test $ac_status = 0; } && {
1640 test -z "$ac_c_werror_flag" ||
1641 test ! -s conftest.err
1642 } && test -s conftest.$ac_objext; then :
1645 $as_echo "$as_me: failed program was:" >&5
1646 sed 's/^/| /' conftest.$ac_ext >&5
1650 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1651 as_fn_set_status $ac_retval
1653 } # ac_fn_c_try_compile
1655 # ac_fn_cxx_try_compile LINENO
1656 # ----------------------------
1657 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1658 ac_fn_cxx_try_compile ()
1660 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1661 rm -f conftest.$ac_objext
1662 if { { ac_try="$ac_compile"
1664 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
1665 *) ac_try_echo
=$ac_try;;
1667 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1668 $as_echo "$ac_try_echo"; } >&5
1669 (eval "$ac_compile") 2>conftest.err
1671 if test -s conftest.err
; then
1672 grep -v '^ *+' conftest.err
>conftest.er1
1673 cat conftest.er1
>&5
1674 mv -f conftest.er1 conftest.err
1676 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1677 test $ac_status = 0; } && {
1678 test -z "$ac_cxx_werror_flag" ||
1679 test ! -s conftest.err
1680 } && test -s conftest.
$ac_objext; then :
1683 $as_echo "$as_me: failed program was:" >&5
1684 sed 's/^/| /' conftest.
$ac_ext >&5
1688 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1689 as_fn_set_status
$ac_retval
1691 } # ac_fn_cxx_try_compile
1693 # ac_fn_objcxx_try_compile LINENO
1694 # -------------------------------
1695 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1696 ac_fn_objcxx_try_compile
()
1698 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1699 rm -f conftest.
$ac_objext
1700 if { { ac_try
="$ac_compile"
1702 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
1703 *) ac_try_echo=$ac_try;;
1705 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1706 $as_echo "$ac_try_echo"; } >&5
1707 (eval "$ac_compile") 2>conftest.err
1709 if test -s conftest.err; then
1710 grep -v '^ *+' conftest.err >conftest.er1
1711 cat conftest.er1 >&5
1712 mv -f conftest.er1 conftest.err
1714 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1715 test $ac_status = 0; } && {
1716 test -z "$ac_objcxx_werror_flag" ||
1717 test ! -s conftest.err
1718 } && test -s conftest.$ac_objext; then :
1721 $as_echo "$as_me: failed program was:" >&5
1722 sed 's/^/| /' conftest.$ac_ext >&5
1726 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1727 as_fn_set_status $ac_retval
1729 } # ac_fn_objcxx_try_compile
1731 # ac_fn_c_try_link LINENO
1732 # -----------------------
1733 # Try to link conftest.$ac_ext, and return whether this succeeded.
1736 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1737 rm -f conftest.$ac_objext conftest$ac_exeext
1738 if { { ac_try="$ac_link"
1740 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
1741 *) ac_try_echo
=$ac_try;;
1743 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1744 $as_echo "$ac_try_echo"; } >&5
1745 (eval "$ac_link") 2>conftest.err
1747 if test -s conftest.err
; then
1748 grep -v '^ *+' conftest.err
>conftest.er1
1749 cat conftest.er1
>&5
1750 mv -f conftest.er1 conftest.err
1752 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1753 test $ac_status = 0; } && {
1754 test -z "$ac_c_werror_flag" ||
1755 test ! -s conftest.err
1756 } && test -s conftest
$ac_exeext && {
1757 test "$cross_compiling" = yes ||
1758 test -x conftest
$ac_exeext
1762 $as_echo "$as_me: failed program was:" >&5
1763 sed 's/^/| /' conftest.
$ac_ext >&5
1767 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1768 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1769 # interfere with the next link command; also delete a directory that is
1770 # left behind by Apple's compiler. We do this before executing the actions.
1771 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1772 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1773 as_fn_set_status
$ac_retval
1775 } # ac_fn_c_try_link
1777 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1778 # -------------------------------------------------------
1779 # Tests whether HEADER exists and can be compiled using the include files in
1780 # INCLUDES, setting the cache variable VAR accordingly.
1781 ac_fn_c_check_header_compile
()
1783 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1785 $as_echo_n "checking for $2... " >&6; }
1786 if eval \
${$3+:} false
; then :
1787 $as_echo_n "(cached) " >&6
1789 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1790 /* end confdefs.h. */
1794 if ac_fn_c_try_compile
"$LINENO"; then :
1799 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1803 $as_echo "$ac_res" >&6; }
1804 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1806 } # ac_fn_c_check_header_compile
1808 # ac_fn_c_try_cpp LINENO
1809 # ----------------------
1810 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1813 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1814 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1816 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
1817 *) ac_try_echo=$ac_try;;
1819 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1820 $as_echo "$ac_try_echo"; } >&5
1821 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1823 if test -s conftest.err; then
1824 grep -v '^ *+' conftest.err >conftest.er1
1825 cat conftest.er1 >&5
1826 mv -f conftest.er1 conftest.err
1828 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1829 test $ac_status = 0; } > conftest.i && {
1830 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1831 test ! -s conftest.err
1835 $as_echo "$as_me: failed program was:" >&5
1836 sed 's/^/| /' conftest.$ac_ext >&5
1840 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1841 as_fn_set_status $ac_retval
1845 # ac_fn_c_try_run LINENO
1846 # ----------------------
1847 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1848 # that executables *can* be run.
1851 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1852 if { { ac_try="$ac_link"
1854 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
1855 *) ac_try_echo
=$ac_try;;
1857 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1858 $as_echo "$ac_try_echo"; } >&5
1859 (eval "$ac_link") 2>&5
1861 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1862 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1863 { { case "(($ac_try" in
1864 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
1865 *) ac_try_echo=$ac_try;;
1867 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1868 $as_echo "$ac_try_echo"; } >&5
1869 (eval "$ac_try") 2>&5
1871 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1872 test $ac_status = 0; }; }; then :
1875 $as_echo "$as_me: program exited with status $ac_status" >&5
1876 $as_echo "$as_me: failed program was:" >&5
1877 sed 's/^/| /' conftest.$ac_ext >&5
1879 ac_retval=$ac_status
1881 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1882 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1883 as_fn_set_status $ac_retval
1887 # ac_fn_c_check_func LINENO FUNC VAR
1888 # ----------------------------------
1889 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1890 ac_fn_c_check_func ()
1892 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1894 $as_echo_n "checking for $2... " >&6; }
1895 if eval \${$3+:} false; then :
1896 $as_echo_n "(cached) " >&6
1898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1899 /* end confdefs.h. */
1900 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1901 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1902 #define $2 innocuous_$2
1904 /* System header to define __stub macros and hopefully few prototypes,
1905 which can conflict with char $2 (); below.
1906 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1907 <limits.h> exists even on freestanding compilers. */
1910 # include <limits.h>
1912 # include <assert.h>
1917 /* Override any GCC internal prototype to avoid an error.
1918 Use char because int might match the return type of a GCC
1919 builtin and then its argument prototype would still apply. */
1924 /* The GNU C library defines this for functions which it implements
1925 to always fail with ENOSYS. Some functions are actually named
1926 something starting with __ and the normal name is an alias. */
1927 #if defined __stub_$2 || defined __stub___$2
1939 if ac_fn_c_try_link "$LINENO"; then :
1944 rm -f core conftest.err conftest.$ac_objext \
1945 conftest$ac_exeext conftest.$ac_ext
1948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1949 $as_echo "$ac_res" >&6; }
1950 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1952 } # ac_fn_c_check_func
1954 # ac_fn_cxx_try_cpp LINENO
1955 # ------------------------
1956 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1957 ac_fn_cxx_try_cpp ()
1959 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1960 if { { ac_try="$ac_cpp conftest.$ac_ext"
1962 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
1963 *) ac_try_echo
=$ac_try;;
1965 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1966 $as_echo "$ac_try_echo"; } >&5
1967 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1969 if test -s conftest.err
; then
1970 grep -v '^ *+' conftest.err
>conftest.er1
1971 cat conftest.er1
>&5
1972 mv -f conftest.er1 conftest.err
1974 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1975 test $ac_status = 0; } > conftest.i
&& {
1976 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1977 test ! -s conftest.err
1981 $as_echo "$as_me: failed program was:" >&5
1982 sed 's/^/| /' conftest.
$ac_ext >&5
1986 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1987 as_fn_set_status
$ac_retval
1989 } # ac_fn_cxx_try_cpp
1991 # ac_fn_cxx_try_link LINENO
1992 # -------------------------
1993 # Try to link conftest.$ac_ext, and return whether this succeeded.
1994 ac_fn_cxx_try_link
()
1996 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1997 rm -f conftest.
$ac_objext conftest
$ac_exeext
1998 if { { ac_try
="$ac_link"
2000 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
2001 *) ac_try_echo=$ac_try;;
2003 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2004 $as_echo "$ac_try_echo"; } >&5
2005 (eval "$ac_link") 2>conftest.err
2007 if test -s conftest.err; then
2008 grep -v '^ *+' conftest.err >conftest.er1
2009 cat conftest.er1 >&5
2010 mv -f conftest.er1 conftest.err
2012 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2013 test $ac_status = 0; } && {
2014 test -z "$ac_cxx_werror_flag" ||
2015 test ! -s conftest.err
2016 } && test -s conftest$ac_exeext && {
2017 test "$cross_compiling" = yes ||
2018 test -x conftest$ac_exeext
2022 $as_echo "$as_me: failed program was:" >&5
2023 sed 's/^/| /' conftest.$ac_ext >&5
2027 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2028 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2029 # interfere with the next link command; also delete a directory that is
2030 # left behind by Apple's compiler. We do this before executing the actions.
2031 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2032 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2033 as_fn_set_status $ac_retval
2035 } # ac_fn_cxx_try_link
2037 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2038 # ---------------------------------------------------------
2039 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2040 # the include files in INCLUDES and setting the cache variable VAR
2042 ac_fn_cxx_check_header_mongrel ()
2044 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2045 if eval \${$3+:} false; then :
2046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2047 $as_echo_n "checking for $2... " >&6; }
2048 if eval \${$3+:} false; then :
2049 $as_echo_n "(cached) " >&6
2052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2053 $as_echo "$ac_res" >&6; }
2055 # Is the header compilable?
2056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2057 $as_echo_n "checking $2 usability... " >&6; }
2058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2059 /* end confdefs.h. */
2063 if ac_fn_cxx_try_compile "$LINENO"; then :
2064 ac_header_compiler=yes
2066 ac_header_compiler=no
2068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2070 $as_echo "$ac_header_compiler" >&6; }
2072 # Is the header present?
2073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2074 $as_echo_n "checking $2 presence... " >&6; }
2075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2076 /* end confdefs.h. */
2079 if ac_fn_cxx_try_cpp "$LINENO"; then :
2080 ac_header_preproc=yes
2082 ac_header_preproc=no
2084 rm -f conftest.err conftest.i conftest.$ac_ext
2085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2086 $as_echo "$ac_header_preproc" >&6; }
2088 # So? What about this header?
2089 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2091 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2092 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2093 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2094 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2097 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2098 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2099 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2100 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2101 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2102 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2103 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2104 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2105 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2106 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2107 ( $as_echo "## -------------------------------- ##
2108 ## Report this to saurik@saurik.com ##
2109 ## -------------------------------- ##"
2110 ) | sed "s/^/$as_me: WARNING: /" >&2
2113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2114 $as_echo_n "checking for $2... " >&6; }
2115 if eval \${$3+:} false; then :
2116 $as_echo_n "(cached) " >&6
2118 eval "$3=\$ac_header_compiler"
2121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2122 $as_echo "$ac_res" >&6; }
2124 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2126 } # ac_fn_cxx_check_header_mongrel
2128 # ac_fn_objcxx_try_link LINENO
2129 # ----------------------------
2130 # Try to link conftest.$ac_ext, and return whether this succeeded.
2131 ac_fn_objcxx_try_link ()
2133 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2134 rm -f conftest.$ac_objext conftest$ac_exeext
2135 if { { ac_try="$ac_link"
2137 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
2138 *) ac_try_echo
=$ac_try;;
2140 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2141 $as_echo "$ac_try_echo"; } >&5
2142 (eval "$ac_link") 2>conftest.err
2144 if test -s conftest.err
; then
2145 grep -v '^ *+' conftest.err
>conftest.er1
2146 cat conftest.er1
>&5
2147 mv -f conftest.er1 conftest.err
2149 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2150 test $ac_status = 0; } && {
2151 test -z "$ac_objcxx_werror_flag" ||
2152 test ! -s conftest.err
2153 } && test -s conftest
$ac_exeext && {
2154 test "$cross_compiling" = yes ||
2155 test -x conftest
$ac_exeext
2159 $as_echo "$as_me: failed program was:" >&5
2160 sed 's/^/| /' conftest.
$ac_ext >&5
2164 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2165 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2166 # interfere with the next link command; also delete a directory that is
2167 # left behind by Apple's compiler. We do this before executing the actions.
2168 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2169 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2170 as_fn_set_status
$ac_retval
2172 } # ac_fn_objcxx_try_link
2173 cat >config.log
<<_ACEOF
2174 This file contains any messages produced by compilers while
2175 running configure, to aid debugging if configure makes a mistake.
2177 It was created by Cycript $as_me 0.9, which was
2178 generated by GNU Autoconf 2.69. Invocation command line was
2190 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2191 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2192 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2193 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2194 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2196 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2197 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2199 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2200 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2201 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2202 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2203 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2204 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2205 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2209 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2213 test -z "$as_dir" && as_dir
=.
2214 $as_echo "PATH: $as_dir"
2230 # Keep a trace of the command line.
2231 # Strip out --no-create and --no-recursion so they do not pile up.
2232 # Strip out --silent because we don't want to record it for future runs.
2233 # Also quote any args containing shell meta-characters.
2234 # Make two passes to allow for proper duplicate-argument suppression.
2238 ac_must_keep_next
=false
2244 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2245 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2246 | -silent | --silent | --silen | --sile | --sil)
2249 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2252 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2254 as_fn_append ac_configure_args1
" '$ac_arg'"
2255 if test $ac_must_keep_next = true
; then
2256 ac_must_keep_next
=false
# Got value, back to normal.
2259 *=* | --config-cache | -C | -disable-* | --disable-* \
2260 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2261 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2262 | -with-* | --with-* | -without-* | --without-* | --x)
2263 case "$ac_configure_args0 " in
2264 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2267 -* ) ac_must_keep_next
=true
;;
2270 as_fn_append ac_configure_args
" '$ac_arg'"
2275 { ac_configure_args0
=; unset ac_configure_args0
;}
2276 { ac_configure_args1
=; unset ac_configure_args1
;}
2278 # When interrupted or exit'd, cleanup temporary files, and complete
2279 # config.log. We remove comments because anyway the quotes in there
2280 # would cause problems or look ugly.
2281 # WARNING: Use '\'' to represent an apostrophe within the trap.
2282 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2283 trap 'exit_status=$?
2284 # Save into config.log some information that might help in debugging.
2288 $as_echo "## ---------------- ##
2289 ## Cache variables. ##
2290 ## ---------------- ##"
2292 # The following way of writing the cache mishandles newlines in values,
2294 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2295 eval ac_val=\$$ac_var
2299 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2300 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2303 _ | IFS | as_nl) ;; #(
2304 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2305 *) { eval $ac_var=; unset $ac_var;} ;;
2310 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2311 *${as_nl}ac_space=\ *)
2313 "s/'\''/'\''\\\\'\'''\''/g;
2314 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2317 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2324 $as_echo "## ----------------- ##
2325 ## Output variables. ##
2326 ## ----------------- ##"
2328 for ac_var in $ac_subst_vars
2330 eval ac_val=\$$ac_var
2332 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2334 $as_echo "$ac_var='\''$ac_val'\''"
2338 if test -n "$ac_subst_files"; then
2339 $as_echo "## ------------------- ##
2340 ## File substitutions. ##
2341 ## ------------------- ##"
2343 for ac_var
in $ac_subst_files
2345 eval ac_val
=\$
$ac_var
2347 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2349 $as_echo "$ac_var='\''$ac_val'\''"
2354 if test -s confdefs.h; then
2355 $as_echo "## ----------- ##
2362 test "$ac_signal" != 0 &&
2363 $as_echo "$as_me: caught signal $ac_signal"
2364 $as_echo "$as_me: exit $exit_status"
2366 rm -f core *.core core.conftest.* &&
2367 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2370 for ac_signal
in 1 2 13 15; do
2371 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2375 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2376 rm -f -r conftest
* confdefs.h
2378 $as_echo "/* confdefs.h */" > confdefs.h
2380 # Predefined preprocessor variables.
2382 cat >>confdefs.h
<<_ACEOF
2383 #define PACKAGE_NAME "$PACKAGE_NAME"
2386 cat >>confdefs.h
<<_ACEOF
2387 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2390 cat >>confdefs.h
<<_ACEOF
2391 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2394 cat >>confdefs.h
<<_ACEOF
2395 #define PACKAGE_STRING "$PACKAGE_STRING"
2398 cat >>confdefs.h
<<_ACEOF
2399 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2402 cat >>confdefs.h
<<_ACEOF
2403 #define PACKAGE_URL "$PACKAGE_URL"
2407 # Let the site file select an alternate cache file if it wants to.
2408 # Prefer an explicitly selected file to automatically selected ones.
2411 if test -n "$CONFIG_SITE"; then
2412 # We do not want a PATH search for config.site.
2413 case $CONFIG_SITE in #((
2414 -*) ac_site_file1
=.
/$CONFIG_SITE;;
2415 */*) ac_site_file1
=$CONFIG_SITE;;
2416 *) ac_site_file1
=.
/$CONFIG_SITE;;
2418 elif test "x$prefix" != xNONE
; then
2419 ac_site_file1
=$prefix/share
/config.site
2420 ac_site_file2
=$prefix/etc
/config.site
2422 ac_site_file1
=$ac_default_prefix/share
/config.site
2423 ac_site_file2
=$ac_default_prefix/etc
/config.site
2425 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2427 test "x$ac_site_file" = xNONE
&& continue
2428 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2429 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2430 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2431 sed 's/^/| /' "$ac_site_file" >&5
2433 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2434 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2435 as_fn_error $?
"failed to load site script $ac_site_file
2436 See \`config.log' for more details" "$LINENO" 5; }
2440 if test -r "$cache_file"; then
2441 # Some versions of bash will fail to source /dev/null (special files
2442 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2443 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2444 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2445 $as_echo "$as_me: loading cache $cache_file" >&6;}
2447 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2448 *) .
"./$cache_file";;
2452 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2453 $as_echo "$as_me: creating cache $cache_file" >&6;}
2457 # Check that the precious variables saved in the cache have kept the same
2459 ac_cache_corrupted
=false
2460 for ac_var
in $ac_precious_vars; do
2461 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2462 eval ac_new_set
=\
$ac_env_${ac_var}_set
2463 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2464 eval ac_new_val
=\
$ac_env_${ac_var}_value
2465 case $ac_old_set,$ac_new_set in
2467 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2468 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2469 ac_cache_corrupted
=: ;;
2471 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2472 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2473 ac_cache_corrupted
=: ;;
2476 if test "x$ac_old_val" != "x$ac_new_val"; then
2477 # differences in whitespace do not lead to failure.
2478 ac_old_val_w
=`echo x $ac_old_val`
2479 ac_new_val_w
=`echo x $ac_new_val`
2480 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2481 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2482 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2483 ac_cache_corrupted
=:
2485 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2486 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2487 eval $ac_var=\
$ac_old_val
2489 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2490 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2491 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2492 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2495 # Pass precious variables to config.status.
2496 if test "$ac_new_set" = set; then
2498 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2499 *) ac_arg
=$ac_var=$ac_new_val ;;
2501 case " $ac_configure_args " in
2502 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2503 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2507 if $ac_cache_corrupted; then
2508 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2509 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2510 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2511 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2512 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2514 ## -------------------- ##
2515 ## Main body of script. ##
2516 ## -------------------- ##
2519 ac_cpp
='$CPP $CPPFLAGS'
2520 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2521 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2522 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2529 for ac_dir
in .
"$srcdir"/.
; do
2530 if test -f "$ac_dir/install-sh"; then
2532 ac_install_sh
="$ac_aux_dir/install-sh -c"
2534 elif test -f "$ac_dir/install.sh"; then
2536 ac_install_sh
="$ac_aux_dir/install.sh -c"
2538 elif test -f "$ac_dir/shtool"; then
2540 ac_install_sh
="$ac_aux_dir/shtool install -c"
2544 if test -z "$ac_aux_dir"; then
2545 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in . \"$srcdir\"/." "$LINENO" 5
2548 # These three variables are undocumented and unsupported,
2549 # and are intended to be withdrawn in a future Autoconf release.
2550 # They can cause serious problems if a builder's source tree is in a directory
2551 # whose full name contains unusual characters.
2552 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2553 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2554 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2558 ac_config_headers
="$ac_config_headers config.h"
2561 am__api_version
='1.14'
2563 # Find a good install program. We prefer a C program (faster),
2564 # so one script is as good as another. But avoid the broken or
2565 # incompatible versions:
2566 # SysV /etc/install, /usr/sbin/install
2567 # SunOS /usr/etc/install
2568 # IRIX /sbin/install
2570 # AmigaOS /C/install, which installs bootblocks on floppy discs
2571 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2572 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2573 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2574 # OS/2's system install, which has a completely different semantic
2575 # ./install, which can be erroneously created by make from ./install.sh.
2576 # Reject install programs that cannot install multiple files.
2577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2578 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2579 if test -z "$INSTALL"; then
2580 if ${ac_cv_path_install+:} false
; then :
2581 $as_echo_n "(cached) " >&6
2583 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2587 test -z "$as_dir" && as_dir
=.
2588 # Account for people who put trailing slashes in PATH elements.
2589 case $as_dir/ in #((
2590 .
/ | .
// | /[cC
]/* | \
2591 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
2592 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
2595 # OSF1 and SCO ODT 3.0 have their own names for install.
2596 # Don't use installbsd from OSF since it installs stuff as root
2598 for ac_prog
in ginstall scoinst
install; do
2599 for ac_exec_ext
in '' $ac_executable_extensions; do
2600 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
2601 if test $ac_prog = install &&
2602 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2603 # AIX install. It has an incompatible calling convention.
2605 elif test $ac_prog = install &&
2606 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2607 # program-specific install script used by HP pwplus--don't use.
2610 rm -rf conftest.one conftest.two conftest.dir
2611 echo one
> conftest.one
2612 echo two
> conftest.two
2614 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2615 test -s conftest.one
&& test -s conftest.two
&&
2616 test -s conftest.dir
/conftest.one
&&
2617 test -s conftest.dir
/conftest.two
2619 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2632 rm -rf conftest.one conftest.two conftest.dir
2635 if test "${ac_cv_path_install+set}" = set; then
2636 INSTALL
=$ac_cv_path_install
2638 # As a last resort, use the slow shell script. Don't cache a
2639 # value for INSTALL within a source directory, because that will
2640 # break other packages using the cache if that directory is
2641 # removed, or if the value is a relative name.
2642 INSTALL
=$ac_install_sh
2645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2646 $as_echo "$INSTALL" >&6; }
2648 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2649 # It thinks the first close brace ends the variable substitution.
2650 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2652 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2654 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2657 $as_echo_n "checking whether build environment is sane... " >&6; }
2658 # Reject unsafe characters in $srcdir or the absolute working directory
2659 # name. Accept space and tab only in the latter.
2663 *[\\\"\#\$\&\'\`$am_lf]*)
2664 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5;;
2667 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2668 as_fn_error $?
"unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2671 # Do 'set' in a subshell so we don't clobber the current shell's
2672 # arguments. Must try -L first in case configure is actually a
2673 # symlink; some systems play weird games with the mod time of symlinks
2674 # (eg FreeBSD returns the mod time of the symlink's containing
2678 for am_try
in 1 2; do
2679 echo "timestamp, slept: $am_has_slept" > conftest.
file
2680 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2681 if test "$*" = "X"; then
2683 set X
`ls -t "$srcdir/configure" conftest.file`
2685 if test "$*" != "X $srcdir/configure conftest.file" \
2686 && test "$*" != "X conftest.file $srcdir/configure"; then
2688 # If neither matched, then we have a broken ls. This can happen
2689 # if, for instance, CONFIG_SHELL is bash and it inherits a
2690 # broken ls alias from the environment. This has actually
2691 # happened. Such a system could not be considered "sane".
2692 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
2693 alias in your environment" "$LINENO" 5
2695 if test "$2" = conftest.
file || test $am_try -eq 2; then
2702 test "$2" = conftest.
file
2708 as_fn_error $?
"newly created file is older than distributed files!
2709 Check your system clock" "$LINENO" 5
2711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2712 $as_echo "yes" >&6; }
2713 # If we didn't sleep, we still need to ensure time stamps of config.status and
2714 # generated files are strictly newer.
2716 if grep 'slept: no' conftest.
file >/dev
/null
2>&1; then
2723 test "$program_prefix" != NONE
&&
2724 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2725 # Use a double $ so make ignores it.
2726 test "$program_suffix" != NONE
&&
2727 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2728 # Double any \ or $.
2729 # By default was `s,x,x', remove it if useless.
2730 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2731 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2733 # expand $ac_aux_dir to an absolute path
2734 am_aux_dir
=`cd $ac_aux_dir && pwd`
2736 if test x
"${MISSING+set}" != xset
; then
2739 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2741 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2744 # Use eval to expand $SHELL
2745 if eval "$MISSING --is-lightweight"; then
2746 am_missing_run
="$MISSING "
2749 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2750 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2753 if test x
"${install_sh}" != xset
; then
2756 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2758 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2762 # Installed binaries are usually stripped using 'strip' when the user
2763 # run "make install-strip". However 'strip' might not be the right
2764 # tool to use in cross-compilation environments, therefore Automake
2765 # will honor the 'STRIP' environment variable to overrule this program.
2766 if test "$cross_compiling" != no
; then
2767 if test -n "$ac_tool_prefix"; then
2768 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2769 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2771 $as_echo_n "checking for $ac_word... " >&6; }
2772 if ${ac_cv_prog_STRIP+:} false
; then :
2773 $as_echo_n "(cached) " >&6
2775 if test -n "$STRIP"; then
2776 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2778 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2782 test -z "$as_dir" && as_dir
=.
2783 for ac_exec_ext
in '' $ac_executable_extensions; do
2784 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2785 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2786 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2795 STRIP
=$ac_cv_prog_STRIP
2796 if test -n "$STRIP"; then
2797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2798 $as_echo "$STRIP" >&6; }
2800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2801 $as_echo "no" >&6; }
2806 if test -z "$ac_cv_prog_STRIP"; then
2808 # Extract the first word of "strip", so it can be a program name with args.
2809 set dummy strip
; ac_word
=$2
2810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2811 $as_echo_n "checking for $ac_word... " >&6; }
2812 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
2813 $as_echo_n "(cached) " >&6
2815 if test -n "$ac_ct_STRIP"; then
2816 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2818 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2822 test -z "$as_dir" && as_dir
=.
2823 for ac_exec_ext
in '' $ac_executable_extensions; do
2824 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2825 ac_cv_prog_ac_ct_STRIP
="strip"
2826 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2835 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2836 if test -n "$ac_ct_STRIP"; then
2837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2838 $as_echo "$ac_ct_STRIP" >&6; }
2840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2841 $as_echo "no" >&6; }
2844 if test "x$ac_ct_STRIP" = x
; then
2847 case $cross_compiling:$ac_tool_warned in
2849 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2850 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2851 ac_tool_warned
=yes ;;
2856 STRIP
="$ac_cv_prog_STRIP"
2860 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2863 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2864 if test -z "$MKDIR_P"; then
2865 if ${ac_cv_path_mkdir+:} false
; then :
2866 $as_echo_n "(cached) " >&6
2868 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2869 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2872 test -z "$as_dir" && as_dir
=.
2873 for ac_prog
in mkdir gmkdir
; do
2874 for ac_exec_ext
in '' $ac_executable_extensions; do
2875 as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext" || continue
2876 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2877 'mkdir (GNU coreutils) '* | \
2878 'mkdir (coreutils) '* | \
2879 'mkdir (fileutils) '4.1*)
2880 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2890 test -d .
/--version && rmdir .
/--version
2891 if test "${ac_cv_path_mkdir+set}" = set; then
2892 MKDIR_P
="$ac_cv_path_mkdir -p"
2894 # As a last resort, use the slow shell script. Don't cache a
2895 # value for MKDIR_P within a source directory, because that will
2896 # break other packages using the cache if that directory is
2897 # removed, or if the value is a relative name.
2898 MKDIR_P
="$ac_install_sh -d"
2901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2902 $as_echo "$MKDIR_P" >&6; }
2904 for ac_prog
in gawk mawk nawk
awk
2906 # Extract the first word of "$ac_prog", so it can be a program name with args.
2907 set dummy
$ac_prog; ac_word
=$2
2908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2909 $as_echo_n "checking for $ac_word... " >&6; }
2910 if ${ac_cv_prog_AWK+:} false
; then :
2911 $as_echo_n "(cached) " >&6
2913 if test -n "$AWK"; then
2914 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2916 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2920 test -z "$as_dir" && as_dir
=.
2921 for ac_exec_ext
in '' $ac_executable_extensions; do
2922 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2923 ac_cv_prog_AWK
="$ac_prog"
2924 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2934 if test -n "$AWK"; then
2935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2936 $as_echo "$AWK" >&6; }
2938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2939 $as_echo "no" >&6; }
2943 test -n "$AWK" && break
2946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2947 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2949 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2950 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
2951 $as_echo_n "(cached) " >&6
2953 cat >conftest.
make <<\_ACEOF
2956 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2958 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2959 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2961 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2963 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2967 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2969 $as_echo "yes" >&6; }
2972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2973 $as_echo "no" >&6; }
2974 SET_MAKE
="MAKE=${MAKE-make}"
2977 rm -rf .tst
2>/dev
/null
2978 mkdir .tst
2>/dev
/null
2979 if test -d .tst
; then
2984 rmdir .tst
2>/dev
/null
2986 # Check whether --enable-silent-rules was given.
2987 if test "${enable_silent_rules+set}" = set; then :
2988 enableval
=$enable_silent_rules;
2991 case $enable_silent_rules in # (((
2992 yes) AM_DEFAULT_VERBOSITY
=0;;
2993 no
) AM_DEFAULT_VERBOSITY
=1;;
2994 *) AM_DEFAULT_VERBOSITY
=1;;
2996 am_make
=${MAKE-make}
2997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2998 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2999 if ${am_cv_make_support_nested_variables+:} false
; then :
3000 $as_echo_n "(cached) " >&6
3002 if $as_echo 'TRUE=$(BAR$(V))
3008 .PHONY: am__doit' | $am_make -f - >/dev
/null
2>&1; then
3009 am_cv_make_support_nested_variables
=yes
3011 am_cv_make_support_nested_variables
=no
3014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3015 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3016 if test $am_cv_make_support_nested_variables = yes; then
3018 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
3020 AM_V
=$AM_DEFAULT_VERBOSITY
3021 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
3025 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3026 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3027 # is not polluted with repeated "-I."
3028 am__isrc
=' -I$(srcdir)'
3029 # test to see if srcdir already configured
3030 if test -f $srcdir/config.status
; then
3031 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3035 # test whether we have cygpath
3036 if test -z "$CYGPATH_W"; then
3037 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
3038 CYGPATH_W
='cygpath -w'
3045 # Define the identity of the package.
3050 cat >>confdefs.h
<<_ACEOF
3051 #define PACKAGE "$PACKAGE"
3055 cat >>confdefs.h
<<_ACEOF
3056 #define VERSION "$VERSION"
3059 # Some tools Automake needs.
3061 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3064 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3067 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3070 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
3073 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
3075 # For better backward compatibility. To be removed once Automake 1.9.x
3076 # dies out for good. For more background, see:
3077 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3078 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3079 mkdir_p
='$(MKDIR_P)'
3081 # We need awk for the "check" target. The system "awk" is bad on
3083 # Always define AMTAR for backward compatibility. Yes, it's still used
3084 # in the wild :-( We should find a proper way to deprecate it ...
3088 # We'll loop over all known methods to create a tar archive until one works.
3089 _am_tools
='gnutar pax cpio none'
3091 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
3098 # POSIX will say in a future version that running "rm -f" with no argument
3099 # is OK; and we want to be able to make that assumption in our Makefile
3100 # recipes. So use an aggressive probe to check that the usage we want is
3101 # actually supported "in the wild" to an acceptable degree.
3102 # See automake bug#10828.
3103 # To make any issue more visible, cause the running configure to be aborted
3104 # by default if the 'rm' program in use doesn't match our expectations; the
3105 # user can still override this though.
3106 if rm -f && rm -fr && rm -rf; then : OK
; else
3110 Your 'rm' program seems unable to run without file operands specified
3111 on the command line, even when the '-f' option is present. This is contrary
3112 to the behaviour of most rm programs out there, and not conforming with
3113 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3115 Please tell bug-automake@gnu.org about your system, including the value
3116 of your $PATH and any error possibly output before this message. This
3117 can help us improve future automake versions.
3120 if test x
"$ACCEPT_INFERIOR_RM_PROGRAM" = x
"yes"; then
3121 echo 'Configuration will proceed anyway, since you have set the' >&2
3122 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3126 Aborting the configuration process, to ensure you take notice of the issue.
3128 You can download and install GNU coreutils to get an 'rm' implementation
3129 that behaves properly: <http://www.gnu.org/software/coreutils/>.
3131 If you want to complete the configuration process using your problematic
3132 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3133 to "yes", and re-run configure.
3136 as_fn_error $?
"Your 'rm' program is bad, sorry." "$LINENO" 5
3140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3141 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3142 # Check whether --enable-maintainer-mode was given.
3143 if test "${enable_maintainer_mode+set}" = set; then :
3144 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
3146 USE_MAINTAINER_MODE
=no
3149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3150 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3151 if test $USE_MAINTAINER_MODE = yes; then
3152 MAINTAINER_MODE_TRUE
=
3153 MAINTAINER_MODE_FALSE
='#'
3155 MAINTAINER_MODE_TRUE
='#'
3156 MAINTAINER_MODE_FALSE
=
3159 MAINT
=$MAINTAINER_MODE_TRUE
3164 ac_cpp
='$CPP $CPPFLAGS'
3165 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3166 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3167 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3168 if test -n "$ac_tool_prefix"; then
3169 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3170 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3172 $as_echo_n "checking for $ac_word... " >&6; }
3173 if ${ac_cv_prog_CC+:} false
; then :
3174 $as_echo_n "(cached) " >&6
3176 if test -n "$CC"; then
3177 ac_cv_prog_CC
="$CC" # Let the user override the test.
3179 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3183 test -z "$as_dir" && as_dir
=.
3184 for ac_exec_ext
in '' $ac_executable_extensions; do
3185 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3186 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3187 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3197 if test -n "$CC"; then
3198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3199 $as_echo "$CC" >&6; }
3201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3202 $as_echo "no" >&6; }
3207 if test -z "$ac_cv_prog_CC"; then
3209 # Extract the first word of "gcc", so it can be a program name with args.
3210 set dummy gcc
; ac_word
=$2
3211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3212 $as_echo_n "checking for $ac_word... " >&6; }
3213 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3214 $as_echo_n "(cached) " >&6
3216 if test -n "$ac_ct_CC"; then
3217 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3219 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3223 test -z "$as_dir" && as_dir
=.
3224 for ac_exec_ext
in '' $ac_executable_extensions; do
3225 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3226 ac_cv_prog_ac_ct_CC
="gcc"
3227 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3236 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3237 if test -n "$ac_ct_CC"; then
3238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3239 $as_echo "$ac_ct_CC" >&6; }
3241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3242 $as_echo "no" >&6; }
3245 if test "x$ac_ct_CC" = x
; then
3248 case $cross_compiling:$ac_tool_warned in
3250 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3251 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3252 ac_tool_warned
=yes ;;
3260 if test -z "$CC"; then
3261 if test -n "$ac_tool_prefix"; then
3262 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3263 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3265 $as_echo_n "checking for $ac_word... " >&6; }
3266 if ${ac_cv_prog_CC+:} false
; then :
3267 $as_echo_n "(cached) " >&6
3269 if test -n "$CC"; then
3270 ac_cv_prog_CC
="$CC" # Let the user override the test.
3272 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3276 test -z "$as_dir" && as_dir
=.
3277 for ac_exec_ext
in '' $ac_executable_extensions; do
3278 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3279 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3280 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3290 if test -n "$CC"; then
3291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3292 $as_echo "$CC" >&6; }
3294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3295 $as_echo "no" >&6; }
3301 if test -z "$CC"; then
3302 # Extract the first word of "cc", so it can be a program name with args.
3303 set dummy cc
; ac_word
=$2
3304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3305 $as_echo_n "checking for $ac_word... " >&6; }
3306 if ${ac_cv_prog_CC+:} false
; then :
3307 $as_echo_n "(cached) " >&6
3309 if test -n "$CC"; then
3310 ac_cv_prog_CC
="$CC" # Let the user override the test.
3313 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3317 test -z "$as_dir" && as_dir
=.
3318 for ac_exec_ext
in '' $ac_executable_extensions; do
3319 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3320 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3321 ac_prog_rejected
=yes
3325 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3332 if test $ac_prog_rejected = yes; then
3333 # We found a bogon in the path, so make sure we never use it.
3334 set dummy
$ac_cv_prog_CC
3336 if test $# != 0; then
3337 # We chose a different compiler from the bogus one.
3338 # However, it has the same basename, so the bogon will be chosen
3339 # first if we set CC to just the basename; use the full file name.
3341 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3347 if test -n "$CC"; then
3348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3349 $as_echo "$CC" >&6; }
3351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3352 $as_echo "no" >&6; }
3357 if test -z "$CC"; then
3358 if test -n "$ac_tool_prefix"; then
3359 for ac_prog
in cl.exe
3361 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3362 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3364 $as_echo_n "checking for $ac_word... " >&6; }
3365 if ${ac_cv_prog_CC+:} false
; then :
3366 $as_echo_n "(cached) " >&6
3368 if test -n "$CC"; then
3369 ac_cv_prog_CC
="$CC" # Let the user override the test.
3371 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3375 test -z "$as_dir" && as_dir
=.
3376 for ac_exec_ext
in '' $ac_executable_extensions; do
3377 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3378 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3379 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3389 if test -n "$CC"; then
3390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3391 $as_echo "$CC" >&6; }
3393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3394 $as_echo "no" >&6; }
3398 test -n "$CC" && break
3401 if test -z "$CC"; then
3403 for ac_prog
in cl.exe
3405 # Extract the first word of "$ac_prog", so it can be a program name with args.
3406 set dummy
$ac_prog; ac_word
=$2
3407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3408 $as_echo_n "checking for $ac_word... " >&6; }
3409 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3410 $as_echo_n "(cached) " >&6
3412 if test -n "$ac_ct_CC"; then
3413 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3415 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3419 test -z "$as_dir" && as_dir
=.
3420 for ac_exec_ext
in '' $ac_executable_extensions; do
3421 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3422 ac_cv_prog_ac_ct_CC
="$ac_prog"
3423 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3432 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3433 if test -n "$ac_ct_CC"; then
3434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3435 $as_echo "$ac_ct_CC" >&6; }
3437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3438 $as_echo "no" >&6; }
3442 test -n "$ac_ct_CC" && break
3445 if test "x$ac_ct_CC" = x
; then
3448 case $cross_compiling:$ac_tool_warned in
3450 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3451 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3452 ac_tool_warned
=yes ;;
3461 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3462 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3463 as_fn_error $?
"no acceptable C compiler found in \$PATH
3464 See \`config.log' for more details" "$LINENO" 5; }
3466 # Provide some information about the compiler.
3467 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3470 for ac_option
in --version -v -V -qversion; do
3471 { { ac_try
="$ac_compiler $ac_option >&5"
3473 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3474 *) ac_try_echo=$ac_try;;
3476 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3477 $as_echo "$ac_try_echo"; } >&5
3478 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3480 if test -s conftest.err; then
3482 ... rest of stderr output deleted ...
3483 10q' conftest.err >conftest.er1
3484 cat conftest.er1 >&5
3486 rm -f conftest.er1 conftest.err
3487 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3488 test $ac_status = 0; }
3491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3492 /* end confdefs.h. */
3502 ac_clean_files_save=$ac_clean_files
3503 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3504 # Try to create an executable without -o first, disregard a.out.
3505 # It will help us diagnose broken compilers, and finding out an intuition
3507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3508 $as_echo_n "checking whether the C compiler works... " >&6; }
3509 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3511 # The possible output files:
3512 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3515 for ac_file in $ac_files
3518 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3519 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3524 if { { ac_try="$ac_link_default"
3526 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
3527 *) ac_try_echo
=$ac_try;;
3529 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3530 $as_echo "$ac_try_echo"; } >&5
3531 (eval "$ac_link_default") 2>&5
3533 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3534 test $ac_status = 0; }; then :
3535 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3536 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3537 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3538 # so that the user can short-circuit this test for compilers unknown to
3540 for ac_file
in $ac_files ''
3542 test -f "$ac_file" || continue
3544 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.dSYM
| *.o
| *.obj
)
3547 # We found the default executable, but exeext='' is most
3551 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3553 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3555 # We set ac_cv_exeext here because the later test for it is not
3556 # safe: cross compilers may not add the suffix if given an `-o'
3557 # argument, so we may need to know it at that point already.
3558 # Even if this section looks crufty: it has the advantage of
3565 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3570 if test -z "$ac_file"; then :
3571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3572 $as_echo "no" >&6; }
3573 $as_echo "$as_me: failed program was:" >&5
3574 sed 's/^/| /' conftest.
$ac_ext >&5
3576 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3577 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3578 as_fn_error
77 "C compiler cannot create executables
3579 See \`config.log' for more details" "$LINENO" 5; }
3581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3582 $as_echo "yes" >&6; }
3584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3585 $as_echo_n "checking for C compiler default output file name... " >&6; }
3586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3587 $as_echo "$ac_file" >&6; }
3588 ac_exeext
=$ac_cv_exeext
3590 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3591 ac_clean_files
=$ac_clean_files_save
3592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3593 $as_echo_n "checking for suffix of executables... " >&6; }
3594 if { { ac_try
="$ac_link"
3596 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3597 *) ac_try_echo=$ac_try;;
3599 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3600 $as_echo "$ac_try_echo"; } >&5
3601 (eval "$ac_link") 2>&5
3603 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3604 test $ac_status = 0; }; then :
3605 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3606 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3607 # work properly (i.e., refer to `conftest.exe'), while it won't with
3609 for ac_file
in conftest.exe conftest conftest.
*; do
3610 test -f "$ac_file" || continue
3612 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.dSYM
| *.o
| *.obj
) ;;
3613 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3619 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3620 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3621 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3622 See \`config.log' for more details" "$LINENO" 5; }
3624 rm -f conftest conftest
$ac_cv_exeext
3625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3626 $as_echo "$ac_cv_exeext" >&6; }
3628 rm -f conftest.
$ac_ext
3629 EXEEXT
=$ac_cv_exeext
3631 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3632 /* end confdefs.h. */
3637 FILE *f = fopen ("conftest.out", "w");
3638 return ferror (f) || fclose (f) != 0;
3644 ac_clean_files
="$ac_clean_files conftest.out"
3645 # Check that the compiler produces executables we can run. If not, either
3646 # the compiler is broken, or we cross compile.
3647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3648 $as_echo_n "checking whether we are cross compiling... " >&6; }
3649 if test "$cross_compiling" != yes; then
3650 { { ac_try
="$ac_link"
3652 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3653 *) ac_try_echo=$ac_try;;
3655 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3656 $as_echo "$ac_try_echo"; } >&5
3657 (eval "$ac_link") 2>&5
3659 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3660 test $ac_status = 0; }
3661 if { ac_try='./conftest$ac_cv_exeext'
3662 { { case "(($ac_try" in
3663 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
3664 *) ac_try_echo
=$ac_try;;
3666 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3667 $as_echo "$ac_try_echo"; } >&5
3668 (eval "$ac_try") 2>&5
3670 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3671 test $ac_status = 0; }; }; then
3674 if test "$cross_compiling" = maybe
; then
3677 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3678 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3679 as_fn_error $?
"cannot run C compiled programs.
3680 If you meant to cross compile, use \`--host'.
3681 See \`config.log' for more details" "$LINENO" 5; }
3685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3686 $as_echo "$cross_compiling" >&6; }
3688 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3689 ac_clean_files
=$ac_clean_files_save
3690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3691 $as_echo_n "checking for suffix of object files... " >&6; }
3692 if ${ac_cv_objext+:} false
; then :
3693 $as_echo_n "(cached) " >&6
3695 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3696 /* end confdefs.h. */
3706 rm -f conftest.o conftest.obj
3707 if { { ac_try
="$ac_compile"
3709 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3710 *) ac_try_echo=$ac_try;;
3712 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3713 $as_echo "$ac_try_echo"; } >&5
3714 (eval "$ac_compile") 2>&5
3716 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3717 test $ac_status = 0; }; then :
3718 for ac_file in conftest.o conftest.obj conftest.*; do
3719 test -f "$ac_file" || continue;
3721 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3722 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3727 $as_echo "$as_me: failed program was:" >&5
3728 sed 's/^/| /' conftest.$ac_ext >&5
3730 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3731 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3732 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3733 See \
`config.log' for more details" "$LINENO" 5; }
3735 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3738 $as_echo "$ac_cv_objext" >&6; }
3739 OBJEXT=$ac_cv_objext
3741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3742 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3743 if ${ac_cv_c_compiler_gnu+:} false; then :
3744 $as_echo_n "(cached) " >&6
3746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3747 /* end confdefs.h. */
3760 if ac_fn_c_try_compile "$LINENO"; then :
3765 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3766 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3770 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3771 if test $ac_compiler_gnu = yes; then
3776 ac_test_CFLAGS=${CFLAGS+set}
3777 ac_save_CFLAGS=$CFLAGS
3778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3779 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3780 if ${ac_cv_prog_cc_g+:} false; then :
3781 $as_echo_n "(cached) " >&6
3783 ac_save_c_werror_flag=$ac_c_werror_flag
3784 ac_c_werror_flag=yes
3787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3788 /* end confdefs.h. */
3798 if ac_fn_c_try_compile "$LINENO"; then :
3802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3803 /* end confdefs.h. */
3813 if ac_fn_c_try_compile "$LINENO"; then :
3816 ac_c_werror_flag=$ac_save_c_werror_flag
3818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3819 /* end confdefs.h. */
3829 if ac_fn_c_try_compile "$LINENO"; then :
3832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3837 ac_c_werror_flag=$ac_save_c_werror_flag
3839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3840 $as_echo "$ac_cv_prog_cc_g" >&6; }
3841 if test "$ac_test_CFLAGS" = set; then
3842 CFLAGS=$ac_save_CFLAGS
3843 elif test $ac_cv_prog_cc_g = yes; then
3844 if test "$GCC" = yes; then
3850 if test "$GCC" = yes; then
3856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3857 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3858 if ${ac_cv_prog_cc_c89+:} false; then :
3859 $as_echo_n "(cached) " >&6
3861 ac_cv_prog_cc_c89=no
3863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3864 /* end confdefs.h. */
3868 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3869 struct buf { int x; };
3870 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3871 static char *e (p, i)
3877 static char *f (char * (*g) (char **, int), char **p, ...)
3882 s = g (p, va_arg (v,int));
3887 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3888 function prototypes and stuff, but not '\xHH' hex character constants.
3889 These don't provoke an error unfortunately, instead are silently treated
3890 as 'x'. The following induces an error, until -std is added to get
3891 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3892 array size at least. It's necessary to write '\x00'==0 to get something
3893 that's true only with -std. */
3894 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3896 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3897 inside strings and character constants. */
3899 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3901 int test (int i, double x);
3902 struct s1 {int (*f) (int a);};
3903 struct s2 {int (*f) (double a);};
3904 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3910 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3915 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3916 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3918 CC="$ac_save_CC $ac_arg"
3919 if ac_fn_c_try_compile "$LINENO"; then :
3920 ac_cv_prog_cc_c89=$ac_arg
3922 rm -f core conftest.err conftest.$ac_objext
3923 test "x$ac_cv_prog_cc_c89" != "xno" && break
3925 rm -f conftest.$ac_ext
3930 case "x$ac_cv_prog_cc_c89" in
3932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3933 $as_echo "none needed" >&6; } ;;
3935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3936 $as_echo "unsupported" >&6; } ;;
3938 CC="$CC $ac_cv_prog_cc_c89"
3939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3940 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3942 if test "x$ac_cv_prog_cc_c89" != xno; then :
3947 ac_cpp='$CPP $CPPFLAGS'
3948 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3949 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3950 ac_compiler_gnu=$ac_cv_c_compiler_gnu
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
3957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3958 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3959 if ${am_cv_prog_cc_c_o+:} false; then :
3960 $as_echo_n "(cached) " >&6
3962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3963 /* end confdefs.h. */
3973 # Make sure it works both with $CC and with simple cc.
3974 # Following AC_PROG_CC_C_O, we do the test twice because some
3975 # compilers refuse to overwrite an existing .o file with -o,
3976 # though they will create one.
3977 am_cv_prog_cc_c_o=yes
3979 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3980 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3983 (exit $ac_status); } \
3984 && test -f conftest2.$ac_objext; then
3987 am_cv_prog_cc_c_o=no
3991 rm -f core conftest*
3994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3995 $as_echo "$am_cv_prog_cc_c_o" >&6; }
3996 if test "$am_cv_prog_cc_c_o" != yes; then
3997 # Losing compiler, so override with the script.
3998 # FIXME: It is wrong to rewrite CC.
3999 # But if we don't then we get into trouble of one sort or another.
4000 # A longer-term fix would be to have automake use am__CC in this case,
4001 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4002 CC="$am_aux_dir/compile $CC"
4005 ac_cpp='$CPP $CPPFLAGS'
4006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4010 DEPDIR="${am__leading_dot}deps"
4012 ac_config_commands="$ac_config_commands depfiles"
4015 am_make=${MAKE-make}
4016 cat > confinc << 'END'
4018 @echo this is the am__doit target
4021 # If we don't find an include directive, just comment out the code.
4022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4023 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4027 # First try GNU make style include.
4028 echo "include confinc" > confmf
4029 # Ignore all kinds of additional output from 'make'.
4030 case `$am_make -s -f confmf
2> /dev
/null
` in #(
4031 *the\ am__doit\ target*)
4037 # Now try BSD make style include.
4038 if test "$am__include" = "#"; then
4039 echo '.include "confinc"' > confmf
4040 case `$am_make -s -f confmf
2> /dev
/null
` in #(
4041 *the\ am__doit\ target*)
4042 am__include=.include
4050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4051 $as_echo "$_am_result" >&6; }
4052 rm -f confinc confmf
4054 # Check whether --enable-dependency-tracking was given.
4055 if test "${enable_dependency_tracking+set}" = set; then :
4056 enableval=$enable_dependency_tracking;
4059 if test "x$enable_dependency_tracking" != xno; then
4060 am_depcomp="$ac_aux_dir/depcomp"
4064 if test "x$enable_dependency_tracking" != xno; then
4074 depcc="$CC" am_compiler_list=
4076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4077 $as_echo_n "checking dependency style of $depcc... " >&6; }
4078 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4079 $as_echo_n "(cached) " >&6
4081 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4082 # We make a subdir and do the tests there. Otherwise we can end up
4083 # making bogus files that we don't know about and never remove. For
4084 # instance it was reported that on HP-UX the gcc test will end up
4085 # making a dummy file named 'D' -- because '-MD' means "put the output
4089 # Copy depcomp to subdir because otherwise we won't find it if we're
4090 # using a relative directory.
4091 cp "$am_depcomp" conftest.dir
4093 # We will build objects and dependencies in a subdirectory because
4094 # it helps to detect inapplicable dependency modes. For instance
4095 # both Tru64's cc and ICC support -MD to output dependencies as a
4096 # side effect of compilation, but ICC will put the dependencies in
4097 # the current directory while Tru64 will put them in the object
4101 am_cv_CC_dependencies_compiler_type=none
4102 if test "$am_compiler_list" = ""; then
4103 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
4106 case " $depcc " in #(
4107 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4110 for depmode in $am_compiler_list; do
4111 # Setup a source with many dependencies, because some compilers
4112 # like to wrap large dependency lists on column 80 (with \), and
4113 # we should not choose a depcomp mode which is confused by this.
4115 # We need to recreate these files for each test, as the compiler may
4116 # overwrite some of them when testing with obscure command lines.
4117 # This happens at least with the AIX C compiler.
4119 for i in 1 2 3 4 5 6; do
4120 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4121 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4122 # Solaris 10 /bin/sh.
4123 echo '/* dummy */' > sub/conftst$i.h
4125 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4127 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4128 # mode. It turns out that the SunPro C++ compiler does not properly
4129 # handle '-M -o', and we need to detect this. Also, some Intel
4130 # versions had trouble with output in subdirs.
4131 am__obj=sub/conftest.${OBJEXT-o}
4132 am__minus_obj="-o $am__obj"
4135 # This depmode causes a compiler race in universal mode.
4136 test "$am__universal" = false || continue
4139 # After this tag, mechanisms are not by side-effect, so they'll
4140 # only be used when explicitly requested.
4141 if test "x$enable_dependency_tracking" = xyes; then
4147 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4148 # This compiler won't grok '-c -o', but also, the minuso test has
4149 # not run yet. These depmodes are late enough in the game, and
4150 # so weak that their functioning should not be impacted.
4151 am__obj=conftest.${OBJEXT-o}
4156 if depmode=$depmode \
4157 source=sub/conftest.c object=$am__obj \
4158 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4159 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4160 >/dev/null 2>conftest.err &&
4161 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4162 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4163 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4164 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4165 # icc doesn't choke on unknown options, it will just issue warnings
4166 # or remarks (even with -Werror). So we grep stderr for any message
4167 # that says an option was ignored or not supported.
4168 # When given -MP, icc 7.0 and 7.1 complain thusly:
4169 # icc: Command line warning: ignoring option '-M'; no argument required
4170 # The diagnosis changed in icc 8.0:
4171 # icc: Command line remark: option '-MP' not supported
4172 if (grep 'ignoring option' conftest.err ||
4173 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4174 am_cv_CC_dependencies_compiler_type=$depmode
4183 am_cv_CC_dependencies_compiler_type=none
4187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4188 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4189 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4192 test "x$enable_dependency_tracking" != xno \
4193 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4195 am__fastdepCC_FALSE='#'
4197 am__fastdepCC_TRUE='#'
4198 am__fastdepCC_FALSE=
4203 ac_cpp='$CXXCPP $CPPFLAGS'
4204 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4205 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4206 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4207 if test -z "$CXX"; then
4208 if test -n "$CCC"; then
4211 if test -n "$ac_tool_prefix"; then
4212 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4214 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4215 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4217 $as_echo_n "checking for $ac_word... " >&6; }
4218 if ${ac_cv_prog_CXX+:} false; then :
4219 $as_echo_n "(cached) " >&6
4221 if test -n "$CXX"; then
4222 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4224 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4228 test -z "$as_dir" && as_dir=.
4229 for ac_exec_ext in '' $ac_executable_extensions; do
4230 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4231 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4232 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4242 if test -n "$CXX"; then
4243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4244 $as_echo "$CXX" >&6; }
4246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4247 $as_echo "no" >&6; }
4251 test -n "$CXX" && break
4254 if test -z "$CXX"; then
4256 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4258 # Extract the first word of "$ac_prog", so it can be a program name with args.
4259 set dummy $ac_prog; ac_word=$2
4260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4261 $as_echo_n "checking for $ac_word... " >&6; }
4262 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4263 $as_echo_n "(cached) " >&6
4265 if test -n "$ac_ct_CXX"; then
4266 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4268 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4272 test -z "$as_dir" && as_dir=.
4273 for ac_exec_ext in '' $ac_executable_extensions; do
4274 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4275 ac_cv_prog_ac_ct_CXX="$ac_prog"
4276 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4285 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4286 if test -n "$ac_ct_CXX"; then
4287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4288 $as_echo "$ac_ct_CXX" >&6; }
4290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4291 $as_echo "no" >&6; }
4295 test -n "$ac_ct_CXX" && break
4298 if test "x$ac_ct_CXX" = x; then
4301 case $cross_compiling:$ac_tool_warned in
4303 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4304 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4305 ac_tool_warned=yes ;;
4313 # Provide some information about the compiler.
4314 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4317 for ac_option in --version -v -V -qversion; do
4318 { { ac_try="$ac_compiler $ac_option >&5"
4320 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
4321 *) ac_try_echo
=$ac_try;;
4323 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4324 $as_echo "$ac_try_echo"; } >&5
4325 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4327 if test -s conftest.err
; then
4329 ... rest of stderr output deleted ...
4330 10q' conftest.err
>conftest.er1
4331 cat conftest.er1
>&5
4333 rm -f conftest.er1 conftest.err
4334 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4335 test $ac_status = 0; }
4338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4339 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4340 if ${ac_cv_cxx_compiler_gnu+:} false
; then :
4341 $as_echo_n "(cached) " >&6
4343 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4344 /* end confdefs.h. */
4357 if ac_fn_cxx_try_compile
"$LINENO"; then :
4362 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4363 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
4366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4367 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4368 if test $ac_compiler_gnu = yes; then
4373 ac_test_CXXFLAGS
=${CXXFLAGS+set}
4374 ac_save_CXXFLAGS
=$CXXFLAGS
4375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4376 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4377 if ${ac_cv_prog_cxx_g+:} false
; then :
4378 $as_echo_n "(cached) " >&6
4380 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
4381 ac_cxx_werror_flag
=yes
4384 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4385 /* end confdefs.h. */
4395 if ac_fn_cxx_try_compile
"$LINENO"; then :
4396 ac_cv_prog_cxx_g
=yes
4399 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4400 /* end confdefs.h. */
4410 if ac_fn_cxx_try_compile
"$LINENO"; then :
4413 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4415 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4416 /* end confdefs.h. */
4426 if ac_fn_cxx_try_compile
"$LINENO"; then :
4427 ac_cv_prog_cxx_g
=yes
4429 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4431 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4433 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4434 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4437 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4438 if test "$ac_test_CXXFLAGS" = set; then
4439 CXXFLAGS
=$ac_save_CXXFLAGS
4440 elif test $ac_cv_prog_cxx_g = yes; then
4441 if test "$GXX" = yes; then
4447 if test "$GXX" = yes; then
4454 ac_cpp
='$CPP $CPPFLAGS'
4455 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4456 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4457 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4459 depcc
="$CXX" am_compiler_list
=
4461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4462 $as_echo_n "checking dependency style of $depcc... " >&6; }
4463 if ${am_cv_CXX_dependencies_compiler_type+:} false
; then :
4464 $as_echo_n "(cached) " >&6
4466 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4467 # We make a subdir and do the tests there. Otherwise we can end up
4468 # making bogus files that we don't know about and never remove. For
4469 # instance it was reported that on HP-UX the gcc test will end up
4470 # making a dummy file named 'D' -- because '-MD' means "put the output
4474 # Copy depcomp to subdir because otherwise we won't find it if we're
4475 # using a relative directory.
4476 cp "$am_depcomp" conftest.dir
4478 # We will build objects and dependencies in a subdirectory because
4479 # it helps to detect inapplicable dependency modes. For instance
4480 # both Tru64's cc and ICC support -MD to output dependencies as a
4481 # side effect of compilation, but ICC will put the dependencies in
4482 # the current directory while Tru64 will put them in the object
4486 am_cv_CXX_dependencies_compiler_type
=none
4487 if test "$am_compiler_list" = ""; then
4488 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4491 case " $depcc " in #(
4492 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
4495 for depmode
in $am_compiler_list; do
4496 # Setup a source with many dependencies, because some compilers
4497 # like to wrap large dependency lists on column 80 (with \), and
4498 # we should not choose a depcomp mode which is confused by this.
4500 # We need to recreate these files for each test, as the compiler may
4501 # overwrite some of them when testing with obscure command lines.
4502 # This happens at least with the AIX C compiler.
4504 for i
in 1 2 3 4 5 6; do
4505 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4506 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4507 # Solaris 10 /bin/sh.
4508 echo '/* dummy */' > sub
/conftst
$i.h
4510 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4512 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4513 # mode. It turns out that the SunPro C++ compiler does not properly
4514 # handle '-M -o', and we need to detect this. Also, some Intel
4515 # versions had trouble with output in subdirs.
4516 am__obj
=sub
/conftest.
${OBJEXT-o}
4517 am__minus_obj
="-o $am__obj"
4520 # This depmode causes a compiler race in universal mode.
4521 test "$am__universal" = false
|| continue
4524 # After this tag, mechanisms are not by side-effect, so they'll
4525 # only be used when explicitly requested.
4526 if test "x$enable_dependency_tracking" = xyes
; then
4532 msvc7
| msvc7msys
| msvisualcpp
| msvcmsys
)
4533 # This compiler won't grok '-c -o', but also, the minuso test has
4534 # not run yet. These depmodes are late enough in the game, and
4535 # so weak that their functioning should not be impacted.
4536 am__obj
=conftest.
${OBJEXT-o}
4541 if depmode
=$depmode \
4542 source=sub
/conftest.c object
=$am__obj \
4543 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4544 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4545 >/dev
/null
2>conftest.err
&&
4546 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4547 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4548 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4549 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4550 # icc doesn't choke on unknown options, it will just issue warnings
4551 # or remarks (even with -Werror). So we grep stderr for any message
4552 # that says an option was ignored or not supported.
4553 # When given -MP, icc 7.0 and 7.1 complain thusly:
4554 # icc: Command line warning: ignoring option '-M'; no argument required
4555 # The diagnosis changed in icc 8.0:
4556 # icc: Command line remark: option '-MP' not supported
4557 if (grep 'ignoring option' conftest.err
||
4558 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4559 am_cv_CXX_dependencies_compiler_type
=$depmode
4568 am_cv_CXX_dependencies_compiler_type
=none
4572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
4573 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
4574 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
4577 test "x$enable_dependency_tracking" != xno \
4578 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
4579 am__fastdepCXX_TRUE
=
4580 am__fastdepCXX_FALSE
='#'
4582 am__fastdepCXX_TRUE
='#'
4583 am__fastdepCXX_FALSE
=
4588 ac_cpp
='$OBJCXXCPP $CPPFLAGS'
4589 ac_compile
='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4590 ac_link
='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4591 ac_compiler_gnu
=$ac_cv_objcxx_compiler_gnu
4592 if test -n "$ac_tool_prefix"; then
4593 for ac_prog
in g
++ objc
++ objcxx c
++ CXX
4595 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4596 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4598 $as_echo_n "checking for $ac_word... " >&6; }
4599 if ${ac_cv_prog_OBJCXX+:} false
; then :
4600 $as_echo_n "(cached) " >&6
4602 if test -n "$OBJCXX"; then
4603 ac_cv_prog_OBJCXX
="$OBJCXX" # Let the user override the test.
4605 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4609 test -z "$as_dir" && as_dir
=.
4610 for ac_exec_ext
in '' $ac_executable_extensions; do
4611 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4612 ac_cv_prog_OBJCXX
="$ac_tool_prefix$ac_prog"
4613 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4622 OBJCXX
=$ac_cv_prog_OBJCXX
4623 if test -n "$OBJCXX"; then
4624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCXX" >&5
4625 $as_echo "$OBJCXX" >&6; }
4627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4628 $as_echo "no" >&6; }
4632 test -n "$OBJCXX" && break
4635 if test -z "$OBJCXX"; then
4636 ac_ct_OBJCXX
=$OBJCXX
4637 for ac_prog
in g
++ objc
++ objcxx c
++ CXX
4639 # Extract the first word of "$ac_prog", so it can be a program name with args.
4640 set dummy
$ac_prog; ac_word
=$2
4641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4642 $as_echo_n "checking for $ac_word... " >&6; }
4643 if ${ac_cv_prog_ac_ct_OBJCXX+:} false
; then :
4644 $as_echo_n "(cached) " >&6
4646 if test -n "$ac_ct_OBJCXX"; then
4647 ac_cv_prog_ac_ct_OBJCXX
="$ac_ct_OBJCXX" # Let the user override the test.
4649 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4653 test -z "$as_dir" && as_dir
=.
4654 for ac_exec_ext
in '' $ac_executable_extensions; do
4655 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4656 ac_cv_prog_ac_ct_OBJCXX
="$ac_prog"
4657 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4666 ac_ct_OBJCXX
=$ac_cv_prog_ac_ct_OBJCXX
4667 if test -n "$ac_ct_OBJCXX"; then
4668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJCXX" >&5
4669 $as_echo "$ac_ct_OBJCXX" >&6; }
4671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4672 $as_echo "no" >&6; }
4676 test -n "$ac_ct_OBJCXX" && break
4679 if test "x$ac_ct_OBJCXX" = x
; then
4682 case $cross_compiling:$ac_tool_warned in
4684 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4685 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4686 ac_tool_warned
=yes ;;
4688 OBJCXX
=$ac_ct_OBJCXX
4692 # Provide some information about the compiler.
4693 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Objective C++ compiler version" >&5
4696 for ac_option
in --version -v -V -qversion; do
4697 { { ac_try
="$ac_compiler $ac_option >&5"
4699 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
4700 *) ac_try_echo=$ac_try;;
4702 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4703 $as_echo "$ac_try_echo"; } >&5
4704 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4706 if test -s conftest.err; then
4708 ... rest of stderr output deleted ...
4709 10q' conftest.err >conftest.er1
4710 cat conftest.er1 >&5
4712 rm -f conftest.er1 conftest.err
4713 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4714 test $ac_status = 0; }
4717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Objective C++ compiler" >&5
4718 $as_echo_n "checking whether we are using the GNU Objective C++ compiler... " >&6; }
4719 if ${ac_cv_objcxx_compiler_gnu+:} false; then :
4720 $as_echo_n "(cached) " >&6
4722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4723 /* end confdefs.h. */
4736 if ac_fn_objcxx_try_compile "$LINENO"; then :
4741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4742 ac_cv_objcxx_compiler_gnu=$ac_compiler_gnu
4745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objcxx_compiler_gnu" >&5
4746 $as_echo "$ac_cv_objcxx_compiler_gnu" >&6; }
4747 if test $ac_compiler_gnu = yes; then
4752 ac_test_OBJCXXFLAGS=${OBJCXXFLAGS+set}
4753 ac_save_OBJCXXFLAGS=$OBJCXXFLAGS
4754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $OBJCXX accepts -g" >&5
4755 $as_echo_n "checking whether $OBJCXX accepts -g... " >&6; }
4756 if ${ac_cv_prog_objcxx_g+:} false; then :
4757 $as_echo_n "(cached) " >&6
4759 ac_save_objcxx_werror_flag=$ac_objcxx_werror_flag
4760 ac_objcxx_werror_flag=yes
4761 ac_cv_prog_objcxx_g=no
4763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4764 /* end confdefs.h. */
4774 if ac_fn_objcxx_try_compile "$LINENO"; then :
4775 ac_cv_prog_objcxx_g=yes
4778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4779 /* end confdefs.h. */
4789 if ac_fn_objcxx_try_compile "$LINENO"; then :
4792 ac_objcxx_werror_flag=$ac_save_objcxx_werror_flag
4794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4795 /* end confdefs.h. */
4805 if ac_fn_objcxx_try_compile "$LINENO"; then :
4806 ac_cv_prog_objcxx_g=yes
4808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4813 ac_objcxx_werror_flag=$ac_save_objcx_werror_flag
4815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objcxx_g" >&5
4816 $as_echo "$ac_cv_prog_objcxx_g" >&6; }
4817 if test "$ac_test_OBJCXXFLAGS" = set; then
4818 OBJCXXFLAGS=$ac_save_OBJCXXFLAGS
4819 elif test $ac_cv_prog_objcxx_g = yes; then
4820 if test "$GOBJCXX" = yes; then
4821 OBJCXXFLAGS="-g -O2"
4826 if test "$GOBJCXX" = yes; then
4833 ac_cpp='$CPP $CPPFLAGS'
4834 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4835 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4836 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4838 depcc="$OBJCXX" am_compiler_list='gcc3 gcc'
4840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4841 $as_echo_n "checking dependency style of $depcc... " >&6; }
4842 if ${am_cv_OBJCXX_dependencies_compiler_type+:} false; then :
4843 $as_echo_n "(cached) " >&6
4845 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4846 # We make a subdir and do the tests there. Otherwise we can end up
4847 # making bogus files that we don't know about and never remove. For
4848 # instance it was reported that on HP-UX the gcc test will end up
4849 # making a dummy file named 'D' -- because '-MD' means "put the output
4853 # Copy depcomp to subdir because otherwise we won't find it if we're
4854 # using a relative directory.
4855 cp "$am_depcomp" conftest.dir
4857 # We will build objects and dependencies in a subdirectory because
4858 # it helps to detect inapplicable dependency modes. For instance
4859 # both Tru64's cc and ICC support -MD to output dependencies as a
4860 # side effect of compilation, but ICC will put the dependencies in
4861 # the current directory while Tru64 will put them in the object
4865 am_cv_OBJCXX_dependencies_compiler_type=none
4866 if test "$am_compiler_list" = ""; then
4867 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
4872 for depmode in $am_compiler_list; do
4873 # Setup a source with many dependencies, because some compilers
4874 # like to wrap large dependency lists on column 80 (with \), and
4875 # we should not choose a depcomp mode which is confused by this.
4877 # We need to recreate these files for each test, as the compiler may
4878 # overwrite some of them when testing with obscure command lines.
4879 # This happens at least with the AIX C compiler.
4881 for i in 1 2 3 4 5 6; do
4882 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4883 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4884 # Solaris 10 /bin/sh.
4885 echo '/* dummy */' > sub/conftst$i.h
4887 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4889 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4890 # mode. It turns out that the SunPro C++ compiler does not properly
4891 # handle '-M -o', and we need to detect this. Also, some Intel
4892 # versions had trouble with output in subdirs.
4893 am__obj=sub/conftest.${OBJEXT-o}
4894 am__minus_obj="-o $am__obj"
4897 # This depmode causes a compiler race in universal mode.
4898 test "$am__universal" = false || continue
4901 # After this tag, mechanisms are not by side-effect, so they'll
4902 # only be used when explicitly requested.
4903 if test "x$enable_dependency_tracking" = xyes; then
4909 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4910 # This compiler won't grok '-c -o', but also, the minuso test has
4911 # not run yet. These depmodes are late enough in the game, and
4912 # so weak that their functioning should not be impacted.
4913 am__obj=conftest.${OBJEXT-o}
4918 if depmode=$depmode \
4919 source=sub/conftest.c object=$am__obj \
4920 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4921 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4922 >/dev/null 2>conftest.err &&
4923 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4924 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4925 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4926 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4927 # icc doesn't choke on unknown options, it will just issue warnings
4928 # or remarks (even with -Werror). So we grep stderr for any message
4929 # that says an option was ignored or not supported.
4930 # When given -MP, icc 7.0 and 7.1 complain thusly:
4931 # icc: Command line warning: ignoring option '-M'; no argument required
4932 # The diagnosis changed in icc 8.0:
4933 # icc: Command line remark: option '-MP' not supported
4934 if (grep 'ignoring option' conftest.err ||
4935 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4936 am_cv_OBJCXX_dependencies_compiler_type=$depmode
4945 am_cv_OBJCXX_dependencies_compiler_type=none
4949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_OBJCXX_dependencies_compiler_type" >&5
4950 $as_echo "$am_cv_OBJCXX_dependencies_compiler_type" >&6; }
4951 OBJCXXDEPMODE=depmode=$am_cv_OBJCXX_dependencies_compiler_type
4954 test "x$enable_dependency_tracking" != xno \
4955 && test "$am_cv_OBJCXX_dependencies_compiler_type" = gcc3; then
4956 am__fastdepOBJCXX_TRUE=
4957 am__fastdepOBJCXX_FALSE='#'
4959 am__fastdepOBJCXX_TRUE='#'
4960 am__fastdepOBJCXX_FALSE=
4966 if test -n "$ac_tool_prefix"; then
4967 for ac_prog in ar lib "link -lib"
4969 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4970 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4972 $as_echo_n "checking for $ac_word... " >&6; }
4973 if ${ac_cv_prog_AR+:} false; then :
4974 $as_echo_n "(cached) " >&6
4976 if test -n "$AR"; then
4977 ac_cv_prog_AR="$AR" # Let the user override the test.
4979 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4983 test -z "$as_dir" && as_dir=.
4984 for ac_exec_ext in '' $ac_executable_extensions; do
4985 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4986 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
4987 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4997 if test -n "$AR"; then
4998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
4999 $as_echo "$AR" >&6; }
5001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5002 $as_echo "no" >&6; }
5006 test -n "$AR" && break
5009 if test -z "$AR"; then
5011 for ac_prog in ar lib "link -lib"
5013 # Extract the first word of "$ac_prog", so it can be a program name with args.
5014 set dummy $ac_prog; ac_word=$2
5015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5016 $as_echo_n "checking for $ac_word... " >&6; }
5017 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5018 $as_echo_n "(cached) " >&6
5020 if test -n "$ac_ct_AR"; then
5021 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5023 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5027 test -z "$as_dir" && as_dir=.
5028 for ac_exec_ext in '' $ac_executable_extensions; do
5029 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5030 ac_cv_prog_ac_ct_AR="$ac_prog"
5031 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5040 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5041 if test -n "$ac_ct_AR"; then
5042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5043 $as_echo "$ac_ct_AR" >&6; }
5045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5046 $as_echo "no" >&6; }
5050 test -n "$ac_ct_AR" && break
5053 if test "x$ac_ct_AR" = x; then
5056 case $cross_compiling:$ac_tool_warned in
5058 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5059 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5060 ac_tool_warned=yes ;;
5068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the archiver ($AR) interface" >&5
5069 $as_echo_n "checking the archiver ($AR) interface... " >&6; }
5070 if ${am_cv_ar_interface+:} false; then :
5071 $as_echo_n "(cached) " >&6
5074 ac_cpp='$CPP $CPPFLAGS'
5075 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5076 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5077 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5079 am_cv_ar_interface=ar
5080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5081 /* end confdefs.h. */
5082 int some_variable = 0;
5084 if ac_fn_c_try_compile "$LINENO"; then :
5085 am_ar_try='$AR cru libconftest.a conftest.$ac_objext >&5'
5086 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
5087 (eval $am_ar_try) 2>&5
5089 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5090 test $ac_status = 0; }
5091 if test "$ac_status" -eq 0; then
5092 am_cv_ar_interface=ar
5094 am_ar_try='$AR -NOLOGO -OUT:conftest.lib conftest.$ac_objext >&5'
5095 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
5096 (eval $am_ar_try) 2>&5
5098 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5099 test $ac_status = 0; }
5100 if test "$ac_status" -eq 0; then
5101 am_cv_ar_interface=lib
5103 am_cv_ar_interface=unknown
5106 rm -f conftest.lib libconftest.a
5109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5111 ac_cpp='$CPP $CPPFLAGS'
5112 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5113 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5114 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_ar_interface" >&5
5118 $as_echo "$am_cv_ar_interface" >&6; }
5120 case $am_cv_ar_interface in
5124 # Microsoft lib, so override with the ar-lib wrapper script.
5125 # FIXME: It is wrong to rewrite AR.
5126 # But if we don't then we get into trouble of one sort or another.
5127 # A longer-term fix would be to have automake use am__AR in this case,
5128 # and then we could set am__AR="$am_aux_dir/ar-lib \$(AR)" or something
5130 AR="$am_aux_dir/ar-lib $AR"
5133 as_fn_error $? "could not determine $AR interface" "$LINENO" 5
5141 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&5
5142 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&2;} ;;
5147 macro_version='2.4.2'
5148 macro_revision='1.3337'
5162 ltmain="$ac_aux_dir/ltmain.sh"
5164 # Make sure we can run config.sub.
5165 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
5166 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
5168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
5169 $as_echo_n "checking build system type... " >&6; }
5170 if ${ac_cv_build+:} false; then :
5171 $as_echo_n "(cached) " >&6
5173 ac_build_alias=$build_alias
5174 test "x$ac_build_alias" = x &&
5175 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
5176 test "x$ac_build_alias" = x &&
5177 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
5178 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
5179 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
5182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
5183 $as_echo "$ac_cv_build" >&6; }
5184 case $ac_cv_build in
5186 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
5189 ac_save_IFS=$IFS; IFS='-'
5195 # Remember, the first character of IFS is used to create $*,
5196 # except with old shells:
5199 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
5202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
5203 $as_echo_n "checking host system type... " >&6; }
5204 if ${ac_cv_host+:} false; then :
5205 $as_echo_n "(cached) " >&6
5207 if test "x$host_alias" = x; then
5208 ac_cv_host=$ac_cv_build
5210 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
5211 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
5215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
5216 $as_echo "$ac_cv_host" >&6; }
5219 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
5222 ac_save_IFS=$IFS; IFS='-'
5228 # Remember, the first character of IFS is used to create $*,
5229 # except with old shells:
5232 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
5235 # Backslashify metacharacters that are still active within
5236 # double-quoted strings.
5237 sed_quote_subst='s/\(["`$
\\]\
)/\\\
1/g
'
5239 # Same as above, but do not quote variable references.
5240 double_quote_subst='s
/\
(["`\\]\)/\\\1/g'
5242 # Sed substitution to delay expansion of an escaped shell variable in a
5243 # double_quote_subst'ed string.
5244 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5246 # Sed substitution to delay expansion of an escaped single quote.
5247 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5249 # Sed substitution to avoid accidental globbing in evaled expressions
5250 no_glob_subst='s/\*/\\\*/g'
5252 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5253 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5254 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print
strings" >&5
5257 $as_echo_n "checking how to print
strings...
" >&6; }
5258 # Test print first, because it will be a builtin if present.
5259 if test "X
`( print -r -- -n ) 2>/dev/null`" = X-n && \
5260 test "X
`print -r -- $ECHO 2>/dev/null`" = "X
$ECHO"; then
5262 elif test "X
`printf %s $ECHO 2>/dev/null`" = "X
$ECHO"; then
5265 # Use this function as a fallback that always works.
5266 func_fallback_echo ()
5268 eval 'cat <<_LTECHO_EOF
5272 ECHO='func_fallback_echo'
5275 # func_echo_all arg...
5276 # Invoke $ECHO with all args, space-separated.
5283 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: printf" >&5
5284 $as_echo "printf" >&6; } ;;
5285 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: print
-r" >&5
5286 $as_echo "print
-r" >&6; } ;;
5287 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: cat" >&5
5288 $as_echo "cat" >&6; } ;;
5304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for a
sed that does not truncate output
" >&5
5305 $as_echo_n "checking
for a
sed that does not truncate output...
" >&6; }
5306 if ${ac_cv_path_SED+:} false; then :
5307 $as_echo_n "(cached
) " >&6
5309 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5310 for ac_i in 1 2 3 4 5 6 7; do
5311 ac_script="$ac_script$as_nl$ac_script"
5313 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5314 { ac_script=; unset ac_script;}
5315 if test -z "$SED"; then
5316 ac_path_SED_found=false
5317 # Loop through the user's path and test for each of PROGNAME-LIST
5318 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5322 test -z "$as_dir" && as_dir=.
5323 for ac_prog in sed gsed; do
5324 for ac_exec_ext in '' $ac_executable_extensions; do
5325 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5326 as_fn_executable_p "$ac_path_SED" || continue
5327 # Check for GNU ac_path_SED and select it if it is found.
5328 # Check for GNU $ac_path_SED
5329 case `"$ac_path_SED" --version 2>&1` in
5331 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5334 $as_echo_n 0123456789 >"conftest.
in"
5337 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
5338 mv "conftest.tmp
" "conftest.
in"
5339 cp "conftest.
in" "conftest.
nl"
5340 $as_echo '' >> "conftest.
nl"
5341 "$ac_path_SED" -f conftest.sed < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
5342 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
5343 as_fn_arith $ac_count + 1 && ac_count=$as_val
5344 if test $ac_count -gt ${ac_path_SED_max-0}; then
5345 # Best one so far, save it but keep looking for a better one
5346 ac_cv_path_SED="$ac_path_SED"
5347 ac_path_SED_max=$ac_count
5349 # 10*(2^10) chars as input seems more than enough
5350 test $ac_count -gt 10 && break
5352 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5355 $ac_path_SED_found && break 3
5360 if test -z "$ac_cv_path_SED"; then
5361 as_fn_error $? "no acceptable
sed could be found
in \
$PATH" "$LINENO" 5
5368 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_SED" >&5
5369 $as_echo "$ac_cv_path_SED" >&6; }
5370 SED="$ac_cv_path_SED"
5373 test -z "$SED" && SED=sed
5374 Xsed="$SED -e 1s
/^X
//"
5386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for grep that handles long lines and
-e" >&5
5387 $as_echo_n "checking
for grep that handles long lines and
-e...
" >&6; }
5388 if ${ac_cv_path_GREP+:} false; then :
5389 $as_echo_n "(cached
) " >&6
5391 if test -z "$GREP"; then
5392 ac_path_GREP_found=false
5393 # Loop through the user's path and test for each of PROGNAME-LIST
5394 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5395 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5398 test -z "$as_dir" && as_dir=.
5399 for ac_prog in grep ggrep; do
5400 for ac_exec_ext in '' $ac_executable_extensions; do
5401 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5402 as_fn_executable_p "$ac_path_GREP" || continue
5403 # Check for GNU ac_path_GREP and select it if it is found.
5404 # Check for GNU $ac_path_GREP
5405 case `"$ac_path_GREP" --version 2>&1` in
5407 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5410 $as_echo_n 0123456789 >"conftest.
in"
5413 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
5414 mv "conftest.tmp
" "conftest.
in"
5415 cp "conftest.
in" "conftest.
nl"
5416 $as_echo 'GREP' >> "conftest.
nl"
5417 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
5418 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
5419 as_fn_arith $ac_count + 1 && ac_count=$as_val
5420 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5421 # Best one so far, save it but keep looking for a better one
5422 ac_cv_path_GREP="$ac_path_GREP"
5423 ac_path_GREP_max=$ac_count
5425 # 10*(2^10) chars as input seems more than enough
5426 test $ac_count -gt 10 && break
5428 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5431 $ac_path_GREP_found && break 3
5436 if test -z "$ac_cv_path_GREP"; then
5437 as_fn_error $? "no acceptable
grep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
5440 ac_cv_path_GREP=$GREP
5444 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_GREP" >&5
5445 $as_echo "$ac_cv_path_GREP" >&6; }
5446 GREP="$ac_cv_path_GREP"
5449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for egrep" >&5
5450 $as_echo_n "checking
for egrep...
" >&6; }
5451 if ${ac_cv_path_EGREP+:} false; then :
5452 $as_echo_n "(cached
) " >&6
5454 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5455 then ac_cv_path_EGREP="$GREP -E"
5457 if test -z "$EGREP"; then
5458 ac_path_EGREP_found=false
5459 # Loop through the user's path and test for each of PROGNAME-LIST
5460 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5461 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5464 test -z "$as_dir" && as_dir=.
5465 for ac_prog in egrep; do
5466 for ac_exec_ext in '' $ac_executable_extensions; do
5467 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5468 as_fn_executable_p "$ac_path_EGREP" || continue
5469 # Check for GNU ac_path_EGREP and select it if it is found.
5470 # Check for GNU $ac_path_EGREP
5471 case `"$ac_path_EGREP" --version 2>&1` in
5473 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5476 $as_echo_n 0123456789 >"conftest.
in"
5479 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
5480 mv "conftest.tmp
" "conftest.
in"
5481 cp "conftest.
in" "conftest.
nl"
5482 $as_echo 'EGREP' >> "conftest.
nl"
5483 "$ac_path_EGREP" 'EGREP$' < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
5484 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
5485 as_fn_arith $ac_count + 1 && ac_count=$as_val
5486 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5487 # Best one so far, save it but keep looking for a better one
5488 ac_cv_path_EGREP="$ac_path_EGREP"
5489 ac_path_EGREP_max=$ac_count
5491 # 10*(2^10) chars as input seems more than enough
5492 test $ac_count -gt 10 && break
5494 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5497 $ac_path_EGREP_found && break 3
5502 if test -z "$ac_cv_path_EGREP"; then
5503 as_fn_error $? "no acceptable
egrep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
5506 ac_cv_path_EGREP=$EGREP
5511 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_EGREP" >&5
5512 $as_echo "$ac_cv_path_EGREP" >&6; }
5513 EGREP="$ac_cv_path_EGREP"
5516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for fgrep
" >&5
5517 $as_echo_n "checking
for fgrep...
" >&6; }
5518 if ${ac_cv_path_FGREP+:} false; then :
5519 $as_echo_n "(cached
) " >&6
5521 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5522 then ac_cv_path_FGREP="$GREP -F"
5524 if test -z "$FGREP"; then
5525 ac_path_FGREP_found=false
5526 # Loop through the user's path and test for each of PROGNAME-LIST
5527 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5528 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5531 test -z "$as_dir" && as_dir=.
5532 for ac_prog in fgrep; do
5533 for ac_exec_ext in '' $ac_executable_extensions; do
5534 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5535 as_fn_executable_p "$ac_path_FGREP" || continue
5536 # Check for GNU ac_path_FGREP and select it if it is found.
5537 # Check for GNU $ac_path_FGREP
5538 case `"$ac_path_FGREP" --version 2>&1` in
5540 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5543 $as_echo_n 0123456789 >"conftest.
in"
5546 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
5547 mv "conftest.tmp
" "conftest.
in"
5548 cp "conftest.
in" "conftest.
nl"
5549 $as_echo 'FGREP' >> "conftest.
nl"
5550 "$ac_path_FGREP" FGREP < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
5551 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
5552 as_fn_arith $ac_count + 1 && ac_count=$as_val
5553 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5554 # Best one so far, save it but keep looking for a better one
5555 ac_cv_path_FGREP="$ac_path_FGREP"
5556 ac_path_FGREP_max=$ac_count
5558 # 10*(2^10) chars as input seems more than enough
5559 test $ac_count -gt 10 && break
5561 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5564 $ac_path_FGREP_found && break 3
5569 if test -z "$ac_cv_path_FGREP"; then
5570 as_fn_error $? "no acceptable fgrep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
5573 ac_cv_path_FGREP=$FGREP
5578 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_FGREP" >&5
5579 $as_echo "$ac_cv_path_FGREP" >&6; }
5580 FGREP="$ac_cv_path_FGREP"
5583 test -z "$GREP" && GREP=grep
5603 # Check whether --with-gnu-ld was given.
5604 if test "${with_gnu_ld+set}" = set; then :
5605 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5611 if test "$GCC" = yes; then
5612 # Check if gcc -print-prog-name=ld gives a path.
5613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ld used by
$CC" >&5
5614 $as_echo_n "checking
for ld used by
$CC...
" >&6; }
5617 # gcc leaves a trailing carriage return which upsets mingw
5618 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5620 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5623 # Accept absolute paths.
5625 re_direlt='/[^/][^/]*/\.\./'
5626 # Canonicalize the pathname of ld
5627 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5628 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5629 ac_prog=`$ECHO $ac_prog| $SED "s
%$re_direlt%/%"`
5631 test -z "$LD" && LD="$ac_prog"
5634 # If it fails, then pretend we aren't using GCC.
5638 # If it is relative, then search for the first ld in PATH.
5642 elif test "$with_gnu_ld" = yes; then
5643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for GNU ld
" >&5
5644 $as_echo_n "checking
for GNU ld...
" >&6; }
5646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for non
-GNU ld
" >&5
5647 $as_echo_n "checking
for non
-GNU ld...
" >&6; }
5649 if ${lt_cv_path_LD+:} false; then :
5650 $as_echo_n "(cached
) " >&6
5652 if test -z "$LD"; then
5653 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5654 for ac_dir in $PATH; do
5656 test -z "$ac_dir" && ac_dir=.
5657 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5658 lt_cv_path_LD="$ac_dir/$ac_prog"
5659 # Check to see if the program is GNU ld. I'd rather use --version,
5660 # but apparently some variants of GNU ld only accept -v.
5661 # Break only if it was the GNU/non-GNU ld that we prefer.
5662 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5663 *GNU* | *'with BFD'*)
5664 test "$with_gnu_ld" != no && break
5667 test "$with_gnu_ld" != yes && break
5674 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5679 if test -n "$LD"; then
5680 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
5681 $as_echo "$LD" >&6; }
5683 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5684 $as_echo "no
" >&6; }
5686 test -z "$LD" && as_fn_error $? "no acceptable ld found
in \
$PATH" "$LINENO" 5
5687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if the linker
($LD) is GNU ld
" >&5
5688 $as_echo_n "checking
if the linker
($LD) is GNU ld...
" >&6; }
5689 if ${lt_cv_prog_gnu_ld+:} false; then :
5690 $as_echo_n "(cached
) " >&6
5692 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5693 case `$LD -v 2>&1 </dev/null` in
5694 *GNU* | *'with BFD'*)
5695 lt_cv_prog_gnu_ld=yes
5698 lt_cv_prog_gnu_ld=no
5702 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_gnu_ld" >&5
5703 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5704 with_gnu_ld=$lt_cv_prog_gnu_ld
5714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for BSD
- or MS
-compatible name lister
(nm
)" >&5
5715 $as_echo_n "checking
for BSD
- or MS
-compatible name lister
(nm
)...
" >&6; }
5716 if ${lt_cv_path_NM+:} false; then :
5717 $as_echo_n "(cached
) " >&6
5719 if test -n "$NM"; then
5720 # Let the user override the test.
5723 lt_nm_to_check="${ac_tool_prefix}nm
"
5724 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5725 lt_nm_to_check="$lt_nm_to_check nm
"
5727 for lt_tmp_nm in $lt_nm_to_check; do
5728 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5729 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5731 test -z "$ac_dir" && ac_dir=.
5732 tmp_nm="$ac_dir/$lt_tmp_nm"
5733 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5734 # Check to see if the nm accepts a BSD-compat flag.
5735 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5736 # nm: unknown option "B
" ignored
5737 # Tru64's nm complains that /dev/null is an invalid object file
5738 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5739 */dev/null* | *'Invalid file or object type'*)
5740 lt_cv_path_NM="$tmp_nm -B"
5744 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5746 lt_cv_path_NM="$tmp_nm -p"
5750 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5751 continue # so that we can try to find one that supports BSD flags
5760 : ${lt_cv_path_NM=no}
5763 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_path_NM" >&5
5764 $as_echo "$lt_cv_path_NM" >&6; }
5765 if test "$lt_cv_path_NM" != "no
"; then
5768 # Didn't find any BSD compatible name lister, look for dumpbin.
5769 if test -n "$DUMPBIN"; then :
5770 # Let the user override the test.
5772 if test -n "$ac_tool_prefix"; then
5773 for ac_prog in dumpbin "link
-dump"
5775 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5776 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5778 $as_echo_n "checking
for $ac_word...
" >&6; }
5779 if ${ac_cv_prog_DUMPBIN+:} false; then :
5780 $as_echo_n "(cached
) " >&6
5782 if test -n "$DUMPBIN"; then
5783 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5785 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5789 test -z "$as_dir" && as_dir=.
5790 for ac_exec_ext in '' $ac_executable_extensions; do
5791 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5792 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5793 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5802 DUMPBIN=$ac_cv_prog_DUMPBIN
5803 if test -n "$DUMPBIN"; then
5804 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DUMPBIN" >&5
5805 $as_echo "$DUMPBIN" >&6; }
5807 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5808 $as_echo "no
" >&6; }
5812 test -n "$DUMPBIN" && break
5815 if test -z "$DUMPBIN"; then
5816 ac_ct_DUMPBIN=$DUMPBIN
5817 for ac_prog in dumpbin "link
-dump"
5819 # Extract the first word of "$ac_prog", so it can be a program name with args.
5820 set dummy $ac_prog; ac_word=$2
5821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5822 $as_echo_n "checking
for $ac_word...
" >&6; }
5823 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5824 $as_echo_n "(cached
) " >&6
5826 if test -n "$ac_ct_DUMPBIN"; then
5827 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5829 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5833 test -z "$as_dir" && as_dir=.
5834 for ac_exec_ext in '' $ac_executable_extensions; do
5835 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5836 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5837 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5846 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5847 if test -n "$ac_ct_DUMPBIN"; then
5848 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DUMPBIN" >&5
5849 $as_echo "$ac_ct_DUMPBIN" >&6; }
5851 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5852 $as_echo "no
" >&6; }
5856 test -n "$ac_ct_DUMPBIN" && break
5859 if test "x
$ac_ct_DUMPBIN" = x; then
5862 case $cross_compiling:$ac_tool_warned in
5864 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5865 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5866 ac_tool_warned=yes ;;
5868 DUMPBIN=$ac_ct_DUMPBIN
5872 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5874 DUMPBIN="$DUMPBIN -symbols"
5882 if test "$DUMPBIN" != ":"; then
5886 test -z "$NM" && NM=nm
5893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister
($NM) interface
" >&5
5894 $as_echo_n "checking the name lister
($NM) interface...
" >&6; }
5895 if ${lt_cv_nm_interface+:} false; then :
5896 $as_echo_n "(cached
) " >&6
5898 lt_cv_nm_interface="BSD nm
"
5899 echo "int some_variable
= 0;" > conftest.$ac_ext
5900 (eval echo "\"\
$as_me:$LINENO: $ac_compile\"" >&5)
5901 (eval "$ac_compile" 2>conftest.err)
5902 cat conftest.err >&5
5903 (eval echo "\"\
$as_me:$LINENO: $NM \\\"conftest.
$ac_objext\\\"\"" >&5)
5904 (eval "$NM \"conftest.
$ac_objext\"" 2>conftest.err > conftest.out)
5905 cat conftest.err >&5
5906 (eval echo "\"\
$as_me:$LINENO: output
\"" >&5)
5907 cat conftest.out >&5
5908 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5909 lt_cv_nm_interface="MS dumpbin
"
5913 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_nm_interface" >&5
5914 $as_echo "$lt_cv_nm_interface" >&6; }
5916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether
ln -s works
" >&5
5917 $as_echo_n "checking whether
ln -s works...
" >&6; }
5919 if test "$LN_S" = "ln -s"; then
5920 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
5921 $as_echo "yes" >&6; }
5923 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
, using
$LN_S" >&5
5924 $as_echo "no
, using
$LN_S" >&6; }
5927 # find the maximum length of command line arguments
5928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of
command line arguments
" >&5
5929 $as_echo_n "checking the maximum length of
command line arguments...
" >&6; }
5930 if ${lt_cv_sys_max_cmd_len+:} false; then :
5931 $as_echo_n "(cached
) " >&6
5938 # On DJGPP, this test can blow up pretty badly due to problems in libc
5939 # (any single argument exceeding 2000 bytes causes a buffer overrun
5940 # during glob expansion). Even if it were fixed, the result of this
5941 # check would be larger than it should be.
5942 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5946 # Under GNU Hurd, this test is not required because there is
5947 # no limit to the length of command line arguments.
5948 # Libtool will interpret -1 as no limit whatsoever
5949 lt_cv_sys_max_cmd_len=-1;
5952 cygwin* | mingw* | cegcc*)
5953 # On Win9x/ME, this test blows up -- it succeeds, but takes
5954 # about 5 minutes as the teststring grows exponentially.
5955 # Worse, since 9x/ME are not pre-emptively multitasking,
5956 # you end up with a "frozen
" computer, even though with patience
5957 # the test eventually succeeds (with a max line length of 256k).
5958 # Instead, let's just punt: use the minimum linelength reported by
5959 # all of the supported platforms: 8192 (on NT/2K/XP).
5960 lt_cv_sys_max_cmd_len=8192;
5964 # On MiNT this can take a long time and run out of memory.
5965 lt_cv_sys_max_cmd_len=8192;
5969 # On AmigaOS with pdksh, this test takes hours, literally.
5970 # So we just punt and use a minimum line length of 8192.
5971 lt_cv_sys_max_cmd_len=8192;
5974 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5975 # This has been around since 386BSD, at least. Likely further.
5976 if test -x /sbin/sysctl; then
5977 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5978 elif test -x /usr/sbin/sysctl; then
5979 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5981 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5983 # And add a safety zone
5984 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5985 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5989 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5990 lt_cv_sys_max_cmd_len=196608
5994 # The test takes a long time on OS/2.
5995 lt_cv_sys_max_cmd_len=8192
5999 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6000 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6001 # nice to cause kernel panics so lets avoid the loop below.
6002 # First set a reasonable default.
6003 lt_cv_sys_max_cmd_len=16384
6005 if test -x /sbin/sysconfig; then
6006 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6007 *1*) lt_cv_sys_max_cmd_len=-1 ;;
6012 lt_cv_sys_max_cmd_len=102400
6014 sysv5* | sco5v6* | sysv4.2uw2*)
6015 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6016 if test -n "$kargmax"; then
6017 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
6019 lt_cv_sys_max_cmd_len=32768
6023 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6024 if test -n "$lt_cv_sys_max_cmd_len"; then
6025 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6026 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6028 # Make teststring a little bigger before we do anything with it.
6029 # a 1K string should be a reasonable start.
6030 for i in 1 2 3 4 5 6 7 8 ; do
6031 teststring=$teststring$teststring
6033 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6034 # If test is not a shell built-in, we'll probably end up computing a
6035 # maximum length that is only half of the actual maximum length, but
6037 while { test "X
"`env echo "$teststring$teststring" 2>/dev/null` \
6038 = "X
$teststring$teststring"; } >/dev/null 2>&1 &&
6039 test $i != 17 # 1/2 MB should be enough
6042 teststring=$teststring$teststring
6044 # Only check the string length outside the loop.
6045 lt_cv_sys_max_cmd_len=`expr "X
$teststring" : ".
*" 2>&1`
6047 # Add a significant safety factor because C++ compilers can tack on
6048 # massive amounts of additional arguments before passing them to the
6049 # linker. It appears as though 1/2 is a usable value.
6050 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6057 if test -n $lt_cv_sys_max_cmd_len ; then
6058 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_sys_max_cmd_len" >&5
6059 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6061 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: none
" >&5
6062 $as_echo "none
" >&6; }
6064 max_cmd_len=$lt_cv_sys_max_cmd_len
6075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs
" >&5
6076 $as_echo_n "checking whether the shell understands some XSI constructs...
" >&6; }
6077 # Try some XSI features
6080 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
6082 && eval 'test $(( 1 + 1 )) -eq 2 \
6083 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6085 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $xsi_shell" >&5
6086 $as_echo "$xsi_shell" >&6; }
6089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands
\"+=\"" >&5
6090 $as_echo_n "checking whether the shell understands
\"+=\"...
" >&6; }
6092 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
6094 && lt_shell_append=yes
6095 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_shell_append" >&5
6096 $as_echo "$lt_shell_append" >&6; }
6099 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6109 # test EBCDIC or ASCII
6110 case `echo X|tr X '\101'` in
6111 A) # ASCII based system
6112 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6113 lt_SP2NL='tr \040 \012'
6114 lt_NL2SP='tr \015\012 \040\040'
6116 *) # EBCDIC based system
6117 lt_SP2NL='tr \100 \n'
6118 lt_NL2SP='tr \r\n \100\100'
6130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert
$build file names to
$host format
" >&5
6131 $as_echo_n "checking how to convert
$build file names to
$host format...
" >&6; }
6132 if ${lt_cv_to_host_file_cmd+:} false; then :
6133 $as_echo_n "(cached
) " >&6
6138 *-*-mingw* ) # actually msys
6139 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
6142 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
6144 * ) # otherwise, assume *nix
6145 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
6151 *-*-mingw* ) # actually msys
6152 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
6155 lt_cv_to_host_file_cmd=func_convert_file_noop
6157 * ) # otherwise, assume *nix
6158 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
6162 * ) # unhandled hosts (and "normal
" native builds)
6163 lt_cv_to_host_file_cmd=func_convert_file_noop
6169 to_host_file_cmd=$lt_cv_to_host_file_cmd
6170 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_to_host_file_cmd" >&5
6171 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
6177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert
$build file names to toolchain format
" >&5
6178 $as_echo_n "checking how to convert
$build file names to toolchain format...
" >&6; }
6179 if ${lt_cv_to_tool_file_cmd+:} false; then :
6180 $as_echo_n "(cached
) " >&6
6182 #assume ordinary cross tools, or native build.
6183 lt_cv_to_tool_file_cmd=func_convert_file_noop
6187 *-*-mingw* ) # actually msys
6188 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
6196 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
6197 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_to_tool_file_cmd" >&5
6198 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
6204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $LD option to reload object files
" >&5
6205 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
6206 if ${lt_cv_ld_reload_flag+:} false; then :
6207 $as_echo_n "(cached
) " >&6
6209 lt_cv_ld_reload_flag='-r'
6211 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_reload_flag" >&5
6212 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6213 reload_flag=$lt_cv_ld_reload_flag
6214 case $reload_flag in
6216 *) reload_flag=" $reload_flag" ;;
6218 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6220 cygwin* | mingw* | pw32* | cegcc*)
6221 if test "$GCC" != yes; then
6226 if test "$GCC" = yes; then
6227 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6229 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6242 if test -n "$ac_tool_prefix"; then
6243 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
6244 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6246 $as_echo_n "checking
for $ac_word...
" >&6; }
6247 if ${ac_cv_prog_OBJDUMP+:} false; then :
6248 $as_echo_n "(cached
) " >&6
6250 if test -n "$OBJDUMP"; then
6251 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6253 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6257 test -z "$as_dir" && as_dir=.
6258 for ac_exec_ext in '' $ac_executable_extensions; do
6259 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6260 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
6261 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6270 OBJDUMP=$ac_cv_prog_OBJDUMP
6271 if test -n "$OBJDUMP"; then
6272 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
6273 $as_echo "$OBJDUMP" >&6; }
6275 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6276 $as_echo "no
" >&6; }
6281 if test -z "$ac_cv_prog_OBJDUMP"; then
6282 ac_ct_OBJDUMP=$OBJDUMP
6283 # Extract the first word of "objdump
", so it can be a program name with args.
6284 set dummy objdump; ac_word=$2
6285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6286 $as_echo_n "checking
for $ac_word...
" >&6; }
6287 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
6288 $as_echo_n "(cached
) " >&6
6290 if test -n "$ac_ct_OBJDUMP"; then
6291 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6293 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6297 test -z "$as_dir" && as_dir=.
6298 for ac_exec_ext in '' $ac_executable_extensions; do
6299 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6300 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
6301 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6310 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6311 if test -n "$ac_ct_OBJDUMP"; then
6312 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OBJDUMP" >&5
6313 $as_echo "$ac_ct_OBJDUMP" >&6; }
6315 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6316 $as_echo "no
" >&6; }
6319 if test "x
$ac_ct_OBJDUMP" = x; then
6322 case $cross_compiling:$ac_tool_warned in
6324 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6325 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6326 ac_tool_warned=yes ;;
6328 OBJDUMP=$ac_ct_OBJDUMP
6331 OBJDUMP="$ac_cv_prog_OBJDUMP"
6334 test -z "$OBJDUMP" && OBJDUMP=objdump
6344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries
" >&5
6345 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
6346 if ${lt_cv_deplibs_check_method+:} false; then :
6347 $as_echo_n "(cached
) " >&6
6349 lt_cv_file_magic_cmd='$MAGIC_CMD'
6350 lt_cv_file_magic_test_file=
6351 lt_cv_deplibs_check_method='unknown'
6352 # Need to set the preceding variable on all platforms that support
6353 # interlibrary dependencies.
6354 # 'none' -- dependencies not supported.
6355 # `unknown' -- same as none, but documents that we really don't know.
6356 # 'pass_all' -- all dependencies passed with no checks.
6357 # 'test_compile' -- check by making test program.
6358 # 'file_magic [[regex]]' -- check by looking for files in library path
6359 # which responds to the $file_magic_cmd with a given extended regex.
6360 # If you have `file' or equivalent on your system and you're not sure
6361 # whether `pass_all' will *always* work, you probably want this one.
6365 lt_cv_deplibs_check_method=pass_all
6369 lt_cv_deplibs_check_method=pass_all
6373 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6374 lt_cv_file_magic_cmd='/usr/bin/file -L'
6375 lt_cv_file_magic_test_file=/shlib/libc.so
6379 # func_win32_libid is a shell function defined in ltmain.sh
6380 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6381 lt_cv_file_magic_cmd='func_win32_libid'
6385 # Base MSYS/MinGW do not provide the 'file' command needed by
6386 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6387 # unless we find 'file', for example because we are cross-compiling.
6388 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6389 if ( test "$lt_cv_nm_interface" = "BSD nm
" && file / ) >/dev/null 2>&1; then
6390 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6391 lt_cv_file_magic_cmd='func_win32_libid'
6393 # Keep this pattern in sync with the one in func_win32_libid.
6394 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
6395 lt_cv_file_magic_cmd='$OBJDUMP -f'
6400 # use the weaker test based on 'objdump'. See mingw*.
6401 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6402 lt_cv_file_magic_cmd='$OBJDUMP -f'
6405 darwin* | rhapsody*)
6406 lt_cv_deplibs_check_method=pass_all
6409 freebsd* | dragonfly*)
6410 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6413 # Not sure whether the presence of OpenBSD here was a mistake.
6414 # Let's accept both of them until this is cleared up.
6415 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6416 lt_cv_file_magic_cmd=/usr/bin/file
6417 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6421 lt_cv_deplibs_check_method=pass_all
6426 lt_cv_deplibs_check_method=pass_all
6430 lt_cv_deplibs_check_method=pass_all
6433 hpux10.20* | hpux11*)
6434 lt_cv_file_magic_cmd=/usr/bin/file
6437 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6438 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6441 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]'
6442 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6445 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6446 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6452 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6453 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6456 irix5* | irix6* | nonstopux*)
6458 *-32|*"-32 ") libmagic=32-bit;;
6459 *-n32|*"-n32 ") libmagic=N32;;
6460 *-64|*"-64 ") libmagic=64-bit;;
6461 *) libmagic=never-match;;
6463 lt_cv_deplibs_check_method=pass_all
6466 # This must be glibc/ELF.
6467 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6468 lt_cv_deplibs_check_method=pass_all
6472 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6473 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6475 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6480 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6481 lt_cv_file_magic_cmd=/usr/bin/file
6482 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6486 lt_cv_deplibs_check_method=pass_all
6490 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
6491 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6493 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6497 osf3* | osf4* | osf5*)
6498 lt_cv_deplibs_check_method=pass_all
6502 lt_cv_deplibs_check_method=pass_all
6506 lt_cv_deplibs_check_method=pass_all
6509 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6510 lt_cv_deplibs_check_method=pass_all
6514 case $host_vendor in
6516 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]'
6517 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6520 lt_cv_deplibs_check_method=pass_all
6523 lt_cv_file_magic_cmd='/bin/file'
6524 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6527 lt_cv_file_magic_cmd='/bin/file'
6528 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
6529 lt_cv_file_magic_test_file=/lib/libc.so
6532 lt_cv_deplibs_check_method=pass_all
6535 lt_cv_deplibs_check_method=pass_all
6541 lt_cv_deplibs_check_method=pass_all
6546 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_deplibs_check_method" >&5
6547 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6551 if test "$build" = "$host"; then
6554 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
6557 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s
/\
(..\
)/s\
/[\
1]\
/[\
1]\
/g
;/g
"`
6563 file_magic_cmd=$lt_cv_file_magic_cmd
6564 deplibs_check_method=$lt_cv_deplibs_check_method
6565 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6588 if test -n "$ac_tool_prefix"; then
6589 # Extract the first word of "${ac_tool_prefix}dlltool
", so it can be a program name with args.
6590 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
6591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6592 $as_echo_n "checking
for $ac_word...
" >&6; }
6593 if ${ac_cv_prog_DLLTOOL+:} false; then :
6594 $as_echo_n "(cached
) " >&6
6596 if test -n "$DLLTOOL"; then
6597 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6599 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6603 test -z "$as_dir" && as_dir=.
6604 for ac_exec_ext in '' $ac_executable_extensions; do
6605 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6606 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool
"
6607 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6616 DLLTOOL=$ac_cv_prog_DLLTOOL
6617 if test -n "$DLLTOOL"; then
6618 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
6619 $as_echo "$DLLTOOL" >&6; }
6621 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6622 $as_echo "no
" >&6; }
6627 if test -z "$ac_cv_prog_DLLTOOL"; then
6628 ac_ct_DLLTOOL=$DLLTOOL
6629 # Extract the first word of "dlltool
", so it can be a program name with args.
6630 set dummy dlltool; ac_word=$2
6631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6632 $as_echo_n "checking
for $ac_word...
" >&6; }
6633 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
6634 $as_echo_n "(cached
) " >&6
6636 if test -n "$ac_ct_DLLTOOL"; then
6637 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
6639 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6643 test -z "$as_dir" && as_dir=.
6644 for ac_exec_ext in '' $ac_executable_extensions; do
6645 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6646 ac_cv_prog_ac_ct_DLLTOOL="dlltool
"
6647 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6656 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
6657 if test -n "$ac_ct_DLLTOOL"; then
6658 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DLLTOOL" >&5
6659 $as_echo "$ac_ct_DLLTOOL" >&6; }
6661 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6662 $as_echo "no
" >&6; }
6665 if test "x
$ac_ct_DLLTOOL" = x; then
6668 case $cross_compiling:$ac_tool_warned in
6670 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6671 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6672 ac_tool_warned=yes ;;
6674 DLLTOOL=$ac_ct_DLLTOOL
6677 DLLTOOL="$ac_cv_prog_DLLTOOL"
6680 test -z "$DLLTOOL" && DLLTOOL=dlltool
6691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries
" >&5
6692 $as_echo_n "checking how to associate runtime and link libraries...
" >&6; }
6693 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
6694 $as_echo_n "(cached
) " >&6
6696 lt_cv_sharedlib_from_linklib_cmd='unknown'
6699 cygwin* | mingw* | pw32* | cegcc*)
6700 # two different shell functions defined in ltmain.sh
6701 # decide which to use based on capabilities of $DLLTOOL
6702 case `$DLLTOOL --help 2>&1` in
6703 *--identify-strict*)
6704 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
6707 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
6712 # fallback: assume linklib IS sharedlib
6713 lt_cv_sharedlib_from_linklib_cmd="$ECHO"
6718 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_sharedlib_from_linklib_cmd" >&5
6719 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6720 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
6721 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
6729 if test -n "$ac_tool_prefix"; then
6732 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6733 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6735 $as_echo_n "checking
for $ac_word...
" >&6; }
6736 if ${ac_cv_prog_AR+:} false; then :
6737 $as_echo_n "(cached
) " >&6
6739 if test -n "$AR"; then
6740 ac_cv_prog_AR="$AR" # Let the user override the test.
6742 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6746 test -z "$as_dir" && as_dir=.
6747 for ac_exec_ext in '' $ac_executable_extensions; do
6748 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6749 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6750 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6760 if test -n "$AR"; then
6761 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
6762 $as_echo "$AR" >&6; }
6764 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6765 $as_echo "no
" >&6; }
6769 test -n "$AR" && break
6772 if test -z "$AR"; then
6776 # Extract the first word of "$ac_prog", so it can be a program name with args.
6777 set dummy $ac_prog; ac_word=$2
6778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6779 $as_echo_n "checking
for $ac_word...
" >&6; }
6780 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6781 $as_echo_n "(cached
) " >&6
6783 if test -n "$ac_ct_AR"; then
6784 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6786 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6790 test -z "$as_dir" && as_dir=.
6791 for ac_exec_ext in '' $ac_executable_extensions; do
6792 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6793 ac_cv_prog_ac_ct_AR="$ac_prog"
6794 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6803 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6804 if test -n "$ac_ct_AR"; then
6805 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_AR" >&5
6806 $as_echo "$ac_ct_AR" >&6; }
6808 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6809 $as_echo "no
" >&6; }
6813 test -n "$ac_ct_AR" && break
6816 if test "x
$ac_ct_AR" = x; then
6819 case $cross_compiling:$ac_tool_warned in
6821 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6822 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6823 ac_tool_warned=yes ;;
6842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for archiver @FILE support
" >&5
6843 $as_echo_n "checking
for archiver @FILE support...
" >&6; }
6844 if ${lt_cv_ar_at_file+:} false; then :
6845 $as_echo_n "(cached
) " >&6
6848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6849 /* end confdefs.h. */
6859 if ac_fn_c_try_compile "$LINENO"; then :
6860 echo conftest.$ac_objext > conftest.lst
6861 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6862 { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6863 (eval $lt_ar_try) 2>&5
6865 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6866 test $ac_status = 0; }
6867 if test "$ac_status" -eq 0; then
6868 # Ensure the archiver fails upon bogus file names.
6869 rm -f conftest.$ac_objext libconftest.a
6870 { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6871 (eval $lt_ar_try) 2>&5
6873 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6874 test $ac_status = 0; }
6875 if test "$ac_status" -ne 0; then
6879 rm -f conftest.* libconftest.a
6882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6885 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ar_at_file" >&5
6886 $as_echo "$lt_cv_ar_at_file" >&6; }
6888 if test "x
$lt_cv_ar_at_file" = xno; then
6891 archiver_list_spec=$lt_cv_ar_at_file
6900 if test -n "$ac_tool_prefix"; then
6901 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
6902 set dummy ${ac_tool_prefix}strip; ac_word=$2
6903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6904 $as_echo_n "checking
for $ac_word...
" >&6; }
6905 if ${ac_cv_prog_STRIP+:} false; then :
6906 $as_echo_n "(cached
) " >&6
6908 if test -n "$STRIP"; then
6909 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6911 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6915 test -z "$as_dir" && as_dir=.
6916 for ac_exec_ext in '' $ac_executable_extensions; do
6917 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6918 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
6919 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6928 STRIP=$ac_cv_prog_STRIP
6929 if test -n "$STRIP"; then
6930 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
6931 $as_echo "$STRIP" >&6; }
6933 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6934 $as_echo "no
" >&6; }
6939 if test -z "$ac_cv_prog_STRIP"; then
6941 # Extract the first word of "strip
", so it can be a program name with args.
6942 set dummy strip; ac_word=$2
6943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6944 $as_echo_n "checking
for $ac_word...
" >&6; }
6945 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6946 $as_echo_n "(cached
) " >&6
6948 if test -n "$ac_ct_STRIP"; then
6949 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6951 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6955 test -z "$as_dir" && as_dir=.
6956 for ac_exec_ext in '' $ac_executable_extensions; do
6957 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6958 ac_cv_prog_ac_ct_STRIP="strip
"
6959 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6968 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6969 if test -n "$ac_ct_STRIP"; then
6970 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_STRIP" >&5
6971 $as_echo "$ac_ct_STRIP" >&6; }
6973 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6974 $as_echo "no
" >&6; }
6977 if test "x
$ac_ct_STRIP" = x; then
6980 case $cross_compiling:$ac_tool_warned in
6982 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6983 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6984 ac_tool_warned=yes ;;
6989 STRIP="$ac_cv_prog_STRIP"
6992 test -z "$STRIP" && STRIP=:
6999 if test -n "$ac_tool_prefix"; then
7000 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
7001 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7003 $as_echo_n "checking
for $ac_word...
" >&6; }
7004 if ${ac_cv_prog_RANLIB+:} false; then :
7005 $as_echo_n "(cached
) " >&6
7007 if test -n "$RANLIB"; then
7008 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7010 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7014 test -z "$as_dir" && as_dir=.
7015 for ac_exec_ext in '' $ac_executable_extensions; do
7016 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7017 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
7018 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7027 RANLIB=$ac_cv_prog_RANLIB
7028 if test -n "$RANLIB"; then
7029 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
7030 $as_echo "$RANLIB" >&6; }
7032 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7033 $as_echo "no
" >&6; }
7038 if test -z "$ac_cv_prog_RANLIB"; then
7039 ac_ct_RANLIB=$RANLIB
7040 # Extract the first word of "ranlib
", so it can be a program name with args.
7041 set dummy ranlib; ac_word=$2
7042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7043 $as_echo_n "checking
for $ac_word...
" >&6; }
7044 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
7045 $as_echo_n "(cached
) " >&6
7047 if test -n "$ac_ct_RANLIB"; then
7048 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7050 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7054 test -z "$as_dir" && as_dir=.
7055 for ac_exec_ext in '' $ac_executable_extensions; do
7056 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7057 ac_cv_prog_ac_ct_RANLIB="ranlib
"
7058 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7067 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7068 if test -n "$ac_ct_RANLIB"; then
7069 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_RANLIB" >&5
7070 $as_echo "$ac_ct_RANLIB" >&6; }
7072 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7073 $as_echo "no
" >&6; }
7076 if test "x
$ac_ct_RANLIB" = x; then
7079 case $cross_compiling:$ac_tool_warned in
7081 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7082 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7083 ac_tool_warned=yes ;;
7085 RANLIB=$ac_ct_RANLIB
7088 RANLIB="$ac_cv_prog_RANLIB"
7091 test -z "$RANLIB" && RANLIB=:
7098 # Determine commands to create old-style static archives.
7099 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7100 old_postinstall_cmds='chmod 644 $oldlib'
7101 old_postuninstall_cmds=
7103 if test -n "$RANLIB"; then
7106 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$tool_oldlib"
7109 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$tool_oldlib"
7112 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$tool_oldlib"
7117 lock_old_archive_extraction=yes ;;
7119 lock_old_archive_extraction=no ;;
7160 # If no C compiler was specified, use CC.
7163 # If no C compiler flags were specified, use CFLAGS.
7164 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7166 # Allow CC to be a program name with arguments.
7170 # Check for command to grab the raw symbol name followed by C symbol from nm.
7171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
command to parse
$NM output from
$compiler object
" >&5
7172 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
7173 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
7174 $as_echo_n "(cached
) " >&6
7177 # These are sane defaults that work on at least a few old systems.
7178 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
7180 # Character class describing NM global symbol codes.
7181 symcode='[BCDEGRST]'
7183 # Regexp to match symbols that can be accessed directly from C.
7184 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7186 # Define system-specific variables.
7191 cygwin* | mingw* | pw32* | cegcc*)
7192 symcode='[ABCDGISTW]'
7195 if test "$host_cpu" = ia64; then
7196 symcode='[ABCDEGRST]'
7200 symcode='[BCDEGRST]'
7203 symcode='[BCDEGQRST]'
7214 sysv5* | sco5v6* | unixware* | OpenUNIX*)
7222 # If we're using GNU nm, then use its standard symbol codes.
7223 case `$NM -V 2>&1` in
7224 *GNU* | *'with BFD'*)
7225 symcode='[ABCDGIRSTW]' ;;
7228 # Transform an extracted symbol line into a proper C declaration.
7229 # Some systems (esp. on ia64) link data and code symbols differently,
7230 # so use this general approach.
7231 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7233 # Transform an extracted symbol line into symbol name and symbol address
7234 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
7235 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (void *) \&\2},/p'"
7237 # Handle CRLF in mingw tool chain
7241 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7245 # Try without a prefix underscore, then with it.
7246 for ac_symprfx in "" "_
"; do
7248 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7249 symxfrm="\\1 $ac_symprfx\\2 \\2"
7251 # Write the raw and C identifiers.
7252 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
7253 # Fake it for dumpbin and say T for any non-static function
7254 # and D for any global variable.
7255 # Also find C++ and __fastcall symbols from MSVC++,
7256 # which start with @ or ?.
7257 lt_cv_sys_global_symbol_pipe="$AWK '"\
7258 " {last_section=section; section=\$ 3};"\
7259 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
7260 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7261 " \$ 0!~/External *\|/{next};"\
7262 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7263 " {if(hide[section]) next};"\
7264 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7265 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7266 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
7267 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7268 " ' prfx
=^
$ac_symprfx"
7270 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7272 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
7274 # Check to see that the pipe works correctly.
7278 cat > conftest.$ac_ext <<_LT_EOF
7283 void nm_test_func(void);
7284 void nm_test_func(void){}
7288 int main(){nm_test_var='a';nm_test_func();return(0);}
7291 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7292 (eval $ac_compile) 2>&5
7294 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7295 test $ac_status = 0; }; then
7296 # Now try to grab the symbols.
7298 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$NM conftest.
$ac_objext \
| "$lt_cv_sys_global_symbol_pipe" \
> $nlist\""; } >&5
7299 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7301 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7302 test $ac_status = 0; } && test -s "$nlist"; then
7303 # Try sorting and uniquifying the output.
7304 if sort "$nlist" | uniq > "$nlist"T; then
7305 mv -f "$nlist"T "$nlist"
7310 # Make sure that we snagged all the symbols we need.
7311 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7312 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7313 cat <<_LT_EOF > conftest.$ac_ext
7314 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
7315 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
7316 /* DATA imports from DLLs on WIN32 con't be const, because runtime
7317 relocations are performed -- see ld's documentation on pseudo-relocs. */
7318 # define LT_DLSYM_CONST
7319 #elif defined(__osf__)
7320 /* This system does not cope well with relocations in const data. */
7321 # define LT_DLSYM_CONST
7323 # define LT_DLSYM_CONST const
7331 # Now generate the symbol file.
7332 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7334 cat <<_LT_EOF >> conftest.$ac_ext
7336 /* The mapping between symbol names and symbols. */
7337 LT_DLSYM_CONST struct {
7341 lt__PROGRAM__LTX_preloaded_symbols[] =
7343 { "@PROGRAM@
", (void *) 0 },
7345 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7346 cat <<\_LT_EOF >> conftest.$ac_ext
7350 /* This works around a problem in FreeBSD linker */
7351 #ifdef FREEBSD_WORKAROUND
7352 static const void *lt_preloaded_setup() {
7353 return lt__PROGRAM__LTX_preloaded_symbols;
7361 # Now try linking the two files.
7362 mv conftest.$ac_objext conftstm.$ac_objext
7363 lt_globsym_save_LIBS=$LIBS
7364 lt_globsym_save_CFLAGS=$CFLAGS
7365 LIBS="conftstm.
$ac_objext"
7366 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7367 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7368 (eval $ac_link) 2>&5
7370 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7371 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7374 LIBS=$lt_globsym_save_LIBS
7375 CFLAGS=$lt_globsym_save_CFLAGS
7377 echo "cannot
find nm_test_func
in $nlist" >&5
7380 echo "cannot
find nm_test_var
in $nlist" >&5
7383 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
7386 echo "$progname: failed program was
:" >&5
7387 cat conftest.$ac_ext >&5
7389 rm -rf conftest* conftst*
7391 # Do not use the global_symbol_pipe unless it works.
7392 if test "$pipe_works" = yes; then
7395 lt_cv_sys_global_symbol_pipe=
7401 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7402 lt_cv_sys_global_symbol_to_cdecl=
7404 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7405 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: failed
" >&5
7406 $as_echo "failed
" >&6; }
7408 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ok
" >&5
7409 $as_echo "ok
" >&6; }
7412 # Response file support.
7413 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
7414 nm_file_list_spec='@'
7415 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
7416 nm_file_list_spec='@'
7445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for sysroot
" >&5
7446 $as_echo_n "checking
for sysroot...
" >&6; }
7448 # Check whether --with-sysroot was given.
7449 if test "${with_sysroot+set}" = set; then :
7450 withval=$with_sysroot;
7457 case ${with_sysroot} in #(
7459 if test "$GCC" = yes; then
7460 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
7464 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
7469 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ${with_sysroot}" >&5
7470 $as_echo "${with_sysroot}" >&6; }
7471 as_fn_error $? "The sysroot must be an absolute path.
" "$LINENO" 5
7475 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ${lt_sysroot:-no}" >&5
7476 $as_echo "${lt_sysroot:-no}" >&6; }
7482 # Check whether --enable-libtool-lock was given.
7483 if test "${enable_libtool_lock+set}" = set; then :
7484 enableval=$enable_libtool_lock;
7487 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
7489 # Some flags need to be propagated to the compiler or linker for good
7493 # Find out which ABI we are using.
7494 echo 'int i;' > conftest.$ac_ext
7495 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7496 (eval $ac_compile) 2>&5
7498 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7499 test $ac_status = 0; }; then
7500 case `/usr/bin/file conftest.$ac_objext` in
7512 # Find out which ABI we are using.
7513 echo '#line '$LINENO' "configure
"' > conftest.$ac_ext
7514 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7515 (eval $ac_compile) 2>&5
7517 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7518 test $ac_status = 0; }; then
7519 if test "$lt_cv_prog_gnu_ld" = yes; then
7520 case `/usr/bin/file conftest.$ac_objext` in
7522 LD="${LD-ld} -melf32bsmip"
7525 LD="${LD-ld} -melf32bmipn32"
7528 LD="${LD-ld} -melf64bmip"
7532 case `/usr/bin/file conftest.$ac_objext` in
7548 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
7549 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7550 # Find out which ABI we are using.
7551 echo 'int i;' > conftest.$ac_ext
7552 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7553 (eval $ac_compile) 2>&5
7555 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7556 test $ac_status = 0; }; then
7557 case `/usr/bin/file conftest.o` in
7560 x86_64-*kfreebsd*-gnu)
7561 LD="${LD-ld} -m elf_i386_fbsd
"
7564 LD="${LD-ld} -m elf_i386
"
7566 ppc64-*linux*|powerpc64-*linux*)
7567 LD="${LD-ld} -m elf32ppclinux
"
7570 LD="${LD-ld} -m elf_s390
"
7573 LD="${LD-ld} -m elf32_sparc
"
7579 x86_64-*kfreebsd*-gnu)
7580 LD="${LD-ld} -m elf_x86_64_fbsd
"
7583 LD="${LD-ld} -m elf_x86_64
"
7585 ppc*-*linux*|powerpc*-*linux*)
7586 LD="${LD-ld} -m elf64ppc
"
7588 s390*-*linux*|s390*-*tpf*)
7589 LD="${LD-ld} -m elf64_s390
"
7592 LD="${LD-ld} -m elf64_sparc
"
7602 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7603 SAVE_CFLAGS="$CFLAGS"
7604 CFLAGS="$CFLAGS -belf"
7605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs
-belf" >&5
7606 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
7607 if ${lt_cv_cc_needs_belf+:} false; then :
7608 $as_echo_n "(cached
) " >&6
7611 ac_cpp='$CPP $CPPFLAGS'
7612 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7613 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7614 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7617 /* end confdefs.h. */
7627 if ac_fn_c_try_link "$LINENO"; then :
7628 lt_cv_cc_needs_belf=yes
7630 lt_cv_cc_needs_belf=no
7632 rm -f core conftest.err conftest.$ac_objext \
7633 conftest$ac_exeext conftest.$ac_ext
7635 ac_cpp='$CPP $CPPFLAGS'
7636 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7637 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7638 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7641 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_cc_needs_belf" >&5
7642 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7643 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7644 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7645 CFLAGS="$SAVE_CFLAGS"
7649 # Find out which ABI we are using.
7650 echo 'int i;' > conftest.$ac_ext
7651 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7652 (eval $ac_compile) 2>&5
7654 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7655 test $ac_status = 0; }; then
7656 case `/usr/bin/file conftest.o` in
7658 case $lt_cv_prog_gnu_ld in
7662 LD="${LD-ld} -m elf_x86_64
"
7665 LD="${LD-ld} -m elf64_sparc
"
7668 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
7669 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
7674 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7686 need_locks="$enable_libtool_lock"
7688 if test -n "$ac_tool_prefix"; then
7689 # Extract the first word of "${ac_tool_prefix}mt
", so it can be a program name with args.
7690 set dummy ${ac_tool_prefix}mt; ac_word=$2
7691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7692 $as_echo_n "checking
for $ac_word...
" >&6; }
7693 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
7694 $as_echo_n "(cached
) " >&6
7696 if test -n "$MANIFEST_TOOL"; then
7697 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
7699 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7703 test -z "$as_dir" && as_dir=.
7704 for ac_exec_ext in '' $ac_executable_extensions; do
7705 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7706 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt
"
7707 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7716 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
7717 if test -n "$MANIFEST_TOOL"; then
7718 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MANIFEST_TOOL" >&5
7719 $as_echo "$MANIFEST_TOOL" >&6; }
7721 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7722 $as_echo "no
" >&6; }
7727 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
7728 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
7729 # Extract the first word of "mt
", so it can be a program name with args.
7730 set dummy mt; ac_word=$2
7731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7732 $as_echo_n "checking
for $ac_word...
" >&6; }
7733 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
7734 $as_echo_n "(cached
) " >&6
7736 if test -n "$ac_ct_MANIFEST_TOOL"; then
7737 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
7739 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7743 test -z "$as_dir" && as_dir=.
7744 for ac_exec_ext in '' $ac_executable_extensions; do
7745 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7746 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt
"
7747 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7756 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7757 if test -n "$ac_ct_MANIFEST_TOOL"; then
7758 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_MANIFEST_TOOL" >&5
7759 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7761 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7762 $as_echo "no
" >&6; }
7765 if test "x
$ac_ct_MANIFEST_TOOL" = x; then
7768 case $cross_compiling:$ac_tool_warned in
7770 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7771 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7772 ac_tool_warned=yes ;;
7774 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7777 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7780 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $MANIFEST_TOOL is a manifest tool
" >&5
7782 $as_echo_n "checking
if $MANIFEST_TOOL is a manifest tool...
" >&6; }
7783 if ${lt_cv_path_mainfest_tool+:} false; then :
7784 $as_echo_n "(cached
) " >&6
7786 lt_cv_path_mainfest_tool=no
7787 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7788 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7789 cat conftest.err >&5
7790 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7791 lt_cv_path_mainfest_tool=yes
7795 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_path_mainfest_tool" >&5
7796 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
7797 if test "x
$lt_cv_path_mainfest_tool" != xyes; then
7807 rhapsody* | darwin*)
7808 if test -n "$ac_tool_prefix"; then
7809 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
7810 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7812 $as_echo_n "checking
for $ac_word...
" >&6; }
7813 if ${ac_cv_prog_DSYMUTIL+:} false; then :
7814 $as_echo_n "(cached
) " >&6
7816 if test -n "$DSYMUTIL"; then
7817 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7819 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7823 test -z "$as_dir" && as_dir=.
7824 for ac_exec_ext in '' $ac_executable_extensions; do
7825 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7826 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
7827 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7836 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7837 if test -n "$DSYMUTIL"; then
7838 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
7839 $as_echo "$DSYMUTIL" >&6; }
7841 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7842 $as_echo "no
" >&6; }
7847 if test -z "$ac_cv_prog_DSYMUTIL"; then
7848 ac_ct_DSYMUTIL=$DSYMUTIL
7849 # Extract the first word of "dsymutil
", so it can be a program name with args.
7850 set dummy dsymutil; ac_word=$2
7851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7852 $as_echo_n "checking
for $ac_word...
" >&6; }
7853 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7854 $as_echo_n "(cached
) " >&6
7856 if test -n "$ac_ct_DSYMUTIL"; then
7857 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7859 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7863 test -z "$as_dir" && as_dir=.
7864 for ac_exec_ext in '' $ac_executable_extensions; do
7865 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7866 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
7867 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7876 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7877 if test -n "$ac_ct_DSYMUTIL"; then
7878 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DSYMUTIL" >&5
7879 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7881 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7882 $as_echo "no
" >&6; }
7885 if test "x
$ac_ct_DSYMUTIL" = x; then
7888 case $cross_compiling:$ac_tool_warned in
7890 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7891 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7892 ac_tool_warned=yes ;;
7894 DSYMUTIL=$ac_ct_DSYMUTIL
7897 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7900 if test -n "$ac_tool_prefix"; then
7901 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
7902 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7904 $as_echo_n "checking
for $ac_word...
" >&6; }
7905 if ${ac_cv_prog_NMEDIT+:} false; then :
7906 $as_echo_n "(cached
) " >&6
7908 if test -n "$NMEDIT"; then
7909 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7911 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7915 test -z "$as_dir" && as_dir=.
7916 for ac_exec_ext in '' $ac_executable_extensions; do
7917 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7918 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
7919 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7928 NMEDIT=$ac_cv_prog_NMEDIT
7929 if test -n "$NMEDIT"; then
7930 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NMEDIT" >&5
7931 $as_echo "$NMEDIT" >&6; }
7933 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7934 $as_echo "no
" >&6; }
7939 if test -z "$ac_cv_prog_NMEDIT"; then
7940 ac_ct_NMEDIT=$NMEDIT
7941 # Extract the first word of "nmedit
", so it can be a program name with args.
7942 set dummy nmedit; ac_word=$2
7943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7944 $as_echo_n "checking
for $ac_word...
" >&6; }
7945 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7946 $as_echo_n "(cached
) " >&6
7948 if test -n "$ac_ct_NMEDIT"; then
7949 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7951 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7955 test -z "$as_dir" && as_dir=.
7956 for ac_exec_ext in '' $ac_executable_extensions; do
7957 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7958 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
7959 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7968 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7969 if test -n "$ac_ct_NMEDIT"; then
7970 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_NMEDIT" >&5
7971 $as_echo "$ac_ct_NMEDIT" >&6; }
7973 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7974 $as_echo "no
" >&6; }
7977 if test "x
$ac_ct_NMEDIT" = x; then
7980 case $cross_compiling:$ac_tool_warned in
7982 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7983 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7984 ac_tool_warned=yes ;;
7986 NMEDIT=$ac_ct_NMEDIT
7989 NMEDIT="$ac_cv_prog_NMEDIT"
7992 if test -n "$ac_tool_prefix"; then
7993 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
7994 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7996 $as_echo_n "checking
for $ac_word...
" >&6; }
7997 if ${ac_cv_prog_LIPO+:} false; then :
7998 $as_echo_n "(cached
) " >&6
8000 if test -n "$LIPO"; then
8001 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8003 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8007 test -z "$as_dir" && as_dir=.
8008 for ac_exec_ext in '' $ac_executable_extensions; do
8009 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8010 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
8011 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8020 LIPO=$ac_cv_prog_LIPO
8021 if test -n "$LIPO"; then
8022 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
8023 $as_echo "$LIPO" >&6; }
8025 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8026 $as_echo "no
" >&6; }
8031 if test -z "$ac_cv_prog_LIPO"; then
8033 # Extract the first word of "lipo
", so it can be a program name with args.
8034 set dummy lipo; ac_word=$2
8035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8036 $as_echo_n "checking
for $ac_word...
" >&6; }
8037 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
8038 $as_echo_n "(cached
) " >&6
8040 if test -n "$ac_ct_LIPO"; then
8041 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
8043 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8047 test -z "$as_dir" && as_dir=.
8048 for ac_exec_ext in '' $ac_executable_extensions; do
8049 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8050 ac_cv_prog_ac_ct_LIPO="lipo
"
8051 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8060 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
8061 if test -n "$ac_ct_LIPO"; then
8062 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_LIPO" >&5
8063 $as_echo "$ac_ct_LIPO" >&6; }
8065 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8066 $as_echo "no
" >&6; }
8069 if test "x
$ac_ct_LIPO" = x; then
8072 case $cross_compiling:$ac_tool_warned in
8074 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8075 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8076 ac_tool_warned=yes ;;
8081 LIPO="$ac_cv_prog_LIPO"
8084 if test -n "$ac_tool_prefix"; then
8085 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
8086 set dummy ${ac_tool_prefix}otool; ac_word=$2
8087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8088 $as_echo_n "checking
for $ac_word...
" >&6; }
8089 if ${ac_cv_prog_OTOOL+:} false; then :
8090 $as_echo_n "(cached
) " >&6
8092 if test -n "$OTOOL"; then
8093 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8095 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8099 test -z "$as_dir" && as_dir=.
8100 for ac_exec_ext in '' $ac_executable_extensions; do
8101 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8102 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
8103 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8112 OTOOL=$ac_cv_prog_OTOOL
8113 if test -n "$OTOOL"; then
8114 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
8115 $as_echo "$OTOOL" >&6; }
8117 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8118 $as_echo "no
" >&6; }
8123 if test -z "$ac_cv_prog_OTOOL"; then
8125 # Extract the first word of "otool
", so it can be a program name with args.
8126 set dummy otool; ac_word=$2
8127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8128 $as_echo_n "checking
for $ac_word...
" >&6; }
8129 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
8130 $as_echo_n "(cached
) " >&6
8132 if test -n "$ac_ct_OTOOL"; then
8133 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8135 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8139 test -z "$as_dir" && as_dir=.
8140 for ac_exec_ext in '' $ac_executable_extensions; do
8141 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8142 ac_cv_prog_ac_ct_OTOOL="otool
"
8143 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8152 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8153 if test -n "$ac_ct_OTOOL"; then
8154 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL" >&5
8155 $as_echo "$ac_ct_OTOOL" >&6; }
8157 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8158 $as_echo "no
" >&6; }
8161 if test "x
$ac_ct_OTOOL" = x; then
8164 case $cross_compiling:$ac_tool_warned in
8166 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8167 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8168 ac_tool_warned=yes ;;
8173 OTOOL="$ac_cv_prog_OTOOL"
8176 if test -n "$ac_tool_prefix"; then
8177 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
8178 set dummy ${ac_tool_prefix}otool64; ac_word=$2
8179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8180 $as_echo_n "checking
for $ac_word...
" >&6; }
8181 if ${ac_cv_prog_OTOOL64+:} false; then :
8182 $as_echo_n "(cached
) " >&6
8184 if test -n "$OTOOL64"; then
8185 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8187 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8191 test -z "$as_dir" && as_dir=.
8192 for ac_exec_ext in '' $ac_executable_extensions; do
8193 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8194 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
8195 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8204 OTOOL64=$ac_cv_prog_OTOOL64
8205 if test -n "$OTOOL64"; then
8206 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL64" >&5
8207 $as_echo "$OTOOL64" >&6; }
8209 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8210 $as_echo "no
" >&6; }
8215 if test -z "$ac_cv_prog_OTOOL64"; then
8216 ac_ct_OTOOL64=$OTOOL64
8217 # Extract the first word of "otool64
", so it can be a program name with args.
8218 set dummy otool64; ac_word=$2
8219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8220 $as_echo_n "checking
for $ac_word...
" >&6; }
8221 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
8222 $as_echo_n "(cached
) " >&6
8224 if test -n "$ac_ct_OTOOL64"; then
8225 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8227 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8231 test -z "$as_dir" && as_dir=.
8232 for ac_exec_ext in '' $ac_executable_extensions; do
8233 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8234 ac_cv_prog_ac_ct_OTOOL64="otool64
"
8235 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8244 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8245 if test -n "$ac_ct_OTOOL64"; then
8246 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL64" >&5
8247 $as_echo "$ac_ct_OTOOL64" >&6; }
8249 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8250 $as_echo "no
" >&6; }
8253 if test "x
$ac_ct_OTOOL64" = x; then
8256 case $cross_compiling:$ac_tool_warned in
8258 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8259 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8260 ac_tool_warned=yes ;;
8262 OTOOL64=$ac_ct_OTOOL64
8265 OTOOL64="$ac_cv_prog_OTOOL64"
8294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -single_module linker flag
" >&5
8295 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
8296 if ${lt_cv_apple_cc_single_mod+:} false; then :
8297 $as_echo_n "(cached
) " >&6
8299 lt_cv_apple_cc_single_mod=no
8300 if test -z "${LT_MULTI_MODULE}"; then
8301 # By default we will add the -single_module flag. You can override
8302 # by either setting the environment variable LT_MULTI_MODULE
8303 # non-empty at configure time, or by adding -multi_module to the
8305 rm -rf libconftest.dylib*
8306 echo "int foo
(void
){return 1;}" > conftest.c
8307 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8308 -dynamiclib -Wl,-single_module conftest.c
" >&5
8309 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8310 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8312 # If there is a non-empty error log, and "single_module
"
8313 # appears in it, assume the flag caused a linker warning
8314 if test -s conftest.err && $GREP single_module conftest.err; then
8315 cat conftest.err >&5
8316 # Otherwise, if the output was created with a 0 exit code from
8317 # the compiler, it worked.
8318 elif test -f libconftest.dylib && test $_lt_result -eq 0; then
8319 lt_cv_apple_cc_single_mod=yes
8321 cat conftest.err >&5
8323 rm -rf libconftest.dylib*
8327 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_apple_cc_single_mod" >&5
8328 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -exported_symbols_list linker flag
" >&5
8331 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
8332 if ${lt_cv_ld_exported_symbols_list+:} false; then :
8333 $as_echo_n "(cached
) " >&6
8335 lt_cv_ld_exported_symbols_list=no
8336 save_LDFLAGS=$LDFLAGS
8337 echo "_main
" > conftest.sym
8338 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
8339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8340 /* end confdefs.h. */
8350 if ac_fn_c_try_link "$LINENO"; then :
8351 lt_cv_ld_exported_symbols_list=yes
8353 lt_cv_ld_exported_symbols_list=no
8355 rm -f core conftest.err conftest.$ac_objext \
8356 conftest$ac_exeext conftest.$ac_ext
8357 LDFLAGS="$save_LDFLAGS"
8360 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_exported_symbols_list" >&5
8361 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -force_load linker flag
" >&5
8364 $as_echo_n "checking
for -force_load linker flag...
" >&6; }
8365 if ${lt_cv_ld_force_load+:} false; then :
8366 $as_echo_n "(cached
) " >&6
8368 lt_cv_ld_force_load=no
8369 cat > conftest.c << _LT_EOF
8370 int forced_loaded() { return 2;}
8372 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c
" >&5
8373 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8374 echo "$AR cru libconftest.a conftest.o
" >&5
8375 $AR cru libconftest.a conftest.o 2>&5
8376 echo "$RANLIB libconftest.a
" >&5
8377 $RANLIB libconftest.a 2>&5
8378 cat > conftest.c << _LT_EOF
8379 int main() { return 0;}
8381 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
" >&5
8382 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8384 if test -s conftest.err && $GREP force_load conftest.err; then
8385 cat conftest.err >&5
8386 elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
8387 lt_cv_ld_force_load=yes
8389 cat conftest.err >&5
8391 rm -f conftest.err libconftest.a conftest conftest.c
8392 rm -rf conftest.dSYM
8395 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_force_load" >&5
8396 $as_echo "$lt_cv_ld_force_load" >&6; }
8398 rhapsody* | darwin1.[012])
8399 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
8401 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8402 darwin*) # darwin 5.x on
8403 # if running on 10.5 or later, the deployment target defaults
8404 # to the OS version, if on x86, and 10.4, the deployment
8405 # target defaults to 10.4. Don't you love it?
8406 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8407 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8408 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8410 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8412 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8416 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8417 _lt_dar_single_mod='$single_module'
8419 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8420 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8422 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8424 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no
"; then
8425 _lt_dsymutil='~$DSYMUTIL $lib || :'
8433 ac_cpp='$CPP $CPPFLAGS'
8434 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8435 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8436 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor
" >&5
8438 $as_echo_n "checking how to run the C preprocessor...
" >&6; }
8439 # On Suns, sometimes $CPP names a directory.
8440 if test -n "$CPP" && test -d "$CPP"; then
8443 if test -z "$CPP"; then
8444 if ${ac_cv_prog_CPP+:} false; then :
8445 $as_echo_n "(cached
) " >&6
8447 # Double quotes because CPP needs to be expanded
8448 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
8451 for ac_c_preproc_warn_flag in '' yes
8453 # Use a header file that comes with gcc, so configuring glibc
8454 # with a fresh cross-compiler works.
8455 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8456 # <limits.h> exists even on freestanding compilers.
8457 # On the NeXT, cc -E runs the code through the compiler's parser,
8458 # not just through cpp. "Syntax error
" is here to catch this case.
8459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8460 /* end confdefs.h. */
8462 # include <limits.h>
8464 # include <assert.h>
8468 if ac_fn_c_try_cpp "$LINENO"; then :
8471 # Broken: fails on valid input.
8474 rm -f conftest.err conftest.i conftest.$ac_ext
8476 # OK, works on sane cases. Now check whether nonexistent headers
8477 # can be detected and how.
8478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8479 /* end confdefs.h. */
8480 #include <ac_nonexistent.h>
8482 if ac_fn_c_try_cpp "$LINENO"; then :
8483 # Broken: success on invalid input.
8486 # Passes both tests.
8490 rm -f conftest.err conftest.i conftest.$ac_ext
8493 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8494 rm -f conftest.i conftest.err conftest.$ac_ext
8495 if $ac_preproc_ok; then :
8507 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CPP" >&5
8508 $as_echo "$CPP" >&6; }
8510 for ac_c_preproc_warn_flag in '' yes
8512 # Use a header file that comes with gcc, so configuring glibc
8513 # with a fresh cross-compiler works.
8514 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8515 # <limits.h> exists even on freestanding compilers.
8516 # On the NeXT, cc -E runs the code through the compiler's parser,
8517 # not just through cpp. "Syntax error
" is here to catch this case.
8518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8519 /* end confdefs.h. */
8521 # include <limits.h>
8523 # include <assert.h>
8527 if ac_fn_c_try_cpp "$LINENO"; then :
8530 # Broken: fails on valid input.
8533 rm -f conftest.err conftest.i conftest.$ac_ext
8535 # OK, works on sane cases. Now check whether nonexistent headers
8536 # can be detected and how.
8537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8538 /* end confdefs.h. */
8539 #include <ac_nonexistent.h>
8541 if ac_fn_c_try_cpp "$LINENO"; then :
8542 # Broken: success on invalid input.
8545 # Passes both tests.
8549 rm -f conftest.err conftest.i conftest.$ac_ext
8552 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8553 rm -f conftest.i conftest.err conftest.$ac_ext
8554 if $ac_preproc_ok; then :
8557 { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
8558 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8559 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
8560 See \`config.log' for more details
" "$LINENO" 5; }
8564 ac_cpp='$CPP $CPPFLAGS'
8565 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8566 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8567 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ANSI C header files
" >&5
8571 $as_echo_n "checking
for ANSI C header files...
" >&6; }
8572 if ${ac_cv_header_stdc+:} false; then :
8573 $as_echo_n "(cached
) " >&6
8575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8576 /* end confdefs.h. */
8590 if ac_fn_c_try_compile "$LINENO"; then :
8591 ac_cv_header_stdc=yes
8593 ac_cv_header_stdc=no
8595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8597 if test $ac_cv_header_stdc = yes; then
8598 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8600 /* end confdefs.h. */
8604 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
8605 $EGREP "memchr
" >/dev/null 2>&1; then :
8608 ac_cv_header_stdc=no
8614 if test $ac_cv_header_stdc = yes; then
8615 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8617 /* end confdefs.h. */
8621 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
8622 $EGREP "free
" >/dev/null 2>&1; then :
8625 ac_cv_header_stdc=no
8631 if test $ac_cv_header_stdc = yes; then
8632 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8633 if test "$cross_compiling" = yes; then :
8636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8637 /* end confdefs.h. */
8640 #if ((' ' & 0x0FF) == 0x020)
8641 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8642 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8644 # define ISLOWER(c) \
8645 (('a' <= (c) && (c) <= 'i') \
8646 || ('j' <= (c) && (c) <= 'r') \
8647 || ('s' <= (c) && (c) <= 'z'))
8648 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8651 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8656 for (i = 0; i < 256; i++)
8657 if (XOR (islower (i), ISLOWER (i))
8658 || toupper (i) != TOUPPER (i))
8663 if ac_fn_c_try_run "$LINENO"; then :
8666 ac_cv_header_stdc=no
8668 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8669 conftest.$ac_objext conftest.beam conftest.$ac_ext
8674 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_header_stdc" >&5
8675 $as_echo "$ac_cv_header_stdc" >&6; }
8676 if test $ac_cv_header_stdc = yes; then
8678 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
8682 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
8683 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
8684 inttypes.h stdint.h unistd.h
8686 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8687 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8689 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
8690 cat >>confdefs.h
<<_ACEOF
8691 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8699 for ac_header
in dlfcn.h
8701 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8703 if test "x$ac_cv_header_dlfcn_h" = xyes
; then :
8704 cat >>confdefs.h
<<_ACEOF
8705 #define HAVE_DLFCN_H 1
8715 func_stripname_cnf
()
8718 .
*) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
8719 *) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
8721 } # func_stripname_cnf
8728 # Check whether --enable-static was given.
8729 if test "${enable_static+set}" = set; then :
8730 enableval
=$enable_static; p
=${PACKAGE-default}
8732 yes) enable_static
=yes ;;
8733 no
) enable_static
=no
;;
8736 # Look at the argument we got. We use all the common list separators.
8737 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8738 for pkg
in $enableval; do
8740 if test "X$pkg" = "X$p"; then
8766 # Check whether --enable-shared was given.
8767 if test "${enable_shared+set}" = set; then :
8768 enableval
=$enable_shared; p
=${PACKAGE-default}
8770 yes) enable_shared
=yes ;;
8771 no
) enable_shared
=no
;;
8774 # Look at the argument we got. We use all the common list separators.
8775 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8776 for pkg
in $enableval; do
8778 if test "X$pkg" = "X$p"; then
8799 # Check whether --with-pic was given.
8800 if test "${with_pic+set}" = set; then :
8801 withval
=$with_pic; lt_p
=${PACKAGE-default}
8803 yes|no
) pic_mode
=$withval ;;
8806 # Look at the argument we got. We use all the common list separators.
8807 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8808 for lt_pkg
in $withval; do
8810 if test "X$lt_pkg" = "X$lt_p"; then
8822 test -z "$pic_mode" && pic_mode
=default
8830 # Check whether --enable-fast-install was given.
8831 if test "${enable_fast_install+set}" = set; then :
8832 enableval
=$enable_fast_install; p
=${PACKAGE-default}
8834 yes) enable_fast_install
=yes ;;
8835 no
) enable_fast_install
=no
;;
8837 enable_fast_install
=no
8838 # Look at the argument we got. We use all the common list separators.
8839 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8840 for pkg
in $enableval; do
8842 if test "X$pkg" = "X$p"; then
8843 enable_fast_install
=yes
8850 enable_fast_install
=yes
8863 # This can be used to rebuild libtool when needed
8864 LIBTOOL_DEPS
="$ltmain"
8866 # Always use our own libtool.
8867 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
8898 test -z "$LN_S" && LN_S
="ln -s"
8913 if test -n "${ZSH_VERSION+set}" ; then
8914 setopt NO_GLOB_SUBST
8917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8918 $as_echo_n "checking for objdir... " >&6; }
8919 if ${lt_cv_objdir+:} false
; then :
8920 $as_echo_n "(cached) " >&6
8922 rm -f .libs
2>/dev
/null
8923 mkdir .libs
2>/dev
/null
8924 if test -d .libs
; then
8927 # MS-DOS does not allow filenames that begin with a dot.
8930 rmdir .libs
2>/dev
/null
8932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8933 $as_echo "$lt_cv_objdir" >&6; }
8934 objdir
=$lt_cv_objdir
8940 cat >>confdefs.h
<<_ACEOF
8941 #define LT_OBJDIR "$lt_cv_objdir/"
8949 # AIX sometimes has problems with the GCC collect2 program. For some
8950 # reason, if we set the COLLECT_NAMES environment variable, the problems
8951 # vanish in a puff of smoke.
8952 if test "X${COLLECT_NAMES+set}" != Xset
; then
8954 export COLLECT_NAMES
8961 can_build_shared
=yes
8963 # All known linkers require a `.a' archive for static linking (except MSVC,
8964 # which needs '.lib').
8967 with_gnu_ld
="$lt_cv_prog_gnu_ld"
8970 old_CFLAGS
="$CFLAGS"
8972 # Set sane defaults for various variables
8973 test -z "$CC" && CC
=cc
8974 test -z "$LTCC" && LTCC
=$CC
8975 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
8976 test -z "$LD" && LD
=ld
8977 test -z "$ac_objext" && ac_objext
=o
8979 for cc_temp
in $compiler""; do
8981 compile
| *[\\/]compile
| ccache
| *[\\/]ccache
) ;;
8982 distcc
| *[\\/]distcc
| purify
| *[\\/]purify
) ;;
8987 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8990 # Only perform the check for file, if the check method requires it
8991 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
8992 case $deplibs_check_method in
8994 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8996 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8997 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
8998 $as_echo_n "(cached) " >&6
9002 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
9005 lt_save_MAGIC_CMD
="$MAGIC_CMD"
9006 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
9007 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
9008 for ac_dir
in $ac_dummy; do
9010 test -z "$ac_dir" && ac_dir
=.
9011 if test -f $ac_dir/${ac_tool_prefix}file; then
9012 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
9013 if test -n "$file_magic_test_file"; then
9014 case $deplibs_check_method in
9016 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9017 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
9018 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null
|
9019 $EGREP "$file_magic_regex" > /dev
/null
; then
9024 *** Warning: the command libtool uses to detect shared libraries,
9025 *** $file_magic_cmd, produces output that libtool cannot recognize.
9026 *** The result is that libtool may fail to recognize shared libraries
9027 *** as such. This will affect the creation of libtool libraries that
9028 *** depend on shared libraries, but programs linked with such libtool
9029 *** libraries will work regardless of this problem. Nevertheless, you
9030 *** may want to report the problem to your system manager and/or to
9031 *** bug-libtool@gnu.org
9041 MAGIC_CMD
="$lt_save_MAGIC_CMD"
9046 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
9047 if test -n "$MAGIC_CMD"; then
9048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9049 $as_echo "$MAGIC_CMD" >&6; }
9051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9052 $as_echo "no" >&6; }
9059 if test -z "$lt_cv_path_MAGIC_CMD"; then
9060 if test -n "$ac_tool_prefix"; then
9061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
9062 $as_echo_n "checking for file... " >&6; }
9063 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
9064 $as_echo_n "(cached) " >&6
9068 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
9071 lt_save_MAGIC_CMD
="$MAGIC_CMD"
9072 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
9073 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
9074 for ac_dir
in $ac_dummy; do
9076 test -z "$ac_dir" && ac_dir
=.
9077 if test -f $ac_dir/file; then
9078 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
9079 if test -n "$file_magic_test_file"; then
9080 case $deplibs_check_method in
9082 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9083 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
9084 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null
|
9085 $EGREP "$file_magic_regex" > /dev
/null
; then
9090 *** Warning: the command libtool uses to detect shared libraries,
9091 *** $file_magic_cmd, produces output that libtool cannot recognize.
9092 *** The result is that libtool may fail to recognize shared libraries
9093 *** as such. This will affect the creation of libtool libraries that
9094 *** depend on shared libraries, but programs linked with such libtool
9095 *** libraries will work regardless of this problem. Nevertheless, you
9096 *** may want to report the problem to your system manager and/or to
9097 *** bug-libtool@gnu.org
9107 MAGIC_CMD
="$lt_save_MAGIC_CMD"
9112 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
9113 if test -n "$MAGIC_CMD"; then
9114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9115 $as_echo "$MAGIC_CMD" >&6; }
9117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9118 $as_echo "no" >&6; }
9131 # Use C for the default configuration in the libtool script
9135 ac_cpp
='$CPP $CPPFLAGS'
9136 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9137 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9138 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
9141 # Source file extension for C test sources.
9144 # Object file extension for compiled C test sources.
9148 # Code to be used in simple compile tests
9149 lt_simple_compile_test_code
="int some_variable = 0;"
9151 # Code to be used in simple link tests
9152 lt_simple_link_test_code
='int main(){return(0);}'
9160 # If no C compiler was specified, use CC.
9163 # If no C compiler flags were specified, use CFLAGS.
9164 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
9166 # Allow CC to be a program name with arguments.
9169 # Save the default compiler, since it gets overwritten when the other
9170 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9171 compiler_DEFAULT
=$CC
9173 # save warnings/boilerplate of simple test code
9174 ac_outfile
=conftest.
$ac_objext
9175 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
9176 eval "$ac_compile" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
9177 _lt_compiler_boilerplate
=`cat conftest.err`
9180 ac_outfile
=conftest.
$ac_objext
9181 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
9182 eval "$ac_link" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
9183 _lt_linker_boilerplate
=`cat conftest.err`
9188 ## There is no encapsulation within the following macros, do not change
9189 ## the running order or otherwise move them around unless you know exactly
9190 ## what you are doing...
9191 if test -n "$compiler"; then
9193 lt_prog_compiler_no_builtin_flag
=
9195 if test "$GCC" = yes; then
9196 case $cc_basename in
9198 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
9200 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
9203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9204 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9205 if ${lt_cv_prog_compiler_rtti_exceptions+:} false
; then :
9206 $as_echo_n "(cached) " >&6
9208 lt_cv_prog_compiler_rtti_exceptions
=no
9209 ac_outfile
=conftest.
$ac_objext
9210 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9211 lt_compiler_flag
="-fno-rtti -fno-exceptions"
9212 # Insert the option either (1) after the last *FLAGS variable, or
9213 # (2) before a word containing "conftest.", or (3) at the end.
9214 # Note that $ac_compile itself does not contain backslashes and begins
9215 # with a dollar sign (not a hyphen), so the echo should work correctly.
9216 # The option is referenced via a variable to avoid confusing sed.
9217 lt_compile
=`echo "$ac_compile" | $SED \
9218 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9219 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9220 -e 's:$: $lt_compiler_flag:'`
9221 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9222 (eval "$lt_compile" 2>conftest.err
)
9224 cat conftest.err
>&5
9225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9226 if (exit $ac_status) && test -s "$ac_outfile"; then
9227 # The compiler can only warn and ignore the option if not recognized
9228 # So say no if there are warnings other than the usual output.
9229 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9230 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9231 if test ! -s conftest.er2
|| diff conftest.exp conftest.er2
>/dev
/null
; then
9232 lt_cv_prog_compiler_rtti_exceptions
=yes
9238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9239 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9241 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
9242 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9254 lt_prog_compiler_wl
=
9255 lt_prog_compiler_pic
=
9256 lt_prog_compiler_static
=
9259 if test "$GCC" = yes; then
9260 lt_prog_compiler_wl
='-Wl,'
9261 lt_prog_compiler_static
='-static'
9265 # All AIX code is PIC.
9266 if test "$host_cpu" = ia64
; then
9267 # AIX 5 now supports IA64 processor
9268 lt_prog_compiler_static
='-Bstatic'
9275 # see comment about AmigaOS4 .so support
9276 lt_prog_compiler_pic
='-fPIC'
9279 # FIXME: we need at least 68020 code to build shared libraries, but
9280 # adding the `-m68020' flag to GCC prevents building anything better,
9282 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
9287 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
9288 # PIC is the default for these OSes.
9291 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
9292 # This hack is so that the source file can tell whether it is being
9293 # built for inclusion in a dll (and should export symbols for example).
9294 # Although the cygwin gcc ignores -fPIC, still need this for old-style
9295 # (--disable-auto-import) libraries
9296 lt_prog_compiler_pic
='-DDLL_EXPORT'
9299 darwin
* | rhapsody
*)
9300 # PIC is the default on this platform
9301 # Common symbols not allowed in MH_DYLIB files
9302 lt_prog_compiler_pic
='-fno-common'
9306 # PIC is the default for Haiku.
9307 # The "-static" flag exists, but is broken.
9308 lt_prog_compiler_static
=
9312 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9313 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
9314 # sets the default TLS model and affects inlining.
9320 lt_prog_compiler_pic
='-fPIC'
9326 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9327 # Instead, we relocate shared libraries at runtime.
9331 # Just because we use GCC doesn't mean we suddenly get shared libraries
9332 # on systems that don't support them.
9333 lt_prog_compiler_can_build_shared
=no
9338 # QNX uses GNU C++, but need to define -shared option too, otherwise
9340 lt_prog_compiler_pic
='-fPIC -shared'
9344 if test -d /usr
/nec
; then
9345 lt_prog_compiler_pic
=-Kconform_pic
9350 lt_prog_compiler_pic
='-fPIC'
9354 case $cc_basename in
9355 nvcc
*) # Cuda Compiler Driver 2.2
9356 lt_prog_compiler_wl
='-Xlinker '
9357 if test -n "$lt_prog_compiler_pic"; then
9358 lt_prog_compiler_pic
="-Xcompiler $lt_prog_compiler_pic"
9363 # PORTME Check for flag to pass linker flags through the system compiler.
9366 lt_prog_compiler_wl
='-Wl,'
9367 if test "$host_cpu" = ia64
; then
9368 # AIX 5 now supports IA64 processor
9369 lt_prog_compiler_static
='-Bstatic'
9371 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
9375 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
9376 # This hack is so that the source file can tell whether it is being
9377 # built for inclusion in a dll (and should export symbols for example).
9378 lt_prog_compiler_pic
='-DDLL_EXPORT'
9381 hpux9
* | hpux10
* | hpux11
*)
9382 lt_prog_compiler_wl
='-Wl,'
9383 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9390 lt_prog_compiler_pic
='+Z'
9393 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9394 lt_prog_compiler_static
='${wl}-a ${wl}archive'
9397 irix5
* | irix6
* | nonstopux
*)
9398 lt_prog_compiler_wl
='-Wl,'
9399 # PIC (with -KPIC) is the default.
9400 lt_prog_compiler_static
='-non_shared'
9403 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
9404 case $cc_basename in
9405 # old Intel for x86_64 which still supported -KPIC.
9407 lt_prog_compiler_wl
='-Wl,'
9408 lt_prog_compiler_pic
='-KPIC'
9409 lt_prog_compiler_static
='-static'
9411 # icc used to be incompatible with GCC.
9412 # ICC 10 doesn't accept -KPIC any more.
9414 lt_prog_compiler_wl
='-Wl,'
9415 lt_prog_compiler_pic
='-fPIC'
9416 lt_prog_compiler_static
='-static'
9418 # Lahey Fortran 8.1.
9420 lt_prog_compiler_wl
='-Wl,'
9421 lt_prog_compiler_pic
='--shared'
9422 lt_prog_compiler_static
='--static'
9425 # NAG Fortran compiler
9426 lt_prog_compiler_wl
='-Wl,-Wl,,'
9427 lt_prog_compiler_pic
='-PIC'
9428 lt_prog_compiler_static
='-Bstatic'
9430 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
9431 # Portland Group compilers (*not* the Pentium gcc compiler,
9432 # which looks to be a dead project)
9433 lt_prog_compiler_wl
='-Wl,'
9434 lt_prog_compiler_pic
='-fpic'
9435 lt_prog_compiler_static
='-Bstatic'
9438 lt_prog_compiler_wl
='-Wl,'
9439 # All Alpha code is PIC.
9440 lt_prog_compiler_static
='-non_shared'
9442 xl
* | bgxl
* | bgf
* | mpixl
*)
9443 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9444 lt_prog_compiler_wl
='-Wl,'
9445 lt_prog_compiler_pic
='-qpic'
9446 lt_prog_compiler_static
='-qstaticlink'
9449 case `$CC -V 2>&1 | sed 5q` in
9450 *Sun\ Ceres\ Fortran
* | *Sun
*Fortran
*\
[1-7].
* | *Sun
*Fortran
*\
8.
[0-3]*)
9451 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9452 lt_prog_compiler_pic
='-KPIC'
9453 lt_prog_compiler_static
='-Bstatic'
9454 lt_prog_compiler_wl
=''
9456 *Sun\ F
* | *Sun
*Fortran
*)
9457 lt_prog_compiler_pic
='-KPIC'
9458 lt_prog_compiler_static
='-Bstatic'
9459 lt_prog_compiler_wl
='-Qoption ld '
9463 lt_prog_compiler_pic
='-KPIC'
9464 lt_prog_compiler_static
='-Bstatic'
9465 lt_prog_compiler_wl
='-Wl,'
9467 *Intel
*\
[CF
]*Compiler
*)
9468 lt_prog_compiler_wl
='-Wl,'
9469 lt_prog_compiler_pic
='-fPIC'
9470 lt_prog_compiler_static
='-static'
9473 lt_prog_compiler_wl
='-Wl,'
9474 lt_prog_compiler_pic
='-fpic'
9475 lt_prog_compiler_static
='-Bstatic'
9483 lt_prog_compiler_pic
='-KPIC'
9484 lt_prog_compiler_static
='-Bstatic'
9488 # QNX uses GNU C++, but need to define -shared option too, otherwise
9490 lt_prog_compiler_pic
='-fPIC -shared'
9493 osf3
* | osf4
* | osf5
*)
9494 lt_prog_compiler_wl
='-Wl,'
9495 # All OSF/1 code is PIC.
9496 lt_prog_compiler_static
='-non_shared'
9500 lt_prog_compiler_static
='-non_shared'
9504 lt_prog_compiler_pic
='-KPIC'
9505 lt_prog_compiler_static
='-Bstatic'
9506 case $cc_basename in
9507 f77
* | f90
* | f95
* | sunf77
* | sunf90
* | sunf95
*)
9508 lt_prog_compiler_wl
='-Qoption ld ';;
9510 lt_prog_compiler_wl
='-Wl,';;
9515 lt_prog_compiler_wl
='-Qoption ld '
9516 lt_prog_compiler_pic
='-PIC'
9517 lt_prog_compiler_static
='-Bstatic'
9520 sysv4
| sysv4.2uw2
* | sysv4.3
*)
9521 lt_prog_compiler_wl
='-Wl,'
9522 lt_prog_compiler_pic
='-KPIC'
9523 lt_prog_compiler_static
='-Bstatic'
9527 if test -d /usr
/nec
;then
9528 lt_prog_compiler_pic
='-Kconform_pic'
9529 lt_prog_compiler_static
='-Bstatic'
9533 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
9534 lt_prog_compiler_wl
='-Wl,'
9535 lt_prog_compiler_pic
='-KPIC'
9536 lt_prog_compiler_static
='-Bstatic'
9540 lt_prog_compiler_wl
='-Wl,'
9541 lt_prog_compiler_can_build_shared
=no
9545 lt_prog_compiler_pic
='-pic'
9546 lt_prog_compiler_static
='-Bstatic'
9550 lt_prog_compiler_can_build_shared
=no
9556 # For platforms which do not support PIC, -DPIC is meaningless:
9558 lt_prog_compiler_pic
=
9561 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
9565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9566 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9567 if ${lt_cv_prog_compiler_pic+:} false
; then :
9568 $as_echo_n "(cached) " >&6
9570 lt_cv_prog_compiler_pic
=$lt_prog_compiler_pic
9572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
9573 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
9574 lt_prog_compiler_pic
=$lt_cv_prog_compiler_pic
9577 # Check to make sure the PIC flag actually works.
9579 if test -n "$lt_prog_compiler_pic"; then
9580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9581 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9582 if ${lt_cv_prog_compiler_pic_works+:} false
; then :
9583 $as_echo_n "(cached) " >&6
9585 lt_cv_prog_compiler_pic_works
=no
9586 ac_outfile
=conftest.
$ac_objext
9587 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9588 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
9589 # Insert the option either (1) after the last *FLAGS variable, or
9590 # (2) before a word containing "conftest.", or (3) at the end.
9591 # Note that $ac_compile itself does not contain backslashes and begins
9592 # with a dollar sign (not a hyphen), so the echo should work correctly.
9593 # The option is referenced via a variable to avoid confusing sed.
9594 lt_compile
=`echo "$ac_compile" | $SED \
9595 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9596 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9597 -e 's:$: $lt_compiler_flag:'`
9598 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9599 (eval "$lt_compile" 2>conftest.err
)
9601 cat conftest.err
>&5
9602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9603 if (exit $ac_status) && test -s "$ac_outfile"; then
9604 # The compiler can only warn and ignore the option if not recognized
9605 # So say no if there are warnings other than the usual output.
9606 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9607 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9608 if test ! -s conftest.er2
|| diff conftest.exp conftest.er2
>/dev
/null
; then
9609 lt_cv_prog_compiler_pic_works
=yes
9615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9616 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9618 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
9619 case $lt_prog_compiler_pic in
9621 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
9624 lt_prog_compiler_pic
=
9625 lt_prog_compiler_can_build_shared
=no
9641 # Check to make sure the static flag actually works.
9643 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
9644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9645 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9646 if ${lt_cv_prog_compiler_static_works+:} false
; then :
9647 $as_echo_n "(cached) " >&6
9649 lt_cv_prog_compiler_static_works
=no
9650 save_LDFLAGS
="$LDFLAGS"
9651 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
9652 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9653 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9654 # The linker can only warn and ignore the option if not recognized
9655 # So say no if there are warnings
9656 if test -s conftest.err
; then
9657 # Append any errors to the config.log.
9658 cat conftest.err
1>&5
9659 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9660 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9661 if diff conftest.exp conftest.er2
>/dev
/null
; then
9662 lt_cv_prog_compiler_static_works
=yes
9665 lt_cv_prog_compiler_static_works
=yes
9669 LDFLAGS
="$save_LDFLAGS"
9672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9673 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9675 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
9678 lt_prog_compiler_static
=
9687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9688 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9689 if ${lt_cv_prog_compiler_c_o+:} false
; then :
9690 $as_echo_n "(cached) " >&6
9692 lt_cv_prog_compiler_c_o
=no
9693 $RM -r conftest
2>/dev
/null
9697 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9699 lt_compiler_flag
="-o out/conftest2.$ac_objext"
9700 # Insert the option either (1) after the last *FLAGS variable, or
9701 # (2) before a word containing "conftest.", or (3) at the end.
9702 # Note that $ac_compile itself does not contain backslashes and begins
9703 # with a dollar sign (not a hyphen), so the echo should work correctly.
9704 lt_compile
=`echo "$ac_compile" | $SED \
9705 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9706 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9707 -e 's:$: $lt_compiler_flag:'`
9708 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9709 (eval "$lt_compile" 2>out
/conftest.err
)
9711 cat out
/conftest.err
>&5
9712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9713 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
9715 # The compiler can only warn and ignore the option if not recognized
9716 # So say no if there are warnings
9717 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out
/conftest.exp
9718 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
9719 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
9720 lt_cv_prog_compiler_c_o
=yes
9725 # SGI C++ compiler will create directory out/ii_files/ for
9726 # template instantiation
9727 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
9728 $RM out
/* && rmdir out
9734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9735 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9743 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9744 if ${lt_cv_prog_compiler_c_o+:} false
; then :
9745 $as_echo_n "(cached) " >&6
9747 lt_cv_prog_compiler_c_o
=no
9748 $RM -r conftest
2>/dev
/null
9752 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9754 lt_compiler_flag
="-o out/conftest2.$ac_objext"
9755 # Insert the option either (1) after the last *FLAGS variable, or
9756 # (2) before a word containing "conftest.", or (3) at the end.
9757 # Note that $ac_compile itself does not contain backslashes and begins
9758 # with a dollar sign (not a hyphen), so the echo should work correctly.
9759 lt_compile
=`echo "$ac_compile" | $SED \
9760 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9761 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9762 -e 's:$: $lt_compiler_flag:'`
9763 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9764 (eval "$lt_compile" 2>out
/conftest.err
)
9766 cat out
/conftest.err
>&5
9767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9768 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
9770 # The compiler can only warn and ignore the option if not recognized
9771 # So say no if there are warnings
9772 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out
/conftest.exp
9773 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
9774 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
9775 lt_cv_prog_compiler_c_o
=yes
9780 # SGI C++ compiler will create directory out/ii_files/ for
9781 # template instantiation
9782 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
9783 $RM out
/* && rmdir out
9789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9790 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9795 hard_links
="nottested"
9796 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
9797 # do not overwrite the value of need_locks provided by the user
9798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9799 $as_echo_n "checking if we can lock with hard links... " >&6; }
9802 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9804 ln conftest.a conftest.b
2>&5 || hard_links
=no
9805 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9807 $as_echo "$hard_links" >&6; }
9808 if test "$hard_links" = no
; then
9809 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9810 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9823 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9826 allow_undefined_flag
=
9827 always_export_symbols
=no
9829 archive_expsym_cmds
=
9830 compiler_needs_object
=no
9831 enable_shared_with_static_runtimes
=no
9832 export_dynamic_flag_spec
=
9833 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9834 hardcode_automatic
=no
9836 hardcode_direct_absolute
=no
9837 hardcode_libdir_flag_spec
=
9838 hardcode_libdir_separator
=
9840 hardcode_shlibpath_var
=unsupported
9842 link_all_deplibs
=unknown
9845 old_archive_from_new_cmds
=
9846 old_archive_from_expsyms_cmds
=
9847 thread_safe_flag_spec
=
9848 whole_archive_flag_spec
=
9849 # include_expsyms should be a list of space-separated symbols to be *always*
9850 # included in the symbol list
9852 # exclude_expsyms can be an extended regexp of symbols to exclude
9853 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9854 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9855 # as well as any symbol that contains `d'.
9856 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9857 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9858 # platforms (ab)use it in PIC code, but their linkers get confused if
9859 # the symbol is explicitly referenced. Since portable code cannot
9860 # rely on this symbol name, it's probably fine to never include it in
9861 # preloaded symbol tables.
9862 # Exclude shared library initialization/finalization symbols.
9863 extract_expsyms_cmds
=
9866 cygwin
* | mingw
* | pw32
* | cegcc
*)
9867 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9868 # When not using gcc, we currently assume that we are using
9869 # Microsoft Visual C++.
9870 if test "$GCC" != yes; then
9875 # we just hope/assume this is gcc and not c89 (= MSVC++)
9885 # On some targets, GNU ld is compatible enough with the native linker
9886 # that we're better off using the native interface for both.
9887 lt_use_gnu_ld_interface
=no
9888 if test "$with_gnu_ld" = yes; then
9891 # The AIX port of GNU ld has always aspired to compatibility
9892 # with the native linker. However, as the warning in the GNU ld
9893 # block says, versions before 2.19.5* couldn't really create working
9894 # shared libraries, regardless of the interface used.
9895 case `$LD -v 2>&1` in
9896 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
9897 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
9898 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
9900 lt_use_gnu_ld_interface
=yes
9905 lt_use_gnu_ld_interface
=yes
9910 if test "$lt_use_gnu_ld_interface" = yes; then
9911 # If archive_cmds runs LD, not CC, wlarc should be empty
9914 # Set some defaults for GNU ld with shared library support. These
9915 # are reset later if shared libraries are not supported. Putting them
9916 # here allows them to be overridden if necessary.
9917 runpath_var
=LD_RUN_PATH
9918 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9919 export_dynamic_flag_spec
='${wl}--export-dynamic'
9920 # ancient GNU ld didn't support --whole-archive et. al.
9921 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev
/null
; then
9922 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9924 whole_archive_flag_spec
=
9926 supports_anon_versioning
=no
9927 case `$LD -v 2>&1` in
9928 *GNU\ gold
*) supports_anon_versioning
=yes ;;
9929 *\
[01].
* | *\
2.
[0-9].
* | *\
2.10.
*) ;; # catch versions < 2.11
9930 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
9931 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
9932 *\
2.11.
*) ;; # other 2.11 versions
9933 *) supports_anon_versioning
=yes ;;
9936 # See if GNU ld supports shared libraries.
9939 # On AIX/PPC, the GNU linker is very broken
9940 if test "$host_cpu" != ia64
; then
9944 *** Warning: the GNU linker, at least up to release 2.19, is reported
9945 *** to be unable to reliably create shared libraries on AIX.
9946 *** Therefore, libtool is disabling shared libraries support. If you
9947 *** really care for shared libraries, you may want to install binutils
9948 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9949 *** You will then need to restart the configuration process.
9958 # see comment about AmigaOS4 .so support
9959 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9960 archive_expsym_cmds
=''
9963 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)'
9964 hardcode_libdir_flag_spec
='-L$libdir'
9965 hardcode_minus_L
=yes
9971 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
9972 allow_undefined_flag
=unsupported
9973 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9974 # support --undefined. This deserves some investigation. FIXME
9975 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9981 cygwin
* | mingw
* | pw32
* | cegcc
*)
9982 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9983 # as there is no search path for DLLs.
9984 hardcode_libdir_flag_spec
='-L$libdir'
9985 export_dynamic_flag_spec
='${wl}--export-all-symbols'
9986 allow_undefined_flag
=unsupported
9987 always_export_symbols
=no
9988 enable_shared_with_static_runtimes
=yes
9989 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'
9990 exclude_expsyms
='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9992 if $LD --help 2>&1 | $GREP 'auto-import' > /dev
/null
; then
9993 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9994 # If the export-symbols file already is a .def file (1st line
9995 # is EXPORTS), use it as is; otherwise, prepend...
9996 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9997 cp $export_symbols $output_objdir/$soname.def;
9999 echo EXPORTS > $output_objdir/$soname.def;
10000 cat $export_symbols >> $output_objdir/$soname.def;
10002 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10009 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10010 link_all_deplibs
=yes
10015 hardcode_shlibpath_var
=no
10016 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10017 export_dynamic_flag_spec
='${wl}-E'
10018 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
10019 # Instead, shared libraries are loaded at an image base (0x10000000 by
10020 # default) and relocated if they conflict, which is a slow very memory
10021 # consuming and fragmenting process. To avoid this, we pick a random,
10022 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
10023 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
10024 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10025 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'
10028 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
10030 if test "$host_os" = linux
-dietlibc; then
10031 case $cc_basename in
10032 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
10035 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev
/null \
10036 && test "$tmp_diet" = no
10038 tmp_addflag
=' $pic_flag'
10039 tmp_sharedflag
='-shared'
10040 case $cc_basename,$host_cpu in
10041 pgcc
*) # Portland Group C compiler
10042 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'
10043 tmp_addflag
=' $pic_flag'
10045 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
10046 # Portland Group f77 and f90 compilers
10047 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'
10048 tmp_addflag
=' $pic_flag -Mnomain' ;;
10049 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
10050 tmp_addflag
=' -i_dynamic' ;;
10051 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
10052 tmp_addflag
=' -i_dynamic -nofor_main' ;;
10053 ifc
* | ifort
*) # Intel Fortran compiler
10054 tmp_addflag
=' -nofor_main' ;;
10055 lf95
*) # Lahey Fortran 8.1
10056 whole_archive_flag_spec
=
10057 tmp_sharedflag
='--shared' ;;
10058 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
10059 tmp_sharedflag
='-qmkshrobj'
10061 nvcc
*) # Cuda Compiler Driver 2.2
10062 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'
10063 compiler_needs_object
=yes
10066 case `$CC -V 2>&1 | sed 5q` in
10067 *Sun\ C
*) # Sun C 5.9
10068 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'
10069 compiler_needs_object
=yes
10070 tmp_sharedflag
='-G' ;;
10071 *Sun\ F
*) # Sun Fortran 8.3
10072 tmp_sharedflag
='-G' ;;
10074 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10076 if test "x$supports_anon_versioning" = xyes
; then
10077 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
10078 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10079 echo "local: *; };" >> $output_objdir/$libname.ver~
10080 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
10083 case $cc_basename in
10084 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
10085 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
10086 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
10087 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10088 archive_cmds
='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
10089 if test "x$supports_anon_versioning" = xyes
; then
10090 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
10091 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10092 echo "local: *; };" >> $output_objdir/$libname.ver~
10093 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
10103 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
10104 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10107 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10108 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10113 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev
/null
; then
10117 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
10118 *** create shared libraries on Solaris systems. Therefore, libtool
10119 *** is disabling shared libraries support. We urge you to upgrade GNU
10120 *** binutils to release 2.9.1 or newer. Another option is to modify
10121 *** your PATH or compiler configuration so that the native linker is
10122 *** used, and then restart.
10125 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
10126 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10127 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10133 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
10134 case `$LD -v 2>&1` in
10135 *\
[01].
* | *\
2.
[0-9].
* | *\
2.1[0-5].
*)
10139 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
10140 *** reliably create shared libraries on SCO systems. Therefore, libtool
10141 *** is disabling shared libraries support. We urge you to upgrade GNU
10142 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
10143 *** your PATH or compiler configuration so that the native linker is
10144 *** used, and then restart.
10149 # For security reasons, it is highly recommended that you always
10150 # use absolute paths for naming shared libraries, and exclude the
10151 # DT_RUNPATH tag from executables and libraries. But doing so
10152 # requires that you compile everything twice, which is a pain.
10153 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
10154 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10155 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10156 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10165 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10167 hardcode_direct
=yes
10168 hardcode_shlibpath_var
=no
10172 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
10173 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10174 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10181 if test "$ld_shlibs" = no
; then
10183 hardcode_libdir_flag_spec
=
10184 export_dynamic_flag_spec
=
10185 whole_archive_flag_spec
=
10188 # PORTME fill in a description of your system's linker (not GNU ld)
10191 allow_undefined_flag
=unsupported
10192 always_export_symbols
=yes
10193 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'
10194 # Note: this linker hardcodes the directories in LIBPATH if there
10195 # are no directories specified by -L.
10196 hardcode_minus_L
=yes
10197 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
10198 # Neither direct hardcoding nor static linking is supported with a
10200 hardcode_direct
=unsupported
10205 if test "$host_cpu" = ia64
; then
10206 # On IA64, the linker does run time linking by default, so we don't
10207 # have to do anything special.
10208 aix_use_runtimelinking
=no
10209 exp_sym_flag
='-Bexport'
10212 # If we're using GNU nm, then we don't want the "-C" option.
10213 # -C means demangle to AIX nm, but means don't demangle with GNU nm
10214 # Also, AIX nm treats weak defined symbols like other global
10215 # defined symbols, whereas GNU nm marks them as "W".
10216 if $NM -V 2>&1 | $GREP 'GNU' > /dev
/null
; then
10217 export_symbols_cmds
='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
10219 export_symbols_cmds
='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
10221 aix_use_runtimelinking
=no
10223 # Test if we are trying to use run time linking or normal
10224 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10225 # need to do runtime linking.
10226 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
10227 for ld_flag
in $LDFLAGS; do
10228 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
10229 aix_use_runtimelinking
=yes
10236 exp_sym_flag
='-bexport'
10237 no_entry_flag
='-bnoentry'
10240 # When large executables or shared objects are built, AIX ld can
10241 # have problems creating the table of contents. If linking a library
10242 # or program results in "error TOC overflow" add -mminimal-toc to
10243 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10244 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10247 hardcode_direct
=yes
10248 hardcode_direct_absolute
=yes
10249 hardcode_libdir_separator
=':'
10250 link_all_deplibs
=yes
10251 file_list_spec
='${wl}-f,'
10253 if test "$GCC" = yes; then
10254 case $host_os in aix4.
[012]|aix4.
[012].
*)
10255 # We only want to do this on AIX 4.2 and lower, the check
10256 # below for broken collect2 doesn't work under 4.3+
10257 collect2name
=`${CC} -print-prog-name=collect2`
10258 if test -f "$collect2name" &&
10259 strings "$collect2name" | $GREP resolve_lib_name
>/dev
/null
10261 # We have reworked collect2
10264 # We have old collect2
10265 hardcode_direct
=unsupported
10266 # It fails to find uninstalled libraries when the uninstalled
10267 # path is not listed in the libpath. Setting hardcode_minus_L
10268 # to unsupported forces relinking
10269 hardcode_minus_L
=yes
10270 hardcode_libdir_flag_spec
='-L$libdir'
10271 hardcode_libdir_separator
=
10275 shared_flag
='-shared'
10276 if test "$aix_use_runtimelinking" = yes; then
10277 shared_flag
="$shared_flag "'${wl}-G'
10281 if test "$host_cpu" = ia64
; then
10282 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10283 # chokes on -Wl,-G. The following line is correct:
10286 if test "$aix_use_runtimelinking" = yes; then
10287 shared_flag
='${wl}-G'
10289 shared_flag
='${wl}-bM:SRE'
10294 export_dynamic_flag_spec
='${wl}-bexpall'
10295 # It seems that -bexpall does not export symbols beginning with
10296 # underscore (_), so it is better to generate a list of symbols to export.
10297 always_export_symbols
=yes
10298 if test "$aix_use_runtimelinking" = yes; then
10299 # Warning - without using the other runtime loading flags (-brtl),
10300 # -berok will link without error, but may produce a broken library.
10301 allow_undefined_flag
='-berok'
10302 # Determine the default libpath from the value encoded in an
10303 # empty executable.
10304 if test "${lt_cv_aix_libpath+set}" = set; then
10305 aix_libpath
=$lt_cv_aix_libpath
10307 if ${lt_cv_aix_libpath_+:} false
; then :
10308 $as_echo_n "(cached) " >&6
10310 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10311 /* end confdefs.h. */
10321 if ac_fn_c_try_link
"$LINENO"; then :
10323 lt_aix_libpath_sed
='
10324 /Import File Strings/,/^$/ {
10326 s/^0 *\([^ ]*\) *$/\1/
10330 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10331 # Check for a 64-bit object if we didn't find anything.
10332 if test -z "$lt_cv_aix_libpath_"; then
10333 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10336 rm -f core conftest.err conftest.
$ac_objext \
10337 conftest
$ac_exeext conftest.
$ac_ext
10338 if test -z "$lt_cv_aix_libpath_"; then
10339 lt_cv_aix_libpath_
="/usr/lib:/lib"
10344 aix_libpath
=$lt_cv_aix_libpath_
10347 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
10348 archive_expsym_cmds
='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
10350 if test "$host_cpu" = ia64
; then
10351 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
10352 allow_undefined_flag
="-z nodefs"
10353 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"
10355 # Determine the default libpath from the value encoded in an
10356 # empty executable.
10357 if test "${lt_cv_aix_libpath+set}" = set; then
10358 aix_libpath
=$lt_cv_aix_libpath
10360 if ${lt_cv_aix_libpath_+:} false
; then :
10361 $as_echo_n "(cached) " >&6
10363 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10364 /* end confdefs.h. */
10374 if ac_fn_c_try_link
"$LINENO"; then :
10376 lt_aix_libpath_sed
='
10377 /Import File Strings/,/^$/ {
10379 s/^0 *\([^ ]*\) *$/\1/
10383 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10384 # Check for a 64-bit object if we didn't find anything.
10385 if test -z "$lt_cv_aix_libpath_"; then
10386 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10389 rm -f core conftest.err conftest.
$ac_objext \
10390 conftest
$ac_exeext conftest.
$ac_ext
10391 if test -z "$lt_cv_aix_libpath_"; then
10392 lt_cv_aix_libpath_
="/usr/lib:/lib"
10397 aix_libpath
=$lt_cv_aix_libpath_
10400 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
10401 # Warning - without using the other run time loading flags,
10402 # -berok will link without error, but may produce a broken library.
10403 no_undefined_flag
=' ${wl}-bernotok'
10404 allow_undefined_flag
=' ${wl}-berok'
10405 if test "$with_gnu_ld" = yes; then
10406 # We only use this code for GNU lds that support --whole-archive.
10407 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10409 # Exported symbols can be pulled into shared objects from archives
10410 whole_archive_flag_spec
='$convenience'
10412 archive_cmds_need_lc
=yes
10413 # This is similar to how AIX traditionally builds its shared libraries.
10414 archive_expsym_cmds
="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
10422 # see comment about AmigaOS4 .so support
10423 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10424 archive_expsym_cmds
=''
10427 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)'
10428 hardcode_libdir_flag_spec
='-L$libdir'
10429 hardcode_minus_L
=yes
10435 export_dynamic_flag_spec
=-rdynamic
10438 cygwin
* | mingw
* | pw32
* | cegcc
*)
10439 # When not using gcc, we currently assume that we are using
10440 # Microsoft Visual C++.
10441 # hardcode_libdir_flag_spec is actually meaningless, as there is
10442 # no search path for DLLs.
10443 case $cc_basename in
10446 hardcode_libdir_flag_spec
=' '
10447 allow_undefined_flag
=unsupported
10448 always_export_symbols
=yes
10450 # Tell ltmain to make .lib files, not .a files.
10452 # Tell ltmain to make .dll files, not .so files.
10454 # FIXME: Setting linknames here is a bad hack.
10455 archive_cmds
='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
10456 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10457 sed -n -e 's
/\\\\\\\
(.
*\\\\\\\
)/-link\\\
-EXPORT:\\\\\\\
1/' -e '1\\\
!p
' < $export_symbols > $output_objdir/$soname.exp;
10459 sed -e 's
/\\\\\\\
(.
*\\\\\\\
)/-link\\\
-EXPORT:\\\\\\\
1/' < $export_symbols > $output_objdir/$soname.exp;
10461 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
10463 # The linker will not automatically build a static lib if we build a DLL.
10464 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
10465 enable_shared_with_static_runtimes
=yes
10466 exclude_expsyms
='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
10467 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10469 old_postinstall_cmds
='chmod 644 $oldlib'
10470 postlink_cmds
='lt_outputfile="@OUTPUT@"~
10471 lt_tool_outputfile="@TOOL_OUTPUT@"~
10472 case $lt_outputfile in
10475 lt_outputfile="$lt_outputfile.exe"
10476 lt_tool_outputfile="$lt_tool_outputfile.exe"
10479 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
10480 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
10481 $RM "$lt_outputfile.manifest";
10485 # Assume MSVC wrapper
10486 hardcode_libdir_flag_spec
=' '
10487 allow_undefined_flag
=unsupported
10488 # Tell ltmain to make .lib files, not .a files.
10490 # Tell ltmain to make .dll files, not .so files.
10492 # FIXME: Setting linknames here is a bad hack.
10493 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10494 # The linker will automatically build a .lib file if we build a DLL.
10495 old_archive_from_new_cmds
='true'
10496 # FIXME: Should let the user specify the lib program.
10497 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
10498 enable_shared_with_static_runtimes
=yes
10503 darwin
* | rhapsody
*)
10506 archive_cmds_need_lc
=no
10508 hardcode_automatic
=yes
10509 hardcode_shlibpath_var
=unsupported
10510 if test "$lt_cv_ld_force_load" = "yes"; then
10511 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\"`'
10514 whole_archive_flag_spec
=''
10516 link_all_deplibs
=yes
10517 allow_undefined_flag
="$_lt_dar_allow_undefined"
10518 case $cc_basename in
10519 ifort
*) _lt_dar_can_shared
=yes ;;
10520 *) _lt_dar_can_shared
=$GCC ;;
10522 if test "$_lt_dar_can_shared" = "yes"; then
10523 output_verbose_link_cmd
=func_echo_all
10524 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10525 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10526 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}"
10527 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}"
10536 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10537 hardcode_libdir_flag_spec
='-L$libdir'
10538 hardcode_shlibpath_var
=no
10541 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10542 # support. Future versions do this automatically, but an explicit c++rt0.o
10543 # does not break anything, and helps significantly (at the cost of a little
10546 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10547 hardcode_libdir_flag_spec
='-R$libdir'
10548 hardcode_direct
=yes
10549 hardcode_shlibpath_var
=no
10552 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10554 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10555 hardcode_direct
=yes
10556 hardcode_minus_L
=yes
10557 hardcode_shlibpath_var
=no
10560 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10561 freebsd
* | dragonfly
*)
10562 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10563 hardcode_libdir_flag_spec
='-R$libdir'
10564 hardcode_direct
=yes
10565 hardcode_shlibpath_var
=no
10569 if test "$GCC" = yes; then
10570 archive_cmds
='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
10572 archive_cmds
='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
10574 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10575 hardcode_libdir_separator
=:
10576 hardcode_direct
=yes
10578 # hardcode_minus_L: Not really in the search PATH,
10579 # but as the default location of the library.
10580 hardcode_minus_L
=yes
10581 export_dynamic_flag_spec
='${wl}-E'
10585 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
10586 archive_cmds
='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10588 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10590 if test "$with_gnu_ld" = no
; then
10591 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10592 hardcode_libdir_separator
=:
10593 hardcode_direct
=yes
10594 hardcode_direct_absolute
=yes
10595 export_dynamic_flag_spec
='${wl}-E'
10596 # hardcode_minus_L: Not really in the search PATH,
10597 # but as the default location of the library.
10598 hardcode_minus_L
=yes
10603 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
10606 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10609 archive_cmds
='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10612 archive_cmds
='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10618 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10621 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10625 # Older versions of the 11.00 compiler do not understand -b yet
10626 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10628 $as_echo_n "checking if $CC understands -b... " >&6; }
10629 if ${lt_cv_prog_compiler__b+:} false
; then :
10630 $as_echo_n "(cached) " >&6
10632 lt_cv_prog_compiler__b
=no
10633 save_LDFLAGS
="$LDFLAGS"
10634 LDFLAGS
="$LDFLAGS -b"
10635 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
10636 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
10637 # The linker can only warn and ignore the option if not recognized
10638 # So say no if there are warnings
10639 if test -s conftest.err
; then
10640 # Append any errors to the config.log.
10641 cat conftest.err
1>&5
10642 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10643 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
10644 if diff conftest.exp conftest.er2
>/dev
/null
; then
10645 lt_cv_prog_compiler__b
=yes
10648 lt_cv_prog_compiler__b
=yes
10652 LDFLAGS
="$save_LDFLAGS"
10655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10656 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10658 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
10659 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10661 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10667 if test "$with_gnu_ld" = no
; then
10668 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10669 hardcode_libdir_separator
=:
10674 hardcode_shlibpath_var
=no
10677 hardcode_direct
=yes
10678 hardcode_direct_absolute
=yes
10679 export_dynamic_flag_spec
='${wl}-E'
10681 # hardcode_minus_L: Not really in the search PATH,
10682 # but as the default location of the library.
10683 hardcode_minus_L
=yes
10689 irix5
* | irix6
* | nonstopux
*)
10690 if test "$GCC" = yes; then
10691 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'
10692 # Try to use the -exported_symbol ld option, if it does not
10693 # work, assume that -exports_file does not work either and
10694 # implicitly export all symbols.
10695 # This should be the same for all languages, so no per-tag cache variable.
10696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
10697 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
10698 if ${lt_cv_irix_exported_symbol+:} false
; then :
10699 $as_echo_n "(cached) " >&6
10701 save_LDFLAGS
="$LDFLAGS"
10702 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10703 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10704 /* end confdefs.h. */
10705 int foo (void) { return 0; }
10707 if ac_fn_c_try_link
"$LINENO"; then :
10708 lt_cv_irix_exported_symbol
=yes
10710 lt_cv_irix_exported_symbol
=no
10712 rm -f core conftest.err conftest.
$ac_objext \
10713 conftest
$ac_exeext conftest.
$ac_ext
10714 LDFLAGS
="$save_LDFLAGS"
10716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
10717 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
10718 if test "$lt_cv_irix_exported_symbol" = yes; then
10719 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'
10722 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'
10723 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'
10725 archive_cmds_need_lc
='no'
10726 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10727 hardcode_libdir_separator
=:
10729 link_all_deplibs
=yes
10733 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
10734 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10736 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10738 hardcode_libdir_flag_spec
='-R$libdir'
10739 hardcode_direct
=yes
10740 hardcode_shlibpath_var
=no
10744 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10745 hardcode_direct
=yes
10746 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10747 hardcode_libdir_separator
=:
10748 hardcode_shlibpath_var
=no
10755 if test -f /usr
/libexec
/ld.so
; then
10756 hardcode_direct
=yes
10757 hardcode_shlibpath_var
=no
10758 hardcode_direct_absolute
=yes
10759 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10760 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10761 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10762 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10763 export_dynamic_flag_spec
='${wl}-E'
10766 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
10767 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10768 hardcode_libdir_flag_spec
='-R$libdir'
10771 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10772 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10782 hardcode_libdir_flag_spec
='-L$libdir'
10783 hardcode_minus_L
=yes
10784 allow_undefined_flag
=unsupported
10785 archive_cmds
='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
10786 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10790 if test "$GCC" = yes; then
10791 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10792 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'
10794 allow_undefined_flag
=' -expect_unresolved \*'
10795 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'
10797 archive_cmds_need_lc
='no'
10798 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10799 hardcode_libdir_separator
=:
10802 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
10803 if test "$GCC" = yes; then
10804 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10805 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'
10806 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10808 allow_undefined_flag
=' -expect_unresolved \*'
10809 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'
10810 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~
10811 $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'
10813 # Both c and cxx compiler support -rpath directly
10814 hardcode_libdir_flag_spec
='-rpath $libdir'
10816 archive_cmds_need_lc
='no'
10817 hardcode_libdir_separator
=:
10821 no_undefined_flag
=' -z defs'
10822 if test "$GCC" = yes; then
10824 archive_cmds
='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10825 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10826 $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'
10828 case `$CC -V 2>&1` in
10831 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10832 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10833 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10837 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10838 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10839 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10843 hardcode_libdir_flag_spec
='-R$libdir'
10844 hardcode_shlibpath_var
=no
10846 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
10848 # The compiler driver will combine and reorder linker options,
10849 # but understands `-z linker_flag'. GCC discards it without `$wl',
10850 # but is careful enough not to reorder.
10851 # Supported since Solaris 2.6 (maybe 2.5.1?)
10852 if test "$GCC" = yes; then
10853 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10855 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
10859 link_all_deplibs
=yes
10863 if test "x$host_vendor" = xsequent
; then
10864 # Use $CC to link under sequent, because it throws in some extra .o
10865 # files that make .init and .fini sections work.
10866 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10868 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10870 hardcode_libdir_flag_spec
='-L$libdir'
10871 hardcode_direct
=yes
10872 hardcode_minus_L
=yes
10873 hardcode_shlibpath_var
=no
10877 case $host_vendor in
10879 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10880 hardcode_direct
=yes # is this really true???
10883 ## LD is ld it makes a PLAMLIB
10884 ## CC just makes a GrossModule.
10885 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10886 reload_cmds
='$CC -r -o $output$reload_objs'
10890 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10891 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
10894 runpath_var
='LD_RUN_PATH'
10895 hardcode_shlibpath_var
=no
10899 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10900 hardcode_shlibpath_var
=no
10901 export_dynamic_flag_spec
='-Bexport'
10905 if test -d /usr
/nec
; then
10906 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10907 hardcode_shlibpath_var
=no
10908 runpath_var
=LD_RUN_PATH
10909 hardcode_runpath_var
=yes
10914 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
10915 no_undefined_flag
='${wl}-z,text'
10916 archive_cmds_need_lc
=no
10917 hardcode_shlibpath_var
=no
10918 runpath_var
='LD_RUN_PATH'
10920 if test "$GCC" = yes; then
10921 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10922 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10924 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10925 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10929 sysv5
* | sco3.2v5
* | sco5v6
*)
10930 # Note: We can NOT use -z defs as we might desire, because we do not
10931 # link with -lc, and that would cause any symbols used from libc to
10932 # always be unresolved, which means just about no library would
10933 # ever link correctly. If we're not using GNU ld we use -z text
10934 # though, which does catch some bad symbols but isn't as heavy-handed
10936 no_undefined_flag
='${wl}-z,text'
10937 allow_undefined_flag
='${wl}-z,nodefs'
10938 archive_cmds_need_lc
=no
10939 hardcode_shlibpath_var
=no
10940 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
10941 hardcode_libdir_separator
=':'
10942 link_all_deplibs
=yes
10943 export_dynamic_flag_spec
='${wl}-Bexport'
10944 runpath_var
='LD_RUN_PATH'
10946 if test "$GCC" = yes; then
10947 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10948 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10950 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10951 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10956 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10957 hardcode_libdir_flag_spec
='-L$libdir'
10958 hardcode_shlibpath_var
=no
10966 if test x
$host_vendor = xsni
; then
10968 sysv4
| sysv4.2uw2
* | sysv4.3
* | sysv5
*)
10969 export_dynamic_flag_spec
='${wl}-Blargedynsym'
10975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10976 $as_echo "$ld_shlibs" >&6; }
10977 test "$ld_shlibs" = no
&& can_build_shared
=no
10979 with_gnu_ld
=$with_gnu_ld
10996 # Do we need to explicitly link libc?
10998 case "x$archive_cmds_need_lc" in
11000 # Assume -lc should be added
11001 archive_cmds_need_lc
=yes
11003 if test "$enable_shared" = yes && test "$GCC" = yes; then
11004 case $archive_cmds in
11006 # FIXME: we may have to deal with multi-command sequences.
11009 # Test whether the compiler implicitly links with -lc since on some
11010 # systems, -lgcc has to come before -lc. If gcc already passes -lc
11011 # to ld, don't add -lc before -lgcc.
11012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
11013 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
11014 if ${lt_cv_archive_cmds_need_lc+:} false
; then :
11015 $as_echo_n "(cached) " >&6
11018 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
11020 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
11021 (eval $ac_compile) 2>&5
11023 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11024 test $ac_status = 0; } 2>conftest.err
; then
11027 libobjs
=conftest.
$ac_objext
11029 wl
=$lt_prog_compiler_wl
11030 pic_flag
=$lt_prog_compiler_pic
11036 lt_save_allow_undefined_flag
=$allow_undefined_flag
11037 allow_undefined_flag
=
11038 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
11039 (eval $archive_cmds 2\
>\
&1 \
| $GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
11041 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11042 test $ac_status = 0; }
11044 lt_cv_archive_cmds_need_lc
=no
11046 lt_cv_archive_cmds_need_lc
=yes
11048 allow_undefined_flag
=$lt_save_allow_undefined_flag
11050 cat conftest.err
1>&5
11055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
11056 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
11057 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
11215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11216 $as_echo_n "checking dynamic linker characteristics... " >&6; }
11218 if test "$GCC" = yes; then
11220 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
11221 *) lt_awk_arg
="/^libraries:/" ;;
11224 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
11225 *) lt_sed_strip_eq
="s,=/,/,g" ;;
11227 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11228 case $lt_search_path_spec in
11230 # if the path contains ";" then we assume it to be the separator
11231 # otherwise default to the standard path separator (i.e. ":") - it is
11232 # assumed that no part of a normal pathname contains ";" but that should
11233 # okay in the real world where ";" in dirpaths is itself problematic.
11234 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11237 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11240 # Ok, now we have the path, separated by spaces, we can step through it
11241 # and add multilib dir if necessary.
11242 lt_tmp_lt_search_path_spec
=
11243 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11244 for lt_sys_path
in $lt_search_path_spec; do
11245 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
11246 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
11248 test -d "$lt_sys_path" && \
11249 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
11252 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11253 BEGIN {RS=" "; FS="/|\n";} {
11256 for (lt_i = NF; lt_i > 0; lt_i--) {
11257 if ($lt_i != "" && $lt_i != ".") {
11258 if ($lt_i == "..") {
11261 if (lt_count == 0) {
11262 lt_foo="/" $lt_i lt_foo;
11269 if (lt_foo != "") { lt_freq[lt_foo]++; }
11270 if (lt_freq[lt_foo] == 1) { print lt_foo; }
11272 # AWK program above erroneously prepends '/' to C:/dos/paths
11275 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
11276 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
11278 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11280 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
11282 library_names_spec
=
11283 libname_spec
='lib$name'
11287 postuninstall_cmds
=
11291 shlibpath_overrides_runpath
=unknown
11293 dynamic_linker
="$host_os ld.so"
11294 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
11295 need_lib_prefix
=unknown
11296 hardcode_into_libs
=no
11298 # when you set need_version to no, make sure it does not cause -set_version
11299 # flags to be left without arguments
11300 need_version
=unknown
11304 version_type
=linux
# correct to gnu/linux during the next big refactor
11305 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
11306 shlibpath_var
=LIBPATH
11308 # AIX 3 has no versioning support, so we append a major version to the name.
11309 soname_spec
='${libname}${release}${shared_ext}$major'
11313 version_type
=linux
# correct to gnu/linux during the next big refactor
11316 hardcode_into_libs
=yes
11317 if test "$host_cpu" = ia64
; then
11318 # AIX 5 supports IA64
11319 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11320 shlibpath_var
=LD_LIBRARY_PATH
11322 # With GCC up to 2.95.x, collect2 would create an import file
11323 # for dependence libraries. The import file would start with
11324 # the line `#! .'. This would cause the generated library to
11325 # depend on `.', always an invalid library. This was fixed in
11326 # development snapshots of GCC prior to 3.0.
11328 aix4
| aix4.
[01] | aix4.
[01].
*)
11329 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11331 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev
/null
; then
11334 can_build_shared
=no
11338 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11339 # soname into executable. Probably we can add versioning support to
11340 # collect2, so additional links can be useful in future.
11341 if test "$aix_use_runtimelinking" = yes; then
11342 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11343 # instead of lib<name>.a to let people know that these are not
11344 # typical AIX shared libraries.
11345 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11347 # We preserve .a as extension for shared libraries through AIX4.2
11348 # and later when we are not doing run time linking.
11349 library_names_spec
='${libname}${release}.a $libname.a'
11350 soname_spec
='${libname}${release}${shared_ext}$major'
11352 shlibpath_var
=LIBPATH
11359 # Since July 2007 AmigaOS4 officially supports .so libraries.
11360 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11361 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11364 library_names_spec
='$libname.ixlibrary $libname.a'
11365 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11366 finish_eval
='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $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'
11372 library_names_spec
='${libname}${shared_ext}'
11373 dynamic_linker
="$host_os ld.so"
11374 shlibpath_var
=LIBRARY_PATH
11378 version_type
=linux
# correct to gnu/linux during the next big refactor
11380 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11381 soname_spec
='${libname}${release}${shared_ext}$major'
11382 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
11383 shlibpath_var
=LD_LIBRARY_PATH
11384 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11385 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
11386 # the default ld.so.conf also contains /usr/contrib/lib and
11387 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11388 # libtool to hard-code these into programs
11391 cygwin
* | mingw
* | pw32
* | cegcc
*)
11392 version_type
=windows
11397 case $GCC,$cc_basename in
11400 library_names_spec
='$libname.dll.a'
11401 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11402 postinstall_cmds
='base_file=`basename \${file}`~
11403 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11404 dldir=$destdir/`dirname \$dlpath`~
11405 test -d \$dldir || mkdir -p \$dldir~
11406 $install_prog $dir/$dlname \$dldir/$dlname~
11407 chmod a+x \$dldir/$dlname~
11408 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11409 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11411 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11412 dlpath=$dir/\$dldll~
11414 shlibpath_overrides_runpath
=yes
11418 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11419 soname_spec
='`echo ${libname} | sed -e 's
/^lib
/cyg
/'``echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
11421 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
11424 # MinGW DLLs use traditional 'lib' prefix
11425 soname_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
11428 # pw32 DLLs use 'pw' prefix rather than 'lib'
11429 library_names_spec
='`echo ${libname} | sed -e 's
/^lib
/pw
/'``echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
11432 dynamic_linker
='Win32 ld.exe'
11437 libname_spec
='$name'
11438 soname_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
11439 library_names_spec
='${libname}.dll.lib'
11443 sys_lib_search_path_spec
=
11446 for lt_path
in $LIB
11449 # Let DOS variable expansion print the short 8.3 style file name.
11450 lt_path
=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
11451 sys_lib_search_path_spec
="$sys_lib_search_path_spec $lt_path"
11454 # Convert to MSYS style.
11455 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
11458 # Convert to unix form, then to dos form, then back to unix form
11459 # but this time dos style (no spaces!) so that the unix form looks
11460 # like /cygdrive/c/PROGRA~1:/cygdr...
11461 sys_lib_search_path_spec
=`cygpath --path --unix "$LIB"`
11462 sys_lib_search_path_spec
=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
11463 sys_lib_search_path_spec
=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11466 sys_lib_search_path_spec
="$LIB"
11467 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev
/null
; then
11468 # It is most probably a Windows format PATH.
11469 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11471 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11473 # FIXME: find the short name or the path components, as spaces are
11474 # common. (e.g. "Program Files" -> "PROGRA~1")
11478 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11479 postinstall_cmds
='base_file=`basename \${file}`~
11480 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11481 dldir=$destdir/`dirname \$dlpath`~
11482 test -d \$dldir || mkdir -p \$dldir~
11483 $install_prog $dir/$dlname \$dldir/$dlname'
11484 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11485 dlpath=$dir/\$dldll~
11487 shlibpath_overrides_runpath
=yes
11488 dynamic_linker
='Win32 link.exe'
11492 # Assume MSVC wrapper
11493 library_names_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext} $libname.lib'
11494 dynamic_linker
='Win32 ld.exe'
11497 # FIXME: first we should search . and the directory the executable is in
11501 darwin
* | rhapsody
*)
11502 dynamic_linker
="$host_os dyld"
11503 version_type
=darwin
11506 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11507 soname_spec
='${libname}${release}${major}$shared_ext'
11508 shlibpath_overrides_runpath
=yes
11509 shlibpath_var
=DYLD_LIBRARY_PATH
11510 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
11512 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
11513 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
11517 version_type
=linux
# correct to gnu/linux during the next big refactor
11520 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11521 soname_spec
='${libname}${release}${shared_ext}$major'
11522 shlibpath_var
=LD_LIBRARY_PATH
11525 freebsd
* | dragonfly
*)
11526 # DragonFly does not have aout. When/if they implement a new
11527 # versioning mechanism, adjust this.
11528 if test -x /usr
/bin
/objformat
; then
11529 objformat
=`/usr/bin/objformat`
11532 freebsd
[23].
*) objformat
=aout
;;
11533 *) objformat
=elf
;;
11536 version_type
=freebsd
-$objformat
11537 case $version_type in
11539 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11544 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11548 shlibpath_var
=LD_LIBRARY_PATH
11551 shlibpath_overrides_runpath
=yes
11553 freebsd3.
[01]* | freebsdelf3.
[01]*)
11554 shlibpath_overrides_runpath
=yes
11555 hardcode_into_libs
=yes
11557 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
11558 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
11559 shlibpath_overrides_runpath
=no
11560 hardcode_into_libs
=yes
11562 *) # from 4.6 on, and DragonFly
11563 shlibpath_overrides_runpath
=yes
11564 hardcode_into_libs
=yes
11570 version_type
=linux
# correct to gnu/linux during the next big refactor
11573 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11574 soname_spec
='${libname}${release}${shared_ext}$major'
11575 shlibpath_var
=LD_LIBRARY_PATH
11576 shlibpath_overrides_runpath
=no
11577 hardcode_into_libs
=yes
11581 version_type
=linux
# correct to gnu/linux during the next big refactor
11584 dynamic_linker
="$host_os runtime_loader"
11585 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11586 soname_spec
='${libname}${release}${shared_ext}$major'
11587 shlibpath_var
=LIBRARY_PATH
11588 shlibpath_overrides_runpath
=yes
11589 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
11590 hardcode_into_libs
=yes
11593 hpux9
* | hpux10
* | hpux11
*)
11594 # Give a soname corresponding to the major version so that dld.sl refuses to
11595 # link against other versions.
11602 hardcode_into_libs
=yes
11603 dynamic_linker
="$host_os dld.so"
11604 shlibpath_var
=LD_LIBRARY_PATH
11605 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11606 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11607 soname_spec
='${libname}${release}${shared_ext}$major'
11608 if test "X$HPUX_IA64_MODE" = X32
; then
11609 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11611 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
11613 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11617 hardcode_into_libs
=yes
11618 dynamic_linker
="$host_os dld.sl"
11619 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
11620 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11621 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11622 soname_spec
='${libname}${release}${shared_ext}$major'
11623 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11624 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11628 dynamic_linker
="$host_os dld.sl"
11629 shlibpath_var
=SHLIB_PATH
11630 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
11631 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11632 soname_spec
='${libname}${release}${shared_ext}$major'
11635 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11636 postinstall_cmds
='chmod 555 $lib'
11637 # or fails outright, so override atomically:
11638 install_override_mode
=555
11642 version_type
=linux
# correct to gnu/linux during the next big refactor
11645 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11646 soname_spec
='${libname}${release}${shared_ext}$major'
11647 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
11648 shlibpath_var
=LD_LIBRARY_PATH
11649 shlibpath_overrides_runpath
=no
11650 hardcode_into_libs
=yes
11653 irix5
* | irix6
* | nonstopux
*)
11655 nonstopux
*) version_type
=nonstopux
;;
11657 if test "$lt_cv_prog_gnu_ld" = yes; then
11658 version_type
=linux
# correct to gnu/linux during the next big refactor
11665 soname_spec
='${libname}${release}${shared_ext}$major'
11666 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11668 irix5
* | nonstopux
*)
11669 libsuff
= shlibsuff
=
11672 case $LD in # libtool.m4 will add one of these switches to LD
11673 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11674 libsuff
= shlibsuff
= libmagic
=32-bit;;
11675 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11676 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
11677 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11678 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
11679 *) libsuff
= shlibsuff
= libmagic
=never
-match;;
11683 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
11684 shlibpath_overrides_runpath
=no
11685 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11686 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
11687 hardcode_into_libs
=yes
11690 # No shared lib support for Linux oldld, aout, or coff.
11691 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
11695 # This must be glibc/ELF.
11696 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
11697 version_type
=linux
# correct to gnu/linux during the next big refactor
11700 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11701 soname_spec
='${libname}${release}${shared_ext}$major'
11702 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11703 shlibpath_var
=LD_LIBRARY_PATH
11704 shlibpath_overrides_runpath
=no
11706 # Some binutils ld are patched to set DT_RUNPATH
11707 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
11708 $as_echo_n "(cached) " >&6
11710 lt_cv_shlibpath_overrides_runpath
=no
11711 save_LDFLAGS
=$LDFLAGS
11712 save_libdir
=$libdir
11713 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11714 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11715 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11716 /* end confdefs.h. */
11726 if ac_fn_c_try_link
"$LINENO"; then :
11727 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null
| grep "RUNPATH.*$libdir" >/dev
/null
; then :
11728 lt_cv_shlibpath_overrides_runpath
=yes
11731 rm -f core conftest.err conftest.
$ac_objext \
11732 conftest
$ac_exeext conftest.
$ac_ext
11733 LDFLAGS
=$save_LDFLAGS
11734 libdir
=$save_libdir
11738 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
11740 # This implies no fast_install, which is unacceptable.
11741 # Some rework will be needed to allow for fast_install
11742 # before this can be enabled.
11743 hardcode_into_libs
=yes
11745 # Append ld.so.conf contents to the search path
11746 if test -f /etc
/ld.so.conf
; then
11747 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' ' '`
11748 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
11751 # We used to test for /lib/ld.so.1 and disable shared libraries on
11752 # powerpc, because MkLinux only supported shared libraries with the
11753 # GNU dynamic linker. Since this was broken with cross compilers,
11754 # most powerpc-linux boxes support dynamic linking these days and
11755 # people can always --disable-shared, the test was removed, and we
11756 # assume the GNU/Linux dynamic linker is in use.
11757 dynamic_linker
='GNU/Linux ld.so'
11764 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
11765 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11766 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11767 dynamic_linker
='NetBSD (a.out) ld.so'
11769 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11770 soname_spec
='${libname}${release}${shared_ext}$major'
11771 dynamic_linker
='NetBSD ld.elf_so'
11773 shlibpath_var
=LD_LIBRARY_PATH
11774 shlibpath_overrides_runpath
=yes
11775 hardcode_into_libs
=yes
11779 version_type
=linux
# correct to gnu/linux during the next big refactor
11780 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11781 shlibpath_var
=LD_LIBRARY_PATH
11782 shlibpath_overrides_runpath
=yes
11789 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11790 soname_spec
='${libname}${release}${shared_ext}$major'
11791 shlibpath_var
=LD_LIBRARY_PATH
11792 shlibpath_overrides_runpath
=no
11793 hardcode_into_libs
=yes
11794 dynamic_linker
='ldqnx.so'
11799 sys_lib_dlsearch_path_spec
="/usr/lib"
11801 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11803 openbsd3.3
| openbsd3.3.
*) need_version
=yes ;;
11804 *) need_version
=no
;;
11806 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11807 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11808 shlibpath_var
=LD_LIBRARY_PATH
11809 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11811 openbsd2.
[89] | openbsd2.
[89].
*)
11812 shlibpath_overrides_runpath
=no
11815 shlibpath_overrides_runpath
=yes
11819 shlibpath_overrides_runpath
=yes
11824 libname_spec
='$name'
11827 library_names_spec
='$libname${shared_ext} $libname.a'
11828 dynamic_linker
='OS/2 ld.exe'
11829 shlibpath_var
=LIBPATH
11832 osf3
* | osf4
* | osf5
*)
11836 soname_spec
='${libname}${release}${shared_ext}$major'
11837 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11838 shlibpath_var
=LD_LIBRARY_PATH
11839 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11840 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
11848 version_type
=linux
# correct to gnu/linux during the next big refactor
11851 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11852 soname_spec
='${libname}${release}${shared_ext}$major'
11853 shlibpath_var
=LD_LIBRARY_PATH
11854 shlibpath_overrides_runpath
=yes
11855 hardcode_into_libs
=yes
11856 # ldd complains unless libraries are executable
11857 postinstall_cmds
='chmod +x $lib'
11862 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11863 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11864 shlibpath_var
=LD_LIBRARY_PATH
11865 shlibpath_overrides_runpath
=yes
11866 if test "$with_gnu_ld" = yes; then
11873 version_type
=linux
# correct to gnu/linux during the next big refactor
11874 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11875 soname_spec
='${libname}${release}${shared_ext}$major'
11876 shlibpath_var
=LD_LIBRARY_PATH
11877 case $host_vendor in
11879 shlibpath_overrides_runpath
=no
11881 runpath_var
=LD_RUN_PATH
11889 shlibpath_overrides_runpath
=no
11890 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
11896 if test -d /usr
/nec
;then
11897 version_type
=linux
# correct to gnu/linux during the next big refactor
11898 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11899 soname_spec
='$libname${shared_ext}.$major'
11900 shlibpath_var
=LD_LIBRARY_PATH
11904 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
11905 version_type
=freebsd
-elf
11908 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11909 soname_spec
='${libname}${release}${shared_ext}$major'
11910 shlibpath_var
=LD_LIBRARY_PATH
11911 shlibpath_overrides_runpath
=yes
11912 hardcode_into_libs
=yes
11913 if test "$with_gnu_ld" = yes; then
11914 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11916 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
11919 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
11923 sys_lib_dlsearch_path_spec
='/usr/lib'
11927 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11928 version_type
=linux
# correct to gnu/linux during the next big refactor
11931 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11932 shlibpath_var
=LD_LIBRARY_PATH
11933 shlibpath_overrides_runpath
=no
11934 hardcode_into_libs
=yes
11938 version_type
=linux
# correct to gnu/linux during the next big refactor
11939 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11940 soname_spec
='${libname}${release}${shared_ext}$major'
11941 shlibpath_var
=LD_LIBRARY_PATH
11948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11949 $as_echo "$dynamic_linker" >&6; }
11950 test "$dynamic_linker" = no
&& can_build_shared
=no
11952 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
11953 if test "$GCC" = yes; then
11954 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11957 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11958 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
11960 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11961 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
12055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
12056 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
12058 if test -n "$hardcode_libdir_flag_spec" ||
12059 test -n "$runpath_var" ||
12060 test "X$hardcode_automatic" = "Xyes" ; then
12062 # We can hardcode non-existent directories.
12063 if test "$hardcode_direct" != no
&&
12064 # If the only mechanism to avoid hardcoding is shlibpath_var, we
12065 # have to relink, otherwise we might link with an installed library
12066 # when we should be linking with a yet-to-be-installed one
12067 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
12068 test "$hardcode_minus_L" != no
; then
12069 # Linking always hardcodes the temporary library directory.
12070 hardcode_action
=relink
12072 # We can link without hardcoding, and we can hardcode nonexisting dirs.
12073 hardcode_action
=immediate
12076 # We cannot hardcode anything, or else we can only hardcode existing
12078 hardcode_action
=unsupported
12080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
12081 $as_echo "$hardcode_action" >&6; }
12083 if test "$hardcode_action" = relink
||
12084 test "$inherit_rpath" = yes; then
12085 # Fast installation is not supported
12086 enable_fast_install
=no
12087 elif test "$shlibpath_overrides_runpath" = yes ||
12088 test "$enable_shared" = no
; then
12089 # Fast installation is not necessary
12090 enable_fast_install
=needless
12098 if test "x$enable_dlopen" != xyes
; then
12099 enable_dlopen
=unknown
12100 enable_dlopen_self
=unknown
12101 enable_dlopen_self_static
=unknown
12108 lt_cv_dlopen
="load_add_on"
12110 lt_cv_dlopen_self
=yes
12113 mingw
* | pw32
* | cegcc
*)
12114 lt_cv_dlopen
="LoadLibrary"
12119 lt_cv_dlopen
="dlopen"
12124 # if libdl is installed we need to link against it
12125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12126 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12127 if ${ac_cv_lib_dl_dlopen+:} false
; then :
12128 $as_echo_n "(cached) " >&6
12130 ac_check_lib_save_LIBS
=$LIBS
12132 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12133 /* end confdefs.h. */
12135 /* Override any GCC internal prototype to avoid an error.
12136 Use char because int might match the return type of a GCC
12137 builtin and then its argument prototype would still apply. */
12150 if ac_fn_c_try_link
"$LINENO"; then :
12151 ac_cv_lib_dl_dlopen
=yes
12153 ac_cv_lib_dl_dlopen
=no
12155 rm -f core conftest.err conftest.
$ac_objext \
12156 conftest
$ac_exeext conftest.
$ac_ext
12157 LIBS
=$ac_check_lib_save_LIBS
12159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12160 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12161 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
12162 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
12165 lt_cv_dlopen
="dyld"
12167 lt_cv_dlopen_self
=yes
12174 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
12175 if test "x$ac_cv_func_shl_load" = xyes
; then :
12176 lt_cv_dlopen
="shl_load"
12178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12179 $as_echo_n "checking for shl_load in -ldld... " >&6; }
12180 if ${ac_cv_lib_dld_shl_load+:} false
; then :
12181 $as_echo_n "(cached) " >&6
12183 ac_check_lib_save_LIBS
=$LIBS
12185 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12186 /* end confdefs.h. */
12188 /* Override any GCC internal prototype to avoid an error.
12189 Use char because int might match the return type of a GCC
12190 builtin and then its argument prototype would still apply. */
12198 return shl_load ();
12203 if ac_fn_c_try_link
"$LINENO"; then :
12204 ac_cv_lib_dld_shl_load
=yes
12206 ac_cv_lib_dld_shl_load
=no
12208 rm -f core conftest.err conftest.
$ac_objext \
12209 conftest
$ac_exeext conftest.
$ac_ext
12210 LIBS
=$ac_check_lib_save_LIBS
12212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12213 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12214 if test "x$ac_cv_lib_dld_shl_load" = xyes
; then :
12215 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
12217 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
12218 if test "x$ac_cv_func_dlopen" = xyes
; then :
12219 lt_cv_dlopen
="dlopen"
12221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12222 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12223 if ${ac_cv_lib_dl_dlopen+:} false
; then :
12224 $as_echo_n "(cached) " >&6
12226 ac_check_lib_save_LIBS
=$LIBS
12228 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12229 /* end confdefs.h. */
12231 /* Override any GCC internal prototype to avoid an error.
12232 Use char because int might match the return type of a GCC
12233 builtin and then its argument prototype would still apply. */
12246 if ac_fn_c_try_link
"$LINENO"; then :
12247 ac_cv_lib_dl_dlopen
=yes
12249 ac_cv_lib_dl_dlopen
=no
12251 rm -f core conftest.err conftest.
$ac_objext \
12252 conftest
$ac_exeext conftest.
$ac_ext
12253 LIBS
=$ac_check_lib_save_LIBS
12255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12256 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12257 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
12258 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
12260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12261 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12262 if ${ac_cv_lib_svld_dlopen+:} false
; then :
12263 $as_echo_n "(cached) " >&6
12265 ac_check_lib_save_LIBS
=$LIBS
12266 LIBS
="-lsvld $LIBS"
12267 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12268 /* end confdefs.h. */
12270 /* Override any GCC internal prototype to avoid an error.
12271 Use char because int might match the return type of a GCC
12272 builtin and then its argument prototype would still apply. */
12285 if ac_fn_c_try_link
"$LINENO"; then :
12286 ac_cv_lib_svld_dlopen
=yes
12288 ac_cv_lib_svld_dlopen
=no
12290 rm -f core conftest.err conftest.
$ac_objext \
12291 conftest
$ac_exeext conftest.
$ac_ext
12292 LIBS
=$ac_check_lib_save_LIBS
12294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12295 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12296 if test "x$ac_cv_lib_svld_dlopen" = xyes
; then :
12297 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
12299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12300 $as_echo_n "checking for dld_link in -ldld... " >&6; }
12301 if ${ac_cv_lib_dld_dld_link+:} false
; then :
12302 $as_echo_n "(cached) " >&6
12304 ac_check_lib_save_LIBS
=$LIBS
12306 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12307 /* end confdefs.h. */
12309 /* Override any GCC internal prototype to avoid an error.
12310 Use char because int might match the return type of a GCC
12311 builtin and then its argument prototype would still apply. */
12319 return dld_link ();
12324 if ac_fn_c_try_link
"$LINENO"; then :
12325 ac_cv_lib_dld_dld_link
=yes
12327 ac_cv_lib_dld_dld_link
=no
12329 rm -f core conftest.err conftest.
$ac_objext \
12330 conftest
$ac_exeext conftest.
$ac_ext
12331 LIBS
=$ac_check_lib_save_LIBS
12333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12334 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12335 if test "x$ac_cv_lib_dld_dld_link" = xyes
; then :
12336 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
12357 if test "x$lt_cv_dlopen" != xno
; then
12363 case $lt_cv_dlopen in
12365 save_CPPFLAGS
="$CPPFLAGS"
12366 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
12368 save_LDFLAGS
="$LDFLAGS"
12369 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
12372 LIBS
="$lt_cv_dlopen_libs $LIBS"
12374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12375 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12376 if ${lt_cv_dlopen_self+:} false
; then :
12377 $as_echo_n "(cached) " >&6
12379 if test "$cross_compiling" = yes; then :
12380 lt_cv_dlopen_self
=cross
12382 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12383 lt_status
=$lt_dlunknown
12384 cat > conftest.
$ac_ext <<_LT_EOF
12385 #line $LINENO "configure"
12386 #include "confdefs.h"
12395 # define LT_DLGLOBAL RTLD_GLOBAL
12398 # define LT_DLGLOBAL DL_GLOBAL
12400 # define LT_DLGLOBAL 0
12404 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12405 find out it does not work in some platform. */
12406 #ifndef LT_DLLAZY_OR_NOW
12408 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12411 # define LT_DLLAZY_OR_NOW DL_LAZY
12414 # define LT_DLLAZY_OR_NOW RTLD_NOW
12417 # define LT_DLLAZY_OR_NOW DL_NOW
12419 # define LT_DLLAZY_OR_NOW 0
12426 /* When -fvisbility=hidden is used, assume the code has been annotated
12427 correspondingly for the symbols needed. */
12428 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12429 int fnord () __attribute__((visibility("default")));
12432 int fnord () { return 42; }
12435 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12436 int status = $lt_dlunknown;
12440 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12443 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12444 else puts (dlerror ());
12446 /* dlclose (self); */
12454 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12455 (eval $ac_link) 2>&5
12457 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12458 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12459 (.
/conftest
; exit; ) >&5 2>/dev
/null
12461 case x
$lt_status in
12462 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
12463 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
12464 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
12467 # compilation failed
12468 lt_cv_dlopen_self
=no
12475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12476 $as_echo "$lt_cv_dlopen_self" >&6; }
12478 if test "x$lt_cv_dlopen_self" = xyes
; then
12479 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
12480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12481 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12482 if ${lt_cv_dlopen_self_static+:} false
; then :
12483 $as_echo_n "(cached) " >&6
12485 if test "$cross_compiling" = yes; then :
12486 lt_cv_dlopen_self_static
=cross
12488 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12489 lt_status
=$lt_dlunknown
12490 cat > conftest.
$ac_ext <<_LT_EOF
12491 #line $LINENO "configure"
12492 #include "confdefs.h"
12501 # define LT_DLGLOBAL RTLD_GLOBAL
12504 # define LT_DLGLOBAL DL_GLOBAL
12506 # define LT_DLGLOBAL 0
12510 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12511 find out it does not work in some platform. */
12512 #ifndef LT_DLLAZY_OR_NOW
12514 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12517 # define LT_DLLAZY_OR_NOW DL_LAZY
12520 # define LT_DLLAZY_OR_NOW RTLD_NOW
12523 # define LT_DLLAZY_OR_NOW DL_NOW
12525 # define LT_DLLAZY_OR_NOW 0
12532 /* When -fvisbility=hidden is used, assume the code has been annotated
12533 correspondingly for the symbols needed. */
12534 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12535 int fnord () __attribute__((visibility("default")));
12538 int fnord () { return 42; }
12541 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12542 int status = $lt_dlunknown;
12546 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12549 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12550 else puts (dlerror ());
12552 /* dlclose (self); */
12560 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12561 (eval $ac_link) 2>&5
12563 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12564 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12565 (.
/conftest
; exit; ) >&5 2>/dev
/null
12567 case x
$lt_status in
12568 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
12569 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
12570 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
12573 # compilation failed
12574 lt_cv_dlopen_self_static
=no
12581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12582 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12585 CPPFLAGS
="$save_CPPFLAGS"
12586 LDFLAGS
="$save_LDFLAGS"
12591 case $lt_cv_dlopen_self in
12592 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
12593 *) enable_dlopen_self
=unknown
;;
12596 case $lt_cv_dlopen_self_static in
12597 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
12598 *) enable_dlopen_self_static
=unknown
;;
12620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12621 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12622 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev
/null
; then
12623 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
12624 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
12625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12626 $as_echo "yes" >&6; }
12628 # FIXME - insert some real tests, host_os isn't really good enough
12631 if test -n "$STRIP" ; then
12632 striplib
="$STRIP -x"
12633 old_striplib
="$STRIP -S"
12634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12635 $as_echo "yes" >&6; }
12637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12638 $as_echo "no" >&6; }
12642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12643 $as_echo "no" >&6; }
12659 # Report which library types will actually be built
12660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12661 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12663 $as_echo "$can_build_shared" >&6; }
12665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12666 $as_echo_n "checking whether to build shared libraries... " >&6; }
12667 test "$can_build_shared" = "no" && enable_shared
=no
12669 # On AIX, shared libraries and static libraries use the same namespace, and
12670 # are all built from PIC.
12673 test "$enable_shared" = yes && enable_static
=no
12674 if test -n "$RANLIB"; then
12675 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
12676 postinstall_cmds
='$RANLIB $lib'
12681 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
12682 test "$enable_shared" = yes && enable_static
=no
12686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12687 $as_echo "$enable_shared" >&6; }
12689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12690 $as_echo_n "checking whether to build static libraries... " >&6; }
12691 # Make sure either enable_shared or enable_static is yes.
12692 test "$enable_shared" = yes || enable_static
=yes
12693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12694 $as_echo "$enable_static" >&6; }
12701 ac_cpp
='$CPP $CPPFLAGS'
12702 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12703 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12704 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12708 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
12709 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
12710 (test "X$CXX" != "Xg++"))) ; then
12712 ac_cpp
='$CXXCPP $CPPFLAGS'
12713 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12714 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12715 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
12717 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
12718 if test -z "$CXXCPP"; then
12719 if ${ac_cv_prog_CXXCPP+:} false
; then :
12720 $as_echo_n "(cached) " >&6
12722 # Double quotes because CXXCPP needs to be expanded
12723 for CXXCPP
in "$CXX -E" "/lib/cpp"
12725 ac_preproc_ok
=false
12726 for ac_cxx_preproc_warn_flag
in '' yes
12728 # Use a header file that comes with gcc, so configuring glibc
12729 # with a fresh cross-compiler works.
12730 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12731 # <limits.h> exists even on freestanding compilers.
12732 # On the NeXT, cc -E runs the code through the compiler's parser,
12733 # not just through cpp. "Syntax error" is here to catch this case.
12734 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12735 /* end confdefs.h. */
12737 # include <limits.h>
12739 # include <assert.h>
12743 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12746 # Broken: fails on valid input.
12749 rm -f conftest.err conftest.i conftest.
$ac_ext
12751 # OK, works on sane cases. Now check whether nonexistent headers
12752 # can be detected and how.
12753 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12754 /* end confdefs.h. */
12755 #include <ac_nonexistent.h>
12757 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12758 # Broken: success on invalid input.
12761 # Passes both tests.
12765 rm -f conftest.err conftest.i conftest.
$ac_ext
12768 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12769 rm -f conftest.i conftest.err conftest.
$ac_ext
12770 if $ac_preproc_ok; then :
12775 ac_cv_prog_CXXCPP
=$CXXCPP
12778 CXXCPP
=$ac_cv_prog_CXXCPP
12780 ac_cv_prog_CXXCPP
=$CXXCPP
12782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
12783 $as_echo "$CXXCPP" >&6; }
12784 ac_preproc_ok
=false
12785 for ac_cxx_preproc_warn_flag
in '' yes
12787 # Use a header file that comes with gcc, so configuring glibc
12788 # with a fresh cross-compiler works.
12789 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12790 # <limits.h> exists even on freestanding compilers.
12791 # On the NeXT, cc -E runs the code through the compiler's parser,
12792 # not just through cpp. "Syntax error" is here to catch this case.
12793 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12794 /* end confdefs.h. */
12796 # include <limits.h>
12798 # include <assert.h>
12802 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12805 # Broken: fails on valid input.
12808 rm -f conftest.err conftest.i conftest.
$ac_ext
12810 # OK, works on sane cases. Now check whether nonexistent headers
12811 # can be detected and how.
12812 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12813 /* end confdefs.h. */
12814 #include <ac_nonexistent.h>
12816 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12817 # Broken: success on invalid input.
12820 # Passes both tests.
12824 rm -f conftest.err conftest.i conftest.
$ac_ext
12827 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12828 rm -f conftest.i conftest.err conftest.
$ac_ext
12829 if $ac_preproc_ok; then :
12832 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12833 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12834 as_fn_error $?
"C++ preprocessor \"$CXXCPP\" fails sanity check
12835 See \`config.log' for more details" "$LINENO" 5; }
12839 ac_cpp
='$CPP $CPPFLAGS'
12840 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12841 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12842 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12845 _lt_caught_CXX_error
=yes
12849 ac_cpp
='$CXXCPP $CPPFLAGS'
12850 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12851 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12852 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12854 archive_cmds_need_lc_CXX
=no
12855 allow_undefined_flag_CXX
=
12856 always_export_symbols_CXX
=no
12857 archive_expsym_cmds_CXX
=
12858 compiler_needs_object_CXX
=no
12859 export_dynamic_flag_spec_CXX
=
12860 hardcode_direct_CXX
=no
12861 hardcode_direct_absolute_CXX
=no
12862 hardcode_libdir_flag_spec_CXX
=
12863 hardcode_libdir_separator_CXX
=
12864 hardcode_minus_L_CXX
=no
12865 hardcode_shlibpath_var_CXX
=unsupported
12866 hardcode_automatic_CXX
=no
12867 inherit_rpath_CXX
=no
12869 module_expsym_cmds_CXX
=
12870 link_all_deplibs_CXX
=unknown
12871 old_archive_cmds_CXX
=$old_archive_cmds
12872 reload_flag_CXX
=$reload_flag
12873 reload_cmds_CXX
=$reload_cmds
12874 no_undefined_flag_CXX
=
12875 whole_archive_flag_spec_CXX
=
12876 enable_shared_with_static_runtimes_CXX
=no
12878 # Source file extension for C++ test sources.
12881 # Object file extension for compiled C++ test sources.
12885 # No sense in running all these tests if we already determined that
12886 # the CXX compiler isn't working. Some variables (like enable_shared)
12887 # are currently assumed to apply to all compilers on this platform,
12888 # and will be corrupted by setting them based on a non-working compiler.
12889 if test "$_lt_caught_CXX_error" != yes; then
12890 # Code to be used in simple compile tests
12891 lt_simple_compile_test_code
="int some_variable = 0;"
12893 # Code to be used in simple link tests
12894 lt_simple_link_test_code
='int main(int, char *[]) { return(0); }'
12896 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12903 # If no C compiler was specified, use CC.
12906 # If no C compiler flags were specified, use CFLAGS.
12907 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
12909 # Allow CC to be a program name with arguments.
12913 # save warnings/boilerplate of simple test code
12914 ac_outfile
=conftest.
$ac_objext
12915 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
12916 eval "$ac_compile" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
12917 _lt_compiler_boilerplate
=`cat conftest.err`
12920 ac_outfile
=conftest.
$ac_objext
12921 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
12922 eval "$ac_link" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
12923 _lt_linker_boilerplate
=`cat conftest.err`
12927 # Allow CC to be a program name with arguments.
12929 lt_save_CFLAGS
=$CFLAGS
12933 lt_save_with_gnu_ld
=$with_gnu_ld
12934 lt_save_path_LD
=$lt_cv_path_LD
12935 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12936 lt_cv_prog_gnu_ld
=$lt_cv_prog_gnu_ldcxx
12938 $as_unset lt_cv_prog_gnu_ld
12940 if test -n "${lt_cv_path_LDCXX+set}"; then
12941 lt_cv_path_LD
=$lt_cv_path_LDCXX
12943 $as_unset lt_cv_path_LD
12945 test -z "${LDCXX+set}" || LD
=$LDCXX
12950 for cc_temp
in $compiler""; do
12952 compile
| *[\\/]compile
| ccache
| *[\\/]ccache
) ;;
12953 distcc
| *[\\/]distcc
| purify
| *[\\/]purify
) ;;
12958 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12961 if test -n "$compiler"; then
12962 # We don't want -fno-exception when compiling C++ code, so set the
12963 # no_builtin_flag separately
12964 if test "$GXX" = yes; then
12965 lt_prog_compiler_no_builtin_flag_CXX
=' -fno-builtin'
12967 lt_prog_compiler_no_builtin_flag_CXX
=
12970 if test "$GXX" = yes; then
12971 # Set up default GNU C++ configuration
12975 # Check whether --with-gnu-ld was given.
12976 if test "${with_gnu_ld+set}" = set; then :
12977 withval
=$with_gnu_ld; test "$withval" = no
|| with_gnu_ld
=yes
12983 if test "$GCC" = yes; then
12984 # Check if gcc -print-prog-name=ld gives a path.
12985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12986 $as_echo_n "checking for ld used by $CC... " >&6; }
12989 # gcc leaves a trailing carriage return which upsets mingw
12990 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12992 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
12995 # Accept absolute paths.
12997 re_direlt
='/[^/][^/]*/\.\./'
12998 # Canonicalize the pathname of ld
12999 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
13000 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev
/null
2>&1; do
13001 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
13003 test -z "$LD" && LD
="$ac_prog"
13006 # If it fails, then pretend we aren't using GCC.
13010 # If it is relative, then search for the first ld in PATH.
13011 with_gnu_ld
=unknown
13014 elif test "$with_gnu_ld" = yes; then
13015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
13016 $as_echo_n "checking for GNU ld... " >&6; }
13018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
13019 $as_echo_n "checking for non-GNU ld... " >&6; }
13021 if ${lt_cv_path_LD+:} false
; then :
13022 $as_echo_n "(cached) " >&6
13024 if test -z "$LD"; then
13025 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
13026 for ac_dir
in $PATH; do
13028 test -z "$ac_dir" && ac_dir
=.
13029 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
13030 lt_cv_path_LD
="$ac_dir/$ac_prog"
13031 # Check to see if the program is GNU ld. I'd rather use --version,
13032 # but apparently some variants of GNU ld only accept -v.
13033 # Break only if it was the GNU/non-GNU ld that we prefer.
13034 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
13035 *GNU
* | *'with BFD'*)
13036 test "$with_gnu_ld" != no
&& break
13039 test "$with_gnu_ld" != yes && break
13046 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
13050 LD
="$lt_cv_path_LD"
13051 if test -n "$LD"; then
13052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
13053 $as_echo "$LD" >&6; }
13055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13056 $as_echo "no" >&6; }
13058 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
13059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
13060 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
13061 if ${lt_cv_prog_gnu_ld+:} false
; then :
13062 $as_echo_n "(cached) " >&6
13064 # I'd rather use --version here, but apparently some GNU lds only accept -v.
13065 case `$LD -v 2>&1 </dev/null` in
13066 *GNU
* | *'with BFD'*)
13067 lt_cv_prog_gnu_ld
=yes
13070 lt_cv_prog_gnu_ld
=no
13074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
13075 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
13076 with_gnu_ld
=$lt_cv_prog_gnu_ld
13084 # Check if GNU C++ uses GNU ld as the underlying linker, since the
13085 # archiving commands below assume that GNU ld is being used.
13086 if test "$with_gnu_ld" = yes; then
13087 archive_cmds_CXX
='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13088 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'
13090 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13091 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13093 # If archive_cmds runs LD, not CC, wlarc should be empty
13094 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
13095 # investigate it a little bit more. (MM)
13098 # ancient GNU ld didn't support --whole-archive et. al.
13099 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
13100 $GREP 'no-whole-archive' > /dev
/null
; then
13101 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13103 whole_archive_flag_spec_CXX
=
13109 # A generic and very simple default shared library creation
13110 # command for GNU C++ for the case where it uses the native
13111 # linker, instead of GNU ld. If possible, this setting should
13112 # overridden to take advantage of the native linker features on
13113 # the platform it is being used on.
13114 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13117 # Commands to make compiler produce verbose output that lists
13118 # what "hidden" libraries, object files and flags are used when
13119 # linking a shared library.
13120 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13128 # PORTME: fill in a description of your system's C++ link characteristics
13129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13130 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13134 # FIXME: insert proper C++ library support
13138 if test "$host_cpu" = ia64
; then
13139 # On IA64, the linker does run time linking by default, so we don't
13140 # have to do anything special.
13141 aix_use_runtimelinking
=no
13142 exp_sym_flag
='-Bexport'
13145 aix_use_runtimelinking
=no
13147 # Test if we are trying to use run time linking or normal
13148 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
13149 # need to do runtime linking.
13150 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
13151 for ld_flag
in $LDFLAGS; do
13154 aix_use_runtimelinking
=yes
13162 exp_sym_flag
='-bexport'
13163 no_entry_flag
='-bnoentry'
13166 # When large executables or shared objects are built, AIX ld can
13167 # have problems creating the table of contents. If linking a library
13168 # or program results in "error TOC overflow" add -mminimal-toc to
13169 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
13170 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
13172 archive_cmds_CXX
=''
13173 hardcode_direct_CXX
=yes
13174 hardcode_direct_absolute_CXX
=yes
13175 hardcode_libdir_separator_CXX
=':'
13176 link_all_deplibs_CXX
=yes
13177 file_list_spec_CXX
='${wl}-f,'
13179 if test "$GXX" = yes; then
13180 case $host_os in aix4.
[012]|aix4.
[012].
*)
13181 # We only want to do this on AIX 4.2 and lower, the check
13182 # below for broken collect2 doesn't work under 4.3+
13183 collect2name
=`${CC} -print-prog-name=collect2`
13184 if test -f "$collect2name" &&
13185 strings "$collect2name" | $GREP resolve_lib_name
>/dev
/null
13187 # We have reworked collect2
13190 # We have old collect2
13191 hardcode_direct_CXX
=unsupported
13192 # It fails to find uninstalled libraries when the uninstalled
13193 # path is not listed in the libpath. Setting hardcode_minus_L
13194 # to unsupported forces relinking
13195 hardcode_minus_L_CXX
=yes
13196 hardcode_libdir_flag_spec_CXX
='-L$libdir'
13197 hardcode_libdir_separator_CXX
=
13200 shared_flag
='-shared'
13201 if test "$aix_use_runtimelinking" = yes; then
13202 shared_flag
="$shared_flag "'${wl}-G'
13206 if test "$host_cpu" = ia64
; then
13207 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
13208 # chokes on -Wl,-G. The following line is correct:
13211 if test "$aix_use_runtimelinking" = yes; then
13212 shared_flag
='${wl}-G'
13214 shared_flag
='${wl}-bM:SRE'
13219 export_dynamic_flag_spec_CXX
='${wl}-bexpall'
13220 # It seems that -bexpall does not export symbols beginning with
13221 # underscore (_), so it is better to generate a list of symbols to
13223 always_export_symbols_CXX
=yes
13224 if test "$aix_use_runtimelinking" = yes; then
13225 # Warning - without using the other runtime loading flags (-brtl),
13226 # -berok will link without error, but may produce a broken library.
13227 allow_undefined_flag_CXX
='-berok'
13228 # Determine the default libpath from the value encoded in an empty
13230 if test "${lt_cv_aix_libpath+set}" = set; then
13231 aix_libpath
=$lt_cv_aix_libpath
13233 if ${lt_cv_aix_libpath__CXX+:} false
; then :
13234 $as_echo_n "(cached) " >&6
13236 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13237 /* end confdefs.h. */
13247 if ac_fn_cxx_try_link
"$LINENO"; then :
13249 lt_aix_libpath_sed
='
13250 /Import File Strings/,/^$/ {
13252 s/^0 *\([^ ]*\) *$/\1/
13256 lt_cv_aix_libpath__CXX
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13257 # Check for a 64-bit object if we didn't find anything.
13258 if test -z "$lt_cv_aix_libpath__CXX"; then
13259 lt_cv_aix_libpath__CXX
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13262 rm -f core conftest.err conftest.
$ac_objext \
13263 conftest
$ac_exeext conftest.
$ac_ext
13264 if test -z "$lt_cv_aix_libpath__CXX"; then
13265 lt_cv_aix_libpath__CXX
="/usr/lib:/lib"
13270 aix_libpath
=$lt_cv_aix_libpath__CXX
13273 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
13275 archive_expsym_cmds_CXX
='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
13277 if test "$host_cpu" = ia64
; then
13278 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
13279 allow_undefined_flag_CXX
="-z nodefs"
13280 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"
13282 # Determine the default libpath from the value encoded in an
13283 # empty executable.
13284 if test "${lt_cv_aix_libpath+set}" = set; then
13285 aix_libpath
=$lt_cv_aix_libpath
13287 if ${lt_cv_aix_libpath__CXX+:} false
; then :
13288 $as_echo_n "(cached) " >&6
13290 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13291 /* end confdefs.h. */
13301 if ac_fn_cxx_try_link
"$LINENO"; then :
13303 lt_aix_libpath_sed
='
13304 /Import File Strings/,/^$/ {
13306 s/^0 *\([^ ]*\) *$/\1/
13310 lt_cv_aix_libpath__CXX
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13311 # Check for a 64-bit object if we didn't find anything.
13312 if test -z "$lt_cv_aix_libpath__CXX"; then
13313 lt_cv_aix_libpath__CXX
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13316 rm -f core conftest.err conftest.
$ac_objext \
13317 conftest
$ac_exeext conftest.
$ac_ext
13318 if test -z "$lt_cv_aix_libpath__CXX"; then
13319 lt_cv_aix_libpath__CXX
="/usr/lib:/lib"
13324 aix_libpath
=$lt_cv_aix_libpath__CXX
13327 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
13328 # Warning - without using the other run time loading flags,
13329 # -berok will link without error, but may produce a broken library.
13330 no_undefined_flag_CXX
=' ${wl}-bernotok'
13331 allow_undefined_flag_CXX
=' ${wl}-berok'
13332 if test "$with_gnu_ld" = yes; then
13333 # We only use this code for GNU lds that support --whole-archive.
13334 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13336 # Exported symbols can be pulled into shared objects from archives
13337 whole_archive_flag_spec_CXX
='$convenience'
13339 archive_cmds_need_lc_CXX
=yes
13340 # This is similar to how AIX traditionally builds its shared
13342 archive_expsym_cmds_CXX
="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
13348 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
13349 allow_undefined_flag_CXX
=unsupported
13350 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13351 # support --undefined. This deserves some investigation. FIXME
13352 archive_cmds_CXX
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13359 case $cc_basename in
13361 # FIXME: insert proper C++ library support
13367 cygwin
* | mingw
* | pw32
* | cegcc
*)
13368 case $GXX,$cc_basename in
13371 # hardcode_libdir_flag_spec is actually meaningless, as there is
13372 # no search path for DLLs.
13373 hardcode_libdir_flag_spec_CXX
=' '
13374 allow_undefined_flag_CXX
=unsupported
13375 always_export_symbols_CXX
=yes
13376 file_list_spec_CXX
='@'
13377 # Tell ltmain to make .lib files, not .a files.
13379 # Tell ltmain to make .dll files, not .so files.
13381 # FIXME: Setting linknames here is a bad hack.
13382 archive_cmds_CXX
='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
13383 archive_expsym_cmds_CXX
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13384 $SED -n -e 's
/\\\\\\\
(.
*\\\\\\\
)/-link\\\
-EXPORT:\\\\\\\
1/' -e '1\\\
!p
' < $export_symbols > $output_objdir/$soname.exp;
13386 $SED -e 's
/\\\\\\\
(.
*\\\\\\\
)/-link\\\
-EXPORT:\\\\\\\
1/' < $export_symbols > $output_objdir/$soname.exp;
13388 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
13390 # The linker will not automatically build a static lib if we build a DLL.
13391 # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
13392 enable_shared_with_static_runtimes_CXX
=yes
13394 old_postinstall_cmds_CXX
='chmod 644 $oldlib'
13395 postlink_cmds_CXX
='lt_outputfile="@OUTPUT@"~
13396 lt_tool_outputfile="@TOOL_OUTPUT@"~
13397 case $lt_outputfile in
13400 lt_outputfile="$lt_outputfile.exe"
13401 lt_tool_outputfile="$lt_tool_outputfile.exe"
13404 func_to_tool_file "$lt_outputfile"~
13405 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
13406 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
13407 $RM "$lt_outputfile.manifest";
13412 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
13413 # as there is no search path for DLLs.
13414 hardcode_libdir_flag_spec_CXX
='-L$libdir'
13415 export_dynamic_flag_spec_CXX
='${wl}--export-all-symbols'
13416 allow_undefined_flag_CXX
=unsupported
13417 always_export_symbols_CXX
=no
13418 enable_shared_with_static_runtimes_CXX
=yes
13420 if $LD --help 2>&1 | $GREP 'auto-import' > /dev
/null
; then
13421 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'
13422 # If the export-symbols file already is a .def file (1st line
13423 # is EXPORTS), use it as is; otherwise, prepend...
13424 archive_expsym_cmds_CXX
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13425 cp $export_symbols $output_objdir/$soname.def;
13427 echo EXPORTS > $output_objdir/$soname.def;
13428 cat $export_symbols >> $output_objdir/$soname.def;
13430 $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'
13437 darwin
* | rhapsody
*)
13440 archive_cmds_need_lc_CXX
=no
13441 hardcode_direct_CXX
=no
13442 hardcode_automatic_CXX
=yes
13443 hardcode_shlibpath_var_CXX
=unsupported
13444 if test "$lt_cv_ld_force_load" = "yes"; then
13445 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\"`'
13448 whole_archive_flag_spec_CXX
=''
13450 link_all_deplibs_CXX
=yes
13451 allow_undefined_flag_CXX
="$_lt_dar_allow_undefined"
13452 case $cc_basename in
13453 ifort
*) _lt_dar_can_shared
=yes ;;
13454 *) _lt_dar_can_shared
=$GCC ;;
13456 if test "$_lt_dar_can_shared" = "yes"; then
13457 output_verbose_link_cmd
=func_echo_all
13458 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}"
13459 module_cmds_CXX
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
13460 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}"
13461 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}"
13462 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
13463 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}"
13464 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}"
13474 case $cc_basename in
13476 # FIXME: insert proper C++ library support
13480 # Green Hills C++ Compiler
13481 # FIXME: insert proper C++ library support
13485 # FIXME: insert proper C++ library support
13492 # C++ shared libraries reported to be fairly broken before
13498 archive_cmds_need_lc_CXX
=no
13501 freebsd
* | dragonfly
*)
13502 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
13511 archive_cmds_CXX
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13512 link_all_deplibs_CXX
=yes
13516 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
13517 hardcode_libdir_separator_CXX
=:
13518 export_dynamic_flag_spec_CXX
='${wl}-E'
13519 hardcode_direct_CXX
=yes
13520 hardcode_minus_L_CXX
=yes # Not in the search PATH,
13521 # but as the default
13522 # location of the library.
13524 case $cc_basename in
13526 # FIXME: insert proper C++ library support
13530 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 $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
13531 # Commands to make compiler produce verbose output that lists
13532 # what "hidden" libraries, object files and flags are used when
13533 # linking a shared library.
13535 # There doesn't appear to be a way to prevent this compiler from
13536 # explicitly linking system object files so we need to strip them
13537 # from the output so that they don't get included in the library
13539 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"'
13542 if test "$GXX" = yes; then
13543 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 $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
13545 # FIXME: insert proper C++ library support
13553 if test $with_gnu_ld = no
; then
13554 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
13555 hardcode_libdir_separator_CXX
=:
13561 export_dynamic_flag_spec_CXX
='${wl}-E'
13567 hardcode_direct_CXX
=no
13568 hardcode_shlibpath_var_CXX
=no
13571 hardcode_direct_CXX
=yes
13572 hardcode_direct_absolute_CXX
=yes
13573 hardcode_minus_L_CXX
=yes # Not in the search PATH,
13574 # but as the default
13575 # location of the library.
13579 case $cc_basename in
13581 # FIXME: insert proper C++ library support
13587 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13590 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13593 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13596 # Commands to make compiler produce verbose output that lists
13597 # what "hidden" libraries, object files and flags are used when
13598 # linking a shared library.
13600 # There doesn't appear to be a way to prevent this compiler from
13601 # explicitly linking system object files so we need to strip them
13602 # from the output so that they don't get included in the library
13604 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"'
13607 if test "$GXX" = yes; then
13608 if test $with_gnu_ld = no
; then
13611 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13614 archive_cmds_CXX
='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13617 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'
13622 # FIXME: insert proper C++ library support
13630 hardcode_direct_CXX
=no
13631 hardcode_shlibpath_var_CXX
=no
13632 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13633 export_dynamic_flag_spec_CXX
='${wl}-E'
13634 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
13635 # Instead, shared libraries are loaded at an image base (0x10000000 by
13636 # default) and relocated if they conflict, which is a slow very memory
13637 # consuming and fragmenting process. To avoid this, we pick a random,
13638 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
13639 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
13640 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'
13641 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'
13644 case $cc_basename in
13647 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'
13649 # Archives containing C++ object files must be created using
13650 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
13651 # necessary to make sure instantiated templates are included
13653 old_archive_cmds_CXX
='$CC -ar -WR,-u -o $oldlib $oldobjs'
13656 if test "$GXX" = yes; then
13657 if test "$with_gnu_ld" = no
; then
13658 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'
13660 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'
13663 link_all_deplibs_CXX
=yes
13666 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13667 hardcode_libdir_separator_CXX
=:
13668 inherit_rpath_CXX
=yes
13671 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
13672 case $cc_basename in
13674 # Kuck and Associates, Inc. (KAI) C++ Compiler
13676 # KCC will only create a shared library if the output file
13677 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13678 # to its proper name (with version) after linking.
13679 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'
13680 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'
13681 # Commands to make compiler produce verbose output that lists
13682 # what "hidden" libraries, object files and flags are used when
13683 # linking a shared library.
13685 # There doesn't appear to be a way to prevent this compiler from
13686 # explicitly linking system object files so we need to strip them
13687 # from the output so that they don't get included in the library
13689 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"'
13691 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13692 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13694 # Archives containing C++ object files must be created using
13695 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
13696 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
13701 # version 8.0 and above of icpc choke on multiply defined symbols
13702 # if we add $predep_objects and $postdep_objects, however 7.1 and
13703 # earlier do not add the objects themselves.
13704 case `$CC -V 2>&1` in
13706 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13707 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'
13709 *) # Version 8.0 or newer
13712 ia64
*) tmp_idyn
=' -i_dynamic';;
13714 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13715 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'
13718 archive_cmds_need_lc_CXX
=no
13719 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13720 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13721 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13724 # Portland Group C++ compiler
13726 *pgCC\
[1-5].
* | *pgcpp\
[1-5].
*)
13727 prelink_cmds_CXX
='tpldir=Template.dir~
13729 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
13730 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
13731 old_archive_cmds_CXX
='tpldir=Template.dir~
13733 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
13734 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
13736 archive_cmds_CXX
='tpldir=Template.dir~
13738 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13739 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13740 archive_expsym_cmds_CXX
='tpldir=Template.dir~
13742 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13743 $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'
13745 *) # Version 6 and above use weak symbols
13746 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13747 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'
13751 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
13752 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13753 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'
13757 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13758 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'
13760 runpath_var
=LD_RUN_PATH
13761 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
13762 hardcode_libdir_separator_CXX
=:
13764 # Commands to make compiler produce verbose output that lists
13765 # what "hidden" libraries, object files and flags are used when
13766 # linking a shared library.
13768 # There doesn't appear to be a way to prevent this compiler from
13769 # explicitly linking system object files so we need to strip them
13770 # from the output so that they don't get included in the library
13772 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'
13774 xl
* | mpixl
* | bgxl
*)
13775 # IBM XL 8.0 on PPC, with GNU ld
13776 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13777 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13778 archive_cmds_CXX
='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13779 if test "x$supports_anon_versioning" = xyes
; then
13780 archive_expsym_cmds_CXX
='echo "{ global:" > $output_objdir/$libname.ver~
13781 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13782 echo "local: *; };" >> $output_objdir/$libname.ver~
13783 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
13787 case `$CC -V 2>&1 | sed 5q` in
13790 no_undefined_flag_CXX
=' -zdefs'
13791 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13792 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'
13793 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13794 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'
13795 compiler_needs_object_CXX
=yes
13797 # Not sure whether something based on
13798 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
13800 output_verbose_link_cmd
='func_echo_all'
13802 # Archives containing C++ object files must be created using
13803 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13804 # necessary to make sure instantiated templates are included
13806 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
13814 # FIXME: insert proper C++ library support
13819 # FIXME: insert proper C++ library support
13824 case $cc_basename in
13826 # FIXME: insert proper C++ library support
13830 # FIXME: insert proper C++ library support
13837 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
13838 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
13840 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13841 hardcode_direct_CXX
=yes
13842 hardcode_shlibpath_var_CXX
=no
13844 # Workaround some broken pre-1.5 toolchains
13845 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
13853 # C++ shared libraries are fairly broken
13858 if test -f /usr
/libexec
/ld.so
; then
13859 hardcode_direct_CXX
=yes
13860 hardcode_shlibpath_var_CXX
=no
13861 hardcode_direct_absolute_CXX
=yes
13862 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13863 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13864 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13865 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
13866 export_dynamic_flag_spec_CXX
='${wl}-E'
13867 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13869 output_verbose_link_cmd
=func_echo_all
13875 osf3
* | osf4
* | osf5
*)
13876 case $cc_basename in
13878 # Kuck and Associates, Inc. (KAI) C++ Compiler
13880 # KCC will only create a shared library if the output file
13881 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13882 # to its proper name (with version) after linking.
13883 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'
13885 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13886 hardcode_libdir_separator_CXX
=:
13888 # Archives containing C++ object files must be created using
13889 # the KAI C++ compiler.
13891 osf3
*) old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs' ;;
13892 *) old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs' ;;
13896 # Rational C++ 2.4.1
13897 # FIXME: insert proper C++ library support
13903 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
13904 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'
13905 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13908 allow_undefined_flag_CXX
=' -expect_unresolved \*'
13909 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'
13910 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
13911 echo "-hidden">> $lib.exp~
13912 $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~
13914 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
13918 hardcode_libdir_separator_CXX
=:
13920 # Commands to make compiler produce verbose output that lists
13921 # what "hidden" libraries, object files and flags are used when
13922 # linking a shared library.
13924 # There doesn't appear to be a way to prevent this compiler from
13925 # explicitly linking system object files so we need to strip them
13926 # from the output so that they don't get included in the library
13928 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"'
13931 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
13932 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
13935 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'
13938 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'
13942 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13943 hardcode_libdir_separator_CXX
=:
13945 # Commands to make compiler produce verbose output that lists
13946 # what "hidden" libraries, object files and flags are used when
13947 # linking a shared library.
13948 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13951 # FIXME: insert proper C++ library support
13959 # FIXME: insert proper C++ library support
13964 case $cc_basename in
13967 # FIXME: insert proper C++ library support
13972 # FIXME: insert proper C++ library support
13976 # FIXME: insert proper C++ library support
13983 case $cc_basename in
13985 # Sun C++ 4.2, 5.x and Centerline C++
13986 archive_cmds_need_lc_CXX
=yes
13987 no_undefined_flag_CXX
=' -zdefs'
13988 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13989 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13990 $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'
13992 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13993 hardcode_shlibpath_var_CXX
=no
13995 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
13997 # The compiler driver will combine and reorder linker options,
13998 # but understands `-z linker_flag'.
13999 # Supported since Solaris 2.6 (maybe 2.5.1?)
14000 whole_archive_flag_spec_CXX
='-z allextract$convenience -z defaultextract'
14003 link_all_deplibs_CXX
=yes
14005 output_verbose_link_cmd
='func_echo_all'
14007 # Archives containing C++ object files must be created using
14008 # "CC -xar", where "CC" is the Sun C++ compiler. This is
14009 # necessary to make sure instantiated templates are included
14011 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
14014 # Green Hills C++ Compiler
14015 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
14017 # The C++ compiler must be used to create the archive.
14018 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
14021 # GNU C++ compiler with Solaris linker
14022 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
14023 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
14024 if $CC --version | $GREP -v '^2\.7' > /dev
/null
; then
14025 archive_cmds_CXX
='$CC -shared $pic_flag -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
14026 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14027 $CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
14029 # Commands to make compiler produce verbose output that lists
14030 # what "hidden" libraries, object files and flags are used when
14031 # linking a shared library.
14032 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14034 # g++ 2.7 appears to require `-G' NOT `-shared' on this
14036 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
14037 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14038 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
14040 # Commands to make compiler produce verbose output that lists
14041 # what "hidden" libraries, object files and flags are used when
14042 # linking a shared library.
14043 output_verbose_link_cmd
='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14046 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
14048 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
14050 whole_archive_flag_spec_CXX
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
14058 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
14059 no_undefined_flag_CXX
='${wl}-z,text'
14060 archive_cmds_need_lc_CXX
=no
14061 hardcode_shlibpath_var_CXX
=no
14062 runpath_var
='LD_RUN_PATH'
14064 case $cc_basename in
14066 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14067 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14070 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14071 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14076 sysv5
* | sco3.2v5
* | sco5v6
*)
14077 # Note: We can NOT use -z defs as we might desire, because we do not
14078 # link with -lc, and that would cause any symbols used from libc to
14079 # always be unresolved, which means just about no library would
14080 # ever link correctly. If we're not using GNU ld we use -z text
14081 # though, which does catch some bad symbols but isn't as heavy-handed
14083 no_undefined_flag_CXX
='${wl}-z,text'
14084 allow_undefined_flag_CXX
='${wl}-z,nodefs'
14085 archive_cmds_need_lc_CXX
=no
14086 hardcode_shlibpath_var_CXX
=no
14087 hardcode_libdir_flag_spec_CXX
='${wl}-R,$libdir'
14088 hardcode_libdir_separator_CXX
=':'
14089 link_all_deplibs_CXX
=yes
14090 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
14091 runpath_var
='LD_RUN_PATH'
14093 case $cc_basename in
14095 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14096 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14097 old_archive_cmds_CXX
='$CC -Tprelink_objects $oldobjs~
14098 '"$old_archive_cmds_CXX"
14099 reload_cmds_CXX
='$CC -Tprelink_objects $reload_objs~
14100 '"$reload_cmds_CXX"
14103 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14104 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14110 case $cc_basename in
14112 # NonStop-UX NCC 3.20
14113 # FIXME: insert proper C++ library support
14117 # FIXME: insert proper C++ library support
14124 # FIXME: insert proper C++ library support
14129 # FIXME: insert proper C++ library support
14134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14135 $as_echo "$ld_shlibs_CXX" >&6; }
14136 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
14142 ## There is no encapsulation within the following macros, do not change
14143 ## the running order or otherwise move them around unless you know exactly
14144 ## what you are doing...
14145 # Dependencies to place before and after the object being linked:
14146 predep_objects_CXX
=
14147 postdep_objects_CXX
=
14150 compiler_lib_search_path_CXX
=
14152 cat > conftest.
$ac_ext <<_LT_EOF
14156 Foo (void) { a = 0; }
14163 _lt_libdeps_save_CFLAGS
=$CFLAGS
14164 case "$CC $CFLAGS " in #(
14165 *\
-flto*\
*) CFLAGS
="$CFLAGS -fno-lto" ;;
14166 *\
-fwhopr*\
*) CFLAGS
="$CFLAGS -fno-whopr" ;;
14167 *\
-fuse-linker-plugin*\
*) CFLAGS
="$CFLAGS -fno-use-linker-plugin" ;;
14170 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14171 (eval $ac_compile) 2>&5
14173 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14174 test $ac_status = 0; }; then
14175 # Parse the compiler output and extract the necessary
14176 # objects, libraries and library flags.
14178 # Sentinel used to keep track of whether or not we are before
14179 # the conftest object file.
14180 pre_test_object_deps_done
=no
14182 for p
in `eval "$output_verbose_link_cmd"`; do
14183 case ${prev}${p} in
14186 # Some compilers place space between "-{L,R}" and the path.
14187 # Remove the space.
14188 if test $p = "-L" ||
14189 test $p = "-R"; then
14194 # Expand the sysroot to ease extracting the directories later.
14195 if test -z "$prev"; then
14197 -L*) func_stripname_cnf
'-L' '' "$p"; prev
=-L; p
=$func_stripname_result ;;
14198 -R*) func_stripname_cnf
'-R' '' "$p"; prev
=-R; p
=$func_stripname_result ;;
14199 -l*) func_stripname_cnf
'-l' '' "$p"; prev
=-l; p
=$func_stripname_result ;;
14203 =*) func_stripname_cnf
'=' '' "$p"; p
=$lt_sysroot$func_stripname_result ;;
14205 if test "$pre_test_object_deps_done" = no
; then
14208 # Internal compiler library paths should come after those
14209 # provided the user. The postdeps already come after the
14210 # user supplied libs so there is no need to process them.
14211 if test -z "$compiler_lib_search_path_CXX"; then
14212 compiler_lib_search_path_CXX
="${prev}${p}"
14214 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
14217 # The "-l" case would never come before the object being
14218 # linked, so don't bother handling this case.
14221 if test -z "$postdeps_CXX"; then
14222 postdeps_CXX
="${prev}${p}"
14224 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
14230 *.lto.
$objext) ;; # Ignore GCC LTO objects
14232 # This assumes that the test object file only shows up
14233 # once in the compiler output.
14234 if test "$p" = "conftest.$objext"; then
14235 pre_test_object_deps_done
=yes
14239 if test "$pre_test_object_deps_done" = no
; then
14240 if test -z "$predep_objects_CXX"; then
14241 predep_objects_CXX
="$p"
14243 predep_objects_CXX
="$predep_objects_CXX $p"
14246 if test -z "$postdep_objects_CXX"; then
14247 postdep_objects_CXX
="$p"
14249 postdep_objects_CXX
="$postdep_objects_CXX $p"
14254 *) ;; # Ignore the rest.
14262 echo "libtool.m4: error: problem compiling CXX test program"
14265 $RM -f confest.
$objext
14266 CFLAGS
=$_lt_libdeps_save_CFLAGS
14268 # PORTME: override above test on systems where it is broken
14271 # Interix 3.5 installs completely hosed .la files for C++, so rather than
14272 # hack all around it, let's just trust "g++" to DTRT.
14273 predep_objects_CXX
=
14274 postdep_objects_CXX
=
14279 case `$CC -V 2>&1 | sed 5q` in
14283 # The more standards-conforming stlport4 library is
14284 # incompatible with the Cstd library. Avoid specifying
14285 # it if it's in CXXFLAGS. Ignore libCrun as
14286 # -library=stlport4 depends on it.
14287 case " $CXX $CXXFLAGS " in
14288 *" -library=stlport4 "*)
14289 solaris_use_stlport4
=yes
14293 if test "$solaris_use_stlport4" != yes; then
14294 postdeps_CXX
='-library=Cstd -library=Crun'
14301 case $cc_basename in
14303 # The more standards-conforming stlport4 library is
14304 # incompatible with the Cstd library. Avoid specifying
14305 # it if it's in CXXFLAGS. Ignore libCrun as
14306 # -library=stlport4 depends on it.
14307 case " $CXX $CXXFLAGS " in
14308 *" -library=stlport4 "*)
14309 solaris_use_stlport4
=yes
14313 # Adding this requires a known-good setup of shared libraries for
14314 # Sun compiler versions before 5.6, else PIC objects from an old
14315 # archive will be linked into the output, leading to subtle bugs.
14316 if test "$solaris_use_stlport4" != yes; then
14317 postdeps_CXX
='-library=Cstd -library=Crun'
14325 case " $postdeps_CXX " in
14326 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
14328 compiler_lib_search_dirs_CXX
=
14329 if test -n "${compiler_lib_search_path_CXX}"; then
14330 compiler_lib_search_dirs_CXX
=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
14363 lt_prog_compiler_wl_CXX
=
14364 lt_prog_compiler_pic_CXX
=
14365 lt_prog_compiler_static_CXX
=
14368 # C++ specific cases for pic, static, wl, etc.
14369 if test "$GXX" = yes; then
14370 lt_prog_compiler_wl_CXX
='-Wl,'
14371 lt_prog_compiler_static_CXX
='-static'
14375 # All AIX code is PIC.
14376 if test "$host_cpu" = ia64
; then
14377 # AIX 5 now supports IA64 processor
14378 lt_prog_compiler_static_CXX
='-Bstatic'
14385 # see comment about AmigaOS4 .so support
14386 lt_prog_compiler_pic_CXX
='-fPIC'
14389 # FIXME: we need at least 68020 code to build shared libraries, but
14390 # adding the `-m68020' flag to GCC prevents building anything better,
14392 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
14397 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
14398 # PIC is the default for these OSes.
14400 mingw
* | cygwin
* | os2
* | pw32
* | cegcc
*)
14401 # This hack is so that the source file can tell whether it is being
14402 # built for inclusion in a dll (and should export symbols for example).
14403 # Although the cygwin gcc ignores -fPIC, still need this for old-style
14404 # (--disable-auto-import) libraries
14405 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
14407 darwin
* | rhapsody
*)
14408 # PIC is the default on this platform
14409 # Common symbols not allowed in MH_DYLIB files
14410 lt_prog_compiler_pic_CXX
='-fno-common'
14413 # DJGPP does not support shared libraries at all
14414 lt_prog_compiler_pic_CXX
=
14417 # PIC is the default for Haiku.
14418 # The "-static" flag exists, but is broken.
14419 lt_prog_compiler_static_CXX
=
14422 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
14423 # Instead, we relocate shared libraries at runtime.
14426 if test -d /usr
/nec
; then
14427 lt_prog_compiler_pic_CXX
=-Kconform_pic
14431 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
14432 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
14433 # sets the default TLS model and affects inlining.
14438 lt_prog_compiler_pic_CXX
='-fPIC'
14443 # QNX uses GNU C++, but need to define -shared option too, otherwise
14444 # it will coredump.
14445 lt_prog_compiler_pic_CXX
='-fPIC -shared'
14448 lt_prog_compiler_pic_CXX
='-fPIC'
14454 # All AIX code is PIC.
14455 if test "$host_cpu" = ia64
; then
14456 # AIX 5 now supports IA64 processor
14457 lt_prog_compiler_static_CXX
='-Bstatic'
14459 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
14463 case $cc_basename in
14465 # Green Hills C++ Compiler
14466 # _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"
14470 mingw
* | cygwin
* | os2
* | pw32
* | cegcc
*)
14471 # This hack is so that the source file can tell whether it is being
14472 # built for inclusion in a dll (and should export symbols for example).
14473 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
14476 case $cc_basename in
14478 lt_prog_compiler_pic_CXX
='-KPIC'
14481 # Green Hills C++ Compiler
14482 lt_prog_compiler_pic_CXX
='-pic'
14488 freebsd
* | dragonfly
*)
14489 # FreeBSD uses GNU C++
14491 hpux9
* | hpux10
* | hpux11
*)
14492 case $cc_basename in
14494 lt_prog_compiler_wl_CXX
='-Wl,'
14495 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
14496 if test "$host_cpu" != ia64
; then
14497 lt_prog_compiler_pic_CXX
='+Z'
14501 lt_prog_compiler_wl_CXX
='-Wl,'
14502 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
14508 lt_prog_compiler_pic_CXX
='+Z'
14517 # This is c89, which is MS Visual C++ (no shared libs)
14518 # Anyone wants to do a port?
14520 irix5
* | irix6
* | nonstopux
*)
14521 case $cc_basename in
14523 lt_prog_compiler_wl_CXX
='-Wl,'
14524 lt_prog_compiler_static_CXX
='-non_shared'
14525 # CC pic flag -KPIC is the default.
14531 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
14532 case $cc_basename in
14535 lt_prog_compiler_wl_CXX
='--backend -Wl,'
14536 lt_prog_compiler_pic_CXX
='-fPIC'
14539 # old Intel C++ for x86_64 which still supported -KPIC.
14540 lt_prog_compiler_wl_CXX
='-Wl,'
14541 lt_prog_compiler_pic_CXX
='-KPIC'
14542 lt_prog_compiler_static_CXX
='-static'
14545 # Intel C++, used to be incompatible with GCC.
14546 # ICC 10 doesn't accept -KPIC any more.
14547 lt_prog_compiler_wl_CXX
='-Wl,'
14548 lt_prog_compiler_pic_CXX
='-fPIC'
14549 lt_prog_compiler_static_CXX
='-static'
14552 # Portland Group C++ compiler
14553 lt_prog_compiler_wl_CXX
='-Wl,'
14554 lt_prog_compiler_pic_CXX
='-fpic'
14555 lt_prog_compiler_static_CXX
='-Bstatic'
14559 # Make sure the PIC flag is empty. It appears that all Alpha
14560 # Linux and Compaq Tru64 Unix objects are PIC.
14561 lt_prog_compiler_pic_CXX
=
14562 lt_prog_compiler_static_CXX
='-non_shared'
14564 xlc
* | xlC
* | bgxl
[cC
]* | mpixl
[cC
]*)
14565 # IBM XL 8.0, 9.0 on PPC and BlueGene
14566 lt_prog_compiler_wl_CXX
='-Wl,'
14567 lt_prog_compiler_pic_CXX
='-qpic'
14568 lt_prog_compiler_static_CXX
='-qstaticlink'
14571 case `$CC -V 2>&1 | sed 5q` in
14574 lt_prog_compiler_pic_CXX
='-KPIC'
14575 lt_prog_compiler_static_CXX
='-Bstatic'
14576 lt_prog_compiler_wl_CXX
='-Qoption ld '
14587 case $cc_basename in
14589 lt_prog_compiler_pic_CXX
='-W c,exportall'
14598 # QNX uses GNU C++, but need to define -shared option too, otherwise
14599 # it will coredump.
14600 lt_prog_compiler_pic_CXX
='-fPIC -shared'
14602 osf3
* | osf4
* | osf5
*)
14603 case $cc_basename in
14605 lt_prog_compiler_wl_CXX
='--backend -Wl,'
14608 # Rational C++ 2.4.1
14609 lt_prog_compiler_pic_CXX
='-pic'
14612 # Digital/Compaq C++
14613 lt_prog_compiler_wl_CXX
='-Wl,'
14614 # Make sure the PIC flag is empty. It appears that all Alpha
14615 # Linux and Compaq Tru64 Unix objects are PIC.
14616 lt_prog_compiler_pic_CXX
=
14617 lt_prog_compiler_static_CXX
='-non_shared'
14626 case $cc_basename in
14628 # Sun C++ 4.2, 5.x and Centerline C++
14629 lt_prog_compiler_pic_CXX
='-KPIC'
14630 lt_prog_compiler_static_CXX
='-Bstatic'
14631 lt_prog_compiler_wl_CXX
='-Qoption ld '
14634 # Green Hills C++ Compiler
14635 lt_prog_compiler_pic_CXX
='-PIC'
14642 case $cc_basename in
14645 lt_prog_compiler_pic_CXX
='-pic'
14646 lt_prog_compiler_static_CXX
='-Bstatic'
14650 lt_prog_compiler_pic_CXX
='-pic'
14656 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
14657 case $cc_basename in
14659 lt_prog_compiler_wl_CXX
='-Wl,'
14660 lt_prog_compiler_pic_CXX
='-KPIC'
14661 lt_prog_compiler_static_CXX
='-Bstatic'
14666 case $cc_basename in
14668 # NonStop-UX NCC 3.20
14669 lt_prog_compiler_pic_CXX
='-KPIC'
14678 lt_prog_compiler_can_build_shared_CXX
=no
14684 # For platforms which do not support PIC, -DPIC is meaningless:
14686 lt_prog_compiler_pic_CXX
=
14689 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
14693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
14694 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
14695 if ${lt_cv_prog_compiler_pic_CXX+:} false
; then :
14696 $as_echo_n "(cached) " >&6
14698 lt_cv_prog_compiler_pic_CXX
=$lt_prog_compiler_pic_CXX
14700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
14701 $as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
14702 lt_prog_compiler_pic_CXX
=$lt_cv_prog_compiler_pic_CXX
14705 # Check to make sure the PIC flag actually works.
14707 if test -n "$lt_prog_compiler_pic_CXX"; then
14708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
14709 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
14710 if ${lt_cv_prog_compiler_pic_works_CXX+:} false
; then :
14711 $as_echo_n "(cached) " >&6
14713 lt_cv_prog_compiler_pic_works_CXX
=no
14714 ac_outfile
=conftest.
$ac_objext
14715 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14716 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
14717 # Insert the option either (1) after the last *FLAGS variable, or
14718 # (2) before a word containing "conftest.", or (3) at the end.
14719 # Note that $ac_compile itself does not contain backslashes and begins
14720 # with a dollar sign (not a hyphen), so the echo should work correctly.
14721 # The option is referenced via a variable to avoid confusing sed.
14722 lt_compile
=`echo "$ac_compile" | $SED \
14723 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14724 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14725 -e 's:$: $lt_compiler_flag:'`
14726 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14727 (eval "$lt_compile" 2>conftest.err
)
14729 cat conftest.err
>&5
14730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14731 if (exit $ac_status) && test -s "$ac_outfile"; then
14732 # The compiler can only warn and ignore the option if not recognized
14733 # So say no if there are warnings other than the usual output.
14734 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
14735 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14736 if test ! -s conftest.er2
|| diff conftest.exp conftest.er2
>/dev
/null
; then
14737 lt_cv_prog_compiler_pic_works_CXX
=yes
14743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
14744 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
14746 if test x
"$lt_cv_prog_compiler_pic_works_CXX" = xyes
; then
14747 case $lt_prog_compiler_pic_CXX in
14749 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
14752 lt_prog_compiler_pic_CXX
=
14753 lt_prog_compiler_can_build_shared_CXX
=no
14763 # Check to make sure the static flag actually works.
14765 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
14766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14767 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
14768 if ${lt_cv_prog_compiler_static_works_CXX+:} false
; then :
14769 $as_echo_n "(cached) " >&6
14771 lt_cv_prog_compiler_static_works_CXX
=no
14772 save_LDFLAGS
="$LDFLAGS"
14773 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
14774 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
14775 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
14776 # The linker can only warn and ignore the option if not recognized
14777 # So say no if there are warnings
14778 if test -s conftest.err
; then
14779 # Append any errors to the config.log.
14780 cat conftest.err
1>&5
14781 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
14782 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14783 if diff conftest.exp conftest.er2
>/dev
/null
; then
14784 lt_cv_prog_compiler_static_works_CXX
=yes
14787 lt_cv_prog_compiler_static_works_CXX
=yes
14791 LDFLAGS
="$save_LDFLAGS"
14794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
14795 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
14797 if test x
"$lt_cv_prog_compiler_static_works_CXX" = xyes
; then
14800 lt_prog_compiler_static_CXX
=
14806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14807 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14808 if ${lt_cv_prog_compiler_c_o_CXX+:} false
; then :
14809 $as_echo_n "(cached) " >&6
14811 lt_cv_prog_compiler_c_o_CXX
=no
14812 $RM -r conftest
2>/dev
/null
14816 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14818 lt_compiler_flag
="-o out/conftest2.$ac_objext"
14819 # Insert the option either (1) after the last *FLAGS variable, or
14820 # (2) before a word containing "conftest.", or (3) at the end.
14821 # Note that $ac_compile itself does not contain backslashes and begins
14822 # with a dollar sign (not a hyphen), so the echo should work correctly.
14823 lt_compile
=`echo "$ac_compile" | $SED \
14824 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14825 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14826 -e 's:$: $lt_compiler_flag:'`
14827 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14828 (eval "$lt_compile" 2>out
/conftest.err
)
14830 cat out
/conftest.err
>&5
14831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14832 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
14834 # The compiler can only warn and ignore the option if not recognized
14835 # So say no if there are warnings
14836 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out
/conftest.exp
14837 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
14838 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
14839 lt_cv_prog_compiler_c_o_CXX
=yes
14844 # SGI C++ compiler will create directory out/ii_files/ for
14845 # template instantiation
14846 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
14847 $RM out
/* && rmdir out
14853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14854 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14859 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14860 if ${lt_cv_prog_compiler_c_o_CXX+:} false
; then :
14861 $as_echo_n "(cached) " >&6
14863 lt_cv_prog_compiler_c_o_CXX
=no
14864 $RM -r conftest
2>/dev
/null
14868 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14870 lt_compiler_flag
="-o out/conftest2.$ac_objext"
14871 # Insert the option either (1) after the last *FLAGS variable, or
14872 # (2) before a word containing "conftest.", or (3) at the end.
14873 # Note that $ac_compile itself does not contain backslashes and begins
14874 # with a dollar sign (not a hyphen), so the echo should work correctly.
14875 lt_compile
=`echo "$ac_compile" | $SED \
14876 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14877 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14878 -e 's:$: $lt_compiler_flag:'`
14879 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14880 (eval "$lt_compile" 2>out
/conftest.err
)
14882 cat out
/conftest.err
>&5
14883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14884 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
14886 # The compiler can only warn and ignore the option if not recognized
14887 # So say no if there are warnings
14888 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out
/conftest.exp
14889 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
14890 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
14891 lt_cv_prog_compiler_c_o_CXX
=yes
14896 # SGI C++ compiler will create directory out/ii_files/ for
14897 # template instantiation
14898 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
14899 $RM out
/* && rmdir out
14905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14906 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14911 hard_links
="nottested"
14912 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
14913 # do not overwrite the value of need_locks provided by the user
14914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
14915 $as_echo_n "checking if we can lock with hard links... " >&6; }
14918 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14920 ln conftest.a conftest.b
2>&5 || hard_links
=no
14921 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
14923 $as_echo "$hard_links" >&6; }
14924 if test "$hard_links" = no
; then
14925 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14926 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14936 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14938 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14939 exclude_expsyms_CXX
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14942 # If we're using GNU nm, then we don't want the "-C" option.
14943 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14944 # Also, AIX nm treats weak defined symbols like other global defined
14945 # symbols, whereas GNU nm marks them as "W".
14946 if $NM -V 2>&1 | $GREP 'GNU' > /dev
/null
; then
14947 export_symbols_cmds_CXX
='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
14949 export_symbols_cmds_CXX
='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
14953 export_symbols_cmds_CXX
="$ltdll_cmds"
14955 cygwin
* | mingw
* | cegcc
*)
14956 case $cc_basename in
14958 exclude_expsyms_CXX
='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
14961 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'
14962 exclude_expsyms_CXX
='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
14967 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14972 $as_echo "$ld_shlibs_CXX" >&6; }
14973 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
14975 with_gnu_ld_CXX
=$with_gnu_ld
14983 # Do we need to explicitly link libc?
14985 case "x$archive_cmds_need_lc_CXX" in
14987 # Assume -lc should be added
14988 archive_cmds_need_lc_CXX
=yes
14990 if test "$enable_shared" = yes && test "$GCC" = yes; then
14991 case $archive_cmds_CXX in
14993 # FIXME: we may have to deal with multi-command sequences.
14996 # Test whether the compiler implicitly links with -lc since on some
14997 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14998 # to ld, don't add -lc before -lgcc.
14999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
15000 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
15001 if ${lt_cv_archive_cmds_need_lc_CXX+:} false
; then :
15002 $as_echo_n "(cached) " >&6
15005 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
15007 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15008 (eval $ac_compile) 2>&5
15010 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15011 test $ac_status = 0; } 2>conftest.err
; then
15014 libobjs
=conftest.
$ac_objext
15016 wl
=$lt_prog_compiler_wl_CXX
15017 pic_flag
=$lt_prog_compiler_pic_CXX
15023 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
15024 allow_undefined_flag_CXX
=
15025 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
15026 (eval $archive_cmds_CXX 2\
>\
&1 \
| $GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
15028 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15029 test $ac_status = 0; }
15031 lt_cv_archive_cmds_need_lc_CXX
=no
15033 lt_cv_archive_cmds_need_lc_CXX
=yes
15035 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
15037 cat conftest.err
1>&5
15042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
15043 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
15044 archive_cmds_need_lc_CXX
=$lt_cv_archive_cmds_need_lc_CXX
15112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
15113 $as_echo_n "checking dynamic linker characteristics... " >&6; }
15115 library_names_spec
=
15116 libname_spec
='lib$name'
15120 postuninstall_cmds
=
15124 shlibpath_overrides_runpath
=unknown
15126 dynamic_linker
="$host_os ld.so"
15127 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
15128 need_lib_prefix
=unknown
15129 hardcode_into_libs
=no
15131 # when you set need_version to no, make sure it does not cause -set_version
15132 # flags to be left without arguments
15133 need_version
=unknown
15137 version_type
=linux
# correct to gnu/linux during the next big refactor
15138 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
15139 shlibpath_var
=LIBPATH
15141 # AIX 3 has no versioning support, so we append a major version to the name.
15142 soname_spec
='${libname}${release}${shared_ext}$major'
15146 version_type
=linux
# correct to gnu/linux during the next big refactor
15149 hardcode_into_libs
=yes
15150 if test "$host_cpu" = ia64
; then
15151 # AIX 5 supports IA64
15152 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
15153 shlibpath_var
=LD_LIBRARY_PATH
15155 # With GCC up to 2.95.x, collect2 would create an import file
15156 # for dependence libraries. The import file would start with
15157 # the line `#! .'. This would cause the generated library to
15158 # depend on `.', always an invalid library. This was fixed in
15159 # development snapshots of GCC prior to 3.0.
15161 aix4
| aix4.
[01] | aix4.
[01].
*)
15162 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15164 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev
/null
; then
15167 can_build_shared
=no
15171 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
15172 # soname into executable. Probably we can add versioning support to
15173 # collect2, so additional links can be useful in future.
15174 if test "$aix_use_runtimelinking" = yes; then
15175 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15176 # instead of lib<name>.a to let people know that these are not
15177 # typical AIX shared libraries.
15178 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15180 # We preserve .a as extension for shared libraries through AIX4.2
15181 # and later when we are not doing run time linking.
15182 library_names_spec
='${libname}${release}.a $libname.a'
15183 soname_spec
='${libname}${release}${shared_ext}$major'
15185 shlibpath_var
=LIBPATH
15192 # Since July 2007 AmigaOS4 officially supports .so libraries.
15193 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
15194 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15197 library_names_spec
='$libname.ixlibrary $libname.a'
15198 # Create ${libname}_ixlibrary.a entries in /sys/libs.
15199 finish_eval
='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $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'
15205 library_names_spec
='${libname}${shared_ext}'
15206 dynamic_linker
="$host_os ld.so"
15207 shlibpath_var
=LIBRARY_PATH
15211 version_type
=linux
# correct to gnu/linux during the next big refactor
15213 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15214 soname_spec
='${libname}${release}${shared_ext}$major'
15215 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
15216 shlibpath_var
=LD_LIBRARY_PATH
15217 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15218 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
15219 # the default ld.so.conf also contains /usr/contrib/lib and
15220 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15221 # libtool to hard-code these into programs
15224 cygwin
* | mingw
* | pw32
* | cegcc
*)
15225 version_type
=windows
15230 case $GCC,$cc_basename in
15233 library_names_spec
='$libname.dll.a'
15234 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15235 postinstall_cmds
='base_file=`basename \${file}`~
15236 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
15237 dldir=$destdir/`dirname \$dlpath`~
15238 test -d \$dldir || mkdir -p \$dldir~
15239 $install_prog $dir/$dlname \$dldir/$dlname~
15240 chmod a+x \$dldir/$dlname~
15241 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
15242 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
15244 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15245 dlpath=$dir/\$dldll~
15247 shlibpath_overrides_runpath
=yes
15251 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15252 soname_spec
='`echo ${libname} | sed -e 's
/^lib
/cyg
/'``echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
15256 # MinGW DLLs use traditional 'lib' prefix
15257 soname_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
15260 # pw32 DLLs use 'pw' prefix rather than 'lib'
15261 library_names_spec
='`echo ${libname} | sed -e 's
/^lib
/pw
/'``echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
15264 dynamic_linker
='Win32 ld.exe'
15269 libname_spec
='$name'
15270 soname_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
15271 library_names_spec
='${libname}.dll.lib'
15275 sys_lib_search_path_spec
=
15278 for lt_path
in $LIB
15281 # Let DOS variable expansion print the short 8.3 style file name.
15282 lt_path
=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
15283 sys_lib_search_path_spec
="$sys_lib_search_path_spec $lt_path"
15286 # Convert to MSYS style.
15287 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
15290 # Convert to unix form, then to dos form, then back to unix form
15291 # but this time dos style (no spaces!) so that the unix form looks
15292 # like /cygdrive/c/PROGRA~1:/cygdr...
15293 sys_lib_search_path_spec
=`cygpath --path --unix "$LIB"`
15294 sys_lib_search_path_spec
=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
15295 sys_lib_search_path_spec
=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15298 sys_lib_search_path_spec
="$LIB"
15299 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev
/null
; then
15300 # It is most probably a Windows format PATH.
15301 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15303 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15305 # FIXME: find the short name or the path components, as spaces are
15306 # common. (e.g. "Program Files" -> "PROGRA~1")
15310 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15311 postinstall_cmds
='base_file=`basename \${file}`~
15312 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
15313 dldir=$destdir/`dirname \$dlpath`~
15314 test -d \$dldir || mkdir -p \$dldir~
15315 $install_prog $dir/$dlname \$dldir/$dlname'
15316 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15317 dlpath=$dir/\$dldll~
15319 shlibpath_overrides_runpath
=yes
15320 dynamic_linker
='Win32 link.exe'
15324 # Assume MSVC wrapper
15325 library_names_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext} $libname.lib'
15326 dynamic_linker
='Win32 ld.exe'
15329 # FIXME: first we should search . and the directory the executable is in
15333 darwin
* | rhapsody
*)
15334 dynamic_linker
="$host_os dyld"
15335 version_type
=darwin
15338 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15339 soname_spec
='${libname}${release}${major}$shared_ext'
15340 shlibpath_overrides_runpath
=yes
15341 shlibpath_var
=DYLD_LIBRARY_PATH
15342 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
15344 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
15348 version_type
=linux
# correct to gnu/linux during the next big refactor
15351 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15352 soname_spec
='${libname}${release}${shared_ext}$major'
15353 shlibpath_var
=LD_LIBRARY_PATH
15356 freebsd
* | dragonfly
*)
15357 # DragonFly does not have aout. When/if they implement a new
15358 # versioning mechanism, adjust this.
15359 if test -x /usr
/bin
/objformat
; then
15360 objformat
=`/usr/bin/objformat`
15363 freebsd
[23].
*) objformat
=aout
;;
15364 *) objformat
=elf
;;
15367 version_type
=freebsd
-$objformat
15368 case $version_type in
15370 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15375 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15379 shlibpath_var
=LD_LIBRARY_PATH
15382 shlibpath_overrides_runpath
=yes
15384 freebsd3.
[01]* | freebsdelf3.
[01]*)
15385 shlibpath_overrides_runpath
=yes
15386 hardcode_into_libs
=yes
15388 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
15389 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
15390 shlibpath_overrides_runpath
=no
15391 hardcode_into_libs
=yes
15393 *) # from 4.6 on, and DragonFly
15394 shlibpath_overrides_runpath
=yes
15395 hardcode_into_libs
=yes
15401 version_type
=linux
# correct to gnu/linux during the next big refactor
15404 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15405 soname_spec
='${libname}${release}${shared_ext}$major'
15406 shlibpath_var
=LD_LIBRARY_PATH
15407 shlibpath_overrides_runpath
=no
15408 hardcode_into_libs
=yes
15412 version_type
=linux
# correct to gnu/linux during the next big refactor
15415 dynamic_linker
="$host_os runtime_loader"
15416 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15417 soname_spec
='${libname}${release}${shared_ext}$major'
15418 shlibpath_var
=LIBRARY_PATH
15419 shlibpath_overrides_runpath
=yes
15420 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
15421 hardcode_into_libs
=yes
15424 hpux9
* | hpux10
* | hpux11
*)
15425 # Give a soname corresponding to the major version so that dld.sl refuses to
15426 # link against other versions.
15433 hardcode_into_libs
=yes
15434 dynamic_linker
="$host_os dld.so"
15435 shlibpath_var
=LD_LIBRARY_PATH
15436 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15437 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15438 soname_spec
='${libname}${release}${shared_ext}$major'
15439 if test "X$HPUX_IA64_MODE" = X32
; then
15440 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15442 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
15444 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15448 hardcode_into_libs
=yes
15449 dynamic_linker
="$host_os dld.sl"
15450 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
15451 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15452 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15453 soname_spec
='${libname}${release}${shared_ext}$major'
15454 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15455 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15459 dynamic_linker
="$host_os dld.sl"
15460 shlibpath_var
=SHLIB_PATH
15461 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
15462 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15463 soname_spec
='${libname}${release}${shared_ext}$major'
15466 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
15467 postinstall_cmds
='chmod 555 $lib'
15468 # or fails outright, so override atomically:
15469 install_override_mode
=555
15473 version_type
=linux
# correct to gnu/linux during the next big refactor
15476 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15477 soname_spec
='${libname}${release}${shared_ext}$major'
15478 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
15479 shlibpath_var
=LD_LIBRARY_PATH
15480 shlibpath_overrides_runpath
=no
15481 hardcode_into_libs
=yes
15484 irix5
* | irix6
* | nonstopux
*)
15486 nonstopux
*) version_type
=nonstopux
;;
15488 if test "$lt_cv_prog_gnu_ld" = yes; then
15489 version_type
=linux
# correct to gnu/linux during the next big refactor
15496 soname_spec
='${libname}${release}${shared_ext}$major'
15497 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15499 irix5
* | nonstopux
*)
15500 libsuff
= shlibsuff
=
15503 case $LD in # libtool.m4 will add one of these switches to LD
15504 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
15505 libsuff
= shlibsuff
= libmagic
=32-bit;;
15506 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
15507 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
15508 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
15509 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
15510 *) libsuff
= shlibsuff
= libmagic
=never
-match;;
15514 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
15515 shlibpath_overrides_runpath
=no
15516 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15517 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
15518 hardcode_into_libs
=yes
15521 # No shared lib support for Linux oldld, aout, or coff.
15522 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
15526 # This must be glibc/ELF.
15527 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
15528 version_type
=linux
# correct to gnu/linux during the next big refactor
15531 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15532 soname_spec
='${libname}${release}${shared_ext}$major'
15533 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15534 shlibpath_var
=LD_LIBRARY_PATH
15535 shlibpath_overrides_runpath
=no
15537 # Some binutils ld are patched to set DT_RUNPATH
15538 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
15539 $as_echo_n "(cached) " >&6
15541 lt_cv_shlibpath_overrides_runpath
=no
15542 save_LDFLAGS
=$LDFLAGS
15543 save_libdir
=$libdir
15544 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
15545 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
15546 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15547 /* end confdefs.h. */
15557 if ac_fn_cxx_try_link
"$LINENO"; then :
15558 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null
| grep "RUNPATH.*$libdir" >/dev
/null
; then :
15559 lt_cv_shlibpath_overrides_runpath
=yes
15562 rm -f core conftest.err conftest.
$ac_objext \
15563 conftest
$ac_exeext conftest.
$ac_ext
15564 LDFLAGS
=$save_LDFLAGS
15565 libdir
=$save_libdir
15569 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
15571 # This implies no fast_install, which is unacceptable.
15572 # Some rework will be needed to allow for fast_install
15573 # before this can be enabled.
15574 hardcode_into_libs
=yes
15576 # Append ld.so.conf contents to the search path
15577 if test -f /etc
/ld.so.conf
; then
15578 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' ' '`
15579 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
15582 # We used to test for /lib/ld.so.1 and disable shared libraries on
15583 # powerpc, because MkLinux only supported shared libraries with the
15584 # GNU dynamic linker. Since this was broken with cross compilers,
15585 # most powerpc-linux boxes support dynamic linking these days and
15586 # people can always --disable-shared, the test was removed, and we
15587 # assume the GNU/Linux dynamic linker is in use.
15588 dynamic_linker
='GNU/Linux ld.so'
15595 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
15596 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15597 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15598 dynamic_linker
='NetBSD (a.out) ld.so'
15600 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15601 soname_spec
='${libname}${release}${shared_ext}$major'
15602 dynamic_linker
='NetBSD ld.elf_so'
15604 shlibpath_var
=LD_LIBRARY_PATH
15605 shlibpath_overrides_runpath
=yes
15606 hardcode_into_libs
=yes
15610 version_type
=linux
# correct to gnu/linux during the next big refactor
15611 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15612 shlibpath_var
=LD_LIBRARY_PATH
15613 shlibpath_overrides_runpath
=yes
15620 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15621 soname_spec
='${libname}${release}${shared_ext}$major'
15622 shlibpath_var
=LD_LIBRARY_PATH
15623 shlibpath_overrides_runpath
=no
15624 hardcode_into_libs
=yes
15625 dynamic_linker
='ldqnx.so'
15630 sys_lib_dlsearch_path_spec
="/usr/lib"
15632 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15634 openbsd3.3
| openbsd3.3.
*) need_version
=yes ;;
15635 *) need_version
=no
;;
15637 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15638 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15639 shlibpath_var
=LD_LIBRARY_PATH
15640 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15642 openbsd2.
[89] | openbsd2.
[89].
*)
15643 shlibpath_overrides_runpath
=no
15646 shlibpath_overrides_runpath
=yes
15650 shlibpath_overrides_runpath
=yes
15655 libname_spec
='$name'
15658 library_names_spec
='$libname${shared_ext} $libname.a'
15659 dynamic_linker
='OS/2 ld.exe'
15660 shlibpath_var
=LIBPATH
15663 osf3
* | osf4
* | osf5
*)
15667 soname_spec
='${libname}${release}${shared_ext}$major'
15668 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15669 shlibpath_var
=LD_LIBRARY_PATH
15670 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15671 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
15679 version_type
=linux
# correct to gnu/linux during the next big refactor
15682 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15683 soname_spec
='${libname}${release}${shared_ext}$major'
15684 shlibpath_var
=LD_LIBRARY_PATH
15685 shlibpath_overrides_runpath
=yes
15686 hardcode_into_libs
=yes
15687 # ldd complains unless libraries are executable
15688 postinstall_cmds
='chmod +x $lib'
15693 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15694 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15695 shlibpath_var
=LD_LIBRARY_PATH
15696 shlibpath_overrides_runpath
=yes
15697 if test "$with_gnu_ld" = yes; then
15704 version_type
=linux
# correct to gnu/linux during the next big refactor
15705 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15706 soname_spec
='${libname}${release}${shared_ext}$major'
15707 shlibpath_var
=LD_LIBRARY_PATH
15708 case $host_vendor in
15710 shlibpath_overrides_runpath
=no
15712 runpath_var
=LD_RUN_PATH
15720 shlibpath_overrides_runpath
=no
15721 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
15727 if test -d /usr
/nec
;then
15728 version_type
=linux
# correct to gnu/linux during the next big refactor
15729 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15730 soname_spec
='$libname${shared_ext}.$major'
15731 shlibpath_var
=LD_LIBRARY_PATH
15735 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
15736 version_type
=freebsd
-elf
15739 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15740 soname_spec
='${libname}${release}${shared_ext}$major'
15741 shlibpath_var
=LD_LIBRARY_PATH
15742 shlibpath_overrides_runpath
=yes
15743 hardcode_into_libs
=yes
15744 if test "$with_gnu_ld" = yes; then
15745 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15747 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
15750 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
15754 sys_lib_dlsearch_path_spec
='/usr/lib'
15758 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
15759 version_type
=linux
# correct to gnu/linux during the next big refactor
15762 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15763 shlibpath_var
=LD_LIBRARY_PATH
15764 shlibpath_overrides_runpath
=no
15765 hardcode_into_libs
=yes
15769 version_type
=linux
# correct to gnu/linux during the next big refactor
15770 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15771 soname_spec
='${libname}${release}${shared_ext}$major'
15772 shlibpath_var
=LD_LIBRARY_PATH
15779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
15780 $as_echo "$dynamic_linker" >&6; }
15781 test "$dynamic_linker" = no
&& can_build_shared
=no
15783 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
15784 if test "$GCC" = yes; then
15785 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15788 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
15789 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
15791 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
15792 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
15832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
15833 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
15834 hardcode_action_CXX
=
15835 if test -n "$hardcode_libdir_flag_spec_CXX" ||
15836 test -n "$runpath_var_CXX" ||
15837 test "X$hardcode_automatic_CXX" = "Xyes" ; then
15839 # We can hardcode non-existent directories.
15840 if test "$hardcode_direct_CXX" != no
&&
15841 # If the only mechanism to avoid hardcoding is shlibpath_var, we
15842 # have to relink, otherwise we might link with an installed library
15843 # when we should be linking with a yet-to-be-installed one
15844 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
15845 test "$hardcode_minus_L_CXX" != no
; then
15846 # Linking always hardcodes the temporary library directory.
15847 hardcode_action_CXX
=relink
15849 # We can link without hardcoding, and we can hardcode nonexisting dirs.
15850 hardcode_action_CXX
=immediate
15853 # We cannot hardcode anything, or else we can only hardcode existing
15855 hardcode_action_CXX
=unsupported
15857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
15858 $as_echo "$hardcode_action_CXX" >&6; }
15860 if test "$hardcode_action_CXX" = relink
||
15861 test "$inherit_rpath_CXX" = yes; then
15862 # Fast installation is not supported
15863 enable_fast_install
=no
15864 elif test "$shlibpath_overrides_runpath" = yes ||
15865 test "$enable_shared" = no
; then
15866 # Fast installation is not necessary
15867 enable_fast_install
=needless
15876 fi # test -n "$compiler"
15879 CFLAGS
=$lt_save_CFLAGS
15883 with_gnu_ld
=$lt_save_with_gnu_ld
15884 lt_cv_path_LDCXX
=$lt_cv_path_LD
15885 lt_cv_path_LD
=$lt_save_path_LD
15886 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
15887 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
15888 fi # test "$_lt_caught_CXX_error" != yes
15891 ac_cpp
='$CPP $CPPFLAGS'
15892 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15893 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15894 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15910 ac_config_commands
="$ac_config_commands libtool"
15915 # Only expand once:
15920 ac_cpp
='$CXXCPP $CPPFLAGS'
15921 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15922 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15923 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
15932 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
15933 if test -n "$ac_tool_prefix"; then
15934 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
15935 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
15936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15937 $as_echo_n "checking for $ac_word... " >&6; }
15938 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
15939 $as_echo_n "(cached) " >&6
15941 case $PKG_CONFIG in
15943 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
15946 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15947 for as_dir
in $PATH
15950 test -z "$as_dir" && as_dir
=.
15951 for ac_exec_ext
in '' $ac_executable_extensions; do
15952 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
15953 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
15954 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15964 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
15965 if test -n "$PKG_CONFIG"; then
15966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
15967 $as_echo "$PKG_CONFIG" >&6; }
15969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15970 $as_echo "no" >&6; }
15975 if test -z "$ac_cv_path_PKG_CONFIG"; then
15976 ac_pt_PKG_CONFIG
=$PKG_CONFIG
15977 # Extract the first word of "pkg-config", so it can be a program name with args.
15978 set dummy pkg
-config; ac_word
=$2
15979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15980 $as_echo_n "checking for $ac_word... " >&6; }
15981 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
15982 $as_echo_n "(cached) " >&6
15984 case $ac_pt_PKG_CONFIG in
15986 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
15989 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15990 for as_dir
in $PATH
15993 test -z "$as_dir" && as_dir
=.
15994 for ac_exec_ext
in '' $ac_executable_extensions; do
15995 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
15996 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
15997 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16007 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
16008 if test -n "$ac_pt_PKG_CONFIG"; then
16009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
16010 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
16012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16013 $as_echo "no" >&6; }
16016 if test "x$ac_pt_PKG_CONFIG" = x
; then
16019 case $cross_compiling:$ac_tool_warned in
16021 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
16022 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
16023 ac_tool_warned
=yes ;;
16025 PKG_CONFIG
=$ac_pt_PKG_CONFIG
16028 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
16032 if test -n "$PKG_CONFIG"; then
16033 _pkg_min_version
=0.22
16034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
16035 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
16036 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
16037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16038 $as_echo "yes" >&6; }
16040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16041 $as_echo "no" >&6; }
16046 # Extract the first word of "git", so it can be a program name with args.
16047 set dummy git
; ac_word
=$2
16048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16049 $as_echo_n "checking for $ac_word... " >&6; }
16050 if ${ac_cv_path_GIT+:} false
; then :
16051 $as_echo_n "(cached) " >&6
16055 ac_cv_path_GIT
="$GIT" # Let the user override the test with a path.
16058 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16059 for as_dir
in $PATH
16062 test -z "$as_dir" && as_dir
=.
16063 for ac_exec_ext
in '' $ac_executable_extensions; do
16064 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16065 ac_cv_path_GIT
="$as_dir/$ac_word$ac_exec_ext"
16066 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16076 GIT
=$ac_cv_path_GIT
16077 if test -n "$GIT"; then
16078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GIT" >&5
16079 $as_echo "$GIT" >&6; }
16081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16082 $as_echo "no" >&6; }
16086 # Extract the first word of "time", so it can be a program name with args.
16087 set dummy
time; ac_word
=$2
16088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16089 $as_echo_n "checking for $ac_word... " >&6; }
16090 if ${ac_cv_path_TIME+:} false
; then :
16091 $as_echo_n "(cached) " >&6
16095 ac_cv_path_TIME
="$TIME" # Let the user override the test with a path.
16098 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16099 for as_dir
in $PATH
16102 test -z "$as_dir" && as_dir
=.
16103 for ac_exec_ext
in '' $ac_executable_extensions; do
16104 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16105 ac_cv_path_TIME
="$as_dir/$ac_word$ac_exec_ext"
16106 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16116 TIME
=$ac_cv_path_TIME
16117 if test -n "$TIME"; then
16118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TIME" >&5
16119 $as_echo "$TIME" >&6; }
16121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16122 $as_echo "no" >&6; }
16131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bison >= 2.3" >&5
16132 $as_echo_n "checking for bison >= 2.3... " >&6; }
16133 if test -z "$BISON"; then
16134 ac_path_BISON_found
=false
16135 # Loop through the user's path and test for each of PROGNAME-LIST
16136 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16137 for as_dir
in $PATH
16140 test -z "$as_dir" && as_dir
=.
16141 for ac_prog
in bison
; do
16142 for ac_exec_ext
in '' $ac_executable_extensions; do
16143 ac_path_BISON
="$as_dir/$ac_prog$ac_exec_ext"
16144 as_fn_executable_p
"$ac_path_BISON" || continue
16145 version
=`$ac_path_BISON -V | $SED -e '1 s/^bison (GNU Bison) \(.*\)$/\1/p;d'`
16146 if ${version:+false} :; then :
16149 as_awk_strverscmp
='
16150 # Use only awk features that work with 7th edition Unix awk (1978).
16151 # My, what an old awk you have, Mr. Solaris!
16153 while (length(v1) && length(v2)) {
16154 # Set d1 to be the next thing to compare from v1, and likewise for d2.
16155 # Normally this is a single character, but if v1 and v2 contain digits,
16156 # compare them as integers and fractions as strverscmp does.
16157 if (v1 ~ /^0-9/ && v2 ~ /^0-9/) {
16158 # Split v1 and v2 into their leading digit string components d1 and d2,
16159 # and advance v1 and v2 past the leading digit strings.
16160 for (len1 = 1; substr(v1, len1 + 1) ~ /^0-9/; len1++) continue
16161 for (len2 = 1; substr(v2, len2 + 1) ~ /^0-9/; len2++) continue
16162 d1 = substr(v1, 1, len1); v1 = substr(v1, len1 + 1)
16163 d2 = substr(v2, 1, len2); v2 = substr(v2, len2 + 1)
16166 # Compare two fractions.
16167 while (d1 ~ /^0/ && d2 ~ /^0/) {
16168 d1 = substr(d1, 2); len1--
16169 d2 = substr(d2, 2); len2--
16171 if (len1 != len2 && ! (len1 && len2 && substr(d1, 1, 1) == substr(d2, 1, 1))) {
16172 # The two components differ in length, and the common prefix
16173 # contains only leading zeros. Consider the longer to be less.
16177 # Otherwise, compare as strings.
16182 # A fraction is less than an integer.
16187 # An integer is greater than a fraction.
16190 # Compare two integers.
16196 # The normal case, without worrying about digits.
16197 d1 = substr(v1, 1, 1); v1 = substr(v1, 2)
16198 d2 = substr(v2, 1, 1); v2 = substr(v2, 2)
16200 if (d1 < d2) exit 1
16201 if (d1 > d2) exit 2
16203 # Beware Solaris /usr/xgp4/bin/awk (at least through Solaris 10),
16204 # which mishandles some comparisons of empty strings to integers.
16205 if (length(v2)) exit 1
16206 if (length(v1)) exit 2
16211 awk "$as_awk_strverscmp" v1
="$as_arg_v1" v2
="$as_arg_v2" /dev
/null
16216 ac_cv_path_BISON
=$ac_path_BISON ;; #(
16218 ac_cv_path_BISON
=$ac_path_BISON ;; #(
16224 $ac_path_BISON_found && break 3
16229 if test -z "$ac_cv_path_BISON"; then
16230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16231 $as_echo "no" >&6; }
16234 ac_cv_path_BISON
=$BISON
16240 BISON
=$ac_cv_path_BISON
16242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
16243 $as_echo "$BISON" >&6; }
16248 as_fn_error $?
"You need bison 2.3 or greater" "$LINENO" 5
16254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16255 $as_echo "no" >&6; }
16263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for flex >= 2.5.33" >&5
16264 $as_echo_n "checking for flex >= 2.5.33... " >&6; }
16265 if test -z "$FLEX"; then
16266 ac_path_FLEX_found
=false
16267 # Loop through the user's path and test for each of PROGNAME-LIST
16268 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16269 for as_dir
in $PATH
16272 test -z "$as_dir" && as_dir
=.
16273 for ac_prog
in flex
; do
16274 for ac_exec_ext
in '' $ac_executable_extensions; do
16275 ac_path_FLEX
="$as_dir/$ac_prog$ac_exec_ext"
16276 as_fn_executable_p
"$ac_path_FLEX" || continue
16277 version
=`$ac_path_FLEX --version | $SED -e '1 s/^[^0-9.]* \([0-9.]*\).*$/\1/p;d'`
16278 if ${version:+false} :; then :
16283 awk "$as_awk_strverscmp" v1
="$as_arg_v1" v2
="$as_arg_v2" /dev
/null
16288 ac_cv_path_FLEX
=$ac_path_FLEX ;; #(
16290 ac_cv_path_FLEX
=$ac_path_FLEX ;; #(
16296 $ac_path_FLEX_found && break 3
16301 if test -z "$ac_cv_path_FLEX"; then
16302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16303 $as_echo "no" >&6; }
16306 ac_cv_path_FLEX
=$FLEX
16312 FLEX
=$ac_cv_path_FLEX
16314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
16315 $as_echo "$FLEX" >&6; }
16320 as_fn_error $?
"You need flex 2.5.33 or greater" "$LINENO" 5
16326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16327 $as_echo "no" >&6; }
16335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gperf >= 3.0.3" >&5
16336 $as_echo_n "checking for gperf >= 3.0.3... " >&6; }
16337 if test -z "$GPERF"; then
16338 ac_path_GPERF_found
=false
16339 # Loop through the user's path and test for each of PROGNAME-LIST
16340 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16341 for as_dir
in $PATH
16344 test -z "$as_dir" && as_dir
=.
16345 for ac_prog
in gperf
; do
16346 for ac_exec_ext
in '' $ac_executable_extensions; do
16347 ac_path_GPERF
="$as_dir/$ac_prog$ac_exec_ext"
16348 as_fn_executable_p
"$ac_path_GPERF" || continue
16349 version
=`$ac_path_GPERF --version | $SED -e '1 s/^.* \([0-9.]*\)$/\1/p;d'`
16350 if ${version:+false} :; then :
16355 awk "$as_awk_strverscmp" v1
="$as_arg_v1" v2
="$as_arg_v2" /dev
/null
16360 ac_cv_path_GPERF
=$ac_path_GPERF ;; #(
16362 ac_cv_path_GPERF
=$ac_path_GPERF ;; #(
16368 $ac_path_GPERF_found && break 3
16373 if test -z "$ac_cv_path_GPERF"; then
16374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16375 $as_echo "no" >&6; }
16378 ac_cv_path_GPERF
=$GPERF
16384 GPERF
=$ac_cv_path_GPERF
16386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GPERF" >&5
16387 $as_echo "$GPERF" >&6; }
16392 as_fn_error $?
"You need gperf 3.0.3 or greater" "$LINENO" 5
16398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16399 $as_echo "no" >&6; }
16407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tar gtar gnutar >= 1.19" >&5
16408 $as_echo_n "checking for tar gtar gnutar >= 1.19... " >&6; }
16409 if test -z "$GNUTAR"; then
16410 ac_path_GNUTAR_found
=false
16411 # Loop through the user's path and test for each of PROGNAME-LIST
16412 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16413 for as_dir
in $PATH
16416 test -z "$as_dir" && as_dir
=.
16417 for ac_prog
in tar gtar gnutar
; do
16418 for ac_exec_ext
in '' $ac_executable_extensions; do
16419 ac_path_GNUTAR
="$as_dir/$ac_prog$ac_exec_ext"
16420 as_fn_executable_p
"$ac_path_GNUTAR" || continue
16421 version
=`$ac_path_GNUTAR --version | $SED -e '1 s/^tar (GNU tar) \(.*\)$/\1/p;d'`
16422 if ${version:+false} :; then :
16427 awk "$as_awk_strverscmp" v1
="$as_arg_v1" v2
="$as_arg_v2" /dev
/null
16432 ac_cv_path_GNUTAR
=$ac_path_GNUTAR ;; #(
16434 ac_cv_path_GNUTAR
=$ac_path_GNUTAR ;; #(
16440 $ac_path_GNUTAR_found && break 3
16445 if test -z "$ac_cv_path_GNUTAR"; then
16446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16447 $as_echo "no" >&6; }
16450 ac_cv_path_GNUTAR
=$GNUTAR
16456 GNUTAR
=$ac_cv_path_GNUTAR
16458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNUTAR" >&5
16459 $as_echo "$GNUTAR" >&6; }
16464 as_fn_error $?
"You need tar gtar gnutar 1.19 or greater" "$LINENO" 5
16470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16471 $as_echo "no" >&6; }
16477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking bison for %code{}" >&5
16478 $as_echo_n "checking bison for %code{}... " >&6; }
16479 echo '%code{}%%_:' >conftest.y
16480 if $BISON conftest.y
-o/dev
/null
2>/dev
/null
; then
16482 for element
in Bison24
; do
16484 for x
in $CY_FILTERS; do
16486 acl_save_prefix
="$prefix"
16487 prefix
="$acl_final_prefix"
16488 acl_save_exec_prefix
="$exec_prefix"
16489 exec_prefix
="$acl_final_exec_prefix"
16491 exec_prefix
="$acl_save_exec_prefix"
16492 prefix
="$acl_save_prefix"
16494 if test "X$x" = "X$element"; then
16499 if test -z "$haveit"; then
16500 CY_FILTERS
="${CY_FILTERS}${CY_FILTERS:+ }$element"
16504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16505 $as_echo "yes" >&6; }
16508 for element
in Bison23
; do
16510 for x
in $CY_FILTERS; do
16512 acl_save_prefix
="$prefix"
16513 prefix
="$acl_final_prefix"
16514 acl_save_exec_prefix
="$exec_prefix"
16515 exec_prefix
="$acl_final_exec_prefix"
16517 exec_prefix
="$acl_save_exec_prefix"
16518 prefix
="$acl_save_prefix"
16520 if test "X$x" = "X$element"; then
16525 if test -z "$haveit"; then
16526 CY_FILTERS
="${CY_FILTERS}${CY_FILTERS:+ }$element"
16530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16531 $as_echo "no" >&6; }
16545 if ${CFLAGS+:} false
; then :
16546 case " $CFLAGS " in
16548 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains "; } >&5
16549 (: CFLAGS already contains
) 2>&5
16551 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16552 test $ac_status = 0; }
16555 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \""; } >&5
16556 (: CFLAGS
="$CFLAGS ") 2>&5
16558 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16559 test $ac_status = 0; }
16568 ac_cpp
='$CPP $CPPFLAGS'
16569 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16570 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16571 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking CFLAGS for maximum warnings" >&5
16574 $as_echo_n "checking CFLAGS for maximum warnings... " >&6; }
16575 if ${ac_cv_cflags_warn_all+:} false
; then :
16576 $as_echo_n "(cached) " >&6
16578 ac_cv_cflags_warn_all
="no, unknown"
16579 ac_save_CFLAGS
="$CFLAGS"
16580 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" #
16581 do CFLAGS
="$ac_save_CFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
16582 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16583 /* end confdefs.h. */
16593 if ac_fn_c_try_compile
"$LINENO"; then :
16594 ac_cv_cflags_warn_all
=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
16596 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16598 CFLAGS
="$ac_save_CFLAGS"
16601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags_warn_all" >&5
16602 $as_echo "$ac_cv_cflags_warn_all" >&6; }
16604 case ".$ac_cv_cflags_warn_all" in
16607 *) if ${CFLAGS+:} false
; then :
16608 case " $CFLAGS " in
16609 *" $ac_cv_cflags_warn_all "*)
16610 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$ac_cv_cflags_warn_all"; } >&5
16611 (: CFLAGS already contains
$ac_cv_cflags_warn_all) 2>&5
16613 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16614 test $ac_status = 0; }
16617 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$ac_cv_cflags_warn_all\""; } >&5
16618 (: CFLAGS
="$CFLAGS $ac_cv_cflags_warn_all") 2>&5
16620 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16621 test $ac_status = 0; }
16622 CFLAGS
="$CFLAGS $ac_cv_cflags_warn_all"
16626 CFLAGS
="$ac_cv_cflags_warn_all"
16632 ac_cpp
='$CXXCPP $CPPFLAGS'
16633 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16634 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16635 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16639 ac_cpp
='$CXXCPP $CPPFLAGS'
16640 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16641 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16642 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking CXXFLAGS for maximum warnings" >&5
16645 $as_echo_n "checking CXXFLAGS for maximum warnings... " >&6; }
16646 if ${ac_cv_cxxflags_warn_all+:} false
; then :
16647 $as_echo_n "(cached) " >&6
16649 ac_cv_cxxflags_warn_all
="no, unknown"
16650 ac_save_CXXFLAGS
="$CXXFLAGS"
16651 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" #
16652 do CXXFLAGS
="$ac_save_CXXFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
16653 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16654 /* end confdefs.h. */
16664 if ac_fn_cxx_try_compile
"$LINENO"; then :
16665 ac_cv_cxxflags_warn_all
=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
16667 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16669 CXXFLAGS
="$ac_save_CXXFLAGS"
16672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxxflags_warn_all" >&5
16673 $as_echo "$ac_cv_cxxflags_warn_all" >&6; }
16675 case ".$ac_cv_cxxflags_warn_all" in
16678 *) if ${CXXFLAGS+:} false
; then :
16679 case " $CXXFLAGS " in
16680 *" $ac_cv_cxxflags_warn_all "*)
16681 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXFLAGS already contains \$ac_cv_cxxflags_warn_all"; } >&5
16682 (: CXXFLAGS already contains
$ac_cv_cxxflags_warn_all) 2>&5
16684 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16685 test $ac_status = 0; }
16688 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXFLAGS=\"\$CXXFLAGS \$ac_cv_cxxflags_warn_all\""; } >&5
16689 (: CXXFLAGS
="$CXXFLAGS $ac_cv_cxxflags_warn_all") 2>&5
16691 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16692 test $ac_status = 0; }
16693 CXXFLAGS
="$CXXFLAGS $ac_cv_cxxflags_warn_all"
16697 CXXFLAGS
="$ac_cv_cxxflags_warn_all"
16703 ac_cpp
='$CXXCPP $CPPFLAGS'
16704 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16705 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16706 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking CXXFLAGS for maximum warnings" >&5
16710 $as_echo_n "checking CXXFLAGS for maximum warnings... " >&6; }
16711 if ${ac_cv_cxxflags_warn_all+:} false
; then :
16712 $as_echo_n "(cached) " >&6
16714 ac_cv_cxxflags_warn_all
="no, unknown"
16715 ac_save_CXXFLAGS
="$CXXFLAGS"
16716 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" #
16717 do CXXFLAGS
="$ac_save_CXXFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
16718 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16719 /* end confdefs.h. */
16729 if ac_fn_cxx_try_compile
"$LINENO"; then :
16730 ac_cv_cxxflags_warn_all
=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
16732 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16734 CXXFLAGS
="$ac_save_CXXFLAGS"
16737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxxflags_warn_all" >&5
16738 $as_echo "$ac_cv_cxxflags_warn_all" >&6; }
16740 case ".$ac_cv_cxxflags_warn_all" in
16743 *) if ${CXXFLAGS+:} false
; then :
16744 case " $CXXFLAGS " in
16745 *" $ac_cv_cxxflags_warn_all "*)
16746 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXFLAGS already contains \$ac_cv_cxxflags_warn_all"; } >&5
16747 (: CXXFLAGS already contains
$ac_cv_cxxflags_warn_all) 2>&5
16749 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16750 test $ac_status = 0; }
16753 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXFLAGS=\"\$CXXFLAGS \$ac_cv_cxxflags_warn_all\""; } >&5
16754 (: CXXFLAGS
="$CXXFLAGS $ac_cv_cxxflags_warn_all") 2>&5
16756 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16757 test $ac_status = 0; }
16758 CXXFLAGS
="$CXXFLAGS $ac_cv_cxxflags_warn_all"
16762 CXXFLAGS
="$ac_cv_cxxflags_warn_all"
16772 ac_cpp
='$CPP $CPPFLAGS'
16773 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16774 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16775 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cc -Werror" >&5
16778 $as_echo_n "checking for cc -Werror... " >&6; }
16782 for element
in -Werror; do
16784 for x
in $CFLAGS; do
16786 acl_save_prefix
="$prefix"
16787 prefix
="$acl_final_prefix"
16788 acl_save_exec_prefix
="$exec_prefix"
16789 exec_prefix
="$acl_final_exec_prefix"
16791 exec_prefix
="$acl_save_exec_prefix"
16792 prefix
="$acl_save_prefix"
16794 if test "X$x" = "X$element"; then
16799 if test -z "$haveit"; then
16800 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
16805 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16806 /* end confdefs.h. */
16809 if ac_fn_c_try_compile
"$LINENO"; then :
16814 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16817 if test "x$cy_good" = x1
; then :
16818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16819 $as_echo "yes" >&6; }
16821 for element
in -Werror; do
16823 for x
in $CFLAGS; do
16825 acl_save_prefix
="$prefix"
16826 prefix
="$acl_final_prefix"
16827 acl_save_exec_prefix
="$exec_prefix"
16828 exec_prefix
="$acl_final_exec_prefix"
16830 exec_prefix
="$acl_save_exec_prefix"
16831 prefix
="$acl_save_prefix"
16833 if test "X$x" = "X$element"; then
16838 if test -z "$haveit"; then
16839 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
16845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16846 $as_echo "no" >&6; }
16850 ac_cpp
='$CXXCPP $CPPFLAGS'
16851 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16852 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16853 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16858 ac_cpp
='$CXXCPP $CPPFLAGS'
16859 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16860 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16861 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -Werror" >&5
16864 $as_echo_n "checking for c++ -Werror... " >&6; }
16868 for element
in -Werror; do
16870 for x
in $CXXFLAGS; do
16872 acl_save_prefix
="$prefix"
16873 prefix
="$acl_final_prefix"
16874 acl_save_exec_prefix
="$exec_prefix"
16875 exec_prefix
="$acl_final_exec_prefix"
16877 exec_prefix
="$acl_save_exec_prefix"
16878 prefix
="$acl_save_prefix"
16880 if test "X$x" = "X$element"; then
16885 if test -z "$haveit"; then
16886 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
16891 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16892 /* end confdefs.h. */
16895 if ac_fn_cxx_try_compile
"$LINENO"; then :
16900 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16903 if test "x$cy_good" = x1
; then :
16904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16905 $as_echo "yes" >&6; }
16907 for element
in -Werror; do
16909 for x
in $CXXFLAGS; do
16911 acl_save_prefix
="$prefix"
16912 prefix
="$acl_final_prefix"
16913 acl_save_exec_prefix
="$exec_prefix"
16914 exec_prefix
="$acl_final_exec_prefix"
16916 exec_prefix
="$acl_save_exec_prefix"
16917 prefix
="$acl_save_prefix"
16919 if test "X$x" = "X$element"; then
16924 if test -z "$haveit"; then
16925 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
16931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16932 $as_echo "no" >&6; }
16936 ac_cpp
='$CXXCPP $CPPFLAGS'
16937 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16938 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16939 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16944 ac_cpp
='$OBJCXXCPP $CPPFLAGS'
16945 ac_compile
='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16946 ac_link
='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16947 ac_compiler_gnu
=$ac_cv_objcxx_compiler_gnu
16949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -ObjC -Werror" >&5
16950 $as_echo_n "checking for c++ -ObjC -Werror... " >&6; }
16952 cy_save
=$OBJCXXFLAGS
16954 for element
in -Werror; do
16956 for x
in $OBJCXXFLAGS; do
16958 acl_save_prefix
="$prefix"
16959 prefix
="$acl_final_prefix"
16960 acl_save_exec_prefix
="$exec_prefix"
16961 exec_prefix
="$acl_final_exec_prefix"
16963 exec_prefix
="$acl_save_exec_prefix"
16964 prefix
="$acl_save_prefix"
16966 if test "X$x" = "X$element"; then
16971 if test -z "$haveit"; then
16972 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
16977 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16978 /* end confdefs.h. */
16981 if ac_fn_objcxx_try_compile
"$LINENO"; then :
16986 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16988 OBJCXXFLAGS
=$cy_save
16989 if test "x$cy_good" = x1
; then :
16990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16991 $as_echo "yes" >&6; }
16993 for element
in -Werror; do
16995 for x
in $OBJCXXFLAGS; do
16997 acl_save_prefix
="$prefix"
16998 prefix
="$acl_final_prefix"
16999 acl_save_exec_prefix
="$exec_prefix"
17000 exec_prefix
="$acl_final_exec_prefix"
17002 exec_prefix
="$acl_save_exec_prefix"
17003 prefix
="$acl_save_prefix"
17005 if test "X$x" = "X$element"; then
17010 if test -z "$haveit"; then
17011 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
17017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17018 $as_echo "no" >&6; }
17022 ac_cpp
='$CXXCPP $CPPFLAGS'
17023 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17024 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17025 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17033 ac_cpp
='$CPP $CPPFLAGS'
17034 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17035 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17036 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cc -Wno-deprecated-declarations" >&5
17039 $as_echo_n "checking for cc -Wno-deprecated-declarations... " >&6; }
17043 for element
in -Wno-deprecated-declarations; do
17045 for x
in $CFLAGS; do
17047 acl_save_prefix
="$prefix"
17048 prefix
="$acl_final_prefix"
17049 acl_save_exec_prefix
="$exec_prefix"
17050 exec_prefix
="$acl_final_exec_prefix"
17052 exec_prefix
="$acl_save_exec_prefix"
17053 prefix
="$acl_save_prefix"
17055 if test "X$x" = "X$element"; then
17060 if test -z "$haveit"; then
17061 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
17066 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17067 /* end confdefs.h. */
17070 if ac_fn_c_try_compile
"$LINENO"; then :
17075 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17078 if test "x$cy_good" = x1
; then :
17079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17080 $as_echo "yes" >&6; }
17082 for element
in -Wno-deprecated-declarations; do
17084 for x
in $CFLAGS; do
17086 acl_save_prefix
="$prefix"
17087 prefix
="$acl_final_prefix"
17088 acl_save_exec_prefix
="$exec_prefix"
17089 exec_prefix
="$acl_final_exec_prefix"
17091 exec_prefix
="$acl_save_exec_prefix"
17092 prefix
="$acl_save_prefix"
17094 if test "X$x" = "X$element"; then
17099 if test -z "$haveit"; then
17100 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
17106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17107 $as_echo "no" >&6; }
17111 ac_cpp
='$CXXCPP $CPPFLAGS'
17112 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17113 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17114 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17119 ac_cpp
='$CXXCPP $CPPFLAGS'
17120 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17121 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17122 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -Wno-deprecated-declarations" >&5
17125 $as_echo_n "checking for c++ -Wno-deprecated-declarations... " >&6; }
17129 for element
in -Wno-deprecated-declarations; do
17131 for x
in $CXXFLAGS; do
17133 acl_save_prefix
="$prefix"
17134 prefix
="$acl_final_prefix"
17135 acl_save_exec_prefix
="$exec_prefix"
17136 exec_prefix
="$acl_final_exec_prefix"
17138 exec_prefix
="$acl_save_exec_prefix"
17139 prefix
="$acl_save_prefix"
17141 if test "X$x" = "X$element"; then
17146 if test -z "$haveit"; then
17147 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
17152 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17153 /* end confdefs.h. */
17156 if ac_fn_cxx_try_compile
"$LINENO"; then :
17161 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17164 if test "x$cy_good" = x1
; then :
17165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17166 $as_echo "yes" >&6; }
17168 for element
in -Wno-deprecated-declarations; do
17170 for x
in $CXXFLAGS; do
17172 acl_save_prefix
="$prefix"
17173 prefix
="$acl_final_prefix"
17174 acl_save_exec_prefix
="$exec_prefix"
17175 exec_prefix
="$acl_final_exec_prefix"
17177 exec_prefix
="$acl_save_exec_prefix"
17178 prefix
="$acl_save_prefix"
17180 if test "X$x" = "X$element"; then
17185 if test -z "$haveit"; then
17186 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
17192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17193 $as_echo "no" >&6; }
17197 ac_cpp
='$CXXCPP $CPPFLAGS'
17198 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17199 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17200 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17205 ac_cpp
='$OBJCXXCPP $CPPFLAGS'
17206 ac_compile
='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17207 ac_link
='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17208 ac_compiler_gnu
=$ac_cv_objcxx_compiler_gnu
17210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -ObjC -Wno-deprecated-declarations" >&5
17211 $as_echo_n "checking for c++ -ObjC -Wno-deprecated-declarations... " >&6; }
17213 cy_save
=$OBJCXXFLAGS
17215 for element
in -Wno-deprecated-declarations; do
17217 for x
in $OBJCXXFLAGS; do
17219 acl_save_prefix
="$prefix"
17220 prefix
="$acl_final_prefix"
17221 acl_save_exec_prefix
="$exec_prefix"
17222 exec_prefix
="$acl_final_exec_prefix"
17224 exec_prefix
="$acl_save_exec_prefix"
17225 prefix
="$acl_save_prefix"
17227 if test "X$x" = "X$element"; then
17232 if test -z "$haveit"; then
17233 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
17238 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17239 /* end confdefs.h. */
17242 if ac_fn_objcxx_try_compile
"$LINENO"; then :
17247 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17249 OBJCXXFLAGS
=$cy_save
17250 if test "x$cy_good" = x1
; then :
17251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17252 $as_echo "yes" >&6; }
17254 for element
in -Wno-deprecated-declarations; do
17256 for x
in $OBJCXXFLAGS; do
17258 acl_save_prefix
="$prefix"
17259 prefix
="$acl_final_prefix"
17260 acl_save_exec_prefix
="$exec_prefix"
17261 exec_prefix
="$acl_final_exec_prefix"
17263 exec_prefix
="$acl_save_exec_prefix"
17264 prefix
="$acl_save_prefix"
17266 if test "X$x" = "X$element"; then
17271 if test -z "$haveit"; then
17272 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
17278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17279 $as_echo "no" >&6; }
17283 ac_cpp
='$CXXCPP $CPPFLAGS'
17284 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17285 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17286 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17294 ac_cpp
='$CPP $CPPFLAGS'
17295 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17296 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17297 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cc -Wno-dangling-else" >&5
17300 $as_echo_n "checking for cc -Wno-dangling-else... " >&6; }
17304 for element
in -Wno-dangling-else; do
17306 for x
in $CFLAGS; do
17308 acl_save_prefix
="$prefix"
17309 prefix
="$acl_final_prefix"
17310 acl_save_exec_prefix
="$exec_prefix"
17311 exec_prefix
="$acl_final_exec_prefix"
17313 exec_prefix
="$acl_save_exec_prefix"
17314 prefix
="$acl_save_prefix"
17316 if test "X$x" = "X$element"; then
17321 if test -z "$haveit"; then
17322 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
17327 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17328 /* end confdefs.h. */
17331 if ac_fn_c_try_compile
"$LINENO"; then :
17336 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17339 if test "x$cy_good" = x1
; then :
17340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17341 $as_echo "yes" >&6; }
17343 for element
in -Wno-dangling-else; do
17345 for x
in $CFLAGS; do
17347 acl_save_prefix
="$prefix"
17348 prefix
="$acl_final_prefix"
17349 acl_save_exec_prefix
="$exec_prefix"
17350 exec_prefix
="$acl_final_exec_prefix"
17352 exec_prefix
="$acl_save_exec_prefix"
17353 prefix
="$acl_save_prefix"
17355 if test "X$x" = "X$element"; then
17360 if test -z "$haveit"; then
17361 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
17367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17368 $as_echo "no" >&6; }
17372 ac_cpp
='$CXXCPP $CPPFLAGS'
17373 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17374 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17375 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17380 ac_cpp
='$CXXCPP $CPPFLAGS'
17381 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17382 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17383 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -Wno-dangling-else" >&5
17386 $as_echo_n "checking for c++ -Wno-dangling-else... " >&6; }
17390 for element
in -Wno-dangling-else; do
17392 for x
in $CXXFLAGS; do
17394 acl_save_prefix
="$prefix"
17395 prefix
="$acl_final_prefix"
17396 acl_save_exec_prefix
="$exec_prefix"
17397 exec_prefix
="$acl_final_exec_prefix"
17399 exec_prefix
="$acl_save_exec_prefix"
17400 prefix
="$acl_save_prefix"
17402 if test "X$x" = "X$element"; then
17407 if test -z "$haveit"; then
17408 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
17413 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17414 /* end confdefs.h. */
17417 if ac_fn_cxx_try_compile
"$LINENO"; then :
17422 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17425 if test "x$cy_good" = x1
; then :
17426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17427 $as_echo "yes" >&6; }
17429 for element
in -Wno-dangling-else; do
17431 for x
in $CXXFLAGS; do
17433 acl_save_prefix
="$prefix"
17434 prefix
="$acl_final_prefix"
17435 acl_save_exec_prefix
="$exec_prefix"
17436 exec_prefix
="$acl_final_exec_prefix"
17438 exec_prefix
="$acl_save_exec_prefix"
17439 prefix
="$acl_save_prefix"
17441 if test "X$x" = "X$element"; then
17446 if test -z "$haveit"; then
17447 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
17453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17454 $as_echo "no" >&6; }
17458 ac_cpp
='$CXXCPP $CPPFLAGS'
17459 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17460 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17461 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17466 ac_cpp
='$OBJCXXCPP $CPPFLAGS'
17467 ac_compile
='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17468 ac_link
='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17469 ac_compiler_gnu
=$ac_cv_objcxx_compiler_gnu
17471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -ObjC -Wno-dangling-else" >&5
17472 $as_echo_n "checking for c++ -ObjC -Wno-dangling-else... " >&6; }
17474 cy_save
=$OBJCXXFLAGS
17476 for element
in -Wno-dangling-else; do
17478 for x
in $OBJCXXFLAGS; do
17480 acl_save_prefix
="$prefix"
17481 prefix
="$acl_final_prefix"
17482 acl_save_exec_prefix
="$exec_prefix"
17483 exec_prefix
="$acl_final_exec_prefix"
17485 exec_prefix
="$acl_save_exec_prefix"
17486 prefix
="$acl_save_prefix"
17488 if test "X$x" = "X$element"; then
17493 if test -z "$haveit"; then
17494 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
17499 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17500 /* end confdefs.h. */
17503 if ac_fn_objcxx_try_compile
"$LINENO"; then :
17508 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17510 OBJCXXFLAGS
=$cy_save
17511 if test "x$cy_good" = x1
; then :
17512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17513 $as_echo "yes" >&6; }
17515 for element
in -Wno-dangling-else; do
17517 for x
in $OBJCXXFLAGS; do
17519 acl_save_prefix
="$prefix"
17520 prefix
="$acl_final_prefix"
17521 acl_save_exec_prefix
="$exec_prefix"
17522 exec_prefix
="$acl_final_exec_prefix"
17524 exec_prefix
="$acl_save_exec_prefix"
17525 prefix
="$acl_save_prefix"
17527 if test "X$x" = "X$element"; then
17532 if test -z "$haveit"; then
17533 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
17539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17540 $as_echo "no" >&6; }
17544 ac_cpp
='$CXXCPP $CPPFLAGS'
17545 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17546 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17547 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17554 ac_cpp
='$CPP $CPPFLAGS'
17555 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17556 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17557 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cc -Wno-overloaded-virtual" >&5
17560 $as_echo_n "checking for cc -Wno-overloaded-virtual... " >&6; }
17564 for element
in -Wno-overloaded-virtual; do
17566 for x
in $CFLAGS; do
17568 acl_save_prefix
="$prefix"
17569 prefix
="$acl_final_prefix"
17570 acl_save_exec_prefix
="$exec_prefix"
17571 exec_prefix
="$acl_final_exec_prefix"
17573 exec_prefix
="$acl_save_exec_prefix"
17574 prefix
="$acl_save_prefix"
17576 if test "X$x" = "X$element"; then
17581 if test -z "$haveit"; then
17582 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
17587 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17588 /* end confdefs.h. */
17591 if ac_fn_c_try_compile
"$LINENO"; then :
17596 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17599 if test "x$cy_good" = x1
; then :
17600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17601 $as_echo "yes" >&6; }
17603 for element
in -Wno-overloaded-virtual; do
17605 for x
in $CFLAGS; do
17607 acl_save_prefix
="$prefix"
17608 prefix
="$acl_final_prefix"
17609 acl_save_exec_prefix
="$exec_prefix"
17610 exec_prefix
="$acl_final_exec_prefix"
17612 exec_prefix
="$acl_save_exec_prefix"
17613 prefix
="$acl_save_prefix"
17615 if test "X$x" = "X$element"; then
17620 if test -z "$haveit"; then
17621 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
17627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17628 $as_echo "no" >&6; }
17632 ac_cpp
='$CXXCPP $CPPFLAGS'
17633 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17634 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17635 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17640 ac_cpp
='$CXXCPP $CPPFLAGS'
17641 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17642 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17643 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -Wno-overloaded-virtual" >&5
17646 $as_echo_n "checking for c++ -Wno-overloaded-virtual... " >&6; }
17650 for element
in -Wno-overloaded-virtual; do
17652 for x
in $CXXFLAGS; do
17654 acl_save_prefix
="$prefix"
17655 prefix
="$acl_final_prefix"
17656 acl_save_exec_prefix
="$exec_prefix"
17657 exec_prefix
="$acl_final_exec_prefix"
17659 exec_prefix
="$acl_save_exec_prefix"
17660 prefix
="$acl_save_prefix"
17662 if test "X$x" = "X$element"; then
17667 if test -z "$haveit"; then
17668 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
17673 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17674 /* end confdefs.h. */
17677 if ac_fn_cxx_try_compile
"$LINENO"; then :
17682 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17685 if test "x$cy_good" = x1
; then :
17686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17687 $as_echo "yes" >&6; }
17689 for element
in -Wno-overloaded-virtual; do
17691 for x
in $CXXFLAGS; do
17693 acl_save_prefix
="$prefix"
17694 prefix
="$acl_final_prefix"
17695 acl_save_exec_prefix
="$exec_prefix"
17696 exec_prefix
="$acl_final_exec_prefix"
17698 exec_prefix
="$acl_save_exec_prefix"
17699 prefix
="$acl_save_prefix"
17701 if test "X$x" = "X$element"; then
17706 if test -z "$haveit"; then
17707 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
17713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17714 $as_echo "no" >&6; }
17718 ac_cpp
='$CXXCPP $CPPFLAGS'
17719 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17720 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17721 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17726 ac_cpp
='$OBJCXXCPP $CPPFLAGS'
17727 ac_compile
='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17728 ac_link
='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17729 ac_compiler_gnu
=$ac_cv_objcxx_compiler_gnu
17731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -ObjC -Wno-overloaded-virtual" >&5
17732 $as_echo_n "checking for c++ -ObjC -Wno-overloaded-virtual... " >&6; }
17734 cy_save
=$OBJCXXFLAGS
17736 for element
in -Wno-overloaded-virtual; do
17738 for x
in $OBJCXXFLAGS; do
17740 acl_save_prefix
="$prefix"
17741 prefix
="$acl_final_prefix"
17742 acl_save_exec_prefix
="$exec_prefix"
17743 exec_prefix
="$acl_final_exec_prefix"
17745 exec_prefix
="$acl_save_exec_prefix"
17746 prefix
="$acl_save_prefix"
17748 if test "X$x" = "X$element"; then
17753 if test -z "$haveit"; then
17754 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
17759 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17760 /* end confdefs.h. */
17763 if ac_fn_objcxx_try_compile
"$LINENO"; then :
17768 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17770 OBJCXXFLAGS
=$cy_save
17771 if test "x$cy_good" = x1
; then :
17772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17773 $as_echo "yes" >&6; }
17775 for element
in -Wno-overloaded-virtual; do
17777 for x
in $OBJCXXFLAGS; do
17779 acl_save_prefix
="$prefix"
17780 prefix
="$acl_final_prefix"
17781 acl_save_exec_prefix
="$exec_prefix"
17782 exec_prefix
="$acl_final_exec_prefix"
17784 exec_prefix
="$acl_save_exec_prefix"
17785 prefix
="$acl_save_prefix"
17787 if test "X$x" = "X$element"; then
17792 if test -z "$haveit"; then
17793 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
17799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17800 $as_echo "no" >&6; }
17804 ac_cpp
='$CXXCPP $CPPFLAGS'
17805 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17806 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17807 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17814 ac_cpp
='$CPP $CPPFLAGS'
17815 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17816 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17817 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cc -Wno-parentheses" >&5
17820 $as_echo_n "checking for cc -Wno-parentheses... " >&6; }
17824 for element
in -Wno-parentheses; do
17826 for x
in $CFLAGS; do
17828 acl_save_prefix
="$prefix"
17829 prefix
="$acl_final_prefix"
17830 acl_save_exec_prefix
="$exec_prefix"
17831 exec_prefix
="$acl_final_exec_prefix"
17833 exec_prefix
="$acl_save_exec_prefix"
17834 prefix
="$acl_save_prefix"
17836 if test "X$x" = "X$element"; then
17841 if test -z "$haveit"; then
17842 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
17847 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17848 /* end confdefs.h. */
17851 if ac_fn_c_try_compile
"$LINENO"; then :
17856 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17859 if test "x$cy_good" = x1
; then :
17860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17861 $as_echo "yes" >&6; }
17863 for element
in -Wno-parentheses; do
17865 for x
in $CFLAGS; do
17867 acl_save_prefix
="$prefix"
17868 prefix
="$acl_final_prefix"
17869 acl_save_exec_prefix
="$exec_prefix"
17870 exec_prefix
="$acl_final_exec_prefix"
17872 exec_prefix
="$acl_save_exec_prefix"
17873 prefix
="$acl_save_prefix"
17875 if test "X$x" = "X$element"; then
17880 if test -z "$haveit"; then
17881 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
17887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17888 $as_echo "no" >&6; }
17892 ac_cpp
='$CXXCPP $CPPFLAGS'
17893 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17894 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17895 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17900 ac_cpp
='$CXXCPP $CPPFLAGS'
17901 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17902 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17903 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -Wno-parentheses" >&5
17906 $as_echo_n "checking for c++ -Wno-parentheses... " >&6; }
17910 for element
in -Wno-parentheses; do
17912 for x
in $CXXFLAGS; do
17914 acl_save_prefix
="$prefix"
17915 prefix
="$acl_final_prefix"
17916 acl_save_exec_prefix
="$exec_prefix"
17917 exec_prefix
="$acl_final_exec_prefix"
17919 exec_prefix
="$acl_save_exec_prefix"
17920 prefix
="$acl_save_prefix"
17922 if test "X$x" = "X$element"; then
17927 if test -z "$haveit"; then
17928 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
17933 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17934 /* end confdefs.h. */
17937 if ac_fn_cxx_try_compile
"$LINENO"; then :
17942 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17945 if test "x$cy_good" = x1
; then :
17946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17947 $as_echo "yes" >&6; }
17949 for element
in -Wno-parentheses; do
17951 for x
in $CXXFLAGS; do
17953 acl_save_prefix
="$prefix"
17954 prefix
="$acl_final_prefix"
17955 acl_save_exec_prefix
="$exec_prefix"
17956 exec_prefix
="$acl_final_exec_prefix"
17958 exec_prefix
="$acl_save_exec_prefix"
17959 prefix
="$acl_save_prefix"
17961 if test "X$x" = "X$element"; then
17966 if test -z "$haveit"; then
17967 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
17973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17974 $as_echo "no" >&6; }
17978 ac_cpp
='$CXXCPP $CPPFLAGS'
17979 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17980 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17981 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17986 ac_cpp
='$OBJCXXCPP $CPPFLAGS'
17987 ac_compile
='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17988 ac_link
='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17989 ac_compiler_gnu
=$ac_cv_objcxx_compiler_gnu
17991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -ObjC -Wno-parentheses" >&5
17992 $as_echo_n "checking for c++ -ObjC -Wno-parentheses... " >&6; }
17994 cy_save
=$OBJCXXFLAGS
17996 for element
in -Wno-parentheses; do
17998 for x
in $OBJCXXFLAGS; do
18000 acl_save_prefix
="$prefix"
18001 prefix
="$acl_final_prefix"
18002 acl_save_exec_prefix
="$exec_prefix"
18003 exec_prefix
="$acl_final_exec_prefix"
18005 exec_prefix
="$acl_save_exec_prefix"
18006 prefix
="$acl_save_prefix"
18008 if test "X$x" = "X$element"; then
18013 if test -z "$haveit"; then
18014 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
18019 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18020 /* end confdefs.h. */
18023 if ac_fn_objcxx_try_compile
"$LINENO"; then :
18028 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18030 OBJCXXFLAGS
=$cy_save
18031 if test "x$cy_good" = x1
; then :
18032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18033 $as_echo "yes" >&6; }
18035 for element
in -Wno-parentheses; do
18037 for x
in $OBJCXXFLAGS; do
18039 acl_save_prefix
="$prefix"
18040 prefix
="$acl_final_prefix"
18041 acl_save_exec_prefix
="$exec_prefix"
18042 exec_prefix
="$acl_final_exec_prefix"
18044 exec_prefix
="$acl_save_exec_prefix"
18045 prefix
="$acl_save_prefix"
18047 if test "X$x" = "X$element"; then
18052 if test -z "$haveit"; then
18053 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
18059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18060 $as_echo "no" >&6; }
18064 ac_cpp
='$CXXCPP $CPPFLAGS'
18065 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18066 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18067 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18074 ac_cpp
='$CPP $CPPFLAGS'
18075 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18076 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18077 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cc -Wno-unneeded-internal-declaration" >&5
18080 $as_echo_n "checking for cc -Wno-unneeded-internal-declaration... " >&6; }
18084 for element
in -Wno-unneeded-internal-declaration; do
18086 for x
in $CFLAGS; do
18088 acl_save_prefix
="$prefix"
18089 prefix
="$acl_final_prefix"
18090 acl_save_exec_prefix
="$exec_prefix"
18091 exec_prefix
="$acl_final_exec_prefix"
18093 exec_prefix
="$acl_save_exec_prefix"
18094 prefix
="$acl_save_prefix"
18096 if test "X$x" = "X$element"; then
18101 if test -z "$haveit"; then
18102 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
18107 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18108 /* end confdefs.h. */
18111 if ac_fn_c_try_compile
"$LINENO"; then :
18116 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18119 if test "x$cy_good" = x1
; then :
18120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18121 $as_echo "yes" >&6; }
18123 for element
in -Wno-unneeded-internal-declaration; do
18125 for x
in $CFLAGS; do
18127 acl_save_prefix
="$prefix"
18128 prefix
="$acl_final_prefix"
18129 acl_save_exec_prefix
="$exec_prefix"
18130 exec_prefix
="$acl_final_exec_prefix"
18132 exec_prefix
="$acl_save_exec_prefix"
18133 prefix
="$acl_save_prefix"
18135 if test "X$x" = "X$element"; then
18140 if test -z "$haveit"; then
18141 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
18147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18148 $as_echo "no" >&6; }
18152 ac_cpp
='$CXXCPP $CPPFLAGS'
18153 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18154 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18155 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18160 ac_cpp
='$CXXCPP $CPPFLAGS'
18161 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18162 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18163 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -Wno-unneeded-internal-declaration" >&5
18166 $as_echo_n "checking for c++ -Wno-unneeded-internal-declaration... " >&6; }
18170 for element
in -Wno-unneeded-internal-declaration; do
18172 for x
in $CXXFLAGS; do
18174 acl_save_prefix
="$prefix"
18175 prefix
="$acl_final_prefix"
18176 acl_save_exec_prefix
="$exec_prefix"
18177 exec_prefix
="$acl_final_exec_prefix"
18179 exec_prefix
="$acl_save_exec_prefix"
18180 prefix
="$acl_save_prefix"
18182 if test "X$x" = "X$element"; then
18187 if test -z "$haveit"; then
18188 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
18193 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18194 /* end confdefs.h. */
18197 if ac_fn_cxx_try_compile
"$LINENO"; then :
18202 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18205 if test "x$cy_good" = x1
; then :
18206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18207 $as_echo "yes" >&6; }
18209 for element
in -Wno-unneeded-internal-declaration; do
18211 for x
in $CXXFLAGS; do
18213 acl_save_prefix
="$prefix"
18214 prefix
="$acl_final_prefix"
18215 acl_save_exec_prefix
="$exec_prefix"
18216 exec_prefix
="$acl_final_exec_prefix"
18218 exec_prefix
="$acl_save_exec_prefix"
18219 prefix
="$acl_save_prefix"
18221 if test "X$x" = "X$element"; then
18226 if test -z "$haveit"; then
18227 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
18233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18234 $as_echo "no" >&6; }
18238 ac_cpp
='$CXXCPP $CPPFLAGS'
18239 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18240 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18241 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18246 ac_cpp
='$OBJCXXCPP $CPPFLAGS'
18247 ac_compile
='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18248 ac_link
='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18249 ac_compiler_gnu
=$ac_cv_objcxx_compiler_gnu
18251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -ObjC -Wno-unneeded-internal-declaration" >&5
18252 $as_echo_n "checking for c++ -ObjC -Wno-unneeded-internal-declaration... " >&6; }
18254 cy_save
=$OBJCXXFLAGS
18256 for element
in -Wno-unneeded-internal-declaration; do
18258 for x
in $OBJCXXFLAGS; do
18260 acl_save_prefix
="$prefix"
18261 prefix
="$acl_final_prefix"
18262 acl_save_exec_prefix
="$exec_prefix"
18263 exec_prefix
="$acl_final_exec_prefix"
18265 exec_prefix
="$acl_save_exec_prefix"
18266 prefix
="$acl_save_prefix"
18268 if test "X$x" = "X$element"; then
18273 if test -z "$haveit"; then
18274 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
18279 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18280 /* end confdefs.h. */
18283 if ac_fn_objcxx_try_compile
"$LINENO"; then :
18288 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18290 OBJCXXFLAGS
=$cy_save
18291 if test "x$cy_good" = x1
; then :
18292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18293 $as_echo "yes" >&6; }
18295 for element
in -Wno-unneeded-internal-declaration; do
18297 for x
in $OBJCXXFLAGS; do
18299 acl_save_prefix
="$prefix"
18300 prefix
="$acl_final_prefix"
18301 acl_save_exec_prefix
="$exec_prefix"
18302 exec_prefix
="$acl_final_exec_prefix"
18304 exec_prefix
="$acl_save_exec_prefix"
18305 prefix
="$acl_save_prefix"
18307 if test "X$x" = "X$element"; then
18312 if test -z "$haveit"; then
18313 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
18319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18320 $as_echo "no" >&6; }
18324 ac_cpp
='$CXXCPP $CPPFLAGS'
18325 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18326 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18327 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18334 for cy_arch
in ppc ppc64 i386 x86_64 armv6 arm64
; do
18335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -arch $cy_arch" >&5
18336 $as_echo_n "checking for -arch $cy_arch... " >&6; }
18340 for element
in "-arch $cy_arch"; do
18342 for x
in $CXXFLAGS; do
18344 acl_save_prefix
="$prefix"
18345 prefix
="$acl_final_prefix"
18346 acl_save_exec_prefix
="$exec_prefix"
18347 exec_prefix
="$acl_final_exec_prefix"
18349 exec_prefix
="$acl_save_exec_prefix"
18350 prefix
="$acl_save_prefix"
18352 if test "X$x" = "X$element"; then
18357 if test -z "$haveit"; then
18358 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
18363 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18364 /* end confdefs.h. */
18374 if ac_fn_cxx_try_link
"$LINENO"; then :
18379 rm -f core conftest.err conftest.
$ac_objext \
18380 conftest
$ac_exeext conftest.
$ac_ext
18383 if test "x$cy_good" = x1
; then :
18384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18385 $as_echo "yes" >&6; }
18387 for element
in "-arch $cy_arch"; do
18389 for x
in $CY_ARCH; do
18391 acl_save_prefix
="$prefix"
18392 prefix
="$acl_final_prefix"
18393 acl_save_exec_prefix
="$exec_prefix"
18394 exec_prefix
="$acl_final_exec_prefix"
18396 exec_prefix
="$acl_save_exec_prefix"
18397 prefix
="$acl_save_prefix"
18399 if test "X$x" = "X$element"; then
18404 if test -z "$haveit"; then
18405 CY_ARCH
="${CY_ARCH}${CY_ARCH:+ }$element"
18411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18412 $as_echo "no" >&6; }
18422 # Check whether --enable-javascript was given.
18423 if test "${enable_javascript+set}" = set; then :
18424 enableval
=$enable_javascript;
18425 case $enableval in #(
18433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing JSEvaluateScript" >&5
18434 $as_echo_n "checking for library containing JSEvaluateScript... " >&6; }
18435 if ${ac_cv_search_JSEvaluateScript+:} false
; then :
18436 $as_echo_n "(cached) " >&6
18438 ac_func_search_save_LIBS
=$LIBS
18439 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18440 /* end confdefs.h. */
18442 /* Override any GCC internal prototype to avoid an error.
18443 Use char because int might match the return type of a GCC
18444 builtin and then its argument prototype would still apply. */
18448 char JSEvaluateScript ();
18452 return JSEvaluateScript ();
18457 for ac_lib
in '' JavaScriptCore
; do
18458 if test -z "$ac_lib"; then
18459 ac_res
="none required"
18462 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
18464 if ac_fn_cxx_try_link
"$LINENO"; then :
18465 ac_cv_search_JSEvaluateScript
=$ac_res
18467 rm -f core conftest.err conftest.
$ac_objext \
18469 if ${ac_cv_search_JSEvaluateScript+:} false
; then :
18473 if ${ac_cv_search_JSEvaluateScript+:} false
; then :
18476 ac_cv_search_JSEvaluateScript
=no
18478 rm conftest.
$ac_ext
18479 LIBS
=$ac_func_search_save_LIBS
18481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_JSEvaluateScript" >&5
18482 $as_echo "$ac_cv_search_JSEvaluateScript" >&6; }
18483 ac_res
=$ac_cv_search_JSEvaluateScript
18484 if test "$ac_res" != no
; then :
18485 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
18492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
18493 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
18494 if ${ac_cv_framework_JavaScriptCore+:} false
; then :
18495 $as_echo_n "(cached) " >&6
18498 ac_check_framework_save_LIBS
=$LIBS
18499 LIBS
="-framework JavaScriptCore $LIBS"
18500 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18501 /* end confdefs.h. */
18503 #include <JavaScriptCore/JSBase.h>
18509 JSEvaluateScript(0, 0, 0, 0, 0, 0);
18515 if ac_fn_cxx_try_link
"$LINENO"; then :
18517 ac_cv_framework_JavaScriptCore
=yes
18520 ac_cv_framework_JavaScriptCore
=no
18522 rm -f core conftest.err conftest.
$ac_objext \
18523 conftest
$ac_exeext conftest.
$ac_ext
18524 LIBS
=$ac_check_framework_save_LIBS
18527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
18528 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
18529 if test $ac_cv_framework_JavaScriptCore = yes; then :
18532 for element
in "-framework JavaScriptCore"; do
18536 acl_save_prefix
="$prefix"
18537 prefix
="$acl_final_prefix"
18538 acl_save_exec_prefix
="$exec_prefix"
18539 exec_prefix
="$acl_final_exec_prefix"
18541 exec_prefix
="$acl_save_exec_prefix"
18542 prefix
="$acl_save_prefix"
18544 if test "X$x" = "X$element"; then
18549 if test -z "$haveit"; then
18550 LIBS
="${LIBS}${LIBS:+ }$element"
18561 for cy_webkit_pkg
in "webkit-1.0" "WebKitGtk"; do
18564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
18565 $as_echo_n "checking for WEBKIT... " >&6; }
18567 if test -n "$WEBKIT_CFLAGS"; then
18568 pkg_cv_WEBKIT_CFLAGS
="$WEBKIT_CFLAGS"
18569 elif test -n "$PKG_CONFIG"; then
18570 if test -n "$PKG_CONFIG" && \
18571 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$cy_webkit_pkg\""; } >&5
18572 ($PKG_CONFIG --exists --print-errors "$cy_webkit_pkg") 2>&5
18574 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18575 test $ac_status = 0; }; then
18576 pkg_cv_WEBKIT_CFLAGS
=`$PKG_CONFIG --cflags "$cy_webkit_pkg" 2>/dev/null`
18583 if test -n "$WEBKIT_LIBS"; then
18584 pkg_cv_WEBKIT_LIBS
="$WEBKIT_LIBS"
18585 elif test -n "$PKG_CONFIG"; then
18586 if test -n "$PKG_CONFIG" && \
18587 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$cy_webkit_pkg\""; } >&5
18588 ($PKG_CONFIG --exists --print-errors "$cy_webkit_pkg") 2>&5
18590 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18591 test $ac_status = 0; }; then
18592 pkg_cv_WEBKIT_LIBS
=`$PKG_CONFIG --libs "$cy_webkit_pkg" 2>/dev/null`
18602 if test $pkg_failed = yes; then
18603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18604 $as_echo "no" >&6; }
18606 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18607 _pkg_short_errors_supported
=yes
18609 _pkg_short_errors_supported
=no
18611 if test $_pkg_short_errors_supported = yes; then
18612 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "$cy_webkit_pkg" 2>&1`
18614 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --print-errors "$cy_webkit_pkg" 2>&1`
18616 # Put the nasty error message in config.log where it belongs
18617 echo "$WEBKIT_PKG_ERRORS" >&5
18620 elif test $pkg_failed = untried
; then
18621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18622 $as_echo "no" >&6; }
18625 WEBKIT_CFLAGS
=$pkg_cv_WEBKIT_CFLAGS
18626 WEBKIT_LIBS
=$pkg_cv_WEBKIT_LIBS
18627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18628 $as_echo "yes" >&6; }
18633 for element
in `$PKG_CONFIG --cflags $cy_webkit_pkg`; do
18635 for x
in $CPPFLAGS; do
18637 acl_save_prefix
="$prefix"
18638 prefix
="$acl_final_prefix"
18639 acl_save_exec_prefix
="$exec_prefix"
18640 exec_prefix
="$acl_final_exec_prefix"
18642 exec_prefix
="$acl_save_exec_prefix"
18643 prefix
="$acl_save_prefix"
18645 if test "X$x" = "X$element"; then
18650 if test -z "$haveit"; then
18651 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
18656 for element
in `$PKG_CONFIG --libs $cy_webkit_pkg`; do
18660 acl_save_prefix
="$prefix"
18661 prefix
="$acl_final_prefix"
18662 acl_save_exec_prefix
="$exec_prefix"
18663 exec_prefix
="$acl_final_exec_prefix"
18665 exec_prefix
="$acl_save_exec_prefix"
18666 prefix
="$acl_save_prefix"
18668 if test "X$x" = "X$element"; then
18673 if test -z "$haveit"; then
18674 LIBS
="${LIBS}${LIBS:+ }$element"
18679 fi; if test "x$CY_EXECUTE" = x1
; then break; fi
18685 LTJAVASCRIPTCORE
=$LIBS
18700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing JSEvaluateScript" >&5
18701 $as_echo_n "checking for library containing JSEvaluateScript... " >&6; }
18702 if ${ac_cv_search_JSEvaluateScript+:} false
; then :
18703 $as_echo_n "(cached) " >&6
18705 ac_func_search_save_LIBS
=$LIBS
18706 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18707 /* end confdefs.h. */
18709 /* Override any GCC internal prototype to avoid an error.
18710 Use char because int might match the return type of a GCC
18711 builtin and then its argument prototype would still apply. */
18715 char JSEvaluateScript ();
18719 return JSEvaluateScript ();
18724 for ac_lib
in '' JavaScriptCore
; do
18725 if test -z "$ac_lib"; then
18726 ac_res
="none required"
18729 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
18731 if ac_fn_cxx_try_link
"$LINENO"; then :
18732 ac_cv_search_JSEvaluateScript
=$ac_res
18734 rm -f core conftest.err conftest.
$ac_objext \
18736 if ${ac_cv_search_JSEvaluateScript+:} false
; then :
18740 if ${ac_cv_search_JSEvaluateScript+:} false
; then :
18743 ac_cv_search_JSEvaluateScript
=no
18745 rm conftest.
$ac_ext
18746 LIBS
=$ac_func_search_save_LIBS
18748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_JSEvaluateScript" >&5
18749 $as_echo "$ac_cv_search_JSEvaluateScript" >&6; }
18750 ac_res
=$ac_cv_search_JSEvaluateScript
18751 if test "$ac_res" != no
; then :
18752 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
18759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
18760 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
18761 if ${ac_cv_framework_JavaScriptCore+:} false
; then :
18762 $as_echo_n "(cached) " >&6
18765 ac_check_framework_save_LIBS
=$LIBS
18766 LIBS
="-framework JavaScriptCore $LIBS"
18767 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18768 /* end confdefs.h. */
18770 #include <JavaScriptCore/JSBase.h>
18776 JSEvaluateScript(0, 0, 0, 0, 0, 0);
18782 if ac_fn_cxx_try_link
"$LINENO"; then :
18784 ac_cv_framework_JavaScriptCore
=yes
18787 ac_cv_framework_JavaScriptCore
=no
18789 rm -f core conftest.err conftest.
$ac_objext \
18790 conftest
$ac_exeext conftest.
$ac_ext
18791 LIBS
=$ac_check_framework_save_LIBS
18794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
18795 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
18796 if test $ac_cv_framework_JavaScriptCore = yes; then :
18799 for element
in "-framework JavaScriptCore"; do
18803 acl_save_prefix
="$prefix"
18804 prefix
="$acl_final_prefix"
18805 acl_save_exec_prefix
="$exec_prefix"
18806 exec_prefix
="$acl_final_exec_prefix"
18808 exec_prefix
="$acl_save_exec_prefix"
18809 prefix
="$acl_save_prefix"
18811 if test "X$x" = "X$element"; then
18816 if test -z "$haveit"; then
18817 LIBS
="${LIBS}${LIBS:+ }$element"
18828 for cy_webkit_pkg
in "webkit-1.0" "WebKitGtk"; do
18831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
18832 $as_echo_n "checking for WEBKIT... " >&6; }
18834 if test -n "$WEBKIT_CFLAGS"; then
18835 pkg_cv_WEBKIT_CFLAGS
="$WEBKIT_CFLAGS"
18836 elif test -n "$PKG_CONFIG"; then
18837 if test -n "$PKG_CONFIG" && \
18838 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$cy_webkit_pkg\""; } >&5
18839 ($PKG_CONFIG --exists --print-errors "$cy_webkit_pkg") 2>&5
18841 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18842 test $ac_status = 0; }; then
18843 pkg_cv_WEBKIT_CFLAGS
=`$PKG_CONFIG --cflags "$cy_webkit_pkg" 2>/dev/null`
18850 if test -n "$WEBKIT_LIBS"; then
18851 pkg_cv_WEBKIT_LIBS
="$WEBKIT_LIBS"
18852 elif test -n "$PKG_CONFIG"; then
18853 if test -n "$PKG_CONFIG" && \
18854 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$cy_webkit_pkg\""; } >&5
18855 ($PKG_CONFIG --exists --print-errors "$cy_webkit_pkg") 2>&5
18857 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18858 test $ac_status = 0; }; then
18859 pkg_cv_WEBKIT_LIBS
=`$PKG_CONFIG --libs "$cy_webkit_pkg" 2>/dev/null`
18869 if test $pkg_failed = yes; then
18870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18871 $as_echo "no" >&6; }
18873 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18874 _pkg_short_errors_supported
=yes
18876 _pkg_short_errors_supported
=no
18878 if test $_pkg_short_errors_supported = yes; then
18879 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "$cy_webkit_pkg" 2>&1`
18881 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --print-errors "$cy_webkit_pkg" 2>&1`
18883 # Put the nasty error message in config.log where it belongs
18884 echo "$WEBKIT_PKG_ERRORS" >&5
18887 elif test $pkg_failed = untried
; then
18888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18889 $as_echo "no" >&6; }
18892 WEBKIT_CFLAGS
=$pkg_cv_WEBKIT_CFLAGS
18893 WEBKIT_LIBS
=$pkg_cv_WEBKIT_LIBS
18894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18895 $as_echo "yes" >&6; }
18900 for element
in `$PKG_CONFIG --cflags $cy_webkit_pkg`; do
18902 for x
in $CPPFLAGS; do
18904 acl_save_prefix
="$prefix"
18905 prefix
="$acl_final_prefix"
18906 acl_save_exec_prefix
="$exec_prefix"
18907 exec_prefix
="$acl_final_exec_prefix"
18909 exec_prefix
="$acl_save_exec_prefix"
18910 prefix
="$acl_save_prefix"
18912 if test "X$x" = "X$element"; then
18917 if test -z "$haveit"; then
18918 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
18923 for element
in `$PKG_CONFIG --libs $cy_webkit_pkg`; do
18927 acl_save_prefix
="$prefix"
18928 prefix
="$acl_final_prefix"
18929 acl_save_exec_prefix
="$exec_prefix"
18930 exec_prefix
="$acl_final_exec_prefix"
18932 exec_prefix
="$acl_save_exec_prefix"
18933 prefix
="$acl_save_prefix"
18935 if test "X$x" = "X$element"; then
18940 if test -z "$haveit"; then
18941 LIBS
="${LIBS}${LIBS:+ }$element"
18946 fi; if test "x$CY_EXECUTE" = x1
; then break; fi
18952 LTJAVASCRIPTCORE
=$LIBS
18958 as_fn_error $?
"Unknown JavaScript engine: $enableval" "$LINENO" 5 ;;
18967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing JSEvaluateScript" >&5
18968 $as_echo_n "checking for library containing JSEvaluateScript... " >&6; }
18969 if ${ac_cv_search_JSEvaluateScript+:} false
; then :
18970 $as_echo_n "(cached) " >&6
18972 ac_func_search_save_LIBS
=$LIBS
18973 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18974 /* end confdefs.h. */
18976 /* Override any GCC internal prototype to avoid an error.
18977 Use char because int might match the return type of a GCC
18978 builtin and then its argument prototype would still apply. */
18982 char JSEvaluateScript ();
18986 return JSEvaluateScript ();
18991 for ac_lib
in '' JavaScriptCore
; do
18992 if test -z "$ac_lib"; then
18993 ac_res
="none required"
18996 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
18998 if ac_fn_cxx_try_link
"$LINENO"; then :
18999 ac_cv_search_JSEvaluateScript
=$ac_res
19001 rm -f core conftest.err conftest.
$ac_objext \
19003 if ${ac_cv_search_JSEvaluateScript+:} false
; then :
19007 if ${ac_cv_search_JSEvaluateScript+:} false
; then :
19010 ac_cv_search_JSEvaluateScript
=no
19012 rm conftest.
$ac_ext
19013 LIBS
=$ac_func_search_save_LIBS
19015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_JSEvaluateScript" >&5
19016 $as_echo "$ac_cv_search_JSEvaluateScript" >&6; }
19017 ac_res
=$ac_cv_search_JSEvaluateScript
19018 if test "$ac_res" != no
; then :
19019 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
19026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
19027 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
19028 if ${ac_cv_framework_JavaScriptCore+:} false
; then :
19029 $as_echo_n "(cached) " >&6
19032 ac_check_framework_save_LIBS
=$LIBS
19033 LIBS
="-framework JavaScriptCore $LIBS"
19034 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19035 /* end confdefs.h. */
19037 #include <JavaScriptCore/JSBase.h>
19043 JSEvaluateScript(0, 0, 0, 0, 0, 0);
19049 if ac_fn_cxx_try_link
"$LINENO"; then :
19051 ac_cv_framework_JavaScriptCore
=yes
19054 ac_cv_framework_JavaScriptCore
=no
19056 rm -f core conftest.err conftest.
$ac_objext \
19057 conftest
$ac_exeext conftest.
$ac_ext
19058 LIBS
=$ac_check_framework_save_LIBS
19061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
19062 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
19063 if test $ac_cv_framework_JavaScriptCore = yes; then :
19066 for element
in "-framework JavaScriptCore"; do
19070 acl_save_prefix
="$prefix"
19071 prefix
="$acl_final_prefix"
19072 acl_save_exec_prefix
="$exec_prefix"
19073 exec_prefix
="$acl_final_exec_prefix"
19075 exec_prefix
="$acl_save_exec_prefix"
19076 prefix
="$acl_save_prefix"
19078 if test "X$x" = "X$element"; then
19083 if test -z "$haveit"; then
19084 LIBS
="${LIBS}${LIBS:+ }$element"
19095 for cy_webkit_pkg
in "webkit-1.0" "WebKitGtk"; do
19098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
19099 $as_echo_n "checking for WEBKIT... " >&6; }
19101 if test -n "$WEBKIT_CFLAGS"; then
19102 pkg_cv_WEBKIT_CFLAGS
="$WEBKIT_CFLAGS"
19103 elif test -n "$PKG_CONFIG"; then
19104 if test -n "$PKG_CONFIG" && \
19105 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$cy_webkit_pkg\""; } >&5
19106 ($PKG_CONFIG --exists --print-errors "$cy_webkit_pkg") 2>&5
19108 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19109 test $ac_status = 0; }; then
19110 pkg_cv_WEBKIT_CFLAGS
=`$PKG_CONFIG --cflags "$cy_webkit_pkg" 2>/dev/null`
19117 if test -n "$WEBKIT_LIBS"; then
19118 pkg_cv_WEBKIT_LIBS
="$WEBKIT_LIBS"
19119 elif test -n "$PKG_CONFIG"; then
19120 if test -n "$PKG_CONFIG" && \
19121 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$cy_webkit_pkg\""; } >&5
19122 ($PKG_CONFIG --exists --print-errors "$cy_webkit_pkg") 2>&5
19124 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19125 test $ac_status = 0; }; then
19126 pkg_cv_WEBKIT_LIBS
=`$PKG_CONFIG --libs "$cy_webkit_pkg" 2>/dev/null`
19136 if test $pkg_failed = yes; then
19137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19138 $as_echo "no" >&6; }
19140 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
19141 _pkg_short_errors_supported
=yes
19143 _pkg_short_errors_supported
=no
19145 if test $_pkg_short_errors_supported = yes; then
19146 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "$cy_webkit_pkg" 2>&1`
19148 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --print-errors "$cy_webkit_pkg" 2>&1`
19150 # Put the nasty error message in config.log where it belongs
19151 echo "$WEBKIT_PKG_ERRORS" >&5
19154 elif test $pkg_failed = untried
; then
19155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19156 $as_echo "no" >&6; }
19159 WEBKIT_CFLAGS
=$pkg_cv_WEBKIT_CFLAGS
19160 WEBKIT_LIBS
=$pkg_cv_WEBKIT_LIBS
19161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19162 $as_echo "yes" >&6; }
19167 for element
in `$PKG_CONFIG --cflags $cy_webkit_pkg`; do
19169 for x
in $CPPFLAGS; do
19171 acl_save_prefix
="$prefix"
19172 prefix
="$acl_final_prefix"
19173 acl_save_exec_prefix
="$exec_prefix"
19174 exec_prefix
="$acl_final_exec_prefix"
19176 exec_prefix
="$acl_save_exec_prefix"
19177 prefix
="$acl_save_prefix"
19179 if test "X$x" = "X$element"; then
19184 if test -z "$haveit"; then
19185 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
19190 for element
in `$PKG_CONFIG --libs $cy_webkit_pkg`; do
19194 acl_save_prefix
="$prefix"
19195 prefix
="$acl_final_prefix"
19196 acl_save_exec_prefix
="$exec_prefix"
19197 exec_prefix
="$acl_final_exec_prefix"
19199 exec_prefix
="$acl_save_exec_prefix"
19200 prefix
="$acl_save_prefix"
19202 if test "X$x" = "X$element"; then
19207 if test -z "$haveit"; then
19208 LIBS
="${LIBS}${LIBS:+ }$element"
19213 fi; if test "x$CY_EXECUTE" = x1
; then break; fi
19219 LTJAVASCRIPTCORE
=$LIBS
19227 # Check whether --enable-console was given.
19228 if test "${enable_console+set}" = set; then :
19229 enableval
=$enable_console;
19232 if test "x$enable_console" != "xno"; then
19234 CY_CONSOLE_FALSE
='#'
19236 CY_CONSOLE_TRUE
='#'
19243 if test "x$CY_EXECUTE" = x1
; then
19245 CY_EXECUTE_FALSE
='#'
19247 CY_EXECUTE_TRUE
='#'
19253 case $CY_EXECUTE in #(
19256 for ac_header
in ffi.h ffi
/ffi.h
19258 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19259 ac_fn_cxx_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
19260 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
19261 cat >>confdefs.h
<<_ACEOF
19262 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19273 if test "x$ac_cv_header_ffi_h" = xno
&& test "x$ac_cv_header_ffi_ffi_h" = xno
; then :
19277 C compiler flags
for LIBFFI
, overriding pkg
-config
19278 LIBFFI_LIBS linker flags
for LIBFFI
, overriding pkg
-config
19281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBFFI" >&5
19282 $as_echo_n "checking for LIBFFI... " >&6; }
19284 if test -n "$LIBFFI_CFLAGS"; then
19285 pkg_cv_LIBFFI_CFLAGS
="$LIBFFI_CFLAGS"
19286 elif test -n "$PKG_CONFIG"; then
19287 if test -n "$PKG_CONFIG" && \
19288 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libffi\""; } >&5
19289 ($PKG_CONFIG --exists --print-errors "libffi") 2>&5
19291 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19292 test $ac_status = 0; }; then
19293 pkg_cv_LIBFFI_CFLAGS
=`$PKG_CONFIG --cflags "libffi" 2>/dev/null`
19300 if test -n "$LIBFFI_LIBS"; then
19301 pkg_cv_LIBFFI_LIBS
="$LIBFFI_LIBS"
19302 elif test -n "$PKG_CONFIG"; then
19303 if test -n "$PKG_CONFIG" && \
19304 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libffi\""; } >&5
19305 ($PKG_CONFIG --exists --print-errors "libffi") 2>&5
19307 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19308 test $ac_status = 0; }; then
19309 pkg_cv_LIBFFI_LIBS
=`$PKG_CONFIG --libs "libffi" 2>/dev/null`
19319 if test $pkg_failed = yes; then
19320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19321 $as_echo "no" >&6; }
19323 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
19324 _pkg_short_errors_supported
=yes
19326 _pkg_short_errors_supported
=no
19328 if test $_pkg_short_errors_supported = yes; then
19329 LIBFFI_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "libffi" 2>&1`
19331 LIBFFI_PKG_ERRORS
=`$PKG_CONFIG --print-errors "libffi" 2>&1`
19333 # Put the nasty error message in config.log where it belongs
19334 echo "$LIBFFI_PKG_ERRORS" >&5
19336 as_fn_error $?
"missing \"libffi\"" "$LINENO" 5
19337 elif test $pkg_failed = untried
; then
19338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19339 $as_echo "no" >&6; }
19340 as_fn_error $?
"missing \"libffi\"" "$LINENO" 5
19342 LIBFFI_CFLAGS
=$pkg_cv_LIBFFI_CFLAGS
19343 LIBFFI_LIBS
=$pkg_cv_LIBFFI_LIBS
19344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19345 $as_echo "yes" >&6; }
19348 for element
in `$PKG_CONFIG --cflags libffi`; do
19350 for x
in $CPPFLAGS; do
19352 acl_save_prefix
="$prefix"
19353 prefix
="$acl_final_prefix"
19354 acl_save_exec_prefix
="$exec_prefix"
19355 exec_prefix
="$acl_final_exec_prefix"
19357 exec_prefix
="$acl_save_exec_prefix"
19358 prefix
="$acl_save_prefix"
19360 if test "X$x" = "X$element"; then
19365 if test -z "$haveit"; then
19366 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
19371 for element
in `$PKG_CONFIG --libs libffi`; do
19375 acl_save_prefix
="$prefix"
19376 prefix
="$acl_final_prefix"
19377 acl_save_exec_prefix
="$exec_prefix"
19378 exec_prefix
="$acl_final_exec_prefix"
19380 exec_prefix
="$acl_save_exec_prefix"
19381 prefix
="$acl_save_prefix"
19383 if test "X$x" = "X$element"; then
19388 if test -z "$haveit"; then
19389 LIBS
="${LIBS}${LIBS:+ }$element"
19398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing ffi_call" >&5
19399 $as_echo_n "checking for library containing ffi_call... " >&6; }
19400 if ${ac_cv_search_ffi_call+:} false
; then :
19401 $as_echo_n "(cached) " >&6
19403 ac_func_search_save_LIBS
=$LIBS
19404 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19405 /* end confdefs.h. */
19407 /* Override any GCC internal prototype to avoid an error.
19408 Use char because int might match the return type of a GCC
19409 builtin and then its argument prototype would still apply. */
19417 return ffi_call ();
19422 for ac_lib
in '' ffi
; do
19423 if test -z "$ac_lib"; then
19424 ac_res
="none required"
19427 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19429 if ac_fn_cxx_try_link
"$LINENO"; then :
19430 ac_cv_search_ffi_call
=$ac_res
19432 rm -f core conftest.err conftest.
$ac_objext \
19434 if ${ac_cv_search_ffi_call+:} false
; then :
19438 if ${ac_cv_search_ffi_call+:} false
; then :
19441 ac_cv_search_ffi_call
=no
19443 rm conftest.
$ac_ext
19444 LIBS
=$ac_func_search_save_LIBS
19446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_ffi_call" >&5
19447 $as_echo "$ac_cv_search_ffi_call" >&6; }
19448 ac_res
=$ac_cv_search_ffi_call
19449 if test "$ac_res" != no
; then :
19450 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
19454 case $ac_cv_search_ffi_call in #(
19459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBFFI" >&5
19460 $as_echo_n "checking for LIBFFI... " >&6; }
19462 if test -n "$LIBFFI_CFLAGS"; then
19463 pkg_cv_LIBFFI_CFLAGS
="$LIBFFI_CFLAGS"
19464 elif test -n "$PKG_CONFIG"; then
19465 if test -n "$PKG_CONFIG" && \
19466 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libffi\""; } >&5
19467 ($PKG_CONFIG --exists --print-errors "libffi") 2>&5
19469 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19470 test $ac_status = 0; }; then
19471 pkg_cv_LIBFFI_CFLAGS
=`$PKG_CONFIG --cflags "libffi" 2>/dev/null`
19478 if test -n "$LIBFFI_LIBS"; then
19479 pkg_cv_LIBFFI_LIBS
="$LIBFFI_LIBS"
19480 elif test -n "$PKG_CONFIG"; then
19481 if test -n "$PKG_CONFIG" && \
19482 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libffi\""; } >&5
19483 ($PKG_CONFIG --exists --print-errors "libffi") 2>&5
19485 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19486 test $ac_status = 0; }; then
19487 pkg_cv_LIBFFI_LIBS
=`$PKG_CONFIG --libs "libffi" 2>/dev/null`
19497 if test $pkg_failed = yes; then
19498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19499 $as_echo "no" >&6; }
19501 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
19502 _pkg_short_errors_supported
=yes
19504 _pkg_short_errors_supported
=no
19506 if test $_pkg_short_errors_supported = yes; then
19507 LIBFFI_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "libffi" 2>&1`
19509 LIBFFI_PKG_ERRORS
=`$PKG_CONFIG --print-errors "libffi" 2>&1`
19511 # Put the nasty error message in config.log where it belongs
19512 echo "$LIBFFI_PKG_ERRORS" >&5
19514 as_fn_error $?
"missing \"libffi\"" "$LINENO" 5
19515 elif test $pkg_failed = untried
; then
19516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19517 $as_echo "no" >&6; }
19518 as_fn_error $?
"missing \"libffi\"" "$LINENO" 5
19520 LIBFFI_CFLAGS
=$pkg_cv_LIBFFI_CFLAGS
19521 LIBFFI_LIBS
=$pkg_cv_LIBFFI_LIBS
19522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19523 $as_echo "yes" >&6; }
19526 for element
in `$PKG_CONFIG --cflags libffi`; do
19528 for x
in $CPPFLAGS; do
19530 acl_save_prefix
="$prefix"
19531 prefix
="$acl_final_prefix"
19532 acl_save_exec_prefix
="$exec_prefix"
19533 exec_prefix
="$acl_final_exec_prefix"
19535 exec_prefix
="$acl_save_exec_prefix"
19536 prefix
="$acl_save_prefix"
19538 if test "X$x" = "X$element"; then
19543 if test -z "$haveit"; then
19544 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
19549 for element
in `$PKG_CONFIG --libs libffi`; do
19553 acl_save_prefix
="$prefix"
19554 prefix
="$acl_final_prefix"
19555 acl_save_exec_prefix
="$exec_prefix"
19556 exec_prefix
="$acl_final_exec_prefix"
19558 exec_prefix
="$acl_save_exec_prefix"
19559 prefix
="$acl_save_prefix"
19561 if test "X$x" = "X$element"; then
19566 if test -z "$haveit"; then
19567 LIBS
="${LIBS}${LIBS:+ }$element"
19583 ac_fn_cxx_check_header_mongrel
"$LINENO" "jni.h" "ac_cv_header_jni_h" "$ac_includes_default"
19584 if test "x$ac_cv_header_jni_h" = xyes
; then :
19591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing JNI_GetCreatedJavaVMs" >&5
19592 $as_echo_n "checking for library containing JNI_GetCreatedJavaVMs... " >&6; }
19593 if ${ac_cv_search_JNI_GetCreatedJavaVMs+:} false
; then :
19594 $as_echo_n "(cached) " >&6
19596 ac_func_search_save_LIBS
=$LIBS
19597 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19598 /* end confdefs.h. */
19600 /* Override any GCC internal prototype to avoid an error.
19601 Use char because int might match the return type of a GCC
19602 builtin and then its argument prototype would still apply. */
19606 char JNI_GetCreatedJavaVMs ();
19610 return JNI_GetCreatedJavaVMs ();
19615 for ac_lib
in '' dvm
; do
19616 if test -z "$ac_lib"; then
19617 ac_res
="none required"
19620 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19622 if ac_fn_cxx_try_link
"$LINENO"; then :
19623 ac_cv_search_JNI_GetCreatedJavaVMs
=$ac_res
19625 rm -f core conftest.err conftest.
$ac_objext \
19627 if ${ac_cv_search_JNI_GetCreatedJavaVMs+:} false
; then :
19631 if ${ac_cv_search_JNI_GetCreatedJavaVMs+:} false
; then :
19634 ac_cv_search_JNI_GetCreatedJavaVMs
=no
19636 rm conftest.
$ac_ext
19637 LIBS
=$ac_func_search_save_LIBS
19639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_JNI_GetCreatedJavaVMs" >&5
19640 $as_echo "$ac_cv_search_JNI_GetCreatedJavaVMs" >&6; }
19641 ac_res
=$ac_cv_search_JNI_GetCreatedJavaVMs
19642 if test "$ac_res" != no
; then :
19643 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
19663 ac_cpp
='$OBJCXXCPP $CPPFLAGS'
19664 ac_compile
='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19665 ac_link
='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19666 ac_compiler_gnu
=$ac_cv_objcxx_compiler_gnu
19669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we really have Objective C++" >&5
19670 $as_echo_n "checking if we really have Objective C++... " >&6; }
19671 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19672 /* end confdefs.h. */
19675 if ac_fn_objcxx_try_compile
"$LINENO"; then :
19678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19679 $as_echo "yes" >&6; }
19682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19683 $as_echo "no" >&6; }
19685 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19687 if test "x$CY_OBJECTIVEC" = x1
; then :
19693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework CoreFoundation" >&5
19694 $as_echo_n "checking for framework CoreFoundation... " >&6; }
19695 if ${ac_cv_framework_CoreFoundation+:} false
; then :
19696 $as_echo_n "(cached) " >&6
19699 ac_check_framework_save_LIBS
=$LIBS
19700 LIBS
="-framework CoreFoundation $LIBS"
19701 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19702 /* end confdefs.h. */
19704 #include <CoreFoundation/CFBase.h>
19709 CFAllocatorGetDefault();
19714 if ac_fn_objcxx_try_link
"$LINENO"; then :
19716 ac_cv_framework_CoreFoundation
=yes
19719 ac_cv_framework_CoreFoundation
=no
19721 rm -f core conftest.err conftest.
$ac_objext \
19722 conftest
$ac_exeext conftest.
$ac_ext
19723 LIBS
=$ac_check_framework_save_LIBS
19726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_CoreFoundation" >&5
19727 $as_echo "$ac_cv_framework_CoreFoundation" >&6; }
19728 if test $ac_cv_framework_CoreFoundation = yes; then :
19731 for element
in "-framework CoreFoundation"; do
19735 acl_save_prefix
="$prefix"
19736 prefix
="$acl_final_prefix"
19737 acl_save_exec_prefix
="$exec_prefix"
19738 exec_prefix
="$acl_final_exec_prefix"
19740 exec_prefix
="$acl_save_exec_prefix"
19741 prefix
="$acl_save_prefix"
19743 if test "X$x" = "X$element"; then
19748 if test -z "$haveit"; then
19749 LIBS
="${LIBS}${LIBS:+ }$element"
19758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework Foundation" >&5
19759 $as_echo_n "checking for framework Foundation... " >&6; }
19760 if ${ac_cv_framework_Foundation+:} false
; then :
19761 $as_echo_n "(cached) " >&6
19764 ac_check_framework_save_LIBS
=$LIBS
19765 LIBS
="-framework Foundation $LIBS"
19766 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19767 /* end confdefs.h. */
19769 #include <Foundation/NSObject.h>
19774 [[NSObject alloc] init];
19779 if ac_fn_objcxx_try_link
"$LINENO"; then :
19781 ac_cv_framework_Foundation
=yes
19784 ac_cv_framework_Foundation
=no
19786 rm -f core conftest.err conftest.
$ac_objext \
19787 conftest
$ac_exeext conftest.
$ac_ext
19788 LIBS
=$ac_check_framework_save_LIBS
19791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_Foundation" >&5
19792 $as_echo "$ac_cv_framework_Foundation" >&6; }
19793 if test $ac_cv_framework_Foundation = yes; then :
19796 for element
in "-framework Foundation"; do
19800 acl_save_prefix
="$prefix"
19801 prefix
="$acl_final_prefix"
19802 acl_save_exec_prefix
="$exec_prefix"
19803 exec_prefix
="$acl_final_exec_prefix"
19805 exec_prefix
="$acl_save_exec_prefix"
19806 prefix
="$acl_save_prefix"
19808 if test "X$x" = "X$element"; then
19813 if test -z "$haveit"; then
19814 LIBS
="${LIBS}${LIBS:+ }$element"
19818 cat >>confdefs.h
<<_ACEOF
19819 #define HAVE_FRAMEWORK_FOUNDATION 1
19829 for ac_prog
in gnustep
-config
19831 # Extract the first word of "$ac_prog", so it can be a program name with args.
19832 set dummy
$ac_prog; ac_word
=$2
19833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19834 $as_echo_n "checking for $ac_word... " >&6; }
19835 if ${ac_cv_prog_GNUSTEP_CONFIG+:} false
; then :
19836 $as_echo_n "(cached) " >&6
19838 if test -n "$GNUSTEP_CONFIG"; then
19839 ac_cv_prog_GNUSTEP_CONFIG
="$GNUSTEP_CONFIG" # Let the user override the test.
19841 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
19842 for as_dir
in $PATH
19845 test -z "$as_dir" && as_dir
=.
19846 for ac_exec_ext
in '' $ac_executable_extensions; do
19847 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
19848 ac_cv_prog_GNUSTEP_CONFIG
="$ac_prog"
19849 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19858 GNUSTEP_CONFIG
=$ac_cv_prog_GNUSTEP_CONFIG
19859 if test -n "$GNUSTEP_CONFIG"; then
19860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNUSTEP_CONFIG" >&5
19861 $as_echo "$GNUSTEP_CONFIG" >&6; }
19863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19864 $as_echo "no" >&6; }
19868 test -n "$GNUSTEP_CONFIG" && break
19872 if test "x$GNUSTEP_CONFIG" != x
; then :
19876 for element
in `$GNUSTEP_CONFIG --objc-flags`; do
19878 for x
in $OBJCXXFLAGS; do
19880 acl_save_prefix
="$prefix"
19881 prefix
="$acl_final_prefix"
19882 acl_save_exec_prefix
="$exec_prefix"
19883 exec_prefix
="$acl_final_exec_prefix"
19885 exec_prefix
="$acl_save_exec_prefix"
19886 prefix
="$acl_save_prefix"
19888 if test "X$x" = "X$element"; then
19893 if test -z "$haveit"; then
19894 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
19899 for element
in `$GNUSTEP_CONFIG --base-libs`; do
19903 acl_save_prefix
="$prefix"
19904 prefix
="$acl_final_prefix"
19905 acl_save_exec_prefix
="$exec_prefix"
19906 exec_prefix
="$acl_final_exec_prefix"
19908 exec_prefix
="$acl_save_exec_prefix"
19909 prefix
="$acl_save_prefix"
19911 if test "X$x" = "X$element"; then
19916 if test -z "$haveit"; then
19917 LIBS
="${LIBS}${LIBS:+ }$element"
19936 ac_cpp
='$CXXCPP $CPPFLAGS'
19937 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19938 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19939 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19946 if test "x$CY_JAVA" = x1
; then
19954 if test "x$CY_OBJECTIVEC" = x1
; then
19955 CY_OBJECTIVEC_TRUE
=
19956 CY_OBJECTIVEC_FALSE
='#'
19958 CY_OBJECTIVEC_TRUE
='#'
19959 CY_OBJECTIVEC_FALSE
=
19967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a readline compatible library" >&5
19968 $as_echo_n "checking for a readline compatible library... " >&6; }
19969 if ${ax_cv_lib_readline+:} false
; then :
19970 $as_echo_n "(cached) " >&6
19974 for readline_lib
in readline edit editline
; do
19975 for termcap_lib
in "" termcap curses ncurses
; do
19976 if test -z "$termcap_lib"; then
19977 TRY_LIB
="-l$readline_lib"
19979 TRY_LIB
="-l$readline_lib -l$termcap_lib"
19981 LIBS
="$ORIG_LIBS $TRY_LIB"
19982 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19983 /* end confdefs.h. */
19985 /* Override any GCC internal prototype to avoid an error.
19986 Use char because int might match the return type of a GCC
19987 builtin and then its argument prototype would still apply. */
19995 return readline ();
20000 if ac_fn_cxx_try_link
"$LINENO"; then :
20001 ax_cv_lib_readline
="$TRY_LIB"
20003 rm -f core conftest.err conftest.
$ac_objext \
20004 conftest
$ac_exeext conftest.
$ac_ext
20005 if test -n "$ax_cv_lib_readline"; then
20009 if test -n "$ax_cv_lib_readline"; then
20013 if test -z "$ax_cv_lib_readline"; then
20014 ax_cv_lib_readline
="no"
20019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_lib_readline" >&5
20020 $as_echo "$ax_cv_lib_readline" >&6; }
20022 if test "$ax_cv_lib_readline" != "no"; then
20023 LIBS
="$LIBS $ax_cv_lib_readline"
20025 $as_echo "#define HAVE_LIBREADLINE 1" >>confdefs.h
20027 for ac_header
in readline.h readline
/readline.h
20029 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
20030 ac_fn_cxx_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
20031 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
20032 cat >>confdefs.h
<<_ACEOF
20033 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
20040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether readline supports history" >&5
20041 $as_echo_n "checking whether readline supports history... " >&6; }
20042 if ${ax_cv_lib_readline_history+:} false
; then :
20043 $as_echo_n "(cached) " >&6
20046 ax_cv_lib_readline_history
="no"
20047 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20048 /* end confdefs.h. */
20050 /* Override any GCC internal prototype to avoid an error.
20051 Use char because int might match the return type of a GCC
20052 builtin and then its argument prototype would still apply. */
20056 char add_history ();
20060 return add_history ();
20065 if ac_fn_cxx_try_link
"$LINENO"; then :
20066 ax_cv_lib_readline_history
="yes"
20068 rm -f core conftest.err conftest.
$ac_objext \
20069 conftest
$ac_exeext conftest.
$ac_ext
20072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_lib_readline_history" >&5
20073 $as_echo "$ax_cv_lib_readline_history" >&6; }
20074 if test "$ax_cv_lib_readline_history" = "yes"; then
20076 $as_echo "#define HAVE_READLINE_HISTORY 1" >>confdefs.h
20078 for ac_header
in history.h readline
/history.h
20080 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
20081 ac_fn_cxx_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
20082 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
20083 cat >>confdefs.h
<<_ACEOF
20084 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
20094 LTLIBREADLINE
=$LIBS
20098 case $ax_cv_lib_readline in #(
20100 as_fn_error $?
"missing \"libreadline\"" "$LINENO" 5 ;; #(
20108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing cur_term" >&5
20109 $as_echo_n "checking for library containing cur_term... " >&6; }
20110 if ${ac_cv_search_cur_term+:} false
; then :
20111 $as_echo_n "(cached) " >&6
20113 ac_func_search_save_LIBS
=$LIBS
20114 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20115 /* end confdefs.h. */
20117 /* Override any GCC internal prototype to avoid an error.
20118 Use char because int might match the return type of a GCC
20119 builtin and then its argument prototype would still apply. */
20127 return cur_term ();
20132 for ac_lib
in '' termcap ncurses
; do
20133 if test -z "$ac_lib"; then
20134 ac_res
="none required"
20137 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
20139 if ac_fn_cxx_try_link
"$LINENO"; then :
20140 ac_cv_search_cur_term
=$ac_res
20142 rm -f core conftest.err conftest.
$ac_objext \
20144 if ${ac_cv_search_cur_term+:} false
; then :
20148 if ${ac_cv_search_cur_term+:} false
; then :
20151 ac_cv_search_cur_term
=no
20153 rm conftest.
$ac_ext
20154 LIBS
=$ac_func_search_save_LIBS
20156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_cur_term" >&5
20157 $as_echo "$ac_cv_search_cur_term" >&6; }
20158 ac_res
=$ac_cv_search_cur_term
20159 if test "$ac_res" != no
; then :
20160 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
20175 if test "x$CY_EXECUTE" = x1
; then :
20177 ac_fn_cxx_check_header_mongrel
"$LINENO" "mach/mach.h" "ac_cv_header_mach_mach_h" "$ac_includes_default"
20178 if test "x$ac_cv_header_mach_mach_h" = xyes
; then :
20180 if test -n "$ac_tool_prefix"; then
20181 for ac_prog
in lipo
20183 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
20184 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
20185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20186 $as_echo_n "checking for $ac_word... " >&6; }
20187 if ${ac_cv_prog__LIPO+:} false
; then :
20188 $as_echo_n "(cached) " >&6
20190 if test -n "$_LIPO"; then
20191 ac_cv_prog__LIPO
="$_LIPO" # Let the user override the test.
20193 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20194 for as_dir
in $PATH
20197 test -z "$as_dir" && as_dir
=.
20198 for ac_exec_ext
in '' $ac_executable_extensions; do
20199 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
20200 ac_cv_prog__LIPO
="$ac_tool_prefix$ac_prog"
20201 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20210 _LIPO
=$ac_cv_prog__LIPO
20211 if test -n "$_LIPO"; then
20212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_LIPO" >&5
20213 $as_echo "$_LIPO" >&6; }
20215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20216 $as_echo "no" >&6; }
20220 test -n "$_LIPO" && break
20223 if test -z "$_LIPO"; then
20225 for ac_prog
in lipo
20227 # Extract the first word of "$ac_prog", so it can be a program name with args.
20228 set dummy
$ac_prog; ac_word
=$2
20229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20230 $as_echo_n "checking for $ac_word... " >&6; }
20231 if ${ac_cv_prog_ac_ct__LIPO+:} false
; then :
20232 $as_echo_n "(cached) " >&6
20234 if test -n "$ac_ct__LIPO"; then
20235 ac_cv_prog_ac_ct__LIPO
="$ac_ct__LIPO" # Let the user override the test.
20237 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20238 for as_dir
in $PATH
20241 test -z "$as_dir" && as_dir
=.
20242 for ac_exec_ext
in '' $ac_executable_extensions; do
20243 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
20244 ac_cv_prog_ac_ct__LIPO
="$ac_prog"
20245 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20254 ac_ct__LIPO
=$ac_cv_prog_ac_ct__LIPO
20255 if test -n "$ac_ct__LIPO"; then
20256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct__LIPO" >&5
20257 $as_echo "$ac_ct__LIPO" >&6; }
20259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20260 $as_echo "no" >&6; }
20264 test -n "$ac_ct__LIPO" && break
20267 if test "x$ac_ct__LIPO" = x
; then
20268 _LIPO
="as_fn_error $? "missing
\"lipo
\"" "$LINENO" 5"
20270 case $cross_compiling:$ac_tool_warned in
20272 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
20273 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
20274 ac_tool_warned
=yes ;;
20280 if test -n "$ac_tool_prefix"; then
20283 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
20284 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
20285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20286 $as_echo_n "checking for $ac_word... " >&6; }
20287 if ${ac_cv_prog__NM+:} false
; then :
20288 $as_echo_n "(cached) " >&6
20290 if test -n "$_NM"; then
20291 ac_cv_prog__NM
="$_NM" # Let the user override the test.
20293 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20294 for as_dir
in $PATH
20297 test -z "$as_dir" && as_dir
=.
20298 for ac_exec_ext
in '' $ac_executable_extensions; do
20299 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
20300 ac_cv_prog__NM
="$ac_tool_prefix$ac_prog"
20301 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20310 _NM
=$ac_cv_prog__NM
20311 if test -n "$_NM"; then
20312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_NM" >&5
20313 $as_echo "$_NM" >&6; }
20315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20316 $as_echo "no" >&6; }
20320 test -n "$_NM" && break
20323 if test -z "$_NM"; then
20327 # Extract the first word of "$ac_prog", so it can be a program name with args.
20328 set dummy
$ac_prog; ac_word
=$2
20329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20330 $as_echo_n "checking for $ac_word... " >&6; }
20331 if ${ac_cv_prog_ac_ct__NM+:} false
; then :
20332 $as_echo_n "(cached) " >&6
20334 if test -n "$ac_ct__NM"; then
20335 ac_cv_prog_ac_ct__NM
="$ac_ct__NM" # Let the user override the test.
20337 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20338 for as_dir
in $PATH
20341 test -z "$as_dir" && as_dir
=.
20342 for ac_exec_ext
in '' $ac_executable_extensions; do
20343 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
20344 ac_cv_prog_ac_ct__NM
="$ac_prog"
20345 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20354 ac_ct__NM
=$ac_cv_prog_ac_ct__NM
20355 if test -n "$ac_ct__NM"; then
20356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct__NM" >&5
20357 $as_echo "$ac_ct__NM" >&6; }
20359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20360 $as_echo "no" >&6; }
20364 test -n "$ac_ct__NM" && break
20367 if test "x$ac_ct__NM" = x
; then
20368 _NM
="as_fn_error $? "missing
\"nm
\"" "$LINENO" 5"
20370 case $cross_compiling:$ac_tool_warned in
20372 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
20373 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
20374 ac_tool_warned
=yes ;;
20380 if test -n "$ac_tool_prefix"; then
20381 for ac_prog
in otool
20383 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
20384 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
20385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20386 $as_echo_n "checking for $ac_word... " >&6; }
20387 if ${ac_cv_prog__OTOOL+:} false
; then :
20388 $as_echo_n "(cached) " >&6
20390 if test -n "$_OTOOL"; then
20391 ac_cv_prog__OTOOL
="$_OTOOL" # Let the user override the test.
20393 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20394 for as_dir
in $PATH
20397 test -z "$as_dir" && as_dir
=.
20398 for ac_exec_ext
in '' $ac_executable_extensions; do
20399 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
20400 ac_cv_prog__OTOOL
="$ac_tool_prefix$ac_prog"
20401 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20410 _OTOOL
=$ac_cv_prog__OTOOL
20411 if test -n "$_OTOOL"; then
20412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_OTOOL" >&5
20413 $as_echo "$_OTOOL" >&6; }
20415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20416 $as_echo "no" >&6; }
20420 test -n "$_OTOOL" && break
20423 if test -z "$_OTOOL"; then
20424 ac_ct__OTOOL
=$_OTOOL
20425 for ac_prog
in otool
20427 # Extract the first word of "$ac_prog", so it can be a program name with args.
20428 set dummy
$ac_prog; ac_word
=$2
20429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20430 $as_echo_n "checking for $ac_word... " >&6; }
20431 if ${ac_cv_prog_ac_ct__OTOOL+:} false
; then :
20432 $as_echo_n "(cached) " >&6
20434 if test -n "$ac_ct__OTOOL"; then
20435 ac_cv_prog_ac_ct__OTOOL
="$ac_ct__OTOOL" # Let the user override the test.
20437 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20438 for as_dir
in $PATH
20441 test -z "$as_dir" && as_dir
=.
20442 for ac_exec_ext
in '' $ac_executable_extensions; do
20443 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
20444 ac_cv_prog_ac_ct__OTOOL
="$ac_prog"
20445 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20454 ac_ct__OTOOL
=$ac_cv_prog_ac_ct__OTOOL
20455 if test -n "$ac_ct__OTOOL"; then
20456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct__OTOOL" >&5
20457 $as_echo "$ac_ct__OTOOL" >&6; }
20459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20460 $as_echo "no" >&6; }
20464 test -n "$ac_ct__OTOOL" && break
20467 if test "x$ac_ct__OTOOL" = x
; then
20468 _OTOOL
="as_fn_error $? "missing
\"otool
\"" "$LINENO" 5"
20470 case $cross_compiling:$ac_tool_warned in
20472 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
20473 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
20474 ac_tool_warned
=yes ;;
20476 _OTOOL
=$ac_ct__OTOOL
20480 CY_ATTACH_GROUP
=procmod
20488 if test "x$CY_MACH" = x1
; then
20497 ac_config_files
="$ac_config_files Makefile"
20499 cat >confcache
<<\_ACEOF
20500 # This file is a shell script that caches the results of configure
20501 # tests run on this system so they can be shared between configure
20502 # scripts and configure runs, see configure's option --config-cache.
20503 # It is not useful on other systems. If it contains results you don't
20504 # want to keep, you may remove or edit it.
20506 # config.status only pays attention to the cache file if you give it
20507 # the --recheck option to rerun configure.
20509 # `ac_cv_env_foo' variables (set or unset) will be overridden when
20510 # loading this file, other *unset* `ac_cv_foo' will be assigned the
20511 # following values.
20515 # The following way of writing the cache mishandles newlines in values,
20516 # but we know of no workaround that is simple, portable, and efficient.
20517 # So, we kill variables containing newlines.
20518 # Ultrix sh set writes to stderr and can't be redirected directly,
20519 # and sets the high bit in the cache file unless we assign to the vars.
20521 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
20522 eval ac_val
=\$
$ac_var
20526 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
20527 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
20530 _
| IFS
| as_nl
) ;; #(
20531 BASH_ARGV
| BASH_SOURCE
) eval $ac_var= ;; #(
20532 *) { eval $ac_var=; unset $ac_var;} ;;
20538 case $as_nl`(ac_space=' '; set) 2>&1` in #(
20539 *${as_nl}ac_space
=\
*)
20540 # `set' does not quote correctly, so add quotes: double-quote
20541 # substitution turns \\\\ into \\, and sed turns \\ into \.
20544 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
20547 # `set' quotes correctly as required by POSIX, so do not add quotes.
20548 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
20557 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
20559 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
20561 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
20562 if test -w "$cache_file"; then
20563 if test "x$cache_file" != "x/dev/null"; then
20564 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
20565 $as_echo "$as_me: updating cache $cache_file" >&6;}
20566 if test ! -f "$cache_file" || test -h "$cache_file"; then
20567 cat confcache
>"$cache_file"
20569 case $cache_file in #(
20571 mv -f confcache
"$cache_file"$$
&&
20572 mv -f "$cache_file"$$
"$cache_file" ;; #(
20574 mv -f confcache
"$cache_file" ;;
20579 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
20580 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
20585 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
20586 # Let make expand exec_prefix.
20587 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
20589 DEFS
=-DHAVE_CONFIG_H
20594 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
20595 # 1. Remove the extension, and $U if already installed.
20596 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
20597 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
20598 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
20599 # will be set to the directory where LIBOBJS objects are built.
20600 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
20601 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
20603 LIBOBJS
=$ac_libobjs
20605 LTLIBOBJS
=$ac_ltlibobjs
20608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
20609 $as_echo_n "checking that generated files are newer than configure... " >&6; }
20610 if test -n "$am_sleep_pid"; then
20611 # Hide warnings about reused PIDs.
20612 wait $am_sleep_pid 2>/dev
/null
20614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
20615 $as_echo "done" >&6; }
20616 if test -n "$EXEEXT"; then
20618 am__EXEEXT_FALSE
='#'
20620 am__EXEEXT_TRUE
='#'
20624 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
20625 as_fn_error $?
"conditional \"MAINTAINER_MODE\" was never defined.
20626 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20628 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
20629 as_fn_error $?
"conditional \"AMDEP\" was never defined.
20630 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20632 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
20633 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
20634 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20636 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
20637 as_fn_error $?
"conditional \"am__fastdepCXX\" was never defined.
20638 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20640 if test -z "${am__fastdepOBJCXX_TRUE}" && test -z "${am__fastdepOBJCXX_FALSE}"; then
20641 as_fn_error $?
"conditional \"am__fastdepOBJCXX\" was never defined.
20642 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20644 if test -z "${CY_CONSOLE_TRUE}" && test -z "${CY_CONSOLE_FALSE}"; then
20645 as_fn_error $?
"conditional \"CY_CONSOLE\" was never defined.
20646 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20648 if test -z "${CY_EXECUTE_TRUE}" && test -z "${CY_EXECUTE_FALSE}"; then
20649 as_fn_error $?
"conditional \"CY_EXECUTE\" was never defined.
20650 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20652 if test -z "${CY_JAVA_TRUE}" && test -z "${CY_JAVA_FALSE}"; then
20653 as_fn_error $?
"conditional \"CY_JAVA\" was never defined.
20654 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20656 if test -z "${CY_OBJECTIVEC_TRUE}" && test -z "${CY_OBJECTIVEC_FALSE}"; then
20657 as_fn_error $?
"conditional \"CY_OBJECTIVEC\" was never defined.
20658 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20660 if test -z "${CY_MACH_TRUE}" && test -z "${CY_MACH_FALSE}"; then
20661 as_fn_error $?
"conditional \"CY_MACH\" was never defined.
20662 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20665 : "${CONFIG_STATUS=./config.status}"
20667 ac_clean_files_save
=$ac_clean_files
20668 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
20669 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
20670 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
20672 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
20674 # Generated by $as_me.
20675 # Run this file to recreate the current configuration.
20676 # Compiler output produced by configure, useful for debugging
20677 # configure, is in config.log if it exists.
20680 ac_cs_recheck=false
20683 SHELL=\${CONFIG_SHELL-$SHELL}
20686 cat >>$CONFIG_STATUS <<\_ASEOF
|| as_write_fail
=1
20687 ## -------------------- ##
20688 ## M4sh Initialization. ##
20689 ## -------------------- ##
20691 # Be more Bourne compatible
20692 DUALCASE
=1; export DUALCASE
# for MKS sh
20693 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
20696 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
20697 # is contrary to our usage. Disable this feature.
20698 alias -g '${1+"$@"}'='"$@"'
20699 setopt NO_GLOB_SUBST
20701 case `(set -o) 2>/dev/null` in #(
20713 # Printing a long string crashes Solaris 7 /usr/bin/printf.
20714 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
20715 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
20716 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
20717 # Prefer a ksh shell builtin over an external printf program on Solaris,
20718 # but without wasting forks for bash or zsh.
20719 if test -z "$BASH_VERSION$ZSH_VERSION" \
20720 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
20721 as_echo='print
-r --'
20722 as_echo_n='print
-rn --'
20723 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
20724 as_echo='printf %s
\n'
20725 as_echo_n='printf %s
'
20727 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
20728 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
20729 as_echo_n='/usr
/ucb
/echo -n'
20731 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
20732 as_echo_n_body='eval
20736 expr "X$arg" : "X\\(.*\\)$as_nl";
20737 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
20739 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
20741 export as_echo_n_body
20742 as_echo_n='sh
-c $as_echo_n_body as_echo
'
20744 export as_echo_body
20745 as_echo='sh
-c $as_echo_body as_echo
'
20748 # The user is always right.
20749 if test "${PATH_SEPARATOR+set}" != set; then
20751 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
20752 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
20759 # We need space, tab and new line, in precisely that order. Quoting is
20760 # there to prevent editors from complaining about space-tab.
20761 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
20762 # splitting by setting IFS to empty value.)
20765 # Find who we are. Look in the path if we contain no directory separator.
20768 *[\\/]* ) as_myself=$0 ;;
20769 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20770 for as_dir in $PATH
20773 test -z "$as_dir" && as_dir=.
20774 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
20780 # We did not find ourselves, most probably we were run as `sh COMMAND'
20781 # in which case we are not to be found in the path.
20782 if test "x$as_myself" = x
; then
20785 if test ! -f "$as_myself"; then
20786 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
20790 # Unset variables that we do not need and which cause bugs (e.g. in
20791 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
20792 # suppresses any "Segmentation fault" message there. '((' could
20793 # trigger a bug in pdksh 5.2.14.
20794 for as_var
in BASH_ENV ENV MAIL MAILPATH
20795 do eval test x\
${$as_var+set} = xset \
20796 && ( (unset $as_var) || exit 1) >/dev
/null
2>&1 && unset $as_var || :
20809 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
20812 # as_fn_error STATUS ERROR [LINENO LOG_FD]
20813 # ----------------------------------------
20814 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
20815 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
20816 # script with STATUS, using 1 if that was 0.
20819 as_status
=$1; test $as_status -eq 0 && as_status
=1
20821 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
20822 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
20824 $as_echo "$as_me: error: $2" >&2
20825 as_fn_exit
$as_status
20829 # as_fn_set_status STATUS
20830 # -----------------------
20831 # Set $? to STATUS, without forking.
20832 as_fn_set_status
()
20835 } # as_fn_set_status
20837 # as_fn_exit STATUS
20838 # -----------------
20839 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
20843 as_fn_set_status
$1
20849 # Portably unset VAR.
20852 { eval $1=; unset $1;}
20854 as_unset
=as_fn_unset
20855 # as_fn_append VAR VALUE
20856 # ----------------------
20857 # Append the text in VALUE to the end of the definition contained in VAR. Take
20858 # advantage of any shell optimizations that allow amortized linear growth over
20859 # repeated appends, instead of the typical quadratic growth present in naive
20861 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
20862 eval 'as_fn_append ()
20873 # as_fn_arith ARG...
20874 # ------------------
20875 # Perform arithmetic evaluation on the ARGs, and store the result in the
20876 # global $as_val. Take advantage of shells that can avoid forks. The arguments
20877 # must be portable across $(()) and expr.
20878 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
20879 eval 'as_fn_arith ()
20886 as_val
=`expr "$@" || test $? -eq 1`
20891 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
20892 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
20898 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
20899 as_basename
=basename
20904 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
20910 as_me
=`$as_basename -- "$0" ||
20911 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
20912 X"$0" : 'X\(//\)$' \| \
20913 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
20915 sed '/^.*\/\([^/][^/]*\)\/*$/{
20929 # Avoid depending upon Character Ranges.
20930 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
20931 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
20932 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
20933 as_cr_digits
='0123456789'
20934 as_cr_alnum
=$as_cr_Letters$as_cr_digits
20936 ECHO_C
= ECHO_N
= ECHO_T
=
20937 case `echo -n x` in #(((((
20939 case `echo 'xy\c'` in
20940 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
20942 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
20949 rm -f conf$$ conf$$.exe conf$$.
file
20950 if test -d conf$$.dir
; then
20951 rm -f conf$$.dir
/conf$$.
file
20954 mkdir conf$$.dir
2>/dev
/null
20956 if (echo >conf$$.
file) 2>/dev
/null
; then
20957 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
20959 # ... but there are two gotchas:
20960 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
20961 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
20962 # In both cases, we have to default to `cp -pR'.
20963 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
20965 elif ln conf$$.
file conf$$
2>/dev
/null
; then
20973 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
20974 rmdir conf$$.dir
2>/dev
/null
20979 # Create "$as_dir" as a directory, including parents if necessary.
20984 -*) as_dir
=.
/$as_dir;;
20986 test -d "$as_dir" || eval $as_mkdir_p || {
20990 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
20991 *) as_qdir
=$as_dir;;
20993 as_dirs
="'$as_qdir' $as_dirs"
20994 as_dir
=`$as_dirname -- "$as_dir" ||
20995 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20996 X"$as_dir" : 'X\(//\)[^/]' \| \
20997 X"$as_dir" : 'X\(//\)$' \| \
20998 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
20999 $as_echo X"$as_dir" |
21000 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21004 /^X\(\/\/\)[^/].*/{
21017 test -d "$as_dir" && break
21019 test -z "$as_dirs" || eval "mkdir $as_dirs"
21020 } || test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
21024 if mkdir -p .
2>/dev
/null
; then
21025 as_mkdir_p
='mkdir -p "$as_dir"'
21027 test -d .
/-p && rmdir .
/-p
21032 # as_fn_executable_p FILE
21033 # -----------------------
21034 # Test if FILE is an executable regular file.
21035 as_fn_executable_p
()
21037 test -f "$1" && test -x "$1"
21038 } # as_fn_executable_p
21039 as_test_x
='test -x'
21040 as_executable_p
=as_fn_executable_p
21042 # Sed expression to map a string onto a valid CPP name.
21043 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
21045 # Sed expression to map a string onto a valid variable name.
21046 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
21050 ## ----------------------------------- ##
21051 ## Main body of $CONFIG_STATUS script. ##
21052 ## ----------------------------------- ##
21054 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
21056 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
21057 # Save the log message, to keep $0 and so on meaningful, and to
21058 # report actual input values of CONFIG_FILES etc. instead of their
21059 # values after options handling.
21061 This file was extended by Cycript $as_me 0.9, which was
21062 generated by GNU Autoconf 2.69. Invocation command line was
21064 CONFIG_FILES = $CONFIG_FILES
21065 CONFIG_HEADERS = $CONFIG_HEADERS
21066 CONFIG_LINKS = $CONFIG_LINKS
21067 CONFIG_COMMANDS = $CONFIG_COMMANDS
21070 on `(hostname || uname -n) 2>/dev/null | sed 1q`
21075 case $ac_config_files in *"
21076 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
21079 case $ac_config_headers in *"
21080 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
21084 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21085 # Files that config.status was made for.
21086 config_files="$ac_config_files"
21087 config_headers="$ac_config_headers"
21088 config_commands="$ac_config_commands"
21092 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
21094 \`$as_me' instantiates files and other configuration actions
21095 from templates according to the current configuration. Unless the files
21096 and actions are specified as TAGs, all are instantiated by default.
21098 Usage: $0 [OPTION]... [TAG]...
21100 -h, --help print this help, then exit
21101 -V, --version print version number and configuration settings, then exit
21102 --config print configuration, then exit
21103 -q, --quiet, --silent
21104 do not print progress messages
21105 -d, --debug don't remove temporary files
21106 --recheck update $as_me by reconfiguring in the same conditions
21107 --file=FILE[:TEMPLATE]
21108 instantiate the configuration file FILE
21109 --header=FILE[:TEMPLATE]
21110 instantiate the configuration header FILE
21112 Configuration files:
21115 Configuration headers:
21118 Configuration commands:
21121 Report bugs to <saurik@saurik.com>.
21122 Cycript home page: <http://www.cycript.org/>."
21125 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21126 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
21128 Cycript config.status 0.9
21129 configured by $0, generated by GNU Autoconf 2.69,
21130 with options \\"\$ac_cs_config\\"
21132 Copyright (C) 2012 Free Software Foundation, Inc.
21133 This config.status script is free software; the Free Software Foundation
21134 gives unlimited permission to copy, distribute and modify it."
21141 test -n "\$AWK" || AWK=awk
21144 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
21145 # The default lists apply if the user does not specify any file.
21151 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
21152 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
21156 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
21168 # Handling of the options.
21169 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
21171 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
21172 $as_echo "$ac_cs_version"; exit ;;
21173 --config | --confi | --conf | --con | --co | --c )
21174 $as_echo "$ac_cs_config"; exit ;;
21175 --debug | --debu | --deb | --de | --d | -d )
21177 --file | --fil | --fi | --f )
21180 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
21181 '') as_fn_error $?
"missing file argument" ;;
21183 as_fn_append CONFIG_FILES
" '$ac_optarg'"
21184 ac_need_defaults
=false
;;
21185 --header | --heade | --head | --hea )
21188 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
21190 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
21191 ac_need_defaults
=false
;;
21193 # Conflict between --help and --header
21194 as_fn_error $?
"ambiguous option: \`$1'
21195 Try \`$0 --help' for more information.";;
21196 --help | --hel | -h )
21197 $as_echo "$ac_cs_usage"; exit ;;
21198 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
21199 | -silent | --silent | --silen | --sile | --sil | --si | --s)
21202 # This is an error.
21203 -*) as_fn_error $?
"unrecognized option: \`$1'
21204 Try \`$0 --help' for more information." ;;
21206 *) as_fn_append ac_config_targets
" $1"
21207 ac_need_defaults
=false
;;
21213 ac_configure_extra_args
=
21215 if $ac_cs_silent; then
21217 ac_configure_extra_args
="$ac_configure_extra_args --silent"
21221 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21222 if \$ac_cs_recheck; then
21223 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
21225 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
21226 CONFIG_SHELL='$SHELL'
21227 export CONFIG_SHELL
21232 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
21236 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
21237 ## Running $as_me. ##
21243 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21247 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
21250 # The HP-UX ksh and POSIX shell print the target directory to stdout
21251 # if CDPATH is set.
21252 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
21254 sed_quote_subst='$sed_quote_subst'
21255 double_quote_subst='$double_quote_subst'
21256 delay_variable_subst='$delay_variable_subst'
21257 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
21258 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
21259 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
21260 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
21261 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
21262 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
21263 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
21264 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
21265 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
21266 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
21267 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
21268 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
21269 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
21270 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
21271 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
21272 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
21273 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
21274 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
21275 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
21276 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
21277 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
21278 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
21279 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
21280 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
21281 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
21282 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
21283 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
21284 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
21285 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
21286 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
21287 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
21288 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
21289 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
21290 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
21291 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
21292 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
21293 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
21294 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
21295 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
21296 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
21297 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
21298 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
21299 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
21300 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
21301 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
21302 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
21303 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
21304 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
21305 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
21306 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
21307 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
21308 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
21309 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
21310 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
21311 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
21312 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
21313 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"`'
21314 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
21315 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
21316 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
21317 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
21318 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
21319 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
21320 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
21321 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
21322 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
21323 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
21324 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
21325 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
21326 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
21327 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
21328 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
21329 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
21330 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
21331 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
21332 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
21333 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
21334 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
21335 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
21336 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
21337 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
21338 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
21339 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
21340 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
21341 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
21342 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
21343 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
21344 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
21345 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
21346 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
21347 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
21348 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
21349 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
21350 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
21351 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
21352 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
21353 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
21354 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
21355 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
21356 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
21357 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
21358 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
21359 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
21360 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
21361 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
21362 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
21363 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
21364 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
21365 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
21366 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
21367 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
21368 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
21369 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
21370 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
21371 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
21372 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
21373 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
21374 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
21375 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
21376 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
21377 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
21378 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
21379 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
21380 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
21381 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
21382 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
21383 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
21384 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
21385 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
21386 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
21387 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
21388 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
21389 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
21390 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
21391 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
21392 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
21393 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
21394 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
21395 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21396 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21397 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
21398 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
21399 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
21400 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
21401 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
21402 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
21403 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
21404 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
21405 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
21406 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
21407 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
21408 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
21409 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21410 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21411 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21412 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21413 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21414 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21415 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
21416 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
21417 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
21418 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
21419 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
21420 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
21421 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
21422 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
21423 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
21424 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
21425 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
21426 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
21427 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
21428 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21429 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
21430 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
21431 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21432 postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21433 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
21434 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
21435 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
21436 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
21437 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
21438 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
21439 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
21440 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
21443 LTCFLAGS='$LTCFLAGS'
21444 compiler='$compiler_DEFAULT'
21446 # A function that is used when there is no print builtin or printf.
21447 func_fallback_echo ()
21449 eval 'cat <<_LTECHO_EOF
21454 # Quote evaled strings.
21469 deplibs_check_method \
21474 sharedlib_from_linklib_cmd \
21477 archiver_list_spec \
21483 lt_cv_sys_global_symbol_pipe \
21484 lt_cv_sys_global_symbol_to_cdecl \
21485 lt_cv_sys_global_symbol_to_c_name_address \
21486 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
21487 nm_file_list_spec \
21488 lt_prog_compiler_no_builtin_flag \
21489 lt_prog_compiler_pic \
21490 lt_prog_compiler_wl \
21491 lt_prog_compiler_static \
21492 lt_cv_prog_compiler_c_o \
21501 export_dynamic_flag_spec \
21502 whole_archive_flag_spec \
21503 compiler_needs_object \
21505 allow_undefined_flag \
21506 no_undefined_flag \
21507 hardcode_libdir_flag_spec \
21508 hardcode_libdir_separator \
21512 variables_saved_for_relink \
21514 library_names_spec \
21516 install_override_mode \
21520 compiler_lib_search_dirs \
21525 compiler_lib_search_path \
21529 lt_prog_compiler_no_builtin_flag_CXX \
21530 lt_prog_compiler_pic_CXX \
21531 lt_prog_compiler_wl_CXX \
21532 lt_prog_compiler_static_CXX \
21533 lt_cv_prog_compiler_c_o_CXX \
21534 export_dynamic_flag_spec_CXX \
21535 whole_archive_flag_spec_CXX \
21536 compiler_needs_object_CXX \
21538 allow_undefined_flag_CXX \
21539 no_undefined_flag_CXX \
21540 hardcode_libdir_flag_spec_CXX \
21541 hardcode_libdir_separator_CXX \
21542 exclude_expsyms_CXX \
21543 include_expsyms_CXX \
21544 file_list_spec_CXX \
21545 compiler_lib_search_dirs_CXX \
21546 predep_objects_CXX \
21547 postdep_objects_CXX \
21550 compiler_lib_search_path_CXX; do
21551 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
21552 *[\\\\\\\`\\"\\\$]*)
21553 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
21556 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
21561 # Double-quote double-evaled strings.
21562 for var in reload_cmds \
21563 old_postinstall_cmds \
21564 old_postuninstall_cmds \
21566 extract_expsyms_cmds \
21567 old_archive_from_new_cmds \
21568 old_archive_from_expsyms_cmds \
21570 archive_expsym_cmds \
21572 module_expsym_cmds \
21573 export_symbols_cmds \
21577 postuninstall_cmds \
21579 sys_lib_search_path_spec \
21580 sys_lib_dlsearch_path_spec \
21582 old_archive_cmds_CXX \
21583 old_archive_from_new_cmds_CXX \
21584 old_archive_from_expsyms_cmds_CXX \
21586 archive_expsym_cmds_CXX \
21588 module_expsym_cmds_CXX \
21589 export_symbols_cmds_CXX \
21591 postlink_cmds_CXX; do
21592 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
21593 *[\\\\\\\`\\"\\\$]*)
21594 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
21597 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
21602 ac_aux_dir='$ac_aux_dir'
21603 xsi_shell='$xsi_shell'
21604 lt_shell_append='$lt_shell_append'
21606 # See if we are running on zsh, and set the options which allow our
21607 # commands through without removal of \ escapes INIT.
21608 if test -n "\${ZSH_VERSION+set}" ; then
21609 setopt NO_GLOB_SUBST
21615 TIMESTAMP='$TIMESTAMP'
21626 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
21628 # Handling of arguments.
21629 for ac_config_target
in $ac_config_targets
21631 case $ac_config_target in
21632 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
21633 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
21634 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
21635 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
21637 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
21642 # If the user did not use the arguments to specify the items to instantiate,
21643 # then the envvar interface is used. Set only those that are not.
21644 # We use the long form for the default assignment because of an extremely
21645 # bizarre bug on SunOS 4.1.3.
21646 if $ac_need_defaults; then
21647 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
21648 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
21649 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
21652 # Have a temporary directory for convenience. Make it in the build tree
21653 # simply because there is no reason against having it here, and in addition,
21654 # creating and moving files from /tmp can sometimes cause problems.
21655 # Hook for its removal unless debugging.
21656 # Note that there is a small window in which the directory will not be cleaned:
21657 # after its creation but before its name has been assigned to `$tmp'.
21661 trap 'exit_status=$?
21662 : "${ac_tmp:=$tmp}"
21663 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
21665 trap 'as_fn_exit 1' 1 2 13 15
21667 # Create a (secure) tmp directory for tmp files.
21670 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
21674 tmp
=.
/conf$$
-$RANDOM
21675 (umask 077 && mkdir "$tmp")
21676 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
21679 # Set up the scripts for CONFIG_FILES section.
21680 # No need to generate them if there are no CONFIG_FILES.
21681 # This happens for instance with `./config.status config.h'.
21682 if test -n "$CONFIG_FILES"; then
21685 ac_cr
=`echo X | tr X '\015'`
21686 # On cygwin, bash can eat \r inside `` if the user requested igncr.
21687 # But we know of no other shell where ac_cr would be empty at this
21688 # point, so we can use a bashism as a fallback.
21689 if test "x$ac_cr" = x
; then
21690 eval ac_cr
=\$
\'\\r
\'
21692 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
21693 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
21696 ac_cs_awk_cr
=$ac_cr
21699 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
21704 echo "cat >conf$$subs.awk <<_ACEOF" &&
21705 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
21707 } >conf$$subs.sh ||
21708 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
21709 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
21711 for ac_last_try in false false false false false :; do
21712 . ./conf$$subs.sh ||
21713 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
21715 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
21716 if test $ac_delim_n = $ac_delim_num; then
21718 elif $ac_last_try; then
21719 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
21721 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
21724 rm -f conf$$subs.sh
21726 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21727 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
21731 s/^/S["/; s
/!.
*/"]=/
21741 s/\(.\{148\}\)..*/\1/
21743 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
21748 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
21755 s/\(.\{148\}\)..*/\1/
21757 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
21761 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
21766 ' <conf$$subs.awk | sed '
21771 ' >>$CONFIG_STATUS || ac_write_fail=1
21772 rm -f conf$$subs.awk
21773 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21775 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
21776 for (key in S) S_is_set[key] = 1
21782 nfields = split(line, field, "@
")
21784 len = length(field[1])
21785 for (i = 2; i < nfields; i++) {
21787 keylen = length(key)
21788 if (S_is_set[key]) {
21790 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
21791 len += length(value) + length(field[++i])
21802 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21803 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
21804 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
21807 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
21808 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
21811 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
21812 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
21813 # trailing colons and then remove the whole line if VPATH becomes empty
21814 # (actually we leave an empty line to preserve line numbers).
21815 if test "x
$srcdir" = x.; then
21816 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
21834 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21835 fi # test -n "$CONFIG_FILES"
21837 # Set up the scripts for CONFIG_HEADERS section.
21838 # No need to generate them if there are no CONFIG_HEADERS.
21839 # This happens for instance with `./config.status Makefile'.
21840 if test -n "$CONFIG_HEADERS"; then
21841 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
21845 # Transform confdefs.h into an awk script `defines.awk', embedded as
21846 # here-document in config.status, that substitutes the proper values into
21847 # config.h.in to produce config.h.
21849 # Create a delimiter string that does not exist in confdefs.h, to ease
21850 # handling of long lines.
21852 for ac_last_try in false false :; do
21853 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
21854 if test -z "$ac_tt"; then
21856 elif $ac_last_try; then
21857 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
21859 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
21863 # For the awk script, D is an array of macro values keyed by name,
21864 # likewise P contains macro parameters if any. Preserve backslash
21865 # newline sequences.
21867 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
21869 s/.\{148\}/&'"$ac_delim"'/g
21872 s/^[ ]*#[ ]*define[ ][ ]*/ /
21879 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
21881 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
21885 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
21886 D["\
1"]=" \
3\\\\\\n
"\\/p
21888 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
21893 s/.\{148\}/&'"$ac_delim"'/g
21898 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
21901 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
21903 ' <confdefs.h | sed '
21904 s/'"$ac_delim"'/"\\\
21905 "/g' >>$CONFIG_STATUS || ac_write_fail=1
21907 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21908 for (key in D) D_is_set[key] = 1
21911 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
21913 split(line, arg, " ")
21914 if (arg[1] == "#") {
21918 defundef
= substr
(arg
[1], 2)
21921 split(mac1
, mac2
, "(") #)
21923 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
21924 if (D_is_set
[macro
]) {
21925 # Preserve the white space surrounding the "#".
21926 print prefix
"define", macro P
[macro
] D
[macro
]
21929 # Replace #undef with comments. This is necessary, for example,
21930 # in the case of _POSIX_SOURCE, which is predefined and required
21931 # on some systems where configure will not decide to define it.
21932 if (defundef
== "undef") {
21933 print
"/*", prefix defundef
, macro
, "*/"
21941 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
21942 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
21943 fi # test -n "$CONFIG_HEADERS"
21946 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
21951 :[FHLC
]) ac_mode
=$ac_tag; continue;;
21953 case $ac_mode$ac_tag in
21955 :L
* | :C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
21956 :[FH
]-) ac_tag
=-:-;;
21957 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
21974 -) ac_f
="$ac_tmp/stdin";;
21975 *) # Look for the file first in the build tree, then in the source tree
21976 # (if the path is not absolute). The absolute path cannot be DOS-style,
21977 # because $ac_f cannot contain `:'.
21981 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
21983 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
21985 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
21986 as_fn_append ac_file_inputs
" '$ac_f'"
21989 # Let's still pretend it is `configure' which instantiates (i.e., don't
21990 # use $as_me), people would be surprised to read:
21991 # /* config.h. Generated by config.status. */
21992 configure_input
='Generated from '`
21993 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
21995 if test x
"$ac_file" != x
-; then
21996 configure_input
="$ac_file. $configure_input"
21997 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
21998 $as_echo "$as_me: creating $ac_file" >&6;}
22000 # Neutralize special characters interpreted by sed in replacement strings.
22001 case $configure_input in #(
22002 *\
&* | *\
|* | *\\* )
22003 ac_sed_conf_input
=`$as_echo "$configure_input" |
22004 sed 's/[\\\\&|]/\\\\&/g'`;; #(
22005 *) ac_sed_conf_input
=$configure_input;;
22009 *:-:* | *:-) cat >"$ac_tmp/stdin" \
22010 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
22015 ac_dir
=`$as_dirname -- "$ac_file" ||
22016 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22017 X"$ac_file" : 'X\(//\)[^/]' \| \
22018 X"$ac_file" : 'X\(//\)$' \| \
22019 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
22020 $as_echo X"$ac_file" |
22021 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22025 /^X\(\/\/\)[^/].*/{
22038 as_dir
="$ac_dir"; as_fn_mkdir_p
22042 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
22044 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
22045 # A ".." for each directory in $ac_dir_suffix.
22046 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
22047 case $ac_top_builddir_sub in
22048 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
22049 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
22052 ac_abs_top_builddir
=$ac_pwd
22053 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
22054 # for backward compatibility:
22055 ac_top_builddir
=$ac_top_build_prefix
22058 .
) # We are building in place.
22060 ac_top_srcdir
=$ac_top_builddir_sub
22061 ac_abs_top_srcdir
=$ac_pwd ;;
22062 [\\/]* | ?
:[\\/]* ) # Absolute name.
22063 ac_srcdir
=$srcdir$ac_dir_suffix;
22064 ac_top_srcdir
=$srcdir
22065 ac_abs_top_srcdir
=$srcdir ;;
22066 *) # Relative name.
22067 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
22068 ac_top_srcdir
=$ac_top_build_prefix$srcdir
22069 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
22071 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
22081 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
22082 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
22084 ac_MKDIR_P
=$MKDIR_P
22086 [\\/$
]* | ?
:[\\/]* ) ;;
22087 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
22091 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
22092 # If the template does not know about datarootdir, expand it.
22093 # FIXME: This hack should be removed a few years after 2.60.
22094 ac_datarootdir_hack
=; ac_datarootdir_seen
=
22105 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
22106 *datarootdir
*) ac_datarootdir_seen
=yes;;
22107 *@datadir@
*|*@docdir@
*|*@infodir@
*|*@localedir@
*|*@mandir@
*)
22108 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
22109 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
22111 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22112 ac_datarootdir_hack='
22113 s&@datadir@&$datadir&g
22114 s&@docdir@&$docdir&g
22115 s&@infodir@&$infodir&g
22116 s&@localedir@&$localedir&g
22117 s&@mandir@&$mandir&g
22118 s&\\\${datarootdir}&$datarootdir&g' ;;
22122 # Neutralize VPATH when `$srcdir' = `.'.
22123 # Shell code in configure.ac might set extrasub.
22124 # FIXME: do we really want to maintain this feature?
22125 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22126 ac_sed_extra="$ac_vpsub
22129 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
22131 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
22132 s
|@configure_input@
|$ac_sed_conf_input|;t t
22133 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
22134 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
22135 s
&@srcdir@
&$ac_srcdir&;t t
22136 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
22137 s
&@top_srcdir@
&$ac_top_srcdir&;t t
22138 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
22139 s
&@builddir@
&$ac_builddir&;t t
22140 s
&@abs_builddir@
&$ac_abs_builddir&;t t
22141 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
22142 s
&@INSTALL@
&$ac_INSTALL&;t t
22143 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
22144 $ac_datarootdir_hack
22146 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
22147 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
22149 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
22150 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
22151 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
22152 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
22153 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
22154 which seems to be undefined. Please make sure it is defined" >&5
22155 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
22156 which seems to be undefined. Please make sure it is defined" >&2;}
22158 rm -f "$ac_tmp/stdin"
22160 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
22161 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
22163 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22169 if test x"$ac_file" != x-; then
22171 $as_echo "/* $configure_input */" \
22172 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
22173 } >"$ac_tmp/config.h" \
22174 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22175 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
22176 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
22177 $as_echo "$as_me: $ac_file is unchanged" >&6;}
22180 mv "$ac_tmp/config.h" "$ac_file" \
22181 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22184 $as_echo "/* $configure_input */" \
22185 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
22186 || as_fn_error $? "could not create -" "$LINENO" 5
22188 # Compute "$ac_file"'s index
in $config_headers.
22191 for _am_header
in $config_headers :; do
22192 case $_am_header in
22193 $_am_arg | $_am_arg:* )
22196 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
22199 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
22200 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22201 X"$_am_arg" : 'X\(//\)[^/]' \| \
22202 X"$_am_arg" : 'X\(//\)$' \| \
22203 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
22204 $as_echo X"$_am_arg" |
22205 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22209 /^X\(\/\/\)[^/].*/{
22221 s/.*/./; q'`/stamp
-h$_am_stamp_count
22224 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
22225 $as_echo "$as_me: executing $ac_file commands" >&6;}
22230 case $ac_file$ac_mode in
22231 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" || {
22232 # Older Autoconf quotes --file arguments for eval, but not when files
22233 # are listed without --file. Let's play safe and only enable the eval
22234 # if we detect the quoting.
22235 case $CONFIG_FILES in
22236 *\'*) eval set x
"$CONFIG_FILES" ;;
22237 *) set x
$CONFIG_FILES ;;
22242 # Strip MF so we end up with the name of the file.
22243 mf
=`echo "$mf" | sed -e 's/:.*$//'`
22244 # Check whether this is an Automake generated Makefile or not.
22245 # We used to match only the files named 'Makefile.in', but
22246 # some people rename them; so instead we look at the file content.
22247 # Grep'ing the first line is not enough: some people post-process
22248 # each Makefile.in and add a new line on top of each file to say so.
22249 # Grep'ing the whole file is not good either: AIX grep has a line
22250 # limit of 2048, but all sed's we know have understand at least 4000.
22251 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X
>/dev
/null
2>&1; then
22252 dirpart
=`$as_dirname -- "$mf" ||
22253 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22254 X"$mf" : 'X\(//\)[^/]' \| \
22255 X"$mf" : 'X\(//\)$' \| \
22256 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
22258 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22262 /^X\(\/\/\)[^/].*/{
22278 # Extract the definition of DEPDIR, am__include, and am__quote
22279 # from the Makefile without running 'make'.
22280 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
22281 test -z "$DEPDIR" && continue
22282 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
22283 test -z "$am__include" && continue
22284 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
22285 # Find all dependency output files, they are included files with
22286 # $(DEPDIR) in their names. We invoke sed twice because it is the
22287 # simplest approach to changing $(DEPDIR) to its actual value in the
22289 for file in `sed -n "
22290 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
22291 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
22292 # Make sure the directory exists.
22293 test -f "$dirpart/$file" && continue
22294 fdir
=`$as_dirname -- "$file" ||
22295 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22296 X"$file" : 'X\(//\)[^/]' \| \
22297 X"$file" : 'X\(//\)$' \| \
22298 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
22299 $as_echo X"$file" |
22300 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22304 /^X\(\/\/\)[^/].*/{
22317 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
22318 # echo "creating $dirpart/$file"
22319 echo '# dummy' > "$dirpart/$file"
22326 # See if we are running on zsh, and set the options which allow our
22327 # commands through without removal of \ escapes.
22328 if test -n "${ZSH_VERSION+set}" ; then
22329 setopt NO_GLOB_SUBST
22332 cfgfile
="${ofile}T"
22333 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
22336 cat <<_LT_EOF >> "$cfgfile"
22339 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
22340 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
22341 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
22342 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
22344 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
22345 # 2006, 2007, 2008, 2009, 2010, 2011 Free Software
22347 # Written by Gordon Matzigkeit, 1996
22349 # This file is part of GNU Libtool.
22351 # GNU Libtool is free software; you can redistribute it and/or
22352 # modify it under the terms of the GNU General Public License as
22353 # published by the Free Software Foundation; either version 2 of
22354 # the License, or (at your option) any later version.
22356 # As a special exception to the GNU General Public License,
22357 # if you distribute this file as part of a program or library that
22358 # is built using GNU Libtool, you may include this file under the
22359 # same distribution terms that you use for the rest of that program.
22361 # GNU Libtool is distributed in the hope that it will be useful,
22362 # but WITHOUT ANY WARRANTY; without even the implied warranty of
22363 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22364 # GNU General Public License for more details.
22366 # You should have received a copy of the GNU General Public License
22367 # along with GNU Libtool; see the file COPYING. If not, a copy
22368 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
22369 # obtained by writing to the Free Software Foundation, Inc.,
22370 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
22373 # The names of the tagged configurations supported by this script.
22374 available_tags="CXX "
22376 # ### BEGIN LIBTOOL CONFIG
22378 # Which release of libtool.m4 was used?
22379 macro_version=$macro_version
22380 macro_revision=$macro_revision
22382 # Whether or not to build static libraries.
22383 build_old_libs=$enable_static
22385 # Whether or not to build shared libraries.
22386 build_libtool_libs=$enable_shared
22388 # What type of objects to build.
22391 # Whether or not to optimize for fast installation.
22392 fast_install=$enable_fast_install
22394 # Shell to use when invoking shell scripts.
22397 # An echo program that protects backslashes.
22400 # The PATH separator for the build system.
22401 PATH_SEPARATOR=$lt_PATH_SEPARATOR
22404 host_alias=$host_alias
22408 # The build system.
22409 build_alias=$build_alias
22413 # A sed program that does not truncate output.
22416 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
22417 Xsed="\$SED -e 1s/^X//"
22419 # A grep program that handles long lines.
22425 # A literal string matcher.
22428 # A BSD- or MS-compatible name lister.
22431 # Whether we need soft or hard links.
22434 # What is the maximum length of a command?
22435 max_cmd_len=$max_cmd_len
22437 # Object file suffix (normally "o").
22440 # Executable file suffix (normally "").
22443 # whether the shell understands "unset".
22446 # turn spaces into newlines.
22449 # turn newlines into spaces.
22452 # convert \$build file names to \$host format.
22453 to_host_file_cmd=$lt_cv_to_host_file_cmd
22455 # convert \$build files to toolchain format.
22456 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
22458 # An object symbol dumper.
22459 OBJDUMP=$lt_OBJDUMP
22461 # Method to check whether dependent libraries are shared objects.
22462 deplibs_check_method=$lt_deplibs_check_method
22464 # Command to use when deplibs_check_method = "file_magic".
22465 file_magic_cmd=$lt_file_magic_cmd
22467 # How to find potential files when deplibs_check_method = "file_magic".
22468 file_magic_glob=$lt_file_magic_glob
22470 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
22471 want_nocaseglob=$lt_want_nocaseglob
22473 # DLL creation program.
22474 DLLTOOL=$lt_DLLTOOL
22476 # Command to associate shared and link libraries.
22477 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
22482 # Flags to create an archive.
22483 AR_FLAGS=$lt_AR_FLAGS
22485 # How to feed a file listing to the archiver.
22486 archiver_list_spec=$lt_archiver_list_spec
22488 # A symbol stripping program.
22491 # Commands used to install an old-style archive.
22493 old_postinstall_cmds=$lt_old_postinstall_cmds
22494 old_postuninstall_cmds=$lt_old_postuninstall_cmds
22496 # Whether to use a lock for old archive extraction.
22497 lock_old_archive_extraction=$lock_old_archive_extraction
22502 # LTCC compiler flags.
22503 LTCFLAGS=$lt_CFLAGS
22505 # Take the output of nm and produce a listing of raw symbols and C names.
22506 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
22508 # Transform the output of nm in a proper C declaration.
22509 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
22511 # Transform the output of nm in a C name address pair.
22512 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
22514 # Transform the output of nm in a C name address pair when lib prefix is needed.
22515 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
22517 # Specify filename containing input files for \$NM.
22518 nm_file_list_spec=$lt_nm_file_list_spec
22520 # The root where to search for dependent libraries,and in which our libraries should be installed.
22521 lt_sysroot=$lt_sysroot
22523 # The name of the directory that contains temporary libtool files.
22526 # Used to examine libraries when file_magic_cmd begins with "file".
22527 MAGIC_CMD=$MAGIC_CMD
22529 # Must we lock files when doing compilation?
22530 need_locks=$lt_need_locks
22533 MANIFEST_TOOL=$lt_MANIFEST_TOOL
22535 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
22536 DSYMUTIL=$lt_DSYMUTIL
22538 # Tool to change global to local symbols on Mac OS X.
22541 # Tool to manipulate fat objects and archives on Mac OS X.
22544 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
22547 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
22548 OTOOL64=$lt_OTOOL64
22550 # Old archive suffix (normally "a").
22553 # Shared library suffix (normally ".so").
22554 shrext_cmds=$lt_shrext_cmds
22556 # The commands to extract the exported symbol list from a shared archive.
22557 extract_expsyms_cmds=$lt_extract_expsyms_cmds
22559 # Variables whose values should be saved in libtool wrapper scripts and
22560 # restored at link time.
22561 variables_saved_for_relink=$lt_variables_saved_for_relink
22563 # Do we need the "lib" prefix for modules?
22564 need_lib_prefix=$need_lib_prefix
22566 # Do we need a version for libraries?
22567 need_version=$need_version
22569 # Library versioning type.
22570 version_type=$version_type
22572 # Shared library runtime path variable.
22573 runpath_var=$runpath_var
22575 # Shared library path variable.
22576 shlibpath_var=$shlibpath_var
22578 # Is shlibpath searched before the hard-coded library search path?
22579 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
22581 # Format of library name prefix.
22582 libname_spec=$lt_libname_spec
22584 # List of archive names. First name is the real one, the rest are links.
22585 # The last name is the one that the linker finds with -lNAME
22586 library_names_spec=$lt_library_names_spec
22588 # The coded name of the library, if different from the real name.
22589 soname_spec=$lt_soname_spec
22591 # Permission mode override for installation of shared libraries.
22592 install_override_mode=$lt_install_override_mode
22594 # Command to use after installation of a shared archive.
22595 postinstall_cmds=$lt_postinstall_cmds
22597 # Command to use after uninstallation of a shared archive.
22598 postuninstall_cmds=$lt_postuninstall_cmds
22600 # Commands used to finish a libtool library installation in a directory.
22601 finish_cmds=$lt_finish_cmds
22603 # As "finish_cmds", except a single script fragment to be evaled but
22605 finish_eval=$lt_finish_eval
22607 # Whether we should hardcode library paths into libraries.
22608 hardcode_into_libs=$hardcode_into_libs
22610 # Compile-time system search path for libraries.
22611 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
22613 # Run-time system search path for libraries.
22614 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
22616 # Whether dlopen is supported.
22617 dlopen_support=$enable_dlopen
22619 # Whether dlopen of programs is supported.
22620 dlopen_self=$enable_dlopen_self
22622 # Whether dlopen of statically linked programs is supported.
22623 dlopen_self_static=$enable_dlopen_self_static
22625 # Commands to strip libraries.
22626 old_striplib=$lt_old_striplib
22627 striplib=$lt_striplib
22630 # The linker used to build libraries.
22633 # How to create reloadable object files.
22634 reload_flag=$lt_reload_flag
22635 reload_cmds=$lt_reload_cmds
22637 # Commands used to build an old-style archive.
22638 old_archive_cmds=$lt_old_archive_cmds
22640 # A language specific compiler.
22643 # Is the compiler the GNU compiler?
22646 # Compiler flag to turn off builtin functions.
22647 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
22649 # Additional compiler flags for building library objects.
22650 pic_flag=$lt_lt_prog_compiler_pic
22652 # How to pass a linker flag through the compiler.
22653 wl=$lt_lt_prog_compiler_wl
22655 # Compiler flag to prevent dynamic linking.
22656 link_static_flag=$lt_lt_prog_compiler_static
22658 # Does compiler simultaneously support -c and -o options?
22659 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
22661 # Whether or not to add -lc for building shared libraries.
22662 build_libtool_need_lc=$archive_cmds_need_lc
22664 # Whether or not to disallow shared libs when runtime libs are static.
22665 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
22667 # Compiler flag to allow reflexive dlopens.
22668 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
22670 # Compiler flag to generate shared objects directly from archives.
22671 whole_archive_flag_spec=$lt_whole_archive_flag_spec
22673 # Whether the compiler copes with passing no objects directly.
22674 compiler_needs_object=$lt_compiler_needs_object
22676 # Create an old-style archive from a shared archive.
22677 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
22679 # Create a temporary old-style archive to link instead of a shared archive.
22680 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
22682 # Commands used to build a shared archive.
22683 archive_cmds=$lt_archive_cmds
22684 archive_expsym_cmds=$lt_archive_expsym_cmds
22686 # Commands used to build a loadable module if different from building
22687 # a shared archive.
22688 module_cmds=$lt_module_cmds
22689 module_expsym_cmds=$lt_module_expsym_cmds
22691 # Whether we are building with GNU ld or not.
22692 with_gnu_ld=$lt_with_gnu_ld
22694 # Flag that allows shared libraries with undefined symbols to be built.
22695 allow_undefined_flag=$lt_allow_undefined_flag
22697 # Flag that enforces no undefined symbols.
22698 no_undefined_flag=$lt_no_undefined_flag
22700 # Flag to hardcode \$libdir into a binary during linking.
22701 # This must work even if \$libdir does not exist
22702 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
22704 # Whether we need a single "-rpath" flag with a separated argument.
22705 hardcode_libdir_separator=$lt_hardcode_libdir_separator
22707 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
22708 # DIR into the resulting binary.
22709 hardcode_direct=$hardcode_direct
22711 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
22712 # DIR into the resulting binary and the resulting library dependency is
22713 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
22714 # library is relocated.
22715 hardcode_direct_absolute=$hardcode_direct_absolute
22717 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
22718 # into the resulting binary.
22719 hardcode_minus_L=$hardcode_minus_L
22721 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
22722 # into the resulting binary.
22723 hardcode_shlibpath_var=$hardcode_shlibpath_var
22725 # Set to "yes" if building a shared library automatically hardcodes DIR
22726 # into the library and all subsequent libraries and executables linked
22728 hardcode_automatic=$hardcode_automatic
22730 # Set to yes if linker adds runtime paths of dependent libraries
22731 # to runtime path list.
22732 inherit_rpath=$inherit_rpath
22734 # Whether libtool must link a program against all its dependency libraries.
22735 link_all_deplibs=$link_all_deplibs
22737 # Set to "yes" if exported symbols are required.
22738 always_export_symbols=$always_export_symbols
22740 # The commands to list exported symbols.
22741 export_symbols_cmds=$lt_export_symbols_cmds
22743 # Symbols that should not be listed in the preloaded symbols.
22744 exclude_expsyms=$lt_exclude_expsyms
22746 # Symbols that must always be exported.
22747 include_expsyms=$lt_include_expsyms
22749 # Commands necessary for linking programs (against libraries) with templates.
22750 prelink_cmds=$lt_prelink_cmds
22752 # Commands necessary for finishing linking programs.
22753 postlink_cmds=$lt_postlink_cmds
22755 # Specify filename containing input files.
22756 file_list_spec=$lt_file_list_spec
22758 # How to hardcode a shared library path into an executable.
22759 hardcode_action=$hardcode_action
22761 # The directories searched by this compiler when creating a shared library.
22762 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
22764 # Dependencies to place before and after the objects being linked to
22765 # create a shared library.
22766 predep_objects=$lt_predep_objects
22767 postdep_objects=$lt_postdep_objects
22768 predeps=$lt_predeps
22769 postdeps=$lt_postdeps
22771 # The library search path used internally by the compiler when linking
22772 # a shared library.
22773 compiler_lib_search_path=$lt_compiler_lib_search_path
22775 # ### END LIBTOOL CONFIG
22781 cat <<\_LT_EOF
>> "$cfgfile"
22782 # AIX sometimes has problems with the GCC collect2 program. For some
22783 # reason, if we set the COLLECT_NAMES environment variable, the problems
22784 # vanish in a puff of smoke.
22785 if test "X${COLLECT_NAMES+set}" != Xset
; then
22787 export COLLECT_NAMES
22794 ltmain
="$ac_aux_dir/ltmain.sh"
22797 # We use sed instead of cat because bash on DJGPP gets confused if
22798 # if finds mixed CR/LF and LF-only lines. Since sed operates in
22799 # text mode, it properly converts lines to CR/LF. This bash problem
22800 # is reportedly fixed, but why not run on old versions too?
22801 sed '$q' "$ltmain" >> "$cfgfile" \
22802 || (rm -f "$cfgfile"; exit 1)
22804 if test x
"$xsi_shell" = xyes
; then
22805 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
22809 \ */*) func_dirname_result="${1%/*}${2}" ;;\
22810 \ * ) func_dirname_result="${3}" ;;\
22812 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
22813 && mv -f "$cfgfile.tmp" "$cfgfile" \
22814 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22815 test 0 -eq $?
|| _lt_function_replace_fail
=:
22818 sed -e '/^func_basename ()$/,/^} # func_basename /c\
22821 \ func_basename_result="${1##*/}"\
22822 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
22823 && mv -f "$cfgfile.tmp" "$cfgfile" \
22824 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22825 test 0 -eq $?
|| _lt_function_replace_fail
=:
22828 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
22829 func_dirname_and_basename ()\
22832 \ */*) func_dirname_result="${1%/*}${2}" ;;\
22833 \ * ) func_dirname_result="${3}" ;;\
22835 \ func_basename_result="${1##*/}"\
22836 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
22837 && mv -f "$cfgfile.tmp" "$cfgfile" \
22838 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22839 test 0 -eq $?
|| _lt_function_replace_fail
=:
22842 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
22845 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
22846 \ # positional parameters, so assign one to ordinary parameter first.\
22847 \ func_stripname_result=${3}\
22848 \ func_stripname_result=${func_stripname_result#"${1}"}\
22849 \ func_stripname_result=${func_stripname_result%"${2}"}\
22850 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
22851 && mv -f "$cfgfile.tmp" "$cfgfile" \
22852 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22853 test 0 -eq $?
|| _lt_function_replace_fail
=:
22856 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
22857 func_split_long_opt ()\
22859 \ func_split_long_opt_name=${1%%=*}\
22860 \ func_split_long_opt_arg=${1#*=}\
22861 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
22862 && mv -f "$cfgfile.tmp" "$cfgfile" \
22863 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22864 test 0 -eq $?
|| _lt_function_replace_fail
=:
22867 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
22868 func_split_short_opt ()\
22870 \ func_split_short_opt_arg=${1#??}\
22871 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
22872 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
22873 && mv -f "$cfgfile.tmp" "$cfgfile" \
22874 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22875 test 0 -eq $?
|| _lt_function_replace_fail
=:
22878 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
22882 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
22883 \ *) func_lo2o_result=${1} ;;\
22885 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
22886 && mv -f "$cfgfile.tmp" "$cfgfile" \
22887 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22888 test 0 -eq $?
|| _lt_function_replace_fail
=:
22891 sed -e '/^func_xform ()$/,/^} # func_xform /c\
22894 func_xform_result=${1%.*}.lo\
22895 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
22896 && mv -f "$cfgfile.tmp" "$cfgfile" \
22897 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22898 test 0 -eq $?
|| _lt_function_replace_fail
=:
22901 sed -e '/^func_arith ()$/,/^} # func_arith /c\
22904 func_arith_result=$(( $* ))\
22905 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
22906 && mv -f "$cfgfile.tmp" "$cfgfile" \
22907 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22908 test 0 -eq $?
|| _lt_function_replace_fail
=:
22911 sed -e '/^func_len ()$/,/^} # func_len /c\
22914 func_len_result=${#1}\
22915 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
22916 && mv -f "$cfgfile.tmp" "$cfgfile" \
22917 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22918 test 0 -eq $?
|| _lt_function_replace_fail
=:
22922 if test x
"$lt_shell_append" = xyes
; then
22923 sed -e '/^func_append ()$/,/^} # func_append /c\
22926 eval "${1}+=\\${2}"\
22927 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
22928 && mv -f "$cfgfile.tmp" "$cfgfile" \
22929 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22930 test 0 -eq $?
|| _lt_function_replace_fail
=:
22933 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
22934 func_append_quoted ()\
22936 \ func_quote_for_eval "${2}"\
22937 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
22938 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
22939 && mv -f "$cfgfile.tmp" "$cfgfile" \
22940 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22941 test 0 -eq $?
|| _lt_function_replace_fail
=:
22944 # Save a `func_append' function call where possible by direct use of '+='
22945 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
22946 && mv -f "$cfgfile.tmp" "$cfgfile" \
22947 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22948 test 0 -eq $?
|| _lt_function_replace_fail
=:
22950 # Save a `func_append' function call even when '+=' is not available
22951 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
22952 && mv -f "$cfgfile.tmp" "$cfgfile" \
22953 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22954 test 0 -eq $?
|| _lt_function_replace_fail
=:
22957 if test x
"$_lt_function_replace_fail" = x
":"; then
22958 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
22959 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
22963 mv -f "$cfgfile" "$ofile" ||
22964 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
22968 cat <<_LT_EOF >> "$ofile"
22970 # ### BEGIN LIBTOOL TAG CONFIG: CXX
22972 # The linker used to build libraries.
22975 # How to create reloadable object files.
22976 reload_flag=$lt_reload_flag_CXX
22977 reload_cmds=$lt_reload_cmds_CXX
22979 # Commands used to build an old-style archive.
22980 old_archive_cmds=$lt_old_archive_cmds_CXX
22982 # A language specific compiler.
22983 CC=$lt_compiler_CXX
22985 # Is the compiler the GNU compiler?
22988 # Compiler flag to turn off builtin functions.
22989 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
22991 # Additional compiler flags for building library objects.
22992 pic_flag=$lt_lt_prog_compiler_pic_CXX
22994 # How to pass a linker flag through the compiler.
22995 wl=$lt_lt_prog_compiler_wl_CXX
22997 # Compiler flag to prevent dynamic linking.
22998 link_static_flag=$lt_lt_prog_compiler_static_CXX
23000 # Does compiler simultaneously support -c and -o options?
23001 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
23003 # Whether or not to add -lc for building shared libraries.
23004 build_libtool_need_lc=$archive_cmds_need_lc_CXX
23006 # Whether or not to disallow shared libs when runtime libs are static.
23007 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
23009 # Compiler flag to allow reflexive dlopens.
23010 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
23012 # Compiler flag to generate shared objects directly from archives.
23013 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
23015 # Whether the compiler copes with passing no objects directly.
23016 compiler_needs_object=$lt_compiler_needs_object_CXX
23018 # Create an old-style archive from a shared archive.
23019 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
23021 # Create a temporary old-style archive to link instead of a shared archive.
23022 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
23024 # Commands used to build a shared archive.
23025 archive_cmds=$lt_archive_cmds_CXX
23026 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
23028 # Commands used to build a loadable module if different from building
23029 # a shared archive.
23030 module_cmds=$lt_module_cmds_CXX
23031 module_expsym_cmds=$lt_module_expsym_cmds_CXX
23033 # Whether we are building with GNU ld or not.
23034 with_gnu_ld=$lt_with_gnu_ld_CXX
23036 # Flag that allows shared libraries with undefined symbols to be built.
23037 allow_undefined_flag=$lt_allow_undefined_flag_CXX
23039 # Flag that enforces no undefined symbols.
23040 no_undefined_flag=$lt_no_undefined_flag_CXX
23042 # Flag to hardcode \$libdir into a binary during linking.
23043 # This must work even if \$libdir does not exist
23044 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
23046 # Whether we need a single "-rpath" flag with a separated argument.
23047 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
23049 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
23050 # DIR into the resulting binary.
23051 hardcode_direct=$hardcode_direct_CXX
23053 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
23054 # DIR into the resulting binary and the resulting library dependency is
23055 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
23056 # library is relocated.
23057 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
23059 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
23060 # into the resulting binary.
23061 hardcode_minus_L=$hardcode_minus_L_CXX
23063 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
23064 # into the resulting binary.
23065 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
23067 # Set to "yes" if building a shared library automatically hardcodes DIR
23068 # into the library and all subsequent libraries and executables linked
23070 hardcode_automatic=$hardcode_automatic_CXX
23072 # Set to yes if linker adds runtime paths of dependent libraries
23073 # to runtime path list.
23074 inherit_rpath=$inherit_rpath_CXX
23076 # Whether libtool must link a program against all its dependency libraries.
23077 link_all_deplibs=$link_all_deplibs_CXX
23079 # Set to "yes" if exported symbols are required.
23080 always_export_symbols=$always_export_symbols_CXX
23082 # The commands to list exported symbols.
23083 export_symbols_cmds=$lt_export_symbols_cmds_CXX
23085 # Symbols that should not be listed in the preloaded symbols.
23086 exclude_expsyms=$lt_exclude_expsyms_CXX
23088 # Symbols that must always be exported.
23089 include_expsyms=$lt_include_expsyms_CXX
23091 # Commands necessary for linking programs (against libraries) with templates.
23092 prelink_cmds=$lt_prelink_cmds_CXX
23094 # Commands necessary for finishing linking programs.
23095 postlink_cmds=$lt_postlink_cmds_CXX
23097 # Specify filename containing input files.
23098 file_list_spec=$lt_file_list_spec_CXX
23100 # How to hardcode a shared library path into an executable.
23101 hardcode_action=$hardcode_action_CXX
23103 # The directories searched by this compiler when creating a shared library.
23104 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
23106 # Dependencies to place before and after the objects being linked to
23107 # create a shared library.
23108 predep_objects=$lt_predep_objects_CXX
23109 postdep_objects=$lt_postdep_objects_CXX
23110 predeps=$lt_predeps_CXX
23111 postdeps=$lt_postdeps_CXX
23113 # The library search path used internally by the compiler when linking
23114 # a shared library.
23115 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
23117 # ### END LIBTOOL TAG CONFIG: CXX
23128 ac_clean_files
=$ac_clean_files_save
23130 test $ac_write_fail = 0 ||
23131 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
23134 # configure is writing to config.log, and then calls config.status.
23135 # config.status does its own redirection, appending to config.log.
23136 # Unfortunately, on DOS this fails, as config.log is still kept open
23137 # by configure, so config.status won't be able to write to it; its
23138 # output is simply discarded. So we exec the FD to /dev/null,
23139 # effectively closing config.log, so it can be properly (re)opened and
23140 # appended to by config.status. When coming back to configure, we
23141 # need to make the FD available again.
23142 if test "$no_create" != yes; then
23144 ac_config_status_args
=
23145 test "$silent" = yes &&
23146 ac_config_status_args
="$ac_config_status_args --quiet"
23148 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
23150 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
23151 # would make configure fail if this is the last instruction.
23152 $ac_cs_success || as_fn_exit
1
23154 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
23155 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
23156 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}