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
719 am__fastdepOBJCXX_FALSE
720 am__fastdepOBJCXX_TRUE
754 INSTALL_STRIP_PROGRAM
796 program_transform_name
809 enable_option_checking
811 enable_dependency_tracking
824 ac_precious_vars
='build_alias
853 # Initialize some variables set by options.
855 ac_init_version
=false
856 ac_unrecognized_opts
=
858 # The variables have the same names as the options, with
859 # dashes changed to underlines.
867 program_transform_name
=s
,x
,x
,
875 # Installation directory options.
876 # These are left unexpanded so users can "make install exec_prefix=/foo"
877 # and all the variables that are supposed to be based on exec_prefix
878 # by default will actually change.
879 # Use braces instead of parens because sh, perl, etc. also accept them.
880 # (The list follows the same order as the GNU Coding Standards.)
881 bindir
='${exec_prefix}/bin'
882 sbindir
='${exec_prefix}/sbin'
883 libexecdir
='${exec_prefix}/libexec'
884 datarootdir
='${prefix}/share'
885 datadir
='${datarootdir}'
886 sysconfdir
='${prefix}/etc'
887 sharedstatedir
='${prefix}/com'
888 localstatedir
='${prefix}/var'
889 includedir
='${prefix}/include'
890 oldincludedir
='/usr/include'
891 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
892 infodir
='${datarootdir}/info'
897 libdir
='${exec_prefix}/lib'
898 localedir
='${datarootdir}/locale'
899 mandir
='${datarootdir}/man'
905 # If the previous option needs an argument, assign it.
906 if test -n "$ac_prev"; then
907 eval $ac_prev=\
$ac_option
913 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
918 # Accept the important Cygnus configure options, so we can diagnose typos.
920 case $ac_dashdash$ac_option in
924 -bindir | --bindir | --bindi | --bind | --bin | --bi)
926 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
929 -build | --build | --buil | --bui | --bu)
930 ac_prev
=build_alias
;;
931 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
932 build_alias
=$ac_optarg ;;
934 -cache-file | --cache-file | --cache-fil | --cache-fi \
935 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
936 ac_prev
=cache_file
;;
937 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
938 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
939 cache_file
=$ac_optarg ;;
942 cache_file
=config.cache
;;
944 -datadir | --datadir | --datadi | --datad)
946 -datadir=* | --datadir=* | --datadi=* | --datad=*)
947 datadir
=$ac_optarg ;;
949 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
950 | --dataroo | --dataro | --datar)
951 ac_prev
=datarootdir
;;
952 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
953 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
954 datarootdir
=$ac_optarg ;;
956 -disable-* | --disable-*)
957 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
958 # Reject names that are not valid shell variable names.
959 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
960 as_fn_error $?
"invalid feature name: $ac_useropt"
961 ac_useropt_orig
=$ac_useropt
962 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
963 case $ac_user_opts in
967 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
968 ac_unrecognized_sep
=', ';;
970 eval enable_
$ac_useropt=no
;;
972 -docdir | --docdir | --docdi | --doc | --do)
974 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
977 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
979 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
982 -enable-* | --enable-*)
983 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
984 # Reject names that are not valid shell variable names.
985 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
986 as_fn_error $?
"invalid feature name: $ac_useropt"
987 ac_useropt_orig
=$ac_useropt
988 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
989 case $ac_user_opts in
993 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
994 ac_unrecognized_sep
=', ';;
996 eval enable_
$ac_useropt=\
$ac_optarg ;;
998 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
999 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1000 | --exec | --exe | --ex)
1001 ac_prev
=exec_prefix
;;
1002 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1003 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1004 | --exec=* | --exe=* | --ex=*)
1005 exec_prefix
=$ac_optarg ;;
1007 -gas | --gas | --ga | --g)
1008 # Obsolete; use --with-gas.
1011 -help | --help | --hel | --he | -h)
1012 ac_init_help
=long
;;
1013 -help=r
* | --help=r
* | --hel=r
* | --he=r
* | -hr*)
1014 ac_init_help
=recursive
;;
1015 -help=s
* | --help=s
* | --hel=s
* | --he=s
* | -hs*)
1016 ac_init_help
=short
;;
1018 -host | --host | --hos | --ho)
1019 ac_prev
=host_alias
;;
1020 -host=* | --host=* | --hos=* | --ho=*)
1021 host_alias
=$ac_optarg ;;
1023 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1025 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1027 htmldir
=$ac_optarg ;;
1029 -includedir | --includedir | --includedi | --included | --include \
1030 | --includ | --inclu | --incl | --inc)
1031 ac_prev
=includedir
;;
1032 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1033 | --includ=* | --inclu=* | --incl=* | --inc=*)
1034 includedir
=$ac_optarg ;;
1036 -infodir | --infodir | --infodi | --infod | --info | --inf)
1038 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1039 infodir
=$ac_optarg ;;
1041 -libdir | --libdir | --libdi | --libd)
1043 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1044 libdir
=$ac_optarg ;;
1046 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1047 | --libexe | --libex | --libe)
1048 ac_prev
=libexecdir
;;
1049 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1050 | --libexe=* | --libex=* | --libe=*)
1051 libexecdir
=$ac_optarg ;;
1053 -localedir | --localedir | --localedi | --localed | --locale)
1054 ac_prev
=localedir
;;
1055 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1056 localedir
=$ac_optarg ;;
1058 -localstatedir | --localstatedir | --localstatedi | --localstated \
1059 | --localstate | --localstat | --localsta | --localst | --locals)
1060 ac_prev
=localstatedir
;;
1061 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1062 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1063 localstatedir
=$ac_optarg ;;
1065 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1067 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1068 mandir
=$ac_optarg ;;
1070 -nfp | --nfp | --nf)
1071 # Obsolete; use --without-fp.
1074 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1075 | --no-cr | --no-c | -n)
1078 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1079 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1082 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1083 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1084 | --oldin | --oldi | --old | --ol | --o)
1085 ac_prev
=oldincludedir
;;
1086 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1087 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1088 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1089 oldincludedir
=$ac_optarg ;;
1091 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1093 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1094 prefix
=$ac_optarg ;;
1096 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1097 | --program-pre | --program-pr | --program-p)
1098 ac_prev
=program_prefix
;;
1099 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1100 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1101 program_prefix
=$ac_optarg ;;
1103 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1104 | --program-suf | --program-su | --program-s)
1105 ac_prev
=program_suffix
;;
1106 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1107 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1108 program_suffix
=$ac_optarg ;;
1110 -program-transform-name | --program-transform-name \
1111 | --program-transform-nam | --program-transform-na \
1112 | --program-transform-n | --program-transform- \
1113 | --program-transform | --program-transfor \
1114 | --program-transfo | --program-transf \
1115 | --program-trans | --program-tran \
1116 | --progr-tra | --program-tr | --program-t)
1117 ac_prev
=program_transform_name
;;
1118 -program-transform-name=* | --program-transform-name=* \
1119 | --program-transform-nam=* | --program-transform-na=* \
1120 | --program-transform-n=* | --program-transform-=* \
1121 | --program-transform=* | --program-transfor=* \
1122 | --program-transfo=* | --program-transf=* \
1123 | --program-trans=* | --program-tran=* \
1124 | --progr-tra=* | --program-tr=* | --program-t=*)
1125 program_transform_name
=$ac_optarg ;;
1127 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1129 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1130 pdfdir
=$ac_optarg ;;
1132 -psdir | --psdir | --psdi | --psd | --ps)
1134 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1137 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1138 | -silent | --silent | --silen | --sile | --sil)
1141 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1143 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1145 sbindir
=$ac_optarg ;;
1147 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1148 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1149 | --sharedst | --shareds | --shared | --share | --shar \
1151 ac_prev
=sharedstatedir
;;
1152 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1153 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1154 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1156 sharedstatedir
=$ac_optarg ;;
1158 -site | --site | --sit)
1160 -site=* | --site=* | --sit=*)
1163 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1165 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1166 srcdir
=$ac_optarg ;;
1168 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1169 | --syscon | --sysco | --sysc | --sys | --sy)
1170 ac_prev
=sysconfdir
;;
1171 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1172 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1173 sysconfdir
=$ac_optarg ;;
1175 -target | --target | --targe | --targ | --tar | --ta | --t)
1176 ac_prev
=target_alias
;;
1177 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1178 target_alias
=$ac_optarg ;;
1180 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1183 -version | --version | --versio | --versi | --vers | -V)
1184 ac_init_version
=: ;;
1187 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1188 # Reject names that are not valid shell variable names.
1189 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1190 as_fn_error $?
"invalid package name: $ac_useropt"
1191 ac_useropt_orig
=$ac_useropt
1192 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1193 case $ac_user_opts in
1197 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1198 ac_unrecognized_sep
=', ';;
1200 eval with_
$ac_useropt=\
$ac_optarg ;;
1202 -without-* | --without-*)
1203 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1204 # Reject names that are not valid shell variable names.
1205 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1206 as_fn_error $?
"invalid package name: $ac_useropt"
1207 ac_useropt_orig
=$ac_useropt
1208 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1209 case $ac_user_opts in
1213 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1214 ac_unrecognized_sep
=', ';;
1216 eval with_
$ac_useropt=no
;;
1219 # Obsolete; use --with-x.
1222 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1223 | --x-incl | --x-inc | --x-in | --x-i)
1224 ac_prev
=x_includes
;;
1225 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1226 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1227 x_includes
=$ac_optarg ;;
1229 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1230 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1231 ac_prev
=x_libraries
;;
1232 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1233 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1234 x_libraries
=$ac_optarg ;;
1236 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1237 Try \`$0 --help' for more information"
1241 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1242 # Reject names that are not valid shell variable names.
1243 case $ac_envvar in #(
1244 '' | [0-9]* | *[!_$as_cr_alnum]* )
1245 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1247 eval $ac_envvar=\
$ac_optarg
1248 export $ac_envvar ;;
1251 # FIXME: should be removed in autoconf 3.0.
1252 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1253 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1254 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1255 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1261 if test -n "$ac_prev"; then
1262 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1263 as_fn_error $?
"missing argument to $ac_option"
1266 if test -n "$ac_unrecognized_opts"; then
1267 case $enable_option_checking in
1269 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1270 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1274 # Check all directory arguments for consistency.
1275 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1276 datadir sysconfdir sharedstatedir localstatedir includedir \
1277 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1278 libdir localedir mandir
1280 eval ac_val
=\$
$ac_var
1281 # Remove trailing slashes.
1284 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1285 eval $ac_var=\
$ac_val;;
1287 # Be sure to have absolute directory names.
1289 [\\/$
]* | ?
:[\\/]* ) continue;;
1290 NONE
| '' ) case $ac_var in *prefix
) continue;; esac;;
1292 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1295 # There might be people who depend on the old broken behavior: `$host'
1296 # used to hold the argument of --host etc.
1297 # FIXME: To remove some day.
1300 target
=$target_alias
1302 # FIXME: To remove some day.
1303 if test "x$host_alias" != x
; then
1304 if test "x$build_alias" = x
; then
1305 cross_compiling
=maybe
1306 elif test "x$build_alias" != "x$host_alias"; then
1312 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1314 test "$silent" = yes && exec 6>/dev
/null
1317 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1318 ac_ls_di
=`ls -di .` &&
1319 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1320 as_fn_error $?
"working directory cannot be determined"
1321 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1322 as_fn_error $?
"pwd does not report name of working directory"
1325 # Find the source files, if location was not specified.
1326 if test -z "$srcdir"; then
1327 ac_srcdir_defaulted
=yes
1328 # Try the directory containing this script, then the parent directory.
1329 ac_confdir
=`$as_dirname -- "$as_myself" ||
1330 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1331 X"$as_myself" : 'X\(//\)[^/]' \| \
1332 X"$as_myself" : 'X\(//\)$' \| \
1333 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1334 $as_echo X"$as_myself" |
1335 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1353 if test ! -r "$srcdir/$ac_unique_file"; then
1357 ac_srcdir_defaulted
=no
1359 if test ! -r "$srcdir/$ac_unique_file"; then
1360 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1361 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1363 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1365 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1367 # When building in place, set srcdir=.
1368 if test "$ac_abs_confdir" = "$ac_pwd"; then
1371 # Remove unnecessary trailing slashes from srcdir.
1372 # Double slashes in file names in object file debugging info
1373 # mess up M-x gdb in Emacs.
1375 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1377 for ac_var
in $ac_precious_vars; do
1378 eval ac_env_
${ac_var}_set
=\
${${ac_var}+set}
1379 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1380 eval ac_cv_env_
${ac_var}_set
=\
${${ac_var}+set}
1381 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1385 # Report the --help message.
1387 if test "$ac_init_help" = "long"; then
1388 # Omit some internal or obsolete options to make the list less imposing.
1389 # This message is too long to be a string in the A/UX 3.1 sh.
1391 \`configure' configures Cycript 0.9 to adapt to many kinds of systems.
1393 Usage: $0 [OPTION]... [VAR=VALUE]...
1395 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1396 VAR=VALUE. See below for descriptions of some of the useful variables.
1398 Defaults for the options are specified in brackets.
1401 -h, --help display this help and exit
1402 --help=short display options specific to this package
1403 --help=recursive display the short help of all the included packages
1404 -V, --version display version information and exit
1405 -q, --quiet, --silent do not print \`checking ...' messages
1406 --cache-file=FILE cache test results in FILE [disabled]
1407 -C, --config-cache alias for \`--cache-file=config.cache'
1408 -n, --no-create do not create output files
1409 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1411 Installation directories:
1412 --prefix=PREFIX install architecture-independent files in PREFIX
1413 [$ac_default_prefix]
1414 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1417 By default, \`make install' will install all the files in
1418 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1419 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1420 for instance \`--prefix=\$HOME'.
1422 For better control, use the options below.
1424 Fine tuning of the installation directories:
1425 --bindir=DIR user executables [EPREFIX/bin]
1426 --sbindir=DIR system admin executables [EPREFIX/sbin]
1427 --libexecdir=DIR program executables [EPREFIX/libexec]
1428 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1429 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1430 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1431 --libdir=DIR object code libraries [EPREFIX/lib]
1432 --includedir=DIR C header files [PREFIX/include]
1433 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1434 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1435 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1436 --infodir=DIR info documentation [DATAROOTDIR/info]
1437 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1438 --mandir=DIR man documentation [DATAROOTDIR/man]
1439 --docdir=DIR documentation root [DATAROOTDIR/doc/cycript]
1440 --htmldir=DIR html documentation [DOCDIR]
1441 --dvidir=DIR dvi documentation [DOCDIR]
1442 --pdfdir=DIR pdf documentation [DOCDIR]
1443 --psdir=DIR ps documentation [DOCDIR]
1449 --program-prefix=PREFIX prepend PREFIX to installed program names
1450 --program-suffix=SUFFIX append SUFFIX to installed program names
1451 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1454 --build=BUILD configure
for building on BUILD
[guessed
]
1455 --host=HOST cross
-compile to build programs to run on HOST
[BUILD
]
1459 if test -n "$ac_init_help"; then
1460 case $ac_init_help in
1461 short
| recursive
) echo "Configuration of Cycript 0.9:";;
1466 --disable-option-checking ignore unrecognized
--enable/--with options
1467 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1468 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1469 --enable-silent-rules less verbose build output
(undo
: "make V=1")
1470 --disable-silent-rules verbose build output
(undo
: "make V=0")
1471 --enable-dependency-tracking
1472 do not reject slow dependency extractors
1473 --disable-dependency-tracking
1474 speeds up one
-time build
1475 --enable-static[=PKGS
] build static libraries
[default
=no
]
1476 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1477 --enable-fast-install[=PKGS
]
1478 optimize
for fast installation
[default
=yes]
1479 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1480 --enable-javascript[=ENGINE
]
1481 use a JavaScript runtime
(currently the only
1482 available option
for ENGINE is JavaScriptCore
)
1484 --disable-rpath do not hardcode runtime library paths
1487 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1488 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1489 --with-pic[=PKGS
] try to use only PIC
/non
-PIC objects
[default
=use
1491 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1492 --with-sysroot=DIR Search
for dependent libraries within DIR
1493 (or the compiler
's sysroot if not specified).
1494 --with-apr=PATH prefix for installed APR or the full path to
1496 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1497 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1498 --without-libiconv-prefix don't search
for libiconv
in includedir and libdir
1500 Some influential environment variables
:
1501 CXX C
++ compiler
command
1502 CXXFLAGS C
++ compiler flags
1503 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1504 nonstandard directory
<lib dir
>
1505 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1506 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1507 you have headers
in a nonstandard directory
<include dir
>
1508 OBJCXX Objective C
++ compiler
command
1509 OBJCXXFLAGS Objective C
++ compiler flags
1510 CC C compiler
command
1511 CFLAGS C compiler flags
1513 CXXCPP C
++ preprocessor
1514 PKG_CONFIG path to pkg
-config utility
1516 directories to add to pkg
-config's search path
1518 path overriding pkg-config's built
-in search path
1519 BISON GNU Project parser generator
(yacc replacement
)
1520 FLEX the fast lexical analyser generator
1521 GPERF perfect
hash function generator
1522 GNUTAR a very sticky lump of files
1524 C compiler flags
for WEBKIT
, overriding pkg
-config
1525 WEBKIT_LIBS linker flags
for WEBKIT
, overriding pkg
-config
1527 prints information about the current gnustep installation
1529 Use these variables to override the choices made by
`configure' or to help
1530 it to find libraries and programs with nonstandard names/locations.
1532 Report bugs to <saurik@saurik.com>.
1533 Cycript home page: <http://www.cycript.org/>.
1538 if test "$ac_init_help" = "recursive"; then
1539 # If there are subdirs, report their specific --help.
1540 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1541 test -d "$ac_dir" ||
1542 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1547 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1549 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1550 # A ".." for each directory in $ac_dir_suffix.
1551 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1552 case $ac_top_builddir_sub in
1553 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1554 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1557 ac_abs_top_builddir=$ac_pwd
1558 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1559 # for backward compatibility:
1560 ac_top_builddir=$ac_top_build_prefix
1563 .) # We are building in place.
1565 ac_top_srcdir=$ac_top_builddir_sub
1566 ac_abs_top_srcdir=$ac_pwd ;;
1567 [\\/]* | ?:[\\/]* ) # Absolute name.
1568 ac_srcdir=$srcdir$ac_dir_suffix;
1569 ac_top_srcdir=$srcdir
1570 ac_abs_top_srcdir=$srcdir ;;
1572 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1573 ac_top_srcdir=$ac_top_build_prefix$srcdir
1574 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1576 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1578 cd "$ac_dir" || { ac_status=$?; continue; }
1579 # Check for guested configure.
1580 if test -f "$ac_srcdir/configure.gnu"; then
1582 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1583 elif test -f "$ac_srcdir/configure"; then
1585 $SHELL "$ac_srcdir/configure" --help=recursive
1587 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1589 cd "$ac_pwd" || { ac_status=$?; break; }
1593 test -n "$ac_init_help" && exit $ac_status
1594 if $ac_init_version; then
1596 Cycript configure 0.9
1597 generated by GNU Autoconf 2.69
1599 Copyright (C) 2012 Free Software Foundation, Inc.
1600 This configure script is free software; the Free Software Foundation
1601 gives unlimited permission to copy, distribute and modify it.
1603 Copyright (C) 2009-2012 Jay Freeman (saurik)
1608 ## ------------------------ ##
1609 ## Autoconf initialization. ##
1610 ## ------------------------ ##
1612 # ac_fn_cxx_try_compile LINENO
1613 # ----------------------------
1614 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1615 ac_fn_cxx_try_compile ()
1617 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1618 rm -f conftest.$ac_objext
1619 if { { ac_try="$ac_compile"
1621 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
1622 *) ac_try_echo
=$ac_try;;
1624 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1625 $as_echo "$ac_try_echo"; } >&5
1626 (eval "$ac_compile") 2>conftest.err
1628 if test -s conftest.err
; then
1629 grep -v '^ *+' conftest.err
>conftest.er1
1630 cat conftest.er1
>&5
1631 mv -f conftest.er1 conftest.err
1633 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1634 test $ac_status = 0; } && {
1635 test -z "$ac_cxx_werror_flag" ||
1636 test ! -s conftest.err
1637 } && test -s conftest.
$ac_objext; then :
1640 $as_echo "$as_me: failed program was:" >&5
1641 sed 's/^/| /' conftest.
$ac_ext >&5
1645 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1646 as_fn_set_status
$ac_retval
1648 } # ac_fn_cxx_try_compile
1650 # ac_fn_objcxx_try_compile LINENO
1651 # -------------------------------
1652 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1653 ac_fn_objcxx_try_compile
()
1655 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1656 rm -f conftest.
$ac_objext
1657 if { { ac_try
="$ac_compile"
1659 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
1660 *) ac_try_echo=$ac_try;;
1662 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1663 $as_echo "$ac_try_echo"; } >&5
1664 (eval "$ac_compile") 2>conftest.err
1666 if test -s conftest.err; then
1667 grep -v '^ *+' conftest.err >conftest.er1
1668 cat conftest.er1 >&5
1669 mv -f conftest.er1 conftest.err
1671 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1672 test $ac_status = 0; } && {
1673 test -z "$ac_objcxx_werror_flag" ||
1674 test ! -s conftest.err
1675 } && test -s conftest.$ac_objext; then :
1678 $as_echo "$as_me: failed program was:" >&5
1679 sed 's/^/| /' conftest.$ac_ext >&5
1683 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1684 as_fn_set_status $ac_retval
1686 } # ac_fn_objcxx_try_compile
1688 # ac_fn_c_try_compile LINENO
1689 # --------------------------
1690 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1691 ac_fn_c_try_compile ()
1693 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1694 rm -f conftest.$ac_objext
1695 if { { ac_try="$ac_compile"
1697 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
1698 *) ac_try_echo
=$ac_try;;
1700 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1701 $as_echo "$ac_try_echo"; } >&5
1702 (eval "$ac_compile") 2>conftest.err
1704 if test -s conftest.err
; then
1705 grep -v '^ *+' conftest.err
>conftest.er1
1706 cat conftest.er1
>&5
1707 mv -f conftest.er1 conftest.err
1709 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1710 test $ac_status = 0; } && {
1711 test -z "$ac_c_werror_flag" ||
1712 test ! -s conftest.err
1713 } && test -s conftest.
$ac_objext; then :
1716 $as_echo "$as_me: failed program was:" >&5
1717 sed 's/^/| /' conftest.
$ac_ext >&5
1721 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1722 as_fn_set_status
$ac_retval
1724 } # ac_fn_c_try_compile
1726 # ac_fn_c_try_link LINENO
1727 # -----------------------
1728 # Try to link conftest.$ac_ext, and return whether this succeeded.
1731 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1732 rm -f conftest.
$ac_objext conftest
$ac_exeext
1733 if { { ac_try
="$ac_link"
1735 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
1736 *) ac_try_echo=$ac_try;;
1738 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1739 $as_echo "$ac_try_echo"; } >&5
1740 (eval "$ac_link") 2>conftest.err
1742 if test -s conftest.err; then
1743 grep -v '^ *+' conftest.err >conftest.er1
1744 cat conftest.er1 >&5
1745 mv -f conftest.er1 conftest.err
1747 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1748 test $ac_status = 0; } && {
1749 test -z "$ac_c_werror_flag" ||
1750 test ! -s conftest.err
1751 } && test -s conftest$ac_exeext && {
1752 test "$cross_compiling" = yes ||
1753 test -x conftest$ac_exeext
1757 $as_echo "$as_me: failed program was:" >&5
1758 sed 's/^/| /' conftest.$ac_ext >&5
1762 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1763 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1764 # interfere with the next link command; also delete a directory that is
1765 # left behind by Apple's compiler. We do this before executing the actions.
1766 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1767 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1768 as_fn_set_status $ac_retval
1770 } # ac_fn_c_try_link
1772 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1773 # -------------------------------------------------------
1774 # Tests whether HEADER exists and can be compiled using the include files in
1775 # INCLUDES, setting the cache variable VAR accordingly.
1776 ac_fn_c_check_header_compile ()
1778 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1780 $as_echo_n "checking for $2... " >&6; }
1781 if eval \${$3+:} false; then :
1782 $as_echo_n "(cached) " >&6
1784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1785 /* end confdefs.h. */
1789 if ac_fn_c_try_compile "$LINENO"; then :
1794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1798 $as_echo "$ac_res" >&6; }
1799 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1801 } # ac_fn_c_check_header_compile
1803 # ac_fn_c_try_cpp LINENO
1804 # ----------------------
1805 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1808 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1809 if { { ac_try="$ac_cpp conftest.$ac_ext"
1811 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
1812 *) ac_try_echo
=$ac_try;;
1814 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1815 $as_echo "$ac_try_echo"; } >&5
1816 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1818 if test -s conftest.err
; then
1819 grep -v '^ *+' conftest.err
>conftest.er1
1820 cat conftest.er1
>&5
1821 mv -f conftest.er1 conftest.err
1823 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1824 test $ac_status = 0; } > conftest.i
&& {
1825 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1826 test ! -s conftest.err
1830 $as_echo "$as_me: failed program was:" >&5
1831 sed 's/^/| /' conftest.
$ac_ext >&5
1835 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1836 as_fn_set_status
$ac_retval
1840 # ac_fn_c_try_run LINENO
1841 # ----------------------
1842 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1843 # that executables *can* be run.
1846 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1847 if { { ac_try
="$ac_link"
1849 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
1850 *) ac_try_echo=$ac_try;;
1852 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1853 $as_echo "$ac_try_echo"; } >&5
1854 (eval "$ac_link") 2>&5
1856 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1857 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1858 { { case "(($ac_try" in
1859 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
1860 *) ac_try_echo
=$ac_try;;
1862 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1863 $as_echo "$ac_try_echo"; } >&5
1864 (eval "$ac_try") 2>&5
1866 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1867 test $ac_status = 0; }; }; then :
1870 $as_echo "$as_me: program exited with status $ac_status" >&5
1871 $as_echo "$as_me: failed program was:" >&5
1872 sed 's/^/| /' conftest.
$ac_ext >&5
1874 ac_retval
=$ac_status
1876 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1877 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1878 as_fn_set_status
$ac_retval
1882 # ac_fn_c_check_func LINENO FUNC VAR
1883 # ----------------------------------
1884 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1885 ac_fn_c_check_func
()
1887 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1889 $as_echo_n "checking for $2... " >&6; }
1890 if eval \
${$3+:} false
; then :
1891 $as_echo_n "(cached) " >&6
1893 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1894 /* end confdefs.h. */
1895 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1896 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1897 #define $2 innocuous_$2
1899 /* System header to define __stub macros and hopefully few prototypes,
1900 which can conflict with char $2 (); below.
1901 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1902 <limits.h> exists even on freestanding compilers. */
1905 # include <limits.h>
1907 # include <assert.h>
1912 /* Override any GCC internal prototype to avoid an error.
1913 Use char because int might match the return type of a GCC
1914 builtin and then its argument prototype would still apply. */
1919 /* The GNU C library defines this for functions which it implements
1920 to always fail with ENOSYS. Some functions are actually named
1921 something starting with __ and the normal name is an alias. */
1922 #if defined __stub_$2 || defined __stub___$2
1934 if ac_fn_c_try_link
"$LINENO"; then :
1939 rm -f core conftest.err conftest.
$ac_objext \
1940 conftest
$ac_exeext conftest.
$ac_ext
1943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1944 $as_echo "$ac_res" >&6; }
1945 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1947 } # ac_fn_c_check_func
1949 # ac_fn_cxx_try_cpp LINENO
1950 # ------------------------
1951 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1952 ac_fn_cxx_try_cpp
()
1954 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1955 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1957 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
1958 *) ac_try_echo=$ac_try;;
1960 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1961 $as_echo "$ac_try_echo"; } >&5
1962 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1964 if test -s conftest.err; then
1965 grep -v '^ *+' conftest.err >conftest.er1
1966 cat conftest.er1 >&5
1967 mv -f conftest.er1 conftest.err
1969 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1970 test $ac_status = 0; } > conftest.i && {
1971 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1972 test ! -s conftest.err
1976 $as_echo "$as_me: failed program was:" >&5
1977 sed 's/^/| /' conftest.$ac_ext >&5
1981 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1982 as_fn_set_status $ac_retval
1984 } # ac_fn_cxx_try_cpp
1986 # ac_fn_cxx_try_link LINENO
1987 # -------------------------
1988 # Try to link conftest.$ac_ext, and return whether this succeeded.
1989 ac_fn_cxx_try_link ()
1991 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1992 rm -f conftest.$ac_objext conftest$ac_exeext
1993 if { { ac_try="$ac_link"
1995 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
1996 *) ac_try_echo
=$ac_try;;
1998 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1999 $as_echo "$ac_try_echo"; } >&5
2000 (eval "$ac_link") 2>conftest.err
2002 if test -s conftest.err
; then
2003 grep -v '^ *+' conftest.err
>conftest.er1
2004 cat conftest.er1
>&5
2005 mv -f conftest.er1 conftest.err
2007 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2008 test $ac_status = 0; } && {
2009 test -z "$ac_cxx_werror_flag" ||
2010 test ! -s conftest.err
2011 } && test -s conftest
$ac_exeext && {
2012 test "$cross_compiling" = yes ||
2013 test -x conftest
$ac_exeext
2017 $as_echo "$as_me: failed program was:" >&5
2018 sed 's/^/| /' conftest.
$ac_ext >&5
2022 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2023 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2024 # interfere with the next link command; also delete a directory that is
2025 # left behind by Apple's compiler. We do this before executing the actions.
2026 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2027 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2028 as_fn_set_status
$ac_retval
2030 } # ac_fn_cxx_try_link
2032 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2033 # ---------------------------------------------------------
2034 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2035 # the include files in INCLUDES and setting the cache variable VAR
2037 ac_fn_cxx_check_header_mongrel
()
2039 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2040 if eval \
${$3+:} false
; then :
2041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2042 $as_echo_n "checking for $2... " >&6; }
2043 if eval \
${$3+:} false
; then :
2044 $as_echo_n "(cached) " >&6
2047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2048 $as_echo "$ac_res" >&6; }
2050 # Is the header compilable?
2051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2052 $as_echo_n "checking $2 usability... " >&6; }
2053 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2054 /* end confdefs.h. */
2058 if ac_fn_cxx_try_compile
"$LINENO"; then :
2059 ac_header_compiler
=yes
2061 ac_header_compiler
=no
2063 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2065 $as_echo "$ac_header_compiler" >&6; }
2067 # Is the header present?
2068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2069 $as_echo_n "checking $2 presence... " >&6; }
2070 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2071 /* end confdefs.h. */
2074 if ac_fn_cxx_try_cpp
"$LINENO"; then :
2075 ac_header_preproc
=yes
2077 ac_header_preproc
=no
2079 rm -f conftest.err conftest.i conftest.
$ac_ext
2080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2081 $as_echo "$ac_header_preproc" >&6; }
2083 # So? What about this header?
2084 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2086 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2087 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2088 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2089 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2092 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2093 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2094 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2095 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2096 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2097 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2098 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2099 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2100 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2101 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2102 ( $as_echo "## -------------------------------- ##
2103 ## Report this to saurik@saurik.com ##
2104 ## -------------------------------- ##"
2105 ) | sed "s/^/$as_me: WARNING: /" >&2
2108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2109 $as_echo_n "checking for $2... " >&6; }
2110 if eval \
${$3+:} false
; then :
2111 $as_echo_n "(cached) " >&6
2113 eval "$3=\$ac_header_compiler"
2116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2117 $as_echo "$ac_res" >&6; }
2119 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2121 } # ac_fn_cxx_check_header_mongrel
2123 # ac_fn_objcxx_try_link LINENO
2124 # ----------------------------
2125 # Try to link conftest.$ac_ext, and return whether this succeeded.
2126 ac_fn_objcxx_try_link
()
2128 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2129 rm -f conftest.
$ac_objext conftest
$ac_exeext
2130 if { { ac_try
="$ac_link"
2132 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
2133 *) ac_try_echo=$ac_try;;
2135 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2136 $as_echo "$ac_try_echo"; } >&5
2137 (eval "$ac_link") 2>conftest.err
2139 if test -s conftest.err; then
2140 grep -v '^ *+' conftest.err >conftest.er1
2141 cat conftest.er1 >&5
2142 mv -f conftest.er1 conftest.err
2144 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2145 test $ac_status = 0; } && {
2146 test -z "$ac_objcxx_werror_flag" ||
2147 test ! -s conftest.err
2148 } && test -s conftest$ac_exeext && {
2149 test "$cross_compiling" = yes ||
2150 test -x conftest$ac_exeext
2154 $as_echo "$as_me: failed program was:" >&5
2155 sed 's/^/| /' conftest.$ac_ext >&5
2159 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2160 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2161 # interfere with the next link command; also delete a directory that is
2162 # left behind by Apple's compiler. We do this before executing the actions.
2163 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2164 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2165 as_fn_set_status $ac_retval
2167 } # ac_fn_objcxx_try_link
2168 cat >config.log <<_ACEOF
2169 This file contains any messages produced by compilers while
2170 running configure, to aid debugging if configure makes a mistake.
2172 It was created by Cycript $as_me 0.9, which was
2173 generated by GNU Autoconf 2.69. Invocation command line was
2185 hostname = `(hostname
|| uname
-n) 2>/dev
/null
| sed 1q
`
2186 uname -m = `(uname
-m) 2>/dev
/null
|| echo unknown
`
2187 uname -r = `(uname
-r) 2>/dev
/null
|| echo unknown
`
2188 uname -s = `(uname
-s) 2>/dev
/null
|| echo unknown
`
2189 uname -v = `(uname
-v) 2>/dev
/null
|| echo unknown
`
2191 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null
|| echo unknown
`
2192 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null
|| echo unknown
`
2194 /bin/arch = `(/bin
/arch
) 2>/dev
/null
|| echo unknown
`
2195 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null
|| echo unknown
`
2196 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null
|| echo unknown
`
2197 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null
|| echo unknown
`
2198 /bin/machine = `(/bin
/machine
) 2>/dev
/null
|| echo unknown
`
2199 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null
|| echo unknown
`
2200 /bin/universe = `(/bin
/universe
) 2>/dev
/null
|| echo unknown
`
2204 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2208 test -z "$as_dir" && as_dir=.
2209 $as_echo "PATH: $as_dir"
2225 # Keep a trace of the command line.
2226 # Strip out --no-create and --no-recursion so they do not pile up.
2227 # Strip out --silent because we don't want to record it for future runs.
2228 # Also quote any args containing shell meta-characters.
2229 # Make two passes to allow for proper duplicate-argument suppression.
2233 ac_must_keep_next=false
2239 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2240 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2241 | -silent | --silent | --silen | --sile | --sil)
2244 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2247 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2249 as_fn_append ac_configure_args1 " '$ac_arg'"
2250 if test $ac_must_keep_next = true; then
2251 ac_must_keep_next=false # Got value, back to normal.
2254 *=* | --config-cache | -C | -disable-* | --disable-* \
2255 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2256 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2257 | -with-* | --with-* | -without-* | --without-* | --x)
2258 case "$ac_configure_args0 " in
2259 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2262 -* ) ac_must_keep_next=true ;;
2265 as_fn_append ac_configure_args " '$ac_arg'"
2270 { ac_configure_args0=; unset ac_configure_args0;}
2271 { ac_configure_args1=; unset ac_configure_args1;}
2273 # When interrupted or exit'd, cleanup temporary files, and complete
2274 # config.log. We remove comments because anyway the quotes in there
2275 # would cause problems or look ugly.
2276 # WARNING: Use '\'' to represent an apostrophe within the trap.
2277 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2278 trap 'exit_status=$?
2279 # Save into config.log some information that might help in debugging.
2283 $as_echo "## ---------------- ##
2284 ## Cache variables. ##
2285 ## ---------------- ##"
2287 # The following way of writing the cache mishandles newlines in values,
2289 for ac_var in `(set) 2>&1 | sed -n '\''s
/^\
([a
-zA-Z_][a
-zA-Z0-9_]*\
)=.
*/\
1/p
'\''`; do
2290 eval ac_val=\$$ac_var
2294 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2295 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2298 _ | IFS | as_nl) ;; #(
2299 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2300 *) { eval $ac_var=; unset $ac_var;} ;;
2305 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2306 *${as_nl}ac_space=\ *)
2308 "s/'\''/'\''\\\\'\'''\''/g;
2309 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2312 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2319 $as_echo "## ----------------- ##
2320 ## Output variables. ##
2321 ## ----------------- ##"
2323 for ac_var in $ac_subst_vars
2325 eval ac_val=\$$ac_var
2327 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2329 $as_echo "$ac_var='\''$ac_val'\''"
2333 if test -n "$ac_subst_files"; then
2334 $as_echo "## ------------------- ##
2335 ## File substitutions. ##
2336 ## ------------------- ##"
2338 for ac_var in $ac_subst_files
2340 eval ac_val=\$$ac_var
2342 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2344 $as_echo "$ac_var='\''$ac_val'\''"
2349 if test -s confdefs.h; then
2350 $as_echo "## ----------- ##
2357 test "$ac_signal" != 0 &&
2358 $as_echo "$as_me: caught signal $ac_signal"
2359 $as_echo "$as_me: exit $exit_status"
2361 rm -f core *.core core.conftest.* &&
2362 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2365 for ac_signal in 1 2 13 15; do
2366 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2370 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2371 rm -f -r conftest* confdefs.h
2373 $as_echo "/* confdefs.h */" > confdefs.h
2375 # Predefined preprocessor variables.
2377 cat >>confdefs.h <<_ACEOF
2378 #define PACKAGE_NAME "$PACKAGE_NAME"
2381 cat >>confdefs.h <<_ACEOF
2382 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2385 cat >>confdefs.h <<_ACEOF
2386 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2389 cat >>confdefs.h <<_ACEOF
2390 #define PACKAGE_STRING "$PACKAGE_STRING"
2393 cat >>confdefs.h <<_ACEOF
2394 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2397 cat >>confdefs.h <<_ACEOF
2398 #define PACKAGE_URL "$PACKAGE_URL"
2402 # Let the site file select an alternate cache file if it wants to.
2403 # Prefer an explicitly selected file to automatically selected ones.
2406 if test -n "$CONFIG_SITE"; then
2407 # We do not want a PATH search for config.site.
2408 case $CONFIG_SITE in #((
2409 -*) ac_site_file1=./$CONFIG_SITE;;
2410 */*) ac_site_file1=$CONFIG_SITE;;
2411 *) ac_site_file1=./$CONFIG_SITE;;
2413 elif test "x$prefix" != xNONE; then
2414 ac_site_file1=$prefix/share/config.site
2415 ac_site_file2=$prefix/etc/config.site
2417 ac_site_file1=$ac_default_prefix/share/config.site
2418 ac_site_file2=$ac_default_prefix/etc/config.site
2420 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2422 test "x$ac_site_file" = xNONE && continue
2423 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2424 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2425 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2426 sed 's/^/| /' "$ac_site_file" >&5
2428 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2429 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2430 as_fn_error $? "failed to load site
script $ac_site_file
2431 See \
`config.log' for more details" "$LINENO" 5; }
2435 if test -r "$cache_file"; then
2436 # Some versions of bash will fail to source /dev/null (special files
2437 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2438 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2439 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2440 $as_echo "$as_me: loading cache $cache_file" >&6;}
2442 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2443 *) . "./$cache_file";;
2447 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2448 $as_echo "$as_me: creating cache $cache_file" >&6;}
2452 # Check that the precious variables saved in the cache have kept the same
2454 ac_cache_corrupted=false
2455 for ac_var in $ac_precious_vars; do
2456 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2457 eval ac_new_set=\$ac_env_${ac_var}_set
2458 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2459 eval ac_new_val=\$ac_env_${ac_var}_value
2460 case $ac_old_set,$ac_new_set in
2462 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2463 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2464 ac_cache_corrupted=: ;;
2466 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2467 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2468 ac_cache_corrupted=: ;;
2471 if test "x$ac_old_val" != "x$ac_new_val"; then
2472 # differences in whitespace do not lead to failure.
2473 ac_old_val_w=`echo x
$ac_old_val`
2474 ac_new_val_w=`echo x
$ac_new_val`
2475 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2476 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2477 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2478 ac_cache_corrupted=:
2480 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2481 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2482 eval $ac_var=\$ac_old_val
2484 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2485 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2486 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2487 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2490 # Pass precious variables to config.status.
2491 if test "$ac_new_set" = set; then
2493 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2494 *) ac_arg=$ac_var=$ac_new_val ;;
2496 case " $ac_configure_args " in
2497 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2498 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2502 if $ac_cache_corrupted; then
2503 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2504 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2505 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2506 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2507 as_fn_error $? "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2509 ## -------------------- ##
2510 ## Main body of script. ##
2511 ## -------------------- ##
2514 ac_cpp='$CPP $CPPFLAGS'
2515 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2516 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2517 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2524 for ac_dir in . "$srcdir"/.; do
2525 if test -f "$ac_dir/install-sh"; then
2527 ac_install_sh="$ac_aux_dir/install-sh -c"
2529 elif test -f "$ac_dir/install.sh"; then
2531 ac_install_sh="$ac_aux_dir/install.sh -c"
2533 elif test -f "$ac_dir/shtool"; then
2535 ac_install_sh="$ac_aux_dir/shtool install -c"
2539 if test -z "$ac_aux_dir"; then
2540 as_fn_error $? "cannot find install-sh, install.sh, or shtool in . \"$srcdir\"/." "$LINENO" 5
2543 # These three variables are undocumented and unsupported,
2544 # and are intended to be withdrawn in a future Autoconf release.
2545 # They can cause serious problems if a builder's source tree is in a directory
2546 # whose full name contains unusual characters.
2547 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2548 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2549 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2553 ac_config_headers="$ac_config_headers config.h"
2556 am__api_version='1.13'
2558 # Find a good install program. We prefer a C program (faster),
2559 # so one script is as good as another. But avoid the broken or
2560 # incompatible versions:
2561 # SysV /etc/install, /usr/sbin/install
2562 # SunOS /usr/etc/install
2563 # IRIX /sbin/install
2565 # AmigaOS /C/install, which installs bootblocks on floppy discs
2566 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2567 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2568 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2569 # OS/2's system install, which has a completely different semantic
2570 # ./install, which can be erroneously created by make from ./install.sh.
2571 # Reject install programs that cannot install multiple files.
2572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2573 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2574 if test -z "$INSTALL"; then
2575 if ${ac_cv_path_install+:} false; then :
2576 $as_echo_n "(cached) " >&6
2578 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2582 test -z "$as_dir" && as_dir=.
2583 # Account for people who put trailing slashes in PATH elements.
2584 case $as_dir/ in #((
2585 ./ | .// | /[cC]/* | \
2586 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2587 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2590 # OSF1 and SCO ODT 3.0 have their own names for install.
2591 # Don't use installbsd from OSF since it installs stuff as root
2593 for ac_prog in ginstall scoinst install; do
2594 for ac_exec_ext in '' $ac_executable_extensions; do
2595 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2596 if test $ac_prog = install &&
2597 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2598 # AIX install. It has an incompatible calling convention.
2600 elif test $ac_prog = install &&
2601 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2602 # program-specific install script used by HP pwplus--don't use.
2605 rm -rf conftest.one conftest.two conftest.dir
2606 echo one > conftest.one
2607 echo two > conftest.two
2609 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2610 test -s conftest.one && test -s conftest.two &&
2611 test -s conftest.dir/conftest.one &&
2612 test -s conftest.dir/conftest.two
2614 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2627 rm -rf conftest.one conftest.two conftest.dir
2630 if test "${ac_cv_path_install+set}" = set; then
2631 INSTALL=$ac_cv_path_install
2633 # As a last resort, use the slow shell script. Don't cache a
2634 # value for INSTALL within a source directory, because that will
2635 # break other packages using the cache if that directory is
2636 # removed, or if the value is a relative name.
2637 INSTALL=$ac_install_sh
2640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2641 $as_echo "$INSTALL" >&6; }
2643 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2644 # It thinks the first close brace ends the variable substitution.
2645 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2647 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2649 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2652 $as_echo_n "checking whether build environment is sane... " >&6; }
2653 # Reject unsafe characters in $srcdir or the absolute working directory
2654 # name. Accept space and tab only in the latter.
2658 *[\\\"\#\$\&\'\`$am_lf]*)
2659 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2662 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2663 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2666 # Do 'set' in a subshell so we don't clobber the current shell's
2667 # arguments. Must try -L first in case configure is actually a
2668 # symlink; some systems play weird games with the mod time of symlinks
2669 # (eg FreeBSD returns the mod time of the symlink's containing
2673 for am_try in 1 2; do
2674 echo "timestamp, slept: $am_has_slept" > conftest.file
2675 set X `ls -Lt "$srcdir/configure" conftest.
file 2> /dev
/null
`
2676 if test "$*" = "X"; then
2678 set X `ls -t "$srcdir/configure" conftest.
file`
2680 if test "$*" != "X $srcdir/configure conftest.file" \
2681 && test "$*" != "X conftest.file $srcdir/configure"; then
2683 # If neither matched, then we have a broken ls. This can happen
2684 # if, for instance, CONFIG_SHELL is bash and it inherits a
2685 # broken ls alias from the environment. This has actually
2686 # happened. Such a system could not be considered "sane".
2687 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2688 alias in your environment" "$LINENO" 5
2690 if test "$2" = conftest.file || test $am_try -eq 2; then
2697 test "$2" = conftest.file
2703 as_fn_error $? "newly created file is older than distributed files!
2704 Check your system clock" "$LINENO" 5
2706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2707 $as_echo "yes" >&6; }
2708 # If we didn't sleep, we still need to ensure time stamps of config.status and
2709 # generated files are strictly newer.
2711 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2718 test "$program_prefix" != NONE &&
2719 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2720 # Use a double $ so make ignores it.
2721 test "$program_suffix" != NONE &&
2722 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2723 # Double any \ or $.
2724 # By default was `s
,x
,x
', remove it if useless.
2725 ac_script='s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//'
2726 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2728 # expand $ac_aux_dir to an absolute path
2729 am_aux_dir=`cd $ac_aux_dir && pwd`
2731 if test x"${MISSING+set}" != xset; then
2734 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2736 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2739 # Use eval to expand $SHELL
2740 if eval "$MISSING --is-lightweight"; then
2741 am_missing_run="$MISSING "
2744 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing
' script is too old or missing" >&5
2745 $as_echo "$as_me: WARNING: 'missing
' script is too old or missing" >&2;}
2748 if test x"${install_sh}" != xset; then
2751 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2753 install_sh="\${SHELL} $am_aux_dir/install-sh"
2757 # Installed binaries are usually stripped using 'strip
' when the user
2758 # run "make install-strip". However 'strip
' might not be the right
2759 # tool to use in cross-compilation environments, therefore Automake
2760 # will honor the 'STRIP
' environment variable to overrule this program.
2761 if test "$cross_compiling" != no; then
2762 if test -n "$ac_tool_prefix"; then
2763 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2764 set dummy ${ac_tool_prefix}strip; ac_word=$2
2765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2766 $as_echo_n "checking for $ac_word... " >&6; }
2767 if ${ac_cv_prog_STRIP+:} false; then :
2768 $as_echo_n "(cached) " >&6
2770 if test -n "$STRIP"; then
2771 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2773 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2777 test -z "$as_dir" && as_dir=.
2778 for ac_exec_ext in '' $ac_executable_extensions; do
2779 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2780 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2781 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2790 STRIP=$ac_cv_prog_STRIP
2791 if test -n "$STRIP"; then
2792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2793 $as_echo "$STRIP" >&6; }
2795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2796 $as_echo "no" >&6; }
2801 if test -z "$ac_cv_prog_STRIP"; then
2803 # Extract the first word of "strip", so it can be a program name with args.
2804 set dummy strip; ac_word=$2
2805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2806 $as_echo_n "checking for $ac_word... " >&6; }
2807 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2808 $as_echo_n "(cached) " >&6
2810 if test -n "$ac_ct_STRIP"; then
2811 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2813 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2817 test -z "$as_dir" && as_dir=.
2818 for ac_exec_ext in '' $ac_executable_extensions; do
2819 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2820 ac_cv_prog_ac_ct_STRIP="strip"
2821 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2830 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2831 if test -n "$ac_ct_STRIP"; then
2832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2833 $as_echo "$ac_ct_STRIP" >&6; }
2835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2836 $as_echo "no" >&6; }
2839 if test "x$ac_ct_STRIP" = x; then
2842 case $cross_compiling:$ac_tool_warned in
2844 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2845 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2846 ac_tool_warned=yes ;;
2851 STRIP="$ac_cv_prog_STRIP"
2855 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2858 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2859 if test -z "$MKDIR_P"; then
2860 if ${ac_cv_path_mkdir+:} false; then :
2861 $as_echo_n "(cached) " >&6
2863 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2864 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2867 test -z "$as_dir" && as_dir=.
2868 for ac_prog in mkdir gmkdir; do
2869 for ac_exec_ext in '' $ac_executable_extensions; do
2870 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2871 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2872 'mkdir (GNU coreutils
) '* | \
2873 'mkdir (coreutils
) '* | \
2874 'mkdir (fileutils
) '4.1*)
2875 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2885 test -d ./--version && rmdir ./--version
2886 if test "${ac_cv_path_mkdir+set}" = set; then
2887 MKDIR_P="$ac_cv_path_mkdir -p"
2889 # As a last resort, use the slow shell script. Don't cache a
2890 # value for MKDIR_P within a source directory, because that will
2891 # break other packages using the cache if that directory is
2892 # removed, or if the value is a relative name.
2893 MKDIR_P
="$ac_install_sh -d"
2896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2897 $as_echo "$MKDIR_P" >&6; }
2899 for ac_prog
in gawk mawk nawk
awk
2901 # Extract the first word of "$ac_prog", so it can be a program name with args.
2902 set dummy
$ac_prog; ac_word
=$2
2903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2904 $as_echo_n "checking for $ac_word... " >&6; }
2905 if ${ac_cv_prog_AWK+:} false
; then :
2906 $as_echo_n "(cached) " >&6
2908 if test -n "$AWK"; then
2909 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2911 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2915 test -z "$as_dir" && as_dir
=.
2916 for ac_exec_ext
in '' $ac_executable_extensions; do
2917 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2918 ac_cv_prog_AWK
="$ac_prog"
2919 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2929 if test -n "$AWK"; then
2930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2931 $as_echo "$AWK" >&6; }
2933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2934 $as_echo "no" >&6; }
2938 test -n "$AWK" && break
2941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2942 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2944 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2945 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
2946 $as_echo_n "(cached) " >&6
2948 cat >conftest.
make <<\_ACEOF
2951 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2953 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2954 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2956 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2958 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2962 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2964 $as_echo "yes" >&6; }
2967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2968 $as_echo "no" >&6; }
2969 SET_MAKE
="MAKE=${MAKE-make}"
2972 rm -rf .tst
2>/dev
/null
2973 mkdir .tst
2>/dev
/null
2974 if test -d .tst
; then
2979 rmdir .tst
2>/dev
/null
2981 # Check whether --enable-silent-rules was given.
2982 if test "${enable_silent_rules+set}" = set; then :
2983 enableval
=$enable_silent_rules;
2986 case $enable_silent_rules in # (((
2987 yes) AM_DEFAULT_VERBOSITY
=0;;
2988 no
) AM_DEFAULT_VERBOSITY
=1;;
2989 *) AM_DEFAULT_VERBOSITY
=1;;
2991 am_make
=${MAKE-make}
2992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2993 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2994 if ${am_cv_make_support_nested_variables+:} false
; then :
2995 $as_echo_n "(cached) " >&6
2997 if $as_echo 'TRUE=$(BAR$(V))
3003 .PHONY: am__doit' | $am_make -f - >/dev
/null
2>&1; then
3004 am_cv_make_support_nested_variables
=yes
3006 am_cv_make_support_nested_variables
=no
3009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3010 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3011 if test $am_cv_make_support_nested_variables = yes; then
3013 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
3015 AM_V
=$AM_DEFAULT_VERBOSITY
3016 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
3020 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3021 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3022 # is not polluted with repeated "-I."
3023 am__isrc
=' -I$(srcdir)'
3024 # test to see if srcdir already configured
3025 if test -f $srcdir/config.status
; then
3026 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3030 # test whether we have cygpath
3031 if test -z "$CYGPATH_W"; then
3032 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
3033 CYGPATH_W
='cygpath -w'
3040 # Define the identity of the package.
3045 cat >>confdefs.h
<<_ACEOF
3046 #define PACKAGE "$PACKAGE"
3050 cat >>confdefs.h
<<_ACEOF
3051 #define VERSION "$VERSION"
3054 # Some tools Automake needs.
3056 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3059 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3062 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3065 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
3068 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
3070 # For better backward compatibility. To be removed once Automake 1.9.x
3071 # dies out for good. For more background, see:
3072 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3073 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3074 mkdir_p
='$(MKDIR_P)'
3076 # We need awk for the "check" target. The system "awk" is bad on
3078 # Always define AMTAR for backward compatibility. Yes, it's still used
3079 # in the wild :-( We should find a proper way to deprecate it ...
3082 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
3090 ac_cpp
='$CXXCPP $CPPFLAGS'
3091 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3092 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3093 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
3094 if test -z "$CXX"; then
3095 if test -n "$CCC"; then
3098 if test -n "$ac_tool_prefix"; then
3099 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
3101 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3102 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3104 $as_echo_n "checking for $ac_word... " >&6; }
3105 if ${ac_cv_prog_CXX+:} false
; then :
3106 $as_echo_n "(cached) " >&6
3108 if test -n "$CXX"; then
3109 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
3111 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3115 test -z "$as_dir" && as_dir
=.
3116 for ac_exec_ext
in '' $ac_executable_extensions; do
3117 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3118 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
3119 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3129 if test -n "$CXX"; then
3130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
3131 $as_echo "$CXX" >&6; }
3133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3134 $as_echo "no" >&6; }
3138 test -n "$CXX" && break
3141 if test -z "$CXX"; then
3143 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
3145 # Extract the first word of "$ac_prog", so it can be a program name with args.
3146 set dummy
$ac_prog; ac_word
=$2
3147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3148 $as_echo_n "checking for $ac_word... " >&6; }
3149 if ${ac_cv_prog_ac_ct_CXX+:} false
; then :
3150 $as_echo_n "(cached) " >&6
3152 if test -n "$ac_ct_CXX"; then
3153 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
3155 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3159 test -z "$as_dir" && as_dir
=.
3160 for ac_exec_ext
in '' $ac_executable_extensions; do
3161 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3162 ac_cv_prog_ac_ct_CXX
="$ac_prog"
3163 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3172 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
3173 if test -n "$ac_ct_CXX"; then
3174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
3175 $as_echo "$ac_ct_CXX" >&6; }
3177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3178 $as_echo "no" >&6; }
3182 test -n "$ac_ct_CXX" && break
3185 if test "x$ac_ct_CXX" = x
; then
3188 case $cross_compiling:$ac_tool_warned in
3190 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3191 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3192 ac_tool_warned
=yes ;;
3200 # Provide some information about the compiler.
3201 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
3204 for ac_option
in --version -v -V -qversion; do
3205 { { ac_try
="$ac_compiler $ac_option >&5"
3207 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3208 *) ac_try_echo=$ac_try;;
3210 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3211 $as_echo "$ac_try_echo"; } >&5
3212 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3214 if test -s conftest.err; then
3216 ... rest of stderr output deleted ...
3217 10q' conftest.err >conftest.er1
3218 cat conftest.er1 >&5
3220 rm -f conftest.er1 conftest.err
3221 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3222 test $ac_status = 0; }
3225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3226 /* end confdefs.h. */
3236 ac_clean_files_save=$ac_clean_files
3237 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3238 # Try to create an executable without -o first, disregard a.out.
3239 # It will help us diagnose broken compilers, and finding out an intuition
3241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5
3242 $as_echo_n "checking whether the C++ compiler works... " >&6; }
3243 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3245 # The possible output files:
3246 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3249 for ac_file in $ac_files
3252 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3253 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3258 if { { ac_try="$ac_link_default"
3260 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
3261 *) ac_try_echo
=$ac_try;;
3263 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3264 $as_echo "$ac_try_echo"; } >&5
3265 (eval "$ac_link_default") 2>&5
3267 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3268 test $ac_status = 0; }; then :
3269 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3270 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3271 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3272 # so that the user can short-circuit this test for compilers unknown to
3274 for ac_file
in $ac_files ''
3276 test -f "$ac_file" || continue
3278 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.dSYM
| *.o
| *.obj
)
3281 # We found the default executable, but exeext='' is most
3285 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3287 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3289 # We set ac_cv_exeext here because the later test for it is not
3290 # safe: cross compilers may not add the suffix if given an `-o'
3291 # argument, so we may need to know it at that point already.
3292 # Even if this section looks crufty: it has the advantage of
3299 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3304 if test -z "$ac_file"; then :
3305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3306 $as_echo "no" >&6; }
3307 $as_echo "$as_me: failed program was:" >&5
3308 sed 's/^/| /' conftest.
$ac_ext >&5
3310 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3311 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3312 as_fn_error
77 "C++ compiler cannot create executables
3313 See \`config.log' for more details" "$LINENO" 5; }
3315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3316 $as_echo "yes" >&6; }
3318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5
3319 $as_echo_n "checking for C++ compiler default output file name... " >&6; }
3320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3321 $as_echo "$ac_file" >&6; }
3322 ac_exeext
=$ac_cv_exeext
3324 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3325 ac_clean_files
=$ac_clean_files_save
3326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3327 $as_echo_n "checking for suffix of executables... " >&6; }
3328 if { { ac_try
="$ac_link"
3330 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3331 *) ac_try_echo=$ac_try;;
3333 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3334 $as_echo "$ac_try_echo"; } >&5
3335 (eval "$ac_link") 2>&5
3337 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3338 test $ac_status = 0; }; then :
3339 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3340 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3341 # work properly (i.e., refer to `conftest.exe'), while it won't with
3343 for ac_file
in conftest.exe conftest conftest.
*; do
3344 test -f "$ac_file" || continue
3346 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.dSYM
| *.o
| *.obj
) ;;
3347 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3353 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3354 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3355 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3356 See \`config.log' for more details" "$LINENO" 5; }
3358 rm -f conftest conftest
$ac_cv_exeext
3359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3360 $as_echo "$ac_cv_exeext" >&6; }
3362 rm -f conftest.
$ac_ext
3363 EXEEXT
=$ac_cv_exeext
3365 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3366 /* end confdefs.h. */
3371 FILE *f = fopen ("conftest.out", "w");
3372 return ferror (f) || fclose (f) != 0;
3378 ac_clean_files
="$ac_clean_files conftest.out"
3379 # Check that the compiler produces executables we can run. If not, either
3380 # the compiler is broken, or we cross compile.
3381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3382 $as_echo_n "checking whether we are cross compiling... " >&6; }
3383 if test "$cross_compiling" != yes; then
3384 { { ac_try
="$ac_link"
3386 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3387 *) ac_try_echo=$ac_try;;
3389 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3390 $as_echo "$ac_try_echo"; } >&5
3391 (eval "$ac_link") 2>&5
3393 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3394 test $ac_status = 0; }
3395 if { ac_try='./conftest$ac_cv_exeext'
3396 { { case "(($ac_try" in
3397 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
3398 *) ac_try_echo
=$ac_try;;
3400 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3401 $as_echo "$ac_try_echo"; } >&5
3402 (eval "$ac_try") 2>&5
3404 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3405 test $ac_status = 0; }; }; then
3408 if test "$cross_compiling" = maybe
; then
3411 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3412 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3413 as_fn_error $?
"cannot run C++ compiled programs.
3414 If you meant to cross compile, use \`--host'.
3415 See \`config.log' for more details" "$LINENO" 5; }
3419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3420 $as_echo "$cross_compiling" >&6; }
3422 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3423 ac_clean_files
=$ac_clean_files_save
3424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3425 $as_echo_n "checking for suffix of object files... " >&6; }
3426 if ${ac_cv_objext+:} false
; then :
3427 $as_echo_n "(cached) " >&6
3429 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3430 /* end confdefs.h. */
3440 rm -f conftest.o conftest.obj
3441 if { { ac_try
="$ac_compile"
3443 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3444 *) ac_try_echo=$ac_try;;
3446 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3447 $as_echo "$ac_try_echo"; } >&5
3448 (eval "$ac_compile") 2>&5
3450 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3451 test $ac_status = 0; }; then :
3452 for ac_file in conftest.o conftest.obj conftest.*; do
3453 test -f "$ac_file" || continue;
3455 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3456 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3461 $as_echo "$as_me: failed program was:" >&5
3462 sed 's/^/| /' conftest.$ac_ext >&5
3464 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3465 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3466 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3467 See \
`config.log' for more details" "$LINENO" 5; }
3469 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3472 $as_echo "$ac_cv_objext" >&6; }
3473 OBJEXT=$ac_cv_objext
3475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
3476 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3477 if ${ac_cv_cxx_compiler_gnu+:} false; then :
3478 $as_echo_n "(cached) " >&6
3480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3481 /* end confdefs.h. */
3494 if ac_fn_cxx_try_compile "$LINENO"; then :
3499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3500 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
3504 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3505 if test $ac_compiler_gnu = yes; then
3510 ac_test_CXXFLAGS=${CXXFLAGS+set}
3511 ac_save_CXXFLAGS=$CXXFLAGS
3512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
3513 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
3514 if ${ac_cv_prog_cxx_g+:} false; then :
3515 $as_echo_n "(cached) " >&6
3517 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3518 ac_cxx_werror_flag=yes
3521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3522 /* end confdefs.h. */
3532 if ac_fn_cxx_try_compile "$LINENO"; then :
3533 ac_cv_prog_cxx_g=yes
3536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3537 /* end confdefs.h. */
3547 if ac_fn_cxx_try_compile "$LINENO"; then :
3550 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3553 /* end confdefs.h. */
3563 if ac_fn_cxx_try_compile "$LINENO"; then :
3564 ac_cv_prog_cxx_g=yes
3566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3571 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
3574 $as_echo "$ac_cv_prog_cxx_g" >&6; }
3575 if test "$ac_test_CXXFLAGS" = set; then
3576 CXXFLAGS=$ac_save_CXXFLAGS
3577 elif test $ac_cv_prog_cxx_g = yes; then
3578 if test "$GXX" = yes; then
3584 if test "$GXX" = yes; then
3591 ac_cpp='$CPP $CPPFLAGS'
3592 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3593 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3594 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3595 DEPDIR="${am__leading_dot}deps"
3597 ac_config_commands="$ac_config_commands depfiles"
3600 am_make=${MAKE-make}
3601 cat > confinc << 'END'
3603 @echo this is the am__doit target
3606 # If we don't find an include directive, just comment out the code.
3607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3608 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3612 # First try GNU make style include.
3613 echo "include confinc" > confmf
3614 # Ignore all kinds of additional output from 'make'.
3615 case `$am_make -s -f confmf
2> /dev
/null
` in #(
3616 *the\ am__doit\ target*)
3622 # Now try BSD make style include.
3623 if test "$am__include" = "#"; then
3624 echo '.include "confinc"' > confmf
3625 case `$am_make -s -f confmf
2> /dev
/null
` in #(
3626 *the\ am__doit\ target*)
3627 am__include=.include
3635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3636 $as_echo "$_am_result" >&6; }
3637 rm -f confinc confmf
3639 # Check whether --enable-dependency-tracking was given.
3640 if test "${enable_dependency_tracking+set}" = set; then :
3641 enableval=$enable_dependency_tracking;
3644 if test "x$enable_dependency_tracking" != xno; then
3645 am_depcomp="$ac_aux_dir/depcomp"
3649 if test "x$enable_dependency_tracking" != xno; then
3659 depcc="$CXX" am_compiler_list=
3661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3662 $as_echo_n "checking dependency style of $depcc... " >&6; }
3663 if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
3664 $as_echo_n "(cached) " >&6
3666 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3667 # We make a subdir and do the tests there. Otherwise we can end up
3668 # making bogus files that we don't know about and never remove. For
3669 # instance it was reported that on HP-UX the gcc test will end up
3670 # making a dummy file named 'D' -- because '-MD' means "put the output
3674 # Copy depcomp to subdir because otherwise we won't find it if we're
3675 # using a relative directory.
3676 cp "$am_depcomp" conftest.dir
3678 # We will build objects and dependencies in a subdirectory because
3679 # it helps to detect inapplicable dependency modes. For instance
3680 # both Tru64's cc and ICC support -MD to output dependencies as a
3681 # side effect of compilation, but ICC will put the dependencies in
3682 # the current directory while Tru64 will put them in the object
3686 am_cv_CXX_dependencies_compiler_type=none
3687 if test "$am_compiler_list" = ""; then
3688 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
3691 case " $depcc " in #(
3692 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3695 for depmode in $am_compiler_list; do
3696 # Setup a source with many dependencies, because some compilers
3697 # like to wrap large dependency lists on column 80 (with \), and
3698 # we should not choose a depcomp mode which is confused by this.
3700 # We need to recreate these files for each test, as the compiler may
3701 # overwrite some of them when testing with obscure command lines.
3702 # This happens at least with the AIX C compiler.
3704 for i in 1 2 3 4 5 6; do
3705 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3706 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3707 # Solaris 10 /bin/sh.
3708 echo '/* dummy */' > sub/conftst$i.h
3710 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3712 # We check with '-c' and '-o' for the sake of the "dashmstdout"
3713 # mode. It turns out that the SunPro C++ compiler does not properly
3714 # handle '-M -o', and we need to detect this. Also, some Intel
3715 # versions had trouble with output in subdirs.
3716 am__obj=sub/conftest.${OBJEXT-o}
3717 am__minus_obj="-o $am__obj"
3720 # This depmode causes a compiler race in universal mode.
3721 test "$am__universal" = false || continue
3724 # After this tag, mechanisms are not by side-effect, so they'll
3725 # only be used when explicitly requested.
3726 if test "x$enable_dependency_tracking" = xyes; then
3732 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3733 # This compiler won't grok '-c -o', but also, the minuso test has
3734 # not run yet. These depmodes are late enough in the game, and
3735 # so weak that their functioning should not be impacted.
3736 am__obj=conftest.${OBJEXT-o}
3741 if depmode=$depmode \
3742 source=sub/conftest.c object=$am__obj \
3743 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3744 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3745 >/dev/null 2>conftest.err &&
3746 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3747 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3748 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3749 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3750 # icc doesn't choke on unknown options, it will just issue warnings
3751 # or remarks (even with -Werror). So we grep stderr for any message
3752 # that says an option was ignored or not supported.
3753 # When given -MP, icc 7.0 and 7.1 complain thusly:
3754 # icc: Command line warning: ignoring option '-M'; no argument required
3755 # The diagnosis changed in icc 8.0:
3756 # icc: Command line remark: option '-MP' not supported
3757 if (grep 'ignoring option' conftest.err ||
3758 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3759 am_cv_CXX_dependencies_compiler_type=$depmode
3768 am_cv_CXX_dependencies_compiler_type=none
3772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
3773 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
3774 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
3777 test "x$enable_dependency_tracking" != xno \
3778 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
3779 am__fastdepCXX_TRUE=
3780 am__fastdepCXX_FALSE='#'
3782 am__fastdepCXX_TRUE='#'
3783 am__fastdepCXX_FALSE=
3788 ac_cpp='$OBJCXXCPP $CPPFLAGS'
3789 ac_compile='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3790 ac_link='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3791 ac_compiler_gnu=$ac_cv_objcxx_compiler_gnu
3792 if test -n "$ac_tool_prefix"; then
3793 for ac_prog in g++ objc++ objcxx c++ CXX
3795 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3796 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3798 $as_echo_n "checking for $ac_word... " >&6; }
3799 if ${ac_cv_prog_OBJCXX+:} false; then :
3800 $as_echo_n "(cached) " >&6
3802 if test -n "$OBJCXX"; then
3803 ac_cv_prog_OBJCXX="$OBJCXX" # Let the user override the test.
3805 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3809 test -z "$as_dir" && as_dir=.
3810 for ac_exec_ext in '' $ac_executable_extensions; do
3811 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3812 ac_cv_prog_OBJCXX="$ac_tool_prefix$ac_prog"
3813 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3822 OBJCXX=$ac_cv_prog_OBJCXX
3823 if test -n "$OBJCXX"; then
3824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCXX" >&5
3825 $as_echo "$OBJCXX" >&6; }
3827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3828 $as_echo "no" >&6; }
3832 test -n "$OBJCXX" && break
3835 if test -z "$OBJCXX"; then
3836 ac_ct_OBJCXX=$OBJCXX
3837 for ac_prog in g++ objc++ objcxx c++ CXX
3839 # Extract the first word of "$ac_prog", so it can be a program name with args.
3840 set dummy $ac_prog; ac_word=$2
3841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3842 $as_echo_n "checking for $ac_word... " >&6; }
3843 if ${ac_cv_prog_ac_ct_OBJCXX+:} false; then :
3844 $as_echo_n "(cached) " >&6
3846 if test -n "$ac_ct_OBJCXX"; then
3847 ac_cv_prog_ac_ct_OBJCXX="$ac_ct_OBJCXX" # Let the user override the test.
3849 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3853 test -z "$as_dir" && as_dir=.
3854 for ac_exec_ext in '' $ac_executable_extensions; do
3855 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3856 ac_cv_prog_ac_ct_OBJCXX="$ac_prog"
3857 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3866 ac_ct_OBJCXX=$ac_cv_prog_ac_ct_OBJCXX
3867 if test -n "$ac_ct_OBJCXX"; then
3868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJCXX" >&5
3869 $as_echo "$ac_ct_OBJCXX" >&6; }
3871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3872 $as_echo "no" >&6; }
3876 test -n "$ac_ct_OBJCXX" && break
3879 if test "x$ac_ct_OBJCXX" = x; then
3882 case $cross_compiling:$ac_tool_warned in
3884 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3885 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3886 ac_tool_warned=yes ;;
3888 OBJCXX=$ac_ct_OBJCXX
3892 # Provide some information about the compiler.
3893 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Objective C++ compiler version" >&5
3896 for ac_option in --version -v -V -qversion; do
3897 { { ac_try="$ac_compiler $ac_option >&5"
3899 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
3900 *) ac_try_echo
=$ac_try;;
3902 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3903 $as_echo "$ac_try_echo"; } >&5
3904 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3906 if test -s conftest.err
; then
3908 ... rest of stderr output deleted ...
3909 10q' conftest.err
>conftest.er1
3910 cat conftest.er1
>&5
3912 rm -f conftest.er1 conftest.err
3913 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3914 test $ac_status = 0; }
3917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Objective C++ compiler" >&5
3918 $as_echo_n "checking whether we are using the GNU Objective C++ compiler... " >&6; }
3919 if ${ac_cv_objcxx_compiler_gnu+:} false
; then :
3920 $as_echo_n "(cached) " >&6
3922 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3923 /* end confdefs.h. */
3936 if ac_fn_objcxx_try_compile
"$LINENO"; then :
3941 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3942 ac_cv_objcxx_compiler_gnu
=$ac_compiler_gnu
3945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objcxx_compiler_gnu" >&5
3946 $as_echo "$ac_cv_objcxx_compiler_gnu" >&6; }
3947 if test $ac_compiler_gnu = yes; then
3952 ac_test_OBJCXXFLAGS
=${OBJCXXFLAGS+set}
3953 ac_save_OBJCXXFLAGS
=$OBJCXXFLAGS
3954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $OBJCXX accepts -g" >&5
3955 $as_echo_n "checking whether $OBJCXX accepts -g... " >&6; }
3956 if ${ac_cv_prog_objcxx_g+:} false
; then :
3957 $as_echo_n "(cached) " >&6
3959 ac_save_objcxx_werror_flag
=$ac_objcxx_werror_flag
3960 ac_objcxx_werror_flag
=yes
3961 ac_cv_prog_objcxx_g
=no
3963 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3964 /* end confdefs.h. */
3974 if ac_fn_objcxx_try_compile
"$LINENO"; then :
3975 ac_cv_prog_objcxx_g
=yes
3978 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3979 /* end confdefs.h. */
3989 if ac_fn_objcxx_try_compile
"$LINENO"; then :
3992 ac_objcxx_werror_flag
=$ac_save_objcxx_werror_flag
3994 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3995 /* end confdefs.h. */
4005 if ac_fn_objcxx_try_compile
"$LINENO"; then :
4006 ac_cv_prog_objcxx_g
=yes
4008 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4010 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4012 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4013 ac_objcxx_werror_flag
=$ac_save_objcx_werror_flag
4015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objcxx_g" >&5
4016 $as_echo "$ac_cv_prog_objcxx_g" >&6; }
4017 if test "$ac_test_OBJCXXFLAGS" = set; then
4018 OBJCXXFLAGS
=$ac_save_OBJCXXFLAGS
4019 elif test $ac_cv_prog_objcxx_g = yes; then
4020 if test "$GOBJCXX" = yes; then
4021 OBJCXXFLAGS
="-g -O2"
4026 if test "$GOBJCXX" = yes; then
4033 ac_cpp
='$CPP $CPPFLAGS'
4034 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4035 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4036 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4038 depcc
="$OBJCXX" am_compiler_list
='gcc3 gcc'
4040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4041 $as_echo_n "checking dependency style of $depcc... " >&6; }
4042 if ${am_cv_OBJCXX_dependencies_compiler_type+:} false
; then :
4043 $as_echo_n "(cached) " >&6
4045 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4046 # We make a subdir and do the tests there. Otherwise we can end up
4047 # making bogus files that we don't know about and never remove. For
4048 # instance it was reported that on HP-UX the gcc test will end up
4049 # making a dummy file named 'D' -- because '-MD' means "put the output
4053 # Copy depcomp to subdir because otherwise we won't find it if we're
4054 # using a relative directory.
4055 cp "$am_depcomp" conftest.dir
4057 # We will build objects and dependencies in a subdirectory because
4058 # it helps to detect inapplicable dependency modes. For instance
4059 # both Tru64's cc and ICC support -MD to output dependencies as a
4060 # side effect of compilation, but ICC will put the dependencies in
4061 # the current directory while Tru64 will put them in the object
4065 am_cv_OBJCXX_dependencies_compiler_type
=none
4066 if test "$am_compiler_list" = ""; then
4067 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4072 for depmode
in $am_compiler_list; do
4073 # Setup a source with many dependencies, because some compilers
4074 # like to wrap large dependency lists on column 80 (with \), and
4075 # we should not choose a depcomp mode which is confused by this.
4077 # We need to recreate these files for each test, as the compiler may
4078 # overwrite some of them when testing with obscure command lines.
4079 # This happens at least with the AIX C compiler.
4081 for i
in 1 2 3 4 5 6; do
4082 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4083 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4084 # Solaris 10 /bin/sh.
4085 echo '/* dummy */' > sub
/conftst
$i.h
4087 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4089 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4090 # mode. It turns out that the SunPro C++ compiler does not properly
4091 # handle '-M -o', and we need to detect this. Also, some Intel
4092 # versions had trouble with output in subdirs.
4093 am__obj
=sub
/conftest.
${OBJEXT-o}
4094 am__minus_obj
="-o $am__obj"
4097 # This depmode causes a compiler race in universal mode.
4098 test "$am__universal" = false
|| continue
4101 # After this tag, mechanisms are not by side-effect, so they'll
4102 # only be used when explicitly requested.
4103 if test "x$enable_dependency_tracking" = xyes
; then
4109 msvc7
| msvc7msys
| msvisualcpp
| msvcmsys
)
4110 # This compiler won't grok '-c -o', but also, the minuso test has
4111 # not run yet. These depmodes are late enough in the game, and
4112 # so weak that their functioning should not be impacted.
4113 am__obj
=conftest.
${OBJEXT-o}
4118 if depmode
=$depmode \
4119 source=sub
/conftest.c object
=$am__obj \
4120 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4121 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4122 >/dev
/null
2>conftest.err
&&
4123 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4124 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4125 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4126 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4127 # icc doesn't choke on unknown options, it will just issue warnings
4128 # or remarks (even with -Werror). So we grep stderr for any message
4129 # that says an option was ignored or not supported.
4130 # When given -MP, icc 7.0 and 7.1 complain thusly:
4131 # icc: Command line warning: ignoring option '-M'; no argument required
4132 # The diagnosis changed in icc 8.0:
4133 # icc: Command line remark: option '-MP' not supported
4134 if (grep 'ignoring option' conftest.err
||
4135 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4136 am_cv_OBJCXX_dependencies_compiler_type
=$depmode
4145 am_cv_OBJCXX_dependencies_compiler_type
=none
4149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_OBJCXX_dependencies_compiler_type" >&5
4150 $as_echo "$am_cv_OBJCXX_dependencies_compiler_type" >&6; }
4151 OBJCXXDEPMODE
=depmode
=$am_cv_OBJCXX_dependencies_compiler_type
4154 test "x$enable_dependency_tracking" != xno \
4155 && test "$am_cv_OBJCXX_dependencies_compiler_type" = gcc3
; then
4156 am__fastdepOBJCXX_TRUE
=
4157 am__fastdepOBJCXX_FALSE
='#'
4159 am__fastdepOBJCXX_TRUE
='#'
4160 am__fastdepOBJCXX_FALSE
=
4165 ac_cpp
='$CPP $CPPFLAGS'
4166 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4167 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4168 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4169 if test -n "$ac_tool_prefix"; then
4170 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4171 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
4172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4173 $as_echo_n "checking for $ac_word... " >&6; }
4174 if ${ac_cv_prog_CC+:} false
; then :
4175 $as_echo_n "(cached) " >&6
4177 if test -n "$CC"; then
4178 ac_cv_prog_CC
="$CC" # Let the user override the test.
4180 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4184 test -z "$as_dir" && as_dir
=.
4185 for ac_exec_ext
in '' $ac_executable_extensions; do
4186 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4187 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
4188 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4198 if test -n "$CC"; then
4199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4200 $as_echo "$CC" >&6; }
4202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4203 $as_echo "no" >&6; }
4208 if test -z "$ac_cv_prog_CC"; then
4210 # Extract the first word of "gcc", so it can be a program name with args.
4211 set dummy gcc
; ac_word
=$2
4212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4213 $as_echo_n "checking for $ac_word... " >&6; }
4214 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
4215 $as_echo_n "(cached) " >&6
4217 if test -n "$ac_ct_CC"; then
4218 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4220 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4224 test -z "$as_dir" && as_dir
=.
4225 for ac_exec_ext
in '' $ac_executable_extensions; do
4226 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4227 ac_cv_prog_ac_ct_CC
="gcc"
4228 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4237 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4238 if test -n "$ac_ct_CC"; then
4239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4240 $as_echo "$ac_ct_CC" >&6; }
4242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4243 $as_echo "no" >&6; }
4246 if test "x$ac_ct_CC" = x
; then
4249 case $cross_compiling:$ac_tool_warned in
4251 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4252 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4253 ac_tool_warned
=yes ;;
4261 if test -z "$CC"; then
4262 if test -n "$ac_tool_prefix"; then
4263 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4264 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
4265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4266 $as_echo_n "checking for $ac_word... " >&6; }
4267 if ${ac_cv_prog_CC+:} false
; then :
4268 $as_echo_n "(cached) " >&6
4270 if test -n "$CC"; then
4271 ac_cv_prog_CC
="$CC" # Let the user override the test.
4273 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4277 test -z "$as_dir" && as_dir
=.
4278 for ac_exec_ext
in '' $ac_executable_extensions; do
4279 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4280 ac_cv_prog_CC
="${ac_tool_prefix}cc"
4281 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4291 if test -n "$CC"; then
4292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4293 $as_echo "$CC" >&6; }
4295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4296 $as_echo "no" >&6; }
4302 if test -z "$CC"; then
4303 # Extract the first word of "cc", so it can be a program name with args.
4304 set dummy cc
; ac_word
=$2
4305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4306 $as_echo_n "checking for $ac_word... " >&6; }
4307 if ${ac_cv_prog_CC+:} false
; then :
4308 $as_echo_n "(cached) " >&6
4310 if test -n "$CC"; then
4311 ac_cv_prog_CC
="$CC" # Let the user override the test.
4314 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4318 test -z "$as_dir" && as_dir
=.
4319 for ac_exec_ext
in '' $ac_executable_extensions; do
4320 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4321 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4322 ac_prog_rejected
=yes
4326 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4333 if test $ac_prog_rejected = yes; then
4334 # We found a bogon in the path, so make sure we never use it.
4335 set dummy
$ac_cv_prog_CC
4337 if test $# != 0; then
4338 # We chose a different compiler from the bogus one.
4339 # However, it has the same basename, so the bogon will be chosen
4340 # first if we set CC to just the basename; use the full file name.
4342 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
4348 if test -n "$CC"; then
4349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4350 $as_echo "$CC" >&6; }
4352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4353 $as_echo "no" >&6; }
4358 if test -z "$CC"; then
4359 if test -n "$ac_tool_prefix"; then
4360 for ac_prog
in cl.exe
4362 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4363 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4365 $as_echo_n "checking for $ac_word... " >&6; }
4366 if ${ac_cv_prog_CC+:} false
; then :
4367 $as_echo_n "(cached) " >&6
4369 if test -n "$CC"; then
4370 ac_cv_prog_CC
="$CC" # Let the user override the test.
4372 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4376 test -z "$as_dir" && as_dir
=.
4377 for ac_exec_ext
in '' $ac_executable_extensions; do
4378 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4379 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4380 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4390 if test -n "$CC"; then
4391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4392 $as_echo "$CC" >&6; }
4394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4395 $as_echo "no" >&6; }
4399 test -n "$CC" && break
4402 if test -z "$CC"; then
4404 for ac_prog
in cl.exe
4406 # Extract the first word of "$ac_prog", so it can be a program name with args.
4407 set dummy
$ac_prog; ac_word
=$2
4408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4409 $as_echo_n "checking for $ac_word... " >&6; }
4410 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
4411 $as_echo_n "(cached) " >&6
4413 if test -n "$ac_ct_CC"; then
4414 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4416 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4420 test -z "$as_dir" && as_dir
=.
4421 for ac_exec_ext
in '' $ac_executable_extensions; do
4422 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4423 ac_cv_prog_ac_ct_CC
="$ac_prog"
4424 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4433 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4434 if test -n "$ac_ct_CC"; then
4435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4436 $as_echo "$ac_ct_CC" >&6; }
4438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4439 $as_echo "no" >&6; }
4443 test -n "$ac_ct_CC" && break
4446 if test "x$ac_ct_CC" = x
; then
4449 case $cross_compiling:$ac_tool_warned in
4451 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4452 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4453 ac_tool_warned
=yes ;;
4462 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4463 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4464 as_fn_error $?
"no acceptable C compiler found in \$PATH
4465 See \`config.log' for more details" "$LINENO" 5; }
4467 # Provide some information about the compiler.
4468 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4471 for ac_option
in --version -v -V -qversion; do
4472 { { ac_try
="$ac_compiler $ac_option >&5"
4474 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
4475 *) ac_try_echo=$ac_try;;
4477 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4478 $as_echo "$ac_try_echo"; } >&5
4479 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4481 if test -s conftest.err; then
4483 ... rest of stderr output deleted ...
4484 10q' conftest.err >conftest.er1
4485 cat conftest.er1 >&5
4487 rm -f conftest.er1 conftest.err
4488 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4489 test $ac_status = 0; }
4492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4493 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4494 if ${ac_cv_c_compiler_gnu+:} false; then :
4495 $as_echo_n "(cached) " >&6
4497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4498 /* end confdefs.h. */
4511 if ac_fn_c_try_compile "$LINENO"; then :
4516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4517 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4521 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4522 if test $ac_compiler_gnu = yes; then
4527 ac_test_CFLAGS=${CFLAGS+set}
4528 ac_save_CFLAGS=$CFLAGS
4529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4530 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4531 if ${ac_cv_prog_cc_g+:} false; then :
4532 $as_echo_n "(cached) " >&6
4534 ac_save_c_werror_flag=$ac_c_werror_flag
4535 ac_c_werror_flag=yes
4538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4539 /* end confdefs.h. */
4549 if ac_fn_c_try_compile "$LINENO"; then :
4553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4554 /* end confdefs.h. */
4564 if ac_fn_c_try_compile "$LINENO"; then :
4567 ac_c_werror_flag=$ac_save_c_werror_flag
4569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4570 /* end confdefs.h. */
4580 if ac_fn_c_try_compile "$LINENO"; then :
4583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4588 ac_c_werror_flag=$ac_save_c_werror_flag
4590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4591 $as_echo "$ac_cv_prog_cc_g" >&6; }
4592 if test "$ac_test_CFLAGS" = set; then
4593 CFLAGS=$ac_save_CFLAGS
4594 elif test $ac_cv_prog_cc_g = yes; then
4595 if test "$GCC" = yes; then
4601 if test "$GCC" = yes; then
4607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4608 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4609 if ${ac_cv_prog_cc_c89+:} false; then :
4610 $as_echo_n "(cached) " >&6
4612 ac_cv_prog_cc_c89=no
4614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4615 /* end confdefs.h. */
4619 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4620 struct buf { int x; };
4621 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4622 static char *e (p, i)
4628 static char *f (char * (*g) (char **, int), char **p, ...)
4633 s = g (p, va_arg (v,int));
4638 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4639 function prototypes and stuff, but not '\xHH' hex character constants.
4640 These don't provoke an error unfortunately, instead are silently treated
4641 as 'x'. The following induces an error, until -std is added to get
4642 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4643 array size at least. It's necessary to write '\x00'==0 to get something
4644 that's true only with -std. */
4645 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4647 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4648 inside strings and character constants. */
4650 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4652 int test (int i, double x);
4653 struct s1 {int (*f) (int a);};
4654 struct s2 {int (*f) (double a);};
4655 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4661 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4666 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4667 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4669 CC="$ac_save_CC $ac_arg"
4670 if ac_fn_c_try_compile "$LINENO"; then :
4671 ac_cv_prog_cc_c89=$ac_arg
4673 rm -f core conftest.err conftest.$ac_objext
4674 test "x$ac_cv_prog_cc_c89" != "xno" && break
4676 rm -f conftest.$ac_ext
4681 case "x$ac_cv_prog_cc_c89" in
4683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4684 $as_echo "none needed" >&6; } ;;
4686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4687 $as_echo "unsupported" >&6; } ;;
4689 CC="$CC $ac_cv_prog_cc_c89"
4690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4691 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4693 if test "x$ac_cv_prog_cc_c89" != xno; then :
4698 ac_cpp='$CPP $CPPFLAGS'
4699 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4700 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4701 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4703 depcc="$CC" am_compiler_list=
4705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4706 $as_echo_n "checking dependency style of $depcc... " >&6; }
4707 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4708 $as_echo_n "(cached) " >&6
4710 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4711 # We make a subdir and do the tests there. Otherwise we can end up
4712 # making bogus files that we don't know about and never remove. For
4713 # instance it was reported that on HP-UX the gcc test will end up
4714 # making a dummy file named 'D' -- because '-MD' means "put the output
4718 # Copy depcomp to subdir because otherwise we won't find it if we're
4719 # using a relative directory.
4720 cp "$am_depcomp" conftest.dir
4722 # We will build objects and dependencies in a subdirectory because
4723 # it helps to detect inapplicable dependency modes. For instance
4724 # both Tru64's cc and ICC support -MD to output dependencies as a
4725 # side effect of compilation, but ICC will put the dependencies in
4726 # the current directory while Tru64 will put them in the object
4730 am_cv_CC_dependencies_compiler_type=none
4731 if test "$am_compiler_list" = ""; then
4732 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
4735 case " $depcc " in #(
4736 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4739 for depmode in $am_compiler_list; do
4740 # Setup a source with many dependencies, because some compilers
4741 # like to wrap large dependency lists on column 80 (with \), and
4742 # we should not choose a depcomp mode which is confused by this.
4744 # We need to recreate these files for each test, as the compiler may
4745 # overwrite some of them when testing with obscure command lines.
4746 # This happens at least with the AIX C compiler.
4748 for i in 1 2 3 4 5 6; do
4749 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4750 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4751 # Solaris 10 /bin/sh.
4752 echo '/* dummy */' > sub/conftst$i.h
4754 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4756 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4757 # mode. It turns out that the SunPro C++ compiler does not properly
4758 # handle '-M -o', and we need to detect this. Also, some Intel
4759 # versions had trouble with output in subdirs.
4760 am__obj=sub/conftest.${OBJEXT-o}
4761 am__minus_obj="-o $am__obj"
4764 # This depmode causes a compiler race in universal mode.
4765 test "$am__universal" = false || continue
4768 # After this tag, mechanisms are not by side-effect, so they'll
4769 # only be used when explicitly requested.
4770 if test "x$enable_dependency_tracking" = xyes; then
4776 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4777 # This compiler won't grok '-c -o', but also, the minuso test has
4778 # not run yet. These depmodes are late enough in the game, and
4779 # so weak that their functioning should not be impacted.
4780 am__obj=conftest.${OBJEXT-o}
4785 if depmode=$depmode \
4786 source=sub/conftest.c object=$am__obj \
4787 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4788 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4789 >/dev/null 2>conftest.err &&
4790 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4791 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4792 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4793 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4794 # icc doesn't choke on unknown options, it will just issue warnings
4795 # or remarks (even with -Werror). So we grep stderr for any message
4796 # that says an option was ignored or not supported.
4797 # When given -MP, icc 7.0 and 7.1 complain thusly:
4798 # icc: Command line warning: ignoring option '-M'; no argument required
4799 # The diagnosis changed in icc 8.0:
4800 # icc: Command line remark: option '-MP' not supported
4801 if (grep 'ignoring option' conftest.err ||
4802 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4803 am_cv_CC_dependencies_compiler_type=$depmode
4812 am_cv_CC_dependencies_compiler_type=none
4816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4817 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4818 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4821 test "x$enable_dependency_tracking" != xno \
4822 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4824 am__fastdepCC_FALSE='#'
4826 am__fastdepCC_TRUE='#'
4827 am__fastdepCC_FALSE=
4832 if test -n "$ac_tool_prefix"; then
4833 for ac_prog in ar lib "link -lib"
4835 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4836 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4838 $as_echo_n "checking for $ac_word... " >&6; }
4839 if ${ac_cv_prog_AR+:} false; then :
4840 $as_echo_n "(cached) " >&6
4842 if test -n "$AR"; then
4843 ac_cv_prog_AR="$AR" # Let the user override the test.
4845 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4849 test -z "$as_dir" && as_dir=.
4850 for ac_exec_ext in '' $ac_executable_extensions; do
4851 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4852 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
4853 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4863 if test -n "$AR"; then
4864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
4865 $as_echo "$AR" >&6; }
4867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4868 $as_echo "no" >&6; }
4872 test -n "$AR" && break
4875 if test -z "$AR"; then
4877 for ac_prog in ar lib "link -lib"
4879 # Extract the first word of "$ac_prog", so it can be a program name with args.
4880 set dummy $ac_prog; ac_word=$2
4881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4882 $as_echo_n "checking for $ac_word... " >&6; }
4883 if ${ac_cv_prog_ac_ct_AR+:} false; then :
4884 $as_echo_n "(cached) " >&6
4886 if test -n "$ac_ct_AR"; then
4887 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
4889 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4893 test -z "$as_dir" && as_dir=.
4894 for ac_exec_ext in '' $ac_executable_extensions; do
4895 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4896 ac_cv_prog_ac_ct_AR="$ac_prog"
4897 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4906 ac_ct_AR=$ac_cv_prog_ac_ct_AR
4907 if test -n "$ac_ct_AR"; then
4908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
4909 $as_echo "$ac_ct_AR" >&6; }
4911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4912 $as_echo "no" >&6; }
4916 test -n "$ac_ct_AR" && break
4919 if test "x$ac_ct_AR" = x; then
4922 case $cross_compiling:$ac_tool_warned in
4924 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4925 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4926 ac_tool_warned=yes ;;
4934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the archiver ($AR) interface" >&5
4935 $as_echo_n "checking the archiver ($AR) interface... " >&6; }
4936 if ${am_cv_ar_interface+:} false; then :
4937 $as_echo_n "(cached) " >&6
4939 am_cv_ar_interface=ar
4940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4941 /* end confdefs.h. */
4942 int some_variable = 0;
4944 if ac_fn_c_try_compile "$LINENO"; then :
4945 am_ar_try='$AR cru libconftest.a conftest.$ac_objext >&5'
4946 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
4947 (eval $am_ar_try) 2>&5
4949 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4950 test $ac_status = 0; }
4951 if test "$ac_status" -eq 0; then
4952 am_cv_ar_interface=ar
4954 am_ar_try='$AR -NOLOGO -OUT:conftest.lib conftest.$ac_objext >&5'
4955 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
4956 (eval $am_ar_try) 2>&5
4958 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4959 test $ac_status = 0; }
4960 if test "$ac_status" -eq 0; then
4961 am_cv_ar_interface=lib
4963 am_cv_ar_interface=unknown
4966 rm -f conftest.lib libconftest.a
4969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_ar_interface" >&5
4973 $as_echo "$am_cv_ar_interface" >&6; }
4975 case $am_cv_ar_interface in
4979 # Microsoft lib, so override with the ar-lib wrapper script.
4980 # FIXME: It is wrong to rewrite AR.
4981 # But if we don't then we get into trouble of one sort or another.
4982 # A longer-term fix would be to have automake use am__AR in this case,
4983 # and then we could set am__AR="$am_aux_dir/ar-lib \$(AR)" or something
4985 AR="$am_aux_dir/ar-lib $AR"
4988 as_fn_error $? "could not determine $AR interface" "$LINENO" 5
4996 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&5
4997 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&2;} ;;
5002 macro_version='2.4.2'
5003 macro_revision='1.3337'
5017 ltmain="$ac_aux_dir/ltmain.sh"
5019 # Make sure we can run config.sub.
5020 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
5021 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
5023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
5024 $as_echo_n "checking build system type... " >&6; }
5025 if ${ac_cv_build+:} false; then :
5026 $as_echo_n "(cached) " >&6
5028 ac_build_alias=$build_alias
5029 test "x$ac_build_alias" = x &&
5030 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
5031 test "x$ac_build_alias" = x &&
5032 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
5033 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
5034 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
5037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
5038 $as_echo "$ac_cv_build" >&6; }
5039 case $ac_cv_build in
5041 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
5044 ac_save_IFS=$IFS; IFS='-'
5050 # Remember, the first character of IFS is used to create $*,
5051 # except with old shells:
5054 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
5057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
5058 $as_echo_n "checking host system type... " >&6; }
5059 if ${ac_cv_host+:} false; then :
5060 $as_echo_n "(cached) " >&6
5062 if test "x$host_alias" = x; then
5063 ac_cv_host=$ac_cv_build
5065 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
5066 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
5070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
5071 $as_echo "$ac_cv_host" >&6; }
5074 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
5077 ac_save_IFS=$IFS; IFS='-'
5083 # Remember, the first character of IFS is used to create $*,
5084 # except with old shells:
5087 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
5090 # Backslashify metacharacters that are still active within
5091 # double-quoted strings.
5092 sed_quote_subst='s/\(["`$
\\]\
)/\\\
1/g
'
5094 # Same as above, but do not quote variable references.
5095 double_quote_subst='s
/\
(["`\\]\)/\\\1/g'
5097 # Sed substitution to delay expansion of an escaped shell variable in a
5098 # double_quote_subst'ed string.
5099 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5101 # Sed substitution to delay expansion of an escaped single quote.
5102 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5104 # Sed substitution to avoid accidental globbing in evaled expressions
5105 no_glob_subst='s/\*/\\\*/g'
5107 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5108 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5109 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print
strings" >&5
5112 $as_echo_n "checking how to print
strings...
" >&6; }
5113 # Test print first, because it will be a builtin if present.
5114 if test "X
`( print -r -- -n ) 2>/dev/null`" = X-n && \
5115 test "X
`print -r -- $ECHO 2>/dev/null`" = "X
$ECHO"; then
5117 elif test "X
`printf %s $ECHO 2>/dev/null`" = "X
$ECHO"; then
5120 # Use this function as a fallback that always works.
5121 func_fallback_echo ()
5123 eval 'cat <<_LTECHO_EOF
5127 ECHO='func_fallback_echo'
5130 # func_echo_all arg...
5131 # Invoke $ECHO with all args, space-separated.
5138 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: printf" >&5
5139 $as_echo "printf" >&6; } ;;
5140 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: print
-r" >&5
5141 $as_echo "print
-r" >&6; } ;;
5142 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: cat" >&5
5143 $as_echo "cat" >&6; } ;;
5159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for a
sed that does not truncate output
" >&5
5160 $as_echo_n "checking
for a
sed that does not truncate output...
" >&6; }
5161 if ${ac_cv_path_SED+:} false; then :
5162 $as_echo_n "(cached
) " >&6
5164 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5165 for ac_i in 1 2 3 4 5 6 7; do
5166 ac_script="$ac_script$as_nl$ac_script"
5168 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5169 { ac_script=; unset ac_script;}
5170 if test -z "$SED"; then
5171 ac_path_SED_found=false
5172 # Loop through the user's path and test for each of PROGNAME-LIST
5173 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5177 test -z "$as_dir" && as_dir=.
5178 for ac_prog in sed gsed; do
5179 for ac_exec_ext in '' $ac_executable_extensions; do
5180 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5181 as_fn_executable_p "$ac_path_SED" || continue
5182 # Check for GNU ac_path_SED and select it if it is found.
5183 # Check for GNU $ac_path_SED
5184 case `"$ac_path_SED" --version 2>&1` in
5186 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5189 $as_echo_n 0123456789 >"conftest.
in"
5192 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
5193 mv "conftest.tmp
" "conftest.
in"
5194 cp "conftest.
in" "conftest.
nl"
5195 $as_echo '' >> "conftest.
nl"
5196 "$ac_path_SED" -f conftest.sed < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
5197 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
5198 as_fn_arith $ac_count + 1 && ac_count=$as_val
5199 if test $ac_count -gt ${ac_path_SED_max-0}; then
5200 # Best one so far, save it but keep looking for a better one
5201 ac_cv_path_SED="$ac_path_SED"
5202 ac_path_SED_max=$ac_count
5204 # 10*(2^10) chars as input seems more than enough
5205 test $ac_count -gt 10 && break
5207 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5210 $ac_path_SED_found && break 3
5215 if test -z "$ac_cv_path_SED"; then
5216 as_fn_error $? "no acceptable
sed could be found
in \
$PATH" "$LINENO" 5
5223 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_SED" >&5
5224 $as_echo "$ac_cv_path_SED" >&6; }
5225 SED="$ac_cv_path_SED"
5228 test -z "$SED" && SED=sed
5229 Xsed="$SED -e 1s
/^X
//"
5241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for grep that handles long lines and
-e" >&5
5242 $as_echo_n "checking
for grep that handles long lines and
-e...
" >&6; }
5243 if ${ac_cv_path_GREP+:} false; then :
5244 $as_echo_n "(cached
) " >&6
5246 if test -z "$GREP"; then
5247 ac_path_GREP_found=false
5248 # Loop through the user's path and test for each of PROGNAME-LIST
5249 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5250 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5253 test -z "$as_dir" && as_dir=.
5254 for ac_prog in grep ggrep; do
5255 for ac_exec_ext in '' $ac_executable_extensions; do
5256 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5257 as_fn_executable_p "$ac_path_GREP" || continue
5258 # Check for GNU ac_path_GREP and select it if it is found.
5259 # Check for GNU $ac_path_GREP
5260 case `"$ac_path_GREP" --version 2>&1` in
5262 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5265 $as_echo_n 0123456789 >"conftest.
in"
5268 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
5269 mv "conftest.tmp
" "conftest.
in"
5270 cp "conftest.
in" "conftest.
nl"
5271 $as_echo 'GREP' >> "conftest.
nl"
5272 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
5273 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
5274 as_fn_arith $ac_count + 1 && ac_count=$as_val
5275 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5276 # Best one so far, save it but keep looking for a better one
5277 ac_cv_path_GREP="$ac_path_GREP"
5278 ac_path_GREP_max=$ac_count
5280 # 10*(2^10) chars as input seems more than enough
5281 test $ac_count -gt 10 && break
5283 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5286 $ac_path_GREP_found && break 3
5291 if test -z "$ac_cv_path_GREP"; then
5292 as_fn_error $? "no acceptable
grep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
5295 ac_cv_path_GREP=$GREP
5299 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_GREP" >&5
5300 $as_echo "$ac_cv_path_GREP" >&6; }
5301 GREP="$ac_cv_path_GREP"
5304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for egrep" >&5
5305 $as_echo_n "checking
for egrep...
" >&6; }
5306 if ${ac_cv_path_EGREP+:} false; then :
5307 $as_echo_n "(cached
) " >&6
5309 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5310 then ac_cv_path_EGREP="$GREP -E"
5312 if test -z "$EGREP"; then
5313 ac_path_EGREP_found=false
5314 # Loop through the user's path and test for each of PROGNAME-LIST
5315 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5316 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5319 test -z "$as_dir" && as_dir=.
5320 for ac_prog in egrep; do
5321 for ac_exec_ext in '' $ac_executable_extensions; do
5322 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5323 as_fn_executable_p "$ac_path_EGREP" || continue
5324 # Check for GNU ac_path_EGREP and select it if it is found.
5325 # Check for GNU $ac_path_EGREP
5326 case `"$ac_path_EGREP" --version 2>&1` in
5328 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5331 $as_echo_n 0123456789 >"conftest.
in"
5334 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
5335 mv "conftest.tmp
" "conftest.
in"
5336 cp "conftest.
in" "conftest.
nl"
5337 $as_echo 'EGREP' >> "conftest.
nl"
5338 "$ac_path_EGREP" 'EGREP$' < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
5339 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
5340 as_fn_arith $ac_count + 1 && ac_count=$as_val
5341 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5342 # Best one so far, save it but keep looking for a better one
5343 ac_cv_path_EGREP="$ac_path_EGREP"
5344 ac_path_EGREP_max=$ac_count
5346 # 10*(2^10) chars as input seems more than enough
5347 test $ac_count -gt 10 && break
5349 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5352 $ac_path_EGREP_found && break 3
5357 if test -z "$ac_cv_path_EGREP"; then
5358 as_fn_error $? "no acceptable
egrep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
5361 ac_cv_path_EGREP=$EGREP
5366 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_EGREP" >&5
5367 $as_echo "$ac_cv_path_EGREP" >&6; }
5368 EGREP="$ac_cv_path_EGREP"
5371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for fgrep
" >&5
5372 $as_echo_n "checking
for fgrep...
" >&6; }
5373 if ${ac_cv_path_FGREP+:} false; then :
5374 $as_echo_n "(cached
) " >&6
5376 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5377 then ac_cv_path_FGREP="$GREP -F"
5379 if test -z "$FGREP"; then
5380 ac_path_FGREP_found=false
5381 # Loop through the user's path and test for each of PROGNAME-LIST
5382 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5383 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5386 test -z "$as_dir" && as_dir=.
5387 for ac_prog in fgrep; do
5388 for ac_exec_ext in '' $ac_executable_extensions; do
5389 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5390 as_fn_executable_p "$ac_path_FGREP" || continue
5391 # Check for GNU ac_path_FGREP and select it if it is found.
5392 # Check for GNU $ac_path_FGREP
5393 case `"$ac_path_FGREP" --version 2>&1` in
5395 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5398 $as_echo_n 0123456789 >"conftest.
in"
5401 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
5402 mv "conftest.tmp
" "conftest.
in"
5403 cp "conftest.
in" "conftest.
nl"
5404 $as_echo 'FGREP' >> "conftest.
nl"
5405 "$ac_path_FGREP" FGREP < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
5406 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
5407 as_fn_arith $ac_count + 1 && ac_count=$as_val
5408 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5409 # Best one so far, save it but keep looking for a better one
5410 ac_cv_path_FGREP="$ac_path_FGREP"
5411 ac_path_FGREP_max=$ac_count
5413 # 10*(2^10) chars as input seems more than enough
5414 test $ac_count -gt 10 && break
5416 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5419 $ac_path_FGREP_found && break 3
5424 if test -z "$ac_cv_path_FGREP"; then
5425 as_fn_error $? "no acceptable fgrep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
5428 ac_cv_path_FGREP=$FGREP
5433 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_FGREP" >&5
5434 $as_echo "$ac_cv_path_FGREP" >&6; }
5435 FGREP="$ac_cv_path_FGREP"
5438 test -z "$GREP" && GREP=grep
5458 # Check whether --with-gnu-ld was given.
5459 if test "${with_gnu_ld+set}" = set; then :
5460 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5466 if test "$GCC" = yes; then
5467 # Check if gcc -print-prog-name=ld gives a path.
5468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ld used by
$CC" >&5
5469 $as_echo_n "checking
for ld used by
$CC...
" >&6; }
5472 # gcc leaves a trailing carriage return which upsets mingw
5473 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5475 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5478 # Accept absolute paths.
5480 re_direlt='/[^/][^/]*/\.\./'
5481 # Canonicalize the pathname of ld
5482 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5483 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5484 ac_prog=`$ECHO $ac_prog| $SED "s
%$re_direlt%/%"`
5486 test -z "$LD" && LD="$ac_prog"
5489 # If it fails, then pretend we aren't using GCC.
5493 # If it is relative, then search for the first ld in PATH.
5497 elif test "$with_gnu_ld" = yes; then
5498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for GNU ld
" >&5
5499 $as_echo_n "checking
for GNU ld...
" >&6; }
5501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for non
-GNU ld
" >&5
5502 $as_echo_n "checking
for non
-GNU ld...
" >&6; }
5504 if ${lt_cv_path_LD+:} false; then :
5505 $as_echo_n "(cached
) " >&6
5507 if test -z "$LD"; then
5508 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5509 for ac_dir in $PATH; do
5511 test -z "$ac_dir" && ac_dir=.
5512 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5513 lt_cv_path_LD="$ac_dir/$ac_prog"
5514 # Check to see if the program is GNU ld. I'd rather use --version,
5515 # but apparently some variants of GNU ld only accept -v.
5516 # Break only if it was the GNU/non-GNU ld that we prefer.
5517 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5518 *GNU* | *'with BFD'*)
5519 test "$with_gnu_ld" != no && break
5522 test "$with_gnu_ld" != yes && break
5529 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5534 if test -n "$LD"; then
5535 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
5536 $as_echo "$LD" >&6; }
5538 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5539 $as_echo "no
" >&6; }
5541 test -z "$LD" && as_fn_error $? "no acceptable ld found
in \
$PATH" "$LINENO" 5
5542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if the linker
($LD) is GNU ld
" >&5
5543 $as_echo_n "checking
if the linker
($LD) is GNU ld...
" >&6; }
5544 if ${lt_cv_prog_gnu_ld+:} false; then :
5545 $as_echo_n "(cached
) " >&6
5547 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5548 case `$LD -v 2>&1 </dev/null` in
5549 *GNU* | *'with BFD'*)
5550 lt_cv_prog_gnu_ld=yes
5553 lt_cv_prog_gnu_ld=no
5557 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_gnu_ld" >&5
5558 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5559 with_gnu_ld=$lt_cv_prog_gnu_ld
5569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for BSD
- or MS
-compatible name lister
(nm
)" >&5
5570 $as_echo_n "checking
for BSD
- or MS
-compatible name lister
(nm
)...
" >&6; }
5571 if ${lt_cv_path_NM+:} false; then :
5572 $as_echo_n "(cached
) " >&6
5574 if test -n "$NM"; then
5575 # Let the user override the test.
5578 lt_nm_to_check="${ac_tool_prefix}nm
"
5579 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5580 lt_nm_to_check="$lt_nm_to_check nm
"
5582 for lt_tmp_nm in $lt_nm_to_check; do
5583 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5584 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5586 test -z "$ac_dir" && ac_dir=.
5587 tmp_nm="$ac_dir/$lt_tmp_nm"
5588 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5589 # Check to see if the nm accepts a BSD-compat flag.
5590 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5591 # nm: unknown option "B
" ignored
5592 # Tru64's nm complains that /dev/null is an invalid object file
5593 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5594 */dev/null* | *'Invalid file or object type'*)
5595 lt_cv_path_NM="$tmp_nm -B"
5599 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5601 lt_cv_path_NM="$tmp_nm -p"
5605 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5606 continue # so that we can try to find one that supports BSD flags
5615 : ${lt_cv_path_NM=no}
5618 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_path_NM" >&5
5619 $as_echo "$lt_cv_path_NM" >&6; }
5620 if test "$lt_cv_path_NM" != "no
"; then
5623 # Didn't find any BSD compatible name lister, look for dumpbin.
5624 if test -n "$DUMPBIN"; then :
5625 # Let the user override the test.
5627 if test -n "$ac_tool_prefix"; then
5628 for ac_prog in dumpbin "link
-dump"
5630 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5631 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5633 $as_echo_n "checking
for $ac_word...
" >&6; }
5634 if ${ac_cv_prog_DUMPBIN+:} false; then :
5635 $as_echo_n "(cached
) " >&6
5637 if test -n "$DUMPBIN"; then
5638 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5640 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5644 test -z "$as_dir" && as_dir=.
5645 for ac_exec_ext in '' $ac_executable_extensions; do
5646 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5647 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5648 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5657 DUMPBIN=$ac_cv_prog_DUMPBIN
5658 if test -n "$DUMPBIN"; then
5659 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DUMPBIN" >&5
5660 $as_echo "$DUMPBIN" >&6; }
5662 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5663 $as_echo "no
" >&6; }
5667 test -n "$DUMPBIN" && break
5670 if test -z "$DUMPBIN"; then
5671 ac_ct_DUMPBIN=$DUMPBIN
5672 for ac_prog in dumpbin "link
-dump"
5674 # Extract the first word of "$ac_prog", so it can be a program name with args.
5675 set dummy $ac_prog; ac_word=$2
5676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5677 $as_echo_n "checking
for $ac_word...
" >&6; }
5678 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5679 $as_echo_n "(cached
) " >&6
5681 if test -n "$ac_ct_DUMPBIN"; then
5682 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5684 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5688 test -z "$as_dir" && as_dir=.
5689 for ac_exec_ext in '' $ac_executable_extensions; do
5690 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5691 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5692 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5701 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5702 if test -n "$ac_ct_DUMPBIN"; then
5703 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DUMPBIN" >&5
5704 $as_echo "$ac_ct_DUMPBIN" >&6; }
5706 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5707 $as_echo "no
" >&6; }
5711 test -n "$ac_ct_DUMPBIN" && break
5714 if test "x
$ac_ct_DUMPBIN" = x; then
5717 case $cross_compiling:$ac_tool_warned in
5719 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5720 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5721 ac_tool_warned=yes ;;
5723 DUMPBIN=$ac_ct_DUMPBIN
5727 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5729 DUMPBIN="$DUMPBIN -symbols"
5737 if test "$DUMPBIN" != ":"; then
5741 test -z "$NM" && NM=nm
5748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister
($NM) interface
" >&5
5749 $as_echo_n "checking the name lister
($NM) interface...
" >&6; }
5750 if ${lt_cv_nm_interface+:} false; then :
5751 $as_echo_n "(cached
) " >&6
5753 lt_cv_nm_interface="BSD nm
"
5754 echo "int some_variable
= 0;" > conftest.$ac_ext
5755 (eval echo "\"\
$as_me:$LINENO: $ac_compile\"" >&5)
5756 (eval "$ac_compile" 2>conftest.err)
5757 cat conftest.err >&5
5758 (eval echo "\"\
$as_me:$LINENO: $NM \\\"conftest.
$ac_objext\\\"\"" >&5)
5759 (eval "$NM \"conftest.
$ac_objext\"" 2>conftest.err > conftest.out)
5760 cat conftest.err >&5
5761 (eval echo "\"\
$as_me:$LINENO: output
\"" >&5)
5762 cat conftest.out >&5
5763 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5764 lt_cv_nm_interface="MS dumpbin
"
5768 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_nm_interface" >&5
5769 $as_echo "$lt_cv_nm_interface" >&6; }
5771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether
ln -s works
" >&5
5772 $as_echo_n "checking whether
ln -s works...
" >&6; }
5774 if test "$LN_S" = "ln -s"; then
5775 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
5776 $as_echo "yes" >&6; }
5778 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
, using
$LN_S" >&5
5779 $as_echo "no
, using
$LN_S" >&6; }
5782 # find the maximum length of command line arguments
5783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of
command line arguments
" >&5
5784 $as_echo_n "checking the maximum length of
command line arguments...
" >&6; }
5785 if ${lt_cv_sys_max_cmd_len+:} false; then :
5786 $as_echo_n "(cached
) " >&6
5793 # On DJGPP, this test can blow up pretty badly due to problems in libc
5794 # (any single argument exceeding 2000 bytes causes a buffer overrun
5795 # during glob expansion). Even if it were fixed, the result of this
5796 # check would be larger than it should be.
5797 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5801 # Under GNU Hurd, this test is not required because there is
5802 # no limit to the length of command line arguments.
5803 # Libtool will interpret -1 as no limit whatsoever
5804 lt_cv_sys_max_cmd_len=-1;
5807 cygwin* | mingw* | cegcc*)
5808 # On Win9x/ME, this test blows up -- it succeeds, but takes
5809 # about 5 minutes as the teststring grows exponentially.
5810 # Worse, since 9x/ME are not pre-emptively multitasking,
5811 # you end up with a "frozen
" computer, even though with patience
5812 # the test eventually succeeds (with a max line length of 256k).
5813 # Instead, let's just punt: use the minimum linelength reported by
5814 # all of the supported platforms: 8192 (on NT/2K/XP).
5815 lt_cv_sys_max_cmd_len=8192;
5819 # On MiNT this can take a long time and run out of memory.
5820 lt_cv_sys_max_cmd_len=8192;
5824 # On AmigaOS with pdksh, this test takes hours, literally.
5825 # So we just punt and use a minimum line length of 8192.
5826 lt_cv_sys_max_cmd_len=8192;
5829 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5830 # This has been around since 386BSD, at least. Likely further.
5831 if test -x /sbin/sysctl; then
5832 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5833 elif test -x /usr/sbin/sysctl; then
5834 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5836 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5838 # And add a safety zone
5839 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5840 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5844 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5845 lt_cv_sys_max_cmd_len=196608
5849 # The test takes a long time on OS/2.
5850 lt_cv_sys_max_cmd_len=8192
5854 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5855 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5856 # nice to cause kernel panics so lets avoid the loop below.
5857 # First set a reasonable default.
5858 lt_cv_sys_max_cmd_len=16384
5860 if test -x /sbin/sysconfig; then
5861 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5862 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5867 lt_cv_sys_max_cmd_len=102400
5869 sysv5* | sco5v6* | sysv4.2uw2*)
5870 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5871 if test -n "$kargmax"; then
5872 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5874 lt_cv_sys_max_cmd_len=32768
5878 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5879 if test -n "$lt_cv_sys_max_cmd_len"; then
5880 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5881 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5883 # Make teststring a little bigger before we do anything with it.
5884 # a 1K string should be a reasonable start.
5885 for i in 1 2 3 4 5 6 7 8 ; do
5886 teststring=$teststring$teststring
5888 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5889 # If test is not a shell built-in, we'll probably end up computing a
5890 # maximum length that is only half of the actual maximum length, but
5892 while { test "X
"`env echo "$teststring$teststring" 2>/dev/null` \
5893 = "X
$teststring$teststring"; } >/dev/null 2>&1 &&
5894 test $i != 17 # 1/2 MB should be enough
5897 teststring=$teststring$teststring
5899 # Only check the string length outside the loop.
5900 lt_cv_sys_max_cmd_len=`expr "X
$teststring" : ".
*" 2>&1`
5902 # Add a significant safety factor because C++ compilers can tack on
5903 # massive amounts of additional arguments before passing them to the
5904 # linker. It appears as though 1/2 is a usable value.
5905 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5912 if test -n $lt_cv_sys_max_cmd_len ; then
5913 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_sys_max_cmd_len" >&5
5914 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5916 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: none
" >&5
5917 $as_echo "none
" >&6; }
5919 max_cmd_len=$lt_cv_sys_max_cmd_len
5930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs
" >&5
5931 $as_echo_n "checking whether the shell understands some XSI constructs...
" >&6; }
5932 # Try some XSI features
5935 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5937 && eval 'test $(( 1 + 1 )) -eq 2 \
5938 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5940 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $xsi_shell" >&5
5941 $as_echo "$xsi_shell" >&6; }
5944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands
\"+=\"" >&5
5945 $as_echo_n "checking whether the shell understands
\"+=\"...
" >&6; }
5947 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
5949 && lt_shell_append=yes
5950 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_shell_append" >&5
5951 $as_echo "$lt_shell_append" >&6; }
5954 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5964 # test EBCDIC or ASCII
5965 case `echo X|tr X '\101'` in
5966 A) # ASCII based system
5967 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5968 lt_SP2NL='tr \040 \012'
5969 lt_NL2SP='tr \015\012 \040\040'
5971 *) # EBCDIC based system
5972 lt_SP2NL='tr \100 \n'
5973 lt_NL2SP='tr \r\n \100\100'
5985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert
$build file names to
$host format
" >&5
5986 $as_echo_n "checking how to convert
$build file names to
$host format...
" >&6; }
5987 if ${lt_cv_to_host_file_cmd+:} false; then :
5988 $as_echo_n "(cached
) " >&6
5993 *-*-mingw* ) # actually msys
5994 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5997 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5999 * ) # otherwise, assume *nix
6000 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
6006 *-*-mingw* ) # actually msys
6007 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
6010 lt_cv_to_host_file_cmd=func_convert_file_noop
6012 * ) # otherwise, assume *nix
6013 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
6017 * ) # unhandled hosts (and "normal
" native builds)
6018 lt_cv_to_host_file_cmd=func_convert_file_noop
6024 to_host_file_cmd=$lt_cv_to_host_file_cmd
6025 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_to_host_file_cmd" >&5
6026 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
6032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert
$build file names to toolchain format
" >&5
6033 $as_echo_n "checking how to convert
$build file names to toolchain format...
" >&6; }
6034 if ${lt_cv_to_tool_file_cmd+:} false; then :
6035 $as_echo_n "(cached
) " >&6
6037 #assume ordinary cross tools, or native build.
6038 lt_cv_to_tool_file_cmd=func_convert_file_noop
6042 *-*-mingw* ) # actually msys
6043 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
6051 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
6052 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_to_tool_file_cmd" >&5
6053 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
6059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $LD option to reload object files
" >&5
6060 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
6061 if ${lt_cv_ld_reload_flag+:} false; then :
6062 $as_echo_n "(cached
) " >&6
6064 lt_cv_ld_reload_flag='-r'
6066 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_reload_flag" >&5
6067 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6068 reload_flag=$lt_cv_ld_reload_flag
6069 case $reload_flag in
6071 *) reload_flag=" $reload_flag" ;;
6073 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6075 cygwin* | mingw* | pw32* | cegcc*)
6076 if test "$GCC" != yes; then
6081 if test "$GCC" = yes; then
6082 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6084 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6097 if test -n "$ac_tool_prefix"; then
6098 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
6099 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6101 $as_echo_n "checking
for $ac_word...
" >&6; }
6102 if ${ac_cv_prog_OBJDUMP+:} false; then :
6103 $as_echo_n "(cached
) " >&6
6105 if test -n "$OBJDUMP"; then
6106 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6108 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6112 test -z "$as_dir" && as_dir=.
6113 for ac_exec_ext in '' $ac_executable_extensions; do
6114 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6115 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
6116 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6125 OBJDUMP=$ac_cv_prog_OBJDUMP
6126 if test -n "$OBJDUMP"; then
6127 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
6128 $as_echo "$OBJDUMP" >&6; }
6130 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6131 $as_echo "no
" >&6; }
6136 if test -z "$ac_cv_prog_OBJDUMP"; then
6137 ac_ct_OBJDUMP=$OBJDUMP
6138 # Extract the first word of "objdump
", so it can be a program name with args.
6139 set dummy objdump; ac_word=$2
6140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6141 $as_echo_n "checking
for $ac_word...
" >&6; }
6142 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
6143 $as_echo_n "(cached
) " >&6
6145 if test -n "$ac_ct_OBJDUMP"; then
6146 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6148 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6152 test -z "$as_dir" && as_dir=.
6153 for ac_exec_ext in '' $ac_executable_extensions; do
6154 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6155 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
6156 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6165 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6166 if test -n "$ac_ct_OBJDUMP"; then
6167 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OBJDUMP" >&5
6168 $as_echo "$ac_ct_OBJDUMP" >&6; }
6170 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6171 $as_echo "no
" >&6; }
6174 if test "x
$ac_ct_OBJDUMP" = x; then
6177 case $cross_compiling:$ac_tool_warned in
6179 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6180 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6181 ac_tool_warned=yes ;;
6183 OBJDUMP=$ac_ct_OBJDUMP
6186 OBJDUMP="$ac_cv_prog_OBJDUMP"
6189 test -z "$OBJDUMP" && OBJDUMP=objdump
6199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries
" >&5
6200 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
6201 if ${lt_cv_deplibs_check_method+:} false; then :
6202 $as_echo_n "(cached
) " >&6
6204 lt_cv_file_magic_cmd='$MAGIC_CMD'
6205 lt_cv_file_magic_test_file=
6206 lt_cv_deplibs_check_method='unknown'
6207 # Need to set the preceding variable on all platforms that support
6208 # interlibrary dependencies.
6209 # 'none' -- dependencies not supported.
6210 # `unknown' -- same as none, but documents that we really don't know.
6211 # 'pass_all' -- all dependencies passed with no checks.
6212 # 'test_compile' -- check by making test program.
6213 # 'file_magic [[regex]]' -- check by looking for files in library path
6214 # which responds to the $file_magic_cmd with a given extended regex.
6215 # If you have `file' or equivalent on your system and you're not sure
6216 # whether `pass_all' will *always* work, you probably want this one.
6220 lt_cv_deplibs_check_method=pass_all
6224 lt_cv_deplibs_check_method=pass_all
6228 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6229 lt_cv_file_magic_cmd='/usr/bin/file -L'
6230 lt_cv_file_magic_test_file=/shlib/libc.so
6234 # func_win32_libid is a shell function defined in ltmain.sh
6235 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6236 lt_cv_file_magic_cmd='func_win32_libid'
6240 # Base MSYS/MinGW do not provide the 'file' command needed by
6241 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6242 # unless we find 'file', for example because we are cross-compiling.
6243 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6244 if ( test "$lt_cv_nm_interface" = "BSD nm
" && file / ) >/dev/null 2>&1; then
6245 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6246 lt_cv_file_magic_cmd='func_win32_libid'
6248 # Keep this pattern in sync with the one in func_win32_libid.
6249 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
6250 lt_cv_file_magic_cmd='$OBJDUMP -f'
6255 # use the weaker test based on 'objdump'. See mingw*.
6256 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6257 lt_cv_file_magic_cmd='$OBJDUMP -f'
6260 darwin* | rhapsody*)
6261 lt_cv_deplibs_check_method=pass_all
6264 freebsd* | dragonfly*)
6265 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6268 # Not sure whether the presence of OpenBSD here was a mistake.
6269 # Let's accept both of them until this is cleared up.
6270 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6271 lt_cv_file_magic_cmd=/usr/bin/file
6272 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6276 lt_cv_deplibs_check_method=pass_all
6281 lt_cv_deplibs_check_method=pass_all
6285 lt_cv_deplibs_check_method=pass_all
6288 hpux10.20* | hpux11*)
6289 lt_cv_file_magic_cmd=/usr/bin/file
6292 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6293 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6296 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]'
6297 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6300 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6301 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6307 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6308 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6311 irix5* | irix6* | nonstopux*)
6313 *-32|*"-32 ") libmagic=32-bit;;
6314 *-n32|*"-n32 ") libmagic=N32;;
6315 *-64|*"-64 ") libmagic=64-bit;;
6316 *) libmagic=never-match;;
6318 lt_cv_deplibs_check_method=pass_all
6321 # This must be glibc/ELF.
6322 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6323 lt_cv_deplibs_check_method=pass_all
6327 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6328 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6330 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6335 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6336 lt_cv_file_magic_cmd=/usr/bin/file
6337 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6341 lt_cv_deplibs_check_method=pass_all
6345 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
6346 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6348 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6352 osf3* | osf4* | osf5*)
6353 lt_cv_deplibs_check_method=pass_all
6357 lt_cv_deplibs_check_method=pass_all
6361 lt_cv_deplibs_check_method=pass_all
6364 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6365 lt_cv_deplibs_check_method=pass_all
6369 case $host_vendor in
6371 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]'
6372 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6375 lt_cv_deplibs_check_method=pass_all
6378 lt_cv_file_magic_cmd='/bin/file'
6379 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6382 lt_cv_file_magic_cmd='/bin/file'
6383 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
6384 lt_cv_file_magic_test_file=/lib/libc.so
6387 lt_cv_deplibs_check_method=pass_all
6390 lt_cv_deplibs_check_method=pass_all
6396 lt_cv_deplibs_check_method=pass_all
6401 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_deplibs_check_method" >&5
6402 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6406 if test "$build" = "$host"; then
6409 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
6412 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s
/\
(..\
)/s\
/[\
1]\
/[\
1]\
/g
;/g
"`
6418 file_magic_cmd=$lt_cv_file_magic_cmd
6419 deplibs_check_method=$lt_cv_deplibs_check_method
6420 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6443 if test -n "$ac_tool_prefix"; then
6444 # Extract the first word of "${ac_tool_prefix}dlltool
", so it can be a program name with args.
6445 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
6446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6447 $as_echo_n "checking
for $ac_word...
" >&6; }
6448 if ${ac_cv_prog_DLLTOOL+:} false; then :
6449 $as_echo_n "(cached
) " >&6
6451 if test -n "$DLLTOOL"; then
6452 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6454 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6458 test -z "$as_dir" && as_dir=.
6459 for ac_exec_ext in '' $ac_executable_extensions; do
6460 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6461 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool
"
6462 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6471 DLLTOOL=$ac_cv_prog_DLLTOOL
6472 if test -n "$DLLTOOL"; then
6473 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
6474 $as_echo "$DLLTOOL" >&6; }
6476 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6477 $as_echo "no
" >&6; }
6482 if test -z "$ac_cv_prog_DLLTOOL"; then
6483 ac_ct_DLLTOOL=$DLLTOOL
6484 # Extract the first word of "dlltool
", so it can be a program name with args.
6485 set dummy dlltool; ac_word=$2
6486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6487 $as_echo_n "checking
for $ac_word...
" >&6; }
6488 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
6489 $as_echo_n "(cached
) " >&6
6491 if test -n "$ac_ct_DLLTOOL"; then
6492 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
6494 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6498 test -z "$as_dir" && as_dir=.
6499 for ac_exec_ext in '' $ac_executable_extensions; do
6500 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6501 ac_cv_prog_ac_ct_DLLTOOL="dlltool
"
6502 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6511 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
6512 if test -n "$ac_ct_DLLTOOL"; then
6513 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DLLTOOL" >&5
6514 $as_echo "$ac_ct_DLLTOOL" >&6; }
6516 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6517 $as_echo "no
" >&6; }
6520 if test "x
$ac_ct_DLLTOOL" = x; then
6523 case $cross_compiling:$ac_tool_warned in
6525 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6526 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6527 ac_tool_warned=yes ;;
6529 DLLTOOL=$ac_ct_DLLTOOL
6532 DLLTOOL="$ac_cv_prog_DLLTOOL"
6535 test -z "$DLLTOOL" && DLLTOOL=dlltool
6546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries
" >&5
6547 $as_echo_n "checking how to associate runtime and link libraries...
" >&6; }
6548 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
6549 $as_echo_n "(cached
) " >&6
6551 lt_cv_sharedlib_from_linklib_cmd='unknown'
6554 cygwin* | mingw* | pw32* | cegcc*)
6555 # two different shell functions defined in ltmain.sh
6556 # decide which to use based on capabilities of $DLLTOOL
6557 case `$DLLTOOL --help 2>&1` in
6558 *--identify-strict*)
6559 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
6562 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
6567 # fallback: assume linklib IS sharedlib
6568 lt_cv_sharedlib_from_linklib_cmd="$ECHO"
6573 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_sharedlib_from_linklib_cmd" >&5
6574 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6575 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
6576 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
6584 if test -n "$ac_tool_prefix"; then
6587 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6588 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6590 $as_echo_n "checking
for $ac_word...
" >&6; }
6591 if ${ac_cv_prog_AR+:} false; then :
6592 $as_echo_n "(cached
) " >&6
6594 if test -n "$AR"; then
6595 ac_cv_prog_AR="$AR" # Let the user override the test.
6597 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6601 test -z "$as_dir" && as_dir=.
6602 for ac_exec_ext in '' $ac_executable_extensions; do
6603 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6604 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6605 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6615 if test -n "$AR"; then
6616 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
6617 $as_echo "$AR" >&6; }
6619 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6620 $as_echo "no
" >&6; }
6624 test -n "$AR" && break
6627 if test -z "$AR"; then
6631 # Extract the first word of "$ac_prog", so it can be a program name with args.
6632 set dummy $ac_prog; ac_word=$2
6633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6634 $as_echo_n "checking
for $ac_word...
" >&6; }
6635 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6636 $as_echo_n "(cached
) " >&6
6638 if test -n "$ac_ct_AR"; then
6639 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6641 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6645 test -z "$as_dir" && as_dir=.
6646 for ac_exec_ext in '' $ac_executable_extensions; do
6647 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6648 ac_cv_prog_ac_ct_AR="$ac_prog"
6649 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6658 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6659 if test -n "$ac_ct_AR"; then
6660 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_AR" >&5
6661 $as_echo "$ac_ct_AR" >&6; }
6663 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6664 $as_echo "no
" >&6; }
6668 test -n "$ac_ct_AR" && break
6671 if test "x
$ac_ct_AR" = x; then
6674 case $cross_compiling:$ac_tool_warned in
6676 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6677 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6678 ac_tool_warned=yes ;;
6697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for archiver @FILE support
" >&5
6698 $as_echo_n "checking
for archiver @FILE support...
" >&6; }
6699 if ${lt_cv_ar_at_file+:} false; then :
6700 $as_echo_n "(cached
) " >&6
6703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6704 /* end confdefs.h. */
6714 if ac_fn_c_try_compile "$LINENO"; then :
6715 echo conftest.$ac_objext > conftest.lst
6716 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6717 { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6718 (eval $lt_ar_try) 2>&5
6720 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6721 test $ac_status = 0; }
6722 if test "$ac_status" -eq 0; then
6723 # Ensure the archiver fails upon bogus file names.
6724 rm -f conftest.$ac_objext libconftest.a
6725 { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6726 (eval $lt_ar_try) 2>&5
6728 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6729 test $ac_status = 0; }
6730 if test "$ac_status" -ne 0; then
6734 rm -f conftest.* libconftest.a
6737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6740 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ar_at_file" >&5
6741 $as_echo "$lt_cv_ar_at_file" >&6; }
6743 if test "x
$lt_cv_ar_at_file" = xno; then
6746 archiver_list_spec=$lt_cv_ar_at_file
6755 if test -n "$ac_tool_prefix"; then
6756 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
6757 set dummy ${ac_tool_prefix}strip; ac_word=$2
6758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6759 $as_echo_n "checking
for $ac_word...
" >&6; }
6760 if ${ac_cv_prog_STRIP+:} false; then :
6761 $as_echo_n "(cached
) " >&6
6763 if test -n "$STRIP"; then
6764 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6766 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6770 test -z "$as_dir" && as_dir=.
6771 for ac_exec_ext in '' $ac_executable_extensions; do
6772 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6773 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
6774 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6783 STRIP=$ac_cv_prog_STRIP
6784 if test -n "$STRIP"; then
6785 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
6786 $as_echo "$STRIP" >&6; }
6788 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6789 $as_echo "no
" >&6; }
6794 if test -z "$ac_cv_prog_STRIP"; then
6796 # Extract the first word of "strip
", so it can be a program name with args.
6797 set dummy strip; ac_word=$2
6798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6799 $as_echo_n "checking
for $ac_word...
" >&6; }
6800 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6801 $as_echo_n "(cached
) " >&6
6803 if test -n "$ac_ct_STRIP"; then
6804 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6806 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6810 test -z "$as_dir" && as_dir=.
6811 for ac_exec_ext in '' $ac_executable_extensions; do
6812 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6813 ac_cv_prog_ac_ct_STRIP="strip
"
6814 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6823 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6824 if test -n "$ac_ct_STRIP"; then
6825 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_STRIP" >&5
6826 $as_echo "$ac_ct_STRIP" >&6; }
6828 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6829 $as_echo "no
" >&6; }
6832 if test "x
$ac_ct_STRIP" = x; then
6835 case $cross_compiling:$ac_tool_warned in
6837 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6838 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6839 ac_tool_warned=yes ;;
6844 STRIP="$ac_cv_prog_STRIP"
6847 test -z "$STRIP" && STRIP=:
6854 if test -n "$ac_tool_prefix"; then
6855 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
6856 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6858 $as_echo_n "checking
for $ac_word...
" >&6; }
6859 if ${ac_cv_prog_RANLIB+:} false; then :
6860 $as_echo_n "(cached
) " >&6
6862 if test -n "$RANLIB"; then
6863 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6865 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6869 test -z "$as_dir" && as_dir=.
6870 for ac_exec_ext in '' $ac_executable_extensions; do
6871 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6872 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
6873 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6882 RANLIB=$ac_cv_prog_RANLIB
6883 if test -n "$RANLIB"; then
6884 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
6885 $as_echo "$RANLIB" >&6; }
6887 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6888 $as_echo "no
" >&6; }
6893 if test -z "$ac_cv_prog_RANLIB"; then
6894 ac_ct_RANLIB=$RANLIB
6895 # Extract the first word of "ranlib
", so it can be a program name with args.
6896 set dummy ranlib; ac_word=$2
6897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6898 $as_echo_n "checking
for $ac_word...
" >&6; }
6899 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6900 $as_echo_n "(cached
) " >&6
6902 if test -n "$ac_ct_RANLIB"; then
6903 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6905 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6909 test -z "$as_dir" && as_dir=.
6910 for ac_exec_ext in '' $ac_executable_extensions; do
6911 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6912 ac_cv_prog_ac_ct_RANLIB="ranlib
"
6913 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6922 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6923 if test -n "$ac_ct_RANLIB"; then
6924 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_RANLIB" >&5
6925 $as_echo "$ac_ct_RANLIB" >&6; }
6927 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6928 $as_echo "no
" >&6; }
6931 if test "x
$ac_ct_RANLIB" = x; then
6934 case $cross_compiling:$ac_tool_warned in
6936 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6937 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6938 ac_tool_warned=yes ;;
6940 RANLIB=$ac_ct_RANLIB
6943 RANLIB="$ac_cv_prog_RANLIB"
6946 test -z "$RANLIB" && RANLIB=:
6953 # Determine commands to create old-style static archives.
6954 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6955 old_postinstall_cmds='chmod 644 $oldlib'
6956 old_postuninstall_cmds=
6958 if test -n "$RANLIB"; then
6961 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$tool_oldlib"
6964 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$tool_oldlib"
6967 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$tool_oldlib"
6972 lock_old_archive_extraction=yes ;;
6974 lock_old_archive_extraction=no ;;
7015 # If no C compiler was specified, use CC.
7018 # If no C compiler flags were specified, use CFLAGS.
7019 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7021 # Allow CC to be a program name with arguments.
7025 # Check for command to grab the raw symbol name followed by C symbol from nm.
7026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
command to parse
$NM output from
$compiler object
" >&5
7027 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
7028 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
7029 $as_echo_n "(cached
) " >&6
7032 # These are sane defaults that work on at least a few old systems.
7033 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
7035 # Character class describing NM global symbol codes.
7036 symcode='[BCDEGRST]'
7038 # Regexp to match symbols that can be accessed directly from C.
7039 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7041 # Define system-specific variables.
7046 cygwin* | mingw* | pw32* | cegcc*)
7047 symcode='[ABCDGISTW]'
7050 if test "$host_cpu" = ia64; then
7051 symcode='[ABCDEGRST]'
7055 symcode='[BCDEGRST]'
7058 symcode='[BCDEGQRST]'
7069 sysv5* | sco5v6* | unixware* | OpenUNIX*)
7077 # If we're using GNU nm, then use its standard symbol codes.
7078 case `$NM -V 2>&1` in
7079 *GNU* | *'with BFD'*)
7080 symcode='[ABCDGIRSTW]' ;;
7083 # Transform an extracted symbol line into a proper C declaration.
7084 # Some systems (esp. on ia64) link data and code symbols differently,
7085 # so use this general approach.
7086 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7088 # Transform an extracted symbol line into symbol name and symbol address
7089 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
7090 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'"
7092 # Handle CRLF in mingw tool chain
7096 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7100 # Try without a prefix underscore, then with it.
7101 for ac_symprfx in "" "_
"; do
7103 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7104 symxfrm="\\1 $ac_symprfx\\2 \\2"
7106 # Write the raw and C identifiers.
7107 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
7108 # Fake it for dumpbin and say T for any non-static function
7109 # and D for any global variable.
7110 # Also find C++ and __fastcall symbols from MSVC++,
7111 # which start with @ or ?.
7112 lt_cv_sys_global_symbol_pipe="$AWK '"\
7113 " {last_section=section; section=\$ 3};"\
7114 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
7115 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7116 " \$ 0!~/External *\|/{next};"\
7117 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7118 " {if(hide[section]) next};"\
7119 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7120 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7121 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
7122 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7123 " ' prfx
=^
$ac_symprfx"
7125 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7127 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
7129 # Check to see that the pipe works correctly.
7133 cat > conftest.$ac_ext <<_LT_EOF
7138 void nm_test_func(void);
7139 void nm_test_func(void){}
7143 int main(){nm_test_var='a';nm_test_func();return(0);}
7146 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7147 (eval $ac_compile) 2>&5
7149 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7150 test $ac_status = 0; }; then
7151 # Now try to grab the symbols.
7153 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$NM conftest.
$ac_objext \
| "$lt_cv_sys_global_symbol_pipe" \
> $nlist\""; } >&5
7154 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7156 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7157 test $ac_status = 0; } && test -s "$nlist"; then
7158 # Try sorting and uniquifying the output.
7159 if sort "$nlist" | uniq > "$nlist"T; then
7160 mv -f "$nlist"T "$nlist"
7165 # Make sure that we snagged all the symbols we need.
7166 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7167 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7168 cat <<_LT_EOF > conftest.$ac_ext
7169 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
7170 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
7171 /* DATA imports from DLLs on WIN32 con't be const, because runtime
7172 relocations are performed -- see ld's documentation on pseudo-relocs. */
7173 # define LT_DLSYM_CONST
7174 #elif defined(__osf__)
7175 /* This system does not cope well with relocations in const data. */
7176 # define LT_DLSYM_CONST
7178 # define LT_DLSYM_CONST const
7186 # Now generate the symbol file.
7187 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7189 cat <<_LT_EOF >> conftest.$ac_ext
7191 /* The mapping between symbol names and symbols. */
7192 LT_DLSYM_CONST struct {
7196 lt__PROGRAM__LTX_preloaded_symbols[] =
7198 { "@PROGRAM@
", (void *) 0 },
7200 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7201 cat <<\_LT_EOF >> conftest.$ac_ext
7205 /* This works around a problem in FreeBSD linker */
7206 #ifdef FREEBSD_WORKAROUND
7207 static const void *lt_preloaded_setup() {
7208 return lt__PROGRAM__LTX_preloaded_symbols;
7216 # Now try linking the two files.
7217 mv conftest.$ac_objext conftstm.$ac_objext
7218 lt_globsym_save_LIBS=$LIBS
7219 lt_globsym_save_CFLAGS=$CFLAGS
7220 LIBS="conftstm.
$ac_objext"
7221 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7222 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7223 (eval $ac_link) 2>&5
7225 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7226 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7229 LIBS=$lt_globsym_save_LIBS
7230 CFLAGS=$lt_globsym_save_CFLAGS
7232 echo "cannot
find nm_test_func
in $nlist" >&5
7235 echo "cannot
find nm_test_var
in $nlist" >&5
7238 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
7241 echo "$progname: failed program was
:" >&5
7242 cat conftest.$ac_ext >&5
7244 rm -rf conftest* conftst*
7246 # Do not use the global_symbol_pipe unless it works.
7247 if test "$pipe_works" = yes; then
7250 lt_cv_sys_global_symbol_pipe=
7256 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7257 lt_cv_sys_global_symbol_to_cdecl=
7259 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7260 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: failed
" >&5
7261 $as_echo "failed
" >&6; }
7263 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ok
" >&5
7264 $as_echo "ok
" >&6; }
7267 # Response file support.
7268 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
7269 nm_file_list_spec='@'
7270 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
7271 nm_file_list_spec='@'
7300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for sysroot
" >&5
7301 $as_echo_n "checking
for sysroot...
" >&6; }
7303 # Check whether --with-sysroot was given.
7304 if test "${with_sysroot+set}" = set; then :
7305 withval=$with_sysroot;
7312 case ${with_sysroot} in #(
7314 if test "$GCC" = yes; then
7315 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
7319 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
7324 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ${with_sysroot}" >&5
7325 $as_echo "${with_sysroot}" >&6; }
7326 as_fn_error $? "The sysroot must be an absolute path.
" "$LINENO" 5
7330 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ${lt_sysroot:-no}" >&5
7331 $as_echo "${lt_sysroot:-no}" >&6; }
7337 # Check whether --enable-libtool-lock was given.
7338 if test "${enable_libtool_lock+set}" = set; then :
7339 enableval=$enable_libtool_lock;
7342 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
7344 # Some flags need to be propagated to the compiler or linker for good
7348 # Find out which ABI we are using.
7349 echo 'int i;' > conftest.$ac_ext
7350 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7351 (eval $ac_compile) 2>&5
7353 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7354 test $ac_status = 0; }; then
7355 case `/usr/bin/file conftest.$ac_objext` in
7367 # Find out which ABI we are using.
7368 echo '#line '$LINENO' "configure
"' > conftest.$ac_ext
7369 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7370 (eval $ac_compile) 2>&5
7372 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7373 test $ac_status = 0; }; then
7374 if test "$lt_cv_prog_gnu_ld" = yes; then
7375 case `/usr/bin/file conftest.$ac_objext` in
7377 LD="${LD-ld} -melf32bsmip"
7380 LD="${LD-ld} -melf32bmipn32"
7383 LD="${LD-ld} -melf64bmip"
7387 case `/usr/bin/file conftest.$ac_objext` in
7403 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
7404 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7405 # Find out which ABI we are using.
7406 echo 'int i;' > conftest.$ac_ext
7407 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7408 (eval $ac_compile) 2>&5
7410 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7411 test $ac_status = 0; }; then
7412 case `/usr/bin/file conftest.o` in
7415 x86_64-*kfreebsd*-gnu)
7416 LD="${LD-ld} -m elf_i386_fbsd
"
7419 LD="${LD-ld} -m elf_i386
"
7421 ppc64-*linux*|powerpc64-*linux*)
7422 LD="${LD-ld} -m elf32ppclinux
"
7425 LD="${LD-ld} -m elf_s390
"
7428 LD="${LD-ld} -m elf32_sparc
"
7434 x86_64-*kfreebsd*-gnu)
7435 LD="${LD-ld} -m elf_x86_64_fbsd
"
7438 LD="${LD-ld} -m elf_x86_64
"
7440 ppc*-*linux*|powerpc*-*linux*)
7441 LD="${LD-ld} -m elf64ppc
"
7443 s390*-*linux*|s390*-*tpf*)
7444 LD="${LD-ld} -m elf64_s390
"
7447 LD="${LD-ld} -m elf64_sparc
"
7457 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7458 SAVE_CFLAGS="$CFLAGS"
7459 CFLAGS="$CFLAGS -belf"
7460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs
-belf" >&5
7461 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
7462 if ${lt_cv_cc_needs_belf+:} false; then :
7463 $as_echo_n "(cached
) " >&6
7466 ac_cpp='$CPP $CPPFLAGS'
7467 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7468 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7469 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7472 /* end confdefs.h. */
7482 if ac_fn_c_try_link "$LINENO"; then :
7483 lt_cv_cc_needs_belf=yes
7485 lt_cv_cc_needs_belf=no
7487 rm -f core conftest.err conftest.$ac_objext \
7488 conftest$ac_exeext conftest.$ac_ext
7490 ac_cpp='$CPP $CPPFLAGS'
7491 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7492 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7493 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7496 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_cc_needs_belf" >&5
7497 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7498 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7499 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7500 CFLAGS="$SAVE_CFLAGS"
7504 # Find out which ABI we are using.
7505 echo 'int i;' > conftest.$ac_ext
7506 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7507 (eval $ac_compile) 2>&5
7509 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7510 test $ac_status = 0; }; then
7511 case `/usr/bin/file conftest.o` in
7513 case $lt_cv_prog_gnu_ld in
7517 LD="${LD-ld} -m elf_x86_64
"
7520 LD="${LD-ld} -m elf64_sparc
"
7523 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
7524 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
7529 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7541 need_locks="$enable_libtool_lock"
7543 if test -n "$ac_tool_prefix"; then
7544 # Extract the first word of "${ac_tool_prefix}mt
", so it can be a program name with args.
7545 set dummy ${ac_tool_prefix}mt; ac_word=$2
7546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7547 $as_echo_n "checking
for $ac_word...
" >&6; }
7548 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
7549 $as_echo_n "(cached
) " >&6
7551 if test -n "$MANIFEST_TOOL"; then
7552 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
7554 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7558 test -z "$as_dir" && as_dir=.
7559 for ac_exec_ext in '' $ac_executable_extensions; do
7560 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7561 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt
"
7562 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7571 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
7572 if test -n "$MANIFEST_TOOL"; then
7573 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MANIFEST_TOOL" >&5
7574 $as_echo "$MANIFEST_TOOL" >&6; }
7576 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7577 $as_echo "no
" >&6; }
7582 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
7583 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
7584 # Extract the first word of "mt
", so it can be a program name with args.
7585 set dummy mt; ac_word=$2
7586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7587 $as_echo_n "checking
for $ac_word...
" >&6; }
7588 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
7589 $as_echo_n "(cached
) " >&6
7591 if test -n "$ac_ct_MANIFEST_TOOL"; then
7592 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
7594 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7598 test -z "$as_dir" && as_dir=.
7599 for ac_exec_ext in '' $ac_executable_extensions; do
7600 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7601 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt
"
7602 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7611 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7612 if test -n "$ac_ct_MANIFEST_TOOL"; then
7613 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_MANIFEST_TOOL" >&5
7614 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7616 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7617 $as_echo "no
" >&6; }
7620 if test "x
$ac_ct_MANIFEST_TOOL" = x; then
7623 case $cross_compiling:$ac_tool_warned in
7625 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7626 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7627 ac_tool_warned=yes ;;
7629 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7632 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7635 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $MANIFEST_TOOL is a manifest tool
" >&5
7637 $as_echo_n "checking
if $MANIFEST_TOOL is a manifest tool...
" >&6; }
7638 if ${lt_cv_path_mainfest_tool+:} false; then :
7639 $as_echo_n "(cached
) " >&6
7641 lt_cv_path_mainfest_tool=no
7642 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7643 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7644 cat conftest.err >&5
7645 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7646 lt_cv_path_mainfest_tool=yes
7650 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_path_mainfest_tool" >&5
7651 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
7652 if test "x
$lt_cv_path_mainfest_tool" != xyes; then
7662 rhapsody* | darwin*)
7663 if test -n "$ac_tool_prefix"; then
7664 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
7665 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7667 $as_echo_n "checking
for $ac_word...
" >&6; }
7668 if ${ac_cv_prog_DSYMUTIL+:} false; then :
7669 $as_echo_n "(cached
) " >&6
7671 if test -n "$DSYMUTIL"; then
7672 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7674 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7678 test -z "$as_dir" && as_dir=.
7679 for ac_exec_ext in '' $ac_executable_extensions; do
7680 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7681 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
7682 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7691 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7692 if test -n "$DSYMUTIL"; then
7693 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
7694 $as_echo "$DSYMUTIL" >&6; }
7696 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7697 $as_echo "no
" >&6; }
7702 if test -z "$ac_cv_prog_DSYMUTIL"; then
7703 ac_ct_DSYMUTIL=$DSYMUTIL
7704 # Extract the first word of "dsymutil
", so it can be a program name with args.
7705 set dummy dsymutil; ac_word=$2
7706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7707 $as_echo_n "checking
for $ac_word...
" >&6; }
7708 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7709 $as_echo_n "(cached
) " >&6
7711 if test -n "$ac_ct_DSYMUTIL"; then
7712 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7714 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7718 test -z "$as_dir" && as_dir=.
7719 for ac_exec_ext in '' $ac_executable_extensions; do
7720 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7721 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
7722 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7731 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7732 if test -n "$ac_ct_DSYMUTIL"; then
7733 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DSYMUTIL" >&5
7734 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7736 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7737 $as_echo "no
" >&6; }
7740 if test "x
$ac_ct_DSYMUTIL" = x; then
7743 case $cross_compiling:$ac_tool_warned in
7745 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7746 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7747 ac_tool_warned=yes ;;
7749 DSYMUTIL=$ac_ct_DSYMUTIL
7752 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7755 if test -n "$ac_tool_prefix"; then
7756 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
7757 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7759 $as_echo_n "checking
for $ac_word...
" >&6; }
7760 if ${ac_cv_prog_NMEDIT+:} false; then :
7761 $as_echo_n "(cached
) " >&6
7763 if test -n "$NMEDIT"; then
7764 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7766 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7770 test -z "$as_dir" && as_dir=.
7771 for ac_exec_ext in '' $ac_executable_extensions; do
7772 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7773 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
7774 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7783 NMEDIT=$ac_cv_prog_NMEDIT
7784 if test -n "$NMEDIT"; then
7785 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NMEDIT" >&5
7786 $as_echo "$NMEDIT" >&6; }
7788 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7789 $as_echo "no
" >&6; }
7794 if test -z "$ac_cv_prog_NMEDIT"; then
7795 ac_ct_NMEDIT=$NMEDIT
7796 # Extract the first word of "nmedit
", so it can be a program name with args.
7797 set dummy nmedit; ac_word=$2
7798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7799 $as_echo_n "checking
for $ac_word...
" >&6; }
7800 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7801 $as_echo_n "(cached
) " >&6
7803 if test -n "$ac_ct_NMEDIT"; then
7804 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7806 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7810 test -z "$as_dir" && as_dir=.
7811 for ac_exec_ext in '' $ac_executable_extensions; do
7812 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7813 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
7814 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7823 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7824 if test -n "$ac_ct_NMEDIT"; then
7825 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_NMEDIT" >&5
7826 $as_echo "$ac_ct_NMEDIT" >&6; }
7828 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7829 $as_echo "no
" >&6; }
7832 if test "x
$ac_ct_NMEDIT" = x; then
7835 case $cross_compiling:$ac_tool_warned in
7837 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7838 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7839 ac_tool_warned=yes ;;
7841 NMEDIT=$ac_ct_NMEDIT
7844 NMEDIT="$ac_cv_prog_NMEDIT"
7847 if test -n "$ac_tool_prefix"; then
7848 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
7849 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7851 $as_echo_n "checking
for $ac_word...
" >&6; }
7852 if ${ac_cv_prog_LIPO+:} false; then :
7853 $as_echo_n "(cached
) " >&6
7855 if test -n "$LIPO"; then
7856 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7858 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7862 test -z "$as_dir" && as_dir=.
7863 for ac_exec_ext in '' $ac_executable_extensions; do
7864 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7865 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
7866 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7875 LIPO=$ac_cv_prog_LIPO
7876 if test -n "$LIPO"; then
7877 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
7878 $as_echo "$LIPO" >&6; }
7880 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7881 $as_echo "no
" >&6; }
7886 if test -z "$ac_cv_prog_LIPO"; then
7888 # Extract the first word of "lipo
", so it can be a program name with args.
7889 set dummy lipo; ac_word=$2
7890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7891 $as_echo_n "checking
for $ac_word...
" >&6; }
7892 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7893 $as_echo_n "(cached
) " >&6
7895 if test -n "$ac_ct_LIPO"; then
7896 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7898 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7902 test -z "$as_dir" && as_dir=.
7903 for ac_exec_ext in '' $ac_executable_extensions; do
7904 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7905 ac_cv_prog_ac_ct_LIPO="lipo
"
7906 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7915 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7916 if test -n "$ac_ct_LIPO"; then
7917 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_LIPO" >&5
7918 $as_echo "$ac_ct_LIPO" >&6; }
7920 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7921 $as_echo "no
" >&6; }
7924 if test "x
$ac_ct_LIPO" = x; then
7927 case $cross_compiling:$ac_tool_warned in
7929 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7930 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7931 ac_tool_warned=yes ;;
7936 LIPO="$ac_cv_prog_LIPO"
7939 if test -n "$ac_tool_prefix"; then
7940 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
7941 set dummy ${ac_tool_prefix}otool; ac_word=$2
7942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7943 $as_echo_n "checking
for $ac_word...
" >&6; }
7944 if ${ac_cv_prog_OTOOL+:} false; then :
7945 $as_echo_n "(cached
) " >&6
7947 if test -n "$OTOOL"; then
7948 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7950 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7954 test -z "$as_dir" && as_dir=.
7955 for ac_exec_ext in '' $ac_executable_extensions; do
7956 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7957 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
7958 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7967 OTOOL=$ac_cv_prog_OTOOL
7968 if test -n "$OTOOL"; then
7969 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
7970 $as_echo "$OTOOL" >&6; }
7972 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7973 $as_echo "no
" >&6; }
7978 if test -z "$ac_cv_prog_OTOOL"; then
7980 # Extract the first word of "otool
", so it can be a program name with args.
7981 set dummy otool; ac_word=$2
7982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7983 $as_echo_n "checking
for $ac_word...
" >&6; }
7984 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7985 $as_echo_n "(cached
) " >&6
7987 if test -n "$ac_ct_OTOOL"; then
7988 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7990 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7994 test -z "$as_dir" && as_dir=.
7995 for ac_exec_ext in '' $ac_executable_extensions; do
7996 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7997 ac_cv_prog_ac_ct_OTOOL="otool
"
7998 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8007 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8008 if test -n "$ac_ct_OTOOL"; then
8009 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL" >&5
8010 $as_echo "$ac_ct_OTOOL" >&6; }
8012 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8013 $as_echo "no
" >&6; }
8016 if test "x
$ac_ct_OTOOL" = x; then
8019 case $cross_compiling:$ac_tool_warned in
8021 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8022 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8023 ac_tool_warned=yes ;;
8028 OTOOL="$ac_cv_prog_OTOOL"
8031 if test -n "$ac_tool_prefix"; then
8032 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
8033 set dummy ${ac_tool_prefix}otool64; ac_word=$2
8034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8035 $as_echo_n "checking
for $ac_word...
" >&6; }
8036 if ${ac_cv_prog_OTOOL64+:} false; then :
8037 $as_echo_n "(cached
) " >&6
8039 if test -n "$OTOOL64"; then
8040 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8042 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8046 test -z "$as_dir" && as_dir=.
8047 for ac_exec_ext in '' $ac_executable_extensions; do
8048 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8049 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
8050 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8059 OTOOL64=$ac_cv_prog_OTOOL64
8060 if test -n "$OTOOL64"; then
8061 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL64" >&5
8062 $as_echo "$OTOOL64" >&6; }
8064 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8065 $as_echo "no
" >&6; }
8070 if test -z "$ac_cv_prog_OTOOL64"; then
8071 ac_ct_OTOOL64=$OTOOL64
8072 # Extract the first word of "otool64
", so it can be a program name with args.
8073 set dummy otool64; ac_word=$2
8074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8075 $as_echo_n "checking
for $ac_word...
" >&6; }
8076 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
8077 $as_echo_n "(cached
) " >&6
8079 if test -n "$ac_ct_OTOOL64"; then
8080 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8082 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8086 test -z "$as_dir" && as_dir=.
8087 for ac_exec_ext in '' $ac_executable_extensions; do
8088 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8089 ac_cv_prog_ac_ct_OTOOL64="otool64
"
8090 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8099 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8100 if test -n "$ac_ct_OTOOL64"; then
8101 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL64" >&5
8102 $as_echo "$ac_ct_OTOOL64" >&6; }
8104 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8105 $as_echo "no
" >&6; }
8108 if test "x
$ac_ct_OTOOL64" = x; then
8111 case $cross_compiling:$ac_tool_warned in
8113 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8114 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8115 ac_tool_warned=yes ;;
8117 OTOOL64=$ac_ct_OTOOL64
8120 OTOOL64="$ac_cv_prog_OTOOL64"
8149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -single_module linker flag
" >&5
8150 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
8151 if ${lt_cv_apple_cc_single_mod+:} false; then :
8152 $as_echo_n "(cached
) " >&6
8154 lt_cv_apple_cc_single_mod=no
8155 if test -z "${LT_MULTI_MODULE}"; then
8156 # By default we will add the -single_module flag. You can override
8157 # by either setting the environment variable LT_MULTI_MODULE
8158 # non-empty at configure time, or by adding -multi_module to the
8160 rm -rf libconftest.dylib*
8161 echo "int foo
(void
){return 1;}" > conftest.c
8162 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8163 -dynamiclib -Wl,-single_module conftest.c
" >&5
8164 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8165 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8167 # If there is a non-empty error log, and "single_module
"
8168 # appears in it, assume the flag caused a linker warning
8169 if test -s conftest.err && $GREP single_module conftest.err; then
8170 cat conftest.err >&5
8171 # Otherwise, if the output was created with a 0 exit code from
8172 # the compiler, it worked.
8173 elif test -f libconftest.dylib && test $_lt_result -eq 0; then
8174 lt_cv_apple_cc_single_mod=yes
8176 cat conftest.err >&5
8178 rm -rf libconftest.dylib*
8182 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_apple_cc_single_mod" >&5
8183 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -exported_symbols_list linker flag
" >&5
8186 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
8187 if ${lt_cv_ld_exported_symbols_list+:} false; then :
8188 $as_echo_n "(cached
) " >&6
8190 lt_cv_ld_exported_symbols_list=no
8191 save_LDFLAGS=$LDFLAGS
8192 echo "_main
" > conftest.sym
8193 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
8194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8195 /* end confdefs.h. */
8205 if ac_fn_c_try_link "$LINENO"; then :
8206 lt_cv_ld_exported_symbols_list=yes
8208 lt_cv_ld_exported_symbols_list=no
8210 rm -f core conftest.err conftest.$ac_objext \
8211 conftest$ac_exeext conftest.$ac_ext
8212 LDFLAGS="$save_LDFLAGS"
8215 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_exported_symbols_list" >&5
8216 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -force_load linker flag
" >&5
8219 $as_echo_n "checking
for -force_load linker flag...
" >&6; }
8220 if ${lt_cv_ld_force_load+:} false; then :
8221 $as_echo_n "(cached
) " >&6
8223 lt_cv_ld_force_load=no
8224 cat > conftest.c << _LT_EOF
8225 int forced_loaded() { return 2;}
8227 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c
" >&5
8228 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8229 echo "$AR cru libconftest.a conftest.o
" >&5
8230 $AR cru libconftest.a conftest.o 2>&5
8231 echo "$RANLIB libconftest.a
" >&5
8232 $RANLIB libconftest.a 2>&5
8233 cat > conftest.c << _LT_EOF
8234 int main() { return 0;}
8236 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
" >&5
8237 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8239 if test -s conftest.err && $GREP force_load conftest.err; then
8240 cat conftest.err >&5
8241 elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
8242 lt_cv_ld_force_load=yes
8244 cat conftest.err >&5
8246 rm -f conftest.err libconftest.a conftest conftest.c
8247 rm -rf conftest.dSYM
8250 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_force_load" >&5
8251 $as_echo "$lt_cv_ld_force_load" >&6; }
8253 rhapsody* | darwin1.[012])
8254 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
8256 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8257 darwin*) # darwin 5.x on
8258 # if running on 10.5 or later, the deployment target defaults
8259 # to the OS version, if on x86, and 10.4, the deployment
8260 # target defaults to 10.4. Don't you love it?
8261 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8262 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8263 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8265 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8267 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8271 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8272 _lt_dar_single_mod='$single_module'
8274 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8275 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8277 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8279 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no
"; then
8280 _lt_dsymutil='~$DSYMUTIL $lib || :'
8288 ac_cpp='$CPP $CPPFLAGS'
8289 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8290 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8291 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor
" >&5
8293 $as_echo_n "checking how to run the C preprocessor...
" >&6; }
8294 # On Suns, sometimes $CPP names a directory.
8295 if test -n "$CPP" && test -d "$CPP"; then
8298 if test -z "$CPP"; then
8299 if ${ac_cv_prog_CPP+:} false; then :
8300 $as_echo_n "(cached
) " >&6
8302 # Double quotes because CPP needs to be expanded
8303 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
8306 for ac_c_preproc_warn_flag in '' yes
8308 # Use a header file that comes with gcc, so configuring glibc
8309 # with a fresh cross-compiler works.
8310 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8311 # <limits.h> exists even on freestanding compilers.
8312 # On the NeXT, cc -E runs the code through the compiler's parser,
8313 # not just through cpp. "Syntax error
" is here to catch this case.
8314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8315 /* end confdefs.h. */
8317 # include <limits.h>
8319 # include <assert.h>
8323 if ac_fn_c_try_cpp "$LINENO"; then :
8326 # Broken: fails on valid input.
8329 rm -f conftest.err conftest.i conftest.$ac_ext
8331 # OK, works on sane cases. Now check whether nonexistent headers
8332 # can be detected and how.
8333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8334 /* end confdefs.h. */
8335 #include <ac_nonexistent.h>
8337 if ac_fn_c_try_cpp "$LINENO"; then :
8338 # Broken: success on invalid input.
8341 # Passes both tests.
8345 rm -f conftest.err conftest.i conftest.$ac_ext
8348 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8349 rm -f conftest.i conftest.err conftest.$ac_ext
8350 if $ac_preproc_ok; then :
8362 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CPP" >&5
8363 $as_echo "$CPP" >&6; }
8365 for ac_c_preproc_warn_flag in '' yes
8367 # Use a header file that comes with gcc, so configuring glibc
8368 # with a fresh cross-compiler works.
8369 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8370 # <limits.h> exists even on freestanding compilers.
8371 # On the NeXT, cc -E runs the code through the compiler's parser,
8372 # not just through cpp. "Syntax error
" is here to catch this case.
8373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8374 /* end confdefs.h. */
8376 # include <limits.h>
8378 # include <assert.h>
8382 if ac_fn_c_try_cpp "$LINENO"; then :
8385 # Broken: fails on valid input.
8388 rm -f conftest.err conftest.i conftest.$ac_ext
8390 # OK, works on sane cases. Now check whether nonexistent headers
8391 # can be detected and how.
8392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8393 /* end confdefs.h. */
8394 #include <ac_nonexistent.h>
8396 if ac_fn_c_try_cpp "$LINENO"; then :
8397 # Broken: success on invalid input.
8400 # Passes both tests.
8404 rm -f conftest.err conftest.i conftest.$ac_ext
8407 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8408 rm -f conftest.i conftest.err conftest.$ac_ext
8409 if $ac_preproc_ok; then :
8412 { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
8413 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8414 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
8415 See \`config.log' for more details
" "$LINENO" 5; }
8419 ac_cpp='$CPP $CPPFLAGS'
8420 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8421 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8422 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ANSI C header files
" >&5
8426 $as_echo_n "checking
for ANSI C header files...
" >&6; }
8427 if ${ac_cv_header_stdc+:} false; then :
8428 $as_echo_n "(cached
) " >&6
8430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8431 /* end confdefs.h. */
8445 if ac_fn_c_try_compile "$LINENO"; then :
8446 ac_cv_header_stdc=yes
8448 ac_cv_header_stdc=no
8450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8452 if test $ac_cv_header_stdc = yes; then
8453 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8455 /* end confdefs.h. */
8459 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
8460 $EGREP "memchr
" >/dev/null 2>&1; then :
8463 ac_cv_header_stdc=no
8469 if test $ac_cv_header_stdc = yes; then
8470 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8472 /* end confdefs.h. */
8476 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
8477 $EGREP "free
" >/dev/null 2>&1; then :
8480 ac_cv_header_stdc=no
8486 if test $ac_cv_header_stdc = yes; then
8487 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8488 if test "$cross_compiling" = yes; then :
8491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8492 /* end confdefs.h. */
8495 #if ((' ' & 0x0FF) == 0x020)
8496 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8497 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8499 # define ISLOWER(c) \
8500 (('a' <= (c) && (c) <= 'i') \
8501 || ('j' <= (c) && (c) <= 'r') \
8502 || ('s' <= (c) && (c) <= 'z'))
8503 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8506 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8511 for (i = 0; i < 256; i++)
8512 if (XOR (islower (i), ISLOWER (i))
8513 || toupper (i) != TOUPPER (i))
8518 if ac_fn_c_try_run "$LINENO"; then :
8521 ac_cv_header_stdc=no
8523 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8524 conftest.$ac_objext conftest.beam conftest.$ac_ext
8529 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_header_stdc" >&5
8530 $as_echo "$ac_cv_header_stdc" >&6; }
8531 if test $ac_cv_header_stdc = yes; then
8533 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
8537 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
8538 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
8539 inttypes.h stdint.h unistd.h
8541 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8542 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8544 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
8545 cat >>confdefs.h
<<_ACEOF
8546 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8554 for ac_header
in dlfcn.h
8556 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8558 if test "x$ac_cv_header_dlfcn_h" = xyes
; then :
8559 cat >>confdefs.h
<<_ACEOF
8560 #define HAVE_DLFCN_H 1
8570 func_stripname_cnf
()
8573 .
*) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
8574 *) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
8576 } # func_stripname_cnf
8583 # Check whether --enable-static was given.
8584 if test "${enable_static+set}" = set; then :
8585 enableval
=$enable_static; p
=${PACKAGE-default}
8587 yes) enable_static
=yes ;;
8588 no
) enable_static
=no
;;
8591 # Look at the argument we got. We use all the common list separators.
8592 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8593 for pkg
in $enableval; do
8595 if test "X$pkg" = "X$p"; then
8621 # Check whether --enable-shared was given.
8622 if test "${enable_shared+set}" = set; then :
8623 enableval
=$enable_shared; p
=${PACKAGE-default}
8625 yes) enable_shared
=yes ;;
8626 no
) enable_shared
=no
;;
8629 # Look at the argument we got. We use all the common list separators.
8630 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8631 for pkg
in $enableval; do
8633 if test "X$pkg" = "X$p"; then
8654 # Check whether --with-pic was given.
8655 if test "${with_pic+set}" = set; then :
8656 withval
=$with_pic; lt_p
=${PACKAGE-default}
8658 yes|no
) pic_mode
=$withval ;;
8661 # Look at the argument we got. We use all the common list separators.
8662 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8663 for lt_pkg
in $withval; do
8665 if test "X$lt_pkg" = "X$lt_p"; then
8677 test -z "$pic_mode" && pic_mode
=default
8685 # Check whether --enable-fast-install was given.
8686 if test "${enable_fast_install+set}" = set; then :
8687 enableval
=$enable_fast_install; p
=${PACKAGE-default}
8689 yes) enable_fast_install
=yes ;;
8690 no
) enable_fast_install
=no
;;
8692 enable_fast_install
=no
8693 # Look at the argument we got. We use all the common list separators.
8694 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8695 for pkg
in $enableval; do
8697 if test "X$pkg" = "X$p"; then
8698 enable_fast_install
=yes
8705 enable_fast_install
=yes
8718 # This can be used to rebuild libtool when needed
8719 LIBTOOL_DEPS
="$ltmain"
8721 # Always use our own libtool.
8722 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
8753 test -z "$LN_S" && LN_S
="ln -s"
8768 if test -n "${ZSH_VERSION+set}" ; then
8769 setopt NO_GLOB_SUBST
8772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8773 $as_echo_n "checking for objdir... " >&6; }
8774 if ${lt_cv_objdir+:} false
; then :
8775 $as_echo_n "(cached) " >&6
8777 rm -f .libs
2>/dev
/null
8778 mkdir .libs
2>/dev
/null
8779 if test -d .libs
; then
8782 # MS-DOS does not allow filenames that begin with a dot.
8785 rmdir .libs
2>/dev
/null
8787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8788 $as_echo "$lt_cv_objdir" >&6; }
8789 objdir
=$lt_cv_objdir
8795 cat >>confdefs.h
<<_ACEOF
8796 #define LT_OBJDIR "$lt_cv_objdir/"
8804 # AIX sometimes has problems with the GCC collect2 program. For some
8805 # reason, if we set the COLLECT_NAMES environment variable, the problems
8806 # vanish in a puff of smoke.
8807 if test "X${COLLECT_NAMES+set}" != Xset
; then
8809 export COLLECT_NAMES
8816 can_build_shared
=yes
8818 # All known linkers require a `.a' archive for static linking (except MSVC,
8819 # which needs '.lib').
8822 with_gnu_ld
="$lt_cv_prog_gnu_ld"
8825 old_CFLAGS
="$CFLAGS"
8827 # Set sane defaults for various variables
8828 test -z "$CC" && CC
=cc
8829 test -z "$LTCC" && LTCC
=$CC
8830 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
8831 test -z "$LD" && LD
=ld
8832 test -z "$ac_objext" && ac_objext
=o
8834 for cc_temp
in $compiler""; do
8836 compile
| *[\\/]compile
| ccache
| *[\\/]ccache
) ;;
8837 distcc
| *[\\/]distcc
| purify
| *[\\/]purify
) ;;
8842 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8845 # Only perform the check for file, if the check method requires it
8846 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
8847 case $deplibs_check_method in
8849 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8851 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8852 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
8853 $as_echo_n "(cached) " >&6
8857 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
8860 lt_save_MAGIC_CMD
="$MAGIC_CMD"
8861 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8862 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8863 for ac_dir
in $ac_dummy; do
8865 test -z "$ac_dir" && ac_dir
=.
8866 if test -f $ac_dir/${ac_tool_prefix}file; then
8867 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
8868 if test -n "$file_magic_test_file"; then
8869 case $deplibs_check_method in
8871 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8872 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8873 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null
|
8874 $EGREP "$file_magic_regex" > /dev
/null
; then
8879 *** Warning: the command libtool uses to detect shared libraries,
8880 *** $file_magic_cmd, produces output that libtool cannot recognize.
8881 *** The result is that libtool may fail to recognize shared libraries
8882 *** as such. This will affect the creation of libtool libraries that
8883 *** depend on shared libraries, but programs linked with such libtool
8884 *** libraries will work regardless of this problem. Nevertheless, you
8885 *** may want to report the problem to your system manager and/or to
8886 *** bug-libtool@gnu.org
8896 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8901 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8902 if test -n "$MAGIC_CMD"; then
8903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8904 $as_echo "$MAGIC_CMD" >&6; }
8906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8907 $as_echo "no" >&6; }
8914 if test -z "$lt_cv_path_MAGIC_CMD"; then
8915 if test -n "$ac_tool_prefix"; then
8916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8917 $as_echo_n "checking for file... " >&6; }
8918 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
8919 $as_echo_n "(cached) " >&6
8923 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
8926 lt_save_MAGIC_CMD
="$MAGIC_CMD"
8927 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8928 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8929 for ac_dir
in $ac_dummy; do
8931 test -z "$ac_dir" && ac_dir
=.
8932 if test -f $ac_dir/file; then
8933 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
8934 if test -n "$file_magic_test_file"; then
8935 case $deplibs_check_method in
8937 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8938 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8939 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null
|
8940 $EGREP "$file_magic_regex" > /dev
/null
; then
8945 *** Warning: the command libtool uses to detect shared libraries,
8946 *** $file_magic_cmd, produces output that libtool cannot recognize.
8947 *** The result is that libtool may fail to recognize shared libraries
8948 *** as such. This will affect the creation of libtool libraries that
8949 *** depend on shared libraries, but programs linked with such libtool
8950 *** libraries will work regardless of this problem. Nevertheless, you
8951 *** may want to report the problem to your system manager and/or to
8952 *** bug-libtool@gnu.org
8962 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8967 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8968 if test -n "$MAGIC_CMD"; then
8969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8970 $as_echo "$MAGIC_CMD" >&6; }
8972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8973 $as_echo "no" >&6; }
8986 # Use C for the default configuration in the libtool script
8990 ac_cpp
='$CPP $CPPFLAGS'
8991 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8992 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8993 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8996 # Source file extension for C test sources.
8999 # Object file extension for compiled C test sources.
9003 # Code to be used in simple compile tests
9004 lt_simple_compile_test_code
="int some_variable = 0;"
9006 # Code to be used in simple link tests
9007 lt_simple_link_test_code
='int main(){return(0);}'
9015 # If no C compiler was specified, use CC.
9018 # If no C compiler flags were specified, use CFLAGS.
9019 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
9021 # Allow CC to be a program name with arguments.
9024 # Save the default compiler, since it gets overwritten when the other
9025 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9026 compiler_DEFAULT
=$CC
9028 # save warnings/boilerplate of simple test code
9029 ac_outfile
=conftest.
$ac_objext
9030 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
9031 eval "$ac_compile" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
9032 _lt_compiler_boilerplate
=`cat conftest.err`
9035 ac_outfile
=conftest.
$ac_objext
9036 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
9037 eval "$ac_link" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
9038 _lt_linker_boilerplate
=`cat conftest.err`
9043 ## There is no encapsulation within the following macros, do not change
9044 ## the running order or otherwise move them around unless you know exactly
9045 ## what you are doing...
9046 if test -n "$compiler"; then
9048 lt_prog_compiler_no_builtin_flag
=
9050 if test "$GCC" = yes; then
9051 case $cc_basename in
9053 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
9055 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
9058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9059 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9060 if ${lt_cv_prog_compiler_rtti_exceptions+:} false
; then :
9061 $as_echo_n "(cached) " >&6
9063 lt_cv_prog_compiler_rtti_exceptions
=no
9064 ac_outfile
=conftest.
$ac_objext
9065 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9066 lt_compiler_flag
="-fno-rtti -fno-exceptions"
9067 # Insert the option either (1) after the last *FLAGS variable, or
9068 # (2) before a word containing "conftest.", or (3) at the end.
9069 # Note that $ac_compile itself does not contain backslashes and begins
9070 # with a dollar sign (not a hyphen), so the echo should work correctly.
9071 # The option is referenced via a variable to avoid confusing sed.
9072 lt_compile
=`echo "$ac_compile" | $SED \
9073 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9074 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9075 -e 's:$: $lt_compiler_flag:'`
9076 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9077 (eval "$lt_compile" 2>conftest.err
)
9079 cat conftest.err
>&5
9080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9081 if (exit $ac_status) && test -s "$ac_outfile"; then
9082 # The compiler can only warn and ignore the option if not recognized
9083 # So say no if there are warnings other than the usual output.
9084 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9085 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9086 if test ! -s conftest.er2
|| diff conftest.exp conftest.er2
>/dev
/null
; then
9087 lt_cv_prog_compiler_rtti_exceptions
=yes
9093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9094 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9096 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
9097 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9109 lt_prog_compiler_wl
=
9110 lt_prog_compiler_pic
=
9111 lt_prog_compiler_static
=
9114 if test "$GCC" = yes; then
9115 lt_prog_compiler_wl
='-Wl,'
9116 lt_prog_compiler_static
='-static'
9120 # All AIX code is PIC.
9121 if test "$host_cpu" = ia64
; then
9122 # AIX 5 now supports IA64 processor
9123 lt_prog_compiler_static
='-Bstatic'
9130 # see comment about AmigaOS4 .so support
9131 lt_prog_compiler_pic
='-fPIC'
9134 # FIXME: we need at least 68020 code to build shared libraries, but
9135 # adding the `-m68020' flag to GCC prevents building anything better,
9137 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
9142 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
9143 # PIC is the default for these OSes.
9146 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
9147 # This hack is so that the source file can tell whether it is being
9148 # built for inclusion in a dll (and should export symbols for example).
9149 # Although the cygwin gcc ignores -fPIC, still need this for old-style
9150 # (--disable-auto-import) libraries
9151 lt_prog_compiler_pic
='-DDLL_EXPORT'
9154 darwin
* | rhapsody
*)
9155 # PIC is the default on this platform
9156 # Common symbols not allowed in MH_DYLIB files
9157 lt_prog_compiler_pic
='-fno-common'
9161 # PIC is the default for Haiku.
9162 # The "-static" flag exists, but is broken.
9163 lt_prog_compiler_static
=
9167 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9168 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
9169 # sets the default TLS model and affects inlining.
9175 lt_prog_compiler_pic
='-fPIC'
9181 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9182 # Instead, we relocate shared libraries at runtime.
9186 # Just because we use GCC doesn't mean we suddenly get shared libraries
9187 # on systems that don't support them.
9188 lt_prog_compiler_can_build_shared
=no
9193 # QNX uses GNU C++, but need to define -shared option too, otherwise
9195 lt_prog_compiler_pic
='-fPIC -shared'
9199 if test -d /usr
/nec
; then
9200 lt_prog_compiler_pic
=-Kconform_pic
9205 lt_prog_compiler_pic
='-fPIC'
9209 case $cc_basename in
9210 nvcc
*) # Cuda Compiler Driver 2.2
9211 lt_prog_compiler_wl
='-Xlinker '
9212 if test -n "$lt_prog_compiler_pic"; then
9213 lt_prog_compiler_pic
="-Xcompiler $lt_prog_compiler_pic"
9218 # PORTME Check for flag to pass linker flags through the system compiler.
9221 lt_prog_compiler_wl
='-Wl,'
9222 if test "$host_cpu" = ia64
; then
9223 # AIX 5 now supports IA64 processor
9224 lt_prog_compiler_static
='-Bstatic'
9226 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
9230 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
9231 # This hack is so that the source file can tell whether it is being
9232 # built for inclusion in a dll (and should export symbols for example).
9233 lt_prog_compiler_pic
='-DDLL_EXPORT'
9236 hpux9
* | hpux10
* | hpux11
*)
9237 lt_prog_compiler_wl
='-Wl,'
9238 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9245 lt_prog_compiler_pic
='+Z'
9248 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9249 lt_prog_compiler_static
='${wl}-a ${wl}archive'
9252 irix5
* | irix6
* | nonstopux
*)
9253 lt_prog_compiler_wl
='-Wl,'
9254 # PIC (with -KPIC) is the default.
9255 lt_prog_compiler_static
='-non_shared'
9258 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
9259 case $cc_basename in
9260 # old Intel for x86_64 which still supported -KPIC.
9262 lt_prog_compiler_wl
='-Wl,'
9263 lt_prog_compiler_pic
='-KPIC'
9264 lt_prog_compiler_static
='-static'
9266 # icc used to be incompatible with GCC.
9267 # ICC 10 doesn't accept -KPIC any more.
9269 lt_prog_compiler_wl
='-Wl,'
9270 lt_prog_compiler_pic
='-fPIC'
9271 lt_prog_compiler_static
='-static'
9273 # Lahey Fortran 8.1.
9275 lt_prog_compiler_wl
='-Wl,'
9276 lt_prog_compiler_pic
='--shared'
9277 lt_prog_compiler_static
='--static'
9280 # NAG Fortran compiler
9281 lt_prog_compiler_wl
='-Wl,-Wl,,'
9282 lt_prog_compiler_pic
='-PIC'
9283 lt_prog_compiler_static
='-Bstatic'
9285 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
9286 # Portland Group compilers (*not* the Pentium gcc compiler,
9287 # which looks to be a dead project)
9288 lt_prog_compiler_wl
='-Wl,'
9289 lt_prog_compiler_pic
='-fpic'
9290 lt_prog_compiler_static
='-Bstatic'
9293 lt_prog_compiler_wl
='-Wl,'
9294 # All Alpha code is PIC.
9295 lt_prog_compiler_static
='-non_shared'
9297 xl
* | bgxl
* | bgf
* | mpixl
*)
9298 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9299 lt_prog_compiler_wl
='-Wl,'
9300 lt_prog_compiler_pic
='-qpic'
9301 lt_prog_compiler_static
='-qstaticlink'
9304 case `$CC -V 2>&1 | sed 5q` in
9305 *Sun\ Ceres\ Fortran
* | *Sun
*Fortran
*\
[1-7].
* | *Sun
*Fortran
*\
8.
[0-3]*)
9306 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9307 lt_prog_compiler_pic
='-KPIC'
9308 lt_prog_compiler_static
='-Bstatic'
9309 lt_prog_compiler_wl
=''
9311 *Sun\ F
* | *Sun
*Fortran
*)
9312 lt_prog_compiler_pic
='-KPIC'
9313 lt_prog_compiler_static
='-Bstatic'
9314 lt_prog_compiler_wl
='-Qoption ld '
9318 lt_prog_compiler_pic
='-KPIC'
9319 lt_prog_compiler_static
='-Bstatic'
9320 lt_prog_compiler_wl
='-Wl,'
9322 *Intel
*\
[CF
]*Compiler
*)
9323 lt_prog_compiler_wl
='-Wl,'
9324 lt_prog_compiler_pic
='-fPIC'
9325 lt_prog_compiler_static
='-static'
9328 lt_prog_compiler_wl
='-Wl,'
9329 lt_prog_compiler_pic
='-fpic'
9330 lt_prog_compiler_static
='-Bstatic'
9338 lt_prog_compiler_pic
='-KPIC'
9339 lt_prog_compiler_static
='-Bstatic'
9343 # QNX uses GNU C++, but need to define -shared option too, otherwise
9345 lt_prog_compiler_pic
='-fPIC -shared'
9348 osf3
* | osf4
* | osf5
*)
9349 lt_prog_compiler_wl
='-Wl,'
9350 # All OSF/1 code is PIC.
9351 lt_prog_compiler_static
='-non_shared'
9355 lt_prog_compiler_static
='-non_shared'
9359 lt_prog_compiler_pic
='-KPIC'
9360 lt_prog_compiler_static
='-Bstatic'
9361 case $cc_basename in
9362 f77
* | f90
* | f95
* | sunf77
* | sunf90
* | sunf95
*)
9363 lt_prog_compiler_wl
='-Qoption ld ';;
9365 lt_prog_compiler_wl
='-Wl,';;
9370 lt_prog_compiler_wl
='-Qoption ld '
9371 lt_prog_compiler_pic
='-PIC'
9372 lt_prog_compiler_static
='-Bstatic'
9375 sysv4
| sysv4.2uw2
* | sysv4.3
*)
9376 lt_prog_compiler_wl
='-Wl,'
9377 lt_prog_compiler_pic
='-KPIC'
9378 lt_prog_compiler_static
='-Bstatic'
9382 if test -d /usr
/nec
;then
9383 lt_prog_compiler_pic
='-Kconform_pic'
9384 lt_prog_compiler_static
='-Bstatic'
9388 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
9389 lt_prog_compiler_wl
='-Wl,'
9390 lt_prog_compiler_pic
='-KPIC'
9391 lt_prog_compiler_static
='-Bstatic'
9395 lt_prog_compiler_wl
='-Wl,'
9396 lt_prog_compiler_can_build_shared
=no
9400 lt_prog_compiler_pic
='-pic'
9401 lt_prog_compiler_static
='-Bstatic'
9405 lt_prog_compiler_can_build_shared
=no
9411 # For platforms which do not support PIC, -DPIC is meaningless:
9413 lt_prog_compiler_pic
=
9416 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
9420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9421 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9422 if ${lt_cv_prog_compiler_pic+:} false
; then :
9423 $as_echo_n "(cached) " >&6
9425 lt_cv_prog_compiler_pic
=$lt_prog_compiler_pic
9427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
9428 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
9429 lt_prog_compiler_pic
=$lt_cv_prog_compiler_pic
9432 # Check to make sure the PIC flag actually works.
9434 if test -n "$lt_prog_compiler_pic"; then
9435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9436 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9437 if ${lt_cv_prog_compiler_pic_works+:} false
; then :
9438 $as_echo_n "(cached) " >&6
9440 lt_cv_prog_compiler_pic_works
=no
9441 ac_outfile
=conftest.
$ac_objext
9442 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9443 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
9444 # Insert the option either (1) after the last *FLAGS variable, or
9445 # (2) before a word containing "conftest.", or (3) at the end.
9446 # Note that $ac_compile itself does not contain backslashes and begins
9447 # with a dollar sign (not a hyphen), so the echo should work correctly.
9448 # The option is referenced via a variable to avoid confusing sed.
9449 lt_compile
=`echo "$ac_compile" | $SED \
9450 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9451 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9452 -e 's:$: $lt_compiler_flag:'`
9453 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9454 (eval "$lt_compile" 2>conftest.err
)
9456 cat conftest.err
>&5
9457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9458 if (exit $ac_status) && test -s "$ac_outfile"; then
9459 # The compiler can only warn and ignore the option if not recognized
9460 # So say no if there are warnings other than the usual output.
9461 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9462 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9463 if test ! -s conftest.er2
|| diff conftest.exp conftest.er2
>/dev
/null
; then
9464 lt_cv_prog_compiler_pic_works
=yes
9470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9471 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9473 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
9474 case $lt_prog_compiler_pic in
9476 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
9479 lt_prog_compiler_pic
=
9480 lt_prog_compiler_can_build_shared
=no
9496 # Check to make sure the static flag actually works.
9498 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
9499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9500 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9501 if ${lt_cv_prog_compiler_static_works+:} false
; then :
9502 $as_echo_n "(cached) " >&6
9504 lt_cv_prog_compiler_static_works
=no
9505 save_LDFLAGS
="$LDFLAGS"
9506 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
9507 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9508 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9509 # The linker can only warn and ignore the option if not recognized
9510 # So say no if there are warnings
9511 if test -s conftest.err
; then
9512 # Append any errors to the config.log.
9513 cat conftest.err
1>&5
9514 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9515 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9516 if diff conftest.exp conftest.er2
>/dev
/null
; then
9517 lt_cv_prog_compiler_static_works
=yes
9520 lt_cv_prog_compiler_static_works
=yes
9524 LDFLAGS
="$save_LDFLAGS"
9527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9528 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9530 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
9533 lt_prog_compiler_static
=
9542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9543 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9544 if ${lt_cv_prog_compiler_c_o+:} false
; then :
9545 $as_echo_n "(cached) " >&6
9547 lt_cv_prog_compiler_c_o
=no
9548 $RM -r conftest
2>/dev
/null
9552 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9554 lt_compiler_flag
="-o out/conftest2.$ac_objext"
9555 # Insert the option either (1) after the last *FLAGS variable, or
9556 # (2) before a word containing "conftest.", or (3) at the end.
9557 # Note that $ac_compile itself does not contain backslashes and begins
9558 # with a dollar sign (not a hyphen), so the echo should work correctly.
9559 lt_compile
=`echo "$ac_compile" | $SED \
9560 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9561 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9562 -e 's:$: $lt_compiler_flag:'`
9563 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9564 (eval "$lt_compile" 2>out
/conftest.err
)
9566 cat out
/conftest.err
>&5
9567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9568 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
9570 # The compiler can only warn and ignore the option if not recognized
9571 # So say no if there are warnings
9572 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out
/conftest.exp
9573 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
9574 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
9575 lt_cv_prog_compiler_c_o
=yes
9580 # SGI C++ compiler will create directory out/ii_files/ for
9581 # template instantiation
9582 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
9583 $RM out
/* && rmdir out
9589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9590 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9598 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9599 if ${lt_cv_prog_compiler_c_o+:} false
; then :
9600 $as_echo_n "(cached) " >&6
9602 lt_cv_prog_compiler_c_o
=no
9603 $RM -r conftest
2>/dev
/null
9607 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9609 lt_compiler_flag
="-o out/conftest2.$ac_objext"
9610 # Insert the option either (1) after the last *FLAGS variable, or
9611 # (2) before a word containing "conftest.", or (3) at the end.
9612 # Note that $ac_compile itself does not contain backslashes and begins
9613 # with a dollar sign (not a hyphen), so the echo should work correctly.
9614 lt_compile
=`echo "$ac_compile" | $SED \
9615 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9616 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9617 -e 's:$: $lt_compiler_flag:'`
9618 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9619 (eval "$lt_compile" 2>out
/conftest.err
)
9621 cat out
/conftest.err
>&5
9622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9623 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
9625 # The compiler can only warn and ignore the option if not recognized
9626 # So say no if there are warnings
9627 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out
/conftest.exp
9628 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
9629 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
9630 lt_cv_prog_compiler_c_o
=yes
9635 # SGI C++ compiler will create directory out/ii_files/ for
9636 # template instantiation
9637 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
9638 $RM out
/* && rmdir out
9644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9645 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9650 hard_links
="nottested"
9651 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
9652 # do not overwrite the value of need_locks provided by the user
9653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9654 $as_echo_n "checking if we can lock with hard links... " >&6; }
9657 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9659 ln conftest.a conftest.b
2>&5 || hard_links
=no
9660 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9662 $as_echo "$hard_links" >&6; }
9663 if test "$hard_links" = no
; then
9664 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9665 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9678 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9681 allow_undefined_flag
=
9682 always_export_symbols
=no
9684 archive_expsym_cmds
=
9685 compiler_needs_object
=no
9686 enable_shared_with_static_runtimes
=no
9687 export_dynamic_flag_spec
=
9688 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9689 hardcode_automatic
=no
9691 hardcode_direct_absolute
=no
9692 hardcode_libdir_flag_spec
=
9693 hardcode_libdir_separator
=
9695 hardcode_shlibpath_var
=unsupported
9697 link_all_deplibs
=unknown
9700 old_archive_from_new_cmds
=
9701 old_archive_from_expsyms_cmds
=
9702 thread_safe_flag_spec
=
9703 whole_archive_flag_spec
=
9704 # include_expsyms should be a list of space-separated symbols to be *always*
9705 # included in the symbol list
9707 # exclude_expsyms can be an extended regexp of symbols to exclude
9708 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9709 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9710 # as well as any symbol that contains `d'.
9711 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9712 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9713 # platforms (ab)use it in PIC code, but their linkers get confused if
9714 # the symbol is explicitly referenced. Since portable code cannot
9715 # rely on this symbol name, it's probably fine to never include it in
9716 # preloaded symbol tables.
9717 # Exclude shared library initialization/finalization symbols.
9718 extract_expsyms_cmds
=
9721 cygwin
* | mingw
* | pw32
* | cegcc
*)
9722 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9723 # When not using gcc, we currently assume that we are using
9724 # Microsoft Visual C++.
9725 if test "$GCC" != yes; then
9730 # we just hope/assume this is gcc and not c89 (= MSVC++)
9740 # On some targets, GNU ld is compatible enough with the native linker
9741 # that we're better off using the native interface for both.
9742 lt_use_gnu_ld_interface
=no
9743 if test "$with_gnu_ld" = yes; then
9746 # The AIX port of GNU ld has always aspired to compatibility
9747 # with the native linker. However, as the warning in the GNU ld
9748 # block says, versions before 2.19.5* couldn't really create working
9749 # shared libraries, regardless of the interface used.
9750 case `$LD -v 2>&1` in
9751 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
9752 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
9753 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
9755 lt_use_gnu_ld_interface
=yes
9760 lt_use_gnu_ld_interface
=yes
9765 if test "$lt_use_gnu_ld_interface" = yes; then
9766 # If archive_cmds runs LD, not CC, wlarc should be empty
9769 # Set some defaults for GNU ld with shared library support. These
9770 # are reset later if shared libraries are not supported. Putting them
9771 # here allows them to be overridden if necessary.
9772 runpath_var
=LD_RUN_PATH
9773 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9774 export_dynamic_flag_spec
='${wl}--export-dynamic'
9775 # ancient GNU ld didn't support --whole-archive et. al.
9776 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev
/null
; then
9777 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9779 whole_archive_flag_spec
=
9781 supports_anon_versioning
=no
9782 case `$LD -v 2>&1` in
9783 *GNU\ gold
*) supports_anon_versioning
=yes ;;
9784 *\
[01].
* | *\
2.
[0-9].
* | *\
2.10.
*) ;; # catch versions < 2.11
9785 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
9786 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
9787 *\
2.11.
*) ;; # other 2.11 versions
9788 *) supports_anon_versioning
=yes ;;
9791 # See if GNU ld supports shared libraries.
9794 # On AIX/PPC, the GNU linker is very broken
9795 if test "$host_cpu" != ia64
; then
9799 *** Warning: the GNU linker, at least up to release 2.19, is reported
9800 *** to be unable to reliably create shared libraries on AIX.
9801 *** Therefore, libtool is disabling shared libraries support. If you
9802 *** really care for shared libraries, you may want to install binutils
9803 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9804 *** You will then need to restart the configuration process.
9813 # see comment about AmigaOS4 .so support
9814 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9815 archive_expsym_cmds
=''
9818 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)'
9819 hardcode_libdir_flag_spec
='-L$libdir'
9820 hardcode_minus_L
=yes
9826 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
9827 allow_undefined_flag
=unsupported
9828 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9829 # support --undefined. This deserves some investigation. FIXME
9830 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9836 cygwin
* | mingw
* | pw32
* | cegcc
*)
9837 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9838 # as there is no search path for DLLs.
9839 hardcode_libdir_flag_spec
='-L$libdir'
9840 export_dynamic_flag_spec
='${wl}--export-all-symbols'
9841 allow_undefined_flag
=unsupported
9842 always_export_symbols
=no
9843 enable_shared_with_static_runtimes
=yes
9844 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'
9845 exclude_expsyms
='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9847 if $LD --help 2>&1 | $GREP 'auto-import' > /dev
/null
; then
9848 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9849 # If the export-symbols file already is a .def file (1st line
9850 # is EXPORTS), use it as is; otherwise, prepend...
9851 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9852 cp $export_symbols $output_objdir/$soname.def;
9854 echo EXPORTS > $output_objdir/$soname.def;
9855 cat $export_symbols >> $output_objdir/$soname.def;
9857 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9864 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9865 link_all_deplibs
=yes
9870 hardcode_shlibpath_var
=no
9871 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9872 export_dynamic_flag_spec
='${wl}-E'
9873 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9874 # Instead, shared libraries are loaded at an image base (0x10000000 by
9875 # default) and relocated if they conflict, which is a slow very memory
9876 # consuming and fragmenting process. To avoid this, we pick a random,
9877 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9878 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9879 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9880 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'
9883 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
9885 if test "$host_os" = linux
-dietlibc; then
9886 case $cc_basename in
9887 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
9890 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev
/null \
9891 && test "$tmp_diet" = no
9893 tmp_addflag
=' $pic_flag'
9894 tmp_sharedflag
='-shared'
9895 case $cc_basename,$host_cpu in
9896 pgcc
*) # Portland Group C compiler
9897 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'
9898 tmp_addflag
=' $pic_flag'
9900 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
9901 # Portland Group f77 and f90 compilers
9902 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'
9903 tmp_addflag
=' $pic_flag -Mnomain' ;;
9904 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
9905 tmp_addflag
=' -i_dynamic' ;;
9906 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
9907 tmp_addflag
=' -i_dynamic -nofor_main' ;;
9908 ifc
* | ifort
*) # Intel Fortran compiler
9909 tmp_addflag
=' -nofor_main' ;;
9910 lf95
*) # Lahey Fortran 8.1
9911 whole_archive_flag_spec
=
9912 tmp_sharedflag
='--shared' ;;
9913 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9914 tmp_sharedflag
='-qmkshrobj'
9916 nvcc
*) # Cuda Compiler Driver 2.2
9917 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'
9918 compiler_needs_object
=yes
9921 case `$CC -V 2>&1 | sed 5q` in
9922 *Sun\ C
*) # Sun C 5.9
9923 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'
9924 compiler_needs_object
=yes
9925 tmp_sharedflag
='-G' ;;
9926 *Sun\ F
*) # Sun Fortran 8.3
9927 tmp_sharedflag
='-G' ;;
9929 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9931 if test "x$supports_anon_versioning" = xyes
; then
9932 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9933 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9934 echo "local: *; };" >> $output_objdir/$libname.ver~
9935 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9938 case $cc_basename in
9939 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
9940 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9941 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
9942 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9943 archive_cmds
='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9944 if test "x$supports_anon_versioning" = xyes
; then
9945 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9946 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9947 echo "local: *; };" >> $output_objdir/$libname.ver~
9948 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9958 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
9959 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9962 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9963 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9968 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev
/null
; then
9972 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9973 *** create shared libraries on Solaris systems. Therefore, libtool
9974 *** is disabling shared libraries support. We urge you to upgrade GNU
9975 *** binutils to release 2.9.1 or newer. Another option is to modify
9976 *** your PATH or compiler configuration so that the native linker is
9977 *** used, and then restart.
9980 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
9981 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9982 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9988 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
9989 case `$LD -v 2>&1` in
9990 *\
[01].
* | *\
2.
[0-9].
* | *\
2.1[0-5].
*)
9994 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9995 *** reliably create shared libraries on SCO systems. Therefore, libtool
9996 *** is disabling shared libraries support. We urge you to upgrade GNU
9997 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9998 *** your PATH or compiler configuration so that the native linker is
9999 *** used, and then restart.
10004 # For security reasons, it is highly recommended that you always
10005 # use absolute paths for naming shared libraries, and exclude the
10006 # DT_RUNPATH tag from executables and libraries. But doing so
10007 # requires that you compile everything twice, which is a pain.
10008 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
10009 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10010 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10011 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10020 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10022 hardcode_direct
=yes
10023 hardcode_shlibpath_var
=no
10027 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
10028 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10029 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10036 if test "$ld_shlibs" = no
; then
10038 hardcode_libdir_flag_spec
=
10039 export_dynamic_flag_spec
=
10040 whole_archive_flag_spec
=
10043 # PORTME fill in a description of your system's linker (not GNU ld)
10046 allow_undefined_flag
=unsupported
10047 always_export_symbols
=yes
10048 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'
10049 # Note: this linker hardcodes the directories in LIBPATH if there
10050 # are no directories specified by -L.
10051 hardcode_minus_L
=yes
10052 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
10053 # Neither direct hardcoding nor static linking is supported with a
10055 hardcode_direct
=unsupported
10060 if test "$host_cpu" = ia64
; then
10061 # On IA64, the linker does run time linking by default, so we don't
10062 # have to do anything special.
10063 aix_use_runtimelinking
=no
10064 exp_sym_flag
='-Bexport'
10067 # If we're using GNU nm, then we don't want the "-C" option.
10068 # -C means demangle to AIX nm, but means don't demangle with GNU nm
10069 # Also, AIX nm treats weak defined symbols like other global
10070 # defined symbols, whereas GNU nm marks them as "W".
10071 if $NM -V 2>&1 | $GREP 'GNU' > /dev
/null
; then
10072 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'
10074 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'
10076 aix_use_runtimelinking
=no
10078 # Test if we are trying to use run time linking or normal
10079 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10080 # need to do runtime linking.
10081 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
10082 for ld_flag
in $LDFLAGS; do
10083 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
10084 aix_use_runtimelinking
=yes
10091 exp_sym_flag
='-bexport'
10092 no_entry_flag
='-bnoentry'
10095 # When large executables or shared objects are built, AIX ld can
10096 # have problems creating the table of contents. If linking a library
10097 # or program results in "error TOC overflow" add -mminimal-toc to
10098 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10099 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10102 hardcode_direct
=yes
10103 hardcode_direct_absolute
=yes
10104 hardcode_libdir_separator
=':'
10105 link_all_deplibs
=yes
10106 file_list_spec
='${wl}-f,'
10108 if test "$GCC" = yes; then
10109 case $host_os in aix4.
[012]|aix4.
[012].
*)
10110 # We only want to do this on AIX 4.2 and lower, the check
10111 # below for broken collect2 doesn't work under 4.3+
10112 collect2name
=`${CC} -print-prog-name=collect2`
10113 if test -f "$collect2name" &&
10114 strings "$collect2name" | $GREP resolve_lib_name
>/dev
/null
10116 # We have reworked collect2
10119 # We have old collect2
10120 hardcode_direct
=unsupported
10121 # It fails to find uninstalled libraries when the uninstalled
10122 # path is not listed in the libpath. Setting hardcode_minus_L
10123 # to unsupported forces relinking
10124 hardcode_minus_L
=yes
10125 hardcode_libdir_flag_spec
='-L$libdir'
10126 hardcode_libdir_separator
=
10130 shared_flag
='-shared'
10131 if test "$aix_use_runtimelinking" = yes; then
10132 shared_flag
="$shared_flag "'${wl}-G'
10136 if test "$host_cpu" = ia64
; then
10137 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10138 # chokes on -Wl,-G. The following line is correct:
10141 if test "$aix_use_runtimelinking" = yes; then
10142 shared_flag
='${wl}-G'
10144 shared_flag
='${wl}-bM:SRE'
10149 export_dynamic_flag_spec
='${wl}-bexpall'
10150 # It seems that -bexpall does not export symbols beginning with
10151 # underscore (_), so it is better to generate a list of symbols to export.
10152 always_export_symbols
=yes
10153 if test "$aix_use_runtimelinking" = yes; then
10154 # Warning - without using the other runtime loading flags (-brtl),
10155 # -berok will link without error, but may produce a broken library.
10156 allow_undefined_flag
='-berok'
10157 # Determine the default libpath from the value encoded in an
10158 # empty executable.
10159 if test "${lt_cv_aix_libpath+set}" = set; then
10160 aix_libpath
=$lt_cv_aix_libpath
10162 if ${lt_cv_aix_libpath_+:} false
; then :
10163 $as_echo_n "(cached) " >&6
10165 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10166 /* end confdefs.h. */
10176 if ac_fn_c_try_link
"$LINENO"; then :
10178 lt_aix_libpath_sed
='
10179 /Import File Strings/,/^$/ {
10181 s/^0 *\([^ ]*\) *$/\1/
10185 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10186 # Check for a 64-bit object if we didn't find anything.
10187 if test -z "$lt_cv_aix_libpath_"; then
10188 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10191 rm -f core conftest.err conftest.
$ac_objext \
10192 conftest
$ac_exeext conftest.
$ac_ext
10193 if test -z "$lt_cv_aix_libpath_"; then
10194 lt_cv_aix_libpath_
="/usr/lib:/lib"
10199 aix_libpath
=$lt_cv_aix_libpath_
10202 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
10203 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"
10205 if test "$host_cpu" = ia64
; then
10206 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
10207 allow_undefined_flag
="-z nodefs"
10208 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"
10210 # Determine the default libpath from the value encoded in an
10211 # empty executable.
10212 if test "${lt_cv_aix_libpath+set}" = set; then
10213 aix_libpath
=$lt_cv_aix_libpath
10215 if ${lt_cv_aix_libpath_+:} false
; then :
10216 $as_echo_n "(cached) " >&6
10218 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10219 /* end confdefs.h. */
10229 if ac_fn_c_try_link
"$LINENO"; then :
10231 lt_aix_libpath_sed
='
10232 /Import File Strings/,/^$/ {
10234 s/^0 *\([^ ]*\) *$/\1/
10238 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10239 # Check for a 64-bit object if we didn't find anything.
10240 if test -z "$lt_cv_aix_libpath_"; then
10241 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10244 rm -f core conftest.err conftest.
$ac_objext \
10245 conftest
$ac_exeext conftest.
$ac_ext
10246 if test -z "$lt_cv_aix_libpath_"; then
10247 lt_cv_aix_libpath_
="/usr/lib:/lib"
10252 aix_libpath
=$lt_cv_aix_libpath_
10255 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
10256 # Warning - without using the other run time loading flags,
10257 # -berok will link without error, but may produce a broken library.
10258 no_undefined_flag
=' ${wl}-bernotok'
10259 allow_undefined_flag
=' ${wl}-berok'
10260 if test "$with_gnu_ld" = yes; then
10261 # We only use this code for GNU lds that support --whole-archive.
10262 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10264 # Exported symbols can be pulled into shared objects from archives
10265 whole_archive_flag_spec
='$convenience'
10267 archive_cmds_need_lc
=yes
10268 # This is similar to how AIX traditionally builds its shared libraries.
10269 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'
10277 # see comment about AmigaOS4 .so support
10278 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10279 archive_expsym_cmds
=''
10282 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)'
10283 hardcode_libdir_flag_spec
='-L$libdir'
10284 hardcode_minus_L
=yes
10290 export_dynamic_flag_spec
=-rdynamic
10293 cygwin
* | mingw
* | pw32
* | cegcc
*)
10294 # When not using gcc, we currently assume that we are using
10295 # Microsoft Visual C++.
10296 # hardcode_libdir_flag_spec is actually meaningless, as there is
10297 # no search path for DLLs.
10298 case $cc_basename in
10301 hardcode_libdir_flag_spec
=' '
10302 allow_undefined_flag
=unsupported
10303 always_export_symbols
=yes
10305 # Tell ltmain to make .lib files, not .a files.
10307 # Tell ltmain to make .dll files, not .so files.
10309 # FIXME: Setting linknames here is a bad hack.
10310 archive_cmds
='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
10311 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10312 sed -n -e 's
/\\\\\\\
(.
*\\\\\\\
)/-link\\\
-EXPORT:\\\\\\\
1/' -e '1\\\
!p
' < $export_symbols > $output_objdir/$soname.exp;
10314 sed -e 's
/\\\\\\\
(.
*\\\\\\\
)/-link\\\
-EXPORT:\\\\\\\
1/' < $export_symbols > $output_objdir/$soname.exp;
10316 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
10318 # The linker will not automatically build a static lib if we build a DLL.
10319 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
10320 enable_shared_with_static_runtimes
=yes
10321 exclude_expsyms
='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
10322 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10324 old_postinstall_cmds
='chmod 644 $oldlib'
10325 postlink_cmds
='lt_outputfile="@OUTPUT@"~
10326 lt_tool_outputfile="@TOOL_OUTPUT@"~
10327 case $lt_outputfile in
10330 lt_outputfile="$lt_outputfile.exe"
10331 lt_tool_outputfile="$lt_tool_outputfile.exe"
10334 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
10335 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
10336 $RM "$lt_outputfile.manifest";
10340 # Assume MSVC wrapper
10341 hardcode_libdir_flag_spec
=' '
10342 allow_undefined_flag
=unsupported
10343 # Tell ltmain to make .lib files, not .a files.
10345 # Tell ltmain to make .dll files, not .so files.
10347 # FIXME: Setting linknames here is a bad hack.
10348 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10349 # The linker will automatically build a .lib file if we build a DLL.
10350 old_archive_from_new_cmds
='true'
10351 # FIXME: Should let the user specify the lib program.
10352 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
10353 enable_shared_with_static_runtimes
=yes
10358 darwin
* | rhapsody
*)
10361 archive_cmds_need_lc
=no
10363 hardcode_automatic
=yes
10364 hardcode_shlibpath_var
=unsupported
10365 if test "$lt_cv_ld_force_load" = "yes"; then
10366 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\"`'
10369 whole_archive_flag_spec
=''
10371 link_all_deplibs
=yes
10372 allow_undefined_flag
="$_lt_dar_allow_undefined"
10373 case $cc_basename in
10374 ifort
*) _lt_dar_can_shared
=yes ;;
10375 *) _lt_dar_can_shared
=$GCC ;;
10377 if test "$_lt_dar_can_shared" = "yes"; then
10378 output_verbose_link_cmd
=func_echo_all
10379 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10380 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10381 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}"
10382 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}"
10391 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10392 hardcode_libdir_flag_spec
='-L$libdir'
10393 hardcode_shlibpath_var
=no
10396 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10397 # support. Future versions do this automatically, but an explicit c++rt0.o
10398 # does not break anything, and helps significantly (at the cost of a little
10401 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10402 hardcode_libdir_flag_spec
='-R$libdir'
10403 hardcode_direct
=yes
10404 hardcode_shlibpath_var
=no
10407 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10409 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10410 hardcode_direct
=yes
10411 hardcode_minus_L
=yes
10412 hardcode_shlibpath_var
=no
10415 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10416 freebsd
* | dragonfly
*)
10417 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10418 hardcode_libdir_flag_spec
='-R$libdir'
10419 hardcode_direct
=yes
10420 hardcode_shlibpath_var
=no
10424 if test "$GCC" = yes; then
10425 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'
10427 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'
10429 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10430 hardcode_libdir_separator
=:
10431 hardcode_direct
=yes
10433 # hardcode_minus_L: Not really in the search PATH,
10434 # but as the default location of the library.
10435 hardcode_minus_L
=yes
10436 export_dynamic_flag_spec
='${wl}-E'
10440 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
10441 archive_cmds
='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10443 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10445 if test "$with_gnu_ld" = no
; then
10446 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10447 hardcode_libdir_separator
=:
10448 hardcode_direct
=yes
10449 hardcode_direct_absolute
=yes
10450 export_dynamic_flag_spec
='${wl}-E'
10451 # hardcode_minus_L: Not really in the search PATH,
10452 # but as the default location of the library.
10453 hardcode_minus_L
=yes
10458 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
10461 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10464 archive_cmds
='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10467 archive_cmds
='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10473 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10476 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10480 # Older versions of the 11.00 compiler do not understand -b yet
10481 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10483 $as_echo_n "checking if $CC understands -b... " >&6; }
10484 if ${lt_cv_prog_compiler__b+:} false
; then :
10485 $as_echo_n "(cached) " >&6
10487 lt_cv_prog_compiler__b
=no
10488 save_LDFLAGS
="$LDFLAGS"
10489 LDFLAGS
="$LDFLAGS -b"
10490 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
10491 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
10492 # The linker can only warn and ignore the option if not recognized
10493 # So say no if there are warnings
10494 if test -s conftest.err
; then
10495 # Append any errors to the config.log.
10496 cat conftest.err
1>&5
10497 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10498 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
10499 if diff conftest.exp conftest.er2
>/dev
/null
; then
10500 lt_cv_prog_compiler__b
=yes
10503 lt_cv_prog_compiler__b
=yes
10507 LDFLAGS
="$save_LDFLAGS"
10510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10511 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10513 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
10514 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10516 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10522 if test "$with_gnu_ld" = no
; then
10523 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10524 hardcode_libdir_separator
=:
10529 hardcode_shlibpath_var
=no
10532 hardcode_direct
=yes
10533 hardcode_direct_absolute
=yes
10534 export_dynamic_flag_spec
='${wl}-E'
10536 # hardcode_minus_L: Not really in the search PATH,
10537 # but as the default location of the library.
10538 hardcode_minus_L
=yes
10544 irix5
* | irix6
* | nonstopux
*)
10545 if test "$GCC" = yes; then
10546 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'
10547 # Try to use the -exported_symbol ld option, if it does not
10548 # work, assume that -exports_file does not work either and
10549 # implicitly export all symbols.
10550 # This should be the same for all languages, so no per-tag cache variable.
10551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
10552 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
10553 if ${lt_cv_irix_exported_symbol+:} false
; then :
10554 $as_echo_n "(cached) " >&6
10556 save_LDFLAGS
="$LDFLAGS"
10557 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10558 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10559 /* end confdefs.h. */
10560 int foo (void) { return 0; }
10562 if ac_fn_c_try_link
"$LINENO"; then :
10563 lt_cv_irix_exported_symbol
=yes
10565 lt_cv_irix_exported_symbol
=no
10567 rm -f core conftest.err conftest.
$ac_objext \
10568 conftest
$ac_exeext conftest.
$ac_ext
10569 LDFLAGS
="$save_LDFLAGS"
10571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
10572 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
10573 if test "$lt_cv_irix_exported_symbol" = yes; then
10574 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'
10577 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'
10578 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'
10580 archive_cmds_need_lc
='no'
10581 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10582 hardcode_libdir_separator
=:
10584 link_all_deplibs
=yes
10588 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
10589 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10591 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10593 hardcode_libdir_flag_spec
='-R$libdir'
10594 hardcode_direct
=yes
10595 hardcode_shlibpath_var
=no
10599 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10600 hardcode_direct
=yes
10601 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10602 hardcode_libdir_separator
=:
10603 hardcode_shlibpath_var
=no
10610 if test -f /usr
/libexec
/ld.so
; then
10611 hardcode_direct
=yes
10612 hardcode_shlibpath_var
=no
10613 hardcode_direct_absolute
=yes
10614 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10615 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10616 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10617 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10618 export_dynamic_flag_spec
='${wl}-E'
10621 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
10622 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10623 hardcode_libdir_flag_spec
='-R$libdir'
10626 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10627 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10637 hardcode_libdir_flag_spec
='-L$libdir'
10638 hardcode_minus_L
=yes
10639 allow_undefined_flag
=unsupported
10640 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'
10641 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10645 if test "$GCC" = yes; then
10646 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10647 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'
10649 allow_undefined_flag
=' -expect_unresolved \*'
10650 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'
10652 archive_cmds_need_lc
='no'
10653 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10654 hardcode_libdir_separator
=:
10657 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
10658 if test "$GCC" = yes; then
10659 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10660 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'
10661 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10663 allow_undefined_flag
=' -expect_unresolved \*'
10664 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'
10665 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~
10666 $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'
10668 # Both c and cxx compiler support -rpath directly
10669 hardcode_libdir_flag_spec
='-rpath $libdir'
10671 archive_cmds_need_lc
='no'
10672 hardcode_libdir_separator
=:
10676 no_undefined_flag
=' -z defs'
10677 if test "$GCC" = yes; then
10679 archive_cmds
='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10680 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10681 $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'
10683 case `$CC -V 2>&1` in
10686 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10687 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10688 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10692 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10693 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10694 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10698 hardcode_libdir_flag_spec
='-R$libdir'
10699 hardcode_shlibpath_var
=no
10701 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
10703 # The compiler driver will combine and reorder linker options,
10704 # but understands `-z linker_flag'. GCC discards it without `$wl',
10705 # but is careful enough not to reorder.
10706 # Supported since Solaris 2.6 (maybe 2.5.1?)
10707 if test "$GCC" = yes; then
10708 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10710 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
10714 link_all_deplibs
=yes
10718 if test "x$host_vendor" = xsequent
; then
10719 # Use $CC to link under sequent, because it throws in some extra .o
10720 # files that make .init and .fini sections work.
10721 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10723 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10725 hardcode_libdir_flag_spec
='-L$libdir'
10726 hardcode_direct
=yes
10727 hardcode_minus_L
=yes
10728 hardcode_shlibpath_var
=no
10732 case $host_vendor in
10734 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10735 hardcode_direct
=yes # is this really true???
10738 ## LD is ld it makes a PLAMLIB
10739 ## CC just makes a GrossModule.
10740 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10741 reload_cmds
='$CC -r -o $output$reload_objs'
10745 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10746 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
10749 runpath_var
='LD_RUN_PATH'
10750 hardcode_shlibpath_var
=no
10754 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10755 hardcode_shlibpath_var
=no
10756 export_dynamic_flag_spec
='-Bexport'
10760 if test -d /usr
/nec
; then
10761 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10762 hardcode_shlibpath_var
=no
10763 runpath_var
=LD_RUN_PATH
10764 hardcode_runpath_var
=yes
10769 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
10770 no_undefined_flag
='${wl}-z,text'
10771 archive_cmds_need_lc
=no
10772 hardcode_shlibpath_var
=no
10773 runpath_var
='LD_RUN_PATH'
10775 if test "$GCC" = yes; then
10776 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10777 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10779 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10780 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10784 sysv5
* | sco3.2v5
* | sco5v6
*)
10785 # Note: We can NOT use -z defs as we might desire, because we do not
10786 # link with -lc, and that would cause any symbols used from libc to
10787 # always be unresolved, which means just about no library would
10788 # ever link correctly. If we're not using GNU ld we use -z text
10789 # though, which does catch some bad symbols but isn't as heavy-handed
10791 no_undefined_flag
='${wl}-z,text'
10792 allow_undefined_flag
='${wl}-z,nodefs'
10793 archive_cmds_need_lc
=no
10794 hardcode_shlibpath_var
=no
10795 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
10796 hardcode_libdir_separator
=':'
10797 link_all_deplibs
=yes
10798 export_dynamic_flag_spec
='${wl}-Bexport'
10799 runpath_var
='LD_RUN_PATH'
10801 if test "$GCC" = yes; then
10802 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10803 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10805 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10806 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10811 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10812 hardcode_libdir_flag_spec
='-L$libdir'
10813 hardcode_shlibpath_var
=no
10821 if test x
$host_vendor = xsni
; then
10823 sysv4
| sysv4.2uw2
* | sysv4.3
* | sysv5
*)
10824 export_dynamic_flag_spec
='${wl}-Blargedynsym'
10830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10831 $as_echo "$ld_shlibs" >&6; }
10832 test "$ld_shlibs" = no
&& can_build_shared
=no
10834 with_gnu_ld
=$with_gnu_ld
10851 # Do we need to explicitly link libc?
10853 case "x$archive_cmds_need_lc" in
10855 # Assume -lc should be added
10856 archive_cmds_need_lc
=yes
10858 if test "$enable_shared" = yes && test "$GCC" = yes; then
10859 case $archive_cmds in
10861 # FIXME: we may have to deal with multi-command sequences.
10864 # Test whether the compiler implicitly links with -lc since on some
10865 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10866 # to ld, don't add -lc before -lgcc.
10867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10868 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10869 if ${lt_cv_archive_cmds_need_lc+:} false
; then :
10870 $as_echo_n "(cached) " >&6
10873 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10875 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10876 (eval $ac_compile) 2>&5
10878 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10879 test $ac_status = 0; } 2>conftest.err
; then
10882 libobjs
=conftest.
$ac_objext
10884 wl
=$lt_prog_compiler_wl
10885 pic_flag
=$lt_prog_compiler_pic
10891 lt_save_allow_undefined_flag
=$allow_undefined_flag
10892 allow_undefined_flag
=
10893 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10894 (eval $archive_cmds 2\
>\
&1 \
| $GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
10896 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10897 test $ac_status = 0; }
10899 lt_cv_archive_cmds_need_lc
=no
10901 lt_cv_archive_cmds_need_lc
=yes
10903 allow_undefined_flag
=$lt_save_allow_undefined_flag
10905 cat conftest.err
1>&5
10910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10911 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10912 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
11070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11071 $as_echo_n "checking dynamic linker characteristics... " >&6; }
11073 if test "$GCC" = yes; then
11075 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
11076 *) lt_awk_arg
="/^libraries:/" ;;
11079 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
11080 *) lt_sed_strip_eq
="s,=/,/,g" ;;
11082 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11083 case $lt_search_path_spec in
11085 # if the path contains ";" then we assume it to be the separator
11086 # otherwise default to the standard path separator (i.e. ":") - it is
11087 # assumed that no part of a normal pathname contains ";" but that should
11088 # okay in the real world where ";" in dirpaths is itself problematic.
11089 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11092 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11095 # Ok, now we have the path, separated by spaces, we can step through it
11096 # and add multilib dir if necessary.
11097 lt_tmp_lt_search_path_spec
=
11098 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11099 for lt_sys_path
in $lt_search_path_spec; do
11100 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
11101 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
11103 test -d "$lt_sys_path" && \
11104 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
11107 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11108 BEGIN {RS=" "; FS="/|\n";} {
11111 for (lt_i = NF; lt_i > 0; lt_i--) {
11112 if ($lt_i != "" && $lt_i != ".") {
11113 if ($lt_i == "..") {
11116 if (lt_count == 0) {
11117 lt_foo="/" $lt_i lt_foo;
11124 if (lt_foo != "") { lt_freq[lt_foo]++; }
11125 if (lt_freq[lt_foo] == 1) { print lt_foo; }
11127 # AWK program above erroneously prepends '/' to C:/dos/paths
11130 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
11131 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
11133 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11135 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
11137 library_names_spec
=
11138 libname_spec
='lib$name'
11142 postuninstall_cmds
=
11146 shlibpath_overrides_runpath
=unknown
11148 dynamic_linker
="$host_os ld.so"
11149 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
11150 need_lib_prefix
=unknown
11151 hardcode_into_libs
=no
11153 # when you set need_version to no, make sure it does not cause -set_version
11154 # flags to be left without arguments
11155 need_version
=unknown
11159 version_type
=linux
# correct to gnu/linux during the next big refactor
11160 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
11161 shlibpath_var
=LIBPATH
11163 # AIX 3 has no versioning support, so we append a major version to the name.
11164 soname_spec
='${libname}${release}${shared_ext}$major'
11168 version_type
=linux
# correct to gnu/linux during the next big refactor
11171 hardcode_into_libs
=yes
11172 if test "$host_cpu" = ia64
; then
11173 # AIX 5 supports IA64
11174 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11175 shlibpath_var
=LD_LIBRARY_PATH
11177 # With GCC up to 2.95.x, collect2 would create an import file
11178 # for dependence libraries. The import file would start with
11179 # the line `#! .'. This would cause the generated library to
11180 # depend on `.', always an invalid library. This was fixed in
11181 # development snapshots of GCC prior to 3.0.
11183 aix4
| aix4.
[01] | aix4.
[01].
*)
11184 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11186 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev
/null
; then
11189 can_build_shared
=no
11193 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11194 # soname into executable. Probably we can add versioning support to
11195 # collect2, so additional links can be useful in future.
11196 if test "$aix_use_runtimelinking" = yes; then
11197 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11198 # instead of lib<name>.a to let people know that these are not
11199 # typical AIX shared libraries.
11200 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11202 # We preserve .a as extension for shared libraries through AIX4.2
11203 # and later when we are not doing run time linking.
11204 library_names_spec
='${libname}${release}.a $libname.a'
11205 soname_spec
='${libname}${release}${shared_ext}$major'
11207 shlibpath_var
=LIBPATH
11214 # Since July 2007 AmigaOS4 officially supports .so libraries.
11215 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11216 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11219 library_names_spec
='$libname.ixlibrary $libname.a'
11220 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11221 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'
11227 library_names_spec
='${libname}${shared_ext}'
11228 dynamic_linker
="$host_os ld.so"
11229 shlibpath_var
=LIBRARY_PATH
11233 version_type
=linux
# correct to gnu/linux during the next big refactor
11235 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11236 soname_spec
='${libname}${release}${shared_ext}$major'
11237 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
11238 shlibpath_var
=LD_LIBRARY_PATH
11239 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11240 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
11241 # the default ld.so.conf also contains /usr/contrib/lib and
11242 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11243 # libtool to hard-code these into programs
11246 cygwin
* | mingw
* | pw32
* | cegcc
*)
11247 version_type
=windows
11252 case $GCC,$cc_basename in
11255 library_names_spec
='$libname.dll.a'
11256 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11257 postinstall_cmds
='base_file=`basename \${file}`~
11258 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11259 dldir=$destdir/`dirname \$dlpath`~
11260 test -d \$dldir || mkdir -p \$dldir~
11261 $install_prog $dir/$dlname \$dldir/$dlname~
11262 chmod a+x \$dldir/$dlname~
11263 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11264 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11266 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11267 dlpath=$dir/\$dldll~
11269 shlibpath_overrides_runpath
=yes
11273 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11274 soname_spec
='`echo ${libname} | sed -e 's
/^lib
/cyg
/'``echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
11276 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
11279 # MinGW DLLs use traditional 'lib' prefix
11280 soname_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
11283 # pw32 DLLs use 'pw' prefix rather than 'lib'
11284 library_names_spec
='`echo ${libname} | sed -e 's
/^lib
/pw
/'``echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
11287 dynamic_linker
='Win32 ld.exe'
11292 libname_spec
='$name'
11293 soname_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
11294 library_names_spec
='${libname}.dll.lib'
11298 sys_lib_search_path_spec
=
11301 for lt_path
in $LIB
11304 # Let DOS variable expansion print the short 8.3 style file name.
11305 lt_path
=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
11306 sys_lib_search_path_spec
="$sys_lib_search_path_spec $lt_path"
11309 # Convert to MSYS style.
11310 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
11313 # Convert to unix form, then to dos form, then back to unix form
11314 # but this time dos style (no spaces!) so that the unix form looks
11315 # like /cygdrive/c/PROGRA~1:/cygdr...
11316 sys_lib_search_path_spec
=`cygpath --path --unix "$LIB"`
11317 sys_lib_search_path_spec
=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
11318 sys_lib_search_path_spec
=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11321 sys_lib_search_path_spec
="$LIB"
11322 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev
/null
; then
11323 # It is most probably a Windows format PATH.
11324 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11326 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11328 # FIXME: find the short name or the path components, as spaces are
11329 # common. (e.g. "Program Files" -> "PROGRA~1")
11333 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11334 postinstall_cmds
='base_file=`basename \${file}`~
11335 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11336 dldir=$destdir/`dirname \$dlpath`~
11337 test -d \$dldir || mkdir -p \$dldir~
11338 $install_prog $dir/$dlname \$dldir/$dlname'
11339 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11340 dlpath=$dir/\$dldll~
11342 shlibpath_overrides_runpath
=yes
11343 dynamic_linker
='Win32 link.exe'
11347 # Assume MSVC wrapper
11348 library_names_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext} $libname.lib'
11349 dynamic_linker
='Win32 ld.exe'
11352 # FIXME: first we should search . and the directory the executable is in
11356 darwin
* | rhapsody
*)
11357 dynamic_linker
="$host_os dyld"
11358 version_type
=darwin
11361 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11362 soname_spec
='${libname}${release}${major}$shared_ext'
11363 shlibpath_overrides_runpath
=yes
11364 shlibpath_var
=DYLD_LIBRARY_PATH
11365 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
11367 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
11368 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
11372 version_type
=linux
# correct to gnu/linux during the next big refactor
11375 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11376 soname_spec
='${libname}${release}${shared_ext}$major'
11377 shlibpath_var
=LD_LIBRARY_PATH
11380 freebsd
* | dragonfly
*)
11381 # DragonFly does not have aout. When/if they implement a new
11382 # versioning mechanism, adjust this.
11383 if test -x /usr
/bin
/objformat
; then
11384 objformat
=`/usr/bin/objformat`
11387 freebsd
[23].
*) objformat
=aout
;;
11388 *) objformat
=elf
;;
11391 version_type
=freebsd
-$objformat
11392 case $version_type in
11394 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11399 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11403 shlibpath_var
=LD_LIBRARY_PATH
11406 shlibpath_overrides_runpath
=yes
11408 freebsd3.
[01]* | freebsdelf3.
[01]*)
11409 shlibpath_overrides_runpath
=yes
11410 hardcode_into_libs
=yes
11412 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
11413 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
11414 shlibpath_overrides_runpath
=no
11415 hardcode_into_libs
=yes
11417 *) # from 4.6 on, and DragonFly
11418 shlibpath_overrides_runpath
=yes
11419 hardcode_into_libs
=yes
11425 version_type
=linux
# correct to gnu/linux during the next big refactor
11428 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11429 soname_spec
='${libname}${release}${shared_ext}$major'
11430 shlibpath_var
=LD_LIBRARY_PATH
11431 shlibpath_overrides_runpath
=no
11432 hardcode_into_libs
=yes
11436 version_type
=linux
# correct to gnu/linux during the next big refactor
11439 dynamic_linker
="$host_os runtime_loader"
11440 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11441 soname_spec
='${libname}${release}${shared_ext}$major'
11442 shlibpath_var
=LIBRARY_PATH
11443 shlibpath_overrides_runpath
=yes
11444 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
11445 hardcode_into_libs
=yes
11448 hpux9
* | hpux10
* | hpux11
*)
11449 # Give a soname corresponding to the major version so that dld.sl refuses to
11450 # link against other versions.
11457 hardcode_into_libs
=yes
11458 dynamic_linker
="$host_os dld.so"
11459 shlibpath_var
=LD_LIBRARY_PATH
11460 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11461 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11462 soname_spec
='${libname}${release}${shared_ext}$major'
11463 if test "X$HPUX_IA64_MODE" = X32
; then
11464 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11466 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
11468 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11472 hardcode_into_libs
=yes
11473 dynamic_linker
="$host_os dld.sl"
11474 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
11475 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11476 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11477 soname_spec
='${libname}${release}${shared_ext}$major'
11478 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11479 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11483 dynamic_linker
="$host_os dld.sl"
11484 shlibpath_var
=SHLIB_PATH
11485 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
11486 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11487 soname_spec
='${libname}${release}${shared_ext}$major'
11490 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11491 postinstall_cmds
='chmod 555 $lib'
11492 # or fails outright, so override atomically:
11493 install_override_mode
=555
11497 version_type
=linux
# correct to gnu/linux during the next big refactor
11500 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11501 soname_spec
='${libname}${release}${shared_ext}$major'
11502 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
11503 shlibpath_var
=LD_LIBRARY_PATH
11504 shlibpath_overrides_runpath
=no
11505 hardcode_into_libs
=yes
11508 irix5
* | irix6
* | nonstopux
*)
11510 nonstopux
*) version_type
=nonstopux
;;
11512 if test "$lt_cv_prog_gnu_ld" = yes; then
11513 version_type
=linux
# correct to gnu/linux during the next big refactor
11520 soname_spec
='${libname}${release}${shared_ext}$major'
11521 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11523 irix5
* | nonstopux
*)
11524 libsuff
= shlibsuff
=
11527 case $LD in # libtool.m4 will add one of these switches to LD
11528 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11529 libsuff
= shlibsuff
= libmagic
=32-bit;;
11530 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11531 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
11532 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11533 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
11534 *) libsuff
= shlibsuff
= libmagic
=never
-match;;
11538 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
11539 shlibpath_overrides_runpath
=no
11540 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11541 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
11542 hardcode_into_libs
=yes
11545 # No shared lib support for Linux oldld, aout, or coff.
11546 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
11550 # This must be glibc/ELF.
11551 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
11552 version_type
=linux
# correct to gnu/linux during the next big refactor
11555 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11556 soname_spec
='${libname}${release}${shared_ext}$major'
11557 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11558 shlibpath_var
=LD_LIBRARY_PATH
11559 shlibpath_overrides_runpath
=no
11561 # Some binutils ld are patched to set DT_RUNPATH
11562 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
11563 $as_echo_n "(cached) " >&6
11565 lt_cv_shlibpath_overrides_runpath
=no
11566 save_LDFLAGS
=$LDFLAGS
11567 save_libdir
=$libdir
11568 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11569 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11570 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11571 /* end confdefs.h. */
11581 if ac_fn_c_try_link
"$LINENO"; then :
11582 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null
| grep "RUNPATH.*$libdir" >/dev
/null
; then :
11583 lt_cv_shlibpath_overrides_runpath
=yes
11586 rm -f core conftest.err conftest.
$ac_objext \
11587 conftest
$ac_exeext conftest.
$ac_ext
11588 LDFLAGS
=$save_LDFLAGS
11589 libdir
=$save_libdir
11593 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
11595 # This implies no fast_install, which is unacceptable.
11596 # Some rework will be needed to allow for fast_install
11597 # before this can be enabled.
11598 hardcode_into_libs
=yes
11600 # Append ld.so.conf contents to the search path
11601 if test -f /etc
/ld.so.conf
; then
11602 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' ' '`
11603 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
11606 # We used to test for /lib/ld.so.1 and disable shared libraries on
11607 # powerpc, because MkLinux only supported shared libraries with the
11608 # GNU dynamic linker. Since this was broken with cross compilers,
11609 # most powerpc-linux boxes support dynamic linking these days and
11610 # people can always --disable-shared, the test was removed, and we
11611 # assume the GNU/Linux dynamic linker is in use.
11612 dynamic_linker
='GNU/Linux ld.so'
11619 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
11620 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11621 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11622 dynamic_linker
='NetBSD (a.out) ld.so'
11624 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11625 soname_spec
='${libname}${release}${shared_ext}$major'
11626 dynamic_linker
='NetBSD ld.elf_so'
11628 shlibpath_var
=LD_LIBRARY_PATH
11629 shlibpath_overrides_runpath
=yes
11630 hardcode_into_libs
=yes
11634 version_type
=linux
# correct to gnu/linux during the next big refactor
11635 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11636 shlibpath_var
=LD_LIBRARY_PATH
11637 shlibpath_overrides_runpath
=yes
11644 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11645 soname_spec
='${libname}${release}${shared_ext}$major'
11646 shlibpath_var
=LD_LIBRARY_PATH
11647 shlibpath_overrides_runpath
=no
11648 hardcode_into_libs
=yes
11649 dynamic_linker
='ldqnx.so'
11654 sys_lib_dlsearch_path_spec
="/usr/lib"
11656 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11658 openbsd3.3
| openbsd3.3.
*) need_version
=yes ;;
11659 *) need_version
=no
;;
11661 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11662 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11663 shlibpath_var
=LD_LIBRARY_PATH
11664 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11666 openbsd2.
[89] | openbsd2.
[89].
*)
11667 shlibpath_overrides_runpath
=no
11670 shlibpath_overrides_runpath
=yes
11674 shlibpath_overrides_runpath
=yes
11679 libname_spec
='$name'
11682 library_names_spec
='$libname${shared_ext} $libname.a'
11683 dynamic_linker
='OS/2 ld.exe'
11684 shlibpath_var
=LIBPATH
11687 osf3
* | osf4
* | osf5
*)
11691 soname_spec
='${libname}${release}${shared_ext}$major'
11692 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11693 shlibpath_var
=LD_LIBRARY_PATH
11694 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11695 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
11703 version_type
=linux
# correct to gnu/linux during the next big refactor
11706 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11707 soname_spec
='${libname}${release}${shared_ext}$major'
11708 shlibpath_var
=LD_LIBRARY_PATH
11709 shlibpath_overrides_runpath
=yes
11710 hardcode_into_libs
=yes
11711 # ldd complains unless libraries are executable
11712 postinstall_cmds
='chmod +x $lib'
11717 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11718 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11719 shlibpath_var
=LD_LIBRARY_PATH
11720 shlibpath_overrides_runpath
=yes
11721 if test "$with_gnu_ld" = yes; then
11728 version_type
=linux
# correct to gnu/linux during the next big refactor
11729 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11730 soname_spec
='${libname}${release}${shared_ext}$major'
11731 shlibpath_var
=LD_LIBRARY_PATH
11732 case $host_vendor in
11734 shlibpath_overrides_runpath
=no
11736 runpath_var
=LD_RUN_PATH
11744 shlibpath_overrides_runpath
=no
11745 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
11751 if test -d /usr
/nec
;then
11752 version_type
=linux
# correct to gnu/linux during the next big refactor
11753 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11754 soname_spec
='$libname${shared_ext}.$major'
11755 shlibpath_var
=LD_LIBRARY_PATH
11759 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
11760 version_type
=freebsd
-elf
11763 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11764 soname_spec
='${libname}${release}${shared_ext}$major'
11765 shlibpath_var
=LD_LIBRARY_PATH
11766 shlibpath_overrides_runpath
=yes
11767 hardcode_into_libs
=yes
11768 if test "$with_gnu_ld" = yes; then
11769 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11771 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
11774 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
11778 sys_lib_dlsearch_path_spec
='/usr/lib'
11782 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11783 version_type
=linux
# correct to gnu/linux during the next big refactor
11786 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11787 shlibpath_var
=LD_LIBRARY_PATH
11788 shlibpath_overrides_runpath
=no
11789 hardcode_into_libs
=yes
11793 version_type
=linux
# correct to gnu/linux during the next big refactor
11794 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11795 soname_spec
='${libname}${release}${shared_ext}$major'
11796 shlibpath_var
=LD_LIBRARY_PATH
11803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11804 $as_echo "$dynamic_linker" >&6; }
11805 test "$dynamic_linker" = no
&& can_build_shared
=no
11807 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
11808 if test "$GCC" = yes; then
11809 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11812 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11813 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
11815 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11816 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
11910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11911 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11913 if test -n "$hardcode_libdir_flag_spec" ||
11914 test -n "$runpath_var" ||
11915 test "X$hardcode_automatic" = "Xyes" ; then
11917 # We can hardcode non-existent directories.
11918 if test "$hardcode_direct" != no
&&
11919 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11920 # have to relink, otherwise we might link with an installed library
11921 # when we should be linking with a yet-to-be-installed one
11922 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11923 test "$hardcode_minus_L" != no
; then
11924 # Linking always hardcodes the temporary library directory.
11925 hardcode_action
=relink
11927 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11928 hardcode_action
=immediate
11931 # We cannot hardcode anything, or else we can only hardcode existing
11933 hardcode_action
=unsupported
11935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11936 $as_echo "$hardcode_action" >&6; }
11938 if test "$hardcode_action" = relink
||
11939 test "$inherit_rpath" = yes; then
11940 # Fast installation is not supported
11941 enable_fast_install
=no
11942 elif test "$shlibpath_overrides_runpath" = yes ||
11943 test "$enable_shared" = no
; then
11944 # Fast installation is not necessary
11945 enable_fast_install
=needless
11953 if test "x$enable_dlopen" != xyes
; then
11954 enable_dlopen
=unknown
11955 enable_dlopen_self
=unknown
11956 enable_dlopen_self_static
=unknown
11963 lt_cv_dlopen
="load_add_on"
11965 lt_cv_dlopen_self
=yes
11968 mingw
* | pw32
* | cegcc
*)
11969 lt_cv_dlopen
="LoadLibrary"
11974 lt_cv_dlopen
="dlopen"
11979 # if libdl is installed we need to link against it
11980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11981 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11982 if ${ac_cv_lib_dl_dlopen+:} false
; then :
11983 $as_echo_n "(cached) " >&6
11985 ac_check_lib_save_LIBS
=$LIBS
11987 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11988 /* end confdefs.h. */
11990 /* Override any GCC internal prototype to avoid an error.
11991 Use char because int might match the return type of a GCC
11992 builtin and then its argument prototype would still apply. */
12005 if ac_fn_c_try_link
"$LINENO"; then :
12006 ac_cv_lib_dl_dlopen
=yes
12008 ac_cv_lib_dl_dlopen
=no
12010 rm -f core conftest.err conftest.
$ac_objext \
12011 conftest
$ac_exeext conftest.
$ac_ext
12012 LIBS
=$ac_check_lib_save_LIBS
12014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12015 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12016 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
12017 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
12020 lt_cv_dlopen
="dyld"
12022 lt_cv_dlopen_self
=yes
12029 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
12030 if test "x$ac_cv_func_shl_load" = xyes
; then :
12031 lt_cv_dlopen
="shl_load"
12033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12034 $as_echo_n "checking for shl_load in -ldld... " >&6; }
12035 if ${ac_cv_lib_dld_shl_load+:} false
; then :
12036 $as_echo_n "(cached) " >&6
12038 ac_check_lib_save_LIBS
=$LIBS
12040 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12041 /* end confdefs.h. */
12043 /* Override any GCC internal prototype to avoid an error.
12044 Use char because int might match the return type of a GCC
12045 builtin and then its argument prototype would still apply. */
12053 return shl_load ();
12058 if ac_fn_c_try_link
"$LINENO"; then :
12059 ac_cv_lib_dld_shl_load
=yes
12061 ac_cv_lib_dld_shl_load
=no
12063 rm -f core conftest.err conftest.
$ac_objext \
12064 conftest
$ac_exeext conftest.
$ac_ext
12065 LIBS
=$ac_check_lib_save_LIBS
12067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12068 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12069 if test "x$ac_cv_lib_dld_shl_load" = xyes
; then :
12070 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
12072 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
12073 if test "x$ac_cv_func_dlopen" = xyes
; then :
12074 lt_cv_dlopen
="dlopen"
12076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12077 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12078 if ${ac_cv_lib_dl_dlopen+:} false
; then :
12079 $as_echo_n "(cached) " >&6
12081 ac_check_lib_save_LIBS
=$LIBS
12083 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12084 /* end confdefs.h. */
12086 /* Override any GCC internal prototype to avoid an error.
12087 Use char because int might match the return type of a GCC
12088 builtin and then its argument prototype would still apply. */
12101 if ac_fn_c_try_link
"$LINENO"; then :
12102 ac_cv_lib_dl_dlopen
=yes
12104 ac_cv_lib_dl_dlopen
=no
12106 rm -f core conftest.err conftest.
$ac_objext \
12107 conftest
$ac_exeext conftest.
$ac_ext
12108 LIBS
=$ac_check_lib_save_LIBS
12110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12111 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12112 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
12113 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
12115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12116 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12117 if ${ac_cv_lib_svld_dlopen+:} false
; then :
12118 $as_echo_n "(cached) " >&6
12120 ac_check_lib_save_LIBS
=$LIBS
12121 LIBS
="-lsvld $LIBS"
12122 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12123 /* end confdefs.h. */
12125 /* Override any GCC internal prototype to avoid an error.
12126 Use char because int might match the return type of a GCC
12127 builtin and then its argument prototype would still apply. */
12140 if ac_fn_c_try_link
"$LINENO"; then :
12141 ac_cv_lib_svld_dlopen
=yes
12143 ac_cv_lib_svld_dlopen
=no
12145 rm -f core conftest.err conftest.
$ac_objext \
12146 conftest
$ac_exeext conftest.
$ac_ext
12147 LIBS
=$ac_check_lib_save_LIBS
12149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12150 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12151 if test "x$ac_cv_lib_svld_dlopen" = xyes
; then :
12152 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
12154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12155 $as_echo_n "checking for dld_link in -ldld... " >&6; }
12156 if ${ac_cv_lib_dld_dld_link+:} false
; then :
12157 $as_echo_n "(cached) " >&6
12159 ac_check_lib_save_LIBS
=$LIBS
12161 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12162 /* end confdefs.h. */
12164 /* Override any GCC internal prototype to avoid an error.
12165 Use char because int might match the return type of a GCC
12166 builtin and then its argument prototype would still apply. */
12174 return dld_link ();
12179 if ac_fn_c_try_link
"$LINENO"; then :
12180 ac_cv_lib_dld_dld_link
=yes
12182 ac_cv_lib_dld_dld_link
=no
12184 rm -f core conftest.err conftest.
$ac_objext \
12185 conftest
$ac_exeext conftest.
$ac_ext
12186 LIBS
=$ac_check_lib_save_LIBS
12188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12189 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12190 if test "x$ac_cv_lib_dld_dld_link" = xyes
; then :
12191 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
12212 if test "x$lt_cv_dlopen" != xno
; then
12218 case $lt_cv_dlopen in
12220 save_CPPFLAGS
="$CPPFLAGS"
12221 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
12223 save_LDFLAGS
="$LDFLAGS"
12224 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
12227 LIBS
="$lt_cv_dlopen_libs $LIBS"
12229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12230 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12231 if ${lt_cv_dlopen_self+:} false
; then :
12232 $as_echo_n "(cached) " >&6
12234 if test "$cross_compiling" = yes; then :
12235 lt_cv_dlopen_self
=cross
12237 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12238 lt_status
=$lt_dlunknown
12239 cat > conftest.
$ac_ext <<_LT_EOF
12240 #line $LINENO "configure"
12241 #include "confdefs.h"
12250 # define LT_DLGLOBAL RTLD_GLOBAL
12253 # define LT_DLGLOBAL DL_GLOBAL
12255 # define LT_DLGLOBAL 0
12259 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12260 find out it does not work in some platform. */
12261 #ifndef LT_DLLAZY_OR_NOW
12263 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12266 # define LT_DLLAZY_OR_NOW DL_LAZY
12269 # define LT_DLLAZY_OR_NOW RTLD_NOW
12272 # define LT_DLLAZY_OR_NOW DL_NOW
12274 # define LT_DLLAZY_OR_NOW 0
12281 /* When -fvisbility=hidden is used, assume the code has been annotated
12282 correspondingly for the symbols needed. */
12283 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12284 int fnord () __attribute__((visibility("default")));
12287 int fnord () { return 42; }
12290 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12291 int status = $lt_dlunknown;
12295 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12298 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12299 else puts (dlerror ());
12301 /* dlclose (self); */
12309 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12310 (eval $ac_link) 2>&5
12312 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12313 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12314 (.
/conftest
; exit; ) >&5 2>/dev
/null
12316 case x
$lt_status in
12317 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
12318 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
12319 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
12322 # compilation failed
12323 lt_cv_dlopen_self
=no
12330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12331 $as_echo "$lt_cv_dlopen_self" >&6; }
12333 if test "x$lt_cv_dlopen_self" = xyes
; then
12334 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
12335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12336 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12337 if ${lt_cv_dlopen_self_static+:} false
; then :
12338 $as_echo_n "(cached) " >&6
12340 if test "$cross_compiling" = yes; then :
12341 lt_cv_dlopen_self_static
=cross
12343 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12344 lt_status
=$lt_dlunknown
12345 cat > conftest.
$ac_ext <<_LT_EOF
12346 #line $LINENO "configure"
12347 #include "confdefs.h"
12356 # define LT_DLGLOBAL RTLD_GLOBAL
12359 # define LT_DLGLOBAL DL_GLOBAL
12361 # define LT_DLGLOBAL 0
12365 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12366 find out it does not work in some platform. */
12367 #ifndef LT_DLLAZY_OR_NOW
12369 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12372 # define LT_DLLAZY_OR_NOW DL_LAZY
12375 # define LT_DLLAZY_OR_NOW RTLD_NOW
12378 # define LT_DLLAZY_OR_NOW DL_NOW
12380 # define LT_DLLAZY_OR_NOW 0
12387 /* When -fvisbility=hidden is used, assume the code has been annotated
12388 correspondingly for the symbols needed. */
12389 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12390 int fnord () __attribute__((visibility("default")));
12393 int fnord () { return 42; }
12396 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12397 int status = $lt_dlunknown;
12401 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12404 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12405 else puts (dlerror ());
12407 /* dlclose (self); */
12415 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12416 (eval $ac_link) 2>&5
12418 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12419 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12420 (.
/conftest
; exit; ) >&5 2>/dev
/null
12422 case x
$lt_status in
12423 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
12424 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
12425 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
12428 # compilation failed
12429 lt_cv_dlopen_self_static
=no
12436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12437 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12440 CPPFLAGS
="$save_CPPFLAGS"
12441 LDFLAGS
="$save_LDFLAGS"
12446 case $lt_cv_dlopen_self in
12447 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
12448 *) enable_dlopen_self
=unknown
;;
12451 case $lt_cv_dlopen_self_static in
12452 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
12453 *) enable_dlopen_self_static
=unknown
;;
12475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12476 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12477 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev
/null
; then
12478 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
12479 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
12480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12481 $as_echo "yes" >&6; }
12483 # FIXME - insert some real tests, host_os isn't really good enough
12486 if test -n "$STRIP" ; then
12487 striplib
="$STRIP -x"
12488 old_striplib
="$STRIP -S"
12489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12490 $as_echo "yes" >&6; }
12492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12493 $as_echo "no" >&6; }
12497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12498 $as_echo "no" >&6; }
12514 # Report which library types will actually be built
12515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12516 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12518 $as_echo "$can_build_shared" >&6; }
12520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12521 $as_echo_n "checking whether to build shared libraries... " >&6; }
12522 test "$can_build_shared" = "no" && enable_shared
=no
12524 # On AIX, shared libraries and static libraries use the same namespace, and
12525 # are all built from PIC.
12528 test "$enable_shared" = yes && enable_static
=no
12529 if test -n "$RANLIB"; then
12530 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
12531 postinstall_cmds
='$RANLIB $lib'
12536 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
12537 test "$enable_shared" = yes && enable_static
=no
12541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12542 $as_echo "$enable_shared" >&6; }
12544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12545 $as_echo_n "checking whether to build static libraries... " >&6; }
12546 # Make sure either enable_shared or enable_static is yes.
12547 test "$enable_shared" = yes || enable_static
=yes
12548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12549 $as_echo "$enable_static" >&6; }
12556 ac_cpp
='$CPP $CPPFLAGS'
12557 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12558 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12559 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12563 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
12564 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
12565 (test "X$CXX" != "Xg++"))) ; then
12567 ac_cpp
='$CXXCPP $CPPFLAGS'
12568 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12569 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12570 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
12572 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
12573 if test -z "$CXXCPP"; then
12574 if ${ac_cv_prog_CXXCPP+:} false
; then :
12575 $as_echo_n "(cached) " >&6
12577 # Double quotes because CXXCPP needs to be expanded
12578 for CXXCPP
in "$CXX -E" "/lib/cpp"
12580 ac_preproc_ok
=false
12581 for ac_cxx_preproc_warn_flag
in '' yes
12583 # Use a header file that comes with gcc, so configuring glibc
12584 # with a fresh cross-compiler works.
12585 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12586 # <limits.h> exists even on freestanding compilers.
12587 # On the NeXT, cc -E runs the code through the compiler's parser,
12588 # not just through cpp. "Syntax error" is here to catch this case.
12589 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12590 /* end confdefs.h. */
12592 # include <limits.h>
12594 # include <assert.h>
12598 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12601 # Broken: fails on valid input.
12604 rm -f conftest.err conftest.i conftest.
$ac_ext
12606 # OK, works on sane cases. Now check whether nonexistent headers
12607 # can be detected and how.
12608 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12609 /* end confdefs.h. */
12610 #include <ac_nonexistent.h>
12612 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12613 # Broken: success on invalid input.
12616 # Passes both tests.
12620 rm -f conftest.err conftest.i conftest.
$ac_ext
12623 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12624 rm -f conftest.i conftest.err conftest.
$ac_ext
12625 if $ac_preproc_ok; then :
12630 ac_cv_prog_CXXCPP
=$CXXCPP
12633 CXXCPP
=$ac_cv_prog_CXXCPP
12635 ac_cv_prog_CXXCPP
=$CXXCPP
12637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
12638 $as_echo "$CXXCPP" >&6; }
12639 ac_preproc_ok
=false
12640 for ac_cxx_preproc_warn_flag
in '' yes
12642 # Use a header file that comes with gcc, so configuring glibc
12643 # with a fresh cross-compiler works.
12644 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12645 # <limits.h> exists even on freestanding compilers.
12646 # On the NeXT, cc -E runs the code through the compiler's parser,
12647 # not just through cpp. "Syntax error" is here to catch this case.
12648 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12649 /* end confdefs.h. */
12651 # include <limits.h>
12653 # include <assert.h>
12657 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12660 # Broken: fails on valid input.
12663 rm -f conftest.err conftest.i conftest.
$ac_ext
12665 # OK, works on sane cases. Now check whether nonexistent headers
12666 # can be detected and how.
12667 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12668 /* end confdefs.h. */
12669 #include <ac_nonexistent.h>
12671 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12672 # Broken: success on invalid input.
12675 # Passes both tests.
12679 rm -f conftest.err conftest.i conftest.
$ac_ext
12682 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12683 rm -f conftest.i conftest.err conftest.
$ac_ext
12684 if $ac_preproc_ok; then :
12687 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12688 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12689 as_fn_error $?
"C++ preprocessor \"$CXXCPP\" fails sanity check
12690 See \`config.log' for more details" "$LINENO" 5; }
12694 ac_cpp
='$CPP $CPPFLAGS'
12695 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12696 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12697 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12700 _lt_caught_CXX_error
=yes
12704 ac_cpp
='$CXXCPP $CPPFLAGS'
12705 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12706 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12707 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12709 archive_cmds_need_lc_CXX
=no
12710 allow_undefined_flag_CXX
=
12711 always_export_symbols_CXX
=no
12712 archive_expsym_cmds_CXX
=
12713 compiler_needs_object_CXX
=no
12714 export_dynamic_flag_spec_CXX
=
12715 hardcode_direct_CXX
=no
12716 hardcode_direct_absolute_CXX
=no
12717 hardcode_libdir_flag_spec_CXX
=
12718 hardcode_libdir_separator_CXX
=
12719 hardcode_minus_L_CXX
=no
12720 hardcode_shlibpath_var_CXX
=unsupported
12721 hardcode_automatic_CXX
=no
12722 inherit_rpath_CXX
=no
12724 module_expsym_cmds_CXX
=
12725 link_all_deplibs_CXX
=unknown
12726 old_archive_cmds_CXX
=$old_archive_cmds
12727 reload_flag_CXX
=$reload_flag
12728 reload_cmds_CXX
=$reload_cmds
12729 no_undefined_flag_CXX
=
12730 whole_archive_flag_spec_CXX
=
12731 enable_shared_with_static_runtimes_CXX
=no
12733 # Source file extension for C++ test sources.
12736 # Object file extension for compiled C++ test sources.
12740 # No sense in running all these tests if we already determined that
12741 # the CXX compiler isn't working. Some variables (like enable_shared)
12742 # are currently assumed to apply to all compilers on this platform,
12743 # and will be corrupted by setting them based on a non-working compiler.
12744 if test "$_lt_caught_CXX_error" != yes; then
12745 # Code to be used in simple compile tests
12746 lt_simple_compile_test_code
="int some_variable = 0;"
12748 # Code to be used in simple link tests
12749 lt_simple_link_test_code
='int main(int, char *[]) { return(0); }'
12751 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12758 # If no C compiler was specified, use CC.
12761 # If no C compiler flags were specified, use CFLAGS.
12762 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
12764 # Allow CC to be a program name with arguments.
12768 # save warnings/boilerplate of simple test code
12769 ac_outfile
=conftest.
$ac_objext
12770 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
12771 eval "$ac_compile" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
12772 _lt_compiler_boilerplate
=`cat conftest.err`
12775 ac_outfile
=conftest.
$ac_objext
12776 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
12777 eval "$ac_link" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
12778 _lt_linker_boilerplate
=`cat conftest.err`
12782 # Allow CC to be a program name with arguments.
12784 lt_save_CFLAGS
=$CFLAGS
12788 lt_save_with_gnu_ld
=$with_gnu_ld
12789 lt_save_path_LD
=$lt_cv_path_LD
12790 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12791 lt_cv_prog_gnu_ld
=$lt_cv_prog_gnu_ldcxx
12793 $as_unset lt_cv_prog_gnu_ld
12795 if test -n "${lt_cv_path_LDCXX+set}"; then
12796 lt_cv_path_LD
=$lt_cv_path_LDCXX
12798 $as_unset lt_cv_path_LD
12800 test -z "${LDCXX+set}" || LD
=$LDCXX
12805 for cc_temp
in $compiler""; do
12807 compile
| *[\\/]compile
| ccache
| *[\\/]ccache
) ;;
12808 distcc
| *[\\/]distcc
| purify
| *[\\/]purify
) ;;
12813 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12816 if test -n "$compiler"; then
12817 # We don't want -fno-exception when compiling C++ code, so set the
12818 # no_builtin_flag separately
12819 if test "$GXX" = yes; then
12820 lt_prog_compiler_no_builtin_flag_CXX
=' -fno-builtin'
12822 lt_prog_compiler_no_builtin_flag_CXX
=
12825 if test "$GXX" = yes; then
12826 # Set up default GNU C++ configuration
12830 # Check whether --with-gnu-ld was given.
12831 if test "${with_gnu_ld+set}" = set; then :
12832 withval
=$with_gnu_ld; test "$withval" = no
|| with_gnu_ld
=yes
12838 if test "$GCC" = yes; then
12839 # Check if gcc -print-prog-name=ld gives a path.
12840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12841 $as_echo_n "checking for ld used by $CC... " >&6; }
12844 # gcc leaves a trailing carriage return which upsets mingw
12845 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12847 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
12850 # Accept absolute paths.
12852 re_direlt
='/[^/][^/]*/\.\./'
12853 # Canonicalize the pathname of ld
12854 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12855 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev
/null
2>&1; do
12856 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12858 test -z "$LD" && LD
="$ac_prog"
12861 # If it fails, then pretend we aren't using GCC.
12865 # If it is relative, then search for the first ld in PATH.
12866 with_gnu_ld
=unknown
12869 elif test "$with_gnu_ld" = yes; then
12870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12871 $as_echo_n "checking for GNU ld... " >&6; }
12873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12874 $as_echo_n "checking for non-GNU ld... " >&6; }
12876 if ${lt_cv_path_LD+:} false
; then :
12877 $as_echo_n "(cached) " >&6
12879 if test -z "$LD"; then
12880 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
12881 for ac_dir
in $PATH; do
12883 test -z "$ac_dir" && ac_dir
=.
12884 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12885 lt_cv_path_LD
="$ac_dir/$ac_prog"
12886 # Check to see if the program is GNU ld. I'd rather use --version,
12887 # but apparently some variants of GNU ld only accept -v.
12888 # Break only if it was the GNU/non-GNU ld that we prefer.
12889 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12890 *GNU
* | *'with BFD'*)
12891 test "$with_gnu_ld" != no
&& break
12894 test "$with_gnu_ld" != yes && break
12901 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
12905 LD
="$lt_cv_path_LD"
12906 if test -n "$LD"; then
12907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12908 $as_echo "$LD" >&6; }
12910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12911 $as_echo "no" >&6; }
12913 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
12914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12915 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12916 if ${lt_cv_prog_gnu_ld+:} false
; then :
12917 $as_echo_n "(cached) " >&6
12919 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12920 case `$LD -v 2>&1 </dev/null` in
12921 *GNU
* | *'with BFD'*)
12922 lt_cv_prog_gnu_ld
=yes
12925 lt_cv_prog_gnu_ld
=no
12929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12930 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12931 with_gnu_ld
=$lt_cv_prog_gnu_ld
12939 # Check if GNU C++ uses GNU ld as the underlying linker, since the
12940 # archiving commands below assume that GNU ld is being used.
12941 if test "$with_gnu_ld" = yes; then
12942 archive_cmds_CXX
='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12943 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'
12945 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12946 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12948 # If archive_cmds runs LD, not CC, wlarc should be empty
12949 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12950 # investigate it a little bit more. (MM)
12953 # ancient GNU ld didn't support --whole-archive et. al.
12954 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12955 $GREP 'no-whole-archive' > /dev
/null
; then
12956 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12958 whole_archive_flag_spec_CXX
=
12964 # A generic and very simple default shared library creation
12965 # command for GNU C++ for the case where it uses the native
12966 # linker, instead of GNU ld. If possible, this setting should
12967 # overridden to take advantage of the native linker features on
12968 # the platform it is being used on.
12969 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12972 # Commands to make compiler produce verbose output that lists
12973 # what "hidden" libraries, object files and flags are used when
12974 # linking a shared library.
12975 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12983 # PORTME: fill in a description of your system's C++ link characteristics
12984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12985 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12989 # FIXME: insert proper C++ library support
12993 if test "$host_cpu" = ia64
; then
12994 # On IA64, the linker does run time linking by default, so we don't
12995 # have to do anything special.
12996 aix_use_runtimelinking
=no
12997 exp_sym_flag
='-Bexport'
13000 aix_use_runtimelinking
=no
13002 # Test if we are trying to use run time linking or normal
13003 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
13004 # need to do runtime linking.
13005 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
13006 for ld_flag
in $LDFLAGS; do
13009 aix_use_runtimelinking
=yes
13017 exp_sym_flag
='-bexport'
13018 no_entry_flag
='-bnoentry'
13021 # When large executables or shared objects are built, AIX ld can
13022 # have problems creating the table of contents. If linking a library
13023 # or program results in "error TOC overflow" add -mminimal-toc to
13024 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
13025 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
13027 archive_cmds_CXX
=''
13028 hardcode_direct_CXX
=yes
13029 hardcode_direct_absolute_CXX
=yes
13030 hardcode_libdir_separator_CXX
=':'
13031 link_all_deplibs_CXX
=yes
13032 file_list_spec_CXX
='${wl}-f,'
13034 if test "$GXX" = yes; then
13035 case $host_os in aix4.
[012]|aix4.
[012].
*)
13036 # We only want to do this on AIX 4.2 and lower, the check
13037 # below for broken collect2 doesn't work under 4.3+
13038 collect2name
=`${CC} -print-prog-name=collect2`
13039 if test -f "$collect2name" &&
13040 strings "$collect2name" | $GREP resolve_lib_name
>/dev
/null
13042 # We have reworked collect2
13045 # We have old collect2
13046 hardcode_direct_CXX
=unsupported
13047 # It fails to find uninstalled libraries when the uninstalled
13048 # path is not listed in the libpath. Setting hardcode_minus_L
13049 # to unsupported forces relinking
13050 hardcode_minus_L_CXX
=yes
13051 hardcode_libdir_flag_spec_CXX
='-L$libdir'
13052 hardcode_libdir_separator_CXX
=
13055 shared_flag
='-shared'
13056 if test "$aix_use_runtimelinking" = yes; then
13057 shared_flag
="$shared_flag "'${wl}-G'
13061 if test "$host_cpu" = ia64
; then
13062 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
13063 # chokes on -Wl,-G. The following line is correct:
13066 if test "$aix_use_runtimelinking" = yes; then
13067 shared_flag
='${wl}-G'
13069 shared_flag
='${wl}-bM:SRE'
13074 export_dynamic_flag_spec_CXX
='${wl}-bexpall'
13075 # It seems that -bexpall does not export symbols beginning with
13076 # underscore (_), so it is better to generate a list of symbols to
13078 always_export_symbols_CXX
=yes
13079 if test "$aix_use_runtimelinking" = yes; then
13080 # Warning - without using the other runtime loading flags (-brtl),
13081 # -berok will link without error, but may produce a broken library.
13082 allow_undefined_flag_CXX
='-berok'
13083 # Determine the default libpath from the value encoded in an empty
13085 if test "${lt_cv_aix_libpath+set}" = set; then
13086 aix_libpath
=$lt_cv_aix_libpath
13088 if ${lt_cv_aix_libpath__CXX+:} false
; then :
13089 $as_echo_n "(cached) " >&6
13091 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13092 /* end confdefs.h. */
13102 if ac_fn_cxx_try_link
"$LINENO"; then :
13104 lt_aix_libpath_sed
='
13105 /Import File Strings/,/^$/ {
13107 s/^0 *\([^ ]*\) *$/\1/
13111 lt_cv_aix_libpath__CXX
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13112 # Check for a 64-bit object if we didn't find anything.
13113 if test -z "$lt_cv_aix_libpath__CXX"; then
13114 lt_cv_aix_libpath__CXX
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13117 rm -f core conftest.err conftest.
$ac_objext \
13118 conftest
$ac_exeext conftest.
$ac_ext
13119 if test -z "$lt_cv_aix_libpath__CXX"; then
13120 lt_cv_aix_libpath__CXX
="/usr/lib:/lib"
13125 aix_libpath
=$lt_cv_aix_libpath__CXX
13128 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
13130 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"
13132 if test "$host_cpu" = ia64
; then
13133 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
13134 allow_undefined_flag_CXX
="-z nodefs"
13135 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"
13137 # Determine the default libpath from the value encoded in an
13138 # empty executable.
13139 if test "${lt_cv_aix_libpath+set}" = set; then
13140 aix_libpath
=$lt_cv_aix_libpath
13142 if ${lt_cv_aix_libpath__CXX+:} false
; then :
13143 $as_echo_n "(cached) " >&6
13145 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13146 /* end confdefs.h. */
13156 if ac_fn_cxx_try_link
"$LINENO"; then :
13158 lt_aix_libpath_sed
='
13159 /Import File Strings/,/^$/ {
13161 s/^0 *\([^ ]*\) *$/\1/
13165 lt_cv_aix_libpath__CXX
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13166 # Check for a 64-bit object if we didn't find anything.
13167 if test -z "$lt_cv_aix_libpath__CXX"; then
13168 lt_cv_aix_libpath__CXX
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13171 rm -f core conftest.err conftest.
$ac_objext \
13172 conftest
$ac_exeext conftest.
$ac_ext
13173 if test -z "$lt_cv_aix_libpath__CXX"; then
13174 lt_cv_aix_libpath__CXX
="/usr/lib:/lib"
13179 aix_libpath
=$lt_cv_aix_libpath__CXX
13182 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
13183 # Warning - without using the other run time loading flags,
13184 # -berok will link without error, but may produce a broken library.
13185 no_undefined_flag_CXX
=' ${wl}-bernotok'
13186 allow_undefined_flag_CXX
=' ${wl}-berok'
13187 if test "$with_gnu_ld" = yes; then
13188 # We only use this code for GNU lds that support --whole-archive.
13189 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13191 # Exported symbols can be pulled into shared objects from archives
13192 whole_archive_flag_spec_CXX
='$convenience'
13194 archive_cmds_need_lc_CXX
=yes
13195 # This is similar to how AIX traditionally builds its shared
13197 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'
13203 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
13204 allow_undefined_flag_CXX
=unsupported
13205 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13206 # support --undefined. This deserves some investigation. FIXME
13207 archive_cmds_CXX
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13214 case $cc_basename in
13216 # FIXME: insert proper C++ library support
13222 cygwin
* | mingw
* | pw32
* | cegcc
*)
13223 case $GXX,$cc_basename in
13226 # hardcode_libdir_flag_spec is actually meaningless, as there is
13227 # no search path for DLLs.
13228 hardcode_libdir_flag_spec_CXX
=' '
13229 allow_undefined_flag_CXX
=unsupported
13230 always_export_symbols_CXX
=yes
13231 file_list_spec_CXX
='@'
13232 # Tell ltmain to make .lib files, not .a files.
13234 # Tell ltmain to make .dll files, not .so files.
13236 # FIXME: Setting linknames here is a bad hack.
13237 archive_cmds_CXX
='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
13238 archive_expsym_cmds_CXX
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13239 $SED -n -e 's
/\\\\\\\
(.
*\\\\\\\
)/-link\\\
-EXPORT:\\\\\\\
1/' -e '1\\\
!p
' < $export_symbols > $output_objdir/$soname.exp;
13241 $SED -e 's
/\\\\\\\
(.
*\\\\\\\
)/-link\\\
-EXPORT:\\\\\\\
1/' < $export_symbols > $output_objdir/$soname.exp;
13243 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
13245 # The linker will not automatically build a static lib if we build a DLL.
13246 # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
13247 enable_shared_with_static_runtimes_CXX
=yes
13249 old_postinstall_cmds_CXX
='chmod 644 $oldlib'
13250 postlink_cmds_CXX
='lt_outputfile="@OUTPUT@"~
13251 lt_tool_outputfile="@TOOL_OUTPUT@"~
13252 case $lt_outputfile in
13255 lt_outputfile="$lt_outputfile.exe"
13256 lt_tool_outputfile="$lt_tool_outputfile.exe"
13259 func_to_tool_file "$lt_outputfile"~
13260 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
13261 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
13262 $RM "$lt_outputfile.manifest";
13267 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
13268 # as there is no search path for DLLs.
13269 hardcode_libdir_flag_spec_CXX
='-L$libdir'
13270 export_dynamic_flag_spec_CXX
='${wl}--export-all-symbols'
13271 allow_undefined_flag_CXX
=unsupported
13272 always_export_symbols_CXX
=no
13273 enable_shared_with_static_runtimes_CXX
=yes
13275 if $LD --help 2>&1 | $GREP 'auto-import' > /dev
/null
; then
13276 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'
13277 # If the export-symbols file already is a .def file (1st line
13278 # is EXPORTS), use it as is; otherwise, prepend...
13279 archive_expsym_cmds_CXX
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13280 cp $export_symbols $output_objdir/$soname.def;
13282 echo EXPORTS > $output_objdir/$soname.def;
13283 cat $export_symbols >> $output_objdir/$soname.def;
13285 $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'
13292 darwin
* | rhapsody
*)
13295 archive_cmds_need_lc_CXX
=no
13296 hardcode_direct_CXX
=no
13297 hardcode_automatic_CXX
=yes
13298 hardcode_shlibpath_var_CXX
=unsupported
13299 if test "$lt_cv_ld_force_load" = "yes"; then
13300 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\"`'
13303 whole_archive_flag_spec_CXX
=''
13305 link_all_deplibs_CXX
=yes
13306 allow_undefined_flag_CXX
="$_lt_dar_allow_undefined"
13307 case $cc_basename in
13308 ifort
*) _lt_dar_can_shared
=yes ;;
13309 *) _lt_dar_can_shared
=$GCC ;;
13311 if test "$_lt_dar_can_shared" = "yes"; then
13312 output_verbose_link_cmd
=func_echo_all
13313 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}"
13314 module_cmds_CXX
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
13315 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}"
13316 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}"
13317 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
13318 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}"
13319 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}"
13329 case $cc_basename in
13331 # FIXME: insert proper C++ library support
13335 # Green Hills C++ Compiler
13336 # FIXME: insert proper C++ library support
13340 # FIXME: insert proper C++ library support
13347 # C++ shared libraries reported to be fairly broken before
13353 archive_cmds_need_lc_CXX
=no
13356 freebsd
* | dragonfly
*)
13357 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
13366 archive_cmds_CXX
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13367 link_all_deplibs_CXX
=yes
13371 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
13372 hardcode_libdir_separator_CXX
=:
13373 export_dynamic_flag_spec_CXX
='${wl}-E'
13374 hardcode_direct_CXX
=yes
13375 hardcode_minus_L_CXX
=yes # Not in the search PATH,
13376 # but as the default
13377 # location of the library.
13379 case $cc_basename in
13381 # FIXME: insert proper C++ library support
13385 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'
13386 # Commands to make compiler produce verbose output that lists
13387 # what "hidden" libraries, object files and flags are used when
13388 # linking a shared library.
13390 # There doesn't appear to be a way to prevent this compiler from
13391 # explicitly linking system object files so we need to strip them
13392 # from the output so that they don't get included in the library
13394 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"'
13397 if test "$GXX" = yes; then
13398 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'
13400 # FIXME: insert proper C++ library support
13408 if test $with_gnu_ld = no
; then
13409 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
13410 hardcode_libdir_separator_CXX
=:
13416 export_dynamic_flag_spec_CXX
='${wl}-E'
13422 hardcode_direct_CXX
=no
13423 hardcode_shlibpath_var_CXX
=no
13426 hardcode_direct_CXX
=yes
13427 hardcode_direct_absolute_CXX
=yes
13428 hardcode_minus_L_CXX
=yes # Not in the search PATH,
13429 # but as the default
13430 # location of the library.
13434 case $cc_basename in
13436 # FIXME: insert proper C++ library support
13442 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13445 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13448 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13451 # Commands to make compiler produce verbose output that lists
13452 # what "hidden" libraries, object files and flags are used when
13453 # linking a shared library.
13455 # There doesn't appear to be a way to prevent this compiler from
13456 # explicitly linking system object files so we need to strip them
13457 # from the output so that they don't get included in the library
13459 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"'
13462 if test "$GXX" = yes; then
13463 if test $with_gnu_ld = no
; then
13466 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13469 archive_cmds_CXX
='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13472 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'
13477 # FIXME: insert proper C++ library support
13485 hardcode_direct_CXX
=no
13486 hardcode_shlibpath_var_CXX
=no
13487 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13488 export_dynamic_flag_spec_CXX
='${wl}-E'
13489 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
13490 # Instead, shared libraries are loaded at an image base (0x10000000 by
13491 # default) and relocated if they conflict, which is a slow very memory
13492 # consuming and fragmenting process. To avoid this, we pick a random,
13493 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
13494 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
13495 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'
13496 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'
13499 case $cc_basename in
13502 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'
13504 # Archives containing C++ object files must be created using
13505 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
13506 # necessary to make sure instantiated templates are included
13508 old_archive_cmds_CXX
='$CC -ar -WR,-u -o $oldlib $oldobjs'
13511 if test "$GXX" = yes; then
13512 if test "$with_gnu_ld" = no
; then
13513 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'
13515 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'
13518 link_all_deplibs_CXX
=yes
13521 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13522 hardcode_libdir_separator_CXX
=:
13523 inherit_rpath_CXX
=yes
13526 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
13527 case $cc_basename in
13529 # Kuck and Associates, Inc. (KAI) C++ Compiler
13531 # KCC will only create a shared library if the output file
13532 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13533 # to its proper name (with version) after linking.
13534 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'
13535 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'
13536 # Commands to make compiler produce verbose output that lists
13537 # what "hidden" libraries, object files and flags are used when
13538 # linking a shared library.
13540 # There doesn't appear to be a way to prevent this compiler from
13541 # explicitly linking system object files so we need to strip them
13542 # from the output so that they don't get included in the library
13544 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"'
13546 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13547 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13549 # Archives containing C++ object files must be created using
13550 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
13551 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
13556 # version 8.0 and above of icpc choke on multiply defined symbols
13557 # if we add $predep_objects and $postdep_objects, however 7.1 and
13558 # earlier do not add the objects themselves.
13559 case `$CC -V 2>&1` in
13561 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13562 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'
13564 *) # Version 8.0 or newer
13567 ia64
*) tmp_idyn
=' -i_dynamic';;
13569 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13570 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'
13573 archive_cmds_need_lc_CXX
=no
13574 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13575 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13576 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13579 # Portland Group C++ compiler
13581 *pgCC\
[1-5].
* | *pgcpp\
[1-5].
*)
13582 prelink_cmds_CXX
='tpldir=Template.dir~
13584 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
13585 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
13586 old_archive_cmds_CXX
='tpldir=Template.dir~
13588 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
13589 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
13591 archive_cmds_CXX
='tpldir=Template.dir~
13593 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13594 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13595 archive_expsym_cmds_CXX
='tpldir=Template.dir~
13597 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13598 $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'
13600 *) # Version 6 and above use weak symbols
13601 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13602 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'
13606 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
13607 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13608 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'
13612 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13613 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'
13615 runpath_var
=LD_RUN_PATH
13616 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
13617 hardcode_libdir_separator_CXX
=:
13619 # Commands to make compiler produce verbose output that lists
13620 # what "hidden" libraries, object files and flags are used when
13621 # linking a shared library.
13623 # There doesn't appear to be a way to prevent this compiler from
13624 # explicitly linking system object files so we need to strip them
13625 # from the output so that they don't get included in the library
13627 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'
13629 xl
* | mpixl
* | bgxl
*)
13630 # IBM XL 8.0 on PPC, with GNU ld
13631 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13632 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13633 archive_cmds_CXX
='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13634 if test "x$supports_anon_versioning" = xyes
; then
13635 archive_expsym_cmds_CXX
='echo "{ global:" > $output_objdir/$libname.ver~
13636 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13637 echo "local: *; };" >> $output_objdir/$libname.ver~
13638 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
13642 case `$CC -V 2>&1 | sed 5q` in
13645 no_undefined_flag_CXX
=' -zdefs'
13646 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13647 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'
13648 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13649 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'
13650 compiler_needs_object_CXX
=yes
13652 # Not sure whether something based on
13653 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
13655 output_verbose_link_cmd
='func_echo_all'
13657 # Archives containing C++ object files must be created using
13658 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13659 # necessary to make sure instantiated templates are included
13661 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
13669 # FIXME: insert proper C++ library support
13674 # FIXME: insert proper C++ library support
13679 case $cc_basename in
13681 # FIXME: insert proper C++ library support
13685 # FIXME: insert proper C++ library support
13692 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
13693 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
13695 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13696 hardcode_direct_CXX
=yes
13697 hardcode_shlibpath_var_CXX
=no
13699 # Workaround some broken pre-1.5 toolchains
13700 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
13708 # C++ shared libraries are fairly broken
13713 if test -f /usr
/libexec
/ld.so
; then
13714 hardcode_direct_CXX
=yes
13715 hardcode_shlibpath_var_CXX
=no
13716 hardcode_direct_absolute_CXX
=yes
13717 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13718 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13719 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13720 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
13721 export_dynamic_flag_spec_CXX
='${wl}-E'
13722 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13724 output_verbose_link_cmd
=func_echo_all
13730 osf3
* | osf4
* | osf5
*)
13731 case $cc_basename in
13733 # Kuck and Associates, Inc. (KAI) C++ Compiler
13735 # KCC will only create a shared library if the output file
13736 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13737 # to its proper name (with version) after linking.
13738 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'
13740 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13741 hardcode_libdir_separator_CXX
=:
13743 # Archives containing C++ object files must be created using
13744 # the KAI C++ compiler.
13746 osf3
*) old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs' ;;
13747 *) old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs' ;;
13751 # Rational C++ 2.4.1
13752 # FIXME: insert proper C++ library support
13758 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
13759 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'
13760 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13763 allow_undefined_flag_CXX
=' -expect_unresolved \*'
13764 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'
13765 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
13766 echo "-hidden">> $lib.exp~
13767 $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~
13769 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
13773 hardcode_libdir_separator_CXX
=:
13775 # Commands to make compiler produce verbose output that lists
13776 # what "hidden" libraries, object files and flags are used when
13777 # linking a shared library.
13779 # There doesn't appear to be a way to prevent this compiler from
13780 # explicitly linking system object files so we need to strip them
13781 # from the output so that they don't get included in the library
13783 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"'
13786 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
13787 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
13790 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'
13793 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'
13797 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13798 hardcode_libdir_separator_CXX
=:
13800 # Commands to make compiler produce verbose output that lists
13801 # what "hidden" libraries, object files and flags are used when
13802 # linking a shared library.
13803 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13806 # FIXME: insert proper C++ library support
13814 # FIXME: insert proper C++ library support
13819 case $cc_basename in
13822 # FIXME: insert proper C++ library support
13827 # FIXME: insert proper C++ library support
13831 # FIXME: insert proper C++ library support
13838 case $cc_basename in
13840 # Sun C++ 4.2, 5.x and Centerline C++
13841 archive_cmds_need_lc_CXX
=yes
13842 no_undefined_flag_CXX
=' -zdefs'
13843 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13844 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13845 $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'
13847 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13848 hardcode_shlibpath_var_CXX
=no
13850 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
13852 # The compiler driver will combine and reorder linker options,
13853 # but understands `-z linker_flag'.
13854 # Supported since Solaris 2.6 (maybe 2.5.1?)
13855 whole_archive_flag_spec_CXX
='-z allextract$convenience -z defaultextract'
13858 link_all_deplibs_CXX
=yes
13860 output_verbose_link_cmd
='func_echo_all'
13862 # Archives containing C++ object files must be created using
13863 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13864 # necessary to make sure instantiated templates are included
13866 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
13869 # Green Hills C++ Compiler
13870 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13872 # The C++ compiler must be used to create the archive.
13873 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13876 # GNU C++ compiler with Solaris linker
13877 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
13878 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
13879 if $CC --version | $GREP -v '^2\.7' > /dev
/null
; then
13880 archive_cmds_CXX
='$CC -shared $pic_flag -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13881 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13882 $CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13884 # Commands to make compiler produce verbose output that lists
13885 # what "hidden" libraries, object files and flags are used when
13886 # linking a shared library.
13887 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13889 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13891 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13892 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13893 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13895 # Commands to make compiler produce verbose output that lists
13896 # what "hidden" libraries, object files and flags are used when
13897 # linking a shared library.
13898 output_verbose_link_cmd
='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13901 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
13903 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
13905 whole_archive_flag_spec_CXX
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13913 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
13914 no_undefined_flag_CXX
='${wl}-z,text'
13915 archive_cmds_need_lc_CXX
=no
13916 hardcode_shlibpath_var_CXX
=no
13917 runpath_var
='LD_RUN_PATH'
13919 case $cc_basename in
13921 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13922 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13925 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13926 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13931 sysv5
* | sco3.2v5
* | sco5v6
*)
13932 # Note: We can NOT use -z defs as we might desire, because we do not
13933 # link with -lc, and that would cause any symbols used from libc to
13934 # always be unresolved, which means just about no library would
13935 # ever link correctly. If we're not using GNU ld we use -z text
13936 # though, which does catch some bad symbols but isn't as heavy-handed
13938 no_undefined_flag_CXX
='${wl}-z,text'
13939 allow_undefined_flag_CXX
='${wl}-z,nodefs'
13940 archive_cmds_need_lc_CXX
=no
13941 hardcode_shlibpath_var_CXX
=no
13942 hardcode_libdir_flag_spec_CXX
='${wl}-R,$libdir'
13943 hardcode_libdir_separator_CXX
=':'
13944 link_all_deplibs_CXX
=yes
13945 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
13946 runpath_var
='LD_RUN_PATH'
13948 case $cc_basename in
13950 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13951 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13952 old_archive_cmds_CXX
='$CC -Tprelink_objects $oldobjs~
13953 '"$old_archive_cmds_CXX"
13954 reload_cmds_CXX
='$CC -Tprelink_objects $reload_objs~
13955 '"$reload_cmds_CXX"
13958 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13959 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13965 case $cc_basename in
13967 # NonStop-UX NCC 3.20
13968 # FIXME: insert proper C++ library support
13972 # FIXME: insert proper C++ library support
13979 # FIXME: insert proper C++ library support
13984 # FIXME: insert proper C++ library support
13989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13990 $as_echo "$ld_shlibs_CXX" >&6; }
13991 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
13997 ## There is no encapsulation within the following macros, do not change
13998 ## the running order or otherwise move them around unless you know exactly
13999 ## what you are doing...
14000 # Dependencies to place before and after the object being linked:
14001 predep_objects_CXX
=
14002 postdep_objects_CXX
=
14005 compiler_lib_search_path_CXX
=
14007 cat > conftest.
$ac_ext <<_LT_EOF
14011 Foo (void) { a = 0; }
14018 _lt_libdeps_save_CFLAGS
=$CFLAGS
14019 case "$CC $CFLAGS " in #(
14020 *\
-flto*\
*) CFLAGS
="$CFLAGS -fno-lto" ;;
14021 *\
-fwhopr*\
*) CFLAGS
="$CFLAGS -fno-whopr" ;;
14022 *\
-fuse-linker-plugin*\
*) CFLAGS
="$CFLAGS -fno-use-linker-plugin" ;;
14025 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14026 (eval $ac_compile) 2>&5
14028 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14029 test $ac_status = 0; }; then
14030 # Parse the compiler output and extract the necessary
14031 # objects, libraries and library flags.
14033 # Sentinel used to keep track of whether or not we are before
14034 # the conftest object file.
14035 pre_test_object_deps_done
=no
14037 for p
in `eval "$output_verbose_link_cmd"`; do
14038 case ${prev}${p} in
14041 # Some compilers place space between "-{L,R}" and the path.
14042 # Remove the space.
14043 if test $p = "-L" ||
14044 test $p = "-R"; then
14049 # Expand the sysroot to ease extracting the directories later.
14050 if test -z "$prev"; then
14052 -L*) func_stripname_cnf
'-L' '' "$p"; prev
=-L; p
=$func_stripname_result ;;
14053 -R*) func_stripname_cnf
'-R' '' "$p"; prev
=-R; p
=$func_stripname_result ;;
14054 -l*) func_stripname_cnf
'-l' '' "$p"; prev
=-l; p
=$func_stripname_result ;;
14058 =*) func_stripname_cnf
'=' '' "$p"; p
=$lt_sysroot$func_stripname_result ;;
14060 if test "$pre_test_object_deps_done" = no
; then
14063 # Internal compiler library paths should come after those
14064 # provided the user. The postdeps already come after the
14065 # user supplied libs so there is no need to process them.
14066 if test -z "$compiler_lib_search_path_CXX"; then
14067 compiler_lib_search_path_CXX
="${prev}${p}"
14069 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
14072 # The "-l" case would never come before the object being
14073 # linked, so don't bother handling this case.
14076 if test -z "$postdeps_CXX"; then
14077 postdeps_CXX
="${prev}${p}"
14079 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
14085 *.lto.
$objext) ;; # Ignore GCC LTO objects
14087 # This assumes that the test object file only shows up
14088 # once in the compiler output.
14089 if test "$p" = "conftest.$objext"; then
14090 pre_test_object_deps_done
=yes
14094 if test "$pre_test_object_deps_done" = no
; then
14095 if test -z "$predep_objects_CXX"; then
14096 predep_objects_CXX
="$p"
14098 predep_objects_CXX
="$predep_objects_CXX $p"
14101 if test -z "$postdep_objects_CXX"; then
14102 postdep_objects_CXX
="$p"
14104 postdep_objects_CXX
="$postdep_objects_CXX $p"
14109 *) ;; # Ignore the rest.
14117 echo "libtool.m4: error: problem compiling CXX test program"
14120 $RM -f confest.
$objext
14121 CFLAGS
=$_lt_libdeps_save_CFLAGS
14123 # PORTME: override above test on systems where it is broken
14126 # Interix 3.5 installs completely hosed .la files for C++, so rather than
14127 # hack all around it, let's just trust "g++" to DTRT.
14128 predep_objects_CXX
=
14129 postdep_objects_CXX
=
14134 case `$CC -V 2>&1 | sed 5q` in
14138 # The more standards-conforming stlport4 library is
14139 # incompatible with the Cstd library. Avoid specifying
14140 # it if it's in CXXFLAGS. Ignore libCrun as
14141 # -library=stlport4 depends on it.
14142 case " $CXX $CXXFLAGS " in
14143 *" -library=stlport4 "*)
14144 solaris_use_stlport4
=yes
14148 if test "$solaris_use_stlport4" != yes; then
14149 postdeps_CXX
='-library=Cstd -library=Crun'
14156 case $cc_basename in
14158 # The more standards-conforming stlport4 library is
14159 # incompatible with the Cstd library. Avoid specifying
14160 # it if it's in CXXFLAGS. Ignore libCrun as
14161 # -library=stlport4 depends on it.
14162 case " $CXX $CXXFLAGS " in
14163 *" -library=stlport4 "*)
14164 solaris_use_stlport4
=yes
14168 # Adding this requires a known-good setup of shared libraries for
14169 # Sun compiler versions before 5.6, else PIC objects from an old
14170 # archive will be linked into the output, leading to subtle bugs.
14171 if test "$solaris_use_stlport4" != yes; then
14172 postdeps_CXX
='-library=Cstd -library=Crun'
14180 case " $postdeps_CXX " in
14181 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
14183 compiler_lib_search_dirs_CXX
=
14184 if test -n "${compiler_lib_search_path_CXX}"; then
14185 compiler_lib_search_dirs_CXX
=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
14218 lt_prog_compiler_wl_CXX
=
14219 lt_prog_compiler_pic_CXX
=
14220 lt_prog_compiler_static_CXX
=
14223 # C++ specific cases for pic, static, wl, etc.
14224 if test "$GXX" = yes; then
14225 lt_prog_compiler_wl_CXX
='-Wl,'
14226 lt_prog_compiler_static_CXX
='-static'
14230 # All AIX code is PIC.
14231 if test "$host_cpu" = ia64
; then
14232 # AIX 5 now supports IA64 processor
14233 lt_prog_compiler_static_CXX
='-Bstatic'
14240 # see comment about AmigaOS4 .so support
14241 lt_prog_compiler_pic_CXX
='-fPIC'
14244 # FIXME: we need at least 68020 code to build shared libraries, but
14245 # adding the `-m68020' flag to GCC prevents building anything better,
14247 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
14252 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
14253 # PIC is the default for these OSes.
14255 mingw
* | cygwin
* | os2
* | pw32
* | cegcc
*)
14256 # This hack is so that the source file can tell whether it is being
14257 # built for inclusion in a dll (and should export symbols for example).
14258 # Although the cygwin gcc ignores -fPIC, still need this for old-style
14259 # (--disable-auto-import) libraries
14260 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
14262 darwin
* | rhapsody
*)
14263 # PIC is the default on this platform
14264 # Common symbols not allowed in MH_DYLIB files
14265 lt_prog_compiler_pic_CXX
='-fno-common'
14268 # DJGPP does not support shared libraries at all
14269 lt_prog_compiler_pic_CXX
=
14272 # PIC is the default for Haiku.
14273 # The "-static" flag exists, but is broken.
14274 lt_prog_compiler_static_CXX
=
14277 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
14278 # Instead, we relocate shared libraries at runtime.
14281 if test -d /usr
/nec
; then
14282 lt_prog_compiler_pic_CXX
=-Kconform_pic
14286 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
14287 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
14288 # sets the default TLS model and affects inlining.
14293 lt_prog_compiler_pic_CXX
='-fPIC'
14298 # QNX uses GNU C++, but need to define -shared option too, otherwise
14299 # it will coredump.
14300 lt_prog_compiler_pic_CXX
='-fPIC -shared'
14303 lt_prog_compiler_pic_CXX
='-fPIC'
14309 # All AIX code is PIC.
14310 if test "$host_cpu" = ia64
; then
14311 # AIX 5 now supports IA64 processor
14312 lt_prog_compiler_static_CXX
='-Bstatic'
14314 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
14318 case $cc_basename in
14320 # Green Hills C++ Compiler
14321 # _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"
14325 mingw
* | cygwin
* | os2
* | pw32
* | cegcc
*)
14326 # This hack is so that the source file can tell whether it is being
14327 # built for inclusion in a dll (and should export symbols for example).
14328 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
14331 case $cc_basename in
14333 lt_prog_compiler_pic_CXX
='-KPIC'
14336 # Green Hills C++ Compiler
14337 lt_prog_compiler_pic_CXX
='-pic'
14343 freebsd
* | dragonfly
*)
14344 # FreeBSD uses GNU C++
14346 hpux9
* | hpux10
* | hpux11
*)
14347 case $cc_basename in
14349 lt_prog_compiler_wl_CXX
='-Wl,'
14350 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
14351 if test "$host_cpu" != ia64
; then
14352 lt_prog_compiler_pic_CXX
='+Z'
14356 lt_prog_compiler_wl_CXX
='-Wl,'
14357 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
14363 lt_prog_compiler_pic_CXX
='+Z'
14372 # This is c89, which is MS Visual C++ (no shared libs)
14373 # Anyone wants to do a port?
14375 irix5
* | irix6
* | nonstopux
*)
14376 case $cc_basename in
14378 lt_prog_compiler_wl_CXX
='-Wl,'
14379 lt_prog_compiler_static_CXX
='-non_shared'
14380 # CC pic flag -KPIC is the default.
14386 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
14387 case $cc_basename in
14390 lt_prog_compiler_wl_CXX
='--backend -Wl,'
14391 lt_prog_compiler_pic_CXX
='-fPIC'
14394 # old Intel C++ for x86_64 which still supported -KPIC.
14395 lt_prog_compiler_wl_CXX
='-Wl,'
14396 lt_prog_compiler_pic_CXX
='-KPIC'
14397 lt_prog_compiler_static_CXX
='-static'
14400 # Intel C++, used to be incompatible with GCC.
14401 # ICC 10 doesn't accept -KPIC any more.
14402 lt_prog_compiler_wl_CXX
='-Wl,'
14403 lt_prog_compiler_pic_CXX
='-fPIC'
14404 lt_prog_compiler_static_CXX
='-static'
14407 # Portland Group C++ compiler
14408 lt_prog_compiler_wl_CXX
='-Wl,'
14409 lt_prog_compiler_pic_CXX
='-fpic'
14410 lt_prog_compiler_static_CXX
='-Bstatic'
14414 # Make sure the PIC flag is empty. It appears that all Alpha
14415 # Linux and Compaq Tru64 Unix objects are PIC.
14416 lt_prog_compiler_pic_CXX
=
14417 lt_prog_compiler_static_CXX
='-non_shared'
14419 xlc
* | xlC
* | bgxl
[cC
]* | mpixl
[cC
]*)
14420 # IBM XL 8.0, 9.0 on PPC and BlueGene
14421 lt_prog_compiler_wl_CXX
='-Wl,'
14422 lt_prog_compiler_pic_CXX
='-qpic'
14423 lt_prog_compiler_static_CXX
='-qstaticlink'
14426 case `$CC -V 2>&1 | sed 5q` in
14429 lt_prog_compiler_pic_CXX
='-KPIC'
14430 lt_prog_compiler_static_CXX
='-Bstatic'
14431 lt_prog_compiler_wl_CXX
='-Qoption ld '
14442 case $cc_basename in
14444 lt_prog_compiler_pic_CXX
='-W c,exportall'
14453 # QNX uses GNU C++, but need to define -shared option too, otherwise
14454 # it will coredump.
14455 lt_prog_compiler_pic_CXX
='-fPIC -shared'
14457 osf3
* | osf4
* | osf5
*)
14458 case $cc_basename in
14460 lt_prog_compiler_wl_CXX
='--backend -Wl,'
14463 # Rational C++ 2.4.1
14464 lt_prog_compiler_pic_CXX
='-pic'
14467 # Digital/Compaq C++
14468 lt_prog_compiler_wl_CXX
='-Wl,'
14469 # Make sure the PIC flag is empty. It appears that all Alpha
14470 # Linux and Compaq Tru64 Unix objects are PIC.
14471 lt_prog_compiler_pic_CXX
=
14472 lt_prog_compiler_static_CXX
='-non_shared'
14481 case $cc_basename in
14483 # Sun C++ 4.2, 5.x and Centerline C++
14484 lt_prog_compiler_pic_CXX
='-KPIC'
14485 lt_prog_compiler_static_CXX
='-Bstatic'
14486 lt_prog_compiler_wl_CXX
='-Qoption ld '
14489 # Green Hills C++ Compiler
14490 lt_prog_compiler_pic_CXX
='-PIC'
14497 case $cc_basename in
14500 lt_prog_compiler_pic_CXX
='-pic'
14501 lt_prog_compiler_static_CXX
='-Bstatic'
14505 lt_prog_compiler_pic_CXX
='-pic'
14511 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
14512 case $cc_basename in
14514 lt_prog_compiler_wl_CXX
='-Wl,'
14515 lt_prog_compiler_pic_CXX
='-KPIC'
14516 lt_prog_compiler_static_CXX
='-Bstatic'
14521 case $cc_basename in
14523 # NonStop-UX NCC 3.20
14524 lt_prog_compiler_pic_CXX
='-KPIC'
14533 lt_prog_compiler_can_build_shared_CXX
=no
14539 # For platforms which do not support PIC, -DPIC is meaningless:
14541 lt_prog_compiler_pic_CXX
=
14544 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
14548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
14549 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
14550 if ${lt_cv_prog_compiler_pic_CXX+:} false
; then :
14551 $as_echo_n "(cached) " >&6
14553 lt_cv_prog_compiler_pic_CXX
=$lt_prog_compiler_pic_CXX
14555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
14556 $as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
14557 lt_prog_compiler_pic_CXX
=$lt_cv_prog_compiler_pic_CXX
14560 # Check to make sure the PIC flag actually works.
14562 if test -n "$lt_prog_compiler_pic_CXX"; then
14563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
14564 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
14565 if ${lt_cv_prog_compiler_pic_works_CXX+:} false
; then :
14566 $as_echo_n "(cached) " >&6
14568 lt_cv_prog_compiler_pic_works_CXX
=no
14569 ac_outfile
=conftest.
$ac_objext
14570 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14571 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
14572 # Insert the option either (1) after the last *FLAGS variable, or
14573 # (2) before a word containing "conftest.", or (3) at the end.
14574 # Note that $ac_compile itself does not contain backslashes and begins
14575 # with a dollar sign (not a hyphen), so the echo should work correctly.
14576 # The option is referenced via a variable to avoid confusing sed.
14577 lt_compile
=`echo "$ac_compile" | $SED \
14578 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14579 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14580 -e 's:$: $lt_compiler_flag:'`
14581 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14582 (eval "$lt_compile" 2>conftest.err
)
14584 cat conftest.err
>&5
14585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14586 if (exit $ac_status) && test -s "$ac_outfile"; then
14587 # The compiler can only warn and ignore the option if not recognized
14588 # So say no if there are warnings other than the usual output.
14589 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
14590 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14591 if test ! -s conftest.er2
|| diff conftest.exp conftest.er2
>/dev
/null
; then
14592 lt_cv_prog_compiler_pic_works_CXX
=yes
14598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
14599 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
14601 if test x
"$lt_cv_prog_compiler_pic_works_CXX" = xyes
; then
14602 case $lt_prog_compiler_pic_CXX in
14604 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
14607 lt_prog_compiler_pic_CXX
=
14608 lt_prog_compiler_can_build_shared_CXX
=no
14618 # Check to make sure the static flag actually works.
14620 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
14621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14622 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
14623 if ${lt_cv_prog_compiler_static_works_CXX+:} false
; then :
14624 $as_echo_n "(cached) " >&6
14626 lt_cv_prog_compiler_static_works_CXX
=no
14627 save_LDFLAGS
="$LDFLAGS"
14628 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
14629 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
14630 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
14631 # The linker can only warn and ignore the option if not recognized
14632 # So say no if there are warnings
14633 if test -s conftest.err
; then
14634 # Append any errors to the config.log.
14635 cat conftest.err
1>&5
14636 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
14637 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14638 if diff conftest.exp conftest.er2
>/dev
/null
; then
14639 lt_cv_prog_compiler_static_works_CXX
=yes
14642 lt_cv_prog_compiler_static_works_CXX
=yes
14646 LDFLAGS
="$save_LDFLAGS"
14649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
14650 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
14652 if test x
"$lt_cv_prog_compiler_static_works_CXX" = xyes
; then
14655 lt_prog_compiler_static_CXX
=
14661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14662 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14663 if ${lt_cv_prog_compiler_c_o_CXX+:} false
; then :
14664 $as_echo_n "(cached) " >&6
14666 lt_cv_prog_compiler_c_o_CXX
=no
14667 $RM -r conftest
2>/dev
/null
14671 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14673 lt_compiler_flag
="-o out/conftest2.$ac_objext"
14674 # Insert the option either (1) after the last *FLAGS variable, or
14675 # (2) before a word containing "conftest.", or (3) at the end.
14676 # Note that $ac_compile itself does not contain backslashes and begins
14677 # with a dollar sign (not a hyphen), so the echo should work correctly.
14678 lt_compile
=`echo "$ac_compile" | $SED \
14679 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14680 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14681 -e 's:$: $lt_compiler_flag:'`
14682 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14683 (eval "$lt_compile" 2>out
/conftest.err
)
14685 cat out
/conftest.err
>&5
14686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14687 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
14689 # The compiler can only warn and ignore the option if not recognized
14690 # So say no if there are warnings
14691 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out
/conftest.exp
14692 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
14693 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
14694 lt_cv_prog_compiler_c_o_CXX
=yes
14699 # SGI C++ compiler will create directory out/ii_files/ for
14700 # template instantiation
14701 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
14702 $RM out
/* && rmdir out
14708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14709 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14714 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14715 if ${lt_cv_prog_compiler_c_o_CXX+:} false
; then :
14716 $as_echo_n "(cached) " >&6
14718 lt_cv_prog_compiler_c_o_CXX
=no
14719 $RM -r conftest
2>/dev
/null
14723 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14725 lt_compiler_flag
="-o out/conftest2.$ac_objext"
14726 # Insert the option either (1) after the last *FLAGS variable, or
14727 # (2) before a word containing "conftest.", or (3) at the end.
14728 # Note that $ac_compile itself does not contain backslashes and begins
14729 # with a dollar sign (not a hyphen), so the echo should work correctly.
14730 lt_compile
=`echo "$ac_compile" | $SED \
14731 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14732 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14733 -e 's:$: $lt_compiler_flag:'`
14734 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14735 (eval "$lt_compile" 2>out
/conftest.err
)
14737 cat out
/conftest.err
>&5
14738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14739 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
14741 # The compiler can only warn and ignore the option if not recognized
14742 # So say no if there are warnings
14743 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out
/conftest.exp
14744 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
14745 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
14746 lt_cv_prog_compiler_c_o_CXX
=yes
14751 # SGI C++ compiler will create directory out/ii_files/ for
14752 # template instantiation
14753 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
14754 $RM out
/* && rmdir out
14760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14761 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14766 hard_links
="nottested"
14767 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
14768 # do not overwrite the value of need_locks provided by the user
14769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
14770 $as_echo_n "checking if we can lock with hard links... " >&6; }
14773 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14775 ln conftest.a conftest.b
2>&5 || hard_links
=no
14776 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
14778 $as_echo "$hard_links" >&6; }
14779 if test "$hard_links" = no
; then
14780 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14781 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14791 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14793 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14794 exclude_expsyms_CXX
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14797 # If we're using GNU nm, then we don't want the "-C" option.
14798 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14799 # Also, AIX nm treats weak defined symbols like other global defined
14800 # symbols, whereas GNU nm marks them as "W".
14801 if $NM -V 2>&1 | $GREP 'GNU' > /dev
/null
; then
14802 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'
14804 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'
14808 export_symbols_cmds_CXX
="$ltdll_cmds"
14810 cygwin
* | mingw
* | cegcc
*)
14811 case $cc_basename in
14813 exclude_expsyms_CXX
='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
14816 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'
14817 exclude_expsyms_CXX
='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
14822 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14827 $as_echo "$ld_shlibs_CXX" >&6; }
14828 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
14830 with_gnu_ld_CXX
=$with_gnu_ld
14838 # Do we need to explicitly link libc?
14840 case "x$archive_cmds_need_lc_CXX" in
14842 # Assume -lc should be added
14843 archive_cmds_need_lc_CXX
=yes
14845 if test "$enable_shared" = yes && test "$GCC" = yes; then
14846 case $archive_cmds_CXX in
14848 # FIXME: we may have to deal with multi-command sequences.
14851 # Test whether the compiler implicitly links with -lc since on some
14852 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14853 # to ld, don't add -lc before -lgcc.
14854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14855 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14856 if ${lt_cv_archive_cmds_need_lc_CXX+:} false
; then :
14857 $as_echo_n "(cached) " >&6
14860 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14862 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14863 (eval $ac_compile) 2>&5
14865 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14866 test $ac_status = 0; } 2>conftest.err
; then
14869 libobjs
=conftest.
$ac_objext
14871 wl
=$lt_prog_compiler_wl_CXX
14872 pic_flag
=$lt_prog_compiler_pic_CXX
14878 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
14879 allow_undefined_flag_CXX
=
14880 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14881 (eval $archive_cmds_CXX 2\
>\
&1 \
| $GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
14883 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14884 test $ac_status = 0; }
14886 lt_cv_archive_cmds_need_lc_CXX
=no
14888 lt_cv_archive_cmds_need_lc_CXX
=yes
14890 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
14892 cat conftest.err
1>&5
14897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14898 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14899 archive_cmds_need_lc_CXX
=$lt_cv_archive_cmds_need_lc_CXX
14967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14968 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14970 library_names_spec
=
14971 libname_spec
='lib$name'
14975 postuninstall_cmds
=
14979 shlibpath_overrides_runpath
=unknown
14981 dynamic_linker
="$host_os ld.so"
14982 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
14983 need_lib_prefix
=unknown
14984 hardcode_into_libs
=no
14986 # when you set need_version to no, make sure it does not cause -set_version
14987 # flags to be left without arguments
14988 need_version
=unknown
14992 version_type
=linux
# correct to gnu/linux during the next big refactor
14993 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
14994 shlibpath_var
=LIBPATH
14996 # AIX 3 has no versioning support, so we append a major version to the name.
14997 soname_spec
='${libname}${release}${shared_ext}$major'
15001 version_type
=linux
# correct to gnu/linux during the next big refactor
15004 hardcode_into_libs
=yes
15005 if test "$host_cpu" = ia64
; then
15006 # AIX 5 supports IA64
15007 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
15008 shlibpath_var
=LD_LIBRARY_PATH
15010 # With GCC up to 2.95.x, collect2 would create an import file
15011 # for dependence libraries. The import file would start with
15012 # the line `#! .'. This would cause the generated library to
15013 # depend on `.', always an invalid library. This was fixed in
15014 # development snapshots of GCC prior to 3.0.
15016 aix4
| aix4.
[01] | aix4.
[01].
*)
15017 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15019 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev
/null
; then
15022 can_build_shared
=no
15026 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
15027 # soname into executable. Probably we can add versioning support to
15028 # collect2, so additional links can be useful in future.
15029 if test "$aix_use_runtimelinking" = yes; then
15030 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15031 # instead of lib<name>.a to let people know that these are not
15032 # typical AIX shared libraries.
15033 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15035 # We preserve .a as extension for shared libraries through AIX4.2
15036 # and later when we are not doing run time linking.
15037 library_names_spec
='${libname}${release}.a $libname.a'
15038 soname_spec
='${libname}${release}${shared_ext}$major'
15040 shlibpath_var
=LIBPATH
15047 # Since July 2007 AmigaOS4 officially supports .so libraries.
15048 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
15049 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15052 library_names_spec
='$libname.ixlibrary $libname.a'
15053 # Create ${libname}_ixlibrary.a entries in /sys/libs.
15054 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'
15060 library_names_spec
='${libname}${shared_ext}'
15061 dynamic_linker
="$host_os ld.so"
15062 shlibpath_var
=LIBRARY_PATH
15066 version_type
=linux
# correct to gnu/linux during the next big refactor
15068 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15069 soname_spec
='${libname}${release}${shared_ext}$major'
15070 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
15071 shlibpath_var
=LD_LIBRARY_PATH
15072 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15073 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
15074 # the default ld.so.conf also contains /usr/contrib/lib and
15075 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15076 # libtool to hard-code these into programs
15079 cygwin
* | mingw
* | pw32
* | cegcc
*)
15080 version_type
=windows
15085 case $GCC,$cc_basename in
15088 library_names_spec
='$libname.dll.a'
15089 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15090 postinstall_cmds
='base_file=`basename \${file}`~
15091 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
15092 dldir=$destdir/`dirname \$dlpath`~
15093 test -d \$dldir || mkdir -p \$dldir~
15094 $install_prog $dir/$dlname \$dldir/$dlname~
15095 chmod a+x \$dldir/$dlname~
15096 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
15097 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
15099 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15100 dlpath=$dir/\$dldll~
15102 shlibpath_overrides_runpath
=yes
15106 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15107 soname_spec
='`echo ${libname} | sed -e 's
/^lib
/cyg
/'``echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
15111 # MinGW DLLs use traditional 'lib' prefix
15112 soname_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
15115 # pw32 DLLs use 'pw' prefix rather than 'lib'
15116 library_names_spec
='`echo ${libname} | sed -e 's
/^lib
/pw
/'``echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
15119 dynamic_linker
='Win32 ld.exe'
15124 libname_spec
='$name'
15125 soname_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
15126 library_names_spec
='${libname}.dll.lib'
15130 sys_lib_search_path_spec
=
15133 for lt_path
in $LIB
15136 # Let DOS variable expansion print the short 8.3 style file name.
15137 lt_path
=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
15138 sys_lib_search_path_spec
="$sys_lib_search_path_spec $lt_path"
15141 # Convert to MSYS style.
15142 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
15145 # Convert to unix form, then to dos form, then back to unix form
15146 # but this time dos style (no spaces!) so that the unix form looks
15147 # like /cygdrive/c/PROGRA~1:/cygdr...
15148 sys_lib_search_path_spec
=`cygpath --path --unix "$LIB"`
15149 sys_lib_search_path_spec
=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
15150 sys_lib_search_path_spec
=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15153 sys_lib_search_path_spec
="$LIB"
15154 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev
/null
; then
15155 # It is most probably a Windows format PATH.
15156 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15158 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15160 # FIXME: find the short name or the path components, as spaces are
15161 # common. (e.g. "Program Files" -> "PROGRA~1")
15165 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15166 postinstall_cmds
='base_file=`basename \${file}`~
15167 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
15168 dldir=$destdir/`dirname \$dlpath`~
15169 test -d \$dldir || mkdir -p \$dldir~
15170 $install_prog $dir/$dlname \$dldir/$dlname'
15171 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15172 dlpath=$dir/\$dldll~
15174 shlibpath_overrides_runpath
=yes
15175 dynamic_linker
='Win32 link.exe'
15179 # Assume MSVC wrapper
15180 library_names_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext} $libname.lib'
15181 dynamic_linker
='Win32 ld.exe'
15184 # FIXME: first we should search . and the directory the executable is in
15188 darwin
* | rhapsody
*)
15189 dynamic_linker
="$host_os dyld"
15190 version_type
=darwin
15193 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15194 soname_spec
='${libname}${release}${major}$shared_ext'
15195 shlibpath_overrides_runpath
=yes
15196 shlibpath_var
=DYLD_LIBRARY_PATH
15197 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
15199 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
15203 version_type
=linux
# correct to gnu/linux during the next big refactor
15206 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15207 soname_spec
='${libname}${release}${shared_ext}$major'
15208 shlibpath_var
=LD_LIBRARY_PATH
15211 freebsd
* | dragonfly
*)
15212 # DragonFly does not have aout. When/if they implement a new
15213 # versioning mechanism, adjust this.
15214 if test -x /usr
/bin
/objformat
; then
15215 objformat
=`/usr/bin/objformat`
15218 freebsd
[23].
*) objformat
=aout
;;
15219 *) objformat
=elf
;;
15222 version_type
=freebsd
-$objformat
15223 case $version_type in
15225 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15230 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15234 shlibpath_var
=LD_LIBRARY_PATH
15237 shlibpath_overrides_runpath
=yes
15239 freebsd3.
[01]* | freebsdelf3.
[01]*)
15240 shlibpath_overrides_runpath
=yes
15241 hardcode_into_libs
=yes
15243 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
15244 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
15245 shlibpath_overrides_runpath
=no
15246 hardcode_into_libs
=yes
15248 *) # from 4.6 on, and DragonFly
15249 shlibpath_overrides_runpath
=yes
15250 hardcode_into_libs
=yes
15256 version_type
=linux
# correct to gnu/linux during the next big refactor
15259 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15260 soname_spec
='${libname}${release}${shared_ext}$major'
15261 shlibpath_var
=LD_LIBRARY_PATH
15262 shlibpath_overrides_runpath
=no
15263 hardcode_into_libs
=yes
15267 version_type
=linux
# correct to gnu/linux during the next big refactor
15270 dynamic_linker
="$host_os runtime_loader"
15271 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15272 soname_spec
='${libname}${release}${shared_ext}$major'
15273 shlibpath_var
=LIBRARY_PATH
15274 shlibpath_overrides_runpath
=yes
15275 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
15276 hardcode_into_libs
=yes
15279 hpux9
* | hpux10
* | hpux11
*)
15280 # Give a soname corresponding to the major version so that dld.sl refuses to
15281 # link against other versions.
15288 hardcode_into_libs
=yes
15289 dynamic_linker
="$host_os dld.so"
15290 shlibpath_var
=LD_LIBRARY_PATH
15291 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15292 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15293 soname_spec
='${libname}${release}${shared_ext}$major'
15294 if test "X$HPUX_IA64_MODE" = X32
; then
15295 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15297 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
15299 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15303 hardcode_into_libs
=yes
15304 dynamic_linker
="$host_os dld.sl"
15305 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
15306 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15307 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15308 soname_spec
='${libname}${release}${shared_ext}$major'
15309 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15310 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15314 dynamic_linker
="$host_os dld.sl"
15315 shlibpath_var
=SHLIB_PATH
15316 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
15317 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15318 soname_spec
='${libname}${release}${shared_ext}$major'
15321 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
15322 postinstall_cmds
='chmod 555 $lib'
15323 # or fails outright, so override atomically:
15324 install_override_mode
=555
15328 version_type
=linux
# correct to gnu/linux during the next big refactor
15331 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15332 soname_spec
='${libname}${release}${shared_ext}$major'
15333 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
15334 shlibpath_var
=LD_LIBRARY_PATH
15335 shlibpath_overrides_runpath
=no
15336 hardcode_into_libs
=yes
15339 irix5
* | irix6
* | nonstopux
*)
15341 nonstopux
*) version_type
=nonstopux
;;
15343 if test "$lt_cv_prog_gnu_ld" = yes; then
15344 version_type
=linux
# correct to gnu/linux during the next big refactor
15351 soname_spec
='${libname}${release}${shared_ext}$major'
15352 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15354 irix5
* | nonstopux
*)
15355 libsuff
= shlibsuff
=
15358 case $LD in # libtool.m4 will add one of these switches to LD
15359 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
15360 libsuff
= shlibsuff
= libmagic
=32-bit;;
15361 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
15362 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
15363 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
15364 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
15365 *) libsuff
= shlibsuff
= libmagic
=never
-match;;
15369 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
15370 shlibpath_overrides_runpath
=no
15371 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15372 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
15373 hardcode_into_libs
=yes
15376 # No shared lib support for Linux oldld, aout, or coff.
15377 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
15381 # This must be glibc/ELF.
15382 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
15383 version_type
=linux
# correct to gnu/linux during the next big refactor
15386 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15387 soname_spec
='${libname}${release}${shared_ext}$major'
15388 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15389 shlibpath_var
=LD_LIBRARY_PATH
15390 shlibpath_overrides_runpath
=no
15392 # Some binutils ld are patched to set DT_RUNPATH
15393 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
15394 $as_echo_n "(cached) " >&6
15396 lt_cv_shlibpath_overrides_runpath
=no
15397 save_LDFLAGS
=$LDFLAGS
15398 save_libdir
=$libdir
15399 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
15400 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
15401 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15402 /* end confdefs.h. */
15412 if ac_fn_cxx_try_link
"$LINENO"; then :
15413 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null
| grep "RUNPATH.*$libdir" >/dev
/null
; then :
15414 lt_cv_shlibpath_overrides_runpath
=yes
15417 rm -f core conftest.err conftest.
$ac_objext \
15418 conftest
$ac_exeext conftest.
$ac_ext
15419 LDFLAGS
=$save_LDFLAGS
15420 libdir
=$save_libdir
15424 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
15426 # This implies no fast_install, which is unacceptable.
15427 # Some rework will be needed to allow for fast_install
15428 # before this can be enabled.
15429 hardcode_into_libs
=yes
15431 # Append ld.so.conf contents to the search path
15432 if test -f /etc
/ld.so.conf
; then
15433 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' ' '`
15434 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
15437 # We used to test for /lib/ld.so.1 and disable shared libraries on
15438 # powerpc, because MkLinux only supported shared libraries with the
15439 # GNU dynamic linker. Since this was broken with cross compilers,
15440 # most powerpc-linux boxes support dynamic linking these days and
15441 # people can always --disable-shared, the test was removed, and we
15442 # assume the GNU/Linux dynamic linker is in use.
15443 dynamic_linker
='GNU/Linux ld.so'
15450 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
15451 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15452 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15453 dynamic_linker
='NetBSD (a.out) ld.so'
15455 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15456 soname_spec
='${libname}${release}${shared_ext}$major'
15457 dynamic_linker
='NetBSD ld.elf_so'
15459 shlibpath_var
=LD_LIBRARY_PATH
15460 shlibpath_overrides_runpath
=yes
15461 hardcode_into_libs
=yes
15465 version_type
=linux
# correct to gnu/linux during the next big refactor
15466 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15467 shlibpath_var
=LD_LIBRARY_PATH
15468 shlibpath_overrides_runpath
=yes
15475 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15476 soname_spec
='${libname}${release}${shared_ext}$major'
15477 shlibpath_var
=LD_LIBRARY_PATH
15478 shlibpath_overrides_runpath
=no
15479 hardcode_into_libs
=yes
15480 dynamic_linker
='ldqnx.so'
15485 sys_lib_dlsearch_path_spec
="/usr/lib"
15487 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15489 openbsd3.3
| openbsd3.3.
*) need_version
=yes ;;
15490 *) need_version
=no
;;
15492 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15493 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15494 shlibpath_var
=LD_LIBRARY_PATH
15495 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15497 openbsd2.
[89] | openbsd2.
[89].
*)
15498 shlibpath_overrides_runpath
=no
15501 shlibpath_overrides_runpath
=yes
15505 shlibpath_overrides_runpath
=yes
15510 libname_spec
='$name'
15513 library_names_spec
='$libname${shared_ext} $libname.a'
15514 dynamic_linker
='OS/2 ld.exe'
15515 shlibpath_var
=LIBPATH
15518 osf3
* | osf4
* | osf5
*)
15522 soname_spec
='${libname}${release}${shared_ext}$major'
15523 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15524 shlibpath_var
=LD_LIBRARY_PATH
15525 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15526 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
15534 version_type
=linux
# correct to gnu/linux during the next big refactor
15537 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15538 soname_spec
='${libname}${release}${shared_ext}$major'
15539 shlibpath_var
=LD_LIBRARY_PATH
15540 shlibpath_overrides_runpath
=yes
15541 hardcode_into_libs
=yes
15542 # ldd complains unless libraries are executable
15543 postinstall_cmds
='chmod +x $lib'
15548 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15549 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15550 shlibpath_var
=LD_LIBRARY_PATH
15551 shlibpath_overrides_runpath
=yes
15552 if test "$with_gnu_ld" = yes; then
15559 version_type
=linux
# correct to gnu/linux during the next big refactor
15560 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15561 soname_spec
='${libname}${release}${shared_ext}$major'
15562 shlibpath_var
=LD_LIBRARY_PATH
15563 case $host_vendor in
15565 shlibpath_overrides_runpath
=no
15567 runpath_var
=LD_RUN_PATH
15575 shlibpath_overrides_runpath
=no
15576 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
15582 if test -d /usr
/nec
;then
15583 version_type
=linux
# correct to gnu/linux during the next big refactor
15584 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15585 soname_spec
='$libname${shared_ext}.$major'
15586 shlibpath_var
=LD_LIBRARY_PATH
15590 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
15591 version_type
=freebsd
-elf
15594 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15595 soname_spec
='${libname}${release}${shared_ext}$major'
15596 shlibpath_var
=LD_LIBRARY_PATH
15597 shlibpath_overrides_runpath
=yes
15598 hardcode_into_libs
=yes
15599 if test "$with_gnu_ld" = yes; then
15600 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15602 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
15605 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
15609 sys_lib_dlsearch_path_spec
='/usr/lib'
15613 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
15614 version_type
=linux
# correct to gnu/linux during the next big refactor
15617 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15618 shlibpath_var
=LD_LIBRARY_PATH
15619 shlibpath_overrides_runpath
=no
15620 hardcode_into_libs
=yes
15624 version_type
=linux
# correct to gnu/linux during the next big refactor
15625 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15626 soname_spec
='${libname}${release}${shared_ext}$major'
15627 shlibpath_var
=LD_LIBRARY_PATH
15634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
15635 $as_echo "$dynamic_linker" >&6; }
15636 test "$dynamic_linker" = no
&& can_build_shared
=no
15638 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
15639 if test "$GCC" = yes; then
15640 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15643 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
15644 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
15646 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
15647 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
15687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
15688 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
15689 hardcode_action_CXX
=
15690 if test -n "$hardcode_libdir_flag_spec_CXX" ||
15691 test -n "$runpath_var_CXX" ||
15692 test "X$hardcode_automatic_CXX" = "Xyes" ; then
15694 # We can hardcode non-existent directories.
15695 if test "$hardcode_direct_CXX" != no
&&
15696 # If the only mechanism to avoid hardcoding is shlibpath_var, we
15697 # have to relink, otherwise we might link with an installed library
15698 # when we should be linking with a yet-to-be-installed one
15699 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
15700 test "$hardcode_minus_L_CXX" != no
; then
15701 # Linking always hardcodes the temporary library directory.
15702 hardcode_action_CXX
=relink
15704 # We can link without hardcoding, and we can hardcode nonexisting dirs.
15705 hardcode_action_CXX
=immediate
15708 # We cannot hardcode anything, or else we can only hardcode existing
15710 hardcode_action_CXX
=unsupported
15712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
15713 $as_echo "$hardcode_action_CXX" >&6; }
15715 if test "$hardcode_action_CXX" = relink
||
15716 test "$inherit_rpath_CXX" = yes; then
15717 # Fast installation is not supported
15718 enable_fast_install
=no
15719 elif test "$shlibpath_overrides_runpath" = yes ||
15720 test "$enable_shared" = no
; then
15721 # Fast installation is not necessary
15722 enable_fast_install
=needless
15731 fi # test -n "$compiler"
15734 CFLAGS
=$lt_save_CFLAGS
15738 with_gnu_ld
=$lt_save_with_gnu_ld
15739 lt_cv_path_LDCXX
=$lt_cv_path_LD
15740 lt_cv_path_LD
=$lt_save_path_LD
15741 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
15742 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
15743 fi # test "$_lt_caught_CXX_error" != yes
15746 ac_cpp
='$CPP $CPPFLAGS'
15747 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15748 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15749 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15765 ac_config_commands
="$ac_config_commands libtool"
15770 # Only expand once:
15775 ac_cpp
='$CXXCPP $CPPFLAGS'
15776 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15777 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15778 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
15787 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
15788 if test -n "$ac_tool_prefix"; then
15789 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
15790 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
15791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15792 $as_echo_n "checking for $ac_word... " >&6; }
15793 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
15794 $as_echo_n "(cached) " >&6
15796 case $PKG_CONFIG in
15798 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
15801 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15802 for as_dir
in $PATH
15805 test -z "$as_dir" && as_dir
=.
15806 for ac_exec_ext
in '' $ac_executable_extensions; do
15807 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
15808 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
15809 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15819 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
15820 if test -n "$PKG_CONFIG"; then
15821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
15822 $as_echo "$PKG_CONFIG" >&6; }
15824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15825 $as_echo "no" >&6; }
15830 if test -z "$ac_cv_path_PKG_CONFIG"; then
15831 ac_pt_PKG_CONFIG
=$PKG_CONFIG
15832 # Extract the first word of "pkg-config", so it can be a program name with args.
15833 set dummy pkg
-config; ac_word
=$2
15834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15835 $as_echo_n "checking for $ac_word... " >&6; }
15836 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
15837 $as_echo_n "(cached) " >&6
15839 case $ac_pt_PKG_CONFIG in
15841 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
15844 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15845 for as_dir
in $PATH
15848 test -z "$as_dir" && as_dir
=.
15849 for ac_exec_ext
in '' $ac_executable_extensions; do
15850 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
15851 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
15852 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15862 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
15863 if test -n "$ac_pt_PKG_CONFIG"; then
15864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
15865 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
15867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15868 $as_echo "no" >&6; }
15871 if test "x$ac_pt_PKG_CONFIG" = x
; then
15874 case $cross_compiling:$ac_tool_warned in
15876 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
15877 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
15878 ac_tool_warned
=yes ;;
15880 PKG_CONFIG
=$ac_pt_PKG_CONFIG
15883 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
15887 if test -n "$PKG_CONFIG"; then
15888 _pkg_min_version
=0.22
15889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
15890 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
15891 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
15892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15893 $as_echo "yes" >&6; }
15895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15896 $as_echo "no" >&6; }
15901 # Extract the first word of "bash", so it can be a program name with args.
15902 set dummy bash
; ac_word
=$2
15903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15904 $as_echo_n "checking for $ac_word... " >&6; }
15905 if ${ac_cv_path__BASH+:} false
; then :
15906 $as_echo_n "(cached) " >&6
15910 ac_cv_path__BASH
="$_BASH" # Let the user override the test with a path.
15913 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15914 for as_dir
in $PATH
15917 test -z "$as_dir" && as_dir
=.
15918 for ac_exec_ext
in '' $ac_executable_extensions; do
15919 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
15920 ac_cv_path__BASH
="$as_dir/$ac_word$ac_exec_ext"
15921 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15928 test -z "$ac_cv_path__BASH" && ac_cv_path__BASH
="as_fn_error $? "missing
\"bash
\"" "$LINENO" 5"
15932 _BASH
=$ac_cv_path__BASH
15933 if test -n "$_BASH"; then
15934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_BASH" >&5
15935 $as_echo "$_BASH" >&6; }
15937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15938 $as_echo "no" >&6; }
15942 # Extract the first word of "git", so it can be a program name with args.
15943 set dummy git
; ac_word
=$2
15944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15945 $as_echo_n "checking for $ac_word... " >&6; }
15946 if ${ac_cv_path_GIT+:} false
; then :
15947 $as_echo_n "(cached) " >&6
15951 ac_cv_path_GIT
="$GIT" # Let the user override the test with a path.
15954 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15955 for as_dir
in $PATH
15958 test -z "$as_dir" && as_dir
=.
15959 for ac_exec_ext
in '' $ac_executable_extensions; do
15960 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
15961 ac_cv_path_GIT
="$as_dir/$ac_word$ac_exec_ext"
15962 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15972 GIT
=$ac_cv_path_GIT
15973 if test -n "$GIT"; then
15974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GIT" >&5
15975 $as_echo "$GIT" >&6; }
15977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15978 $as_echo "no" >&6; }
15982 # Extract the first word of "time", so it can be a program name with args.
15983 set dummy
time; ac_word
=$2
15984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15985 $as_echo_n "checking for $ac_word... " >&6; }
15986 if ${ac_cv_path_TIME+:} false
; then :
15987 $as_echo_n "(cached) " >&6
15991 ac_cv_path_TIME
="$TIME" # Let the user override the test with a path.
15994 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15995 for as_dir
in $PATH
15998 test -z "$as_dir" && as_dir
=.
15999 for ac_exec_ext
in '' $ac_executable_extensions; do
16000 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16001 ac_cv_path_TIME
="$as_dir/$ac_word$ac_exec_ext"
16002 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16012 TIME
=$ac_cv_path_TIME
16013 if test -n "$TIME"; then
16014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TIME" >&5
16015 $as_echo "$TIME" >&6; }
16017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16018 $as_echo "no" >&6; }
16027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bison >= 2.3" >&5
16028 $as_echo_n "checking for bison >= 2.3... " >&6; }
16029 if test -z "$BISON"; then
16030 ac_path_BISON_found
=false
16031 # Loop through the user's path and test for each of PROGNAME-LIST
16032 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16033 for as_dir
in $PATH
16036 test -z "$as_dir" && as_dir
=.
16037 for ac_prog
in bison
; do
16038 for ac_exec_ext
in '' $ac_executable_extensions; do
16039 ac_path_BISON
="$as_dir/$ac_prog$ac_exec_ext"
16040 as_fn_executable_p
"$ac_path_BISON" || continue
16041 version
=`$ac_path_BISON -V | $SED -e '1 s/^bison (GNU Bison) \(.*\)$/\1/p;d'`
16042 if ${version:+false} :; then :
16045 as_awk_strverscmp
='
16046 # Use only awk features that work with 7th edition Unix awk (1978).
16047 # My, what an old awk you have, Mr. Solaris!
16049 while (length(v1) && length(v2)) {
16050 # Set d1 to be the next thing to compare from v1, and likewise for d2.
16051 # Normally this is a single character, but if v1 and v2 contain digits,
16052 # compare them as integers and fractions as strverscmp does.
16053 if (v1 ~ /^0-9/ && v2 ~ /^0-9/) {
16054 # Split v1 and v2 into their leading digit string components d1 and d2,
16055 # and advance v1 and v2 past the leading digit strings.
16056 for (len1 = 1; substr(v1, len1 + 1) ~ /^0-9/; len1++) continue
16057 for (len2 = 1; substr(v2, len2 + 1) ~ /^0-9/; len2++) continue
16058 d1 = substr(v1, 1, len1); v1 = substr(v1, len1 + 1)
16059 d2 = substr(v2, 1, len2); v2 = substr(v2, len2 + 1)
16062 # Compare two fractions.
16063 while (d1 ~ /^0/ && d2 ~ /^0/) {
16064 d1 = substr(d1, 2); len1--
16065 d2 = substr(d2, 2); len2--
16067 if (len1 != len2 && ! (len1 && len2 && substr(d1, 1, 1) == substr(d2, 1, 1))) {
16068 # The two components differ in length, and the common prefix
16069 # contains only leading zeros. Consider the longer to be less.
16073 # Otherwise, compare as strings.
16078 # A fraction is less than an integer.
16083 # An integer is greater than a fraction.
16086 # Compare two integers.
16092 # The normal case, without worrying about digits.
16093 d1 = substr(v1, 1, 1); v1 = substr(v1, 2)
16094 d2 = substr(v2, 1, 1); v2 = substr(v2, 2)
16096 if (d1 < d2) exit 1
16097 if (d1 > d2) exit 2
16099 # Beware Solaris /usr/xgp4/bin/awk (at least through Solaris 10),
16100 # which mishandles some comparisons of empty strings to integers.
16101 if (length(v2)) exit 1
16102 if (length(v1)) exit 2
16107 awk "$as_awk_strverscmp" v1
="$as_arg_v1" v2
="$as_arg_v2" /dev
/null
16112 ac_cv_path_BISON
=$ac_path_BISON ;; #(
16114 ac_cv_path_BISON
=$ac_path_BISON ;; #(
16120 $ac_path_BISON_found && break 3
16125 if test -z "$ac_cv_path_BISON"; then
16126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16127 $as_echo "no" >&6; }
16130 ac_cv_path_BISON
=$BISON
16136 BISON
=$ac_cv_path_BISON
16138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
16139 $as_echo "$BISON" >&6; }
16144 as_fn_error $?
"You need bison 2.3 or greater" "$LINENO" 5
16150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16151 $as_echo "no" >&6; }
16159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for flex >= 2.5.33" >&5
16160 $as_echo_n "checking for flex >= 2.5.33... " >&6; }
16161 if test -z "$FLEX"; then
16162 ac_path_FLEX_found
=false
16163 # Loop through the user's path and test for each of PROGNAME-LIST
16164 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16165 for as_dir
in $PATH
16168 test -z "$as_dir" && as_dir
=.
16169 for ac_prog
in flex
; do
16170 for ac_exec_ext
in '' $ac_executable_extensions; do
16171 ac_path_FLEX
="$as_dir/$ac_prog$ac_exec_ext"
16172 as_fn_executable_p
"$ac_path_FLEX" || continue
16173 version
=`$ac_path_FLEX --version | $SED -e '1 s/^[^0-9.]* \([0-9.]*\).*$/\1/p;d'`
16174 if ${version:+false} :; then :
16179 awk "$as_awk_strverscmp" v1
="$as_arg_v1" v2
="$as_arg_v2" /dev
/null
16184 ac_cv_path_FLEX
=$ac_path_FLEX ;; #(
16186 ac_cv_path_FLEX
=$ac_path_FLEX ;; #(
16192 $ac_path_FLEX_found && break 3
16197 if test -z "$ac_cv_path_FLEX"; then
16198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16199 $as_echo "no" >&6; }
16202 ac_cv_path_FLEX
=$FLEX
16208 FLEX
=$ac_cv_path_FLEX
16210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
16211 $as_echo "$FLEX" >&6; }
16216 as_fn_error $?
"You need flex 2.5.33 or greater" "$LINENO" 5
16222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16223 $as_echo "no" >&6; }
16231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gperf >= 3.0.3" >&5
16232 $as_echo_n "checking for gperf >= 3.0.3... " >&6; }
16233 if test -z "$GPERF"; then
16234 ac_path_GPERF_found
=false
16235 # Loop through the user's path and test for each of PROGNAME-LIST
16236 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16237 for as_dir
in $PATH
16240 test -z "$as_dir" && as_dir
=.
16241 for ac_prog
in gperf
; do
16242 for ac_exec_ext
in '' $ac_executable_extensions; do
16243 ac_path_GPERF
="$as_dir/$ac_prog$ac_exec_ext"
16244 as_fn_executable_p
"$ac_path_GPERF" || continue
16245 version
=`$ac_path_GPERF --version | $SED -e '1 s/^.* \([0-9.]*\)$/\1/p;d'`
16246 if ${version:+false} :; then :
16251 awk "$as_awk_strverscmp" v1
="$as_arg_v1" v2
="$as_arg_v2" /dev
/null
16256 ac_cv_path_GPERF
=$ac_path_GPERF ;; #(
16258 ac_cv_path_GPERF
=$ac_path_GPERF ;; #(
16264 $ac_path_GPERF_found && break 3
16269 if test -z "$ac_cv_path_GPERF"; then
16270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16271 $as_echo "no" >&6; }
16274 ac_cv_path_GPERF
=$GPERF
16280 GPERF
=$ac_cv_path_GPERF
16282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GPERF" >&5
16283 $as_echo "$GPERF" >&6; }
16288 as_fn_error $?
"You need gperf 3.0.3 or greater" "$LINENO" 5
16294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16295 $as_echo "no" >&6; }
16303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tar gtar gnutar >= 1.19" >&5
16304 $as_echo_n "checking for tar gtar gnutar >= 1.19... " >&6; }
16305 if test -z "$GNUTAR"; then
16306 ac_path_GNUTAR_found
=false
16307 # Loop through the user's path and test for each of PROGNAME-LIST
16308 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16309 for as_dir
in $PATH
16312 test -z "$as_dir" && as_dir
=.
16313 for ac_prog
in tar gtar gnutar
; do
16314 for ac_exec_ext
in '' $ac_executable_extensions; do
16315 ac_path_GNUTAR
="$as_dir/$ac_prog$ac_exec_ext"
16316 as_fn_executable_p
"$ac_path_GNUTAR" || continue
16317 version
=`$ac_path_GNUTAR --version | $SED -e '1 s/^tar (GNU tar) \(.*\)$/\1/p;d'`
16318 if ${version:+false} :; then :
16323 awk "$as_awk_strverscmp" v1
="$as_arg_v1" v2
="$as_arg_v2" /dev
/null
16328 ac_cv_path_GNUTAR
=$ac_path_GNUTAR ;; #(
16330 ac_cv_path_GNUTAR
=$ac_path_GNUTAR ;; #(
16336 $ac_path_GNUTAR_found && break 3
16341 if test -z "$ac_cv_path_GNUTAR"; then
16342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16343 $as_echo "no" >&6; }
16346 ac_cv_path_GNUTAR
=$GNUTAR
16352 GNUTAR
=$ac_cv_path_GNUTAR
16354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNUTAR" >&5
16355 $as_echo "$GNUTAR" >&6; }
16360 as_fn_error $?
"You need tar gtar gnutar 1.19 or greater" "$LINENO" 5
16366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16367 $as_echo "no" >&6; }
16373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking bison for %code{}" >&5
16374 $as_echo_n "checking bison for %code{}... " >&6; }
16375 echo '%code{}%%_:' >conftest.y
16376 if $BISON conftest.y
-o/dev
/null
2>/dev
/null
; then
16378 for element
in Bison24
; do
16380 for x
in $CY_FILTERS; do
16382 acl_save_prefix
="$prefix"
16383 prefix
="$acl_final_prefix"
16384 acl_save_exec_prefix
="$exec_prefix"
16385 exec_prefix
="$acl_final_exec_prefix"
16387 exec_prefix
="$acl_save_exec_prefix"
16388 prefix
="$acl_save_prefix"
16390 if test "X$x" = "X$element"; then
16395 if test -z "$haveit"; then
16396 CY_FILTERS
="${CY_FILTERS}${CY_FILTERS:+ }$element"
16400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16401 $as_echo "yes" >&6; }
16404 for element
in Bison23
; do
16406 for x
in $CY_FILTERS; do
16408 acl_save_prefix
="$prefix"
16409 prefix
="$acl_final_prefix"
16410 acl_save_exec_prefix
="$exec_prefix"
16411 exec_prefix
="$acl_final_exec_prefix"
16413 exec_prefix
="$acl_save_exec_prefix"
16414 prefix
="$acl_save_prefix"
16416 if test "X$x" = "X$element"; then
16421 if test -z "$haveit"; then
16422 CY_FILTERS
="${CY_FILTERS}${CY_FILTERS:+ }$element"
16426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16427 $as_echo "no" >&6; }
16441 if ${CFLAGS+:} false
; then :
16442 case " $CFLAGS " in
16444 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains "; } >&5
16445 (: CFLAGS already contains
) 2>&5
16447 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16448 test $ac_status = 0; }
16451 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \""; } >&5
16452 (: CFLAGS
="$CFLAGS ") 2>&5
16454 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16455 test $ac_status = 0; }
16464 ac_cpp
='$CPP $CPPFLAGS'
16465 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16466 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16467 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking CFLAGS for maximum warnings" >&5
16470 $as_echo_n "checking CFLAGS for maximum warnings... " >&6; }
16471 if ${ac_cv_cflags_warn_all+:} false
; then :
16472 $as_echo_n "(cached) " >&6
16474 ac_cv_cflags_warn_all
="no, unknown"
16475 ac_save_CFLAGS
="$CFLAGS"
16476 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" #
16477 do CFLAGS
="$ac_save_CFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
16478 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16479 /* end confdefs.h. */
16489 if ac_fn_c_try_compile
"$LINENO"; then :
16490 ac_cv_cflags_warn_all
=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
16492 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16494 CFLAGS
="$ac_save_CFLAGS"
16497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags_warn_all" >&5
16498 $as_echo "$ac_cv_cflags_warn_all" >&6; }
16500 case ".$ac_cv_cflags_warn_all" in
16503 *) if ${CFLAGS+:} false
; then :
16504 case " $CFLAGS " in
16505 *" $ac_cv_cflags_warn_all "*)
16506 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$ac_cv_cflags_warn_all"; } >&5
16507 (: CFLAGS already contains
$ac_cv_cflags_warn_all) 2>&5
16509 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16510 test $ac_status = 0; }
16513 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$ac_cv_cflags_warn_all\""; } >&5
16514 (: CFLAGS
="$CFLAGS $ac_cv_cflags_warn_all") 2>&5
16516 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16517 test $ac_status = 0; }
16518 CFLAGS
="$CFLAGS $ac_cv_cflags_warn_all"
16522 CFLAGS
="$ac_cv_cflags_warn_all"
16528 ac_cpp
='$CXXCPP $CPPFLAGS'
16529 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16530 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16531 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16535 ac_cpp
='$CXXCPP $CPPFLAGS'
16536 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16537 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16538 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking CXXFLAGS for maximum warnings" >&5
16541 $as_echo_n "checking CXXFLAGS for maximum warnings... " >&6; }
16542 if ${ac_cv_cxxflags_warn_all+:} false
; then :
16543 $as_echo_n "(cached) " >&6
16545 ac_cv_cxxflags_warn_all
="no, unknown"
16546 ac_save_CXXFLAGS
="$CXXFLAGS"
16547 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" #
16548 do CXXFLAGS
="$ac_save_CXXFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
16549 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16550 /* end confdefs.h. */
16560 if ac_fn_cxx_try_compile
"$LINENO"; then :
16561 ac_cv_cxxflags_warn_all
=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
16563 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16565 CXXFLAGS
="$ac_save_CXXFLAGS"
16568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxxflags_warn_all" >&5
16569 $as_echo "$ac_cv_cxxflags_warn_all" >&6; }
16571 case ".$ac_cv_cxxflags_warn_all" in
16574 *) if ${CXXFLAGS+:} false
; then :
16575 case " $CXXFLAGS " in
16576 *" $ac_cv_cxxflags_warn_all "*)
16577 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXFLAGS already contains \$ac_cv_cxxflags_warn_all"; } >&5
16578 (: CXXFLAGS already contains
$ac_cv_cxxflags_warn_all) 2>&5
16580 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16581 test $ac_status = 0; }
16584 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXFLAGS=\"\$CXXFLAGS \$ac_cv_cxxflags_warn_all\""; } >&5
16585 (: CXXFLAGS
="$CXXFLAGS $ac_cv_cxxflags_warn_all") 2>&5
16587 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16588 test $ac_status = 0; }
16589 CXXFLAGS
="$CXXFLAGS $ac_cv_cxxflags_warn_all"
16593 CXXFLAGS
="$ac_cv_cxxflags_warn_all"
16599 ac_cpp
='$CXXCPP $CPPFLAGS'
16600 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16601 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16602 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16610 ac_cpp
='$CPP $CPPFLAGS'
16611 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16612 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16613 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cc -Wno-deprecated-declarations" >&5
16616 $as_echo_n "checking for cc -Wno-deprecated-declarations... " >&6; }
16620 for element
in -Wno-deprecated-declarations; do
16622 for x
in $CFLAGS; do
16624 acl_save_prefix
="$prefix"
16625 prefix
="$acl_final_prefix"
16626 acl_save_exec_prefix
="$exec_prefix"
16627 exec_prefix
="$acl_final_exec_prefix"
16629 exec_prefix
="$acl_save_exec_prefix"
16630 prefix
="$acl_save_prefix"
16632 if test "X$x" = "X$element"; then
16637 if test -z "$haveit"; then
16638 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
16643 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16644 /* end confdefs.h. */
16647 if ac_fn_c_try_compile
"$LINENO"; then :
16652 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16655 if test "x$cy_good" = x1
; then :
16656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16657 $as_echo "yes" >&6; }
16659 for element
in -Wno-deprecated-declarations; do
16661 for x
in $CFLAGS; do
16663 acl_save_prefix
="$prefix"
16664 prefix
="$acl_final_prefix"
16665 acl_save_exec_prefix
="$exec_prefix"
16666 exec_prefix
="$acl_final_exec_prefix"
16668 exec_prefix
="$acl_save_exec_prefix"
16669 prefix
="$acl_save_prefix"
16671 if test "X$x" = "X$element"; then
16676 if test -z "$haveit"; then
16677 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
16683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16684 $as_echo "no" >&6; }
16688 ac_cpp
='$CXXCPP $CPPFLAGS'
16689 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16690 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16691 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16696 ac_cpp
='$CXXCPP $CPPFLAGS'
16697 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16698 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16699 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -Wno-deprecated-declarations" >&5
16702 $as_echo_n "checking for c++ -Wno-deprecated-declarations... " >&6; }
16706 for element
in -Wno-deprecated-declarations; do
16708 for x
in $CXXFLAGS; do
16710 acl_save_prefix
="$prefix"
16711 prefix
="$acl_final_prefix"
16712 acl_save_exec_prefix
="$exec_prefix"
16713 exec_prefix
="$acl_final_exec_prefix"
16715 exec_prefix
="$acl_save_exec_prefix"
16716 prefix
="$acl_save_prefix"
16718 if test "X$x" = "X$element"; then
16723 if test -z "$haveit"; then
16724 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
16729 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16730 /* end confdefs.h. */
16733 if ac_fn_cxx_try_compile
"$LINENO"; then :
16738 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16741 if test "x$cy_good" = x1
; then :
16742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16743 $as_echo "yes" >&6; }
16745 for element
in -Wno-deprecated-declarations; do
16747 for x
in $CXXFLAGS; do
16749 acl_save_prefix
="$prefix"
16750 prefix
="$acl_final_prefix"
16751 acl_save_exec_prefix
="$exec_prefix"
16752 exec_prefix
="$acl_final_exec_prefix"
16754 exec_prefix
="$acl_save_exec_prefix"
16755 prefix
="$acl_save_prefix"
16757 if test "X$x" = "X$element"; then
16762 if test -z "$haveit"; then
16763 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
16769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16770 $as_echo "no" >&6; }
16774 ac_cpp
='$CXXCPP $CPPFLAGS'
16775 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16776 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16777 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16782 ac_cpp
='$OBJCXXCPP $CPPFLAGS'
16783 ac_compile
='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16784 ac_link
='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16785 ac_compiler_gnu
=$ac_cv_objcxx_compiler_gnu
16787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -ObjC -Wno-deprecated-declarations" >&5
16788 $as_echo_n "checking for c++ -ObjC -Wno-deprecated-declarations... " >&6; }
16790 cy_save
=$OBJCXXFLAGS
16792 for element
in -Wno-deprecated-declarations; do
16794 for x
in $OBJCXXFLAGS; do
16796 acl_save_prefix
="$prefix"
16797 prefix
="$acl_final_prefix"
16798 acl_save_exec_prefix
="$exec_prefix"
16799 exec_prefix
="$acl_final_exec_prefix"
16801 exec_prefix
="$acl_save_exec_prefix"
16802 prefix
="$acl_save_prefix"
16804 if test "X$x" = "X$element"; then
16809 if test -z "$haveit"; then
16810 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
16815 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16816 /* end confdefs.h. */
16819 if ac_fn_objcxx_try_compile
"$LINENO"; then :
16824 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16826 OBJCXXFLAGS
=$cy_save
16827 if test "x$cy_good" = x1
; then :
16828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16829 $as_echo "yes" >&6; }
16831 for element
in -Wno-deprecated-declarations; do
16833 for x
in $OBJCXXFLAGS; do
16835 acl_save_prefix
="$prefix"
16836 prefix
="$acl_final_prefix"
16837 acl_save_exec_prefix
="$exec_prefix"
16838 exec_prefix
="$acl_final_exec_prefix"
16840 exec_prefix
="$acl_save_exec_prefix"
16841 prefix
="$acl_save_prefix"
16843 if test "X$x" = "X$element"; then
16848 if test -z "$haveit"; then
16849 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
16855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16856 $as_echo "no" >&6; }
16860 ac_cpp
='$CXXCPP $CPPFLAGS'
16861 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16862 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16863 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16871 ac_cpp
='$CPP $CPPFLAGS'
16872 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16873 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16874 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cc -Wno-dangling-else" >&5
16877 $as_echo_n "checking for cc -Wno-dangling-else... " >&6; }
16881 for element
in -Wno-dangling-else; do
16883 for x
in $CFLAGS; do
16885 acl_save_prefix
="$prefix"
16886 prefix
="$acl_final_prefix"
16887 acl_save_exec_prefix
="$exec_prefix"
16888 exec_prefix
="$acl_final_exec_prefix"
16890 exec_prefix
="$acl_save_exec_prefix"
16891 prefix
="$acl_save_prefix"
16893 if test "X$x" = "X$element"; then
16898 if test -z "$haveit"; then
16899 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
16904 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16905 /* end confdefs.h. */
16908 if ac_fn_c_try_compile
"$LINENO"; then :
16913 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16916 if test "x$cy_good" = x1
; then :
16917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16918 $as_echo "yes" >&6; }
16920 for element
in -Wno-dangling-else; do
16922 for x
in $CFLAGS; do
16924 acl_save_prefix
="$prefix"
16925 prefix
="$acl_final_prefix"
16926 acl_save_exec_prefix
="$exec_prefix"
16927 exec_prefix
="$acl_final_exec_prefix"
16929 exec_prefix
="$acl_save_exec_prefix"
16930 prefix
="$acl_save_prefix"
16932 if test "X$x" = "X$element"; then
16937 if test -z "$haveit"; then
16938 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
16944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16945 $as_echo "no" >&6; }
16949 ac_cpp
='$CXXCPP $CPPFLAGS'
16950 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16951 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16952 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16957 ac_cpp
='$CXXCPP $CPPFLAGS'
16958 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16959 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16960 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -Wno-dangling-else" >&5
16963 $as_echo_n "checking for c++ -Wno-dangling-else... " >&6; }
16967 for element
in -Wno-dangling-else; do
16969 for x
in $CXXFLAGS; do
16971 acl_save_prefix
="$prefix"
16972 prefix
="$acl_final_prefix"
16973 acl_save_exec_prefix
="$exec_prefix"
16974 exec_prefix
="$acl_final_exec_prefix"
16976 exec_prefix
="$acl_save_exec_prefix"
16977 prefix
="$acl_save_prefix"
16979 if test "X$x" = "X$element"; then
16984 if test -z "$haveit"; then
16985 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
16990 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16991 /* end confdefs.h. */
16994 if ac_fn_cxx_try_compile
"$LINENO"; then :
16999 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17002 if test "x$cy_good" = x1
; then :
17003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17004 $as_echo "yes" >&6; }
17006 for element
in -Wno-dangling-else; do
17008 for x
in $CXXFLAGS; do
17010 acl_save_prefix
="$prefix"
17011 prefix
="$acl_final_prefix"
17012 acl_save_exec_prefix
="$exec_prefix"
17013 exec_prefix
="$acl_final_exec_prefix"
17015 exec_prefix
="$acl_save_exec_prefix"
17016 prefix
="$acl_save_prefix"
17018 if test "X$x" = "X$element"; then
17023 if test -z "$haveit"; then
17024 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
17030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17031 $as_echo "no" >&6; }
17035 ac_cpp
='$CXXCPP $CPPFLAGS'
17036 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17037 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17038 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17043 ac_cpp
='$OBJCXXCPP $CPPFLAGS'
17044 ac_compile
='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17045 ac_link
='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17046 ac_compiler_gnu
=$ac_cv_objcxx_compiler_gnu
17048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -ObjC -Wno-dangling-else" >&5
17049 $as_echo_n "checking for c++ -ObjC -Wno-dangling-else... " >&6; }
17051 cy_save
=$OBJCXXFLAGS
17053 for element
in -Wno-dangling-else; do
17055 for x
in $OBJCXXFLAGS; do
17057 acl_save_prefix
="$prefix"
17058 prefix
="$acl_final_prefix"
17059 acl_save_exec_prefix
="$exec_prefix"
17060 exec_prefix
="$acl_final_exec_prefix"
17062 exec_prefix
="$acl_save_exec_prefix"
17063 prefix
="$acl_save_prefix"
17065 if test "X$x" = "X$element"; then
17070 if test -z "$haveit"; then
17071 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
17076 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17077 /* end confdefs.h. */
17080 if ac_fn_objcxx_try_compile
"$LINENO"; then :
17085 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17087 OBJCXXFLAGS
=$cy_save
17088 if test "x$cy_good" = x1
; then :
17089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17090 $as_echo "yes" >&6; }
17092 for element
in -Wno-dangling-else; do
17094 for x
in $OBJCXXFLAGS; do
17096 acl_save_prefix
="$prefix"
17097 prefix
="$acl_final_prefix"
17098 acl_save_exec_prefix
="$exec_prefix"
17099 exec_prefix
="$acl_final_exec_prefix"
17101 exec_prefix
="$acl_save_exec_prefix"
17102 prefix
="$acl_save_prefix"
17104 if test "X$x" = "X$element"; then
17109 if test -z "$haveit"; then
17110 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
17116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17117 $as_echo "no" >&6; }
17121 ac_cpp
='$CXXCPP $CPPFLAGS'
17122 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17123 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17124 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17131 ac_cpp
='$CPP $CPPFLAGS'
17132 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17133 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17134 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cc -Wno-overloaded-virtual" >&5
17137 $as_echo_n "checking for cc -Wno-overloaded-virtual... " >&6; }
17141 for element
in -Wno-overloaded-virtual; do
17143 for x
in $CFLAGS; do
17145 acl_save_prefix
="$prefix"
17146 prefix
="$acl_final_prefix"
17147 acl_save_exec_prefix
="$exec_prefix"
17148 exec_prefix
="$acl_final_exec_prefix"
17150 exec_prefix
="$acl_save_exec_prefix"
17151 prefix
="$acl_save_prefix"
17153 if test "X$x" = "X$element"; then
17158 if test -z "$haveit"; then
17159 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
17164 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17165 /* end confdefs.h. */
17168 if ac_fn_c_try_compile
"$LINENO"; then :
17173 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17176 if test "x$cy_good" = x1
; then :
17177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17178 $as_echo "yes" >&6; }
17180 for element
in -Wno-overloaded-virtual; do
17182 for x
in $CFLAGS; do
17184 acl_save_prefix
="$prefix"
17185 prefix
="$acl_final_prefix"
17186 acl_save_exec_prefix
="$exec_prefix"
17187 exec_prefix
="$acl_final_exec_prefix"
17189 exec_prefix
="$acl_save_exec_prefix"
17190 prefix
="$acl_save_prefix"
17192 if test "X$x" = "X$element"; then
17197 if test -z "$haveit"; then
17198 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
17204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17205 $as_echo "no" >&6; }
17209 ac_cpp
='$CXXCPP $CPPFLAGS'
17210 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17211 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17212 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17217 ac_cpp
='$CXXCPP $CPPFLAGS'
17218 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17219 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17220 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -Wno-overloaded-virtual" >&5
17223 $as_echo_n "checking for c++ -Wno-overloaded-virtual... " >&6; }
17227 for element
in -Wno-overloaded-virtual; do
17229 for x
in $CXXFLAGS; do
17231 acl_save_prefix
="$prefix"
17232 prefix
="$acl_final_prefix"
17233 acl_save_exec_prefix
="$exec_prefix"
17234 exec_prefix
="$acl_final_exec_prefix"
17236 exec_prefix
="$acl_save_exec_prefix"
17237 prefix
="$acl_save_prefix"
17239 if test "X$x" = "X$element"; then
17244 if test -z "$haveit"; then
17245 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
17250 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17251 /* end confdefs.h. */
17254 if ac_fn_cxx_try_compile
"$LINENO"; then :
17259 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17262 if test "x$cy_good" = x1
; then :
17263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17264 $as_echo "yes" >&6; }
17266 for element
in -Wno-overloaded-virtual; do
17268 for x
in $CXXFLAGS; do
17270 acl_save_prefix
="$prefix"
17271 prefix
="$acl_final_prefix"
17272 acl_save_exec_prefix
="$exec_prefix"
17273 exec_prefix
="$acl_final_exec_prefix"
17275 exec_prefix
="$acl_save_exec_prefix"
17276 prefix
="$acl_save_prefix"
17278 if test "X$x" = "X$element"; then
17283 if test -z "$haveit"; then
17284 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
17290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17291 $as_echo "no" >&6; }
17295 ac_cpp
='$CXXCPP $CPPFLAGS'
17296 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17297 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17298 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17303 ac_cpp
='$OBJCXXCPP $CPPFLAGS'
17304 ac_compile
='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17305 ac_link
='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17306 ac_compiler_gnu
=$ac_cv_objcxx_compiler_gnu
17308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -ObjC -Wno-overloaded-virtual" >&5
17309 $as_echo_n "checking for c++ -ObjC -Wno-overloaded-virtual... " >&6; }
17311 cy_save
=$OBJCXXFLAGS
17313 for element
in -Wno-overloaded-virtual; do
17315 for x
in $OBJCXXFLAGS; do
17317 acl_save_prefix
="$prefix"
17318 prefix
="$acl_final_prefix"
17319 acl_save_exec_prefix
="$exec_prefix"
17320 exec_prefix
="$acl_final_exec_prefix"
17322 exec_prefix
="$acl_save_exec_prefix"
17323 prefix
="$acl_save_prefix"
17325 if test "X$x" = "X$element"; then
17330 if test -z "$haveit"; then
17331 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
17336 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17337 /* end confdefs.h. */
17340 if ac_fn_objcxx_try_compile
"$LINENO"; then :
17345 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17347 OBJCXXFLAGS
=$cy_save
17348 if test "x$cy_good" = x1
; then :
17349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17350 $as_echo "yes" >&6; }
17352 for element
in -Wno-overloaded-virtual; do
17354 for x
in $OBJCXXFLAGS; do
17356 acl_save_prefix
="$prefix"
17357 prefix
="$acl_final_prefix"
17358 acl_save_exec_prefix
="$exec_prefix"
17359 exec_prefix
="$acl_final_exec_prefix"
17361 exec_prefix
="$acl_save_exec_prefix"
17362 prefix
="$acl_save_prefix"
17364 if test "X$x" = "X$element"; then
17369 if test -z "$haveit"; then
17370 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
17376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17377 $as_echo "no" >&6; }
17381 ac_cpp
='$CXXCPP $CPPFLAGS'
17382 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17383 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17384 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17391 ac_cpp
='$CPP $CPPFLAGS'
17392 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17393 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17394 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cc -Wno-parentheses" >&5
17397 $as_echo_n "checking for cc -Wno-parentheses... " >&6; }
17401 for element
in -Wno-parentheses; do
17403 for x
in $CFLAGS; do
17405 acl_save_prefix
="$prefix"
17406 prefix
="$acl_final_prefix"
17407 acl_save_exec_prefix
="$exec_prefix"
17408 exec_prefix
="$acl_final_exec_prefix"
17410 exec_prefix
="$acl_save_exec_prefix"
17411 prefix
="$acl_save_prefix"
17413 if test "X$x" = "X$element"; then
17418 if test -z "$haveit"; then
17419 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
17424 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17425 /* end confdefs.h. */
17428 if ac_fn_c_try_compile
"$LINENO"; then :
17433 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17436 if test "x$cy_good" = x1
; then :
17437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17438 $as_echo "yes" >&6; }
17440 for element
in -Wno-parentheses; do
17442 for x
in $CFLAGS; do
17444 acl_save_prefix
="$prefix"
17445 prefix
="$acl_final_prefix"
17446 acl_save_exec_prefix
="$exec_prefix"
17447 exec_prefix
="$acl_final_exec_prefix"
17449 exec_prefix
="$acl_save_exec_prefix"
17450 prefix
="$acl_save_prefix"
17452 if test "X$x" = "X$element"; then
17457 if test -z "$haveit"; then
17458 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
17464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17465 $as_echo "no" >&6; }
17469 ac_cpp
='$CXXCPP $CPPFLAGS'
17470 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17471 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17472 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17477 ac_cpp
='$CXXCPP $CPPFLAGS'
17478 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17479 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17480 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -Wno-parentheses" >&5
17483 $as_echo_n "checking for c++ -Wno-parentheses... " >&6; }
17487 for element
in -Wno-parentheses; do
17489 for x
in $CXXFLAGS; do
17491 acl_save_prefix
="$prefix"
17492 prefix
="$acl_final_prefix"
17493 acl_save_exec_prefix
="$exec_prefix"
17494 exec_prefix
="$acl_final_exec_prefix"
17496 exec_prefix
="$acl_save_exec_prefix"
17497 prefix
="$acl_save_prefix"
17499 if test "X$x" = "X$element"; then
17504 if test -z "$haveit"; then
17505 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
17510 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17511 /* end confdefs.h. */
17514 if ac_fn_cxx_try_compile
"$LINENO"; then :
17519 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17522 if test "x$cy_good" = x1
; then :
17523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17524 $as_echo "yes" >&6; }
17526 for element
in -Wno-parentheses; do
17528 for x
in $CXXFLAGS; do
17530 acl_save_prefix
="$prefix"
17531 prefix
="$acl_final_prefix"
17532 acl_save_exec_prefix
="$exec_prefix"
17533 exec_prefix
="$acl_final_exec_prefix"
17535 exec_prefix
="$acl_save_exec_prefix"
17536 prefix
="$acl_save_prefix"
17538 if test "X$x" = "X$element"; then
17543 if test -z "$haveit"; then
17544 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
17550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17551 $as_echo "no" >&6; }
17555 ac_cpp
='$CXXCPP $CPPFLAGS'
17556 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17557 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17558 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17563 ac_cpp
='$OBJCXXCPP $CPPFLAGS'
17564 ac_compile
='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17565 ac_link
='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17566 ac_compiler_gnu
=$ac_cv_objcxx_compiler_gnu
17568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -ObjC -Wno-parentheses" >&5
17569 $as_echo_n "checking for c++ -ObjC -Wno-parentheses... " >&6; }
17571 cy_save
=$OBJCXXFLAGS
17573 for element
in -Wno-parentheses; do
17575 for x
in $OBJCXXFLAGS; do
17577 acl_save_prefix
="$prefix"
17578 prefix
="$acl_final_prefix"
17579 acl_save_exec_prefix
="$exec_prefix"
17580 exec_prefix
="$acl_final_exec_prefix"
17582 exec_prefix
="$acl_save_exec_prefix"
17583 prefix
="$acl_save_prefix"
17585 if test "X$x" = "X$element"; then
17590 if test -z "$haveit"; then
17591 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
17596 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17597 /* end confdefs.h. */
17600 if ac_fn_objcxx_try_compile
"$LINENO"; then :
17605 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17607 OBJCXXFLAGS
=$cy_save
17608 if test "x$cy_good" = x1
; then :
17609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17610 $as_echo "yes" >&6; }
17612 for element
in -Wno-parentheses; do
17614 for x
in $OBJCXXFLAGS; do
17616 acl_save_prefix
="$prefix"
17617 prefix
="$acl_final_prefix"
17618 acl_save_exec_prefix
="$exec_prefix"
17619 exec_prefix
="$acl_final_exec_prefix"
17621 exec_prefix
="$acl_save_exec_prefix"
17622 prefix
="$acl_save_prefix"
17624 if test "X$x" = "X$element"; then
17629 if test -z "$haveit"; then
17630 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
17636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17637 $as_echo "no" >&6; }
17641 ac_cpp
='$CXXCPP $CPPFLAGS'
17642 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17643 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17644 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17651 ac_cpp
='$CPP $CPPFLAGS'
17652 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17653 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17654 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cc -Wno-unneeded-internal-declaration" >&5
17657 $as_echo_n "checking for cc -Wno-unneeded-internal-declaration... " >&6; }
17661 for element
in -Wno-unneeded-internal-declaration; do
17663 for x
in $CFLAGS; do
17665 acl_save_prefix
="$prefix"
17666 prefix
="$acl_final_prefix"
17667 acl_save_exec_prefix
="$exec_prefix"
17668 exec_prefix
="$acl_final_exec_prefix"
17670 exec_prefix
="$acl_save_exec_prefix"
17671 prefix
="$acl_save_prefix"
17673 if test "X$x" = "X$element"; then
17678 if test -z "$haveit"; then
17679 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
17684 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17685 /* end confdefs.h. */
17688 if ac_fn_c_try_compile
"$LINENO"; then :
17693 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17696 if test "x$cy_good" = x1
; then :
17697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17698 $as_echo "yes" >&6; }
17700 for element
in -Wno-unneeded-internal-declaration; do
17702 for x
in $CFLAGS; do
17704 acl_save_prefix
="$prefix"
17705 prefix
="$acl_final_prefix"
17706 acl_save_exec_prefix
="$exec_prefix"
17707 exec_prefix
="$acl_final_exec_prefix"
17709 exec_prefix
="$acl_save_exec_prefix"
17710 prefix
="$acl_save_prefix"
17712 if test "X$x" = "X$element"; then
17717 if test -z "$haveit"; then
17718 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
17724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17725 $as_echo "no" >&6; }
17729 ac_cpp
='$CXXCPP $CPPFLAGS'
17730 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17731 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17732 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17737 ac_cpp
='$CXXCPP $CPPFLAGS'
17738 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17739 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17740 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -Wno-unneeded-internal-declaration" >&5
17743 $as_echo_n "checking for c++ -Wno-unneeded-internal-declaration... " >&6; }
17747 for element
in -Wno-unneeded-internal-declaration; do
17749 for x
in $CXXFLAGS; do
17751 acl_save_prefix
="$prefix"
17752 prefix
="$acl_final_prefix"
17753 acl_save_exec_prefix
="$exec_prefix"
17754 exec_prefix
="$acl_final_exec_prefix"
17756 exec_prefix
="$acl_save_exec_prefix"
17757 prefix
="$acl_save_prefix"
17759 if test "X$x" = "X$element"; then
17764 if test -z "$haveit"; then
17765 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
17770 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17771 /* end confdefs.h. */
17774 if ac_fn_cxx_try_compile
"$LINENO"; then :
17779 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17782 if test "x$cy_good" = x1
; then :
17783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17784 $as_echo "yes" >&6; }
17786 for element
in -Wno-unneeded-internal-declaration; do
17788 for x
in $CXXFLAGS; do
17790 acl_save_prefix
="$prefix"
17791 prefix
="$acl_final_prefix"
17792 acl_save_exec_prefix
="$exec_prefix"
17793 exec_prefix
="$acl_final_exec_prefix"
17795 exec_prefix
="$acl_save_exec_prefix"
17796 prefix
="$acl_save_prefix"
17798 if test "X$x" = "X$element"; then
17803 if test -z "$haveit"; then
17804 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
17810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17811 $as_echo "no" >&6; }
17815 ac_cpp
='$CXXCPP $CPPFLAGS'
17816 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17817 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17818 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17823 ac_cpp
='$OBJCXXCPP $CPPFLAGS'
17824 ac_compile
='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17825 ac_link
='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17826 ac_compiler_gnu
=$ac_cv_objcxx_compiler_gnu
17828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -ObjC -Wno-unneeded-internal-declaration" >&5
17829 $as_echo_n "checking for c++ -ObjC -Wno-unneeded-internal-declaration... " >&6; }
17831 cy_save
=$OBJCXXFLAGS
17833 for element
in -Wno-unneeded-internal-declaration; do
17835 for x
in $OBJCXXFLAGS; do
17837 acl_save_prefix
="$prefix"
17838 prefix
="$acl_final_prefix"
17839 acl_save_exec_prefix
="$exec_prefix"
17840 exec_prefix
="$acl_final_exec_prefix"
17842 exec_prefix
="$acl_save_exec_prefix"
17843 prefix
="$acl_save_prefix"
17845 if test "X$x" = "X$element"; then
17850 if test -z "$haveit"; then
17851 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
17856 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17857 /* end confdefs.h. */
17860 if ac_fn_objcxx_try_compile
"$LINENO"; then :
17865 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17867 OBJCXXFLAGS
=$cy_save
17868 if test "x$cy_good" = x1
; then :
17869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17870 $as_echo "yes" >&6; }
17872 for element
in -Wno-unneeded-internal-declaration; do
17874 for x
in $OBJCXXFLAGS; do
17876 acl_save_prefix
="$prefix"
17877 prefix
="$acl_final_prefix"
17878 acl_save_exec_prefix
="$exec_prefix"
17879 exec_prefix
="$acl_final_exec_prefix"
17881 exec_prefix
="$acl_save_exec_prefix"
17882 prefix
="$acl_save_prefix"
17884 if test "X$x" = "X$element"; then
17889 if test -z "$haveit"; then
17890 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
17896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17897 $as_echo "no" >&6; }
17901 ac_cpp
='$CXXCPP $CPPFLAGS'
17902 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17903 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17904 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17909 for cy_arch
in ppc ppc64 i386 x86_64 armv6
; do
17910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -arch $cy_arch" >&5
17911 $as_echo_n "checking for -arch $cy_arch... " >&6; }
17915 for element
in "-arch $cy_arch"; do
17917 for x
in $CXXFLAGS; do
17919 acl_save_prefix
="$prefix"
17920 prefix
="$acl_final_prefix"
17921 acl_save_exec_prefix
="$exec_prefix"
17922 exec_prefix
="$acl_final_exec_prefix"
17924 exec_prefix
="$acl_save_exec_prefix"
17925 prefix
="$acl_save_prefix"
17927 if test "X$x" = "X$element"; then
17932 if test -z "$haveit"; then
17933 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
17938 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17939 /* end confdefs.h. */
17949 if ac_fn_cxx_try_link
"$LINENO"; then :
17954 rm -f core conftest.err conftest.
$ac_objext \
17955 conftest
$ac_exeext conftest.
$ac_ext
17958 if test "x$cy_good" = x1
; then :
17959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17960 $as_echo "yes" >&6; }
17962 for element
in "-arch $cy_arch"; do
17964 for x
in $CY_ARCH; do
17966 acl_save_prefix
="$prefix"
17967 prefix
="$acl_final_prefix"
17968 acl_save_exec_prefix
="$exec_prefix"
17969 exec_prefix
="$acl_final_exec_prefix"
17971 exec_prefix
="$acl_save_exec_prefix"
17972 prefix
="$acl_save_prefix"
17974 if test "X$x" = "X$element"; then
17979 if test -z "$haveit"; then
17980 CY_ARCH
="${CY_ARCH}${CY_ARCH:+ }$element"
17986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17987 $as_echo "no" >&6; }
17999 # Check whether --enable-javascript was given.
18000 if test "${enable_javascript+set}" = set; then :
18001 enableval
=$enable_javascript;
18002 case $enableval in #(
18008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
18009 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
18010 if ${ac_cv_framework_JavaScriptCore+:} false
; then :
18011 $as_echo_n "(cached) " >&6
18014 ac_check_framework_save_LIBS
=$LIBS
18015 LIBS
="-framework JavaScriptCore $LIBS"
18016 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18017 /* end confdefs.h. */
18019 #include <JavaScriptCore/JSBase.h>
18025 JSEvaluateScript(0, 0, 0, 0, 0, 0);
18031 if ac_fn_cxx_try_link
"$LINENO"; then :
18033 ac_cv_framework_JavaScriptCore
=yes
18036 ac_cv_framework_JavaScriptCore
=no
18038 rm -f core conftest.err conftest.
$ac_objext \
18039 conftest
$ac_exeext conftest.
$ac_ext
18040 LIBS
=$ac_check_framework_save_LIBS
18043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
18044 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
18045 if test $ac_cv_framework_JavaScriptCore = yes; then :
18048 for element
in "-framework JavaScriptCore"; do
18052 acl_save_prefix
="$prefix"
18053 prefix
="$acl_final_prefix"
18054 acl_save_exec_prefix
="$exec_prefix"
18055 exec_prefix
="$acl_final_exec_prefix"
18057 exec_prefix
="$acl_save_exec_prefix"
18058 prefix
="$acl_save_prefix"
18060 if test "X$x" = "X$element"; then
18065 if test -z "$haveit"; then
18066 LIBS
="${LIBS}${LIBS:+ }$element"
18077 for cy_webkit_pkg
in "webkit-1.0" "WebKitGtk"; do
18080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
18081 $as_echo_n "checking for WEBKIT... " >&6; }
18083 if test -n "$WEBKIT_CFLAGS"; then
18084 pkg_cv_WEBKIT_CFLAGS
="$WEBKIT_CFLAGS"
18085 elif test -n "$PKG_CONFIG"; then
18086 if test -n "$PKG_CONFIG" && \
18087 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$cy_webkit_pkg\""; } >&5
18088 ($PKG_CONFIG --exists --print-errors "$cy_webkit_pkg") 2>&5
18090 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18091 test $ac_status = 0; }; then
18092 pkg_cv_WEBKIT_CFLAGS
=`$PKG_CONFIG --cflags "$cy_webkit_pkg" 2>/dev/null`
18099 if test -n "$WEBKIT_LIBS"; then
18100 pkg_cv_WEBKIT_LIBS
="$WEBKIT_LIBS"
18101 elif test -n "$PKG_CONFIG"; then
18102 if test -n "$PKG_CONFIG" && \
18103 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$cy_webkit_pkg\""; } >&5
18104 ($PKG_CONFIG --exists --print-errors "$cy_webkit_pkg") 2>&5
18106 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18107 test $ac_status = 0; }; then
18108 pkg_cv_WEBKIT_LIBS
=`$PKG_CONFIG --libs "$cy_webkit_pkg" 2>/dev/null`
18118 if test $pkg_failed = yes; then
18119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18120 $as_echo "no" >&6; }
18122 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18123 _pkg_short_errors_supported
=yes
18125 _pkg_short_errors_supported
=no
18127 if test $_pkg_short_errors_supported = yes; then
18128 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "$cy_webkit_pkg" 2>&1`
18130 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --print-errors "$cy_webkit_pkg" 2>&1`
18132 # Put the nasty error message in config.log where it belongs
18133 echo "$WEBKIT_PKG_ERRORS" >&5
18136 elif test $pkg_failed = untried
; then
18137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18138 $as_echo "no" >&6; }
18141 WEBKIT_CFLAGS
=$pkg_cv_WEBKIT_CFLAGS
18142 WEBKIT_LIBS
=$pkg_cv_WEBKIT_LIBS
18143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18144 $as_echo "yes" >&6; }
18149 for element
in `$PKG_CONFIG --cflags $cy_webkit_pkg`; do
18151 for x
in $CPPFLAGS; do
18153 acl_save_prefix
="$prefix"
18154 prefix
="$acl_final_prefix"
18155 acl_save_exec_prefix
="$exec_prefix"
18156 exec_prefix
="$acl_final_exec_prefix"
18158 exec_prefix
="$acl_save_exec_prefix"
18159 prefix
="$acl_save_prefix"
18161 if test "X$x" = "X$element"; then
18166 if test -z "$haveit"; then
18167 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
18172 for element
in `$PKG_CONFIG --libs $cy_webkit_pkg`; do
18176 acl_save_prefix
="$prefix"
18177 prefix
="$acl_final_prefix"
18178 acl_save_exec_prefix
="$exec_prefix"
18179 exec_prefix
="$acl_final_exec_prefix"
18181 exec_prefix
="$acl_save_exec_prefix"
18182 prefix
="$acl_save_prefix"
18184 if test "X$x" = "X$element"; then
18189 if test -z "$haveit"; then
18190 LIBS
="${LIBS}${LIBS:+ }$element"
18195 fi; if test "x$CY_EXECUTE" = x1
; then break; fi
18208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
18209 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
18210 if ${ac_cv_framework_JavaScriptCore+:} false
; then :
18211 $as_echo_n "(cached) " >&6
18214 ac_check_framework_save_LIBS
=$LIBS
18215 LIBS
="-framework JavaScriptCore $LIBS"
18216 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18217 /* end confdefs.h. */
18219 #include <JavaScriptCore/JSBase.h>
18225 JSEvaluateScript(0, 0, 0, 0, 0, 0);
18231 if ac_fn_cxx_try_link
"$LINENO"; then :
18233 ac_cv_framework_JavaScriptCore
=yes
18236 ac_cv_framework_JavaScriptCore
=no
18238 rm -f core conftest.err conftest.
$ac_objext \
18239 conftest
$ac_exeext conftest.
$ac_ext
18240 LIBS
=$ac_check_framework_save_LIBS
18243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
18244 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
18245 if test $ac_cv_framework_JavaScriptCore = yes; then :
18248 for element
in "-framework JavaScriptCore"; do
18252 acl_save_prefix
="$prefix"
18253 prefix
="$acl_final_prefix"
18254 acl_save_exec_prefix
="$exec_prefix"
18255 exec_prefix
="$acl_final_exec_prefix"
18257 exec_prefix
="$acl_save_exec_prefix"
18258 prefix
="$acl_save_prefix"
18260 if test "X$x" = "X$element"; then
18265 if test -z "$haveit"; then
18266 LIBS
="${LIBS}${LIBS:+ }$element"
18277 for cy_webkit_pkg
in "webkit-1.0" "WebKitGtk"; do
18280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
18281 $as_echo_n "checking for WEBKIT... " >&6; }
18283 if test -n "$WEBKIT_CFLAGS"; then
18284 pkg_cv_WEBKIT_CFLAGS
="$WEBKIT_CFLAGS"
18285 elif test -n "$PKG_CONFIG"; then
18286 if test -n "$PKG_CONFIG" && \
18287 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$cy_webkit_pkg\""; } >&5
18288 ($PKG_CONFIG --exists --print-errors "$cy_webkit_pkg") 2>&5
18290 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18291 test $ac_status = 0; }; then
18292 pkg_cv_WEBKIT_CFLAGS
=`$PKG_CONFIG --cflags "$cy_webkit_pkg" 2>/dev/null`
18299 if test -n "$WEBKIT_LIBS"; then
18300 pkg_cv_WEBKIT_LIBS
="$WEBKIT_LIBS"
18301 elif test -n "$PKG_CONFIG"; then
18302 if test -n "$PKG_CONFIG" && \
18303 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$cy_webkit_pkg\""; } >&5
18304 ($PKG_CONFIG --exists --print-errors "$cy_webkit_pkg") 2>&5
18306 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18307 test $ac_status = 0; }; then
18308 pkg_cv_WEBKIT_LIBS
=`$PKG_CONFIG --libs "$cy_webkit_pkg" 2>/dev/null`
18318 if test $pkg_failed = yes; then
18319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18320 $as_echo "no" >&6; }
18322 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18323 _pkg_short_errors_supported
=yes
18325 _pkg_short_errors_supported
=no
18327 if test $_pkg_short_errors_supported = yes; then
18328 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "$cy_webkit_pkg" 2>&1`
18330 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --print-errors "$cy_webkit_pkg" 2>&1`
18332 # Put the nasty error message in config.log where it belongs
18333 echo "$WEBKIT_PKG_ERRORS" >&5
18336 elif test $pkg_failed = untried
; then
18337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18338 $as_echo "no" >&6; }
18341 WEBKIT_CFLAGS
=$pkg_cv_WEBKIT_CFLAGS
18342 WEBKIT_LIBS
=$pkg_cv_WEBKIT_LIBS
18343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18344 $as_echo "yes" >&6; }
18349 for element
in `$PKG_CONFIG --cflags $cy_webkit_pkg`; do
18351 for x
in $CPPFLAGS; do
18353 acl_save_prefix
="$prefix"
18354 prefix
="$acl_final_prefix"
18355 acl_save_exec_prefix
="$exec_prefix"
18356 exec_prefix
="$acl_final_exec_prefix"
18358 exec_prefix
="$acl_save_exec_prefix"
18359 prefix
="$acl_save_prefix"
18361 if test "X$x" = "X$element"; then
18366 if test -z "$haveit"; then
18367 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
18372 for element
in `$PKG_CONFIG --libs $cy_webkit_pkg`; do
18376 acl_save_prefix
="$prefix"
18377 prefix
="$acl_final_prefix"
18378 acl_save_exec_prefix
="$exec_prefix"
18379 exec_prefix
="$acl_final_exec_prefix"
18381 exec_prefix
="$acl_save_exec_prefix"
18382 prefix
="$acl_save_prefix"
18384 if test "X$x" = "X$element"; then
18389 if test -z "$haveit"; then
18390 LIBS
="${LIBS}${LIBS:+ }$element"
18395 fi; if test "x$CY_EXECUTE" = x1
; then break; fi
18401 as_fn_error $?
"Unknown JavaScript engine: $enableval" "$LINENO" 5 ;;
18408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
18409 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
18410 if ${ac_cv_framework_JavaScriptCore+:} false
; then :
18411 $as_echo_n "(cached) " >&6
18414 ac_check_framework_save_LIBS
=$LIBS
18415 LIBS
="-framework JavaScriptCore $LIBS"
18416 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18417 /* end confdefs.h. */
18419 #include <JavaScriptCore/JSBase.h>
18425 JSEvaluateScript(0, 0, 0, 0, 0, 0);
18431 if ac_fn_cxx_try_link
"$LINENO"; then :
18433 ac_cv_framework_JavaScriptCore
=yes
18436 ac_cv_framework_JavaScriptCore
=no
18438 rm -f core conftest.err conftest.
$ac_objext \
18439 conftest
$ac_exeext conftest.
$ac_ext
18440 LIBS
=$ac_check_framework_save_LIBS
18443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
18444 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
18445 if test $ac_cv_framework_JavaScriptCore = yes; then :
18448 for element
in "-framework JavaScriptCore"; do
18452 acl_save_prefix
="$prefix"
18453 prefix
="$acl_final_prefix"
18454 acl_save_exec_prefix
="$exec_prefix"
18455 exec_prefix
="$acl_final_exec_prefix"
18457 exec_prefix
="$acl_save_exec_prefix"
18458 prefix
="$acl_save_prefix"
18460 if test "X$x" = "X$element"; then
18465 if test -z "$haveit"; then
18466 LIBS
="${LIBS}${LIBS:+ }$element"
18477 for cy_webkit_pkg
in "webkit-1.0" "WebKitGtk"; do
18480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
18481 $as_echo_n "checking for WEBKIT... " >&6; }
18483 if test -n "$WEBKIT_CFLAGS"; then
18484 pkg_cv_WEBKIT_CFLAGS
="$WEBKIT_CFLAGS"
18485 elif test -n "$PKG_CONFIG"; then
18486 if test -n "$PKG_CONFIG" && \
18487 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$cy_webkit_pkg\""; } >&5
18488 ($PKG_CONFIG --exists --print-errors "$cy_webkit_pkg") 2>&5
18490 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18491 test $ac_status = 0; }; then
18492 pkg_cv_WEBKIT_CFLAGS
=`$PKG_CONFIG --cflags "$cy_webkit_pkg" 2>/dev/null`
18499 if test -n "$WEBKIT_LIBS"; then
18500 pkg_cv_WEBKIT_LIBS
="$WEBKIT_LIBS"
18501 elif test -n "$PKG_CONFIG"; then
18502 if test -n "$PKG_CONFIG" && \
18503 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$cy_webkit_pkg\""; } >&5
18504 ($PKG_CONFIG --exists --print-errors "$cy_webkit_pkg") 2>&5
18506 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18507 test $ac_status = 0; }; then
18508 pkg_cv_WEBKIT_LIBS
=`$PKG_CONFIG --libs "$cy_webkit_pkg" 2>/dev/null`
18518 if test $pkg_failed = yes; then
18519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18520 $as_echo "no" >&6; }
18522 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18523 _pkg_short_errors_supported
=yes
18525 _pkg_short_errors_supported
=no
18527 if test $_pkg_short_errors_supported = yes; then
18528 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "$cy_webkit_pkg" 2>&1`
18530 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --print-errors "$cy_webkit_pkg" 2>&1`
18532 # Put the nasty error message in config.log where it belongs
18533 echo "$WEBKIT_PKG_ERRORS" >&5
18536 elif test $pkg_failed = untried
; then
18537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18538 $as_echo "no" >&6; }
18541 WEBKIT_CFLAGS
=$pkg_cv_WEBKIT_CFLAGS
18542 WEBKIT_LIBS
=$pkg_cv_WEBKIT_LIBS
18543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18544 $as_echo "yes" >&6; }
18549 for element
in `$PKG_CONFIG --cflags $cy_webkit_pkg`; do
18551 for x
in $CPPFLAGS; do
18553 acl_save_prefix
="$prefix"
18554 prefix
="$acl_final_prefix"
18555 acl_save_exec_prefix
="$exec_prefix"
18556 exec_prefix
="$acl_final_exec_prefix"
18558 exec_prefix
="$acl_save_exec_prefix"
18559 prefix
="$acl_save_prefix"
18561 if test "X$x" = "X$element"; then
18566 if test -z "$haveit"; then
18567 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
18572 for element
in `$PKG_CONFIG --libs $cy_webkit_pkg`; do
18576 acl_save_prefix
="$prefix"
18577 prefix
="$acl_final_prefix"
18578 acl_save_exec_prefix
="$exec_prefix"
18579 exec_prefix
="$acl_final_exec_prefix"
18581 exec_prefix
="$acl_save_exec_prefix"
18582 prefix
="$acl_save_prefix"
18584 if test "X$x" = "X$element"; then
18589 if test -z "$haveit"; then
18590 LIBS
="${LIBS}${LIBS:+ }$element"
18595 fi; if test "x$CY_EXECUTE" = x1
; then break; fi
18606 if test "$target_os" = "os2-emx"; then
18607 # Scripts don't pass test -x on OS/2
18613 acceptable_majors
="1"
18615 apr_temp_acceptable_apr_config
=""
18616 for apr_temp_major
in $acceptable_majors
18618 case $apr_temp_major in
18620 apr_temp_acceptable_apr_config
="$apr_temp_acceptable_apr_config apr-config"
18623 apr_temp_acceptable_apr_config
="$apr_temp_acceptable_apr_config apr-$apr_temp_major-config"
18628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for APR" >&5
18629 $as_echo_n "checking for APR... " >&6; }
18631 # Check whether --with-apr was given.
18632 if test "${with_apr+set}" = set; then :
18634 if test "$withval" = "no" || test "$withval" = "yes"; then
18635 as_fn_error $?
"--with-apr requires a directory or file to be provided" "$LINENO" 5
18638 for apr_temp_apr_config_file
in $apr_temp_acceptable_apr_config
18640 for lookdir
in "$withval/bin" "$withval"
18642 if $TEST_X "$lookdir/$apr_temp_apr_config_file"; then
18643 apr_config
="$lookdir/$apr_temp_apr_config_file"
18651 if test "$apr_found" != "yes" && $TEST_X "$withval" && $withval --help > /dev
/null
2>&1 ; then
18652 apr_config
="$withval"
18656 if test "$apr_found" != "yes"; then
18657 as_fn_error $?
"the --with-apr parameter is incorrect. It must specify an install prefix, a build directory, or an apr-config file." "$LINENO" 5
18662 if test -n "1" && test "1" = "1"; then
18663 for apr_temp_apr_config_file
in $apr_temp_acceptable_apr_config
18665 if $apr_temp_apr_config_file --help > /dev
/null
2>&1 ; then
18666 apr_config
="$apr_temp_apr_config_file"
18671 for lookdir
in /usr
/usr
/local /usr
/local
/apr
/opt
/apr
; do
18672 if $TEST_X "$lookdir/bin/$apr_temp_apr_config_file"; then
18673 apr_config
="$lookdir/bin/$apr_temp_apr_config_file"
18682 if test "$apr_found" = "no" && test -d ""; then
18683 apr_temp_abs_srcdir
="`cd && pwd`"
18684 apr_found
="reconfig"
18685 apr_bundled_major
="`sed -n '/#define.*APR_MAJOR_VERSION/s/^[^0-9]*\([0-9]*\).*$/\1/p' \"/include/apr_version.h\"`"
18686 case $apr_bundled_major in
18688 as_fn_error $?
"failed to find major version of bundled APR" "$LINENO" 5
18691 apr_temp_apr_config_file
="apr-config"
18694 apr_temp_apr_config_file
="apr-$apr_bundled_major-config"
18697 if test -n ""; then
18698 apr_config
="/$apr_temp_apr_config_file"
18700 apr_config
="/$apr_temp_apr_config_file"
18707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $apr_found" >&5
18708 $as_echo "$apr_found" >&6; }
18710 case $apr_found in #(
18714 for element
in `$apr_config --includes`; do
18716 for x
in $CPPFLAGS; do
18718 acl_save_prefix
="$prefix"
18719 prefix
="$acl_final_prefix"
18720 acl_save_exec_prefix
="$exec_prefix"
18721 exec_prefix
="$acl_final_exec_prefix"
18723 exec_prefix
="$acl_save_exec_prefix"
18724 prefix
="$acl_save_prefix"
18726 if test "X$x" = "X$element"; then
18731 if test -z "$haveit"; then
18732 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
18737 for element
in `$apr_config --link-libtool`; do
18739 for x
in $LTLIBAPR; do
18741 acl_save_prefix
="$prefix"
18742 prefix
="$acl_final_prefix"
18743 acl_save_exec_prefix
="$exec_prefix"
18744 exec_prefix
="$acl_final_exec_prefix"
18746 exec_prefix
="$acl_save_exec_prefix"
18747 prefix
="$acl_save_prefix"
18749 if test "X$x" = "X$element"; then
18754 if test -z "$haveit"; then
18755 LTLIBAPR
="${LTLIBAPR}${LTLIBAPR:+ }$element"
18762 as_fn_error $?
"missing \"libapr\"" "$LINENO" 5 ;;
18767 if test "x$CY_EXECUTE" = x1
; then
18769 CY_EXECUTE_FALSE
='#'
18771 CY_EXECUTE_TRUE
='#'
18777 case $CY_EXECUTE in #(
18780 for ac_header
in ffi.h ffi
/ffi.h
18782 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18783 ac_fn_cxx_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18784 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
18785 cat >>confdefs.h
<<_ACEOF
18786 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18797 if test "x$ac_cv_header_ffi_h" = xno
&& test "x$ac_cv_header_ffi_ffi_h" = xno
; then :
18801 C compiler flags
for LIBFFI
, overriding pkg
-config
18802 LIBFFI_LIBS linker flags
for LIBFFI
, overriding pkg
-config
18805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBFFI" >&5
18806 $as_echo_n "checking for LIBFFI... " >&6; }
18808 if test -n "$LIBFFI_CFLAGS"; then
18809 pkg_cv_LIBFFI_CFLAGS
="$LIBFFI_CFLAGS"
18810 elif test -n "$PKG_CONFIG"; then
18811 if test -n "$PKG_CONFIG" && \
18812 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libffi\""; } >&5
18813 ($PKG_CONFIG --exists --print-errors "libffi") 2>&5
18815 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18816 test $ac_status = 0; }; then
18817 pkg_cv_LIBFFI_CFLAGS
=`$PKG_CONFIG --cflags "libffi" 2>/dev/null`
18824 if test -n "$LIBFFI_LIBS"; then
18825 pkg_cv_LIBFFI_LIBS
="$LIBFFI_LIBS"
18826 elif test -n "$PKG_CONFIG"; then
18827 if test -n "$PKG_CONFIG" && \
18828 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libffi\""; } >&5
18829 ($PKG_CONFIG --exists --print-errors "libffi") 2>&5
18831 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18832 test $ac_status = 0; }; then
18833 pkg_cv_LIBFFI_LIBS
=`$PKG_CONFIG --libs "libffi" 2>/dev/null`
18843 if test $pkg_failed = yes; then
18844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18845 $as_echo "no" >&6; }
18847 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18848 _pkg_short_errors_supported
=yes
18850 _pkg_short_errors_supported
=no
18852 if test $_pkg_short_errors_supported = yes; then
18853 LIBFFI_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "libffi" 2>&1`
18855 LIBFFI_PKG_ERRORS
=`$PKG_CONFIG --print-errors "libffi" 2>&1`
18857 # Put the nasty error message in config.log where it belongs
18858 echo "$LIBFFI_PKG_ERRORS" >&5
18860 as_fn_error $?
"missing \"libffi\"" "$LINENO" 5
18861 elif test $pkg_failed = untried
; then
18862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18863 $as_echo "no" >&6; }
18864 as_fn_error $?
"missing \"libffi\"" "$LINENO" 5
18866 LIBFFI_CFLAGS
=$pkg_cv_LIBFFI_CFLAGS
18867 LIBFFI_LIBS
=$pkg_cv_LIBFFI_LIBS
18868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18869 $as_echo "yes" >&6; }
18872 for element
in `$PKG_CONFIG --cflags libffi`; do
18874 for x
in $CPPFLAGS; do
18876 acl_save_prefix
="$prefix"
18877 prefix
="$acl_final_prefix"
18878 acl_save_exec_prefix
="$exec_prefix"
18879 exec_prefix
="$acl_final_exec_prefix"
18881 exec_prefix
="$acl_save_exec_prefix"
18882 prefix
="$acl_save_prefix"
18884 if test "X$x" = "X$element"; then
18889 if test -z "$haveit"; then
18890 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
18895 for element
in `$PKG_CONFIG --libs libffi`; do
18899 acl_save_prefix
="$prefix"
18900 prefix
="$acl_final_prefix"
18901 acl_save_exec_prefix
="$exec_prefix"
18902 exec_prefix
="$acl_final_exec_prefix"
18904 exec_prefix
="$acl_save_exec_prefix"
18905 prefix
="$acl_save_prefix"
18907 if test "X$x" = "X$element"; then
18912 if test -z "$haveit"; then
18913 LIBS
="${LIBS}${LIBS:+ }$element"
18922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing ffi_call" >&5
18923 $as_echo_n "checking for library containing ffi_call... " >&6; }
18924 if ${ac_cv_search_ffi_call+:} false
; then :
18925 $as_echo_n "(cached) " >&6
18927 ac_func_search_save_LIBS
=$LIBS
18928 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18929 /* end confdefs.h. */
18931 /* Override any GCC internal prototype to avoid an error.
18932 Use char because int might match the return type of a GCC
18933 builtin and then its argument prototype would still apply. */
18941 return ffi_call ();
18946 for ac_lib
in '' ffi
; do
18947 if test -z "$ac_lib"; then
18948 ac_res
="none required"
18951 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
18953 if ac_fn_cxx_try_link
"$LINENO"; then :
18954 ac_cv_search_ffi_call
=$ac_res
18956 rm -f core conftest.err conftest.
$ac_objext \
18958 if ${ac_cv_search_ffi_call+:} false
; then :
18962 if ${ac_cv_search_ffi_call+:} false
; then :
18965 ac_cv_search_ffi_call
=no
18967 rm conftest.
$ac_ext
18968 LIBS
=$ac_func_search_save_LIBS
18970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_ffi_call" >&5
18971 $as_echo "$ac_cv_search_ffi_call" >&6; }
18972 ac_res
=$ac_cv_search_ffi_call
18973 if test "$ac_res" != no
; then :
18974 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
18978 case $ac_cv_search_ffi_call in #(
18983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBFFI" >&5
18984 $as_echo_n "checking for LIBFFI... " >&6; }
18986 if test -n "$LIBFFI_CFLAGS"; then
18987 pkg_cv_LIBFFI_CFLAGS
="$LIBFFI_CFLAGS"
18988 elif test -n "$PKG_CONFIG"; then
18989 if test -n "$PKG_CONFIG" && \
18990 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libffi\""; } >&5
18991 ($PKG_CONFIG --exists --print-errors "libffi") 2>&5
18993 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18994 test $ac_status = 0; }; then
18995 pkg_cv_LIBFFI_CFLAGS
=`$PKG_CONFIG --cflags "libffi" 2>/dev/null`
19002 if test -n "$LIBFFI_LIBS"; then
19003 pkg_cv_LIBFFI_LIBS
="$LIBFFI_LIBS"
19004 elif test -n "$PKG_CONFIG"; then
19005 if test -n "$PKG_CONFIG" && \
19006 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libffi\""; } >&5
19007 ($PKG_CONFIG --exists --print-errors "libffi") 2>&5
19009 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19010 test $ac_status = 0; }; then
19011 pkg_cv_LIBFFI_LIBS
=`$PKG_CONFIG --libs "libffi" 2>/dev/null`
19021 if test $pkg_failed = yes; then
19022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19023 $as_echo "no" >&6; }
19025 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
19026 _pkg_short_errors_supported
=yes
19028 _pkg_short_errors_supported
=no
19030 if test $_pkg_short_errors_supported = yes; then
19031 LIBFFI_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "libffi" 2>&1`
19033 LIBFFI_PKG_ERRORS
=`$PKG_CONFIG --print-errors "libffi" 2>&1`
19035 # Put the nasty error message in config.log where it belongs
19036 echo "$LIBFFI_PKG_ERRORS" >&5
19038 as_fn_error $?
"missing \"libffi\"" "$LINENO" 5
19039 elif test $pkg_failed = untried
; then
19040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19041 $as_echo "no" >&6; }
19042 as_fn_error $?
"missing \"libffi\"" "$LINENO" 5
19044 LIBFFI_CFLAGS
=$pkg_cv_LIBFFI_CFLAGS
19045 LIBFFI_LIBS
=$pkg_cv_LIBFFI_LIBS
19046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19047 $as_echo "yes" >&6; }
19050 for element
in `$PKG_CONFIG --cflags libffi`; do
19052 for x
in $CPPFLAGS; do
19054 acl_save_prefix
="$prefix"
19055 prefix
="$acl_final_prefix"
19056 acl_save_exec_prefix
="$exec_prefix"
19057 exec_prefix
="$acl_final_exec_prefix"
19059 exec_prefix
="$acl_save_exec_prefix"
19060 prefix
="$acl_save_prefix"
19062 if test "X$x" = "X$element"; then
19067 if test -z "$haveit"; then
19068 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
19073 for element
in `$PKG_CONFIG --libs libffi`; do
19077 acl_save_prefix
="$prefix"
19078 prefix
="$acl_final_prefix"
19079 acl_save_exec_prefix
="$exec_prefix"
19080 exec_prefix
="$acl_final_exec_prefix"
19082 exec_prefix
="$acl_save_exec_prefix"
19083 prefix
="$acl_save_prefix"
19085 if test "X$x" = "X$element"; then
19090 if test -z "$haveit"; then
19091 LIBS
="${LIBS}${LIBS:+ }$element"
19108 ac_cpp
='$OBJCXXCPP $CPPFLAGS'
19109 ac_compile
='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19110 ac_link
='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19111 ac_compiler_gnu
=$ac_cv_objcxx_compiler_gnu
19114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we really have Objective C++" >&5
19115 $as_echo_n "checking if we really have Objective C++... " >&6; }
19116 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19117 /* end confdefs.h. */
19120 if ac_fn_objcxx_try_compile
"$LINENO"; then :
19123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19124 $as_echo "yes" >&6; }
19127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19128 $as_echo "no" >&6; }
19130 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19132 if test "x$CY_OBJECTIVEC" = x1
; then :
19135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework CoreFoundation" >&5
19136 $as_echo_n "checking for framework CoreFoundation... " >&6; }
19137 if ${ac_cv_framework_CoreFoundation+:} false
; then :
19138 $as_echo_n "(cached) " >&6
19141 ac_check_framework_save_LIBS
=$LIBS
19142 LIBS
="-framework CoreFoundation $LIBS"
19143 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19144 /* end confdefs.h. */
19146 #include <CoreFoundation/CFBase.h>
19151 CFAllocatorGetDefault();
19156 if ac_fn_objcxx_try_link
"$LINENO"; then :
19158 ac_cv_framework_CoreFoundation
=yes
19161 ac_cv_framework_CoreFoundation
=no
19163 rm -f core conftest.err conftest.
$ac_objext \
19164 conftest
$ac_exeext conftest.
$ac_ext
19165 LIBS
=$ac_check_framework_save_LIBS
19168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_CoreFoundation" >&5
19169 $as_echo "$ac_cv_framework_CoreFoundation" >&6; }
19170 if test $ac_cv_framework_CoreFoundation = yes; then :
19173 for element
in "-framework CoreFoundation"; do
19177 acl_save_prefix
="$prefix"
19178 prefix
="$acl_final_prefix"
19179 acl_save_exec_prefix
="$exec_prefix"
19180 exec_prefix
="$acl_final_exec_prefix"
19182 exec_prefix
="$acl_save_exec_prefix"
19183 prefix
="$acl_save_prefix"
19185 if test "X$x" = "X$element"; then
19190 if test -z "$haveit"; then
19191 LIBS
="${LIBS}${LIBS:+ }$element"
19200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework Foundation" >&5
19201 $as_echo_n "checking for framework Foundation... " >&6; }
19202 if ${ac_cv_framework_Foundation+:} false
; then :
19203 $as_echo_n "(cached) " >&6
19206 ac_check_framework_save_LIBS
=$LIBS
19207 LIBS
="-framework Foundation $LIBS"
19208 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19209 /* end confdefs.h. */
19211 #include <Foundation/NSObject.h>
19216 [[NSObject alloc] init];
19221 if ac_fn_objcxx_try_link
"$LINENO"; then :
19223 ac_cv_framework_Foundation
=yes
19226 ac_cv_framework_Foundation
=no
19228 rm -f core conftest.err conftest.
$ac_objext \
19229 conftest
$ac_exeext conftest.
$ac_ext
19230 LIBS
=$ac_check_framework_save_LIBS
19233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_Foundation" >&5
19234 $as_echo "$ac_cv_framework_Foundation" >&6; }
19235 if test $ac_cv_framework_Foundation = yes; then :
19238 for element
in "-framework Foundation"; do
19242 acl_save_prefix
="$prefix"
19243 prefix
="$acl_final_prefix"
19244 acl_save_exec_prefix
="$exec_prefix"
19245 exec_prefix
="$acl_final_exec_prefix"
19247 exec_prefix
="$acl_save_exec_prefix"
19248 prefix
="$acl_save_prefix"
19250 if test "X$x" = "X$element"; then
19255 if test -z "$haveit"; then
19256 LIBS
="${LIBS}${LIBS:+ }$element"
19260 cat >>confdefs.h
<<_ACEOF
19261 #define HAVE_FRAMEWORK_FOUNDATION 1
19269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework WebKit" >&5
19270 $as_echo_n "checking for framework WebKit... " >&6; }
19271 if ${ac_cv_framework_WebKit+:} false
; then :
19272 $as_echo_n "(cached) " >&6
19275 ac_check_framework_save_LIBS
=$LIBS
19276 LIBS
="-framework WebKit $LIBS"
19277 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19278 /* end confdefs.h. */
19280 #include <WebKit/WebScriptObject.h>
19285 [[WebScriptObject alloc] init];
19290 if ac_fn_objcxx_try_link
"$LINENO"; then :
19292 ac_cv_framework_WebKit
=yes
19295 ac_cv_framework_WebKit
=no
19297 rm -f core conftest.err conftest.
$ac_objext \
19298 conftest
$ac_exeext conftest.
$ac_ext
19299 LIBS
=$ac_check_framework_save_LIBS
19302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_WebKit" >&5
19303 $as_echo "$ac_cv_framework_WebKit" >&6; }
19304 if test $ac_cv_framework_WebKit = yes; then :
19307 for element
in "-framework WebKit"; do
19311 acl_save_prefix
="$prefix"
19312 prefix
="$acl_final_prefix"
19313 acl_save_exec_prefix
="$exec_prefix"
19314 exec_prefix
="$acl_final_exec_prefix"
19316 exec_prefix
="$acl_save_exec_prefix"
19317 prefix
="$acl_save_prefix"
19319 if test "X$x" = "X$element"; then
19324 if test -z "$haveit"; then
19325 LIBS
="${LIBS}${LIBS:+ }$element"
19329 cat >>confdefs.h
<<_ACEOF
19330 #define HAVE_FRAMEWORK_WEBKIT 1
19340 for ac_prog
in gnustep
-config
19342 # Extract the first word of "$ac_prog", so it can be a program name with args.
19343 set dummy
$ac_prog; ac_word
=$2
19344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19345 $as_echo_n "checking for $ac_word... " >&6; }
19346 if ${ac_cv_prog_GNUSTEP_CONFIG+:} false
; then :
19347 $as_echo_n "(cached) " >&6
19349 if test -n "$GNUSTEP_CONFIG"; then
19350 ac_cv_prog_GNUSTEP_CONFIG
="$GNUSTEP_CONFIG" # Let the user override the test.
19352 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
19353 for as_dir
in $PATH
19356 test -z "$as_dir" && as_dir
=.
19357 for ac_exec_ext
in '' $ac_executable_extensions; do
19358 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
19359 ac_cv_prog_GNUSTEP_CONFIG
="$ac_prog"
19360 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19369 GNUSTEP_CONFIG
=$ac_cv_prog_GNUSTEP_CONFIG
19370 if test -n "$GNUSTEP_CONFIG"; then
19371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNUSTEP_CONFIG" >&5
19372 $as_echo "$GNUSTEP_CONFIG" >&6; }
19374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19375 $as_echo "no" >&6; }
19379 test -n "$GNUSTEP_CONFIG" && break
19383 if test "x$GNUSTEP_CONFIG" != x
; then :
19387 for element
in `$GNUSTEP_CONFIG --objc-flags`; do
19389 for x
in $OBJCXXFLAGS; do
19391 acl_save_prefix
="$prefix"
19392 prefix
="$acl_final_prefix"
19393 acl_save_exec_prefix
="$exec_prefix"
19394 exec_prefix
="$acl_final_exec_prefix"
19396 exec_prefix
="$acl_save_exec_prefix"
19397 prefix
="$acl_save_prefix"
19399 if test "X$x" = "X$element"; then
19404 if test -z "$haveit"; then
19405 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
19410 for element
in `$GNUSTEP_CONFIG --base-libs`; do
19414 acl_save_prefix
="$prefix"
19415 prefix
="$acl_final_prefix"
19416 acl_save_exec_prefix
="$exec_prefix"
19417 exec_prefix
="$acl_final_exec_prefix"
19419 exec_prefix
="$acl_save_exec_prefix"
19420 prefix
="$acl_save_prefix"
19422 if test "X$x" = "X$element"; then
19427 if test -z "$haveit"; then
19428 LIBS
="${LIBS}${LIBS:+ }$element"
19443 ac_cpp
='$CXXCPP $CPPFLAGS'
19444 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19445 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19446 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19453 if test "x$CY_OBJECTIVEC" = x1
; then
19454 CY_OBJECTIVEC_TRUE
=
19455 CY_OBJECTIVEC_FALSE
='#'
19457 CY_OBJECTIVEC_TRUE
='#'
19458 CY_OBJECTIVEC_FALSE
=
19466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a readline compatible library" >&5
19467 $as_echo_n "checking for a readline compatible library... " >&6; }
19468 if ${ax_cv_lib_readline+:} false
; then :
19469 $as_echo_n "(cached) " >&6
19473 for readline_lib
in readline edit editline
; do
19474 for termcap_lib
in "" termcap curses ncurses
; do
19475 if test -z "$termcap_lib"; then
19476 TRY_LIB
="-l$readline_lib"
19478 TRY_LIB
="-l$readline_lib -l$termcap_lib"
19480 LIBS
="$ORIG_LIBS $TRY_LIB"
19481 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19482 /* end confdefs.h. */
19484 /* Override any GCC internal prototype to avoid an error.
19485 Use char because int might match the return type of a GCC
19486 builtin and then its argument prototype would still apply. */
19494 return readline ();
19499 if ac_fn_cxx_try_link
"$LINENO"; then :
19500 ax_cv_lib_readline
="$TRY_LIB"
19502 rm -f core conftest.err conftest.
$ac_objext \
19503 conftest
$ac_exeext conftest.
$ac_ext
19504 if test -n "$ax_cv_lib_readline"; then
19508 if test -n "$ax_cv_lib_readline"; then
19512 if test -z "$ax_cv_lib_readline"; then
19513 ax_cv_lib_readline
="no"
19518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_lib_readline" >&5
19519 $as_echo "$ax_cv_lib_readline" >&6; }
19521 if test "$ax_cv_lib_readline" != "no"; then
19522 LIBS
="$LIBS $ax_cv_lib_readline"
19524 $as_echo "#define HAVE_LIBREADLINE 1" >>confdefs.h
19526 for ac_header
in readline.h readline
/readline.h
19528 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19529 ac_fn_cxx_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
19530 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
19531 cat >>confdefs.h
<<_ACEOF
19532 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether readline supports history" >&5
19540 $as_echo_n "checking whether readline supports history... " >&6; }
19541 if ${ax_cv_lib_readline_history+:} false
; then :
19542 $as_echo_n "(cached) " >&6
19545 ax_cv_lib_readline_history
="no"
19546 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19547 /* end confdefs.h. */
19549 /* Override any GCC internal prototype to avoid an error.
19550 Use char because int might match the return type of a GCC
19551 builtin and then its argument prototype would still apply. */
19555 char add_history ();
19559 return add_history ();
19564 if ac_fn_cxx_try_link
"$LINENO"; then :
19565 ax_cv_lib_readline_history
="yes"
19567 rm -f core conftest.err conftest.
$ac_objext \
19568 conftest
$ac_exeext conftest.
$ac_ext
19571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_lib_readline_history" >&5
19572 $as_echo "$ax_cv_lib_readline_history" >&6; }
19573 if test "$ax_cv_lib_readline_history" = "yes"; then
19575 $as_echo "#define HAVE_READLINE_HISTORY 1" >>confdefs.h
19577 for ac_header
in history.h readline
/history.h
19579 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19580 ac_fn_cxx_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
19581 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
19582 cat >>confdefs.h
<<_ACEOF
19583 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19593 LTLIBREADLINE
=$LIBS
19597 case $ax_cv_lib_readline in #(
19599 as_fn_error $?
"missing \"libreadline\"" "$LINENO" 5 ;; #(
19607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing cur_term" >&5
19608 $as_echo_n "checking for library containing cur_term... " >&6; }
19609 if ${ac_cv_search_cur_term+:} false
; then :
19610 $as_echo_n "(cached) " >&6
19612 ac_func_search_save_LIBS
=$LIBS
19613 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19614 /* end confdefs.h. */
19616 /* Override any GCC internal prototype to avoid an error.
19617 Use char because int might match the return type of a GCC
19618 builtin and then its argument prototype would still apply. */
19626 return cur_term ();
19631 for ac_lib
in '' termcap
; do
19632 if test -z "$ac_lib"; then
19633 ac_res
="none required"
19636 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19638 if ac_fn_cxx_try_link
"$LINENO"; then :
19639 ac_cv_search_cur_term
=$ac_res
19641 rm -f core conftest.err conftest.
$ac_objext \
19643 if ${ac_cv_search_cur_term+:} false
; then :
19647 if ${ac_cv_search_cur_term+:} false
; then :
19650 ac_cv_search_cur_term
=no
19652 rm conftest.
$ac_ext
19653 LIBS
=$ac_func_search_save_LIBS
19655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_cur_term" >&5
19656 $as_echo "$ac_cv_search_cur_term" >&6; }
19657 ac_res
=$ac_cv_search_cur_term
19658 if test "$ac_res" != no
; then :
19659 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
19669 ac_cpp
='$CPP $CPPFLAGS'
19670 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19671 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19672 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19675 if test "X$prefix" = "XNONE"; then
19676 acl_final_prefix
="$ac_default_prefix"
19678 acl_final_prefix
="$prefix"
19680 if test "X$exec_prefix" = "XNONE"; then
19681 acl_final_exec_prefix
='${prefix}'
19683 acl_final_exec_prefix
="$exec_prefix"
19685 acl_save_prefix
="$prefix"
19686 prefix
="$acl_final_prefix"
19687 eval acl_final_exec_prefix
=\"$acl_final_exec_prefix\"
19688 prefix
="$acl_save_prefix"
19692 # Check whether --with-gnu-ld was given.
19693 if test "${with_gnu_ld+set}" = set; then :
19694 withval
=$with_gnu_ld; test "$withval" = no
|| with_gnu_ld
=yes
19699 # Prepare PATH_SEPARATOR.
19700 # The user is always right.
19701 if test "${PATH_SEPARATOR+set}" != set; then
19702 # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
19703 # contains only /bin. Note that ksh looks also at the FPATH variable,
19704 # so we have to set that as well for the test.
19706 (PATH
='/bin;/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 \
19707 && { (PATH
='/bin:/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 \
19708 || PATH_SEPARATOR
=';'
19713 if test "$GCC" = yes; then
19714 # Check if gcc -print-prog-name=ld gives a path.
19715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
19716 $as_echo_n "checking for ld used by $CC... " >&6; }
19719 # gcc leaves a trailing carriage return which upsets mingw
19720 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
19722 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
19725 # Accept absolute paths.
19727 re_direlt
='/[^/][^/]*/\.\./'
19728 # Canonicalize the pathname of ld
19729 ac_prog
=`echo "$ac_prog"| sed 's%\\\\%/%g'`
19730 while echo "$ac_prog" | grep "$re_direlt" > /dev
/null
2>&1; do
19731 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
19733 test -z "$LD" && LD
="$ac_prog"
19736 # If it fails, then pretend we aren't using GCC.
19740 # If it is relative, then search for the first ld in PATH.
19741 with_gnu_ld
=unknown
19744 elif test "$with_gnu_ld" = yes; then
19745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
19746 $as_echo_n "checking for GNU ld... " >&6; }
19748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
19749 $as_echo_n "checking for non-GNU ld... " >&6; }
19751 if ${acl_cv_path_LD+:} false
; then :
19752 $as_echo_n "(cached) " >&6
19754 if test -z "$LD"; then
19755 acl_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
19756 for ac_dir
in $PATH; do
19757 IFS
="$acl_save_ifs"
19758 test -z "$ac_dir" && ac_dir
=.
19759 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
19760 acl_cv_path_LD
="$ac_dir/$ac_prog"
19761 # Check to see if the program is GNU ld. I'd rather use --version,
19762 # but apparently some variants of GNU ld only accept -v.
19763 # Break only if it was the GNU/non-GNU ld that we prefer.
19764 case `"$acl_cv_path_LD" -v 2>&1 </dev/null` in
19765 *GNU
* | *'with BFD'*)
19766 test "$with_gnu_ld" != no
&& break
19769 test "$with_gnu_ld" != yes && break
19774 IFS
="$acl_save_ifs"
19776 acl_cv_path_LD
="$LD" # Let the user override the test with a path.
19780 LD
="$acl_cv_path_LD"
19781 if test -n "$LD"; then
19782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
19783 $as_echo "$LD" >&6; }
19785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19786 $as_echo "no" >&6; }
19788 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
19789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
19790 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
19791 if ${acl_cv_prog_gnu_ld+:} false
; then :
19792 $as_echo_n "(cached) " >&6
19794 # I'd rather use --version here, but apparently some GNU lds only accept -v.
19795 case `$LD -v 2>&1 </dev/null` in
19796 *GNU
* | *'with BFD'*)
19797 acl_cv_prog_gnu_ld
=yes
19800 acl_cv_prog_gnu_ld
=no
19804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
19805 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
19806 with_gnu_ld
=$acl_cv_prog_gnu_ld
19811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
19812 $as_echo_n "checking for shared library run path origin... " >&6; }
19813 if ${acl_cv_rpath+:} false
; then :
19814 $as_echo_n "(cached) " >&6
19817 CC
="$CC" GCC
="$GCC" LDFLAGS
="$LDFLAGS" LD
="$LD" with_gnu_ld
="$with_gnu_ld" \
19818 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
19820 rm -f .
/conftest.sh
19824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
19825 $as_echo "$acl_cv_rpath" >&6; }
19827 acl_libext
="$acl_cv_libext"
19828 acl_shlibext
="$acl_cv_shlibext"
19829 acl_libname_spec
="$acl_cv_libname_spec"
19830 acl_library_names_spec
="$acl_cv_library_names_spec"
19831 acl_hardcode_libdir_flag_spec
="$acl_cv_hardcode_libdir_flag_spec"
19832 acl_hardcode_libdir_separator
="$acl_cv_hardcode_libdir_separator"
19833 acl_hardcode_direct
="$acl_cv_hardcode_direct"
19834 acl_hardcode_minus_L
="$acl_cv_hardcode_minus_L"
19835 # Check whether --enable-rpath was given.
19836 if test "${enable_rpath+set}" = set; then :
19837 enableval
=$enable_rpath; :
19849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 64-bit host" >&5
19850 $as_echo_n "checking for 64-bit host... " >&6; }
19851 if ${gl_cv_solaris_64bit+:} false
; then :
19852 $as_echo_n "(cached) " >&6
19854 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19855 /* end confdefs.h. */
19862 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19863 $EGREP "sixtyfour bits" >/dev
/null
2>&1; then :
19864 gl_cv_solaris_64bit
=yes
19866 gl_cv_solaris_64bit
=no
19872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_solaris_64bit" >&5
19873 $as_echo "$gl_cv_solaris_64bit" >&6; }
19874 if test $gl_cv_solaris_64bit = yes; then
19875 acl_libdirstem
=lib
/64
19876 case "$host_cpu" in
19877 sparc
*) acl_libdirstem2
=lib
/sparcv9
;;
19878 i
*86 | x86_64
) acl_libdirstem2
=lib
/amd64
;;
19883 searchpath
=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
19884 if test -n "$searchpath"; then
19885 acl_save_IFS
="${IFS= }"; IFS
=":"
19886 for searchdir
in $searchpath; do
19887 if test -d "$searchdir"; then
19888 case "$searchdir" in
19889 */lib
64/ | */lib64
) acl_libdirstem
=lib64
;;
19891 # Better ignore directories of this form. They are misleading.
19893 *) searchdir
=`cd "$searchdir" && pwd`
19894 case "$searchdir" in
19895 */lib64
) acl_libdirstem
=lib64
;;
19900 IFS
="$acl_save_IFS"
19904 test -n "$acl_libdirstem2" || acl_libdirstem2
="$acl_libdirstem"
19919 acl_save_prefix
="$prefix"
19920 prefix
="$acl_final_prefix"
19921 acl_save_exec_prefix
="$exec_prefix"
19922 exec_prefix
="$acl_final_exec_prefix"
19924 eval additional_includedir
=\"$includedir\"
19925 eval additional_libdir
=\"$libdir\"
19927 exec_prefix
="$acl_save_exec_prefix"
19928 prefix
="$acl_save_prefix"
19931 # Check whether --with-libiconv-prefix was given.
19932 if test "${with_libiconv_prefix+set}" = set; then :
19933 withval
=$with_libiconv_prefix;
19934 if test "X$withval" = "Xno"; then
19937 if test "X$withval" = "X"; then
19939 acl_save_prefix
="$prefix"
19940 prefix
="$acl_final_prefix"
19941 acl_save_exec_prefix
="$exec_prefix"
19942 exec_prefix
="$acl_final_exec_prefix"
19944 eval additional_includedir
=\"$includedir\"
19945 eval additional_libdir
=\"$libdir\"
19947 exec_prefix
="$acl_save_exec_prefix"
19948 prefix
="$acl_save_prefix"
19951 additional_includedir
="$withval/include"
19952 additional_libdir
="$withval/$acl_libdirstem"
19953 if test "$acl_libdirstem2" != "$acl_libdirstem" \
19954 && ! test -d "$withval/$acl_libdirstem"; then
19955 additional_libdir
="$withval/$acl_libdirstem2"
19969 names_already_handled
=
19970 names_next_round
='iconv '
19971 while test -n "$names_next_round"; do
19972 names_this_round
="$names_next_round"
19974 for name
in $names_this_round; do
19976 for n
in $names_already_handled; do
19977 if test "$n" = "$name"; then
19978 already_handled
=yes
19982 if test -z "$already_handled"; then
19983 names_already_handled
="$names_already_handled $name"
19984 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./+-|ABCDEFGHIJKLMNOPQRSTUVWXYZ____|'`
19985 eval value
=\"\
$HAVE_LIB$uppername\"
19986 if test -n "$value"; then
19987 if test "$value" = yes; then
19988 eval value
=\"\
$LIB$uppername\"
19989 test -z "$value" || LIBICONV
="${LIBICONV}${LIBICONV:+ }$value"
19990 eval value
=\"\
$LTLIB$uppername\"
19991 test -z "$value" || LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$value"
20000 eval libname
=\"$acl_libname_spec\" # typically: libname=lib$name
20001 if test -n "$acl_shlibext"; then
20002 shrext
=".$acl_shlibext" # typically: shrext=.so
20006 if test $use_additional = yes; then
20007 dir
="$additional_libdir"
20008 if test -n "$acl_shlibext"; then
20009 if test -f "$dir/$libname$shrext"; then
20011 found_so
="$dir/$libname$shrext"
20013 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
20014 ver
=`(cd "$dir" && \
20015 for f in "$libname$shrext".*; do echo "$f"; done \
20016 | sed -e "s,^$libname$shrext\\\\.,," \
20017 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
20018 | sed 1q ) 2>/dev/null`
20019 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
20021 found_so
="$dir/$libname$shrext.$ver"
20024 eval library_names
=\"$acl_library_names_spec\"
20025 for f
in $library_names; do
20026 if test -f "$dir/$f"; then
20035 if test "X$found_dir" = "X"; then
20036 if test -f "$dir/$libname.$acl_libext"; then
20038 found_a
="$dir/$libname.$acl_libext"
20041 if test "X$found_dir" != "X"; then
20042 if test -f "$dir/$libname.la"; then
20043 found_la
="$dir/$libname.la"
20047 if test "X$found_dir" = "X"; then
20048 for x
in $LDFLAGS $LTLIBICONV; do
20050 acl_save_prefix
="$prefix"
20051 prefix
="$acl_final_prefix"
20052 acl_save_exec_prefix
="$exec_prefix"
20053 exec_prefix
="$acl_final_exec_prefix"
20055 exec_prefix
="$acl_save_exec_prefix"
20056 prefix
="$acl_save_prefix"
20060 dir
=`echo "X$x" | sed -e 's/^X-L//'`
20061 if test -n "$acl_shlibext"; then
20062 if test -f "$dir/$libname$shrext"; then
20064 found_so
="$dir/$libname$shrext"
20066 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
20067 ver
=`(cd "$dir" && \
20068 for f in "$libname$shrext".*; do echo "$f"; done \
20069 | sed -e "s,^$libname$shrext\\\\.,," \
20070 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
20071 | sed 1q ) 2>/dev/null`
20072 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
20074 found_so
="$dir/$libname$shrext.$ver"
20077 eval library_names
=\"$acl_library_names_spec\"
20078 for f
in $library_names; do
20079 if test -f "$dir/$f"; then
20088 if test "X$found_dir" = "X"; then
20089 if test -f "$dir/$libname.$acl_libext"; then
20091 found_a
="$dir/$libname.$acl_libext"
20094 if test "X$found_dir" != "X"; then
20095 if test -f "$dir/$libname.la"; then
20096 found_la
="$dir/$libname.la"
20101 if test "X$found_dir" != "X"; then
20106 if test "X$found_dir" != "X"; then
20107 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
20108 if test "X$found_so" != "X"; then
20109 if test "$enable_rpath" = no \
20110 || test "X$found_dir" = "X/usr/$acl_libdirstem" \
20111 || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then
20112 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
20115 for x
in $ltrpathdirs; do
20116 if test "X$x" = "X$found_dir"; then
20121 if test -z "$haveit"; then
20122 ltrpathdirs
="$ltrpathdirs $found_dir"
20124 if test "$acl_hardcode_direct" = yes; then
20125 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
20127 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no
; then
20128 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
20130 for x
in $rpathdirs; do
20131 if test "X$x" = "X$found_dir"; then
20136 if test -z "$haveit"; then
20137 rpathdirs
="$rpathdirs $found_dir"
20141 for x
in $LDFLAGS $LIBICONV; do
20143 acl_save_prefix
="$prefix"
20144 prefix
="$acl_final_prefix"
20145 acl_save_exec_prefix
="$exec_prefix"
20146 exec_prefix
="$acl_final_exec_prefix"
20148 exec_prefix
="$acl_save_exec_prefix"
20149 prefix
="$acl_save_prefix"
20151 if test "X$x" = "X-L$found_dir"; then
20156 if test -z "$haveit"; then
20157 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir"
20159 if test "$acl_hardcode_minus_L" != no
; then
20160 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
20162 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
20168 if test "X$found_a" != "X"; then
20169 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_a"
20171 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
20174 additional_includedir
=
20175 case "$found_dir" in
20176 */$acl_libdirstem | */$acl_libdirstem/)
20177 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
20178 if test "$name" = 'iconv'; then
20179 LIBICONV_PREFIX
="$basedir"
20181 additional_includedir
="$basedir/include"
20183 */$acl_libdirstem2 | */$acl_libdirstem2/)
20184 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
20185 if test "$name" = 'iconv'; then
20186 LIBICONV_PREFIX
="$basedir"
20188 additional_includedir
="$basedir/include"
20191 if test "X$additional_includedir" != "X"; then
20192 if test "X$additional_includedir" != "X/usr/include"; then
20194 if test "X$additional_includedir" = "X/usr/local/include"; then
20195 if test -n "$GCC"; then
20197 linux
* | gnu
* | k
*bsd
*-gnu) haveit
=yes;;
20201 if test -z "$haveit"; then
20202 for x
in $CPPFLAGS $INCICONV; do
20204 acl_save_prefix
="$prefix"
20205 prefix
="$acl_final_prefix"
20206 acl_save_exec_prefix
="$exec_prefix"
20207 exec_prefix
="$acl_final_exec_prefix"
20209 exec_prefix
="$acl_save_exec_prefix"
20210 prefix
="$acl_save_prefix"
20212 if test "X$x" = "X-I$additional_includedir"; then
20217 if test -z "$haveit"; then
20218 if test -d "$additional_includedir"; then
20219 INCICONV
="${INCICONV}${INCICONV:+ }-I$additional_includedir"
20225 if test -n "$found_la"; then
20226 save_libdir
="$libdir"
20227 case "$found_la" in
20228 */* | *\\*) .
"$found_la" ;;
20229 *) .
"./$found_la" ;;
20231 libdir
="$save_libdir"
20232 for dep
in $dependency_libs; do
20235 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
20236 if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \
20237 && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then
20239 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \
20240 || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then
20241 if test -n "$GCC"; then
20243 linux
* | gnu
* | k
*bsd
*-gnu) haveit
=yes;;
20247 if test -z "$haveit"; then
20249 for x
in $LDFLAGS $LIBICONV; do
20251 acl_save_prefix
="$prefix"
20252 prefix
="$acl_final_prefix"
20253 acl_save_exec_prefix
="$exec_prefix"
20254 exec_prefix
="$acl_final_exec_prefix"
20256 exec_prefix
="$acl_save_exec_prefix"
20257 prefix
="$acl_save_prefix"
20259 if test "X$x" = "X-L$additional_libdir"; then
20264 if test -z "$haveit"; then
20265 if test -d "$additional_libdir"; then
20266 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
20270 for x
in $LDFLAGS $LTLIBICONV; do
20272 acl_save_prefix
="$prefix"
20273 prefix
="$acl_final_prefix"
20274 acl_save_exec_prefix
="$exec_prefix"
20275 exec_prefix
="$acl_final_exec_prefix"
20277 exec_prefix
="$acl_save_exec_prefix"
20278 prefix
="$acl_save_prefix"
20280 if test "X$x" = "X-L$additional_libdir"; then
20285 if test -z "$haveit"; then
20286 if test -d "$additional_libdir"; then
20287 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
20294 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
20295 if test "$enable_rpath" != no
; then
20297 for x
in $rpathdirs; do
20298 if test "X$x" = "X$dir"; then
20303 if test -z "$haveit"; then
20304 rpathdirs
="$rpathdirs $dir"
20307 for x
in $ltrpathdirs; do
20308 if test "X$x" = "X$dir"; then
20313 if test -z "$haveit"; then
20314 ltrpathdirs
="$ltrpathdirs $dir"
20319 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
20322 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
20325 LIBICONV
="${LIBICONV}${LIBICONV:+ }$dep"
20326 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$dep"
20332 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
20333 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
20339 if test "X$rpathdirs" != "X"; then
20340 if test -n "$acl_hardcode_libdir_separator"; then
20342 for found_dir
in $rpathdirs; do
20343 alldirs
="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
20345 acl_save_libdir
="$libdir"
20347 eval flag
=\"$acl_hardcode_libdir_flag_spec\"
20348 libdir
="$acl_save_libdir"
20349 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
20351 for found_dir
in $rpathdirs; do
20352 acl_save_libdir
="$libdir"
20353 libdir
="$found_dir"
20354 eval flag
=\"$acl_hardcode_libdir_flag_spec\"
20355 libdir
="$acl_save_libdir"
20356 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
20360 if test "X$ltrpathdirs" != "X"; then
20361 for found_dir
in $ltrpathdirs; do
20362 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
20377 am_save_CPPFLAGS
="$CPPFLAGS"
20379 for element
in $INCICONV; do
20381 for x
in $CPPFLAGS; do
20383 acl_save_prefix
="$prefix"
20384 prefix
="$acl_final_prefix"
20385 acl_save_exec_prefix
="$exec_prefix"
20386 exec_prefix
="$acl_final_exec_prefix"
20388 exec_prefix
="$acl_save_exec_prefix"
20389 prefix
="$acl_save_prefix"
20391 if test "X$x" = "X$element"; then
20396 if test -z "$haveit"; then
20397 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
20402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
20403 $as_echo_n "checking for iconv... " >&6; }
20404 if ${am_cv_func_iconv+:} false
; then :
20405 $as_echo_n "(cached) " >&6
20408 am_cv_func_iconv
="no, consider installing GNU libiconv"
20410 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20411 /* end confdefs.h. */
20413 #include <stdlib.h>
20419 iconv_t cd = iconv_open("","");
20420 iconv(cd,NULL,NULL,NULL,NULL);
20426 if ac_fn_c_try_link
"$LINENO"; then :
20427 am_cv_func_iconv
=yes
20429 rm -f core conftest.err conftest.
$ac_objext \
20430 conftest
$ac_exeext conftest.
$ac_ext
20431 if test "$am_cv_func_iconv" != yes; then
20432 am_save_LIBS
="$LIBS"
20433 LIBS
="$LIBS $LIBICONV"
20434 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20435 /* end confdefs.h. */
20437 #include <stdlib.h>
20443 iconv_t cd = iconv_open("","");
20444 iconv(cd,NULL,NULL,NULL,NULL);
20450 if ac_fn_c_try_link
"$LINENO"; then :
20451 am_cv_lib_iconv
=yes
20452 am_cv_func_iconv
=yes
20454 rm -f core conftest.err conftest.
$ac_objext \
20455 conftest
$ac_exeext conftest.
$ac_ext
20456 LIBS
="$am_save_LIBS"
20460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
20461 $as_echo "$am_cv_func_iconv" >&6; }
20462 if test "$am_cv_func_iconv" = yes; then
20463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5
20464 $as_echo_n "checking for working iconv... " >&6; }
20465 if ${am_cv_func_iconv_works+:} false
; then :
20466 $as_echo_n "(cached) " >&6
20469 am_save_LIBS
="$LIBS"
20470 if test $am_cv_lib_iconv = yes; then
20471 LIBS
="$LIBS $LIBICONV"
20473 if test "$cross_compiling" = yes; then :
20476 aix
* | hpux
*) am_cv_func_iconv_works
="guessing no" ;;
20477 *) am_cv_func_iconv_works
="guessing yes" ;;
20481 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20482 /* end confdefs.h. */
20485 #include <string.h>
20489 /* Test against AIX 5.1 bug: Failures are not distinguishable from successful
20492 iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8");
20493 if (cd_utf8_to_88591 != (iconv_t)(-1))
20495 static const char input[] = "\342\202\254"; /* EURO SIGN */
20497 const char *inptr = input;
20498 size_t inbytesleft = strlen (input);
20499 char *outptr = buf;
20500 size_t outbytesleft = sizeof (buf);
20501 size_t res = iconv (cd_utf8_to_88591,
20502 (char **) &inptr, &inbytesleft,
20503 &outptr, &outbytesleft);
20506 iconv_close (cd_utf8_to_88591);
20509 /* Test against Solaris 10 bug: Failures are not distinguishable from
20510 successful returns. */
20512 iconv_t cd_ascii_to_88591 = iconv_open ("ISO8859-1", "646");
20513 if (cd_ascii_to_88591 != (iconv_t)(-1))
20515 static const char input[] = "\263";
20517 const char *inptr = input;
20518 size_t inbytesleft = strlen (input);
20519 char *outptr = buf;
20520 size_t outbytesleft = sizeof (buf);
20521 size_t res = iconv (cd_ascii_to_88591,
20522 (char **) &inptr, &inbytesleft,
20523 &outptr, &outbytesleft);
20526 iconv_close (cd_ascii_to_88591);
20529 /* Test against AIX 6.1..7.1 bug: Buffer overrun. */
20531 iconv_t cd_88591_to_utf8 = iconv_open ("UTF-8", "ISO-8859-1");
20532 if (cd_88591_to_utf8 != (iconv_t)(-1))
20534 static const char input[] = "\304";
20535 static char buf[2] = { (char)0xDE, (char)0xAD };
20536 const char *inptr = input;
20537 size_t inbytesleft = 1;
20538 char *outptr = buf;
20539 size_t outbytesleft = 1;
20540 size_t res = iconv (cd_88591_to_utf8,
20541 (char **) &inptr, &inbytesleft,
20542 &outptr, &outbytesleft);
20543 if (res != (size_t)(-1) || outptr - buf > 1 || buf[1] != (char)0xAD)
20545 iconv_close (cd_88591_to_utf8);
20548 #if 0 /* This bug could be worked around by the caller. */
20549 /* Test against HP-UX 11.11 bug: Positive return value instead of 0. */
20551 iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591");
20552 if (cd_88591_to_utf8 != (iconv_t)(-1))
20554 static const char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337";
20556 const char *inptr = input;
20557 size_t inbytesleft = strlen (input);
20558 char *outptr = buf;
20559 size_t outbytesleft = sizeof (buf);
20560 size_t res = iconv (cd_88591_to_utf8,
20561 (char **) &inptr, &inbytesleft,
20562 &outptr, &outbytesleft);
20565 iconv_close (cd_88591_to_utf8);
20569 /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is
20571 if (/* Try standardized names. */
20572 iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1)
20573 /* Try IRIX, OSF/1 names. */
20574 && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1)
20575 /* Try AIX names. */
20576 && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1)
20577 /* Try HP-UX names. */
20578 && iconv_open ("utf8", "eucJP") == (iconv_t)(-1))
20583 if ac_fn_c_try_run
"$LINENO"; then :
20584 am_cv_func_iconv_works
=yes
20586 am_cv_func_iconv_works
=no
20588 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
20589 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
20592 LIBS
="$am_save_LIBS"
20595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5
20596 $as_echo "$am_cv_func_iconv_works" >&6; }
20597 case "$am_cv_func_iconv_works" in
20598 *no
) am_func_iconv
=no am_cv_lib_iconv
=no
;;
20599 *) am_func_iconv
=yes ;;
20602 am_func_iconv
=no am_cv_lib_iconv
=no
20604 if test "$am_func_iconv" = yes; then
20606 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
20609 if test "$am_cv_lib_iconv" = yes; then
20610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
20611 $as_echo_n "checking how to link with libiconv... " >&6; }
20612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
20613 $as_echo "$LIBICONV" >&6; }
20615 CPPFLAGS
="$am_save_CPPFLAGS"
20622 if test "$am_cv_func_iconv" = yes; then
20623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
20624 $as_echo_n "checking for iconv declaration... " >&6; }
20625 if ${am_cv_proto_iconv+:} false
; then :
20626 $as_echo_n "(cached) " >&6
20629 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20630 /* end confdefs.h. */
20632 #include <stdlib.h>
20638 #if defined(__STDC__) || defined(_MSC_VER) || defined(__cplusplus)
20639 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
20652 if ac_fn_c_try_compile
"$LINENO"; then :
20653 am_cv_proto_iconv_arg1
=""
20655 am_cv_proto_iconv_arg1
="const"
20657 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20658 am_cv_proto_iconv
="extern size_t iconv (iconv_t cd, $am_cv_proto_iconv_arg1 char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);"
20661 am_cv_proto_iconv
=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
20662 { $as_echo "$as_me:${as_lineno-$LINENO}: result:
20663 $am_cv_proto_iconv" >&5
20665 $am_cv_proto_iconv" >&6; }
20667 cat >>confdefs.h
<<_ACEOF
20668 #define ICONV_CONST $am_cv_proto_iconv_arg1
20674 case $am_cv_func_iconv in #(
20678 as_fn_error $?
"missing \"libiconv\"" "$LINENO" 5 ;;
20681 ac_cpp
='$CXXCPP $CPPFLAGS'
20682 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20683 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20684 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20691 if test "x$CY_EXECUTE" = x1
; then :
20693 ac_fn_cxx_check_header_mongrel
"$LINENO" "mach/mach.h" "ac_cv_header_mach_mach_h" "$ac_includes_default"
20694 if test "x$ac_cv_header_mach_mach_h" = xyes
; then :
20696 if test -n "$ac_tool_prefix"; then
20697 for ac_prog
in lipo
20699 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
20700 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
20701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20702 $as_echo_n "checking for $ac_word... " >&6; }
20703 if ${ac_cv_prog__LIPO+:} false
; then :
20704 $as_echo_n "(cached) " >&6
20706 if test -n "$_LIPO"; then
20707 ac_cv_prog__LIPO
="$_LIPO" # Let the user override the test.
20709 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20710 for as_dir
in $PATH
20713 test -z "$as_dir" && as_dir
=.
20714 for ac_exec_ext
in '' $ac_executable_extensions; do
20715 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
20716 ac_cv_prog__LIPO
="$ac_tool_prefix$ac_prog"
20717 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20726 _LIPO
=$ac_cv_prog__LIPO
20727 if test -n "$_LIPO"; then
20728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_LIPO" >&5
20729 $as_echo "$_LIPO" >&6; }
20731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20732 $as_echo "no" >&6; }
20736 test -n "$_LIPO" && break
20739 if test -z "$_LIPO"; then
20741 for ac_prog
in lipo
20743 # Extract the first word of "$ac_prog", so it can be a program name with args.
20744 set dummy
$ac_prog; ac_word
=$2
20745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20746 $as_echo_n "checking for $ac_word... " >&6; }
20747 if ${ac_cv_prog_ac_ct__LIPO+:} false
; then :
20748 $as_echo_n "(cached) " >&6
20750 if test -n "$ac_ct__LIPO"; then
20751 ac_cv_prog_ac_ct__LIPO
="$ac_ct__LIPO" # Let the user override the test.
20753 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20754 for as_dir
in $PATH
20757 test -z "$as_dir" && as_dir
=.
20758 for ac_exec_ext
in '' $ac_executable_extensions; do
20759 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
20760 ac_cv_prog_ac_ct__LIPO
="$ac_prog"
20761 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20770 ac_ct__LIPO
=$ac_cv_prog_ac_ct__LIPO
20771 if test -n "$ac_ct__LIPO"; then
20772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct__LIPO" >&5
20773 $as_echo "$ac_ct__LIPO" >&6; }
20775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20776 $as_echo "no" >&6; }
20780 test -n "$ac_ct__LIPO" && break
20783 if test "x$ac_ct__LIPO" = x
; then
20784 _LIPO
="as_fn_error $? "missing
\"lipo
\"" "$LINENO" 5"
20786 case $cross_compiling:$ac_tool_warned in
20788 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
20789 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
20790 ac_tool_warned
=yes ;;
20796 if test -n "$ac_tool_prefix"; then
20799 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
20800 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
20801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20802 $as_echo_n "checking for $ac_word... " >&6; }
20803 if ${ac_cv_prog__NM+:} false
; then :
20804 $as_echo_n "(cached) " >&6
20806 if test -n "$_NM"; then
20807 ac_cv_prog__NM
="$_NM" # Let the user override the test.
20809 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20810 for as_dir
in $PATH
20813 test -z "$as_dir" && as_dir
=.
20814 for ac_exec_ext
in '' $ac_executable_extensions; do
20815 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
20816 ac_cv_prog__NM
="$ac_tool_prefix$ac_prog"
20817 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20826 _NM
=$ac_cv_prog__NM
20827 if test -n "$_NM"; then
20828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_NM" >&5
20829 $as_echo "$_NM" >&6; }
20831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20832 $as_echo "no" >&6; }
20836 test -n "$_NM" && break
20839 if test -z "$_NM"; then
20843 # Extract the first word of "$ac_prog", so it can be a program name with args.
20844 set dummy
$ac_prog; ac_word
=$2
20845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20846 $as_echo_n "checking for $ac_word... " >&6; }
20847 if ${ac_cv_prog_ac_ct__NM+:} false
; then :
20848 $as_echo_n "(cached) " >&6
20850 if test -n "$ac_ct__NM"; then
20851 ac_cv_prog_ac_ct__NM
="$ac_ct__NM" # Let the user override the test.
20853 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20854 for as_dir
in $PATH
20857 test -z "$as_dir" && as_dir
=.
20858 for ac_exec_ext
in '' $ac_executable_extensions; do
20859 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
20860 ac_cv_prog_ac_ct__NM
="$ac_prog"
20861 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20870 ac_ct__NM
=$ac_cv_prog_ac_ct__NM
20871 if test -n "$ac_ct__NM"; then
20872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct__NM" >&5
20873 $as_echo "$ac_ct__NM" >&6; }
20875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20876 $as_echo "no" >&6; }
20880 test -n "$ac_ct__NM" && break
20883 if test "x$ac_ct__NM" = x
; then
20884 _NM
="as_fn_error $? "missing
\"nm
\"" "$LINENO" 5"
20886 case $cross_compiling:$ac_tool_warned in
20888 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
20889 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
20890 ac_tool_warned
=yes ;;
20896 if test -n "$ac_tool_prefix"; then
20897 for ac_prog
in otool
20899 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
20900 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
20901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20902 $as_echo_n "checking for $ac_word... " >&6; }
20903 if ${ac_cv_prog__OTOOL+:} false
; then :
20904 $as_echo_n "(cached) " >&6
20906 if test -n "$_OTOOL"; then
20907 ac_cv_prog__OTOOL
="$_OTOOL" # Let the user override the test.
20909 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20910 for as_dir
in $PATH
20913 test -z "$as_dir" && as_dir
=.
20914 for ac_exec_ext
in '' $ac_executable_extensions; do
20915 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
20916 ac_cv_prog__OTOOL
="$ac_tool_prefix$ac_prog"
20917 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20926 _OTOOL
=$ac_cv_prog__OTOOL
20927 if test -n "$_OTOOL"; then
20928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_OTOOL" >&5
20929 $as_echo "$_OTOOL" >&6; }
20931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20932 $as_echo "no" >&6; }
20936 test -n "$_OTOOL" && break
20939 if test -z "$_OTOOL"; then
20940 ac_ct__OTOOL
=$_OTOOL
20941 for ac_prog
in otool
20943 # Extract the first word of "$ac_prog", so it can be a program name with args.
20944 set dummy
$ac_prog; ac_word
=$2
20945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20946 $as_echo_n "checking for $ac_word... " >&6; }
20947 if ${ac_cv_prog_ac_ct__OTOOL+:} false
; then :
20948 $as_echo_n "(cached) " >&6
20950 if test -n "$ac_ct__OTOOL"; then
20951 ac_cv_prog_ac_ct__OTOOL
="$ac_ct__OTOOL" # Let the user override the test.
20953 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20954 for as_dir
in $PATH
20957 test -z "$as_dir" && as_dir
=.
20958 for ac_exec_ext
in '' $ac_executable_extensions; do
20959 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
20960 ac_cv_prog_ac_ct__OTOOL
="$ac_prog"
20961 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20970 ac_ct__OTOOL
=$ac_cv_prog_ac_ct__OTOOL
20971 if test -n "$ac_ct__OTOOL"; then
20972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct__OTOOL" >&5
20973 $as_echo "$ac_ct__OTOOL" >&6; }
20975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20976 $as_echo "no" >&6; }
20980 test -n "$ac_ct__OTOOL" && break
20983 if test "x$ac_ct__OTOOL" = x
; then
20984 _OTOOL
="as_fn_error $? "missing
\"otool
\"" "$LINENO" 5"
20986 case $cross_compiling:$ac_tool_warned in
20988 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
20989 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
20990 ac_tool_warned
=yes ;;
20992 _OTOOL
=$ac_ct__OTOOL
20996 CY_ATTACH_GROUP
=procmod
21004 if test "x$CY_MACH" = x1
; then
21013 ac_config_files
="$ac_config_files Makefile"
21015 cat >confcache
<<\_ACEOF
21016 # This file is a shell script that caches the results of configure
21017 # tests run on this system so they can be shared between configure
21018 # scripts and configure runs, see configure's option --config-cache.
21019 # It is not useful on other systems. If it contains results you don't
21020 # want to keep, you may remove or edit it.
21022 # config.status only pays attention to the cache file if you give it
21023 # the --recheck option to rerun configure.
21025 # `ac_cv_env_foo' variables (set or unset) will be overridden when
21026 # loading this file, other *unset* `ac_cv_foo' will be assigned the
21027 # following values.
21031 # The following way of writing the cache mishandles newlines in values,
21032 # but we know of no workaround that is simple, portable, and efficient.
21033 # So, we kill variables containing newlines.
21034 # Ultrix sh set writes to stderr and can't be redirected directly,
21035 # and sets the high bit in the cache file unless we assign to the vars.
21037 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
21038 eval ac_val
=\$
$ac_var
21042 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
21043 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
21046 _
| IFS
| as_nl
) ;; #(
21047 BASH_ARGV
| BASH_SOURCE
) eval $ac_var= ;; #(
21048 *) { eval $ac_var=; unset $ac_var;} ;;
21054 case $as_nl`(ac_space=' '; set) 2>&1` in #(
21055 *${as_nl}ac_space
=\
*)
21056 # `set' does not quote correctly, so add quotes: double-quote
21057 # substitution turns \\\\ into \\, and sed turns \\ into \.
21060 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
21063 # `set' quotes correctly as required by POSIX, so do not add quotes.
21064 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
21073 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
21075 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
21077 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
21078 if test -w "$cache_file"; then
21079 if test "x$cache_file" != "x/dev/null"; then
21080 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
21081 $as_echo "$as_me: updating cache $cache_file" >&6;}
21082 if test ! -f "$cache_file" || test -h "$cache_file"; then
21083 cat confcache
>"$cache_file"
21085 case $cache_file in #(
21087 mv -f confcache
"$cache_file"$$
&&
21088 mv -f "$cache_file"$$
"$cache_file" ;; #(
21090 mv -f confcache
"$cache_file" ;;
21095 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
21096 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
21101 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
21102 # Let make expand exec_prefix.
21103 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
21105 DEFS
=-DHAVE_CONFIG_H
21110 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
21111 # 1. Remove the extension, and $U if already installed.
21112 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
21113 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
21114 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
21115 # will be set to the directory where LIBOBJS objects are built.
21116 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
21117 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
21119 LIBOBJS
=$ac_libobjs
21121 LTLIBOBJS
=$ac_ltlibobjs
21124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
21125 $as_echo_n "checking that generated files are newer than configure... " >&6; }
21126 if test -n "$am_sleep_pid"; then
21127 # Hide warnings about reused PIDs.
21128 wait $am_sleep_pid 2>/dev
/null
21130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
21131 $as_echo "done" >&6; }
21132 if test -n "$EXEEXT"; then
21134 am__EXEEXT_FALSE
='#'
21136 am__EXEEXT_TRUE
='#'
21140 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
21141 as_fn_error $?
"conditional \"AMDEP\" was never defined.
21142 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21144 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
21145 as_fn_error $?
"conditional \"am__fastdepCXX\" was never defined.
21146 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21148 if test -z "${am__fastdepOBJCXX_TRUE}" && test -z "${am__fastdepOBJCXX_FALSE}"; then
21149 as_fn_error $?
"conditional \"am__fastdepOBJCXX\" was never defined.
21150 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21152 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
21153 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
21154 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21156 if test -z "${CY_EXECUTE_TRUE}" && test -z "${CY_EXECUTE_FALSE}"; then
21157 as_fn_error $?
"conditional \"CY_EXECUTE\" was never defined.
21158 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21160 if test -z "${CY_OBJECTIVEC_TRUE}" && test -z "${CY_OBJECTIVEC_FALSE}"; then
21161 as_fn_error $?
"conditional \"CY_OBJECTIVEC\" was never defined.
21162 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21164 if test -z "${CY_MACH_TRUE}" && test -z "${CY_MACH_FALSE}"; then
21165 as_fn_error $?
"conditional \"CY_MACH\" was never defined.
21166 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21169 : "${CONFIG_STATUS=./config.status}"
21171 ac_clean_files_save
=$ac_clean_files
21172 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
21173 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
21174 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
21176 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
21178 # Generated by $as_me.
21179 # Run this file to recreate the current configuration.
21180 # Compiler output produced by configure, useful for debugging
21181 # configure, is in config.log if it exists.
21184 ac_cs_recheck=false
21187 SHELL=\${CONFIG_SHELL-$SHELL}
21190 cat >>$CONFIG_STATUS <<\_ASEOF
|| as_write_fail
=1
21191 ## -------------------- ##
21192 ## M4sh Initialization. ##
21193 ## -------------------- ##
21195 # Be more Bourne compatible
21196 DUALCASE
=1; export DUALCASE
# for MKS sh
21197 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
21200 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21201 # is contrary to our usage. Disable this feature.
21202 alias -g '${1+"$@"}'='"$@"'
21203 setopt NO_GLOB_SUBST
21205 case `(set -o) 2>/dev/null` in #(
21217 # Printing a long string crashes Solaris 7 /usr/bin/printf.
21218 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
21219 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
21220 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
21221 # Prefer a ksh shell builtin over an external printf program on Solaris,
21222 # but without wasting forks for bash or zsh.
21223 if test -z "$BASH_VERSION$ZSH_VERSION" \
21224 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
21225 as_echo='print
-r --'
21226 as_echo_n='print
-rn --'
21227 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
21228 as_echo='printf %s
\n'
21229 as_echo_n='printf %s
'
21231 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
21232 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
21233 as_echo_n='/usr
/ucb
/echo -n'
21235 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
21236 as_echo_n_body='eval
21240 expr "X$arg" : "X\\(.*\\)$as_nl";
21241 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
21243 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
21245 export as_echo_n_body
21246 as_echo_n='sh
-c $as_echo_n_body as_echo
'
21248 export as_echo_body
21249 as_echo='sh
-c $as_echo_body as_echo
'
21252 # The user is always right.
21253 if test "${PATH_SEPARATOR+set}" != set; then
21255 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
21256 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
21263 # We need space, tab and new line, in precisely that order. Quoting is
21264 # there to prevent editors from complaining about space-tab.
21265 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
21266 # splitting by setting IFS to empty value.)
21269 # Find who we are. Look in the path if we contain no directory separator.
21272 *[\\/]* ) as_myself=$0 ;;
21273 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21274 for as_dir in $PATH
21277 test -z "$as_dir" && as_dir=.
21278 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
21284 # We did not find ourselves, most probably we were run as `sh COMMAND'
21285 # in which case we are not to be found in the path.
21286 if test "x$as_myself" = x
; then
21289 if test ! -f "$as_myself"; then
21290 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
21294 # Unset variables that we do not need and which cause bugs (e.g. in
21295 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
21296 # suppresses any "Segmentation fault" message there. '((' could
21297 # trigger a bug in pdksh 5.2.14.
21298 for as_var
in BASH_ENV ENV MAIL MAILPATH
21299 do eval test x\
${$as_var+set} = xset \
21300 && ( (unset $as_var) || exit 1) >/dev
/null
2>&1 && unset $as_var || :
21313 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
21316 # as_fn_error STATUS ERROR [LINENO LOG_FD]
21317 # ----------------------------------------
21318 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
21319 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
21320 # script with STATUS, using 1 if that was 0.
21323 as_status
=$1; test $as_status -eq 0 && as_status
=1
21325 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
21326 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
21328 $as_echo "$as_me: error: $2" >&2
21329 as_fn_exit
$as_status
21333 # as_fn_set_status STATUS
21334 # -----------------------
21335 # Set $? to STATUS, without forking.
21336 as_fn_set_status
()
21339 } # as_fn_set_status
21341 # as_fn_exit STATUS
21342 # -----------------
21343 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
21347 as_fn_set_status
$1
21353 # Portably unset VAR.
21356 { eval $1=; unset $1;}
21358 as_unset
=as_fn_unset
21359 # as_fn_append VAR VALUE
21360 # ----------------------
21361 # Append the text in VALUE to the end of the definition contained in VAR. Take
21362 # advantage of any shell optimizations that allow amortized linear growth over
21363 # repeated appends, instead of the typical quadratic growth present in naive
21365 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
21366 eval 'as_fn_append ()
21377 # as_fn_arith ARG...
21378 # ------------------
21379 # Perform arithmetic evaluation on the ARGs, and store the result in the
21380 # global $as_val. Take advantage of shells that can avoid forks. The arguments
21381 # must be portable across $(()) and expr.
21382 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
21383 eval 'as_fn_arith ()
21390 as_val
=`expr "$@" || test $? -eq 1`
21395 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
21396 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
21402 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
21403 as_basename
=basename
21408 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
21414 as_me
=`$as_basename -- "$0" ||
21415 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
21416 X"$0" : 'X\(//\)$' \| \
21417 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
21419 sed '/^.*\/\([^/][^/]*\)\/*$/{
21433 # Avoid depending upon Character Ranges.
21434 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
21435 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
21436 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
21437 as_cr_digits
='0123456789'
21438 as_cr_alnum
=$as_cr_Letters$as_cr_digits
21440 ECHO_C
= ECHO_N
= ECHO_T
=
21441 case `echo -n x` in #(((((
21443 case `echo 'xy\c'` in
21444 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
21446 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
21453 rm -f conf$$ conf$$.exe conf$$.
file
21454 if test -d conf$$.dir
; then
21455 rm -f conf$$.dir
/conf$$.
file
21458 mkdir conf$$.dir
2>/dev
/null
21460 if (echo >conf$$.
file) 2>/dev
/null
; then
21461 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
21463 # ... but there are two gotchas:
21464 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
21465 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
21466 # In both cases, we have to default to `cp -pR'.
21467 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
21469 elif ln conf$$.
file conf$$
2>/dev
/null
; then
21477 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
21478 rmdir conf$$.dir
2>/dev
/null
21483 # Create "$as_dir" as a directory, including parents if necessary.
21488 -*) as_dir
=.
/$as_dir;;
21490 test -d "$as_dir" || eval $as_mkdir_p || {
21494 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
21495 *) as_qdir
=$as_dir;;
21497 as_dirs
="'$as_qdir' $as_dirs"
21498 as_dir
=`$as_dirname -- "$as_dir" ||
21499 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21500 X"$as_dir" : 'X\(//\)[^/]' \| \
21501 X"$as_dir" : 'X\(//\)$' \| \
21502 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
21503 $as_echo X"$as_dir" |
21504 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21508 /^X\(\/\/\)[^/].*/{
21521 test -d "$as_dir" && break
21523 test -z "$as_dirs" || eval "mkdir $as_dirs"
21524 } || test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
21528 if mkdir -p .
2>/dev
/null
; then
21529 as_mkdir_p
='mkdir -p "$as_dir"'
21531 test -d .
/-p && rmdir .
/-p
21536 # as_fn_executable_p FILE
21537 # -----------------------
21538 # Test if FILE is an executable regular file.
21539 as_fn_executable_p
()
21541 test -f "$1" && test -x "$1"
21542 } # as_fn_executable_p
21543 as_test_x
='test -x'
21544 as_executable_p
=as_fn_executable_p
21546 # Sed expression to map a string onto a valid CPP name.
21547 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
21549 # Sed expression to map a string onto a valid variable name.
21550 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
21554 ## ----------------------------------- ##
21555 ## Main body of $CONFIG_STATUS script. ##
21556 ## ----------------------------------- ##
21558 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
21560 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
21561 # Save the log message, to keep $0 and so on meaningful, and to
21562 # report actual input values of CONFIG_FILES etc. instead of their
21563 # values after options handling.
21565 This file was extended by Cycript $as_me 0.9, which was
21566 generated by GNU Autoconf 2.69. Invocation command line was
21568 CONFIG_FILES = $CONFIG_FILES
21569 CONFIG_HEADERS = $CONFIG_HEADERS
21570 CONFIG_LINKS = $CONFIG_LINKS
21571 CONFIG_COMMANDS = $CONFIG_COMMANDS
21574 on `(hostname || uname -n) 2>/dev/null | sed 1q`
21579 case $ac_config_files in *"
21580 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
21583 case $ac_config_headers in *"
21584 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
21588 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21589 # Files that config.status was made for.
21590 config_files="$ac_config_files"
21591 config_headers="$ac_config_headers"
21592 config_commands="$ac_config_commands"
21596 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
21598 \`$as_me' instantiates files and other configuration actions
21599 from templates according to the current configuration. Unless the files
21600 and actions are specified as TAGs, all are instantiated by default.
21602 Usage: $0 [OPTION]... [TAG]...
21604 -h, --help print this help, then exit
21605 -V, --version print version number and configuration settings, then exit
21606 --config print configuration, then exit
21607 -q, --quiet, --silent
21608 do not print progress messages
21609 -d, --debug don't remove temporary files
21610 --recheck update $as_me by reconfiguring in the same conditions
21611 --file=FILE[:TEMPLATE]
21612 instantiate the configuration file FILE
21613 --header=FILE[:TEMPLATE]
21614 instantiate the configuration header FILE
21616 Configuration files:
21619 Configuration headers:
21622 Configuration commands:
21625 Report bugs to <saurik@saurik.com>.
21626 Cycript home page: <http://www.cycript.org/>."
21629 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21630 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
21632 Cycript config.status 0.9
21633 configured by $0, generated by GNU Autoconf 2.69,
21634 with options \\"\$ac_cs_config\\"
21636 Copyright (C) 2012 Free Software Foundation, Inc.
21637 This config.status script is free software; the Free Software Foundation
21638 gives unlimited permission to copy, distribute and modify it."
21645 test -n "\$AWK" || AWK=awk
21648 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
21649 # The default lists apply if the user does not specify any file.
21655 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
21656 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
21660 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
21672 # Handling of the options.
21673 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
21675 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
21676 $as_echo "$ac_cs_version"; exit ;;
21677 --config | --confi | --conf | --con | --co | --c )
21678 $as_echo "$ac_cs_config"; exit ;;
21679 --debug | --debu | --deb | --de | --d | -d )
21681 --file | --fil | --fi | --f )
21684 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
21685 '') as_fn_error $?
"missing file argument" ;;
21687 as_fn_append CONFIG_FILES
" '$ac_optarg'"
21688 ac_need_defaults
=false
;;
21689 --header | --heade | --head | --hea )
21692 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
21694 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
21695 ac_need_defaults
=false
;;
21697 # Conflict between --help and --header
21698 as_fn_error $?
"ambiguous option: \`$1'
21699 Try \`$0 --help' for more information.";;
21700 --help | --hel | -h )
21701 $as_echo "$ac_cs_usage"; exit ;;
21702 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
21703 | -silent | --silent | --silen | --sile | --sil | --si | --s)
21706 # This is an error.
21707 -*) as_fn_error $?
"unrecognized option: \`$1'
21708 Try \`$0 --help' for more information." ;;
21710 *) as_fn_append ac_config_targets
" $1"
21711 ac_need_defaults
=false
;;
21717 ac_configure_extra_args
=
21719 if $ac_cs_silent; then
21721 ac_configure_extra_args
="$ac_configure_extra_args --silent"
21725 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21726 if \$ac_cs_recheck; then
21727 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
21729 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
21730 CONFIG_SHELL='$SHELL'
21731 export CONFIG_SHELL
21736 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
21740 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
21741 ## Running $as_me. ##
21747 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21751 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
21754 # The HP-UX ksh and POSIX shell print the target directory to stdout
21755 # if CDPATH is set.
21756 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
21758 sed_quote_subst='$sed_quote_subst'
21759 double_quote_subst='$double_quote_subst'
21760 delay_variable_subst='$delay_variable_subst'
21761 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
21762 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
21763 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
21764 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
21765 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
21766 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
21767 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
21768 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
21769 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
21770 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
21771 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
21772 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
21773 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
21774 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
21775 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
21776 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
21777 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
21778 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
21779 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
21780 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
21781 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
21782 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
21783 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
21784 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
21785 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
21786 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
21787 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
21788 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
21789 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
21790 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
21791 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
21792 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
21793 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
21794 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
21795 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
21796 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
21797 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
21798 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
21799 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
21800 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
21801 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
21802 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
21803 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
21804 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
21805 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
21806 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
21807 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
21808 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
21809 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
21810 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
21811 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
21812 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
21813 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
21814 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
21815 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
21816 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
21817 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"`'
21818 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
21819 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
21820 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
21821 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
21822 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
21823 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
21824 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
21825 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
21826 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
21827 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
21828 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
21829 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
21830 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
21831 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
21832 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
21833 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
21834 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
21835 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
21836 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
21837 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
21838 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
21839 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
21840 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
21841 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
21842 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
21843 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
21844 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
21845 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
21846 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
21847 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
21848 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
21849 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
21850 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
21851 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
21852 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
21853 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
21854 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
21855 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
21856 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
21857 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
21858 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
21859 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
21860 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
21861 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
21862 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
21863 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
21864 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
21865 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
21866 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
21867 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
21868 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
21869 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
21870 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
21871 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
21872 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
21873 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
21874 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
21875 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
21876 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
21877 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
21878 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
21879 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
21880 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
21881 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
21882 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
21883 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
21884 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
21885 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
21886 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
21887 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
21888 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
21889 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
21890 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
21891 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
21892 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
21893 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
21894 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
21895 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
21896 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
21897 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
21898 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
21899 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21900 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21901 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
21902 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
21903 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
21904 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
21905 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
21906 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
21907 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
21908 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
21909 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
21910 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
21911 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
21912 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
21913 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21914 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21915 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21916 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21917 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21918 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21919 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
21920 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
21921 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
21922 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
21923 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
21924 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
21925 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
21926 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
21927 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
21928 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
21929 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
21930 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
21931 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
21932 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21933 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
21934 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
21935 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21936 postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21937 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
21938 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
21939 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
21940 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
21941 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
21942 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
21943 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
21944 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
21947 LTCFLAGS='$LTCFLAGS'
21948 compiler='$compiler_DEFAULT'
21950 # A function that is used when there is no print builtin or printf.
21951 func_fallback_echo ()
21953 eval 'cat <<_LTECHO_EOF
21958 # Quote evaled strings.
21973 deplibs_check_method \
21978 sharedlib_from_linklib_cmd \
21981 archiver_list_spec \
21987 lt_cv_sys_global_symbol_pipe \
21988 lt_cv_sys_global_symbol_to_cdecl \
21989 lt_cv_sys_global_symbol_to_c_name_address \
21990 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
21991 nm_file_list_spec \
21992 lt_prog_compiler_no_builtin_flag \
21993 lt_prog_compiler_pic \
21994 lt_prog_compiler_wl \
21995 lt_prog_compiler_static \
21996 lt_cv_prog_compiler_c_o \
22005 export_dynamic_flag_spec \
22006 whole_archive_flag_spec \
22007 compiler_needs_object \
22009 allow_undefined_flag \
22010 no_undefined_flag \
22011 hardcode_libdir_flag_spec \
22012 hardcode_libdir_separator \
22016 variables_saved_for_relink \
22018 library_names_spec \
22020 install_override_mode \
22024 compiler_lib_search_dirs \
22029 compiler_lib_search_path \
22033 lt_prog_compiler_no_builtin_flag_CXX \
22034 lt_prog_compiler_pic_CXX \
22035 lt_prog_compiler_wl_CXX \
22036 lt_prog_compiler_static_CXX \
22037 lt_cv_prog_compiler_c_o_CXX \
22038 export_dynamic_flag_spec_CXX \
22039 whole_archive_flag_spec_CXX \
22040 compiler_needs_object_CXX \
22042 allow_undefined_flag_CXX \
22043 no_undefined_flag_CXX \
22044 hardcode_libdir_flag_spec_CXX \
22045 hardcode_libdir_separator_CXX \
22046 exclude_expsyms_CXX \
22047 include_expsyms_CXX \
22048 file_list_spec_CXX \
22049 compiler_lib_search_dirs_CXX \
22050 predep_objects_CXX \
22051 postdep_objects_CXX \
22054 compiler_lib_search_path_CXX; do
22055 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
22056 *[\\\\\\\`\\"\\\$]*)
22057 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
22060 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
22065 # Double-quote double-evaled strings.
22066 for var in reload_cmds \
22067 old_postinstall_cmds \
22068 old_postuninstall_cmds \
22070 extract_expsyms_cmds \
22071 old_archive_from_new_cmds \
22072 old_archive_from_expsyms_cmds \
22074 archive_expsym_cmds \
22076 module_expsym_cmds \
22077 export_symbols_cmds \
22081 postuninstall_cmds \
22083 sys_lib_search_path_spec \
22084 sys_lib_dlsearch_path_spec \
22086 old_archive_cmds_CXX \
22087 old_archive_from_new_cmds_CXX \
22088 old_archive_from_expsyms_cmds_CXX \
22090 archive_expsym_cmds_CXX \
22092 module_expsym_cmds_CXX \
22093 export_symbols_cmds_CXX \
22095 postlink_cmds_CXX; do
22096 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
22097 *[\\\\\\\`\\"\\\$]*)
22098 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
22101 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
22106 ac_aux_dir='$ac_aux_dir'
22107 xsi_shell='$xsi_shell'
22108 lt_shell_append='$lt_shell_append'
22110 # See if we are running on zsh, and set the options which allow our
22111 # commands through without removal of \ escapes INIT.
22112 if test -n "\${ZSH_VERSION+set}" ; then
22113 setopt NO_GLOB_SUBST
22119 TIMESTAMP='$TIMESTAMP'
22130 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
22132 # Handling of arguments.
22133 for ac_config_target
in $ac_config_targets
22135 case $ac_config_target in
22136 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
22137 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
22138 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
22139 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
22141 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
22146 # If the user did not use the arguments to specify the items to instantiate,
22147 # then the envvar interface is used. Set only those that are not.
22148 # We use the long form for the default assignment because of an extremely
22149 # bizarre bug on SunOS 4.1.3.
22150 if $ac_need_defaults; then
22151 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
22152 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
22153 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
22156 # Have a temporary directory for convenience. Make it in the build tree
22157 # simply because there is no reason against having it here, and in addition,
22158 # creating and moving files from /tmp can sometimes cause problems.
22159 # Hook for its removal unless debugging.
22160 # Note that there is a small window in which the directory will not be cleaned:
22161 # after its creation but before its name has been assigned to `$tmp'.
22165 trap 'exit_status=$?
22166 : "${ac_tmp:=$tmp}"
22167 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
22169 trap 'as_fn_exit 1' 1 2 13 15
22171 # Create a (secure) tmp directory for tmp files.
22174 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
22178 tmp
=.
/conf$$
-$RANDOM
22179 (umask 077 && mkdir "$tmp")
22180 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
22183 # Set up the scripts for CONFIG_FILES section.
22184 # No need to generate them if there are no CONFIG_FILES.
22185 # This happens for instance with `./config.status config.h'.
22186 if test -n "$CONFIG_FILES"; then
22189 ac_cr
=`echo X | tr X '\015'`
22190 # On cygwin, bash can eat \r inside `` if the user requested igncr.
22191 # But we know of no other shell where ac_cr would be empty at this
22192 # point, so we can use a bashism as a fallback.
22193 if test "x$ac_cr" = x
; then
22194 eval ac_cr
=\$
\'\\r
\'
22196 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
22197 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
22200 ac_cs_awk_cr
=$ac_cr
22203 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
22208 echo "cat >conf$$subs.awk <<_ACEOF" &&
22209 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
22211 } >conf$$subs.sh ||
22212 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
22213 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
22215 for ac_last_try in false false false false false :; do
22216 . ./conf$$subs.sh ||
22217 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
22219 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
22220 if test $ac_delim_n = $ac_delim_num; then
22222 elif $ac_last_try; then
22223 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
22225 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
22228 rm -f conf$$subs.sh
22230 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22231 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
22235 s/^/S["/; s
/!.
*/"]=/
22245 s/\(.\{148\}\)..*/\1/
22247 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
22252 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
22259 s/\(.\{148\}\)..*/\1/
22261 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
22265 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
22270 ' <conf$$subs.awk | sed '
22275 ' >>$CONFIG_STATUS || ac_write_fail=1
22276 rm -f conf$$subs.awk
22277 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22279 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
22280 for (key in S) S_is_set[key] = 1
22286 nfields = split(line, field, "@
")
22288 len = length(field[1])
22289 for (i = 2; i < nfields; i++) {
22291 keylen = length(key)
22292 if (S_is_set[key]) {
22294 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
22295 len += length(value) + length(field[++i])
22306 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22307 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
22308 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
22311 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
22312 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
22315 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
22316 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
22317 # trailing colons and then remove the whole line if VPATH becomes empty
22318 # (actually we leave an empty line to preserve line numbers).
22319 if test "x
$srcdir" = x.; then
22320 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
22338 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22339 fi # test -n "$CONFIG_FILES"
22341 # Set up the scripts for CONFIG_HEADERS section.
22342 # No need to generate them if there are no CONFIG_HEADERS.
22343 # This happens for instance with `./config.status Makefile'.
22344 if test -n "$CONFIG_HEADERS"; then
22345 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
22349 # Transform confdefs.h into an awk script `defines.awk', embedded as
22350 # here-document in config.status, that substitutes the proper values into
22351 # config.h.in to produce config.h.
22353 # Create a delimiter string that does not exist in confdefs.h, to ease
22354 # handling of long lines.
22356 for ac_last_try in false false :; do
22357 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
22358 if test -z "$ac_tt"; then
22360 elif $ac_last_try; then
22361 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
22363 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
22367 # For the awk script, D is an array of macro values keyed by name,
22368 # likewise P contains macro parameters if any. Preserve backslash
22369 # newline sequences.
22371 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
22373 s/.\{148\}/&'"$ac_delim"'/g
22376 s/^[ ]*#[ ]*define[ ][ ]*/ /
22383 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
22385 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
22389 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
22390 D["\
1"]=" \
3\\\\\\n
"\\/p
22392 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
22397 s/.\{148\}/&'"$ac_delim"'/g
22402 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
22405 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
22407 ' <confdefs.h | sed '
22408 s/'"$ac_delim"'/"\\\
22409 "/g' >>$CONFIG_STATUS || ac_write_fail=1
22411 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22412 for (key in D) D_is_set[key] = 1
22415 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
22417 split(line, arg, " ")
22418 if (arg[1] == "#") {
22422 defundef
= substr
(arg
[1], 2)
22425 split(mac1
, mac2
, "(") #)
22427 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
22428 if (D_is_set
[macro
]) {
22429 # Preserve the white space surrounding the "#".
22430 print prefix
"define", macro P
[macro
] D
[macro
]
22433 # Replace #undef with comments. This is necessary, for example,
22434 # in the case of _POSIX_SOURCE, which is predefined and required
22435 # on some systems where configure will not decide to define it.
22436 if (defundef
== "undef") {
22437 print
"/*", prefix defundef
, macro
, "*/"
22445 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
22446 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
22447 fi # test -n "$CONFIG_HEADERS"
22450 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
22455 :[FHLC
]) ac_mode
=$ac_tag; continue;;
22457 case $ac_mode$ac_tag in
22459 :L
* | :C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
22460 :[FH
]-) ac_tag
=-:-;;
22461 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
22478 -) ac_f
="$ac_tmp/stdin";;
22479 *) # Look for the file first in the build tree, then in the source tree
22480 # (if the path is not absolute). The absolute path cannot be DOS-style,
22481 # because $ac_f cannot contain `:'.
22485 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
22487 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
22489 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
22490 as_fn_append ac_file_inputs
" '$ac_f'"
22493 # Let's still pretend it is `configure' which instantiates (i.e., don't
22494 # use $as_me), people would be surprised to read:
22495 # /* config.h. Generated by config.status. */
22496 configure_input
='Generated from '`
22497 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
22499 if test x
"$ac_file" != x
-; then
22500 configure_input
="$ac_file. $configure_input"
22501 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
22502 $as_echo "$as_me: creating $ac_file" >&6;}
22504 # Neutralize special characters interpreted by sed in replacement strings.
22505 case $configure_input in #(
22506 *\
&* | *\
|* | *\\* )
22507 ac_sed_conf_input
=`$as_echo "$configure_input" |
22508 sed 's/[\\\\&|]/\\\\&/g'`;; #(
22509 *) ac_sed_conf_input
=$configure_input;;
22513 *:-:* | *:-) cat >"$ac_tmp/stdin" \
22514 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
22519 ac_dir
=`$as_dirname -- "$ac_file" ||
22520 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22521 X"$ac_file" : 'X\(//\)[^/]' \| \
22522 X"$ac_file" : 'X\(//\)$' \| \
22523 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
22524 $as_echo X"$ac_file" |
22525 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22529 /^X\(\/\/\)[^/].*/{
22542 as_dir
="$ac_dir"; as_fn_mkdir_p
22546 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
22548 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
22549 # A ".." for each directory in $ac_dir_suffix.
22550 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
22551 case $ac_top_builddir_sub in
22552 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
22553 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
22556 ac_abs_top_builddir
=$ac_pwd
22557 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
22558 # for backward compatibility:
22559 ac_top_builddir
=$ac_top_build_prefix
22562 .
) # We are building in place.
22564 ac_top_srcdir
=$ac_top_builddir_sub
22565 ac_abs_top_srcdir
=$ac_pwd ;;
22566 [\\/]* | ?
:[\\/]* ) # Absolute name.
22567 ac_srcdir
=$srcdir$ac_dir_suffix;
22568 ac_top_srcdir
=$srcdir
22569 ac_abs_top_srcdir
=$srcdir ;;
22570 *) # Relative name.
22571 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
22572 ac_top_srcdir
=$ac_top_build_prefix$srcdir
22573 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
22575 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
22585 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
22586 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
22588 ac_MKDIR_P
=$MKDIR_P
22590 [\\/$
]* | ?
:[\\/]* ) ;;
22591 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
22595 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
22596 # If the template does not know about datarootdir, expand it.
22597 # FIXME: This hack should be removed a few years after 2.60.
22598 ac_datarootdir_hack
=; ac_datarootdir_seen
=
22609 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
22610 *datarootdir
*) ac_datarootdir_seen
=yes;;
22611 *@datadir@
*|*@docdir@
*|*@infodir@
*|*@localedir@
*|*@mandir@
*)
22612 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
22613 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
22615 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22616 ac_datarootdir_hack='
22617 s&@datadir@&$datadir&g
22618 s&@docdir@&$docdir&g
22619 s&@infodir@&$infodir&g
22620 s&@localedir@&$localedir&g
22621 s&@mandir@&$mandir&g
22622 s&\\\${datarootdir}&$datarootdir&g' ;;
22626 # Neutralize VPATH when `$srcdir' = `.'.
22627 # Shell code in configure.ac might set extrasub.
22628 # FIXME: do we really want to maintain this feature?
22629 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22630 ac_sed_extra="$ac_vpsub
22633 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
22635 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
22636 s
|@configure_input@
|$ac_sed_conf_input|;t t
22637 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
22638 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
22639 s
&@srcdir@
&$ac_srcdir&;t t
22640 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
22641 s
&@top_srcdir@
&$ac_top_srcdir&;t t
22642 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
22643 s
&@builddir@
&$ac_builddir&;t t
22644 s
&@abs_builddir@
&$ac_abs_builddir&;t t
22645 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
22646 s
&@INSTALL@
&$ac_INSTALL&;t t
22647 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
22648 $ac_datarootdir_hack
22650 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
22651 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
22653 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
22654 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
22655 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
22656 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
22657 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
22658 which seems to be undefined. Please make sure it is defined" >&5
22659 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
22660 which seems to be undefined. Please make sure it is defined" >&2;}
22662 rm -f "$ac_tmp/stdin"
22664 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
22665 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
22667 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22673 if test x"$ac_file" != x-; then
22675 $as_echo "/* $configure_input */" \
22676 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
22677 } >"$ac_tmp/config.h" \
22678 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22679 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
22680 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
22681 $as_echo "$as_me: $ac_file is unchanged" >&6;}
22684 mv "$ac_tmp/config.h" "$ac_file" \
22685 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22688 $as_echo "/* $configure_input */" \
22689 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
22690 || as_fn_error $? "could not create -" "$LINENO" 5
22692 # Compute "$ac_file"'s index
in $config_headers.
22695 for _am_header
in $config_headers :; do
22696 case $_am_header in
22697 $_am_arg | $_am_arg:* )
22700 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
22703 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
22704 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22705 X"$_am_arg" : 'X\(//\)[^/]' \| \
22706 X"$_am_arg" : 'X\(//\)$' \| \
22707 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
22708 $as_echo X"$_am_arg" |
22709 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22713 /^X\(\/\/\)[^/].*/{
22725 s/.*/./; q'`/stamp
-h$_am_stamp_count
22728 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
22729 $as_echo "$as_me: executing $ac_file commands" >&6;}
22734 case $ac_file$ac_mode in
22735 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" || {
22736 # Older Autoconf quotes --file arguments for eval, but not when files
22737 # are listed without --file. Let's play safe and only enable the eval
22738 # if we detect the quoting.
22739 case $CONFIG_FILES in
22740 *\'*) eval set x
"$CONFIG_FILES" ;;
22741 *) set x
$CONFIG_FILES ;;
22746 # Strip MF so we end up with the name of the file.
22747 mf
=`echo "$mf" | sed -e 's/:.*$//'`
22748 # Check whether this is an Automake generated Makefile or not.
22749 # We used to match only the files named 'Makefile.in', but
22750 # some people rename them; so instead we look at the file content.
22751 # Grep'ing the first line is not enough: some people post-process
22752 # each Makefile.in and add a new line on top of each file to say so.
22753 # Grep'ing the whole file is not good either: AIX grep has a line
22754 # limit of 2048, but all sed's we know have understand at least 4000.
22755 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X
>/dev
/null
2>&1; then
22756 dirpart
=`$as_dirname -- "$mf" ||
22757 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22758 X"$mf" : 'X\(//\)[^/]' \| \
22759 X"$mf" : 'X\(//\)$' \| \
22760 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
22762 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22766 /^X\(\/\/\)[^/].*/{
22782 # Extract the definition of DEPDIR, am__include, and am__quote
22783 # from the Makefile without running 'make'.
22784 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
22785 test -z "$DEPDIR" && continue
22786 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
22787 test -z "am__include" && continue
22788 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
22789 # Find all dependency output files, they are included files with
22790 # $(DEPDIR) in their names. We invoke sed twice because it is the
22791 # simplest approach to changing $(DEPDIR) to its actual value in the
22793 for file in `sed -n "
22794 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
22795 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
22796 # Make sure the directory exists.
22797 test -f "$dirpart/$file" && continue
22798 fdir
=`$as_dirname -- "$file" ||
22799 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22800 X"$file" : 'X\(//\)[^/]' \| \
22801 X"$file" : 'X\(//\)$' \| \
22802 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
22803 $as_echo X"$file" |
22804 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22808 /^X\(\/\/\)[^/].*/{
22821 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
22822 # echo "creating $dirpart/$file"
22823 echo '# dummy' > "$dirpart/$file"
22830 # See if we are running on zsh, and set the options which allow our
22831 # commands through without removal of \ escapes.
22832 if test -n "${ZSH_VERSION+set}" ; then
22833 setopt NO_GLOB_SUBST
22836 cfgfile
="${ofile}T"
22837 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
22840 cat <<_LT_EOF >> "$cfgfile"
22843 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
22844 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
22845 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
22846 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
22848 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
22849 # 2006, 2007, 2008, 2009, 2010, 2011 Free Software
22851 # Written by Gordon Matzigkeit, 1996
22853 # This file is part of GNU Libtool.
22855 # GNU Libtool is free software; you can redistribute it and/or
22856 # modify it under the terms of the GNU General Public License as
22857 # published by the Free Software Foundation; either version 2 of
22858 # the License, or (at your option) any later version.
22860 # As a special exception to the GNU General Public License,
22861 # if you distribute this file as part of a program or library that
22862 # is built using GNU Libtool, you may include this file under the
22863 # same distribution terms that you use for the rest of that program.
22865 # GNU Libtool is distributed in the hope that it will be useful,
22866 # but WITHOUT ANY WARRANTY; without even the implied warranty of
22867 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22868 # GNU General Public License for more details.
22870 # You should have received a copy of the GNU General Public License
22871 # along with GNU Libtool; see the file COPYING. If not, a copy
22872 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
22873 # obtained by writing to the Free Software Foundation, Inc.,
22874 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
22877 # The names of the tagged configurations supported by this script.
22878 available_tags="CXX "
22880 # ### BEGIN LIBTOOL CONFIG
22882 # Which release of libtool.m4 was used?
22883 macro_version=$macro_version
22884 macro_revision=$macro_revision
22886 # Whether or not to build static libraries.
22887 build_old_libs=$enable_static
22889 # Whether or not to build shared libraries.
22890 build_libtool_libs=$enable_shared
22892 # What type of objects to build.
22895 # Whether or not to optimize for fast installation.
22896 fast_install=$enable_fast_install
22898 # Shell to use when invoking shell scripts.
22901 # An echo program that protects backslashes.
22904 # The PATH separator for the build system.
22905 PATH_SEPARATOR=$lt_PATH_SEPARATOR
22908 host_alias=$host_alias
22912 # The build system.
22913 build_alias=$build_alias
22917 # A sed program that does not truncate output.
22920 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
22921 Xsed="\$SED -e 1s/^X//"
22923 # A grep program that handles long lines.
22929 # A literal string matcher.
22932 # A BSD- or MS-compatible name lister.
22935 # Whether we need soft or hard links.
22938 # What is the maximum length of a command?
22939 max_cmd_len=$max_cmd_len
22941 # Object file suffix (normally "o").
22944 # Executable file suffix (normally "").
22947 # whether the shell understands "unset".
22950 # turn spaces into newlines.
22953 # turn newlines into spaces.
22956 # convert \$build file names to \$host format.
22957 to_host_file_cmd=$lt_cv_to_host_file_cmd
22959 # convert \$build files to toolchain format.
22960 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
22962 # An object symbol dumper.
22963 OBJDUMP=$lt_OBJDUMP
22965 # Method to check whether dependent libraries are shared objects.
22966 deplibs_check_method=$lt_deplibs_check_method
22968 # Command to use when deplibs_check_method = "file_magic".
22969 file_magic_cmd=$lt_file_magic_cmd
22971 # How to find potential files when deplibs_check_method = "file_magic".
22972 file_magic_glob=$lt_file_magic_glob
22974 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
22975 want_nocaseglob=$lt_want_nocaseglob
22977 # DLL creation program.
22978 DLLTOOL=$lt_DLLTOOL
22980 # Command to associate shared and link libraries.
22981 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
22986 # Flags to create an archive.
22987 AR_FLAGS=$lt_AR_FLAGS
22989 # How to feed a file listing to the archiver.
22990 archiver_list_spec=$lt_archiver_list_spec
22992 # A symbol stripping program.
22995 # Commands used to install an old-style archive.
22997 old_postinstall_cmds=$lt_old_postinstall_cmds
22998 old_postuninstall_cmds=$lt_old_postuninstall_cmds
23000 # Whether to use a lock for old archive extraction.
23001 lock_old_archive_extraction=$lock_old_archive_extraction
23006 # LTCC compiler flags.
23007 LTCFLAGS=$lt_CFLAGS
23009 # Take the output of nm and produce a listing of raw symbols and C names.
23010 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
23012 # Transform the output of nm in a proper C declaration.
23013 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
23015 # Transform the output of nm in a C name address pair.
23016 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
23018 # Transform the output of nm in a C name address pair when lib prefix is needed.
23019 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
23021 # Specify filename containing input files for \$NM.
23022 nm_file_list_spec=$lt_nm_file_list_spec
23024 # The root where to search for dependent libraries,and in which our libraries should be installed.
23025 lt_sysroot=$lt_sysroot
23027 # The name of the directory that contains temporary libtool files.
23030 # Used to examine libraries when file_magic_cmd begins with "file".
23031 MAGIC_CMD=$MAGIC_CMD
23033 # Must we lock files when doing compilation?
23034 need_locks=$lt_need_locks
23037 MANIFEST_TOOL=$lt_MANIFEST_TOOL
23039 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
23040 DSYMUTIL=$lt_DSYMUTIL
23042 # Tool to change global to local symbols on Mac OS X.
23045 # Tool to manipulate fat objects and archives on Mac OS X.
23048 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
23051 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
23052 OTOOL64=$lt_OTOOL64
23054 # Old archive suffix (normally "a").
23057 # Shared library suffix (normally ".so").
23058 shrext_cmds=$lt_shrext_cmds
23060 # The commands to extract the exported symbol list from a shared archive.
23061 extract_expsyms_cmds=$lt_extract_expsyms_cmds
23063 # Variables whose values should be saved in libtool wrapper scripts and
23064 # restored at link time.
23065 variables_saved_for_relink=$lt_variables_saved_for_relink
23067 # Do we need the "lib" prefix for modules?
23068 need_lib_prefix=$need_lib_prefix
23070 # Do we need a version for libraries?
23071 need_version=$need_version
23073 # Library versioning type.
23074 version_type=$version_type
23076 # Shared library runtime path variable.
23077 runpath_var=$runpath_var
23079 # Shared library path variable.
23080 shlibpath_var=$shlibpath_var
23082 # Is shlibpath searched before the hard-coded library search path?
23083 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
23085 # Format of library name prefix.
23086 libname_spec=$lt_libname_spec
23088 # List of archive names. First name is the real one, the rest are links.
23089 # The last name is the one that the linker finds with -lNAME
23090 library_names_spec=$lt_library_names_spec
23092 # The coded name of the library, if different from the real name.
23093 soname_spec=$lt_soname_spec
23095 # Permission mode override for installation of shared libraries.
23096 install_override_mode=$lt_install_override_mode
23098 # Command to use after installation of a shared archive.
23099 postinstall_cmds=$lt_postinstall_cmds
23101 # Command to use after uninstallation of a shared archive.
23102 postuninstall_cmds=$lt_postuninstall_cmds
23104 # Commands used to finish a libtool library installation in a directory.
23105 finish_cmds=$lt_finish_cmds
23107 # As "finish_cmds", except a single script fragment to be evaled but
23109 finish_eval=$lt_finish_eval
23111 # Whether we should hardcode library paths into libraries.
23112 hardcode_into_libs=$hardcode_into_libs
23114 # Compile-time system search path for libraries.
23115 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
23117 # Run-time system search path for libraries.
23118 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
23120 # Whether dlopen is supported.
23121 dlopen_support=$enable_dlopen
23123 # Whether dlopen of programs is supported.
23124 dlopen_self=$enable_dlopen_self
23126 # Whether dlopen of statically linked programs is supported.
23127 dlopen_self_static=$enable_dlopen_self_static
23129 # Commands to strip libraries.
23130 old_striplib=$lt_old_striplib
23131 striplib=$lt_striplib
23134 # The linker used to build libraries.
23137 # How to create reloadable object files.
23138 reload_flag=$lt_reload_flag
23139 reload_cmds=$lt_reload_cmds
23141 # Commands used to build an old-style archive.
23142 old_archive_cmds=$lt_old_archive_cmds
23144 # A language specific compiler.
23147 # Is the compiler the GNU compiler?
23150 # Compiler flag to turn off builtin functions.
23151 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
23153 # Additional compiler flags for building library objects.
23154 pic_flag=$lt_lt_prog_compiler_pic
23156 # How to pass a linker flag through the compiler.
23157 wl=$lt_lt_prog_compiler_wl
23159 # Compiler flag to prevent dynamic linking.
23160 link_static_flag=$lt_lt_prog_compiler_static
23162 # Does compiler simultaneously support -c and -o options?
23163 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
23165 # Whether or not to add -lc for building shared libraries.
23166 build_libtool_need_lc=$archive_cmds_need_lc
23168 # Whether or not to disallow shared libs when runtime libs are static.
23169 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
23171 # Compiler flag to allow reflexive dlopens.
23172 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
23174 # Compiler flag to generate shared objects directly from archives.
23175 whole_archive_flag_spec=$lt_whole_archive_flag_spec
23177 # Whether the compiler copes with passing no objects directly.
23178 compiler_needs_object=$lt_compiler_needs_object
23180 # Create an old-style archive from a shared archive.
23181 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
23183 # Create a temporary old-style archive to link instead of a shared archive.
23184 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
23186 # Commands used to build a shared archive.
23187 archive_cmds=$lt_archive_cmds
23188 archive_expsym_cmds=$lt_archive_expsym_cmds
23190 # Commands used to build a loadable module if different from building
23191 # a shared archive.
23192 module_cmds=$lt_module_cmds
23193 module_expsym_cmds=$lt_module_expsym_cmds
23195 # Whether we are building with GNU ld or not.
23196 with_gnu_ld=$lt_with_gnu_ld
23198 # Flag that allows shared libraries with undefined symbols to be built.
23199 allow_undefined_flag=$lt_allow_undefined_flag
23201 # Flag that enforces no undefined symbols.
23202 no_undefined_flag=$lt_no_undefined_flag
23204 # Flag to hardcode \$libdir into a binary during linking.
23205 # This must work even if \$libdir does not exist
23206 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
23208 # Whether we need a single "-rpath" flag with a separated argument.
23209 hardcode_libdir_separator=$lt_hardcode_libdir_separator
23211 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
23212 # DIR into the resulting binary.
23213 hardcode_direct=$hardcode_direct
23215 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
23216 # DIR into the resulting binary and the resulting library dependency is
23217 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
23218 # library is relocated.
23219 hardcode_direct_absolute=$hardcode_direct_absolute
23221 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
23222 # into the resulting binary.
23223 hardcode_minus_L=$hardcode_minus_L
23225 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
23226 # into the resulting binary.
23227 hardcode_shlibpath_var=$hardcode_shlibpath_var
23229 # Set to "yes" if building a shared library automatically hardcodes DIR
23230 # into the library and all subsequent libraries and executables linked
23232 hardcode_automatic=$hardcode_automatic
23234 # Set to yes if linker adds runtime paths of dependent libraries
23235 # to runtime path list.
23236 inherit_rpath=$inherit_rpath
23238 # Whether libtool must link a program against all its dependency libraries.
23239 link_all_deplibs=$link_all_deplibs
23241 # Set to "yes" if exported symbols are required.
23242 always_export_symbols=$always_export_symbols
23244 # The commands to list exported symbols.
23245 export_symbols_cmds=$lt_export_symbols_cmds
23247 # Symbols that should not be listed in the preloaded symbols.
23248 exclude_expsyms=$lt_exclude_expsyms
23250 # Symbols that must always be exported.
23251 include_expsyms=$lt_include_expsyms
23253 # Commands necessary for linking programs (against libraries) with templates.
23254 prelink_cmds=$lt_prelink_cmds
23256 # Commands necessary for finishing linking programs.
23257 postlink_cmds=$lt_postlink_cmds
23259 # Specify filename containing input files.
23260 file_list_spec=$lt_file_list_spec
23262 # How to hardcode a shared library path into an executable.
23263 hardcode_action=$hardcode_action
23265 # The directories searched by this compiler when creating a shared library.
23266 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
23268 # Dependencies to place before and after the objects being linked to
23269 # create a shared library.
23270 predep_objects=$lt_predep_objects
23271 postdep_objects=$lt_postdep_objects
23272 predeps=$lt_predeps
23273 postdeps=$lt_postdeps
23275 # The library search path used internally by the compiler when linking
23276 # a shared library.
23277 compiler_lib_search_path=$lt_compiler_lib_search_path
23279 # ### END LIBTOOL CONFIG
23285 cat <<\_LT_EOF
>> "$cfgfile"
23286 # AIX sometimes has problems with the GCC collect2 program. For some
23287 # reason, if we set the COLLECT_NAMES environment variable, the problems
23288 # vanish in a puff of smoke.
23289 if test "X${COLLECT_NAMES+set}" != Xset
; then
23291 export COLLECT_NAMES
23298 ltmain
="$ac_aux_dir/ltmain.sh"
23301 # We use sed instead of cat because bash on DJGPP gets confused if
23302 # if finds mixed CR/LF and LF-only lines. Since sed operates in
23303 # text mode, it properly converts lines to CR/LF. This bash problem
23304 # is reportedly fixed, but why not run on old versions too?
23305 sed '$q' "$ltmain" >> "$cfgfile" \
23306 || (rm -f "$cfgfile"; exit 1)
23308 if test x
"$xsi_shell" = xyes
; then
23309 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
23313 \ */*) func_dirname_result="${1%/*}${2}" ;;\
23314 \ * ) func_dirname_result="${3}" ;;\
23316 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
23317 && mv -f "$cfgfile.tmp" "$cfgfile" \
23318 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
23319 test 0 -eq $?
|| _lt_function_replace_fail
=:
23322 sed -e '/^func_basename ()$/,/^} # func_basename /c\
23325 \ func_basename_result="${1##*/}"\
23326 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
23327 && mv -f "$cfgfile.tmp" "$cfgfile" \
23328 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
23329 test 0 -eq $?
|| _lt_function_replace_fail
=:
23332 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
23333 func_dirname_and_basename ()\
23336 \ */*) func_dirname_result="${1%/*}${2}" ;;\
23337 \ * ) func_dirname_result="${3}" ;;\
23339 \ func_basename_result="${1##*/}"\
23340 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
23341 && mv -f "$cfgfile.tmp" "$cfgfile" \
23342 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
23343 test 0 -eq $?
|| _lt_function_replace_fail
=:
23346 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
23349 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
23350 \ # positional parameters, so assign one to ordinary parameter first.\
23351 \ func_stripname_result=${3}\
23352 \ func_stripname_result=${func_stripname_result#"${1}"}\
23353 \ func_stripname_result=${func_stripname_result%"${2}"}\
23354 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
23355 && mv -f "$cfgfile.tmp" "$cfgfile" \
23356 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
23357 test 0 -eq $?
|| _lt_function_replace_fail
=:
23360 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
23361 func_split_long_opt ()\
23363 \ func_split_long_opt_name=${1%%=*}\
23364 \ func_split_long_opt_arg=${1#*=}\
23365 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
23366 && mv -f "$cfgfile.tmp" "$cfgfile" \
23367 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
23368 test 0 -eq $?
|| _lt_function_replace_fail
=:
23371 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
23372 func_split_short_opt ()\
23374 \ func_split_short_opt_arg=${1#??}\
23375 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
23376 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
23377 && mv -f "$cfgfile.tmp" "$cfgfile" \
23378 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
23379 test 0 -eq $?
|| _lt_function_replace_fail
=:
23382 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
23386 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
23387 \ *) func_lo2o_result=${1} ;;\
23389 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
23390 && mv -f "$cfgfile.tmp" "$cfgfile" \
23391 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
23392 test 0 -eq $?
|| _lt_function_replace_fail
=:
23395 sed -e '/^func_xform ()$/,/^} # func_xform /c\
23398 func_xform_result=${1%.*}.lo\
23399 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
23400 && mv -f "$cfgfile.tmp" "$cfgfile" \
23401 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
23402 test 0 -eq $?
|| _lt_function_replace_fail
=:
23405 sed -e '/^func_arith ()$/,/^} # func_arith /c\
23408 func_arith_result=$(( $* ))\
23409 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
23410 && mv -f "$cfgfile.tmp" "$cfgfile" \
23411 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
23412 test 0 -eq $?
|| _lt_function_replace_fail
=:
23415 sed -e '/^func_len ()$/,/^} # func_len /c\
23418 func_len_result=${#1}\
23419 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
23420 && mv -f "$cfgfile.tmp" "$cfgfile" \
23421 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
23422 test 0 -eq $?
|| _lt_function_replace_fail
=:
23426 if test x
"$lt_shell_append" = xyes
; then
23427 sed -e '/^func_append ()$/,/^} # func_append /c\
23430 eval "${1}+=\\${2}"\
23431 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
23432 && mv -f "$cfgfile.tmp" "$cfgfile" \
23433 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
23434 test 0 -eq $?
|| _lt_function_replace_fail
=:
23437 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
23438 func_append_quoted ()\
23440 \ func_quote_for_eval "${2}"\
23441 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
23442 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
23443 && mv -f "$cfgfile.tmp" "$cfgfile" \
23444 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
23445 test 0 -eq $?
|| _lt_function_replace_fail
=:
23448 # Save a `func_append' function call where possible by direct use of '+='
23449 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
23450 && mv -f "$cfgfile.tmp" "$cfgfile" \
23451 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
23452 test 0 -eq $?
|| _lt_function_replace_fail
=:
23454 # Save a `func_append' function call even when '+=' is not available
23455 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
23456 && mv -f "$cfgfile.tmp" "$cfgfile" \
23457 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
23458 test 0 -eq $?
|| _lt_function_replace_fail
=:
23461 if test x
"$_lt_function_replace_fail" = x
":"; then
23462 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
23463 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
23467 mv -f "$cfgfile" "$ofile" ||
23468 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
23472 cat <<_LT_EOF >> "$ofile"
23474 # ### BEGIN LIBTOOL TAG CONFIG: CXX
23476 # The linker used to build libraries.
23479 # How to create reloadable object files.
23480 reload_flag=$lt_reload_flag_CXX
23481 reload_cmds=$lt_reload_cmds_CXX
23483 # Commands used to build an old-style archive.
23484 old_archive_cmds=$lt_old_archive_cmds_CXX
23486 # A language specific compiler.
23487 CC=$lt_compiler_CXX
23489 # Is the compiler the GNU compiler?
23492 # Compiler flag to turn off builtin functions.
23493 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
23495 # Additional compiler flags for building library objects.
23496 pic_flag=$lt_lt_prog_compiler_pic_CXX
23498 # How to pass a linker flag through the compiler.
23499 wl=$lt_lt_prog_compiler_wl_CXX
23501 # Compiler flag to prevent dynamic linking.
23502 link_static_flag=$lt_lt_prog_compiler_static_CXX
23504 # Does compiler simultaneously support -c and -o options?
23505 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
23507 # Whether or not to add -lc for building shared libraries.
23508 build_libtool_need_lc=$archive_cmds_need_lc_CXX
23510 # Whether or not to disallow shared libs when runtime libs are static.
23511 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
23513 # Compiler flag to allow reflexive dlopens.
23514 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
23516 # Compiler flag to generate shared objects directly from archives.
23517 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
23519 # Whether the compiler copes with passing no objects directly.
23520 compiler_needs_object=$lt_compiler_needs_object_CXX
23522 # Create an old-style archive from a shared archive.
23523 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
23525 # Create a temporary old-style archive to link instead of a shared archive.
23526 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
23528 # Commands used to build a shared archive.
23529 archive_cmds=$lt_archive_cmds_CXX
23530 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
23532 # Commands used to build a loadable module if different from building
23533 # a shared archive.
23534 module_cmds=$lt_module_cmds_CXX
23535 module_expsym_cmds=$lt_module_expsym_cmds_CXX
23537 # Whether we are building with GNU ld or not.
23538 with_gnu_ld=$lt_with_gnu_ld_CXX
23540 # Flag that allows shared libraries with undefined symbols to be built.
23541 allow_undefined_flag=$lt_allow_undefined_flag_CXX
23543 # Flag that enforces no undefined symbols.
23544 no_undefined_flag=$lt_no_undefined_flag_CXX
23546 # Flag to hardcode \$libdir into a binary during linking.
23547 # This must work even if \$libdir does not exist
23548 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
23550 # Whether we need a single "-rpath" flag with a separated argument.
23551 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
23553 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
23554 # DIR into the resulting binary.
23555 hardcode_direct=$hardcode_direct_CXX
23557 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
23558 # DIR into the resulting binary and the resulting library dependency is
23559 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
23560 # library is relocated.
23561 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
23563 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
23564 # into the resulting binary.
23565 hardcode_minus_L=$hardcode_minus_L_CXX
23567 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
23568 # into the resulting binary.
23569 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
23571 # Set to "yes" if building a shared library automatically hardcodes DIR
23572 # into the library and all subsequent libraries and executables linked
23574 hardcode_automatic=$hardcode_automatic_CXX
23576 # Set to yes if linker adds runtime paths of dependent libraries
23577 # to runtime path list.
23578 inherit_rpath=$inherit_rpath_CXX
23580 # Whether libtool must link a program against all its dependency libraries.
23581 link_all_deplibs=$link_all_deplibs_CXX
23583 # Set to "yes" if exported symbols are required.
23584 always_export_symbols=$always_export_symbols_CXX
23586 # The commands to list exported symbols.
23587 export_symbols_cmds=$lt_export_symbols_cmds_CXX
23589 # Symbols that should not be listed in the preloaded symbols.
23590 exclude_expsyms=$lt_exclude_expsyms_CXX
23592 # Symbols that must always be exported.
23593 include_expsyms=$lt_include_expsyms_CXX
23595 # Commands necessary for linking programs (against libraries) with templates.
23596 prelink_cmds=$lt_prelink_cmds_CXX
23598 # Commands necessary for finishing linking programs.
23599 postlink_cmds=$lt_postlink_cmds_CXX
23601 # Specify filename containing input files.
23602 file_list_spec=$lt_file_list_spec_CXX
23604 # How to hardcode a shared library path into an executable.
23605 hardcode_action=$hardcode_action_CXX
23607 # The directories searched by this compiler when creating a shared library.
23608 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
23610 # Dependencies to place before and after the objects being linked to
23611 # create a shared library.
23612 predep_objects=$lt_predep_objects_CXX
23613 postdep_objects=$lt_postdep_objects_CXX
23614 predeps=$lt_predeps_CXX
23615 postdeps=$lt_postdeps_CXX
23617 # The library search path used internally by the compiler when linking
23618 # a shared library.
23619 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
23621 # ### END LIBTOOL TAG CONFIG: CXX
23632 ac_clean_files
=$ac_clean_files_save
23634 test $ac_write_fail = 0 ||
23635 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
23638 # configure is writing to config.log, and then calls config.status.
23639 # config.status does its own redirection, appending to config.log.
23640 # Unfortunately, on DOS this fails, as config.log is still kept open
23641 # by configure, so config.status won't be able to write to it; its
23642 # output is simply discarded. So we exec the FD to /dev/null,
23643 # effectively closing config.log, so it can be properly (re)opened and
23644 # appended to by config.status. When coming back to configure, we
23645 # need to make the FD available again.
23646 if test "$no_create" != yes; then
23648 ac_config_status_args
=
23649 test "$silent" = yes &&
23650 ac_config_status_args
="$ac_config_status_args --quiet"
23652 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
23654 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
23655 # would make configure fail if this is the last instruction.
23656 $ac_cs_success || as_fn_exit
1
23658 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
23659 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
23660 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}