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.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE
=1; export DUALCASE
# for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
27 case `(set -o) 2>/dev/null` in #(
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo_n='print
-rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
55 as_echo_n='/usr
/ucb
/echo -n'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68 as_echo_n='sh
-c $as_echo_n_body as_echo
'
71 as_echo='sh
-c $as_echo_body as_echo
'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
91 # Find who we are. Look in the path if we contain no directory separator.
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x
; then
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var
in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\
${$as_var+set} = xset \
122 && ( (unset $as_var) || exit 1) >/dev
/null
2>&1 && unset $as_var || :
135 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
137 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x
"${_as_can_reexec}" != xno
&& test "x$CONFIG_SHELL" != x
; then
140 _as_can_reexec
=no
; export _as_can_reexec
;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
147 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
149 *v
*x
* | *x
*v
* ) as_opts
=-vx ;;
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec
=; unset _as_can_reexec
;}
162 if test "x$CONFIG_SHELL" = x
; then
163 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
171 case \`(set -o) 2>/dev/null\` in #(
179 as_required
="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
193 exitcode=1; echo positional parameters were not saved.
195 test x\$exitcode = x0 || exit 1
197 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
202 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
203 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
204 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
205 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
206 PATH=/empty FPATH=/empty; export PATH FPATH
207 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
208 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
209 test \$(( 1 + 1 )) = 2 || exit 1"
210 if (eval "$as_required") 2>/dev
/null
; then :
215 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
218 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
220 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
223 test -z "$as_dir" && as_dir
=.
227 for as_base
in sh bash ksh sh5
; do
228 # Try only shells that exist, to save several forks.
229 as_shell
=$as_dir/$as_base
230 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
231 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
232 CONFIG_SHELL
=$as_shell as_have_required
=yes
233 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
241 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
242 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
243 CONFIG_SHELL
=$SHELL as_have_required
=yes
248 if test "x$CONFIG_SHELL" != x
; then :
250 # We cannot yet assume a decent shell, so we have to provide a
251 # neutralization value for shells without unset; and this also
252 # works around shells that cannot unset nonexistent variables.
253 # Preserve -v and -x to the replacement shell.
256 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
258 *v
*x
* | *x
*v
* ) as_opts
=-vx ;;
263 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
264 # Admittedly, this is quite paranoid, since all the known shells bail
265 # out after a failed `exec'.
266 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
270 if test x
$as_have_required = xno
; then :
271 $as_echo "$0: This script requires a shell more modern than all"
272 $as_echo "$0: the shells that I found on your system."
273 if test x
${ZSH_VERSION+set} = xset
; then
274 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
275 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
277 $as_echo "$0: Please tell bug-autoconf@gnu.org and saurik@saurik.com
278 $0: about your system, including any error possibly output
279 $0: before this message. Then install a modern shell, or
280 $0: manually run the script under such a shell if you do
287 SHELL
=${CONFIG_SHELL-/bin/sh}
289 # Unset more variables known to interfere with behavior of common tools.
290 CLICOLOR_FORCE
= GREP_OPTIONS
=
291 unset CLICOLOR_FORCE GREP_OPTIONS
293 ## --------------------- ##
294 ## M4sh Shell Functions. ##
295 ## --------------------- ##
298 # Portably unset VAR.
301 { eval $1=; unset $1;}
305 # as_fn_set_status STATUS
306 # -----------------------
307 # Set $? to STATUS, without forking.
315 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
325 # Create "$as_dir" as a directory, including parents if necessary.
330 -*) as_dir
=.
/$as_dir;;
332 test -d "$as_dir" || eval $as_mkdir_p || {
336 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
339 as_dirs
="'$as_qdir' $as_dirs"
340 as_dir
=`$as_dirname -- "$as_dir" ||
341 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
342 X"$as_dir" : 'X\(//\)[^/]' \| \
343 X"$as_dir" : 'X\(//\)$' \| \
344 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
345 $as_echo X"$as_dir" |
346 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
363 test -d "$as_dir" && break
365 test -z "$as_dirs" || eval "mkdir $as_dirs"
366 } || test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
371 # as_fn_executable_p FILE
372 # -----------------------
373 # Test if FILE is an executable regular file.
374 as_fn_executable_p
()
376 test -f "$1" && test -x "$1"
377 } # as_fn_executable_p
378 # as_fn_append VAR VALUE
379 # ----------------------
380 # Append the text in VALUE to the end of the definition contained in VAR. Take
381 # advantage of any shell optimizations that allow amortized linear growth over
382 # repeated appends, instead of the typical quadratic growth present in naive
384 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
385 eval 'as_fn_append ()
398 # Perform arithmetic evaluation on the ARGs, and store the result in the
399 # global $as_val. Take advantage of shells that can avoid forks. The arguments
400 # must be portable across $(()) and expr.
401 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
409 as_val
=`expr "$@" || test $? -eq 1`
414 # as_fn_error STATUS ERROR [LINENO LOG_FD]
415 # ----------------------------------------
416 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
417 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
418 # script with STATUS, using 1 if that was 0.
421 as_status
=$1; test $as_status -eq 0 && as_status
=1
423 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
424 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
426 $as_echo "$as_me: error: $2" >&2
427 as_fn_exit
$as_status
430 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
431 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
437 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
443 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
449 as_me
=`$as_basename -- "$0" ||
450 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
451 X"$0" : 'X\(//\)$' \| \
452 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
454 sed '/^.*\/\([^/][^/]*\)\/*$/{
468 # Avoid depending upon Character Ranges.
469 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
470 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
471 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
472 as_cr_digits
='0123456789'
473 as_cr_alnum
=$as_cr_Letters$as_cr_digits
476 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
477 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
478 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
479 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
480 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
492 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
496 chmod +x
"$as_me.lineno" ||
497 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
499 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
500 # already done that, so ensure we don't try to do so again and fall
501 # in an infinite loop. This has already happened in practice.
502 _as_can_reexec
=no
; export _as_can_reexec
503 # Don't try to exec as it changes $[0], causing all sort of problems
504 # (the dirname of $[0] is not the place where we might find the
505 # original and so on. Autoconf is especially sensitive to this).
507 # Exit status is that of the last command.
511 ECHO_C
= ECHO_N
= ECHO_T
=
512 case `echo -n x` in #(((((
514 case `echo 'xy\c'` in
515 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
517 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
524 rm -f conf$$ conf$$.exe conf$$.
file
525 if test -d conf$$.dir
; then
526 rm -f conf$$.dir
/conf$$.
file
529 mkdir conf$$.dir
2>/dev
/null
531 if (echo >conf$$.
file) 2>/dev
/null
; then
532 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
534 # ... but there are two gotchas:
535 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
536 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
537 # In both cases, we have to default to `cp -pR'.
538 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
540 elif ln conf$$.
file conf$$
2>/dev
/null
; then
548 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
549 rmdir conf$$.dir
2>/dev
/null
551 if mkdir -p .
2>/dev
/null
; then
552 as_mkdir_p
='mkdir -p "$as_dir"'
554 test -d .
/-p && rmdir .
/-p
559 as_executable_p
=as_fn_executable_p
561 # Sed expression to map a string onto a valid CPP name.
562 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
564 # Sed expression to map a string onto a valid variable name.
565 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
567 SHELL
=${CONFIG_SHELL-/bin/sh}
570 test -n "$DJDIR" || exec 7<&0 </dev
/null
574 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
575 # so uname gets run too.
576 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
581 ac_default_prefix
=/usr
/local
583 ac_config_libobj_dir
=.
590 # Identity of this package.
591 PACKAGE_NAME
='Cycript'
592 PACKAGE_TARNAME
='cycript'
593 PACKAGE_VERSION
='0.9'
594 PACKAGE_STRING
='Cycript 0.9'
595 PACKAGE_BUGREPORT
='saurik@saurik.com'
596 PACKAGE_URL
='http://www.cycript.org/'
598 ac_unique_file
="Console.cpp"
599 # Factoring default headers for most tests.
600 ac_includes_default
="\
602 #ifdef HAVE_SYS_TYPES_H
603 # include <sys/types.h>
605 #ifdef HAVE_SYS_STAT_H
606 # include <sys/stat.h>
612 # ifdef HAVE_STDLIB_H
617 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
622 #ifdef HAVE_STRINGS_H
623 # include <strings.h>
625 #ifdef HAVE_INTTYPES_H
626 # include <inttypes.h>
635 ac_subst_vars
='LTLIBOBJS
744 program_transform_name
757 enable_option_checking
765 enable_universal_binary
772 ac_precious_vars
='build_alias
800 # Initialize some variables set by options.
802 ac_init_version
=false
803 ac_unrecognized_opts
=
805 # The variables have the same names as the options, with
806 # dashes changed to underlines.
814 program_transform_name
=s
,x
,x
,
822 # Installation directory options.
823 # These are left unexpanded so users can "make install exec_prefix=/foo"
824 # and all the variables that are supposed to be based on exec_prefix
825 # by default will actually change.
826 # Use braces instead of parens because sh, perl, etc. also accept them.
827 # (The list follows the same order as the GNU Coding Standards.)
828 bindir
='${exec_prefix}/bin'
829 sbindir
='${exec_prefix}/sbin'
830 libexecdir
='${exec_prefix}/libexec'
831 datarootdir
='${prefix}/share'
832 datadir
='${datarootdir}'
833 sysconfdir
='${prefix}/etc'
834 sharedstatedir
='${prefix}/com'
835 localstatedir
='${prefix}/var'
836 includedir
='${prefix}/include'
837 oldincludedir
='/usr/include'
838 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
839 infodir
='${datarootdir}/info'
844 libdir
='${exec_prefix}/lib'
845 localedir
='${datarootdir}/locale'
846 mandir
='${datarootdir}/man'
852 # If the previous option needs an argument, assign it.
853 if test -n "$ac_prev"; then
854 eval $ac_prev=\
$ac_option
860 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
865 # Accept the important Cygnus configure options, so we can diagnose typos.
867 case $ac_dashdash$ac_option in
871 -bindir | --bindir | --bindi | --bind | --bin | --bi)
873 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
876 -build | --build | --buil | --bui | --bu)
877 ac_prev
=build_alias
;;
878 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
879 build_alias
=$ac_optarg ;;
881 -cache-file | --cache-file | --cache-fil | --cache-fi \
882 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
883 ac_prev
=cache_file
;;
884 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
885 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
886 cache_file
=$ac_optarg ;;
889 cache_file
=config.cache
;;
891 -datadir | --datadir | --datadi | --datad)
893 -datadir=* | --datadir=* | --datadi=* | --datad=*)
894 datadir
=$ac_optarg ;;
896 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
897 | --dataroo | --dataro | --datar)
898 ac_prev
=datarootdir
;;
899 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
900 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
901 datarootdir
=$ac_optarg ;;
903 -disable-* | --disable-*)
904 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
905 # Reject names that are not valid shell variable names.
906 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
907 as_fn_error $?
"invalid feature name: $ac_useropt"
908 ac_useropt_orig
=$ac_useropt
909 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
910 case $ac_user_opts in
914 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
915 ac_unrecognized_sep
=', ';;
917 eval enable_
$ac_useropt=no
;;
919 -docdir | --docdir | --docdi | --doc | --do)
921 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
924 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
926 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
929 -enable-* | --enable-*)
930 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
931 # Reject names that are not valid shell variable names.
932 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
933 as_fn_error $?
"invalid feature name: $ac_useropt"
934 ac_useropt_orig
=$ac_useropt
935 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
936 case $ac_user_opts in
940 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
941 ac_unrecognized_sep
=', ';;
943 eval enable_
$ac_useropt=\
$ac_optarg ;;
945 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
946 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
947 | --exec | --exe | --ex)
948 ac_prev
=exec_prefix
;;
949 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
950 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
951 | --exec=* | --exe=* | --ex=*)
952 exec_prefix
=$ac_optarg ;;
954 -gas | --gas | --ga | --g)
955 # Obsolete; use --with-gas.
958 -help | --help | --hel | --he | -h)
960 -help=r
* | --help=r
* | --hel=r
* | --he=r
* | -hr*)
961 ac_init_help
=recursive
;;
962 -help=s
* | --help=s
* | --hel=s
* | --he=s
* | -hs*)
963 ac_init_help
=short
;;
965 -host | --host | --hos | --ho)
966 ac_prev
=host_alias
;;
967 -host=* | --host=* | --hos=* | --ho=*)
968 host_alias
=$ac_optarg ;;
970 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
972 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
974 htmldir
=$ac_optarg ;;
976 -includedir | --includedir | --includedi | --included | --include \
977 | --includ | --inclu | --incl | --inc)
978 ac_prev
=includedir
;;
979 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
980 | --includ=* | --inclu=* | --incl=* | --inc=*)
981 includedir
=$ac_optarg ;;
983 -infodir | --infodir | --infodi | --infod | --info | --inf)
985 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
986 infodir
=$ac_optarg ;;
988 -libdir | --libdir | --libdi | --libd)
990 -libdir=* | --libdir=* | --libdi=* | --libd=*)
993 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
994 | --libexe | --libex | --libe)
995 ac_prev
=libexecdir
;;
996 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
997 | --libexe=* | --libex=* | --libe=*)
998 libexecdir
=$ac_optarg ;;
1000 -localedir | --localedir | --localedi | --localed | --locale)
1001 ac_prev
=localedir
;;
1002 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1003 localedir
=$ac_optarg ;;
1005 -localstatedir | --localstatedir | --localstatedi | --localstated \
1006 | --localstate | --localstat | --localsta | --localst | --locals)
1007 ac_prev
=localstatedir
;;
1008 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1009 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1010 localstatedir
=$ac_optarg ;;
1012 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1014 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1015 mandir
=$ac_optarg ;;
1017 -nfp | --nfp | --nf)
1018 # Obsolete; use --without-fp.
1021 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1022 | --no-cr | --no-c | -n)
1025 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1026 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1029 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1030 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1031 | --oldin | --oldi | --old | --ol | --o)
1032 ac_prev
=oldincludedir
;;
1033 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1034 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1035 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1036 oldincludedir
=$ac_optarg ;;
1038 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1040 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1041 prefix
=$ac_optarg ;;
1043 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1044 | --program-pre | --program-pr | --program-p)
1045 ac_prev
=program_prefix
;;
1046 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1047 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1048 program_prefix
=$ac_optarg ;;
1050 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1051 | --program-suf | --program-su | --program-s)
1052 ac_prev
=program_suffix
;;
1053 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1054 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1055 program_suffix
=$ac_optarg ;;
1057 -program-transform-name | --program-transform-name \
1058 | --program-transform-nam | --program-transform-na \
1059 | --program-transform-n | --program-transform- \
1060 | --program-transform | --program-transfor \
1061 | --program-transfo | --program-transf \
1062 | --program-trans | --program-tran \
1063 | --progr-tra | --program-tr | --program-t)
1064 ac_prev
=program_transform_name
;;
1065 -program-transform-name=* | --program-transform-name=* \
1066 | --program-transform-nam=* | --program-transform-na=* \
1067 | --program-transform-n=* | --program-transform-=* \
1068 | --program-transform=* | --program-transfor=* \
1069 | --program-transfo=* | --program-transf=* \
1070 | --program-trans=* | --program-tran=* \
1071 | --progr-tra=* | --program-tr=* | --program-t=*)
1072 program_transform_name
=$ac_optarg ;;
1074 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1076 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1077 pdfdir
=$ac_optarg ;;
1079 -psdir | --psdir | --psdi | --psd | --ps)
1081 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1084 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1085 | -silent | --silent | --silen | --sile | --sil)
1088 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1090 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1092 sbindir
=$ac_optarg ;;
1094 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1095 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1096 | --sharedst | --shareds | --shared | --share | --shar \
1098 ac_prev
=sharedstatedir
;;
1099 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1100 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1101 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1103 sharedstatedir
=$ac_optarg ;;
1105 -site | --site | --sit)
1107 -site=* | --site=* | --sit=*)
1110 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1112 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1113 srcdir
=$ac_optarg ;;
1115 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1116 | --syscon | --sysco | --sysc | --sys | --sy)
1117 ac_prev
=sysconfdir
;;
1118 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1119 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1120 sysconfdir
=$ac_optarg ;;
1122 -target | --target | --targe | --targ | --tar | --ta | --t)
1123 ac_prev
=target_alias
;;
1124 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1125 target_alias
=$ac_optarg ;;
1127 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1130 -version | --version | --versio | --versi | --vers | -V)
1131 ac_init_version
=: ;;
1134 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1135 # Reject names that are not valid shell variable names.
1136 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1137 as_fn_error $?
"invalid package name: $ac_useropt"
1138 ac_useropt_orig
=$ac_useropt
1139 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1140 case $ac_user_opts in
1144 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1145 ac_unrecognized_sep
=', ';;
1147 eval with_
$ac_useropt=\
$ac_optarg ;;
1149 -without-* | --without-*)
1150 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1151 # Reject names that are not valid shell variable names.
1152 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1153 as_fn_error $?
"invalid package name: $ac_useropt"
1154 ac_useropt_orig
=$ac_useropt
1155 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1156 case $ac_user_opts in
1160 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1161 ac_unrecognized_sep
=', ';;
1163 eval with_
$ac_useropt=no
;;
1166 # Obsolete; use --with-x.
1169 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1170 | --x-incl | --x-inc | --x-in | --x-i)
1171 ac_prev
=x_includes
;;
1172 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1173 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1174 x_includes
=$ac_optarg ;;
1176 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1177 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1178 ac_prev
=x_libraries
;;
1179 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1180 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1181 x_libraries
=$ac_optarg ;;
1183 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1184 Try \`$0 --help' for more information"
1188 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1189 # Reject names that are not valid shell variable names.
1190 case $ac_envvar in #(
1191 '' | [0-9]* | *[!_$as_cr_alnum]* )
1192 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1194 eval $ac_envvar=\
$ac_optarg
1195 export $ac_envvar ;;
1198 # FIXME: should be removed in autoconf 3.0.
1199 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1200 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1201 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1202 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1208 if test -n "$ac_prev"; then
1209 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1210 as_fn_error $?
"missing argument to $ac_option"
1213 if test -n "$ac_unrecognized_opts"; then
1214 case $enable_option_checking in
1216 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1217 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1221 # Check all directory arguments for consistency.
1222 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1223 datadir sysconfdir sharedstatedir localstatedir includedir \
1224 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1225 libdir localedir mandir
1227 eval ac_val
=\$
$ac_var
1228 # Remove trailing slashes.
1231 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1232 eval $ac_var=\
$ac_val;;
1234 # Be sure to have absolute directory names.
1236 [\\/$
]* | ?
:[\\/]* ) continue;;
1237 NONE
| '' ) case $ac_var in *prefix
) continue;; esac;;
1239 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1242 # There might be people who depend on the old broken behavior: `$host'
1243 # used to hold the argument of --host etc.
1244 # FIXME: To remove some day.
1247 target
=$target_alias
1249 # FIXME: To remove some day.
1250 if test "x$host_alias" != x
; then
1251 if test "x$build_alias" = x
; then
1252 cross_compiling
=maybe
1253 elif test "x$build_alias" != "x$host_alias"; then
1259 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1261 test "$silent" = yes && exec 6>/dev
/null
1264 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1265 ac_ls_di
=`ls -di .` &&
1266 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1267 as_fn_error $?
"working directory cannot be determined"
1268 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1269 as_fn_error $?
"pwd does not report name of working directory"
1272 # Find the source files, if location was not specified.
1273 if test -z "$srcdir"; then
1274 ac_srcdir_defaulted
=yes
1275 # Try the directory containing this script, then the parent directory.
1276 ac_confdir
=`$as_dirname -- "$as_myself" ||
1277 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1278 X"$as_myself" : 'X\(//\)[^/]' \| \
1279 X"$as_myself" : 'X\(//\)$' \| \
1280 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1281 $as_echo X"$as_myself" |
1282 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1300 if test ! -r "$srcdir/$ac_unique_file"; then
1304 ac_srcdir_defaulted
=no
1306 if test ! -r "$srcdir/$ac_unique_file"; then
1307 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1308 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1310 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1312 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1314 # When building in place, set srcdir=.
1315 if test "$ac_abs_confdir" = "$ac_pwd"; then
1318 # Remove unnecessary trailing slashes from srcdir.
1319 # Double slashes in file names in object file debugging info
1320 # mess up M-x gdb in Emacs.
1322 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1324 for ac_var
in $ac_precious_vars; do
1325 eval ac_env_
${ac_var}_set
=\
${${ac_var}+set}
1326 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1327 eval ac_cv_env_
${ac_var}_set
=\
${${ac_var}+set}
1328 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1332 # Report the --help message.
1334 if test "$ac_init_help" = "long"; then
1335 # Omit some internal or obsolete options to make the list less imposing.
1336 # This message is too long to be a string in the A/UX 3.1 sh.
1338 \`configure' configures Cycript 0.9 to adapt to many kinds of systems.
1340 Usage: $0 [OPTION]... [VAR=VALUE]...
1342 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1343 VAR=VALUE. See below for descriptions of some of the useful variables.
1345 Defaults for the options are specified in brackets.
1348 -h, --help display this help and exit
1349 --help=short display options specific to this package
1350 --help=recursive display the short help of all the included packages
1351 -V, --version display version information and exit
1352 -q, --quiet, --silent do not print \`checking ...' messages
1353 --cache-file=FILE cache test results in FILE [disabled]
1354 -C, --config-cache alias for \`--cache-file=config.cache'
1355 -n, --no-create do not create output files
1356 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1358 Installation directories:
1359 --prefix=PREFIX install architecture-independent files in PREFIX
1360 [$ac_default_prefix]
1361 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1364 By default, \`make install' will install all the files in
1365 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1366 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1367 for instance \`--prefix=\$HOME'.
1369 For better control, use the options below.
1371 Fine tuning of the installation directories:
1372 --bindir=DIR user executables [EPREFIX/bin]
1373 --sbindir=DIR system admin executables [EPREFIX/sbin]
1374 --libexecdir=DIR program executables [EPREFIX/libexec]
1375 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1376 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1377 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1378 --libdir=DIR object code libraries [EPREFIX/lib]
1379 --includedir=DIR C header files [PREFIX/include]
1380 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1381 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1382 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1383 --infodir=DIR info documentation [DATAROOTDIR/info]
1384 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1385 --mandir=DIR man documentation [DATAROOTDIR/man]
1386 --docdir=DIR documentation root [DATAROOTDIR/doc/cycript]
1387 --htmldir=DIR html documentation [DOCDIR]
1388 --dvidir=DIR dvi documentation [DOCDIR]
1389 --pdfdir=DIR pdf documentation [DOCDIR]
1390 --psdir=DIR ps documentation [DOCDIR]
1396 --build=BUILD configure
for building on BUILD
[guessed
]
1397 --host=HOST cross
-compile to build programs to run on HOST
[BUILD
]
1401 if test -n "$ac_init_help"; then
1402 case $ac_init_help in
1403 short
| recursive
) echo "Configuration of Cycript 0.9:";;
1408 --disable-option-checking ignore unrecognized
--enable/--with options
1409 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1410 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1411 --enable-static[=PKGS
] build static libraries
[default
=no
]
1412 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1413 --enable-fast-install[=PKGS
]
1414 optimize
for fast installation
[default
=yes]
1415 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1416 --disable-universal-binary
1417 do not build with universal binary support on Darwin
1418 --enable-javascript[=ENGINE
]
1419 use a JavaScript runtime
(currently the only
1420 available option
for ENGINE is JavaScriptCore
)
1422 --disable-rpath do not hardcode runtime library paths
1425 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1426 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1427 --with-pic[=PKGS
] try to use only PIC
/non
-PIC objects
[default
=use
1429 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1430 --with-sysroot=DIR Search
for dependent libraries within DIR
1431 (or the compiler
's sysroot if not specified).
1432 --with-frameworks=DIRS add to DIRS (space separated) to the Darwin include
1433 path for frameworks with -F
1434 --with-apr=PATH prefix for installed APR or the full path to
1436 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1437 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1438 --without-libiconv-prefix don't search
for libiconv
in includedir and libdir
1440 Some influential environment variables
:
1441 CC C compiler
command
1442 CFLAGS C compiler flags
1443 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1444 nonstandard directory
<lib dir
>
1445 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1446 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1447 you have headers
in a nonstandard directory
<include dir
>
1449 PKG_CONFIG path to pkg
-config utility
1451 directories to add to pkg
-config's search path
1453 path overriding pkg-config's built
-in search path
1454 BISON GNU Project parser generator
(yacc replacement
)
1455 FLEX the fast lexical analyser generator
1456 GPERF perfect
hash function generator
1457 CXX C
++ compiler
command
1458 CXXFLAGS C
++ compiler flags
1459 CXXCPP C
++ preprocessor
1460 OBJCXX Objective C
++ compiler
command
1461 OBJCXXFLAGS Objective C
++ compiler flags
1463 C compiler flags
for WEBKIT
, overriding pkg
-config
1464 WEBKIT_LIBS linker flags
for WEBKIT
, overriding pkg
-config
1466 C compiler flags
for LIBFFI
, overriding pkg
-config
1467 LIBFFI_LIBS linker flags
for LIBFFI
, overriding pkg
-config
1469 prints information about the current gnustep installation
1471 Use these variables to override the choices made by
`configure' or to help
1472 it to find libraries and programs with nonstandard names/locations.
1474 Report bugs to <saurik@saurik.com>.
1475 Cycript home page: <http://www.cycript.org/>.
1480 if test "$ac_init_help" = "recursive"; then
1481 # If there are subdirs, report their specific --help.
1482 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1483 test -d "$ac_dir" ||
1484 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1489 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1491 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1492 # A ".." for each directory in $ac_dir_suffix.
1493 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1494 case $ac_top_builddir_sub in
1495 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1496 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1499 ac_abs_top_builddir=$ac_pwd
1500 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1501 # for backward compatibility:
1502 ac_top_builddir=$ac_top_build_prefix
1505 .) # We are building in place.
1507 ac_top_srcdir=$ac_top_builddir_sub
1508 ac_abs_top_srcdir=$ac_pwd ;;
1509 [\\/]* | ?:[\\/]* ) # Absolute name.
1510 ac_srcdir=$srcdir$ac_dir_suffix;
1511 ac_top_srcdir=$srcdir
1512 ac_abs_top_srcdir=$srcdir ;;
1514 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1515 ac_top_srcdir=$ac_top_build_prefix$srcdir
1516 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1518 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1520 cd "$ac_dir" || { ac_status=$?; continue; }
1521 # Check for guested configure.
1522 if test -f "$ac_srcdir/configure.gnu"; then
1524 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1525 elif test -f "$ac_srcdir/configure"; then
1527 $SHELL "$ac_srcdir/configure" --help=recursive
1529 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1531 cd "$ac_pwd" || { ac_status=$?; break; }
1535 test -n "$ac_init_help" && exit $ac_status
1536 if $ac_init_version; then
1538 Cycript configure 0.9
1539 generated by GNU Autoconf 2.69
1541 Copyright (C) 2012 Free Software Foundation, Inc.
1542 This configure script is free software; the Free Software Foundation
1543 gives unlimited permission to copy, distribute and modify it.
1548 ## ------------------------ ##
1549 ## Autoconf initialization. ##
1550 ## ------------------------ ##
1552 # ac_fn_c_try_compile LINENO
1553 # --------------------------
1554 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1555 ac_fn_c_try_compile ()
1557 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1558 rm -f conftest.$ac_objext
1559 if { { ac_try="$ac_compile"
1561 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
1562 *) ac_try_echo
=$ac_try;;
1564 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1565 $as_echo "$ac_try_echo"; } >&5
1566 (eval "$ac_compile") 2>conftest.err
1568 if test -s conftest.err
; then
1569 grep -v '^ *+' conftest.err
>conftest.er1
1570 cat conftest.er1
>&5
1571 mv -f conftest.er1 conftest.err
1573 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1574 test $ac_status = 0; } && {
1575 test -z "$ac_c_werror_flag" ||
1576 test ! -s conftest.err
1577 } && test -s conftest.
$ac_objext; then :
1580 $as_echo "$as_me: failed program was:" >&5
1581 sed 's/^/| /' conftest.
$ac_ext >&5
1585 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1586 as_fn_set_status
$ac_retval
1588 } # ac_fn_c_try_compile
1590 # ac_fn_c_try_link LINENO
1591 # -----------------------
1592 # Try to link conftest.$ac_ext, and return whether this succeeded.
1595 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1596 rm -f conftest.
$ac_objext conftest
$ac_exeext
1597 if { { ac_try
="$ac_link"
1599 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
1600 *) ac_try_echo=$ac_try;;
1602 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1603 $as_echo "$ac_try_echo"; } >&5
1604 (eval "$ac_link") 2>conftest.err
1606 if test -s conftest.err; then
1607 grep -v '^ *+' conftest.err >conftest.er1
1608 cat conftest.er1 >&5
1609 mv -f conftest.er1 conftest.err
1611 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1612 test $ac_status = 0; } && {
1613 test -z "$ac_c_werror_flag" ||
1614 test ! -s conftest.err
1615 } && test -s conftest$ac_exeext && {
1616 test "$cross_compiling" = yes ||
1617 test -x conftest$ac_exeext
1621 $as_echo "$as_me: failed program was:" >&5
1622 sed 's/^/| /' conftest.$ac_ext >&5
1626 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1627 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1628 # interfere with the next link command; also delete a directory that is
1629 # left behind by Apple's compiler. We do this before executing the actions.
1630 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1631 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1632 as_fn_set_status $ac_retval
1634 } # ac_fn_c_try_link
1636 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1637 # -------------------------------------------------------
1638 # Tests whether HEADER exists and can be compiled using the include files in
1639 # INCLUDES, setting the cache variable VAR accordingly.
1640 ac_fn_c_check_header_compile ()
1642 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1644 $as_echo_n "checking for $2... " >&6; }
1645 if eval \${$3+:} false; then :
1646 $as_echo_n "(cached) " >&6
1648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1649 /* end confdefs.h. */
1653 if ac_fn_c_try_compile "$LINENO"; then :
1658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1662 $as_echo "$ac_res" >&6; }
1663 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1665 } # ac_fn_c_check_header_compile
1667 # ac_fn_c_try_cpp LINENO
1668 # ----------------------
1669 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1672 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1673 if { { ac_try="$ac_cpp conftest.$ac_ext"
1675 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
1676 *) ac_try_echo
=$ac_try;;
1678 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1679 $as_echo "$ac_try_echo"; } >&5
1680 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1682 if test -s conftest.err
; then
1683 grep -v '^ *+' conftest.err
>conftest.er1
1684 cat conftest.er1
>&5
1685 mv -f conftest.er1 conftest.err
1687 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1688 test $ac_status = 0; } > conftest.i
&& {
1689 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1690 test ! -s conftest.err
1694 $as_echo "$as_me: failed program was:" >&5
1695 sed 's/^/| /' conftest.
$ac_ext >&5
1699 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1700 as_fn_set_status
$ac_retval
1704 # ac_fn_c_try_run LINENO
1705 # ----------------------
1706 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1707 # that executables *can* be run.
1710 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1711 if { { ac_try
="$ac_link"
1713 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
1714 *) ac_try_echo=$ac_try;;
1716 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1717 $as_echo "$ac_try_echo"; } >&5
1718 (eval "$ac_link") 2>&5
1720 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1721 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1722 { { case "(($ac_try" in
1723 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
1724 *) ac_try_echo
=$ac_try;;
1726 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1727 $as_echo "$ac_try_echo"; } >&5
1728 (eval "$ac_try") 2>&5
1730 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1731 test $ac_status = 0; }; }; then :
1734 $as_echo "$as_me: program exited with status $ac_status" >&5
1735 $as_echo "$as_me: failed program was:" >&5
1736 sed 's/^/| /' conftest.
$ac_ext >&5
1738 ac_retval
=$ac_status
1740 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1741 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1742 as_fn_set_status
$ac_retval
1746 # ac_fn_c_check_func LINENO FUNC VAR
1747 # ----------------------------------
1748 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1749 ac_fn_c_check_func
()
1751 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1753 $as_echo_n "checking for $2... " >&6; }
1754 if eval \
${$3+:} false
; then :
1755 $as_echo_n "(cached) " >&6
1757 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1758 /* end confdefs.h. */
1759 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1760 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1761 #define $2 innocuous_$2
1763 /* System header to define __stub macros and hopefully few prototypes,
1764 which can conflict with char $2 (); below.
1765 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1766 <limits.h> exists even on freestanding compilers. */
1769 # include <limits.h>
1771 # include <assert.h>
1776 /* Override any GCC internal prototype to avoid an error.
1777 Use char because int might match the return type of a GCC
1778 builtin and then its argument prototype would still apply. */
1783 /* The GNU C library defines this for functions which it implements
1784 to always fail with ENOSYS. Some functions are actually named
1785 something starting with __ and the normal name is an alias. */
1786 #if defined __stub_$2 || defined __stub___$2
1798 if ac_fn_c_try_link
"$LINENO"; then :
1803 rm -f core conftest.err conftest.
$ac_objext \
1804 conftest
$ac_exeext conftest.
$ac_ext
1807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1808 $as_echo "$ac_res" >&6; }
1809 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1811 } # ac_fn_c_check_func
1813 # ac_fn_cxx_try_compile LINENO
1814 # ----------------------------
1815 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1816 ac_fn_cxx_try_compile
()
1818 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1819 rm -f conftest.
$ac_objext
1820 if { { ac_try
="$ac_compile"
1822 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
1823 *) ac_try_echo=$ac_try;;
1825 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1826 $as_echo "$ac_try_echo"; } >&5
1827 (eval "$ac_compile") 2>conftest.err
1829 if test -s conftest.err; then
1830 grep -v '^ *+' conftest.err >conftest.er1
1831 cat conftest.er1 >&5
1832 mv -f conftest.er1 conftest.err
1834 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1835 test $ac_status = 0; } && {
1836 test -z "$ac_cxx_werror_flag" ||
1837 test ! -s conftest.err
1838 } && test -s conftest.$ac_objext; then :
1841 $as_echo "$as_me: failed program was:" >&5
1842 sed 's/^/| /' conftest.$ac_ext >&5
1846 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1847 as_fn_set_status $ac_retval
1849 } # ac_fn_cxx_try_compile
1851 # ac_fn_cxx_try_cpp LINENO
1852 # ------------------------
1853 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1854 ac_fn_cxx_try_cpp ()
1856 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1857 if { { ac_try="$ac_cpp conftest.$ac_ext"
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_cpp conftest.$ac_ext") 2>conftest.err
1866 if test -s conftest.err
; then
1867 grep -v '^ *+' conftest.err
>conftest.er1
1868 cat conftest.er1
>&5
1869 mv -f conftest.er1 conftest.err
1871 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1872 test $ac_status = 0; } > conftest.i
&& {
1873 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1874 test ! -s conftest.err
1878 $as_echo "$as_me: failed program was:" >&5
1879 sed 's/^/| /' conftest.
$ac_ext >&5
1883 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1884 as_fn_set_status
$ac_retval
1886 } # ac_fn_cxx_try_cpp
1888 # ac_fn_cxx_try_link LINENO
1889 # -------------------------
1890 # Try to link conftest.$ac_ext, and return whether this succeeded.
1891 ac_fn_cxx_try_link
()
1893 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1894 rm -f conftest.
$ac_objext conftest
$ac_exeext
1895 if { { ac_try
="$ac_link"
1897 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
1898 *) ac_try_echo=$ac_try;;
1900 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1901 $as_echo "$ac_try_echo"; } >&5
1902 (eval "$ac_link") 2>conftest.err
1904 if test -s conftest.err; then
1905 grep -v '^ *+' conftest.err >conftest.er1
1906 cat conftest.er1 >&5
1907 mv -f conftest.er1 conftest.err
1909 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1910 test $ac_status = 0; } && {
1911 test -z "$ac_cxx_werror_flag" ||
1912 test ! -s conftest.err
1913 } && test -s conftest$ac_exeext && {
1914 test "$cross_compiling" = yes ||
1915 test -x conftest$ac_exeext
1919 $as_echo "$as_me: failed program was:" >&5
1920 sed 's/^/| /' conftest.$ac_ext >&5
1924 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1925 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1926 # interfere with the next link command; also delete a directory that is
1927 # left behind by Apple's compiler. We do this before executing the actions.
1928 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1929 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1930 as_fn_set_status $ac_retval
1932 } # ac_fn_cxx_try_link
1934 # ac_fn_objcxx_try_compile LINENO
1935 # -------------------------------
1936 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1937 ac_fn_objcxx_try_compile ()
1939 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1940 rm -f conftest.$ac_objext
1941 if { { ac_try="$ac_compile"
1943 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
1944 *) ac_try_echo
=$ac_try;;
1946 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1947 $as_echo "$ac_try_echo"; } >&5
1948 (eval "$ac_compile") 2>conftest.err
1950 if test -s conftest.err
; then
1951 grep -v '^ *+' conftest.err
>conftest.er1
1952 cat conftest.er1
>&5
1953 mv -f conftest.er1 conftest.err
1955 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1956 test $ac_status = 0; } && {
1957 test -z "$ac_objcxx_werror_flag" ||
1958 test ! -s conftest.err
1959 } && test -s conftest.
$ac_objext; then :
1962 $as_echo "$as_me: failed program was:" >&5
1963 sed 's/^/| /' conftest.
$ac_ext >&5
1967 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1968 as_fn_set_status
$ac_retval
1970 } # ac_fn_objcxx_try_compile
1972 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
1973 # ---------------------------------------------------------
1974 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1975 # the include files in INCLUDES and setting the cache variable VAR
1977 ac_fn_cxx_check_header_mongrel
()
1979 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1980 if eval \
${$3+:} false
; then :
1981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1982 $as_echo_n "checking for $2... " >&6; }
1983 if eval \
${$3+:} false
; then :
1984 $as_echo_n "(cached) " >&6
1987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1988 $as_echo "$ac_res" >&6; }
1990 # Is the header compilable?
1991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1992 $as_echo_n "checking $2 usability... " >&6; }
1993 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1994 /* end confdefs.h. */
1998 if ac_fn_cxx_try_compile
"$LINENO"; then :
1999 ac_header_compiler
=yes
2001 ac_header_compiler
=no
2003 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2005 $as_echo "$ac_header_compiler" >&6; }
2007 # Is the header present?
2008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2009 $as_echo_n "checking $2 presence... " >&6; }
2010 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2011 /* end confdefs.h. */
2014 if ac_fn_cxx_try_cpp
"$LINENO"; then :
2015 ac_header_preproc
=yes
2017 ac_header_preproc
=no
2019 rm -f conftest.err conftest.i conftest.
$ac_ext
2020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2021 $as_echo "$ac_header_preproc" >&6; }
2023 # So? What about this header?
2024 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2026 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2027 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2028 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2029 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2032 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2033 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2034 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2035 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2036 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2037 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2038 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2039 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2040 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2041 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2042 ( $as_echo "## -------------------------------- ##
2043 ## Report this to saurik@saurik.com ##
2044 ## -------------------------------- ##"
2045 ) | sed "s/^/$as_me: WARNING: /" >&2
2048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2049 $as_echo_n "checking for $2... " >&6; }
2050 if eval \
${$3+:} false
; then :
2051 $as_echo_n "(cached) " >&6
2053 eval "$3=\$ac_header_compiler"
2056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2057 $as_echo "$ac_res" >&6; }
2059 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2061 } # ac_fn_cxx_check_header_mongrel
2063 # ac_fn_objcxx_try_link LINENO
2064 # ----------------------------
2065 # Try to link conftest.$ac_ext, and return whether this succeeded.
2066 ac_fn_objcxx_try_link
()
2068 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2069 rm -f conftest.
$ac_objext conftest
$ac_exeext
2070 if { { ac_try
="$ac_link"
2072 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
2073 *) ac_try_echo=$ac_try;;
2075 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2076 $as_echo "$ac_try_echo"; } >&5
2077 (eval "$ac_link") 2>conftest.err
2079 if test -s conftest.err; then
2080 grep -v '^ *+' conftest.err >conftest.er1
2081 cat conftest.er1 >&5
2082 mv -f conftest.er1 conftest.err
2084 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2085 test $ac_status = 0; } && {
2086 test -z "$ac_objcxx_werror_flag" ||
2087 test ! -s conftest.err
2088 } && test -s conftest$ac_exeext && {
2089 test "$cross_compiling" = yes ||
2090 test -x conftest$ac_exeext
2094 $as_echo "$as_me: failed program was:" >&5
2095 sed 's/^/| /' conftest.$ac_ext >&5
2099 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2100 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2101 # interfere with the next link command; also delete a directory that is
2102 # left behind by Apple's compiler. We do this before executing the actions.
2103 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2104 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2105 as_fn_set_status $ac_retval
2107 } # ac_fn_objcxx_try_link
2108 cat >config.log <<_ACEOF
2109 This file contains any messages produced by compilers while
2110 running configure, to aid debugging if configure makes a mistake.
2112 It was created by Cycript $as_me 0.9, which was
2113 generated by GNU Autoconf 2.69. Invocation command line was
2125 hostname = `(hostname
|| uname
-n) 2>/dev
/null
| sed 1q
`
2126 uname -m = `(uname
-m) 2>/dev
/null
|| echo unknown
`
2127 uname -r = `(uname
-r) 2>/dev
/null
|| echo unknown
`
2128 uname -s = `(uname
-s) 2>/dev
/null
|| echo unknown
`
2129 uname -v = `(uname
-v) 2>/dev
/null
|| echo unknown
`
2131 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null
|| echo unknown
`
2132 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null
|| echo unknown
`
2134 /bin/arch = `(/bin
/arch
) 2>/dev
/null
|| echo unknown
`
2135 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null
|| echo unknown
`
2136 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null
|| echo unknown
`
2137 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null
|| echo unknown
`
2138 /bin/machine = `(/bin
/machine
) 2>/dev
/null
|| echo unknown
`
2139 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null
|| echo unknown
`
2140 /bin/universe = `(/bin
/universe
) 2>/dev
/null
|| echo unknown
`
2144 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2148 test -z "$as_dir" && as_dir=.
2149 $as_echo "PATH: $as_dir"
2165 # Keep a trace of the command line.
2166 # Strip out --no-create and --no-recursion so they do not pile up.
2167 # Strip out --silent because we don't want to record it for future runs.
2168 # Also quote any args containing shell meta-characters.
2169 # Make two passes to allow for proper duplicate-argument suppression.
2173 ac_must_keep_next=false
2179 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2180 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2181 | -silent | --silent | --silen | --sile | --sil)
2184 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2187 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2189 as_fn_append ac_configure_args1 " '$ac_arg'"
2190 if test $ac_must_keep_next = true; then
2191 ac_must_keep_next=false # Got value, back to normal.
2194 *=* | --config-cache | -C | -disable-* | --disable-* \
2195 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2196 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2197 | -with-* | --with-* | -without-* | --without-* | --x)
2198 case "$ac_configure_args0 " in
2199 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2202 -* ) ac_must_keep_next=true ;;
2205 as_fn_append ac_configure_args " '$ac_arg'"
2210 { ac_configure_args0=; unset ac_configure_args0;}
2211 { ac_configure_args1=; unset ac_configure_args1;}
2213 # When interrupted or exit'd, cleanup temporary files, and complete
2214 # config.log. We remove comments because anyway the quotes in there
2215 # would cause problems or look ugly.
2216 # WARNING: Use '\'' to represent an apostrophe within the trap.
2217 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2218 trap 'exit_status=$?
2219 # Save into config.log some information that might help in debugging.
2223 $as_echo "## ---------------- ##
2224 ## Cache variables. ##
2225 ## ---------------- ##"
2227 # The following way of writing the cache mishandles newlines in values,
2229 for ac_var in `(set) 2>&1 | sed -n '\''s
/^\
([a
-zA-Z_][a
-zA-Z0-9_]*\
)=.
*/\
1/p
'\''`; do
2230 eval ac_val=\$$ac_var
2234 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2235 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2238 _ | IFS | as_nl) ;; #(
2239 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2240 *) { eval $ac_var=; unset $ac_var;} ;;
2245 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2246 *${as_nl}ac_space=\ *)
2248 "s/'\''/'\''\\\\'\'''\''/g;
2249 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2252 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2259 $as_echo "## ----------------- ##
2260 ## Output variables. ##
2261 ## ----------------- ##"
2263 for ac_var in $ac_subst_vars
2265 eval ac_val=\$$ac_var
2267 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2269 $as_echo "$ac_var='\''$ac_val'\''"
2273 if test -n "$ac_subst_files"; then
2274 $as_echo "## ------------------- ##
2275 ## File substitutions. ##
2276 ## ------------------- ##"
2278 for ac_var in $ac_subst_files
2280 eval ac_val=\$$ac_var
2282 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2284 $as_echo "$ac_var='\''$ac_val'\''"
2289 if test -s confdefs.h; then
2290 $as_echo "## ----------- ##
2297 test "$ac_signal" != 0 &&
2298 $as_echo "$as_me: caught signal $ac_signal"
2299 $as_echo "$as_me: exit $exit_status"
2301 rm -f core *.core core.conftest.* &&
2302 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2305 for ac_signal in 1 2 13 15; do
2306 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2310 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2311 rm -f -r conftest* confdefs.h
2313 $as_echo "/* confdefs.h */" > confdefs.h
2315 # Predefined preprocessor variables.
2317 cat >>confdefs.h <<_ACEOF
2318 #define PACKAGE_NAME "$PACKAGE_NAME"
2321 cat >>confdefs.h <<_ACEOF
2322 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2325 cat >>confdefs.h <<_ACEOF
2326 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2329 cat >>confdefs.h <<_ACEOF
2330 #define PACKAGE_STRING "$PACKAGE_STRING"
2333 cat >>confdefs.h <<_ACEOF
2334 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2337 cat >>confdefs.h <<_ACEOF
2338 #define PACKAGE_URL "$PACKAGE_URL"
2342 # Let the site file select an alternate cache file if it wants to.
2343 # Prefer an explicitly selected file to automatically selected ones.
2346 if test -n "$CONFIG_SITE"; then
2347 # We do not want a PATH search for config.site.
2348 case $CONFIG_SITE in #((
2349 -*) ac_site_file1=./$CONFIG_SITE;;
2350 */*) ac_site_file1=$CONFIG_SITE;;
2351 *) ac_site_file1=./$CONFIG_SITE;;
2353 elif test "x$prefix" != xNONE; then
2354 ac_site_file1=$prefix/share/config.site
2355 ac_site_file2=$prefix/etc/config.site
2357 ac_site_file1=$ac_default_prefix/share/config.site
2358 ac_site_file2=$ac_default_prefix/etc/config.site
2360 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2362 test "x$ac_site_file" = xNONE && continue
2363 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2364 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2365 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2366 sed 's/^/| /' "$ac_site_file" >&5
2368 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2369 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2370 as_fn_error $? "failed to load site
script $ac_site_file
2371 See \
`config.log' for more details" "$LINENO" 5; }
2375 if test -r "$cache_file"; then
2376 # Some versions of bash will fail to source /dev/null (special files
2377 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2378 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2379 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2380 $as_echo "$as_me: loading cache $cache_file" >&6;}
2382 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2383 *) . "./$cache_file";;
2387 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2388 $as_echo "$as_me: creating cache $cache_file" >&6;}
2392 # Check that the precious variables saved in the cache have kept the same
2394 ac_cache_corrupted=false
2395 for ac_var in $ac_precious_vars; do
2396 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2397 eval ac_new_set=\$ac_env_${ac_var}_set
2398 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2399 eval ac_new_val=\$ac_env_${ac_var}_value
2400 case $ac_old_set,$ac_new_set in
2402 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2403 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2404 ac_cache_corrupted=: ;;
2406 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2407 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2408 ac_cache_corrupted=: ;;
2411 if test "x$ac_old_val" != "x$ac_new_val"; then
2412 # differences in whitespace do not lead to failure.
2413 ac_old_val_w=`echo x
$ac_old_val`
2414 ac_new_val_w=`echo x
$ac_new_val`
2415 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2416 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2417 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2418 ac_cache_corrupted=:
2420 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2421 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2422 eval $ac_var=\$ac_old_val
2424 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2425 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2426 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2427 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2430 # Pass precious variables to config.status.
2431 if test "$ac_new_set" = set; then
2433 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2434 *) ac_arg=$ac_var=$ac_new_val ;;
2436 case " $ac_configure_args " in
2437 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2438 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2442 if $ac_cache_corrupted; then
2443 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2444 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2445 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2446 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2447 as_fn_error $? "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2449 ## -------------------- ##
2450 ## Main body of script. ##
2451 ## -------------------- ##
2454 ac_cpp='$CPP $CPPFLAGS'
2455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2456 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2457 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2460 #AC_CONFIG_MACRO_DIR([m4])
2463 for ac_dir in . "$srcdir"/.; do
2464 if test -f "$ac_dir/install-sh"; then
2466 ac_install_sh="$ac_aux_dir/install-sh -c"
2468 elif test -f "$ac_dir/install.sh"; then
2470 ac_install_sh="$ac_aux_dir/install.sh -c"
2472 elif test -f "$ac_dir/shtool"; then
2474 ac_install_sh="$ac_aux_dir/shtool install -c"
2478 if test -z "$ac_aux_dir"; then
2479 as_fn_error $? "cannot find install-sh, install.sh, or shtool in . \"$srcdir\"/." "$LINENO" 5
2482 # These three variables are undocumented and unsupported,
2483 # and are intended to be withdrawn in a future Autoconf release.
2484 # They can cause serious problems if a builder's source tree is in a directory
2485 # whose full name contains unusual characters.
2486 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2487 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2488 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2493 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&5
2494 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&2;} ;;
2499 macro_version='2.4.2'
2500 macro_revision='1.3337'
2514 ltmain="$ac_aux_dir/ltmain.sh"
2516 # Make sure we can run config.sub.
2517 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2518 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2521 $as_echo_n "checking build system type... " >&6; }
2522 if ${ac_cv_build+:} false; then :
2523 $as_echo_n "(cached) " >&6
2525 ac_build_alias=$build_alias
2526 test "x$ac_build_alias" = x &&
2527 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2528 test "x$ac_build_alias" = x &&
2529 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2530 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2531 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2535 $as_echo "$ac_cv_build" >&6; }
2536 case $ac_cv_build in
2538 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2541 ac_save_IFS=$IFS; IFS='-'
2547 # Remember, the first character of IFS is used to create $*,
2548 # except with old shells:
2551 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2555 $as_echo_n "checking host system type... " >&6; }
2556 if ${ac_cv_host+:} false; then :
2557 $as_echo_n "(cached) " >&6
2559 if test "x$host_alias" = x; then
2560 ac_cv_host=$ac_cv_build
2562 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2563 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2568 $as_echo "$ac_cv_host" >&6; }
2571 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2574 ac_save_IFS=$IFS; IFS='-'
2580 # Remember, the first character of IFS is used to create $*,
2581 # except with old shells:
2584 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2587 # Backslashify metacharacters that are still active within
2588 # double-quoted strings.
2589 sed_quote_subst='s/\(["`$
\\]\
)/\\\
1/g
'
2591 # Same as above, but do not quote variable references.
2592 double_quote_subst='s
/\
(["`\\]\)/\\\1/g'
2594 # Sed substitution to delay expansion of an escaped shell variable in a
2595 # double_quote_subst'ed string.
2596 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
2598 # Sed substitution to delay expansion of an escaped single quote.
2599 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
2601 # Sed substitution to avoid accidental globbing in evaled expressions
2602 no_glob_subst='s/\*/\\\*/g'
2604 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
2605 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
2606 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
2608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print
strings" >&5
2609 $as_echo_n "checking how to print
strings...
" >&6; }
2610 # Test print first, because it will be a builtin if present.
2611 if test "X
`( print -r -- -n ) 2>/dev/null`" = X-n && \
2612 test "X
`print -r -- $ECHO 2>/dev/null`" = "X
$ECHO"; then
2614 elif test "X
`printf %s $ECHO 2>/dev/null`" = "X
$ECHO"; then
2617 # Use this function as a fallback that always works.
2618 func_fallback_echo ()
2620 eval 'cat <<_LTECHO_EOF
2624 ECHO='func_fallback_echo'
2627 # func_echo_all arg...
2628 # Invoke $ECHO with all args, space-separated.
2635 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: printf" >&5
2636 $as_echo "printf" >&6; } ;;
2637 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: print
-r" >&5
2638 $as_echo "print
-r" >&6; } ;;
2639 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: cat" >&5
2640 $as_echo "cat" >&6; } ;;
2657 ac_cpp='$CPP $CPPFLAGS'
2658 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2659 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2660 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2661 if test -n "$ac_tool_prefix"; then
2662 # Extract the first word of "${ac_tool_prefix}gcc
", so it can be a program name with args.
2663 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
2665 $as_echo_n "checking
for $ac_word...
" >&6; }
2666 if ${ac_cv_prog_CC+:} false; then :
2667 $as_echo_n "(cached
) " >&6
2669 if test -n "$CC"; then
2670 ac_cv_prog_CC="$CC" # Let the user override the test.
2672 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2676 test -z "$as_dir" && as_dir=.
2677 for ac_exec_ext in '' $ac_executable_extensions; do
2678 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2679 ac_cv_prog_CC="${ac_tool_prefix}gcc
"
2680 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
2690 if test -n "$CC"; then
2691 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC" >&5
2692 $as_echo "$CC" >&6; }
2694 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
2695 $as_echo "no
" >&6; }
2700 if test -z "$ac_cv_prog_CC"; then
2702 # Extract the first word of "gcc
", so it can be a program name with args.
2703 set dummy gcc; ac_word=$2
2704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
2705 $as_echo_n "checking
for $ac_word...
" >&6; }
2706 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2707 $as_echo_n "(cached
) " >&6
2709 if test -n "$ac_ct_CC"; then
2710 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2712 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2716 test -z "$as_dir" && as_dir=.
2717 for ac_exec_ext in '' $ac_executable_extensions; do
2718 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2719 ac_cv_prog_ac_ct_CC="gcc
"
2720 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
2729 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2730 if test -n "$ac_ct_CC"; then
2731 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_CC" >&5
2732 $as_echo "$ac_ct_CC" >&6; }
2734 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
2735 $as_echo "no
" >&6; }
2738 if test "x
$ac_ct_CC" = x; then
2741 case $cross_compiling:$ac_tool_warned in
2743 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
2744 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
2745 ac_tool_warned=yes ;;
2753 if test -z "$CC"; then
2754 if test -n "$ac_tool_prefix"; then
2755 # Extract the first word of "${ac_tool_prefix}cc
", so it can be a program name with args.
2756 set dummy ${ac_tool_prefix}cc; ac_word=$2
2757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
2758 $as_echo_n "checking
for $ac_word...
" >&6; }
2759 if ${ac_cv_prog_CC+:} false; then :
2760 $as_echo_n "(cached
) " >&6
2762 if test -n "$CC"; then
2763 ac_cv_prog_CC="$CC" # Let the user override the test.
2765 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2769 test -z "$as_dir" && as_dir=.
2770 for ac_exec_ext in '' $ac_executable_extensions; do
2771 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2772 ac_cv_prog_CC="${ac_tool_prefix}cc
"
2773 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
2783 if test -n "$CC"; then
2784 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC" >&5
2785 $as_echo "$CC" >&6; }
2787 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
2788 $as_echo "no
" >&6; }
2794 if test -z "$CC"; then
2795 # Extract the first word of "cc
", so it can be a program name with args.
2796 set dummy cc; ac_word=$2
2797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
2798 $as_echo_n "checking
for $ac_word...
" >&6; }
2799 if ${ac_cv_prog_CC+:} false; then :
2800 $as_echo_n "(cached
) " >&6
2802 if test -n "$CC"; then
2803 ac_cv_prog_CC="$CC" # Let the user override the test.
2806 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2810 test -z "$as_dir" && as_dir=.
2811 for ac_exec_ext in '' $ac_executable_extensions; do
2812 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2813 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr
/ucb
/cc
"; then
2814 ac_prog_rejected=yes
2818 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
2825 if test $ac_prog_rejected = yes; then
2826 # We found a bogon in the path, so make sure we never use it.
2827 set dummy $ac_cv_prog_CC
2829 if test $# != 0; then
2830 # We chose a different compiler from the bogus one.
2831 # However, it has the same basename, so the bogon will be chosen
2832 # first if we set CC to just the basename; use the full file name.
2834 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@
"
2840 if test -n "$CC"; then
2841 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC" >&5
2842 $as_echo "$CC" >&6; }
2844 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
2845 $as_echo "no
" >&6; }
2850 if test -z "$CC"; then
2851 if test -n "$ac_tool_prefix"; then
2852 for ac_prog in cl.exe
2854 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2855 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
2857 $as_echo_n "checking
for $ac_word...
" >&6; }
2858 if ${ac_cv_prog_CC+:} false; then :
2859 $as_echo_n "(cached
) " >&6
2861 if test -n "$CC"; then
2862 ac_cv_prog_CC="$CC" # Let the user override the test.
2864 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2868 test -z "$as_dir" && as_dir=.
2869 for ac_exec_ext in '' $ac_executable_extensions; do
2870 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2871 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2872 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
2882 if test -n "$CC"; then
2883 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC" >&5
2884 $as_echo "$CC" >&6; }
2886 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
2887 $as_echo "no
" >&6; }
2891 test -n "$CC" && break
2894 if test -z "$CC"; then
2896 for ac_prog in cl.exe
2898 # Extract the first word of "$ac_prog", so it can be a program name with args.
2899 set dummy $ac_prog; ac_word=$2
2900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
2901 $as_echo_n "checking
for $ac_word...
" >&6; }
2902 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2903 $as_echo_n "(cached
) " >&6
2905 if test -n "$ac_ct_CC"; then
2906 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2908 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2912 test -z "$as_dir" && as_dir=.
2913 for ac_exec_ext in '' $ac_executable_extensions; do
2914 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2915 ac_cv_prog_ac_ct_CC="$ac_prog"
2916 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
2925 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2926 if test -n "$ac_ct_CC"; then
2927 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_CC" >&5
2928 $as_echo "$ac_ct_CC" >&6; }
2930 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
2931 $as_echo "no
" >&6; }
2935 test -n "$ac_ct_CC" && break
2938 if test "x
$ac_ct_CC" = x; then
2941 case $cross_compiling:$ac_tool_warned in
2943 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
2944 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
2945 ac_tool_warned=yes ;;
2954 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2955 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2956 as_fn_error $? "no acceptable C compiler found in \$PATH
2957 See \`config.log' for more details
" "$LINENO" 5; }
2959 # Provide some information about the compiler.
2960 $as_echo "$as_me:${as_lineno-$LINENO}: checking
for C compiler version
" >&5
2963 for ac_option in --version -v -V -qversion; do
2964 { { ac_try="$ac_compiler $ac_option >&5"
2966 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2967 *) ac_try_echo=$ac_try;;
2969 eval ac_try_echo="\"\
$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2970 $as_echo "$ac_try_echo"; } >&5
2971 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2973 if test -s conftest.err; then
2975 ... rest of stderr output deleted ...
2976 10q' conftest.err >conftest.er1
2977 cat conftest.er1 >&5
2979 rm -f conftest.er1 conftest.err
2980 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
2981 test $ac_status = 0; }
2984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2985 /* end confdefs.h. */
2995 ac_clean_files_save=$ac_clean_files
2996 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out
"
2997 # Try to create an executable without -o first, disregard a.out.
2998 # It will help us diagnose broken compilers, and finding out an intuition
3000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works
" >&5
3001 $as_echo_n "checking whether the C compiler works...
" >&6; }
3002 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3004 # The possible output files:
3005 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.
*"
3008 for ac_file in $ac_files
3011 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3012 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3017 if { { ac_try="$ac_link_default"
3019 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3020 *) ac_try_echo=$ac_try;;
3022 eval ac_try_echo="\"\
$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3023 $as_echo "$ac_try_echo"; } >&5
3024 (eval "$ac_link_default") 2>&5
3026 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
3027 test $ac_status = 0; }; then :
3028 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3029 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3030 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3031 # so that the user can short-circuit this test for compilers unknown to
3033 for ac_file in $ac_files ''
3035 test -f "$ac_file" || continue
3037 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3040 # We found the default executable, but exeext='' is most
3044 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3046 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3048 # We set ac_cv_exeext here because the later test for it is not
3049 # safe: cross compilers may not add the suffix if given an `-o'
3050 # argument, so we may need to know it at that point already.
3051 # Even if this section looks crufty: it has the advantage of
3058 test "$ac_cv_exeext" = no && ac_cv_exeext=
3063 if test -z "$ac_file"; then :
3064 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
3065 $as_echo "no
" >&6; }
3066 $as_echo "$as_me: failed program was
:" >&5
3067 sed 's/^/| /' conftest.$ac_ext >&5
3069 { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
3070 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3071 as_fn_error 77 "C compiler cannot create executables
3072 See \`config.log' for more details
" "$LINENO" 5; }
3074 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
3075 $as_echo "yes" >&6; }
3077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for C compiler default output
file name
" >&5
3078 $as_echo_n "checking
for C compiler default output
file name...
" >&6; }
3079 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_file" >&5
3080 $as_echo "$ac_file" >&6; }
3081 ac_exeext=$ac_cv_exeext
3083 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3084 ac_clean_files=$ac_clean_files_save
3085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for suffix of executables
" >&5
3086 $as_echo_n "checking
for suffix of executables...
" >&6; }
3087 if { { ac_try="$ac_link"
3089 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3090 *) ac_try_echo=$ac_try;;
3092 eval ac_try_echo="\"\
$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3093 $as_echo "$ac_try_echo"; } >&5
3094 (eval "$ac_link") 2>&5
3096 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
3097 test $ac_status = 0; }; then :
3098 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3099 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3100 # work properly (i.e., refer to `conftest.exe'), while it won't with
3102 for ac_file in conftest.exe conftest conftest.*; do
3103 test -f "$ac_file" || continue
3105 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3106 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3112 { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
3113 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3114 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3115 See \`config.log' for more details
" "$LINENO" 5; }
3117 rm -f conftest conftest$ac_cv_exeext
3118 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_exeext" >&5
3119 $as_echo "$ac_cv_exeext" >&6; }
3121 rm -f conftest.$ac_ext
3122 EXEEXT=$ac_cv_exeext
3124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3125 /* end confdefs.h. */
3130 FILE *f = fopen ("conftest.out
", "w
");
3131 return ferror (f) || fclose (f) != 0;
3137 ac_clean_files="$ac_clean_files conftest.out
"
3138 # Check that the compiler produces executables we can run. If not, either
3139 # the compiler is broken, or we cross compile.
3140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling
" >&5
3141 $as_echo_n "checking whether we are cross compiling...
" >&6; }
3142 if test "$cross_compiling" != yes; then
3143 { { ac_try="$ac_link"
3145 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3146 *) ac_try_echo=$ac_try;;
3148 eval ac_try_echo="\"\
$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3149 $as_echo "$ac_try_echo"; } >&5
3150 (eval "$ac_link") 2>&5
3152 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
3153 test $ac_status = 0; }
3154 if { ac_try='./conftest$ac_cv_exeext'
3155 { { case "(($ac_try" in
3156 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3157 *) ac_try_echo=$ac_try;;
3159 eval ac_try_echo="\"\
$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3160 $as_echo "$ac_try_echo"; } >&5
3161 (eval "$ac_try") 2>&5
3163 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
3164 test $ac_status = 0; }; }; then
3167 if test "$cross_compiling" = maybe; then
3170 { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
3171 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3172 as_fn_error $? "cannot run C compiled programs.
3173 If you meant to cross compile, use \`--host'.
3174 See \
`config.log' for more details" "$LINENO" 5; }
3178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3179 $as_echo "$cross_compiling" >&6; }
3181 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3182 ac_clean_files=$ac_clean_files_save
3183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3184 $as_echo_n "checking for suffix of object files... " >&6; }
3185 if ${ac_cv_objext+:} false; then :
3186 $as_echo_n "(cached) " >&6
3188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3189 /* end confdefs.h. */
3199 rm -f conftest.o conftest.obj
3200 if { { ac_try="$ac_compile"
3202 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
3203 *) ac_try_echo
=$ac_try;;
3205 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3206 $as_echo "$ac_try_echo"; } >&5
3207 (eval "$ac_compile") 2>&5
3209 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3210 test $ac_status = 0; }; then :
3211 for ac_file
in conftest.o conftest.obj conftest.
*; do
3212 test -f "$ac_file" || continue;
3214 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.dSYM
) ;;
3215 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
3220 $as_echo "$as_me: failed program was:" >&5
3221 sed 's/^/| /' conftest.
$ac_ext >&5
3223 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3224 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3225 as_fn_error $?
"cannot compute suffix of object files: cannot compile
3226 See \`config.log' for more details" "$LINENO" 5; }
3228 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
3230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3231 $as_echo "$ac_cv_objext" >&6; }
3232 OBJEXT
=$ac_cv_objext
3234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3235 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3236 if ${ac_cv_c_compiler_gnu+:} false
; then :
3237 $as_echo_n "(cached) " >&6
3239 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3240 /* end confdefs.h. */
3253 if ac_fn_c_try_compile
"$LINENO"; then :
3258 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3259 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
3262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3263 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3264 if test $ac_compiler_gnu = yes; then
3269 ac_test_CFLAGS
=${CFLAGS+set}
3270 ac_save_CFLAGS
=$CFLAGS
3271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3272 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3273 if ${ac_cv_prog_cc_g+:} false
; then :
3274 $as_echo_n "(cached) " >&6
3276 ac_save_c_werror_flag
=$ac_c_werror_flag
3277 ac_c_werror_flag
=yes
3280 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3281 /* end confdefs.h. */
3291 if ac_fn_c_try_compile
"$LINENO"; then :
3295 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3296 /* end confdefs.h. */
3306 if ac_fn_c_try_compile
"$LINENO"; then :
3309 ac_c_werror_flag
=$ac_save_c_werror_flag
3311 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3312 /* end confdefs.h. */
3322 if ac_fn_c_try_compile
"$LINENO"; then :
3325 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3327 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3329 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3330 ac_c_werror_flag
=$ac_save_c_werror_flag
3332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3333 $as_echo "$ac_cv_prog_cc_g" >&6; }
3334 if test "$ac_test_CFLAGS" = set; then
3335 CFLAGS
=$ac_save_CFLAGS
3336 elif test $ac_cv_prog_cc_g = yes; then
3337 if test "$GCC" = yes; then
3343 if test "$GCC" = yes; then
3349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3350 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3351 if ${ac_cv_prog_cc_c89+:} false
; then :
3352 $as_echo_n "(cached) " >&6
3354 ac_cv_prog_cc_c89
=no
3356 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3357 /* end confdefs.h. */
3361 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3362 struct buf { int x; };
3363 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3364 static char *e (p, i)
3370 static char *f (char * (*g) (char **, int), char **p, ...)
3375 s = g (p, va_arg (v,int));
3380 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3381 function prototypes and stuff, but not '\xHH' hex character constants.
3382 These don't provoke an error unfortunately, instead are silently treated
3383 as 'x'. The following induces an error, until -std is added to get
3384 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3385 array size at least. It's necessary to write '\x00'==0 to get something
3386 that's true only with -std. */
3387 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3389 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3390 inside strings and character constants. */
3392 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3394 int test (int i, double x);
3395 struct s1 {int (*f) (int a);};
3396 struct s2 {int (*f) (double a);};
3397 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3403 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3408 for ac_arg
in '' -qlanglvl=extc89
-qlanglvl=ansi
-std \
3409 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3411 CC
="$ac_save_CC $ac_arg"
3412 if ac_fn_c_try_compile
"$LINENO"; then :
3413 ac_cv_prog_cc_c89
=$ac_arg
3415 rm -f core conftest.err conftest.
$ac_objext
3416 test "x$ac_cv_prog_cc_c89" != "xno" && break
3418 rm -f conftest.
$ac_ext
3423 case "x$ac_cv_prog_cc_c89" in
3425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3426 $as_echo "none needed" >&6; } ;;
3428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3429 $as_echo "unsupported" >&6; } ;;
3431 CC
="$CC $ac_cv_prog_cc_c89"
3432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3433 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3435 if test "x$ac_cv_prog_cc_c89" != xno
; then :
3440 ac_cpp
='$CPP $CPPFLAGS'
3441 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3442 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3443 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
3446 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
3447 if ${ac_cv_path_SED+:} false
; then :
3448 $as_echo_n "(cached) " >&6
3450 ac_script
=s
/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
/
3451 for ac_i
in 1 2 3 4 5 6 7; do
3452 ac_script
="$ac_script$as_nl$ac_script"
3454 echo "$ac_script" 2>/dev
/null
| sed 99q
>conftest.
sed
3455 { ac_script
=; unset ac_script
;}
3456 if test -z "$SED"; then
3457 ac_path_SED_found
=false
3458 # Loop through the user's path and test for each of PROGNAME-LIST
3459 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3463 test -z "$as_dir" && as_dir
=.
3464 for ac_prog
in sed gsed
; do
3465 for ac_exec_ext
in '' $ac_executable_extensions; do
3466 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
3467 as_fn_executable_p
"$ac_path_SED" || continue
3468 # Check for GNU ac_path_SED and select it if it is found.
3469 # Check for GNU $ac_path_SED
3470 case `"$ac_path_SED" --version 2>&1` in
3472 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
3475 $as_echo_n 0123456789 >"conftest.in"
3478 cat "conftest.in" "conftest.in" >"conftest.tmp"
3479 mv "conftest.tmp" "conftest.in"
3480 cp "conftest.in" "conftest.nl"
3481 $as_echo '' >> "conftest.nl"
3482 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
3483 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
3484 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3485 if test $ac_count -gt ${ac_path_SED_max-0}; then
3486 # Best one so far, save it but keep looking for a better one
3487 ac_cv_path_SED
="$ac_path_SED"
3488 ac_path_SED_max
=$ac_count
3490 # 10*(2^10) chars as input seems more than enough
3491 test $ac_count -gt 10 && break
3493 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3496 $ac_path_SED_found && break 3
3501 if test -z "$ac_cv_path_SED"; then
3502 as_fn_error $?
"no acceptable sed could be found in \$PATH" "$LINENO" 5
3509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
3510 $as_echo "$ac_cv_path_SED" >&6; }
3511 SED
="$ac_cv_path_SED"
3514 test -z "$SED" && SED
=sed
3515 Xsed
="$SED -e 1s/^X//"
3527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3528 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3529 if ${ac_cv_path_GREP+:} false
; then :
3530 $as_echo_n "(cached) " >&6
3532 if test -z "$GREP"; then
3533 ac_path_GREP_found
=false
3534 # Loop through the user's path and test for each of PROGNAME-LIST
3535 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3536 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3539 test -z "$as_dir" && as_dir
=.
3540 for ac_prog
in grep ggrep
; do
3541 for ac_exec_ext
in '' $ac_executable_extensions; do
3542 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
3543 as_fn_executable_p
"$ac_path_GREP" || continue
3544 # Check for GNU ac_path_GREP and select it if it is found.
3545 # Check for GNU $ac_path_GREP
3546 case `"$ac_path_GREP" --version 2>&1` in
3548 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
3551 $as_echo_n 0123456789 >"conftest.in"
3554 cat "conftest.in" "conftest.in" >"conftest.tmp"
3555 mv "conftest.tmp" "conftest.in"
3556 cp "conftest.in" "conftest.nl"
3557 $as_echo 'GREP' >> "conftest.nl"
3558 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
3559 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
3560 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3561 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3562 # Best one so far, save it but keep looking for a better one
3563 ac_cv_path_GREP
="$ac_path_GREP"
3564 ac_path_GREP_max
=$ac_count
3566 # 10*(2^10) chars as input seems more than enough
3567 test $ac_count -gt 10 && break
3569 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3572 $ac_path_GREP_found && break 3
3577 if test -z "$ac_cv_path_GREP"; then
3578 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3581 ac_cv_path_GREP
=$GREP
3585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3586 $as_echo "$ac_cv_path_GREP" >&6; }
3587 GREP
="$ac_cv_path_GREP"
3590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3591 $as_echo_n "checking for egrep... " >&6; }
3592 if ${ac_cv_path_EGREP+:} false
; then :
3593 $as_echo_n "(cached) " >&6
3595 if echo a
| $GREP -E '(a|b)' >/dev
/null
2>&1
3596 then ac_cv_path_EGREP
="$GREP -E"
3598 if test -z "$EGREP"; then
3599 ac_path_EGREP_found
=false
3600 # Loop through the user's path and test for each of PROGNAME-LIST
3601 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3602 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3605 test -z "$as_dir" && as_dir
=.
3606 for ac_prog
in egrep; do
3607 for ac_exec_ext
in '' $ac_executable_extensions; do
3608 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
3609 as_fn_executable_p
"$ac_path_EGREP" || continue
3610 # Check for GNU ac_path_EGREP and select it if it is found.
3611 # Check for GNU $ac_path_EGREP
3612 case `"$ac_path_EGREP" --version 2>&1` in
3614 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
3617 $as_echo_n 0123456789 >"conftest.in"
3620 cat "conftest.in" "conftest.in" >"conftest.tmp"
3621 mv "conftest.tmp" "conftest.in"
3622 cp "conftest.in" "conftest.nl"
3623 $as_echo 'EGREP' >> "conftest.nl"
3624 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
3625 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
3626 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3627 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3628 # Best one so far, save it but keep looking for a better one
3629 ac_cv_path_EGREP
="$ac_path_EGREP"
3630 ac_path_EGREP_max
=$ac_count
3632 # 10*(2^10) chars as input seems more than enough
3633 test $ac_count -gt 10 && break
3635 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3638 $ac_path_EGREP_found && break 3
3643 if test -z "$ac_cv_path_EGREP"; then
3644 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3647 ac_cv_path_EGREP
=$EGREP
3652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3653 $as_echo "$ac_cv_path_EGREP" >&6; }
3654 EGREP
="$ac_cv_path_EGREP"
3657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
3658 $as_echo_n "checking for fgrep... " >&6; }
3659 if ${ac_cv_path_FGREP+:} false
; then :
3660 $as_echo_n "(cached) " >&6
3662 if echo 'ab*c' | $GREP -F 'ab*c' >/dev
/null
2>&1
3663 then ac_cv_path_FGREP
="$GREP -F"
3665 if test -z "$FGREP"; then
3666 ac_path_FGREP_found
=false
3667 # Loop through the user's path and test for each of PROGNAME-LIST
3668 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3669 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3672 test -z "$as_dir" && as_dir
=.
3673 for ac_prog
in fgrep
; do
3674 for ac_exec_ext
in '' $ac_executable_extensions; do
3675 ac_path_FGREP
="$as_dir/$ac_prog$ac_exec_ext"
3676 as_fn_executable_p
"$ac_path_FGREP" || continue
3677 # Check for GNU ac_path_FGREP and select it if it is found.
3678 # Check for GNU $ac_path_FGREP
3679 case `"$ac_path_FGREP" --version 2>&1` in
3681 ac_cv_path_FGREP
="$ac_path_FGREP" ac_path_FGREP_found
=:;;
3684 $as_echo_n 0123456789 >"conftest.in"
3687 cat "conftest.in" "conftest.in" >"conftest.tmp"
3688 mv "conftest.tmp" "conftest.in"
3689 cp "conftest.in" "conftest.nl"
3690 $as_echo 'FGREP' >> "conftest.nl"
3691 "$ac_path_FGREP" FGREP
< "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
3692 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
3693 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3694 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
3695 # Best one so far, save it but keep looking for a better one
3696 ac_cv_path_FGREP
="$ac_path_FGREP"
3697 ac_path_FGREP_max
=$ac_count
3699 # 10*(2^10) chars as input seems more than enough
3700 test $ac_count -gt 10 && break
3702 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3705 $ac_path_FGREP_found && break 3
3710 if test -z "$ac_cv_path_FGREP"; then
3711 as_fn_error $?
"no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3714 ac_cv_path_FGREP
=$FGREP
3719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
3720 $as_echo "$ac_cv_path_FGREP" >&6; }
3721 FGREP
="$ac_cv_path_FGREP"
3724 test -z "$GREP" && GREP
=grep
3744 # Check whether --with-gnu-ld was given.
3745 if test "${with_gnu_ld+set}" = set; then :
3746 withval
=$with_gnu_ld; test "$withval" = no
|| with_gnu_ld
=yes
3752 if test "$GCC" = yes; then
3753 # Check if gcc -print-prog-name=ld gives a path.
3754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
3755 $as_echo_n "checking for ld used by $CC... " >&6; }
3758 # gcc leaves a trailing carriage return which upsets mingw
3759 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3761 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
3764 # Accept absolute paths.
3766 re_direlt
='/[^/][^/]*/\.\./'
3767 # Canonicalize the pathname of ld
3768 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
3769 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev
/null
2>&1; do
3770 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
3772 test -z "$LD" && LD
="$ac_prog"
3775 # If it fails, then pretend we aren't using GCC.
3779 # If it is relative, then search for the first ld in PATH.
3783 elif test "$with_gnu_ld" = yes; then
3784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
3785 $as_echo_n "checking for GNU ld... " >&6; }
3787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
3788 $as_echo_n "checking for non-GNU ld... " >&6; }
3790 if ${lt_cv_path_LD+:} false
; then :
3791 $as_echo_n "(cached) " >&6
3793 if test -z "$LD"; then
3794 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
3795 for ac_dir
in $PATH; do
3797 test -z "$ac_dir" && ac_dir
=.
3798 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
3799 lt_cv_path_LD
="$ac_dir/$ac_prog"
3800 # Check to see if the program is GNU ld. I'd rather use --version,
3801 # but apparently some variants of GNU ld only accept -v.
3802 # Break only if it was the GNU/non-GNU ld that we prefer.
3803 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
3804 *GNU
* | *'with BFD'*)
3805 test "$with_gnu_ld" != no
&& break
3808 test "$with_gnu_ld" != yes && break
3815 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
3820 if test -n "$LD"; then
3821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
3822 $as_echo "$LD" >&6; }
3824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3825 $as_echo "no" >&6; }
3827 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
3828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
3829 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
3830 if ${lt_cv_prog_gnu_ld+:} false
; then :
3831 $as_echo_n "(cached) " >&6
3833 # I'd rather use --version here, but apparently some GNU lds only accept -v.
3834 case `$LD -v 2>&1 </dev/null` in
3835 *GNU
* | *'with BFD'*)
3836 lt_cv_prog_gnu_ld
=yes
3839 lt_cv_prog_gnu_ld
=no
3843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
3844 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
3845 with_gnu_ld
=$lt_cv_prog_gnu_ld
3855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
3856 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
3857 if ${lt_cv_path_NM+:} false
; then :
3858 $as_echo_n "(cached) " >&6
3860 if test -n "$NM"; then
3861 # Let the user override the test.
3864 lt_nm_to_check
="${ac_tool_prefix}nm"
3865 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
3866 lt_nm_to_check
="$lt_nm_to_check nm"
3868 for lt_tmp_nm
in $lt_nm_to_check; do
3869 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
3870 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
3872 test -z "$ac_dir" && ac_dir
=.
3873 tmp_nm
="$ac_dir/$lt_tmp_nm"
3874 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
3875 # Check to see if the nm accepts a BSD-compat flag.
3876 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
3877 # nm: unknown option "B" ignored
3878 # Tru64's nm complains that /dev/null is an invalid object file
3879 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
3880 */dev
/null
* | *'Invalid file or object type'*)
3881 lt_cv_path_NM
="$tmp_nm -B"
3885 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
3887 lt_cv_path_NM
="$tmp_nm -p"
3891 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
3892 continue # so that we can try to find one that supports BSD flags
3901 : ${lt_cv_path_NM=no}
3904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
3905 $as_echo "$lt_cv_path_NM" >&6; }
3906 if test "$lt_cv_path_NM" != "no"; then
3909 # Didn't find any BSD compatible name lister, look for dumpbin.
3910 if test -n "$DUMPBIN"; then :
3911 # Let the user override the test.
3913 if test -n "$ac_tool_prefix"; then
3914 for ac_prog
in dumpbin
"link -dump"
3916 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3917 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3919 $as_echo_n "checking for $ac_word... " >&6; }
3920 if ${ac_cv_prog_DUMPBIN+:} false
; then :
3921 $as_echo_n "(cached) " >&6
3923 if test -n "$DUMPBIN"; then
3924 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
3926 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3930 test -z "$as_dir" && as_dir
=.
3931 for ac_exec_ext
in '' $ac_executable_extensions; do
3932 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3933 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
3934 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3943 DUMPBIN
=$ac_cv_prog_DUMPBIN
3944 if test -n "$DUMPBIN"; then
3945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
3946 $as_echo "$DUMPBIN" >&6; }
3948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3949 $as_echo "no" >&6; }
3953 test -n "$DUMPBIN" && break
3956 if test -z "$DUMPBIN"; then
3957 ac_ct_DUMPBIN
=$DUMPBIN
3958 for ac_prog
in dumpbin
"link -dump"
3960 # Extract the first word of "$ac_prog", so it can be a program name with args.
3961 set dummy
$ac_prog; ac_word
=$2
3962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3963 $as_echo_n "checking for $ac_word... " >&6; }
3964 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false
; then :
3965 $as_echo_n "(cached) " >&6
3967 if test -n "$ac_ct_DUMPBIN"; then
3968 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
3970 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3974 test -z "$as_dir" && as_dir
=.
3975 for ac_exec_ext
in '' $ac_executable_extensions; do
3976 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3977 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
3978 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3987 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
3988 if test -n "$ac_ct_DUMPBIN"; then
3989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
3990 $as_echo "$ac_ct_DUMPBIN" >&6; }
3992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3993 $as_echo "no" >&6; }
3997 test -n "$ac_ct_DUMPBIN" && break
4000 if test "x$ac_ct_DUMPBIN" = x
; then
4003 case $cross_compiling:$ac_tool_warned in
4005 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4006 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4007 ac_tool_warned
=yes ;;
4009 DUMPBIN
=$ac_ct_DUMPBIN
4013 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
4015 DUMPBIN
="$DUMPBIN -symbols"
4023 if test "$DUMPBIN" != ":"; then
4027 test -z "$NM" && NM
=nm
4034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4035 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
4036 if ${lt_cv_nm_interface+:} false
; then :
4037 $as_echo_n "(cached) " >&6
4039 lt_cv_nm_interface
="BSD nm"
4040 echo "int some_variable = 0;" > conftest.
$ac_ext
4041 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
4042 (eval "$ac_compile" 2>conftest.err
)
4043 cat conftest.err
>&5
4044 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4045 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
4046 cat conftest.err
>&5
4047 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
4048 cat conftest.out
>&5
4049 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
4050 lt_cv_nm_interface
="MS dumpbin"
4054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4055 $as_echo "$lt_cv_nm_interface" >&6; }
4057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4058 $as_echo_n "checking whether ln -s works... " >&6; }
4060 if test "$LN_S" = "ln -s"; then
4061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4062 $as_echo "yes" >&6; }
4064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4065 $as_echo "no, using $LN_S" >&6; }
4068 # find the maximum length of command line arguments
4069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4070 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
4071 if ${lt_cv_sys_max_cmd_len+:} false
; then :
4072 $as_echo_n "(cached) " >&6
4079 # On DJGPP, this test can blow up pretty badly due to problems in libc
4080 # (any single argument exceeding 2000 bytes causes a buffer overrun
4081 # during glob expansion). Even if it were fixed, the result of this
4082 # check would be larger than it should be.
4083 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
4087 # Under GNU Hurd, this test is not required because there is
4088 # no limit to the length of command line arguments.
4089 # Libtool will interpret -1 as no limit whatsoever
4090 lt_cv_sys_max_cmd_len
=-1;
4093 cygwin
* | mingw
* | cegcc
*)
4094 # On Win9x/ME, this test blows up -- it succeeds, but takes
4095 # about 5 minutes as the teststring grows exponentially.
4096 # Worse, since 9x/ME are not pre-emptively multitasking,
4097 # you end up with a "frozen" computer, even though with patience
4098 # the test eventually succeeds (with a max line length of 256k).
4099 # Instead, let's just punt: use the minimum linelength reported by
4100 # all of the supported platforms: 8192 (on NT/2K/XP).
4101 lt_cv_sys_max_cmd_len
=8192;
4105 # On MiNT this can take a long time and run out of memory.
4106 lt_cv_sys_max_cmd_len
=8192;
4110 # On AmigaOS with pdksh, this test takes hours, literally.
4111 # So we just punt and use a minimum line length of 8192.
4112 lt_cv_sys_max_cmd_len
=8192;
4115 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
4116 # This has been around since 386BSD, at least. Likely further.
4117 if test -x /sbin
/sysctl
; then
4118 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
4119 elif test -x /usr
/sbin
/sysctl
; then
4120 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
4122 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
4124 # And add a safety zone
4125 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
4126 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
4130 # We know the value 262144 and hardcode it with a safety zone (like BSD)
4131 lt_cv_sys_max_cmd_len
=196608
4135 # The test takes a long time on OS/2.
4136 lt_cv_sys_max_cmd_len
=8192
4140 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4141 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4142 # nice to cause kernel panics so lets avoid the loop below.
4143 # First set a reasonable default.
4144 lt_cv_sys_max_cmd_len
=16384
4146 if test -x /sbin
/sysconfig
; then
4147 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4148 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
4153 lt_cv_sys_max_cmd_len
=102400
4155 sysv5
* | sco5v6
* | sysv4.2uw2
*)
4156 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4157 if test -n "$kargmax"; then
4158 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
4160 lt_cv_sys_max_cmd_len
=32768
4164 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
4165 if test -n "$lt_cv_sys_max_cmd_len"; then
4166 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
4167 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
4169 # Make teststring a little bigger before we do anything with it.
4170 # a 1K string should be a reasonable start.
4171 for i
in 1 2 3 4 5 6 7 8 ; do
4172 teststring
=$teststring$teststring
4174 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
4175 # If test is not a shell built-in, we'll probably end up computing a
4176 # maximum length that is only half of the actual maximum length, but
4178 while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
4179 = "X$teststring$teststring"; } >/dev
/null
2>&1 &&
4180 test $i != 17 # 1/2 MB should be enough
4183 teststring
=$teststring$teststring
4185 # Only check the string length outside the loop.
4186 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
4188 # Add a significant safety factor because C++ compilers can tack on
4189 # massive amounts of additional arguments before passing them to the
4190 # linker. It appears as though 1/2 is a usable value.
4191 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
4198 if test -n $lt_cv_sys_max_cmd_len ; then
4199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
4200 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
4202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
4203 $as_echo "none" >&6; }
4205 max_cmd_len
=$lt_cv_sys_max_cmd_len
4216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
4217 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
4218 # Try some XSI features
4221 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
4223 && eval 'test $(( 1 + 1 )) -eq 2 \
4224 && test "${#_lt_dummy}" -eq 5' ) >/dev
/null
2>&1 \
4226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
4227 $as_echo "$xsi_shell" >&6; }
4230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
4231 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
4233 ( foo
=bar
; set foo baz
; eval "$1+=\$2" && test "$foo" = barbaz
) \
4235 && lt_shell_append
=yes
4236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
4237 $as_echo "$lt_shell_append" >&6; }
4240 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
4250 # test EBCDIC or ASCII
4251 case `echo X|tr X '\101'` in
4252 A
) # ASCII based system
4253 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4254 lt_SP2NL
='tr \040 \012'
4255 lt_NL2SP
='tr \015\012 \040\040'
4257 *) # EBCDIC based system
4258 lt_SP2NL
='tr \100 \n'
4259 lt_NL2SP
='tr \r\n \100\100'
4271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
4272 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
4273 if ${lt_cv_to_host_file_cmd+:} false
; then :
4274 $as_echo_n "(cached) " >&6
4279 *-*-mingw* ) # actually msys
4280 lt_cv_to_host_file_cmd
=func_convert_file_msys_to_w32
4283 lt_cv_to_host_file_cmd
=func_convert_file_cygwin_to_w32
4285 * ) # otherwise, assume *nix
4286 lt_cv_to_host_file_cmd
=func_convert_file_nix_to_w32
4292 *-*-mingw* ) # actually msys
4293 lt_cv_to_host_file_cmd
=func_convert_file_msys_to_cygwin
4296 lt_cv_to_host_file_cmd
=func_convert_file_noop
4298 * ) # otherwise, assume *nix
4299 lt_cv_to_host_file_cmd
=func_convert_file_nix_to_cygwin
4303 * ) # unhandled hosts (and "normal" native builds)
4304 lt_cv_to_host_file_cmd
=func_convert_file_noop
4310 to_host_file_cmd
=$lt_cv_to_host_file_cmd
4311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
4312 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
4318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
4319 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
4320 if ${lt_cv_to_tool_file_cmd+:} false
; then :
4321 $as_echo_n "(cached) " >&6
4323 #assume ordinary cross tools, or native build.
4324 lt_cv_to_tool_file_cmd
=func_convert_file_noop
4328 *-*-mingw* ) # actually msys
4329 lt_cv_to_tool_file_cmd
=func_convert_file_msys_to_w32
4337 to_tool_file_cmd
=$lt_cv_to_tool_file_cmd
4338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
4339 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
4345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
4346 $as_echo_n "checking for $LD option to reload object files... " >&6; }
4347 if ${lt_cv_ld_reload_flag+:} false
; then :
4348 $as_echo_n "(cached) " >&6
4350 lt_cv_ld_reload_flag
='-r'
4352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
4353 $as_echo "$lt_cv_ld_reload_flag" >&6; }
4354 reload_flag
=$lt_cv_ld_reload_flag
4355 case $reload_flag in
4357 *) reload_flag
=" $reload_flag" ;;
4359 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
4361 cygwin
* | mingw
* | pw32
* | cegcc
*)
4362 if test "$GCC" != yes; then
4367 if test "$GCC" = yes; then
4368 reload_cmds
='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4370 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
4383 if test -n "$ac_tool_prefix"; then
4384 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
4385 set dummy
${ac_tool_prefix}objdump
; ac_word
=$2
4386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4387 $as_echo_n "checking for $ac_word... " >&6; }
4388 if ${ac_cv_prog_OBJDUMP+:} false
; then :
4389 $as_echo_n "(cached) " >&6
4391 if test -n "$OBJDUMP"; then
4392 ac_cv_prog_OBJDUMP
="$OBJDUMP" # Let the user override the test.
4394 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4398 test -z "$as_dir" && as_dir
=.
4399 for ac_exec_ext
in '' $ac_executable_extensions; do
4400 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4401 ac_cv_prog_OBJDUMP
="${ac_tool_prefix}objdump"
4402 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4411 OBJDUMP
=$ac_cv_prog_OBJDUMP
4412 if test -n "$OBJDUMP"; then
4413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
4414 $as_echo "$OBJDUMP" >&6; }
4416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4417 $as_echo "no" >&6; }
4422 if test -z "$ac_cv_prog_OBJDUMP"; then
4423 ac_ct_OBJDUMP
=$OBJDUMP
4424 # Extract the first word of "objdump", so it can be a program name with args.
4425 set dummy objdump
; ac_word
=$2
4426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4427 $as_echo_n "checking for $ac_word... " >&6; }
4428 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false
; then :
4429 $as_echo_n "(cached) " >&6
4431 if test -n "$ac_ct_OBJDUMP"; then
4432 ac_cv_prog_ac_ct_OBJDUMP
="$ac_ct_OBJDUMP" # Let the user override the test.
4434 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4438 test -z "$as_dir" && as_dir
=.
4439 for ac_exec_ext
in '' $ac_executable_extensions; do
4440 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4441 ac_cv_prog_ac_ct_OBJDUMP
="objdump"
4442 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4451 ac_ct_OBJDUMP
=$ac_cv_prog_ac_ct_OBJDUMP
4452 if test -n "$ac_ct_OBJDUMP"; then
4453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
4454 $as_echo "$ac_ct_OBJDUMP" >&6; }
4456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4457 $as_echo "no" >&6; }
4460 if test "x$ac_ct_OBJDUMP" = x
; then
4463 case $cross_compiling:$ac_tool_warned in
4465 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4466 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4467 ac_tool_warned
=yes ;;
4469 OBJDUMP
=$ac_ct_OBJDUMP
4472 OBJDUMP
="$ac_cv_prog_OBJDUMP"
4475 test -z "$OBJDUMP" && OBJDUMP
=objdump
4485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
4486 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
4487 if ${lt_cv_deplibs_check_method+:} false
; then :
4488 $as_echo_n "(cached) " >&6
4490 lt_cv_file_magic_cmd
='$MAGIC_CMD'
4491 lt_cv_file_magic_test_file
=
4492 lt_cv_deplibs_check_method
='unknown'
4493 # Need to set the preceding variable on all platforms that support
4494 # interlibrary dependencies.
4495 # 'none' -- dependencies not supported.
4496 # `unknown' -- same as none, but documents that we really don't know.
4497 # 'pass_all' -- all dependencies passed with no checks.
4498 # 'test_compile' -- check by making test program.
4499 # 'file_magic [[regex]]' -- check by looking for files in library path
4500 # which responds to the $file_magic_cmd with a given extended regex.
4501 # If you have `file' or equivalent on your system and you're not sure
4502 # whether `pass_all' will *always* work, you probably want this one.
4506 lt_cv_deplibs_check_method
=pass_all
4510 lt_cv_deplibs_check_method
=pass_all
4514 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4515 lt_cv_file_magic_cmd
='/usr/bin/file -L'
4516 lt_cv_file_magic_test_file
=/shlib
/libc.so
4520 # func_win32_libid is a shell function defined in ltmain.sh
4521 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
4522 lt_cv_file_magic_cmd
='func_win32_libid'
4526 # Base MSYS/MinGW do not provide the 'file' command needed by
4527 # func_win32_libid shell function, so use a weaker test based on 'objdump',
4528 # unless we find 'file', for example because we are cross-compiling.
4529 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
4530 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev
/null
2>&1; then
4531 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
4532 lt_cv_file_magic_cmd
='func_win32_libid'
4534 # Keep this pattern in sync with the one in func_win32_libid.
4535 lt_cv_deplibs_check_method
='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
4536 lt_cv_file_magic_cmd
='$OBJDUMP -f'
4541 # use the weaker test based on 'objdump'. See mingw*.
4542 lt_cv_deplibs_check_method
='file_magic file format pe-arm-.*little(.*architecture: arm)?'
4543 lt_cv_file_magic_cmd
='$OBJDUMP -f'
4546 darwin
* | rhapsody
*)
4547 lt_cv_deplibs_check_method
=pass_all
4550 freebsd
* | dragonfly
*)
4551 if echo __ELF__
| $CC -E - | $GREP __ELF__
> /dev
/null
; then
4554 # Not sure whether the presence of OpenBSD here was a mistake.
4555 # Let's accept both of them until this is cleared up.
4556 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
4557 lt_cv_file_magic_cmd
=/usr
/bin
/file
4558 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
4562 lt_cv_deplibs_check_method
=pass_all
4567 lt_cv_deplibs_check_method
=pass_all
4571 lt_cv_deplibs_check_method
=pass_all
4574 hpux10.20
* | hpux11
*)
4575 lt_cv_file_magic_cmd
=/usr
/bin
/file
4578 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4579 lt_cv_file_magic_test_file
=/usr
/lib
/hpux
32/libc.so
4582 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]'
4583 lt_cv_file_magic_test_file
=/usr
/lib
/pa
20_
64/libc.sl
4586 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
4587 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
4593 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
4594 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|\.a)$'
4597 irix5
* | irix6
* | nonstopux
*)
4599 *-32|*"-32 ") libmagic
=32-bit;;
4600 *-n32|*"-n32 ") libmagic
=N32
;;
4601 *-64|*"-64 ") libmagic
=64-bit;;
4602 *) libmagic
=never
-match;;
4604 lt_cv_deplibs_check_method
=pass_all
4607 # This must be glibc/ELF.
4608 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
4609 lt_cv_deplibs_check_method
=pass_all
4613 if echo __ELF__
| $CC -E - | $GREP __ELF__
> /dev
/null
; then
4614 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4616 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|_pic\.a)$'
4621 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4622 lt_cv_file_magic_cmd
=/usr
/bin
/file
4623 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
4627 lt_cv_deplibs_check_method
=pass_all
4631 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
4632 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
4634 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4638 osf3
* | osf4
* | osf5
*)
4639 lt_cv_deplibs_check_method
=pass_all
4643 lt_cv_deplibs_check_method
=pass_all
4647 lt_cv_deplibs_check_method
=pass_all
4650 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
4651 lt_cv_deplibs_check_method
=pass_all
4655 case $host_vendor in
4657 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]'
4658 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
4661 lt_cv_deplibs_check_method
=pass_all
4664 lt_cv_file_magic_cmd
='/bin/file'
4665 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
4668 lt_cv_file_magic_cmd
='/bin/file'
4669 lt_cv_deplibs_check_method
="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
4670 lt_cv_file_magic_test_file
=/lib
/libc.so
4673 lt_cv_deplibs_check_method
=pass_all
4676 lt_cv_deplibs_check_method
=pass_all
4682 lt_cv_deplibs_check_method
=pass_all
4687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
4688 $as_echo "$lt_cv_deplibs_check_method" >&6; }
4692 if test "$build" = "$host"; then
4695 if ( shopt | grep nocaseglob
) >/dev
/null
2>&1; then
4698 file_magic_glob
=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
4704 file_magic_cmd
=$lt_cv_file_magic_cmd
4705 deplibs_check_method
=$lt_cv_deplibs_check_method
4706 test -z "$deplibs_check_method" && deplibs_check_method
=unknown
4729 if test -n "$ac_tool_prefix"; then
4730 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
4731 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
4732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4733 $as_echo_n "checking for $ac_word... " >&6; }
4734 if ${ac_cv_prog_DLLTOOL+:} false
; then :
4735 $as_echo_n "(cached) " >&6
4737 if test -n "$DLLTOOL"; then
4738 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
4740 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4744 test -z "$as_dir" && as_dir
=.
4745 for ac_exec_ext
in '' $ac_executable_extensions; do
4746 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4747 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
4748 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4757 DLLTOOL
=$ac_cv_prog_DLLTOOL
4758 if test -n "$DLLTOOL"; then
4759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
4760 $as_echo "$DLLTOOL" >&6; }
4762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4763 $as_echo "no" >&6; }
4768 if test -z "$ac_cv_prog_DLLTOOL"; then
4769 ac_ct_DLLTOOL
=$DLLTOOL
4770 # Extract the first word of "dlltool", so it can be a program name with args.
4771 set dummy dlltool
; ac_word
=$2
4772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4773 $as_echo_n "checking for $ac_word... " >&6; }
4774 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false
; then :
4775 $as_echo_n "(cached) " >&6
4777 if test -n "$ac_ct_DLLTOOL"; then
4778 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
4780 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4784 test -z "$as_dir" && as_dir
=.
4785 for ac_exec_ext
in '' $ac_executable_extensions; do
4786 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4787 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
4788 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4797 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
4798 if test -n "$ac_ct_DLLTOOL"; then
4799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
4800 $as_echo "$ac_ct_DLLTOOL" >&6; }
4802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4803 $as_echo "no" >&6; }
4806 if test "x$ac_ct_DLLTOOL" = x
; then
4809 case $cross_compiling:$ac_tool_warned in
4811 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4812 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4813 ac_tool_warned
=yes ;;
4815 DLLTOOL
=$ac_ct_DLLTOOL
4818 DLLTOOL
="$ac_cv_prog_DLLTOOL"
4821 test -z "$DLLTOOL" && DLLTOOL
=dlltool
4832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
4833 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
4834 if ${lt_cv_sharedlib_from_linklib_cmd+:} false
; then :
4835 $as_echo_n "(cached) " >&6
4837 lt_cv_sharedlib_from_linklib_cmd
='unknown'
4840 cygwin
* | mingw
* | pw32
* | cegcc
*)
4841 # two different shell functions defined in ltmain.sh
4842 # decide which to use based on capabilities of $DLLTOOL
4843 case `$DLLTOOL --help 2>&1` in
4844 *--identify-strict*)
4845 lt_cv_sharedlib_from_linklib_cmd
=func_cygming_dll_for_implib
4848 lt_cv_sharedlib_from_linklib_cmd
=func_cygming_dll_for_implib_fallback
4853 # fallback: assume linklib IS sharedlib
4854 lt_cv_sharedlib_from_linklib_cmd
="$ECHO"
4859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
4860 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
4861 sharedlib_from_linklib_cmd
=$lt_cv_sharedlib_from_linklib_cmd
4862 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd
=$ECHO
4871 if test -n "$ac_tool_prefix"; then
4874 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4875 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4877 $as_echo_n "checking for $ac_word... " >&6; }
4878 if ${ac_cv_prog_AR+:} false
; then :
4879 $as_echo_n "(cached) " >&6
4881 if test -n "$AR"; then
4882 ac_cv_prog_AR
="$AR" # Let the user override the test.
4884 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4888 test -z "$as_dir" && as_dir
=.
4889 for ac_exec_ext
in '' $ac_executable_extensions; do
4890 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4891 ac_cv_prog_AR
="$ac_tool_prefix$ac_prog"
4892 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4902 if test -n "$AR"; then
4903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
4904 $as_echo "$AR" >&6; }
4906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4907 $as_echo "no" >&6; }
4911 test -n "$AR" && break
4914 if test -z "$AR"; then
4918 # Extract the first word of "$ac_prog", so it can be a program name with args.
4919 set dummy
$ac_prog; ac_word
=$2
4920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4921 $as_echo_n "checking for $ac_word... " >&6; }
4922 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
4923 $as_echo_n "(cached) " >&6
4925 if test -n "$ac_ct_AR"; then
4926 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
4928 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4932 test -z "$as_dir" && as_dir
=.
4933 for ac_exec_ext
in '' $ac_executable_extensions; do
4934 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4935 ac_cv_prog_ac_ct_AR
="$ac_prog"
4936 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4945 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
4946 if test -n "$ac_ct_AR"; then
4947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
4948 $as_echo "$ac_ct_AR" >&6; }
4950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4951 $as_echo "no" >&6; }
4955 test -n "$ac_ct_AR" && break
4958 if test "x$ac_ct_AR" = x
; then
4961 case $cross_compiling:$ac_tool_warned in
4963 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4964 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4965 ac_tool_warned
=yes ;;
4984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
4985 $as_echo_n "checking for archiver @FILE support... " >&6; }
4986 if ${lt_cv_ar_at_file+:} false
; then :
4987 $as_echo_n "(cached) " >&6
4990 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4991 /* end confdefs.h. */
5001 if ac_fn_c_try_compile
"$LINENO"; then :
5002 echo conftest.
$ac_objext > conftest.lst
5003 lt_ar_try
='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
5004 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5005 (eval $lt_ar_try) 2>&5
5007 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5008 test $ac_status = 0; }
5009 if test "$ac_status" -eq 0; then
5010 # Ensure the archiver fails upon bogus file names.
5011 rm -f conftest.
$ac_objext libconftest.a
5012 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5013 (eval $lt_ar_try) 2>&5
5015 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5016 test $ac_status = 0; }
5017 if test "$ac_status" -ne 0; then
5021 rm -f conftest.
* libconftest.a
5024 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
5028 $as_echo "$lt_cv_ar_at_file" >&6; }
5030 if test "x$lt_cv_ar_at_file" = xno
; then
5033 archiver_list_spec
=$lt_cv_ar_at_file
5042 if test -n "$ac_tool_prefix"; then
5043 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5044 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
5045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5046 $as_echo_n "checking for $ac_word... " >&6; }
5047 if ${ac_cv_prog_STRIP+:} false
; then :
5048 $as_echo_n "(cached) " >&6
5050 if test -n "$STRIP"; then
5051 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
5053 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5057 test -z "$as_dir" && as_dir
=.
5058 for ac_exec_ext
in '' $ac_executable_extensions; do
5059 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5060 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
5061 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5070 STRIP
=$ac_cv_prog_STRIP
5071 if test -n "$STRIP"; then
5072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5073 $as_echo "$STRIP" >&6; }
5075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5076 $as_echo "no" >&6; }
5081 if test -z "$ac_cv_prog_STRIP"; then
5083 # Extract the first word of "strip", so it can be a program name with args.
5084 set dummy strip
; ac_word
=$2
5085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5086 $as_echo_n "checking for $ac_word... " >&6; }
5087 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
5088 $as_echo_n "(cached) " >&6
5090 if test -n "$ac_ct_STRIP"; then
5091 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
5093 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5097 test -z "$as_dir" && as_dir
=.
5098 for ac_exec_ext
in '' $ac_executable_extensions; do
5099 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5100 ac_cv_prog_ac_ct_STRIP
="strip"
5101 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5110 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
5111 if test -n "$ac_ct_STRIP"; then
5112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5113 $as_echo "$ac_ct_STRIP" >&6; }
5115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5116 $as_echo "no" >&6; }
5119 if test "x$ac_ct_STRIP" = x
; then
5122 case $cross_compiling:$ac_tool_warned in
5124 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5125 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5126 ac_tool_warned
=yes ;;
5131 STRIP
="$ac_cv_prog_STRIP"
5134 test -z "$STRIP" && STRIP
=:
5141 if test -n "$ac_tool_prefix"; then
5142 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5143 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5145 $as_echo_n "checking for $ac_word... " >&6; }
5146 if ${ac_cv_prog_RANLIB+:} false
; then :
5147 $as_echo_n "(cached) " >&6
5149 if test -n "$RANLIB"; then
5150 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5152 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5156 test -z "$as_dir" && as_dir
=.
5157 for ac_exec_ext
in '' $ac_executable_extensions; do
5158 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5159 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5160 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5169 RANLIB
=$ac_cv_prog_RANLIB
5170 if test -n "$RANLIB"; then
5171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5172 $as_echo "$RANLIB" >&6; }
5174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5175 $as_echo "no" >&6; }
5180 if test -z "$ac_cv_prog_RANLIB"; then
5181 ac_ct_RANLIB
=$RANLIB
5182 # Extract the first word of "ranlib", so it can be a program name with args.
5183 set dummy ranlib
; ac_word
=$2
5184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5185 $as_echo_n "checking for $ac_word... " >&6; }
5186 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
5187 $as_echo_n "(cached) " >&6
5189 if test -n "$ac_ct_RANLIB"; then
5190 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5192 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5196 test -z "$as_dir" && as_dir
=.
5197 for ac_exec_ext
in '' $ac_executable_extensions; do
5198 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5199 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5200 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5209 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5210 if test -n "$ac_ct_RANLIB"; then
5211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5212 $as_echo "$ac_ct_RANLIB" >&6; }
5214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5215 $as_echo "no" >&6; }
5218 if test "x$ac_ct_RANLIB" = x
; then
5221 case $cross_compiling:$ac_tool_warned in
5223 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5224 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5225 ac_tool_warned
=yes ;;
5227 RANLIB
=$ac_ct_RANLIB
5230 RANLIB
="$ac_cv_prog_RANLIB"
5233 test -z "$RANLIB" && RANLIB
=:
5240 # Determine commands to create old-style static archives.
5241 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs'
5242 old_postinstall_cmds
='chmod 644 $oldlib'
5243 old_postuninstall_cmds
=
5245 if test -n "$RANLIB"; then
5248 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
5251 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
5254 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$tool_oldlib"
5259 lock_old_archive_extraction
=yes ;;
5261 lock_old_archive_extraction
=no
;;
5302 # If no C compiler was specified, use CC.
5305 # If no C compiler flags were specified, use CFLAGS.
5306 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
5308 # Allow CC to be a program name with arguments.
5312 # Check for command to grab the raw symbol name followed by C symbol from nm.
5313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
5314 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
5315 if ${lt_cv_sys_global_symbol_pipe+:} false
; then :
5316 $as_echo_n "(cached) " >&6
5319 # These are sane defaults that work on at least a few old systems.
5320 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5322 # Character class describing NM global symbol codes.
5323 symcode
='[BCDEGRST]'
5325 # Regexp to match symbols that can be accessed directly from C.
5326 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
5328 # Define system-specific variables.
5333 cygwin
* | mingw
* | pw32
* | cegcc
*)
5334 symcode
='[ABCDGISTW]'
5337 if test "$host_cpu" = ia64
; then
5338 symcode
='[ABCDEGRST]'
5342 symcode
='[BCDEGRST]'
5345 symcode
='[BCDEGQRST]'
5356 sysv5
* | sco5v6
* | unixware
* | OpenUNIX
*)
5364 # If we're using GNU nm, then use its standard symbol codes.
5365 case `$NM -V 2>&1` in
5366 *GNU
* | *'with BFD'*)
5367 symcode
='[ABCDGIRSTW]' ;;
5370 # Transform an extracted symbol line into a proper C declaration.
5371 # Some systems (esp. on ia64) link data and code symbols differently,
5372 # so use this general approach.
5373 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5375 # Transform an extracted symbol line into symbol name and symbol address
5376 lt_cv_sys_global_symbol_to_c_name_address
="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
5377 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'"
5379 # Handle CRLF in mingw tool chain
5383 opt_cr
=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5387 # Try without a prefix underscore, then with it.
5388 for ac_symprfx
in "" "_"; do
5390 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5391 symxfrm
="\\1 $ac_symprfx\\2 \\2"
5393 # Write the raw and C identifiers.
5394 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
5395 # Fake it for dumpbin and say T for any non-static function
5396 # and D for any global variable.
5397 # Also find C++ and __fastcall symbols from MSVC++,
5398 # which start with @ or ?.
5399 lt_cv_sys_global_symbol_pipe
="$AWK '"\
5400 " {last_section=section; section=\$ 3};"\
5401 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
5402 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5403 " \$ 0!~/External *\|/{next};"\
5404 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
5405 " {if(hide[section]) next};"\
5406 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
5407 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
5408 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
5409 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
5410 " ' prfx=^$ac_symprfx"
5412 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5414 lt_cv_sys_global_symbol_pipe
="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
5416 # Check to see that the pipe works correctly.
5420 cat > conftest.
$ac_ext <<_LT_EOF
5425 void nm_test_func(void);
5426 void nm_test_func(void){}
5430 int main(){nm_test_var='a';nm_test_func();return(0);}
5433 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5434 (eval $ac_compile) 2>&5
5436 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5437 test $ac_status = 0; }; then
5438 # Now try to grab the symbols.
5440 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
5441 (eval $NM conftest.
$ac_objext \
| "$lt_cv_sys_global_symbol_pipe" \
> $nlist) 2>&5
5443 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5444 test $ac_status = 0; } && test -s "$nlist"; then
5445 # Try sorting and uniquifying the output.
5446 if sort "$nlist" | uniq > "$nlist"T
; then
5447 mv -f "$nlist"T
"$nlist"
5452 # Make sure that we snagged all the symbols we need.
5453 if $GREP ' nm_test_var$' "$nlist" >/dev
/null
; then
5454 if $GREP ' nm_test_func$' "$nlist" >/dev
/null
; then
5455 cat <<_LT_EOF > conftest.$ac_ext
5456 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
5457 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
5458 /* DATA imports from DLLs on WIN32 con't be const, because runtime
5459 relocations are performed -- see ld's documentation on pseudo-relocs. */
5460 # define LT_DLSYM_CONST
5461 #elif defined(__osf__)
5462 /* This system does not cope well with relocations in const data. */
5463 # define LT_DLSYM_CONST
5465 # define LT_DLSYM_CONST const
5473 # Now generate the symbol file.
5474 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
5476 cat <<_LT_EOF >> conftest.$ac_ext
5478 /* The mapping between symbol names and symbols. */
5479 LT_DLSYM_CONST struct {
5483 lt__PROGRAM__LTX_preloaded_symbols[] =
5485 { "@PROGRAM@", (void *) 0 },
5487 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main
>> conftest.
$ac_ext
5488 cat <<\_LT_EOF
>> conftest.
$ac_ext
5492 /* This works around a problem
in FreeBSD linker
*/
5493 #ifdef FREEBSD_WORKAROUND
5494 static const void
*lt_preloaded_setup
() {
5495 return lt__PROGRAM__LTX_preloaded_symbols
;
5503 # Now try linking the two files.
5504 mv conftest.
$ac_objext conftstm.
$ac_objext
5505 lt_globsym_save_LIBS
=$LIBS
5506 lt_globsym_save_CFLAGS
=$CFLAGS
5507 LIBS
="conftstm.$ac_objext"
5508 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5509 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
5510 (eval $ac_link) 2>&5
5512 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5513 test $ac_status = 0; } && test -s conftest
${ac_exeext}; then
5516 LIBS
=$lt_globsym_save_LIBS
5517 CFLAGS
=$lt_globsym_save_CFLAGS
5519 echo "cannot find nm_test_func in $nlist" >&5
5522 echo "cannot find nm_test_var in $nlist" >&5
5525 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
5528 echo "$progname: failed program was:" >&5
5529 cat conftest.
$ac_ext >&5
5531 rm -rf conftest
* conftst
*
5533 # Do not use the global_symbol_pipe unless it works.
5534 if test "$pipe_works" = yes; then
5537 lt_cv_sys_global_symbol_pipe
=
5543 if test -z "$lt_cv_sys_global_symbol_pipe"; then
5544 lt_cv_sys_global_symbol_to_cdecl
=
5546 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
5548 $as_echo "failed" >&6; }
5550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
5551 $as_echo "ok" >&6; }
5554 # Response file support.
5555 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
5556 nm_file_list_spec
='@'
5557 elif $NM --help 2>/dev
/null
| grep '[@]FILE' >/dev
/null
; then
5558 nm_file_list_spec
='@'
5587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
5588 $as_echo_n "checking for sysroot... " >&6; }
5590 # Check whether --with-sysroot was given.
5591 if test "${with_sysroot+set}" = set; then :
5592 withval
=$with_sysroot;
5599 case ${with_sysroot} in #(
5601 if test "$GCC" = yes; then
5602 lt_sysroot
=`$CC --print-sysroot 2>/dev/null`
5606 lt_sysroot
=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
5611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
5612 $as_echo "${with_sysroot}" >&6; }
5613 as_fn_error $?
"The sysroot must be an absolute path." "$LINENO" 5
5617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
5618 $as_echo "${lt_sysroot:-no}" >&6; }
5624 # Check whether --enable-libtool-lock was given.
5625 if test "${enable_libtool_lock+set}" = set; then :
5626 enableval
=$enable_libtool_lock;
5629 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
5631 # Some flags need to be propagated to the compiler or linker for good
5635 # Find out which ABI we are using.
5636 echo 'int i;' > conftest.
$ac_ext
5637 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5638 (eval $ac_compile) 2>&5
5640 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5641 test $ac_status = 0; }; then
5642 case `/usr/bin/file conftest.$ac_objext` in
5654 # Find out which ABI we are using.
5655 echo '#line '$LINENO' "configure"' > conftest.
$ac_ext
5656 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5657 (eval $ac_compile) 2>&5
5659 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5660 test $ac_status = 0; }; then
5661 if test "$lt_cv_prog_gnu_ld" = yes; then
5662 case `/usr/bin/file conftest.$ac_objext` in
5664 LD
="${LD-ld} -melf32bsmip"
5667 LD
="${LD-ld} -melf32bmipn32"
5670 LD
="${LD-ld} -melf64bmip"
5674 case `/usr/bin/file conftest.$ac_objext` in
5690 x86_64
-*kfreebsd
*-gnu|x86_64
-*linux
*|ppc
*-*linux
*|powerpc
*-*linux
*| \
5691 s390
*-*linux
*|s390
*-*tpf
*|sparc
*-*linux
*)
5692 # Find out which ABI we are using.
5693 echo 'int i;' > conftest.
$ac_ext
5694 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5695 (eval $ac_compile) 2>&5
5697 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5698 test $ac_status = 0; }; then
5699 case `/usr/bin/file conftest.o` in
5702 x86_64
-*kfreebsd
*-gnu)
5703 LD
="${LD-ld} -m elf_i386_fbsd"
5706 LD
="${LD-ld} -m elf_i386"
5708 ppc64
-*linux
*|powerpc64
-*linux
*)
5709 LD
="${LD-ld} -m elf32ppclinux"
5712 LD
="${LD-ld} -m elf_s390"
5715 LD
="${LD-ld} -m elf32_sparc"
5721 x86_64
-*kfreebsd
*-gnu)
5722 LD
="${LD-ld} -m elf_x86_64_fbsd"
5725 LD
="${LD-ld} -m elf_x86_64"
5727 ppc
*-*linux
*|powerpc
*-*linux
*)
5728 LD
="${LD-ld} -m elf64ppc"
5730 s390
*-*linux
*|s390
*-*tpf
*)
5731 LD
="${LD-ld} -m elf64_s390"
5734 LD
="${LD-ld} -m elf64_sparc"
5744 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
5745 SAVE_CFLAGS
="$CFLAGS"
5746 CFLAGS
="$CFLAGS -belf"
5747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
5748 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
5749 if ${lt_cv_cc_needs_belf+:} false
; then :
5750 $as_echo_n "(cached) " >&6
5753 ac_cpp
='$CPP $CPPFLAGS'
5754 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5755 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5756 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5758 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5759 /* end confdefs.h. */
5769 if ac_fn_c_try_link
"$LINENO"; then :
5770 lt_cv_cc_needs_belf
=yes
5772 lt_cv_cc_needs_belf
=no
5774 rm -f core conftest.err conftest.
$ac_objext \
5775 conftest
$ac_exeext conftest.
$ac_ext
5777 ac_cpp
='$CPP $CPPFLAGS'
5778 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5779 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5780 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
5784 $as_echo "$lt_cv_cc_needs_belf" >&6; }
5785 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
5786 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
5787 CFLAGS
="$SAVE_CFLAGS"
5791 # Find out which ABI we are using.
5792 echo 'int i;' > conftest.
$ac_ext
5793 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5794 (eval $ac_compile) 2>&5
5796 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5797 test $ac_status = 0; }; then
5798 case `/usr/bin/file conftest.o` in
5800 case $lt_cv_prog_gnu_ld in
5804 LD
="${LD-ld} -m elf_x86_64"
5807 LD
="${LD-ld} -m elf64_sparc"
5810 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
5811 if ${LD-ld} -V | grep _sol2
>/dev
/null
2>&1; then
5816 if ${LD-ld} -64 -r -o conftest2.o conftest.o
>/dev
/null
2>&1; then
5828 need_locks
="$enable_libtool_lock"
5830 if test -n "$ac_tool_prefix"; then
5831 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
5832 set dummy
${ac_tool_prefix}mt
; ac_word
=$2
5833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5834 $as_echo_n "checking for $ac_word... " >&6; }
5835 if ${ac_cv_prog_MANIFEST_TOOL+:} false
; then :
5836 $as_echo_n "(cached) " >&6
5838 if test -n "$MANIFEST_TOOL"; then
5839 ac_cv_prog_MANIFEST_TOOL
="$MANIFEST_TOOL" # Let the user override the test.
5841 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5845 test -z "$as_dir" && as_dir
=.
5846 for ac_exec_ext
in '' $ac_executable_extensions; do
5847 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5848 ac_cv_prog_MANIFEST_TOOL
="${ac_tool_prefix}mt"
5849 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5858 MANIFEST_TOOL
=$ac_cv_prog_MANIFEST_TOOL
5859 if test -n "$MANIFEST_TOOL"; then
5860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
5861 $as_echo "$MANIFEST_TOOL" >&6; }
5863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5864 $as_echo "no" >&6; }
5869 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
5870 ac_ct_MANIFEST_TOOL
=$MANIFEST_TOOL
5871 # Extract the first word of "mt", so it can be a program name with args.
5872 set dummy mt
; ac_word
=$2
5873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5874 $as_echo_n "checking for $ac_word... " >&6; }
5875 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false
; then :
5876 $as_echo_n "(cached) " >&6
5878 if test -n "$ac_ct_MANIFEST_TOOL"; then
5879 ac_cv_prog_ac_ct_MANIFEST_TOOL
="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
5881 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5885 test -z "$as_dir" && as_dir
=.
5886 for ac_exec_ext
in '' $ac_executable_extensions; do
5887 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5888 ac_cv_prog_ac_ct_MANIFEST_TOOL
="mt"
5889 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5898 ac_ct_MANIFEST_TOOL
=$ac_cv_prog_ac_ct_MANIFEST_TOOL
5899 if test -n "$ac_ct_MANIFEST_TOOL"; then
5900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
5901 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
5903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5904 $as_echo "no" >&6; }
5907 if test "x$ac_ct_MANIFEST_TOOL" = x
; then
5910 case $cross_compiling:$ac_tool_warned in
5912 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5913 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5914 ac_tool_warned
=yes ;;
5916 MANIFEST_TOOL
=$ac_ct_MANIFEST_TOOL
5919 MANIFEST_TOOL
="$ac_cv_prog_MANIFEST_TOOL"
5922 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL
=mt
5923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
5924 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
5925 if ${lt_cv_path_mainfest_tool+:} false
; then :
5926 $as_echo_n "(cached) " >&6
5928 lt_cv_path_mainfest_tool
=no
5929 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
5930 $MANIFEST_TOOL '-?' 2>conftest.err
> conftest.out
5931 cat conftest.err
>&5
5932 if $GREP 'Manifest Tool' conftest.out
> /dev
/null
; then
5933 lt_cv_path_mainfest_tool
=yes
5937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
5938 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
5939 if test "x$lt_cv_path_mainfest_tool" != xyes
; then
5949 rhapsody
* | darwin
*)
5950 if test -n "$ac_tool_prefix"; then
5951 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
5952 set dummy
${ac_tool_prefix}dsymutil
; ac_word
=$2
5953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5954 $as_echo_n "checking for $ac_word... " >&6; }
5955 if ${ac_cv_prog_DSYMUTIL+:} false
; then :
5956 $as_echo_n "(cached) " >&6
5958 if test -n "$DSYMUTIL"; then
5959 ac_cv_prog_DSYMUTIL
="$DSYMUTIL" # Let the user override the test.
5961 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5965 test -z "$as_dir" && as_dir
=.
5966 for ac_exec_ext
in '' $ac_executable_extensions; do
5967 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5968 ac_cv_prog_DSYMUTIL
="${ac_tool_prefix}dsymutil"
5969 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5978 DSYMUTIL
=$ac_cv_prog_DSYMUTIL
5979 if test -n "$DSYMUTIL"; then
5980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
5981 $as_echo "$DSYMUTIL" >&6; }
5983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5984 $as_echo "no" >&6; }
5989 if test -z "$ac_cv_prog_DSYMUTIL"; then
5990 ac_ct_DSYMUTIL
=$DSYMUTIL
5991 # Extract the first word of "dsymutil", so it can be a program name with args.
5992 set dummy dsymutil
; ac_word
=$2
5993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5994 $as_echo_n "checking for $ac_word... " >&6; }
5995 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false
; then :
5996 $as_echo_n "(cached) " >&6
5998 if test -n "$ac_ct_DSYMUTIL"; then
5999 ac_cv_prog_ac_ct_DSYMUTIL
="$ac_ct_DSYMUTIL" # Let the user override the test.
6001 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6005 test -z "$as_dir" && as_dir
=.
6006 for ac_exec_ext
in '' $ac_executable_extensions; do
6007 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6008 ac_cv_prog_ac_ct_DSYMUTIL
="dsymutil"
6009 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6018 ac_ct_DSYMUTIL
=$ac_cv_prog_ac_ct_DSYMUTIL
6019 if test -n "$ac_ct_DSYMUTIL"; then
6020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6021 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6024 $as_echo "no" >&6; }
6027 if test "x$ac_ct_DSYMUTIL" = x
; then
6030 case $cross_compiling:$ac_tool_warned in
6032 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6033 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6034 ac_tool_warned
=yes ;;
6036 DSYMUTIL
=$ac_ct_DSYMUTIL
6039 DSYMUTIL
="$ac_cv_prog_DSYMUTIL"
6042 if test -n "$ac_tool_prefix"; then
6043 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6044 set dummy
${ac_tool_prefix}nmedit
; ac_word
=$2
6045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6046 $as_echo_n "checking for $ac_word... " >&6; }
6047 if ${ac_cv_prog_NMEDIT+:} false
; then :
6048 $as_echo_n "(cached) " >&6
6050 if test -n "$NMEDIT"; then
6051 ac_cv_prog_NMEDIT
="$NMEDIT" # Let the user override the test.
6053 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6057 test -z "$as_dir" && as_dir
=.
6058 for ac_exec_ext
in '' $ac_executable_extensions; do
6059 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6060 ac_cv_prog_NMEDIT
="${ac_tool_prefix}nmedit"
6061 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6070 NMEDIT
=$ac_cv_prog_NMEDIT
6071 if test -n "$NMEDIT"; then
6072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6073 $as_echo "$NMEDIT" >&6; }
6075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6076 $as_echo "no" >&6; }
6081 if test -z "$ac_cv_prog_NMEDIT"; then
6082 ac_ct_NMEDIT
=$NMEDIT
6083 # Extract the first word of "nmedit", so it can be a program name with args.
6084 set dummy nmedit
; ac_word
=$2
6085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6086 $as_echo_n "checking for $ac_word... " >&6; }
6087 if ${ac_cv_prog_ac_ct_NMEDIT+:} false
; then :
6088 $as_echo_n "(cached) " >&6
6090 if test -n "$ac_ct_NMEDIT"; then
6091 ac_cv_prog_ac_ct_NMEDIT
="$ac_ct_NMEDIT" # Let the user override the test.
6093 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6097 test -z "$as_dir" && as_dir
=.
6098 for ac_exec_ext
in '' $ac_executable_extensions; do
6099 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6100 ac_cv_prog_ac_ct_NMEDIT
="nmedit"
6101 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6110 ac_ct_NMEDIT
=$ac_cv_prog_ac_ct_NMEDIT
6111 if test -n "$ac_ct_NMEDIT"; then
6112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
6113 $as_echo "$ac_ct_NMEDIT" >&6; }
6115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6116 $as_echo "no" >&6; }
6119 if test "x$ac_ct_NMEDIT" = x
; then
6122 case $cross_compiling:$ac_tool_warned in
6124 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6125 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6126 ac_tool_warned
=yes ;;
6128 NMEDIT
=$ac_ct_NMEDIT
6131 NMEDIT
="$ac_cv_prog_NMEDIT"
6134 if test -n "$ac_tool_prefix"; then
6135 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6136 set dummy
${ac_tool_prefix}lipo
; ac_word
=$2
6137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6138 $as_echo_n "checking for $ac_word... " >&6; }
6139 if ${ac_cv_prog_LIPO+:} false
; then :
6140 $as_echo_n "(cached) " >&6
6142 if test -n "$LIPO"; then
6143 ac_cv_prog_LIPO
="$LIPO" # Let the user override the test.
6145 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6149 test -z "$as_dir" && as_dir
=.
6150 for ac_exec_ext
in '' $ac_executable_extensions; do
6151 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6152 ac_cv_prog_LIPO
="${ac_tool_prefix}lipo"
6153 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6162 LIPO
=$ac_cv_prog_LIPO
6163 if test -n "$LIPO"; then
6164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
6165 $as_echo "$LIPO" >&6; }
6167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6168 $as_echo "no" >&6; }
6173 if test -z "$ac_cv_prog_LIPO"; then
6175 # Extract the first word of "lipo", so it can be a program name with args.
6176 set dummy lipo
; ac_word
=$2
6177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6178 $as_echo_n "checking for $ac_word... " >&6; }
6179 if ${ac_cv_prog_ac_ct_LIPO+:} false
; then :
6180 $as_echo_n "(cached) " >&6
6182 if test -n "$ac_ct_LIPO"; then
6183 ac_cv_prog_ac_ct_LIPO
="$ac_ct_LIPO" # Let the user override the test.
6185 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6189 test -z "$as_dir" && as_dir
=.
6190 for ac_exec_ext
in '' $ac_executable_extensions; do
6191 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6192 ac_cv_prog_ac_ct_LIPO
="lipo"
6193 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6202 ac_ct_LIPO
=$ac_cv_prog_ac_ct_LIPO
6203 if test -n "$ac_ct_LIPO"; then
6204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
6205 $as_echo "$ac_ct_LIPO" >&6; }
6207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6208 $as_echo "no" >&6; }
6211 if test "x$ac_ct_LIPO" = x
; then
6214 case $cross_compiling:$ac_tool_warned in
6216 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6217 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6218 ac_tool_warned
=yes ;;
6223 LIPO
="$ac_cv_prog_LIPO"
6226 if test -n "$ac_tool_prefix"; then
6227 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
6228 set dummy
${ac_tool_prefix}otool
; ac_word
=$2
6229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6230 $as_echo_n "checking for $ac_word... " >&6; }
6231 if ${ac_cv_prog_OTOOL+:} false
; then :
6232 $as_echo_n "(cached) " >&6
6234 if test -n "$OTOOL"; then
6235 ac_cv_prog_OTOOL
="$OTOOL" # Let the user override the test.
6237 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6241 test -z "$as_dir" && as_dir
=.
6242 for ac_exec_ext
in '' $ac_executable_extensions; do
6243 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6244 ac_cv_prog_OTOOL
="${ac_tool_prefix}otool"
6245 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6254 OTOOL
=$ac_cv_prog_OTOOL
6255 if test -n "$OTOOL"; then
6256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
6257 $as_echo "$OTOOL" >&6; }
6259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6260 $as_echo "no" >&6; }
6265 if test -z "$ac_cv_prog_OTOOL"; then
6267 # Extract the first word of "otool", so it can be a program name with args.
6268 set dummy otool
; ac_word
=$2
6269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6270 $as_echo_n "checking for $ac_word... " >&6; }
6271 if ${ac_cv_prog_ac_ct_OTOOL+:} false
; then :
6272 $as_echo_n "(cached) " >&6
6274 if test -n "$ac_ct_OTOOL"; then
6275 ac_cv_prog_ac_ct_OTOOL
="$ac_ct_OTOOL" # Let the user override the test.
6277 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6281 test -z "$as_dir" && as_dir
=.
6282 for ac_exec_ext
in '' $ac_executable_extensions; do
6283 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6284 ac_cv_prog_ac_ct_OTOOL
="otool"
6285 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6294 ac_ct_OTOOL
=$ac_cv_prog_ac_ct_OTOOL
6295 if test -n "$ac_ct_OTOOL"; then
6296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
6297 $as_echo "$ac_ct_OTOOL" >&6; }
6299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6300 $as_echo "no" >&6; }
6303 if test "x$ac_ct_OTOOL" = x
; then
6306 case $cross_compiling:$ac_tool_warned in
6308 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6309 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6310 ac_tool_warned
=yes ;;
6315 OTOOL
="$ac_cv_prog_OTOOL"
6318 if test -n "$ac_tool_prefix"; then
6319 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
6320 set dummy
${ac_tool_prefix}otool64
; ac_word
=$2
6321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6322 $as_echo_n "checking for $ac_word... " >&6; }
6323 if ${ac_cv_prog_OTOOL64+:} false
; then :
6324 $as_echo_n "(cached) " >&6
6326 if test -n "$OTOOL64"; then
6327 ac_cv_prog_OTOOL64
="$OTOOL64" # Let the user override the test.
6329 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6333 test -z "$as_dir" && as_dir
=.
6334 for ac_exec_ext
in '' $ac_executable_extensions; do
6335 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6336 ac_cv_prog_OTOOL64
="${ac_tool_prefix}otool64"
6337 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6346 OTOOL64
=$ac_cv_prog_OTOOL64
6347 if test -n "$OTOOL64"; then
6348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
6349 $as_echo "$OTOOL64" >&6; }
6351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6352 $as_echo "no" >&6; }
6357 if test -z "$ac_cv_prog_OTOOL64"; then
6358 ac_ct_OTOOL64
=$OTOOL64
6359 # Extract the first word of "otool64", so it can be a program name with args.
6360 set dummy otool64
; ac_word
=$2
6361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6362 $as_echo_n "checking for $ac_word... " >&6; }
6363 if ${ac_cv_prog_ac_ct_OTOOL64+:} false
; then :
6364 $as_echo_n "(cached) " >&6
6366 if test -n "$ac_ct_OTOOL64"; then
6367 ac_cv_prog_ac_ct_OTOOL64
="$ac_ct_OTOOL64" # Let the user override the test.
6369 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6373 test -z "$as_dir" && as_dir
=.
6374 for ac_exec_ext
in '' $ac_executable_extensions; do
6375 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6376 ac_cv_prog_ac_ct_OTOOL64
="otool64"
6377 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6386 ac_ct_OTOOL64
=$ac_cv_prog_ac_ct_OTOOL64
6387 if test -n "$ac_ct_OTOOL64"; then
6388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
6389 $as_echo "$ac_ct_OTOOL64" >&6; }
6391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6392 $as_echo "no" >&6; }
6395 if test "x$ac_ct_OTOOL64" = x
; then
6398 case $cross_compiling:$ac_tool_warned in
6400 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6401 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6402 ac_tool_warned
=yes ;;
6404 OTOOL64
=$ac_ct_OTOOL64
6407 OTOOL64
="$ac_cv_prog_OTOOL64"
6436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
6437 $as_echo_n "checking for -single_module linker flag... " >&6; }
6438 if ${lt_cv_apple_cc_single_mod+:} false
; then :
6439 $as_echo_n "(cached) " >&6
6441 lt_cv_apple_cc_single_mod
=no
6442 if test -z "${LT_MULTI_MODULE}"; then
6443 # By default we will add the -single_module flag. You can override
6444 # by either setting the environment variable LT_MULTI_MODULE
6445 # non-empty at configure time, or by adding -multi_module to the
6447 rm -rf libconftest.dylib
*
6448 echo "int foo(void){return 1;}" > conftest.c
6449 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6450 -dynamiclib -Wl,-single_module conftest.c" >&5
6451 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6452 -dynamiclib -Wl,-single_module conftest.c
2>conftest.err
6454 # If there is a non-empty error log, and "single_module"
6455 # appears in it, assume the flag caused a linker warning
6456 if test -s conftest.err
&& $GREP single_module conftest.err
; then
6457 cat conftest.err
>&5
6458 # Otherwise, if the output was created with a 0 exit code from
6459 # the compiler, it worked.
6460 elif test -f libconftest.dylib
&& test $_lt_result -eq 0; then
6461 lt_cv_apple_cc_single_mod
=yes
6463 cat conftest.err
>&5
6465 rm -rf libconftest.dylib
*
6469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
6470 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
6472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
6473 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
6474 if ${lt_cv_ld_exported_symbols_list+:} false
; then :
6475 $as_echo_n "(cached) " >&6
6477 lt_cv_ld_exported_symbols_list
=no
6478 save_LDFLAGS
=$LDFLAGS
6479 echo "_main" > conftest.sym
6480 LDFLAGS
="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
6481 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6482 /* end confdefs.h. */
6492 if ac_fn_c_try_link
"$LINENO"; then :
6493 lt_cv_ld_exported_symbols_list
=yes
6495 lt_cv_ld_exported_symbols_list
=no
6497 rm -f core conftest.err conftest.
$ac_objext \
6498 conftest
$ac_exeext conftest.
$ac_ext
6499 LDFLAGS
="$save_LDFLAGS"
6502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
6503 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
6505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
6506 $as_echo_n "checking for -force_load linker flag... " >&6; }
6507 if ${lt_cv_ld_force_load+:} false
; then :
6508 $as_echo_n "(cached) " >&6
6510 lt_cv_ld_force_load
=no
6511 cat > conftest.c
<< _LT_EOF
6512 int forced_loaded() { return 2;}
6514 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
6515 $LTCC $LTCFLAGS -c -o conftest.o conftest.c
2>&5
6516 echo "$AR cru libconftest.a conftest.o" >&5
6517 $AR cru libconftest.a conftest.o
2>&5
6518 echo "$RANLIB libconftest.a" >&5
6519 $RANLIB libconftest.a
2>&5
6520 cat > conftest.c
<< _LT_EOF
6521 int main() { return 0;}
6523 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
6524 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
2>conftest.err
6526 if test -s conftest.err
&& $GREP force_load conftest.err
; then
6527 cat conftest.err
>&5
6528 elif test -f conftest
&& test $_lt_result -eq 0 && $GREP forced_load conftest
>/dev
/null
2>&1 ; then
6529 lt_cv_ld_force_load
=yes
6531 cat conftest.err
>&5
6533 rm -f conftest.err libconftest.a conftest conftest.c
6534 rm -rf conftest.dSYM
6537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
6538 $as_echo "$lt_cv_ld_force_load" >&6; }
6540 rhapsody
* | darwin1.
[012])
6541 _lt_dar_allow_undefined
='${wl}-undefined ${wl}suppress' ;;
6543 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6544 darwin
*) # darwin 5.x on
6545 # if running on 10.5 or later, the deployment target defaults
6546 # to the OS version, if on x86, and 10.4, the deployment
6547 # target defaults to 10.4. Don't you love it?
6548 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
6549 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
6550 _lt_dar_allow_undefined
='${wl}-undefined ${wl}dynamic_lookup' ;;
6552 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6554 _lt_dar_allow_undefined
='${wl}-undefined ${wl}dynamic_lookup' ;;
6558 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
6559 _lt_dar_single_mod
='$single_module'
6561 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
6562 _lt_dar_export_syms
=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
6564 _lt_dar_export_syms
='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
6566 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
6567 _lt_dsymutil
='~$DSYMUTIL $lib || :'
6575 ac_cpp
='$CPP $CPPFLAGS'
6576 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6577 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6578 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6580 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6581 # On Suns, sometimes $CPP names a directory.
6582 if test -n "$CPP" && test -d "$CPP"; then
6585 if test -z "$CPP"; then
6586 if ${ac_cv_prog_CPP+:} false
; then :
6587 $as_echo_n "(cached) " >&6
6589 # Double quotes because CPP needs to be expanded
6590 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6593 for ac_c_preproc_warn_flag
in '' yes
6595 # Use a header file that comes with gcc, so configuring glibc
6596 # with a fresh cross-compiler works.
6597 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6598 # <limits.h> exists even on freestanding compilers.
6599 # On the NeXT, cc -E runs the code through the compiler's parser,
6600 # not just through cpp. "Syntax error" is here to catch this case.
6601 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6602 /* end confdefs.h. */
6604 # include <limits.h>
6606 # include <assert.h>
6610 if ac_fn_c_try_cpp
"$LINENO"; then :
6613 # Broken: fails on valid input.
6616 rm -f conftest.err conftest.i conftest.
$ac_ext
6618 # OK, works on sane cases. Now check whether nonexistent headers
6619 # can be detected and how.
6620 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6621 /* end confdefs.h. */
6622 #include <ac_nonexistent.h>
6624 if ac_fn_c_try_cpp
"$LINENO"; then :
6625 # Broken: success on invalid input.
6628 # Passes both tests.
6632 rm -f conftest.err conftest.i conftest.
$ac_ext
6635 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6636 rm -f conftest.i conftest.err conftest.
$ac_ext
6637 if $ac_preproc_ok; then :
6649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6650 $as_echo "$CPP" >&6; }
6652 for ac_c_preproc_warn_flag
in '' yes
6654 # Use a header file that comes with gcc, so configuring glibc
6655 # with a fresh cross-compiler works.
6656 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6657 # <limits.h> exists even on freestanding compilers.
6658 # On the NeXT, cc -E runs the code through the compiler's parser,
6659 # not just through cpp. "Syntax error" is here to catch this case.
6660 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6661 /* end confdefs.h. */
6663 # include <limits.h>
6665 # include <assert.h>
6669 if ac_fn_c_try_cpp
"$LINENO"; then :
6672 # Broken: fails on valid input.
6675 rm -f conftest.err conftest.i conftest.
$ac_ext
6677 # OK, works on sane cases. Now check whether nonexistent headers
6678 # can be detected and how.
6679 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6680 /* end confdefs.h. */
6681 #include <ac_nonexistent.h>
6683 if ac_fn_c_try_cpp
"$LINENO"; then :
6684 # Broken: success on invalid input.
6687 # Passes both tests.
6691 rm -f conftest.err conftest.i conftest.
$ac_ext
6694 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6695 rm -f conftest.i conftest.err conftest.
$ac_ext
6696 if $ac_preproc_ok; then :
6699 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6700 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6701 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
6702 See \`config.log' for more details" "$LINENO" 5; }
6706 ac_cpp
='$CPP $CPPFLAGS'
6707 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6708 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6709 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6713 $as_echo_n "checking for ANSI C header files... " >&6; }
6714 if ${ac_cv_header_stdc+:} false
; then :
6715 $as_echo_n "(cached) " >&6
6717 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6718 /* end confdefs.h. */
6732 if ac_fn_c_try_compile
"$LINENO"; then :
6733 ac_cv_header_stdc
=yes
6735 ac_cv_header_stdc
=no
6737 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6739 if test $ac_cv_header_stdc = yes; then
6740 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6741 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6742 /* end confdefs.h. */
6746 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6747 $EGREP "memchr" >/dev
/null
2>&1; then :
6750 ac_cv_header_stdc
=no
6756 if test $ac_cv_header_stdc = yes; then
6757 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6758 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6759 /* end confdefs.h. */
6763 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6764 $EGREP "free" >/dev
/null
2>&1; then :
6767 ac_cv_header_stdc
=no
6773 if test $ac_cv_header_stdc = yes; then
6774 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6775 if test "$cross_compiling" = yes; then :
6778 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6779 /* end confdefs.h. */
6782 #if ((' ' & 0x0FF) == 0x020)
6783 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6784 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6786 # define ISLOWER(c) \
6787 (('a' <= (c) && (c) <= 'i') \
6788 || ('j' <= (c) && (c) <= 'r') \
6789 || ('s' <= (c) && (c) <= 'z'))
6790 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6793 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6798 for (i = 0; i < 256; i++)
6799 if (XOR (islower (i), ISLOWER (i))
6800 || toupper (i) != TOUPPER (i))
6805 if ac_fn_c_try_run
"$LINENO"; then :
6808 ac_cv_header_stdc
=no
6810 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6811 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6817 $as_echo "$ac_cv_header_stdc" >&6; }
6818 if test $ac_cv_header_stdc = yes; then
6820 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6824 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6825 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
6826 inttypes.h stdint.h unistd.h
6828 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6829 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6831 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6832 cat >>confdefs.h
<<_ACEOF
6833 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6841 for ac_header
in dlfcn.h
6843 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
6845 if test "x$ac_cv_header_dlfcn_h" = xyes
; then :
6846 cat >>confdefs.h
<<_ACEOF
6847 #define HAVE_DLFCN_H 1
6859 # Check whether --enable-static was given.
6860 if test "${enable_static+set}" = set; then :
6861 enableval
=$enable_static; p
=${PACKAGE-default}
6863 yes) enable_static
=yes ;;
6864 no
) enable_static
=no
;;
6867 # Look at the argument we got. We use all the common list separators.
6868 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
6869 for pkg
in $enableval; do
6871 if test "X$pkg" = "X$p"; then
6897 # Check whether --enable-shared was given.
6898 if test "${enable_shared+set}" = set; then :
6899 enableval
=$enable_shared; p
=${PACKAGE-default}
6901 yes) enable_shared
=yes ;;
6902 no
) enable_shared
=no
;;
6905 # Look at the argument we got. We use all the common list separators.
6906 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
6907 for pkg
in $enableval; do
6909 if test "X$pkg" = "X$p"; then
6930 # Check whether --with-pic was given.
6931 if test "${with_pic+set}" = set; then :
6932 withval
=$with_pic; lt_p
=${PACKAGE-default}
6934 yes|no
) pic_mode
=$withval ;;
6937 # Look at the argument we got. We use all the common list separators.
6938 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
6939 for lt_pkg
in $withval; do
6941 if test "X$lt_pkg" = "X$lt_p"; then
6953 test -z "$pic_mode" && pic_mode
=default
6961 # Check whether --enable-fast-install was given.
6962 if test "${enable_fast_install+set}" = set; then :
6963 enableval
=$enable_fast_install; p
=${PACKAGE-default}
6965 yes) enable_fast_install
=yes ;;
6966 no
) enable_fast_install
=no
;;
6968 enable_fast_install
=no
6969 # Look at the argument we got. We use all the common list separators.
6970 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
6971 for pkg
in $enableval; do
6973 if test "X$pkg" = "X$p"; then
6974 enable_fast_install
=yes
6981 enable_fast_install
=yes
6994 # This can be used to rebuild libtool when needed
6995 LIBTOOL_DEPS
="$ltmain"
6997 # Always use our own libtool.
6998 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
7029 test -z "$LN_S" && LN_S
="ln -s"
7044 if test -n "${ZSH_VERSION+set}" ; then
7045 setopt NO_GLOB_SUBST
7048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7049 $as_echo_n "checking for objdir... " >&6; }
7050 if ${lt_cv_objdir+:} false
; then :
7051 $as_echo_n "(cached) " >&6
7053 rm -f .libs
2>/dev
/null
7054 mkdir .libs
2>/dev
/null
7055 if test -d .libs
; then
7058 # MS-DOS does not allow filenames that begin with a dot.
7061 rmdir .libs
2>/dev
/null
7063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7064 $as_echo "$lt_cv_objdir" >&6; }
7065 objdir
=$lt_cv_objdir
7071 cat >>confdefs.h
<<_ACEOF
7072 #define LT_OBJDIR "$lt_cv_objdir/"
7080 # AIX sometimes has problems with the GCC collect2 program. For some
7081 # reason, if we set the COLLECT_NAMES environment variable, the problems
7082 # vanish in a puff of smoke.
7083 if test "X${COLLECT_NAMES+set}" != Xset
; then
7085 export COLLECT_NAMES
7092 can_build_shared
=yes
7094 # All known linkers require a `.a' archive for static linking (except MSVC,
7095 # which needs '.lib').
7098 with_gnu_ld
="$lt_cv_prog_gnu_ld"
7101 old_CFLAGS
="$CFLAGS"
7103 # Set sane defaults for various variables
7104 test -z "$CC" && CC
=cc
7105 test -z "$LTCC" && LTCC
=$CC
7106 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
7107 test -z "$LD" && LD
=ld
7108 test -z "$ac_objext" && ac_objext
=o
7110 for cc_temp
in $compiler""; do
7112 compile
| *[\\/]compile
| ccache
| *[\\/]ccache
) ;;
7113 distcc
| *[\\/]distcc
| purify
| *[\\/]purify
) ;;
7118 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7121 # Only perform the check for file, if the check method requires it
7122 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
7123 case $deplibs_check_method in
7125 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7127 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7128 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
7129 $as_echo_n "(cached) " >&6
7133 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7136 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7137 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7138 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7139 for ac_dir
in $ac_dummy; do
7141 test -z "$ac_dir" && ac_dir
=.
7142 if test -f $ac_dir/${ac_tool_prefix}file; then
7143 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
7144 if test -n "$file_magic_test_file"; then
7145 case $deplibs_check_method in
7147 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7148 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7149 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null
|
7150 $EGREP "$file_magic_regex" > /dev
/null
; then
7155 *** Warning: the command libtool uses to detect shared libraries,
7156 *** $file_magic_cmd, produces output that libtool cannot recognize.
7157 *** The result is that libtool may fail to recognize shared libraries
7158 *** as such. This will affect the creation of libtool libraries that
7159 *** depend on shared libraries, but programs linked with such libtool
7160 *** libraries will work regardless of this problem. Nevertheless, you
7161 *** may want to report the problem to your system manager and/or to
7162 *** bug-libtool@gnu.org
7172 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7177 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7178 if test -n "$MAGIC_CMD"; then
7179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7180 $as_echo "$MAGIC_CMD" >&6; }
7182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7183 $as_echo "no" >&6; }
7190 if test -z "$lt_cv_path_MAGIC_CMD"; then
7191 if test -n "$ac_tool_prefix"; then
7192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7193 $as_echo_n "checking for file... " >&6; }
7194 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
7195 $as_echo_n "(cached) " >&6
7199 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7202 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7203 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7204 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7205 for ac_dir
in $ac_dummy; do
7207 test -z "$ac_dir" && ac_dir
=.
7208 if test -f $ac_dir/file; then
7209 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
7210 if test -n "$file_magic_test_file"; then
7211 case $deplibs_check_method in
7213 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7214 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7215 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null
|
7216 $EGREP "$file_magic_regex" > /dev
/null
; then
7221 *** Warning: the command libtool uses to detect shared libraries,
7222 *** $file_magic_cmd, produces output that libtool cannot recognize.
7223 *** The result is that libtool may fail to recognize shared libraries
7224 *** as such. This will affect the creation of libtool libraries that
7225 *** depend on shared libraries, but programs linked with such libtool
7226 *** libraries will work regardless of this problem. Nevertheless, you
7227 *** may want to report the problem to your system manager and/or to
7228 *** bug-libtool@gnu.org
7238 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7243 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7244 if test -n "$MAGIC_CMD"; then
7245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7246 $as_echo "$MAGIC_CMD" >&6; }
7248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7249 $as_echo "no" >&6; }
7262 # Use C for the default configuration in the libtool script
7266 ac_cpp
='$CPP $CPPFLAGS'
7267 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7268 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7269 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7272 # Source file extension for C test sources.
7275 # Object file extension for compiled C test sources.
7279 # Code to be used in simple compile tests
7280 lt_simple_compile_test_code
="int some_variable = 0;"
7282 # Code to be used in simple link tests
7283 lt_simple_link_test_code
='int main(){return(0);}'
7291 # If no C compiler was specified, use CC.
7294 # If no C compiler flags were specified, use CFLAGS.
7295 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
7297 # Allow CC to be a program name with arguments.
7300 # Save the default compiler, since it gets overwritten when the other
7301 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7302 compiler_DEFAULT
=$CC
7304 # save warnings/boilerplate of simple test code
7305 ac_outfile
=conftest.
$ac_objext
7306 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
7307 eval "$ac_compile" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
7308 _lt_compiler_boilerplate
=`cat conftest.err`
7311 ac_outfile
=conftest.
$ac_objext
7312 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
7313 eval "$ac_link" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
7314 _lt_linker_boilerplate
=`cat conftest.err`
7318 if test -n "$compiler"; then
7320 lt_prog_compiler_no_builtin_flag
=
7322 if test "$GCC" = yes; then
7323 case $cc_basename in
7325 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
7327 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
7330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7331 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7332 if ${lt_cv_prog_compiler_rtti_exceptions+:} false
; then :
7333 $as_echo_n "(cached) " >&6
7335 lt_cv_prog_compiler_rtti_exceptions
=no
7336 ac_outfile
=conftest.
$ac_objext
7337 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7338 lt_compiler_flag
="-fno-rtti -fno-exceptions"
7339 # Insert the option either (1) after the last *FLAGS variable, or
7340 # (2) before a word containing "conftest.", or (3) at the end.
7341 # Note that $ac_compile itself does not contain backslashes and begins
7342 # with a dollar sign (not a hyphen), so the echo should work correctly.
7343 # The option is referenced via a variable to avoid confusing sed.
7344 lt_compile
=`echo "$ac_compile" | $SED \
7345 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7346 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7347 -e 's:$: $lt_compiler_flag:'`
7348 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
7349 (eval "$lt_compile" 2>conftest.err
)
7351 cat conftest.err
>&5
7352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7353 if (exit $ac_status) && test -s "$ac_outfile"; then
7354 # The compiler can only warn and ignore the option if not recognized
7355 # So say no if there are warnings other than the usual output.
7356 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
7357 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7358 if test ! -s conftest.er2
|| diff conftest.exp conftest.er2
>/dev
/null
; then
7359 lt_cv_prog_compiler_rtti_exceptions
=yes
7365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7366 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7368 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
7369 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7381 lt_prog_compiler_wl
=
7382 lt_prog_compiler_pic
=
7383 lt_prog_compiler_static
=
7386 if test "$GCC" = yes; then
7387 lt_prog_compiler_wl
='-Wl,'
7388 lt_prog_compiler_static
='-static'
7392 # All AIX code is PIC.
7393 if test "$host_cpu" = ia64
; then
7394 # AIX 5 now supports IA64 processor
7395 lt_prog_compiler_static
='-Bstatic'
7402 # see comment about AmigaOS4 .so support
7403 lt_prog_compiler_pic
='-fPIC'
7406 # FIXME: we need at least 68020 code to build shared libraries, but
7407 # adding the `-m68020' flag to GCC prevents building anything better,
7409 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
7414 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
7415 # PIC is the default for these OSes.
7418 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
7419 # This hack is so that the source file can tell whether it is being
7420 # built for inclusion in a dll (and should export symbols for example).
7421 # Although the cygwin gcc ignores -fPIC, still need this for old-style
7422 # (--disable-auto-import) libraries
7423 lt_prog_compiler_pic
='-DDLL_EXPORT'
7426 darwin
* | rhapsody
*)
7427 # PIC is the default on this platform
7428 # Common symbols not allowed in MH_DYLIB files
7429 lt_prog_compiler_pic
='-fno-common'
7433 # PIC is the default for Haiku.
7434 # The "-static" flag exists, but is broken.
7435 lt_prog_compiler_static
=
7439 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
7440 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
7441 # sets the default TLS model and affects inlining.
7447 lt_prog_compiler_pic
='-fPIC'
7453 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7454 # Instead, we relocate shared libraries at runtime.
7458 # Just because we use GCC doesn't mean we suddenly get shared libraries
7459 # on systems that don't support them.
7460 lt_prog_compiler_can_build_shared
=no
7465 # QNX uses GNU C++, but need to define -shared option too, otherwise
7467 lt_prog_compiler_pic
='-fPIC -shared'
7471 if test -d /usr
/nec
; then
7472 lt_prog_compiler_pic
=-Kconform_pic
7477 lt_prog_compiler_pic
='-fPIC'
7481 case $cc_basename in
7482 nvcc
*) # Cuda Compiler Driver 2.2
7483 lt_prog_compiler_wl
='-Xlinker '
7484 if test -n "$lt_prog_compiler_pic"; then
7485 lt_prog_compiler_pic
="-Xcompiler $lt_prog_compiler_pic"
7490 # PORTME Check for flag to pass linker flags through the system compiler.
7493 lt_prog_compiler_wl
='-Wl,'
7494 if test "$host_cpu" = ia64
; then
7495 # AIX 5 now supports IA64 processor
7496 lt_prog_compiler_static
='-Bstatic'
7498 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
7502 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
7503 # This hack is so that the source file can tell whether it is being
7504 # built for inclusion in a dll (and should export symbols for example).
7505 lt_prog_compiler_pic
='-DDLL_EXPORT'
7508 hpux9
* | hpux10
* | hpux11
*)
7509 lt_prog_compiler_wl
='-Wl,'
7510 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7517 lt_prog_compiler_pic
='+Z'
7520 # Is there a better lt_prog_compiler_static that works with the bundled CC?
7521 lt_prog_compiler_static
='${wl}-a ${wl}archive'
7524 irix5
* | irix6
* | nonstopux
*)
7525 lt_prog_compiler_wl
='-Wl,'
7526 # PIC (with -KPIC) is the default.
7527 lt_prog_compiler_static
='-non_shared'
7530 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
7531 case $cc_basename in
7532 # old Intel for x86_64 which still supported -KPIC.
7534 lt_prog_compiler_wl
='-Wl,'
7535 lt_prog_compiler_pic
='-KPIC'
7536 lt_prog_compiler_static
='-static'
7538 # icc used to be incompatible with GCC.
7539 # ICC 10 doesn't accept -KPIC any more.
7541 lt_prog_compiler_wl
='-Wl,'
7542 lt_prog_compiler_pic
='-fPIC'
7543 lt_prog_compiler_static
='-static'
7545 # Lahey Fortran 8.1.
7547 lt_prog_compiler_wl
='-Wl,'
7548 lt_prog_compiler_pic
='--shared'
7549 lt_prog_compiler_static
='--static'
7552 # NAG Fortran compiler
7553 lt_prog_compiler_wl
='-Wl,-Wl,,'
7554 lt_prog_compiler_pic
='-PIC'
7555 lt_prog_compiler_static
='-Bstatic'
7557 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
7558 # Portland Group compilers (*not* the Pentium gcc compiler,
7559 # which looks to be a dead project)
7560 lt_prog_compiler_wl
='-Wl,'
7561 lt_prog_compiler_pic
='-fpic'
7562 lt_prog_compiler_static
='-Bstatic'
7565 lt_prog_compiler_wl
='-Wl,'
7566 # All Alpha code is PIC.
7567 lt_prog_compiler_static
='-non_shared'
7569 xl
* | bgxl
* | bgf
* | mpixl
*)
7570 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
7571 lt_prog_compiler_wl
='-Wl,'
7572 lt_prog_compiler_pic
='-qpic'
7573 lt_prog_compiler_static
='-qstaticlink'
7576 case `$CC -V 2>&1 | sed 5q` in
7577 *Sun\ Ceres\ Fortran
* | *Sun
*Fortran
*\
[1-7].
* | *Sun
*Fortran
*\
8.
[0-3]*)
7578 # Sun Fortran 8.3 passes all unrecognized flags to the linker
7579 lt_prog_compiler_pic
='-KPIC'
7580 lt_prog_compiler_static
='-Bstatic'
7581 lt_prog_compiler_wl
=''
7583 *Sun\ F
* | *Sun
*Fortran
*)
7584 lt_prog_compiler_pic
='-KPIC'
7585 lt_prog_compiler_static
='-Bstatic'
7586 lt_prog_compiler_wl
='-Qoption ld '
7590 lt_prog_compiler_pic
='-KPIC'
7591 lt_prog_compiler_static
='-Bstatic'
7592 lt_prog_compiler_wl
='-Wl,'
7594 *Intel
*\
[CF
]*Compiler
*)
7595 lt_prog_compiler_wl
='-Wl,'
7596 lt_prog_compiler_pic
='-fPIC'
7597 lt_prog_compiler_static
='-static'
7600 lt_prog_compiler_wl
='-Wl,'
7601 lt_prog_compiler_pic
='-fpic'
7602 lt_prog_compiler_static
='-Bstatic'
7610 lt_prog_compiler_pic
='-KPIC'
7611 lt_prog_compiler_static
='-Bstatic'
7615 # QNX uses GNU C++, but need to define -shared option too, otherwise
7617 lt_prog_compiler_pic
='-fPIC -shared'
7620 osf3
* | osf4
* | osf5
*)
7621 lt_prog_compiler_wl
='-Wl,'
7622 # All OSF/1 code is PIC.
7623 lt_prog_compiler_static
='-non_shared'
7627 lt_prog_compiler_static
='-non_shared'
7631 lt_prog_compiler_pic
='-KPIC'
7632 lt_prog_compiler_static
='-Bstatic'
7633 case $cc_basename in
7634 f77
* | f90
* | f95
* | sunf77
* | sunf90
* | sunf95
*)
7635 lt_prog_compiler_wl
='-Qoption ld ';;
7637 lt_prog_compiler_wl
='-Wl,';;
7642 lt_prog_compiler_wl
='-Qoption ld '
7643 lt_prog_compiler_pic
='-PIC'
7644 lt_prog_compiler_static
='-Bstatic'
7647 sysv4
| sysv4.2uw2
* | sysv4.3
*)
7648 lt_prog_compiler_wl
='-Wl,'
7649 lt_prog_compiler_pic
='-KPIC'
7650 lt_prog_compiler_static
='-Bstatic'
7654 if test -d /usr
/nec
;then
7655 lt_prog_compiler_pic
='-Kconform_pic'
7656 lt_prog_compiler_static
='-Bstatic'
7660 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
7661 lt_prog_compiler_wl
='-Wl,'
7662 lt_prog_compiler_pic
='-KPIC'
7663 lt_prog_compiler_static
='-Bstatic'
7667 lt_prog_compiler_wl
='-Wl,'
7668 lt_prog_compiler_can_build_shared
=no
7672 lt_prog_compiler_pic
='-pic'
7673 lt_prog_compiler_static
='-Bstatic'
7677 lt_prog_compiler_can_build_shared
=no
7683 # For platforms which do not support PIC, -DPIC is meaningless:
7685 lt_prog_compiler_pic
=
7688 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
7692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
7693 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
7694 if ${lt_cv_prog_compiler_pic+:} false
; then :
7695 $as_echo_n "(cached) " >&6
7697 lt_cv_prog_compiler_pic
=$lt_prog_compiler_pic
7699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
7700 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
7701 lt_prog_compiler_pic
=$lt_cv_prog_compiler_pic
7704 # Check to make sure the PIC flag actually works.
7706 if test -n "$lt_prog_compiler_pic"; then
7707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7708 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
7709 if ${lt_cv_prog_compiler_pic_works+:} false
; then :
7710 $as_echo_n "(cached) " >&6
7712 lt_cv_prog_compiler_pic_works
=no
7713 ac_outfile
=conftest.
$ac_objext
7714 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7715 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
7716 # Insert the option either (1) after the last *FLAGS variable, or
7717 # (2) before a word containing "conftest.", or (3) at the end.
7718 # Note that $ac_compile itself does not contain backslashes and begins
7719 # with a dollar sign (not a hyphen), so the echo should work correctly.
7720 # The option is referenced via a variable to avoid confusing sed.
7721 lt_compile
=`echo "$ac_compile" | $SED \
7722 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7723 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7724 -e 's:$: $lt_compiler_flag:'`
7725 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
7726 (eval "$lt_compile" 2>conftest.err
)
7728 cat conftest.err
>&5
7729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7730 if (exit $ac_status) && test -s "$ac_outfile"; then
7731 # The compiler can only warn and ignore the option if not recognized
7732 # So say no if there are warnings other than the usual output.
7733 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
7734 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7735 if test ! -s conftest.er2
|| diff conftest.exp conftest.er2
>/dev
/null
; then
7736 lt_cv_prog_compiler_pic_works
=yes
7742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
7743 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
7745 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
7746 case $lt_prog_compiler_pic in
7748 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
7751 lt_prog_compiler_pic
=
7752 lt_prog_compiler_can_build_shared
=no
7768 # Check to make sure the static flag actually works.
7770 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
7771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7772 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
7773 if ${lt_cv_prog_compiler_static_works+:} false
; then :
7774 $as_echo_n "(cached) " >&6
7776 lt_cv_prog_compiler_static_works
=no
7777 save_LDFLAGS
="$LDFLAGS"
7778 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
7779 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
7780 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
7781 # The linker can only warn and ignore the option if not recognized
7782 # So say no if there are warnings
7783 if test -s conftest.err
; then
7784 # Append any errors to the config.log.
7785 cat conftest.err
1>&5
7786 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
7787 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7788 if diff conftest.exp conftest.er2
>/dev
/null
; then
7789 lt_cv_prog_compiler_static_works
=yes
7792 lt_cv_prog_compiler_static_works
=yes
7796 LDFLAGS
="$save_LDFLAGS"
7799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
7800 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
7802 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
7805 lt_prog_compiler_static
=
7814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
7815 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
7816 if ${lt_cv_prog_compiler_c_o+:} false
; then :
7817 $as_echo_n "(cached) " >&6
7819 lt_cv_prog_compiler_c_o
=no
7820 $RM -r conftest
2>/dev
/null
7824 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7826 lt_compiler_flag
="-o out/conftest2.$ac_objext"
7827 # Insert the option either (1) after the last *FLAGS variable, or
7828 # (2) before a word containing "conftest.", or (3) at the end.
7829 # Note that $ac_compile itself does not contain backslashes and begins
7830 # with a dollar sign (not a hyphen), so the echo should work correctly.
7831 lt_compile
=`echo "$ac_compile" | $SED \
7832 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7833 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7834 -e 's:$: $lt_compiler_flag:'`
7835 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
7836 (eval "$lt_compile" 2>out
/conftest.err
)
7838 cat out
/conftest.err
>&5
7839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7840 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
7842 # The compiler can only warn and ignore the option if not recognized
7843 # So say no if there are warnings
7844 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out
/conftest.exp
7845 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
7846 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
7847 lt_cv_prog_compiler_c_o
=yes
7852 # SGI C++ compiler will create directory out/ii_files/ for
7853 # template instantiation
7854 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
7855 $RM out
/* && rmdir out
7861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
7862 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
7869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
7870 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
7871 if ${lt_cv_prog_compiler_c_o+:} false
; then :
7872 $as_echo_n "(cached) " >&6
7874 lt_cv_prog_compiler_c_o
=no
7875 $RM -r conftest
2>/dev
/null
7879 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7881 lt_compiler_flag
="-o out/conftest2.$ac_objext"
7882 # Insert the option either (1) after the last *FLAGS variable, or
7883 # (2) before a word containing "conftest.", or (3) at the end.
7884 # Note that $ac_compile itself does not contain backslashes and begins
7885 # with a dollar sign (not a hyphen), so the echo should work correctly.
7886 lt_compile
=`echo "$ac_compile" | $SED \
7887 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7888 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7889 -e 's:$: $lt_compiler_flag:'`
7890 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
7891 (eval "$lt_compile" 2>out
/conftest.err
)
7893 cat out
/conftest.err
>&5
7894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7895 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
7897 # The compiler can only warn and ignore the option if not recognized
7898 # So say no if there are warnings
7899 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out
/conftest.exp
7900 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
7901 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
7902 lt_cv_prog_compiler_c_o
=yes
7907 # SGI C++ compiler will create directory out/ii_files/ for
7908 # template instantiation
7909 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
7910 $RM out
/* && rmdir out
7916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
7917 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
7922 hard_links
="nottested"
7923 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
7924 # do not overwrite the value of need_locks provided by the user
7925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
7926 $as_echo_n "checking if we can lock with hard links... " >&6; }
7929 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
7931 ln conftest.a conftest.b
2>&5 || hard_links
=no
7932 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
7933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
7934 $as_echo "$hard_links" >&6; }
7935 if test "$hard_links" = no
; then
7936 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
7937 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
7949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
7950 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
7953 allow_undefined_flag
=
7954 always_export_symbols
=no
7956 archive_expsym_cmds
=
7957 compiler_needs_object
=no
7958 enable_shared_with_static_runtimes
=no
7959 export_dynamic_flag_spec
=
7960 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
7961 hardcode_automatic
=no
7963 hardcode_direct_absolute
=no
7964 hardcode_libdir_flag_spec
=
7965 hardcode_libdir_separator
=
7967 hardcode_shlibpath_var
=unsupported
7969 link_all_deplibs
=unknown
7972 old_archive_from_new_cmds
=
7973 old_archive_from_expsyms_cmds
=
7974 thread_safe_flag_spec
=
7975 whole_archive_flag_spec
=
7976 # include_expsyms should be a list of space-separated symbols to be *always*
7977 # included in the symbol list
7979 # exclude_expsyms can be an extended regexp of symbols to exclude
7980 # it will be wrapped by ` (' and `)$', so one must not match beginning or
7981 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
7982 # as well as any symbol that contains `d'.
7983 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
7984 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
7985 # platforms (ab)use it in PIC code, but their linkers get confused if
7986 # the symbol is explicitly referenced. Since portable code cannot
7987 # rely on this symbol name, it's probably fine to never include it in
7988 # preloaded symbol tables.
7989 # Exclude shared library initialization/finalization symbols.
7990 extract_expsyms_cmds
=
7993 cygwin
* | mingw
* | pw32
* | cegcc
*)
7994 # FIXME: the MSVC++ port hasn't been tested in a loooong time
7995 # When not using gcc, we currently assume that we are using
7996 # Microsoft Visual C++.
7997 if test "$GCC" != yes; then
8002 # we just hope/assume this is gcc and not c89 (= MSVC++)
8012 # On some targets, GNU ld is compatible enough with the native linker
8013 # that we're better off using the native interface for both.
8014 lt_use_gnu_ld_interface
=no
8015 if test "$with_gnu_ld" = yes; then
8018 # The AIX port of GNU ld has always aspired to compatibility
8019 # with the native linker. However, as the warning in the GNU ld
8020 # block says, versions before 2.19.5* couldn't really create working
8021 # shared libraries, regardless of the interface used.
8022 case `$LD -v 2>&1` in
8023 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
8024 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
8025 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
8027 lt_use_gnu_ld_interface
=yes
8032 lt_use_gnu_ld_interface
=yes
8037 if test "$lt_use_gnu_ld_interface" = yes; then
8038 # If archive_cmds runs LD, not CC, wlarc should be empty
8041 # Set some defaults for GNU ld with shared library support. These
8042 # are reset later if shared libraries are not supported. Putting them
8043 # here allows them to be overridden if necessary.
8044 runpath_var
=LD_RUN_PATH
8045 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8046 export_dynamic_flag_spec
='${wl}--export-dynamic'
8047 # ancient GNU ld didn't support --whole-archive et. al.
8048 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev
/null
; then
8049 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8051 whole_archive_flag_spec
=
8053 supports_anon_versioning
=no
8054 case `$LD -v 2>&1` in
8055 *GNU\ gold
*) supports_anon_versioning
=yes ;;
8056 *\
[01].
* | *\
2.
[0-9].
* | *\
2.10.
*) ;; # catch versions < 2.11
8057 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
8058 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
8059 *\
2.11.
*) ;; # other 2.11 versions
8060 *) supports_anon_versioning
=yes ;;
8063 # See if GNU ld supports shared libraries.
8066 # On AIX/PPC, the GNU linker is very broken
8067 if test "$host_cpu" != ia64
; then
8071 *** Warning: the GNU linker, at least up to release 2.19, is reported
8072 *** to be unable to reliably create shared libraries on AIX.
8073 *** Therefore, libtool is disabling shared libraries support. If you
8074 *** really care for shared libraries, you may want to install binutils
8075 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8076 *** You will then need to restart the configuration process.
8085 # see comment about AmigaOS4 .so support
8086 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8087 archive_expsym_cmds
=''
8090 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)'
8091 hardcode_libdir_flag_spec
='-L$libdir'
8092 hardcode_minus_L
=yes
8098 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
8099 allow_undefined_flag
=unsupported
8100 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8101 # support --undefined. This deserves some investigation. FIXME
8102 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8108 cygwin
* | mingw
* | pw32
* | cegcc
*)
8109 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8110 # as there is no search path for DLLs.
8111 hardcode_libdir_flag_spec
='-L$libdir'
8112 export_dynamic_flag_spec
='${wl}--export-all-symbols'
8113 allow_undefined_flag
=unsupported
8114 always_export_symbols
=no
8115 enable_shared_with_static_runtimes
=yes
8116 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'
8117 exclude_expsyms
='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
8119 if $LD --help 2>&1 | $GREP 'auto-import' > /dev
/null
; then
8120 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8121 # If the export-symbols file already is a .def file (1st line
8122 # is EXPORTS), use it as is; otherwise, prepend...
8123 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8124 cp $export_symbols $output_objdir/$soname.def;
8126 echo EXPORTS > $output_objdir/$soname.def;
8127 cat $export_symbols >> $output_objdir/$soname.def;
8129 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8136 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8137 link_all_deplibs
=yes
8142 hardcode_shlibpath_var
=no
8143 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8144 export_dynamic_flag_spec
='${wl}-E'
8145 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8146 # Instead, shared libraries are loaded at an image base (0x10000000 by
8147 # default) and relocated if they conflict, which is a slow very memory
8148 # consuming and fragmenting process. To avoid this, we pick a random,
8149 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8150 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8151 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8152 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'
8155 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
8157 if test "$host_os" = linux
-dietlibc; then
8158 case $cc_basename in
8159 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
8162 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev
/null \
8163 && test "$tmp_diet" = no
8165 tmp_addflag
=' $pic_flag'
8166 tmp_sharedflag
='-shared'
8167 case $cc_basename,$host_cpu in
8168 pgcc
*) # Portland Group C compiler
8169 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'
8170 tmp_addflag
=' $pic_flag'
8172 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
8173 # Portland Group f77 and f90 compilers
8174 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'
8175 tmp_addflag
=' $pic_flag -Mnomain' ;;
8176 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
8177 tmp_addflag
=' -i_dynamic' ;;
8178 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
8179 tmp_addflag
=' -i_dynamic -nofor_main' ;;
8180 ifc
* | ifort
*) # Intel Fortran compiler
8181 tmp_addflag
=' -nofor_main' ;;
8182 lf95
*) # Lahey Fortran 8.1
8183 whole_archive_flag_spec
=
8184 tmp_sharedflag
='--shared' ;;
8185 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8186 tmp_sharedflag
='-qmkshrobj'
8188 nvcc
*) # Cuda Compiler Driver 2.2
8189 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'
8190 compiler_needs_object
=yes
8193 case `$CC -V 2>&1 | sed 5q` in
8194 *Sun\ C
*) # Sun C 5.9
8195 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'
8196 compiler_needs_object
=yes
8197 tmp_sharedflag
='-G' ;;
8198 *Sun\ F
*) # Sun Fortran 8.3
8199 tmp_sharedflag
='-G' ;;
8201 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8203 if test "x$supports_anon_versioning" = xyes
; then
8204 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8205 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8206 echo "local: *; };" >> $output_objdir/$libname.ver~
8207 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8210 case $cc_basename in
8211 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
8212 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8213 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
8214 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8215 archive_cmds
='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
8216 if test "x$supports_anon_versioning" = xyes
; then
8217 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8218 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8219 echo "local: *; };" >> $output_objdir/$libname.ver~
8220 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8230 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
8231 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8234 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8235 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8240 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev
/null
; then
8244 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8245 *** create shared libraries on Solaris systems. Therefore, libtool
8246 *** is disabling shared libraries support. We urge you to upgrade GNU
8247 *** binutils to release 2.9.1 or newer. Another option is to modify
8248 *** your PATH or compiler configuration so that the native linker is
8249 *** used, and then restart.
8252 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
8253 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8254 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8260 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
8261 case `$LD -v 2>&1` in
8262 *\
[01].
* | *\
2.
[0-9].
* | *\
2.1[0-5].
*)
8266 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8267 *** reliably create shared libraries on SCO systems. Therefore, libtool
8268 *** is disabling shared libraries support. We urge you to upgrade GNU
8269 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8270 *** your PATH or compiler configuration so that the native linker is
8271 *** used, and then restart.
8276 # For security reasons, it is highly recommended that you always
8277 # use absolute paths for naming shared libraries, and exclude the
8278 # DT_RUNPATH tag from executables and libraries. But doing so
8279 # requires that you compile everything twice, which is a pain.
8280 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
8281 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8282 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8283 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8292 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8295 hardcode_shlibpath_var
=no
8299 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
8300 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8301 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8308 if test "$ld_shlibs" = no
; then
8310 hardcode_libdir_flag_spec
=
8311 export_dynamic_flag_spec
=
8312 whole_archive_flag_spec
=
8315 # PORTME fill in a description of your system's linker (not GNU ld)
8318 allow_undefined_flag
=unsupported
8319 always_export_symbols
=yes
8320 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'
8321 # Note: this linker hardcodes the directories in LIBPATH if there
8322 # are no directories specified by -L.
8323 hardcode_minus_L
=yes
8324 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8325 # Neither direct hardcoding nor static linking is supported with a
8327 hardcode_direct
=unsupported
8332 if test "$host_cpu" = ia64
; then
8333 # On IA64, the linker does run time linking by default, so we don't
8334 # have to do anything special.
8335 aix_use_runtimelinking
=no
8336 exp_sym_flag
='-Bexport'
8339 # If we're using GNU nm, then we don't want the "-C" option.
8340 # -C means demangle to AIX nm, but means don't demangle with GNU nm
8341 # Also, AIX nm treats weak defined symbols like other global
8342 # defined symbols, whereas GNU nm marks them as "W".
8343 if $NM -V 2>&1 | $GREP 'GNU' > /dev
/null
; then
8344 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'
8346 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'
8348 aix_use_runtimelinking
=no
8350 # Test if we are trying to use run time linking or normal
8351 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8352 # need to do runtime linking.
8353 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
8354 for ld_flag
in $LDFLAGS; do
8355 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
8356 aix_use_runtimelinking
=yes
8363 exp_sym_flag
='-bexport'
8364 no_entry_flag
='-bnoentry'
8367 # When large executables or shared objects are built, AIX ld can
8368 # have problems creating the table of contents. If linking a library
8369 # or program results in "error TOC overflow" add -mminimal-toc to
8370 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8371 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8375 hardcode_direct_absolute
=yes
8376 hardcode_libdir_separator
=':'
8377 link_all_deplibs
=yes
8378 file_list_spec
='${wl}-f,'
8380 if test "$GCC" = yes; then
8381 case $host_os in aix4.
[012]|aix4.
[012].
*)
8382 # We only want to do this on AIX 4.2 and lower, the check
8383 # below for broken collect2 doesn't work under 4.3+
8384 collect2name
=`${CC} -print-prog-name=collect2`
8385 if test -f "$collect2name" &&
8386 strings "$collect2name" | $GREP resolve_lib_name
>/dev
/null
8388 # We have reworked collect2
8391 # We have old collect2
8392 hardcode_direct
=unsupported
8393 # It fails to find uninstalled libraries when the uninstalled
8394 # path is not listed in the libpath. Setting hardcode_minus_L
8395 # to unsupported forces relinking
8396 hardcode_minus_L
=yes
8397 hardcode_libdir_flag_spec
='-L$libdir'
8398 hardcode_libdir_separator
=
8402 shared_flag
='-shared'
8403 if test "$aix_use_runtimelinking" = yes; then
8404 shared_flag
="$shared_flag "'${wl}-G'
8408 if test "$host_cpu" = ia64
; then
8409 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8410 # chokes on -Wl,-G. The following line is correct:
8413 if test "$aix_use_runtimelinking" = yes; then
8414 shared_flag
='${wl}-G'
8416 shared_flag
='${wl}-bM:SRE'
8421 export_dynamic_flag_spec
='${wl}-bexpall'
8422 # It seems that -bexpall does not export symbols beginning with
8423 # underscore (_), so it is better to generate a list of symbols to export.
8424 always_export_symbols
=yes
8425 if test "$aix_use_runtimelinking" = yes; then
8426 # Warning - without using the other runtime loading flags (-brtl),
8427 # -berok will link without error, but may produce a broken library.
8428 allow_undefined_flag
='-berok'
8429 # Determine the default libpath from the value encoded in an
8431 if test "${lt_cv_aix_libpath+set}" = set; then
8432 aix_libpath
=$lt_cv_aix_libpath
8434 if ${lt_cv_aix_libpath_+:} false
; then :
8435 $as_echo_n "(cached) " >&6
8437 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8438 /* end confdefs.h. */
8448 if ac_fn_c_try_link
"$LINENO"; then :
8450 lt_aix_libpath_sed
='
8451 /Import File Strings/,/^$/ {
8453 s/^0 *\([^ ]*\) *$/\1/
8457 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8458 # Check for a 64-bit object if we didn't find anything.
8459 if test -z "$lt_cv_aix_libpath_"; then
8460 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8463 rm -f core conftest.err conftest.
$ac_objext \
8464 conftest
$ac_exeext conftest.
$ac_ext
8465 if test -z "$lt_cv_aix_libpath_"; then
8466 lt_cv_aix_libpath_
="/usr/lib:/lib"
8471 aix_libpath
=$lt_cv_aix_libpath_
8474 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
8475 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"
8477 if test "$host_cpu" = ia64
; then
8478 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
8479 allow_undefined_flag
="-z nodefs"
8480 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"
8482 # Determine the default libpath from the value encoded in an
8484 if test "${lt_cv_aix_libpath+set}" = set; then
8485 aix_libpath
=$lt_cv_aix_libpath
8487 if ${lt_cv_aix_libpath_+:} false
; then :
8488 $as_echo_n "(cached) " >&6
8490 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8491 /* end confdefs.h. */
8501 if ac_fn_c_try_link
"$LINENO"; then :
8503 lt_aix_libpath_sed
='
8504 /Import File Strings/,/^$/ {
8506 s/^0 *\([^ ]*\) *$/\1/
8510 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8511 # Check for a 64-bit object if we didn't find anything.
8512 if test -z "$lt_cv_aix_libpath_"; then
8513 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8516 rm -f core conftest.err conftest.
$ac_objext \
8517 conftest
$ac_exeext conftest.
$ac_ext
8518 if test -z "$lt_cv_aix_libpath_"; then
8519 lt_cv_aix_libpath_
="/usr/lib:/lib"
8524 aix_libpath
=$lt_cv_aix_libpath_
8527 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
8528 # Warning - without using the other run time loading flags,
8529 # -berok will link without error, but may produce a broken library.
8530 no_undefined_flag
=' ${wl}-bernotok'
8531 allow_undefined_flag
=' ${wl}-berok'
8532 if test "$with_gnu_ld" = yes; then
8533 # We only use this code for GNU lds that support --whole-archive.
8534 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
8536 # Exported symbols can be pulled into shared objects from archives
8537 whole_archive_flag_spec
='$convenience'
8539 archive_cmds_need_lc
=yes
8540 # This is similar to how AIX traditionally builds its shared libraries.
8541 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'
8549 # see comment about AmigaOS4 .so support
8550 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8551 archive_expsym_cmds
=''
8554 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)'
8555 hardcode_libdir_flag_spec
='-L$libdir'
8556 hardcode_minus_L
=yes
8562 export_dynamic_flag_spec
=-rdynamic
8565 cygwin
* | mingw
* | pw32
* | cegcc
*)
8566 # When not using gcc, we currently assume that we are using
8567 # Microsoft Visual C++.
8568 # hardcode_libdir_flag_spec is actually meaningless, as there is
8569 # no search path for DLLs.
8570 case $cc_basename in
8573 hardcode_libdir_flag_spec
=' '
8574 allow_undefined_flag
=unsupported
8575 always_export_symbols
=yes
8577 # Tell ltmain to make .lib files, not .a files.
8579 # Tell ltmain to make .dll files, not .so files.
8581 # FIXME: Setting linknames here is a bad hack.
8582 archive_cmds
='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
8583 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8584 sed -n -e 's
/\\\\\\\
(.
*\\\\\\\
)/-link\\\
-EXPORT:\\\\\\\
1/' -e '1\\\
!p
' < $export_symbols > $output_objdir/$soname.exp;
8586 sed -e 's
/\\\\\\\
(.
*\\\\\\\
)/-link\\\
-EXPORT:\\\\\\\
1/' < $export_symbols > $output_objdir/$soname.exp;
8588 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
8590 # The linker will not automatically build a static lib if we build a DLL.
8591 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
8592 enable_shared_with_static_runtimes
=yes
8593 exclude_expsyms
='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
8594 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8596 old_postinstall_cmds
='chmod 644 $oldlib'
8597 postlink_cmds
='lt_outputfile="@OUTPUT@"~
8598 lt_tool_outputfile="@TOOL_OUTPUT@"~
8599 case $lt_outputfile in
8602 lt_outputfile="$lt_outputfile.exe"
8603 lt_tool_outputfile="$lt_tool_outputfile.exe"
8606 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
8607 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
8608 $RM "$lt_outputfile.manifest";
8612 # Assume MSVC wrapper
8613 hardcode_libdir_flag_spec
=' '
8614 allow_undefined_flag
=unsupported
8615 # Tell ltmain to make .lib files, not .a files.
8617 # Tell ltmain to make .dll files, not .so files.
8619 # FIXME: Setting linknames here is a bad hack.
8620 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
8621 # The linker will automatically build a .lib file if we build a DLL.
8622 old_archive_from_new_cmds
='true'
8623 # FIXME: Should let the user specify the lib program.
8624 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
8625 enable_shared_with_static_runtimes
=yes
8630 darwin
* | rhapsody
*)
8633 archive_cmds_need_lc
=no
8635 hardcode_automatic
=yes
8636 hardcode_shlibpath_var
=unsupported
8637 if test "$lt_cv_ld_force_load" = "yes"; then
8638 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\"`'
8641 whole_archive_flag_spec
=''
8643 link_all_deplibs
=yes
8644 allow_undefined_flag
="$_lt_dar_allow_undefined"
8645 case $cc_basename in
8646 ifort
*) _lt_dar_can_shared
=yes ;;
8647 *) _lt_dar_can_shared
=$GCC ;;
8649 if test "$_lt_dar_can_shared" = "yes"; then
8650 output_verbose_link_cmd
=func_echo_all
8651 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
8652 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
8653 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}"
8654 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}"
8663 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8664 hardcode_libdir_flag_spec
='-L$libdir'
8665 hardcode_shlibpath_var
=no
8668 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8669 # support. Future versions do this automatically, but an explicit c++rt0.o
8670 # does not break anything, and helps significantly (at the cost of a little
8673 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8674 hardcode_libdir_flag_spec
='-R$libdir'
8676 hardcode_shlibpath_var
=no
8679 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8681 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8683 hardcode_minus_L
=yes
8684 hardcode_shlibpath_var
=no
8687 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8688 freebsd
* | dragonfly
*)
8689 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8690 hardcode_libdir_flag_spec
='-R$libdir'
8692 hardcode_shlibpath_var
=no
8696 if test "$GCC" = yes; then
8697 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'
8699 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'
8701 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8702 hardcode_libdir_separator
=:
8705 # hardcode_minus_L: Not really in the search PATH,
8706 # but as the default location of the library.
8707 hardcode_minus_L
=yes
8708 export_dynamic_flag_spec
='${wl}-E'
8712 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
8713 archive_cmds
='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8715 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8717 if test "$with_gnu_ld" = no
; then
8718 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8719 hardcode_libdir_separator
=:
8721 hardcode_direct_absolute
=yes
8722 export_dynamic_flag_spec
='${wl}-E'
8723 # hardcode_minus_L: Not really in the search PATH,
8724 # but as the default location of the library.
8725 hardcode_minus_L
=yes
8730 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
8733 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8736 archive_cmds
='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8739 archive_cmds
='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8745 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8748 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8752 # Older versions of the 11.00 compiler do not understand -b yet
8753 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
8754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
8755 $as_echo_n "checking if $CC understands -b... " >&6; }
8756 if ${lt_cv_prog_compiler__b+:} false
; then :
8757 $as_echo_n "(cached) " >&6
8759 lt_cv_prog_compiler__b
=no
8760 save_LDFLAGS
="$LDFLAGS"
8761 LDFLAGS
="$LDFLAGS -b"
8762 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
8763 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
8764 # The linker can only warn and ignore the option if not recognized
8765 # So say no if there are warnings
8766 if test -s conftest.err
; then
8767 # Append any errors to the config.log.
8768 cat conftest.err
1>&5
8769 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8770 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8771 if diff conftest.exp conftest.er2
>/dev
/null
; then
8772 lt_cv_prog_compiler__b
=yes
8775 lt_cv_prog_compiler__b
=yes
8779 LDFLAGS
="$save_LDFLAGS"
8782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
8783 $as_echo "$lt_cv_prog_compiler__b" >&6; }
8785 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
8786 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8788 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8794 if test "$with_gnu_ld" = no
; then
8795 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8796 hardcode_libdir_separator
=:
8801 hardcode_shlibpath_var
=no
8805 hardcode_direct_absolute
=yes
8806 export_dynamic_flag_spec
='${wl}-E'
8808 # hardcode_minus_L: Not really in the search PATH,
8809 # but as the default location of the library.
8810 hardcode_minus_L
=yes
8816 irix5
* | irix6
* | nonstopux
*)
8817 if test "$GCC" = yes; then
8818 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'
8819 # Try to use the -exported_symbol ld option, if it does not
8820 # work, assume that -exports_file does not work either and
8821 # implicitly export all symbols.
8822 # This should be the same for all languages, so no per-tag cache variable.
8823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
8824 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
8825 if ${lt_cv_irix_exported_symbol+:} false
; then :
8826 $as_echo_n "(cached) " >&6
8828 save_LDFLAGS
="$LDFLAGS"
8829 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
8830 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8831 /* end confdefs.h. */
8832 int foo (void) { return 0; }
8834 if ac_fn_c_try_link
"$LINENO"; then :
8835 lt_cv_irix_exported_symbol
=yes
8837 lt_cv_irix_exported_symbol
=no
8839 rm -f core conftest.err conftest.
$ac_objext \
8840 conftest
$ac_exeext conftest.
$ac_ext
8841 LDFLAGS
="$save_LDFLAGS"
8843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
8844 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
8845 if test "$lt_cv_irix_exported_symbol" = yes; then
8846 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'
8849 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'
8850 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'
8852 archive_cmds_need_lc
='no'
8853 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8854 hardcode_libdir_separator
=:
8856 link_all_deplibs
=yes
8860 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
8861 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
8863 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
8865 hardcode_libdir_flag_spec
='-R$libdir'
8867 hardcode_shlibpath_var
=no
8871 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8873 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8874 hardcode_libdir_separator
=:
8875 hardcode_shlibpath_var
=no
8882 if test -f /usr
/libexec
/ld.so
; then
8884 hardcode_shlibpath_var
=no
8885 hardcode_direct_absolute
=yes
8886 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8887 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8888 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8889 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8890 export_dynamic_flag_spec
='${wl}-E'
8893 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
8894 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8895 hardcode_libdir_flag_spec
='-R$libdir'
8898 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8899 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8909 hardcode_libdir_flag_spec
='-L$libdir'
8910 hardcode_minus_L
=yes
8911 allow_undefined_flag
=unsupported
8912 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'
8913 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8917 if test "$GCC" = yes; then
8918 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
8919 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'
8921 allow_undefined_flag
=' -expect_unresolved \*'
8922 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'
8924 archive_cmds_need_lc
='no'
8925 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8926 hardcode_libdir_separator
=:
8929 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
8930 if test "$GCC" = yes; then
8931 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
8932 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'
8933 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8935 allow_undefined_flag
=' -expect_unresolved \*'
8936 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'
8937 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~
8938 $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'
8940 # Both c and cxx compiler support -rpath directly
8941 hardcode_libdir_flag_spec
='-rpath $libdir'
8943 archive_cmds_need_lc
='no'
8944 hardcode_libdir_separator
=:
8948 no_undefined_flag
=' -z defs'
8949 if test "$GCC" = yes; then
8951 archive_cmds
='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8952 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8953 $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'
8955 case `$CC -V 2>&1` in
8958 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8959 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8960 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
8964 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
8965 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8966 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8970 hardcode_libdir_flag_spec
='-R$libdir'
8971 hardcode_shlibpath_var
=no
8973 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
8975 # The compiler driver will combine and reorder linker options,
8976 # but understands `-z linker_flag'. GCC discards it without `$wl',
8977 # but is careful enough not to reorder.
8978 # Supported since Solaris 2.6 (maybe 2.5.1?)
8979 if test "$GCC" = yes; then
8980 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
8982 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
8986 link_all_deplibs
=yes
8990 if test "x$host_vendor" = xsequent
; then
8991 # Use $CC to link under sequent, because it throws in some extra .o
8992 # files that make .init and .fini sections work.
8993 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
8995 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
8997 hardcode_libdir_flag_spec
='-L$libdir'
8999 hardcode_minus_L
=yes
9000 hardcode_shlibpath_var
=no
9004 case $host_vendor in
9006 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9007 hardcode_direct
=yes # is this really true???
9010 ## LD is ld it makes a PLAMLIB
9011 ## CC just makes a GrossModule.
9012 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9013 reload_cmds
='$CC -r -o $output$reload_objs'
9017 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9018 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
9021 runpath_var
='LD_RUN_PATH'
9022 hardcode_shlibpath_var
=no
9026 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9027 hardcode_shlibpath_var
=no
9028 export_dynamic_flag_spec
='-Bexport'
9032 if test -d /usr
/nec
; then
9033 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9034 hardcode_shlibpath_var
=no
9035 runpath_var
=LD_RUN_PATH
9036 hardcode_runpath_var
=yes
9041 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
9042 no_undefined_flag
='${wl}-z,text'
9043 archive_cmds_need_lc
=no
9044 hardcode_shlibpath_var
=no
9045 runpath_var
='LD_RUN_PATH'
9047 if test "$GCC" = yes; then
9048 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9049 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9051 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9052 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9056 sysv5
* | sco3.2v5
* | sco5v6
*)
9057 # Note: We can NOT use -z defs as we might desire, because we do not
9058 # link with -lc, and that would cause any symbols used from libc to
9059 # always be unresolved, which means just about no library would
9060 # ever link correctly. If we're not using GNU ld we use -z text
9061 # though, which does catch some bad symbols but isn't as heavy-handed
9063 no_undefined_flag
='${wl}-z,text'
9064 allow_undefined_flag
='${wl}-z,nodefs'
9065 archive_cmds_need_lc
=no
9066 hardcode_shlibpath_var
=no
9067 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
9068 hardcode_libdir_separator
=':'
9069 link_all_deplibs
=yes
9070 export_dynamic_flag_spec
='${wl}-Bexport'
9071 runpath_var
='LD_RUN_PATH'
9073 if test "$GCC" = yes; then
9074 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9075 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9077 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9078 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9083 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9084 hardcode_libdir_flag_spec
='-L$libdir'
9085 hardcode_shlibpath_var
=no
9093 if test x
$host_vendor = xsni
; then
9095 sysv4
| sysv4.2uw2
* | sysv4.3
* | sysv5
*)
9096 export_dynamic_flag_spec
='${wl}-Blargedynsym'
9102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9103 $as_echo "$ld_shlibs" >&6; }
9104 test "$ld_shlibs" = no
&& can_build_shared
=no
9106 with_gnu_ld
=$with_gnu_ld
9123 # Do we need to explicitly link libc?
9125 case "x$archive_cmds_need_lc" in
9127 # Assume -lc should be added
9128 archive_cmds_need_lc
=yes
9130 if test "$enable_shared" = yes && test "$GCC" = yes; then
9131 case $archive_cmds in
9133 # FIXME: we may have to deal with multi-command sequences.
9136 # Test whether the compiler implicitly links with -lc since on some
9137 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9138 # to ld, don't add -lc before -lgcc.
9139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9140 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9141 if ${lt_cv_archive_cmds_need_lc+:} false
; then :
9142 $as_echo_n "(cached) " >&6
9145 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9147 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9148 (eval $ac_compile) 2>&5
9150 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9151 test $ac_status = 0; } 2>conftest.err
; then
9154 libobjs
=conftest.
$ac_objext
9156 wl
=$lt_prog_compiler_wl
9157 pic_flag
=$lt_prog_compiler_pic
9163 lt_save_allow_undefined_flag
=$allow_undefined_flag
9164 allow_undefined_flag
=
9165 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9166 (eval $archive_cmds 2\
>\
&1 \
| $GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
9168 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9169 test $ac_status = 0; }
9171 lt_cv_archive_cmds_need_lc
=no
9173 lt_cv_archive_cmds_need_lc
=yes
9175 allow_undefined_flag
=$lt_save_allow_undefined_flag
9177 cat conftest.err
1>&5
9182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
9183 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
9184 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
9342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
9343 $as_echo_n "checking dynamic linker characteristics... " >&6; }
9345 if test "$GCC" = yes; then
9347 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
9348 *) lt_awk_arg
="/^libraries:/" ;;
9351 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
9352 *) lt_sed_strip_eq
="s,=/,/,g" ;;
9354 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
9355 case $lt_search_path_spec in
9357 # if the path contains ";" then we assume it to be the separator
9358 # otherwise default to the standard path separator (i.e. ":") - it is
9359 # assumed that no part of a normal pathname contains ";" but that should
9360 # okay in the real world where ";" in dirpaths is itself problematic.
9361 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
9364 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
9367 # Ok, now we have the path, separated by spaces, we can step through it
9368 # and add multilib dir if necessary.
9369 lt_tmp_lt_search_path_spec
=
9370 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9371 for lt_sys_path
in $lt_search_path_spec; do
9372 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9373 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9375 test -d "$lt_sys_path" && \
9376 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
9379 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
9380 BEGIN {RS=" "; FS="/|\n";} {
9383 for (lt_i = NF; lt_i > 0; lt_i--) {
9384 if ($lt_i != "" && $lt_i != ".") {
9385 if ($lt_i == "..") {
9388 if (lt_count == 0) {
9389 lt_foo="/" $lt_i lt_foo;
9396 if (lt_foo != "") { lt_freq[lt_foo]++; }
9397 if (lt_freq[lt_foo] == 1) { print lt_foo; }
9399 # AWK program above erroneously prepends '/' to C:/dos/paths
9402 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
9403 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
9405 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
9407 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
9410 libname_spec
='lib$name'
9418 shlibpath_overrides_runpath
=unknown
9420 dynamic_linker
="$host_os ld.so"
9421 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
9422 need_lib_prefix
=unknown
9423 hardcode_into_libs
=no
9425 # when you set need_version to no, make sure it does not cause -set_version
9426 # flags to be left without arguments
9427 need_version
=unknown
9431 version_type
=linux
# correct to gnu/linux during the next big refactor
9432 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
9433 shlibpath_var
=LIBPATH
9435 # AIX 3 has no versioning support, so we append a major version to the name.
9436 soname_spec
='${libname}${release}${shared_ext}$major'
9440 version_type
=linux
# correct to gnu/linux during the next big refactor
9443 hardcode_into_libs
=yes
9444 if test "$host_cpu" = ia64
; then
9445 # AIX 5 supports IA64
9446 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9447 shlibpath_var
=LD_LIBRARY_PATH
9449 # With GCC up to 2.95.x, collect2 would create an import file
9450 # for dependence libraries. The import file would start with
9451 # the line `#! .'. This would cause the generated library to
9452 # depend on `.', always an invalid library. This was fixed in
9453 # development snapshots of GCC prior to 3.0.
9455 aix4
| aix4.
[01] | aix4.
[01].
*)
9456 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9458 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev
/null
; then
9465 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9466 # soname into executable. Probably we can add versioning support to
9467 # collect2, so additional links can be useful in future.
9468 if test "$aix_use_runtimelinking" = yes; then
9469 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9470 # instead of lib<name>.a to let people know that these are not
9471 # typical AIX shared libraries.
9472 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9474 # We preserve .a as extension for shared libraries through AIX4.2
9475 # and later when we are not doing run time linking.
9476 library_names_spec
='${libname}${release}.a $libname.a'
9477 soname_spec
='${libname}${release}${shared_ext}$major'
9479 shlibpath_var
=LIBPATH
9486 # Since July 2007 AmigaOS4 officially supports .so libraries.
9487 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
9488 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9491 library_names_spec
='$libname.ixlibrary $libname.a'
9492 # Create ${libname}_ixlibrary.a entries in /sys/libs.
9493 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'
9499 library_names_spec
='${libname}${shared_ext}'
9500 dynamic_linker
="$host_os ld.so"
9501 shlibpath_var
=LIBRARY_PATH
9505 version_type
=linux
# correct to gnu/linux during the next big refactor
9507 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9508 soname_spec
='${libname}${release}${shared_ext}$major'
9509 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
9510 shlibpath_var
=LD_LIBRARY_PATH
9511 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9512 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
9513 # the default ld.so.conf also contains /usr/contrib/lib and
9514 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9515 # libtool to hard-code these into programs
9518 cygwin
* | mingw
* | pw32
* | cegcc
*)
9519 version_type
=windows
9524 case $GCC,$cc_basename in
9527 library_names_spec
='$libname.dll.a'
9528 # DLL is installed to $(libdir)/../bin by postinstall_cmds
9529 postinstall_cmds
='base_file=`basename \${file}`~
9530 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9531 dldir=$destdir/`dirname \$dlpath`~
9532 test -d \$dldir || mkdir -p \$dldir~
9533 $install_prog $dir/$dlname \$dldir/$dlname~
9534 chmod a+x \$dldir/$dlname~
9535 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
9536 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
9538 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9539 dlpath=$dir/\$dldll~
9541 shlibpath_overrides_runpath
=yes
9545 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9546 soname_spec
='`echo ${libname} | sed -e 's
/^lib
/cyg
/'``echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
9548 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
9551 # MinGW DLLs use traditional 'lib' prefix
9552 soname_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
9555 # pw32 DLLs use 'pw' prefix rather than 'lib'
9556 library_names_spec
='`echo ${libname} | sed -e 's
/^lib
/pw
/'``echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
9559 dynamic_linker
='Win32 ld.exe'
9564 libname_spec
='$name'
9565 soname_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
9566 library_names_spec
='${libname}.dll.lib'
9570 sys_lib_search_path_spec
=
9576 # Let DOS variable expansion print the short 8.3 style file name.
9577 lt_path
=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
9578 sys_lib_search_path_spec
="$sys_lib_search_path_spec $lt_path"
9581 # Convert to MSYS style.
9582 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
9585 # Convert to unix form, then to dos form, then back to unix form
9586 # but this time dos style (no spaces!) so that the unix form looks
9587 # like /cygdrive/c/PROGRA~1:/cygdr...
9588 sys_lib_search_path_spec
=`cygpath --path --unix "$LIB"`
9589 sys_lib_search_path_spec
=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
9590 sys_lib_search_path_spec
=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9593 sys_lib_search_path_spec
="$LIB"
9594 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev
/null
; then
9595 # It is most probably a Windows format PATH.
9596 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9598 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9600 # FIXME: find the short name or the path components, as spaces are
9601 # common. (e.g. "Program Files" -> "PROGRA~1")
9605 # DLL is installed to $(libdir)/../bin by postinstall_cmds
9606 postinstall_cmds
='base_file=`basename \${file}`~
9607 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9608 dldir=$destdir/`dirname \$dlpath`~
9609 test -d \$dldir || mkdir -p \$dldir~
9610 $install_prog $dir/$dlname \$dldir/$dlname'
9611 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9612 dlpath=$dir/\$dldll~
9614 shlibpath_overrides_runpath
=yes
9615 dynamic_linker
='Win32 link.exe'
9619 # Assume MSVC wrapper
9620 library_names_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext} $libname.lib'
9621 dynamic_linker
='Win32 ld.exe'
9624 # FIXME: first we should search . and the directory the executable is in
9628 darwin
* | rhapsody
*)
9629 dynamic_linker
="$host_os dyld"
9633 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9634 soname_spec
='${libname}${release}${major}$shared_ext'
9635 shlibpath_overrides_runpath
=yes
9636 shlibpath_var
=DYLD_LIBRARY_PATH
9637 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
9639 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
9640 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
9644 version_type
=linux
# correct to gnu/linux during the next big refactor
9647 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
9648 soname_spec
='${libname}${release}${shared_ext}$major'
9649 shlibpath_var
=LD_LIBRARY_PATH
9652 freebsd
* | dragonfly
*)
9653 # DragonFly does not have aout. When/if they implement a new
9654 # versioning mechanism, adjust this.
9655 if test -x /usr
/bin
/objformat
; then
9656 objformat
=`/usr/bin/objformat`
9659 freebsd
[23].
*) objformat
=aout
;;
9663 version_type
=freebsd
-$objformat
9664 case $version_type in
9666 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9671 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
9675 shlibpath_var
=LD_LIBRARY_PATH
9678 shlibpath_overrides_runpath
=yes
9680 freebsd3.
[01]* | freebsdelf3.
[01]*)
9681 shlibpath_overrides_runpath
=yes
9682 hardcode_into_libs
=yes
9684 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
9685 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
9686 shlibpath_overrides_runpath
=no
9687 hardcode_into_libs
=yes
9689 *) # from 4.6 on, and DragonFly
9690 shlibpath_overrides_runpath
=yes
9691 hardcode_into_libs
=yes
9697 version_type
=linux
# correct to gnu/linux during the next big refactor
9700 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9701 soname_spec
='${libname}${release}${shared_ext}$major'
9702 shlibpath_var
=LD_LIBRARY_PATH
9703 shlibpath_overrides_runpath
=no
9704 hardcode_into_libs
=yes
9708 version_type
=linux
# correct to gnu/linux during the next big refactor
9711 dynamic_linker
="$host_os runtime_loader"
9712 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9713 soname_spec
='${libname}${release}${shared_ext}$major'
9714 shlibpath_var
=LIBRARY_PATH
9715 shlibpath_overrides_runpath
=yes
9716 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
9717 hardcode_into_libs
=yes
9720 hpux9
* | hpux10
* | hpux11
*)
9721 # Give a soname corresponding to the major version so that dld.sl refuses to
9722 # link against other versions.
9729 hardcode_into_libs
=yes
9730 dynamic_linker
="$host_os dld.so"
9731 shlibpath_var
=LD_LIBRARY_PATH
9732 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
9733 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9734 soname_spec
='${libname}${release}${shared_ext}$major'
9735 if test "X$HPUX_IA64_MODE" = X32
; then
9736 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
9738 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
9740 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
9744 hardcode_into_libs
=yes
9745 dynamic_linker
="$host_os dld.sl"
9746 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
9747 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
9748 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9749 soname_spec
='${libname}${release}${shared_ext}$major'
9750 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
9751 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
9755 dynamic_linker
="$host_os dld.sl"
9756 shlibpath_var
=SHLIB_PATH
9757 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
9758 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9759 soname_spec
='${libname}${release}${shared_ext}$major'
9762 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
9763 postinstall_cmds
='chmod 555 $lib'
9764 # or fails outright, so override atomically:
9765 install_override_mode
=555
9769 version_type
=linux
# correct to gnu/linux during the next big refactor
9772 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9773 soname_spec
='${libname}${release}${shared_ext}$major'
9774 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
9775 shlibpath_var
=LD_LIBRARY_PATH
9776 shlibpath_overrides_runpath
=no
9777 hardcode_into_libs
=yes
9780 irix5
* | irix6
* | nonstopux
*)
9782 nonstopux
*) version_type
=nonstopux
;;
9784 if test "$lt_cv_prog_gnu_ld" = yes; then
9785 version_type
=linux
# correct to gnu/linux during the next big refactor
9792 soname_spec
='${libname}${release}${shared_ext}$major'
9793 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
9795 irix5
* | nonstopux
*)
9799 case $LD in # libtool.m4 will add one of these switches to LD
9800 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
9801 libsuff
= shlibsuff
= libmagic
=32-bit;;
9802 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
9803 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
9804 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
9805 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
9806 *) libsuff
= shlibsuff
= libmagic
=never
-match;;
9810 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
9811 shlibpath_overrides_runpath
=no
9812 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
9813 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
9814 hardcode_into_libs
=yes
9817 # No shared lib support for Linux oldld, aout, or coff.
9818 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
9822 # This must be glibc/ELF.
9823 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
9824 version_type
=linux
# correct to gnu/linux during the next big refactor
9827 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9828 soname_spec
='${libname}${release}${shared_ext}$major'
9829 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9830 shlibpath_var
=LD_LIBRARY_PATH
9831 shlibpath_overrides_runpath
=no
9833 # Some binutils ld are patched to set DT_RUNPATH
9834 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
9835 $as_echo_n "(cached) " >&6
9837 lt_cv_shlibpath_overrides_runpath
=no
9838 save_LDFLAGS
=$LDFLAGS
9840 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
9841 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
9842 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9843 /* end confdefs.h. */
9853 if ac_fn_c_try_link
"$LINENO"; then :
9854 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null
| grep "RUNPATH.*$libdir" >/dev
/null
; then :
9855 lt_cv_shlibpath_overrides_runpath
=yes
9858 rm -f core conftest.err conftest.
$ac_objext \
9859 conftest
$ac_exeext conftest.
$ac_ext
9860 LDFLAGS
=$save_LDFLAGS
9865 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
9867 # This implies no fast_install, which is unacceptable.
9868 # Some rework will be needed to allow for fast_install
9869 # before this can be enabled.
9870 hardcode_into_libs
=yes
9872 # Append ld.so.conf contents to the search path
9873 if test -f /etc
/ld.so.conf
; then
9874 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' ' '`
9875 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
9878 # We used to test for /lib/ld.so.1 and disable shared libraries on
9879 # powerpc, because MkLinux only supported shared libraries with the
9880 # GNU dynamic linker. Since this was broken with cross compilers,
9881 # most powerpc-linux boxes support dynamic linking these days and
9882 # people can always --disable-shared, the test was removed, and we
9883 # assume the GNU/Linux dynamic linker is in use.
9884 dynamic_linker
='GNU/Linux ld.so'
9891 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
9892 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9893 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9894 dynamic_linker
='NetBSD (a.out) ld.so'
9896 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9897 soname_spec
='${libname}${release}${shared_ext}$major'
9898 dynamic_linker
='NetBSD ld.elf_so'
9900 shlibpath_var
=LD_LIBRARY_PATH
9901 shlibpath_overrides_runpath
=yes
9902 hardcode_into_libs
=yes
9906 version_type
=linux
# correct to gnu/linux during the next big refactor
9907 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9908 shlibpath_var
=LD_LIBRARY_PATH
9909 shlibpath_overrides_runpath
=yes
9916 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9917 soname_spec
='${libname}${release}${shared_ext}$major'
9918 shlibpath_var
=LD_LIBRARY_PATH
9919 shlibpath_overrides_runpath
=no
9920 hardcode_into_libs
=yes
9921 dynamic_linker
='ldqnx.so'
9926 sys_lib_dlsearch_path_spec
="/usr/lib"
9928 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9930 openbsd3.3
| openbsd3.3.
*) need_version
=yes ;;
9931 *) need_version
=no
;;
9933 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9934 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9935 shlibpath_var
=LD_LIBRARY_PATH
9936 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9938 openbsd2.
[89] | openbsd2.
[89].
*)
9939 shlibpath_overrides_runpath
=no
9942 shlibpath_overrides_runpath
=yes
9946 shlibpath_overrides_runpath
=yes
9951 libname_spec
='$name'
9954 library_names_spec
='$libname${shared_ext} $libname.a'
9955 dynamic_linker
='OS/2 ld.exe'
9956 shlibpath_var
=LIBPATH
9959 osf3
* | osf4
* | osf5
*)
9963 soname_spec
='${libname}${release}${shared_ext}$major'
9964 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9965 shlibpath_var
=LD_LIBRARY_PATH
9966 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
9967 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
9975 version_type
=linux
# correct to gnu/linux during the next big refactor
9978 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9979 soname_spec
='${libname}${release}${shared_ext}$major'
9980 shlibpath_var
=LD_LIBRARY_PATH
9981 shlibpath_overrides_runpath
=yes
9982 hardcode_into_libs
=yes
9983 # ldd complains unless libraries are executable
9984 postinstall_cmds
='chmod +x $lib'
9989 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9990 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
9991 shlibpath_var
=LD_LIBRARY_PATH
9992 shlibpath_overrides_runpath
=yes
9993 if test "$with_gnu_ld" = yes; then
10000 version_type
=linux
# correct to gnu/linux during the next big refactor
10001 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10002 soname_spec
='${libname}${release}${shared_ext}$major'
10003 shlibpath_var
=LD_LIBRARY_PATH
10004 case $host_vendor in
10006 shlibpath_overrides_runpath
=no
10008 runpath_var
=LD_RUN_PATH
10016 shlibpath_overrides_runpath
=no
10017 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
10023 if test -d /usr
/nec
;then
10024 version_type
=linux
# correct to gnu/linux during the next big refactor
10025 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10026 soname_spec
='$libname${shared_ext}.$major'
10027 shlibpath_var
=LD_LIBRARY_PATH
10031 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
10032 version_type
=freebsd
-elf
10035 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10036 soname_spec
='${libname}${release}${shared_ext}$major'
10037 shlibpath_var
=LD_LIBRARY_PATH
10038 shlibpath_overrides_runpath
=yes
10039 hardcode_into_libs
=yes
10040 if test "$with_gnu_ld" = yes; then
10041 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10043 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
10046 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
10050 sys_lib_dlsearch_path_spec
='/usr/lib'
10054 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10055 version_type
=linux
# correct to gnu/linux during the next big refactor
10058 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10059 shlibpath_var
=LD_LIBRARY_PATH
10060 shlibpath_overrides_runpath
=no
10061 hardcode_into_libs
=yes
10065 version_type
=linux
# correct to gnu/linux during the next big refactor
10066 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10067 soname_spec
='${libname}${release}${shared_ext}$major'
10068 shlibpath_var
=LD_LIBRARY_PATH
10075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10076 $as_echo "$dynamic_linker" >&6; }
10077 test "$dynamic_linker" = no
&& can_build_shared
=no
10079 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
10080 if test "$GCC" = yes; then
10081 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10084 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10085 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
10087 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10088 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
10182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10183 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10185 if test -n "$hardcode_libdir_flag_spec" ||
10186 test -n "$runpath_var" ||
10187 test "X$hardcode_automatic" = "Xyes" ; then
10189 # We can hardcode non-existent directories.
10190 if test "$hardcode_direct" != no
&&
10191 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10192 # have to relink, otherwise we might link with an installed library
10193 # when we should be linking with a yet-to-be-installed one
10194 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10195 test "$hardcode_minus_L" != no
; then
10196 # Linking always hardcodes the temporary library directory.
10197 hardcode_action
=relink
10199 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10200 hardcode_action
=immediate
10203 # We cannot hardcode anything, or else we can only hardcode existing
10205 hardcode_action
=unsupported
10207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10208 $as_echo "$hardcode_action" >&6; }
10210 if test "$hardcode_action" = relink
||
10211 test "$inherit_rpath" = yes; then
10212 # Fast installation is not supported
10213 enable_fast_install
=no
10214 elif test "$shlibpath_overrides_runpath" = yes ||
10215 test "$enable_shared" = no
; then
10216 # Fast installation is not necessary
10217 enable_fast_install
=needless
10225 if test "x$enable_dlopen" != xyes
; then
10226 enable_dlopen
=unknown
10227 enable_dlopen_self
=unknown
10228 enable_dlopen_self_static
=unknown
10235 lt_cv_dlopen
="load_add_on"
10237 lt_cv_dlopen_self
=yes
10240 mingw
* | pw32
* | cegcc
*)
10241 lt_cv_dlopen
="LoadLibrary"
10246 lt_cv_dlopen
="dlopen"
10251 # if libdl is installed we need to link against it
10252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10253 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10254 if ${ac_cv_lib_dl_dlopen+:} false
; then :
10255 $as_echo_n "(cached) " >&6
10257 ac_check_lib_save_LIBS
=$LIBS
10259 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10260 /* end confdefs.h. */
10262 /* Override any GCC internal prototype to avoid an error.
10263 Use char because int might match the return type of a GCC
10264 builtin and then its argument prototype would still apply. */
10277 if ac_fn_c_try_link
"$LINENO"; then :
10278 ac_cv_lib_dl_dlopen
=yes
10280 ac_cv_lib_dl_dlopen
=no
10282 rm -f core conftest.err conftest.
$ac_objext \
10283 conftest
$ac_exeext conftest.
$ac_ext
10284 LIBS
=$ac_check_lib_save_LIBS
10286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10287 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10288 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
10289 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10292 lt_cv_dlopen
="dyld"
10294 lt_cv_dlopen_self
=yes
10301 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
10302 if test "x$ac_cv_func_shl_load" = xyes
; then :
10303 lt_cv_dlopen
="shl_load"
10305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10306 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10307 if ${ac_cv_lib_dld_shl_load+:} false
; then :
10308 $as_echo_n "(cached) " >&6
10310 ac_check_lib_save_LIBS
=$LIBS
10312 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10313 /* end confdefs.h. */
10315 /* Override any GCC internal prototype to avoid an error.
10316 Use char because int might match the return type of a GCC
10317 builtin and then its argument prototype would still apply. */
10325 return shl_load ();
10330 if ac_fn_c_try_link
"$LINENO"; then :
10331 ac_cv_lib_dld_shl_load
=yes
10333 ac_cv_lib_dld_shl_load
=no
10335 rm -f core conftest.err conftest.
$ac_objext \
10336 conftest
$ac_exeext conftest.
$ac_ext
10337 LIBS
=$ac_check_lib_save_LIBS
10339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10340 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10341 if test "x$ac_cv_lib_dld_shl_load" = xyes
; then :
10342 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
10344 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
10345 if test "x$ac_cv_func_dlopen" = xyes
; then :
10346 lt_cv_dlopen
="dlopen"
10348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10349 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10350 if ${ac_cv_lib_dl_dlopen+:} false
; then :
10351 $as_echo_n "(cached) " >&6
10353 ac_check_lib_save_LIBS
=$LIBS
10355 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10356 /* end confdefs.h. */
10358 /* Override any GCC internal prototype to avoid an error.
10359 Use char because int might match the return type of a GCC
10360 builtin and then its argument prototype would still apply. */
10373 if ac_fn_c_try_link
"$LINENO"; then :
10374 ac_cv_lib_dl_dlopen
=yes
10376 ac_cv_lib_dl_dlopen
=no
10378 rm -f core conftest.err conftest.
$ac_objext \
10379 conftest
$ac_exeext conftest.
$ac_ext
10380 LIBS
=$ac_check_lib_save_LIBS
10382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10383 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10384 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
10385 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
10388 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
10389 if ${ac_cv_lib_svld_dlopen+:} false
; then :
10390 $as_echo_n "(cached) " >&6
10392 ac_check_lib_save_LIBS
=$LIBS
10393 LIBS
="-lsvld $LIBS"
10394 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10395 /* end confdefs.h. */
10397 /* Override any GCC internal prototype to avoid an error.
10398 Use char because int might match the return type of a GCC
10399 builtin and then its argument prototype would still apply. */
10412 if ac_fn_c_try_link
"$LINENO"; then :
10413 ac_cv_lib_svld_dlopen
=yes
10415 ac_cv_lib_svld_dlopen
=no
10417 rm -f core conftest.err conftest.
$ac_objext \
10418 conftest
$ac_exeext conftest.
$ac_ext
10419 LIBS
=$ac_check_lib_save_LIBS
10421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
10422 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
10423 if test "x$ac_cv_lib_svld_dlopen" = xyes
; then :
10424 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
10426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
10427 $as_echo_n "checking for dld_link in -ldld... " >&6; }
10428 if ${ac_cv_lib_dld_dld_link+:} false
; then :
10429 $as_echo_n "(cached) " >&6
10431 ac_check_lib_save_LIBS
=$LIBS
10433 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10434 /* end confdefs.h. */
10436 /* Override any GCC internal prototype to avoid an error.
10437 Use char because int might match the return type of a GCC
10438 builtin and then its argument prototype would still apply. */
10446 return dld_link ();
10451 if ac_fn_c_try_link
"$LINENO"; then :
10452 ac_cv_lib_dld_dld_link
=yes
10454 ac_cv_lib_dld_dld_link
=no
10456 rm -f core conftest.err conftest.
$ac_objext \
10457 conftest
$ac_exeext conftest.
$ac_ext
10458 LIBS
=$ac_check_lib_save_LIBS
10460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
10461 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
10462 if test "x$ac_cv_lib_dld_dld_link" = xyes
; then :
10463 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
10484 if test "x$lt_cv_dlopen" != xno
; then
10490 case $lt_cv_dlopen in
10492 save_CPPFLAGS
="$CPPFLAGS"
10493 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
10495 save_LDFLAGS
="$LDFLAGS"
10496 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
10499 LIBS
="$lt_cv_dlopen_libs $LIBS"
10501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
10502 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
10503 if ${lt_cv_dlopen_self+:} false
; then :
10504 $as_echo_n "(cached) " >&6
10506 if test "$cross_compiling" = yes; then :
10507 lt_cv_dlopen_self
=cross
10509 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
10510 lt_status
=$lt_dlunknown
10511 cat > conftest.
$ac_ext <<_LT_EOF
10512 #line $LINENO "configure"
10513 #include "confdefs.h"
10522 # define LT_DLGLOBAL RTLD_GLOBAL
10525 # define LT_DLGLOBAL DL_GLOBAL
10527 # define LT_DLGLOBAL 0
10531 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10532 find out it does not work in some platform. */
10533 #ifndef LT_DLLAZY_OR_NOW
10535 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10538 # define LT_DLLAZY_OR_NOW DL_LAZY
10541 # define LT_DLLAZY_OR_NOW RTLD_NOW
10544 # define LT_DLLAZY_OR_NOW DL_NOW
10546 # define LT_DLLAZY_OR_NOW 0
10553 /* When -fvisbility=hidden is used, assume the code has been annotated
10554 correspondingly for the symbols needed. */
10555 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
10556 int fnord () __attribute__((visibility("default")));
10559 int fnord () { return 42; }
10562 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10563 int status = $lt_dlunknown;
10567 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10570 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10571 else puts (dlerror ());
10573 /* dlclose (self); */
10581 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10582 (eval $ac_link) 2>&5
10584 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10585 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
10586 (.
/conftest
; exit; ) >&5 2>/dev
/null
10588 case x
$lt_status in
10589 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
10590 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
10591 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
10594 # compilation failed
10595 lt_cv_dlopen_self
=no
10602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
10603 $as_echo "$lt_cv_dlopen_self" >&6; }
10605 if test "x$lt_cv_dlopen_self" = xyes
; then
10606 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
10607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
10608 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
10609 if ${lt_cv_dlopen_self_static+:} false
; then :
10610 $as_echo_n "(cached) " >&6
10612 if test "$cross_compiling" = yes; then :
10613 lt_cv_dlopen_self_static
=cross
10615 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
10616 lt_status
=$lt_dlunknown
10617 cat > conftest.
$ac_ext <<_LT_EOF
10618 #line $LINENO "configure"
10619 #include "confdefs.h"
10628 # define LT_DLGLOBAL RTLD_GLOBAL
10631 # define LT_DLGLOBAL DL_GLOBAL
10633 # define LT_DLGLOBAL 0
10637 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10638 find out it does not work in some platform. */
10639 #ifndef LT_DLLAZY_OR_NOW
10641 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10644 # define LT_DLLAZY_OR_NOW DL_LAZY
10647 # define LT_DLLAZY_OR_NOW RTLD_NOW
10650 # define LT_DLLAZY_OR_NOW DL_NOW
10652 # define LT_DLLAZY_OR_NOW 0
10659 /* When -fvisbility=hidden is used, assume the code has been annotated
10660 correspondingly for the symbols needed. */
10661 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
10662 int fnord () __attribute__((visibility("default")));
10665 int fnord () { return 42; }
10668 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10669 int status = $lt_dlunknown;
10673 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10676 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10677 else puts (dlerror ());
10679 /* dlclose (self); */
10687 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10688 (eval $ac_link) 2>&5
10690 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10691 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
10692 (.
/conftest
; exit; ) >&5 2>/dev
/null
10694 case x
$lt_status in
10695 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
10696 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
10697 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
10700 # compilation failed
10701 lt_cv_dlopen_self_static
=no
10708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
10709 $as_echo "$lt_cv_dlopen_self_static" >&6; }
10712 CPPFLAGS
="$save_CPPFLAGS"
10713 LDFLAGS
="$save_LDFLAGS"
10718 case $lt_cv_dlopen_self in
10719 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
10720 *) enable_dlopen_self
=unknown
;;
10723 case $lt_cv_dlopen_self_static in
10724 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
10725 *) enable_dlopen_self_static
=unknown
;;
10747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
10748 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
10749 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev
/null
; then
10750 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
10751 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
10752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10753 $as_echo "yes" >&6; }
10755 # FIXME - insert some real tests, host_os isn't really good enough
10758 if test -n "$STRIP" ; then
10759 striplib
="$STRIP -x"
10760 old_striplib
="$STRIP -S"
10761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10762 $as_echo "yes" >&6; }
10764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10765 $as_echo "no" >&6; }
10769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10770 $as_echo "no" >&6; }
10786 # Report which library types will actually be built
10787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
10788 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
10789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
10790 $as_echo "$can_build_shared" >&6; }
10792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
10793 $as_echo_n "checking whether to build shared libraries... " >&6; }
10794 test "$can_build_shared" = "no" && enable_shared
=no
10796 # On AIX, shared libraries and static libraries use the same namespace, and
10797 # are all built from PIC.
10800 test "$enable_shared" = yes && enable_static
=no
10801 if test -n "$RANLIB"; then
10802 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
10803 postinstall_cmds
='$RANLIB $lib'
10808 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
10809 test "$enable_shared" = yes && enable_static
=no
10813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
10814 $as_echo "$enable_shared" >&6; }
10816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
10817 $as_echo_n "checking whether to build static libraries... " >&6; }
10818 # Make sure either enable_shared or enable_static is yes.
10819 test "$enable_shared" = yes || enable_static
=yes
10820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
10821 $as_echo "$enable_static" >&6; }
10828 ac_cpp
='$CPP $CPPFLAGS'
10829 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10830 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10831 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10849 ac_config_commands
="$ac_config_commands libtool"
10854 # Only expand once:
10863 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
10864 if test -n "$ac_tool_prefix"; then
10865 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
10866 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
10867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10868 $as_echo_n "checking for $ac_word... " >&6; }
10869 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
10870 $as_echo_n "(cached) " >&6
10872 case $PKG_CONFIG in
10874 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
10877 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10878 for as_dir
in $PATH
10881 test -z "$as_dir" && as_dir
=.
10882 for ac_exec_ext
in '' $ac_executable_extensions; do
10883 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10884 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
10885 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10895 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
10896 if test -n "$PKG_CONFIG"; then
10897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
10898 $as_echo "$PKG_CONFIG" >&6; }
10900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10901 $as_echo "no" >&6; }
10906 if test -z "$ac_cv_path_PKG_CONFIG"; then
10907 ac_pt_PKG_CONFIG
=$PKG_CONFIG
10908 # Extract the first word of "pkg-config", so it can be a program name with args.
10909 set dummy pkg
-config; ac_word
=$2
10910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10911 $as_echo_n "checking for $ac_word... " >&6; }
10912 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
10913 $as_echo_n "(cached) " >&6
10915 case $ac_pt_PKG_CONFIG in
10917 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
10920 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10921 for as_dir
in $PATH
10924 test -z "$as_dir" && as_dir
=.
10925 for ac_exec_ext
in '' $ac_executable_extensions; do
10926 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10927 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
10928 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10938 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
10939 if test -n "$ac_pt_PKG_CONFIG"; then
10940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
10941 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
10943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10944 $as_echo "no" >&6; }
10947 if test "x$ac_pt_PKG_CONFIG" = x
; then
10950 case $cross_compiling:$ac_tool_warned in
10952 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10953 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10954 ac_tool_warned
=yes ;;
10956 PKG_CONFIG
=$ac_pt_PKG_CONFIG
10959 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
10963 if test -n "$PKG_CONFIG"; then
10964 _pkg_min_version
=0.22
10965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
10966 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
10967 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
10968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10969 $as_echo "yes" >&6; }
10971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10972 $as_echo "no" >&6; }
10976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU make" >&5
10977 $as_echo_n "checking for GNU make... " >&6; }
10978 if ${_cv_gnu_make_command+:} false
; then :
10979 $as_echo_n "(cached) " >&6
10981 _cv_gnu_make_command
='' ;
10982 for a
in "$MAKE" make gmake gnumake
; do
10983 if test -z "$a" ; then continue ; fi ;
10984 if ( sh
-c "$a --version" 2> /dev
/null
| grep GNU
2>&1 > /dev
/null
) ; then
10985 _cv_gnu_make_command
=$a ;
10991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_cv_gnu_make_command" >&5
10992 $as_echo "$_cv_gnu_make_command" >&6; } ;
10993 if test "x$_cv_gnu_make_command" != "x" ; then
10997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"Not found\"" >&5
10998 $as_echo "\"Not found\"" >&6; };
11002 GMAKE
=$_cv_gnu_make_command
11005 if test "x$GMAKE" = x
; then :
11006 as_fn_error $?
"You need GNU make" "$LINENO" 5
11008 for ac_prog
in bash
11010 # Extract the first word of "$ac_prog", so it can be a program name with args.
11011 set dummy
$ac_prog; ac_word
=$2
11012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11013 $as_echo_n "checking for $ac_word... " >&6; }
11014 if ${ac_cv_path__BASH+:} false
; then :
11015 $as_echo_n "(cached) " >&6
11019 ac_cv_path__BASH
="$_BASH" # Let the user override the test with a path.
11022 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11023 for as_dir
in $PATH
11026 test -z "$as_dir" && as_dir
=.
11027 for ac_exec_ext
in '' $ac_executable_extensions; do
11028 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11029 ac_cv_path__BASH
="$as_dir/$ac_word$ac_exec_ext"
11030 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11040 _BASH
=$ac_cv_path__BASH
11041 if test -n "$_BASH"; then
11042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_BASH" >&5
11043 $as_echo "$_BASH" >&6; }
11045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11046 $as_echo "no" >&6; }
11050 test -n "$_BASH" && break
11053 if test "x$_BASH" = x
; then :
11054 as_fn_error $?
"You need GNU bash" "$LINENO" 5
11056 for ac_prog
in time
11058 # Extract the first word of "$ac_prog", so it can be a program name with args.
11059 set dummy
$ac_prog; ac_word
=$2
11060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11061 $as_echo_n "checking for $ac_word... " >&6; }
11062 if ${ac_cv_path_TIME+:} false
; then :
11063 $as_echo_n "(cached) " >&6
11067 ac_cv_path_TIME
="$TIME" # Let the user override the test with a path.
11070 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11071 for as_dir
in $PATH
11074 test -z "$as_dir" && as_dir
=.
11075 for ac_exec_ext
in '' $ac_executable_extensions; do
11076 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11077 ac_cv_path_TIME
="$as_dir/$ac_word$ac_exec_ext"
11078 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11088 TIME
=$ac_cv_path_TIME
11089 if test -n "$TIME"; then
11090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TIME" >&5
11091 $as_echo "$TIME" >&6; }
11093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11094 $as_echo "no" >&6; }
11098 test -n "$TIME" && break
11104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bison >= 2.3" >&5
11105 $as_echo_n "checking for bison >= 2.3... " >&6; }
11106 if test -z "$BISON"; then
11107 ac_path_BISON_found
=false
11108 # Loop through the user's path and test for each of PROGNAME-LIST
11109 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11110 for as_dir
in $PATH
11113 test -z "$as_dir" && as_dir
=.
11114 for ac_prog
in bison
; do
11115 for ac_exec_ext
in '' $ac_executable_extensions; do
11116 ac_path_BISON
="$as_dir/$ac_prog$ac_exec_ext"
11117 as_fn_executable_p
"$ac_path_BISON" || continue
11118 as_awk_strverscmp
='
11119 # Use only awk features that work with 7th edition Unix awk (1978).
11120 # My, what an old awk you have, Mr. Solaris!
11122 while (length(v1) && length(v2)) {
11123 # Set d1 to be the next thing to compare from v1, and likewise for d2.
11124 # Normally this is a single character, but if v1 and v2 contain digits,
11125 # compare them as integers and fractions as strverscmp does.
11126 if (v1 ~ /^0-9/ && v2 ~ /^0-9/) {
11127 # Split v1 and v2 into their leading digit string components d1 and d2,
11128 # and advance v1 and v2 past the leading digit strings.
11129 for (len1 = 1; substr(v1, len1 + 1) ~ /^0-9/; len1++) continue
11130 for (len2 = 1; substr(v2, len2 + 1) ~ /^0-9/; len2++) continue
11131 d1 = substr(v1, 1, len1); v1 = substr(v1, len1 + 1)
11132 d2 = substr(v2, 1, len2); v2 = substr(v2, len2 + 1)
11135 # Compare two fractions.
11136 while (d1 ~ /^0/ && d2 ~ /^0/) {
11137 d1 = substr(d1, 2); len1--
11138 d2 = substr(d2, 2); len2--
11140 if (len1 != len2 && ! (len1 && len2 && substr(d1, 1, 1) == substr(d2, 1, 1))) {
11141 # The two components differ in length, and the common prefix
11142 # contains only leading zeros. Consider the longer to be less.
11146 # Otherwise, compare as strings.
11151 # A fraction is less than an integer.
11156 # An integer is greater than a fraction.
11159 # Compare two integers.
11165 # The normal case, without worrying about digits.
11166 d1 = substr(v1, 1, 1); v1 = substr(v1, 2)
11167 d2 = substr(v2, 1, 1); v2 = substr(v2, 2)
11169 if (d1 < d2) exit 1
11170 if (d1 > d2) exit 2
11172 # Beware Solaris /usr/xgp4/bin/awk (at least through Solaris 10),
11173 # which mishandles some comparisons of empty strings to integers.
11174 if (length(v2)) exit 1
11175 if (length(v1)) exit 2
11178 as_arg_v1
=`$ac_path_BISON -V | $SED -e '1 s/^bison (GNU Bison) \(.*\)$/\1/p;d'`
11180 awk "$as_awk_strverscmp" v1
="$as_arg_v1" v2
="$as_arg_v2" /dev
/null
11185 ac_cv_path_BISON
=$ac_path_BISON
11188 ac_cv_path_BISON
=$ac_path_BISON
11194 $ac_path_BISON_found && break 3
11199 if test -z "$ac_cv_path_BISON"; then
11200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11201 $as_echo "no" >&6; }
11202 as_fn_error $?
"You need bison 2.3 or greater" "$LINENO" 5
11206 ac_cv_path_BISON
=$BISON
11209 BISON
=$ac_cv_path_BISON
11211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
11212 $as_echo "$BISON" >&6; }
11216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for flex >= 2.5.33" >&5
11217 $as_echo_n "checking for flex >= 2.5.33... " >&6; }
11218 if test -z "$FLEX"; then
11219 ac_path_FLEX_found
=false
11220 # Loop through the user's path and test for each of PROGNAME-LIST
11221 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11222 for as_dir
in $PATH
11225 test -z "$as_dir" && as_dir
=.
11226 for ac_prog
in flex
; do
11227 for ac_exec_ext
in '' $ac_executable_extensions; do
11228 ac_path_FLEX
="$as_dir/$ac_prog$ac_exec_ext"
11229 as_fn_executable_p
"$ac_path_FLEX" || continue
11230 as_arg_v1
=`$ac_path_FLEX --version | $SED -e '1 s/^[^0-9.]* \([0-9.]*\).*$/\1/p;d'`
11232 awk "$as_awk_strverscmp" v1
="$as_arg_v1" v2
="$as_arg_v2" /dev
/null
11237 ac_cv_path_FLEX
=$ac_path_FLEX
11240 ac_cv_path_FLEX
=$ac_path_FLEX
11246 $ac_path_FLEX_found && break 3
11251 if test -z "$ac_cv_path_FLEX"; then
11252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11253 $as_echo "no" >&6; }
11254 as_fn_error $?
"You need flex 2.5.33 or greater" "$LINENO" 5
11258 ac_cv_path_FLEX
=$FLEX
11261 FLEX
=$ac_cv_path_FLEX
11263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
11264 $as_echo "$FLEX" >&6; }
11268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gperf >= 3.0.3" >&5
11269 $as_echo_n "checking for gperf >= 3.0.3... " >&6; }
11270 if test -z "$GPERF"; then
11271 ac_path_GPERF_found
=false
11272 # Loop through the user's path and test for each of PROGNAME-LIST
11273 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11274 for as_dir
in $PATH
11277 test -z "$as_dir" && as_dir
=.
11278 for ac_prog
in gperf
; do
11279 for ac_exec_ext
in '' $ac_executable_extensions; do
11280 ac_path_GPERF
="$as_dir/$ac_prog$ac_exec_ext"
11281 as_fn_executable_p
"$ac_path_GPERF" || continue
11282 as_arg_v1
=`$ac_path_GPERF --version | $SED -e '1 s/^.* \([0-9.]*\)$/\1/p;d'`
11284 awk "$as_awk_strverscmp" v1
="$as_arg_v1" v2
="$as_arg_v2" /dev
/null
11289 ac_cv_path_GPERF
=$ac_path_GPERF
11292 ac_cv_path_GPERF
=$ac_path_GPERF
11298 $ac_path_GPERF_found && break 3
11303 if test -z "$ac_cv_path_GPERF"; then
11304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11305 $as_echo "no" >&6; }
11306 as_fn_error $?
"You need gperf 3.0.3 or greater" "$LINENO" 5
11310 ac_cv_path_GPERF
=$GPERF
11313 GPERF
=$ac_cv_path_GPERF
11315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GPERF" >&5
11316 $as_echo "$GPERF" >&6; }
11318 # Find a good install program. We prefer a C program (faster),
11319 # so one script is as good as another. But avoid the broken or
11320 # incompatible versions:
11321 # SysV /etc/install, /usr/sbin/install
11322 # SunOS /usr/etc/install
11323 # IRIX /sbin/install
11325 # AmigaOS /C/install, which installs bootblocks on floppy discs
11326 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
11327 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
11328 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
11329 # OS/2's system install, which has a completely different semantic
11330 # ./install, which can be erroneously created by make from ./install.sh.
11331 # Reject install programs that cannot install multiple files.
11332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
11333 $as_echo_n "checking for a BSD-compatible install... " >&6; }
11334 if test -z "$INSTALL"; then
11335 if ${ac_cv_path_install+:} false
; then :
11336 $as_echo_n "(cached) " >&6
11338 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11339 for as_dir
in $PATH
11342 test -z "$as_dir" && as_dir
=.
11343 # Account for people who put trailing slashes in PATH elements.
11344 case $as_dir/ in #((
11345 .
/ | .
// | /[cC
]/* | \
11346 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
11347 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
11350 # OSF1 and SCO ODT 3.0 have their own names for install.
11351 # Don't use installbsd from OSF since it installs stuff as root
11353 for ac_prog
in ginstall scoinst
install; do
11354 for ac_exec_ext
in '' $ac_executable_extensions; do
11355 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
11356 if test $ac_prog = install &&
11357 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
11358 # AIX install. It has an incompatible calling convention.
11360 elif test $ac_prog = install &&
11361 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
11362 # program-specific install script used by HP pwplus--don't use.
11365 rm -rf conftest.one conftest.two conftest.dir
11366 echo one
> conftest.one
11367 echo two
> conftest.two
11369 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
11370 test -s conftest.one
&& test -s conftest.two
&&
11371 test -s conftest.dir
/conftest.one
&&
11372 test -s conftest.dir
/conftest.two
11374 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
11387 rm -rf conftest.one conftest.two conftest.dir
11390 if test "${ac_cv_path_install+set}" = set; then
11391 INSTALL
=$ac_cv_path_install
11393 # As a last resort, use the slow shell script. Don't cache a
11394 # value for INSTALL within a source directory, because that will
11395 # break other packages using the cache if that directory is
11396 # removed, or if the value is a relative name.
11397 INSTALL
=$ac_install_sh
11400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
11401 $as_echo "$INSTALL" >&6; }
11403 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
11404 # It thinks the first close brace ends the variable substitution.
11405 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
11407 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
11409 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
11411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU tar >=1.19" >&5
11412 $as_echo_n "checking for GNU tar >=1.19... " >&6; }
11413 if test -z "$GNUTAR"; then
11414 ac_path_GNUTAR_found
=false
11415 # Loop through the user's path and test for each of PROGNAME-LIST
11416 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11417 for as_dir
in $PATH
11420 test -z "$as_dir" && as_dir
=.
11421 for ac_prog
in tar gtar gnutar
; do
11422 for ac_exec_ext
in '' $ac_executable_extensions; do
11423 ac_path_GNUTAR
="$as_dir/$ac_prog$ac_exec_ext"
11424 as_fn_executable_p
"$ac_path_GNUTAR" || continue
11426 if test "x`$ac_path_GNUTAR --version | $SED -e '1 s/^tar (GNU tar)/&/p;d'`" != x
; then :
11428 as_arg_v1
=`$ac_path_GNUTAR --version | $SED -e '1 s/^tar (GNU tar) \(.*\)$/\1/p;d'`
11430 awk "$as_awk_strverscmp" v1
="$as_arg_v1" v2
="$as_arg_v2" /dev
/null
11436 ac_cv_path_GNUTAR
=$ac_path_GNUTAR
11440 ac_cv_path_GNUTAR
=$ac_path_GNUTAR
11448 $ac_path_GNUTAR_found && break 3
11453 if test -z "$ac_cv_path_GNUTAR"; then
11457 ac_cv_path_GNUTAR
=$GNUTAR
11460 if test "x$ac_cv_path_GNUTAR" != x
; then :
11462 GNUTAR
=$ac_cv_path_GNUTAR
11464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNUTAR" >&5
11465 $as_echo "$GNUTAR" >&6; }
11471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11472 $as_echo "no" >&6; }
11477 # Extract the first word of "$ac_prog", so it can be a program name with args.
11478 set dummy
$ac_prog; ac_word
=$2
11479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11480 $as_echo_n "checking for $ac_word... " >&6; }
11481 if ${ac_cv_prog_GIT+:} false
; then :
11482 $as_echo_n "(cached) " >&6
11484 if test -n "$GIT"; then
11485 ac_cv_prog_GIT
="$GIT" # Let the user override the test.
11487 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11488 for as_dir
in $PATH
11491 test -z "$as_dir" && as_dir
=.
11492 for ac_exec_ext
in '' $ac_executable_extensions; do
11493 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11494 ac_cv_prog_GIT
="$ac_prog"
11495 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11504 GIT
=$ac_cv_prog_GIT
11505 if test -n "$GIT"; then
11506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GIT" >&5
11507 $as_echo "$GIT" >&6; }
11509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11510 $as_echo "no" >&6; }
11514 test -n "$GIT" && break
11518 ac_cpp
='$CXXCPP $CPPFLAGS'
11519 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11520 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11521 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11522 if test -z "$CXX"; then
11523 if test -n "$CCC"; then
11526 if test -n "$ac_tool_prefix"; then
11527 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
11529 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11530 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
11531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11532 $as_echo_n "checking for $ac_word... " >&6; }
11533 if ${ac_cv_prog_CXX+:} false
; then :
11534 $as_echo_n "(cached) " >&6
11536 if test -n "$CXX"; then
11537 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
11539 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11540 for as_dir
in $PATH
11543 test -z "$as_dir" && as_dir
=.
11544 for ac_exec_ext
in '' $ac_executable_extensions; do
11545 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11546 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
11547 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11556 CXX
=$ac_cv_prog_CXX
11557 if test -n "$CXX"; then
11558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
11559 $as_echo "$CXX" >&6; }
11561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11562 $as_echo "no" >&6; }
11566 test -n "$CXX" && break
11569 if test -z "$CXX"; then
11571 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
11573 # Extract the first word of "$ac_prog", so it can be a program name with args.
11574 set dummy
$ac_prog; ac_word
=$2
11575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11576 $as_echo_n "checking for $ac_word... " >&6; }
11577 if ${ac_cv_prog_ac_ct_CXX+:} false
; then :
11578 $as_echo_n "(cached) " >&6
11580 if test -n "$ac_ct_CXX"; then
11581 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
11583 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11584 for as_dir
in $PATH
11587 test -z "$as_dir" && as_dir
=.
11588 for ac_exec_ext
in '' $ac_executable_extensions; do
11589 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11590 ac_cv_prog_ac_ct_CXX
="$ac_prog"
11591 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11600 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
11601 if test -n "$ac_ct_CXX"; then
11602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
11603 $as_echo "$ac_ct_CXX" >&6; }
11605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11606 $as_echo "no" >&6; }
11610 test -n "$ac_ct_CXX" && break
11613 if test "x$ac_ct_CXX" = x
; then
11616 case $cross_compiling:$ac_tool_warned in
11618 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11619 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11620 ac_tool_warned
=yes ;;
11628 # Provide some information about the compiler.
11629 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
11632 for ac_option
in --version -v -V -qversion; do
11633 { { ac_try
="$ac_compiler $ac_option >&5"
11634 case "(($ac_try" in
11635 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
11636 *) ac_try_echo=$ac_try;;
11638 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11639 $as_echo "$ac_try_echo"; } >&5
11640 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
11642 if test -s conftest.err; then
11644 ... rest of stderr output deleted ...
11645 10q' conftest.err >conftest.er1
11646 cat conftest.er1 >&5
11648 rm -f conftest.er1 conftest.err
11649 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11650 test $ac_status = 0; }
11653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
11654 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
11655 if ${ac_cv_cxx_compiler_gnu+:} false; then :
11656 $as_echo_n "(cached) " >&6
11658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11659 /* end confdefs.h. */
11672 if ac_fn_cxx_try_compile "$LINENO"; then :
11673 ac_compiler_gnu=yes
11677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11678 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
11681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
11682 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
11683 if test $ac_compiler_gnu = yes; then
11688 ac_test_CXXFLAGS=${CXXFLAGS+set}
11689 ac_save_CXXFLAGS=$CXXFLAGS
11690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
11691 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
11692 if ${ac_cv_prog_cxx_g+:} false; then :
11693 $as_echo_n "(cached) " >&6
11695 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
11696 ac_cxx_werror_flag=yes
11697 ac_cv_prog_cxx_g=no
11699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11700 /* end confdefs.h. */
11710 if ac_fn_cxx_try_compile "$LINENO"; then :
11711 ac_cv_prog_cxx_g=yes
11714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11715 /* end confdefs.h. */
11725 if ac_fn_cxx_try_compile "$LINENO"; then :
11728 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
11730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11731 /* end confdefs.h. */
11741 if ac_fn_cxx_try_compile "$LINENO"; then :
11742 ac_cv_prog_cxx_g=yes
11744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11749 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
11751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
11752 $as_echo "$ac_cv_prog_cxx_g" >&6; }
11753 if test "$ac_test_CXXFLAGS" = set; then
11754 CXXFLAGS=$ac_save_CXXFLAGS
11755 elif test $ac_cv_prog_cxx_g = yes; then
11756 if test "$GXX" = yes; then
11762 if test "$GXX" = yes; then
11769 ac_cpp='$CPP $CPPFLAGS'
11770 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11771 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11772 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11776 func_stripname_cnf ()
11779 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
11780 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
11782 } # func_stripname_cnf
11784 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
11785 ( (test "X$CXX" = "Xg++" && `g
++ -v >/dev
/null
2>&1` ) ||
11786 (test "X$CXX" != "Xg++"))) ; then
11788 ac_cpp='$CXXCPP $CPPFLAGS'
11789 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11790 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11791 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
11793 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
11794 if test -z "$CXXCPP"; then
11795 if ${ac_cv_prog_CXXCPP+:} false; then :
11796 $as_echo_n "(cached) " >&6
11798 # Double quotes because CXXCPP needs to be expanded
11799 for CXXCPP in "$CXX -E" "/lib/cpp"
11801 ac_preproc_ok=false
11802 for ac_cxx_preproc_warn_flag in '' yes
11804 # Use a header file that comes with gcc, so configuring glibc
11805 # with a fresh cross-compiler works.
11806 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11807 # <limits.h> exists even on freestanding compilers.
11808 # On the NeXT, cc -E runs the code through the compiler's parser,
11809 # not just through cpp. "Syntax error" is here to catch this case.
11810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11811 /* end confdefs.h. */
11813 # include <limits.h>
11815 # include <assert.h>
11819 if ac_fn_cxx_try_cpp "$LINENO"; then :
11822 # Broken: fails on valid input.
11825 rm -f conftest.err conftest.i conftest.$ac_ext
11827 # OK, works on sane cases. Now check whether nonexistent headers
11828 # can be detected and how.
11829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11830 /* end confdefs.h. */
11831 #include <ac_nonexistent.h>
11833 if ac_fn_cxx_try_cpp "$LINENO"; then :
11834 # Broken: success on invalid input.
11837 # Passes both tests.
11841 rm -f conftest.err conftest.i conftest.$ac_ext
11844 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11845 rm -f conftest.i conftest.err conftest.
$ac_ext
11846 if $ac_preproc_ok; then :
11851 ac_cv_prog_CXXCPP
=$CXXCPP
11854 CXXCPP
=$ac_cv_prog_CXXCPP
11856 ac_cv_prog_CXXCPP
=$CXXCPP
11858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
11859 $as_echo "$CXXCPP" >&6; }
11860 ac_preproc_ok
=false
11861 for ac_cxx_preproc_warn_flag
in '' yes
11863 # Use a header file that comes with gcc, so configuring glibc
11864 # with a fresh cross-compiler works.
11865 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11866 # <limits.h> exists even on freestanding compilers.
11867 # On the NeXT, cc -E runs the code through the compiler's parser,
11868 # not just through cpp. "Syntax error" is here to catch this case.
11869 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11870 /* end confdefs.h. */
11872 # include <limits.h>
11874 # include <assert.h>
11878 if ac_fn_cxx_try_cpp
"$LINENO"; then :
11881 # Broken: fails on valid input.
11884 rm -f conftest.err conftest.i conftest.
$ac_ext
11886 # OK, works on sane cases. Now check whether nonexistent headers
11887 # can be detected and how.
11888 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11889 /* end confdefs.h. */
11890 #include <ac_nonexistent.h>
11892 if ac_fn_cxx_try_cpp
"$LINENO"; then :
11893 # Broken: success on invalid input.
11896 # Passes both tests.
11900 rm -f conftest.err conftest.i conftest.
$ac_ext
11903 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11904 rm -f conftest.i conftest.err conftest.
$ac_ext
11905 if $ac_preproc_ok; then :
11908 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11909 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11910 as_fn_error $?
"C++ preprocessor \"$CXXCPP\" fails sanity check
11911 See \`config.log' for more details" "$LINENO" 5; }
11915 ac_cpp
='$CPP $CPPFLAGS'
11916 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11917 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11918 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11921 _lt_caught_CXX_error
=yes
11925 ac_cpp
='$CXXCPP $CPPFLAGS'
11926 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11927 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11928 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11930 archive_cmds_need_lc_CXX
=no
11931 allow_undefined_flag_CXX
=
11932 always_export_symbols_CXX
=no
11933 archive_expsym_cmds_CXX
=
11934 compiler_needs_object_CXX
=no
11935 export_dynamic_flag_spec_CXX
=
11936 hardcode_direct_CXX
=no
11937 hardcode_direct_absolute_CXX
=no
11938 hardcode_libdir_flag_spec_CXX
=
11939 hardcode_libdir_separator_CXX
=
11940 hardcode_minus_L_CXX
=no
11941 hardcode_shlibpath_var_CXX
=unsupported
11942 hardcode_automatic_CXX
=no
11943 inherit_rpath_CXX
=no
11945 module_expsym_cmds_CXX
=
11946 link_all_deplibs_CXX
=unknown
11947 old_archive_cmds_CXX
=$old_archive_cmds
11948 reload_flag_CXX
=$reload_flag
11949 reload_cmds_CXX
=$reload_cmds
11950 no_undefined_flag_CXX
=
11951 whole_archive_flag_spec_CXX
=
11952 enable_shared_with_static_runtimes_CXX
=no
11954 # Source file extension for C++ test sources.
11957 # Object file extension for compiled C++ test sources.
11961 # No sense in running all these tests if we already determined that
11962 # the CXX compiler isn't working. Some variables (like enable_shared)
11963 # are currently assumed to apply to all compilers on this platform,
11964 # and will be corrupted by setting them based on a non-working compiler.
11965 if test "$_lt_caught_CXX_error" != yes; then
11966 # Code to be used in simple compile tests
11967 lt_simple_compile_test_code
="int some_variable = 0;"
11969 # Code to be used in simple link tests
11970 lt_simple_link_test_code
='int main(int, char *[]) { return(0); }'
11972 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
11979 # If no C compiler was specified, use CC.
11982 # If no C compiler flags were specified, use CFLAGS.
11983 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
11985 # Allow CC to be a program name with arguments.
11989 # save warnings/boilerplate of simple test code
11990 ac_outfile
=conftest.
$ac_objext
11991 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
11992 eval "$ac_compile" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
11993 _lt_compiler_boilerplate
=`cat conftest.err`
11996 ac_outfile
=conftest.
$ac_objext
11997 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
11998 eval "$ac_link" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
11999 _lt_linker_boilerplate
=`cat conftest.err`
12003 # Allow CC to be a program name with arguments.
12005 lt_save_CFLAGS
=$CFLAGS
12009 lt_save_with_gnu_ld
=$with_gnu_ld
12010 lt_save_path_LD
=$lt_cv_path_LD
12011 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12012 lt_cv_prog_gnu_ld
=$lt_cv_prog_gnu_ldcxx
12014 $as_unset lt_cv_prog_gnu_ld
12016 if test -n "${lt_cv_path_LDCXX+set}"; then
12017 lt_cv_path_LD
=$lt_cv_path_LDCXX
12019 $as_unset lt_cv_path_LD
12021 test -z "${LDCXX+set}" || LD
=$LDCXX
12026 for cc_temp
in $compiler""; do
12028 compile
| *[\\/]compile
| ccache
| *[\\/]ccache
) ;;
12029 distcc
| *[\\/]distcc
| purify
| *[\\/]purify
) ;;
12034 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12037 if test -n "$compiler"; then
12038 # We don't want -fno-exception when compiling C++ code, so set the
12039 # no_builtin_flag separately
12040 if test "$GXX" = yes; then
12041 lt_prog_compiler_no_builtin_flag_CXX
=' -fno-builtin'
12043 lt_prog_compiler_no_builtin_flag_CXX
=
12046 if test "$GXX" = yes; then
12047 # Set up default GNU C++ configuration
12051 # Check whether --with-gnu-ld was given.
12052 if test "${with_gnu_ld+set}" = set; then :
12053 withval
=$with_gnu_ld; test "$withval" = no
|| with_gnu_ld
=yes
12059 if test "$GCC" = yes; then
12060 # Check if gcc -print-prog-name=ld gives a path.
12061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12062 $as_echo_n "checking for ld used by $CC... " >&6; }
12065 # gcc leaves a trailing carriage return which upsets mingw
12066 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12068 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
12071 # Accept absolute paths.
12073 re_direlt
='/[^/][^/]*/\.\./'
12074 # Canonicalize the pathname of ld
12075 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12076 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev
/null
2>&1; do
12077 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12079 test -z "$LD" && LD
="$ac_prog"
12082 # If it fails, then pretend we aren't using GCC.
12086 # If it is relative, then search for the first ld in PATH.
12087 with_gnu_ld
=unknown
12090 elif test "$with_gnu_ld" = yes; then
12091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12092 $as_echo_n "checking for GNU ld... " >&6; }
12094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12095 $as_echo_n "checking for non-GNU ld... " >&6; }
12097 if ${lt_cv_path_LD+:} false
; then :
12098 $as_echo_n "(cached) " >&6
12100 if test -z "$LD"; then
12101 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
12102 for ac_dir
in $PATH; do
12104 test -z "$ac_dir" && ac_dir
=.
12105 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12106 lt_cv_path_LD
="$ac_dir/$ac_prog"
12107 # Check to see if the program is GNU ld. I'd rather use --version,
12108 # but apparently some variants of GNU ld only accept -v.
12109 # Break only if it was the GNU/non-GNU ld that we prefer.
12110 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12111 *GNU
* | *'with BFD'*)
12112 test "$with_gnu_ld" != no
&& break
12115 test "$with_gnu_ld" != yes && break
12122 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
12126 LD
="$lt_cv_path_LD"
12127 if test -n "$LD"; then
12128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12129 $as_echo "$LD" >&6; }
12131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12132 $as_echo "no" >&6; }
12134 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
12135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12136 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12137 if ${lt_cv_prog_gnu_ld+:} false
; then :
12138 $as_echo_n "(cached) " >&6
12140 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12141 case `$LD -v 2>&1 </dev/null` in
12142 *GNU
* | *'with BFD'*)
12143 lt_cv_prog_gnu_ld
=yes
12146 lt_cv_prog_gnu_ld
=no
12150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12151 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12152 with_gnu_ld
=$lt_cv_prog_gnu_ld
12160 # Check if GNU C++ uses GNU ld as the underlying linker, since the
12161 # archiving commands below assume that GNU ld is being used.
12162 if test "$with_gnu_ld" = yes; then
12163 archive_cmds_CXX
='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12164 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'
12166 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12167 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12169 # If archive_cmds runs LD, not CC, wlarc should be empty
12170 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12171 # investigate it a little bit more. (MM)
12174 # ancient GNU ld didn't support --whole-archive et. al.
12175 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12176 $GREP 'no-whole-archive' > /dev
/null
; then
12177 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12179 whole_archive_flag_spec_CXX
=
12185 # A generic and very simple default shared library creation
12186 # command for GNU C++ for the case where it uses the native
12187 # linker, instead of GNU ld. If possible, this setting should
12188 # overridden to take advantage of the native linker features on
12189 # the platform it is being used on.
12190 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12193 # Commands to make compiler produce verbose output that lists
12194 # what "hidden" libraries, object files and flags are used when
12195 # linking a shared library.
12196 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12204 # PORTME: fill in a description of your system's C++ link characteristics
12205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12206 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12210 # FIXME: insert proper C++ library support
12214 if test "$host_cpu" = ia64
; then
12215 # On IA64, the linker does run time linking by default, so we don't
12216 # have to do anything special.
12217 aix_use_runtimelinking
=no
12218 exp_sym_flag
='-Bexport'
12221 aix_use_runtimelinking
=no
12223 # Test if we are trying to use run time linking or normal
12224 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12225 # need to do runtime linking.
12226 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
12227 for ld_flag
in $LDFLAGS; do
12230 aix_use_runtimelinking
=yes
12238 exp_sym_flag
='-bexport'
12239 no_entry_flag
='-bnoentry'
12242 # When large executables or shared objects are built, AIX ld can
12243 # have problems creating the table of contents. If linking a library
12244 # or program results in "error TOC overflow" add -mminimal-toc to
12245 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12246 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12248 archive_cmds_CXX
=''
12249 hardcode_direct_CXX
=yes
12250 hardcode_direct_absolute_CXX
=yes
12251 hardcode_libdir_separator_CXX
=':'
12252 link_all_deplibs_CXX
=yes
12253 file_list_spec_CXX
='${wl}-f,'
12255 if test "$GXX" = yes; then
12256 case $host_os in aix4.
[012]|aix4.
[012].
*)
12257 # We only want to do this on AIX 4.2 and lower, the check
12258 # below for broken collect2 doesn't work under 4.3+
12259 collect2name
=`${CC} -print-prog-name=collect2`
12260 if test -f "$collect2name" &&
12261 strings "$collect2name" | $GREP resolve_lib_name
>/dev
/null
12263 # We have reworked collect2
12266 # We have old collect2
12267 hardcode_direct_CXX
=unsupported
12268 # It fails to find uninstalled libraries when the uninstalled
12269 # path is not listed in the libpath. Setting hardcode_minus_L
12270 # to unsupported forces relinking
12271 hardcode_minus_L_CXX
=yes
12272 hardcode_libdir_flag_spec_CXX
='-L$libdir'
12273 hardcode_libdir_separator_CXX
=
12276 shared_flag
='-shared'
12277 if test "$aix_use_runtimelinking" = yes; then
12278 shared_flag
="$shared_flag "'${wl}-G'
12282 if test "$host_cpu" = ia64
; then
12283 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12284 # chokes on -Wl,-G. The following line is correct:
12287 if test "$aix_use_runtimelinking" = yes; then
12288 shared_flag
='${wl}-G'
12290 shared_flag
='${wl}-bM:SRE'
12295 export_dynamic_flag_spec_CXX
='${wl}-bexpall'
12296 # It seems that -bexpall does not export symbols beginning with
12297 # underscore (_), so it is better to generate a list of symbols to
12299 always_export_symbols_CXX
=yes
12300 if test "$aix_use_runtimelinking" = yes; then
12301 # Warning - without using the other runtime loading flags (-brtl),
12302 # -berok will link without error, but may produce a broken library.
12303 allow_undefined_flag_CXX
='-berok'
12304 # Determine the default libpath from the value encoded in an empty
12306 if test "${lt_cv_aix_libpath+set}" = set; then
12307 aix_libpath
=$lt_cv_aix_libpath
12309 if ${lt_cv_aix_libpath__CXX+:} false
; then :
12310 $as_echo_n "(cached) " >&6
12312 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12313 /* end confdefs.h. */
12323 if ac_fn_cxx_try_link
"$LINENO"; then :
12325 lt_aix_libpath_sed
='
12326 /Import File Strings/,/^$/ {
12328 s/^0 *\([^ ]*\) *$/\1/
12332 lt_cv_aix_libpath__CXX
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12333 # Check for a 64-bit object if we didn't find anything.
12334 if test -z "$lt_cv_aix_libpath__CXX"; then
12335 lt_cv_aix_libpath__CXX
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12338 rm -f core conftest.err conftest.
$ac_objext \
12339 conftest
$ac_exeext conftest.
$ac_ext
12340 if test -z "$lt_cv_aix_libpath__CXX"; then
12341 lt_cv_aix_libpath__CXX
="/usr/lib:/lib"
12346 aix_libpath
=$lt_cv_aix_libpath__CXX
12349 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
12351 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"
12353 if test "$host_cpu" = ia64
; then
12354 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
12355 allow_undefined_flag_CXX
="-z nodefs"
12356 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"
12358 # Determine the default libpath from the value encoded in an
12359 # empty executable.
12360 if test "${lt_cv_aix_libpath+set}" = set; then
12361 aix_libpath
=$lt_cv_aix_libpath
12363 if ${lt_cv_aix_libpath__CXX+:} false
; then :
12364 $as_echo_n "(cached) " >&6
12366 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12367 /* end confdefs.h. */
12377 if ac_fn_cxx_try_link
"$LINENO"; then :
12379 lt_aix_libpath_sed
='
12380 /Import File Strings/,/^$/ {
12382 s/^0 *\([^ ]*\) *$/\1/
12386 lt_cv_aix_libpath__CXX
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12387 # Check for a 64-bit object if we didn't find anything.
12388 if test -z "$lt_cv_aix_libpath__CXX"; then
12389 lt_cv_aix_libpath__CXX
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12392 rm -f core conftest.err conftest.
$ac_objext \
12393 conftest
$ac_exeext conftest.
$ac_ext
12394 if test -z "$lt_cv_aix_libpath__CXX"; then
12395 lt_cv_aix_libpath__CXX
="/usr/lib:/lib"
12400 aix_libpath
=$lt_cv_aix_libpath__CXX
12403 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
12404 # Warning - without using the other run time loading flags,
12405 # -berok will link without error, but may produce a broken library.
12406 no_undefined_flag_CXX
=' ${wl}-bernotok'
12407 allow_undefined_flag_CXX
=' ${wl}-berok'
12408 if test "$with_gnu_ld" = yes; then
12409 # We only use this code for GNU lds that support --whole-archive.
12410 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12412 # Exported symbols can be pulled into shared objects from archives
12413 whole_archive_flag_spec_CXX
='$convenience'
12415 archive_cmds_need_lc_CXX
=yes
12416 # This is similar to how AIX traditionally builds its shared
12418 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'
12424 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
12425 allow_undefined_flag_CXX
=unsupported
12426 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12427 # support --undefined. This deserves some investigation. FIXME
12428 archive_cmds_CXX
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12435 case $cc_basename in
12437 # FIXME: insert proper C++ library support
12443 cygwin
* | mingw
* | pw32
* | cegcc
*)
12444 case $GXX,$cc_basename in
12447 # hardcode_libdir_flag_spec is actually meaningless, as there is
12448 # no search path for DLLs.
12449 hardcode_libdir_flag_spec_CXX
=' '
12450 allow_undefined_flag_CXX
=unsupported
12451 always_export_symbols_CXX
=yes
12452 file_list_spec_CXX
='@'
12453 # Tell ltmain to make .lib files, not .a files.
12455 # Tell ltmain to make .dll files, not .so files.
12457 # FIXME: Setting linknames here is a bad hack.
12458 archive_cmds_CXX
='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
12459 archive_expsym_cmds_CXX
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12460 $SED -n -e 's
/\\\\\\\
(.
*\\\\\\\
)/-link\\\
-EXPORT:\\\\\\\
1/' -e '1\\\
!p
' < $export_symbols > $output_objdir/$soname.exp;
12462 $SED -e 's
/\\\\\\\
(.
*\\\\\\\
)/-link\\\
-EXPORT:\\\\\\\
1/' < $export_symbols > $output_objdir/$soname.exp;
12464 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
12466 # The linker will not automatically build a static lib if we build a DLL.
12467 # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
12468 enable_shared_with_static_runtimes_CXX
=yes
12470 old_postinstall_cmds_CXX
='chmod 644 $oldlib'
12471 postlink_cmds_CXX
='lt_outputfile="@OUTPUT@"~
12472 lt_tool_outputfile="@TOOL_OUTPUT@"~
12473 case $lt_outputfile in
12476 lt_outputfile="$lt_outputfile.exe"
12477 lt_tool_outputfile="$lt_tool_outputfile.exe"
12480 func_to_tool_file "$lt_outputfile"~
12481 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
12482 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
12483 $RM "$lt_outputfile.manifest";
12488 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12489 # as there is no search path for DLLs.
12490 hardcode_libdir_flag_spec_CXX
='-L$libdir'
12491 export_dynamic_flag_spec_CXX
='${wl}--export-all-symbols'
12492 allow_undefined_flag_CXX
=unsupported
12493 always_export_symbols_CXX
=no
12494 enable_shared_with_static_runtimes_CXX
=yes
12496 if $LD --help 2>&1 | $GREP 'auto-import' > /dev
/null
; then
12497 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'
12498 # If the export-symbols file already is a .def file (1st line
12499 # is EXPORTS), use it as is; otherwise, prepend...
12500 archive_expsym_cmds_CXX
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12501 cp $export_symbols $output_objdir/$soname.def;
12503 echo EXPORTS > $output_objdir/$soname.def;
12504 cat $export_symbols >> $output_objdir/$soname.def;
12506 $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'
12513 darwin
* | rhapsody
*)
12516 archive_cmds_need_lc_CXX
=no
12517 hardcode_direct_CXX
=no
12518 hardcode_automatic_CXX
=yes
12519 hardcode_shlibpath_var_CXX
=unsupported
12520 if test "$lt_cv_ld_force_load" = "yes"; then
12521 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\"`'
12524 whole_archive_flag_spec_CXX
=''
12526 link_all_deplibs_CXX
=yes
12527 allow_undefined_flag_CXX
="$_lt_dar_allow_undefined"
12528 case $cc_basename in
12529 ifort
*) _lt_dar_can_shared
=yes ;;
12530 *) _lt_dar_can_shared
=$GCC ;;
12532 if test "$_lt_dar_can_shared" = "yes"; then
12533 output_verbose_link_cmd
=func_echo_all
12534 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}"
12535 module_cmds_CXX
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12536 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}"
12537 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}"
12538 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
12539 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}"
12540 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}"
12550 case $cc_basename in
12552 # FIXME: insert proper C++ library support
12556 # Green Hills C++ Compiler
12557 # FIXME: insert proper C++ library support
12561 # FIXME: insert proper C++ library support
12568 # C++ shared libraries reported to be fairly broken before
12574 archive_cmds_need_lc_CXX
=no
12577 freebsd
* | dragonfly
*)
12578 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12587 archive_cmds_CXX
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12588 link_all_deplibs_CXX
=yes
12592 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
12593 hardcode_libdir_separator_CXX
=:
12594 export_dynamic_flag_spec_CXX
='${wl}-E'
12595 hardcode_direct_CXX
=yes
12596 hardcode_minus_L_CXX
=yes # Not in the search PATH,
12597 # but as the default
12598 # location of the library.
12600 case $cc_basename in
12602 # FIXME: insert proper C++ library support
12606 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'
12607 # Commands to make compiler produce verbose output that lists
12608 # what "hidden" libraries, object files and flags are used when
12609 # linking a shared library.
12611 # There doesn't appear to be a way to prevent this compiler from
12612 # explicitly linking system object files so we need to strip them
12613 # from the output so that they don't get included in the library
12615 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"'
12618 if test "$GXX" = yes; then
12619 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'
12621 # FIXME: insert proper C++ library support
12629 if test $with_gnu_ld = no
; then
12630 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
12631 hardcode_libdir_separator_CXX
=:
12637 export_dynamic_flag_spec_CXX
='${wl}-E'
12643 hardcode_direct_CXX
=no
12644 hardcode_shlibpath_var_CXX
=no
12647 hardcode_direct_CXX
=yes
12648 hardcode_direct_absolute_CXX
=yes
12649 hardcode_minus_L_CXX
=yes # Not in the search PATH,
12650 # but as the default
12651 # location of the library.
12655 case $cc_basename in
12657 # FIXME: insert proper C++ library support
12663 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12666 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12669 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12672 # Commands to make compiler produce verbose output that lists
12673 # what "hidden" libraries, object files and flags are used when
12674 # linking a shared library.
12676 # There doesn't appear to be a way to prevent this compiler from
12677 # explicitly linking system object files so we need to strip them
12678 # from the output so that they don't get included in the library
12680 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"'
12683 if test "$GXX" = yes; then
12684 if test $with_gnu_ld = no
; then
12687 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12690 archive_cmds_CXX
='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12693 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'
12698 # FIXME: insert proper C++ library support
12706 hardcode_direct_CXX
=no
12707 hardcode_shlibpath_var_CXX
=no
12708 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12709 export_dynamic_flag_spec_CXX
='${wl}-E'
12710 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12711 # Instead, shared libraries are loaded at an image base (0x10000000 by
12712 # default) and relocated if they conflict, which is a slow very memory
12713 # consuming and fragmenting process. To avoid this, we pick a random,
12714 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12715 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12716 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'
12717 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'
12720 case $cc_basename in
12723 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'
12725 # Archives containing C++ object files must be created using
12726 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
12727 # necessary to make sure instantiated templates are included
12729 old_archive_cmds_CXX
='$CC -ar -WR,-u -o $oldlib $oldobjs'
12732 if test "$GXX" = yes; then
12733 if test "$with_gnu_ld" = no
; then
12734 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'
12736 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'
12739 link_all_deplibs_CXX
=yes
12742 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12743 hardcode_libdir_separator_CXX
=:
12744 inherit_rpath_CXX
=yes
12747 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
12748 case $cc_basename in
12750 # Kuck and Associates, Inc. (KAI) C++ Compiler
12752 # KCC will only create a shared library if the output file
12753 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12754 # to its proper name (with version) after linking.
12755 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'
12756 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'
12757 # Commands to make compiler produce verbose output that lists
12758 # what "hidden" libraries, object files and flags are used when
12759 # linking a shared library.
12761 # There doesn't appear to be a way to prevent this compiler from
12762 # explicitly linking system object files so we need to strip them
12763 # from the output so that they don't get included in the library
12765 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"'
12767 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12768 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12770 # Archives containing C++ object files must be created using
12771 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12772 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
12777 # version 8.0 and above of icpc choke on multiply defined symbols
12778 # if we add $predep_objects and $postdep_objects, however 7.1 and
12779 # earlier do not add the objects themselves.
12780 case `$CC -V 2>&1` in
12782 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12783 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'
12785 *) # Version 8.0 or newer
12788 ia64
*) tmp_idyn
=' -i_dynamic';;
12790 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12791 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'
12794 archive_cmds_need_lc_CXX
=no
12795 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12796 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12797 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12800 # Portland Group C++ compiler
12802 *pgCC\
[1-5].
* | *pgcpp\
[1-5].
*)
12803 prelink_cmds_CXX
='tpldir=Template.dir~
12805 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
12806 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
12807 old_archive_cmds_CXX
='tpldir=Template.dir~
12809 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
12810 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
12812 archive_cmds_CXX
='tpldir=Template.dir~
12814 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12815 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12816 archive_expsym_cmds_CXX
='tpldir=Template.dir~
12818 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12819 $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'
12821 *) # Version 6 and above use weak symbols
12822 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12823 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'
12827 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
12828 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12829 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'
12833 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12834 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'
12836 runpath_var
=LD_RUN_PATH
12837 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
12838 hardcode_libdir_separator_CXX
=:
12840 # Commands to make compiler produce verbose output that lists
12841 # what "hidden" libraries, object files and flags are used when
12842 # linking a shared library.
12844 # There doesn't appear to be a way to prevent this compiler from
12845 # explicitly linking system object files so we need to strip them
12846 # from the output so that they don't get included in the library
12848 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'
12850 xl
* | mpixl
* | bgxl
*)
12851 # IBM XL 8.0 on PPC, with GNU ld
12852 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12853 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12854 archive_cmds_CXX
='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12855 if test "x$supports_anon_versioning" = xyes
; then
12856 archive_expsym_cmds_CXX
='echo "{ global:" > $output_objdir/$libname.ver~
12857 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12858 echo "local: *; };" >> $output_objdir/$libname.ver~
12859 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12863 case `$CC -V 2>&1 | sed 5q` in
12866 no_undefined_flag_CXX
=' -zdefs'
12867 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12868 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'
12869 hardcode_libdir_flag_spec_CXX
='-R$libdir'
12870 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'
12871 compiler_needs_object_CXX
=yes
12873 # Not sure whether something based on
12874 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
12876 output_verbose_link_cmd
='func_echo_all'
12878 # Archives containing C++ object files must be created using
12879 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12880 # necessary to make sure instantiated templates are included
12882 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
12890 # FIXME: insert proper C++ library support
12895 # FIXME: insert proper C++ library support
12900 case $cc_basename in
12902 # FIXME: insert proper C++ library support
12906 # FIXME: insert proper C++ library support
12913 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
12914 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
12916 hardcode_libdir_flag_spec_CXX
='-R$libdir'
12917 hardcode_direct_CXX
=yes
12918 hardcode_shlibpath_var_CXX
=no
12920 # Workaround some broken pre-1.5 toolchains
12921 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
12929 # C++ shared libraries are fairly broken
12934 if test -f /usr
/libexec
/ld.so
; then
12935 hardcode_direct_CXX
=yes
12936 hardcode_shlibpath_var_CXX
=no
12937 hardcode_direct_absolute_CXX
=yes
12938 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12939 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12940 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12941 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
12942 export_dynamic_flag_spec_CXX
='${wl}-E'
12943 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12945 output_verbose_link_cmd
=func_echo_all
12951 osf3
* | osf4
* | osf5
*)
12952 case $cc_basename in
12954 # Kuck and Associates, Inc. (KAI) C++ Compiler
12956 # KCC will only create a shared library if the output file
12957 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12958 # to its proper name (with version) after linking.
12959 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'
12961 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12962 hardcode_libdir_separator_CXX
=:
12964 # Archives containing C++ object files must be created using
12965 # the KAI C++ compiler.
12967 osf3
*) old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs' ;;
12968 *) old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs' ;;
12972 # Rational C++ 2.4.1
12973 # FIXME: insert proper C++ library support
12979 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
12980 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'
12981 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12984 allow_undefined_flag_CXX
=' -expect_unresolved \*'
12985 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'
12986 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
12987 echo "-hidden">> $lib.exp~
12988 $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~
12990 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
12994 hardcode_libdir_separator_CXX
=:
12996 # Commands to make compiler produce verbose output that lists
12997 # what "hidden" libraries, object files and flags are used when
12998 # linking a shared library.
13000 # There doesn't appear to be a way to prevent this compiler from
13001 # explicitly linking system object files so we need to strip them
13002 # from the output so that they don't get included in the library
13004 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"'
13007 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
13008 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
13011 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'
13014 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'
13018 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13019 hardcode_libdir_separator_CXX
=:
13021 # Commands to make compiler produce verbose output that lists
13022 # what "hidden" libraries, object files and flags are used when
13023 # linking a shared library.
13024 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13027 # FIXME: insert proper C++ library support
13035 # FIXME: insert proper C++ library support
13040 case $cc_basename in
13043 # FIXME: insert proper C++ library support
13048 # FIXME: insert proper C++ library support
13052 # FIXME: insert proper C++ library support
13059 case $cc_basename in
13061 # Sun C++ 4.2, 5.x and Centerline C++
13062 archive_cmds_need_lc_CXX
=yes
13063 no_undefined_flag_CXX
=' -zdefs'
13064 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13065 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13066 $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'
13068 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13069 hardcode_shlibpath_var_CXX
=no
13071 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
13073 # The compiler driver will combine and reorder linker options,
13074 # but understands `-z linker_flag'.
13075 # Supported since Solaris 2.6 (maybe 2.5.1?)
13076 whole_archive_flag_spec_CXX
='-z allextract$convenience -z defaultextract'
13079 link_all_deplibs_CXX
=yes
13081 output_verbose_link_cmd
='func_echo_all'
13083 # Archives containing C++ object files must be created using
13084 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13085 # necessary to make sure instantiated templates are included
13087 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
13090 # Green Hills C++ Compiler
13091 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13093 # The C++ compiler must be used to create the archive.
13094 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13097 # GNU C++ compiler with Solaris linker
13098 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
13099 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
13100 if $CC --version | $GREP -v '^2\.7' > /dev
/null
; then
13101 archive_cmds_CXX
='$CC -shared $pic_flag -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13102 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13103 $CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13105 # Commands to make compiler produce verbose output that lists
13106 # what "hidden" libraries, object files and flags are used when
13107 # linking a shared library.
13108 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13110 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13112 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13113 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13114 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13116 # Commands to make compiler produce verbose output that lists
13117 # what "hidden" libraries, object files and flags are used when
13118 # linking a shared library.
13119 output_verbose_link_cmd
='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13122 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
13124 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
13126 whole_archive_flag_spec_CXX
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13134 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
13135 no_undefined_flag_CXX
='${wl}-z,text'
13136 archive_cmds_need_lc_CXX
=no
13137 hardcode_shlibpath_var_CXX
=no
13138 runpath_var
='LD_RUN_PATH'
13140 case $cc_basename in
13142 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13143 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13146 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13147 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13152 sysv5
* | sco3.2v5
* | sco5v6
*)
13153 # Note: We can NOT use -z defs as we might desire, because we do not
13154 # link with -lc, and that would cause any symbols used from libc to
13155 # always be unresolved, which means just about no library would
13156 # ever link correctly. If we're not using GNU ld we use -z text
13157 # though, which does catch some bad symbols but isn't as heavy-handed
13159 no_undefined_flag_CXX
='${wl}-z,text'
13160 allow_undefined_flag_CXX
='${wl}-z,nodefs'
13161 archive_cmds_need_lc_CXX
=no
13162 hardcode_shlibpath_var_CXX
=no
13163 hardcode_libdir_flag_spec_CXX
='${wl}-R,$libdir'
13164 hardcode_libdir_separator_CXX
=':'
13165 link_all_deplibs_CXX
=yes
13166 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
13167 runpath_var
='LD_RUN_PATH'
13169 case $cc_basename in
13171 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13172 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13173 old_archive_cmds_CXX
='$CC -Tprelink_objects $oldobjs~
13174 '"$old_archive_cmds_CXX"
13175 reload_cmds_CXX
='$CC -Tprelink_objects $reload_objs~
13176 '"$reload_cmds_CXX"
13179 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13180 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13186 case $cc_basename in
13188 # NonStop-UX NCC 3.20
13189 # FIXME: insert proper C++ library support
13193 # FIXME: insert proper C++ library support
13200 # FIXME: insert proper C++ library support
13205 # FIXME: insert proper C++ library support
13210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13211 $as_echo "$ld_shlibs_CXX" >&6; }
13212 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
13218 ## There is no encapsulation within the following macros, do not change
13219 ## the running order or otherwise move them around unless you know exactly
13220 ## what you are doing...
13221 # Dependencies to place before and after the object being linked:
13222 predep_objects_CXX
=
13223 postdep_objects_CXX
=
13226 compiler_lib_search_path_CXX
=
13228 cat > conftest.
$ac_ext <<_LT_EOF
13232 Foo (void) { a = 0; }
13239 _lt_libdeps_save_CFLAGS
=$CFLAGS
13240 case "$CC $CFLAGS " in #(
13241 *\
-flto*\
*) CFLAGS
="$CFLAGS -fno-lto" ;;
13242 *\
-fwhopr*\
*) CFLAGS
="$CFLAGS -fno-whopr" ;;
13243 *\
-fuse-linker-plugin*\
*) CFLAGS
="$CFLAGS -fno-use-linker-plugin" ;;
13246 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13247 (eval $ac_compile) 2>&5
13249 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13250 test $ac_status = 0; }; then
13251 # Parse the compiler output and extract the necessary
13252 # objects, libraries and library flags.
13254 # Sentinel used to keep track of whether or not we are before
13255 # the conftest object file.
13256 pre_test_object_deps_done
=no
13258 for p
in `eval "$output_verbose_link_cmd"`; do
13259 case ${prev}${p} in
13262 # Some compilers place space between "-{L,R}" and the path.
13263 # Remove the space.
13264 if test $p = "-L" ||
13265 test $p = "-R"; then
13270 # Expand the sysroot to ease extracting the directories later.
13271 if test -z "$prev"; then
13273 -L*) func_stripname_cnf
'-L' '' "$p"; prev
=-L; p
=$func_stripname_result ;;
13274 -R*) func_stripname_cnf
'-R' '' "$p"; prev
=-R; p
=$func_stripname_result ;;
13275 -l*) func_stripname_cnf
'-l' '' "$p"; prev
=-l; p
=$func_stripname_result ;;
13279 =*) func_stripname_cnf
'=' '' "$p"; p
=$lt_sysroot$func_stripname_result ;;
13281 if test "$pre_test_object_deps_done" = no
; then
13284 # Internal compiler library paths should come after those
13285 # provided the user. The postdeps already come after the
13286 # user supplied libs so there is no need to process them.
13287 if test -z "$compiler_lib_search_path_CXX"; then
13288 compiler_lib_search_path_CXX
="${prev}${p}"
13290 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
13293 # The "-l" case would never come before the object being
13294 # linked, so don't bother handling this case.
13297 if test -z "$postdeps_CXX"; then
13298 postdeps_CXX
="${prev}${p}"
13300 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
13306 *.lto.
$objext) ;; # Ignore GCC LTO objects
13308 # This assumes that the test object file only shows up
13309 # once in the compiler output.
13310 if test "$p" = "conftest.$objext"; then
13311 pre_test_object_deps_done
=yes
13315 if test "$pre_test_object_deps_done" = no
; then
13316 if test -z "$predep_objects_CXX"; then
13317 predep_objects_CXX
="$p"
13319 predep_objects_CXX
="$predep_objects_CXX $p"
13322 if test -z "$postdep_objects_CXX"; then
13323 postdep_objects_CXX
="$p"
13325 postdep_objects_CXX
="$postdep_objects_CXX $p"
13330 *) ;; # Ignore the rest.
13338 echo "libtool.m4: error: problem compiling CXX test program"
13341 $RM -f confest.
$objext
13342 CFLAGS
=$_lt_libdeps_save_CFLAGS
13344 # PORTME: override above test on systems where it is broken
13347 # Interix 3.5 installs completely hosed .la files for C++, so rather than
13348 # hack all around it, let's just trust "g++" to DTRT.
13349 predep_objects_CXX
=
13350 postdep_objects_CXX
=
13355 case `$CC -V 2>&1 | sed 5q` in
13359 # The more standards-conforming stlport4 library is
13360 # incompatible with the Cstd library. Avoid specifying
13361 # it if it's in CXXFLAGS. Ignore libCrun as
13362 # -library=stlport4 depends on it.
13363 case " $CXX $CXXFLAGS " in
13364 *" -library=stlport4 "*)
13365 solaris_use_stlport4
=yes
13369 if test "$solaris_use_stlport4" != yes; then
13370 postdeps_CXX
='-library=Cstd -library=Crun'
13377 case $cc_basename in
13379 # The more standards-conforming stlport4 library is
13380 # incompatible with the Cstd library. Avoid specifying
13381 # it if it's in CXXFLAGS. Ignore libCrun as
13382 # -library=stlport4 depends on it.
13383 case " $CXX $CXXFLAGS " in
13384 *" -library=stlport4 "*)
13385 solaris_use_stlport4
=yes
13389 # Adding this requires a known-good setup of shared libraries for
13390 # Sun compiler versions before 5.6, else PIC objects from an old
13391 # archive will be linked into the output, leading to subtle bugs.
13392 if test "$solaris_use_stlport4" != yes; then
13393 postdeps_CXX
='-library=Cstd -library=Crun'
13401 case " $postdeps_CXX " in
13402 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
13404 compiler_lib_search_dirs_CXX
=
13405 if test -n "${compiler_lib_search_path_CXX}"; then
13406 compiler_lib_search_dirs_CXX
=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13439 lt_prog_compiler_wl_CXX
=
13440 lt_prog_compiler_pic_CXX
=
13441 lt_prog_compiler_static_CXX
=
13444 # C++ specific cases for pic, static, wl, etc.
13445 if test "$GXX" = yes; then
13446 lt_prog_compiler_wl_CXX
='-Wl,'
13447 lt_prog_compiler_static_CXX
='-static'
13451 # All AIX code is PIC.
13452 if test "$host_cpu" = ia64
; then
13453 # AIX 5 now supports IA64 processor
13454 lt_prog_compiler_static_CXX
='-Bstatic'
13461 # see comment about AmigaOS4 .so support
13462 lt_prog_compiler_pic_CXX
='-fPIC'
13465 # FIXME: we need at least 68020 code to build shared libraries, but
13466 # adding the `-m68020' flag to GCC prevents building anything better,
13468 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
13473 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
13474 # PIC is the default for these OSes.
13476 mingw
* | cygwin
* | os2
* | pw32
* | cegcc
*)
13477 # This hack is so that the source file can tell whether it is being
13478 # built for inclusion in a dll (and should export symbols for example).
13479 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13480 # (--disable-auto-import) libraries
13481 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
13483 darwin
* | rhapsody
*)
13484 # PIC is the default on this platform
13485 # Common symbols not allowed in MH_DYLIB files
13486 lt_prog_compiler_pic_CXX
='-fno-common'
13489 # DJGPP does not support shared libraries at all
13490 lt_prog_compiler_pic_CXX
=
13493 # PIC is the default for Haiku.
13494 # The "-static" flag exists, but is broken.
13495 lt_prog_compiler_static_CXX
=
13498 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13499 # Instead, we relocate shared libraries at runtime.
13502 if test -d /usr
/nec
; then
13503 lt_prog_compiler_pic_CXX
=-Kconform_pic
13507 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13508 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13509 # sets the default TLS model and affects inlining.
13514 lt_prog_compiler_pic_CXX
='-fPIC'
13519 # QNX uses GNU C++, but need to define -shared option too, otherwise
13520 # it will coredump.
13521 lt_prog_compiler_pic_CXX
='-fPIC -shared'
13524 lt_prog_compiler_pic_CXX
='-fPIC'
13530 # All AIX code is PIC.
13531 if test "$host_cpu" = ia64
; then
13532 # AIX 5 now supports IA64 processor
13533 lt_prog_compiler_static_CXX
='-Bstatic'
13535 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
13539 case $cc_basename in
13541 # Green Hills C++ Compiler
13542 # _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"
13546 mingw
* | cygwin
* | os2
* | pw32
* | cegcc
*)
13547 # This hack is so that the source file can tell whether it is being
13548 # built for inclusion in a dll (and should export symbols for example).
13549 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
13552 case $cc_basename in
13554 lt_prog_compiler_pic_CXX
='-KPIC'
13557 # Green Hills C++ Compiler
13558 lt_prog_compiler_pic_CXX
='-pic'
13564 freebsd
* | dragonfly
*)
13565 # FreeBSD uses GNU C++
13567 hpux9
* | hpux10
* | hpux11
*)
13568 case $cc_basename in
13570 lt_prog_compiler_wl_CXX
='-Wl,'
13571 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
13572 if test "$host_cpu" != ia64
; then
13573 lt_prog_compiler_pic_CXX
='+Z'
13577 lt_prog_compiler_wl_CXX
='-Wl,'
13578 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
13584 lt_prog_compiler_pic_CXX
='+Z'
13593 # This is c89, which is MS Visual C++ (no shared libs)
13594 # Anyone wants to do a port?
13596 irix5
* | irix6
* | nonstopux
*)
13597 case $cc_basename in
13599 lt_prog_compiler_wl_CXX
='-Wl,'
13600 lt_prog_compiler_static_CXX
='-non_shared'
13601 # CC pic flag -KPIC is the default.
13607 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
13608 case $cc_basename in
13611 lt_prog_compiler_wl_CXX
='--backend -Wl,'
13612 lt_prog_compiler_pic_CXX
='-fPIC'
13615 # old Intel C++ for x86_64 which still supported -KPIC.
13616 lt_prog_compiler_wl_CXX
='-Wl,'
13617 lt_prog_compiler_pic_CXX
='-KPIC'
13618 lt_prog_compiler_static_CXX
='-static'
13621 # Intel C++, used to be incompatible with GCC.
13622 # ICC 10 doesn't accept -KPIC any more.
13623 lt_prog_compiler_wl_CXX
='-Wl,'
13624 lt_prog_compiler_pic_CXX
='-fPIC'
13625 lt_prog_compiler_static_CXX
='-static'
13628 # Portland Group C++ compiler
13629 lt_prog_compiler_wl_CXX
='-Wl,'
13630 lt_prog_compiler_pic_CXX
='-fpic'
13631 lt_prog_compiler_static_CXX
='-Bstatic'
13635 # Make sure the PIC flag is empty. It appears that all Alpha
13636 # Linux and Compaq Tru64 Unix objects are PIC.
13637 lt_prog_compiler_pic_CXX
=
13638 lt_prog_compiler_static_CXX
='-non_shared'
13640 xlc
* | xlC
* | bgxl
[cC
]* | mpixl
[cC
]*)
13641 # IBM XL 8.0, 9.0 on PPC and BlueGene
13642 lt_prog_compiler_wl_CXX
='-Wl,'
13643 lt_prog_compiler_pic_CXX
='-qpic'
13644 lt_prog_compiler_static_CXX
='-qstaticlink'
13647 case `$CC -V 2>&1 | sed 5q` in
13650 lt_prog_compiler_pic_CXX
='-KPIC'
13651 lt_prog_compiler_static_CXX
='-Bstatic'
13652 lt_prog_compiler_wl_CXX
='-Qoption ld '
13663 case $cc_basename in
13665 lt_prog_compiler_pic_CXX
='-W c,exportall'
13674 # QNX uses GNU C++, but need to define -shared option too, otherwise
13675 # it will coredump.
13676 lt_prog_compiler_pic_CXX
='-fPIC -shared'
13678 osf3
* | osf4
* | osf5
*)
13679 case $cc_basename in
13681 lt_prog_compiler_wl_CXX
='--backend -Wl,'
13684 # Rational C++ 2.4.1
13685 lt_prog_compiler_pic_CXX
='-pic'
13688 # Digital/Compaq C++
13689 lt_prog_compiler_wl_CXX
='-Wl,'
13690 # Make sure the PIC flag is empty. It appears that all Alpha
13691 # Linux and Compaq Tru64 Unix objects are PIC.
13692 lt_prog_compiler_pic_CXX
=
13693 lt_prog_compiler_static_CXX
='-non_shared'
13702 case $cc_basename in
13704 # Sun C++ 4.2, 5.x and Centerline C++
13705 lt_prog_compiler_pic_CXX
='-KPIC'
13706 lt_prog_compiler_static_CXX
='-Bstatic'
13707 lt_prog_compiler_wl_CXX
='-Qoption ld '
13710 # Green Hills C++ Compiler
13711 lt_prog_compiler_pic_CXX
='-PIC'
13718 case $cc_basename in
13721 lt_prog_compiler_pic_CXX
='-pic'
13722 lt_prog_compiler_static_CXX
='-Bstatic'
13726 lt_prog_compiler_pic_CXX
='-pic'
13732 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
13733 case $cc_basename in
13735 lt_prog_compiler_wl_CXX
='-Wl,'
13736 lt_prog_compiler_pic_CXX
='-KPIC'
13737 lt_prog_compiler_static_CXX
='-Bstatic'
13742 case $cc_basename in
13744 # NonStop-UX NCC 3.20
13745 lt_prog_compiler_pic_CXX
='-KPIC'
13754 lt_prog_compiler_can_build_shared_CXX
=no
13760 # For platforms which do not support PIC, -DPIC is meaningless:
13762 lt_prog_compiler_pic_CXX
=
13765 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
13769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13770 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13771 if ${lt_cv_prog_compiler_pic_CXX+:} false
; then :
13772 $as_echo_n "(cached) " >&6
13774 lt_cv_prog_compiler_pic_CXX
=$lt_prog_compiler_pic_CXX
13776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
13777 $as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
13778 lt_prog_compiler_pic_CXX
=$lt_cv_prog_compiler_pic_CXX
13781 # Check to make sure the PIC flag actually works.
13783 if test -n "$lt_prog_compiler_pic_CXX"; then
13784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13785 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
13786 if ${lt_cv_prog_compiler_pic_works_CXX+:} false
; then :
13787 $as_echo_n "(cached) " >&6
13789 lt_cv_prog_compiler_pic_works_CXX
=no
13790 ac_outfile
=conftest.
$ac_objext
13791 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13792 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
13793 # Insert the option either (1) after the last *FLAGS variable, or
13794 # (2) before a word containing "conftest.", or (3) at the end.
13795 # Note that $ac_compile itself does not contain backslashes and begins
13796 # with a dollar sign (not a hyphen), so the echo should work correctly.
13797 # The option is referenced via a variable to avoid confusing sed.
13798 lt_compile
=`echo "$ac_compile" | $SED \
13799 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13800 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13801 -e 's:$: $lt_compiler_flag:'`
13802 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13803 (eval "$lt_compile" 2>conftest.err
)
13805 cat conftest.err
>&5
13806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13807 if (exit $ac_status) && test -s "$ac_outfile"; then
13808 # The compiler can only warn and ignore the option if not recognized
13809 # So say no if there are warnings other than the usual output.
13810 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
13811 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
13812 if test ! -s conftest.er2
|| diff conftest.exp conftest.er2
>/dev
/null
; then
13813 lt_cv_prog_compiler_pic_works_CXX
=yes
13819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
13820 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
13822 if test x
"$lt_cv_prog_compiler_pic_works_CXX" = xyes
; then
13823 case $lt_prog_compiler_pic_CXX in
13825 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
13828 lt_prog_compiler_pic_CXX
=
13829 lt_prog_compiler_can_build_shared_CXX
=no
13839 # Check to make sure the static flag actually works.
13841 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
13842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13843 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13844 if ${lt_cv_prog_compiler_static_works_CXX+:} false
; then :
13845 $as_echo_n "(cached) " >&6
13847 lt_cv_prog_compiler_static_works_CXX
=no
13848 save_LDFLAGS
="$LDFLAGS"
13849 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
13850 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
13851 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
13852 # The linker can only warn and ignore the option if not recognized
13853 # So say no if there are warnings
13854 if test -s conftest.err
; then
13855 # Append any errors to the config.log.
13856 cat conftest.err
1>&5
13857 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
13858 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
13859 if diff conftest.exp conftest.er2
>/dev
/null
; then
13860 lt_cv_prog_compiler_static_works_CXX
=yes
13863 lt_cv_prog_compiler_static_works_CXX
=yes
13867 LDFLAGS
="$save_LDFLAGS"
13870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
13871 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
13873 if test x
"$lt_cv_prog_compiler_static_works_CXX" = xyes
; then
13876 lt_prog_compiler_static_CXX
=
13882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13883 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13884 if ${lt_cv_prog_compiler_c_o_CXX+:} false
; then :
13885 $as_echo_n "(cached) " >&6
13887 lt_cv_prog_compiler_c_o_CXX
=no
13888 $RM -r conftest
2>/dev
/null
13892 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13894 lt_compiler_flag
="-o out/conftest2.$ac_objext"
13895 # Insert the option either (1) after the last *FLAGS variable, or
13896 # (2) before a word containing "conftest.", or (3) at the end.
13897 # Note that $ac_compile itself does not contain backslashes and begins
13898 # with a dollar sign (not a hyphen), so the echo should work correctly.
13899 lt_compile
=`echo "$ac_compile" | $SED \
13900 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13901 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13902 -e 's:$: $lt_compiler_flag:'`
13903 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13904 (eval "$lt_compile" 2>out
/conftest.err
)
13906 cat out
/conftest.err
>&5
13907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13908 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
13910 # The compiler can only warn and ignore the option if not recognized
13911 # So say no if there are warnings
13912 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out
/conftest.exp
13913 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
13914 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
13915 lt_cv_prog_compiler_c_o_CXX
=yes
13920 # SGI C++ compiler will create directory out/ii_files/ for
13921 # template instantiation
13922 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
13923 $RM out
/* && rmdir out
13929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13930 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13935 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13936 if ${lt_cv_prog_compiler_c_o_CXX+:} false
; then :
13937 $as_echo_n "(cached) " >&6
13939 lt_cv_prog_compiler_c_o_CXX
=no
13940 $RM -r conftest
2>/dev
/null
13944 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13946 lt_compiler_flag
="-o out/conftest2.$ac_objext"
13947 # Insert the option either (1) after the last *FLAGS variable, or
13948 # (2) before a word containing "conftest.", or (3) at the end.
13949 # Note that $ac_compile itself does not contain backslashes and begins
13950 # with a dollar sign (not a hyphen), so the echo should work correctly.
13951 lt_compile
=`echo "$ac_compile" | $SED \
13952 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13953 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13954 -e 's:$: $lt_compiler_flag:'`
13955 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13956 (eval "$lt_compile" 2>out
/conftest.err
)
13958 cat out
/conftest.err
>&5
13959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13960 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
13962 # The compiler can only warn and ignore the option if not recognized
13963 # So say no if there are warnings
13964 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out
/conftest.exp
13965 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
13966 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
13967 lt_cv_prog_compiler_c_o_CXX
=yes
13972 # SGI C++ compiler will create directory out/ii_files/ for
13973 # template instantiation
13974 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
13975 $RM out
/* && rmdir out
13981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13982 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13987 hard_links
="nottested"
13988 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
13989 # do not overwrite the value of need_locks provided by the user
13990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
13991 $as_echo_n "checking if we can lock with hard links... " >&6; }
13994 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
13996 ln conftest.a conftest.b
2>&5 || hard_links
=no
13997 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
13998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
13999 $as_echo "$hard_links" >&6; }
14000 if test "$hard_links" = no
; then
14001 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14002 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14012 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14014 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14015 exclude_expsyms_CXX
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14018 # If we're using GNU nm, then we don't want the "-C" option.
14019 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14020 # Also, AIX nm treats weak defined symbols like other global defined
14021 # symbols, whereas GNU nm marks them as "W".
14022 if $NM -V 2>&1 | $GREP 'GNU' > /dev
/null
; then
14023 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'
14025 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'
14029 export_symbols_cmds_CXX
="$ltdll_cmds"
14031 cygwin
* | mingw
* | cegcc
*)
14032 case $cc_basename in
14034 exclude_expsyms_CXX
='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
14037 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'
14038 exclude_expsyms_CXX
='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
14043 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14048 $as_echo "$ld_shlibs_CXX" >&6; }
14049 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
14051 with_gnu_ld_CXX
=$with_gnu_ld
14059 # Do we need to explicitly link libc?
14061 case "x$archive_cmds_need_lc_CXX" in
14063 # Assume -lc should be added
14064 archive_cmds_need_lc_CXX
=yes
14066 if test "$enable_shared" = yes && test "$GCC" = yes; then
14067 case $archive_cmds_CXX in
14069 # FIXME: we may have to deal with multi-command sequences.
14072 # Test whether the compiler implicitly links with -lc since on some
14073 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14074 # to ld, don't add -lc before -lgcc.
14075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14076 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14077 if ${lt_cv_archive_cmds_need_lc_CXX+:} false
; then :
14078 $as_echo_n "(cached) " >&6
14081 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14083 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14084 (eval $ac_compile) 2>&5
14086 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14087 test $ac_status = 0; } 2>conftest.err
; then
14090 libobjs
=conftest.
$ac_objext
14092 wl
=$lt_prog_compiler_wl_CXX
14093 pic_flag
=$lt_prog_compiler_pic_CXX
14099 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
14100 allow_undefined_flag_CXX
=
14101 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14102 (eval $archive_cmds_CXX 2\
>\
&1 \
| $GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
14104 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14105 test $ac_status = 0; }
14107 lt_cv_archive_cmds_need_lc_CXX
=no
14109 lt_cv_archive_cmds_need_lc_CXX
=yes
14111 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
14113 cat conftest.err
1>&5
14118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14119 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14120 archive_cmds_need_lc_CXX
=$lt_cv_archive_cmds_need_lc_CXX
14188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14189 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14191 library_names_spec
=
14192 libname_spec
='lib$name'
14196 postuninstall_cmds
=
14200 shlibpath_overrides_runpath
=unknown
14202 dynamic_linker
="$host_os ld.so"
14203 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
14204 need_lib_prefix
=unknown
14205 hardcode_into_libs
=no
14207 # when you set need_version to no, make sure it does not cause -set_version
14208 # flags to be left without arguments
14209 need_version
=unknown
14213 version_type
=linux
# correct to gnu/linux during the next big refactor
14214 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
14215 shlibpath_var
=LIBPATH
14217 # AIX 3 has no versioning support, so we append a major version to the name.
14218 soname_spec
='${libname}${release}${shared_ext}$major'
14222 version_type
=linux
# correct to gnu/linux during the next big refactor
14225 hardcode_into_libs
=yes
14226 if test "$host_cpu" = ia64
; then
14227 # AIX 5 supports IA64
14228 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14229 shlibpath_var
=LD_LIBRARY_PATH
14231 # With GCC up to 2.95.x, collect2 would create an import file
14232 # for dependence libraries. The import file would start with
14233 # the line `#! .'. This would cause the generated library to
14234 # depend on `.', always an invalid library. This was fixed in
14235 # development snapshots of GCC prior to 3.0.
14237 aix4
| aix4.
[01] | aix4.
[01].
*)
14238 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14240 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev
/null
; then
14243 can_build_shared
=no
14247 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14248 # soname into executable. Probably we can add versioning support to
14249 # collect2, so additional links can be useful in future.
14250 if test "$aix_use_runtimelinking" = yes; then
14251 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14252 # instead of lib<name>.a to let people know that these are not
14253 # typical AIX shared libraries.
14254 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14256 # We preserve .a as extension for shared libraries through AIX4.2
14257 # and later when we are not doing run time linking.
14258 library_names_spec
='${libname}${release}.a $libname.a'
14259 soname_spec
='${libname}${release}${shared_ext}$major'
14261 shlibpath_var
=LIBPATH
14268 # Since July 2007 AmigaOS4 officially supports .so libraries.
14269 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14270 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14273 library_names_spec
='$libname.ixlibrary $libname.a'
14274 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14275 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'
14281 library_names_spec
='${libname}${shared_ext}'
14282 dynamic_linker
="$host_os ld.so"
14283 shlibpath_var
=LIBRARY_PATH
14287 version_type
=linux
# correct to gnu/linux during the next big refactor
14289 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14290 soname_spec
='${libname}${release}${shared_ext}$major'
14291 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
14292 shlibpath_var
=LD_LIBRARY_PATH
14293 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14294 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
14295 # the default ld.so.conf also contains /usr/contrib/lib and
14296 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14297 # libtool to hard-code these into programs
14300 cygwin
* | mingw
* | pw32
* | cegcc
*)
14301 version_type
=windows
14306 case $GCC,$cc_basename in
14309 library_names_spec
='$libname.dll.a'
14310 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14311 postinstall_cmds
='base_file=`basename \${file}`~
14312 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14313 dldir=$destdir/`dirname \$dlpath`~
14314 test -d \$dldir || mkdir -p \$dldir~
14315 $install_prog $dir/$dlname \$dldir/$dlname~
14316 chmod a+x \$dldir/$dlname~
14317 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14318 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14320 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14321 dlpath=$dir/\$dldll~
14323 shlibpath_overrides_runpath
=yes
14327 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14328 soname_spec
='`echo ${libname} | sed -e 's
/^lib
/cyg
/'``echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
14332 # MinGW DLLs use traditional 'lib' prefix
14333 soname_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
14336 # pw32 DLLs use 'pw' prefix rather than 'lib'
14337 library_names_spec
='`echo ${libname} | sed -e 's
/^lib
/pw
/'``echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
14340 dynamic_linker
='Win32 ld.exe'
14345 libname_spec
='$name'
14346 soname_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
14347 library_names_spec
='${libname}.dll.lib'
14351 sys_lib_search_path_spec
=
14354 for lt_path
in $LIB
14357 # Let DOS variable expansion print the short 8.3 style file name.
14358 lt_path
=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
14359 sys_lib_search_path_spec
="$sys_lib_search_path_spec $lt_path"
14362 # Convert to MSYS style.
14363 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
14366 # Convert to unix form, then to dos form, then back to unix form
14367 # but this time dos style (no spaces!) so that the unix form looks
14368 # like /cygdrive/c/PROGRA~1:/cygdr...
14369 sys_lib_search_path_spec
=`cygpath --path --unix "$LIB"`
14370 sys_lib_search_path_spec
=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
14371 sys_lib_search_path_spec
=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14374 sys_lib_search_path_spec
="$LIB"
14375 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev
/null
; then
14376 # It is most probably a Windows format PATH.
14377 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14379 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14381 # FIXME: find the short name or the path components, as spaces are
14382 # common. (e.g. "Program Files" -> "PROGRA~1")
14386 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14387 postinstall_cmds
='base_file=`basename \${file}`~
14388 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14389 dldir=$destdir/`dirname \$dlpath`~
14390 test -d \$dldir || mkdir -p \$dldir~
14391 $install_prog $dir/$dlname \$dldir/$dlname'
14392 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14393 dlpath=$dir/\$dldll~
14395 shlibpath_overrides_runpath
=yes
14396 dynamic_linker
='Win32 link.exe'
14400 # Assume MSVC wrapper
14401 library_names_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext} $libname.lib'
14402 dynamic_linker
='Win32 ld.exe'
14405 # FIXME: first we should search . and the directory the executable is in
14409 darwin
* | rhapsody
*)
14410 dynamic_linker
="$host_os dyld"
14411 version_type
=darwin
14414 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14415 soname_spec
='${libname}${release}${major}$shared_ext'
14416 shlibpath_overrides_runpath
=yes
14417 shlibpath_var
=DYLD_LIBRARY_PATH
14418 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
14420 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
14424 version_type
=linux
# correct to gnu/linux during the next big refactor
14427 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14428 soname_spec
='${libname}${release}${shared_ext}$major'
14429 shlibpath_var
=LD_LIBRARY_PATH
14432 freebsd
* | dragonfly
*)
14433 # DragonFly does not have aout. When/if they implement a new
14434 # versioning mechanism, adjust this.
14435 if test -x /usr
/bin
/objformat
; then
14436 objformat
=`/usr/bin/objformat`
14439 freebsd
[23].
*) objformat
=aout
;;
14440 *) objformat
=elf
;;
14443 version_type
=freebsd
-$objformat
14444 case $version_type in
14446 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14451 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14455 shlibpath_var
=LD_LIBRARY_PATH
14458 shlibpath_overrides_runpath
=yes
14460 freebsd3.
[01]* | freebsdelf3.
[01]*)
14461 shlibpath_overrides_runpath
=yes
14462 hardcode_into_libs
=yes
14464 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
14465 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
14466 shlibpath_overrides_runpath
=no
14467 hardcode_into_libs
=yes
14469 *) # from 4.6 on, and DragonFly
14470 shlibpath_overrides_runpath
=yes
14471 hardcode_into_libs
=yes
14477 version_type
=linux
# correct to gnu/linux during the next big refactor
14480 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14481 soname_spec
='${libname}${release}${shared_ext}$major'
14482 shlibpath_var
=LD_LIBRARY_PATH
14483 shlibpath_overrides_runpath
=no
14484 hardcode_into_libs
=yes
14488 version_type
=linux
# correct to gnu/linux during the next big refactor
14491 dynamic_linker
="$host_os runtime_loader"
14492 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14493 soname_spec
='${libname}${release}${shared_ext}$major'
14494 shlibpath_var
=LIBRARY_PATH
14495 shlibpath_overrides_runpath
=yes
14496 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
14497 hardcode_into_libs
=yes
14500 hpux9
* | hpux10
* | hpux11
*)
14501 # Give a soname corresponding to the major version so that dld.sl refuses to
14502 # link against other versions.
14509 hardcode_into_libs
=yes
14510 dynamic_linker
="$host_os dld.so"
14511 shlibpath_var
=LD_LIBRARY_PATH
14512 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
14513 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14514 soname_spec
='${libname}${release}${shared_ext}$major'
14515 if test "X$HPUX_IA64_MODE" = X32
; then
14516 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14518 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
14520 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
14524 hardcode_into_libs
=yes
14525 dynamic_linker
="$host_os dld.sl"
14526 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
14527 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
14528 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14529 soname_spec
='${libname}${release}${shared_ext}$major'
14530 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14531 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
14535 dynamic_linker
="$host_os dld.sl"
14536 shlibpath_var
=SHLIB_PATH
14537 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
14538 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14539 soname_spec
='${libname}${release}${shared_ext}$major'
14542 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
14543 postinstall_cmds
='chmod 555 $lib'
14544 # or fails outright, so override atomically:
14545 install_override_mode
=555
14549 version_type
=linux
# correct to gnu/linux during the next big refactor
14552 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14553 soname_spec
='${libname}${release}${shared_ext}$major'
14554 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
14555 shlibpath_var
=LD_LIBRARY_PATH
14556 shlibpath_overrides_runpath
=no
14557 hardcode_into_libs
=yes
14560 irix5
* | irix6
* | nonstopux
*)
14562 nonstopux
*) version_type
=nonstopux
;;
14564 if test "$lt_cv_prog_gnu_ld" = yes; then
14565 version_type
=linux
# correct to gnu/linux during the next big refactor
14572 soname_spec
='${libname}${release}${shared_ext}$major'
14573 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14575 irix5
* | nonstopux
*)
14576 libsuff
= shlibsuff
=
14579 case $LD in # libtool.m4 will add one of these switches to LD
14580 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14581 libsuff
= shlibsuff
= libmagic
=32-bit;;
14582 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14583 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
14584 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14585 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
14586 *) libsuff
= shlibsuff
= libmagic
=never
-match;;
14590 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
14591 shlibpath_overrides_runpath
=no
14592 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14593 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
14594 hardcode_into_libs
=yes
14597 # No shared lib support for Linux oldld, aout, or coff.
14598 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
14602 # This must be glibc/ELF.
14603 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
14604 version_type
=linux
# correct to gnu/linux during the next big refactor
14607 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14608 soname_spec
='${libname}${release}${shared_ext}$major'
14609 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14610 shlibpath_var
=LD_LIBRARY_PATH
14611 shlibpath_overrides_runpath
=no
14613 # Some binutils ld are patched to set DT_RUNPATH
14614 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
14615 $as_echo_n "(cached) " >&6
14617 lt_cv_shlibpath_overrides_runpath
=no
14618 save_LDFLAGS
=$LDFLAGS
14619 save_libdir
=$libdir
14620 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
14621 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
14622 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14623 /* end confdefs.h. */
14633 if ac_fn_cxx_try_link
"$LINENO"; then :
14634 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null
| grep "RUNPATH.*$libdir" >/dev
/null
; then :
14635 lt_cv_shlibpath_overrides_runpath
=yes
14638 rm -f core conftest.err conftest.
$ac_objext \
14639 conftest
$ac_exeext conftest.
$ac_ext
14640 LDFLAGS
=$save_LDFLAGS
14641 libdir
=$save_libdir
14645 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
14647 # This implies no fast_install, which is unacceptable.
14648 # Some rework will be needed to allow for fast_install
14649 # before this can be enabled.
14650 hardcode_into_libs
=yes
14652 # Append ld.so.conf contents to the search path
14653 if test -f /etc
/ld.so.conf
; then
14654 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' ' '`
14655 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
14658 # We used to test for /lib/ld.so.1 and disable shared libraries on
14659 # powerpc, because MkLinux only supported shared libraries with the
14660 # GNU dynamic linker. Since this was broken with cross compilers,
14661 # most powerpc-linux boxes support dynamic linking these days and
14662 # people can always --disable-shared, the test was removed, and we
14663 # assume the GNU/Linux dynamic linker is in use.
14664 dynamic_linker
='GNU/Linux ld.so'
14671 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
14672 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14673 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14674 dynamic_linker
='NetBSD (a.out) ld.so'
14676 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14677 soname_spec
='${libname}${release}${shared_ext}$major'
14678 dynamic_linker
='NetBSD ld.elf_so'
14680 shlibpath_var
=LD_LIBRARY_PATH
14681 shlibpath_overrides_runpath
=yes
14682 hardcode_into_libs
=yes
14686 version_type
=linux
# correct to gnu/linux during the next big refactor
14687 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14688 shlibpath_var
=LD_LIBRARY_PATH
14689 shlibpath_overrides_runpath
=yes
14696 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14697 soname_spec
='${libname}${release}${shared_ext}$major'
14698 shlibpath_var
=LD_LIBRARY_PATH
14699 shlibpath_overrides_runpath
=no
14700 hardcode_into_libs
=yes
14701 dynamic_linker
='ldqnx.so'
14706 sys_lib_dlsearch_path_spec
="/usr/lib"
14708 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14710 openbsd3.3
| openbsd3.3.
*) need_version
=yes ;;
14711 *) need_version
=no
;;
14713 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14714 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14715 shlibpath_var
=LD_LIBRARY_PATH
14716 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14718 openbsd2.
[89] | openbsd2.
[89].
*)
14719 shlibpath_overrides_runpath
=no
14722 shlibpath_overrides_runpath
=yes
14726 shlibpath_overrides_runpath
=yes
14731 libname_spec
='$name'
14734 library_names_spec
='$libname${shared_ext} $libname.a'
14735 dynamic_linker
='OS/2 ld.exe'
14736 shlibpath_var
=LIBPATH
14739 osf3
* | osf4
* | osf5
*)
14743 soname_spec
='${libname}${release}${shared_ext}$major'
14744 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14745 shlibpath_var
=LD_LIBRARY_PATH
14746 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14747 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
14755 version_type
=linux
# correct to gnu/linux during the next big refactor
14758 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14759 soname_spec
='${libname}${release}${shared_ext}$major'
14760 shlibpath_var
=LD_LIBRARY_PATH
14761 shlibpath_overrides_runpath
=yes
14762 hardcode_into_libs
=yes
14763 # ldd complains unless libraries are executable
14764 postinstall_cmds
='chmod +x $lib'
14769 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14770 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14771 shlibpath_var
=LD_LIBRARY_PATH
14772 shlibpath_overrides_runpath
=yes
14773 if test "$with_gnu_ld" = yes; then
14780 version_type
=linux
# correct to gnu/linux during the next big refactor
14781 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14782 soname_spec
='${libname}${release}${shared_ext}$major'
14783 shlibpath_var
=LD_LIBRARY_PATH
14784 case $host_vendor in
14786 shlibpath_overrides_runpath
=no
14788 runpath_var
=LD_RUN_PATH
14796 shlibpath_overrides_runpath
=no
14797 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
14803 if test -d /usr
/nec
;then
14804 version_type
=linux
# correct to gnu/linux during the next big refactor
14805 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14806 soname_spec
='$libname${shared_ext}.$major'
14807 shlibpath_var
=LD_LIBRARY_PATH
14811 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
14812 version_type
=freebsd
-elf
14815 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14816 soname_spec
='${libname}${release}${shared_ext}$major'
14817 shlibpath_var
=LD_LIBRARY_PATH
14818 shlibpath_overrides_runpath
=yes
14819 hardcode_into_libs
=yes
14820 if test "$with_gnu_ld" = yes; then
14821 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14823 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
14826 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
14830 sys_lib_dlsearch_path_spec
='/usr/lib'
14834 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
14835 version_type
=linux
# correct to gnu/linux during the next big refactor
14838 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14839 shlibpath_var
=LD_LIBRARY_PATH
14840 shlibpath_overrides_runpath
=no
14841 hardcode_into_libs
=yes
14845 version_type
=linux
# correct to gnu/linux during the next big refactor
14846 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14847 soname_spec
='${libname}${release}${shared_ext}$major'
14848 shlibpath_var
=LD_LIBRARY_PATH
14855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14856 $as_echo "$dynamic_linker" >&6; }
14857 test "$dynamic_linker" = no
&& can_build_shared
=no
14859 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
14860 if test "$GCC" = yes; then
14861 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14864 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14865 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
14867 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14868 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
14908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14909 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14910 hardcode_action_CXX
=
14911 if test -n "$hardcode_libdir_flag_spec_CXX" ||
14912 test -n "$runpath_var_CXX" ||
14913 test "X$hardcode_automatic_CXX" = "Xyes" ; then
14915 # We can hardcode non-existent directories.
14916 if test "$hardcode_direct_CXX" != no
&&
14917 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14918 # have to relink, otherwise we might link with an installed library
14919 # when we should be linking with a yet-to-be-installed one
14920 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
14921 test "$hardcode_minus_L_CXX" != no
; then
14922 # Linking always hardcodes the temporary library directory.
14923 hardcode_action_CXX
=relink
14925 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14926 hardcode_action_CXX
=immediate
14929 # We cannot hardcode anything, or else we can only hardcode existing
14931 hardcode_action_CXX
=unsupported
14933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
14934 $as_echo "$hardcode_action_CXX" >&6; }
14936 if test "$hardcode_action_CXX" = relink
||
14937 test "$inherit_rpath_CXX" = yes; then
14938 # Fast installation is not supported
14939 enable_fast_install
=no
14940 elif test "$shlibpath_overrides_runpath" = yes ||
14941 test "$enable_shared" = no
; then
14942 # Fast installation is not necessary
14943 enable_fast_install
=needless
14952 fi # test -n "$compiler"
14955 CFLAGS
=$lt_save_CFLAGS
14959 with_gnu_ld
=$lt_save_with_gnu_ld
14960 lt_cv_path_LDCXX
=$lt_cv_path_LD
14961 lt_cv_path_LD
=$lt_save_path_LD
14962 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
14963 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
14964 fi # test "$_lt_caught_CXX_error" != yes
14967 ac_cpp
='$CPP $CPPFLAGS'
14968 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14969 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14970 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14974 ac_cpp
='$OBJCXXCPP $CPPFLAGS'
14975 ac_compile
='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14976 ac_link
='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14977 ac_compiler_gnu
=$ac_cv_objcxx_compiler_gnu
14978 if test -n "$ac_tool_prefix"; then
14979 for ac_prog
in g
++ objc
++ objcxx c
++ CXX
14981 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
14982 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
14983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14984 $as_echo_n "checking for $ac_word... " >&6; }
14985 if ${ac_cv_prog_OBJCXX+:} false
; then :
14986 $as_echo_n "(cached) " >&6
14988 if test -n "$OBJCXX"; then
14989 ac_cv_prog_OBJCXX
="$OBJCXX" # Let the user override the test.
14991 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14992 for as_dir
in $PATH
14995 test -z "$as_dir" && as_dir
=.
14996 for ac_exec_ext
in '' $ac_executable_extensions; do
14997 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
14998 ac_cv_prog_OBJCXX
="$ac_tool_prefix$ac_prog"
14999 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15008 OBJCXX
=$ac_cv_prog_OBJCXX
15009 if test -n "$OBJCXX"; then
15010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCXX" >&5
15011 $as_echo "$OBJCXX" >&6; }
15013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15014 $as_echo "no" >&6; }
15018 test -n "$OBJCXX" && break
15021 if test -z "$OBJCXX"; then
15022 ac_ct_OBJCXX
=$OBJCXX
15023 for ac_prog
in g
++ objc
++ objcxx c
++ CXX
15025 # Extract the first word of "$ac_prog", so it can be a program name with args.
15026 set dummy
$ac_prog; ac_word
=$2
15027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15028 $as_echo_n "checking for $ac_word... " >&6; }
15029 if ${ac_cv_prog_ac_ct_OBJCXX+:} false
; then :
15030 $as_echo_n "(cached) " >&6
15032 if test -n "$ac_ct_OBJCXX"; then
15033 ac_cv_prog_ac_ct_OBJCXX
="$ac_ct_OBJCXX" # Let the user override the test.
15035 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15036 for as_dir
in $PATH
15039 test -z "$as_dir" && as_dir
=.
15040 for ac_exec_ext
in '' $ac_executable_extensions; do
15041 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
15042 ac_cv_prog_ac_ct_OBJCXX
="$ac_prog"
15043 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15052 ac_ct_OBJCXX
=$ac_cv_prog_ac_ct_OBJCXX
15053 if test -n "$ac_ct_OBJCXX"; then
15054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJCXX" >&5
15055 $as_echo "$ac_ct_OBJCXX" >&6; }
15057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15058 $as_echo "no" >&6; }
15062 test -n "$ac_ct_OBJCXX" && break
15065 if test "x$ac_ct_OBJCXX" = x
; then
15068 case $cross_compiling:$ac_tool_warned in
15070 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
15071 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
15072 ac_tool_warned
=yes ;;
15074 OBJCXX
=$ac_ct_OBJCXX
15078 # Provide some information about the compiler.
15079 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Objective C++ compiler version" >&5
15082 for ac_option
in --version -v -V -qversion; do
15083 { { ac_try
="$ac_compiler $ac_option >&5"
15084 case "(($ac_try" in
15085 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
15086 *) ac_try_echo=$ac_try;;
15088 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
15089 $as_echo "$ac_try_echo"; } >&5
15090 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
15092 if test -s conftest.err; then
15094 ... rest of stderr output deleted ...
15095 10q' conftest.err >conftest.er1
15096 cat conftest.er1 >&5
15098 rm -f conftest.er1 conftest.err
15099 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15100 test $ac_status = 0; }
15103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Objective C++ compiler" >&5
15104 $as_echo_n "checking whether we are using the GNU Objective C++ compiler... " >&6; }
15105 if ${ac_cv_objcxx_compiler_gnu+:} false; then :
15106 $as_echo_n "(cached) " >&6
15108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15109 /* end confdefs.h. */
15122 if ac_fn_objcxx_try_compile "$LINENO"; then :
15123 ac_compiler_gnu=yes
15127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15128 ac_cv_objcxx_compiler_gnu=$ac_compiler_gnu
15131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objcxx_compiler_gnu" >&5
15132 $as_echo "$ac_cv_objcxx_compiler_gnu" >&6; }
15133 if test $ac_compiler_gnu = yes; then
15138 ac_test_OBJCXXFLAGS=${OBJCXXFLAGS+set}
15139 ac_save_OBJCXXFLAGS=$OBJCXXFLAGS
15140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $OBJCXX accepts -g" >&5
15141 $as_echo_n "checking whether $OBJCXX accepts -g... " >&6; }
15142 if ${ac_cv_prog_objcxx_g+:} false; then :
15143 $as_echo_n "(cached) " >&6
15145 ac_save_objcxx_werror_flag=$ac_objcxx_werror_flag
15146 ac_objcxx_werror_flag=yes
15147 ac_cv_prog_objcxx_g=no
15149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15150 /* end confdefs.h. */
15160 if ac_fn_objcxx_try_compile "$LINENO"; then :
15161 ac_cv_prog_objcxx_g=yes
15164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15165 /* end confdefs.h. */
15175 if ac_fn_objcxx_try_compile "$LINENO"; then :
15178 ac_objcxx_werror_flag=$ac_save_objcxx_werror_flag
15180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15181 /* end confdefs.h. */
15191 if ac_fn_objcxx_try_compile "$LINENO"; then :
15192 ac_cv_prog_objcxx_g=yes
15194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15196 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15199 ac_objcxx_werror_flag=$ac_save_objcx_werror_flag
15201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objcxx_g" >&5
15202 $as_echo "$ac_cv_prog_objcxx_g" >&6; }
15203 if test "$ac_test_OBJCXXFLAGS" = set; then
15204 OBJCXXFLAGS=$ac_save_OBJCXXFLAGS
15205 elif test $ac_cv_prog_objcxx_g = yes; then
15206 if test "$GOBJCXX" = yes; then
15207 OBJCXXFLAGS="-g -O2"
15212 if test "$GOBJCXX" = yes; then
15219 ac_cpp='$CPP $CPPFLAGS'
15220 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15221 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15222 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15225 ac_cpp='$CXXCPP $CPPFLAGS'
15226 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15227 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15228 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15231 # Check whether --enable-universal-binary was given.
15232 if test "${enable_universal_binary+set}" = set; then :
15233 enableval=$enable_universal_binary;
15234 case $enableval in #(
15239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for universal binary support" >&5
15240 $as_echo_n "checking for universal binary support... " >&6; }
15241 case $host_vendor in #(
15244 case $host_cpu in #(
15245 armv6|i386|x86_64) :
15247 for cy_arch in armv6 i386 x86_64; do
15248 cy_save_CXXFLAGS=$CXXFLAGS
15250 for element in "-arch $cy_arch"; do
15252 for x in $CXXFLAGS; do
15254 acl_save_prefix="$prefix"
15255 prefix="$acl_final_prefix"
15256 acl_save_exec_prefix="$exec_prefix"
15257 exec_prefix="$acl_final_exec_prefix"
15259 exec_prefix="$acl_save_exec_prefix"
15260 prefix="$acl_save_prefix"
15262 if test "X$x" = "X$element"; then
15267 if test -z "$haveit"; then
15268 CXXFLAGS="${CXXFLAGS}${CXXFLAGS:+ }$element"
15272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15273 /* end confdefs.h. */
15283 if ac_fn_cxx_try_link "$LINENO"; then :
15286 for element in $cy_arch; do
15288 for x in $cy_arches; do
15290 acl_save_prefix="$prefix"
15291 prefix="$acl_final_prefix"
15292 acl_save_exec_prefix="$exec_prefix"
15293 exec_prefix="$acl_final_exec_prefix"
15295 exec_prefix="$acl_save_exec_prefix"
15296 prefix="$acl_save_prefix"
15298 if test "X$x" = "X$element"; then
15303 if test -z "$haveit"; then
15304 cy_arches="${cy_arches}${cy_arches:+ }$element"
15309 for element in "-arch $cy_arch"; do
15311 for x in $CFLAGS; do
15313 acl_save_prefix="$prefix"
15314 prefix="$acl_final_prefix"
15315 acl_save_exec_prefix="$exec_prefix"
15316 exec_prefix="$acl_final_exec_prefix"
15318 exec_prefix="$acl_save_exec_prefix"
15319 prefix="$acl_save_prefix"
15321 if test "X$x" = "X$element"; then
15326 if test -z "$haveit"; then
15327 CFLAGS="${CFLAGS}${CFLAGS:+ }$element"
15332 for element in "-arch $cy_arch"; do
15334 for x in $LDFLAGS; do
15336 acl_save_prefix="$prefix"
15337 prefix="$acl_final_prefix"
15338 acl_save_exec_prefix="$exec_prefix"
15339 exec_prefix="$acl_final_exec_prefix"
15341 exec_prefix="$acl_save_exec_prefix"
15342 prefix="$acl_save_prefix"
15344 if test "X$x" = "X$element"; then
15349 if test -z "$haveit"; then
15350 LDFLAGS="${LDFLAGS}${LDFLAGS:+ }$element"
15355 for element in "-arch $cy_arch"; do
15357 for x in $OBJCXXFLAGS; do
15359 acl_save_prefix="$prefix"
15360 prefix="$acl_final_prefix"
15361 acl_save_exec_prefix="$exec_prefix"
15362 exec_prefix="$acl_final_exec_prefix"
15364 exec_prefix="$acl_save_exec_prefix"
15365 prefix="$acl_save_prefix"
15367 if test "X$x" = "X$element"; then
15372 if test -z "$haveit"; then
15373 OBJCXXFLAGS="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
15380 CXXFLAGS=$cy_save_CXXFLAGS
15383 rm -f core conftest.err conftest.$ac_objext \
15384 conftest$ac_exeext conftest.$ac_ext
15394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${cy_arches-no}" >&5
15395 $as_echo "${cy_arches-no}" >&6; }
15401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for universal binary support" >&5
15402 $as_echo_n "checking for universal binary support... " >&6; }
15403 case $host_vendor in #(
15406 case $host_cpu in #(
15407 armv6|i386|x86_64) :
15409 for cy_arch in armv6 i386 x86_64; do
15410 cy_save_CXXFLAGS=$CXXFLAGS
15412 for element in "-arch $cy_arch"; do
15414 for x in $CXXFLAGS; do
15416 acl_save_prefix="$prefix"
15417 prefix="$acl_final_prefix"
15418 acl_save_exec_prefix="$exec_prefix"
15419 exec_prefix="$acl_final_exec_prefix"
15421 exec_prefix="$acl_save_exec_prefix"
15422 prefix="$acl_save_prefix"
15424 if test "X$x" = "X$element"; then
15429 if test -z "$haveit"; then
15430 CXXFLAGS="${CXXFLAGS}${CXXFLAGS:+ }$element"
15434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15435 /* end confdefs.h. */
15445 if ac_fn_cxx_try_link "$LINENO"; then :
15448 for element in $cy_arch; do
15450 for x in $cy_arches; do
15452 acl_save_prefix="$prefix"
15453 prefix="$acl_final_prefix"
15454 acl_save_exec_prefix="$exec_prefix"
15455 exec_prefix="$acl_final_exec_prefix"
15457 exec_prefix="$acl_save_exec_prefix"
15458 prefix="$acl_save_prefix"
15460 if test "X$x" = "X$element"; then
15465 if test -z "$haveit"; then
15466 cy_arches="${cy_arches}${cy_arches:+ }$element"
15471 for element in "-arch $cy_arch"; do
15473 for x in $CFLAGS; do
15475 acl_save_prefix="$prefix"
15476 prefix="$acl_final_prefix"
15477 acl_save_exec_prefix="$exec_prefix"
15478 exec_prefix="$acl_final_exec_prefix"
15480 exec_prefix="$acl_save_exec_prefix"
15481 prefix="$acl_save_prefix"
15483 if test "X$x" = "X$element"; then
15488 if test -z "$haveit"; then
15489 CFLAGS="${CFLAGS}${CFLAGS:+ }$element"
15494 for element in "-arch $cy_arch"; do
15496 for x in $LDFLAGS; do
15498 acl_save_prefix="$prefix"
15499 prefix="$acl_final_prefix"
15500 acl_save_exec_prefix="$exec_prefix"
15501 exec_prefix="$acl_final_exec_prefix"
15503 exec_prefix="$acl_save_exec_prefix"
15504 prefix="$acl_save_prefix"
15506 if test "X$x" = "X$element"; then
15511 if test -z "$haveit"; then
15512 LDFLAGS="${LDFLAGS}${LDFLAGS:+ }$element"
15517 for element in "-arch $cy_arch"; do
15519 for x in $OBJCXXFLAGS; do
15521 acl_save_prefix="$prefix"
15522 prefix="$acl_final_prefix"
15523 acl_save_exec_prefix="$exec_prefix"
15524 exec_prefix="$acl_final_exec_prefix"
15526 exec_prefix="$acl_save_exec_prefix"
15527 prefix="$acl_save_prefix"
15529 if test "X$x" = "X$element"; then
15534 if test -z "$haveit"; then
15535 OBJCXXFLAGS="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
15542 CXXFLAGS=$cy_save_CXXFLAGS
15545 rm -f core conftest.err conftest.$ac_objext \
15546 conftest$ac_exeext conftest.$ac_ext
15556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${cy_arches-no}" >&5
15557 $as_echo "${cy_arches-no}" >&6; }
15562 # Check whether --with-frameworks was given.
15563 if test "${with_frameworks+set}" = set; then :
15564 withval=$with_frameworks;
15565 for cy_framework in $withval; do
15567 for element in -F$cy_framework; do
15569 for x in $CFLAGS; do
15571 acl_save_prefix="$prefix"
15572 prefix="$acl_final_prefix"
15573 acl_save_exec_prefix="$exec_prefix"
15574 exec_prefix="$acl_final_exec_prefix"
15576 exec_prefix="$acl_save_exec_prefix"
15577 prefix="$acl_save_prefix"
15579 if test "X$x" = "X$element"; then
15584 if test -z "$haveit"; then
15585 CFLAGS="${CFLAGS}${CFLAGS:+ }$element"
15590 for element in -F$cy_framework; do
15592 for x in $CXXFLAGS; do
15594 acl_save_prefix="$prefix"
15595 prefix="$acl_final_prefix"
15596 acl_save_exec_prefix="$exec_prefix"
15597 exec_prefix="$acl_final_exec_prefix"
15599 exec_prefix="$acl_save_exec_prefix"
15600 prefix="$acl_save_prefix"
15602 if test "X$x" = "X$element"; then
15607 if test -z "$haveit"; then
15608 CXXFLAGS="${CXXFLAGS}${CXXFLAGS:+ }$element"
15613 for element in -F$cy_framework; do
15615 for x in $OBJCCXXFLAGS; do
15617 acl_save_prefix="$prefix"
15618 prefix="$acl_final_prefix"
15619 acl_save_exec_prefix="$exec_prefix"
15620 exec_prefix="$acl_final_exec_prefix"
15622 exec_prefix="$acl_save_exec_prefix"
15623 prefix="$acl_save_prefix"
15625 if test "X$x" = "X$element"; then
15630 if test -z "$haveit"; then
15631 OBJCCXXFLAGS="${OBJCCXXFLAGS}${OBJCCXXFLAGS:+ }$element"
15642 if test "$target_os" = "os2-emx"; then
15643 # Scripts don't pass test -x on OS/2
15649 acceptable_majors="1"
15651 apr_temp_acceptable_apr_config=""
15652 for apr_temp_major in $acceptable_majors
15654 case $apr_temp_major in
15656 apr_temp_acceptable_apr_config="$apr_temp_acceptable_apr_config apr-config"
15659 apr_temp_acceptable_apr_config="$apr_temp_acceptable_apr_config apr-$apr_temp_major-config"
15664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for APR" >&5
15665 $as_echo_n "checking for APR... " >&6; }
15667 # Check whether --with-apr was given.
15668 if test "${with_apr+set}" = set; then :
15670 if test "$withval" = "no" || test "$withval" = "yes"; then
15671 as_fn_error $? "--with-apr requires a directory or file to be provided" "$LINENO" 5
15674 for apr_temp_apr_config_file in $apr_temp_acceptable_apr_config
15676 for lookdir in "$withval/bin" "$withval"
15678 if $TEST_X "$lookdir/$apr_temp_apr_config_file"; then
15679 apr_config="$lookdir/$apr_temp_apr_config_file"
15687 if test "$apr_found" != "yes" && $TEST_X "$withval" && $withval --help > /dev/null 2>&1 ; then
15688 apr_config="$withval"
15692 if test "$apr_found" != "yes"; then
15693 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
15698 if test -n "1" && test "1" = "1"; then
15699 for apr_temp_apr_config_file in $apr_temp_acceptable_apr_config
15701 if $apr_temp_apr_config_file --help > /dev/null 2>&1 ; then
15702 apr_config="$apr_temp_apr_config_file"
15707 for lookdir in /usr /usr/local /usr/local/apr /opt/apr; do
15708 if $TEST_X "$lookdir/bin/$apr_temp_apr_config_file"; then
15709 apr_config="$lookdir/bin/$apr_temp_apr_config_file"
15718 if test "$apr_found" = "no" && test -d ""; then
15719 apr_temp_abs_srcdir="`cd && pwd`"
15720 apr_found="reconfig"
15721 apr_bundled_major="`sed -n '/#define.*APR_MAJOR_VERSION/s/^[^0-9]*\([0-9]*\).*$/\1/p' \"/include
/apr_version.h
\"`"
15722 case $apr_bundled_major in
15724 as_fn_error $? "failed to find major version of bundled APR" "$LINENO" 5
15727 apr_temp_apr_config_file="apr-config"
15730 apr_temp_apr_config_file="apr-$apr_bundled_major-config"
15733 if test -n ""; then
15734 apr_config="/$apr_temp_apr_config_file"
15736 apr_config="/$apr_temp_apr_config_file"
15743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $apr_found" >&5
15744 $as_echo "$apr_found" >&6; }
15746 case $apr_found in #(
15750 for element in `$apr_config --includes`; do
15752 for x in $CPPFLAGS; do
15754 acl_save_prefix="$prefix"
15755 prefix="$acl_final_prefix"
15756 acl_save_exec_prefix="$exec_prefix"
15757 exec_prefix="$acl_final_exec_prefix"
15759 exec_prefix="$acl_save_exec_prefix"
15760 prefix="$acl_save_prefix"
15762 if test "X$x" = "X$element"; then
15767 if test -z "$haveit"; then
15768 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
15772 LTLIBAPR=`$apr_config --link-libtool`
15776 as_fn_error $? "You need apr" "$LINENO" 5 ;;
15780 # Check whether --enable-javascript was given.
15781 if test "${enable_javascript+set}" = set; then :
15782 enableval=$enable_javascript;
15783 case $enableval in #(
15789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
15790 $as_echo_n "checking for WEBKIT... " >&6; }
15792 if test -n "$WEBKIT_CFLAGS"; then
15793 pkg_cv_WEBKIT_CFLAGS="$WEBKIT_CFLAGS"
15794 elif test -n "$PKG_CONFIG"; then
15795 if test -n "$PKG_CONFIG" && \
15796 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"webkit-1.0\""; } >&5
15797 ($PKG_CONFIG --exists --print-errors "webkit-1.0") 2>&5
15799 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15800 test $ac_status = 0; }; then
15801 pkg_cv_WEBKIT_CFLAGS=`$PKG_CONFIG --cflags "webkit-1.0" 2>/dev
/null
`
15808 if test -n "$WEBKIT_LIBS"; then
15809 pkg_cv_WEBKIT_LIBS="$WEBKIT_LIBS"
15810 elif test -n "$PKG_CONFIG"; then
15811 if test -n "$PKG_CONFIG" && \
15812 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"webkit-1.0\""; } >&5
15813 ($PKG_CONFIG --exists --print-errors "webkit-1.0") 2>&5
15815 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15816 test $ac_status = 0; }; then
15817 pkg_cv_WEBKIT_LIBS=`$PKG_CONFIG --libs "webkit-1.0" 2>/dev
/null
`
15827 if test $pkg_failed = yes; then
15828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15829 $as_echo "no" >&6; }
15831 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15832 _pkg_short_errors_supported=yes
15834 _pkg_short_errors_supported=no
15836 if test $_pkg_short_errors_supported = yes; then
15837 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "webkit-1.0" 2>&1`
15839 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --print-errors "webkit-1.0" 2>&1`
15841 # Put the nasty error message in config.log where it belongs
15842 echo "$WEBKIT_PKG_ERRORS" >&5
15847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
15848 $as_echo_n "checking for WEBKIT... " >&6; }
15850 if test -n "$WEBKIT_CFLAGS"; then
15851 pkg_cv_WEBKIT_CFLAGS="$WEBKIT_CFLAGS"
15852 elif test -n "$PKG_CONFIG"; then
15853 if test -n "$PKG_CONFIG" && \
15854 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"WebKitGtk\""; } >&5
15855 ($PKG_CONFIG --exists --print-errors "WebKitGtk") 2>&5
15857 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15858 test $ac_status = 0; }; then
15859 pkg_cv_WEBKIT_CFLAGS=`$PKG_CONFIG --cflags "WebKitGtk" 2>/dev
/null
`
15866 if test -n "$WEBKIT_LIBS"; then
15867 pkg_cv_WEBKIT_LIBS="$WEBKIT_LIBS"
15868 elif test -n "$PKG_CONFIG"; then
15869 if test -n "$PKG_CONFIG" && \
15870 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"WebKitGtk\""; } >&5
15871 ($PKG_CONFIG --exists --print-errors "WebKitGtk") 2>&5
15873 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15874 test $ac_status = 0; }; then
15875 pkg_cv_WEBKIT_LIBS=`$PKG_CONFIG --libs "WebKitGtk" 2>/dev
/null
`
15885 if test $pkg_failed = yes; then
15886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15887 $as_echo "no" >&6; }
15889 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15890 _pkg_short_errors_supported=yes
15892 _pkg_short_errors_supported=no
15894 if test $_pkg_short_errors_supported = yes; then
15895 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "WebKitGtk" 2>&1`
15897 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --print-errors "WebKitGtk" 2>&1`
15899 # Put the nasty error message in config.log where it belongs
15900 echo "$WEBKIT_PKG_ERRORS" >&5
15904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
15905 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
15906 if ${ac_cv_framework_JavaScriptCore+:} false; then :
15907 $as_echo_n "(cached) " >&6
15910 ac_check_framework_save_LIBS=$LIBS
15911 LIBS="-framework JavaScriptCore $LIBS"
15912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15913 /* end confdefs.h. */
15915 #include <JavaScriptCore/JSBase.h>
15920 JSEvaluateScript(0, 0, 0, 0, 0, 0);
15925 if ac_fn_cxx_try_link "$LINENO"; then :
15927 ac_cv_framework_JavaScriptCore=yes
15930 ac_cv_framework_JavaScriptCore=no
15932 rm -f core conftest.err conftest.$ac_objext \
15933 conftest$ac_exeext conftest.$ac_ext
15934 LIBS=$ac_check_framework_save_LIBS
15937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
15938 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
15939 if test $ac_cv_framework_JavaScriptCore = yes; then :
15942 for element in "-framework JavaScriptCore $LIBS"; do
15946 acl_save_prefix="$prefix"
15947 prefix="$acl_final_prefix"
15948 acl_save_exec_prefix="$exec_prefix"
15949 exec_prefix="$acl_final_exec_prefix"
15951 exec_prefix="$acl_save_exec_prefix"
15952 prefix="$acl_save_prefix"
15954 if test "X$x" = "X$element"; then
15959 if test -z "$haveit"; then
15960 LIBS="${LIBS}${LIBS:+ }$element"
15968 elif test $pkg_failed = untried; then
15969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15970 $as_echo "no" >&6; }
15973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
15974 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
15975 if ${ac_cv_framework_JavaScriptCore+:} false; then :
15976 $as_echo_n "(cached) " >&6
15979 ac_check_framework_save_LIBS=$LIBS
15980 LIBS="-framework JavaScriptCore $LIBS"
15981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15982 /* end confdefs.h. */
15984 #include <JavaScriptCore/JSBase.h>
15989 JSEvaluateScript(0, 0, 0, 0, 0, 0);
15994 if ac_fn_cxx_try_link "$LINENO"; then :
15996 ac_cv_framework_JavaScriptCore=yes
15999 ac_cv_framework_JavaScriptCore=no
16001 rm -f core conftest.err conftest.$ac_objext \
16002 conftest$ac_exeext conftest.$ac_ext
16003 LIBS=$ac_check_framework_save_LIBS
16006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
16007 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
16008 if test $ac_cv_framework_JavaScriptCore = yes; then :
16011 for element in "-framework JavaScriptCore $LIBS"; do
16015 acl_save_prefix="$prefix"
16016 prefix="$acl_final_prefix"
16017 acl_save_exec_prefix="$exec_prefix"
16018 exec_prefix="$acl_final_exec_prefix"
16020 exec_prefix="$acl_save_exec_prefix"
16021 prefix="$acl_save_prefix"
16023 if test "X$x" = "X$element"; then
16028 if test -z "$haveit"; then
16029 LIBS="${LIBS}${LIBS:+ }$element"
16038 WEBKIT_CFLAGS=$pkg_cv_WEBKIT_CFLAGS
16039 WEBKIT_LIBS=$pkg_cv_WEBKIT_LIBS
16040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16041 $as_echo "yes" >&6; }
16045 for element in `$PKG_CONFIG --cflags WebKitGtk
`; do
16047 for x in $CXXFLAGS; do
16049 acl_save_prefix="$prefix"
16050 prefix="$acl_final_prefix"
16051 acl_save_exec_prefix="$exec_prefix"
16052 exec_prefix="$acl_final_exec_prefix"
16054 exec_prefix="$acl_save_exec_prefix"
16055 prefix="$acl_save_prefix"
16057 if test "X$x" = "X$element"; then
16062 if test -z "$haveit"; then
16063 CXXFLAGS="${CXXFLAGS}${CXXFLAGS:+ }$element"
16068 for element in `$PKG_CONFIG --libs WebKitGtk
`; do
16072 acl_save_prefix="$prefix"
16073 prefix="$acl_final_prefix"
16074 acl_save_exec_prefix="$exec_prefix"
16075 exec_prefix="$acl_final_exec_prefix"
16077 exec_prefix="$acl_save_exec_prefix"
16078 prefix="$acl_save_prefix"
16080 if test "X$x" = "X$element"; then
16085 if test -z "$haveit"; then
16086 LIBS="${LIBS}${LIBS:+ }$element"
16093 elif test $pkg_failed = untried; then
16094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16095 $as_echo "no" >&6; }
16099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
16100 $as_echo_n "checking for WEBKIT... " >&6; }
16102 if test -n "$WEBKIT_CFLAGS"; then
16103 pkg_cv_WEBKIT_CFLAGS="$WEBKIT_CFLAGS"
16104 elif test -n "$PKG_CONFIG"; then
16105 if test -n "$PKG_CONFIG" && \
16106 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"WebKitGtk\""; } >&5
16107 ($PKG_CONFIG --exists --print-errors "WebKitGtk") 2>&5
16109 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16110 test $ac_status = 0; }; then
16111 pkg_cv_WEBKIT_CFLAGS=`$PKG_CONFIG --cflags "WebKitGtk" 2>/dev
/null
`
16118 if test -n "$WEBKIT_LIBS"; then
16119 pkg_cv_WEBKIT_LIBS="$WEBKIT_LIBS"
16120 elif test -n "$PKG_CONFIG"; then
16121 if test -n "$PKG_CONFIG" && \
16122 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"WebKitGtk\""; } >&5
16123 ($PKG_CONFIG --exists --print-errors "WebKitGtk") 2>&5
16125 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16126 test $ac_status = 0; }; then
16127 pkg_cv_WEBKIT_LIBS=`$PKG_CONFIG --libs "WebKitGtk" 2>/dev
/null
`
16137 if test $pkg_failed = yes; then
16138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16139 $as_echo "no" >&6; }
16141 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16142 _pkg_short_errors_supported=yes
16144 _pkg_short_errors_supported=no
16146 if test $_pkg_short_errors_supported = yes; then
16147 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "WebKitGtk" 2>&1`
16149 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --print-errors "WebKitGtk" 2>&1`
16151 # Put the nasty error message in config.log where it belongs
16152 echo "$WEBKIT_PKG_ERRORS" >&5
16156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
16157 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
16158 if ${ac_cv_framework_JavaScriptCore+:} false; then :
16159 $as_echo_n "(cached) " >&6
16162 ac_check_framework_save_LIBS=$LIBS
16163 LIBS="-framework JavaScriptCore $LIBS"
16164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16165 /* end confdefs.h. */
16167 #include <JavaScriptCore/JSBase.h>
16172 JSEvaluateScript(0, 0, 0, 0, 0, 0);
16177 if ac_fn_cxx_try_link "$LINENO"; then :
16179 ac_cv_framework_JavaScriptCore=yes
16182 ac_cv_framework_JavaScriptCore=no
16184 rm -f core conftest.err conftest.$ac_objext \
16185 conftest$ac_exeext conftest.$ac_ext
16186 LIBS=$ac_check_framework_save_LIBS
16189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
16190 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
16191 if test $ac_cv_framework_JavaScriptCore = yes; then :
16194 for element in "-framework JavaScriptCore $LIBS"; do
16198 acl_save_prefix="$prefix"
16199 prefix="$acl_final_prefix"
16200 acl_save_exec_prefix="$exec_prefix"
16201 exec_prefix="$acl_final_exec_prefix"
16203 exec_prefix="$acl_save_exec_prefix"
16204 prefix="$acl_save_prefix"
16206 if test "X$x" = "X$element"; then
16211 if test -z "$haveit"; then
16212 LIBS="${LIBS}${LIBS:+ }$element"
16220 elif test $pkg_failed = untried; then
16221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16222 $as_echo "no" >&6; }
16225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
16226 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
16227 if ${ac_cv_framework_JavaScriptCore+:} false; then :
16228 $as_echo_n "(cached) " >&6
16231 ac_check_framework_save_LIBS=$LIBS
16232 LIBS="-framework JavaScriptCore $LIBS"
16233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16234 /* end confdefs.h. */
16236 #include <JavaScriptCore/JSBase.h>
16241 JSEvaluateScript(0, 0, 0, 0, 0, 0);
16246 if ac_fn_cxx_try_link "$LINENO"; then :
16248 ac_cv_framework_JavaScriptCore=yes
16251 ac_cv_framework_JavaScriptCore=no
16253 rm -f core conftest.err conftest.$ac_objext \
16254 conftest$ac_exeext conftest.$ac_ext
16255 LIBS=$ac_check_framework_save_LIBS
16258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
16259 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
16260 if test $ac_cv_framework_JavaScriptCore = yes; then :
16263 for element in "-framework JavaScriptCore $LIBS"; do
16267 acl_save_prefix="$prefix"
16268 prefix="$acl_final_prefix"
16269 acl_save_exec_prefix="$exec_prefix"
16270 exec_prefix="$acl_final_exec_prefix"
16272 exec_prefix="$acl_save_exec_prefix"
16273 prefix="$acl_save_prefix"
16275 if test "X$x" = "X$element"; then
16280 if test -z "$haveit"; then
16281 LIBS="${LIBS}${LIBS:+ }$element"
16290 WEBKIT_CFLAGS=$pkg_cv_WEBKIT_CFLAGS
16291 WEBKIT_LIBS=$pkg_cv_WEBKIT_LIBS
16292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16293 $as_echo "yes" >&6; }
16297 for element in `$PKG_CONFIG --cflags WebKitGtk
`; do
16299 for x in $CXXFLAGS; do
16301 acl_save_prefix="$prefix"
16302 prefix="$acl_final_prefix"
16303 acl_save_exec_prefix="$exec_prefix"
16304 exec_prefix="$acl_final_exec_prefix"
16306 exec_prefix="$acl_save_exec_prefix"
16307 prefix="$acl_save_prefix"
16309 if test "X$x" = "X$element"; then
16314 if test -z "$haveit"; then
16315 CXXFLAGS="${CXXFLAGS}${CXXFLAGS:+ }$element"
16320 for element in `$PKG_CONFIG --libs WebKitGtk
`; do
16324 acl_save_prefix="$prefix"
16325 prefix="$acl_final_prefix"
16326 acl_save_exec_prefix="$exec_prefix"
16327 exec_prefix="$acl_final_exec_prefix"
16329 exec_prefix="$acl_save_exec_prefix"
16330 prefix="$acl_save_prefix"
16332 if test "X$x" = "X$element"; then
16337 if test -z "$haveit"; then
16338 LIBS="${LIBS}${LIBS:+ }$element"
16346 WEBKIT_CFLAGS=$pkg_cv_WEBKIT_CFLAGS
16347 WEBKIT_LIBS=$pkg_cv_WEBKIT_LIBS
16348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16349 $as_echo "yes" >&6; }
16353 for element in `$PKG_CONFIG --cflags webkit
-1.0
`; do
16355 for x in $CXXFLAGS; do
16357 acl_save_prefix="$prefix"
16358 prefix="$acl_final_prefix"
16359 acl_save_exec_prefix="$exec_prefix"
16360 exec_prefix="$acl_final_exec_prefix"
16362 exec_prefix="$acl_save_exec_prefix"
16363 prefix="$acl_save_prefix"
16365 if test "X$x" = "X$element"; then
16370 if test -z "$haveit"; then
16371 CXXFLAGS="${CXXFLAGS}${CXXFLAGS:+ }$element"
16376 for element in `$PKG_CONFIG --libs webkit
-1.0
`; do
16380 acl_save_prefix="$prefix"
16381 prefix="$acl_final_prefix"
16382 acl_save_exec_prefix="$exec_prefix"
16383 exec_prefix="$acl_final_exec_prefix"
16385 exec_prefix="$acl_save_exec_prefix"
16386 prefix="$acl_save_prefix"
16388 if test "X$x" = "X$element"; then
16393 if test -z "$haveit"; then
16394 LIBS="${LIBS}${LIBS:+ }$element"
16412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
16413 $as_echo_n "checking for WEBKIT... " >&6; }
16415 if test -n "$WEBKIT_CFLAGS"; then
16416 pkg_cv_WEBKIT_CFLAGS="$WEBKIT_CFLAGS"
16417 elif test -n "$PKG_CONFIG"; then
16418 if test -n "$PKG_CONFIG" && \
16419 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"webkit-1.0\""; } >&5
16420 ($PKG_CONFIG --exists --print-errors "webkit-1.0") 2>&5
16422 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16423 test $ac_status = 0; }; then
16424 pkg_cv_WEBKIT_CFLAGS=`$PKG_CONFIG --cflags "webkit-1.0" 2>/dev
/null
`
16431 if test -n "$WEBKIT_LIBS"; then
16432 pkg_cv_WEBKIT_LIBS="$WEBKIT_LIBS"
16433 elif test -n "$PKG_CONFIG"; then
16434 if test -n "$PKG_CONFIG" && \
16435 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"webkit-1.0\""; } >&5
16436 ($PKG_CONFIG --exists --print-errors "webkit-1.0") 2>&5
16438 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16439 test $ac_status = 0; }; then
16440 pkg_cv_WEBKIT_LIBS=`$PKG_CONFIG --libs "webkit-1.0" 2>/dev
/null
`
16450 if test $pkg_failed = yes; then
16451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16452 $as_echo "no" >&6; }
16454 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16455 _pkg_short_errors_supported=yes
16457 _pkg_short_errors_supported=no
16459 if test $_pkg_short_errors_supported = yes; then
16460 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "webkit-1.0" 2>&1`
16462 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --print-errors "webkit-1.0" 2>&1`
16464 # Put the nasty error message in config.log where it belongs
16465 echo "$WEBKIT_PKG_ERRORS" >&5
16470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
16471 $as_echo_n "checking for WEBKIT... " >&6; }
16473 if test -n "$WEBKIT_CFLAGS"; then
16474 pkg_cv_WEBKIT_CFLAGS="$WEBKIT_CFLAGS"
16475 elif test -n "$PKG_CONFIG"; then
16476 if test -n "$PKG_CONFIG" && \
16477 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"WebKitGtk\""; } >&5
16478 ($PKG_CONFIG --exists --print-errors "WebKitGtk") 2>&5
16480 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16481 test $ac_status = 0; }; then
16482 pkg_cv_WEBKIT_CFLAGS=`$PKG_CONFIG --cflags "WebKitGtk" 2>/dev
/null
`
16489 if test -n "$WEBKIT_LIBS"; then
16490 pkg_cv_WEBKIT_LIBS="$WEBKIT_LIBS"
16491 elif test -n "$PKG_CONFIG"; then
16492 if test -n "$PKG_CONFIG" && \
16493 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"WebKitGtk\""; } >&5
16494 ($PKG_CONFIG --exists --print-errors "WebKitGtk") 2>&5
16496 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16497 test $ac_status = 0; }; then
16498 pkg_cv_WEBKIT_LIBS=`$PKG_CONFIG --libs "WebKitGtk" 2>/dev
/null
`
16508 if test $pkg_failed = yes; then
16509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16510 $as_echo "no" >&6; }
16512 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16513 _pkg_short_errors_supported=yes
16515 _pkg_short_errors_supported=no
16517 if test $_pkg_short_errors_supported = yes; then
16518 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "WebKitGtk" 2>&1`
16520 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --print-errors "WebKitGtk" 2>&1`
16522 # Put the nasty error message in config.log where it belongs
16523 echo "$WEBKIT_PKG_ERRORS" >&5
16527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
16528 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
16529 if ${ac_cv_framework_JavaScriptCore+:} false; then :
16530 $as_echo_n "(cached) " >&6
16533 ac_check_framework_save_LIBS=$LIBS
16534 LIBS="-framework JavaScriptCore $LIBS"
16535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16536 /* end confdefs.h. */
16538 #include <JavaScriptCore/JSBase.h>
16543 JSEvaluateScript(0, 0, 0, 0, 0, 0);
16548 if ac_fn_cxx_try_link "$LINENO"; then :
16550 ac_cv_framework_JavaScriptCore=yes
16553 ac_cv_framework_JavaScriptCore=no
16555 rm -f core conftest.err conftest.$ac_objext \
16556 conftest$ac_exeext conftest.$ac_ext
16557 LIBS=$ac_check_framework_save_LIBS
16560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
16561 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
16562 if test $ac_cv_framework_JavaScriptCore = yes; then :
16565 for element in "-framework JavaScriptCore $LIBS"; do
16569 acl_save_prefix="$prefix"
16570 prefix="$acl_final_prefix"
16571 acl_save_exec_prefix="$exec_prefix"
16572 exec_prefix="$acl_final_exec_prefix"
16574 exec_prefix="$acl_save_exec_prefix"
16575 prefix="$acl_save_prefix"
16577 if test "X$x" = "X$element"; then
16582 if test -z "$haveit"; then
16583 LIBS="${LIBS}${LIBS:+ }$element"
16591 elif test $pkg_failed = untried; then
16592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16593 $as_echo "no" >&6; }
16596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
16597 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
16598 if ${ac_cv_framework_JavaScriptCore+:} false; then :
16599 $as_echo_n "(cached) " >&6
16602 ac_check_framework_save_LIBS=$LIBS
16603 LIBS="-framework JavaScriptCore $LIBS"
16604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16605 /* end confdefs.h. */
16607 #include <JavaScriptCore/JSBase.h>
16612 JSEvaluateScript(0, 0, 0, 0, 0, 0);
16617 if ac_fn_cxx_try_link "$LINENO"; then :
16619 ac_cv_framework_JavaScriptCore=yes
16622 ac_cv_framework_JavaScriptCore=no
16624 rm -f core conftest.err conftest.$ac_objext \
16625 conftest$ac_exeext conftest.$ac_ext
16626 LIBS=$ac_check_framework_save_LIBS
16629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
16630 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
16631 if test $ac_cv_framework_JavaScriptCore = yes; then :
16634 for element in "-framework JavaScriptCore $LIBS"; do
16638 acl_save_prefix="$prefix"
16639 prefix="$acl_final_prefix"
16640 acl_save_exec_prefix="$exec_prefix"
16641 exec_prefix="$acl_final_exec_prefix"
16643 exec_prefix="$acl_save_exec_prefix"
16644 prefix="$acl_save_prefix"
16646 if test "X$x" = "X$element"; then
16651 if test -z "$haveit"; then
16652 LIBS="${LIBS}${LIBS:+ }$element"
16661 WEBKIT_CFLAGS=$pkg_cv_WEBKIT_CFLAGS
16662 WEBKIT_LIBS=$pkg_cv_WEBKIT_LIBS
16663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16664 $as_echo "yes" >&6; }
16668 for element in `$PKG_CONFIG --cflags WebKitGtk
`; do
16670 for x in $CXXFLAGS; do
16672 acl_save_prefix="$prefix"
16673 prefix="$acl_final_prefix"
16674 acl_save_exec_prefix="$exec_prefix"
16675 exec_prefix="$acl_final_exec_prefix"
16677 exec_prefix="$acl_save_exec_prefix"
16678 prefix="$acl_save_prefix"
16680 if test "X$x" = "X$element"; then
16685 if test -z "$haveit"; then
16686 CXXFLAGS="${CXXFLAGS}${CXXFLAGS:+ }$element"
16691 for element in `$PKG_CONFIG --libs WebKitGtk
`; do
16695 acl_save_prefix="$prefix"
16696 prefix="$acl_final_prefix"
16697 acl_save_exec_prefix="$exec_prefix"
16698 exec_prefix="$acl_final_exec_prefix"
16700 exec_prefix="$acl_save_exec_prefix"
16701 prefix="$acl_save_prefix"
16703 if test "X$x" = "X$element"; then
16708 if test -z "$haveit"; then
16709 LIBS="${LIBS}${LIBS:+ }$element"
16716 elif test $pkg_failed = untried; then
16717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16718 $as_echo "no" >&6; }
16722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
16723 $as_echo_n "checking for WEBKIT... " >&6; }
16725 if test -n "$WEBKIT_CFLAGS"; then
16726 pkg_cv_WEBKIT_CFLAGS="$WEBKIT_CFLAGS"
16727 elif test -n "$PKG_CONFIG"; then
16728 if test -n "$PKG_CONFIG" && \
16729 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"WebKitGtk\""; } >&5
16730 ($PKG_CONFIG --exists --print-errors "WebKitGtk") 2>&5
16732 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16733 test $ac_status = 0; }; then
16734 pkg_cv_WEBKIT_CFLAGS=`$PKG_CONFIG --cflags "WebKitGtk" 2>/dev
/null
`
16741 if test -n "$WEBKIT_LIBS"; then
16742 pkg_cv_WEBKIT_LIBS="$WEBKIT_LIBS"
16743 elif test -n "$PKG_CONFIG"; then
16744 if test -n "$PKG_CONFIG" && \
16745 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"WebKitGtk\""; } >&5
16746 ($PKG_CONFIG --exists --print-errors "WebKitGtk") 2>&5
16748 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16749 test $ac_status = 0; }; then
16750 pkg_cv_WEBKIT_LIBS=`$PKG_CONFIG --libs "WebKitGtk" 2>/dev
/null
`
16760 if test $pkg_failed = yes; then
16761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16762 $as_echo "no" >&6; }
16764 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16765 _pkg_short_errors_supported=yes
16767 _pkg_short_errors_supported=no
16769 if test $_pkg_short_errors_supported = yes; then
16770 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "WebKitGtk" 2>&1`
16772 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --print-errors "WebKitGtk" 2>&1`
16774 # Put the nasty error message in config.log where it belongs
16775 echo "$WEBKIT_PKG_ERRORS" >&5
16779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
16780 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
16781 if ${ac_cv_framework_JavaScriptCore+:} false; then :
16782 $as_echo_n "(cached) " >&6
16785 ac_check_framework_save_LIBS=$LIBS
16786 LIBS="-framework JavaScriptCore $LIBS"
16787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16788 /* end confdefs.h. */
16790 #include <JavaScriptCore/JSBase.h>
16795 JSEvaluateScript(0, 0, 0, 0, 0, 0);
16800 if ac_fn_cxx_try_link "$LINENO"; then :
16802 ac_cv_framework_JavaScriptCore=yes
16805 ac_cv_framework_JavaScriptCore=no
16807 rm -f core conftest.err conftest.$ac_objext \
16808 conftest$ac_exeext conftest.$ac_ext
16809 LIBS=$ac_check_framework_save_LIBS
16812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
16813 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
16814 if test $ac_cv_framework_JavaScriptCore = yes; then :
16817 for element in "-framework JavaScriptCore $LIBS"; do
16821 acl_save_prefix="$prefix"
16822 prefix="$acl_final_prefix"
16823 acl_save_exec_prefix="$exec_prefix"
16824 exec_prefix="$acl_final_exec_prefix"
16826 exec_prefix="$acl_save_exec_prefix"
16827 prefix="$acl_save_prefix"
16829 if test "X$x" = "X$element"; then
16834 if test -z "$haveit"; then
16835 LIBS="${LIBS}${LIBS:+ }$element"
16843 elif test $pkg_failed = untried; then
16844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16845 $as_echo "no" >&6; }
16848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
16849 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
16850 if ${ac_cv_framework_JavaScriptCore+:} false; then :
16851 $as_echo_n "(cached) " >&6
16854 ac_check_framework_save_LIBS=$LIBS
16855 LIBS="-framework JavaScriptCore $LIBS"
16856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16857 /* end confdefs.h. */
16859 #include <JavaScriptCore/JSBase.h>
16864 JSEvaluateScript(0, 0, 0, 0, 0, 0);
16869 if ac_fn_cxx_try_link "$LINENO"; then :
16871 ac_cv_framework_JavaScriptCore=yes
16874 ac_cv_framework_JavaScriptCore=no
16876 rm -f core conftest.err conftest.$ac_objext \
16877 conftest$ac_exeext conftest.$ac_ext
16878 LIBS=$ac_check_framework_save_LIBS
16881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
16882 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
16883 if test $ac_cv_framework_JavaScriptCore = yes; then :
16886 for element in "-framework JavaScriptCore $LIBS"; do
16890 acl_save_prefix="$prefix"
16891 prefix="$acl_final_prefix"
16892 acl_save_exec_prefix="$exec_prefix"
16893 exec_prefix="$acl_final_exec_prefix"
16895 exec_prefix="$acl_save_exec_prefix"
16896 prefix="$acl_save_prefix"
16898 if test "X$x" = "X$element"; then
16903 if test -z "$haveit"; then
16904 LIBS="${LIBS}${LIBS:+ }$element"
16913 WEBKIT_CFLAGS=$pkg_cv_WEBKIT_CFLAGS
16914 WEBKIT_LIBS=$pkg_cv_WEBKIT_LIBS
16915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16916 $as_echo "yes" >&6; }
16920 for element in `$PKG_CONFIG --cflags WebKitGtk
`; do
16922 for x in $CXXFLAGS; 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 CXXFLAGS="${CXXFLAGS}${CXXFLAGS:+ }$element"
16943 for element in `$PKG_CONFIG --libs WebKitGtk
`; do
16947 acl_save_prefix="$prefix"
16948 prefix="$acl_final_prefix"
16949 acl_save_exec_prefix="$exec_prefix"
16950 exec_prefix="$acl_final_exec_prefix"
16952 exec_prefix="$acl_save_exec_prefix"
16953 prefix="$acl_save_prefix"
16955 if test "X$x" = "X$element"; then
16960 if test -z "$haveit"; then
16961 LIBS="${LIBS}${LIBS:+ }$element"
16969 WEBKIT_CFLAGS=$pkg_cv_WEBKIT_CFLAGS
16970 WEBKIT_LIBS=$pkg_cv_WEBKIT_LIBS
16971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16972 $as_echo "yes" >&6; }
16976 for element in `$PKG_CONFIG --cflags webkit
-1.0
`; do
16978 for x in $CXXFLAGS; do
16980 acl_save_prefix="$prefix"
16981 prefix="$acl_final_prefix"
16982 acl_save_exec_prefix="$exec_prefix"
16983 exec_prefix="$acl_final_exec_prefix"
16985 exec_prefix="$acl_save_exec_prefix"
16986 prefix="$acl_save_prefix"
16988 if test "X$x" = "X$element"; then
16993 if test -z "$haveit"; then
16994 CXXFLAGS="${CXXFLAGS}${CXXFLAGS:+ }$element"
16999 for element in `$PKG_CONFIG --libs webkit
-1.0
`; do
17003 acl_save_prefix="$prefix"
17004 prefix="$acl_final_prefix"
17005 acl_save_exec_prefix="$exec_prefix"
17006 exec_prefix="$acl_final_exec_prefix"
17008 exec_prefix="$acl_save_exec_prefix"
17009 prefix="$acl_save_prefix"
17011 if test "X$x" = "X$element"; then
17016 if test -z "$haveit"; then
17017 LIBS="${LIBS}${LIBS:+ }$element"
17026 as_fn_error $? "Unknown JavaScript engine: $enableval" "$LINENO" 5 ;;
17034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
17035 $as_echo_n "checking for WEBKIT... " >&6; }
17037 if test -n "$WEBKIT_CFLAGS"; then
17038 pkg_cv_WEBKIT_CFLAGS="$WEBKIT_CFLAGS"
17039 elif test -n "$PKG_CONFIG"; then
17040 if test -n "$PKG_CONFIG" && \
17041 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"webkit-1.0\""; } >&5
17042 ($PKG_CONFIG --exists --print-errors "webkit-1.0") 2>&5
17044 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17045 test $ac_status = 0; }; then
17046 pkg_cv_WEBKIT_CFLAGS=`$PKG_CONFIG --cflags "webkit-1.0" 2>/dev
/null
`
17053 if test -n "$WEBKIT_LIBS"; then
17054 pkg_cv_WEBKIT_LIBS="$WEBKIT_LIBS"
17055 elif test -n "$PKG_CONFIG"; then
17056 if test -n "$PKG_CONFIG" && \
17057 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"webkit-1.0\""; } >&5
17058 ($PKG_CONFIG --exists --print-errors "webkit-1.0") 2>&5
17060 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17061 test $ac_status = 0; }; then
17062 pkg_cv_WEBKIT_LIBS=`$PKG_CONFIG --libs "webkit-1.0" 2>/dev
/null
`
17072 if test $pkg_failed = yes; then
17073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17074 $as_echo "no" >&6; }
17076 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17077 _pkg_short_errors_supported=yes
17079 _pkg_short_errors_supported=no
17081 if test $_pkg_short_errors_supported = yes; then
17082 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "webkit-1.0" 2>&1`
17084 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --print-errors "webkit-1.0" 2>&1`
17086 # Put the nasty error message in config.log where it belongs
17087 echo "$WEBKIT_PKG_ERRORS" >&5
17092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
17093 $as_echo_n "checking for WEBKIT... " >&6; }
17095 if test -n "$WEBKIT_CFLAGS"; then
17096 pkg_cv_WEBKIT_CFLAGS="$WEBKIT_CFLAGS"
17097 elif test -n "$PKG_CONFIG"; then
17098 if test -n "$PKG_CONFIG" && \
17099 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"WebKitGtk\""; } >&5
17100 ($PKG_CONFIG --exists --print-errors "WebKitGtk") 2>&5
17102 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17103 test $ac_status = 0; }; then
17104 pkg_cv_WEBKIT_CFLAGS=`$PKG_CONFIG --cflags "WebKitGtk" 2>/dev
/null
`
17111 if test -n "$WEBKIT_LIBS"; then
17112 pkg_cv_WEBKIT_LIBS="$WEBKIT_LIBS"
17113 elif test -n "$PKG_CONFIG"; then
17114 if test -n "$PKG_CONFIG" && \
17115 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"WebKitGtk\""; } >&5
17116 ($PKG_CONFIG --exists --print-errors "WebKitGtk") 2>&5
17118 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17119 test $ac_status = 0; }; then
17120 pkg_cv_WEBKIT_LIBS=`$PKG_CONFIG --libs "WebKitGtk" 2>/dev
/null
`
17130 if test $pkg_failed = yes; then
17131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17132 $as_echo "no" >&6; }
17134 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17135 _pkg_short_errors_supported=yes
17137 _pkg_short_errors_supported=no
17139 if test $_pkg_short_errors_supported = yes; then
17140 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "WebKitGtk" 2>&1`
17142 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --print-errors "WebKitGtk" 2>&1`
17144 # Put the nasty error message in config.log where it belongs
17145 echo "$WEBKIT_PKG_ERRORS" >&5
17149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
17150 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
17151 if ${ac_cv_framework_JavaScriptCore+:} false; then :
17152 $as_echo_n "(cached) " >&6
17155 ac_check_framework_save_LIBS=$LIBS
17156 LIBS="-framework JavaScriptCore $LIBS"
17157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17158 /* end confdefs.h. */
17160 #include <JavaScriptCore/JSBase.h>
17165 JSEvaluateScript(0, 0, 0, 0, 0, 0);
17170 if ac_fn_cxx_try_link "$LINENO"; then :
17172 ac_cv_framework_JavaScriptCore=yes
17175 ac_cv_framework_JavaScriptCore=no
17177 rm -f core conftest.err conftest.$ac_objext \
17178 conftest$ac_exeext conftest.$ac_ext
17179 LIBS=$ac_check_framework_save_LIBS
17182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
17183 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
17184 if test $ac_cv_framework_JavaScriptCore = yes; then :
17187 for element in "-framework JavaScriptCore $LIBS"; do
17191 acl_save_prefix="$prefix"
17192 prefix="$acl_final_prefix"
17193 acl_save_exec_prefix="$exec_prefix"
17194 exec_prefix="$acl_final_exec_prefix"
17196 exec_prefix="$acl_save_exec_prefix"
17197 prefix="$acl_save_prefix"
17199 if test "X$x" = "X$element"; then
17204 if test -z "$haveit"; then
17205 LIBS="${LIBS}${LIBS:+ }$element"
17213 elif test $pkg_failed = untried; then
17214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17215 $as_echo "no" >&6; }
17218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
17219 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
17220 if ${ac_cv_framework_JavaScriptCore+:} false; then :
17221 $as_echo_n "(cached) " >&6
17224 ac_check_framework_save_LIBS=$LIBS
17225 LIBS="-framework JavaScriptCore $LIBS"
17226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17227 /* end confdefs.h. */
17229 #include <JavaScriptCore/JSBase.h>
17234 JSEvaluateScript(0, 0, 0, 0, 0, 0);
17239 if ac_fn_cxx_try_link "$LINENO"; then :
17241 ac_cv_framework_JavaScriptCore=yes
17244 ac_cv_framework_JavaScriptCore=no
17246 rm -f core conftest.err conftest.$ac_objext \
17247 conftest$ac_exeext conftest.$ac_ext
17248 LIBS=$ac_check_framework_save_LIBS
17251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
17252 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
17253 if test $ac_cv_framework_JavaScriptCore = yes; then :
17256 for element in "-framework JavaScriptCore $LIBS"; do
17260 acl_save_prefix="$prefix"
17261 prefix="$acl_final_prefix"
17262 acl_save_exec_prefix="$exec_prefix"
17263 exec_prefix="$acl_final_exec_prefix"
17265 exec_prefix="$acl_save_exec_prefix"
17266 prefix="$acl_save_prefix"
17268 if test "X$x" = "X$element"; then
17273 if test -z "$haveit"; then
17274 LIBS="${LIBS}${LIBS:+ }$element"
17283 WEBKIT_CFLAGS=$pkg_cv_WEBKIT_CFLAGS
17284 WEBKIT_LIBS=$pkg_cv_WEBKIT_LIBS
17285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17286 $as_echo "yes" >&6; }
17290 for element in `$PKG_CONFIG --cflags WebKitGtk
`; do
17292 for x in $CXXFLAGS; do
17294 acl_save_prefix="$prefix"
17295 prefix="$acl_final_prefix"
17296 acl_save_exec_prefix="$exec_prefix"
17297 exec_prefix="$acl_final_exec_prefix"
17299 exec_prefix="$acl_save_exec_prefix"
17300 prefix="$acl_save_prefix"
17302 if test "X$x" = "X$element"; then
17307 if test -z "$haveit"; then
17308 CXXFLAGS="${CXXFLAGS}${CXXFLAGS:+ }$element"
17313 for element in `$PKG_CONFIG --libs WebKitGtk
`; 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 LIBS="${LIBS}${LIBS:+ }$element"
17338 elif test $pkg_failed = untried; then
17339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17340 $as_echo "no" >&6; }
17344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
17345 $as_echo_n "checking for WEBKIT... " >&6; }
17347 if test -n "$WEBKIT_CFLAGS"; then
17348 pkg_cv_WEBKIT_CFLAGS="$WEBKIT_CFLAGS"
17349 elif test -n "$PKG_CONFIG"; then
17350 if test -n "$PKG_CONFIG" && \
17351 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"WebKitGtk\""; } >&5
17352 ($PKG_CONFIG --exists --print-errors "WebKitGtk") 2>&5
17354 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17355 test $ac_status = 0; }; then
17356 pkg_cv_WEBKIT_CFLAGS=`$PKG_CONFIG --cflags "WebKitGtk" 2>/dev
/null
`
17363 if test -n "$WEBKIT_LIBS"; then
17364 pkg_cv_WEBKIT_LIBS="$WEBKIT_LIBS"
17365 elif test -n "$PKG_CONFIG"; then
17366 if test -n "$PKG_CONFIG" && \
17367 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"WebKitGtk\""; } >&5
17368 ($PKG_CONFIG --exists --print-errors "WebKitGtk") 2>&5
17370 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17371 test $ac_status = 0; }; then
17372 pkg_cv_WEBKIT_LIBS=`$PKG_CONFIG --libs "WebKitGtk" 2>/dev
/null
`
17382 if test $pkg_failed = yes; then
17383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17384 $as_echo "no" >&6; }
17386 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17387 _pkg_short_errors_supported=yes
17389 _pkg_short_errors_supported=no
17391 if test $_pkg_short_errors_supported = yes; then
17392 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "WebKitGtk" 2>&1`
17394 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --print-errors "WebKitGtk" 2>&1`
17396 # Put the nasty error message in config.log where it belongs
17397 echo "$WEBKIT_PKG_ERRORS" >&5
17401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
17402 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
17403 if ${ac_cv_framework_JavaScriptCore+:} false; then :
17404 $as_echo_n "(cached) " >&6
17407 ac_check_framework_save_LIBS=$LIBS
17408 LIBS="-framework JavaScriptCore $LIBS"
17409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17410 /* end confdefs.h. */
17412 #include <JavaScriptCore/JSBase.h>
17417 JSEvaluateScript(0, 0, 0, 0, 0, 0);
17422 if ac_fn_cxx_try_link "$LINENO"; then :
17424 ac_cv_framework_JavaScriptCore=yes
17427 ac_cv_framework_JavaScriptCore=no
17429 rm -f core conftest.err conftest.$ac_objext \
17430 conftest$ac_exeext conftest.$ac_ext
17431 LIBS=$ac_check_framework_save_LIBS
17434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
17435 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
17436 if test $ac_cv_framework_JavaScriptCore = yes; then :
17439 for element in "-framework JavaScriptCore $LIBS"; do
17443 acl_save_prefix="$prefix"
17444 prefix="$acl_final_prefix"
17445 acl_save_exec_prefix="$exec_prefix"
17446 exec_prefix="$acl_final_exec_prefix"
17448 exec_prefix="$acl_save_exec_prefix"
17449 prefix="$acl_save_prefix"
17451 if test "X$x" = "X$element"; then
17456 if test -z "$haveit"; then
17457 LIBS="${LIBS}${LIBS:+ }$element"
17465 elif test $pkg_failed = untried; then
17466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17467 $as_echo "no" >&6; }
17470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
17471 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
17472 if ${ac_cv_framework_JavaScriptCore+:} false; then :
17473 $as_echo_n "(cached) " >&6
17476 ac_check_framework_save_LIBS=$LIBS
17477 LIBS="-framework JavaScriptCore $LIBS"
17478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17479 /* end confdefs.h. */
17481 #include <JavaScriptCore/JSBase.h>
17486 JSEvaluateScript(0, 0, 0, 0, 0, 0);
17491 if ac_fn_cxx_try_link "$LINENO"; then :
17493 ac_cv_framework_JavaScriptCore=yes
17496 ac_cv_framework_JavaScriptCore=no
17498 rm -f core conftest.err conftest.$ac_objext \
17499 conftest$ac_exeext conftest.$ac_ext
17500 LIBS=$ac_check_framework_save_LIBS
17503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
17504 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
17505 if test $ac_cv_framework_JavaScriptCore = yes; then :
17508 for element in "-framework JavaScriptCore $LIBS"; do
17512 acl_save_prefix="$prefix"
17513 prefix="$acl_final_prefix"
17514 acl_save_exec_prefix="$exec_prefix"
17515 exec_prefix="$acl_final_exec_prefix"
17517 exec_prefix="$acl_save_exec_prefix"
17518 prefix="$acl_save_prefix"
17520 if test "X$x" = "X$element"; then
17525 if test -z "$haveit"; then
17526 LIBS="${LIBS}${LIBS:+ }$element"
17535 WEBKIT_CFLAGS=$pkg_cv_WEBKIT_CFLAGS
17536 WEBKIT_LIBS=$pkg_cv_WEBKIT_LIBS
17537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17538 $as_echo "yes" >&6; }
17542 for element in `$PKG_CONFIG --cflags WebKitGtk
`; do
17544 for x in $CXXFLAGS; do
17546 acl_save_prefix="$prefix"
17547 prefix="$acl_final_prefix"
17548 acl_save_exec_prefix="$exec_prefix"
17549 exec_prefix="$acl_final_exec_prefix"
17551 exec_prefix="$acl_save_exec_prefix"
17552 prefix="$acl_save_prefix"
17554 if test "X$x" = "X$element"; then
17559 if test -z "$haveit"; then
17560 CXXFLAGS="${CXXFLAGS}${CXXFLAGS:+ }$element"
17565 for element in `$PKG_CONFIG --libs WebKitGtk
`; do
17569 acl_save_prefix="$prefix"
17570 prefix="$acl_final_prefix"
17571 acl_save_exec_prefix="$exec_prefix"
17572 exec_prefix="$acl_final_exec_prefix"
17574 exec_prefix="$acl_save_exec_prefix"
17575 prefix="$acl_save_prefix"
17577 if test "X$x" = "X$element"; then
17582 if test -z "$haveit"; then
17583 LIBS="${LIBS}${LIBS:+ }$element"
17591 WEBKIT_CFLAGS=$pkg_cv_WEBKIT_CFLAGS
17592 WEBKIT_LIBS=$pkg_cv_WEBKIT_LIBS
17593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17594 $as_echo "yes" >&6; }
17598 for element in `$PKG_CONFIG --cflags webkit
-1.0
`; do
17600 for x in $CXXFLAGS; do
17602 acl_save_prefix="$prefix"
17603 prefix="$acl_final_prefix"
17604 acl_save_exec_prefix="$exec_prefix"
17605 exec_prefix="$acl_final_exec_prefix"
17607 exec_prefix="$acl_save_exec_prefix"
17608 prefix="$acl_save_prefix"
17610 if test "X$x" = "X$element"; then
17615 if test -z "$haveit"; then
17616 CXXFLAGS="${CXXFLAGS}${CXXFLAGS:+ }$element"
17621 for element in `$PKG_CONFIG --libs webkit
-1.0
`; do
17625 acl_save_prefix="$prefix"
17626 prefix="$acl_final_prefix"
17627 acl_save_exec_prefix="$exec_prefix"
17628 exec_prefix="$acl_final_exec_prefix"
17630 exec_prefix="$acl_save_exec_prefix"
17631 prefix="$acl_save_prefix"
17633 if test "X$x" = "X$element"; then
17638 if test -z "$haveit"; then
17639 LIBS="${LIBS}${LIBS:+ }$element"
17652 case $CY_EXECUTE in #(
17656 for ac_header in ffi.h ffi/ffi.h
17658 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
17659 ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
17660 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
17661 cat >>confdefs.h <<_ACEOF
17662 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
17669 if test "x$ac_cv_header_ffi_h" = xno && test "x$ac_cv_header_ffi_ffi_h" = xno; then :
17674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBFFI" >&5
17675 $as_echo_n "checking for LIBFFI... " >&6; }
17677 if test -n "$LIBFFI_CFLAGS"; then
17678 pkg_cv_LIBFFI_CFLAGS="$LIBFFI_CFLAGS"
17679 elif test -n "$PKG_CONFIG"; then
17680 if test -n "$PKG_CONFIG" && \
17681 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libffi\""; } >&5
17682 ($PKG_CONFIG --exists --print-errors "libffi") 2>&5
17684 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17685 test $ac_status = 0; }; then
17686 pkg_cv_LIBFFI_CFLAGS=`$PKG_CONFIG --cflags "libffi" 2>/dev
/null
`
17693 if test -n "$LIBFFI_LIBS"; then
17694 pkg_cv_LIBFFI_LIBS="$LIBFFI_LIBS"
17695 elif test -n "$PKG_CONFIG"; then
17696 if test -n "$PKG_CONFIG" && \
17697 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libffi\""; } >&5
17698 ($PKG_CONFIG --exists --print-errors "libffi") 2>&5
17700 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17701 test $ac_status = 0; }; then
17702 pkg_cv_LIBFFI_LIBS=`$PKG_CONFIG --libs "libffi" 2>/dev
/null
`
17712 if test $pkg_failed = yes; then
17713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17714 $as_echo "no" >&6; }
17716 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17717 _pkg_short_errors_supported=yes
17719 _pkg_short_errors_supported=no
17721 if test $_pkg_short_errors_supported = yes; then
17722 LIBFFI_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libffi" 2>&1`
17724 LIBFFI_PKG_ERRORS=`$PKG_CONFIG --print-errors "libffi" 2>&1`
17726 # Put the nasty error message in config.log where it belongs
17727 echo "$LIBFFI_PKG_ERRORS" >&5
17730 as_fn_error $? "You need libffi" "$LINENO" 5
17732 elif test $pkg_failed = untried; then
17733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17734 $as_echo "no" >&6; }
17736 as_fn_error $? "You need libffi" "$LINENO" 5
17739 LIBFFI_CFLAGS=$pkg_cv_LIBFFI_CFLAGS
17740 LIBFFI_LIBS=$pkg_cv_LIBFFI_LIBS
17741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17742 $as_echo "yes" >&6; }
17745 for element in `$PKG_CONFIG --cflags libffi
`; do
17747 for x in $CXXFLAGS; do
17749 acl_save_prefix="$prefix"
17750 prefix="$acl_final_prefix"
17751 acl_save_exec_prefix="$exec_prefix"
17752 exec_prefix="$acl_final_exec_prefix"
17754 exec_prefix="$acl_save_exec_prefix"
17755 prefix="$acl_save_prefix"
17757 if test "X$x" = "X$element"; then
17762 if test -z "$haveit"; then
17763 CXXFLAGS="${CXXFLAGS}${CXXFLAGS:+ }$element"
17768 for element in `$PKG_CONFIG --libs libffi
`; do
17772 acl_save_prefix="$prefix"
17773 prefix="$acl_final_prefix"
17774 acl_save_exec_prefix="$exec_prefix"
17775 exec_prefix="$acl_final_exec_prefix"
17777 exec_prefix="$acl_save_exec_prefix"
17778 prefix="$acl_save_prefix"
17780 if test "X$x" = "X$element"; then
17785 if test -z "$haveit"; then
17786 LIBS="${LIBS}${LIBS:+ }$element"
17796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing ffi_call" >&5
17797 $as_echo_n "checking for library containing ffi_call... " >&6; }
17798 if ${ac_cv_search_ffi_call+:} false; then :
17799 $as_echo_n "(cached) " >&6
17801 ac_func_search_save_LIBS=$LIBS
17802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17803 /* end confdefs.h. */
17805 /* Override any GCC internal prototype to avoid an error.
17806 Use char because int might match the return type of a GCC
17807 builtin and then its argument prototype would still apply. */
17815 return ffi_call ();
17820 for ac_lib in '' ffi; do
17821 if test -z "$ac_lib"; then
17822 ac_res="none required"
17825 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17827 if ac_fn_cxx_try_link "$LINENO"; then :
17828 ac_cv_search_ffi_call=$ac_res
17830 rm -f core conftest.err conftest.$ac_objext \
17832 if ${ac_cv_search_ffi_call+:} false; then :
17836 if ${ac_cv_search_ffi_call+:} false; then :
17839 ac_cv_search_ffi_call=no
17841 rm conftest.$ac_ext
17842 LIBS=$ac_func_search_save_LIBS
17844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_ffi_call" >&5
17845 $as_echo "$ac_cv_search_ffi_call" >&6; }
17846 ac_res=$ac_cv_search_ffi_call
17847 if test "$ac_res" != no; then :
17848 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17852 case $ac_cv_search_ffi_call in #(
17857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBFFI" >&5
17858 $as_echo_n "checking for LIBFFI... " >&6; }
17860 if test -n "$LIBFFI_CFLAGS"; then
17861 pkg_cv_LIBFFI_CFLAGS="$LIBFFI_CFLAGS"
17862 elif test -n "$PKG_CONFIG"; then
17863 if test -n "$PKG_CONFIG" && \
17864 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libffi\""; } >&5
17865 ($PKG_CONFIG --exists --print-errors "libffi") 2>&5
17867 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17868 test $ac_status = 0; }; then
17869 pkg_cv_LIBFFI_CFLAGS=`$PKG_CONFIG --cflags "libffi" 2>/dev
/null
`
17876 if test -n "$LIBFFI_LIBS"; then
17877 pkg_cv_LIBFFI_LIBS="$LIBFFI_LIBS"
17878 elif test -n "$PKG_CONFIG"; then
17879 if test -n "$PKG_CONFIG" && \
17880 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libffi\""; } >&5
17881 ($PKG_CONFIG --exists --print-errors "libffi") 2>&5
17883 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17884 test $ac_status = 0; }; then
17885 pkg_cv_LIBFFI_LIBS=`$PKG_CONFIG --libs "libffi" 2>/dev
/null
`
17895 if test $pkg_failed = yes; then
17896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17897 $as_echo "no" >&6; }
17899 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17900 _pkg_short_errors_supported=yes
17902 _pkg_short_errors_supported=no
17904 if test $_pkg_short_errors_supported = yes; then
17905 LIBFFI_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libffi" 2>&1`
17907 LIBFFI_PKG_ERRORS=`$PKG_CONFIG --print-errors "libffi" 2>&1`
17909 # Put the nasty error message in config.log where it belongs
17910 echo "$LIBFFI_PKG_ERRORS" >&5
17913 as_fn_error $? "You need libffi" "$LINENO" 5
17915 elif test $pkg_failed = untried; then
17916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17917 $as_echo "no" >&6; }
17919 as_fn_error $? "You need libffi" "$LINENO" 5
17922 LIBFFI_CFLAGS=$pkg_cv_LIBFFI_CFLAGS
17923 LIBFFI_LIBS=$pkg_cv_LIBFFI_LIBS
17924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17925 $as_echo "yes" >&6; }
17928 for element in `$PKG_CONFIG --cflags libffi
`; do
17930 for x in $CXXFLAGS; do
17932 acl_save_prefix="$prefix"
17933 prefix="$acl_final_prefix"
17934 acl_save_exec_prefix="$exec_prefix"
17935 exec_prefix="$acl_final_exec_prefix"
17937 exec_prefix="$acl_save_exec_prefix"
17938 prefix="$acl_save_prefix"
17940 if test "X$x" = "X$element"; then
17945 if test -z "$haveit"; then
17946 CXXFLAGS="${CXXFLAGS}${CXXFLAGS:+ }$element"
17951 for element in `$PKG_CONFIG --libs libffi
`; do
17955 acl_save_prefix="$prefix"
17956 prefix="$acl_final_prefix"
17957 acl_save_exec_prefix="$exec_prefix"
17958 exec_prefix="$acl_final_exec_prefix"
17960 exec_prefix="$acl_save_exec_prefix"
17961 prefix="$acl_save_prefix"
17963 if test "X$x" = "X$element"; then
17968 if test -z "$haveit"; then
17969 LIBS="${LIBS}${LIBS:+ }$element"
17982 ac_cpp='$OBJCXXCPP $CPPFLAGS'
17983 ac_compile='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17984 ac_link='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17985 ac_compiler_gnu=$ac_cv_objcxx_compiler_gnu
17987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we really have Objective C++" >&5
17988 $as_echo_n "checking if we really have Objective C++... " >&6; }
17989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17990 /* end confdefs.h. */
17992 // This space intentionally left blank
17995 if ac_fn_objcxx_try_compile "$LINENO"; then :
17998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17999 $as_echo "yes" >&6; }
18002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18003 $as_echo "no" >&6; }
18005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18006 if test "x$CY_OBJECTIVEC" = x1; then :
18009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework CoreFoundation" >&5
18010 $as_echo_n "checking for framework CoreFoundation... " >&6; }
18011 if ${ac_cv_framework_CoreFoundation+:} false; then :
18012 $as_echo_n "(cached) " >&6
18015 ac_check_framework_save_LIBS=$LIBS
18016 LIBS="-framework CoreFoundation $LIBS"
18017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18018 /* end confdefs.h. */
18020 #include <CoreFoundation/CFBase.h>
18025 CFAllocatorGetDefault();
18030 if ac_fn_objcxx_try_link "$LINENO"; then :
18032 ac_cv_framework_CoreFoundation=yes
18035 ac_cv_framework_CoreFoundation=no
18037 rm -f core conftest.err conftest.$ac_objext \
18038 conftest$ac_exeext conftest.$ac_ext
18039 LIBS=$ac_check_framework_save_LIBS
18042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_CoreFoundation" >&5
18043 $as_echo "$ac_cv_framework_CoreFoundation" >&6; }
18044 if test $ac_cv_framework_CoreFoundation = yes; then :
18047 for element in "-framework CoreFoundation $LIBS"; do
18051 acl_save_prefix="$prefix"
18052 prefix="$acl_final_prefix"
18053 acl_save_exec_prefix="$exec_prefix"
18054 exec_prefix="$acl_final_exec_prefix"
18056 exec_prefix="$acl_save_exec_prefix"
18057 prefix="$acl_save_prefix"
18059 if test "X$x" = "X$element"; then
18064 if test -z "$haveit"; then
18065 LIBS="${LIBS}${LIBS:+ }$element"
18073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework Foundation" >&5
18074 $as_echo_n "checking for framework Foundation... " >&6; }
18075 if ${ac_cv_framework_Foundation+:} false; then :
18076 $as_echo_n "(cached) " >&6
18079 ac_check_framework_save_LIBS=$LIBS
18080 LIBS="-framework Foundation $LIBS"
18081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18082 /* end confdefs.h. */
18084 #include <Foundation/NSObject.h>
18089 [[NSObject alloc] init];
18094 if ac_fn_objcxx_try_link "$LINENO"; then :
18096 ac_cv_framework_Foundation=yes
18099 ac_cv_framework_Foundation=no
18101 rm -f core conftest.err conftest.$ac_objext \
18102 conftest$ac_exeext conftest.$ac_ext
18103 LIBS=$ac_check_framework_save_LIBS
18106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_Foundation" >&5
18107 $as_echo "$ac_cv_framework_Foundation" >&6; }
18108 if test $ac_cv_framework_Foundation = yes; then :
18111 for element in "-framework Foundation $LIBS"; do
18115 acl_save_prefix="$prefix"
18116 prefix="$acl_final_prefix"
18117 acl_save_exec_prefix="$exec_prefix"
18118 exec_prefix="$acl_final_exec_prefix"
18120 exec_prefix="$acl_save_exec_prefix"
18121 prefix="$acl_save_prefix"
18123 if test "X$x" = "X$element"; then
18128 if test -z "$haveit"; then
18129 LIBS="${LIBS}${LIBS:+ }$element"
18133 cat >>confdefs.h <<_ACEOF
18134 #define HAVE_FRAMEWORK_FOUNDATION 1
18141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework WebKit" >&5
18142 $as_echo_n "checking for framework WebKit... " >&6; }
18143 if ${ac_cv_framework_WebKit+:} false; then :
18144 $as_echo_n "(cached) " >&6
18147 ac_check_framework_save_LIBS=$LIBS
18148 LIBS="-framework WebKit $LIBS"
18149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18150 /* end confdefs.h. */
18152 #include <WebKit/WebScriptObject.h>
18157 [[WebScriptObject alloc] init];
18162 if ac_fn_objcxx_try_link "$LINENO"; then :
18164 ac_cv_framework_WebKit=yes
18167 ac_cv_framework_WebKit=no
18169 rm -f core conftest.err conftest.$ac_objext \
18170 conftest$ac_exeext conftest.$ac_ext
18171 LIBS=$ac_check_framework_save_LIBS
18174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_WebKit" >&5
18175 $as_echo "$ac_cv_framework_WebKit" >&6; }
18176 if test $ac_cv_framework_WebKit = yes; then :
18179 for element in "-framework WebKit $LIBS"; do
18183 acl_save_prefix="$prefix"
18184 prefix="$acl_final_prefix"
18185 acl_save_exec_prefix="$exec_prefix"
18186 exec_prefix="$acl_final_exec_prefix"
18188 exec_prefix="$acl_save_exec_prefix"
18189 prefix="$acl_save_prefix"
18191 if test "X$x" = "X$element"; then
18196 if test -z "$haveit"; then
18197 LIBS="${LIBS}${LIBS:+ }$element"
18201 cat >>confdefs.h <<_ACEOF
18202 #define HAVE_FRAMEWORK_WEBKIT 1
18212 for ac_prog in gnustep-config
18214 # Extract the first word of "$ac_prog", so it can be a program name with args.
18215 set dummy $ac_prog; ac_word=$2
18216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18217 $as_echo_n "checking for $ac_word... " >&6; }
18218 if ${ac_cv_prog_GNUSTEP_CONFIG+:} false; then :
18219 $as_echo_n "(cached) " >&6
18221 if test -n "$GNUSTEP_CONFIG"; then
18222 ac_cv_prog_GNUSTEP_CONFIG="$GNUSTEP_CONFIG" # Let the user override the test.
18224 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18225 for as_dir in $PATH
18228 test -z "$as_dir" && as_dir=.
18229 for ac_exec_ext in '' $ac_executable_extensions; do
18230 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18231 ac_cv_prog_GNUSTEP_CONFIG="$ac_prog"
18232 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18241 GNUSTEP_CONFIG=$ac_cv_prog_GNUSTEP_CONFIG
18242 if test -n "$GNUSTEP_CONFIG"; then
18243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNUSTEP_CONFIG" >&5
18244 $as_echo "$GNUSTEP_CONFIG" >&6; }
18246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18247 $as_echo "no" >&6; }
18251 test -n "$GNUSTEP_CONFIG" && break
18254 if test "x$GNUSTEP_CONFIG" != x; then :
18258 for element in `$GNUSTEP_CONFIG --objc-flags`; do
18260 for x in $OBJCXXFLAGS; do
18262 acl_save_prefix="$prefix"
18263 prefix="$acl_final_prefix"
18264 acl_save_exec_prefix="$exec_prefix"
18265 exec_prefix="$acl_final_exec_prefix"
18267 exec_prefix="$acl_save_exec_prefix"
18268 prefix="$acl_save_prefix"
18270 if test "X$x" = "X$element"; then
18275 if test -z "$haveit"; then
18276 OBJCXXFLAGS="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
18281 for element in `$GNUSTEP_CONFIG --base-libs`; do
18285 acl_save_prefix="$prefix"
18286 prefix="$acl_final_prefix"
18287 acl_save_exec_prefix="$exec_prefix"
18288 exec_prefix="$acl_final_exec_prefix"
18290 exec_prefix="$acl_save_exec_prefix"
18291 prefix="$acl_save_prefix"
18293 if test "X$x" = "X$element"; then
18298 if test -z "$haveit"; then
18299 LIBS="${LIBS}${LIBS:+ }$element"
18313 ac_cpp='$CXXCPP $CPPFLAGS'
18314 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18315 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18316 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a readline compatible library" >&5
18324 $as_echo_n "checking for a readline compatible library... " >&6; }
18325 if ${ax_cv_lib_readline+:} false; then :
18326 $as_echo_n "(cached) " >&6
18330 for readline_lib in readline edit editline; do
18331 for termcap_lib in "" termcap curses ncurses; do
18332 if test -z "$termcap_lib"; then
18333 TRY_LIB="-l$readline_lib"
18335 TRY_LIB="-l$readline_lib -l$termcap_lib"
18337 LIBS="$ORIG_LIBS $TRY_LIB"
18338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18339 /* end confdefs.h. */
18341 /* Override any GCC internal prototype to avoid an error.
18342 Use char because int might match the return type of a GCC
18343 builtin and then its argument prototype would still apply. */
18351 return readline ();
18356 if ac_fn_cxx_try_link "$LINENO"; then :
18357 ax_cv_lib_readline="$TRY_LIB"
18359 rm -f core conftest.err conftest.$ac_objext \
18360 conftest$ac_exeext conftest.$ac_ext
18361 if test -n "$ax_cv_lib_readline"; then
18365 if test -n "$ax_cv_lib_readline"; then
18369 if test -z "$ax_cv_lib_readline"; then
18370 ax_cv_lib_readline="no"
18375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_lib_readline" >&5
18376 $as_echo "$ax_cv_lib_readline" >&6; }
18378 if test "$ax_cv_lib_readline" != "no"; then
18379 LIBS="$LIBS $ax_cv_lib_readline"
18381 $as_echo "#define HAVE_LIBREADLINE 1" >>confdefs.h
18383 for ac_header in readline.h readline/readline.h
18385 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18386 ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18387 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
18388 cat >>confdefs.h <<_ACEOF
18389 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether readline supports history" >&5
18397 $as_echo_n "checking whether readline supports history... " >&6; }
18398 if ${ax_cv_lib_readline_history+:} false; then :
18399 $as_echo_n "(cached) " >&6
18402 ax_cv_lib_readline_history="no"
18403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18404 /* end confdefs.h. */
18406 /* Override any GCC internal prototype to avoid an error.
18407 Use char because int might match the return type of a GCC
18408 builtin and then its argument prototype would still apply. */
18412 char add_history ();
18416 return add_history ();
18421 if ac_fn_cxx_try_link "$LINENO"; then :
18422 ax_cv_lib_readline_history="yes"
18424 rm -f core conftest.err conftest.$ac_objext \
18425 conftest$ac_exeext conftest.$ac_ext
18428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_lib_readline_history" >&5
18429 $as_echo "$ax_cv_lib_readline_history" >&6; }
18430 if test "$ax_cv_lib_readline_history" = "yes"; then
18432 $as_echo "#define HAVE_READLINE_HISTORY 1" >>confdefs.h
18434 for ac_header in history.h readline/history.h
18436 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18437 ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18438 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
18439 cat >>confdefs.h <<_ACEOF
18440 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18450 case $vl_cv_lib_readline in #(
18452 as_fn_error $? "You need readline" "$LINENO" 5 ;; #(
18457 ac_cpp='$CPP $CPPFLAGS'
18458 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18459 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18460 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18463 if test "X$prefix" = "XNONE"; then
18464 acl_final_prefix="$ac_default_prefix"
18466 acl_final_prefix="$prefix"
18468 if test "X$exec_prefix" = "XNONE"; then
18469 acl_final_exec_prefix='${prefix}'
18471 acl_final_exec_prefix="$exec_prefix"
18473 acl_save_prefix="$prefix"
18474 prefix="$acl_final_prefix"
18475 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
18476 prefix="$acl_save_prefix"
18480 # Check whether --with-gnu-ld was given.
18481 if test "${with_gnu_ld+set}" = set; then :
18482 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
18487 # Prepare PATH_SEPARATOR.
18488 # The user is always right.
18489 if test "${PATH_SEPARATOR+set}" != set; then
18490 # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
18491 # contains only /bin. Note that ksh looks also at the FPATH variable,
18492 # so we have to set that as well for the test.
18494 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
18495 && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
18496 || PATH_SEPARATOR=';'
18501 if test "$GCC" = yes; then
18502 # Check if gcc -print-prog-name=ld gives a path.
18503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
18504 $as_echo_n "checking for ld used by $CC... " >&6; }
18507 # gcc leaves a trailing carriage return which upsets mingw
18508 ac_prog=`($CC -print-prog-name=ld
) 2>&5 | tr -d '\015'` ;;
18510 ac_prog=`($CC -print-prog-name=ld
) 2>&5` ;;
18513 # Accept absolute paths.
18515 re_direlt='/[^/][^/]*/\.\./'
18516 # Canonicalize the pathname of ld
18517 ac_prog=`echo "$ac_prog"| sed 's%\\\\%/%g'`
18518 while echo "$ac_prog" | grep "$re_direlt" > /dev/null 2>&1; do
18519 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
18521 test -z "$LD" && LD="$ac_prog"
18524 # If it fails, then pretend we aren't using GCC.
18528 # If it is relative, then search for the first ld in PATH.
18529 with_gnu_ld=unknown
18532 elif test "$with_gnu_ld" = yes; then
18533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
18534 $as_echo_n "checking for GNU ld... " >&6; }
18536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
18537 $as_echo_n "checking for non-GNU ld... " >&6; }
18539 if ${acl_cv_path_LD+:} false; then :
18540 $as_echo_n "(cached) " >&6
18542 if test -z "$LD"; then
18543 acl_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
18544 for ac_dir in $PATH; do
18545 IFS="$acl_save_ifs"
18546 test -z "$ac_dir" && ac_dir=.
18547 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
18548 acl_cv_path_LD="$ac_dir/$ac_prog"
18549 # Check to see if the program is GNU ld. I'd rather use --version,
18550 # but apparently some variants of GNU ld only accept -v.
18551 # Break only if it was the GNU/non-GNU ld that we prefer.
18552 case `"$acl_cv_path_LD" -v 2>&1 </dev
/null
` in
18553 *GNU* | *'with BFD'*)
18554 test "$with_gnu_ld" != no && break
18557 test "$with_gnu_ld" != yes && break
18562 IFS="$acl_save_ifs"
18564 acl_cv_path_LD="$LD" # Let the user override the test with a path.
18568 LD="$acl_cv_path_LD"
18569 if test -n "$LD"; then
18570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
18571 $as_echo "$LD" >&6; }
18573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18574 $as_echo "no" >&6; }
18576 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
18577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
18578 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
18579 if ${acl_cv_prog_gnu_ld+:} false; then :
18580 $as_echo_n "(cached) " >&6
18582 # I'd rather use --version here, but apparently some GNU lds only accept -v.
18583 case `$LD -v 2>&1 </dev
/null
` in
18584 *GNU* | *'with BFD'*)
18585 acl_cv_prog_gnu_ld=yes
18588 acl_cv_prog_gnu_ld=no
18592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
18593 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
18594 with_gnu_ld=$acl_cv_prog_gnu_ld
18599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
18600 $as_echo_n "checking for shared library run path origin... " >&6; }
18601 if ${acl_cv_rpath+:} false; then :
18602 $as_echo_n "(cached) " >&6
18605 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
18606 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
18608 rm -f ./conftest.sh
18612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
18613 $as_echo "$acl_cv_rpath" >&6; }
18615 acl_libext="$acl_cv_libext"
18616 acl_shlibext="$acl_cv_shlibext"
18617 acl_libname_spec="$acl_cv_libname_spec"
18618 acl_library_names_spec="$acl_cv_library_names_spec"
18619 acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
18620 acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
18621 acl_hardcode_direct="$acl_cv_hardcode_direct"
18622 acl_hardcode_minus_L="$acl_cv_hardcode_minus_L"
18623 # Check whether --enable-rpath was given.
18624 if test "${enable_rpath+set}" = set; then :
18625 enableval=$enable_rpath; :
18637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 64-bit host" >&5
18638 $as_echo_n "checking for 64-bit host... " >&6; }
18639 if ${gl_cv_solaris_64bit+:} false; then :
18640 $as_echo_n "(cached) " >&6
18642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18643 /* end confdefs.h. */
18650 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18651 $EGREP "sixtyfour bits" >/dev/null 2>&1; then :
18652 gl_cv_solaris_64bit=yes
18654 gl_cv_solaris_64bit=no
18660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_solaris_64bit" >&5
18661 $as_echo "$gl_cv_solaris_64bit" >&6; }
18662 if test $gl_cv_solaris_64bit = yes; then
18663 acl_libdirstem=lib/64
18664 case "$host_cpu" in
18665 sparc*) acl_libdirstem2=lib/sparcv9 ;;
18666 i*86 | x86_64) acl_libdirstem2=lib/amd64 ;;
18671 searchpath=`(LC_ALL
=C
$CC -print-search-dirs) 2>/dev
/null
| sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
18672 if test -n "$searchpath"; then
18673 acl_save_IFS="${IFS= }"; IFS=":"
18674 for searchdir in $searchpath; do
18675 if test -d "$searchdir"; then
18676 case "$searchdir" in
18677 */lib64/ | */lib64 ) acl_libdirstem=lib64 ;;
18679 # Better ignore directories of this form. They are misleading.
18681 *) searchdir=`cd "$searchdir" && pwd`
18682 case "$searchdir" in
18683 */lib64 ) acl_libdirstem=lib64 ;;
18688 IFS="$acl_save_IFS"
18692 test -n "$acl_libdirstem2" || acl_libdirstem2="$acl_libdirstem"
18707 acl_save_prefix="$prefix"
18708 prefix="$acl_final_prefix"
18709 acl_save_exec_prefix="$exec_prefix"
18710 exec_prefix="$acl_final_exec_prefix"
18712 eval additional_includedir=\"$includedir\"
18713 eval additional_libdir=\"$libdir\"
18715 exec_prefix="$acl_save_exec_prefix"
18716 prefix="$acl_save_prefix"
18719 # Check whether --with-libiconv-prefix was given.
18720 if test "${with_libiconv_prefix+set}" = set; then :
18721 withval=$with_libiconv_prefix;
18722 if test "X$withval" = "Xno"; then
18725 if test "X$withval" = "X"; then
18727 acl_save_prefix="$prefix"
18728 prefix="$acl_final_prefix"
18729 acl_save_exec_prefix="$exec_prefix"
18730 exec_prefix="$acl_final_exec_prefix"
18732 eval additional_includedir=\"$includedir\"
18733 eval additional_libdir=\"$libdir\"
18735 exec_prefix="$acl_save_exec_prefix"
18736 prefix="$acl_save_prefix"
18739 additional_includedir="$withval/include"
18740 additional_libdir="$withval/$acl_libdirstem"
18741 if test "$acl_libdirstem2" != "$acl_libdirstem" \
18742 && ! test -d "$withval/$acl_libdirstem"; then
18743 additional_libdir="$withval/$acl_libdirstem2"
18757 names_already_handled=
18758 names_next_round='iconv '
18759 while test -n "$names_next_round"; do
18760 names_this_round="$names_next_round"
18762 for name in $names_this_round; do
18764 for n in $names_already_handled; do
18765 if test "$n" = "$name"; then
18766 already_handled=yes
18770 if test -z "$already_handled"; then
18771 names_already_handled="$names_already_handled $name"
18772 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./+-|ABCDEFGHIJKLMNOPQRSTUVWXYZ____|'`
18773 eval value=\"\$HAVE_LIB$uppername\"
18774 if test -n "$value"; then
18775 if test "$value" = yes; then
18776 eval value=\"\$LIB$uppername\"
18777 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
18778 eval value=\"\$LTLIB$uppername\"
18779 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
18788 eval libname=\"$acl_libname_spec\" # typically: libname=lib$name
18789 if test -n "$acl_shlibext"; then
18790 shrext=".$acl_shlibext" # typically: shrext=.so
18794 if test $use_additional = yes; then
18795 dir="$additional_libdir"
18796 if test -n "$acl_shlibext"; then
18797 if test -f "$dir/$libname$shrext"; then
18799 found_so="$dir/$libname$shrext"
18801 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
18802 ver=`(cd "$dir" && \
18803 for f
in "$libname$shrext".
*; do echo "$f"; done \
18804 | sed -e "s,^$libname$shrext\\\\.,," \
18805 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
18806 | sed 1q
) 2>/dev
/null
`
18807 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
18809 found_so="$dir/$libname$shrext.$ver"
18812 eval library_names=\"$acl_library_names_spec\"
18813 for f in $library_names; do
18814 if test -f "$dir/$f"; then
18823 if test "X$found_dir" = "X"; then
18824 if test -f "$dir/$libname.$acl_libext"; then
18826 found_a="$dir/$libname.$acl_libext"
18829 if test "X$found_dir" != "X"; then
18830 if test -f "$dir/$libname.la"; then
18831 found_la="$dir/$libname.la"
18835 if test "X$found_dir" = "X"; then
18836 for x in $LDFLAGS $LTLIBICONV; do
18838 acl_save_prefix="$prefix"
18839 prefix="$acl_final_prefix"
18840 acl_save_exec_prefix="$exec_prefix"
18841 exec_prefix="$acl_final_exec_prefix"
18843 exec_prefix="$acl_save_exec_prefix"
18844 prefix="$acl_save_prefix"
18848 dir=`echo "X$x" | sed -e 's/^X-L//'`
18849 if test -n "$acl_shlibext"; then
18850 if test -f "$dir/$libname$shrext"; then
18852 found_so="$dir/$libname$shrext"
18854 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
18855 ver=`(cd "$dir" && \
18856 for f
in "$libname$shrext".
*; do echo "$f"; done \
18857 | sed -e "s,^$libname$shrext\\\\.,," \
18858 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
18859 | sed 1q
) 2>/dev
/null
`
18860 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
18862 found_so="$dir/$libname$shrext.$ver"
18865 eval library_names=\"$acl_library_names_spec\"
18866 for f in $library_names; do
18867 if test -f "$dir/$f"; then
18876 if test "X$found_dir" = "X"; then
18877 if test -f "$dir/$libname.$acl_libext"; then
18879 found_a="$dir/$libname.$acl_libext"
18882 if test "X$found_dir" != "X"; then
18883 if test -f "$dir/$libname.la"; then
18884 found_la="$dir/$libname.la"
18889 if test "X$found_dir" != "X"; then
18894 if test "X$found_dir" != "X"; then
18895 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
18896 if test "X$found_so" != "X"; then
18897 if test "$enable_rpath" = no \
18898 || test "X$found_dir" = "X/usr/$acl_libdirstem" \
18899 || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then
18900 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
18903 for x in $ltrpathdirs; do
18904 if test "X$x" = "X$found_dir"; then
18909 if test -z "$haveit"; then
18910 ltrpathdirs="$ltrpathdirs $found_dir"
18912 if test "$acl_hardcode_direct" = yes; then
18913 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
18915 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
18916 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
18918 for x in $rpathdirs; do
18919 if test "X$x" = "X$found_dir"; then
18924 if test -z "$haveit"; then
18925 rpathdirs="$rpathdirs $found_dir"
18929 for x in $LDFLAGS $LIBICONV; do
18931 acl_save_prefix="$prefix"
18932 prefix="$acl_final_prefix"
18933 acl_save_exec_prefix="$exec_prefix"
18934 exec_prefix="$acl_final_exec_prefix"
18936 exec_prefix="$acl_save_exec_prefix"
18937 prefix="$acl_save_prefix"
18939 if test "X$x" = "X-L$found_dir"; then
18944 if test -z "$haveit"; then
18945 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
18947 if test "$acl_hardcode_minus_L" != no; then
18948 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
18950 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
18956 if test "X$found_a" != "X"; then
18957 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
18959 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
18962 additional_includedir=
18963 case "$found_dir" in
18964 */$acl_libdirstem | */$acl_libdirstem/)
18965 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
18966 if test "$name" = 'iconv'; then
18967 LIBICONV_PREFIX="$basedir"
18969 additional_includedir="$basedir/include"
18971 */$acl_libdirstem2 | */$acl_libdirstem2/)
18972 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
18973 if test "$name" = 'iconv'; then
18974 LIBICONV_PREFIX="$basedir"
18976 additional_includedir="$basedir/include"
18979 if test "X$additional_includedir" != "X"; then
18980 if test "X$additional_includedir" != "X/usr/include"; then
18982 if test "X$additional_includedir" = "X/usr/local/include"; then
18983 if test -n "$GCC"; then
18985 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
18989 if test -z "$haveit"; then
18990 for x in $CPPFLAGS $INCICONV; do
18992 acl_save_prefix="$prefix"
18993 prefix="$acl_final_prefix"
18994 acl_save_exec_prefix="$exec_prefix"
18995 exec_prefix="$acl_final_exec_prefix"
18997 exec_prefix="$acl_save_exec_prefix"
18998 prefix="$acl_save_prefix"
19000 if test "X$x" = "X-I$additional_includedir"; then
19005 if test -z "$haveit"; then
19006 if test -d "$additional_includedir"; then
19007 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
19013 if test -n "$found_la"; then
19014 save_libdir="$libdir"
19015 case "$found_la" in
19016 */* | *\\*) . "$found_la" ;;
19017 *) . "./$found_la" ;;
19019 libdir="$save_libdir"
19020 for dep in $dependency_libs; do
19023 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
19024 if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \
19025 && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then
19027 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \
19028 || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then
19029 if test -n "$GCC"; then
19031 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
19035 if test -z "$haveit"; then
19037 for x in $LDFLAGS $LIBICONV; do
19039 acl_save_prefix="$prefix"
19040 prefix="$acl_final_prefix"
19041 acl_save_exec_prefix="$exec_prefix"
19042 exec_prefix="$acl_final_exec_prefix"
19044 exec_prefix="$acl_save_exec_prefix"
19045 prefix="$acl_save_prefix"
19047 if test "X$x" = "X-L$additional_libdir"; then
19052 if test -z "$haveit"; then
19053 if test -d "$additional_libdir"; then
19054 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
19058 for x in $LDFLAGS $LTLIBICONV; do
19060 acl_save_prefix="$prefix"
19061 prefix="$acl_final_prefix"
19062 acl_save_exec_prefix="$exec_prefix"
19063 exec_prefix="$acl_final_exec_prefix"
19065 exec_prefix="$acl_save_exec_prefix"
19066 prefix="$acl_save_prefix"
19068 if test "X$x" = "X-L$additional_libdir"; then
19073 if test -z "$haveit"; then
19074 if test -d "$additional_libdir"; then
19075 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
19082 dir=`echo "X$dep" | sed -e 's/^X-R//'`
19083 if test "$enable_rpath" != no; then
19085 for x in $rpathdirs; do
19086 if test "X$x" = "X$dir"; then
19091 if test -z "$haveit"; then
19092 rpathdirs="$rpathdirs $dir"
19095 for x in $ltrpathdirs; do
19096 if test "X$x" = "X$dir"; then
19101 if test -z "$haveit"; then
19102 ltrpathdirs="$ltrpathdirs $dir"
19107 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
19110 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
19113 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
19114 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
19120 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
19121 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
19127 if test "X$rpathdirs" != "X"; then
19128 if test -n "$acl_hardcode_libdir_separator"; then
19130 for found_dir in $rpathdirs; do
19131 alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
19133 acl_save_libdir="$libdir"
19135 eval flag=\"$acl_hardcode_libdir_flag_spec\"
19136 libdir="$acl_save_libdir"
19137 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
19139 for found_dir in $rpathdirs; do
19140 acl_save_libdir="$libdir"
19141 libdir="$found_dir"
19142 eval flag=\"$acl_hardcode_libdir_flag_spec\"
19143 libdir="$acl_save_libdir"
19144 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
19148 if test "X$ltrpathdirs" != "X"; then
19149 for found_dir in $ltrpathdirs; do
19150 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
19165 am_save_CPPFLAGS="$CPPFLAGS"
19167 for element in $INCICONV; do
19169 for x in $CPPFLAGS; do
19171 acl_save_prefix="$prefix"
19172 prefix="$acl_final_prefix"
19173 acl_save_exec_prefix="$exec_prefix"
19174 exec_prefix="$acl_final_exec_prefix"
19176 exec_prefix="$acl_save_exec_prefix"
19177 prefix="$acl_save_prefix"
19179 if test "X$x" = "X$element"; then
19184 if test -z "$haveit"; then
19185 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
19190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
19191 $as_echo_n "checking for iconv... " >&6; }
19192 if ${am_cv_func_iconv+:} false; then :
19193 $as_echo_n "(cached) " >&6
19196 am_cv_func_iconv="no, consider installing GNU libiconv"
19198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19199 /* end confdefs.h. */
19201 #include <stdlib.h>
19207 iconv_t cd = iconv_open("","");
19208 iconv(cd,NULL,NULL,NULL,NULL);
19214 if ac_fn_c_try_link "$LINENO"; then :
19215 am_cv_func_iconv=yes
19217 rm -f core conftest.err conftest.$ac_objext \
19218 conftest$ac_exeext conftest.$ac_ext
19219 if test "$am_cv_func_iconv" != yes; then
19220 am_save_LIBS="$LIBS"
19221 LIBS="$LIBS $LIBICONV"
19222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19223 /* end confdefs.h. */
19225 #include <stdlib.h>
19231 iconv_t cd = iconv_open("","");
19232 iconv(cd,NULL,NULL,NULL,NULL);
19238 if ac_fn_c_try_link "$LINENO"; then :
19239 am_cv_lib_iconv=yes
19240 am_cv_func_iconv=yes
19242 rm -f core conftest.err conftest.$ac_objext \
19243 conftest$ac_exeext conftest.$ac_ext
19244 LIBS="$am_save_LIBS"
19248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
19249 $as_echo "$am_cv_func_iconv" >&6; }
19250 if test "$am_cv_func_iconv" = yes; then
19251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5
19252 $as_echo_n "checking for working iconv... " >&6; }
19253 if ${am_cv_func_iconv_works+:} false; then :
19254 $as_echo_n "(cached) " >&6
19257 am_save_LIBS="$LIBS"
19258 if test $am_cv_lib_iconv = yes; then
19259 LIBS="$LIBS $LIBICONV"
19261 if test "$cross_compiling" = yes; then :
19264 aix* | hpux*) am_cv_func_iconv_works="guessing no" ;;
19265 *) am_cv_func_iconv_works="guessing yes" ;;
19269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19270 /* end confdefs.h. */
19273 #include <string.h>
19277 /* Test against AIX 5.1 bug: Failures are not distinguishable from successful
19280 iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8");
19281 if (cd_utf8_to_88591 != (iconv_t)(-1))
19283 static const char input[] = "\342\202\254"; /* EURO SIGN */
19285 const char *inptr = input;
19286 size_t inbytesleft = strlen (input);
19287 char *outptr = buf;
19288 size_t outbytesleft = sizeof (buf);
19289 size_t res = iconv (cd_utf8_to_88591,
19290 (char **) &inptr, &inbytesleft,
19291 &outptr, &outbytesleft);
19294 iconv_close (cd_utf8_to_88591);
19297 /* Test against Solaris 10 bug: Failures are not distinguishable from
19298 successful returns. */
19300 iconv_t cd_ascii_to_88591 = iconv_open ("ISO8859-1", "646");
19301 if (cd_ascii_to_88591 != (iconv_t)(-1))
19303 static const char input[] = "\263";
19305 const char *inptr = input;
19306 size_t inbytesleft = strlen (input);
19307 char *outptr = buf;
19308 size_t outbytesleft = sizeof (buf);
19309 size_t res = iconv (cd_ascii_to_88591,
19310 (char **) &inptr, &inbytesleft,
19311 &outptr, &outbytesleft);
19314 iconv_close (cd_ascii_to_88591);
19317 /* Test against AIX 6.1..7.1 bug: Buffer overrun. */
19319 iconv_t cd_88591_to_utf8 = iconv_open ("UTF-8", "ISO-8859-1");
19320 if (cd_88591_to_utf8 != (iconv_t)(-1))
19322 static const char input[] = "\304";
19323 static char buf[2] = { (char)0xDE, (char)0xAD };
19324 const char *inptr = input;
19325 size_t inbytesleft = 1;
19326 char *outptr = buf;
19327 size_t outbytesleft = 1;
19328 size_t res = iconv (cd_88591_to_utf8,
19329 (char **) &inptr, &inbytesleft,
19330 &outptr, &outbytesleft);
19331 if (res != (size_t)(-1) || outptr - buf > 1 || buf[1] != (char)0xAD)
19333 iconv_close (cd_88591_to_utf8);
19336 #if 0 /* This bug could be worked around by the caller. */
19337 /* Test against HP-UX 11.11 bug: Positive return value instead of 0. */
19339 iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591");
19340 if (cd_88591_to_utf8 != (iconv_t)(-1))
19342 static const char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337";
19344 const char *inptr = input;
19345 size_t inbytesleft = strlen (input);
19346 char *outptr = buf;
19347 size_t outbytesleft = sizeof (buf);
19348 size_t res = iconv (cd_88591_to_utf8,
19349 (char **) &inptr, &inbytesleft,
19350 &outptr, &outbytesleft);
19353 iconv_close (cd_88591_to_utf8);
19357 /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is
19359 if (/* Try standardized names. */
19360 iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1)
19361 /* Try IRIX, OSF/1 names. */
19362 && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1)
19363 /* Try AIX names. */
19364 && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1)
19365 /* Try HP-UX names. */
19366 && iconv_open ("utf8", "eucJP") == (iconv_t)(-1))
19371 if ac_fn_c_try_run "$LINENO"; then :
19372 am_cv_func_iconv_works=yes
19374 am_cv_func_iconv_works=no
19376 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
19377 conftest.$ac_objext conftest.beam conftest.$ac_ext
19380 LIBS="$am_save_LIBS"
19383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5
19384 $as_echo "$am_cv_func_iconv_works" >&6; }
19385 case "$am_cv_func_iconv_works" in
19386 *no) am_func_iconv=no am_cv_lib_iconv=no ;;
19387 *) am_func_iconv=yes ;;
19390 am_func_iconv=no am_cv_lib_iconv=no
19392 if test "$am_func_iconv" = yes; then
19394 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
19397 if test "$am_cv_lib_iconv" = yes; then
19398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
19399 $as_echo_n "checking how to link with libiconv... " >&6; }
19400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
19401 $as_echo "$LIBICONV" >&6; }
19403 CPPFLAGS="$am_save_CPPFLAGS"
19410 if test "$am_cv_func_iconv" = yes; then
19411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
19412 $as_echo_n "checking for iconv declaration... " >&6; }
19413 if ${am_cv_proto_iconv+:} false; then :
19414 $as_echo_n "(cached) " >&6
19417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19418 /* end confdefs.h. */
19420 #include <stdlib.h>
19426 #if defined(__STDC__) || defined(_MSC_VER) || defined(__cplusplus)
19427 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
19440 if ac_fn_c_try_compile "$LINENO"; then :
19441 am_cv_proto_iconv_arg1=""
19443 am_cv_proto_iconv_arg1="const"
19445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19446 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);"
19449 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
19450 { $as_echo "$as_me:${as_lineno-$LINENO}: result:
19451 $am_cv_proto_iconv" >&5
19453 $am_cv_proto_iconv" >&6; }
19455 cat >>confdefs.h <<_ACEOF
19456 #define ICONV_CONST $am_cv_proto_iconv_arg1
19462 case $am_cv_func_iconv in #(
19467 for cy_iconv_prefix_arg in $CFLAGS $CXXFLAGS $OBJCXXFLAGS $LDFLAGS $LIBS; do
19468 case $cy_iconv_prefix_arg in #(
19472 for element in `echo $cy_iconv_prefix_arg | sed -e 's/^-I//;s|/include$||'`; do
19474 for x in $cy_iconv_prefixes; do
19476 acl_save_prefix="$prefix"
19477 prefix="$acl_final_prefix"
19478 acl_save_exec_prefix="$exec_prefix"
19479 exec_prefix="$acl_final_exec_prefix"
19481 exec_prefix="$acl_save_exec_prefix"
19482 prefix="$acl_save_prefix"
19484 if test "X$x" = "X$element"; then
19489 if test -z "$haveit"; then
19490 cy_iconv_prefixes="${cy_iconv_prefixes}${cy_iconv_prefixes:+ }$element"
19498 for element in `echo $cy_iconv_prefix_arg | sed -e 's/^-L//;s|/lib$||'`; do
19500 for x in $cy_iconv_prefixes; do
19502 acl_save_prefix="$prefix"
19503 prefix="$acl_final_prefix"
19504 acl_save_exec_prefix="$exec_prefix"
19505 exec_prefix="$acl_final_exec_prefix"
19507 exec_prefix="$acl_save_exec_prefix"
19508 prefix="$acl_save_prefix"
19510 if test "X$x" = "X$element"; then
19515 if test -z "$haveit"; then
19516 cy_iconv_prefixes="${cy_iconv_prefixes}${cy_iconv_prefixes:+ }$element"
19525 for with_libiconv_prefix in $cy_iconv_prefixes; do
19526 { am_cv_func_iconv=; unset am_cv_func_iconv;}
19540 acl_save_prefix="$prefix"
19541 prefix="$acl_final_prefix"
19542 acl_save_exec_prefix="$exec_prefix"
19543 exec_prefix="$acl_final_exec_prefix"
19545 eval additional_includedir=\"$includedir\"
19546 eval additional_libdir=\"$libdir\"
19548 exec_prefix="$acl_save_exec_prefix"
19549 prefix="$acl_save_prefix"
19552 # Check whether --with-libiconv-prefix was given.
19553 if test "${with_libiconv_prefix+set}" = set; then :
19554 withval=$with_libiconv_prefix;
19555 if test "X$withval" = "Xno"; then
19558 if test "X$withval" = "X"; then
19560 acl_save_prefix="$prefix"
19561 prefix="$acl_final_prefix"
19562 acl_save_exec_prefix="$exec_prefix"
19563 exec_prefix="$acl_final_exec_prefix"
19565 eval additional_includedir=\"$includedir\"
19566 eval additional_libdir=\"$libdir\"
19568 exec_prefix="$acl_save_exec_prefix"
19569 prefix="$acl_save_prefix"
19572 additional_includedir="$withval/include"
19573 additional_libdir="$withval/$acl_libdirstem"
19574 if test "$acl_libdirstem2" != "$acl_libdirstem" \
19575 && ! test -d "$withval/$acl_libdirstem"; then
19576 additional_libdir="$withval/$acl_libdirstem2"
19590 names_already_handled=
19591 names_next_round='iconv '
19592 while test -n "$names_next_round"; do
19593 names_this_round="$names_next_round"
19595 for name in $names_this_round; do
19597 for n in $names_already_handled; do
19598 if test "$n" = "$name"; then
19599 already_handled=yes
19603 if test -z "$already_handled"; then
19604 names_already_handled="$names_already_handled $name"
19605 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./+-|ABCDEFGHIJKLMNOPQRSTUVWXYZ____|'`
19606 eval value=\"\$HAVE_LIB$uppername\"
19607 if test -n "$value"; then
19608 if test "$value" = yes; then
19609 eval value=\"\$LIB$uppername\"
19610 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
19611 eval value=\"\$LTLIB$uppername\"
19612 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
19621 eval libname=\"$acl_libname_spec\" # typically: libname=lib$name
19622 if test -n "$acl_shlibext"; then
19623 shrext=".$acl_shlibext" # typically: shrext=.so
19627 if test $use_additional = yes; then
19628 dir="$additional_libdir"
19629 if test -n "$acl_shlibext"; then
19630 if test -f "$dir/$libname$shrext"; then
19632 found_so="$dir/$libname$shrext"
19634 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
19635 ver=`(cd "$dir" && \
19636 for f
in "$libname$shrext".
*; do echo "$f"; done \
19637 | sed -e "s,^$libname$shrext\\\\.,," \
19638 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
19639 | sed 1q
) 2>/dev
/null
`
19640 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
19642 found_so="$dir/$libname$shrext.$ver"
19645 eval library_names=\"$acl_library_names_spec\"
19646 for f in $library_names; do
19647 if test -f "$dir/$f"; then
19656 if test "X$found_dir" = "X"; then
19657 if test -f "$dir/$libname.$acl_libext"; then
19659 found_a="$dir/$libname.$acl_libext"
19662 if test "X$found_dir" != "X"; then
19663 if test -f "$dir/$libname.la"; then
19664 found_la="$dir/$libname.la"
19668 if test "X$found_dir" = "X"; then
19669 for x in $LDFLAGS $LTLIBICONV; do
19671 acl_save_prefix="$prefix"
19672 prefix="$acl_final_prefix"
19673 acl_save_exec_prefix="$exec_prefix"
19674 exec_prefix="$acl_final_exec_prefix"
19676 exec_prefix="$acl_save_exec_prefix"
19677 prefix="$acl_save_prefix"
19681 dir=`echo "X$x" | sed -e 's/^X-L//'`
19682 if test -n "$acl_shlibext"; then
19683 if test -f "$dir/$libname$shrext"; then
19685 found_so="$dir/$libname$shrext"
19687 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
19688 ver=`(cd "$dir" && \
19689 for f
in "$libname$shrext".
*; do echo "$f"; done \
19690 | sed -e "s,^$libname$shrext\\\\.,," \
19691 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
19692 | sed 1q
) 2>/dev
/null
`
19693 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
19695 found_so="$dir/$libname$shrext.$ver"
19698 eval library_names=\"$acl_library_names_spec\"
19699 for f in $library_names; do
19700 if test -f "$dir/$f"; then
19709 if test "X$found_dir" = "X"; then
19710 if test -f "$dir/$libname.$acl_libext"; then
19712 found_a="$dir/$libname.$acl_libext"
19715 if test "X$found_dir" != "X"; then
19716 if test -f "$dir/$libname.la"; then
19717 found_la="$dir/$libname.la"
19722 if test "X$found_dir" != "X"; then
19727 if test "X$found_dir" != "X"; then
19728 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
19729 if test "X$found_so" != "X"; then
19730 if test "$enable_rpath" = no \
19731 || test "X$found_dir" = "X/usr/$acl_libdirstem" \
19732 || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then
19733 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
19736 for x in $ltrpathdirs; do
19737 if test "X$x" = "X$found_dir"; then
19742 if test -z "$haveit"; then
19743 ltrpathdirs="$ltrpathdirs $found_dir"
19745 if test "$acl_hardcode_direct" = yes; then
19746 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
19748 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
19749 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
19751 for x in $rpathdirs; do
19752 if test "X$x" = "X$found_dir"; then
19757 if test -z "$haveit"; then
19758 rpathdirs="$rpathdirs $found_dir"
19762 for x in $LDFLAGS $LIBICONV; do
19764 acl_save_prefix="$prefix"
19765 prefix="$acl_final_prefix"
19766 acl_save_exec_prefix="$exec_prefix"
19767 exec_prefix="$acl_final_exec_prefix"
19769 exec_prefix="$acl_save_exec_prefix"
19770 prefix="$acl_save_prefix"
19772 if test "X$x" = "X-L$found_dir"; then
19777 if test -z "$haveit"; then
19778 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
19780 if test "$acl_hardcode_minus_L" != no; then
19781 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
19783 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
19789 if test "X$found_a" != "X"; then
19790 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
19792 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
19795 additional_includedir=
19796 case "$found_dir" in
19797 */$acl_libdirstem | */$acl_libdirstem/)
19798 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
19799 if test "$name" = 'iconv'; then
19800 LIBICONV_PREFIX="$basedir"
19802 additional_includedir="$basedir/include"
19804 */$acl_libdirstem2 | */$acl_libdirstem2/)
19805 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
19806 if test "$name" = 'iconv'; then
19807 LIBICONV_PREFIX="$basedir"
19809 additional_includedir="$basedir/include"
19812 if test "X$additional_includedir" != "X"; then
19813 if test "X$additional_includedir" != "X/usr/include"; then
19815 if test "X$additional_includedir" = "X/usr/local/include"; then
19816 if test -n "$GCC"; then
19818 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
19822 if test -z "$haveit"; then
19823 for x in $CPPFLAGS $INCICONV; do
19825 acl_save_prefix="$prefix"
19826 prefix="$acl_final_prefix"
19827 acl_save_exec_prefix="$exec_prefix"
19828 exec_prefix="$acl_final_exec_prefix"
19830 exec_prefix="$acl_save_exec_prefix"
19831 prefix="$acl_save_prefix"
19833 if test "X$x" = "X-I$additional_includedir"; then
19838 if test -z "$haveit"; then
19839 if test -d "$additional_includedir"; then
19840 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
19846 if test -n "$found_la"; then
19847 save_libdir="$libdir"
19848 case "$found_la" in
19849 */* | *\\*) . "$found_la" ;;
19850 *) . "./$found_la" ;;
19852 libdir="$save_libdir"
19853 for dep in $dependency_libs; do
19856 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
19857 if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \
19858 && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then
19860 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \
19861 || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then
19862 if test -n "$GCC"; then
19864 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
19868 if test -z "$haveit"; then
19870 for x in $LDFLAGS $LIBICONV; do
19872 acl_save_prefix="$prefix"
19873 prefix="$acl_final_prefix"
19874 acl_save_exec_prefix="$exec_prefix"
19875 exec_prefix="$acl_final_exec_prefix"
19877 exec_prefix="$acl_save_exec_prefix"
19878 prefix="$acl_save_prefix"
19880 if test "X$x" = "X-L$additional_libdir"; then
19885 if test -z "$haveit"; then
19886 if test -d "$additional_libdir"; then
19887 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
19891 for x in $LDFLAGS $LTLIBICONV; do
19893 acl_save_prefix="$prefix"
19894 prefix="$acl_final_prefix"
19895 acl_save_exec_prefix="$exec_prefix"
19896 exec_prefix="$acl_final_exec_prefix"
19898 exec_prefix="$acl_save_exec_prefix"
19899 prefix="$acl_save_prefix"
19901 if test "X$x" = "X-L$additional_libdir"; then
19906 if test -z "$haveit"; then
19907 if test -d "$additional_libdir"; then
19908 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
19915 dir=`echo "X$dep" | sed -e 's/^X-R//'`
19916 if test "$enable_rpath" != no; then
19918 for x in $rpathdirs; do
19919 if test "X$x" = "X$dir"; then
19924 if test -z "$haveit"; then
19925 rpathdirs="$rpathdirs $dir"
19928 for x in $ltrpathdirs; do
19929 if test "X$x" = "X$dir"; then
19934 if test -z "$haveit"; then
19935 ltrpathdirs="$ltrpathdirs $dir"
19940 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
19943 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
19946 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
19947 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
19953 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
19954 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
19960 if test "X$rpathdirs" != "X"; then
19961 if test -n "$acl_hardcode_libdir_separator"; then
19963 for found_dir in $rpathdirs; do
19964 alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
19966 acl_save_libdir="$libdir"
19968 eval flag=\"$acl_hardcode_libdir_flag_spec\"
19969 libdir="$acl_save_libdir"
19970 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
19972 for found_dir in $rpathdirs; do
19973 acl_save_libdir="$libdir"
19974 libdir="$found_dir"
19975 eval flag=\"$acl_hardcode_libdir_flag_spec\"
19976 libdir="$acl_save_libdir"
19977 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
19981 if test "X$ltrpathdirs" != "X"; then
19982 for found_dir in $ltrpathdirs; do
19983 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
19997 case $am_cv_func_iconv in #(
20001 as_fn_error $? "You need iconv" "$LINENO" 5 ;;
20004 ac_cpp='$CXXCPP $CPPFLAGS'
20005 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20006 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20007 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20011 if test "x$CY_OBJECTIVEC" = x1; then :
20013 ac_fn_cxx_check_header_mongrel "$LINENO" "mach/mach.h" "ac_cv_header_mach_mach_h" "$ac_includes_default"
20014 if test "x$ac_cv_header_mach_mach_h" = xyes; then :
20016 if test -n "$ac_tool_prefix"; then
20017 for ac_prog in otool
20019 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
20020 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
20021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20022 $as_echo_n "checking for $ac_word... " >&6; }
20023 if ${ac_cv_prog__OTOOL+:} false; then :
20024 $as_echo_n "(cached) " >&6
20026 if test -n "$_OTOOL"; then
20027 ac_cv_prog__OTOOL="$_OTOOL" # Let the user override the test.
20029 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20030 for as_dir in $PATH
20033 test -z "$as_dir" && as_dir=.
20034 for ac_exec_ext in '' $ac_executable_extensions; do
20035 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20036 ac_cv_prog__OTOOL="$ac_tool_prefix$ac_prog"
20037 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20046 _OTOOL=$ac_cv_prog__OTOOL
20047 if test -n "$_OTOOL"; then
20048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_OTOOL" >&5
20049 $as_echo "$_OTOOL" >&6; }
20051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20052 $as_echo "no" >&6; }
20056 test -n "$_OTOOL" && break
20059 if test -z "$_OTOOL"; then
20060 ac_ct__OTOOL=$_OTOOL
20061 for ac_prog in otool
20063 # Extract the first word of "$ac_prog", so it can be a program name with args.
20064 set dummy $ac_prog; ac_word=$2
20065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20066 $as_echo_n "checking for $ac_word... " >&6; }
20067 if ${ac_cv_prog_ac_ct__OTOOL+:} false; then :
20068 $as_echo_n "(cached) " >&6
20070 if test -n "$ac_ct__OTOOL"; then
20071 ac_cv_prog_ac_ct__OTOOL="$ac_ct__OTOOL" # Let the user override the test.
20073 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20074 for as_dir in $PATH
20077 test -z "$as_dir" && as_dir=.
20078 for ac_exec_ext in '' $ac_executable_extensions; do
20079 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20080 ac_cv_prog_ac_ct__OTOOL="$ac_prog"
20081 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20090 ac_ct__OTOOL=$ac_cv_prog_ac_ct__OTOOL
20091 if test -n "$ac_ct__OTOOL"; then
20092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct__OTOOL" >&5
20093 $as_echo "$ac_ct__OTOOL" >&6; }
20095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20096 $as_echo "no" >&6; }
20100 test -n "$ac_ct__OTOOL" && break
20103 if test "x$ac_ct__OTOOL" = x; then
20106 case $cross_compiling:$ac_tool_warned in
20108 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
20109 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
20110 ac_tool_warned=yes ;;
20112 _OTOOL=$ac_ct__OTOOL
20116 if test "x$_OTOOL" = x; then :
20117 as_fn_error $? "You need otool" "$LINENO" 5
20119 if test -n "$ac_tool_prefix"; then
20120 for ac_prog in lipo
20122 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
20123 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
20124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20125 $as_echo_n "checking for $ac_word... " >&6; }
20126 if ${ac_cv_prog__LIPO+:} false; then :
20127 $as_echo_n "(cached) " >&6
20129 if test -n "$_LIPO"; then
20130 ac_cv_prog__LIPO="$_LIPO" # Let the user override the test.
20132 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20133 for as_dir in $PATH
20136 test -z "$as_dir" && as_dir=.
20137 for ac_exec_ext in '' $ac_executable_extensions; do
20138 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20139 ac_cv_prog__LIPO="$ac_tool_prefix$ac_prog"
20140 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20149 _LIPO=$ac_cv_prog__LIPO
20150 if test -n "$_LIPO"; then
20151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_LIPO" >&5
20152 $as_echo "$_LIPO" >&6; }
20154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20155 $as_echo "no" >&6; }
20159 test -n "$_LIPO" && break
20162 if test -z "$_LIPO"; then
20164 for ac_prog in lipo
20166 # Extract the first word of "$ac_prog", so it can be a program name with args.
20167 set dummy $ac_prog; ac_word=$2
20168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20169 $as_echo_n "checking for $ac_word... " >&6; }
20170 if ${ac_cv_prog_ac_ct__LIPO+:} false; then :
20171 $as_echo_n "(cached) " >&6
20173 if test -n "$ac_ct__LIPO"; then
20174 ac_cv_prog_ac_ct__LIPO="$ac_ct__LIPO" # Let the user override the test.
20176 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20177 for as_dir in $PATH
20180 test -z "$as_dir" && as_dir=.
20181 for ac_exec_ext in '' $ac_executable_extensions; do
20182 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20183 ac_cv_prog_ac_ct__LIPO="$ac_prog"
20184 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20193 ac_ct__LIPO=$ac_cv_prog_ac_ct__LIPO
20194 if test -n "$ac_ct__LIPO"; then
20195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct__LIPO" >&5
20196 $as_echo "$ac_ct__LIPO" >&6; }
20198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20199 $as_echo "no" >&6; }
20203 test -n "$ac_ct__LIPO" && break
20206 if test "x$ac_ct__LIPO" = x; then
20209 case $cross_compiling:$ac_tool_warned in
20211 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
20212 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
20213 ac_tool_warned=yes ;;
20219 if test "x$_LIPO" = x; then :
20220 as_fn_error $? "You need lipo" "$LINENO" 5
20222 if test -n "$ac_tool_prefix"; then
20225 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
20226 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
20227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20228 $as_echo_n "checking for $ac_word... " >&6; }
20229 if ${ac_cv_prog__NM+:} false; then :
20230 $as_echo_n "(cached) " >&6
20232 if test -n "$_NM"; then
20233 ac_cv_prog__NM="$_NM" # Let the user override the test.
20235 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20236 for as_dir in $PATH
20239 test -z "$as_dir" && as_dir=.
20240 for ac_exec_ext in '' $ac_executable_extensions; do
20241 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20242 ac_cv_prog__NM="$ac_tool_prefix$ac_prog"
20243 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20252 _NM=$ac_cv_prog__NM
20253 if test -n "$_NM"; then
20254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_NM" >&5
20255 $as_echo "$_NM" >&6; }
20257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20258 $as_echo "no" >&6; }
20262 test -n "$_NM" && break
20265 if test -z "$_NM"; then
20269 # Extract the first word of "$ac_prog", so it can be a program name with args.
20270 set dummy $ac_prog; ac_word=$2
20271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20272 $as_echo_n "checking for $ac_word... " >&6; }
20273 if ${ac_cv_prog_ac_ct__NM+:} false; then :
20274 $as_echo_n "(cached) " >&6
20276 if test -n "$ac_ct__NM"; then
20277 ac_cv_prog_ac_ct__NM="$ac_ct__NM" # Let the user override the test.
20279 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20280 for as_dir in $PATH
20283 test -z "$as_dir" && as_dir=.
20284 for ac_exec_ext in '' $ac_executable_extensions; do
20285 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20286 ac_cv_prog_ac_ct__NM="$ac_prog"
20287 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20296 ac_ct__NM=$ac_cv_prog_ac_ct__NM
20297 if test -n "$ac_ct__NM"; then
20298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct__NM" >&5
20299 $as_echo "$ac_ct__NM" >&6; }
20301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20302 $as_echo "no" >&6; }
20306 test -n "$ac_ct__NM" && break
20309 if test "x$ac_ct__NM" = x; then
20312 case $cross_compiling:$ac_tool_warned in
20314 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
20315 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
20316 ac_tool_warned=yes ;;
20322 if test "x$_NM" = x; then :
20323 as_fn_error $? "You need nm" "$LINENO" 5
20325 CY_OBJECTIVEC_MACH=1
20327 CY_ATTACH_GROUP=procmod
20335 if test "x$GMAKE" != xmake; then :
20337 ac_config_files="$ac_config_files Makefile"
20341 ac_config_files="$ac_config_files GNUmakefile"
20343 cat >confcache <<\_ACEOF
20344 # This file is a shell script that caches the results of configure
20345 # tests run on this system so they can be shared between configure
20346 # scripts and configure runs, see configure's option --config-cache.
20347 # It is not useful on other systems. If it contains results you don't
20348 # want to keep, you may remove or edit it.
20350 # config.status only pays attention to the cache file if you give it
20351 # the --recheck option to rerun configure.
20353 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
20354 # loading this file, other *unset* `ac_cv_foo' will be assigned the
20355 # following values.
20359 # The following way of writing the cache mishandles newlines in values,
20360 # but we know of no workaround that is simple, portable, and efficient.
20361 # So, we kill variables containing newlines.
20362 # Ultrix sh set writes to stderr and can't be redirected directly,
20363 # and sets the high bit in the cache file unless we assign to the vars.
20365 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
20366 eval ac_val
=\$
$ac_var
20370 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
20371 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
20374 _
| IFS
| as_nl
) ;; #(
20375 BASH_ARGV
| BASH_SOURCE
) eval $ac_var= ;; #(
20376 *) { eval $ac_var=; unset $ac_var;} ;;
20382 case $as_nl`(ac_space=' '; set) 2>&1` in #(
20383 *${as_nl}ac_space
=\
*)
20384 # `set' does not quote correctly, so add quotes: double-quote
20385 # substitution turns \\\\ into \\, and sed turns \\ into \.
20388 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
20391 # `set' quotes correctly as required by POSIX, so do not add quotes.
20392 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
20401 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
20403 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
20405 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
20406 if test -w "$cache_file"; then
20407 if test "x$cache_file" != "x/dev/null"; then
20408 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
20409 $as_echo "$as_me: updating cache $cache_file" >&6;}
20410 if test ! -f "$cache_file" || test -h "$cache_file"; then
20411 cat confcache
>"$cache_file"
20413 case $cache_file in #(
20415 mv -f confcache
"$cache_file"$$
&&
20416 mv -f "$cache_file"$$
"$cache_file" ;; #(
20418 mv -f confcache
"$cache_file" ;;
20423 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
20424 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
20429 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
20430 # Let make expand exec_prefix.
20431 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
20433 # Transform confdefs.h into DEFS.
20434 # Protect against shell expansion while executing Makefile rules.
20435 # Protect against Makefile macro expansion.
20437 # If the first sed substitution is executed (which looks for macros that
20438 # take arguments), then branch to the quote section. Otherwise,
20439 # look for a macro that doesn't take arguments.
20449 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
20451 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
20455 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
20468 DEFS
=`sed -n "$ac_script" confdefs.h`
20474 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
20475 # 1. Remove the extension, and $U if already installed.
20476 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
20477 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
20478 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
20479 # will be set to the directory where LIBOBJS objects are built.
20480 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
20481 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
20483 LIBOBJS
=$ac_libobjs
20485 LTLIBOBJS
=$ac_ltlibobjs
20489 : "${CONFIG_STATUS=./config.status}"
20491 ac_clean_files_save
=$ac_clean_files
20492 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
20493 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
20494 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
20496 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
20498 # Generated by $as_me.
20499 # Run this file to recreate the current configuration.
20500 # Compiler output produced by configure, useful for debugging
20501 # configure, is in config.log if it exists.
20504 ac_cs_recheck=false
20507 SHELL=\${CONFIG_SHELL-$SHELL}
20510 cat >>$CONFIG_STATUS <<\_ASEOF
|| as_write_fail
=1
20511 ## -------------------- ##
20512 ## M4sh Initialization. ##
20513 ## -------------------- ##
20515 # Be more Bourne compatible
20516 DUALCASE
=1; export DUALCASE
# for MKS sh
20517 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
20520 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
20521 # is contrary to our usage. Disable this feature.
20522 alias -g '${1+"$@"}'='"$@"'
20523 setopt NO_GLOB_SUBST
20525 case `(set -o) 2>/dev/null` in #(
20537 # Printing a long string crashes Solaris 7 /usr/bin/printf.
20538 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
20539 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
20540 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
20541 # Prefer a ksh shell builtin over an external printf program on Solaris,
20542 # but without wasting forks for bash or zsh.
20543 if test -z "$BASH_VERSION$ZSH_VERSION" \
20544 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
20545 as_echo='print
-r --'
20546 as_echo_n='print
-rn --'
20547 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
20548 as_echo='printf %s
\n'
20549 as_echo_n='printf %s
'
20551 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
20552 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
20553 as_echo_n='/usr
/ucb
/echo -n'
20555 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
20556 as_echo_n_body='eval
20560 expr "X$arg" : "X\\(.*\\)$as_nl";
20561 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
20563 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
20565 export as_echo_n_body
20566 as_echo_n='sh
-c $as_echo_n_body as_echo
'
20568 export as_echo_body
20569 as_echo='sh
-c $as_echo_body as_echo
'
20572 # The user is always right.
20573 if test "${PATH_SEPARATOR+set}" != set; then
20575 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
20576 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
20583 # We need space, tab and new line, in precisely that order. Quoting is
20584 # there to prevent editors from complaining about space-tab.
20585 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
20586 # splitting by setting IFS to empty value.)
20589 # Find who we are. Look in the path if we contain no directory separator.
20592 *[\\/]* ) as_myself=$0 ;;
20593 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20594 for as_dir in $PATH
20597 test -z "$as_dir" && as_dir=.
20598 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
20604 # We did not find ourselves, most probably we were run as `sh COMMAND'
20605 # in which case we are not to be found in the path.
20606 if test "x$as_myself" = x
; then
20609 if test ! -f "$as_myself"; then
20610 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
20614 # Unset variables that we do not need and which cause bugs (e.g. in
20615 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
20616 # suppresses any "Segmentation fault" message there. '((' could
20617 # trigger a bug in pdksh 5.2.14.
20618 for as_var
in BASH_ENV ENV MAIL MAILPATH
20619 do eval test x\
${$as_var+set} = xset \
20620 && ( (unset $as_var) || exit 1) >/dev
/null
2>&1 && unset $as_var || :
20633 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
20636 # as_fn_error STATUS ERROR [LINENO LOG_FD]
20637 # ----------------------------------------
20638 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
20639 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
20640 # script with STATUS, using 1 if that was 0.
20643 as_status
=$1; test $as_status -eq 0 && as_status
=1
20645 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
20646 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
20648 $as_echo "$as_me: error: $2" >&2
20649 as_fn_exit
$as_status
20653 # as_fn_set_status STATUS
20654 # -----------------------
20655 # Set $? to STATUS, without forking.
20656 as_fn_set_status
()
20659 } # as_fn_set_status
20661 # as_fn_exit STATUS
20662 # -----------------
20663 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
20667 as_fn_set_status
$1
20673 # Portably unset VAR.
20676 { eval $1=; unset $1;}
20678 as_unset
=as_fn_unset
20679 # as_fn_append VAR VALUE
20680 # ----------------------
20681 # Append the text in VALUE to the end of the definition contained in VAR. Take
20682 # advantage of any shell optimizations that allow amortized linear growth over
20683 # repeated appends, instead of the typical quadratic growth present in naive
20685 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
20686 eval 'as_fn_append ()
20697 # as_fn_arith ARG...
20698 # ------------------
20699 # Perform arithmetic evaluation on the ARGs, and store the result in the
20700 # global $as_val. Take advantage of shells that can avoid forks. The arguments
20701 # must be portable across $(()) and expr.
20702 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
20703 eval 'as_fn_arith ()
20710 as_val
=`expr "$@" || test $? -eq 1`
20715 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
20716 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
20722 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
20723 as_basename
=basename
20728 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
20734 as_me
=`$as_basename -- "$0" ||
20735 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
20736 X"$0" : 'X\(//\)$' \| \
20737 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
20739 sed '/^.*\/\([^/][^/]*\)\/*$/{
20753 # Avoid depending upon Character Ranges.
20754 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
20755 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
20756 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
20757 as_cr_digits
='0123456789'
20758 as_cr_alnum
=$as_cr_Letters$as_cr_digits
20760 ECHO_C
= ECHO_N
= ECHO_T
=
20761 case `echo -n x` in #(((((
20763 case `echo 'xy\c'` in
20764 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
20766 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
20773 rm -f conf$$ conf$$.exe conf$$.
file
20774 if test -d conf$$.dir
; then
20775 rm -f conf$$.dir
/conf$$.
file
20778 mkdir conf$$.dir
2>/dev
/null
20780 if (echo >conf$$.
file) 2>/dev
/null
; then
20781 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
20783 # ... but there are two gotchas:
20784 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
20785 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
20786 # In both cases, we have to default to `cp -pR'.
20787 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
20789 elif ln conf$$.
file conf$$
2>/dev
/null
; then
20797 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
20798 rmdir conf$$.dir
2>/dev
/null
20803 # Create "$as_dir" as a directory, including parents if necessary.
20808 -*) as_dir
=.
/$as_dir;;
20810 test -d "$as_dir" || eval $as_mkdir_p || {
20814 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
20815 *) as_qdir
=$as_dir;;
20817 as_dirs
="'$as_qdir' $as_dirs"
20818 as_dir
=`$as_dirname -- "$as_dir" ||
20819 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20820 X"$as_dir" : 'X\(//\)[^/]' \| \
20821 X"$as_dir" : 'X\(//\)$' \| \
20822 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
20823 $as_echo X"$as_dir" |
20824 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20828 /^X\(\/\/\)[^/].*/{
20841 test -d "$as_dir" && break
20843 test -z "$as_dirs" || eval "mkdir $as_dirs"
20844 } || test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
20848 if mkdir -p .
2>/dev
/null
; then
20849 as_mkdir_p
='mkdir -p "$as_dir"'
20851 test -d .
/-p && rmdir .
/-p
20856 # as_fn_executable_p FILE
20857 # -----------------------
20858 # Test if FILE is an executable regular file.
20859 as_fn_executable_p
()
20861 test -f "$1" && test -x "$1"
20862 } # as_fn_executable_p
20863 as_test_x
='test -x'
20864 as_executable_p
=as_fn_executable_p
20866 # Sed expression to map a string onto a valid CPP name.
20867 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
20869 # Sed expression to map a string onto a valid variable name.
20870 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
20874 ## ----------------------------------- ##
20875 ## Main body of $CONFIG_STATUS script. ##
20876 ## ----------------------------------- ##
20878 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
20880 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
20881 # Save the log message, to keep $0 and so on meaningful, and to
20882 # report actual input values of CONFIG_FILES etc. instead of their
20883 # values after options handling.
20885 This file was extended by Cycript $as_me 0.9, which was
20886 generated by GNU Autoconf 2.69. Invocation command line was
20888 CONFIG_FILES = $CONFIG_FILES
20889 CONFIG_HEADERS = $CONFIG_HEADERS
20890 CONFIG_LINKS = $CONFIG_LINKS
20891 CONFIG_COMMANDS = $CONFIG_COMMANDS
20894 on `(hostname || uname -n) 2>/dev/null | sed 1q`
20899 case $ac_config_files in *"
20900 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
20905 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20906 # Files that config.status was made for.
20907 config_files="$ac_config_files"
20908 config_commands="$ac_config_commands"
20912 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
20914 \`$as_me' instantiates files and other configuration actions
20915 from templates according to the current configuration. Unless the files
20916 and actions are specified as TAGs, all are instantiated by default.
20918 Usage: $0 [OPTION]... [TAG]...
20920 -h, --help print this help, then exit
20921 -V, --version print version number and configuration settings, then exit
20922 --config print configuration, then exit
20923 -q, --quiet, --silent
20924 do not print progress messages
20925 -d, --debug don't remove temporary files
20926 --recheck update $as_me by reconfiguring in the same conditions
20927 --file=FILE[:TEMPLATE]
20928 instantiate the configuration file FILE
20930 Configuration files:
20933 Configuration commands:
20936 Report bugs to <saurik@saurik.com>.
20937 Cycript home page: <http://www.cycript.org/>."
20940 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20941 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
20943 Cycript config.status 0.9
20944 configured by $0, generated by GNU Autoconf 2.69,
20945 with options \\"\$ac_cs_config\\"
20947 Copyright (C) 2012 Free Software Foundation, Inc.
20948 This config.status script is free software; the Free Software Foundation
20949 gives unlimited permission to copy, distribute and modify it."
20954 test -n "\$AWK" || AWK=awk
20957 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
20958 # The default lists apply if the user does not specify any file.
20964 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
20965 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
20969 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
20981 # Handling of the options.
20982 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
20984 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
20985 $as_echo "$ac_cs_version"; exit ;;
20986 --config | --confi | --conf | --con | --co | --c )
20987 $as_echo "$ac_cs_config"; exit ;;
20988 --debug | --debu | --deb | --de | --d | -d )
20990 --file | --fil | --fi | --f )
20993 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
20994 '') as_fn_error $?
"missing file argument" ;;
20996 as_fn_append CONFIG_FILES
" '$ac_optarg'"
20997 ac_need_defaults
=false
;;
20998 --he | --h | --help | --hel | -h )
20999 $as_echo "$ac_cs_usage"; exit ;;
21000 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
21001 | -silent | --silent | --silen | --sile | --sil | --si | --s)
21004 # This is an error.
21005 -*) as_fn_error $?
"unrecognized option: \`$1'
21006 Try \`$0 --help' for more information." ;;
21008 *) as_fn_append ac_config_targets
" $1"
21009 ac_need_defaults
=false
;;
21015 ac_configure_extra_args
=
21017 if $ac_cs_silent; then
21019 ac_configure_extra_args
="$ac_configure_extra_args --silent"
21023 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21024 if \$ac_cs_recheck; then
21025 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
21027 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
21028 CONFIG_SHELL='$SHELL'
21029 export CONFIG_SHELL
21034 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
21038 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
21039 ## Running $as_me. ##
21045 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21051 # The HP-UX ksh and POSIX shell print the target directory to stdout
21052 # if CDPATH is set.
21053 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
21055 sed_quote_subst='$sed_quote_subst'
21056 double_quote_subst='$double_quote_subst'
21057 delay_variable_subst='$delay_variable_subst'
21058 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
21059 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
21060 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
21061 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
21062 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
21063 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
21064 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
21065 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
21066 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
21067 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
21068 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
21069 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
21070 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
21071 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
21072 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
21073 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
21074 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
21075 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
21076 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
21077 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
21078 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
21079 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
21080 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
21081 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
21082 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
21083 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
21084 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
21085 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
21086 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
21087 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
21088 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
21089 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
21090 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
21091 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
21092 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
21093 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
21094 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
21095 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
21096 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
21097 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
21098 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
21099 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
21100 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
21101 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
21102 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
21103 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
21104 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
21105 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
21106 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
21107 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
21108 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
21109 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
21110 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
21111 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
21112 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
21113 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
21114 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"`'
21115 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
21116 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
21117 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
21118 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
21119 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
21120 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
21121 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
21122 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
21123 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
21124 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
21125 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
21126 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
21127 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
21128 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
21129 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
21130 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
21131 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
21132 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
21133 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
21134 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
21135 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
21136 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
21137 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
21138 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
21139 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
21140 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
21141 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
21142 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
21143 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
21144 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
21145 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
21146 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
21147 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
21148 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
21149 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
21150 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
21151 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
21152 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
21153 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
21154 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
21155 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
21156 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
21157 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
21158 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
21159 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
21160 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
21161 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
21162 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
21163 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
21164 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
21165 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
21166 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
21167 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
21168 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
21169 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
21170 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
21171 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
21172 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
21173 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
21174 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
21175 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
21176 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
21177 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
21178 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
21179 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
21180 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
21181 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
21182 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
21183 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
21184 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
21185 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
21186 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
21187 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
21188 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
21189 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
21190 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
21191 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
21192 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
21193 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
21194 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
21195 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
21196 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21197 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21198 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
21199 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
21200 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
21201 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
21202 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
21203 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
21204 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
21205 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
21206 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
21207 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
21208 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
21209 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
21210 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21211 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21212 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21213 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21214 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21215 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21216 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
21217 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
21218 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
21219 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
21220 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
21221 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
21222 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
21223 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
21224 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
21225 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
21226 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
21227 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
21228 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
21229 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21230 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
21231 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
21232 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21233 postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21234 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
21235 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
21236 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
21237 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
21238 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
21239 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
21240 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
21241 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
21244 LTCFLAGS='$LTCFLAGS'
21245 compiler='$compiler_DEFAULT'
21247 # A function that is used when there is no print builtin or printf.
21248 func_fallback_echo ()
21250 eval 'cat <<_LTECHO_EOF
21255 # Quote evaled strings.
21270 deplibs_check_method \
21275 sharedlib_from_linklib_cmd \
21278 archiver_list_spec \
21284 lt_cv_sys_global_symbol_pipe \
21285 lt_cv_sys_global_symbol_to_cdecl \
21286 lt_cv_sys_global_symbol_to_c_name_address \
21287 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
21288 nm_file_list_spec \
21289 lt_prog_compiler_no_builtin_flag \
21290 lt_prog_compiler_pic \
21291 lt_prog_compiler_wl \
21292 lt_prog_compiler_static \
21293 lt_cv_prog_compiler_c_o \
21302 export_dynamic_flag_spec \
21303 whole_archive_flag_spec \
21304 compiler_needs_object \
21306 allow_undefined_flag \
21307 no_undefined_flag \
21308 hardcode_libdir_flag_spec \
21309 hardcode_libdir_separator \
21313 variables_saved_for_relink \
21315 library_names_spec \
21317 install_override_mode \
21321 compiler_lib_search_dirs \
21326 compiler_lib_search_path \
21330 lt_prog_compiler_no_builtin_flag_CXX \
21331 lt_prog_compiler_pic_CXX \
21332 lt_prog_compiler_wl_CXX \
21333 lt_prog_compiler_static_CXX \
21334 lt_cv_prog_compiler_c_o_CXX \
21335 export_dynamic_flag_spec_CXX \
21336 whole_archive_flag_spec_CXX \
21337 compiler_needs_object_CXX \
21339 allow_undefined_flag_CXX \
21340 no_undefined_flag_CXX \
21341 hardcode_libdir_flag_spec_CXX \
21342 hardcode_libdir_separator_CXX \
21343 exclude_expsyms_CXX \
21344 include_expsyms_CXX \
21345 file_list_spec_CXX \
21346 compiler_lib_search_dirs_CXX \
21347 predep_objects_CXX \
21348 postdep_objects_CXX \
21351 compiler_lib_search_path_CXX; do
21352 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
21353 *[\\\\\\\`\\"\\\$]*)
21354 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
21357 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
21362 # Double-quote double-evaled strings.
21363 for var in reload_cmds \
21364 old_postinstall_cmds \
21365 old_postuninstall_cmds \
21367 extract_expsyms_cmds \
21368 old_archive_from_new_cmds \
21369 old_archive_from_expsyms_cmds \
21371 archive_expsym_cmds \
21373 module_expsym_cmds \
21374 export_symbols_cmds \
21378 postuninstall_cmds \
21380 sys_lib_search_path_spec \
21381 sys_lib_dlsearch_path_spec \
21383 old_archive_cmds_CXX \
21384 old_archive_from_new_cmds_CXX \
21385 old_archive_from_expsyms_cmds_CXX \
21387 archive_expsym_cmds_CXX \
21389 module_expsym_cmds_CXX \
21390 export_symbols_cmds_CXX \
21392 postlink_cmds_CXX; do
21393 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
21394 *[\\\\\\\`\\"\\\$]*)
21395 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
21398 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
21403 ac_aux_dir='$ac_aux_dir'
21404 xsi_shell='$xsi_shell'
21405 lt_shell_append='$lt_shell_append'
21407 # See if we are running on zsh, and set the options which allow our
21408 # commands through without removal of \ escapes INIT.
21409 if test -n "\${ZSH_VERSION+set}" ; then
21410 setopt NO_GLOB_SUBST
21416 TIMESTAMP='$TIMESTAMP'
21427 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
21429 # Handling of arguments.
21430 for ac_config_target
in $ac_config_targets
21432 case $ac_config_target in
21433 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
21434 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
21435 "GNUmakefile") CONFIG_FILES
="$CONFIG_FILES GNUmakefile" ;;
21437 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
21442 # If the user did not use the arguments to specify the items to instantiate,
21443 # then the envvar interface is used. Set only those that are not.
21444 # We use the long form for the default assignment because of an extremely
21445 # bizarre bug on SunOS 4.1.3.
21446 if $ac_need_defaults; then
21447 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
21448 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
21451 # Have a temporary directory for convenience. Make it in the build tree
21452 # simply because there is no reason against having it here, and in addition,
21453 # creating and moving files from /tmp can sometimes cause problems.
21454 # Hook for its removal unless debugging.
21455 # Note that there is a small window in which the directory will not be cleaned:
21456 # after its creation but before its name has been assigned to `$tmp'.
21460 trap 'exit_status=$?
21461 : "${ac_tmp:=$tmp}"
21462 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
21464 trap 'as_fn_exit 1' 1 2 13 15
21466 # Create a (secure) tmp directory for tmp files.
21469 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
21473 tmp
=.
/conf$$
-$RANDOM
21474 (umask 077 && mkdir "$tmp")
21475 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
21478 # Set up the scripts for CONFIG_FILES section.
21479 # No need to generate them if there are no CONFIG_FILES.
21480 # This happens for instance with `./config.status config.h'.
21481 if test -n "$CONFIG_FILES"; then
21484 ac_cr
=`echo X | tr X '\015'`
21485 # On cygwin, bash can eat \r inside `` if the user requested igncr.
21486 # But we know of no other shell where ac_cr would be empty at this
21487 # point, so we can use a bashism as a fallback.
21488 if test "x$ac_cr" = x
; then
21489 eval ac_cr
=\$
\'\\r
\'
21491 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
21492 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
21495 ac_cs_awk_cr
=$ac_cr
21498 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
21503 echo "cat >conf$$subs.awk <<_ACEOF" &&
21504 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
21506 } >conf$$subs.sh ||
21507 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
21508 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
21510 for ac_last_try in false false false false false :; do
21511 . ./conf$$subs.sh ||
21512 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
21514 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
21515 if test $ac_delim_n = $ac_delim_num; then
21517 elif $ac_last_try; then
21518 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
21520 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
21523 rm -f conf$$subs.sh
21525 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21526 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
21530 s/^/S["/; s
/!.
*/"]=/
21540 s/\(.\{148\}\)..*/\1/
21542 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
21547 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
21554 s/\(.\{148\}\)..*/\1/
21556 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
21560 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
21565 ' <conf$$subs.awk | sed '
21570 ' >>$CONFIG_STATUS || ac_write_fail=1
21571 rm -f conf$$subs.awk
21572 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21574 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
21575 for (key in S) S_is_set[key] = 1
21581 nfields = split(line, field, "@
")
21583 len = length(field[1])
21584 for (i = 2; i < nfields; i++) {
21586 keylen = length(key)
21587 if (S_is_set[key]) {
21589 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
21590 len += length(value) + length(field[++i])
21601 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21602 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
21603 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
21606 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
21607 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
21610 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
21611 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
21612 # trailing colons and then remove the whole line if VPATH becomes empty
21613 # (actually we leave an empty line to preserve line numbers).
21614 if test "x
$srcdir" = x.; then
21615 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
21633 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21634 fi # test -n "$CONFIG_FILES"
21637 eval set X " :F
$CONFIG_FILES :C
$CONFIG_COMMANDS"
21642 :[FHLC]) ac_mode=$ac_tag; continue;;
21644 case $ac_mode$ac_tag in
21646 :L* | :C*:*) as_fn_error $? "invalid tag \
`$ac_tag'" "$LINENO" 5;;
21647 :[FH]-) ac_tag=-:-;;
21648 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
21665 -) ac_f="$ac_tmp/stdin";;
21666 *) # Look for the file first in the build tree, then in the source tree
21667 # (if the path is not absolute). The absolute path cannot be DOS-style,
21668 # because $ac_f cannot contain `:'.
21672 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
21674 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
21676 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s
/'/'\\\\\\\\''/g
"`;; esac
21677 as_fn_append ac_file_inputs " '$ac_f'"
21680 # Let's still pretend it is `configure' which instantiates (i.e., don't
21681 # use $as_me), people would be surprised to read:
21682 # /* config.h. Generated by config.status. */
21683 configure_input='Generated from '`
21684 $as_echo "$
*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
21686 if test x"$ac_file" != x-; then
21687 configure_input="$ac_file.
$configure_input"
21688 { $as_echo "$as_me:${as_lineno-$LINENO}: creating
$ac_file" >&5
21689 $as_echo "$as_me: creating
$ac_file" >&6;}
21691 # Neutralize special characters interpreted by sed in replacement strings.
21692 case $configure_input in #(
21693 *\&* | *\|* | *\\* )
21694 ac_sed_conf_input=`$as_echo "$configure_input" |
21695 sed 's/[\\\\&|]/\\\\&/g'`;; #(
21696 *) ac_sed_conf_input=$configure_input;;
21700 *:-:* | *:-) cat >"$ac_tmp/stdin
" \
21701 || as_fn_error $? "could not create
$ac_file" "$LINENO" 5 ;;
21706 ac_dir=`$as_dirname -- "$ac_file" ||
21707 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21708 X"$ac_file" : 'X\(//\)[^/]' \| \
21709 X"$ac_file" : 'X\(//\)$' \| \
21710 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
21711 $as_echo X"$ac_file" |
21712 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21716 /^X\(\/\/\)[^/].*/{
21729 as_dir="$ac_dir"; as_fn_mkdir_p
21733 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
21735 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
21736 # A "..
" for each directory in $ac_dir_suffix.
21737 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
21738 case $ac_top_builddir_sub in
21739 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
21740 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
21743 ac_abs_top_builddir=$ac_pwd
21744 ac_abs_builddir=$ac_pwd$ac_dir_suffix
21745 # for backward compatibility:
21746 ac_top_builddir=$ac_top_build_prefix
21749 .) # We are building in place.
21751 ac_top_srcdir=$ac_top_builddir_sub
21752 ac_abs_top_srcdir=$ac_pwd ;;
21753 [\\/]* | ?:[\\/]* ) # Absolute name.
21754 ac_srcdir=$srcdir$ac_dir_suffix;
21755 ac_top_srcdir=$srcdir
21756 ac_abs_top_srcdir=$srcdir ;;
21757 *) # Relative name.
21758 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
21759 ac_top_srcdir=$ac_top_build_prefix$srcdir
21760 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
21762 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
21772 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
21773 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
21777 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21778 # If the template does not know about datarootdir, expand it.
21779 # FIXME: This hack should be removed a few years after 2.60.
21780 ac_datarootdir_hack=; ac_datarootdir_seen=
21791 case `eval "sed -n \"\
$ac_sed_dataroot\" $ac_file_inputs"` in
21792 *datarootdir*) ac_datarootdir_seen=yes;;
21793 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
21794 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&5
21795 $as_echo "$as_me: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&2;}
21797 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21798 ac_datarootdir_hack='
21799 s&@datadir@&$datadir&g
21800 s&@docdir@&$docdir&g
21801 s&@infodir@&$infodir&g
21802 s&@localedir@&$localedir&g
21803 s&@mandir@&$mandir&g
21804 s&\\\${datarootdir}&$datarootdir&g' ;;
21808 # Neutralize VPATH when `$srcdir' = `.'.
21809 # Shell code in configure.ac might set extrasub.
21810 # FIXME: do we really want to maintain this feature?
21811 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21812 ac_sed_extra="$ac_vpsub
21815 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
21817 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
21818 s
|@configure_input@
|$ac_sed_conf_input|;t t
21819 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
21820 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
21821 s
&@srcdir@
&$ac_srcdir&;t t
21822 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
21823 s
&@top_srcdir@
&$ac_top_srcdir&;t t
21824 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
21825 s
&@builddir@
&$ac_builddir&;t t
21826 s
&@abs_builddir@
&$ac_abs_builddir&;t t
21827 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
21828 s
&@INSTALL@
&$ac_INSTALL&;t t
21829 $ac_datarootdir_hack
21831 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
21832 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
21834 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
21835 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
21836 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
21837 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
21838 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
21839 which seems to be undefined. Please make sure it is defined" >&5
21840 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
21841 which seems to be undefined. Please make sure it is defined" >&2;}
21843 rm -f "$ac_tmp/stdin"
21845 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
21846 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
21848 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21852 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
21853 $as_echo "$as_me: executing $ac_file commands" >&6;}
21858 case $ac_file$ac_mode in
21861 # See if we are running on zsh, and set the options which allow our
21862 # commands through without removal of \ escapes.
21863 if test -n "${ZSH_VERSION+set}" ; then
21864 setopt NO_GLOB_SUBST
21867 cfgfile="${ofile}T"
21868 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
21871 cat <<_LT_EOF >> "$cfgfile"
21874 # `$ECHO "$ofile" | sed 's
%^.
*/%%'` - Provide generalized library-building support services.
21875 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
21876 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
21877 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
21879 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
21880 # 2006, 2007, 2008, 2009, 2010, 2011 Free Software
21882 # Written by Gordon Matzigkeit, 1996
21884 # This file is part of GNU Libtool.
21886 # GNU Libtool is free software; you can redistribute it and/or
21887 # modify it under the terms of the GNU General Public License as
21888 # published by the Free Software Foundation; either version 2 of
21889 # the License, or (at your option) any later version.
21891 # As a special exception to the GNU General Public License,
21892 # if you distribute this file as part of a program or library that
21893 # is built using GNU Libtool, you may include this file under the
21894 # same distribution terms that you use for the rest of that program.
21896 # GNU Libtool is distributed in the hope that it will be useful,
21897 # but WITHOUT ANY WARRANTY; without even the implied warranty of
21898 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21899 # GNU General Public License for more details.
21901 # You should have received a copy of the GNU General Public License
21902 # along with GNU Libtool; see the file COPYING. If not, a copy
21903 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
21904 # obtained by writing to the Free Software Foundation, Inc.,
21905 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
21908 # The names of the tagged configurations supported by this script.
21909 available_tags="CXX "
21911 # ### BEGIN LIBTOOL CONFIG
21913 # Which release of libtool.m4 was used?
21914 macro_version=$macro_version
21915 macro_revision=$macro_revision
21917 # Whether or not to build static libraries.
21918 build_old_libs=$enable_static
21920 # Whether or not to build shared libraries.
21921 build_libtool_libs=$enable_shared
21923 # What type of objects to build.
21926 # Whether or not to optimize for fast installation.
21927 fast_install=$enable_fast_install
21929 # Shell to use when invoking shell scripts.
21932 # An echo program that protects backslashes.
21935 # The PATH separator for the build system.
21936 PATH_SEPARATOR=$lt_PATH_SEPARATOR
21939 host_alias=$host_alias
21943 # The build system.
21944 build_alias=$build_alias
21948 # A sed program that does not truncate output.
21951 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
21952 Xsed="\$SED -e 1s/^X//"
21954 # A grep program that handles long lines.
21960 # A literal string matcher.
21963 # A BSD- or MS-compatible name lister.
21966 # Whether we need soft or hard links.
21969 # What is the maximum length of a command?
21970 max_cmd_len=$max_cmd_len
21972 # Object file suffix (normally "o").
21975 # Executable file suffix (normally "").
21978 # whether the shell understands "unset".
21981 # turn spaces into newlines.
21984 # turn newlines into spaces.
21987 # convert \$build file names to \$host format.
21988 to_host_file_cmd=$lt_cv_to_host_file_cmd
21990 # convert \$build files to toolchain format.
21991 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
21993 # An object symbol dumper.
21994 OBJDUMP=$lt_OBJDUMP
21996 # Method to check whether dependent libraries are shared objects.
21997 deplibs_check_method=$lt_deplibs_check_method
21999 # Command to use when deplibs_check_method = "file_magic".
22000 file_magic_cmd=$lt_file_magic_cmd
22002 # How to find potential files when deplibs_check_method = "file_magic".
22003 file_magic_glob=$lt_file_magic_glob
22005 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
22006 want_nocaseglob=$lt_want_nocaseglob
22008 # DLL creation program.
22009 DLLTOOL=$lt_DLLTOOL
22011 # Command to associate shared and link libraries.
22012 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
22017 # Flags to create an archive.
22018 AR_FLAGS=$lt_AR_FLAGS
22020 # How to feed a file listing to the archiver.
22021 archiver_list_spec=$lt_archiver_list_spec
22023 # A symbol stripping program.
22026 # Commands used to install an old-style archive.
22028 old_postinstall_cmds=$lt_old_postinstall_cmds
22029 old_postuninstall_cmds=$lt_old_postuninstall_cmds
22031 # Whether to use a lock for old archive extraction.
22032 lock_old_archive_extraction=$lock_old_archive_extraction
22037 # LTCC compiler flags.
22038 LTCFLAGS=$lt_CFLAGS
22040 # Take the output of nm and produce a listing of raw symbols and C names.
22041 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
22043 # Transform the output of nm in a proper C declaration.
22044 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
22046 # Transform the output of nm in a C name address pair.
22047 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
22049 # Transform the output of nm in a C name address pair when lib prefix is needed.
22050 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
22052 # Specify filename containing input files for \$NM.
22053 nm_file_list_spec=$lt_nm_file_list_spec
22055 # The root where to search for dependent libraries,and in which our libraries should be installed.
22056 lt_sysroot=$lt_sysroot
22058 # The name of the directory that contains temporary libtool files.
22061 # Used to examine libraries when file_magic_cmd begins with "file".
22062 MAGIC_CMD=$MAGIC_CMD
22064 # Must we lock files when doing compilation?
22065 need_locks=$lt_need_locks
22068 MANIFEST_TOOL=$lt_MANIFEST_TOOL
22070 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
22071 DSYMUTIL=$lt_DSYMUTIL
22073 # Tool to change global to local symbols on Mac OS X.
22076 # Tool to manipulate fat objects and archives on Mac OS X.
22079 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
22082 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
22083 OTOOL64=$lt_OTOOL64
22085 # Old archive suffix (normally "a").
22088 # Shared library suffix (normally ".so").
22089 shrext_cmds=$lt_shrext_cmds
22091 # The commands to extract the exported symbol list from a shared archive.
22092 extract_expsyms_cmds=$lt_extract_expsyms_cmds
22094 # Variables whose values should be saved in libtool wrapper scripts and
22095 # restored at link time.
22096 variables_saved_for_relink=$lt_variables_saved_for_relink
22098 # Do we need the "lib" prefix for modules?
22099 need_lib_prefix=$need_lib_prefix
22101 # Do we need a version for libraries?
22102 need_version=$need_version
22104 # Library versioning type.
22105 version_type=$version_type
22107 # Shared library runtime path variable.
22108 runpath_var=$runpath_var
22110 # Shared library path variable.
22111 shlibpath_var=$shlibpath_var
22113 # Is shlibpath searched before the hard-coded library search path?
22114 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
22116 # Format of library name prefix.
22117 libname_spec=$lt_libname_spec
22119 # List of archive names. First name is the real one, the rest are links.
22120 # The last name is the one that the linker finds with -lNAME
22121 library_names_spec=$lt_library_names_spec
22123 # The coded name of the library, if different from the real name.
22124 soname_spec=$lt_soname_spec
22126 # Permission mode override for installation of shared libraries.
22127 install_override_mode=$lt_install_override_mode
22129 # Command to use after installation of a shared archive.
22130 postinstall_cmds=$lt_postinstall_cmds
22132 # Command to use after uninstallation of a shared archive.
22133 postuninstall_cmds=$lt_postuninstall_cmds
22135 # Commands used to finish a libtool library installation in a directory.
22136 finish_cmds=$lt_finish_cmds
22138 # As "finish_cmds", except a single script fragment to be evaled but
22140 finish_eval=$lt_finish_eval
22142 # Whether we should hardcode library paths into libraries.
22143 hardcode_into_libs=$hardcode_into_libs
22145 # Compile-time system search path for libraries.
22146 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
22148 # Run-time system search path for libraries.
22149 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
22151 # Whether dlopen is supported.
22152 dlopen_support=$enable_dlopen
22154 # Whether dlopen of programs is supported.
22155 dlopen_self=$enable_dlopen_self
22157 # Whether dlopen of statically linked programs is supported.
22158 dlopen_self_static=$enable_dlopen_self_static
22160 # Commands to strip libraries.
22161 old_striplib=$lt_old_striplib
22162 striplib=$lt_striplib
22165 # The linker used to build libraries.
22168 # How to create reloadable object files.
22169 reload_flag=$lt_reload_flag
22170 reload_cmds=$lt_reload_cmds
22172 # Commands used to build an old-style archive.
22173 old_archive_cmds=$lt_old_archive_cmds
22175 # A language specific compiler.
22178 # Is the compiler the GNU compiler?
22181 # Compiler flag to turn off builtin functions.
22182 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
22184 # Additional compiler flags for building library objects.
22185 pic_flag=$lt_lt_prog_compiler_pic
22187 # How to pass a linker flag through the compiler.
22188 wl=$lt_lt_prog_compiler_wl
22190 # Compiler flag to prevent dynamic linking.
22191 link_static_flag=$lt_lt_prog_compiler_static
22193 # Does compiler simultaneously support -c and -o options?
22194 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
22196 # Whether or not to add -lc for building shared libraries.
22197 build_libtool_need_lc=$archive_cmds_need_lc
22199 # Whether or not to disallow shared libs when runtime libs are static.
22200 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
22202 # Compiler flag to allow reflexive dlopens.
22203 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
22205 # Compiler flag to generate shared objects directly from archives.
22206 whole_archive_flag_spec=$lt_whole_archive_flag_spec
22208 # Whether the compiler copes with passing no objects directly.
22209 compiler_needs_object=$lt_compiler_needs_object
22211 # Create an old-style archive from a shared archive.
22212 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
22214 # Create a temporary old-style archive to link instead of a shared archive.
22215 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
22217 # Commands used to build a shared archive.
22218 archive_cmds=$lt_archive_cmds
22219 archive_expsym_cmds=$lt_archive_expsym_cmds
22221 # Commands used to build a loadable module if different from building
22222 # a shared archive.
22223 module_cmds=$lt_module_cmds
22224 module_expsym_cmds=$lt_module_expsym_cmds
22226 # Whether we are building with GNU ld or not.
22227 with_gnu_ld=$lt_with_gnu_ld
22229 # Flag that allows shared libraries with undefined symbols to be built.
22230 allow_undefined_flag=$lt_allow_undefined_flag
22232 # Flag that enforces no undefined symbols.
22233 no_undefined_flag=$lt_no_undefined_flag
22235 # Flag to hardcode \$libdir into a binary during linking.
22236 # This must work even if \$libdir does not exist
22237 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
22239 # Whether we need a single "-rpath" flag with a separated argument.
22240 hardcode_libdir_separator=$lt_hardcode_libdir_separator
22242 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
22243 # DIR into the resulting binary.
22244 hardcode_direct=$hardcode_direct
22246 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
22247 # DIR into the resulting binary and the resulting library dependency is
22248 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
22249 # library is relocated.
22250 hardcode_direct_absolute=$hardcode_direct_absolute
22252 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
22253 # into the resulting binary.
22254 hardcode_minus_L=$hardcode_minus_L
22256 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
22257 # into the resulting binary.
22258 hardcode_shlibpath_var=$hardcode_shlibpath_var
22260 # Set to "yes" if building a shared library automatically hardcodes DIR
22261 # into the library and all subsequent libraries and executables linked
22263 hardcode_automatic=$hardcode_automatic
22265 # Set to yes if linker adds runtime paths of dependent libraries
22266 # to runtime path list.
22267 inherit_rpath=$inherit_rpath
22269 # Whether libtool must link a program against all its dependency libraries.
22270 link_all_deplibs=$link_all_deplibs
22272 # Set to "yes" if exported symbols are required.
22273 always_export_symbols=$always_export_symbols
22275 # The commands to list exported symbols.
22276 export_symbols_cmds=$lt_export_symbols_cmds
22278 # Symbols that should not be listed in the preloaded symbols.
22279 exclude_expsyms=$lt_exclude_expsyms
22281 # Symbols that must always be exported.
22282 include_expsyms=$lt_include_expsyms
22284 # Commands necessary for linking programs (against libraries) with templates.
22285 prelink_cmds=$lt_prelink_cmds
22287 # Commands necessary for finishing linking programs.
22288 postlink_cmds=$lt_postlink_cmds
22290 # Specify filename containing input files.
22291 file_list_spec=$lt_file_list_spec
22293 # How to hardcode a shared library path into an executable.
22294 hardcode_action=$hardcode_action
22296 # The directories searched by this compiler when creating a shared library.
22297 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
22299 # Dependencies to place before and after the objects being linked to
22300 # create a shared library.
22301 predep_objects=$lt_predep_objects
22302 postdep_objects=$lt_postdep_objects
22303 predeps=$lt_predeps
22304 postdeps=$lt_postdeps
22306 # The library search path used internally by the compiler when linking
22307 # a shared library.
22308 compiler_lib_search_path=$lt_compiler_lib_search_path
22310 # ### END LIBTOOL CONFIG
22316 cat <<\_LT_EOF >> "$cfgfile"
22317 # AIX sometimes has problems with the GCC collect2 program. For some
22318 # reason, if we set the COLLECT_NAMES environment variable, the problems
22319 # vanish in a puff of smoke.
22320 if test "X${COLLECT_NAMES+set}" != Xset; then
22322 export COLLECT_NAMES
22329 ltmain="$ac_aux_dir/ltmain.sh"
22332 # We use sed instead of cat because bash on DJGPP gets confused if
22333 # if finds mixed CR/LF and LF-only lines. Since sed operates in
22334 # text mode, it properly converts lines to CR/LF. This bash problem
22335 # is reportedly fixed, but why not run on old versions too?
22336 sed '$q' "$ltmain" >> "$cfgfile" \
22337 || (rm -f "$cfgfile"; exit 1)
22339 if test x"$xsi_shell" = xyes; then
22340 sed -e '/^func_dirname
()$
/,/^
} # func_dirname /c\
22344 \
*/*) func_dirname_result
="${1%/*}${2}" ;;\
22345 \
* ) func_dirname_result
="${3}" ;;\
22347 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
22348 && mv -f "$cfgfile.tmp" "$cfgfile" \
22349 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22350 test 0 -eq $?
|| _lt_function_replace_fail
=:
22353 sed -e '/^func_basename ()$/,/^} # func_basename /c\
22356 \ func_basename_result="${1##*/}"\
22357 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
22358 && mv -f "$cfgfile.tmp" "$cfgfile" \
22359 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22360 test 0 -eq $?
|| _lt_function_replace_fail
=:
22363 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
22364 func_dirname_and_basename ()\
22367 \ */*) func_dirname_result="${1%/*}${2}" ;;\
22368 \ * ) func_dirname_result="${3}" ;;\
22370 \ func_basename_result="${1##*/}"\
22371 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
22372 && mv -f "$cfgfile.tmp" "$cfgfile" \
22373 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22374 test 0 -eq $?
|| _lt_function_replace_fail
=:
22377 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
22380 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
22381 \ # positional parameters, so assign one to ordinary parameter first.\
22382 \ func_stripname_result=${3}\
22383 \ func_stripname_result=${func_stripname_result#"${1}"}\
22384 \ func_stripname_result=${func_stripname_result%"${2}"}\
22385 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
22386 && mv -f "$cfgfile.tmp" "$cfgfile" \
22387 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22388 test 0 -eq $?
|| _lt_function_replace_fail
=:
22391 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
22392 func_split_long_opt ()\
22394 \ func_split_long_opt_name=${1%%=*}\
22395 \ func_split_long_opt_arg=${1#*=}\
22396 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
22397 && mv -f "$cfgfile.tmp" "$cfgfile" \
22398 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22399 test 0 -eq $?
|| _lt_function_replace_fail
=:
22402 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
22403 func_split_short_opt ()\
22405 \ func_split_short_opt_arg=${1#??}\
22406 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
22407 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
22408 && mv -f "$cfgfile.tmp" "$cfgfile" \
22409 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22410 test 0 -eq $?
|| _lt_function_replace_fail
=:
22413 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
22417 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
22418 \ *) func_lo2o_result=${1} ;;\
22420 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
22421 && mv -f "$cfgfile.tmp" "$cfgfile" \
22422 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22423 test 0 -eq $?
|| _lt_function_replace_fail
=:
22426 sed -e '/^func_xform ()$/,/^} # func_xform /c\
22429 func_xform_result=${1%.*}.lo\
22430 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
22431 && mv -f "$cfgfile.tmp" "$cfgfile" \
22432 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22433 test 0 -eq $?
|| _lt_function_replace_fail
=:
22436 sed -e '/^func_arith ()$/,/^} # func_arith /c\
22439 func_arith_result=$(( $* ))\
22440 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
22441 && mv -f "$cfgfile.tmp" "$cfgfile" \
22442 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22443 test 0 -eq $?
|| _lt_function_replace_fail
=:
22446 sed -e '/^func_len ()$/,/^} # func_len /c\
22449 func_len_result=${#1}\
22450 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
22451 && mv -f "$cfgfile.tmp" "$cfgfile" \
22452 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22453 test 0 -eq $?
|| _lt_function_replace_fail
=:
22457 if test x
"$lt_shell_append" = xyes
; then
22458 sed -e '/^func_append ()$/,/^} # func_append /c\
22461 eval "${1}+=\\${2}"\
22462 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
22463 && mv -f "$cfgfile.tmp" "$cfgfile" \
22464 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22465 test 0 -eq $?
|| _lt_function_replace_fail
=:
22468 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
22469 func_append_quoted ()\
22471 \ func_quote_for_eval "${2}"\
22472 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
22473 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
22474 && mv -f "$cfgfile.tmp" "$cfgfile" \
22475 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22476 test 0 -eq $?
|| _lt_function_replace_fail
=:
22479 # Save a `func_append' function call where possible by direct use of '+='
22480 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
22481 && mv -f "$cfgfile.tmp" "$cfgfile" \
22482 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22483 test 0 -eq $?
|| _lt_function_replace_fail
=:
22485 # Save a `func_append' function call even when '+=' is not available
22486 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
22487 && mv -f "$cfgfile.tmp" "$cfgfile" \
22488 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22489 test 0 -eq $?
|| _lt_function_replace_fail
=:
22492 if test x
"$_lt_function_replace_fail" = x
":"; then
22493 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
22494 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
22498 mv -f "$cfgfile" "$ofile" ||
22499 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
22503 cat <<_LT_EOF >> "$ofile"
22505 # ### BEGIN LIBTOOL TAG CONFIG: CXX
22507 # The linker used to build libraries.
22510 # How to create reloadable object files.
22511 reload_flag=$lt_reload_flag_CXX
22512 reload_cmds=$lt_reload_cmds_CXX
22514 # Commands used to build an old-style archive.
22515 old_archive_cmds=$lt_old_archive_cmds_CXX
22517 # A language specific compiler.
22518 CC=$lt_compiler_CXX
22520 # Is the compiler the GNU compiler?
22523 # Compiler flag to turn off builtin functions.
22524 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
22526 # Additional compiler flags for building library objects.
22527 pic_flag=$lt_lt_prog_compiler_pic_CXX
22529 # How to pass a linker flag through the compiler.
22530 wl=$lt_lt_prog_compiler_wl_CXX
22532 # Compiler flag to prevent dynamic linking.
22533 link_static_flag=$lt_lt_prog_compiler_static_CXX
22535 # Does compiler simultaneously support -c and -o options?
22536 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
22538 # Whether or not to add -lc for building shared libraries.
22539 build_libtool_need_lc=$archive_cmds_need_lc_CXX
22541 # Whether or not to disallow shared libs when runtime libs are static.
22542 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
22544 # Compiler flag to allow reflexive dlopens.
22545 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
22547 # Compiler flag to generate shared objects directly from archives.
22548 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
22550 # Whether the compiler copes with passing no objects directly.
22551 compiler_needs_object=$lt_compiler_needs_object_CXX
22553 # Create an old-style archive from a shared archive.
22554 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
22556 # Create a temporary old-style archive to link instead of a shared archive.
22557 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
22559 # Commands used to build a shared archive.
22560 archive_cmds=$lt_archive_cmds_CXX
22561 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
22563 # Commands used to build a loadable module if different from building
22564 # a shared archive.
22565 module_cmds=$lt_module_cmds_CXX
22566 module_expsym_cmds=$lt_module_expsym_cmds_CXX
22568 # Whether we are building with GNU ld or not.
22569 with_gnu_ld=$lt_with_gnu_ld_CXX
22571 # Flag that allows shared libraries with undefined symbols to be built.
22572 allow_undefined_flag=$lt_allow_undefined_flag_CXX
22574 # Flag that enforces no undefined symbols.
22575 no_undefined_flag=$lt_no_undefined_flag_CXX
22577 # Flag to hardcode \$libdir into a binary during linking.
22578 # This must work even if \$libdir does not exist
22579 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
22581 # Whether we need a single "-rpath" flag with a separated argument.
22582 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
22584 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
22585 # DIR into the resulting binary.
22586 hardcode_direct=$hardcode_direct_CXX
22588 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
22589 # DIR into the resulting binary and the resulting library dependency is
22590 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
22591 # library is relocated.
22592 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
22594 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
22595 # into the resulting binary.
22596 hardcode_minus_L=$hardcode_minus_L_CXX
22598 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
22599 # into the resulting binary.
22600 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
22602 # Set to "yes" if building a shared library automatically hardcodes DIR
22603 # into the library and all subsequent libraries and executables linked
22605 hardcode_automatic=$hardcode_automatic_CXX
22607 # Set to yes if linker adds runtime paths of dependent libraries
22608 # to runtime path list.
22609 inherit_rpath=$inherit_rpath_CXX
22611 # Whether libtool must link a program against all its dependency libraries.
22612 link_all_deplibs=$link_all_deplibs_CXX
22614 # Set to "yes" if exported symbols are required.
22615 always_export_symbols=$always_export_symbols_CXX
22617 # The commands to list exported symbols.
22618 export_symbols_cmds=$lt_export_symbols_cmds_CXX
22620 # Symbols that should not be listed in the preloaded symbols.
22621 exclude_expsyms=$lt_exclude_expsyms_CXX
22623 # Symbols that must always be exported.
22624 include_expsyms=$lt_include_expsyms_CXX
22626 # Commands necessary for linking programs (against libraries) with templates.
22627 prelink_cmds=$lt_prelink_cmds_CXX
22629 # Commands necessary for finishing linking programs.
22630 postlink_cmds=$lt_postlink_cmds_CXX
22632 # Specify filename containing input files.
22633 file_list_spec=$lt_file_list_spec_CXX
22635 # How to hardcode a shared library path into an executable.
22636 hardcode_action=$hardcode_action_CXX
22638 # The directories searched by this compiler when creating a shared library.
22639 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
22641 # Dependencies to place before and after the objects being linked to
22642 # create a shared library.
22643 predep_objects=$lt_predep_objects_CXX
22644 postdep_objects=$lt_postdep_objects_CXX
22645 predeps=$lt_predeps_CXX
22646 postdeps=$lt_postdeps_CXX
22648 # The library search path used internally by the compiler when linking
22649 # a shared library.
22650 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
22652 # ### END LIBTOOL TAG CONFIG: CXX
22663 ac_clean_files
=$ac_clean_files_save
22665 test $ac_write_fail = 0 ||
22666 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
22669 # configure is writing to config.log, and then calls config.status.
22670 # config.status does its own redirection, appending to config.log.
22671 # Unfortunately, on DOS this fails, as config.log is still kept open
22672 # by configure, so config.status won't be able to write to it; its
22673 # output is simply discarded. So we exec the FD to /dev/null,
22674 # effectively closing config.log, so it can be properly (re)opened and
22675 # appended to by config.status. When coming back to configure, we
22676 # need to make the FD available again.
22677 if test "$no_create" != yes; then
22679 ac_config_status_args
=
22680 test "$silent" = yes &&
22681 ac_config_status_args
="$ac_config_status_args --quiet"
22683 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
22685 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22686 # would make configure fail if this is the last instruction.
22687 $ac_cs_success || as_fn_exit
1
22689 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
22690 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
22691 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}