2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.68 for Cycript 0.9.
5 # Report bugs to <saurik@saurik.com>.
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
13 # This configure script is free software; the Free Software Foundation
14 # gives unlimited permission to copy, distribute and modify it.
15 ## -------------------- ##
16 ## M4sh Initialization. ##
17 ## -------------------- ##
19 # Be more Bourne compatible
20 DUALCASE
=1; export DUALCASE
# for MKS sh
21 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
24 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25 # is contrary to our usage. Disable this feature.
26 alias -g '${1+"$@"}'='"$@"'
29 case `(set -o) 2>/dev/null` in #(
41 # Printing a long string crashes Solaris 7 /usr/bin/printf.
42 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45 # Prefer a ksh shell builtin over an external printf program on Solaris,
46 # but without wasting forks for bash or zsh.
47 if test -z "$BASH_VERSION$ZSH_VERSION" \
48 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo_n='print
-rn --'
51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
55 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
57 as_echo_n='/usr
/ucb
/echo -n'
59 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
64 expr "X$arg" : "X\\(.*\\)$as_nl";
65 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
67 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
70 as_echo_n='sh
-c $as_echo_n_body as_echo
'
73 as_echo='sh
-c $as_echo_body as_echo
'
76 # The user is always right.
77 if test "${PATH_SEPARATOR+set}" != set; then
79 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
87 # We need space, tab and new line, in precisely that order. Quoting is
88 # there to prevent editors from complaining about space-tab.
89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
90 # splitting by setting IFS to empty value.)
93 # Find who we are. Look in the path if we contain no directory separator.
96 *[\\/]* ) as_myself=$0 ;;
97 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
101 test -z "$as_dir" && as_dir=.
102 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
108 # We did not find ourselves, most probably we were run as `sh COMMAND'
109 # in which case we are not to be found in the path.
110 if test "x$as_myself" = x
; then
113 if test ! -f "$as_myself"; then
114 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
118 # Unset variables that we do not need and which cause bugs (e.g. in
119 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
120 # suppresses any "Segmentation fault" message there. '((' could
121 # trigger a bug in pdksh 5.2.14.
122 for as_var
in BASH_ENV ENV MAIL MAILPATH
123 do eval test x\
${$as_var+set} = xset \
124 && ( (unset $as_var) || exit 1) >/dev
/null
2>&1 && unset $as_var || :
137 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
139 if test "x$CONFIG_SHELL" = x
; then
140 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
143 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
144 # is contrary to our usage. Disable this feature.
145 alias -g '\${1+\"\$@\"}'='\"\$@\"'
148 case \`(set -o) 2>/dev/null\` in #(
156 as_required
="as_fn_return () { (exit \$1); }
157 as_fn_success () { as_fn_return 0; }
158 as_fn_failure () { as_fn_return 1; }
159 as_fn_ret_success () { return 0; }
160 as_fn_ret_failure () { return 1; }
163 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
164 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
165 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
166 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
167 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
170 exitcode=1; echo positional parameters were not saved.
172 test x\$exitcode = x0 || exit 1"
173 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
174 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
175 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
176 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
178 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
179 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
180 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
181 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
182 PATH=/empty FPATH=/empty; export PATH FPATH
183 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
184 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
185 test \$(( 1 + 1 )) = 2 || exit 1"
186 if (eval "$as_required") 2>/dev
/null
; then :
191 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
194 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
196 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
199 test -z "$as_dir" && as_dir
=.
203 for as_base
in sh bash ksh sh5
; do
204 # Try only shells that exist, to save several forks.
205 as_shell
=$as_dir/$as_base
206 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
207 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
208 CONFIG_SHELL
=$as_shell as_have_required
=yes
209 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
217 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
218 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
219 CONFIG_SHELL
=$SHELL as_have_required
=yes
224 if test "x$CONFIG_SHELL" != x
; then :
225 # We cannot yet assume a decent shell, so we have to provide a
226 # neutralization value for shells without unset; and this also
227 # works around shells that cannot unset nonexistent variables.
228 # Preserve -v and -x to the replacement shell.
231 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
234 *v
*x
* | *x
*v
* ) as_opts
=-vx ;;
239 exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
242 if test x
$as_have_required = xno
; then :
243 $as_echo "$0: This script requires a shell more modern than all"
244 $as_echo "$0: the shells that I found on your system."
245 if test x
${ZSH_VERSION+set} = xset
; then
246 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
247 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
249 $as_echo "$0: Please tell bug-autoconf@gnu.org and saurik@saurik.com
250 $0: about your system, including any error possibly output
251 $0: before this message. Then install a modern shell, or
252 $0: manually run the script under such a shell if you do
259 SHELL
=${CONFIG_SHELL-/bin/sh}
261 # Unset more variables known to interfere with behavior of common tools.
262 CLICOLOR_FORCE
= GREP_OPTIONS
=
263 unset CLICOLOR_FORCE GREP_OPTIONS
265 ## --------------------- ##
266 ## M4sh Shell Functions. ##
267 ## --------------------- ##
270 # Portably unset VAR.
273 { eval $1=; unset $1;}
277 # as_fn_set_status STATUS
278 # -----------------------
279 # Set $? to STATUS, without forking.
287 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
297 # Create "$as_dir" as a directory, including parents if necessary.
302 -*) as_dir
=.
/$as_dir;;
304 test -d "$as_dir" || eval $as_mkdir_p || {
308 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
311 as_dirs
="'$as_qdir' $as_dirs"
312 as_dir
=`$as_dirname -- "$as_dir" ||
313 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
314 X"$as_dir" : 'X\(//\)[^/]' \| \
315 X"$as_dir" : 'X\(//\)$' \| \
316 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
317 $as_echo X"$as_dir" |
318 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
335 test -d "$as_dir" && break
337 test -z "$as_dirs" || eval "mkdir $as_dirs"
338 } || test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
342 # as_fn_append VAR VALUE
343 # ----------------------
344 # Append the text in VALUE to the end of the definition contained in VAR. Take
345 # advantage of any shell optimizations that allow amortized linear growth over
346 # repeated appends, instead of the typical quadratic growth present in naive
348 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
349 eval 'as_fn_append ()
362 # Perform arithmetic evaluation on the ARGs, and store the result in the
363 # global $as_val. Take advantage of shells that can avoid forks. The arguments
364 # must be portable across $(()) and expr.
365 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
373 as_val
=`expr "$@" || test $? -eq 1`
378 # as_fn_error STATUS ERROR [LINENO LOG_FD]
379 # ----------------------------------------
380 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
381 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
382 # script with STATUS, using 1 if that was 0.
385 as_status
=$1; test $as_status -eq 0 && as_status
=1
387 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
388 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
390 $as_echo "$as_me: error: $2" >&2
391 as_fn_exit
$as_status
394 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
395 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
401 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
407 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
413 as_me
=`$as_basename -- "$0" ||
414 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
415 X"$0" : 'X\(//\)$' \| \
416 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
418 sed '/^.*\/\([^/][^/]*\)\/*$/{
432 # Avoid depending upon Character Ranges.
433 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
434 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
435 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
436 as_cr_digits
='0123456789'
437 as_cr_alnum
=$as_cr_Letters$as_cr_digits
440 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
441 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
442 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
443 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
444 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
456 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
460 chmod +x
"$as_me.lineno" ||
461 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
463 # Don't try to exec as it changes $[0], causing all sort of problems
464 # (the dirname of $[0] is not the place where we might find the
465 # original and so on. Autoconf is especially sensitive to this).
467 # Exit status is that of the last command.
471 ECHO_C
= ECHO_N
= ECHO_T
=
472 case `echo -n x` in #(((((
474 case `echo 'xy\c'` in
475 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
477 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
484 rm -f conf$$ conf$$.exe conf$$.
file
485 if test -d conf$$.dir
; then
486 rm -f conf$$.dir
/conf$$.
file
489 mkdir conf$$.dir
2>/dev
/null
491 if (echo >conf$$.
file) 2>/dev
/null
; then
492 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
494 # ... but there are two gotchas:
495 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
496 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
497 # In both cases, we have to default to `cp -p'.
498 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
500 elif ln conf$$.
file conf$$
2>/dev
/null
; then
508 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
509 rmdir conf$$.dir
2>/dev
/null
511 if mkdir -p .
2>/dev
/null
; then
512 as_mkdir_p
='mkdir -p "$as_dir"'
514 test -d .
/-p && rmdir .
/-p
518 if test -x / >/dev
/null
2>&1; then
521 if ls -dL / >/dev
/null
2>&1; then
528 if test -d "$1"; then
534 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
535 ???[sx]*):;;*)false;;esac;fi
539 as_executable_p
=$as_test_x
541 # Sed expression to map a string onto a valid CPP name.
542 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
544 # Sed expression to map a string onto a valid variable name.
545 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
547 SHELL
=${CONFIG_SHELL-/bin/sh}
550 test -n "$DJDIR" || exec 7<&0 </dev
/null
554 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
555 # so uname gets run too.
556 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
561 ac_default_prefix
=/usr
/local
563 ac_config_libobj_dir
=.
570 # Identity of this package.
571 PACKAGE_NAME
='Cycript'
572 PACKAGE_TARNAME
='cycript'
573 PACKAGE_VERSION
='0.9'
574 PACKAGE_STRING
='Cycript 0.9'
575 PACKAGE_BUGREPORT
='saurik@saurik.com'
576 PACKAGE_URL
='http://www.cycript.org/'
578 ac_unique_file
="Console.cpp"
579 # Factoring default headers for most tests.
580 ac_includes_default
="\
582 #ifdef HAVE_SYS_TYPES_H
583 # include <sys/types.h>
585 #ifdef HAVE_SYS_STAT_H
586 # include <sys/stat.h>
592 # ifdef HAVE_STDLIB_H
597 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
602 #ifdef HAVE_STRINGS_H
603 # include <strings.h>
605 #ifdef HAVE_INTTYPES_H
606 # include <inttypes.h>
615 ac_subst_vars
='LTLIBOBJS
725 program_transform_name
738 enable_option_checking
746 enable_universal_binary
753 ac_precious_vars
='build_alias
781 # Initialize some variables set by options.
783 ac_init_version
=false
784 ac_unrecognized_opts
=
786 # The variables have the same names as the options, with
787 # dashes changed to underlines.
795 program_transform_name
=s
,x
,x
,
803 # Installation directory options.
804 # These are left unexpanded so users can "make install exec_prefix=/foo"
805 # and all the variables that are supposed to be based on exec_prefix
806 # by default will actually change.
807 # Use braces instead of parens because sh, perl, etc. also accept them.
808 # (The list follows the same order as the GNU Coding Standards.)
809 bindir
='${exec_prefix}/bin'
810 sbindir
='${exec_prefix}/sbin'
811 libexecdir
='${exec_prefix}/libexec'
812 datarootdir
='${prefix}/share'
813 datadir
='${datarootdir}'
814 sysconfdir
='${prefix}/etc'
815 sharedstatedir
='${prefix}/com'
816 localstatedir
='${prefix}/var'
817 includedir
='${prefix}/include'
818 oldincludedir
='/usr/include'
819 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
820 infodir
='${datarootdir}/info'
825 libdir
='${exec_prefix}/lib'
826 localedir
='${datarootdir}/locale'
827 mandir
='${datarootdir}/man'
833 # If the previous option needs an argument, assign it.
834 if test -n "$ac_prev"; then
835 eval $ac_prev=\
$ac_option
841 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
846 # Accept the important Cygnus configure options, so we can diagnose typos.
848 case $ac_dashdash$ac_option in
852 -bindir | --bindir | --bindi | --bind | --bin | --bi)
854 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
857 -build | --build | --buil | --bui | --bu)
858 ac_prev
=build_alias
;;
859 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
860 build_alias
=$ac_optarg ;;
862 -cache-file | --cache-file | --cache-fil | --cache-fi \
863 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
864 ac_prev
=cache_file
;;
865 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
866 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
867 cache_file
=$ac_optarg ;;
870 cache_file
=config.cache
;;
872 -datadir | --datadir | --datadi | --datad)
874 -datadir=* | --datadir=* | --datadi=* | --datad=*)
875 datadir
=$ac_optarg ;;
877 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
878 | --dataroo | --dataro | --datar)
879 ac_prev
=datarootdir
;;
880 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
881 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
882 datarootdir
=$ac_optarg ;;
884 -disable-* | --disable-*)
885 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
886 # Reject names that are not valid shell variable names.
887 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
888 as_fn_error $?
"invalid feature name: $ac_useropt"
889 ac_useropt_orig
=$ac_useropt
890 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
891 case $ac_user_opts in
895 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
896 ac_unrecognized_sep
=', ';;
898 eval enable_
$ac_useropt=no
;;
900 -docdir | --docdir | --docdi | --doc | --do)
902 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
905 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
907 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
910 -enable-* | --enable-*)
911 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
912 # Reject names that are not valid shell variable names.
913 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
914 as_fn_error $?
"invalid feature name: $ac_useropt"
915 ac_useropt_orig
=$ac_useropt
916 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
917 case $ac_user_opts in
921 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
922 ac_unrecognized_sep
=', ';;
924 eval enable_
$ac_useropt=\
$ac_optarg ;;
926 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
927 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
928 | --exec | --exe | --ex)
929 ac_prev
=exec_prefix
;;
930 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
931 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
932 | --exec=* | --exe=* | --ex=*)
933 exec_prefix
=$ac_optarg ;;
935 -gas | --gas | --ga | --g)
936 # Obsolete; use --with-gas.
939 -help | --help | --hel | --he | -h)
941 -help=r
* | --help=r
* | --hel=r
* | --he=r
* | -hr*)
942 ac_init_help
=recursive
;;
943 -help=s
* | --help=s
* | --hel=s
* | --he=s
* | -hs*)
944 ac_init_help
=short
;;
946 -host | --host | --hos | --ho)
947 ac_prev
=host_alias
;;
948 -host=* | --host=* | --hos=* | --ho=*)
949 host_alias
=$ac_optarg ;;
951 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
953 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
955 htmldir
=$ac_optarg ;;
957 -includedir | --includedir | --includedi | --included | --include \
958 | --includ | --inclu | --incl | --inc)
959 ac_prev
=includedir
;;
960 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
961 | --includ=* | --inclu=* | --incl=* | --inc=*)
962 includedir
=$ac_optarg ;;
964 -infodir | --infodir | --infodi | --infod | --info | --inf)
966 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
967 infodir
=$ac_optarg ;;
969 -libdir | --libdir | --libdi | --libd)
971 -libdir=* | --libdir=* | --libdi=* | --libd=*)
974 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
975 | --libexe | --libex | --libe)
976 ac_prev
=libexecdir
;;
977 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
978 | --libexe=* | --libex=* | --libe=*)
979 libexecdir
=$ac_optarg ;;
981 -localedir | --localedir | --localedi | --localed | --locale)
983 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
984 localedir
=$ac_optarg ;;
986 -localstatedir | --localstatedir | --localstatedi | --localstated \
987 | --localstate | --localstat | --localsta | --localst | --locals)
988 ac_prev
=localstatedir
;;
989 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
990 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
991 localstatedir
=$ac_optarg ;;
993 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
995 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
999 # Obsolete; use --without-fp.
1002 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1003 | --no-cr | --no-c | -n)
1006 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1007 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1010 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1011 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1012 | --oldin | --oldi | --old | --ol | --o)
1013 ac_prev
=oldincludedir
;;
1014 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1015 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1016 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1017 oldincludedir
=$ac_optarg ;;
1019 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1021 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1022 prefix
=$ac_optarg ;;
1024 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1025 | --program-pre | --program-pr | --program-p)
1026 ac_prev
=program_prefix
;;
1027 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1028 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1029 program_prefix
=$ac_optarg ;;
1031 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1032 | --program-suf | --program-su | --program-s)
1033 ac_prev
=program_suffix
;;
1034 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1035 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1036 program_suffix
=$ac_optarg ;;
1038 -program-transform-name | --program-transform-name \
1039 | --program-transform-nam | --program-transform-na \
1040 | --program-transform-n | --program-transform- \
1041 | --program-transform | --program-transfor \
1042 | --program-transfo | --program-transf \
1043 | --program-trans | --program-tran \
1044 | --progr-tra | --program-tr | --program-t)
1045 ac_prev
=program_transform_name
;;
1046 -program-transform-name=* | --program-transform-name=* \
1047 | --program-transform-nam=* | --program-transform-na=* \
1048 | --program-transform-n=* | --program-transform-=* \
1049 | --program-transform=* | --program-transfor=* \
1050 | --program-transfo=* | --program-transf=* \
1051 | --program-trans=* | --program-tran=* \
1052 | --progr-tra=* | --program-tr=* | --program-t=*)
1053 program_transform_name
=$ac_optarg ;;
1055 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1057 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1058 pdfdir
=$ac_optarg ;;
1060 -psdir | --psdir | --psdi | --psd | --ps)
1062 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1065 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1066 | -silent | --silent | --silen | --sile | --sil)
1069 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1071 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1073 sbindir
=$ac_optarg ;;
1075 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1076 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1077 | --sharedst | --shareds | --shared | --share | --shar \
1079 ac_prev
=sharedstatedir
;;
1080 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1081 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1082 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1084 sharedstatedir
=$ac_optarg ;;
1086 -site | --site | --sit)
1088 -site=* | --site=* | --sit=*)
1091 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1093 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1094 srcdir
=$ac_optarg ;;
1096 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1097 | --syscon | --sysco | --sysc | --sys | --sy)
1098 ac_prev
=sysconfdir
;;
1099 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1100 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1101 sysconfdir
=$ac_optarg ;;
1103 -target | --target | --targe | --targ | --tar | --ta | --t)
1104 ac_prev
=target_alias
;;
1105 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1106 target_alias
=$ac_optarg ;;
1108 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1111 -version | --version | --versio | --versi | --vers | -V)
1112 ac_init_version
=: ;;
1115 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1116 # Reject names that are not valid shell variable names.
1117 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1118 as_fn_error $?
"invalid package name: $ac_useropt"
1119 ac_useropt_orig
=$ac_useropt
1120 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1121 case $ac_user_opts in
1125 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1126 ac_unrecognized_sep
=', ';;
1128 eval with_
$ac_useropt=\
$ac_optarg ;;
1130 -without-* | --without-*)
1131 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1132 # Reject names that are not valid shell variable names.
1133 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1134 as_fn_error $?
"invalid package name: $ac_useropt"
1135 ac_useropt_orig
=$ac_useropt
1136 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1137 case $ac_user_opts in
1141 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1142 ac_unrecognized_sep
=', ';;
1144 eval with_
$ac_useropt=no
;;
1147 # Obsolete; use --with-x.
1150 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1151 | --x-incl | --x-inc | --x-in | --x-i)
1152 ac_prev
=x_includes
;;
1153 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1154 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1155 x_includes
=$ac_optarg ;;
1157 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1158 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1159 ac_prev
=x_libraries
;;
1160 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1161 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1162 x_libraries
=$ac_optarg ;;
1164 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1165 Try \`$0 --help' for more information"
1169 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1170 # Reject names that are not valid shell variable names.
1171 case $ac_envvar in #(
1172 '' | [0-9]* | *[!_$as_cr_alnum]* )
1173 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1175 eval $ac_envvar=\
$ac_optarg
1176 export $ac_envvar ;;
1179 # FIXME: should be removed in autoconf 3.0.
1180 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1181 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1182 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1183 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1189 if test -n "$ac_prev"; then
1190 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1191 as_fn_error $?
"missing argument to $ac_option"
1194 if test -n "$ac_unrecognized_opts"; then
1195 case $enable_option_checking in
1197 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1198 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1202 # Check all directory arguments for consistency.
1203 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1204 datadir sysconfdir sharedstatedir localstatedir includedir \
1205 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1206 libdir localedir mandir
1208 eval ac_val
=\$
$ac_var
1209 # Remove trailing slashes.
1212 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1213 eval $ac_var=\
$ac_val;;
1215 # Be sure to have absolute directory names.
1217 [\\/$
]* | ?
:[\\/]* ) continue;;
1218 NONE
| '' ) case $ac_var in *prefix
) continue;; esac;;
1220 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1223 # There might be people who depend on the old broken behavior: `$host'
1224 # used to hold the argument of --host etc.
1225 # FIXME: To remove some day.
1228 target
=$target_alias
1230 # FIXME: To remove some day.
1231 if test "x$host_alias" != x
; then
1232 if test "x$build_alias" = x
; then
1233 cross_compiling
=maybe
1234 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1235 If a cross compiler is detected then cross compile mode will be used" >&2
1236 elif test "x$build_alias" != "x$host_alias"; then
1242 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1244 test "$silent" = yes && exec 6>/dev
/null
1247 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1248 ac_ls_di
=`ls -di .` &&
1249 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1250 as_fn_error $?
"working directory cannot be determined"
1251 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1252 as_fn_error $?
"pwd does not report name of working directory"
1255 # Find the source files, if location was not specified.
1256 if test -z "$srcdir"; then
1257 ac_srcdir_defaulted
=yes
1258 # Try the directory containing this script, then the parent directory.
1259 ac_confdir
=`$as_dirname -- "$as_myself" ||
1260 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1261 X"$as_myself" : 'X\(//\)[^/]' \| \
1262 X"$as_myself" : 'X\(//\)$' \| \
1263 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1264 $as_echo X"$as_myself" |
1265 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1283 if test ! -r "$srcdir/$ac_unique_file"; then
1287 ac_srcdir_defaulted
=no
1289 if test ! -r "$srcdir/$ac_unique_file"; then
1290 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1291 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1293 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1295 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1297 # When building in place, set srcdir=.
1298 if test "$ac_abs_confdir" = "$ac_pwd"; then
1301 # Remove unnecessary trailing slashes from srcdir.
1302 # Double slashes in file names in object file debugging info
1303 # mess up M-x gdb in Emacs.
1305 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1307 for ac_var
in $ac_precious_vars; do
1308 eval ac_env_
${ac_var}_set
=\
${${ac_var}+set}
1309 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1310 eval ac_cv_env_
${ac_var}_set
=\
${${ac_var}+set}
1311 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1315 # Report the --help message.
1317 if test "$ac_init_help" = "long"; then
1318 # Omit some internal or obsolete options to make the list less imposing.
1319 # This message is too long to be a string in the A/UX 3.1 sh.
1321 \`configure' configures Cycript 0.9 to adapt to many kinds of systems.
1323 Usage: $0 [OPTION]... [VAR=VALUE]...
1325 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1326 VAR=VALUE. See below for descriptions of some of the useful variables.
1328 Defaults for the options are specified in brackets.
1331 -h, --help display this help and exit
1332 --help=short display options specific to this package
1333 --help=recursive display the short help of all the included packages
1334 -V, --version display version information and exit
1335 -q, --quiet, --silent do not print \`checking ...' messages
1336 --cache-file=FILE cache test results in FILE [disabled]
1337 -C, --config-cache alias for \`--cache-file=config.cache'
1338 -n, --no-create do not create output files
1339 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1341 Installation directories:
1342 --prefix=PREFIX install architecture-independent files in PREFIX
1343 [$ac_default_prefix]
1344 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1347 By default, \`make install' will install all the files in
1348 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1349 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1350 for instance \`--prefix=\$HOME'.
1352 For better control, use the options below.
1354 Fine tuning of the installation directories:
1355 --bindir=DIR user executables [EPREFIX/bin]
1356 --sbindir=DIR system admin executables [EPREFIX/sbin]
1357 --libexecdir=DIR program executables [EPREFIX/libexec]
1358 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1359 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1360 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1361 --libdir=DIR object code libraries [EPREFIX/lib]
1362 --includedir=DIR C header files [PREFIX/include]
1363 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1364 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1365 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1366 --infodir=DIR info documentation [DATAROOTDIR/info]
1367 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1368 --mandir=DIR man documentation [DATAROOTDIR/man]
1369 --docdir=DIR documentation root [DATAROOTDIR/doc/cycript]
1370 --htmldir=DIR html documentation [DOCDIR]
1371 --dvidir=DIR dvi documentation [DOCDIR]
1372 --pdfdir=DIR pdf documentation [DOCDIR]
1373 --psdir=DIR ps documentation [DOCDIR]
1379 --build=BUILD configure
for building on BUILD
[guessed
]
1380 --host=HOST cross
-compile to build programs to run on HOST
[BUILD
]
1384 if test -n "$ac_init_help"; then
1385 case $ac_init_help in
1386 short
| recursive
) echo "Configuration of Cycript 0.9:";;
1391 --disable-option-checking ignore unrecognized
--enable/--with options
1392 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1393 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1394 --enable-static[=PKGS
] build static libraries
[default
=no
]
1395 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1396 --enable-fast-install[=PKGS
]
1397 optimize
for fast installation
[default
=yes]
1398 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1399 --disable-universal-binary
1400 do not build with universal binary support on Darwin
1401 --enable-javascript[=ENGINE
]
1402 use a JavaScript runtime
(currently the only
1403 available option
for ENGINE is JavaScriptCore
)
1405 --disable-rpath do not hardcode runtime library paths
1408 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1409 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1410 --with-pic try to use only PIC
/non
-PIC objects
[default
=use
1412 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1413 --with-sysroot=DIR Search
for dependent libraries within DIR
1414 (or the compiler
's sysroot if not specified).
1415 --with-frameworks=DIRS add to DIRS (space separated) to the Darwin include
1416 path for frameworks with -F
1417 --with-apr=PATH prefix for installed APR or the full path to
1419 --with-gnu-ld assume the C compiler uses GNU ld default=no
1420 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1421 --without-libiconv-prefix don't search
for libiconv
in includedir and libdir
1423 Some influential environment variables
:
1424 CC C compiler
command
1425 CFLAGS C compiler flags
1426 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1427 nonstandard directory
<lib dir
>
1428 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1429 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1430 you have headers
in a nonstandard directory
<include dir
>
1432 PKG_CONFIG path to pkg
-config utility
1434 directories to add to pkg
-config's search path
1436 path overriding pkg-config's built
-in search path
1437 BISON GNU Project parser generator
(yacc replacement
)
1438 FLEX the fast lexical analyser generator
1439 GPERF perfect
hash function generator
1440 CXX C
++ compiler
command
1441 CXXFLAGS C
++ compiler flags
1442 CXXCPP C
++ preprocessor
1443 OBJCXX Objective C
++ compiler
command
1444 OBJCXXFLAGS Objective C
++ compiler flags
1446 C compiler flags
for WEBKIT
, overriding pkg
-config
1447 WEBKIT_LIBS linker flags
for WEBKIT
, overriding pkg
-config
1449 C compiler flags
for LIBFFI
, overriding pkg
-config
1450 LIBFFI_LIBS linker flags
for LIBFFI
, overriding pkg
-config
1452 prints information about the current gnustep installation
1454 Use these variables to override the choices made by
`configure' or to help
1455 it to find libraries and programs with nonstandard names/locations.
1457 Report bugs to <saurik@saurik.com>.
1458 Cycript home page: <http://www.cycript.org/>.
1463 if test "$ac_init_help" = "recursive"; then
1464 # If there are subdirs, report their specific --help.
1465 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1466 test -d "$ac_dir" ||
1467 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1472 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1474 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1475 # A ".." for each directory in $ac_dir_suffix.
1476 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1477 case $ac_top_builddir_sub in
1478 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1479 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1482 ac_abs_top_builddir=$ac_pwd
1483 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1484 # for backward compatibility:
1485 ac_top_builddir=$ac_top_build_prefix
1488 .) # We are building in place.
1490 ac_top_srcdir=$ac_top_builddir_sub
1491 ac_abs_top_srcdir=$ac_pwd ;;
1492 [\\/]* | ?:[\\/]* ) # Absolute name.
1493 ac_srcdir=$srcdir$ac_dir_suffix;
1494 ac_top_srcdir=$srcdir
1495 ac_abs_top_srcdir=$srcdir ;;
1497 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1498 ac_top_srcdir=$ac_top_build_prefix$srcdir
1499 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1501 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1503 cd "$ac_dir" || { ac_status=$?; continue; }
1504 # Check for guested configure.
1505 if test -f "$ac_srcdir/configure.gnu"; then
1507 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1508 elif test -f "$ac_srcdir/configure"; then
1510 $SHELL "$ac_srcdir/configure" --help=recursive
1512 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1514 cd "$ac_pwd" || { ac_status=$?; break; }
1518 test -n "$ac_init_help" && exit $ac_status
1519 if $ac_init_version; then
1521 Cycript configure 0.9
1522 generated by GNU Autoconf 2.68
1524 Copyright (C) 2010 Free Software Foundation, Inc.
1525 This configure script is free software; the Free Software Foundation
1526 gives unlimited permission to copy, distribute and modify it.
1531 ## ------------------------ ##
1532 ## Autoconf initialization. ##
1533 ## ------------------------ ##
1535 # ac_fn_c_try_compile LINENO
1536 # --------------------------
1537 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1538 ac_fn_c_try_compile ()
1540 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1541 rm -f conftest.$ac_objext
1542 if { { ac_try="$ac_compile"
1544 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
1545 *) ac_try_echo
=$ac_try;;
1547 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1548 $as_echo "$ac_try_echo"; } >&5
1549 (eval "$ac_compile") 2>conftest.err
1551 if test -s conftest.err
; then
1552 grep -v '^ *+' conftest.err
>conftest.er1
1553 cat conftest.er1
>&5
1554 mv -f conftest.er1 conftest.err
1556 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1557 test $ac_status = 0; } && {
1558 test -z "$ac_c_werror_flag" ||
1559 test ! -s conftest.err
1560 } && test -s conftest.
$ac_objext; then :
1563 $as_echo "$as_me: failed program was:" >&5
1564 sed 's/^/| /' conftest.
$ac_ext >&5
1568 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1569 as_fn_set_status
$ac_retval
1571 } # ac_fn_c_try_compile
1573 # ac_fn_c_try_link LINENO
1574 # -----------------------
1575 # Try to link conftest.$ac_ext, and return whether this succeeded.
1578 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1579 rm -f conftest.
$ac_objext conftest
$ac_exeext
1580 if { { ac_try
="$ac_link"
1582 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
1583 *) ac_try_echo=$ac_try;;
1585 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1586 $as_echo "$ac_try_echo"; } >&5
1587 (eval "$ac_link") 2>conftest.err
1589 if test -s conftest.err; then
1590 grep -v '^ *+' conftest.err >conftest.er1
1591 cat conftest.er1 >&5
1592 mv -f conftest.er1 conftest.err
1594 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1595 test $ac_status = 0; } && {
1596 test -z "$ac_c_werror_flag" ||
1597 test ! -s conftest.err
1598 } && test -s conftest$ac_exeext && {
1599 test "$cross_compiling" = yes ||
1600 $as_test_x conftest$ac_exeext
1604 $as_echo "$as_me: failed program was:" >&5
1605 sed 's/^/| /' conftest.$ac_ext >&5
1609 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1610 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1611 # interfere with the next link command; also delete a directory that is
1612 # left behind by Apple's compiler. We do this before executing the actions.
1613 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1614 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1615 as_fn_set_status $ac_retval
1617 } # ac_fn_c_try_link
1619 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1620 # -------------------------------------------------------
1621 # Tests whether HEADER exists and can be compiled using the include files in
1622 # INCLUDES, setting the cache variable VAR accordingly.
1623 ac_fn_c_check_header_compile ()
1625 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1627 $as_echo_n "checking for $2... " >&6; }
1628 if eval \${$3+:} false; then :
1629 $as_echo_n "(cached) " >&6
1631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1632 /* end confdefs.h. */
1636 if ac_fn_c_try_compile "$LINENO"; then :
1641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1645 $as_echo "$ac_res" >&6; }
1646 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1648 } # ac_fn_c_check_header_compile
1650 # ac_fn_c_try_cpp LINENO
1651 # ----------------------
1652 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1655 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1656 if { { ac_try="$ac_cpp conftest.$ac_ext"
1658 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
1659 *) ac_try_echo
=$ac_try;;
1661 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1662 $as_echo "$ac_try_echo"; } >&5
1663 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1665 if test -s conftest.err
; then
1666 grep -v '^ *+' conftest.err
>conftest.er1
1667 cat conftest.er1
>&5
1668 mv -f conftest.er1 conftest.err
1670 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1671 test $ac_status = 0; } > conftest.i
&& {
1672 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1673 test ! -s conftest.err
1677 $as_echo "$as_me: failed program was:" >&5
1678 sed 's/^/| /' conftest.
$ac_ext >&5
1682 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1683 as_fn_set_status
$ac_retval
1687 # ac_fn_c_try_run LINENO
1688 # ----------------------
1689 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1690 # that executables *can* be run.
1693 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1694 if { { ac_try
="$ac_link"
1696 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
1697 *) ac_try_echo=$ac_try;;
1699 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1700 $as_echo "$ac_try_echo"; } >&5
1701 (eval "$ac_link") 2>&5
1703 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1704 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1705 { { case "(($ac_try" in
1706 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
1707 *) ac_try_echo
=$ac_try;;
1709 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1710 $as_echo "$ac_try_echo"; } >&5
1711 (eval "$ac_try") 2>&5
1713 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1714 test $ac_status = 0; }; }; then :
1717 $as_echo "$as_me: program exited with status $ac_status" >&5
1718 $as_echo "$as_me: failed program was:" >&5
1719 sed 's/^/| /' conftest.
$ac_ext >&5
1721 ac_retval
=$ac_status
1723 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1724 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1725 as_fn_set_status
$ac_retval
1729 # ac_fn_c_check_func LINENO FUNC VAR
1730 # ----------------------------------
1731 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1732 ac_fn_c_check_func
()
1734 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1736 $as_echo_n "checking for $2... " >&6; }
1737 if eval \
${$3+:} false
; then :
1738 $as_echo_n "(cached) " >&6
1740 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1741 /* end confdefs.h. */
1742 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1743 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1744 #define $2 innocuous_$2
1746 /* System header to define __stub macros and hopefully few prototypes,
1747 which can conflict with char $2 (); below.
1748 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1749 <limits.h> exists even on freestanding compilers. */
1752 # include <limits.h>
1754 # include <assert.h>
1759 /* Override any GCC internal prototype to avoid an error.
1760 Use char because int might match the return type of a GCC
1761 builtin and then its argument prototype would still apply. */
1766 /* The GNU C library defines this for functions which it implements
1767 to always fail with ENOSYS. Some functions are actually named
1768 something starting with __ and the normal name is an alias. */
1769 #if defined __stub_$2 || defined __stub___$2
1781 if ac_fn_c_try_link
"$LINENO"; then :
1786 rm -f core conftest.err conftest.
$ac_objext \
1787 conftest
$ac_exeext conftest.
$ac_ext
1790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1791 $as_echo "$ac_res" >&6; }
1792 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1794 } # ac_fn_c_check_func
1796 # ac_fn_cxx_try_compile LINENO
1797 # ----------------------------
1798 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1799 ac_fn_cxx_try_compile
()
1801 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1802 rm -f conftest.
$ac_objext
1803 if { { ac_try
="$ac_compile"
1805 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
1806 *) ac_try_echo=$ac_try;;
1808 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1809 $as_echo "$ac_try_echo"; } >&5
1810 (eval "$ac_compile") 2>conftest.err
1812 if test -s conftest.err; then
1813 grep -v '^ *+' conftest.err >conftest.er1
1814 cat conftest.er1 >&5
1815 mv -f conftest.er1 conftest.err
1817 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1818 test $ac_status = 0; } && {
1819 test -z "$ac_cxx_werror_flag" ||
1820 test ! -s conftest.err
1821 } && test -s conftest.$ac_objext; then :
1824 $as_echo "$as_me: failed program was:" >&5
1825 sed 's/^/| /' conftest.$ac_ext >&5
1829 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1830 as_fn_set_status $ac_retval
1832 } # ac_fn_cxx_try_compile
1834 # ac_fn_cxx_try_cpp LINENO
1835 # ------------------------
1836 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1837 ac_fn_cxx_try_cpp ()
1839 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1840 if { { ac_try="$ac_cpp conftest.$ac_ext"
1842 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
1843 *) ac_try_echo
=$ac_try;;
1845 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1846 $as_echo "$ac_try_echo"; } >&5
1847 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1849 if test -s conftest.err
; then
1850 grep -v '^ *+' conftest.err
>conftest.er1
1851 cat conftest.er1
>&5
1852 mv -f conftest.er1 conftest.err
1854 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1855 test $ac_status = 0; } > conftest.i
&& {
1856 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1857 test ! -s conftest.err
1861 $as_echo "$as_me: failed program was:" >&5
1862 sed 's/^/| /' conftest.
$ac_ext >&5
1866 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1867 as_fn_set_status
$ac_retval
1869 } # ac_fn_cxx_try_cpp
1871 # ac_fn_cxx_try_link LINENO
1872 # -------------------------
1873 # Try to link conftest.$ac_ext, and return whether this succeeded.
1874 ac_fn_cxx_try_link
()
1876 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1877 rm -f conftest.
$ac_objext conftest
$ac_exeext
1878 if { { ac_try
="$ac_link"
1880 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
1881 *) ac_try_echo=$ac_try;;
1883 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1884 $as_echo "$ac_try_echo"; } >&5
1885 (eval "$ac_link") 2>conftest.err
1887 if test -s conftest.err; then
1888 grep -v '^ *+' conftest.err >conftest.er1
1889 cat conftest.er1 >&5
1890 mv -f conftest.er1 conftest.err
1892 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1893 test $ac_status = 0; } && {
1894 test -z "$ac_cxx_werror_flag" ||
1895 test ! -s conftest.err
1896 } && test -s conftest$ac_exeext && {
1897 test "$cross_compiling" = yes ||
1898 $as_test_x conftest$ac_exeext
1902 $as_echo "$as_me: failed program was:" >&5
1903 sed 's/^/| /' conftest.$ac_ext >&5
1907 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1908 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1909 # interfere with the next link command; also delete a directory that is
1910 # left behind by Apple's compiler. We do this before executing the actions.
1911 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1912 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1913 as_fn_set_status $ac_retval
1915 } # ac_fn_cxx_try_link
1917 # ac_fn_objcxx_try_compile LINENO
1918 # -------------------------------
1919 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1920 ac_fn_objcxx_try_compile ()
1922 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1923 rm -f conftest.$ac_objext
1924 if { { ac_try="$ac_compile"
1926 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
1927 *) ac_try_echo
=$ac_try;;
1929 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1930 $as_echo "$ac_try_echo"; } >&5
1931 (eval "$ac_compile") 2>conftest.err
1933 if test -s conftest.err
; then
1934 grep -v '^ *+' conftest.err
>conftest.er1
1935 cat conftest.er1
>&5
1936 mv -f conftest.er1 conftest.err
1938 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1939 test $ac_status = 0; } && {
1940 test -z "$ac_objcxx_werror_flag" ||
1941 test ! -s conftest.err
1942 } && test -s conftest.
$ac_objext; then :
1945 $as_echo "$as_me: failed program was:" >&5
1946 sed 's/^/| /' conftest.
$ac_ext >&5
1950 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1951 as_fn_set_status
$ac_retval
1953 } # ac_fn_objcxx_try_compile
1955 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
1956 # ---------------------------------------------------------
1957 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1958 # the include files in INCLUDES and setting the cache variable VAR
1960 ac_fn_cxx_check_header_mongrel
()
1962 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1963 if eval \
${$3+:} false
; then :
1964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1965 $as_echo_n "checking for $2... " >&6; }
1966 if eval \
${$3+:} false
; then :
1967 $as_echo_n "(cached) " >&6
1970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1971 $as_echo "$ac_res" >&6; }
1973 # Is the header compilable?
1974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1975 $as_echo_n "checking $2 usability... " >&6; }
1976 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1977 /* end confdefs.h. */
1981 if ac_fn_cxx_try_compile
"$LINENO"; then :
1982 ac_header_compiler
=yes
1984 ac_header_compiler
=no
1986 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1988 $as_echo "$ac_header_compiler" >&6; }
1990 # Is the header present?
1991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1992 $as_echo_n "checking $2 presence... " >&6; }
1993 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1994 /* end confdefs.h. */
1997 if ac_fn_cxx_try_cpp
"$LINENO"; then :
1998 ac_header_preproc
=yes
2000 ac_header_preproc
=no
2002 rm -f conftest.err conftest.i conftest.
$ac_ext
2003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2004 $as_echo "$ac_header_preproc" >&6; }
2006 # So? What about this header?
2007 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2009 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2010 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2011 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2012 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2015 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2016 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2017 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2018 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2019 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2020 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2021 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2022 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2023 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2024 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2025 ( $as_echo "## -------------------------------- ##
2026 ## Report this to saurik@saurik.com ##
2027 ## -------------------------------- ##"
2028 ) | sed "s/^/$as_me: WARNING: /" >&2
2031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2032 $as_echo_n "checking for $2... " >&6; }
2033 if eval \
${$3+:} false
; then :
2034 $as_echo_n "(cached) " >&6
2036 eval "$3=\$ac_header_compiler"
2039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2040 $as_echo "$ac_res" >&6; }
2042 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2044 } # ac_fn_cxx_check_header_mongrel
2046 # ac_fn_objcxx_try_link LINENO
2047 # ----------------------------
2048 # Try to link conftest.$ac_ext, and return whether this succeeded.
2049 ac_fn_objcxx_try_link
()
2051 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2052 rm -f conftest.
$ac_objext conftest
$ac_exeext
2053 if { { ac_try
="$ac_link"
2055 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
2056 *) ac_try_echo=$ac_try;;
2058 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2059 $as_echo "$ac_try_echo"; } >&5
2060 (eval "$ac_link") 2>conftest.err
2062 if test -s conftest.err; then
2063 grep -v '^ *+' conftest.err >conftest.er1
2064 cat conftest.er1 >&5
2065 mv -f conftest.er1 conftest.err
2067 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2068 test $ac_status = 0; } && {
2069 test -z "$ac_objcxx_werror_flag" ||
2070 test ! -s conftest.err
2071 } && test -s conftest$ac_exeext && {
2072 test "$cross_compiling" = yes ||
2073 $as_test_x conftest$ac_exeext
2077 $as_echo "$as_me: failed program was:" >&5
2078 sed 's/^/| /' conftest.$ac_ext >&5
2082 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2083 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2084 # interfere with the next link command; also delete a directory that is
2085 # left behind by Apple's compiler. We do this before executing the actions.
2086 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2087 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2088 as_fn_set_status $ac_retval
2090 } # ac_fn_objcxx_try_link
2091 cat >config.log <<_ACEOF
2092 This file contains any messages produced by compilers while
2093 running configure, to aid debugging if configure makes a mistake.
2095 It was created by Cycript $as_me 0.9, which was
2096 generated by GNU Autoconf 2.68. Invocation command line was
2108 hostname = `(hostname
|| uname
-n) 2>/dev
/null
| sed 1q
`
2109 uname -m = `(uname
-m) 2>/dev
/null
|| echo unknown
`
2110 uname -r = `(uname
-r) 2>/dev
/null
|| echo unknown
`
2111 uname -s = `(uname
-s) 2>/dev
/null
|| echo unknown
`
2112 uname -v = `(uname
-v) 2>/dev
/null
|| echo unknown
`
2114 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null
|| echo unknown
`
2115 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null
|| echo unknown
`
2117 /bin/arch = `(/bin
/arch
) 2>/dev
/null
|| echo unknown
`
2118 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null
|| echo unknown
`
2119 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null
|| echo unknown
`
2120 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null
|| echo unknown
`
2121 /bin/machine = `(/bin
/machine
) 2>/dev
/null
|| echo unknown
`
2122 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null
|| echo unknown
`
2123 /bin/universe = `(/bin
/universe
) 2>/dev
/null
|| echo unknown
`
2127 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2131 test -z "$as_dir" && as_dir=.
2132 $as_echo "PATH: $as_dir"
2148 # Keep a trace of the command line.
2149 # Strip out --no-create and --no-recursion so they do not pile up.
2150 # Strip out --silent because we don't want to record it for future runs.
2151 # Also quote any args containing shell meta-characters.
2152 # Make two passes to allow for proper duplicate-argument suppression.
2156 ac_must_keep_next=false
2162 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2163 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2164 | -silent | --silent | --silen | --sile | --sil)
2167 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2170 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2172 as_fn_append ac_configure_args1 " '$ac_arg'"
2173 if test $ac_must_keep_next = true; then
2174 ac_must_keep_next=false # Got value, back to normal.
2177 *=* | --config-cache | -C | -disable-* | --disable-* \
2178 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2179 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2180 | -with-* | --with-* | -without-* | --without-* | --x)
2181 case "$ac_configure_args0 " in
2182 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2185 -* ) ac_must_keep_next=true ;;
2188 as_fn_append ac_configure_args " '$ac_arg'"
2193 { ac_configure_args0=; unset ac_configure_args0;}
2194 { ac_configure_args1=; unset ac_configure_args1;}
2196 # When interrupted or exit'd, cleanup temporary files, and complete
2197 # config.log. We remove comments because anyway the quotes in there
2198 # would cause problems or look ugly.
2199 # WARNING: Use '\'' to represent an apostrophe within the trap.
2200 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2201 trap 'exit_status=$?
2202 # Save into config.log some information that might help in debugging.
2206 $as_echo "## ---------------- ##
2207 ## Cache variables. ##
2208 ## ---------------- ##"
2210 # The following way of writing the cache mishandles newlines in values,
2212 for ac_var in `(set) 2>&1 | sed -n '\''s
/^\
([a
-zA-Z_][a
-zA-Z0-9_]*\
)=.
*/\
1/p
'\''`; do
2213 eval ac_val=\$$ac_var
2217 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2218 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2221 _ | IFS | as_nl) ;; #(
2222 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2223 *) { eval $ac_var=; unset $ac_var;} ;;
2228 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2229 *${as_nl}ac_space=\ *)
2231 "s/'\''/'\''\\\\'\'''\''/g;
2232 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2235 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2242 $as_echo "## ----------------- ##
2243 ## Output variables. ##
2244 ## ----------------- ##"
2246 for ac_var in $ac_subst_vars
2248 eval ac_val=\$$ac_var
2250 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2252 $as_echo "$ac_var='\''$ac_val'\''"
2256 if test -n "$ac_subst_files"; then
2257 $as_echo "## ------------------- ##
2258 ## File substitutions. ##
2259 ## ------------------- ##"
2261 for ac_var in $ac_subst_files
2263 eval ac_val=\$$ac_var
2265 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2267 $as_echo "$ac_var='\''$ac_val'\''"
2272 if test -s confdefs.h; then
2273 $as_echo "## ----------- ##
2280 test "$ac_signal" != 0 &&
2281 $as_echo "$as_me: caught signal $ac_signal"
2282 $as_echo "$as_me: exit $exit_status"
2284 rm -f core *.core core.conftest.* &&
2285 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2288 for ac_signal in 1 2 13 15; do
2289 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2293 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2294 rm -f -r conftest* confdefs.h
2296 $as_echo "/* confdefs.h */" > confdefs.h
2298 # Predefined preprocessor variables.
2300 cat >>confdefs.h <<_ACEOF
2301 #define PACKAGE_NAME "$PACKAGE_NAME"
2304 cat >>confdefs.h <<_ACEOF
2305 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2308 cat >>confdefs.h <<_ACEOF
2309 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2312 cat >>confdefs.h <<_ACEOF
2313 #define PACKAGE_STRING "$PACKAGE_STRING"
2316 cat >>confdefs.h <<_ACEOF
2317 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2320 cat >>confdefs.h <<_ACEOF
2321 #define PACKAGE_URL "$PACKAGE_URL"
2325 # Let the site file select an alternate cache file if it wants to.
2326 # Prefer an explicitly selected file to automatically selected ones.
2329 if test -n "$CONFIG_SITE"; then
2330 # We do not want a PATH search for config.site.
2331 case $CONFIG_SITE in #((
2332 -*) ac_site_file1=./$CONFIG_SITE;;
2333 */*) ac_site_file1=$CONFIG_SITE;;
2334 *) ac_site_file1=./$CONFIG_SITE;;
2336 elif test "x$prefix" != xNONE; then
2337 ac_site_file1=$prefix/share/config.site
2338 ac_site_file2=$prefix/etc/config.site
2340 ac_site_file1=$ac_default_prefix/share/config.site
2341 ac_site_file2=$ac_default_prefix/etc/config.site
2343 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2345 test "x$ac_site_file" = xNONE && continue
2346 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2347 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2348 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2349 sed 's/^/| /' "$ac_site_file" >&5
2351 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2352 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2353 as_fn_error $? "failed to load site
script $ac_site_file
2354 See \
`config.log' for more details" "$LINENO" 5; }
2358 if test -r "$cache_file"; then
2359 # Some versions of bash will fail to source /dev/null (special files
2360 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2361 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2362 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2363 $as_echo "$as_me: loading cache $cache_file" >&6;}
2365 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2366 *) . "./$cache_file";;
2370 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2371 $as_echo "$as_me: creating cache $cache_file" >&6;}
2375 # Check that the precious variables saved in the cache have kept the same
2377 ac_cache_corrupted=false
2378 for ac_var in $ac_precious_vars; do
2379 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2380 eval ac_new_set=\$ac_env_${ac_var}_set
2381 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2382 eval ac_new_val=\$ac_env_${ac_var}_value
2383 case $ac_old_set,$ac_new_set in
2385 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2386 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2387 ac_cache_corrupted=: ;;
2389 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2390 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2391 ac_cache_corrupted=: ;;
2394 if test "x$ac_old_val" != "x$ac_new_val"; then
2395 # differences in whitespace do not lead to failure.
2396 ac_old_val_w=`echo x
$ac_old_val`
2397 ac_new_val_w=`echo x
$ac_new_val`
2398 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2399 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2400 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2401 ac_cache_corrupted=:
2403 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2404 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2405 eval $ac_var=\$ac_old_val
2407 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2408 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2409 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2410 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2413 # Pass precious variables to config.status.
2414 if test "$ac_new_set" = set; then
2416 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2417 *) ac_arg=$ac_var=$ac_new_val ;;
2419 case " $ac_configure_args " in
2420 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2421 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2425 if $ac_cache_corrupted; then
2426 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2427 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2428 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2429 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2430 as_fn_error $? "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2432 ## -------------------- ##
2433 ## Main body of script. ##
2434 ## -------------------- ##
2437 ac_cpp='$CPP $CPPFLAGS'
2438 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2439 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2440 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2445 for ac_dir in . "$srcdir"/.; do
2446 if test -f "$ac_dir/install-sh"; then
2448 ac_install_sh="$ac_aux_dir/install-sh -c"
2450 elif test -f "$ac_dir/install.sh"; then
2452 ac_install_sh="$ac_aux_dir/install.sh -c"
2454 elif test -f "$ac_dir/shtool"; then
2456 ac_install_sh="$ac_aux_dir/shtool install -c"
2460 if test -z "$ac_aux_dir"; then
2461 as_fn_error $? "cannot find install-sh, install.sh, or shtool in . \"$srcdir\"/." "$LINENO" 5
2464 # These three variables are undocumented and unsupported,
2465 # and are intended to be withdrawn in a future Autoconf release.
2466 # They can cause serious problems if a builder's source tree is in a directory
2467 # whose full name contains unusual characters.
2468 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2469 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2470 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2475 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&5
2476 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&2;} ;;
2482 macro_revision='1.3293'
2496 ltmain="$ac_aux_dir/ltmain.sh"
2498 # Make sure we can run config.sub.
2499 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2500 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2503 $as_echo_n "checking build system type... " >&6; }
2504 if ${ac_cv_build+:} false; then :
2505 $as_echo_n "(cached) " >&6
2507 ac_build_alias=$build_alias
2508 test "x$ac_build_alias" = x &&
2509 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2510 test "x$ac_build_alias" = x &&
2511 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2512 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2513 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2517 $as_echo "$ac_cv_build" >&6; }
2518 case $ac_cv_build in
2520 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2523 ac_save_IFS=$IFS; IFS='-'
2529 # Remember, the first character of IFS is used to create $*,
2530 # except with old shells:
2533 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2537 $as_echo_n "checking host system type... " >&6; }
2538 if ${ac_cv_host+:} false; then :
2539 $as_echo_n "(cached) " >&6
2541 if test "x$host_alias" = x; then
2542 ac_cv_host=$ac_cv_build
2544 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2545 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2550 $as_echo "$ac_cv_host" >&6; }
2553 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2556 ac_save_IFS=$IFS; IFS='-'
2562 # Remember, the first character of IFS is used to create $*,
2563 # except with old shells:
2566 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2569 # Backslashify metacharacters that are still active within
2570 # double-quoted strings.
2571 sed_quote_subst='s/\(["`$
\\]\
)/\\\
1/g
'
2573 # Same as above, but do not quote variable references.
2574 double_quote_subst='s
/\
(["`\\]\)/\\\1/g'
2576 # Sed substitution to delay expansion of an escaped shell variable in a
2577 # double_quote_subst'ed string.
2578 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
2580 # Sed substitution to delay expansion of an escaped single quote.
2581 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
2583 # Sed substitution to avoid accidental globbing in evaled expressions
2584 no_glob_subst='s/\*/\\\*/g'
2586 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
2587 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
2588 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
2590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print
strings" >&5
2591 $as_echo_n "checking how to print
strings...
" >&6; }
2592 # Test print first, because it will be a builtin if present.
2593 if test "X
`( print -r -- -n ) 2>/dev/null`" = X-n && \
2594 test "X
`print -r -- $ECHO 2>/dev/null`" = "X
$ECHO"; then
2596 elif test "X
`printf %s $ECHO 2>/dev/null`" = "X
$ECHO"; then
2599 # Use this function as a fallback that always works.
2600 func_fallback_echo ()
2602 eval 'cat <<_LTECHO_EOF
2606 ECHO='func_fallback_echo'
2609 # func_echo_all arg...
2610 # Invoke $ECHO with all args, space-separated.
2617 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: printf" >&5
2618 $as_echo "printf" >&6; } ;;
2619 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: print
-r" >&5
2620 $as_echo "print
-r" >&6; } ;;
2621 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: cat" >&5
2622 $as_echo "cat" >&6; } ;;
2639 ac_cpp='$CPP $CPPFLAGS'
2640 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2641 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2642 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2643 if test -n "$ac_tool_prefix"; then
2644 # Extract the first word of "${ac_tool_prefix}gcc
", so it can be a program name with args.
2645 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
2647 $as_echo_n "checking
for $ac_word...
" >&6; }
2648 if ${ac_cv_prog_CC+:} false; then :
2649 $as_echo_n "(cached
) " >&6
2651 if test -n "$CC"; then
2652 ac_cv_prog_CC="$CC" # Let the user override the test.
2654 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2658 test -z "$as_dir" && as_dir=.
2659 for ac_exec_ext in '' $ac_executable_extensions; do
2660 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2661 ac_cv_prog_CC="${ac_tool_prefix}gcc
"
2662 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
2672 if test -n "$CC"; then
2673 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC" >&5
2674 $as_echo "$CC" >&6; }
2676 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
2677 $as_echo "no
" >&6; }
2682 if test -z "$ac_cv_prog_CC"; then
2684 # Extract the first word of "gcc
", so it can be a program name with args.
2685 set dummy gcc; ac_word=$2
2686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
2687 $as_echo_n "checking
for $ac_word...
" >&6; }
2688 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2689 $as_echo_n "(cached
) " >&6
2691 if test -n "$ac_ct_CC"; then
2692 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2694 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2698 test -z "$as_dir" && as_dir=.
2699 for ac_exec_ext in '' $ac_executable_extensions; do
2700 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2701 ac_cv_prog_ac_ct_CC="gcc
"
2702 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
2711 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2712 if test -n "$ac_ct_CC"; then
2713 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_CC" >&5
2714 $as_echo "$ac_ct_CC" >&6; }
2716 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
2717 $as_echo "no
" >&6; }
2720 if test "x
$ac_ct_CC" = x; then
2723 case $cross_compiling:$ac_tool_warned in
2725 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
2726 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
2727 ac_tool_warned=yes ;;
2735 if test -z "$CC"; then
2736 if test -n "$ac_tool_prefix"; then
2737 # Extract the first word of "${ac_tool_prefix}cc
", so it can be a program name with args.
2738 set dummy ${ac_tool_prefix}cc; ac_word=$2
2739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
2740 $as_echo_n "checking
for $ac_word...
" >&6; }
2741 if ${ac_cv_prog_CC+:} false; then :
2742 $as_echo_n "(cached
) " >&6
2744 if test -n "$CC"; then
2745 ac_cv_prog_CC="$CC" # Let the user override the test.
2747 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2751 test -z "$as_dir" && as_dir=.
2752 for ac_exec_ext in '' $ac_executable_extensions; do
2753 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2754 ac_cv_prog_CC="${ac_tool_prefix}cc
"
2755 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
2765 if test -n "$CC"; then
2766 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC" >&5
2767 $as_echo "$CC" >&6; }
2769 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
2770 $as_echo "no
" >&6; }
2776 if test -z "$CC"; then
2777 # Extract the first word of "cc
", so it can be a program name with args.
2778 set dummy cc; ac_word=$2
2779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
2780 $as_echo_n "checking
for $ac_word...
" >&6; }
2781 if ${ac_cv_prog_CC+:} false; then :
2782 $as_echo_n "(cached
) " >&6
2784 if test -n "$CC"; then
2785 ac_cv_prog_CC="$CC" # Let the user override the test.
2788 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2792 test -z "$as_dir" && as_dir=.
2793 for ac_exec_ext in '' $ac_executable_extensions; do
2794 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2795 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr
/ucb
/cc
"; then
2796 ac_prog_rejected=yes
2800 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
2807 if test $ac_prog_rejected = yes; then
2808 # We found a bogon in the path, so make sure we never use it.
2809 set dummy $ac_cv_prog_CC
2811 if test $# != 0; then
2812 # We chose a different compiler from the bogus one.
2813 # However, it has the same basename, so the bogon will be chosen
2814 # first if we set CC to just the basename; use the full file name.
2816 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@
"
2822 if test -n "$CC"; then
2823 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC" >&5
2824 $as_echo "$CC" >&6; }
2826 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
2827 $as_echo "no
" >&6; }
2832 if test -z "$CC"; then
2833 if test -n "$ac_tool_prefix"; then
2834 for ac_prog in cl.exe
2836 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2837 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
2839 $as_echo_n "checking
for $ac_word...
" >&6; }
2840 if ${ac_cv_prog_CC+:} false; then :
2841 $as_echo_n "(cached
) " >&6
2843 if test -n "$CC"; then
2844 ac_cv_prog_CC="$CC" # Let the user override the test.
2846 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2850 test -z "$as_dir" && as_dir=.
2851 for ac_exec_ext in '' $ac_executable_extensions; do
2852 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2853 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2854 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
2864 if test -n "$CC"; then
2865 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC" >&5
2866 $as_echo "$CC" >&6; }
2868 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
2869 $as_echo "no
" >&6; }
2873 test -n "$CC" && break
2876 if test -z "$CC"; then
2878 for ac_prog in cl.exe
2880 # Extract the first word of "$ac_prog", so it can be a program name with args.
2881 set dummy $ac_prog; ac_word=$2
2882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
2883 $as_echo_n "checking
for $ac_word...
" >&6; }
2884 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2885 $as_echo_n "(cached
) " >&6
2887 if test -n "$ac_ct_CC"; then
2888 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2890 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2894 test -z "$as_dir" && as_dir=.
2895 for ac_exec_ext in '' $ac_executable_extensions; do
2896 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2897 ac_cv_prog_ac_ct_CC="$ac_prog"
2898 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
2907 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2908 if test -n "$ac_ct_CC"; then
2909 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_CC" >&5
2910 $as_echo "$ac_ct_CC" >&6; }
2912 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
2913 $as_echo "no
" >&6; }
2917 test -n "$ac_ct_CC" && break
2920 if test "x
$ac_ct_CC" = x; then
2923 case $cross_compiling:$ac_tool_warned in
2925 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
2926 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
2927 ac_tool_warned=yes ;;
2936 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2937 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2938 as_fn_error $? "no acceptable C compiler found in \$PATH
2939 See \`config.log' for more details
" "$LINENO" 5; }
2941 # Provide some information about the compiler.
2942 $as_echo "$as_me:${as_lineno-$LINENO}: checking
for C compiler version
" >&5
2945 for ac_option in --version -v -V -qversion; do
2946 { { ac_try="$ac_compiler $ac_option >&5"
2948 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2949 *) ac_try_echo=$ac_try;;
2951 eval ac_try_echo="\"\
$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2952 $as_echo "$ac_try_echo"; } >&5
2953 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2955 if test -s conftest.err; then
2957 ... rest of stderr output deleted ...
2958 10q' conftest.err >conftest.er1
2959 cat conftest.er1 >&5
2961 rm -f conftest.er1 conftest.err
2962 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
2963 test $ac_status = 0; }
2966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2967 /* end confdefs.h. */
2977 ac_clean_files_save=$ac_clean_files
2978 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out
"
2979 # Try to create an executable without -o first, disregard a.out.
2980 # It will help us diagnose broken compilers, and finding out an intuition
2982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works
" >&5
2983 $as_echo_n "checking whether the C compiler works...
" >&6; }
2984 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2986 # The possible output files:
2987 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.
*"
2990 for ac_file in $ac_files
2993 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2994 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2999 if { { ac_try="$ac_link_default"
3001 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3002 *) ac_try_echo=$ac_try;;
3004 eval ac_try_echo="\"\
$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3005 $as_echo "$ac_try_echo"; } >&5
3006 (eval "$ac_link_default") 2>&5
3008 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
3009 test $ac_status = 0; }; then :
3010 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3011 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3012 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3013 # so that the user can short-circuit this test for compilers unknown to
3015 for ac_file in $ac_files ''
3017 test -f "$ac_file" || continue
3019 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3022 # We found the default executable, but exeext='' is most
3026 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3028 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3030 # We set ac_cv_exeext here because the later test for it is not
3031 # safe: cross compilers may not add the suffix if given an `-o'
3032 # argument, so we may need to know it at that point already.
3033 # Even if this section looks crufty: it has the advantage of
3040 test "$ac_cv_exeext" = no && ac_cv_exeext=
3045 if test -z "$ac_file"; then :
3046 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
3047 $as_echo "no
" >&6; }
3048 $as_echo "$as_me: failed program was
:" >&5
3049 sed 's/^/| /' conftest.$ac_ext >&5
3051 { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
3052 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3053 as_fn_error 77 "C compiler cannot create executables
3054 See \`config.log' for more details
" "$LINENO" 5; }
3056 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
3057 $as_echo "yes" >&6; }
3059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for C compiler default output
file name
" >&5
3060 $as_echo_n "checking
for C compiler default output
file name...
" >&6; }
3061 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_file" >&5
3062 $as_echo "$ac_file" >&6; }
3063 ac_exeext=$ac_cv_exeext
3065 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3066 ac_clean_files=$ac_clean_files_save
3067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for suffix of executables
" >&5
3068 $as_echo_n "checking
for suffix of executables...
" >&6; }
3069 if { { ac_try="$ac_link"
3071 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3072 *) ac_try_echo=$ac_try;;
3074 eval ac_try_echo="\"\
$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3075 $as_echo "$ac_try_echo"; } >&5
3076 (eval "$ac_link") 2>&5
3078 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
3079 test $ac_status = 0; }; then :
3080 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3081 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3082 # work properly (i.e., refer to `conftest.exe'), while it won't with
3084 for ac_file in conftest.exe conftest conftest.*; do
3085 test -f "$ac_file" || continue
3087 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3088 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3094 { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
3095 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3096 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3097 See \`config.log' for more details
" "$LINENO" 5; }
3099 rm -f conftest conftest$ac_cv_exeext
3100 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_exeext" >&5
3101 $as_echo "$ac_cv_exeext" >&6; }
3103 rm -f conftest.$ac_ext
3104 EXEEXT=$ac_cv_exeext
3106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3107 /* end confdefs.h. */
3112 FILE *f = fopen ("conftest.out
", "w
");
3113 return ferror (f) || fclose (f) != 0;
3119 ac_clean_files="$ac_clean_files conftest.out
"
3120 # Check that the compiler produces executables we can run. If not, either
3121 # the compiler is broken, or we cross compile.
3122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling
" >&5
3123 $as_echo_n "checking whether we are cross compiling...
" >&6; }
3124 if test "$cross_compiling" != yes; then
3125 { { ac_try="$ac_link"
3127 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3128 *) ac_try_echo=$ac_try;;
3130 eval ac_try_echo="\"\
$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3131 $as_echo "$ac_try_echo"; } >&5
3132 (eval "$ac_link") 2>&5
3134 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
3135 test $ac_status = 0; }
3136 if { ac_try='./conftest$ac_cv_exeext'
3137 { { case "(($ac_try" in
3138 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3139 *) ac_try_echo=$ac_try;;
3141 eval ac_try_echo="\"\
$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3142 $as_echo "$ac_try_echo"; } >&5
3143 (eval "$ac_try") 2>&5
3145 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
3146 test $ac_status = 0; }; }; then
3149 if test "$cross_compiling" = maybe; then
3152 { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
3153 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3154 as_fn_error $? "cannot run C compiled programs.
3155 If you meant to cross compile, use \`--host'.
3156 See \
`config.log' for more details" "$LINENO" 5; }
3160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3161 $as_echo "$cross_compiling" >&6; }
3163 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3164 ac_clean_files=$ac_clean_files_save
3165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3166 $as_echo_n "checking for suffix of object files... " >&6; }
3167 if ${ac_cv_objext+:} false; then :
3168 $as_echo_n "(cached) " >&6
3170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3171 /* end confdefs.h. */
3181 rm -f conftest.o conftest.obj
3182 if { { ac_try="$ac_compile"
3184 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
3185 *) ac_try_echo
=$ac_try;;
3187 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3188 $as_echo "$ac_try_echo"; } >&5
3189 (eval "$ac_compile") 2>&5
3191 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3192 test $ac_status = 0; }; then :
3193 for ac_file
in conftest.o conftest.obj conftest.
*; do
3194 test -f "$ac_file" || continue;
3196 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.dSYM
) ;;
3197 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
3202 $as_echo "$as_me: failed program was:" >&5
3203 sed 's/^/| /' conftest.
$ac_ext >&5
3205 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3206 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3207 as_fn_error $?
"cannot compute suffix of object files: cannot compile
3208 See \`config.log' for more details" "$LINENO" 5; }
3210 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
3212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3213 $as_echo "$ac_cv_objext" >&6; }
3214 OBJEXT
=$ac_cv_objext
3216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3217 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3218 if ${ac_cv_c_compiler_gnu+:} false
; then :
3219 $as_echo_n "(cached) " >&6
3221 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3222 /* end confdefs.h. */
3235 if ac_fn_c_try_compile
"$LINENO"; then :
3240 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3241 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
3244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3245 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3246 if test $ac_compiler_gnu = yes; then
3251 ac_test_CFLAGS
=${CFLAGS+set}
3252 ac_save_CFLAGS
=$CFLAGS
3253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3254 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3255 if ${ac_cv_prog_cc_g+:} false
; then :
3256 $as_echo_n "(cached) " >&6
3258 ac_save_c_werror_flag
=$ac_c_werror_flag
3259 ac_c_werror_flag
=yes
3262 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3263 /* end confdefs.h. */
3273 if ac_fn_c_try_compile
"$LINENO"; then :
3277 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3278 /* end confdefs.h. */
3288 if ac_fn_c_try_compile
"$LINENO"; then :
3291 ac_c_werror_flag
=$ac_save_c_werror_flag
3293 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3294 /* end confdefs.h. */
3304 if ac_fn_c_try_compile
"$LINENO"; then :
3307 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3309 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3311 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3312 ac_c_werror_flag
=$ac_save_c_werror_flag
3314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3315 $as_echo "$ac_cv_prog_cc_g" >&6; }
3316 if test "$ac_test_CFLAGS" = set; then
3317 CFLAGS
=$ac_save_CFLAGS
3318 elif test $ac_cv_prog_cc_g = yes; then
3319 if test "$GCC" = yes; then
3325 if test "$GCC" = yes; then
3331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3332 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3333 if ${ac_cv_prog_cc_c89+:} false
; then :
3334 $as_echo_n "(cached) " >&6
3336 ac_cv_prog_cc_c89
=no
3338 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3339 /* end confdefs.h. */
3342 #include <sys/types.h>
3343 #include <sys/stat.h>
3344 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3345 struct buf { int x; };
3346 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3347 static char *e (p, i)
3353 static char *f (char * (*g) (char **, int), char **p, ...)
3358 s = g (p, va_arg (v,int));
3363 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3364 function prototypes and stuff, but not '\xHH' hex character constants.
3365 These don't provoke an error unfortunately, instead are silently treated
3366 as 'x'. The following induces an error, until -std is added to get
3367 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3368 array size at least. It's necessary to write '\x00'==0 to get something
3369 that's true only with -std. */
3370 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3372 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3373 inside strings and character constants. */
3375 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3377 int test (int i, double x);
3378 struct s1 {int (*f) (int a);};
3379 struct s2 {int (*f) (double a);};
3380 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3386 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3391 for ac_arg
in '' -qlanglvl=extc89
-qlanglvl=ansi
-std \
3392 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3394 CC
="$ac_save_CC $ac_arg"
3395 if ac_fn_c_try_compile
"$LINENO"; then :
3396 ac_cv_prog_cc_c89
=$ac_arg
3398 rm -f core conftest.err conftest.
$ac_objext
3399 test "x$ac_cv_prog_cc_c89" != "xno" && break
3401 rm -f conftest.
$ac_ext
3406 case "x$ac_cv_prog_cc_c89" in
3408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3409 $as_echo "none needed" >&6; } ;;
3411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3412 $as_echo "unsupported" >&6; } ;;
3414 CC
="$CC $ac_cv_prog_cc_c89"
3415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3416 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3418 if test "x$ac_cv_prog_cc_c89" != xno
; then :
3423 ac_cpp
='$CPP $CPPFLAGS'
3424 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3425 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3426 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
3429 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
3430 if ${ac_cv_path_SED+:} false
; then :
3431 $as_echo_n "(cached) " >&6
3433 ac_script
=s
/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
/
3434 for ac_i
in 1 2 3 4 5 6 7; do
3435 ac_script
="$ac_script$as_nl$ac_script"
3437 echo "$ac_script" 2>/dev
/null
| sed 99q
>conftest.
sed
3438 { ac_script
=; unset ac_script
;}
3439 if test -z "$SED"; then
3440 ac_path_SED_found
=false
3441 # Loop through the user's path and test for each of PROGNAME-LIST
3442 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3446 test -z "$as_dir" && as_dir
=.
3447 for ac_prog
in sed gsed
; do
3448 for ac_exec_ext
in '' $ac_executable_extensions; do
3449 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
3450 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
3451 # Check for GNU ac_path_SED and select it if it is found.
3452 # Check for GNU $ac_path_SED
3453 case `"$ac_path_SED" --version 2>&1` in
3455 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
3458 $as_echo_n 0123456789 >"conftest.in"
3461 cat "conftest.in" "conftest.in" >"conftest.tmp"
3462 mv "conftest.tmp" "conftest.in"
3463 cp "conftest.in" "conftest.nl"
3464 $as_echo '' >> "conftest.nl"
3465 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
3466 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
3467 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3468 if test $ac_count -gt ${ac_path_SED_max-0}; then
3469 # Best one so far, save it but keep looking for a better one
3470 ac_cv_path_SED
="$ac_path_SED"
3471 ac_path_SED_max
=$ac_count
3473 # 10*(2^10) chars as input seems more than enough
3474 test $ac_count -gt 10 && break
3476 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3479 $ac_path_SED_found && break 3
3484 if test -z "$ac_cv_path_SED"; then
3485 as_fn_error $?
"no acceptable sed could be found in \$PATH" "$LINENO" 5
3492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
3493 $as_echo "$ac_cv_path_SED" >&6; }
3494 SED
="$ac_cv_path_SED"
3497 test -z "$SED" && SED
=sed
3498 Xsed
="$SED -e 1s/^X//"
3510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3511 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3512 if ${ac_cv_path_GREP+:} false
; then :
3513 $as_echo_n "(cached) " >&6
3515 if test -z "$GREP"; then
3516 ac_path_GREP_found
=false
3517 # Loop through the user's path and test for each of PROGNAME-LIST
3518 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3519 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3522 test -z "$as_dir" && as_dir
=.
3523 for ac_prog
in grep ggrep
; do
3524 for ac_exec_ext
in '' $ac_executable_extensions; do
3525 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
3526 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3527 # Check for GNU ac_path_GREP and select it if it is found.
3528 # Check for GNU $ac_path_GREP
3529 case `"$ac_path_GREP" --version 2>&1` in
3531 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
3534 $as_echo_n 0123456789 >"conftest.in"
3537 cat "conftest.in" "conftest.in" >"conftest.tmp"
3538 mv "conftest.tmp" "conftest.in"
3539 cp "conftest.in" "conftest.nl"
3540 $as_echo 'GREP' >> "conftest.nl"
3541 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
3542 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
3543 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3544 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3545 # Best one so far, save it but keep looking for a better one
3546 ac_cv_path_GREP
="$ac_path_GREP"
3547 ac_path_GREP_max
=$ac_count
3549 # 10*(2^10) chars as input seems more than enough
3550 test $ac_count -gt 10 && break
3552 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3555 $ac_path_GREP_found && break 3
3560 if test -z "$ac_cv_path_GREP"; then
3561 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3564 ac_cv_path_GREP
=$GREP
3568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3569 $as_echo "$ac_cv_path_GREP" >&6; }
3570 GREP
="$ac_cv_path_GREP"
3573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3574 $as_echo_n "checking for egrep... " >&6; }
3575 if ${ac_cv_path_EGREP+:} false
; then :
3576 $as_echo_n "(cached) " >&6
3578 if echo a
| $GREP -E '(a|b)' >/dev
/null
2>&1
3579 then ac_cv_path_EGREP
="$GREP -E"
3581 if test -z "$EGREP"; then
3582 ac_path_EGREP_found
=false
3583 # Loop through the user's path and test for each of PROGNAME-LIST
3584 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3585 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3588 test -z "$as_dir" && as_dir
=.
3589 for ac_prog
in egrep; do
3590 for ac_exec_ext
in '' $ac_executable_extensions; do
3591 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
3592 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3593 # Check for GNU ac_path_EGREP and select it if it is found.
3594 # Check for GNU $ac_path_EGREP
3595 case `"$ac_path_EGREP" --version 2>&1` in
3597 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
3600 $as_echo_n 0123456789 >"conftest.in"
3603 cat "conftest.in" "conftest.in" >"conftest.tmp"
3604 mv "conftest.tmp" "conftest.in"
3605 cp "conftest.in" "conftest.nl"
3606 $as_echo 'EGREP' >> "conftest.nl"
3607 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
3608 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
3609 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3610 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3611 # Best one so far, save it but keep looking for a better one
3612 ac_cv_path_EGREP
="$ac_path_EGREP"
3613 ac_path_EGREP_max
=$ac_count
3615 # 10*(2^10) chars as input seems more than enough
3616 test $ac_count -gt 10 && break
3618 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3621 $ac_path_EGREP_found && break 3
3626 if test -z "$ac_cv_path_EGREP"; then
3627 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3630 ac_cv_path_EGREP
=$EGREP
3635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3636 $as_echo "$ac_cv_path_EGREP" >&6; }
3637 EGREP
="$ac_cv_path_EGREP"
3640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
3641 $as_echo_n "checking for fgrep... " >&6; }
3642 if ${ac_cv_path_FGREP+:} false
; then :
3643 $as_echo_n "(cached) " >&6
3645 if echo 'ab*c' | $GREP -F 'ab*c' >/dev
/null
2>&1
3646 then ac_cv_path_FGREP
="$GREP -F"
3648 if test -z "$FGREP"; then
3649 ac_path_FGREP_found
=false
3650 # Loop through the user's path and test for each of PROGNAME-LIST
3651 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3652 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3655 test -z "$as_dir" && as_dir
=.
3656 for ac_prog
in fgrep
; do
3657 for ac_exec_ext
in '' $ac_executable_extensions; do
3658 ac_path_FGREP
="$as_dir/$ac_prog$ac_exec_ext"
3659 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
3660 # Check for GNU ac_path_FGREP and select it if it is found.
3661 # Check for GNU $ac_path_FGREP
3662 case `"$ac_path_FGREP" --version 2>&1` in
3664 ac_cv_path_FGREP
="$ac_path_FGREP" ac_path_FGREP_found
=:;;
3667 $as_echo_n 0123456789 >"conftest.in"
3670 cat "conftest.in" "conftest.in" >"conftest.tmp"
3671 mv "conftest.tmp" "conftest.in"
3672 cp "conftest.in" "conftest.nl"
3673 $as_echo 'FGREP' >> "conftest.nl"
3674 "$ac_path_FGREP" FGREP
< "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
3675 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
3676 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3677 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
3678 # Best one so far, save it but keep looking for a better one
3679 ac_cv_path_FGREP
="$ac_path_FGREP"
3680 ac_path_FGREP_max
=$ac_count
3682 # 10*(2^10) chars as input seems more than enough
3683 test $ac_count -gt 10 && break
3685 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3688 $ac_path_FGREP_found && break 3
3693 if test -z "$ac_cv_path_FGREP"; then
3694 as_fn_error $?
"no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3697 ac_cv_path_FGREP
=$FGREP
3702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
3703 $as_echo "$ac_cv_path_FGREP" >&6; }
3704 FGREP
="$ac_cv_path_FGREP"
3707 test -z "$GREP" && GREP
=grep
3727 # Check whether --with-gnu-ld was given.
3728 if test "${with_gnu_ld+set}" = set; then :
3729 withval
=$with_gnu_ld; test "$withval" = no
|| with_gnu_ld
=yes
3735 if test "$GCC" = yes; then
3736 # Check if gcc -print-prog-name=ld gives a path.
3737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
3738 $as_echo_n "checking for ld used by $CC... " >&6; }
3741 # gcc leaves a trailing carriage return which upsets mingw
3742 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3744 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
3747 # Accept absolute paths.
3749 re_direlt
='/[^/][^/]*/\.\./'
3750 # Canonicalize the pathname of ld
3751 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
3752 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev
/null
2>&1; do
3753 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
3755 test -z "$LD" && LD
="$ac_prog"
3758 # If it fails, then pretend we aren't using GCC.
3762 # If it is relative, then search for the first ld in PATH.
3766 elif test "$with_gnu_ld" = yes; then
3767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
3768 $as_echo_n "checking for GNU ld... " >&6; }
3770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
3771 $as_echo_n "checking for non-GNU ld... " >&6; }
3773 if ${lt_cv_path_LD+:} false
; then :
3774 $as_echo_n "(cached) " >&6
3776 if test -z "$LD"; then
3777 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
3778 for ac_dir
in $PATH; do
3780 test -z "$ac_dir" && ac_dir
=.
3781 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
3782 lt_cv_path_LD
="$ac_dir/$ac_prog"
3783 # Check to see if the program is GNU ld. I'd rather use --version,
3784 # but apparently some variants of GNU ld only accept -v.
3785 # Break only if it was the GNU/non-GNU ld that we prefer.
3786 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
3787 *GNU
* | *'with BFD'*)
3788 test "$with_gnu_ld" != no
&& break
3791 test "$with_gnu_ld" != yes && break
3798 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
3803 if test -n "$LD"; then
3804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
3805 $as_echo "$LD" >&6; }
3807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3808 $as_echo "no" >&6; }
3810 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
3811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
3812 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
3813 if ${lt_cv_prog_gnu_ld+:} false
; then :
3814 $as_echo_n "(cached) " >&6
3816 # I'd rather use --version here, but apparently some GNU lds only accept -v.
3817 case `$LD -v 2>&1 </dev/null` in
3818 *GNU
* | *'with BFD'*)
3819 lt_cv_prog_gnu_ld
=yes
3822 lt_cv_prog_gnu_ld
=no
3826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
3827 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
3828 with_gnu_ld
=$lt_cv_prog_gnu_ld
3838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
3839 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
3840 if ${lt_cv_path_NM+:} false
; then :
3841 $as_echo_n "(cached) " >&6
3843 if test -n "$NM"; then
3844 # Let the user override the test.
3847 lt_nm_to_check
="${ac_tool_prefix}nm"
3848 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
3849 lt_nm_to_check
="$lt_nm_to_check nm"
3851 for lt_tmp_nm
in $lt_nm_to_check; do
3852 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
3853 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
3855 test -z "$ac_dir" && ac_dir
=.
3856 tmp_nm
="$ac_dir/$lt_tmp_nm"
3857 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
3858 # Check to see if the nm accepts a BSD-compat flag.
3859 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
3860 # nm: unknown option "B" ignored
3861 # Tru64's nm complains that /dev/null is an invalid object file
3862 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
3863 */dev
/null
* | *'Invalid file or object type'*)
3864 lt_cv_path_NM
="$tmp_nm -B"
3868 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
3870 lt_cv_path_NM
="$tmp_nm -p"
3874 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
3875 continue # so that we can try to find one that supports BSD flags
3884 : ${lt_cv_path_NM=no}
3887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
3888 $as_echo "$lt_cv_path_NM" >&6; }
3889 if test "$lt_cv_path_NM" != "no"; then
3892 # Didn't find any BSD compatible name lister, look for dumpbin.
3893 if test -n "$DUMPBIN"; then :
3894 # Let the user override the test.
3896 if test -n "$ac_tool_prefix"; then
3897 for ac_prog
in dumpbin
"link -dump"
3899 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3900 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3902 $as_echo_n "checking for $ac_word... " >&6; }
3903 if ${ac_cv_prog_DUMPBIN+:} false
; then :
3904 $as_echo_n "(cached) " >&6
3906 if test -n "$DUMPBIN"; then
3907 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
3909 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3913 test -z "$as_dir" && as_dir
=.
3914 for ac_exec_ext
in '' $ac_executable_extensions; do
3915 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3916 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
3917 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3926 DUMPBIN
=$ac_cv_prog_DUMPBIN
3927 if test -n "$DUMPBIN"; then
3928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
3929 $as_echo "$DUMPBIN" >&6; }
3931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3932 $as_echo "no" >&6; }
3936 test -n "$DUMPBIN" && break
3939 if test -z "$DUMPBIN"; then
3940 ac_ct_DUMPBIN
=$DUMPBIN
3941 for ac_prog
in dumpbin
"link -dump"
3943 # Extract the first word of "$ac_prog", so it can be a program name with args.
3944 set dummy
$ac_prog; ac_word
=$2
3945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3946 $as_echo_n "checking for $ac_word... " >&6; }
3947 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false
; then :
3948 $as_echo_n "(cached) " >&6
3950 if test -n "$ac_ct_DUMPBIN"; then
3951 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
3953 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3957 test -z "$as_dir" && as_dir
=.
3958 for ac_exec_ext
in '' $ac_executable_extensions; do
3959 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3960 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
3961 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3970 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
3971 if test -n "$ac_ct_DUMPBIN"; then
3972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
3973 $as_echo "$ac_ct_DUMPBIN" >&6; }
3975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3976 $as_echo "no" >&6; }
3980 test -n "$ac_ct_DUMPBIN" && break
3983 if test "x$ac_ct_DUMPBIN" = x
; then
3986 case $cross_compiling:$ac_tool_warned in
3988 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3989 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3990 ac_tool_warned
=yes ;;
3992 DUMPBIN
=$ac_ct_DUMPBIN
3996 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
3998 DUMPBIN
="$DUMPBIN -symbols"
4006 if test "$DUMPBIN" != ":"; then
4010 test -z "$NM" && NM
=nm
4017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4018 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
4019 if ${lt_cv_nm_interface+:} false
; then :
4020 $as_echo_n "(cached) " >&6
4022 lt_cv_nm_interface
="BSD nm"
4023 echo "int some_variable = 0;" > conftest.
$ac_ext
4024 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
4025 (eval "$ac_compile" 2>conftest.err
)
4026 cat conftest.err
>&5
4027 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4028 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
4029 cat conftest.err
>&5
4030 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
4031 cat conftest.out
>&5
4032 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
4033 lt_cv_nm_interface
="MS dumpbin"
4037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4038 $as_echo "$lt_cv_nm_interface" >&6; }
4040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4041 $as_echo_n "checking whether ln -s works... " >&6; }
4043 if test "$LN_S" = "ln -s"; then
4044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4045 $as_echo "yes" >&6; }
4047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4048 $as_echo "no, using $LN_S" >&6; }
4051 # find the maximum length of command line arguments
4052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4053 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
4054 if ${lt_cv_sys_max_cmd_len+:} false
; then :
4055 $as_echo_n "(cached) " >&6
4062 # On DJGPP, this test can blow up pretty badly due to problems in libc
4063 # (any single argument exceeding 2000 bytes causes a buffer overrun
4064 # during glob expansion). Even if it were fixed, the result of this
4065 # check would be larger than it should be.
4066 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
4070 # Under GNU Hurd, this test is not required because there is
4071 # no limit to the length of command line arguments.
4072 # Libtool will interpret -1 as no limit whatsoever
4073 lt_cv_sys_max_cmd_len
=-1;
4076 cygwin
* | mingw
* | cegcc
*)
4077 # On Win9x/ME, this test blows up -- it succeeds, but takes
4078 # about 5 minutes as the teststring grows exponentially.
4079 # Worse, since 9x/ME are not pre-emptively multitasking,
4080 # you end up with a "frozen" computer, even though with patience
4081 # the test eventually succeeds (with a max line length of 256k).
4082 # Instead, let's just punt: use the minimum linelength reported by
4083 # all of the supported platforms: 8192 (on NT/2K/XP).
4084 lt_cv_sys_max_cmd_len
=8192;
4088 # On MiNT this can take a long time and run out of memory.
4089 lt_cv_sys_max_cmd_len
=8192;
4093 # On AmigaOS with pdksh, this test takes hours, literally.
4094 # So we just punt and use a minimum line length of 8192.
4095 lt_cv_sys_max_cmd_len
=8192;
4098 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
4099 # This has been around since 386BSD, at least. Likely further.
4100 if test -x /sbin
/sysctl
; then
4101 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
4102 elif test -x /usr
/sbin
/sysctl
; then
4103 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
4105 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
4107 # And add a safety zone
4108 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
4109 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
4113 # We know the value 262144 and hardcode it with a safety zone (like BSD)
4114 lt_cv_sys_max_cmd_len
=196608
4118 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4119 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4120 # nice to cause kernel panics so lets avoid the loop below.
4121 # First set a reasonable default.
4122 lt_cv_sys_max_cmd_len
=16384
4124 if test -x /sbin
/sysconfig
; then
4125 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4126 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
4131 lt_cv_sys_max_cmd_len
=102400
4133 sysv5
* | sco5v6
* | sysv4.2uw2
*)
4134 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4135 if test -n "$kargmax"; then
4136 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
4138 lt_cv_sys_max_cmd_len
=32768
4142 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
4143 if test -n "$lt_cv_sys_max_cmd_len"; then
4144 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
4145 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
4147 # Make teststring a little bigger before we do anything with it.
4148 # a 1K string should be a reasonable start.
4149 for i
in 1 2 3 4 5 6 7 8 ; do
4150 teststring
=$teststring$teststring
4152 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
4153 # If test is not a shell built-in, we'll probably end up computing a
4154 # maximum length that is only half of the actual maximum length, but
4156 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
4157 = "X$teststring$teststring"; } >/dev
/null
2>&1 &&
4158 test $i != 17 # 1/2 MB should be enough
4161 teststring
=$teststring$teststring
4163 # Only check the string length outside the loop.
4164 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
4166 # Add a significant safety factor because C++ compilers can tack on
4167 # massive amounts of additional arguments before passing them to the
4168 # linker. It appears as though 1/2 is a usable value.
4169 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
4176 if test -n $lt_cv_sys_max_cmd_len ; then
4177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
4178 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
4180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
4181 $as_echo "none" >&6; }
4183 max_cmd_len
=$lt_cv_sys_max_cmd_len
4194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
4195 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
4196 # Try some XSI features
4199 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
4201 && eval 'test $(( 1 + 1 )) -eq 2 \
4202 && test "${#_lt_dummy}" -eq 5' ) >/dev
/null
2>&1 \
4204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
4205 $as_echo "$xsi_shell" >&6; }
4208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
4209 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
4211 ( foo
=bar
; set foo baz
; eval "$1+=\$2" && test "$foo" = barbaz
) \
4213 && lt_shell_append
=yes
4214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
4215 $as_echo "$lt_shell_append" >&6; }
4218 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
4228 # test EBCDIC or ASCII
4229 case `echo X|tr X '\101'` in
4230 A
) # ASCII based system
4231 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4232 lt_SP2NL
='tr \040 \012'
4233 lt_NL2SP
='tr \015\012 \040\040'
4235 *) # EBCDIC based system
4236 lt_SP2NL
='tr \100 \n'
4237 lt_NL2SP
='tr \r\n \100\100'
4249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
4250 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
4251 if ${lt_cv_to_host_file_cmd+:} false
; then :
4252 $as_echo_n "(cached) " >&6
4257 *-*-mingw* ) # actually msys
4258 lt_cv_to_host_file_cmd
=func_convert_file_msys_to_w32
4261 lt_cv_to_host_file_cmd
=func_convert_file_cygwin_to_w32
4263 * ) # otherwise, assume *nix
4264 lt_cv_to_host_file_cmd
=func_convert_file_nix_to_w32
4270 *-*-mingw* ) # actually msys
4271 lt_cv_to_host_file_cmd
=func_convert_file_msys_to_cygwin
4274 lt_cv_to_host_file_cmd
=func_convert_file_noop
4276 * ) # otherwise, assume *nix
4277 lt_cv_to_host_file_cmd
=func_convert_file_nix_to_cygwin
4281 * ) # unhandled hosts (and "normal" native builds)
4282 lt_cv_to_host_file_cmd
=func_convert_file_noop
4288 to_host_file_cmd
=$lt_cv_to_host_file_cmd
4289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
4290 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
4296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
4297 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
4298 if ${lt_cv_to_tool_file_cmd+:} false
; then :
4299 $as_echo_n "(cached) " >&6
4301 #assume ordinary cross tools, or native build.
4302 lt_cv_to_tool_file_cmd
=func_convert_file_noop
4306 *-*-mingw* ) # actually msys
4307 lt_cv_to_tool_file_cmd
=func_convert_file_msys_to_w32
4315 to_tool_file_cmd
=$lt_cv_to_tool_file_cmd
4316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
4317 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
4323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
4324 $as_echo_n "checking for $LD option to reload object files... " >&6; }
4325 if ${lt_cv_ld_reload_flag+:} false
; then :
4326 $as_echo_n "(cached) " >&6
4328 lt_cv_ld_reload_flag
='-r'
4330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
4331 $as_echo "$lt_cv_ld_reload_flag" >&6; }
4332 reload_flag
=$lt_cv_ld_reload_flag
4333 case $reload_flag in
4335 *) reload_flag
=" $reload_flag" ;;
4337 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
4339 cygwin
* | mingw
* | pw32
* | cegcc
*)
4340 if test "$GCC" != yes; then
4345 if test "$GCC" = yes; then
4346 reload_cmds
='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4348 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
4361 if test -n "$ac_tool_prefix"; then
4362 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
4363 set dummy
${ac_tool_prefix}objdump
; ac_word
=$2
4364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4365 $as_echo_n "checking for $ac_word... " >&6; }
4366 if ${ac_cv_prog_OBJDUMP+:} false
; then :
4367 $as_echo_n "(cached) " >&6
4369 if test -n "$OBJDUMP"; then
4370 ac_cv_prog_OBJDUMP
="$OBJDUMP" # Let the user override the test.
4372 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4376 test -z "$as_dir" && as_dir
=.
4377 for ac_exec_ext
in '' $ac_executable_extensions; do
4378 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4379 ac_cv_prog_OBJDUMP
="${ac_tool_prefix}objdump"
4380 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4389 OBJDUMP
=$ac_cv_prog_OBJDUMP
4390 if test -n "$OBJDUMP"; then
4391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
4392 $as_echo "$OBJDUMP" >&6; }
4394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4395 $as_echo "no" >&6; }
4400 if test -z "$ac_cv_prog_OBJDUMP"; then
4401 ac_ct_OBJDUMP
=$OBJDUMP
4402 # Extract the first word of "objdump", so it can be a program name with args.
4403 set dummy objdump
; ac_word
=$2
4404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4405 $as_echo_n "checking for $ac_word... " >&6; }
4406 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false
; then :
4407 $as_echo_n "(cached) " >&6
4409 if test -n "$ac_ct_OBJDUMP"; then
4410 ac_cv_prog_ac_ct_OBJDUMP
="$ac_ct_OBJDUMP" # Let the user override the test.
4412 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4416 test -z "$as_dir" && as_dir
=.
4417 for ac_exec_ext
in '' $ac_executable_extensions; do
4418 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4419 ac_cv_prog_ac_ct_OBJDUMP
="objdump"
4420 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4429 ac_ct_OBJDUMP
=$ac_cv_prog_ac_ct_OBJDUMP
4430 if test -n "$ac_ct_OBJDUMP"; then
4431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
4432 $as_echo "$ac_ct_OBJDUMP" >&6; }
4434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4435 $as_echo "no" >&6; }
4438 if test "x$ac_ct_OBJDUMP" = x
; then
4441 case $cross_compiling:$ac_tool_warned in
4443 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4444 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4445 ac_tool_warned
=yes ;;
4447 OBJDUMP
=$ac_ct_OBJDUMP
4450 OBJDUMP
="$ac_cv_prog_OBJDUMP"
4453 test -z "$OBJDUMP" && OBJDUMP
=objdump
4463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
4464 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
4465 if ${lt_cv_deplibs_check_method+:} false
; then :
4466 $as_echo_n "(cached) " >&6
4468 lt_cv_file_magic_cmd
='$MAGIC_CMD'
4469 lt_cv_file_magic_test_file
=
4470 lt_cv_deplibs_check_method
='unknown'
4471 # Need to set the preceding variable on all platforms that support
4472 # interlibrary dependencies.
4473 # 'none' -- dependencies not supported.
4474 # `unknown' -- same as none, but documents that we really don't know.
4475 # 'pass_all' -- all dependencies passed with no checks.
4476 # 'test_compile' -- check by making test program.
4477 # 'file_magic [[regex]]' -- check by looking for files in library path
4478 # which responds to the $file_magic_cmd with a given extended regex.
4479 # If you have `file' or equivalent on your system and you're not sure
4480 # whether `pass_all' will *always* work, you probably want this one.
4484 lt_cv_deplibs_check_method
=pass_all
4488 lt_cv_deplibs_check_method
=pass_all
4492 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4493 lt_cv_file_magic_cmd
='/usr/bin/file -L'
4494 lt_cv_file_magic_test_file
=/shlib
/libc.so
4498 # func_win32_libid is a shell function defined in ltmain.sh
4499 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
4500 lt_cv_file_magic_cmd
='func_win32_libid'
4504 # Base MSYS/MinGW do not provide the 'file' command needed by
4505 # func_win32_libid shell function, so use a weaker test based on 'objdump',
4506 # unless we find 'file', for example because we are cross-compiling.
4507 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
4508 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev
/null
2>&1; then
4509 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
4510 lt_cv_file_magic_cmd
='func_win32_libid'
4512 # Keep this pattern in sync with the one in func_win32_libid.
4513 lt_cv_deplibs_check_method
='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
4514 lt_cv_file_magic_cmd
='$OBJDUMP -f'
4519 # use the weaker test based on 'objdump'. See mingw*.
4520 lt_cv_deplibs_check_method
='file_magic file format pe-arm-.*little(.*architecture: arm)?'
4521 lt_cv_file_magic_cmd
='$OBJDUMP -f'
4524 darwin
* | rhapsody
*)
4525 lt_cv_deplibs_check_method
=pass_all
4528 freebsd
* | dragonfly
*)
4529 if echo __ELF__
| $CC -E - | $GREP __ELF__
> /dev
/null
; then
4532 # Not sure whether the presence of OpenBSD here was a mistake.
4533 # Let's accept both of them until this is cleared up.
4534 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
4535 lt_cv_file_magic_cmd
=/usr
/bin
/file
4536 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
4540 lt_cv_deplibs_check_method
=pass_all
4545 lt_cv_deplibs_check_method
=pass_all
4549 lt_cv_deplibs_check_method
=pass_all
4552 hpux10.20
* | hpux11
*)
4553 lt_cv_file_magic_cmd
=/usr
/bin
/file
4556 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4557 lt_cv_file_magic_test_file
=/usr
/lib
/hpux
32/libc.so
4560 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]'
4561 lt_cv_file_magic_test_file
=/usr
/lib
/pa
20_
64/libc.sl
4564 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
4565 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
4571 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
4572 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|\.a)$'
4575 irix5
* | irix6
* | nonstopux
*)
4577 *-32|*"-32 ") libmagic
=32-bit;;
4578 *-n32|*"-n32 ") libmagic
=N32
;;
4579 *-64|*"-64 ") libmagic
=64-bit;;
4580 *) libmagic
=never
-match;;
4582 lt_cv_deplibs_check_method
=pass_all
4585 # This must be Linux ELF.
4586 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
4587 lt_cv_deplibs_check_method
=pass_all
4590 netbsd
* | netbsdelf
*-gnu)
4591 if echo __ELF__
| $CC -E - | $GREP __ELF__
> /dev
/null
; then
4592 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4594 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|_pic\.a)$'
4599 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4600 lt_cv_file_magic_cmd
=/usr
/bin
/file
4601 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
4605 lt_cv_deplibs_check_method
=pass_all
4609 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
4610 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
4612 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4616 osf3
* | osf4
* | osf5
*)
4617 lt_cv_deplibs_check_method
=pass_all
4621 lt_cv_deplibs_check_method
=pass_all
4625 lt_cv_deplibs_check_method
=pass_all
4628 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
4629 lt_cv_deplibs_check_method
=pass_all
4633 case $host_vendor in
4635 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]'
4636 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
4639 lt_cv_deplibs_check_method
=pass_all
4642 lt_cv_file_magic_cmd
='/bin/file'
4643 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
4646 lt_cv_file_magic_cmd
='/bin/file'
4647 lt_cv_deplibs_check_method
="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
4648 lt_cv_file_magic_test_file
=/lib
/libc.so
4651 lt_cv_deplibs_check_method
=pass_all
4654 lt_cv_deplibs_check_method
=pass_all
4660 lt_cv_deplibs_check_method
=pass_all
4665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
4666 $as_echo "$lt_cv_deplibs_check_method" >&6; }
4670 if test "$build" = "$host"; then
4673 if ( shopt | grep nocaseglob
) >/dev
/null
2>&1; then
4676 file_magic_glob
=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
4682 file_magic_cmd
=$lt_cv_file_magic_cmd
4683 deplibs_check_method
=$lt_cv_deplibs_check_method
4684 test -z "$deplibs_check_method" && deplibs_check_method
=unknown
4707 if test -n "$ac_tool_prefix"; then
4708 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
4709 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
4710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4711 $as_echo_n "checking for $ac_word... " >&6; }
4712 if ${ac_cv_prog_DLLTOOL+:} false
; then :
4713 $as_echo_n "(cached) " >&6
4715 if test -n "$DLLTOOL"; then
4716 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
4718 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4722 test -z "$as_dir" && as_dir
=.
4723 for ac_exec_ext
in '' $ac_executable_extensions; do
4724 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4725 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
4726 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4735 DLLTOOL
=$ac_cv_prog_DLLTOOL
4736 if test -n "$DLLTOOL"; then
4737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
4738 $as_echo "$DLLTOOL" >&6; }
4740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4741 $as_echo "no" >&6; }
4746 if test -z "$ac_cv_prog_DLLTOOL"; then
4747 ac_ct_DLLTOOL
=$DLLTOOL
4748 # Extract the first word of "dlltool", so it can be a program name with args.
4749 set dummy dlltool
; ac_word
=$2
4750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4751 $as_echo_n "checking for $ac_word... " >&6; }
4752 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false
; then :
4753 $as_echo_n "(cached) " >&6
4755 if test -n "$ac_ct_DLLTOOL"; then
4756 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
4758 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4762 test -z "$as_dir" && as_dir
=.
4763 for ac_exec_ext
in '' $ac_executable_extensions; do
4764 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4765 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
4766 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4775 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
4776 if test -n "$ac_ct_DLLTOOL"; then
4777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
4778 $as_echo "$ac_ct_DLLTOOL" >&6; }
4780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4781 $as_echo "no" >&6; }
4784 if test "x$ac_ct_DLLTOOL" = x
; then
4787 case $cross_compiling:$ac_tool_warned in
4789 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4790 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4791 ac_tool_warned
=yes ;;
4793 DLLTOOL
=$ac_ct_DLLTOOL
4796 DLLTOOL
="$ac_cv_prog_DLLTOOL"
4799 test -z "$DLLTOOL" && DLLTOOL
=dlltool
4810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
4811 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
4812 if ${lt_cv_sharedlib_from_linklib_cmd+:} false
; then :
4813 $as_echo_n "(cached) " >&6
4815 lt_cv_sharedlib_from_linklib_cmd
='unknown'
4818 cygwin
* | mingw
* | pw32
* | cegcc
*)
4819 # two different shell functions defined in ltmain.sh
4820 # decide which to use based on capabilities of $DLLTOOL
4821 case `$DLLTOOL --help 2>&1` in
4822 *--identify-strict*)
4823 lt_cv_sharedlib_from_linklib_cmd
=func_cygming_dll_for_implib
4826 lt_cv_sharedlib_from_linklib_cmd
=func_cygming_dll_for_implib_fallback
4831 # fallback: assume linklib IS sharedlib
4832 lt_cv_sharedlib_from_linklib_cmd
="$ECHO"
4837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
4838 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
4839 sharedlib_from_linklib_cmd
=$lt_cv_sharedlib_from_linklib_cmd
4840 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd
=$ECHO
4849 if test -n "$ac_tool_prefix"; then
4852 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4853 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4855 $as_echo_n "checking for $ac_word... " >&6; }
4856 if ${ac_cv_prog_AR+:} false
; then :
4857 $as_echo_n "(cached) " >&6
4859 if test -n "$AR"; then
4860 ac_cv_prog_AR
="$AR" # Let the user override the test.
4862 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4866 test -z "$as_dir" && as_dir
=.
4867 for ac_exec_ext
in '' $ac_executable_extensions; do
4868 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4869 ac_cv_prog_AR
="$ac_tool_prefix$ac_prog"
4870 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4880 if test -n "$AR"; then
4881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
4882 $as_echo "$AR" >&6; }
4884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4885 $as_echo "no" >&6; }
4889 test -n "$AR" && break
4892 if test -z "$AR"; then
4896 # Extract the first word of "$ac_prog", so it can be a program name with args.
4897 set dummy
$ac_prog; ac_word
=$2
4898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4899 $as_echo_n "checking for $ac_word... " >&6; }
4900 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
4901 $as_echo_n "(cached) " >&6
4903 if test -n "$ac_ct_AR"; then
4904 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
4906 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4910 test -z "$as_dir" && as_dir
=.
4911 for ac_exec_ext
in '' $ac_executable_extensions; do
4912 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4913 ac_cv_prog_ac_ct_AR
="$ac_prog"
4914 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4923 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
4924 if test -n "$ac_ct_AR"; then
4925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
4926 $as_echo "$ac_ct_AR" >&6; }
4928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4929 $as_echo "no" >&6; }
4933 test -n "$ac_ct_AR" && break
4936 if test "x$ac_ct_AR" = x
; then
4939 case $cross_compiling:$ac_tool_warned in
4941 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4942 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4943 ac_tool_warned
=yes ;;
4962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
4963 $as_echo_n "checking for archiver @FILE support... " >&6; }
4964 if ${lt_cv_ar_at_file+:} false
; then :
4965 $as_echo_n "(cached) " >&6
4968 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4969 /* end confdefs.h. */
4979 if ac_fn_c_try_compile
"$LINENO"; then :
4980 echo conftest.
$ac_objext > conftest.lst
4981 lt_ar_try
='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
4982 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
4983 (eval $lt_ar_try) 2>&5
4985 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4986 test $ac_status = 0; }
4987 if test "$ac_status" -eq 0; then
4988 # Ensure the archiver fails upon bogus file names.
4989 rm -f conftest.
$ac_objext libconftest.a
4990 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
4991 (eval $lt_ar_try) 2>&5
4993 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4994 test $ac_status = 0; }
4995 if test "$ac_status" -ne 0; then
4999 rm -f conftest.
* libconftest.a
5002 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
5006 $as_echo "$lt_cv_ar_at_file" >&6; }
5008 if test "x$lt_cv_ar_at_file" = xno
; then
5011 archiver_list_spec
=$lt_cv_ar_at_file
5020 if test -n "$ac_tool_prefix"; then
5021 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5022 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
5023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5024 $as_echo_n "checking for $ac_word... " >&6; }
5025 if ${ac_cv_prog_STRIP+:} false
; then :
5026 $as_echo_n "(cached) " >&6
5028 if test -n "$STRIP"; then
5029 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
5031 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5035 test -z "$as_dir" && as_dir
=.
5036 for ac_exec_ext
in '' $ac_executable_extensions; do
5037 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5038 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
5039 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5048 STRIP
=$ac_cv_prog_STRIP
5049 if test -n "$STRIP"; then
5050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5051 $as_echo "$STRIP" >&6; }
5053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5054 $as_echo "no" >&6; }
5059 if test -z "$ac_cv_prog_STRIP"; then
5061 # Extract the first word of "strip", so it can be a program name with args.
5062 set dummy strip
; ac_word
=$2
5063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5064 $as_echo_n "checking for $ac_word... " >&6; }
5065 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
5066 $as_echo_n "(cached) " >&6
5068 if test -n "$ac_ct_STRIP"; then
5069 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
5071 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5075 test -z "$as_dir" && as_dir
=.
5076 for ac_exec_ext
in '' $ac_executable_extensions; do
5077 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5078 ac_cv_prog_ac_ct_STRIP
="strip"
5079 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5088 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
5089 if test -n "$ac_ct_STRIP"; then
5090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5091 $as_echo "$ac_ct_STRIP" >&6; }
5093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5094 $as_echo "no" >&6; }
5097 if test "x$ac_ct_STRIP" = x
; then
5100 case $cross_compiling:$ac_tool_warned in
5102 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5103 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5104 ac_tool_warned
=yes ;;
5109 STRIP
="$ac_cv_prog_STRIP"
5112 test -z "$STRIP" && STRIP
=:
5119 if test -n "$ac_tool_prefix"; then
5120 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5121 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5123 $as_echo_n "checking for $ac_word... " >&6; }
5124 if ${ac_cv_prog_RANLIB+:} false
; then :
5125 $as_echo_n "(cached) " >&6
5127 if test -n "$RANLIB"; then
5128 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5130 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5134 test -z "$as_dir" && as_dir
=.
5135 for ac_exec_ext
in '' $ac_executable_extensions; do
5136 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5137 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5138 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5147 RANLIB
=$ac_cv_prog_RANLIB
5148 if test -n "$RANLIB"; then
5149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5150 $as_echo "$RANLIB" >&6; }
5152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5153 $as_echo "no" >&6; }
5158 if test -z "$ac_cv_prog_RANLIB"; then
5159 ac_ct_RANLIB
=$RANLIB
5160 # Extract the first word of "ranlib", so it can be a program name with args.
5161 set dummy ranlib
; ac_word
=$2
5162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5163 $as_echo_n "checking for $ac_word... " >&6; }
5164 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
5165 $as_echo_n "(cached) " >&6
5167 if test -n "$ac_ct_RANLIB"; then
5168 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5170 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5174 test -z "$as_dir" && as_dir
=.
5175 for ac_exec_ext
in '' $ac_executable_extensions; do
5176 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5177 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5178 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5187 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5188 if test -n "$ac_ct_RANLIB"; then
5189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5190 $as_echo "$ac_ct_RANLIB" >&6; }
5192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5193 $as_echo "no" >&6; }
5196 if test "x$ac_ct_RANLIB" = x
; then
5199 case $cross_compiling:$ac_tool_warned in
5201 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5202 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5203 ac_tool_warned
=yes ;;
5205 RANLIB
=$ac_ct_RANLIB
5208 RANLIB
="$ac_cv_prog_RANLIB"
5211 test -z "$RANLIB" && RANLIB
=:
5218 # Determine commands to create old-style static archives.
5219 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs'
5220 old_postinstall_cmds
='chmod 644 $oldlib'
5221 old_postuninstall_cmds
=
5223 if test -n "$RANLIB"; then
5226 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
5229 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB \$oldlib"
5232 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$oldlib"
5237 lock_old_archive_extraction
=yes ;;
5239 lock_old_archive_extraction
=no
;;
5280 # If no C compiler was specified, use CC.
5283 # If no C compiler flags were specified, use CFLAGS.
5284 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
5286 # Allow CC to be a program name with arguments.
5290 # Check for command to grab the raw symbol name followed by C symbol from nm.
5291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
5292 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
5293 if ${lt_cv_sys_global_symbol_pipe+:} false
; then :
5294 $as_echo_n "(cached) " >&6
5297 # These are sane defaults that work on at least a few old systems.
5298 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5300 # Character class describing NM global symbol codes.
5301 symcode
='[BCDEGRST]'
5303 # Regexp to match symbols that can be accessed directly from C.
5304 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
5306 # Define system-specific variables.
5311 cygwin
* | mingw
* | pw32
* | cegcc
*)
5312 symcode
='[ABCDGISTW]'
5315 if test "$host_cpu" = ia64
; then
5316 symcode
='[ABCDEGRST]'
5320 symcode
='[BCDEGRST]'
5323 symcode
='[BCDEGQRST]'
5334 sysv5
* | sco5v6
* | unixware
* | OpenUNIX
*)
5342 # If we're using GNU nm, then use its standard symbol codes.
5343 case `$NM -V 2>&1` in
5344 *GNU
* | *'with BFD'*)
5345 symcode
='[ABCDGIRSTW]' ;;
5348 # Transform an extracted symbol line into a proper C declaration.
5349 # Some systems (esp. on ia64) link data and code symbols differently,
5350 # so use this general approach.
5351 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5353 # Transform an extracted symbol line into symbol name and symbol address
5354 lt_cv_sys_global_symbol_to_c_name_address
="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
5355 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'"
5357 # Handle CRLF in mingw tool chain
5361 opt_cr
=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5365 # Try without a prefix underscore, then with it.
5366 for ac_symprfx
in "" "_"; do
5368 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5369 symxfrm
="\\1 $ac_symprfx\\2 \\2"
5371 # Write the raw and C identifiers.
5372 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
5373 # Fake it for dumpbin and say T for any non-static function
5374 # and D for any global variable.
5375 # Also find C++ and __fastcall symbols from MSVC++,
5376 # which start with @ or ?.
5377 lt_cv_sys_global_symbol_pipe
="$AWK '"\
5378 " {last_section=section; section=\$ 3};"\
5379 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5380 " \$ 0!~/External *\|/{next};"\
5381 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
5382 " {if(hide[section]) next};"\
5383 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
5384 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
5385 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
5386 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
5387 " ' prfx=^$ac_symprfx"
5389 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5391 lt_cv_sys_global_symbol_pipe
="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
5393 # Check to see that the pipe works correctly.
5397 cat > conftest.
$ac_ext <<_LT_EOF
5402 void nm_test_func(void);
5403 void nm_test_func(void){}
5407 int main(){nm_test_var='a';nm_test_func();return(0);}
5410 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5411 (eval $ac_compile) 2>&5
5413 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5414 test $ac_status = 0; }; then
5415 # Now try to grab the symbols.
5417 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
5418 (eval $NM conftest.
$ac_objext \
| "$lt_cv_sys_global_symbol_pipe" \
> $nlist) 2>&5
5420 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5421 test $ac_status = 0; } && test -s "$nlist"; then
5422 # Try sorting and uniquifying the output.
5423 if sort "$nlist" | uniq > "$nlist"T
; then
5424 mv -f "$nlist"T
"$nlist"
5429 # Make sure that we snagged all the symbols we need.
5430 if $GREP ' nm_test_var$' "$nlist" >/dev
/null
; then
5431 if $GREP ' nm_test_func$' "$nlist" >/dev
/null
; then
5432 cat <<_LT_EOF > conftest.$ac_ext
5433 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
5434 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
5435 /* DATA imports from DLLs on WIN32 con't be const, because runtime
5436 relocations are performed -- see ld's documentation on pseudo-relocs. */
5437 # define LT_DLSYM_CONST
5438 #elif defined(__osf__)
5439 /* This system does not cope well with relocations in const data. */
5440 # define LT_DLSYM_CONST
5442 # define LT_DLSYM_CONST const
5450 # Now generate the symbol file.
5451 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
5453 cat <<_LT_EOF >> conftest.$ac_ext
5455 /* The mapping between symbol names and symbols. */
5456 LT_DLSYM_CONST struct {
5460 lt__PROGRAM__LTX_preloaded_symbols[] =
5462 { "@PROGRAM@", (void *) 0 },
5464 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main
>> conftest.
$ac_ext
5465 cat <<\_LT_EOF
>> conftest.
$ac_ext
5469 /* This works around a problem
in FreeBSD linker
*/
5470 #ifdef FREEBSD_WORKAROUND
5471 static const void
*lt_preloaded_setup
() {
5472 return lt__PROGRAM__LTX_preloaded_symbols
;
5480 # Now try linking the two files.
5481 mv conftest.
$ac_objext conftstm.
$ac_objext
5482 lt_globsym_save_LIBS
=$LIBS
5483 lt_globsym_save_CFLAGS
=$CFLAGS
5484 LIBS
="conftstm.$ac_objext"
5485 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5486 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
5487 (eval $ac_link) 2>&5
5489 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5490 test $ac_status = 0; } && test -s conftest
${ac_exeext}; then
5493 LIBS
=$lt_globsym_save_LIBS
5494 CFLAGS
=$lt_globsym_save_CFLAGS
5496 echo "cannot find nm_test_func in $nlist" >&5
5499 echo "cannot find nm_test_var in $nlist" >&5
5502 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
5505 echo "$progname: failed program was:" >&5
5506 cat conftest.
$ac_ext >&5
5508 rm -rf conftest
* conftst
*
5510 # Do not use the global_symbol_pipe unless it works.
5511 if test "$pipe_works" = yes; then
5514 lt_cv_sys_global_symbol_pipe
=
5520 if test -z "$lt_cv_sys_global_symbol_pipe"; then
5521 lt_cv_sys_global_symbol_to_cdecl
=
5523 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
5525 $as_echo "failed" >&6; }
5527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
5528 $as_echo "ok" >&6; }
5531 # Response file support.
5532 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
5533 nm_file_list_spec
='@'
5534 elif $NM --help 2>/dev
/null
| grep '[@]FILE' >/dev
/null
; then
5535 nm_file_list_spec
='@'
5564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
5565 $as_echo_n "checking for sysroot... " >&6; }
5567 # Check whether --with-sysroot was given.
5568 if test "${with_sysroot+set}" = set; then :
5569 withval
=$with_sysroot;
5576 case ${with_sysroot} in #(
5578 if test "$GCC" = yes; then
5579 lt_sysroot
=`$CC --print-sysroot 2>/dev/null`
5583 lt_sysroot
=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
5588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
5589 $as_echo "${with_sysroot}" >&6; }
5590 as_fn_error $?
"The sysroot must be an absolute path." "$LINENO" 5
5594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
5595 $as_echo "${lt_sysroot:-no}" >&6; }
5601 # Check whether --enable-libtool-lock was given.
5602 if test "${enable_libtool_lock+set}" = set; then :
5603 enableval
=$enable_libtool_lock;
5606 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
5608 # Some flags need to be propagated to the compiler or linker for good
5612 # Find out which ABI we are using.
5613 echo 'int i;' > conftest.
$ac_ext
5614 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5615 (eval $ac_compile) 2>&5
5617 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5618 test $ac_status = 0; }; then
5619 case `/usr/bin/file conftest.$ac_objext` in
5631 # Find out which ABI we are using.
5632 echo '#line '$LINENO' "configure"' > conftest.
$ac_ext
5633 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5634 (eval $ac_compile) 2>&5
5636 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5637 test $ac_status = 0; }; then
5638 if test "$lt_cv_prog_gnu_ld" = yes; then
5639 case `/usr/bin/file conftest.$ac_objext` in
5641 LD
="${LD-ld} -melf32bsmip"
5644 LD
="${LD-ld} -melf32bmipn32"
5647 LD
="${LD-ld} -melf64bmip"
5651 case `/usr/bin/file conftest.$ac_objext` in
5667 x86_64
-*kfreebsd
*-gnu|x86_64
-*linux
*|ppc
*-*linux
*|powerpc
*-*linux
*| \
5668 s390
*-*linux
*|s390
*-*tpf
*|sparc
*-*linux
*)
5669 # Find out which ABI we are using.
5670 echo 'int i;' > conftest.
$ac_ext
5671 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5672 (eval $ac_compile) 2>&5
5674 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5675 test $ac_status = 0; }; then
5676 case `/usr/bin/file conftest.o` in
5679 x86_64
-*kfreebsd
*-gnu)
5680 LD
="${LD-ld} -m elf_i386_fbsd"
5683 LD
="${LD-ld} -m elf_i386"
5685 ppc64
-*linux
*|powerpc64
-*linux
*)
5686 LD
="${LD-ld} -m elf32ppclinux"
5689 LD
="${LD-ld} -m elf_s390"
5692 LD
="${LD-ld} -m elf32_sparc"
5698 x86_64
-*kfreebsd
*-gnu)
5699 LD
="${LD-ld} -m elf_x86_64_fbsd"
5702 LD
="${LD-ld} -m elf_x86_64"
5704 ppc
*-*linux
*|powerpc
*-*linux
*)
5705 LD
="${LD-ld} -m elf64ppc"
5707 s390
*-*linux
*|s390
*-*tpf
*)
5708 LD
="${LD-ld} -m elf64_s390"
5711 LD
="${LD-ld} -m elf64_sparc"
5721 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
5722 SAVE_CFLAGS
="$CFLAGS"
5723 CFLAGS
="$CFLAGS -belf"
5724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
5725 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
5726 if ${lt_cv_cc_needs_belf+:} false
; then :
5727 $as_echo_n "(cached) " >&6
5730 ac_cpp
='$CPP $CPPFLAGS'
5731 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5732 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5733 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5735 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5736 /* end confdefs.h. */
5746 if ac_fn_c_try_link
"$LINENO"; then :
5747 lt_cv_cc_needs_belf
=yes
5749 lt_cv_cc_needs_belf
=no
5751 rm -f core conftest.err conftest.
$ac_objext \
5752 conftest
$ac_exeext conftest.
$ac_ext
5754 ac_cpp
='$CPP $CPPFLAGS'
5755 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5756 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5757 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
5761 $as_echo "$lt_cv_cc_needs_belf" >&6; }
5762 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
5763 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
5764 CFLAGS
="$SAVE_CFLAGS"
5768 # Find out which ABI we are using.
5769 echo 'int i;' > conftest.
$ac_ext
5770 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5771 (eval $ac_compile) 2>&5
5773 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5774 test $ac_status = 0; }; then
5775 case `/usr/bin/file conftest.o` in
5777 case $lt_cv_prog_gnu_ld in
5778 yes*) LD
="${LD-ld} -m elf64_sparc" ;;
5780 if ${LD-ld} -64 -r -o conftest2.o conftest.o
>/dev
/null
2>&1; then
5792 need_locks
="$enable_libtool_lock"
5794 if test -n "$ac_tool_prefix"; then
5795 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
5796 set dummy
${ac_tool_prefix}mt
; ac_word
=$2
5797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5798 $as_echo_n "checking for $ac_word... " >&6; }
5799 if ${ac_cv_prog_MANIFEST_TOOL+:} false
; then :
5800 $as_echo_n "(cached) " >&6
5802 if test -n "$MANIFEST_TOOL"; then
5803 ac_cv_prog_MANIFEST_TOOL
="$MANIFEST_TOOL" # Let the user override the test.
5805 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5809 test -z "$as_dir" && as_dir
=.
5810 for ac_exec_ext
in '' $ac_executable_extensions; do
5811 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5812 ac_cv_prog_MANIFEST_TOOL
="${ac_tool_prefix}mt"
5813 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5822 MANIFEST_TOOL
=$ac_cv_prog_MANIFEST_TOOL
5823 if test -n "$MANIFEST_TOOL"; then
5824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
5825 $as_echo "$MANIFEST_TOOL" >&6; }
5827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5828 $as_echo "no" >&6; }
5833 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
5834 ac_ct_MANIFEST_TOOL
=$MANIFEST_TOOL
5835 # Extract the first word of "mt", so it can be a program name with args.
5836 set dummy mt
; ac_word
=$2
5837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5838 $as_echo_n "checking for $ac_word... " >&6; }
5839 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false
; then :
5840 $as_echo_n "(cached) " >&6
5842 if test -n "$ac_ct_MANIFEST_TOOL"; then
5843 ac_cv_prog_ac_ct_MANIFEST_TOOL
="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
5845 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5849 test -z "$as_dir" && as_dir
=.
5850 for ac_exec_ext
in '' $ac_executable_extensions; do
5851 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5852 ac_cv_prog_ac_ct_MANIFEST_TOOL
="mt"
5853 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5862 ac_ct_MANIFEST_TOOL
=$ac_cv_prog_ac_ct_MANIFEST_TOOL
5863 if test -n "$ac_ct_MANIFEST_TOOL"; then
5864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
5865 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
5867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5868 $as_echo "no" >&6; }
5871 if test "x$ac_ct_MANIFEST_TOOL" = x
; then
5874 case $cross_compiling:$ac_tool_warned in
5876 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5877 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5878 ac_tool_warned
=yes ;;
5880 MANIFEST_TOOL
=$ac_ct_MANIFEST_TOOL
5883 MANIFEST_TOOL
="$ac_cv_prog_MANIFEST_TOOL"
5886 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL
=mt
5887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
5888 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
5889 if ${lt_cv_path_mainfest_tool+:} false
; then :
5890 $as_echo_n "(cached) " >&6
5892 lt_cv_path_mainfest_tool
=no
5893 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
5894 $MANIFEST_TOOL '-?' 2>conftest.err
> conftest.out
5895 cat conftest.err
>&5
5896 if $GREP 'Manifest Tool' conftest.out
> /dev
/null
; then
5897 lt_cv_path_mainfest_tool
=yes
5901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
5902 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
5903 if test "x$lt_cv_path_mainfest_tool" != xyes
; then
5913 rhapsody
* | darwin
*)
5914 if test -n "$ac_tool_prefix"; then
5915 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
5916 set dummy
${ac_tool_prefix}dsymutil
; ac_word
=$2
5917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5918 $as_echo_n "checking for $ac_word... " >&6; }
5919 if ${ac_cv_prog_DSYMUTIL+:} false
; then :
5920 $as_echo_n "(cached) " >&6
5922 if test -n "$DSYMUTIL"; then
5923 ac_cv_prog_DSYMUTIL
="$DSYMUTIL" # Let the user override the test.
5925 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5929 test -z "$as_dir" && as_dir
=.
5930 for ac_exec_ext
in '' $ac_executable_extensions; do
5931 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5932 ac_cv_prog_DSYMUTIL
="${ac_tool_prefix}dsymutil"
5933 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5942 DSYMUTIL
=$ac_cv_prog_DSYMUTIL
5943 if test -n "$DSYMUTIL"; then
5944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
5945 $as_echo "$DSYMUTIL" >&6; }
5947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5948 $as_echo "no" >&6; }
5953 if test -z "$ac_cv_prog_DSYMUTIL"; then
5954 ac_ct_DSYMUTIL
=$DSYMUTIL
5955 # Extract the first word of "dsymutil", so it can be a program name with args.
5956 set dummy dsymutil
; ac_word
=$2
5957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5958 $as_echo_n "checking for $ac_word... " >&6; }
5959 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false
; then :
5960 $as_echo_n "(cached) " >&6
5962 if test -n "$ac_ct_DSYMUTIL"; then
5963 ac_cv_prog_ac_ct_DSYMUTIL
="$ac_ct_DSYMUTIL" # Let the user override the test.
5965 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5969 test -z "$as_dir" && as_dir
=.
5970 for ac_exec_ext
in '' $ac_executable_extensions; do
5971 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5972 ac_cv_prog_ac_ct_DSYMUTIL
="dsymutil"
5973 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5982 ac_ct_DSYMUTIL
=$ac_cv_prog_ac_ct_DSYMUTIL
5983 if test -n "$ac_ct_DSYMUTIL"; then
5984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
5985 $as_echo "$ac_ct_DSYMUTIL" >&6; }
5987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5988 $as_echo "no" >&6; }
5991 if test "x$ac_ct_DSYMUTIL" = x
; then
5994 case $cross_compiling:$ac_tool_warned in
5996 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5997 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5998 ac_tool_warned
=yes ;;
6000 DSYMUTIL
=$ac_ct_DSYMUTIL
6003 DSYMUTIL
="$ac_cv_prog_DSYMUTIL"
6006 if test -n "$ac_tool_prefix"; then
6007 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6008 set dummy
${ac_tool_prefix}nmedit
; ac_word
=$2
6009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6010 $as_echo_n "checking for $ac_word... " >&6; }
6011 if ${ac_cv_prog_NMEDIT+:} false
; then :
6012 $as_echo_n "(cached) " >&6
6014 if test -n "$NMEDIT"; then
6015 ac_cv_prog_NMEDIT
="$NMEDIT" # Let the user override the test.
6017 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6021 test -z "$as_dir" && as_dir
=.
6022 for ac_exec_ext
in '' $ac_executable_extensions; do
6023 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6024 ac_cv_prog_NMEDIT
="${ac_tool_prefix}nmedit"
6025 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6034 NMEDIT
=$ac_cv_prog_NMEDIT
6035 if test -n "$NMEDIT"; then
6036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6037 $as_echo "$NMEDIT" >&6; }
6039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6040 $as_echo "no" >&6; }
6045 if test -z "$ac_cv_prog_NMEDIT"; then
6046 ac_ct_NMEDIT
=$NMEDIT
6047 # Extract the first word of "nmedit", so it can be a program name with args.
6048 set dummy nmedit
; ac_word
=$2
6049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6050 $as_echo_n "checking for $ac_word... " >&6; }
6051 if ${ac_cv_prog_ac_ct_NMEDIT+:} false
; then :
6052 $as_echo_n "(cached) " >&6
6054 if test -n "$ac_ct_NMEDIT"; then
6055 ac_cv_prog_ac_ct_NMEDIT
="$ac_ct_NMEDIT" # Let the user override the test.
6057 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6061 test -z "$as_dir" && as_dir
=.
6062 for ac_exec_ext
in '' $ac_executable_extensions; do
6063 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6064 ac_cv_prog_ac_ct_NMEDIT
="nmedit"
6065 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6074 ac_ct_NMEDIT
=$ac_cv_prog_ac_ct_NMEDIT
6075 if test -n "$ac_ct_NMEDIT"; then
6076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
6077 $as_echo "$ac_ct_NMEDIT" >&6; }
6079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6080 $as_echo "no" >&6; }
6083 if test "x$ac_ct_NMEDIT" = x
; then
6086 case $cross_compiling:$ac_tool_warned in
6088 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6089 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6090 ac_tool_warned
=yes ;;
6092 NMEDIT
=$ac_ct_NMEDIT
6095 NMEDIT
="$ac_cv_prog_NMEDIT"
6098 if test -n "$ac_tool_prefix"; then
6099 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6100 set dummy
${ac_tool_prefix}lipo
; ac_word
=$2
6101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6102 $as_echo_n "checking for $ac_word... " >&6; }
6103 if ${ac_cv_prog_LIPO+:} false
; then :
6104 $as_echo_n "(cached) " >&6
6106 if test -n "$LIPO"; then
6107 ac_cv_prog_LIPO
="$LIPO" # Let the user override the test.
6109 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6113 test -z "$as_dir" && as_dir
=.
6114 for ac_exec_ext
in '' $ac_executable_extensions; do
6115 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6116 ac_cv_prog_LIPO
="${ac_tool_prefix}lipo"
6117 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6126 LIPO
=$ac_cv_prog_LIPO
6127 if test -n "$LIPO"; then
6128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
6129 $as_echo "$LIPO" >&6; }
6131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6132 $as_echo "no" >&6; }
6137 if test -z "$ac_cv_prog_LIPO"; then
6139 # Extract the first word of "lipo", so it can be a program name with args.
6140 set dummy lipo
; ac_word
=$2
6141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6142 $as_echo_n "checking for $ac_word... " >&6; }
6143 if ${ac_cv_prog_ac_ct_LIPO+:} false
; then :
6144 $as_echo_n "(cached) " >&6
6146 if test -n "$ac_ct_LIPO"; then
6147 ac_cv_prog_ac_ct_LIPO
="$ac_ct_LIPO" # Let the user override the test.
6149 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6153 test -z "$as_dir" && as_dir
=.
6154 for ac_exec_ext
in '' $ac_executable_extensions; do
6155 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6156 ac_cv_prog_ac_ct_LIPO
="lipo"
6157 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6166 ac_ct_LIPO
=$ac_cv_prog_ac_ct_LIPO
6167 if test -n "$ac_ct_LIPO"; then
6168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
6169 $as_echo "$ac_ct_LIPO" >&6; }
6171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6172 $as_echo "no" >&6; }
6175 if test "x$ac_ct_LIPO" = x
; then
6178 case $cross_compiling:$ac_tool_warned in
6180 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6181 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6182 ac_tool_warned
=yes ;;
6187 LIPO
="$ac_cv_prog_LIPO"
6190 if test -n "$ac_tool_prefix"; then
6191 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
6192 set dummy
${ac_tool_prefix}otool
; ac_word
=$2
6193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6194 $as_echo_n "checking for $ac_word... " >&6; }
6195 if ${ac_cv_prog_OTOOL+:} false
; then :
6196 $as_echo_n "(cached) " >&6
6198 if test -n "$OTOOL"; then
6199 ac_cv_prog_OTOOL
="$OTOOL" # Let the user override the test.
6201 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6205 test -z "$as_dir" && as_dir
=.
6206 for ac_exec_ext
in '' $ac_executable_extensions; do
6207 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6208 ac_cv_prog_OTOOL
="${ac_tool_prefix}otool"
6209 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6218 OTOOL
=$ac_cv_prog_OTOOL
6219 if test -n "$OTOOL"; then
6220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
6221 $as_echo "$OTOOL" >&6; }
6223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6224 $as_echo "no" >&6; }
6229 if test -z "$ac_cv_prog_OTOOL"; then
6231 # Extract the first word of "otool", so it can be a program name with args.
6232 set dummy otool
; ac_word
=$2
6233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6234 $as_echo_n "checking for $ac_word... " >&6; }
6235 if ${ac_cv_prog_ac_ct_OTOOL+:} false
; then :
6236 $as_echo_n "(cached) " >&6
6238 if test -n "$ac_ct_OTOOL"; then
6239 ac_cv_prog_ac_ct_OTOOL
="$ac_ct_OTOOL" # Let the user override the test.
6241 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6245 test -z "$as_dir" && as_dir
=.
6246 for ac_exec_ext
in '' $ac_executable_extensions; do
6247 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6248 ac_cv_prog_ac_ct_OTOOL
="otool"
6249 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6258 ac_ct_OTOOL
=$ac_cv_prog_ac_ct_OTOOL
6259 if test -n "$ac_ct_OTOOL"; then
6260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
6261 $as_echo "$ac_ct_OTOOL" >&6; }
6263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6264 $as_echo "no" >&6; }
6267 if test "x$ac_ct_OTOOL" = x
; then
6270 case $cross_compiling:$ac_tool_warned in
6272 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6273 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6274 ac_tool_warned
=yes ;;
6279 OTOOL
="$ac_cv_prog_OTOOL"
6282 if test -n "$ac_tool_prefix"; then
6283 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
6284 set dummy
${ac_tool_prefix}otool64
; ac_word
=$2
6285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6286 $as_echo_n "checking for $ac_word... " >&6; }
6287 if ${ac_cv_prog_OTOOL64+:} false
; then :
6288 $as_echo_n "(cached) " >&6
6290 if test -n "$OTOOL64"; then
6291 ac_cv_prog_OTOOL64
="$OTOOL64" # Let the user override the test.
6293 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6297 test -z "$as_dir" && as_dir
=.
6298 for ac_exec_ext
in '' $ac_executable_extensions; do
6299 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6300 ac_cv_prog_OTOOL64
="${ac_tool_prefix}otool64"
6301 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6310 OTOOL64
=$ac_cv_prog_OTOOL64
6311 if test -n "$OTOOL64"; then
6312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
6313 $as_echo "$OTOOL64" >&6; }
6315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6316 $as_echo "no" >&6; }
6321 if test -z "$ac_cv_prog_OTOOL64"; then
6322 ac_ct_OTOOL64
=$OTOOL64
6323 # Extract the first word of "otool64", so it can be a program name with args.
6324 set dummy otool64
; ac_word
=$2
6325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6326 $as_echo_n "checking for $ac_word... " >&6; }
6327 if ${ac_cv_prog_ac_ct_OTOOL64+:} false
; then :
6328 $as_echo_n "(cached) " >&6
6330 if test -n "$ac_ct_OTOOL64"; then
6331 ac_cv_prog_ac_ct_OTOOL64
="$ac_ct_OTOOL64" # Let the user override the test.
6333 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6337 test -z "$as_dir" && as_dir
=.
6338 for ac_exec_ext
in '' $ac_executable_extensions; do
6339 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6340 ac_cv_prog_ac_ct_OTOOL64
="otool64"
6341 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6350 ac_ct_OTOOL64
=$ac_cv_prog_ac_ct_OTOOL64
6351 if test -n "$ac_ct_OTOOL64"; then
6352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
6353 $as_echo "$ac_ct_OTOOL64" >&6; }
6355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6356 $as_echo "no" >&6; }
6359 if test "x$ac_ct_OTOOL64" = x
; then
6362 case $cross_compiling:$ac_tool_warned in
6364 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6365 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6366 ac_tool_warned
=yes ;;
6368 OTOOL64
=$ac_ct_OTOOL64
6371 OTOOL64
="$ac_cv_prog_OTOOL64"
6400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
6401 $as_echo_n "checking for -single_module linker flag... " >&6; }
6402 if ${lt_cv_apple_cc_single_mod+:} false
; then :
6403 $as_echo_n "(cached) " >&6
6405 lt_cv_apple_cc_single_mod
=no
6406 if test -z "${LT_MULTI_MODULE}"; then
6407 # By default we will add the -single_module flag. You can override
6408 # by either setting the environment variable LT_MULTI_MODULE
6409 # non-empty at configure time, or by adding -multi_module to the
6411 rm -rf libconftest.dylib
*
6412 echo "int foo(void){return 1;}" > conftest.c
6413 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6414 -dynamiclib -Wl,-single_module conftest.c" >&5
6415 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6416 -dynamiclib -Wl,-single_module conftest.c
2>conftest.err
6418 if test -f libconftest.dylib
&& test ! -s conftest.err
&& test $_lt_result = 0; then
6419 lt_cv_apple_cc_single_mod
=yes
6421 cat conftest.err
>&5
6423 rm -rf libconftest.dylib
*
6427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
6428 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
6429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
6430 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
6431 if ${lt_cv_ld_exported_symbols_list+:} false
; then :
6432 $as_echo_n "(cached) " >&6
6434 lt_cv_ld_exported_symbols_list
=no
6435 save_LDFLAGS
=$LDFLAGS
6436 echo "_main" > conftest.sym
6437 LDFLAGS
="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
6438 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6439 /* end confdefs.h. */
6449 if ac_fn_c_try_link
"$LINENO"; then :
6450 lt_cv_ld_exported_symbols_list
=yes
6452 lt_cv_ld_exported_symbols_list
=no
6454 rm -f core conftest.err conftest.
$ac_objext \
6455 conftest
$ac_exeext conftest.
$ac_ext
6456 LDFLAGS
="$save_LDFLAGS"
6459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
6460 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
6461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
6462 $as_echo_n "checking for -force_load linker flag... " >&6; }
6463 if ${lt_cv_ld_force_load+:} false
; then :
6464 $as_echo_n "(cached) " >&6
6466 lt_cv_ld_force_load
=no
6467 cat > conftest.c
<< _LT_EOF
6468 int forced_loaded() { return 2;}
6470 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
6471 $LTCC $LTCFLAGS -c -o conftest.o conftest.c
2>&5
6472 echo "$AR cru libconftest.a conftest.o" >&5
6473 $AR cru libconftest.a conftest.o
2>&5
6474 echo "$RANLIB libconftest.a" >&5
6475 $RANLIB libconftest.a
2>&5
6476 cat > conftest.c
<< _LT_EOF
6477 int main() { return 0;}
6479 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
6480 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
2>conftest.err
6482 if test -f conftest
&& test ! -s conftest.err
&& test $_lt_result = 0 && $GREP forced_load conftest
2>&1 >/dev
/null
; then
6483 lt_cv_ld_force_load
=yes
6485 cat conftest.err
>&5
6487 rm -f conftest.err libconftest.a conftest conftest.c
6488 rm -rf conftest.dSYM
6491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
6492 $as_echo "$lt_cv_ld_force_load" >&6; }
6494 rhapsody
* | darwin1.
[012])
6495 _lt_dar_allow_undefined
='${wl}-undefined ${wl}suppress' ;;
6497 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6498 darwin
*) # darwin 5.x on
6499 # if running on 10.5 or later, the deployment target defaults
6500 # to the OS version, if on x86, and 10.4, the deployment
6501 # target defaults to 10.4. Don't you love it?
6502 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
6503 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
6504 _lt_dar_allow_undefined
='${wl}-undefined ${wl}dynamic_lookup' ;;
6506 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6508 _lt_dar_allow_undefined
='${wl}-undefined ${wl}dynamic_lookup' ;;
6512 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
6513 _lt_dar_single_mod
='$single_module'
6515 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
6516 _lt_dar_export_syms
=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
6518 _lt_dar_export_syms
='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
6520 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
6521 _lt_dsymutil
='~$DSYMUTIL $lib || :'
6529 ac_cpp
='$CPP $CPPFLAGS'
6530 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6531 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6532 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6534 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6535 # On Suns, sometimes $CPP names a directory.
6536 if test -n "$CPP" && test -d "$CPP"; then
6539 if test -z "$CPP"; then
6540 if ${ac_cv_prog_CPP+:} false
; then :
6541 $as_echo_n "(cached) " >&6
6543 # Double quotes because CPP needs to be expanded
6544 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6547 for ac_c_preproc_warn_flag
in '' yes
6549 # Use a header file that comes with gcc, so configuring glibc
6550 # with a fresh cross-compiler works.
6551 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6552 # <limits.h> exists even on freestanding compilers.
6553 # On the NeXT, cc -E runs the code through the compiler's parser,
6554 # not just through cpp. "Syntax error" is here to catch this case.
6555 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6556 /* end confdefs.h. */
6558 # include <limits.h>
6560 # include <assert.h>
6564 if ac_fn_c_try_cpp
"$LINENO"; then :
6567 # Broken: fails on valid input.
6570 rm -f conftest.err conftest.i conftest.
$ac_ext
6572 # OK, works on sane cases. Now check whether nonexistent headers
6573 # can be detected and how.
6574 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6575 /* end confdefs.h. */
6576 #include <ac_nonexistent.h>
6578 if ac_fn_c_try_cpp
"$LINENO"; then :
6579 # Broken: success on invalid input.
6582 # Passes both tests.
6586 rm -f conftest.err conftest.i conftest.
$ac_ext
6589 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6590 rm -f conftest.i conftest.err conftest.
$ac_ext
6591 if $ac_preproc_ok; then :
6603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6604 $as_echo "$CPP" >&6; }
6606 for ac_c_preproc_warn_flag
in '' yes
6608 # Use a header file that comes with gcc, so configuring glibc
6609 # with a fresh cross-compiler works.
6610 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6611 # <limits.h> exists even on freestanding compilers.
6612 # On the NeXT, cc -E runs the code through the compiler's parser,
6613 # not just through cpp. "Syntax error" is here to catch this case.
6614 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6615 /* end confdefs.h. */
6617 # include <limits.h>
6619 # include <assert.h>
6623 if ac_fn_c_try_cpp
"$LINENO"; then :
6626 # Broken: fails on valid input.
6629 rm -f conftest.err conftest.i conftest.
$ac_ext
6631 # OK, works on sane cases. Now check whether nonexistent headers
6632 # can be detected and how.
6633 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6634 /* end confdefs.h. */
6635 #include <ac_nonexistent.h>
6637 if ac_fn_c_try_cpp
"$LINENO"; then :
6638 # Broken: success on invalid input.
6641 # Passes both tests.
6645 rm -f conftest.err conftest.i conftest.
$ac_ext
6648 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6649 rm -f conftest.i conftest.err conftest.
$ac_ext
6650 if $ac_preproc_ok; then :
6653 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6654 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6655 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
6656 See \`config.log' for more details" "$LINENO" 5; }
6660 ac_cpp
='$CPP $CPPFLAGS'
6661 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6662 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6663 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6667 $as_echo_n "checking for ANSI C header files... " >&6; }
6668 if ${ac_cv_header_stdc+:} false
; then :
6669 $as_echo_n "(cached) " >&6
6671 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6672 /* end confdefs.h. */
6686 if ac_fn_c_try_compile
"$LINENO"; then :
6687 ac_cv_header_stdc
=yes
6689 ac_cv_header_stdc
=no
6691 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6693 if test $ac_cv_header_stdc = yes; then
6694 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6695 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6696 /* end confdefs.h. */
6700 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6701 $EGREP "memchr" >/dev
/null
2>&1; then :
6704 ac_cv_header_stdc
=no
6710 if test $ac_cv_header_stdc = yes; then
6711 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6712 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6713 /* end confdefs.h. */
6717 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6718 $EGREP "free" >/dev
/null
2>&1; then :
6721 ac_cv_header_stdc
=no
6727 if test $ac_cv_header_stdc = yes; then
6728 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6729 if test "$cross_compiling" = yes; then :
6732 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6733 /* end confdefs.h. */
6736 #if ((' ' & 0x0FF) == 0x020)
6737 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6738 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6740 # define ISLOWER(c) \
6741 (('a' <= (c) && (c) <= 'i') \
6742 || ('j' <= (c) && (c) <= 'r') \
6743 || ('s' <= (c) && (c) <= 'z'))
6744 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6747 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6752 for (i = 0; i < 256; i++)
6753 if (XOR (islower (i), ISLOWER (i))
6754 || toupper (i) != TOUPPER (i))
6759 if ac_fn_c_try_run
"$LINENO"; then :
6762 ac_cv_header_stdc
=no
6764 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6765 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6771 $as_echo "$ac_cv_header_stdc" >&6; }
6772 if test $ac_cv_header_stdc = yes; then
6774 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6778 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6779 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
6780 inttypes.h stdint.h unistd.h
6782 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6783 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6785 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6786 cat >>confdefs.h
<<_ACEOF
6787 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6795 for ac_header
in dlfcn.h
6797 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
6799 if test "x$ac_cv_header_dlfcn_h" = xyes
; then :
6800 cat >>confdefs.h
<<_ACEOF
6801 #define HAVE_DLFCN_H 1
6813 # Check whether --enable-static was given.
6814 if test "${enable_static+set}" = set; then :
6815 enableval
=$enable_static; p
=${PACKAGE-default}
6817 yes) enable_static
=yes ;;
6818 no
) enable_static
=no
;;
6821 # Look at the argument we got. We use all the common list separators.
6822 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
6823 for pkg
in $enableval; do
6825 if test "X$pkg" = "X$p"; then
6851 # Check whether --enable-shared was given.
6852 if test "${enable_shared+set}" = set; then :
6853 enableval
=$enable_shared; p
=${PACKAGE-default}
6855 yes) enable_shared
=yes ;;
6856 no
) enable_shared
=no
;;
6859 # Look at the argument we got. We use all the common list separators.
6860 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
6861 for pkg
in $enableval; do
6863 if test "X$pkg" = "X$p"; then
6884 # Check whether --with-pic was given.
6885 if test "${with_pic+set}" = set; then :
6886 withval
=$with_pic; pic_mode
="$withval"
6892 test -z "$pic_mode" && pic_mode
=default
6900 # Check whether --enable-fast-install was given.
6901 if test "${enable_fast_install+set}" = set; then :
6902 enableval
=$enable_fast_install; p
=${PACKAGE-default}
6904 yes) enable_fast_install
=yes ;;
6905 no
) enable_fast_install
=no
;;
6907 enable_fast_install
=no
6908 # Look at the argument we got. We use all the common list separators.
6909 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
6910 for pkg
in $enableval; do
6912 if test "X$pkg" = "X$p"; then
6913 enable_fast_install
=yes
6920 enable_fast_install
=yes
6933 # This can be used to rebuild libtool when needed
6934 LIBTOOL_DEPS
="$ltmain"
6936 # Always use our own libtool.
6937 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
6964 test -z "$LN_S" && LN_S
="ln -s"
6979 if test -n "${ZSH_VERSION+set}" ; then
6980 setopt NO_GLOB_SUBST
6983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
6984 $as_echo_n "checking for objdir... " >&6; }
6985 if ${lt_cv_objdir+:} false
; then :
6986 $as_echo_n "(cached) " >&6
6988 rm -f .libs
2>/dev
/null
6989 mkdir .libs
2>/dev
/null
6990 if test -d .libs
; then
6993 # MS-DOS does not allow filenames that begin with a dot.
6996 rmdir .libs
2>/dev
/null
6998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
6999 $as_echo "$lt_cv_objdir" >&6; }
7000 objdir
=$lt_cv_objdir
7006 cat >>confdefs.h
<<_ACEOF
7007 #define LT_OBJDIR "$lt_cv_objdir/"
7015 # AIX sometimes has problems with the GCC collect2 program. For some
7016 # reason, if we set the COLLECT_NAMES environment variable, the problems
7017 # vanish in a puff of smoke.
7018 if test "X${COLLECT_NAMES+set}" != Xset
; then
7020 export COLLECT_NAMES
7027 can_build_shared
=yes
7029 # All known linkers require a `.a' archive for static linking (except MSVC,
7030 # which needs '.lib').
7033 with_gnu_ld
="$lt_cv_prog_gnu_ld"
7036 old_CFLAGS
="$CFLAGS"
7038 # Set sane defaults for various variables
7039 test -z "$CC" && CC
=cc
7040 test -z "$LTCC" && LTCC
=$CC
7041 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
7042 test -z "$LD" && LD
=ld
7043 test -z "$ac_objext" && ac_objext
=o
7045 for cc_temp
in $compiler""; do
7047 compile
| *[\\/]compile
| ccache
| *[\\/]ccache
) ;;
7048 distcc
| *[\\/]distcc
| purify
| *[\\/]purify
) ;;
7053 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7056 # Only perform the check for file, if the check method requires it
7057 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
7058 case $deplibs_check_method in
7060 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7062 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7063 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
7064 $as_echo_n "(cached) " >&6
7068 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7071 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7072 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7073 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7074 for ac_dir
in $ac_dummy; do
7076 test -z "$ac_dir" && ac_dir
=.
7077 if test -f $ac_dir/${ac_tool_prefix}file; then
7078 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
7079 if test -n "$file_magic_test_file"; then
7080 case $deplibs_check_method in
7082 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7083 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7084 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null
|
7085 $EGREP "$file_magic_regex" > /dev
/null
; then
7090 *** Warning: the command libtool uses to detect shared libraries,
7091 *** $file_magic_cmd, produces output that libtool cannot recognize.
7092 *** The result is that libtool may fail to recognize shared libraries
7093 *** as such. This will affect the creation of libtool libraries that
7094 *** depend on shared libraries, but programs linked with such libtool
7095 *** libraries will work regardless of this problem. Nevertheless, you
7096 *** may want to report the problem to your system manager and/or to
7097 *** bug-libtool@gnu.org
7107 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7112 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7113 if test -n "$MAGIC_CMD"; then
7114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7115 $as_echo "$MAGIC_CMD" >&6; }
7117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7118 $as_echo "no" >&6; }
7125 if test -z "$lt_cv_path_MAGIC_CMD"; then
7126 if test -n "$ac_tool_prefix"; then
7127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7128 $as_echo_n "checking for file... " >&6; }
7129 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
7130 $as_echo_n "(cached) " >&6
7134 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7137 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7138 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7139 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7140 for ac_dir
in $ac_dummy; do
7142 test -z "$ac_dir" && ac_dir
=.
7143 if test -f $ac_dir/file; then
7144 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
7145 if test -n "$file_magic_test_file"; then
7146 case $deplibs_check_method in
7148 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7149 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7150 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null
|
7151 $EGREP "$file_magic_regex" > /dev
/null
; then
7156 *** Warning: the command libtool uses to detect shared libraries,
7157 *** $file_magic_cmd, produces output that libtool cannot recognize.
7158 *** The result is that libtool may fail to recognize shared libraries
7159 *** as such. This will affect the creation of libtool libraries that
7160 *** depend on shared libraries, but programs linked with such libtool
7161 *** libraries will work regardless of this problem. Nevertheless, you
7162 *** may want to report the problem to your system manager and/or to
7163 *** bug-libtool@gnu.org
7173 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7178 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7179 if test -n "$MAGIC_CMD"; then
7180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7181 $as_echo "$MAGIC_CMD" >&6; }
7183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7184 $as_echo "no" >&6; }
7197 # Use C for the default configuration in the libtool script
7201 ac_cpp
='$CPP $CPPFLAGS'
7202 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7203 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7204 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7207 # Source file extension for C test sources.
7210 # Object file extension for compiled C test sources.
7214 # Code to be used in simple compile tests
7215 lt_simple_compile_test_code
="int some_variable = 0;"
7217 # Code to be used in simple link tests
7218 lt_simple_link_test_code
='int main(){return(0);}'
7226 # If no C compiler was specified, use CC.
7229 # If no C compiler flags were specified, use CFLAGS.
7230 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
7232 # Allow CC to be a program name with arguments.
7235 # Save the default compiler, since it gets overwritten when the other
7236 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7237 compiler_DEFAULT
=$CC
7239 # save warnings/boilerplate of simple test code
7240 ac_outfile
=conftest.
$ac_objext
7241 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
7242 eval "$ac_compile" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
7243 _lt_compiler_boilerplate
=`cat conftest.err`
7246 ac_outfile
=conftest.
$ac_objext
7247 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
7248 eval "$ac_link" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
7249 _lt_linker_boilerplate
=`cat conftest.err`
7253 if test -n "$compiler"; then
7255 lt_prog_compiler_no_builtin_flag
=
7257 if test "$GCC" = yes; then
7258 case $cc_basename in
7260 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
7262 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
7265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7266 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7267 if ${lt_cv_prog_compiler_rtti_exceptions+:} false
; then :
7268 $as_echo_n "(cached) " >&6
7270 lt_cv_prog_compiler_rtti_exceptions
=no
7271 ac_outfile
=conftest.
$ac_objext
7272 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7273 lt_compiler_flag
="-fno-rtti -fno-exceptions"
7274 # Insert the option either (1) after the last *FLAGS variable, or
7275 # (2) before a word containing "conftest.", or (3) at the end.
7276 # Note that $ac_compile itself does not contain backslashes and begins
7277 # with a dollar sign (not a hyphen), so the echo should work correctly.
7278 # The option is referenced via a variable to avoid confusing sed.
7279 lt_compile
=`echo "$ac_compile" | $SED \
7280 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7281 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7282 -e 's:$: $lt_compiler_flag:'`
7283 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
7284 (eval "$lt_compile" 2>conftest.err
)
7286 cat conftest.err
>&5
7287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7288 if (exit $ac_status) && test -s "$ac_outfile"; then
7289 # The compiler can only warn and ignore the option if not recognized
7290 # So say no if there are warnings other than the usual output.
7291 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
7292 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7293 if test ! -s conftest.er2
|| diff conftest.exp conftest.er2
>/dev
/null
; then
7294 lt_cv_prog_compiler_rtti_exceptions
=yes
7300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7301 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7303 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
7304 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7316 lt_prog_compiler_wl
=
7317 lt_prog_compiler_pic
=
7318 lt_prog_compiler_static
=
7321 if test "$GCC" = yes; then
7322 lt_prog_compiler_wl
='-Wl,'
7323 lt_prog_compiler_static
='-static'
7327 # All AIX code is PIC.
7328 if test "$host_cpu" = ia64
; then
7329 # AIX 5 now supports IA64 processor
7330 lt_prog_compiler_static
='-Bstatic'
7337 # see comment about AmigaOS4 .so support
7338 lt_prog_compiler_pic
='-fPIC'
7341 # FIXME: we need at least 68020 code to build shared libraries, but
7342 # adding the `-m68020' flag to GCC prevents building anything better,
7344 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
7349 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
7350 # PIC is the default for these OSes.
7353 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
7354 # This hack is so that the source file can tell whether it is being
7355 # built for inclusion in a dll (and should export symbols for example).
7356 # Although the cygwin gcc ignores -fPIC, still need this for old-style
7357 # (--disable-auto-import) libraries
7358 lt_prog_compiler_pic
='-DDLL_EXPORT'
7361 darwin
* | rhapsody
*)
7362 # PIC is the default on this platform
7363 # Common symbols not allowed in MH_DYLIB files
7364 lt_prog_compiler_pic
='-fno-common'
7368 # PIC is the default for Haiku.
7369 # The "-static" flag exists, but is broken.
7370 lt_prog_compiler_static
=
7374 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
7375 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
7376 # sets the default TLS model and affects inlining.
7382 lt_prog_compiler_pic
='-fPIC'
7388 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7389 # Instead, we relocate shared libraries at runtime.
7393 # Just because we use GCC doesn't mean we suddenly get shared libraries
7394 # on systems that don't support them.
7395 lt_prog_compiler_can_build_shared
=no
7400 # QNX uses GNU C++, but need to define -shared option too, otherwise
7402 lt_prog_compiler_pic
='-fPIC -shared'
7406 if test -d /usr
/nec
; then
7407 lt_prog_compiler_pic
=-Kconform_pic
7412 lt_prog_compiler_pic
='-fPIC'
7416 case $cc_basename in
7417 nvcc
*) # Cuda Compiler Driver 2.2
7418 lt_prog_compiler_wl
='-Xlinker '
7419 lt_prog_compiler_pic
='-Xcompiler -fPIC'
7423 # PORTME Check for flag to pass linker flags through the system compiler.
7426 lt_prog_compiler_wl
='-Wl,'
7427 if test "$host_cpu" = ia64
; then
7428 # AIX 5 now supports IA64 processor
7429 lt_prog_compiler_static
='-Bstatic'
7431 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
7435 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
7436 # This hack is so that the source file can tell whether it is being
7437 # built for inclusion in a dll (and should export symbols for example).
7438 lt_prog_compiler_pic
='-DDLL_EXPORT'
7441 hpux9
* | hpux10
* | hpux11
*)
7442 lt_prog_compiler_wl
='-Wl,'
7443 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7450 lt_prog_compiler_pic
='+Z'
7453 # Is there a better lt_prog_compiler_static that works with the bundled CC?
7454 lt_prog_compiler_static
='${wl}-a ${wl}archive'
7457 irix5
* | irix6
* | nonstopux
*)
7458 lt_prog_compiler_wl
='-Wl,'
7459 # PIC (with -KPIC) is the default.
7460 lt_prog_compiler_static
='-non_shared'
7463 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
7464 case $cc_basename in
7465 # old Intel for x86_64 which still supported -KPIC.
7467 lt_prog_compiler_wl
='-Wl,'
7468 lt_prog_compiler_pic
='-KPIC'
7469 lt_prog_compiler_static
='-static'
7471 # icc used to be incompatible with GCC.
7472 # ICC 10 doesn't accept -KPIC any more.
7474 lt_prog_compiler_wl
='-Wl,'
7475 lt_prog_compiler_pic
='-fPIC'
7476 lt_prog_compiler_static
='-static'
7478 # Lahey Fortran 8.1.
7480 lt_prog_compiler_wl
='-Wl,'
7481 lt_prog_compiler_pic
='--shared'
7482 lt_prog_compiler_static
='--static'
7485 # NAG Fortran compiler
7486 lt_prog_compiler_wl
='-Wl,-Wl,,'
7487 lt_prog_compiler_pic
='-PIC'
7488 lt_prog_compiler_static
='-Bstatic'
7490 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
7491 # Portland Group compilers (*not* the Pentium gcc compiler,
7492 # which looks to be a dead project)
7493 lt_prog_compiler_wl
='-Wl,'
7494 lt_prog_compiler_pic
='-fpic'
7495 lt_prog_compiler_static
='-Bstatic'
7498 lt_prog_compiler_wl
='-Wl,'
7499 # All Alpha code is PIC.
7500 lt_prog_compiler_static
='-non_shared'
7502 xl
* | bgxl
* | bgf
* | mpixl
*)
7503 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
7504 lt_prog_compiler_wl
='-Wl,'
7505 lt_prog_compiler_pic
='-qpic'
7506 lt_prog_compiler_static
='-qstaticlink'
7509 case `$CC -V 2>&1 | sed 5q` in
7510 *Sun\ F
* | *Sun
*Fortran
*)
7511 # Sun Fortran 8.3 passes all unrecognized flags to the linker
7512 lt_prog_compiler_pic
='-KPIC'
7513 lt_prog_compiler_static
='-Bstatic'
7514 lt_prog_compiler_wl
=''
7518 lt_prog_compiler_pic
='-KPIC'
7519 lt_prog_compiler_static
='-Bstatic'
7520 lt_prog_compiler_wl
='-Wl,'
7528 lt_prog_compiler_pic
='-KPIC'
7529 lt_prog_compiler_static
='-Bstatic'
7533 # QNX uses GNU C++, but need to define -shared option too, otherwise
7535 lt_prog_compiler_pic
='-fPIC -shared'
7538 osf3
* | osf4
* | osf5
*)
7539 lt_prog_compiler_wl
='-Wl,'
7540 # All OSF/1 code is PIC.
7541 lt_prog_compiler_static
='-non_shared'
7545 lt_prog_compiler_static
='-non_shared'
7549 lt_prog_compiler_pic
='-KPIC'
7550 lt_prog_compiler_static
='-Bstatic'
7551 case $cc_basename in
7552 f77
* | f90
* | f95
* | sunf77
* | sunf90
* | sunf95
*)
7553 lt_prog_compiler_wl
='-Qoption ld ';;
7555 lt_prog_compiler_wl
='-Wl,';;
7560 lt_prog_compiler_wl
='-Qoption ld '
7561 lt_prog_compiler_pic
='-PIC'
7562 lt_prog_compiler_static
='-Bstatic'
7565 sysv4
| sysv4.2uw2
* | sysv4.3
*)
7566 lt_prog_compiler_wl
='-Wl,'
7567 lt_prog_compiler_pic
='-KPIC'
7568 lt_prog_compiler_static
='-Bstatic'
7572 if test -d /usr
/nec
;then
7573 lt_prog_compiler_pic
='-Kconform_pic'
7574 lt_prog_compiler_static
='-Bstatic'
7578 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
7579 lt_prog_compiler_wl
='-Wl,'
7580 lt_prog_compiler_pic
='-KPIC'
7581 lt_prog_compiler_static
='-Bstatic'
7585 lt_prog_compiler_wl
='-Wl,'
7586 lt_prog_compiler_can_build_shared
=no
7590 lt_prog_compiler_pic
='-pic'
7591 lt_prog_compiler_static
='-Bstatic'
7595 lt_prog_compiler_can_build_shared
=no
7601 # For platforms which do not support PIC, -DPIC is meaningless:
7603 lt_prog_compiler_pic
=
7606 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
7610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
7611 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
7612 if ${lt_cv_prog_compiler_pic+:} false
; then :
7613 $as_echo_n "(cached) " >&6
7615 lt_cv_prog_compiler_pic
=$lt_prog_compiler_pic
7617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
7618 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
7619 lt_prog_compiler_pic
=$lt_cv_prog_compiler_pic
7622 # Check to make sure the PIC flag actually works.
7624 if test -n "$lt_prog_compiler_pic"; then
7625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7626 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
7627 if ${lt_cv_prog_compiler_pic_works+:} false
; then :
7628 $as_echo_n "(cached) " >&6
7630 lt_cv_prog_compiler_pic_works
=no
7631 ac_outfile
=conftest.
$ac_objext
7632 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7633 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
7634 # Insert the option either (1) after the last *FLAGS variable, or
7635 # (2) before a word containing "conftest.", or (3) at the end.
7636 # Note that $ac_compile itself does not contain backslashes and begins
7637 # with a dollar sign (not a hyphen), so the echo should work correctly.
7638 # The option is referenced via a variable to avoid confusing sed.
7639 lt_compile
=`echo "$ac_compile" | $SED \
7640 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7641 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7642 -e 's:$: $lt_compiler_flag:'`
7643 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
7644 (eval "$lt_compile" 2>conftest.err
)
7646 cat conftest.err
>&5
7647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7648 if (exit $ac_status) && test -s "$ac_outfile"; then
7649 # The compiler can only warn and ignore the option if not recognized
7650 # So say no if there are warnings other than the usual output.
7651 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
7652 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7653 if test ! -s conftest.er2
|| diff conftest.exp conftest.er2
>/dev
/null
; then
7654 lt_cv_prog_compiler_pic_works
=yes
7660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
7661 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
7663 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
7664 case $lt_prog_compiler_pic in
7666 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
7669 lt_prog_compiler_pic
=
7670 lt_prog_compiler_can_build_shared
=no
7686 # Check to make sure the static flag actually works.
7688 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
7689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7690 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
7691 if ${lt_cv_prog_compiler_static_works+:} false
; then :
7692 $as_echo_n "(cached) " >&6
7694 lt_cv_prog_compiler_static_works
=no
7695 save_LDFLAGS
="$LDFLAGS"
7696 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
7697 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
7698 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
7699 # The linker can only warn and ignore the option if not recognized
7700 # So say no if there are warnings
7701 if test -s conftest.err
; then
7702 # Append any errors to the config.log.
7703 cat conftest.err
1>&5
7704 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
7705 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7706 if diff conftest.exp conftest.er2
>/dev
/null
; then
7707 lt_cv_prog_compiler_static_works
=yes
7710 lt_cv_prog_compiler_static_works
=yes
7714 LDFLAGS
="$save_LDFLAGS"
7717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
7718 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
7720 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
7723 lt_prog_compiler_static
=
7732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
7733 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
7734 if ${lt_cv_prog_compiler_c_o+:} false
; then :
7735 $as_echo_n "(cached) " >&6
7737 lt_cv_prog_compiler_c_o
=no
7738 $RM -r conftest
2>/dev
/null
7742 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7744 lt_compiler_flag
="-o out/conftest2.$ac_objext"
7745 # Insert the option either (1) after the last *FLAGS variable, or
7746 # (2) before a word containing "conftest.", or (3) at the end.
7747 # Note that $ac_compile itself does not contain backslashes and begins
7748 # with a dollar sign (not a hyphen), so the echo should work correctly.
7749 lt_compile
=`echo "$ac_compile" | $SED \
7750 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7751 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7752 -e 's:$: $lt_compiler_flag:'`
7753 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
7754 (eval "$lt_compile" 2>out
/conftest.err
)
7756 cat out
/conftest.err
>&5
7757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7758 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
7760 # The compiler can only warn and ignore the option if not recognized
7761 # So say no if there are warnings
7762 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out
/conftest.exp
7763 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
7764 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
7765 lt_cv_prog_compiler_c_o
=yes
7770 # SGI C++ compiler will create directory out/ii_files/ for
7771 # template instantiation
7772 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
7773 $RM out
/* && rmdir out
7779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
7780 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
7787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
7788 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
7789 if ${lt_cv_prog_compiler_c_o+:} false
; then :
7790 $as_echo_n "(cached) " >&6
7792 lt_cv_prog_compiler_c_o
=no
7793 $RM -r conftest
2>/dev
/null
7797 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7799 lt_compiler_flag
="-o out/conftest2.$ac_objext"
7800 # Insert the option either (1) after the last *FLAGS variable, or
7801 # (2) before a word containing "conftest.", or (3) at the end.
7802 # Note that $ac_compile itself does not contain backslashes and begins
7803 # with a dollar sign (not a hyphen), so the echo should work correctly.
7804 lt_compile
=`echo "$ac_compile" | $SED \
7805 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7806 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7807 -e 's:$: $lt_compiler_flag:'`
7808 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
7809 (eval "$lt_compile" 2>out
/conftest.err
)
7811 cat out
/conftest.err
>&5
7812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7813 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
7815 # The compiler can only warn and ignore the option if not recognized
7816 # So say no if there are warnings
7817 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out
/conftest.exp
7818 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
7819 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
7820 lt_cv_prog_compiler_c_o
=yes
7825 # SGI C++ compiler will create directory out/ii_files/ for
7826 # template instantiation
7827 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
7828 $RM out
/* && rmdir out
7834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
7835 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
7840 hard_links
="nottested"
7841 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
7842 # do not overwrite the value of need_locks provided by the user
7843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
7844 $as_echo_n "checking if we can lock with hard links... " >&6; }
7847 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
7849 ln conftest.a conftest.b
2>&5 || hard_links
=no
7850 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
7851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
7852 $as_echo "$hard_links" >&6; }
7853 if test "$hard_links" = no
; then
7854 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
7855 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
7867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
7868 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
7871 allow_undefined_flag
=
7872 always_export_symbols
=no
7874 archive_expsym_cmds
=
7875 compiler_needs_object
=no
7876 enable_shared_with_static_runtimes
=no
7877 export_dynamic_flag_spec
=
7878 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
7879 hardcode_automatic
=no
7881 hardcode_direct_absolute
=no
7882 hardcode_libdir_flag_spec
=
7883 hardcode_libdir_flag_spec_ld
=
7884 hardcode_libdir_separator
=
7886 hardcode_shlibpath_var
=unsupported
7888 link_all_deplibs
=unknown
7891 old_archive_from_new_cmds
=
7892 old_archive_from_expsyms_cmds
=
7893 thread_safe_flag_spec
=
7894 whole_archive_flag_spec
=
7895 # include_expsyms should be a list of space-separated symbols to be *always*
7896 # included in the symbol list
7898 # exclude_expsyms can be an extended regexp of symbols to exclude
7899 # it will be wrapped by ` (' and `)$', so one must not match beginning or
7900 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
7901 # as well as any symbol that contains `d'.
7902 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
7903 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
7904 # platforms (ab)use it in PIC code, but their linkers get confused if
7905 # the symbol is explicitly referenced. Since portable code cannot
7906 # rely on this symbol name, it's probably fine to never include it in
7907 # preloaded symbol tables.
7908 # Exclude shared library initialization/finalization symbols.
7909 extract_expsyms_cmds
=
7912 cygwin
* | mingw
* | pw32
* | cegcc
*)
7913 # FIXME: the MSVC++ port hasn't been tested in a loooong time
7914 # When not using gcc, we currently assume that we are using
7915 # Microsoft Visual C++.
7916 if test "$GCC" != yes; then
7921 # we just hope/assume this is gcc and not c89 (= MSVC++)
7927 linux
* | k
*bsd
*-gnu | gnu
*)
7934 # On some targets, GNU ld is compatible enough with the native linker
7935 # that we're better off using the native interface for both.
7936 lt_use_gnu_ld_interface
=no
7937 if test "$with_gnu_ld" = yes; then
7940 # The AIX port of GNU ld has always aspired to compatibility
7941 # with the native linker. However, as the warning in the GNU ld
7942 # block says, versions before 2.19.5* couldn't really create working
7943 # shared libraries, regardless of the interface used.
7944 case `$LD -v 2>&1` in
7945 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
7946 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
7947 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
7949 lt_use_gnu_ld_interface
=yes
7954 lt_use_gnu_ld_interface
=yes
7959 if test "$lt_use_gnu_ld_interface" = yes; then
7960 # If archive_cmds runs LD, not CC, wlarc should be empty
7963 # Set some defaults for GNU ld with shared library support. These
7964 # are reset later if shared libraries are not supported. Putting them
7965 # here allows them to be overridden if necessary.
7966 runpath_var
=LD_RUN_PATH
7967 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
7968 export_dynamic_flag_spec
='${wl}--export-dynamic'
7969 # ancient GNU ld didn't support --whole-archive et. al.
7970 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev
/null
; then
7971 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
7973 whole_archive_flag_spec
=
7975 supports_anon_versioning
=no
7976 case `$LD -v 2>&1` in
7977 *GNU\ gold
*) supports_anon_versioning
=yes ;;
7978 *\
[01].
* | *\
2.
[0-9].
* | *\
2.10.
*) ;; # catch versions < 2.11
7979 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
7980 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
7981 *\
2.11.
*) ;; # other 2.11 versions
7982 *) supports_anon_versioning
=yes ;;
7985 # See if GNU ld supports shared libraries.
7988 # On AIX/PPC, the GNU linker is very broken
7989 if test "$host_cpu" != ia64
; then
7993 *** Warning: the GNU linker, at least up to release 2.19, is reported
7994 *** to be unable to reliably create shared libraries on AIX.
7995 *** Therefore, libtool is disabling shared libraries support. If you
7996 *** really care for shared libraries, you may want to install binutils
7997 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
7998 *** You will then need to restart the configuration process.
8007 # see comment about AmigaOS4 .so support
8008 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8009 archive_expsym_cmds
=''
8012 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)'
8013 hardcode_libdir_flag_spec
='-L$libdir'
8014 hardcode_minus_L
=yes
8020 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
8021 allow_undefined_flag
=unsupported
8022 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8023 # support --undefined. This deserves some investigation. FIXME
8024 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8030 cygwin
* | mingw
* | pw32
* | cegcc
*)
8031 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8032 # as there is no search path for DLLs.
8033 hardcode_libdir_flag_spec
='-L$libdir'
8034 export_dynamic_flag_spec
='${wl}--export-all-symbols'
8035 allow_undefined_flag
=unsupported
8036 always_export_symbols
=no
8037 enable_shared_with_static_runtimes
=yes
8038 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'
8039 exclude_expsyms
='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
8041 if $LD --help 2>&1 | $GREP 'auto-import' > /dev
/null
; then
8042 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8043 # If the export-symbols file already is a .def file (1st line
8044 # is EXPORTS), use it as is; otherwise, prepend...
8045 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8046 cp $export_symbols $output_objdir/$soname.def;
8048 echo EXPORTS > $output_objdir/$soname.def;
8049 cat $export_symbols >> $output_objdir/$soname.def;
8051 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8058 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8059 link_all_deplibs
=yes
8064 hardcode_shlibpath_var
=no
8065 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8066 export_dynamic_flag_spec
='${wl}-E'
8067 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8068 # Instead, shared libraries are loaded at an image base (0x10000000 by
8069 # default) and relocated if they conflict, which is a slow very memory
8070 # consuming and fragmenting process. To avoid this, we pick a random,
8071 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8072 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8073 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8074 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'
8077 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
8079 if test "$host_os" = linux
-dietlibc; then
8080 case $cc_basename in
8081 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
8084 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev
/null \
8085 && test "$tmp_diet" = no
8087 tmp_addflag
=' $pic_flag'
8088 tmp_sharedflag
='-shared'
8089 case $cc_basename,$host_cpu in
8090 pgcc
*) # Portland Group C compiler
8091 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'
8092 tmp_addflag
=' $pic_flag'
8094 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
8095 # Portland Group f77 and f90 compilers
8096 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'
8097 tmp_addflag
=' $pic_flag -Mnomain' ;;
8098 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
8099 tmp_addflag
=' -i_dynamic' ;;
8100 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
8101 tmp_addflag
=' -i_dynamic -nofor_main' ;;
8102 ifc
* | ifort
*) # Intel Fortran compiler
8103 tmp_addflag
=' -nofor_main' ;;
8104 lf95
*) # Lahey Fortran 8.1
8105 whole_archive_flag_spec
=
8106 tmp_sharedflag
='--shared' ;;
8107 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8108 tmp_sharedflag
='-qmkshrobj'
8110 nvcc
*) # Cuda Compiler Driver 2.2
8111 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'
8112 compiler_needs_object
=yes
8115 case `$CC -V 2>&1 | sed 5q` in
8116 *Sun\ C
*) # Sun C 5.9
8117 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'
8118 compiler_needs_object
=yes
8119 tmp_sharedflag
='-G' ;;
8120 *Sun\ F
*) # Sun Fortran 8.3
8121 tmp_sharedflag
='-G' ;;
8123 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8125 if test "x$supports_anon_versioning" = xyes
; then
8126 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8127 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8128 echo "local: *; };" >> $output_objdir/$libname.ver~
8129 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8132 case $cc_basename in
8133 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
8134 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8135 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
8136 hardcode_libdir_flag_spec
=
8137 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
8138 archive_cmds
='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
8139 if test "x$supports_anon_versioning" = xyes
; then
8140 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8141 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8142 echo "local: *; };" >> $output_objdir/$libname.ver~
8143 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8152 netbsd
* | netbsdelf
*-gnu)
8153 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
8154 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8157 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8158 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8163 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev
/null
; then
8167 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8168 *** create shared libraries on Solaris systems. Therefore, libtool
8169 *** is disabling shared libraries support. We urge you to upgrade GNU
8170 *** binutils to release 2.9.1 or newer. Another option is to modify
8171 *** your PATH or compiler configuration so that the native linker is
8172 *** used, and then restart.
8175 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
8176 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8177 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8183 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
8184 case `$LD -v 2>&1` in
8185 *\
[01].
* | *\
2.
[0-9].
* | *\
2.1[0-5].
*)
8189 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8190 *** reliably create shared libraries on SCO systems. Therefore, libtool
8191 *** is disabling shared libraries support. We urge you to upgrade GNU
8192 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8193 *** your PATH or compiler configuration so that the native linker is
8194 *** used, and then restart.
8199 # For security reasons, it is highly recommended that you always
8200 # use absolute paths for naming shared libraries, and exclude the
8201 # DT_RUNPATH tag from executables and libraries. But doing so
8202 # requires that you compile everything twice, which is a pain.
8203 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
8204 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8205 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8206 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8215 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8218 hardcode_shlibpath_var
=no
8222 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
8223 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8224 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8231 if test "$ld_shlibs" = no
; then
8233 hardcode_libdir_flag_spec
=
8234 export_dynamic_flag_spec
=
8235 whole_archive_flag_spec
=
8238 # PORTME fill in a description of your system's linker (not GNU ld)
8241 allow_undefined_flag
=unsupported
8242 always_export_symbols
=yes
8243 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'
8244 # Note: this linker hardcodes the directories in LIBPATH if there
8245 # are no directories specified by -L.
8246 hardcode_minus_L
=yes
8247 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8248 # Neither direct hardcoding nor static linking is supported with a
8250 hardcode_direct
=unsupported
8255 if test "$host_cpu" = ia64
; then
8256 # On IA64, the linker does run time linking by default, so we don't
8257 # have to do anything special.
8258 aix_use_runtimelinking
=no
8259 exp_sym_flag
='-Bexport'
8262 # If we're using GNU nm, then we don't want the "-C" option.
8263 # -C means demangle to AIX nm, but means don't demangle with GNU nm
8264 # Also, AIX nm treats weak defined symbols like other global
8265 # defined symbols, whereas GNU nm marks them as "W".
8266 if $NM -V 2>&1 | $GREP 'GNU' > /dev
/null
; then
8267 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'
8269 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'
8271 aix_use_runtimelinking
=no
8273 # Test if we are trying to use run time linking or normal
8274 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8275 # need to do runtime linking.
8276 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
8277 for ld_flag
in $LDFLAGS; do
8278 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
8279 aix_use_runtimelinking
=yes
8286 exp_sym_flag
='-bexport'
8287 no_entry_flag
='-bnoentry'
8290 # When large executables or shared objects are built, AIX ld can
8291 # have problems creating the table of contents. If linking a library
8292 # or program results in "error TOC overflow" add -mminimal-toc to
8293 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8294 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8298 hardcode_direct_absolute
=yes
8299 hardcode_libdir_separator
=':'
8300 link_all_deplibs
=yes
8301 file_list_spec
='${wl}-f,'
8303 if test "$GCC" = yes; then
8304 case $host_os in aix4.
[012]|aix4.
[012].
*)
8305 # We only want to do this on AIX 4.2 and lower, the check
8306 # below for broken collect2 doesn't work under 4.3+
8307 collect2name
=`${CC} -print-prog-name=collect2`
8308 if test -f "$collect2name" &&
8309 strings "$collect2name" | $GREP resolve_lib_name
>/dev
/null
8311 # We have reworked collect2
8314 # We have old collect2
8315 hardcode_direct
=unsupported
8316 # It fails to find uninstalled libraries when the uninstalled
8317 # path is not listed in the libpath. Setting hardcode_minus_L
8318 # to unsupported forces relinking
8319 hardcode_minus_L
=yes
8320 hardcode_libdir_flag_spec
='-L$libdir'
8321 hardcode_libdir_separator
=
8325 shared_flag
='-shared'
8326 if test "$aix_use_runtimelinking" = yes; then
8327 shared_flag
="$shared_flag "'${wl}-G'
8332 if test "$host_cpu" = ia64
; then
8333 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8334 # chokes on -Wl,-G. The following line is correct:
8337 if test "$aix_use_runtimelinking" = yes; then
8338 shared_flag
='${wl}-G'
8340 shared_flag
='${wl}-bM:SRE'
8345 export_dynamic_flag_spec
='${wl}-bexpall'
8346 # It seems that -bexpall does not export symbols beginning with
8347 # underscore (_), so it is better to generate a list of symbols to export.
8348 always_export_symbols
=yes
8349 if test "$aix_use_runtimelinking" = yes; then
8350 # Warning - without using the other runtime loading flags (-brtl),
8351 # -berok will link without error, but may produce a broken library.
8352 allow_undefined_flag
='-berok'
8353 # Determine the default libpath from the value encoded in an
8355 if test "${lt_cv_aix_libpath+set}" = set; then
8356 aix_libpath
=$lt_cv_aix_libpath
8358 if ${lt_cv_aix_libpath_+:} false
; then :
8359 $as_echo_n "(cached) " >&6
8361 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8362 /* end confdefs.h. */
8372 if ac_fn_c_try_link
"$LINENO"; then :
8374 lt_aix_libpath_sed
='
8375 /Import File Strings/,/^$/ {
8377 s/^0 *\([^ ]*\) *$/\1/
8381 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8382 # Check for a 64-bit object if we didn't find anything.
8383 if test -z "$lt_cv_aix_libpath_"; then
8384 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8387 rm -f core conftest.err conftest.
$ac_objext \
8388 conftest
$ac_exeext conftest.
$ac_ext
8389 if test -z "$lt_cv_aix_libpath_"; then
8390 lt_cv_aix_libpath_
="/usr/lib:/lib"
8395 aix_libpath
=$lt_cv_aix_libpath_
8398 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
8399 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"
8401 if test "$host_cpu" = ia64
; then
8402 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
8403 allow_undefined_flag
="-z nodefs"
8404 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"
8406 # Determine the default libpath from the value encoded in an
8408 if test "${lt_cv_aix_libpath+set}" = set; then
8409 aix_libpath
=$lt_cv_aix_libpath
8411 if ${lt_cv_aix_libpath_+:} false
; then :
8412 $as_echo_n "(cached) " >&6
8414 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8415 /* end confdefs.h. */
8425 if ac_fn_c_try_link
"$LINENO"; then :
8427 lt_aix_libpath_sed
='
8428 /Import File Strings/,/^$/ {
8430 s/^0 *\([^ ]*\) *$/\1/
8434 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8435 # Check for a 64-bit object if we didn't find anything.
8436 if test -z "$lt_cv_aix_libpath_"; then
8437 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8440 rm -f core conftest.err conftest.
$ac_objext \
8441 conftest
$ac_exeext conftest.
$ac_ext
8442 if test -z "$lt_cv_aix_libpath_"; then
8443 lt_cv_aix_libpath_
="/usr/lib:/lib"
8448 aix_libpath
=$lt_cv_aix_libpath_
8451 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
8452 # Warning - without using the other run time loading flags,
8453 # -berok will link without error, but may produce a broken library.
8454 no_undefined_flag
=' ${wl}-bernotok'
8455 allow_undefined_flag
=' ${wl}-berok'
8456 if test "$with_gnu_ld" = yes; then
8457 # We only use this code for GNU lds that support --whole-archive.
8458 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
8460 # Exported symbols can be pulled into shared objects from archives
8461 whole_archive_flag_spec
='$convenience'
8463 archive_cmds_need_lc
=yes
8464 # This is similar to how AIX traditionally builds its shared libraries.
8465 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'
8473 # see comment about AmigaOS4 .so support
8474 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8475 archive_expsym_cmds
=''
8478 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)'
8479 hardcode_libdir_flag_spec
='-L$libdir'
8480 hardcode_minus_L
=yes
8486 export_dynamic_flag_spec
=-rdynamic
8489 cygwin
* | mingw
* | pw32
* | cegcc
*)
8490 # When not using gcc, we currently assume that we are using
8491 # Microsoft Visual C++.
8492 # hardcode_libdir_flag_spec is actually meaningless, as there is
8493 # no search path for DLLs.
8494 case $cc_basename in
8497 hardcode_libdir_flag_spec
=' '
8498 allow_undefined_flag
=unsupported
8499 always_export_symbols
=yes
8501 # Tell ltmain to make .lib files, not .a files.
8503 # Tell ltmain to make .dll files, not .so files.
8505 # FIXME: Setting linknames here is a bad hack.
8506 archive_cmds
='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
8507 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8508 sed -n -e 's
/\\\\\\\
(.
*\\\\\\\
)/-link\\\
-EXPORT:\\\\\\\
1/' -e '1\\\
!p
' < $export_symbols > $output_objdir/$soname.exp;
8510 sed -e 's
/\\\\\\\
(.
*\\\\\\\
)/-link\\\
-EXPORT:\\\\\\\
1/' < $export_symbols > $output_objdir/$soname.exp;
8512 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
8514 # The linker will not automatically build a static lib if we build a DLL.
8515 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
8516 enable_shared_with_static_runtimes
=yes
8517 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8519 old_postinstall_cmds
='chmod 644 $oldlib'
8520 postlink_cmds
='lt_outputfile="@OUTPUT@"~
8521 lt_tool_outputfile="@TOOL_OUTPUT@"~
8522 case $lt_outputfile in
8525 lt_outputfile="$lt_outputfile.exe"
8526 lt_tool_outputfile="$lt_tool_outputfile.exe"
8529 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
8530 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
8531 $RM "$lt_outputfile.manifest";
8535 # Assume MSVC wrapper
8536 hardcode_libdir_flag_spec
=' '
8537 allow_undefined_flag
=unsupported
8538 # Tell ltmain to make .lib files, not .a files.
8540 # Tell ltmain to make .dll files, not .so files.
8542 # FIXME: Setting linknames here is a bad hack.
8543 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
8544 # The linker will automatically build a .lib file if we build a DLL.
8545 old_archive_from_new_cmds
='true'
8546 # FIXME: Should let the user specify the lib program.
8547 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
8548 enable_shared_with_static_runtimes
=yes
8553 darwin
* | rhapsody
*)
8556 archive_cmds_need_lc
=no
8558 hardcode_automatic
=yes
8559 hardcode_shlibpath_var
=unsupported
8560 if test "$lt_cv_ld_force_load" = "yes"; then
8561 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\"`'
8563 whole_archive_flag_spec
=''
8565 link_all_deplibs
=yes
8566 allow_undefined_flag
="$_lt_dar_allow_undefined"
8567 case $cc_basename in
8568 ifort
*) _lt_dar_can_shared
=yes ;;
8569 *) _lt_dar_can_shared
=$GCC ;;
8571 if test "$_lt_dar_can_shared" = "yes"; then
8572 output_verbose_link_cmd
=func_echo_all
8573 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
8574 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
8575 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}"
8576 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}"
8585 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8586 hardcode_libdir_flag_spec
='-L$libdir'
8587 hardcode_shlibpath_var
=no
8594 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8595 # support. Future versions do this automatically, but an explicit c++rt0.o
8596 # does not break anything, and helps significantly (at the cost of a little
8599 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8600 hardcode_libdir_flag_spec
='-R$libdir'
8602 hardcode_shlibpath_var
=no
8605 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8607 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8609 hardcode_minus_L
=yes
8610 hardcode_shlibpath_var
=no
8613 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8614 freebsd
* | dragonfly
*)
8615 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8616 hardcode_libdir_flag_spec
='-R$libdir'
8618 hardcode_shlibpath_var
=no
8622 if test "$GCC" = yes; then
8623 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'
8625 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'
8627 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8628 hardcode_libdir_separator
=:
8631 # hardcode_minus_L: Not really in the search PATH,
8632 # but as the default location of the library.
8633 hardcode_minus_L
=yes
8634 export_dynamic_flag_spec
='${wl}-E'
8638 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
8639 archive_cmds
='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8641 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8643 if test "$with_gnu_ld" = no
; then
8644 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8645 hardcode_libdir_flag_spec_ld
='+b $libdir'
8646 hardcode_libdir_separator
=:
8648 hardcode_direct_absolute
=yes
8649 export_dynamic_flag_spec
='${wl}-E'
8650 # hardcode_minus_L: Not really in the search PATH,
8651 # but as the default location of the library.
8652 hardcode_minus_L
=yes
8657 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
8660 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8663 archive_cmds
='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8666 archive_cmds
='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8672 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8675 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8679 # Older versions of the 11.00 compiler do not understand -b yet
8680 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
8681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
8682 $as_echo_n "checking if $CC understands -b... " >&6; }
8683 if ${lt_cv_prog_compiler__b+:} false
; then :
8684 $as_echo_n "(cached) " >&6
8686 lt_cv_prog_compiler__b
=no
8687 save_LDFLAGS
="$LDFLAGS"
8688 LDFLAGS
="$LDFLAGS -b"
8689 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
8690 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
8691 # The linker can only warn and ignore the option if not recognized
8692 # So say no if there are warnings
8693 if test -s conftest.err
; then
8694 # Append any errors to the config.log.
8695 cat conftest.err
1>&5
8696 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8697 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8698 if diff conftest.exp conftest.er2
>/dev
/null
; then
8699 lt_cv_prog_compiler__b
=yes
8702 lt_cv_prog_compiler__b
=yes
8706 LDFLAGS
="$save_LDFLAGS"
8709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
8710 $as_echo "$lt_cv_prog_compiler__b" >&6; }
8712 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
8713 archive_cmds
='$CC -b ${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'
8721 if test "$with_gnu_ld" = no
; then
8722 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8723 hardcode_libdir_separator
=:
8728 hardcode_shlibpath_var
=no
8732 hardcode_direct_absolute
=yes
8733 export_dynamic_flag_spec
='${wl}-E'
8735 # hardcode_minus_L: Not really in the search PATH,
8736 # but as the default location of the library.
8737 hardcode_minus_L
=yes
8743 irix5
* | irix6
* | nonstopux
*)
8744 if test "$GCC" = yes; then
8745 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'
8746 # Try to use the -exported_symbol ld option, if it does not
8747 # work, assume that -exports_file does not work either and
8748 # implicitly export all symbols.
8749 # This should be the same for all languages, so no per-tag cache variable.
8750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
8751 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
8752 if ${lt_cv_irix_exported_symbol+:} false
; then :
8753 $as_echo_n "(cached) " >&6
8755 save_LDFLAGS
="$LDFLAGS"
8756 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
8757 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8758 /* end confdefs.h. */
8759 int foo (void) { return 0; }
8761 if ac_fn_c_try_link
"$LINENO"; then :
8762 lt_cv_irix_exported_symbol
=yes
8764 lt_cv_irix_exported_symbol
=no
8766 rm -f core conftest.err conftest.
$ac_objext \
8767 conftest
$ac_exeext conftest.
$ac_ext
8768 LDFLAGS
="$save_LDFLAGS"
8770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
8771 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
8772 if test "$lt_cv_irix_exported_symbol" = yes; then
8773 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'
8776 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'
8777 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'
8779 archive_cmds_need_lc
='no'
8780 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8781 hardcode_libdir_separator
=:
8783 link_all_deplibs
=yes
8786 netbsd
* | netbsdelf
*-gnu)
8787 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
8788 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
8790 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
8792 hardcode_libdir_flag_spec
='-R$libdir'
8794 hardcode_shlibpath_var
=no
8798 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8800 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8801 hardcode_libdir_separator
=:
8802 hardcode_shlibpath_var
=no
8809 if test -f /usr
/libexec
/ld.so
; then
8811 hardcode_shlibpath_var
=no
8812 hardcode_direct_absolute
=yes
8813 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8814 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8815 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8816 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8817 export_dynamic_flag_spec
='${wl}-E'
8820 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
8821 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8822 hardcode_libdir_flag_spec
='-R$libdir'
8825 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8826 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8836 hardcode_libdir_flag_spec
='-L$libdir'
8837 hardcode_minus_L
=yes
8838 allow_undefined_flag
=unsupported
8839 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'
8840 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8844 if test "$GCC" = yes; then
8845 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
8846 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'
8848 allow_undefined_flag
=' -expect_unresolved \*'
8849 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'
8851 archive_cmds_need_lc
='no'
8852 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8853 hardcode_libdir_separator
=:
8856 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
8857 if test "$GCC" = yes; then
8858 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
8859 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'
8860 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8862 allow_undefined_flag
=' -expect_unresolved \*'
8863 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'
8864 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~
8865 $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'
8867 # Both c and cxx compiler support -rpath directly
8868 hardcode_libdir_flag_spec
='-rpath $libdir'
8870 archive_cmds_need_lc
='no'
8871 hardcode_libdir_separator
=:
8875 no_undefined_flag
=' -z defs'
8876 if test "$GCC" = yes; then
8878 archive_cmds
='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8879 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8880 $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'
8882 case `$CC -V 2>&1` in
8885 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8886 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8887 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
8891 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
8892 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8893 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8897 hardcode_libdir_flag_spec
='-R$libdir'
8898 hardcode_shlibpath_var
=no
8900 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
8902 # The compiler driver will combine and reorder linker options,
8903 # but understands `-z linker_flag'. GCC discards it without `$wl',
8904 # but is careful enough not to reorder.
8905 # Supported since Solaris 2.6 (maybe 2.5.1?)
8906 if test "$GCC" = yes; then
8907 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
8909 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
8913 link_all_deplibs
=yes
8917 if test "x$host_vendor" = xsequent
; then
8918 # Use $CC to link under sequent, because it throws in some extra .o
8919 # files that make .init and .fini sections work.
8920 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
8922 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
8924 hardcode_libdir_flag_spec
='-L$libdir'
8926 hardcode_minus_L
=yes
8927 hardcode_shlibpath_var
=no
8931 case $host_vendor in
8933 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8934 hardcode_direct
=yes # is this really true???
8937 ## LD is ld it makes a PLAMLIB
8938 ## CC just makes a GrossModule.
8939 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
8940 reload_cmds
='$CC -r -o $output$reload_objs'
8944 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8945 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
8948 runpath_var
='LD_RUN_PATH'
8949 hardcode_shlibpath_var
=no
8953 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8954 hardcode_shlibpath_var
=no
8955 export_dynamic_flag_spec
='-Bexport'
8959 if test -d /usr
/nec
; then
8960 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8961 hardcode_shlibpath_var
=no
8962 runpath_var
=LD_RUN_PATH
8963 hardcode_runpath_var
=yes
8968 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
8969 no_undefined_flag
='${wl}-z,text'
8970 archive_cmds_need_lc
=no
8971 hardcode_shlibpath_var
=no
8972 runpath_var
='LD_RUN_PATH'
8974 if test "$GCC" = yes; then
8975 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8976 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8978 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8979 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8983 sysv5
* | sco3.2v5
* | sco5v6
*)
8984 # Note: We can NOT use -z defs as we might desire, because we do not
8985 # link with -lc, and that would cause any symbols used from libc to
8986 # always be unresolved, which means just about no library would
8987 # ever link correctly. If we're not using GNU ld we use -z text
8988 # though, which does catch some bad symbols but isn't as heavy-handed
8990 no_undefined_flag
='${wl}-z,text'
8991 allow_undefined_flag
='${wl}-z,nodefs'
8992 archive_cmds_need_lc
=no
8993 hardcode_shlibpath_var
=no
8994 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
8995 hardcode_libdir_separator
=':'
8996 link_all_deplibs
=yes
8997 export_dynamic_flag_spec
='${wl}-Bexport'
8998 runpath_var
='LD_RUN_PATH'
9000 if test "$GCC" = yes; then
9001 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9002 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9004 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9005 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9010 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9011 hardcode_libdir_flag_spec
='-L$libdir'
9012 hardcode_shlibpath_var
=no
9020 if test x
$host_vendor = xsni
; then
9022 sysv4
| sysv4.2uw2
* | sysv4.3
* | sysv5
*)
9023 export_dynamic_flag_spec
='${wl}-Blargedynsym'
9029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9030 $as_echo "$ld_shlibs" >&6; }
9031 test "$ld_shlibs" = no
&& can_build_shared
=no
9033 with_gnu_ld
=$with_gnu_ld
9050 # Do we need to explicitly link libc?
9052 case "x$archive_cmds_need_lc" in
9054 # Assume -lc should be added
9055 archive_cmds_need_lc
=yes
9057 if test "$enable_shared" = yes && test "$GCC" = yes; then
9058 case $archive_cmds in
9060 # FIXME: we may have to deal with multi-command sequences.
9063 # Test whether the compiler implicitly links with -lc since on some
9064 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9065 # to ld, don't add -lc before -lgcc.
9066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9067 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9068 if ${lt_cv_archive_cmds_need_lc+:} false
; then :
9069 $as_echo_n "(cached) " >&6
9072 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9074 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9075 (eval $ac_compile) 2>&5
9077 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9078 test $ac_status = 0; } 2>conftest.err
; then
9081 libobjs
=conftest.
$ac_objext
9083 wl
=$lt_prog_compiler_wl
9084 pic_flag
=$lt_prog_compiler_pic
9090 lt_save_allow_undefined_flag
=$allow_undefined_flag
9091 allow_undefined_flag
=
9092 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9093 (eval $archive_cmds 2\
>\
&1 \
| $GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
9095 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9096 test $ac_status = 0; }
9098 lt_cv_archive_cmds_need_lc
=no
9100 lt_cv_archive_cmds_need_lc
=yes
9102 allow_undefined_flag
=$lt_save_allow_undefined_flag
9104 cat conftest.err
1>&5
9109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
9110 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
9111 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
9274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
9275 $as_echo_n "checking dynamic linker characteristics... " >&6; }
9277 if test "$GCC" = yes; then
9279 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
9280 *) lt_awk_arg
="/^libraries:/" ;;
9283 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
9284 *) lt_sed_strip_eq
="s,=/,/,g" ;;
9286 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
9287 case $lt_search_path_spec in
9289 # if the path contains ";" then we assume it to be the separator
9290 # otherwise default to the standard path separator (i.e. ":") - it is
9291 # assumed that no part of a normal pathname contains ";" but that should
9292 # okay in the real world where ";" in dirpaths is itself problematic.
9293 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
9296 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
9299 # Ok, now we have the path, separated by spaces, we can step through it
9300 # and add multilib dir if necessary.
9301 lt_tmp_lt_search_path_spec
=
9302 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9303 for lt_sys_path
in $lt_search_path_spec; do
9304 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9305 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9307 test -d "$lt_sys_path" && \
9308 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
9311 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
9312 BEGIN {RS=" "; FS="/|\n";} {
9315 for (lt_i = NF; lt_i > 0; lt_i--) {
9316 if ($lt_i != "" && $lt_i != ".") {
9317 if ($lt_i == "..") {
9320 if (lt_count == 0) {
9321 lt_foo="/" $lt_i lt_foo;
9328 if (lt_foo != "") { lt_freq[lt_foo]++; }
9329 if (lt_freq[lt_foo] == 1) { print lt_foo; }
9331 # AWK program above erroneously prepends '/' to C:/dos/paths
9334 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
9335 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
9337 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
9339 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
9342 libname_spec
='lib$name'
9350 shlibpath_overrides_runpath
=unknown
9352 dynamic_linker
="$host_os ld.so"
9353 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
9354 need_lib_prefix
=unknown
9355 hardcode_into_libs
=no
9357 # when you set need_version to no, make sure it does not cause -set_version
9358 # flags to be left without arguments
9359 need_version
=unknown
9364 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
9365 shlibpath_var
=LIBPATH
9367 # AIX 3 has no versioning support, so we append a major version to the name.
9368 soname_spec
='${libname}${release}${shared_ext}$major'
9375 hardcode_into_libs
=yes
9376 if test "$host_cpu" = ia64
; then
9377 # AIX 5 supports IA64
9378 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9379 shlibpath_var
=LD_LIBRARY_PATH
9381 # With GCC up to 2.95.x, collect2 would create an import file
9382 # for dependence libraries. The import file would start with
9383 # the line `#! .'. This would cause the generated library to
9384 # depend on `.', always an invalid library. This was fixed in
9385 # development snapshots of GCC prior to 3.0.
9387 aix4
| aix4.
[01] | aix4.
[01].
*)
9388 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9390 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev
/null
; then
9397 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9398 # soname into executable. Probably we can add versioning support to
9399 # collect2, so additional links can be useful in future.
9400 if test "$aix_use_runtimelinking" = yes; then
9401 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9402 # instead of lib<name>.a to let people know that these are not
9403 # typical AIX shared libraries.
9404 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9406 # We preserve .a as extension for shared libraries through AIX4.2
9407 # and later when we are not doing run time linking.
9408 library_names_spec
='${libname}${release}.a $libname.a'
9409 soname_spec
='${libname}${release}${shared_ext}$major'
9411 shlibpath_var
=LIBPATH
9418 # Since July 2007 AmigaOS4 officially supports .so libraries.
9419 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
9420 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9423 library_names_spec
='$libname.ixlibrary $libname.a'
9424 # Create ${libname}_ixlibrary.a entries in /sys/libs.
9425 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'
9431 library_names_spec
='${libname}${shared_ext}'
9432 dynamic_linker
="$host_os ld.so"
9433 shlibpath_var
=LIBRARY_PATH
9439 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9440 soname_spec
='${libname}${release}${shared_ext}$major'
9441 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
9442 shlibpath_var
=LD_LIBRARY_PATH
9443 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9444 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
9445 # the default ld.so.conf also contains /usr/contrib/lib and
9446 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9447 # libtool to hard-code these into programs
9450 cygwin
* | mingw
* | pw32
* | cegcc
*)
9451 version_type
=windows
9456 case $GCC,$cc_basename in
9459 library_names_spec
='$libname.dll.a'
9460 # DLL is installed to $(libdir)/../bin by postinstall_cmds
9461 postinstall_cmds
='base_file=`basename \${file}`~
9462 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9463 dldir=$destdir/`dirname \$dlpath`~
9464 test -d \$dldir || mkdir -p \$dldir~
9465 $install_prog $dir/$dlname \$dldir/$dlname~
9466 chmod a+x \$dldir/$dlname~
9467 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
9468 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
9470 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9471 dlpath=$dir/\$dldll~
9473 shlibpath_overrides_runpath
=yes
9477 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9478 soname_spec
='`echo ${libname} | sed -e 's
/^lib
/cyg
/'``echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
9480 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
9483 # MinGW DLLs use traditional 'lib' prefix
9484 soname_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
9487 # pw32 DLLs use 'pw' prefix rather than 'lib'
9488 library_names_spec
='`echo ${libname} | sed -e 's
/^lib
/pw
/'``echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
9491 dynamic_linker
='Win32 ld.exe'
9496 libname_spec
='$name'
9497 soname_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
9498 library_names_spec
='${libname}.dll.lib'
9502 sys_lib_search_path_spec
=
9508 # Let DOS variable expansion print the short 8.3 style file name.
9509 lt_path
=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
9510 sys_lib_search_path_spec
="$sys_lib_search_path_spec $lt_path"
9513 # Convert to MSYS style.
9514 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
9517 # Convert to unix form, then to dos form, then back to unix form
9518 # but this time dos style (no spaces!) so that the unix form looks
9519 # like /cygdrive/c/PROGRA~1:/cygdr...
9520 sys_lib_search_path_spec
=`cygpath --path --unix "$LIB"`
9521 sys_lib_search_path_spec
=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
9522 sys_lib_search_path_spec
=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9525 sys_lib_search_path_spec
="$LIB"
9526 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev
/null
; then
9527 # It is most probably a Windows format PATH.
9528 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9530 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9532 # FIXME: find the short name or the path components, as spaces are
9533 # common. (e.g. "Program Files" -> "PROGRA~1")
9537 # DLL is installed to $(libdir)/../bin by postinstall_cmds
9538 postinstall_cmds
='base_file=`basename \${file}`~
9539 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9540 dldir=$destdir/`dirname \$dlpath`~
9541 test -d \$dldir || mkdir -p \$dldir~
9542 $install_prog $dir/$dlname \$dldir/$dlname'
9543 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9544 dlpath=$dir/\$dldll~
9546 shlibpath_overrides_runpath
=yes
9547 dynamic_linker
='Win32 link.exe'
9551 # Assume MSVC wrapper
9552 library_names_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext} $libname.lib'
9553 dynamic_linker
='Win32 ld.exe'
9556 # FIXME: first we should search . and the directory the executable is in
9560 darwin
* | rhapsody
*)
9561 dynamic_linker
="$host_os dyld"
9565 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9566 soname_spec
='${libname}${release}${major}$shared_ext'
9567 shlibpath_overrides_runpath
=yes
9568 shlibpath_var
=DYLD_LIBRARY_PATH
9569 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
9571 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
9572 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
9579 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
9580 soname_spec
='${libname}${release}${shared_ext}$major'
9581 shlibpath_var
=LD_LIBRARY_PATH
9588 freebsd
* | dragonfly
*)
9589 # DragonFly does not have aout. When/if they implement a new
9590 # versioning mechanism, adjust this.
9591 if test -x /usr
/bin
/objformat
; then
9592 objformat
=`/usr/bin/objformat`
9595 freebsd
[123]*) objformat
=aout
;;
9599 version_type
=freebsd
-$objformat
9600 case $version_type in
9602 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9607 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
9611 shlibpath_var
=LD_LIBRARY_PATH
9614 shlibpath_overrides_runpath
=yes
9616 freebsd3.
[01]* | freebsdelf3.
[01]*)
9617 shlibpath_overrides_runpath
=yes
9618 hardcode_into_libs
=yes
9620 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
9621 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
9622 shlibpath_overrides_runpath
=no
9623 hardcode_into_libs
=yes
9625 *) # from 4.6 on, and DragonFly
9626 shlibpath_overrides_runpath
=yes
9627 hardcode_into_libs
=yes
9636 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9637 soname_spec
='${libname}${release}${shared_ext}$major'
9638 shlibpath_var
=LD_LIBRARY_PATH
9639 shlibpath_overrides_runpath
=no
9640 hardcode_into_libs
=yes
9647 dynamic_linker
="$host_os runtime_loader"
9648 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9649 soname_spec
='${libname}${release}${shared_ext}$major'
9650 shlibpath_var
=LIBRARY_PATH
9651 shlibpath_overrides_runpath
=yes
9652 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
9653 hardcode_into_libs
=yes
9656 hpux9
* | hpux10
* | hpux11
*)
9657 # Give a soname corresponding to the major version so that dld.sl refuses to
9658 # link against other versions.
9665 hardcode_into_libs
=yes
9666 dynamic_linker
="$host_os dld.so"
9667 shlibpath_var
=LD_LIBRARY_PATH
9668 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
9669 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9670 soname_spec
='${libname}${release}${shared_ext}$major'
9671 if test "X$HPUX_IA64_MODE" = X32
; then
9672 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
9674 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
9676 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
9680 hardcode_into_libs
=yes
9681 dynamic_linker
="$host_os dld.sl"
9682 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
9683 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
9684 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9685 soname_spec
='${libname}${release}${shared_ext}$major'
9686 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
9687 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
9691 dynamic_linker
="$host_os dld.sl"
9692 shlibpath_var
=SHLIB_PATH
9693 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
9694 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9695 soname_spec
='${libname}${release}${shared_ext}$major'
9698 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
9699 postinstall_cmds
='chmod 555 $lib'
9700 # or fails outright, so override atomically:
9701 install_override_mode
=555
9708 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9709 soname_spec
='${libname}${release}${shared_ext}$major'
9710 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
9711 shlibpath_var
=LD_LIBRARY_PATH
9712 shlibpath_overrides_runpath
=no
9713 hardcode_into_libs
=yes
9716 irix5
* | irix6
* | nonstopux
*)
9718 nonstopux
*) version_type
=nonstopux
;;
9720 if test "$lt_cv_prog_gnu_ld" = yes; then
9728 soname_spec
='${libname}${release}${shared_ext}$major'
9729 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
9731 irix5
* | nonstopux
*)
9735 case $LD in # libtool.m4 will add one of these switches to LD
9736 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
9737 libsuff
= shlibsuff
= libmagic
=32-bit;;
9738 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
9739 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
9740 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
9741 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
9742 *) libsuff
= shlibsuff
= libmagic
=never
-match;;
9746 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
9747 shlibpath_overrides_runpath
=no
9748 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
9749 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
9750 hardcode_into_libs
=yes
9753 # No shared lib support for Linux oldld, aout, or coff.
9754 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
9758 # This must be Linux ELF.
9759 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
9763 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9764 soname_spec
='${libname}${release}${shared_ext}$major'
9765 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9766 shlibpath_var
=LD_LIBRARY_PATH
9767 shlibpath_overrides_runpath
=no
9769 # Some binutils ld are patched to set DT_RUNPATH
9770 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
9771 $as_echo_n "(cached) " >&6
9773 lt_cv_shlibpath_overrides_runpath
=no
9774 save_LDFLAGS
=$LDFLAGS
9776 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
9777 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
9778 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9779 /* end confdefs.h. */
9789 if ac_fn_c_try_link
"$LINENO"; then :
9790 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null
| grep "RUNPATH.*$libdir" >/dev
/null
; then :
9791 lt_cv_shlibpath_overrides_runpath
=yes
9794 rm -f core conftest.err conftest.
$ac_objext \
9795 conftest
$ac_exeext conftest.
$ac_ext
9796 LDFLAGS
=$save_LDFLAGS
9801 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
9803 # This implies no fast_install, which is unacceptable.
9804 # Some rework will be needed to allow for fast_install
9805 # before this can be enabled.
9806 hardcode_into_libs
=yes
9808 # Append ld.so.conf contents to the search path
9809 if test -f /etc
/ld.so.conf
; then
9810 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' ' '`
9811 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
9814 # We used to test for /lib/ld.so.1 and disable shared libraries on
9815 # powerpc, because MkLinux only supported shared libraries with the
9816 # GNU dynamic linker. Since this was broken with cross compilers,
9817 # most powerpc-linux boxes support dynamic linking these days and
9818 # people can always --disable-shared, the test was removed, and we
9819 # assume the GNU/Linux dynamic linker is in use.
9820 dynamic_linker
='GNU/Linux ld.so'
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 shlibpath_var
=LD_LIBRARY_PATH
9830 shlibpath_overrides_runpath
=no
9831 hardcode_into_libs
=yes
9832 dynamic_linker
='NetBSD ld.elf_so'
9839 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
9840 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9841 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9842 dynamic_linker
='NetBSD (a.out) ld.so'
9844 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9845 soname_spec
='${libname}${release}${shared_ext}$major'
9846 dynamic_linker
='NetBSD ld.elf_so'
9848 shlibpath_var
=LD_LIBRARY_PATH
9849 shlibpath_overrides_runpath
=yes
9850 hardcode_into_libs
=yes
9855 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9856 shlibpath_var
=LD_LIBRARY_PATH
9857 shlibpath_overrides_runpath
=yes
9864 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9865 soname_spec
='${libname}${release}${shared_ext}$major'
9866 shlibpath_var
=LD_LIBRARY_PATH
9867 shlibpath_overrides_runpath
=no
9868 hardcode_into_libs
=yes
9869 dynamic_linker
='ldqnx.so'
9874 sys_lib_dlsearch_path_spec
="/usr/lib"
9876 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9878 openbsd3.3
| openbsd3.3.
*) need_version
=yes ;;
9879 *) need_version
=no
;;
9881 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9882 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9883 shlibpath_var
=LD_LIBRARY_PATH
9884 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9886 openbsd2.
[89] | openbsd2.
[89].
*)
9887 shlibpath_overrides_runpath
=no
9890 shlibpath_overrides_runpath
=yes
9894 shlibpath_overrides_runpath
=yes
9899 libname_spec
='$name'
9902 library_names_spec
='$libname${shared_ext} $libname.a'
9903 dynamic_linker
='OS/2 ld.exe'
9904 shlibpath_var
=LIBPATH
9907 osf3
* | osf4
* | osf5
*)
9911 soname_spec
='${libname}${release}${shared_ext}$major'
9912 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9913 shlibpath_var
=LD_LIBRARY_PATH
9914 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
9915 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
9926 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9927 soname_spec
='${libname}${release}${shared_ext}$major'
9928 shlibpath_var
=LD_LIBRARY_PATH
9929 shlibpath_overrides_runpath
=yes
9930 hardcode_into_libs
=yes
9931 # ldd complains unless libraries are executable
9932 postinstall_cmds
='chmod +x $lib'
9937 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9938 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
9939 shlibpath_var
=LD_LIBRARY_PATH
9940 shlibpath_overrides_runpath
=yes
9941 if test "$with_gnu_ld" = yes; then
9949 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9950 soname_spec
='${libname}${release}${shared_ext}$major'
9951 shlibpath_var
=LD_LIBRARY_PATH
9952 case $host_vendor in
9954 shlibpath_overrides_runpath
=no
9956 runpath_var
=LD_RUN_PATH
9964 shlibpath_overrides_runpath
=no
9965 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
9971 if test -d /usr
/nec
;then
9973 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
9974 soname_spec
='$libname${shared_ext}.$major'
9975 shlibpath_var
=LD_LIBRARY_PATH
9979 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
9980 version_type
=freebsd
-elf
9983 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9984 soname_spec
='${libname}${release}${shared_ext}$major'
9985 shlibpath_var
=LD_LIBRARY_PATH
9986 shlibpath_overrides_runpath
=yes
9987 hardcode_into_libs
=yes
9988 if test "$with_gnu_ld" = yes; then
9989 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
9991 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
9994 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
9998 sys_lib_dlsearch_path_spec
='/usr/lib'
10002 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10006 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10007 shlibpath_var
=LD_LIBRARY_PATH
10008 shlibpath_overrides_runpath
=no
10009 hardcode_into_libs
=yes
10014 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10015 soname_spec
='${libname}${release}${shared_ext}$major'
10016 shlibpath_var
=LD_LIBRARY_PATH
10023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10024 $as_echo "$dynamic_linker" >&6; }
10025 test "$dynamic_linker" = no
&& can_build_shared
=no
10027 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
10028 if test "$GCC" = yes; then
10029 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10032 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10033 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
10035 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10036 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
10130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10131 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10133 if test -n "$hardcode_libdir_flag_spec" ||
10134 test -n "$runpath_var" ||
10135 test "X$hardcode_automatic" = "Xyes" ; then
10137 # We can hardcode non-existent directories.
10138 if test "$hardcode_direct" != no
&&
10139 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10140 # have to relink, otherwise we might link with an installed library
10141 # when we should be linking with a yet-to-be-installed one
10142 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10143 test "$hardcode_minus_L" != no
; then
10144 # Linking always hardcodes the temporary library directory.
10145 hardcode_action
=relink
10147 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10148 hardcode_action
=immediate
10151 # We cannot hardcode anything, or else we can only hardcode existing
10153 hardcode_action
=unsupported
10155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10156 $as_echo "$hardcode_action" >&6; }
10158 if test "$hardcode_action" = relink
||
10159 test "$inherit_rpath" = yes; then
10160 # Fast installation is not supported
10161 enable_fast_install
=no
10162 elif test "$shlibpath_overrides_runpath" = yes ||
10163 test "$enable_shared" = no
; then
10164 # Fast installation is not necessary
10165 enable_fast_install
=needless
10173 if test "x$enable_dlopen" != xyes
; then
10174 enable_dlopen
=unknown
10175 enable_dlopen_self
=unknown
10176 enable_dlopen_self_static
=unknown
10183 lt_cv_dlopen
="load_add_on"
10185 lt_cv_dlopen_self
=yes
10188 mingw
* | pw32
* | cegcc
*)
10189 lt_cv_dlopen
="LoadLibrary"
10194 lt_cv_dlopen
="dlopen"
10199 # if libdl is installed we need to link against it
10200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10201 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10202 if ${ac_cv_lib_dl_dlopen+:} false
; then :
10203 $as_echo_n "(cached) " >&6
10205 ac_check_lib_save_LIBS
=$LIBS
10207 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10208 /* end confdefs.h. */
10210 /* Override any GCC internal prototype to avoid an error.
10211 Use char because int might match the return type of a GCC
10212 builtin and then its argument prototype would still apply. */
10225 if ac_fn_c_try_link
"$LINENO"; then :
10226 ac_cv_lib_dl_dlopen
=yes
10228 ac_cv_lib_dl_dlopen
=no
10230 rm -f core conftest.err conftest.
$ac_objext \
10231 conftest
$ac_exeext conftest.
$ac_ext
10232 LIBS
=$ac_check_lib_save_LIBS
10234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10235 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10236 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
10237 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10240 lt_cv_dlopen
="dyld"
10242 lt_cv_dlopen_self
=yes
10249 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
10250 if test "x$ac_cv_func_shl_load" = xyes
; then :
10251 lt_cv_dlopen
="shl_load"
10253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10254 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10255 if ${ac_cv_lib_dld_shl_load+:} false
; then :
10256 $as_echo_n "(cached) " >&6
10258 ac_check_lib_save_LIBS
=$LIBS
10260 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10261 /* end confdefs.h. */
10263 /* Override any GCC internal prototype to avoid an error.
10264 Use char because int might match the return type of a GCC
10265 builtin and then its argument prototype would still apply. */
10273 return shl_load ();
10278 if ac_fn_c_try_link
"$LINENO"; then :
10279 ac_cv_lib_dld_shl_load
=yes
10281 ac_cv_lib_dld_shl_load
=no
10283 rm -f core conftest.err conftest.
$ac_objext \
10284 conftest
$ac_exeext conftest.
$ac_ext
10285 LIBS
=$ac_check_lib_save_LIBS
10287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10288 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10289 if test "x$ac_cv_lib_dld_shl_load" = xyes
; then :
10290 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
10292 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
10293 if test "x$ac_cv_func_dlopen" = xyes
; then :
10294 lt_cv_dlopen
="dlopen"
10296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10297 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10298 if ${ac_cv_lib_dl_dlopen+:} false
; then :
10299 $as_echo_n "(cached) " >&6
10301 ac_check_lib_save_LIBS
=$LIBS
10303 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10304 /* end confdefs.h. */
10306 /* Override any GCC internal prototype to avoid an error.
10307 Use char because int might match the return type of a GCC
10308 builtin and then its argument prototype would still apply. */
10321 if ac_fn_c_try_link
"$LINENO"; then :
10322 ac_cv_lib_dl_dlopen
=yes
10324 ac_cv_lib_dl_dlopen
=no
10326 rm -f core conftest.err conftest.
$ac_objext \
10327 conftest
$ac_exeext conftest.
$ac_ext
10328 LIBS
=$ac_check_lib_save_LIBS
10330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10331 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10332 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
10333 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
10336 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
10337 if ${ac_cv_lib_svld_dlopen+:} false
; then :
10338 $as_echo_n "(cached) " >&6
10340 ac_check_lib_save_LIBS
=$LIBS
10341 LIBS
="-lsvld $LIBS"
10342 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10343 /* end confdefs.h. */
10345 /* Override any GCC internal prototype to avoid an error.
10346 Use char because int might match the return type of a GCC
10347 builtin and then its argument prototype would still apply. */
10360 if ac_fn_c_try_link
"$LINENO"; then :
10361 ac_cv_lib_svld_dlopen
=yes
10363 ac_cv_lib_svld_dlopen
=no
10365 rm -f core conftest.err conftest.
$ac_objext \
10366 conftest
$ac_exeext conftest.
$ac_ext
10367 LIBS
=$ac_check_lib_save_LIBS
10369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
10370 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
10371 if test "x$ac_cv_lib_svld_dlopen" = xyes
; then :
10372 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
10374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
10375 $as_echo_n "checking for dld_link in -ldld... " >&6; }
10376 if ${ac_cv_lib_dld_dld_link+:} false
; then :
10377 $as_echo_n "(cached) " >&6
10379 ac_check_lib_save_LIBS
=$LIBS
10381 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10382 /* end confdefs.h. */
10384 /* Override any GCC internal prototype to avoid an error.
10385 Use char because int might match the return type of a GCC
10386 builtin and then its argument prototype would still apply. */
10394 return dld_link ();
10399 if ac_fn_c_try_link
"$LINENO"; then :
10400 ac_cv_lib_dld_dld_link
=yes
10402 ac_cv_lib_dld_dld_link
=no
10404 rm -f core conftest.err conftest.
$ac_objext \
10405 conftest
$ac_exeext conftest.
$ac_ext
10406 LIBS
=$ac_check_lib_save_LIBS
10408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
10409 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
10410 if test "x$ac_cv_lib_dld_dld_link" = xyes
; then :
10411 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
10432 if test "x$lt_cv_dlopen" != xno
; then
10438 case $lt_cv_dlopen in
10440 save_CPPFLAGS
="$CPPFLAGS"
10441 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
10443 save_LDFLAGS
="$LDFLAGS"
10444 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
10447 LIBS
="$lt_cv_dlopen_libs $LIBS"
10449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
10450 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
10451 if ${lt_cv_dlopen_self+:} false
; then :
10452 $as_echo_n "(cached) " >&6
10454 if test "$cross_compiling" = yes; then :
10455 lt_cv_dlopen_self
=cross
10457 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
10458 lt_status
=$lt_dlunknown
10459 cat > conftest.
$ac_ext <<_LT_EOF
10460 #line $LINENO "configure"
10461 #include "confdefs.h"
10470 # define LT_DLGLOBAL RTLD_GLOBAL
10473 # define LT_DLGLOBAL DL_GLOBAL
10475 # define LT_DLGLOBAL 0
10479 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10480 find out it does not work in some platform. */
10481 #ifndef LT_DLLAZY_OR_NOW
10483 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10486 # define LT_DLLAZY_OR_NOW DL_LAZY
10489 # define LT_DLLAZY_OR_NOW RTLD_NOW
10492 # define LT_DLLAZY_OR_NOW DL_NOW
10494 # define LT_DLLAZY_OR_NOW 0
10501 /* When -fvisbility=hidden is used, assume the code has been annotated
10502 correspondingly for the symbols needed. */
10503 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
10504 int fnord () __attribute__((visibility("default")));
10507 int fnord () { return 42; }
10510 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10511 int status = $lt_dlunknown;
10515 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10518 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10519 else puts (dlerror ());
10521 /* dlclose (self); */
10529 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10530 (eval $ac_link) 2>&5
10532 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10533 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
10534 (.
/conftest
; exit; ) >&5 2>/dev
/null
10536 case x
$lt_status in
10537 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
10538 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
10539 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
10542 # compilation failed
10543 lt_cv_dlopen_self
=no
10550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
10551 $as_echo "$lt_cv_dlopen_self" >&6; }
10553 if test "x$lt_cv_dlopen_self" = xyes
; then
10554 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
10555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
10556 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
10557 if ${lt_cv_dlopen_self_static+:} false
; then :
10558 $as_echo_n "(cached) " >&6
10560 if test "$cross_compiling" = yes; then :
10561 lt_cv_dlopen_self_static
=cross
10563 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
10564 lt_status
=$lt_dlunknown
10565 cat > conftest.
$ac_ext <<_LT_EOF
10566 #line $LINENO "configure"
10567 #include "confdefs.h"
10576 # define LT_DLGLOBAL RTLD_GLOBAL
10579 # define LT_DLGLOBAL DL_GLOBAL
10581 # define LT_DLGLOBAL 0
10585 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10586 find out it does not work in some platform. */
10587 #ifndef LT_DLLAZY_OR_NOW
10589 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10592 # define LT_DLLAZY_OR_NOW DL_LAZY
10595 # define LT_DLLAZY_OR_NOW RTLD_NOW
10598 # define LT_DLLAZY_OR_NOW DL_NOW
10600 # define LT_DLLAZY_OR_NOW 0
10607 /* When -fvisbility=hidden is used, assume the code has been annotated
10608 correspondingly for the symbols needed. */
10609 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
10610 int fnord () __attribute__((visibility("default")));
10613 int fnord () { return 42; }
10616 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10617 int status = $lt_dlunknown;
10621 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10624 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10625 else puts (dlerror ());
10627 /* dlclose (self); */
10635 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10636 (eval $ac_link) 2>&5
10638 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10639 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
10640 (.
/conftest
; exit; ) >&5 2>/dev
/null
10642 case x
$lt_status in
10643 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
10644 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
10645 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
10648 # compilation failed
10649 lt_cv_dlopen_self_static
=no
10656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
10657 $as_echo "$lt_cv_dlopen_self_static" >&6; }
10660 CPPFLAGS
="$save_CPPFLAGS"
10661 LDFLAGS
="$save_LDFLAGS"
10666 case $lt_cv_dlopen_self in
10667 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
10668 *) enable_dlopen_self
=unknown
;;
10671 case $lt_cv_dlopen_self_static in
10672 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
10673 *) enable_dlopen_self_static
=unknown
;;
10695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
10696 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
10697 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev
/null
; then
10698 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
10699 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
10700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10701 $as_echo "yes" >&6; }
10703 # FIXME - insert some real tests, host_os isn't really good enough
10706 if test -n "$STRIP" ; then
10707 striplib
="$STRIP -x"
10708 old_striplib
="$STRIP -S"
10709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10710 $as_echo "yes" >&6; }
10712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10713 $as_echo "no" >&6; }
10717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10718 $as_echo "no" >&6; }
10734 # Report which library types will actually be built
10735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
10736 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
10737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
10738 $as_echo "$can_build_shared" >&6; }
10740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
10741 $as_echo_n "checking whether to build shared libraries... " >&6; }
10742 test "$can_build_shared" = "no" && enable_shared
=no
10744 # On AIX, shared libraries and static libraries use the same namespace, and
10745 # are all built from PIC.
10748 test "$enable_shared" = yes && enable_static
=no
10749 if test -n "$RANLIB"; then
10750 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
10751 postinstall_cmds
='$RANLIB $lib'
10756 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
10757 test "$enable_shared" = yes && enable_static
=no
10761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
10762 $as_echo "$enable_shared" >&6; }
10764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
10765 $as_echo_n "checking whether to build static libraries... " >&6; }
10766 # Make sure either enable_shared or enable_static is yes.
10767 test "$enable_shared" = yes || enable_static
=yes
10768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
10769 $as_echo "$enable_static" >&6; }
10776 ac_cpp
='$CPP $CPPFLAGS'
10777 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10778 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10779 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10795 ac_config_commands
="$ac_config_commands libtool"
10800 # Only expand once:
10810 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
10811 if test -n "$ac_tool_prefix"; then
10812 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
10813 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
10814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10815 $as_echo_n "checking for $ac_word... " >&6; }
10816 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
10817 $as_echo_n "(cached) " >&6
10819 case $PKG_CONFIG in
10821 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
10824 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10825 for as_dir
in $PATH
10828 test -z "$as_dir" && as_dir
=.
10829 for ac_exec_ext
in '' $ac_executable_extensions; do
10830 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10831 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
10832 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10842 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
10843 if test -n "$PKG_CONFIG"; then
10844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
10845 $as_echo "$PKG_CONFIG" >&6; }
10847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10848 $as_echo "no" >&6; }
10853 if test -z "$ac_cv_path_PKG_CONFIG"; then
10854 ac_pt_PKG_CONFIG
=$PKG_CONFIG
10855 # Extract the first word of "pkg-config", so it can be a program name with args.
10856 set dummy pkg
-config; ac_word
=$2
10857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10858 $as_echo_n "checking for $ac_word... " >&6; }
10859 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
10860 $as_echo_n "(cached) " >&6
10862 case $ac_pt_PKG_CONFIG in
10864 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
10867 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10868 for as_dir
in $PATH
10871 test -z "$as_dir" && as_dir
=.
10872 for ac_exec_ext
in '' $ac_executable_extensions; do
10873 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10874 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
10875 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10885 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
10886 if test -n "$ac_pt_PKG_CONFIG"; then
10887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
10888 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
10890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10891 $as_echo "no" >&6; }
10894 if test "x$ac_pt_PKG_CONFIG" = x
; then
10897 case $cross_compiling:$ac_tool_warned in
10899 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10900 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10901 ac_tool_warned
=yes ;;
10903 PKG_CONFIG
=$ac_pt_PKG_CONFIG
10906 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
10910 if test -n "$PKG_CONFIG"; then
10911 _pkg_min_version
=0.22
10912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
10913 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
10914 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
10915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10916 $as_echo "yes" >&6; }
10918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10919 $as_echo "no" >&6; }
10923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU make" >&5
10924 $as_echo_n "checking for GNU make... " >&6; }
10925 if ${_cv_gnu_make_command+:} false
; then :
10926 $as_echo_n "(cached) " >&6
10928 _cv_gnu_make_command
='' ;
10929 for a
in "$MAKE" make gmake gnumake
; do
10930 if test -z "$a" ; then continue ; fi ;
10931 if ( sh
-c "$a --version" 2> /dev
/null
| grep GNU
2>&1 > /dev
/null
) ; then
10932 _cv_gnu_make_command
=$a ;
10938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_cv_gnu_make_command" >&5
10939 $as_echo "$_cv_gnu_make_command" >&6; } ;
10940 if test "x$_cv_gnu_make_command" != "x" ; then
10944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"Not found\"" >&5
10945 $as_echo "\"Not found\"" >&6; };
10949 GMAKE
=$_cv_gnu_make_command
10952 if test "x$GMAKE" = x
; then :
10953 as_fn_error $?
"You need GNU make" "$LINENO" 5
10955 for ac_prog
in bash
10957 # Extract the first word of "$ac_prog", so it can be a program name with args.
10958 set dummy
$ac_prog; ac_word
=$2
10959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10960 $as_echo_n "checking for $ac_word... " >&6; }
10961 if ${ac_cv_path__BASH+:} false
; then :
10962 $as_echo_n "(cached) " >&6
10966 ac_cv_path__BASH
="$_BASH" # Let the user override the test with a path.
10969 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10970 for as_dir
in $PATH
10973 test -z "$as_dir" && as_dir
=.
10974 for ac_exec_ext
in '' $ac_executable_extensions; do
10975 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10976 ac_cv_path__BASH
="$as_dir/$ac_word$ac_exec_ext"
10977 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10987 _BASH
=$ac_cv_path__BASH
10988 if test -n "$_BASH"; then
10989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_BASH" >&5
10990 $as_echo "$_BASH" >&6; }
10992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10993 $as_echo "no" >&6; }
10997 test -n "$_BASH" && break
11000 if test "x$_BASH" = x
; then :
11001 as_fn_error $?
"You need GNU bash" "$LINENO" 5
11003 for ac_prog
in time
11005 # Extract the first word of "$ac_prog", so it can be a program name with args.
11006 set dummy
$ac_prog; ac_word
=$2
11007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11008 $as_echo_n "checking for $ac_word... " >&6; }
11009 if ${ac_cv_path_TIME+:} false
; then :
11010 $as_echo_n "(cached) " >&6
11014 ac_cv_path_TIME
="$TIME" # Let the user override the test with a path.
11017 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11018 for as_dir
in $PATH
11021 test -z "$as_dir" && as_dir
=.
11022 for ac_exec_ext
in '' $ac_executable_extensions; do
11023 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11024 ac_cv_path_TIME
="$as_dir/$ac_word$ac_exec_ext"
11025 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11035 TIME
=$ac_cv_path_TIME
11036 if test -n "$TIME"; then
11037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TIME" >&5
11038 $as_echo "$TIME" >&6; }
11040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11041 $as_echo "no" >&6; }
11045 test -n "$TIME" && break
11051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bison >= 2.3" >&5
11052 $as_echo_n "checking for bison >= 2.3... " >&6; }
11053 if test -z "$BISON"; then
11054 ac_path_BISON_found
=false
11055 # Loop through the user's path and test for each of PROGNAME-LIST
11056 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11057 for as_dir
in $PATH
11060 test -z "$as_dir" && as_dir
=.
11061 for ac_prog
in bison
; do
11062 for ac_exec_ext
in '' $ac_executable_extensions; do
11063 ac_path_BISON
="$as_dir/$ac_prog$ac_exec_ext"
11064 { test -f "$ac_path_BISON" && $as_test_x "$ac_path_BISON"; } || continue
11065 as_awk_strverscmp
='
11066 # Use only awk features that work with 7th edition Unix awk (1978).
11067 # My, what an old awk you have, Mr. Solaris!
11069 while (length(v1) && length(v2)) {
11070 # Set d1 to be the next thing to compare from v1, and likewise for d2.
11071 # Normally this is a single character, but if v1 and v2 contain digits,
11072 # compare them as integers and fractions as strverscmp does.
11073 if (v1 ~ /^0-9/ && v2 ~ /^0-9/) {
11074 # Split v1 and v2 into their leading digit string components d1 and d2,
11075 # and advance v1 and v2 past the leading digit strings.
11076 for (len1 = 1; substr(v1, len1 + 1) ~ /^0-9/; len1++) continue
11077 for (len2 = 1; substr(v2, len2 + 1) ~ /^0-9/; len2++) continue
11078 d1 = substr(v1, 1, len1); v1 = substr(v1, len1 + 1)
11079 d2 = substr(v2, 1, len2); v2 = substr(v2, len2 + 1)
11082 # Compare two fractions.
11083 while (d1 ~ /^0/ && d2 ~ /^0/) {
11084 d1 = substr(d1, 2); len1--
11085 d2 = substr(d2, 2); len2--
11087 if (len1 != len2 && ! (len1 && len2 && substr(d1, 1, 1) == substr(d2, 1, 1))) {
11088 # The two components differ in length, and the common prefix
11089 # contains only leading zeros. Consider the longer to be less.
11093 # Otherwise, compare as strings.
11098 # A fraction is less than an integer.
11103 # An integer is greater than a fraction.
11106 # Compare two integers.
11112 # The normal case, without worrying about digits.
11113 d1 = substr(v1, 1, 1); v1 = substr(v1, 2)
11114 d2 = substr(v2, 1, 1); v2 = substr(v2, 2)
11116 if (d1 < d2) exit 1
11117 if (d1 > d2) exit 2
11119 # Beware Solaris /usr/xgp4/bin/awk (at least through Solaris 10),
11120 # which mishandles some comparisons of empty strings to integers.
11121 if (length(v2)) exit 1
11122 if (length(v1)) exit 2
11125 as_arg_v1
=`$ac_path_BISON -V | $SED -e '1 s/^bison (GNU Bison) \(.*\)$/\1/p;d'`
11127 awk "$as_awk_strverscmp" v1
="$as_arg_v1" v2
="$as_arg_v2" /dev
/null
11132 ac_cv_path_BISON
=$ac_path_BISON
11135 ac_cv_path_BISON
=$ac_path_BISON
11141 $ac_path_BISON_found && break 3
11146 if test -z "$ac_cv_path_BISON"; then
11147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11148 $as_echo "no" >&6; }
11149 as_fn_error $?
"You need bison 2.3 or greater" "$LINENO" 5
11153 ac_cv_path_BISON
=$BISON
11156 BISON
=$ac_cv_path_BISON
11158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
11159 $as_echo "$BISON" >&6; }
11163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for flex >= 2.5.33" >&5
11164 $as_echo_n "checking for flex >= 2.5.33... " >&6; }
11165 if test -z "$FLEX"; then
11166 ac_path_FLEX_found
=false
11167 # Loop through the user's path and test for each of PROGNAME-LIST
11168 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11169 for as_dir
in $PATH
11172 test -z "$as_dir" && as_dir
=.
11173 for ac_prog
in flex
; do
11174 for ac_exec_ext
in '' $ac_executable_extensions; do
11175 ac_path_FLEX
="$as_dir/$ac_prog$ac_exec_ext"
11176 { test -f "$ac_path_FLEX" && $as_test_x "$ac_path_FLEX"; } || continue
11177 as_arg_v1
=`$ac_path_FLEX --version | $SED -e '1 s/^.* \([0-9.]*\)$/\1/p;d'`
11179 awk "$as_awk_strverscmp" v1
="$as_arg_v1" v2
="$as_arg_v2" /dev
/null
11184 ac_cv_path_FLEX
=$ac_path_FLEX
11187 ac_cv_path_FLEX
=$ac_path_FLEX
11193 $ac_path_FLEX_found && break 3
11198 if test -z "$ac_cv_path_FLEX"; then
11199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11200 $as_echo "no" >&6; }
11201 as_fn_error $?
"You need flex 2.5.33 or greater" "$LINENO" 5
11205 ac_cv_path_FLEX
=$FLEX
11208 FLEX
=$ac_cv_path_FLEX
11210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
11211 $as_echo "$FLEX" >&6; }
11215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gperf >= 3.0.3" >&5
11216 $as_echo_n "checking for gperf >= 3.0.3... " >&6; }
11217 if test -z "$GPERF"; then
11218 ac_path_GPERF_found
=false
11219 # Loop through the user's path and test for each of PROGNAME-LIST
11220 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11221 for as_dir
in $PATH
11224 test -z "$as_dir" && as_dir
=.
11225 for ac_prog
in gperf
; do
11226 for ac_exec_ext
in '' $ac_executable_extensions; do
11227 ac_path_GPERF
="$as_dir/$ac_prog$ac_exec_ext"
11228 { test -f "$ac_path_GPERF" && $as_test_x "$ac_path_GPERF"; } || continue
11229 as_arg_v1
=`$ac_path_GPERF --version | $SED -e '1 s/^.* \([0-9.]*\)$/\1/p;d'`
11231 awk "$as_awk_strverscmp" v1
="$as_arg_v1" v2
="$as_arg_v2" /dev
/null
11236 ac_cv_path_GPERF
=$ac_path_GPERF
11239 ac_cv_path_GPERF
=$ac_path_GPERF
11245 $ac_path_GPERF_found && break 3
11250 if test -z "$ac_cv_path_GPERF"; then
11251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11252 $as_echo "no" >&6; }
11253 as_fn_error $?
"You need gperf 3.0.3 or greater" "$LINENO" 5
11257 ac_cv_path_GPERF
=$GPERF
11260 GPERF
=$ac_cv_path_GPERF
11262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GPERF" >&5
11263 $as_echo "$GPERF" >&6; }
11265 # Find a good install program. We prefer a C program (faster),
11266 # so one script is as good as another. But avoid the broken or
11267 # incompatible versions:
11268 # SysV /etc/install, /usr/sbin/install
11269 # SunOS /usr/etc/install
11270 # IRIX /sbin/install
11272 # AmigaOS /C/install, which installs bootblocks on floppy discs
11273 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
11274 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
11275 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
11276 # OS/2's system install, which has a completely different semantic
11277 # ./install, which can be erroneously created by make from ./install.sh.
11278 # Reject install programs that cannot install multiple files.
11279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
11280 $as_echo_n "checking for a BSD-compatible install... " >&6; }
11281 if test -z "$INSTALL"; then
11282 if ${ac_cv_path_install+:} false
; then :
11283 $as_echo_n "(cached) " >&6
11285 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11286 for as_dir
in $PATH
11289 test -z "$as_dir" && as_dir
=.
11290 # Account for people who put trailing slashes in PATH elements.
11291 case $as_dir/ in #((
11292 .
/ | .
// | /[cC
]/* | \
11293 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
11294 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
11297 # OSF1 and SCO ODT 3.0 have their own names for install.
11298 # Don't use installbsd from OSF since it installs stuff as root
11300 for ac_prog
in ginstall scoinst
install; do
11301 for ac_exec_ext
in '' $ac_executable_extensions; do
11302 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
11303 if test $ac_prog = install &&
11304 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
11305 # AIX install. It has an incompatible calling convention.
11307 elif test $ac_prog = install &&
11308 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
11309 # program-specific install script used by HP pwplus--don't use.
11312 rm -rf conftest.one conftest.two conftest.dir
11313 echo one
> conftest.one
11314 echo two
> conftest.two
11316 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
11317 test -s conftest.one
&& test -s conftest.two
&&
11318 test -s conftest.dir
/conftest.one
&&
11319 test -s conftest.dir
/conftest.two
11321 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
11334 rm -rf conftest.one conftest.two conftest.dir
11337 if test "${ac_cv_path_install+set}" = set; then
11338 INSTALL
=$ac_cv_path_install
11340 # As a last resort, use the slow shell script. Don't cache a
11341 # value for INSTALL within a source directory, because that will
11342 # break other packages using the cache if that directory is
11343 # removed, or if the value is a relative name.
11344 INSTALL
=$ac_install_sh
11347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
11348 $as_echo "$INSTALL" >&6; }
11350 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
11351 # It thinks the first close brace ends the variable substitution.
11352 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
11354 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
11356 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
11358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU tar >=1.19" >&5
11359 $as_echo_n "checking for GNU tar >=1.19... " >&6; }
11360 if test -z "$GNUTAR"; then
11361 ac_path_GNUTAR_found
=false
11362 # Loop through the user's path and test for each of PROGNAME-LIST
11363 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11364 for as_dir
in $PATH
11367 test -z "$as_dir" && as_dir
=.
11368 for ac_prog
in tar gtar gnutar
; do
11369 for ac_exec_ext
in '' $ac_executable_extensions; do
11370 ac_path_GNUTAR
="$as_dir/$ac_prog$ac_exec_ext"
11371 { test -f "$ac_path_GNUTAR" && $as_test_x "$ac_path_GNUTAR"; } || continue
11373 if test "x`$ac_path_GNUTAR --version | $SED -e '1 s/^tar (GNU tar)/&/p;d'`" != x
; then :
11375 as_arg_v1
=`$ac_path_GNUTAR --version | $SED -e '1 s/^tar (GNU tar) \(.*\)$/\1/p;d'`
11377 awk "$as_awk_strverscmp" v1
="$as_arg_v1" v2
="$as_arg_v2" /dev
/null
11383 ac_cv_path_GNUTAR
=$ac_path_GNUTAR
11387 ac_cv_path_GNUTAR
=$ac_path_GNUTAR
11395 $ac_path_GNUTAR_found && break 3
11400 if test -z "$ac_cv_path_GNUTAR"; then
11404 ac_cv_path_GNUTAR
=$GNUTAR
11407 if test "x$ac_cv_path_GNUTAR" != x
; then :
11409 GNUTAR
=$ac_cv_path_GNUTAR
11411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNUTAR" >&5
11412 $as_echo "$GNUTAR" >&6; }
11418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11419 $as_echo "no" >&6; }
11424 # Extract the first word of "$ac_prog", so it can be a program name with args.
11425 set dummy
$ac_prog; ac_word
=$2
11426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11427 $as_echo_n "checking for $ac_word... " >&6; }
11428 if ${ac_cv_prog_SVN+:} false
; then :
11429 $as_echo_n "(cached) " >&6
11431 if test -n "$SVN"; then
11432 ac_cv_prog_SVN
="$SVN" # Let the user override the test.
11434 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11435 for as_dir
in $PATH
11438 test -z "$as_dir" && as_dir
=.
11439 for ac_exec_ext
in '' $ac_executable_extensions; do
11440 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11441 ac_cv_prog_SVN
="$ac_prog"
11442 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11451 SVN
=$ac_cv_prog_SVN
11452 if test -n "$SVN"; then
11453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SVN" >&5
11454 $as_echo "$SVN" >&6; }
11456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11457 $as_echo "no" >&6; }
11461 test -n "$SVN" && break
11464 for ac_prog
in svnversion
11466 # Extract the first word of "$ac_prog", so it can be a program name with args.
11467 set dummy
$ac_prog; ac_word
=$2
11468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11469 $as_echo_n "checking for $ac_word... " >&6; }
11470 if ${ac_cv_prog_SVNVERSION+:} false
; then :
11471 $as_echo_n "(cached) " >&6
11473 if test -n "$SVNVERSION"; then
11474 ac_cv_prog_SVNVERSION
="$SVNVERSION" # Let the user override the test.
11476 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11477 for as_dir
in $PATH
11480 test -z "$as_dir" && as_dir
=.
11481 for ac_exec_ext
in '' $ac_executable_extensions; do
11482 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11483 ac_cv_prog_SVNVERSION
="$ac_prog"
11484 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11493 SVNVERSION
=$ac_cv_prog_SVNVERSION
11494 if test -n "$SVNVERSION"; then
11495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SVNVERSION" >&5
11496 $as_echo "$SVNVERSION" >&6; }
11498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11499 $as_echo "no" >&6; }
11503 test -n "$SVNVERSION" && break
11507 ac_cpp
='$CXXCPP $CPPFLAGS'
11508 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11509 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11510 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11511 if test -z "$CXX"; then
11512 if test -n "$CCC"; then
11515 if test -n "$ac_tool_prefix"; then
11516 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
11518 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11519 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
11520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11521 $as_echo_n "checking for $ac_word... " >&6; }
11522 if ${ac_cv_prog_CXX+:} false
; then :
11523 $as_echo_n "(cached) " >&6
11525 if test -n "$CXX"; then
11526 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
11528 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11529 for as_dir
in $PATH
11532 test -z "$as_dir" && as_dir
=.
11533 for ac_exec_ext
in '' $ac_executable_extensions; do
11534 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11535 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
11536 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11545 CXX
=$ac_cv_prog_CXX
11546 if test -n "$CXX"; then
11547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
11548 $as_echo "$CXX" >&6; }
11550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11551 $as_echo "no" >&6; }
11555 test -n "$CXX" && break
11558 if test -z "$CXX"; then
11560 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
11562 # Extract the first word of "$ac_prog", so it can be a program name with args.
11563 set dummy
$ac_prog; ac_word
=$2
11564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11565 $as_echo_n "checking for $ac_word... " >&6; }
11566 if ${ac_cv_prog_ac_ct_CXX+:} false
; then :
11567 $as_echo_n "(cached) " >&6
11569 if test -n "$ac_ct_CXX"; then
11570 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
11572 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11573 for as_dir
in $PATH
11576 test -z "$as_dir" && as_dir
=.
11577 for ac_exec_ext
in '' $ac_executable_extensions; do
11578 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11579 ac_cv_prog_ac_ct_CXX
="$ac_prog"
11580 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11589 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
11590 if test -n "$ac_ct_CXX"; then
11591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
11592 $as_echo "$ac_ct_CXX" >&6; }
11594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11595 $as_echo "no" >&6; }
11599 test -n "$ac_ct_CXX" && break
11602 if test "x$ac_ct_CXX" = x
; then
11605 case $cross_compiling:$ac_tool_warned in
11607 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11608 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11609 ac_tool_warned
=yes ;;
11617 # Provide some information about the compiler.
11618 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
11621 for ac_option
in --version -v -V -qversion; do
11622 { { ac_try
="$ac_compiler $ac_option >&5"
11623 case "(($ac_try" in
11624 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
11625 *) ac_try_echo=$ac_try;;
11627 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11628 $as_echo "$ac_try_echo"; } >&5
11629 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
11631 if test -s conftest.err; then
11633 ... rest of stderr output deleted ...
11634 10q' conftest.err >conftest.er1
11635 cat conftest.er1 >&5
11637 rm -f conftest.er1 conftest.err
11638 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11639 test $ac_status = 0; }
11642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
11643 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
11644 if ${ac_cv_cxx_compiler_gnu+:} false; then :
11645 $as_echo_n "(cached) " >&6
11647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11648 /* end confdefs.h. */
11661 if ac_fn_cxx_try_compile "$LINENO"; then :
11662 ac_compiler_gnu=yes
11666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11667 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
11670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
11671 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
11672 if test $ac_compiler_gnu = yes; then
11677 ac_test_CXXFLAGS=${CXXFLAGS+set}
11678 ac_save_CXXFLAGS=$CXXFLAGS
11679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
11680 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
11681 if ${ac_cv_prog_cxx_g+:} false; then :
11682 $as_echo_n "(cached) " >&6
11684 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
11685 ac_cxx_werror_flag=yes
11686 ac_cv_prog_cxx_g=no
11688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11689 /* end confdefs.h. */
11699 if ac_fn_cxx_try_compile "$LINENO"; then :
11700 ac_cv_prog_cxx_g=yes
11703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11704 /* end confdefs.h. */
11714 if ac_fn_cxx_try_compile "$LINENO"; then :
11717 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
11719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11720 /* end confdefs.h. */
11730 if ac_fn_cxx_try_compile "$LINENO"; then :
11731 ac_cv_prog_cxx_g=yes
11733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11738 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
11740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
11741 $as_echo "$ac_cv_prog_cxx_g" >&6; }
11742 if test "$ac_test_CXXFLAGS" = set; then
11743 CXXFLAGS=$ac_save_CXXFLAGS
11744 elif test $ac_cv_prog_cxx_g = yes; then
11745 if test "$GXX" = yes; then
11751 if test "$GXX" = yes; then
11758 ac_cpp='$CPP $CPPFLAGS'
11759 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11760 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11761 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11765 func_stripname_cnf ()
11768 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
11769 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
11771 } # func_stripname_cnf
11773 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
11774 ( (test "X$CXX" = "Xg++" && `g
++ -v >/dev
/null
2>&1` ) ||
11775 (test "X$CXX" != "Xg++"))) ; then
11777 ac_cpp='$CXXCPP $CPPFLAGS'
11778 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11779 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11780 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
11782 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
11783 if test -z "$CXXCPP"; then
11784 if ${ac_cv_prog_CXXCPP+:} false; then :
11785 $as_echo_n "(cached) " >&6
11787 # Double quotes because CXXCPP needs to be expanded
11788 for CXXCPP in "$CXX -E" "/lib/cpp"
11790 ac_preproc_ok=false
11791 for ac_cxx_preproc_warn_flag in '' yes
11793 # Use a header file that comes with gcc, so configuring glibc
11794 # with a fresh cross-compiler works.
11795 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11796 # <limits.h> exists even on freestanding compilers.
11797 # On the NeXT, cc -E runs the code through the compiler's parser,
11798 # not just through cpp. "Syntax error" is here to catch this case.
11799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11800 /* end confdefs.h. */
11802 # include <limits.h>
11804 # include <assert.h>
11808 if ac_fn_cxx_try_cpp "$LINENO"; then :
11811 # Broken: fails on valid input.
11814 rm -f conftest.err conftest.i conftest.$ac_ext
11816 # OK, works on sane cases. Now check whether nonexistent headers
11817 # can be detected and how.
11818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11819 /* end confdefs.h. */
11820 #include <ac_nonexistent.h>
11822 if ac_fn_cxx_try_cpp "$LINENO"; then :
11823 # Broken: success on invalid input.
11826 # Passes both tests.
11830 rm -f conftest.err conftest.i conftest.$ac_ext
11833 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11834 rm -f conftest.i conftest.err conftest.
$ac_ext
11835 if $ac_preproc_ok; then :
11840 ac_cv_prog_CXXCPP
=$CXXCPP
11843 CXXCPP
=$ac_cv_prog_CXXCPP
11845 ac_cv_prog_CXXCPP
=$CXXCPP
11847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
11848 $as_echo "$CXXCPP" >&6; }
11849 ac_preproc_ok
=false
11850 for ac_cxx_preproc_warn_flag
in '' yes
11852 # Use a header file that comes with gcc, so configuring glibc
11853 # with a fresh cross-compiler works.
11854 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11855 # <limits.h> exists even on freestanding compilers.
11856 # On the NeXT, cc -E runs the code through the compiler's parser,
11857 # not just through cpp. "Syntax error" is here to catch this case.
11858 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11859 /* end confdefs.h. */
11861 # include <limits.h>
11863 # include <assert.h>
11867 if ac_fn_cxx_try_cpp
"$LINENO"; then :
11870 # Broken: fails on valid input.
11873 rm -f conftest.err conftest.i conftest.
$ac_ext
11875 # OK, works on sane cases. Now check whether nonexistent headers
11876 # can be detected and how.
11877 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11878 /* end confdefs.h. */
11879 #include <ac_nonexistent.h>
11881 if ac_fn_cxx_try_cpp
"$LINENO"; then :
11882 # Broken: success on invalid input.
11885 # Passes both tests.
11889 rm -f conftest.err conftest.i conftest.
$ac_ext
11892 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11893 rm -f conftest.i conftest.err conftest.
$ac_ext
11894 if $ac_preproc_ok; then :
11897 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11898 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11899 as_fn_error $?
"C++ preprocessor \"$CXXCPP\" fails sanity check
11900 See \`config.log' for more details" "$LINENO" 5; }
11904 ac_cpp
='$CPP $CPPFLAGS'
11905 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11906 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11907 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11910 _lt_caught_CXX_error
=yes
11914 ac_cpp
='$CXXCPP $CPPFLAGS'
11915 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11916 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11917 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11919 archive_cmds_need_lc_CXX
=no
11920 allow_undefined_flag_CXX
=
11921 always_export_symbols_CXX
=no
11922 archive_expsym_cmds_CXX
=
11923 compiler_needs_object_CXX
=no
11924 export_dynamic_flag_spec_CXX
=
11925 hardcode_direct_CXX
=no
11926 hardcode_direct_absolute_CXX
=no
11927 hardcode_libdir_flag_spec_CXX
=
11928 hardcode_libdir_flag_spec_ld_CXX
=
11929 hardcode_libdir_separator_CXX
=
11930 hardcode_minus_L_CXX
=no
11931 hardcode_shlibpath_var_CXX
=unsupported
11932 hardcode_automatic_CXX
=no
11933 inherit_rpath_CXX
=no
11935 module_expsym_cmds_CXX
=
11936 link_all_deplibs_CXX
=unknown
11937 old_archive_cmds_CXX
=$old_archive_cmds
11938 reload_flag_CXX
=$reload_flag
11939 reload_cmds_CXX
=$reload_cmds
11940 no_undefined_flag_CXX
=
11941 whole_archive_flag_spec_CXX
=
11942 enable_shared_with_static_runtimes_CXX
=no
11944 # Source file extension for C++ test sources.
11947 # Object file extension for compiled C++ test sources.
11951 # No sense in running all these tests if we already determined that
11952 # the CXX compiler isn't working. Some variables (like enable_shared)
11953 # are currently assumed to apply to all compilers on this platform,
11954 # and will be corrupted by setting them based on a non-working compiler.
11955 if test "$_lt_caught_CXX_error" != yes; then
11956 # Code to be used in simple compile tests
11957 lt_simple_compile_test_code
="int some_variable = 0;"
11959 # Code to be used in simple link tests
11960 lt_simple_link_test_code
='int main(int, char *[]) { return(0); }'
11962 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
11969 # If no C compiler was specified, use CC.
11972 # If no C compiler flags were specified, use CFLAGS.
11973 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
11975 # Allow CC to be a program name with arguments.
11979 # save warnings/boilerplate of simple test code
11980 ac_outfile
=conftest.
$ac_objext
11981 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
11982 eval "$ac_compile" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
11983 _lt_compiler_boilerplate
=`cat conftest.err`
11986 ac_outfile
=conftest.
$ac_objext
11987 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
11988 eval "$ac_link" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
11989 _lt_linker_boilerplate
=`cat conftest.err`
11993 # Allow CC to be a program name with arguments.
11995 lt_save_CFLAGS
=$CFLAGS
11999 lt_save_with_gnu_ld
=$with_gnu_ld
12000 lt_save_path_LD
=$lt_cv_path_LD
12001 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12002 lt_cv_prog_gnu_ld
=$lt_cv_prog_gnu_ldcxx
12004 $as_unset lt_cv_prog_gnu_ld
12006 if test -n "${lt_cv_path_LDCXX+set}"; then
12007 lt_cv_path_LD
=$lt_cv_path_LDCXX
12009 $as_unset lt_cv_path_LD
12011 test -z "${LDCXX+set}" || LD
=$LDCXX
12016 for cc_temp
in $compiler""; do
12018 compile
| *[\\/]compile
| ccache
| *[\\/]ccache
) ;;
12019 distcc
| *[\\/]distcc
| purify
| *[\\/]purify
) ;;
12024 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12027 if test -n "$compiler"; then
12028 # We don't want -fno-exception when compiling C++ code, so set the
12029 # no_builtin_flag separately
12030 if test "$GXX" = yes; then
12031 lt_prog_compiler_no_builtin_flag_CXX
=' -fno-builtin'
12033 lt_prog_compiler_no_builtin_flag_CXX
=
12036 if test "$GXX" = yes; then
12037 # Set up default GNU C++ configuration
12041 # Check whether --with-gnu-ld was given.
12042 if test "${with_gnu_ld+set}" = set; then :
12043 withval
=$with_gnu_ld; test "$withval" = no
|| with_gnu_ld
=yes
12049 if test "$GCC" = yes; then
12050 # Check if gcc -print-prog-name=ld gives a path.
12051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12052 $as_echo_n "checking for ld used by $CC... " >&6; }
12055 # gcc leaves a trailing carriage return which upsets mingw
12056 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12058 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
12061 # Accept absolute paths.
12063 re_direlt
='/[^/][^/]*/\.\./'
12064 # Canonicalize the pathname of ld
12065 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12066 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev
/null
2>&1; do
12067 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12069 test -z "$LD" && LD
="$ac_prog"
12072 # If it fails, then pretend we aren't using GCC.
12076 # If it is relative, then search for the first ld in PATH.
12077 with_gnu_ld
=unknown
12080 elif test "$with_gnu_ld" = yes; then
12081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12082 $as_echo_n "checking for GNU ld... " >&6; }
12084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12085 $as_echo_n "checking for non-GNU ld... " >&6; }
12087 if ${lt_cv_path_LD+:} false
; then :
12088 $as_echo_n "(cached) " >&6
12090 if test -z "$LD"; then
12091 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
12092 for ac_dir
in $PATH; do
12094 test -z "$ac_dir" && ac_dir
=.
12095 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12096 lt_cv_path_LD
="$ac_dir/$ac_prog"
12097 # Check to see if the program is GNU ld. I'd rather use --version,
12098 # but apparently some variants of GNU ld only accept -v.
12099 # Break only if it was the GNU/non-GNU ld that we prefer.
12100 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12101 *GNU
* | *'with BFD'*)
12102 test "$with_gnu_ld" != no
&& break
12105 test "$with_gnu_ld" != yes && break
12112 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
12116 LD
="$lt_cv_path_LD"
12117 if test -n "$LD"; then
12118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12119 $as_echo "$LD" >&6; }
12121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12122 $as_echo "no" >&6; }
12124 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
12125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12126 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12127 if ${lt_cv_prog_gnu_ld+:} false
; then :
12128 $as_echo_n "(cached) " >&6
12130 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12131 case `$LD -v 2>&1 </dev/null` in
12132 *GNU
* | *'with BFD'*)
12133 lt_cv_prog_gnu_ld
=yes
12136 lt_cv_prog_gnu_ld
=no
12140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12141 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12142 with_gnu_ld
=$lt_cv_prog_gnu_ld
12150 # Check if GNU C++ uses GNU ld as the underlying linker, since the
12151 # archiving commands below assume that GNU ld is being used.
12152 if test "$with_gnu_ld" = yes; then
12153 archive_cmds_CXX
='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12154 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'
12156 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12157 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12159 # If archive_cmds runs LD, not CC, wlarc should be empty
12160 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12161 # investigate it a little bit more. (MM)
12164 # ancient GNU ld didn't support --whole-archive et. al.
12165 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12166 $GREP 'no-whole-archive' > /dev
/null
; then
12167 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12169 whole_archive_flag_spec_CXX
=
12175 # A generic and very simple default shared library creation
12176 # command for GNU C++ for the case where it uses the native
12177 # linker, instead of GNU ld. If possible, this setting should
12178 # overridden to take advantage of the native linker features on
12179 # the platform it is being used on.
12180 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12183 # Commands to make compiler produce verbose output that lists
12184 # what "hidden" libraries, object files and flags are used when
12185 # linking a shared library.
12186 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12194 # PORTME: fill in a description of your system's C++ link characteristics
12195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12196 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12200 # FIXME: insert proper C++ library support
12204 if test "$host_cpu" = ia64
; then
12205 # On IA64, the linker does run time linking by default, so we don't
12206 # have to do anything special.
12207 aix_use_runtimelinking
=no
12208 exp_sym_flag
='-Bexport'
12211 aix_use_runtimelinking
=no
12213 # Test if we are trying to use run time linking or normal
12214 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12215 # need to do runtime linking.
12216 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
12217 for ld_flag
in $LDFLAGS; do
12220 aix_use_runtimelinking
=yes
12228 exp_sym_flag
='-bexport'
12229 no_entry_flag
='-bnoentry'
12232 # When large executables or shared objects are built, AIX ld can
12233 # have problems creating the table of contents. If linking a library
12234 # or program results in "error TOC overflow" add -mminimal-toc to
12235 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12236 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12238 archive_cmds_CXX
=''
12239 hardcode_direct_CXX
=yes
12240 hardcode_direct_absolute_CXX
=yes
12241 hardcode_libdir_separator_CXX
=':'
12242 link_all_deplibs_CXX
=yes
12243 file_list_spec_CXX
='${wl}-f,'
12245 if test "$GXX" = yes; then
12246 case $host_os in aix4.
[012]|aix4.
[012].
*)
12247 # We only want to do this on AIX 4.2 and lower, the check
12248 # below for broken collect2 doesn't work under 4.3+
12249 collect2name
=`${CC} -print-prog-name=collect2`
12250 if test -f "$collect2name" &&
12251 strings "$collect2name" | $GREP resolve_lib_name
>/dev
/null
12253 # We have reworked collect2
12256 # We have old collect2
12257 hardcode_direct_CXX
=unsupported
12258 # It fails to find uninstalled libraries when the uninstalled
12259 # path is not listed in the libpath. Setting hardcode_minus_L
12260 # to unsupported forces relinking
12261 hardcode_minus_L_CXX
=yes
12262 hardcode_libdir_flag_spec_CXX
='-L$libdir'
12263 hardcode_libdir_separator_CXX
=
12266 shared_flag
='-shared'
12267 if test "$aix_use_runtimelinking" = yes; then
12268 shared_flag
="$shared_flag "'${wl}-G'
12272 if test "$host_cpu" = ia64
; then
12273 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12274 # chokes on -Wl,-G. The following line is correct:
12277 if test "$aix_use_runtimelinking" = yes; then
12278 shared_flag
='${wl}-G'
12280 shared_flag
='${wl}-bM:SRE'
12285 export_dynamic_flag_spec_CXX
='${wl}-bexpall'
12286 # It seems that -bexpall does not export symbols beginning with
12287 # underscore (_), so it is better to generate a list of symbols to
12289 always_export_symbols_CXX
=yes
12290 if test "$aix_use_runtimelinking" = yes; then
12291 # Warning - without using the other runtime loading flags (-brtl),
12292 # -berok will link without error, but may produce a broken library.
12293 allow_undefined_flag_CXX
='-berok'
12294 # Determine the default libpath from the value encoded in an empty
12296 if test "${lt_cv_aix_libpath+set}" = set; then
12297 aix_libpath
=$lt_cv_aix_libpath
12299 if ${lt_cv_aix_libpath__CXX+:} false
; then :
12300 $as_echo_n "(cached) " >&6
12302 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12303 /* end confdefs.h. */
12313 if ac_fn_cxx_try_link
"$LINENO"; then :
12315 lt_aix_libpath_sed
='
12316 /Import File Strings/,/^$/ {
12318 s/^0 *\([^ ]*\) *$/\1/
12322 lt_cv_aix_libpath__CXX
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12323 # Check for a 64-bit object if we didn't find anything.
12324 if test -z "$lt_cv_aix_libpath__CXX"; then
12325 lt_cv_aix_libpath__CXX
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12328 rm -f core conftest.err conftest.
$ac_objext \
12329 conftest
$ac_exeext conftest.
$ac_ext
12330 if test -z "$lt_cv_aix_libpath__CXX"; then
12331 lt_cv_aix_libpath__CXX
="/usr/lib:/lib"
12336 aix_libpath
=$lt_cv_aix_libpath__CXX
12339 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
12341 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"
12343 if test "$host_cpu" = ia64
; then
12344 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
12345 allow_undefined_flag_CXX
="-z nodefs"
12346 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"
12348 # Determine the default libpath from the value encoded in an
12349 # empty executable.
12350 if test "${lt_cv_aix_libpath+set}" = set; then
12351 aix_libpath
=$lt_cv_aix_libpath
12353 if ${lt_cv_aix_libpath__CXX+:} false
; then :
12354 $as_echo_n "(cached) " >&6
12356 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12357 /* end confdefs.h. */
12367 if ac_fn_cxx_try_link
"$LINENO"; then :
12369 lt_aix_libpath_sed
='
12370 /Import File Strings/,/^$/ {
12372 s/^0 *\([^ ]*\) *$/\1/
12376 lt_cv_aix_libpath__CXX
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12377 # Check for a 64-bit object if we didn't find anything.
12378 if test -z "$lt_cv_aix_libpath__CXX"; then
12379 lt_cv_aix_libpath__CXX
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12382 rm -f core conftest.err conftest.
$ac_objext \
12383 conftest
$ac_exeext conftest.
$ac_ext
12384 if test -z "$lt_cv_aix_libpath__CXX"; then
12385 lt_cv_aix_libpath__CXX
="/usr/lib:/lib"
12390 aix_libpath
=$lt_cv_aix_libpath__CXX
12393 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
12394 # Warning - without using the other run time loading flags,
12395 # -berok will link without error, but may produce a broken library.
12396 no_undefined_flag_CXX
=' ${wl}-bernotok'
12397 allow_undefined_flag_CXX
=' ${wl}-berok'
12398 if test "$with_gnu_ld" = yes; then
12399 # We only use this code for GNU lds that support --whole-archive.
12400 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12402 # Exported symbols can be pulled into shared objects from archives
12403 whole_archive_flag_spec_CXX
='$convenience'
12405 archive_cmds_need_lc_CXX
=yes
12406 # This is similar to how AIX traditionally builds its shared
12408 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'
12414 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
12415 allow_undefined_flag_CXX
=unsupported
12416 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12417 # support --undefined. This deserves some investigation. FIXME
12418 archive_cmds_CXX
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12425 case $cc_basename in
12427 # FIXME: insert proper C++ library support
12433 cygwin
* | mingw
* | pw32
* | cegcc
*)
12434 case $GXX,$cc_basename in
12437 # hardcode_libdir_flag_spec is actually meaningless, as there is
12438 # no search path for DLLs.
12439 hardcode_libdir_flag_spec_CXX
=' '
12440 allow_undefined_flag_CXX
=unsupported
12441 always_export_symbols_CXX
=yes
12442 file_list_spec_CXX
='@'
12443 # Tell ltmain to make .lib files, not .a files.
12445 # Tell ltmain to make .dll files, not .so files.
12447 # FIXME: Setting linknames here is a bad hack.
12448 archive_cmds_CXX
='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
12449 archive_expsym_cmds_CXX
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12450 $SED -n -e 's
/\\\\\\\
(.
*\\\\\\\
)/-link\\\
-EXPORT:\\\\\\\
1/' -e '1\\\
!p
' < $export_symbols > $output_objdir/$soname.exp;
12452 $SED -e 's
/\\\\\\\
(.
*\\\\\\\
)/-link\\\
-EXPORT:\\\\\\\
1/' < $export_symbols > $output_objdir/$soname.exp;
12454 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
12456 # The linker will not automatically build a static lib if we build a DLL.
12457 # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
12458 enable_shared_with_static_runtimes_CXX
=yes
12460 old_postinstall_cmds_CXX
='chmod 644 $oldlib'
12461 postlink_cmds_CXX
='lt_outputfile="@OUTPUT@"~
12462 lt_tool_outputfile="@TOOL_OUTPUT@"~
12463 case $lt_outputfile in
12466 lt_outputfile="$lt_outputfile.exe"
12467 lt_tool_outputfile="$lt_tool_outputfile.exe"
12470 func_to_tool_file "$lt_outputfile"~
12471 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
12472 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
12473 $RM "$lt_outputfile.manifest";
12478 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12479 # as there is no search path for DLLs.
12480 hardcode_libdir_flag_spec_CXX
='-L$libdir'
12481 export_dynamic_flag_spec_CXX
='${wl}--export-all-symbols'
12482 allow_undefined_flag_CXX
=unsupported
12483 always_export_symbols_CXX
=no
12484 enable_shared_with_static_runtimes_CXX
=yes
12486 if $LD --help 2>&1 | $GREP 'auto-import' > /dev
/null
; then
12487 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'
12488 # If the export-symbols file already is a .def file (1st line
12489 # is EXPORTS), use it as is; otherwise, prepend...
12490 archive_expsym_cmds_CXX
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12491 cp $export_symbols $output_objdir/$soname.def;
12493 echo EXPORTS > $output_objdir/$soname.def;
12494 cat $export_symbols >> $output_objdir/$soname.def;
12496 $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'
12503 darwin
* | rhapsody
*)
12506 archive_cmds_need_lc_CXX
=no
12507 hardcode_direct_CXX
=no
12508 hardcode_automatic_CXX
=yes
12509 hardcode_shlibpath_var_CXX
=unsupported
12510 if test "$lt_cv_ld_force_load" = "yes"; then
12511 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\"`'
12513 whole_archive_flag_spec_CXX
=''
12515 link_all_deplibs_CXX
=yes
12516 allow_undefined_flag_CXX
="$_lt_dar_allow_undefined"
12517 case $cc_basename in
12518 ifort
*) _lt_dar_can_shared
=yes ;;
12519 *) _lt_dar_can_shared
=$GCC ;;
12521 if test "$_lt_dar_can_shared" = "yes"; then
12522 output_verbose_link_cmd
=func_echo_all
12523 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}"
12524 module_cmds_CXX
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12525 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}"
12526 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}"
12527 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
12528 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}"
12529 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}"
12539 case $cc_basename in
12541 # FIXME: insert proper C++ library support
12545 # Green Hills C++ Compiler
12546 # FIXME: insert proper C++ library support
12550 # FIXME: insert proper C++ library support
12557 # C++ shared libraries reported to be fairly broken before
12563 archive_cmds_need_lc_CXX
=no
12566 freebsd
* | dragonfly
*)
12567 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12576 archive_cmds_CXX
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12577 link_all_deplibs_CXX
=yes
12581 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
12582 hardcode_libdir_separator_CXX
=:
12583 export_dynamic_flag_spec_CXX
='${wl}-E'
12584 hardcode_direct_CXX
=yes
12585 hardcode_minus_L_CXX
=yes # Not in the search PATH,
12586 # but as the default
12587 # location of the library.
12589 case $cc_basename in
12591 # FIXME: insert proper C++ library support
12595 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'
12596 # Commands to make compiler produce verbose output that lists
12597 # what "hidden" libraries, object files and flags are used when
12598 # linking a shared library.
12600 # There doesn't appear to be a way to prevent this compiler from
12601 # explicitly linking system object files so we need to strip them
12602 # from the output so that they don't get included in the library
12604 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"'
12607 if test "$GXX" = yes; then
12608 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'
12610 # FIXME: insert proper C++ library support
12618 if test $with_gnu_ld = no
; then
12619 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
12620 hardcode_libdir_separator_CXX
=:
12626 export_dynamic_flag_spec_CXX
='${wl}-E'
12632 hardcode_direct_CXX
=no
12633 hardcode_shlibpath_var_CXX
=no
12636 hardcode_direct_CXX
=yes
12637 hardcode_direct_absolute_CXX
=yes
12638 hardcode_minus_L_CXX
=yes # Not in the search PATH,
12639 # but as the default
12640 # location of the library.
12644 case $cc_basename in
12646 # FIXME: insert proper C++ library support
12652 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12655 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12658 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12661 # Commands to make compiler produce verbose output that lists
12662 # what "hidden" libraries, object files and flags are used when
12663 # linking a shared library.
12665 # There doesn't appear to be a way to prevent this compiler from
12666 # explicitly linking system object files so we need to strip them
12667 # from the output so that they don't get included in the library
12669 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"'
12672 if test "$GXX" = yes; then
12673 if test $with_gnu_ld = no
; then
12676 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12679 archive_cmds_CXX
='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12682 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'
12687 # FIXME: insert proper C++ library support
12695 hardcode_direct_CXX
=no
12696 hardcode_shlibpath_var_CXX
=no
12697 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12698 export_dynamic_flag_spec_CXX
='${wl}-E'
12699 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12700 # Instead, shared libraries are loaded at an image base (0x10000000 by
12701 # default) and relocated if they conflict, which is a slow very memory
12702 # consuming and fragmenting process. To avoid this, we pick a random,
12703 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12704 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12705 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'
12706 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'
12709 case $cc_basename in
12712 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'
12714 # Archives containing C++ object files must be created using
12715 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
12716 # necessary to make sure instantiated templates are included
12718 old_archive_cmds_CXX
='$CC -ar -WR,-u -o $oldlib $oldobjs'
12721 if test "$GXX" = yes; then
12722 if test "$with_gnu_ld" = no
; then
12723 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'
12725 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'
12728 link_all_deplibs_CXX
=yes
12731 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12732 hardcode_libdir_separator_CXX
=:
12733 inherit_rpath_CXX
=yes
12736 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
12737 case $cc_basename in
12739 # Kuck and Associates, Inc. (KAI) C++ Compiler
12741 # KCC will only create a shared library if the output file
12742 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12743 # to its proper name (with version) after linking.
12744 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'
12745 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'
12746 # Commands to make compiler produce verbose output that lists
12747 # what "hidden" libraries, object files and flags are used when
12748 # linking a shared library.
12750 # There doesn't appear to be a way to prevent this compiler from
12751 # explicitly linking system object files so we need to strip them
12752 # from the output so that they don't get included in the library
12754 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"'
12756 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12757 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12759 # Archives containing C++ object files must be created using
12760 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12761 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
12766 # version 8.0 and above of icpc choke on multiply defined symbols
12767 # if we add $predep_objects and $postdep_objects, however 7.1 and
12768 # earlier do not add the objects themselves.
12769 case `$CC -V 2>&1` in
12771 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12772 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'
12774 *) # Version 8.0 or newer
12777 ia64
*) tmp_idyn
=' -i_dynamic';;
12779 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12780 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'
12783 archive_cmds_need_lc_CXX
=no
12784 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12785 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12786 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12789 # Portland Group C++ compiler
12791 *pgCC\
[1-5].
* | *pgcpp\
[1-5].
*)
12792 prelink_cmds_CXX
='tpldir=Template.dir~
12794 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
12795 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
12796 old_archive_cmds_CXX
='tpldir=Template.dir~
12798 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
12799 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
12801 archive_cmds_CXX
='tpldir=Template.dir~
12803 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12804 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12805 archive_expsym_cmds_CXX
='tpldir=Template.dir~
12807 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12808 $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'
12810 *) # Version 6 and above use weak symbols
12811 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12812 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'
12816 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
12817 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12818 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'
12822 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12823 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'
12825 runpath_var
=LD_RUN_PATH
12826 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
12827 hardcode_libdir_separator_CXX
=:
12829 # Commands to make compiler produce verbose output that lists
12830 # what "hidden" libraries, object files and flags are used when
12831 # linking a shared library.
12833 # There doesn't appear to be a way to prevent this compiler from
12834 # explicitly linking system object files so we need to strip them
12835 # from the output so that they don't get included in the library
12837 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'
12839 xl
* | mpixl
* | bgxl
*)
12840 # IBM XL 8.0 on PPC, with GNU ld
12841 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12842 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12843 archive_cmds_CXX
='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12844 if test "x$supports_anon_versioning" = xyes
; then
12845 archive_expsym_cmds_CXX
='echo "{ global:" > $output_objdir/$libname.ver~
12846 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12847 echo "local: *; };" >> $output_objdir/$libname.ver~
12848 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12852 case `$CC -V 2>&1 | sed 5q` in
12855 no_undefined_flag_CXX
=' -zdefs'
12856 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12857 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'
12858 hardcode_libdir_flag_spec_CXX
='-R$libdir'
12859 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'
12860 compiler_needs_object_CXX
=yes
12862 # Not sure whether something based on
12863 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
12865 output_verbose_link_cmd
='func_echo_all'
12867 # Archives containing C++ object files must be created using
12868 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12869 # necessary to make sure instantiated templates are included
12871 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
12879 # FIXME: insert proper C++ library support
12884 # FIXME: insert proper C++ library support
12889 case $cc_basename in
12891 # FIXME: insert proper C++ library support
12895 # FIXME: insert proper C++ library support
12902 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
12903 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
12905 hardcode_libdir_flag_spec_CXX
='-R$libdir'
12906 hardcode_direct_CXX
=yes
12907 hardcode_shlibpath_var_CXX
=no
12909 # Workaround some broken pre-1.5 toolchains
12910 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
12918 # C++ shared libraries are fairly broken
12923 if test -f /usr
/libexec
/ld.so
; then
12924 hardcode_direct_CXX
=yes
12925 hardcode_shlibpath_var_CXX
=no
12926 hardcode_direct_absolute_CXX
=yes
12927 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12928 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12929 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12930 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
12931 export_dynamic_flag_spec_CXX
='${wl}-E'
12932 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12934 output_verbose_link_cmd
=func_echo_all
12940 osf3
* | osf4
* | osf5
*)
12941 case $cc_basename in
12943 # Kuck and Associates, Inc. (KAI) C++ Compiler
12945 # KCC will only create a shared library if the output file
12946 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12947 # to its proper name (with version) after linking.
12948 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'
12950 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12951 hardcode_libdir_separator_CXX
=:
12953 # Archives containing C++ object files must be created using
12954 # the KAI C++ compiler.
12956 osf3
*) old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs' ;;
12957 *) old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs' ;;
12961 # Rational C++ 2.4.1
12962 # FIXME: insert proper C++ library support
12968 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
12969 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'
12970 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12973 allow_undefined_flag_CXX
=' -expect_unresolved \*'
12974 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'
12975 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
12976 echo "-hidden">> $lib.exp~
12977 $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~
12979 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
12983 hardcode_libdir_separator_CXX
=:
12985 # Commands to make compiler produce verbose output that lists
12986 # what "hidden" libraries, object files and flags are used when
12987 # linking a shared library.
12989 # There doesn't appear to be a way to prevent this compiler from
12990 # explicitly linking system object files so we need to strip them
12991 # from the output so that they don't get included in the library
12993 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"'
12996 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
12997 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
13000 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'
13003 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'
13007 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13008 hardcode_libdir_separator_CXX
=:
13010 # Commands to make compiler produce verbose output that lists
13011 # what "hidden" libraries, object files and flags are used when
13012 # linking a shared library.
13013 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13016 # FIXME: insert proper C++ library support
13024 # FIXME: insert proper C++ library support
13029 case $cc_basename in
13032 # FIXME: insert proper C++ library support
13037 # FIXME: insert proper C++ library support
13041 # FIXME: insert proper C++ library support
13048 case $cc_basename in
13050 # Sun C++ 4.2, 5.x and Centerline C++
13051 archive_cmds_need_lc_CXX
=yes
13052 no_undefined_flag_CXX
=' -zdefs'
13053 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13054 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13055 $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'
13057 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13058 hardcode_shlibpath_var_CXX
=no
13060 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
13062 # The compiler driver will combine and reorder linker options,
13063 # but understands `-z linker_flag'.
13064 # Supported since Solaris 2.6 (maybe 2.5.1?)
13065 whole_archive_flag_spec_CXX
='-z allextract$convenience -z defaultextract'
13068 link_all_deplibs_CXX
=yes
13070 output_verbose_link_cmd
='func_echo_all'
13072 # Archives containing C++ object files must be created using
13073 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13074 # necessary to make sure instantiated templates are included
13076 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
13079 # Green Hills C++ Compiler
13080 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13082 # The C++ compiler must be used to create the archive.
13083 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13086 # GNU C++ compiler with Solaris linker
13087 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
13088 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
13089 if $CC --version | $GREP -v '^2\.7' > /dev
/null
; then
13090 archive_cmds_CXX
='$CC -shared $pic_flag -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13091 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13092 $CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13094 # Commands to make compiler produce verbose output that lists
13095 # what "hidden" libraries, object files and flags are used when
13096 # linking a shared library.
13097 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13099 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13101 archive_cmds_CXX
='$CC -G -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 -G -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 -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13111 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
13113 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
13115 whole_archive_flag_spec_CXX
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13123 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
13124 no_undefined_flag_CXX
='${wl}-z,text'
13125 archive_cmds_need_lc_CXX
=no
13126 hardcode_shlibpath_var_CXX
=no
13127 runpath_var
='LD_RUN_PATH'
13129 case $cc_basename in
13131 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13132 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13135 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13136 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13141 sysv5
* | sco3.2v5
* | sco5v6
*)
13142 # Note: We can NOT use -z defs as we might desire, because we do not
13143 # link with -lc, and that would cause any symbols used from libc to
13144 # always be unresolved, which means just about no library would
13145 # ever link correctly. If we're not using GNU ld we use -z text
13146 # though, which does catch some bad symbols but isn't as heavy-handed
13148 no_undefined_flag_CXX
='${wl}-z,text'
13149 allow_undefined_flag_CXX
='${wl}-z,nodefs'
13150 archive_cmds_need_lc_CXX
=no
13151 hardcode_shlibpath_var_CXX
=no
13152 hardcode_libdir_flag_spec_CXX
='${wl}-R,$libdir'
13153 hardcode_libdir_separator_CXX
=':'
13154 link_all_deplibs_CXX
=yes
13155 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
13156 runpath_var
='LD_RUN_PATH'
13158 case $cc_basename in
13160 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13161 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13162 old_archive_cmds_CXX
='$CC -Tprelink_objects $oldobjs~
13163 '"$old_archive_cmds_CXX"
13164 reload_cmds_CXX
='$CC -Tprelink_objects $reload_objs~
13165 '"$reload_cmds_CXX"
13168 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13169 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13175 case $cc_basename in
13177 # NonStop-UX NCC 3.20
13178 # FIXME: insert proper C++ library support
13182 # FIXME: insert proper C++ library support
13189 # FIXME: insert proper C++ library support
13194 # FIXME: insert proper C++ library support
13199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13200 $as_echo "$ld_shlibs_CXX" >&6; }
13201 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
13207 ## There is no encapsulation within the following macros, do not change
13208 ## the running order or otherwise move them around unless you know exactly
13209 ## what you are doing...
13210 # Dependencies to place before and after the object being linked:
13211 predep_objects_CXX
=
13212 postdep_objects_CXX
=
13215 compiler_lib_search_path_CXX
=
13217 cat > conftest.
$ac_ext <<_LT_EOF
13221 Foo (void) { a = 0; }
13228 _lt_libdeps_save_CFLAGS
=$CFLAGS
13229 case "$CC $CFLAGS " in #(
13230 *\
-flto*\
*) CFLAGS
="$CFLAGS -fno-lto" ;;
13231 *\
-fwhopr*\
*) CFLAGS
="$CFLAGS -fno-whopr" ;;
13234 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13235 (eval $ac_compile) 2>&5
13237 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13238 test $ac_status = 0; }; then
13239 # Parse the compiler output and extract the necessary
13240 # objects, libraries and library flags.
13242 # Sentinel used to keep track of whether or not we are before
13243 # the conftest object file.
13244 pre_test_object_deps_done
=no
13246 for p
in `eval "$output_verbose_link_cmd"`; do
13247 case ${prev}${p} in
13250 # Some compilers place space between "-{L,R}" and the path.
13251 # Remove the space.
13252 if test $p = "-L" ||
13253 test $p = "-R"; then
13258 # Expand the sysroot to ease extracting the directories later.
13259 if test -z "$prev"; then
13261 -L*) func_stripname_cnf
'-L' '' "$p"; prev
=-L; p
=$func_stripname_result ;;
13262 -R*) func_stripname_cnf
'-R' '' "$p"; prev
=-R; p
=$func_stripname_result ;;
13263 -l*) func_stripname_cnf
'-l' '' "$p"; prev
=-l; p
=$func_stripname_result ;;
13267 =*) func_stripname_cnf
'=' '' "$p"; p
=$lt_sysroot$func_stripname_result ;;
13269 if test "$pre_test_object_deps_done" = no
; then
13272 # Internal compiler library paths should come after those
13273 # provided the user. The postdeps already come after the
13274 # user supplied libs so there is no need to process them.
13275 if test -z "$compiler_lib_search_path_CXX"; then
13276 compiler_lib_search_path_CXX
="${prev}${p}"
13278 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
13281 # The "-l" case would never come before the object being
13282 # linked, so don't bother handling this case.
13285 if test -z "$postdeps_CXX"; then
13286 postdeps_CXX
="${prev}${p}"
13288 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
13294 *.lto.
$objext) ;; # Ignore GCC LTO objects
13296 # This assumes that the test object file only shows up
13297 # once in the compiler output.
13298 if test "$p" = "conftest.$objext"; then
13299 pre_test_object_deps_done
=yes
13303 if test "$pre_test_object_deps_done" = no
; then
13304 if test -z "$predep_objects_CXX"; then
13305 predep_objects_CXX
="$p"
13307 predep_objects_CXX
="$predep_objects_CXX $p"
13310 if test -z "$postdep_objects_CXX"; then
13311 postdep_objects_CXX
="$p"
13313 postdep_objects_CXX
="$postdep_objects_CXX $p"
13318 *) ;; # Ignore the rest.
13326 echo "libtool.m4: error: problem compiling CXX test program"
13329 $RM -f confest.
$objext
13330 CFLAGS
=$_lt_libdeps_save_CFLAGS
13332 # PORTME: override above test on systems where it is broken
13335 # Interix 3.5 installs completely hosed .la files for C++, so rather than
13336 # hack all around it, let's just trust "g++" to DTRT.
13337 predep_objects_CXX
=
13338 postdep_objects_CXX
=
13343 case `$CC -V 2>&1 | sed 5q` in
13347 # The more standards-conforming stlport4 library is
13348 # incompatible with the Cstd library. Avoid specifying
13349 # it if it's in CXXFLAGS. Ignore libCrun as
13350 # -library=stlport4 depends on it.
13351 case " $CXX $CXXFLAGS " in
13352 *" -library=stlport4 "*)
13353 solaris_use_stlport4
=yes
13357 if test "$solaris_use_stlport4" != yes; then
13358 postdeps_CXX
='-library=Cstd -library=Crun'
13365 case $cc_basename in
13367 # The more standards-conforming stlport4 library is
13368 # incompatible with the Cstd library. Avoid specifying
13369 # it if it's in CXXFLAGS. Ignore libCrun as
13370 # -library=stlport4 depends on it.
13371 case " $CXX $CXXFLAGS " in
13372 *" -library=stlport4 "*)
13373 solaris_use_stlport4
=yes
13377 # Adding this requires a known-good setup of shared libraries for
13378 # Sun compiler versions before 5.6, else PIC objects from an old
13379 # archive will be linked into the output, leading to subtle bugs.
13380 if test "$solaris_use_stlport4" != yes; then
13381 postdeps_CXX
='-library=Cstd -library=Crun'
13389 case " $postdeps_CXX " in
13390 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
13392 compiler_lib_search_dirs_CXX
=
13393 if test -n "${compiler_lib_search_path_CXX}"; then
13394 compiler_lib_search_dirs_CXX
=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13427 lt_prog_compiler_wl_CXX
=
13428 lt_prog_compiler_pic_CXX
=
13429 lt_prog_compiler_static_CXX
=
13432 # C++ specific cases for pic, static, wl, etc.
13433 if test "$GXX" = yes; then
13434 lt_prog_compiler_wl_CXX
='-Wl,'
13435 lt_prog_compiler_static_CXX
='-static'
13439 # All AIX code is PIC.
13440 if test "$host_cpu" = ia64
; then
13441 # AIX 5 now supports IA64 processor
13442 lt_prog_compiler_static_CXX
='-Bstatic'
13449 # see comment about AmigaOS4 .so support
13450 lt_prog_compiler_pic_CXX
='-fPIC'
13453 # FIXME: we need at least 68020 code to build shared libraries, but
13454 # adding the `-m68020' flag to GCC prevents building anything better,
13456 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
13461 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
13462 # PIC is the default for these OSes.
13464 mingw
* | cygwin
* | os2
* | pw32
* | cegcc
*)
13465 # This hack is so that the source file can tell whether it is being
13466 # built for inclusion in a dll (and should export symbols for example).
13467 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13468 # (--disable-auto-import) libraries
13469 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
13471 darwin
* | rhapsody
*)
13472 # PIC is the default on this platform
13473 # Common symbols not allowed in MH_DYLIB files
13474 lt_prog_compiler_pic_CXX
='-fno-common'
13477 # DJGPP does not support shared libraries at all
13478 lt_prog_compiler_pic_CXX
=
13481 # PIC is the default for Haiku.
13482 # The "-static" flag exists, but is broken.
13483 lt_prog_compiler_static_CXX
=
13486 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13487 # Instead, we relocate shared libraries at runtime.
13490 if test -d /usr
/nec
; then
13491 lt_prog_compiler_pic_CXX
=-Kconform_pic
13495 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13496 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13497 # sets the default TLS model and affects inlining.
13502 lt_prog_compiler_pic_CXX
='-fPIC'
13507 # QNX uses GNU C++, but need to define -shared option too, otherwise
13508 # it will coredump.
13509 lt_prog_compiler_pic_CXX
='-fPIC -shared'
13512 lt_prog_compiler_pic_CXX
='-fPIC'
13518 # All AIX code is PIC.
13519 if test "$host_cpu" = ia64
; then
13520 # AIX 5 now supports IA64 processor
13521 lt_prog_compiler_static_CXX
='-Bstatic'
13523 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
13527 case $cc_basename in
13529 # Green Hills C++ Compiler
13530 # _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"
13534 mingw
* | cygwin
* | os2
* | pw32
* | cegcc
*)
13535 # This hack is so that the source file can tell whether it is being
13536 # built for inclusion in a dll (and should export symbols for example).
13537 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
13540 case $cc_basename in
13542 lt_prog_compiler_pic_CXX
='-KPIC'
13545 # Green Hills C++ Compiler
13546 lt_prog_compiler_pic_CXX
='-pic'
13552 freebsd
* | dragonfly
*)
13553 # FreeBSD uses GNU C++
13555 hpux9
* | hpux10
* | hpux11
*)
13556 case $cc_basename in
13558 lt_prog_compiler_wl_CXX
='-Wl,'
13559 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
13560 if test "$host_cpu" != ia64
; then
13561 lt_prog_compiler_pic_CXX
='+Z'
13565 lt_prog_compiler_wl_CXX
='-Wl,'
13566 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
13572 lt_prog_compiler_pic_CXX
='+Z'
13581 # This is c89, which is MS Visual C++ (no shared libs)
13582 # Anyone wants to do a port?
13584 irix5
* | irix6
* | nonstopux
*)
13585 case $cc_basename in
13587 lt_prog_compiler_wl_CXX
='-Wl,'
13588 lt_prog_compiler_static_CXX
='-non_shared'
13589 # CC pic flag -KPIC is the default.
13595 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
13596 case $cc_basename in
13599 lt_prog_compiler_wl_CXX
='--backend -Wl,'
13600 lt_prog_compiler_pic_CXX
='-fPIC'
13603 # old Intel C++ for x86_64 which still supported -KPIC.
13604 lt_prog_compiler_wl_CXX
='-Wl,'
13605 lt_prog_compiler_pic_CXX
='-KPIC'
13606 lt_prog_compiler_static_CXX
='-static'
13609 # Intel C++, used to be incompatible with GCC.
13610 # ICC 10 doesn't accept -KPIC any more.
13611 lt_prog_compiler_wl_CXX
='-Wl,'
13612 lt_prog_compiler_pic_CXX
='-fPIC'
13613 lt_prog_compiler_static_CXX
='-static'
13616 # Portland Group C++ compiler
13617 lt_prog_compiler_wl_CXX
='-Wl,'
13618 lt_prog_compiler_pic_CXX
='-fpic'
13619 lt_prog_compiler_static_CXX
='-Bstatic'
13623 # Make sure the PIC flag is empty. It appears that all Alpha
13624 # Linux and Compaq Tru64 Unix objects are PIC.
13625 lt_prog_compiler_pic_CXX
=
13626 lt_prog_compiler_static_CXX
='-non_shared'
13628 xlc
* | xlC
* | bgxl
[cC
]* | mpixl
[cC
]*)
13629 # IBM XL 8.0, 9.0 on PPC and BlueGene
13630 lt_prog_compiler_wl_CXX
='-Wl,'
13631 lt_prog_compiler_pic_CXX
='-qpic'
13632 lt_prog_compiler_static_CXX
='-qstaticlink'
13635 case `$CC -V 2>&1 | sed 5q` in
13638 lt_prog_compiler_pic_CXX
='-KPIC'
13639 lt_prog_compiler_static_CXX
='-Bstatic'
13640 lt_prog_compiler_wl_CXX
='-Qoption ld '
13651 case $cc_basename in
13653 lt_prog_compiler_pic_CXX
='-W c,exportall'
13659 netbsd
* | netbsdelf
*-gnu)
13662 # QNX uses GNU C++, but need to define -shared option too, otherwise
13663 # it will coredump.
13664 lt_prog_compiler_pic_CXX
='-fPIC -shared'
13666 osf3
* | osf4
* | osf5
*)
13667 case $cc_basename in
13669 lt_prog_compiler_wl_CXX
='--backend -Wl,'
13672 # Rational C++ 2.4.1
13673 lt_prog_compiler_pic_CXX
='-pic'
13676 # Digital/Compaq C++
13677 lt_prog_compiler_wl_CXX
='-Wl,'
13678 # Make sure the PIC flag is empty. It appears that all Alpha
13679 # Linux and Compaq Tru64 Unix objects are PIC.
13680 lt_prog_compiler_pic_CXX
=
13681 lt_prog_compiler_static_CXX
='-non_shared'
13690 case $cc_basename in
13692 # Sun C++ 4.2, 5.x and Centerline C++
13693 lt_prog_compiler_pic_CXX
='-KPIC'
13694 lt_prog_compiler_static_CXX
='-Bstatic'
13695 lt_prog_compiler_wl_CXX
='-Qoption ld '
13698 # Green Hills C++ Compiler
13699 lt_prog_compiler_pic_CXX
='-PIC'
13706 case $cc_basename in
13709 lt_prog_compiler_pic_CXX
='-pic'
13710 lt_prog_compiler_static_CXX
='-Bstatic'
13714 lt_prog_compiler_pic_CXX
='-pic'
13720 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
13721 case $cc_basename in
13723 lt_prog_compiler_wl_CXX
='-Wl,'
13724 lt_prog_compiler_pic_CXX
='-KPIC'
13725 lt_prog_compiler_static_CXX
='-Bstatic'
13730 case $cc_basename in
13732 # NonStop-UX NCC 3.20
13733 lt_prog_compiler_pic_CXX
='-KPIC'
13742 lt_prog_compiler_can_build_shared_CXX
=no
13748 # For platforms which do not support PIC, -DPIC is meaningless:
13750 lt_prog_compiler_pic_CXX
=
13753 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
13757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13758 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13759 if ${lt_cv_prog_compiler_pic_CXX+:} false
; then :
13760 $as_echo_n "(cached) " >&6
13762 lt_cv_prog_compiler_pic_CXX
=$lt_prog_compiler_pic_CXX
13764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
13765 $as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
13766 lt_prog_compiler_pic_CXX
=$lt_cv_prog_compiler_pic_CXX
13769 # Check to make sure the PIC flag actually works.
13771 if test -n "$lt_prog_compiler_pic_CXX"; then
13772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13773 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
13774 if ${lt_cv_prog_compiler_pic_works_CXX+:} false
; then :
13775 $as_echo_n "(cached) " >&6
13777 lt_cv_prog_compiler_pic_works_CXX
=no
13778 ac_outfile
=conftest.
$ac_objext
13779 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13780 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
13781 # Insert the option either (1) after the last *FLAGS variable, or
13782 # (2) before a word containing "conftest.", or (3) at the end.
13783 # Note that $ac_compile itself does not contain backslashes and begins
13784 # with a dollar sign (not a hyphen), so the echo should work correctly.
13785 # The option is referenced via a variable to avoid confusing sed.
13786 lt_compile
=`echo "$ac_compile" | $SED \
13787 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13788 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13789 -e 's:$: $lt_compiler_flag:'`
13790 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13791 (eval "$lt_compile" 2>conftest.err
)
13793 cat conftest.err
>&5
13794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13795 if (exit $ac_status) && test -s "$ac_outfile"; then
13796 # The compiler can only warn and ignore the option if not recognized
13797 # So say no if there are warnings other than the usual output.
13798 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
13799 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
13800 if test ! -s conftest.er2
|| diff conftest.exp conftest.er2
>/dev
/null
; then
13801 lt_cv_prog_compiler_pic_works_CXX
=yes
13807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
13808 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
13810 if test x
"$lt_cv_prog_compiler_pic_works_CXX" = xyes
; then
13811 case $lt_prog_compiler_pic_CXX in
13813 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
13816 lt_prog_compiler_pic_CXX
=
13817 lt_prog_compiler_can_build_shared_CXX
=no
13827 # Check to make sure the static flag actually works.
13829 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
13830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13831 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13832 if ${lt_cv_prog_compiler_static_works_CXX+:} false
; then :
13833 $as_echo_n "(cached) " >&6
13835 lt_cv_prog_compiler_static_works_CXX
=no
13836 save_LDFLAGS
="$LDFLAGS"
13837 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
13838 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
13839 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
13840 # The linker can only warn and ignore the option if not recognized
13841 # So say no if there are warnings
13842 if test -s conftest.err
; then
13843 # Append any errors to the config.log.
13844 cat conftest.err
1>&5
13845 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
13846 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
13847 if diff conftest.exp conftest.er2
>/dev
/null
; then
13848 lt_cv_prog_compiler_static_works_CXX
=yes
13851 lt_cv_prog_compiler_static_works_CXX
=yes
13855 LDFLAGS
="$save_LDFLAGS"
13858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
13859 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
13861 if test x
"$lt_cv_prog_compiler_static_works_CXX" = xyes
; then
13864 lt_prog_compiler_static_CXX
=
13870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13871 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13872 if ${lt_cv_prog_compiler_c_o_CXX+:} false
; then :
13873 $as_echo_n "(cached) " >&6
13875 lt_cv_prog_compiler_c_o_CXX
=no
13876 $RM -r conftest
2>/dev
/null
13880 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13882 lt_compiler_flag
="-o out/conftest2.$ac_objext"
13883 # Insert the option either (1) after the last *FLAGS variable, or
13884 # (2) before a word containing "conftest.", or (3) at the end.
13885 # Note that $ac_compile itself does not contain backslashes and begins
13886 # with a dollar sign (not a hyphen), so the echo should work correctly.
13887 lt_compile
=`echo "$ac_compile" | $SED \
13888 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13889 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13890 -e 's:$: $lt_compiler_flag:'`
13891 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13892 (eval "$lt_compile" 2>out
/conftest.err
)
13894 cat out
/conftest.err
>&5
13895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13896 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
13898 # The compiler can only warn and ignore the option if not recognized
13899 # So say no if there are warnings
13900 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out
/conftest.exp
13901 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
13902 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
13903 lt_cv_prog_compiler_c_o_CXX
=yes
13908 # SGI C++ compiler will create directory out/ii_files/ for
13909 # template instantiation
13910 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
13911 $RM out
/* && rmdir out
13917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13918 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13923 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13924 if ${lt_cv_prog_compiler_c_o_CXX+:} false
; then :
13925 $as_echo_n "(cached) " >&6
13927 lt_cv_prog_compiler_c_o_CXX
=no
13928 $RM -r conftest
2>/dev
/null
13932 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13934 lt_compiler_flag
="-o out/conftest2.$ac_objext"
13935 # Insert the option either (1) after the last *FLAGS variable, or
13936 # (2) before a word containing "conftest.", or (3) at the end.
13937 # Note that $ac_compile itself does not contain backslashes and begins
13938 # with a dollar sign (not a hyphen), so the echo should work correctly.
13939 lt_compile
=`echo "$ac_compile" | $SED \
13940 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13941 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13942 -e 's:$: $lt_compiler_flag:'`
13943 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13944 (eval "$lt_compile" 2>out
/conftest.err
)
13946 cat out
/conftest.err
>&5
13947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13948 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
13950 # The compiler can only warn and ignore the option if not recognized
13951 # So say no if there are warnings
13952 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out
/conftest.exp
13953 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
13954 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
13955 lt_cv_prog_compiler_c_o_CXX
=yes
13960 # SGI C++ compiler will create directory out/ii_files/ for
13961 # template instantiation
13962 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
13963 $RM out
/* && rmdir out
13969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13970 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13975 hard_links
="nottested"
13976 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
13977 # do not overwrite the value of need_locks provided by the user
13978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
13979 $as_echo_n "checking if we can lock with hard links... " >&6; }
13982 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
13984 ln conftest.a conftest.b
2>&5 || hard_links
=no
13985 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
13986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
13987 $as_echo "$hard_links" >&6; }
13988 if test "$hard_links" = no
; then
13989 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13990 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14000 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14002 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14003 exclude_expsyms_CXX
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14006 # If we're using GNU nm, then we don't want the "-C" option.
14007 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14008 # Also, AIX nm treats weak defined symbols like other global defined
14009 # symbols, whereas GNU nm marks them as "W".
14010 if $NM -V 2>&1 | $GREP 'GNU' > /dev
/null
; then
14011 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'
14013 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'
14017 export_symbols_cmds_CXX
="$ltdll_cmds"
14019 cygwin
* | mingw
* | cegcc
*)
14020 case $cc_basename in
14023 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'
14024 exclude_expsyms_CXX
='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
14028 linux
* | k
*bsd
*-gnu | gnu
*)
14029 link_all_deplibs_CXX
=no
14032 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14037 $as_echo "$ld_shlibs_CXX" >&6; }
14038 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
14040 with_gnu_ld_CXX
=$with_gnu_ld
14048 # Do we need to explicitly link libc?
14050 case "x$archive_cmds_need_lc_CXX" in
14052 # Assume -lc should be added
14053 archive_cmds_need_lc_CXX
=yes
14055 if test "$enable_shared" = yes && test "$GCC" = yes; then
14056 case $archive_cmds_CXX in
14058 # FIXME: we may have to deal with multi-command sequences.
14061 # Test whether the compiler implicitly links with -lc since on some
14062 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14063 # to ld, don't add -lc before -lgcc.
14064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14065 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14066 if ${lt_cv_archive_cmds_need_lc_CXX+:} false
; then :
14067 $as_echo_n "(cached) " >&6
14070 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14072 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14073 (eval $ac_compile) 2>&5
14075 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14076 test $ac_status = 0; } 2>conftest.err
; then
14079 libobjs
=conftest.
$ac_objext
14081 wl
=$lt_prog_compiler_wl_CXX
14082 pic_flag
=$lt_prog_compiler_pic_CXX
14088 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
14089 allow_undefined_flag_CXX
=
14090 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14091 (eval $archive_cmds_CXX 2\
>\
&1 \
| $GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
14093 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14094 test $ac_status = 0; }
14096 lt_cv_archive_cmds_need_lc_CXX
=no
14098 lt_cv_archive_cmds_need_lc_CXX
=yes
14100 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
14102 cat conftest.err
1>&5
14107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14108 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14109 archive_cmds_need_lc_CXX
=$lt_cv_archive_cmds_need_lc_CXX
14179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14180 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14182 library_names_spec
=
14183 libname_spec
='lib$name'
14187 postuninstall_cmds
=
14191 shlibpath_overrides_runpath
=unknown
14193 dynamic_linker
="$host_os ld.so"
14194 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
14195 need_lib_prefix
=unknown
14196 hardcode_into_libs
=no
14198 # when you set need_version to no, make sure it does not cause -set_version
14199 # flags to be left without arguments
14200 need_version
=unknown
14205 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
14206 shlibpath_var
=LIBPATH
14208 # AIX 3 has no versioning support, so we append a major version to the name.
14209 soname_spec
='${libname}${release}${shared_ext}$major'
14216 hardcode_into_libs
=yes
14217 if test "$host_cpu" = ia64
; then
14218 # AIX 5 supports IA64
14219 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14220 shlibpath_var
=LD_LIBRARY_PATH
14222 # With GCC up to 2.95.x, collect2 would create an import file
14223 # for dependence libraries. The import file would start with
14224 # the line `#! .'. This would cause the generated library to
14225 # depend on `.', always an invalid library. This was fixed in
14226 # development snapshots of GCC prior to 3.0.
14228 aix4
| aix4.
[01] | aix4.
[01].
*)
14229 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14231 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev
/null
; then
14234 can_build_shared
=no
14238 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14239 # soname into executable. Probably we can add versioning support to
14240 # collect2, so additional links can be useful in future.
14241 if test "$aix_use_runtimelinking" = yes; then
14242 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14243 # instead of lib<name>.a to let people know that these are not
14244 # typical AIX shared libraries.
14245 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14247 # We preserve .a as extension for shared libraries through AIX4.2
14248 # and later when we are not doing run time linking.
14249 library_names_spec
='${libname}${release}.a $libname.a'
14250 soname_spec
='${libname}${release}${shared_ext}$major'
14252 shlibpath_var
=LIBPATH
14259 # Since July 2007 AmigaOS4 officially supports .so libraries.
14260 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14261 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14264 library_names_spec
='$libname.ixlibrary $libname.a'
14265 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14266 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'
14272 library_names_spec
='${libname}${shared_ext}'
14273 dynamic_linker
="$host_os ld.so"
14274 shlibpath_var
=LIBRARY_PATH
14280 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14281 soname_spec
='${libname}${release}${shared_ext}$major'
14282 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
14283 shlibpath_var
=LD_LIBRARY_PATH
14284 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14285 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
14286 # the default ld.so.conf also contains /usr/contrib/lib and
14287 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14288 # libtool to hard-code these into programs
14291 cygwin
* | mingw
* | pw32
* | cegcc
*)
14292 version_type
=windows
14297 case $GCC,$cc_basename in
14300 library_names_spec
='$libname.dll.a'
14301 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14302 postinstall_cmds
='base_file=`basename \${file}`~
14303 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14304 dldir=$destdir/`dirname \$dlpath`~
14305 test -d \$dldir || mkdir -p \$dldir~
14306 $install_prog $dir/$dlname \$dldir/$dlname~
14307 chmod a+x \$dldir/$dlname~
14308 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14309 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14311 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14312 dlpath=$dir/\$dldll~
14314 shlibpath_overrides_runpath
=yes
14318 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14319 soname_spec
='`echo ${libname} | sed -e 's
/^lib
/cyg
/'``echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
14323 # MinGW DLLs use traditional 'lib' prefix
14324 soname_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
14327 # pw32 DLLs use 'pw' prefix rather than 'lib'
14328 library_names_spec
='`echo ${libname} | sed -e 's
/^lib
/pw
/'``echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
14331 dynamic_linker
='Win32 ld.exe'
14336 libname_spec
='$name'
14337 soname_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
14338 library_names_spec
='${libname}.dll.lib'
14342 sys_lib_search_path_spec
=
14345 for lt_path
in $LIB
14348 # Let DOS variable expansion print the short 8.3 style file name.
14349 lt_path
=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
14350 sys_lib_search_path_spec
="$sys_lib_search_path_spec $lt_path"
14353 # Convert to MSYS style.
14354 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
14357 # Convert to unix form, then to dos form, then back to unix form
14358 # but this time dos style (no spaces!) so that the unix form looks
14359 # like /cygdrive/c/PROGRA~1:/cygdr...
14360 sys_lib_search_path_spec
=`cygpath --path --unix "$LIB"`
14361 sys_lib_search_path_spec
=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
14362 sys_lib_search_path_spec
=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14365 sys_lib_search_path_spec
="$LIB"
14366 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev
/null
; then
14367 # It is most probably a Windows format PATH.
14368 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14370 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14372 # FIXME: find the short name or the path components, as spaces are
14373 # common. (e.g. "Program Files" -> "PROGRA~1")
14377 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14378 postinstall_cmds
='base_file=`basename \${file}`~
14379 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14380 dldir=$destdir/`dirname \$dlpath`~
14381 test -d \$dldir || mkdir -p \$dldir~
14382 $install_prog $dir/$dlname \$dldir/$dlname'
14383 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14384 dlpath=$dir/\$dldll~
14386 shlibpath_overrides_runpath
=yes
14387 dynamic_linker
='Win32 link.exe'
14391 # Assume MSVC wrapper
14392 library_names_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext} $libname.lib'
14393 dynamic_linker
='Win32 ld.exe'
14396 # FIXME: first we should search . and the directory the executable is in
14400 darwin
* | rhapsody
*)
14401 dynamic_linker
="$host_os dyld"
14402 version_type
=darwin
14405 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14406 soname_spec
='${libname}${release}${major}$shared_ext'
14407 shlibpath_overrides_runpath
=yes
14408 shlibpath_var
=DYLD_LIBRARY_PATH
14409 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
14411 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
14418 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14419 soname_spec
='${libname}${release}${shared_ext}$major'
14420 shlibpath_var
=LD_LIBRARY_PATH
14427 freebsd
* | dragonfly
*)
14428 # DragonFly does not have aout. When/if they implement a new
14429 # versioning mechanism, adjust this.
14430 if test -x /usr
/bin
/objformat
; then
14431 objformat
=`/usr/bin/objformat`
14434 freebsd
[123]*) objformat
=aout
;;
14435 *) objformat
=elf
;;
14438 version_type
=freebsd
-$objformat
14439 case $version_type in
14441 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14446 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14450 shlibpath_var
=LD_LIBRARY_PATH
14453 shlibpath_overrides_runpath
=yes
14455 freebsd3.
[01]* | freebsdelf3.
[01]*)
14456 shlibpath_overrides_runpath
=yes
14457 hardcode_into_libs
=yes
14459 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
14460 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
14461 shlibpath_overrides_runpath
=no
14462 hardcode_into_libs
=yes
14464 *) # from 4.6 on, and DragonFly
14465 shlibpath_overrides_runpath
=yes
14466 hardcode_into_libs
=yes
14475 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14476 soname_spec
='${libname}${release}${shared_ext}$major'
14477 shlibpath_var
=LD_LIBRARY_PATH
14478 shlibpath_overrides_runpath
=no
14479 hardcode_into_libs
=yes
14486 dynamic_linker
="$host_os runtime_loader"
14487 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14488 soname_spec
='${libname}${release}${shared_ext}$major'
14489 shlibpath_var
=LIBRARY_PATH
14490 shlibpath_overrides_runpath
=yes
14491 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
14492 hardcode_into_libs
=yes
14495 hpux9
* | hpux10
* | hpux11
*)
14496 # Give a soname corresponding to the major version so that dld.sl refuses to
14497 # link against other versions.
14504 hardcode_into_libs
=yes
14505 dynamic_linker
="$host_os dld.so"
14506 shlibpath_var
=LD_LIBRARY_PATH
14507 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
14508 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14509 soname_spec
='${libname}${release}${shared_ext}$major'
14510 if test "X$HPUX_IA64_MODE" = X32
; then
14511 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14513 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
14515 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
14519 hardcode_into_libs
=yes
14520 dynamic_linker
="$host_os dld.sl"
14521 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
14522 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
14523 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14524 soname_spec
='${libname}${release}${shared_ext}$major'
14525 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14526 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
14530 dynamic_linker
="$host_os dld.sl"
14531 shlibpath_var
=SHLIB_PATH
14532 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
14533 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14534 soname_spec
='${libname}${release}${shared_ext}$major'
14537 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
14538 postinstall_cmds
='chmod 555 $lib'
14539 # or fails outright, so override atomically:
14540 install_override_mode
=555
14547 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14548 soname_spec
='${libname}${release}${shared_ext}$major'
14549 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
14550 shlibpath_var
=LD_LIBRARY_PATH
14551 shlibpath_overrides_runpath
=no
14552 hardcode_into_libs
=yes
14555 irix5
* | irix6
* | nonstopux
*)
14557 nonstopux
*) version_type
=nonstopux
;;
14559 if test "$lt_cv_prog_gnu_ld" = yes; then
14567 soname_spec
='${libname}${release}${shared_ext}$major'
14568 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14570 irix5
* | nonstopux
*)
14571 libsuff
= shlibsuff
=
14574 case $LD in # libtool.m4 will add one of these switches to LD
14575 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14576 libsuff
= shlibsuff
= libmagic
=32-bit;;
14577 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14578 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
14579 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14580 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
14581 *) libsuff
= shlibsuff
= libmagic
=never
-match;;
14585 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
14586 shlibpath_overrides_runpath
=no
14587 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14588 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
14589 hardcode_into_libs
=yes
14592 # No shared lib support for Linux oldld, aout, or coff.
14593 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
14597 # This must be Linux ELF.
14598 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
14602 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14603 soname_spec
='${libname}${release}${shared_ext}$major'
14604 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14605 shlibpath_var
=LD_LIBRARY_PATH
14606 shlibpath_overrides_runpath
=no
14608 # Some binutils ld are patched to set DT_RUNPATH
14609 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
14610 $as_echo_n "(cached) " >&6
14612 lt_cv_shlibpath_overrides_runpath
=no
14613 save_LDFLAGS
=$LDFLAGS
14614 save_libdir
=$libdir
14615 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
14616 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
14617 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14618 /* end confdefs.h. */
14628 if ac_fn_cxx_try_link
"$LINENO"; then :
14629 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null
| grep "RUNPATH.*$libdir" >/dev
/null
; then :
14630 lt_cv_shlibpath_overrides_runpath
=yes
14633 rm -f core conftest.err conftest.
$ac_objext \
14634 conftest
$ac_exeext conftest.
$ac_ext
14635 LDFLAGS
=$save_LDFLAGS
14636 libdir
=$save_libdir
14640 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
14642 # This implies no fast_install, which is unacceptable.
14643 # Some rework will be needed to allow for fast_install
14644 # before this can be enabled.
14645 hardcode_into_libs
=yes
14647 # Append ld.so.conf contents to the search path
14648 if test -f /etc
/ld.so.conf
; then
14649 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' ' '`
14650 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
14653 # We used to test for /lib/ld.so.1 and disable shared libraries on
14654 # powerpc, because MkLinux only supported shared libraries with the
14655 # GNU dynamic linker. Since this was broken with cross compilers,
14656 # most powerpc-linux boxes support dynamic linking these days and
14657 # people can always --disable-shared, the test was removed, and we
14658 # assume the GNU/Linux dynamic linker is in use.
14659 dynamic_linker
='GNU/Linux ld.so'
14666 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14667 soname_spec
='${libname}${release}${shared_ext}$major'
14668 shlibpath_var
=LD_LIBRARY_PATH
14669 shlibpath_overrides_runpath
=no
14670 hardcode_into_libs
=yes
14671 dynamic_linker
='NetBSD ld.elf_so'
14678 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
14679 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14680 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14681 dynamic_linker
='NetBSD (a.out) ld.so'
14683 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14684 soname_spec
='${libname}${release}${shared_ext}$major'
14685 dynamic_linker
='NetBSD ld.elf_so'
14687 shlibpath_var
=LD_LIBRARY_PATH
14688 shlibpath_overrides_runpath
=yes
14689 hardcode_into_libs
=yes
14694 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14695 shlibpath_var
=LD_LIBRARY_PATH
14696 shlibpath_overrides_runpath
=yes
14703 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14704 soname_spec
='${libname}${release}${shared_ext}$major'
14705 shlibpath_var
=LD_LIBRARY_PATH
14706 shlibpath_overrides_runpath
=no
14707 hardcode_into_libs
=yes
14708 dynamic_linker
='ldqnx.so'
14713 sys_lib_dlsearch_path_spec
="/usr/lib"
14715 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14717 openbsd3.3
| openbsd3.3.
*) need_version
=yes ;;
14718 *) need_version
=no
;;
14720 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14721 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14722 shlibpath_var
=LD_LIBRARY_PATH
14723 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14725 openbsd2.
[89] | openbsd2.
[89].
*)
14726 shlibpath_overrides_runpath
=no
14729 shlibpath_overrides_runpath
=yes
14733 shlibpath_overrides_runpath
=yes
14738 libname_spec
='$name'
14741 library_names_spec
='$libname${shared_ext} $libname.a'
14742 dynamic_linker
='OS/2 ld.exe'
14743 shlibpath_var
=LIBPATH
14746 osf3
* | osf4
* | osf5
*)
14750 soname_spec
='${libname}${release}${shared_ext}$major'
14751 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14752 shlibpath_var
=LD_LIBRARY_PATH
14753 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14754 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
14765 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14766 soname_spec
='${libname}${release}${shared_ext}$major'
14767 shlibpath_var
=LD_LIBRARY_PATH
14768 shlibpath_overrides_runpath
=yes
14769 hardcode_into_libs
=yes
14770 # ldd complains unless libraries are executable
14771 postinstall_cmds
='chmod +x $lib'
14776 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14777 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14778 shlibpath_var
=LD_LIBRARY_PATH
14779 shlibpath_overrides_runpath
=yes
14780 if test "$with_gnu_ld" = yes; then
14788 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14789 soname_spec
='${libname}${release}${shared_ext}$major'
14790 shlibpath_var
=LD_LIBRARY_PATH
14791 case $host_vendor in
14793 shlibpath_overrides_runpath
=no
14795 runpath_var
=LD_RUN_PATH
14803 shlibpath_overrides_runpath
=no
14804 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
14810 if test -d /usr
/nec
;then
14812 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14813 soname_spec
='$libname${shared_ext}.$major'
14814 shlibpath_var
=LD_LIBRARY_PATH
14818 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
14819 version_type
=freebsd
-elf
14822 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14823 soname_spec
='${libname}${release}${shared_ext}$major'
14824 shlibpath_var
=LD_LIBRARY_PATH
14825 shlibpath_overrides_runpath
=yes
14826 hardcode_into_libs
=yes
14827 if test "$with_gnu_ld" = yes; then
14828 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14830 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
14833 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
14837 sys_lib_dlsearch_path_spec
='/usr/lib'
14841 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
14845 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14846 shlibpath_var
=LD_LIBRARY_PATH
14847 shlibpath_overrides_runpath
=no
14848 hardcode_into_libs
=yes
14853 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14854 soname_spec
='${libname}${release}${shared_ext}$major'
14855 shlibpath_var
=LD_LIBRARY_PATH
14862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14863 $as_echo "$dynamic_linker" >&6; }
14864 test "$dynamic_linker" = no
&& can_build_shared
=no
14866 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
14867 if test "$GCC" = yes; then
14868 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14871 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14872 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
14874 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14875 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
14915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14916 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14917 hardcode_action_CXX
=
14918 if test -n "$hardcode_libdir_flag_spec_CXX" ||
14919 test -n "$runpath_var_CXX" ||
14920 test "X$hardcode_automatic_CXX" = "Xyes" ; then
14922 # We can hardcode non-existent directories.
14923 if test "$hardcode_direct_CXX" != no
&&
14924 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14925 # have to relink, otherwise we might link with an installed library
14926 # when we should be linking with a yet-to-be-installed one
14927 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
14928 test "$hardcode_minus_L_CXX" != no
; then
14929 # Linking always hardcodes the temporary library directory.
14930 hardcode_action_CXX
=relink
14932 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14933 hardcode_action_CXX
=immediate
14936 # We cannot hardcode anything, or else we can only hardcode existing
14938 hardcode_action_CXX
=unsupported
14940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
14941 $as_echo "$hardcode_action_CXX" >&6; }
14943 if test "$hardcode_action_CXX" = relink
||
14944 test "$inherit_rpath_CXX" = yes; then
14945 # Fast installation is not supported
14946 enable_fast_install
=no
14947 elif test "$shlibpath_overrides_runpath" = yes ||
14948 test "$enable_shared" = no
; then
14949 # Fast installation is not necessary
14950 enable_fast_install
=needless
14959 fi # test -n "$compiler"
14962 CFLAGS
=$lt_save_CFLAGS
14966 with_gnu_ld
=$lt_save_with_gnu_ld
14967 lt_cv_path_LDCXX
=$lt_cv_path_LD
14968 lt_cv_path_LD
=$lt_save_path_LD
14969 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
14970 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
14971 fi # test "$_lt_caught_CXX_error" != yes
14974 ac_cpp
='$CPP $CPPFLAGS'
14975 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14976 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14977 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14981 ac_cpp
='$OBJCXXCPP $CPPFLAGS'
14982 ac_compile
='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14983 ac_link
='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14984 ac_compiler_gnu
=$ac_cv_objcxx_compiler_gnu
14985 if test -n "$ac_tool_prefix"; then
14986 for ac_prog
in g
++ objc
++ objcxx c
++ CXX
14988 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
14989 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
14990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14991 $as_echo_n "checking for $ac_word... " >&6; }
14992 if ${ac_cv_prog_OBJCXX+:} false
; then :
14993 $as_echo_n "(cached) " >&6
14995 if test -n "$OBJCXX"; then
14996 ac_cv_prog_OBJCXX
="$OBJCXX" # Let the user override the test.
14998 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14999 for as_dir
in $PATH
15002 test -z "$as_dir" && as_dir
=.
15003 for ac_exec_ext
in '' $ac_executable_extensions; do
15004 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15005 ac_cv_prog_OBJCXX
="$ac_tool_prefix$ac_prog"
15006 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15015 OBJCXX
=$ac_cv_prog_OBJCXX
15016 if test -n "$OBJCXX"; then
15017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCXX" >&5
15018 $as_echo "$OBJCXX" >&6; }
15020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15021 $as_echo "no" >&6; }
15025 test -n "$OBJCXX" && break
15028 if test -z "$OBJCXX"; then
15029 ac_ct_OBJCXX
=$OBJCXX
15030 for ac_prog
in g
++ objc
++ objcxx c
++ CXX
15032 # Extract the first word of "$ac_prog", so it can be a program name with args.
15033 set dummy
$ac_prog; ac_word
=$2
15034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15035 $as_echo_n "checking for $ac_word... " >&6; }
15036 if ${ac_cv_prog_ac_ct_OBJCXX+:} false
; then :
15037 $as_echo_n "(cached) " >&6
15039 if test -n "$ac_ct_OBJCXX"; then
15040 ac_cv_prog_ac_ct_OBJCXX
="$ac_ct_OBJCXX" # Let the user override the test.
15042 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15043 for as_dir
in $PATH
15046 test -z "$as_dir" && as_dir
=.
15047 for ac_exec_ext
in '' $ac_executable_extensions; do
15048 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15049 ac_cv_prog_ac_ct_OBJCXX
="$ac_prog"
15050 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15059 ac_ct_OBJCXX
=$ac_cv_prog_ac_ct_OBJCXX
15060 if test -n "$ac_ct_OBJCXX"; then
15061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJCXX" >&5
15062 $as_echo "$ac_ct_OBJCXX" >&6; }
15064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15065 $as_echo "no" >&6; }
15069 test -n "$ac_ct_OBJCXX" && break
15072 if test "x$ac_ct_OBJCXX" = x
; then
15075 case $cross_compiling:$ac_tool_warned in
15077 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
15078 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
15079 ac_tool_warned
=yes ;;
15081 OBJCXX
=$ac_ct_OBJCXX
15085 # Provide some information about the compiler.
15086 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Objective C++ compiler version" >&5
15089 for ac_option
in --version -v -V -qversion; do
15090 { { ac_try
="$ac_compiler $ac_option >&5"
15091 case "(($ac_try" in
15092 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
15093 *) ac_try_echo=$ac_try;;
15095 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
15096 $as_echo "$ac_try_echo"; } >&5
15097 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
15099 if test -s conftest.err; then
15101 ... rest of stderr output deleted ...
15102 10q' conftest.err >conftest.er1
15103 cat conftest.er1 >&5
15105 rm -f conftest.er1 conftest.err
15106 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15107 test $ac_status = 0; }
15110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Objective C++ compiler" >&5
15111 $as_echo_n "checking whether we are using the GNU Objective C++ compiler... " >&6; }
15112 if ${ac_cv_objcxx_compiler_gnu+:} false; then :
15113 $as_echo_n "(cached) " >&6
15115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15116 /* end confdefs.h. */
15129 if ac_fn_objcxx_try_compile "$LINENO"; then :
15130 ac_compiler_gnu=yes
15134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15135 ac_cv_objcxx_compiler_gnu=$ac_compiler_gnu
15138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objcxx_compiler_gnu" >&5
15139 $as_echo "$ac_cv_objcxx_compiler_gnu" >&6; }
15140 if test $ac_compiler_gnu = yes; then
15145 ac_test_OBJCXXFLAGS=${OBJCXXFLAGS+set}
15146 ac_save_OBJCXXFLAGS=$OBJCXXFLAGS
15147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $OBJCXX accepts -g" >&5
15148 $as_echo_n "checking whether $OBJCXX accepts -g... " >&6; }
15149 if ${ac_cv_prog_objcxx_g+:} false; then :
15150 $as_echo_n "(cached) " >&6
15152 ac_save_objcxx_werror_flag=$ac_objcxx_werror_flag
15153 ac_objcxx_werror_flag=yes
15154 ac_cv_prog_objcxx_g=no
15156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15157 /* end confdefs.h. */
15167 if ac_fn_objcxx_try_compile "$LINENO"; then :
15168 ac_cv_prog_objcxx_g=yes
15171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15172 /* end confdefs.h. */
15182 if ac_fn_objcxx_try_compile "$LINENO"; then :
15185 ac_objcxx_werror_flag=$ac_save_objcxx_werror_flag
15187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15188 /* end confdefs.h. */
15198 if ac_fn_objcxx_try_compile "$LINENO"; then :
15199 ac_cv_prog_objcxx_g=yes
15201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15206 ac_objcxx_werror_flag=$ac_save_objcx_werror_flag
15208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objcxx_g" >&5
15209 $as_echo "$ac_cv_prog_objcxx_g" >&6; }
15210 if test "$ac_test_OBJCXXFLAGS" = set; then
15211 OBJCXXFLAGS=$ac_save_OBJCXXFLAGS
15212 elif test $ac_cv_prog_objcxx_g = yes; then
15213 if test "$GOBJCXX" = yes; then
15214 OBJCXXFLAGS="-g -O2"
15219 if test "$GOBJCXX" = yes; then
15226 ac_cpp='$CPP $CPPFLAGS'
15227 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15228 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15229 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15232 ac_cpp='$CXXCPP $CPPFLAGS'
15233 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15234 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15235 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15238 # Check whether --enable-universal-binary was given.
15239 if test "${enable_universal_binary+set}" = set; then :
15240 enableval=$enable_universal_binary;
15241 case $enableval in #(
15246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for universal binary support" >&5
15247 $as_echo_n "checking for universal binary support... " >&6; }
15248 case $host_vendor in #(
15251 case $host_cpu in #(
15252 armv6|i386|x86_64) :
15254 for cy_arch in armv6 i386 x86_64; do
15255 cy_save_CXXFLAGS=$CXXFLAGS
15257 for element in "-arch $cy_arch"; do
15259 for x in $CXXFLAGS; do
15261 acl_save_prefix="$prefix"
15262 prefix="$acl_final_prefix"
15263 acl_save_exec_prefix="$exec_prefix"
15264 exec_prefix="$acl_final_exec_prefix"
15266 exec_prefix="$acl_save_exec_prefix"
15267 prefix="$acl_save_prefix"
15269 if test "X$x" = "X$element"; then
15274 if test -z "$haveit"; then
15275 CXXFLAGS="${CXXFLAGS}${CXXFLAGS:+ }$element"
15279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15280 /* end confdefs.h. */
15290 if ac_fn_cxx_try_link "$LINENO"; then :
15293 for element in $cy_arch; do
15295 for x in $cy_arches; do
15297 acl_save_prefix="$prefix"
15298 prefix="$acl_final_prefix"
15299 acl_save_exec_prefix="$exec_prefix"
15300 exec_prefix="$acl_final_exec_prefix"
15302 exec_prefix="$acl_save_exec_prefix"
15303 prefix="$acl_save_prefix"
15305 if test "X$x" = "X$element"; then
15310 if test -z "$haveit"; then
15311 cy_arches="${cy_arches}${cy_arches:+ }$element"
15316 for element in "-arch $cy_arch"; do
15318 for x in $CFLAGS; do
15320 acl_save_prefix="$prefix"
15321 prefix="$acl_final_prefix"
15322 acl_save_exec_prefix="$exec_prefix"
15323 exec_prefix="$acl_final_exec_prefix"
15325 exec_prefix="$acl_save_exec_prefix"
15326 prefix="$acl_save_prefix"
15328 if test "X$x" = "X$element"; then
15333 if test -z "$haveit"; then
15334 CFLAGS="${CFLAGS}${CFLAGS:+ }$element"
15339 for element in "-arch $cy_arch"; do
15341 for x in $LDFLAGS; do
15343 acl_save_prefix="$prefix"
15344 prefix="$acl_final_prefix"
15345 acl_save_exec_prefix="$exec_prefix"
15346 exec_prefix="$acl_final_exec_prefix"
15348 exec_prefix="$acl_save_exec_prefix"
15349 prefix="$acl_save_prefix"
15351 if test "X$x" = "X$element"; then
15356 if test -z "$haveit"; then
15357 LDFLAGS="${LDFLAGS}${LDFLAGS:+ }$element"
15362 for element in "-arch $cy_arch"; do
15364 for x in $OBJCXXFLAGS; do
15366 acl_save_prefix="$prefix"
15367 prefix="$acl_final_prefix"
15368 acl_save_exec_prefix="$exec_prefix"
15369 exec_prefix="$acl_final_exec_prefix"
15371 exec_prefix="$acl_save_exec_prefix"
15372 prefix="$acl_save_prefix"
15374 if test "X$x" = "X$element"; then
15379 if test -z "$haveit"; then
15380 OBJCXXFLAGS="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
15387 CXXFLAGS=$cy_save_CXXFLAGS
15390 rm -f core conftest.err conftest.$ac_objext \
15391 conftest$ac_exeext conftest.$ac_ext
15401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${cy_arches-no}" >&5
15402 $as_echo "${cy_arches-no}" >&6; }
15408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for universal binary support" >&5
15409 $as_echo_n "checking for universal binary support... " >&6; }
15410 case $host_vendor in #(
15413 case $host_cpu in #(
15414 armv6|i386|x86_64) :
15416 for cy_arch in armv6 i386 x86_64; do
15417 cy_save_CXXFLAGS=$CXXFLAGS
15419 for element in "-arch $cy_arch"; do
15421 for x in $CXXFLAGS; do
15423 acl_save_prefix="$prefix"
15424 prefix="$acl_final_prefix"
15425 acl_save_exec_prefix="$exec_prefix"
15426 exec_prefix="$acl_final_exec_prefix"
15428 exec_prefix="$acl_save_exec_prefix"
15429 prefix="$acl_save_prefix"
15431 if test "X$x" = "X$element"; then
15436 if test -z "$haveit"; then
15437 CXXFLAGS="${CXXFLAGS}${CXXFLAGS:+ }$element"
15441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15442 /* end confdefs.h. */
15452 if ac_fn_cxx_try_link "$LINENO"; then :
15455 for element in $cy_arch; do
15457 for x in $cy_arches; do
15459 acl_save_prefix="$prefix"
15460 prefix="$acl_final_prefix"
15461 acl_save_exec_prefix="$exec_prefix"
15462 exec_prefix="$acl_final_exec_prefix"
15464 exec_prefix="$acl_save_exec_prefix"
15465 prefix="$acl_save_prefix"
15467 if test "X$x" = "X$element"; then
15472 if test -z "$haveit"; then
15473 cy_arches="${cy_arches}${cy_arches:+ }$element"
15478 for element in "-arch $cy_arch"; do
15480 for x in $CFLAGS; do
15482 acl_save_prefix="$prefix"
15483 prefix="$acl_final_prefix"
15484 acl_save_exec_prefix="$exec_prefix"
15485 exec_prefix="$acl_final_exec_prefix"
15487 exec_prefix="$acl_save_exec_prefix"
15488 prefix="$acl_save_prefix"
15490 if test "X$x" = "X$element"; then
15495 if test -z "$haveit"; then
15496 CFLAGS="${CFLAGS}${CFLAGS:+ }$element"
15501 for element in "-arch $cy_arch"; do
15503 for x in $LDFLAGS; do
15505 acl_save_prefix="$prefix"
15506 prefix="$acl_final_prefix"
15507 acl_save_exec_prefix="$exec_prefix"
15508 exec_prefix="$acl_final_exec_prefix"
15510 exec_prefix="$acl_save_exec_prefix"
15511 prefix="$acl_save_prefix"
15513 if test "X$x" = "X$element"; then
15518 if test -z "$haveit"; then
15519 LDFLAGS="${LDFLAGS}${LDFLAGS:+ }$element"
15524 for element in "-arch $cy_arch"; do
15526 for x in $OBJCXXFLAGS; do
15528 acl_save_prefix="$prefix"
15529 prefix="$acl_final_prefix"
15530 acl_save_exec_prefix="$exec_prefix"
15531 exec_prefix="$acl_final_exec_prefix"
15533 exec_prefix="$acl_save_exec_prefix"
15534 prefix="$acl_save_prefix"
15536 if test "X$x" = "X$element"; then
15541 if test -z "$haveit"; then
15542 OBJCXXFLAGS="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
15549 CXXFLAGS=$cy_save_CXXFLAGS
15552 rm -f core conftest.err conftest.$ac_objext \
15553 conftest$ac_exeext conftest.$ac_ext
15563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${cy_arches-no}" >&5
15564 $as_echo "${cy_arches-no}" >&6; }
15569 # Check whether --with-frameworks was given.
15570 if test "${with_frameworks+set}" = set; then :
15571 withval=$with_frameworks;
15572 for cy_framework in $withval; do
15574 for element in -F$cy_framework; do
15576 for x in $CFLAGS; do
15578 acl_save_prefix="$prefix"
15579 prefix="$acl_final_prefix"
15580 acl_save_exec_prefix="$exec_prefix"
15581 exec_prefix="$acl_final_exec_prefix"
15583 exec_prefix="$acl_save_exec_prefix"
15584 prefix="$acl_save_prefix"
15586 if test "X$x" = "X$element"; then
15591 if test -z "$haveit"; then
15592 CFLAGS="${CFLAGS}${CFLAGS:+ }$element"
15597 for element in -F$cy_framework; do
15599 for x in $CXXFLAGS; do
15601 acl_save_prefix="$prefix"
15602 prefix="$acl_final_prefix"
15603 acl_save_exec_prefix="$exec_prefix"
15604 exec_prefix="$acl_final_exec_prefix"
15606 exec_prefix="$acl_save_exec_prefix"
15607 prefix="$acl_save_prefix"
15609 if test "X$x" = "X$element"; then
15614 if test -z "$haveit"; then
15615 CXXFLAGS="${CXXFLAGS}${CXXFLAGS:+ }$element"
15620 for element in -F$cy_framework; do
15622 for x in $OBJCCXXFLAGS; do
15624 acl_save_prefix="$prefix"
15625 prefix="$acl_final_prefix"
15626 acl_save_exec_prefix="$exec_prefix"
15627 exec_prefix="$acl_final_exec_prefix"
15629 exec_prefix="$acl_save_exec_prefix"
15630 prefix="$acl_save_prefix"
15632 if test "X$x" = "X$element"; then
15637 if test -z "$haveit"; then
15638 OBJCCXXFLAGS="${OBJCCXXFLAGS}${OBJCCXXFLAGS:+ }$element"
15649 if test "$target_os" = "os2-emx"; then
15650 # Scripts don't pass test -x on OS/2
15656 acceptable_majors="1"
15658 apr_temp_acceptable_apr_config=""
15659 for apr_temp_major in $acceptable_majors
15661 case $apr_temp_major in
15663 apr_temp_acceptable_apr_config="$apr_temp_acceptable_apr_config apr-config"
15666 apr_temp_acceptable_apr_config="$apr_temp_acceptable_apr_config apr-$apr_temp_major-config"
15671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for APR" >&5
15672 $as_echo_n "checking for APR... " >&6; }
15674 # Check whether --with-apr was given.
15675 if test "${with_apr+set}" = set; then :
15677 if test "$withval" = "no" || test "$withval" = "yes"; then
15678 as_fn_error $? "--with-apr requires a directory or file to be provided" "$LINENO" 5
15681 for apr_temp_apr_config_file in $apr_temp_acceptable_apr_config
15683 for lookdir in "$withval/bin" "$withval"
15685 if $TEST_X "$lookdir/$apr_temp_apr_config_file"; then
15686 apr_config="$lookdir/$apr_temp_apr_config_file"
15694 if test "$apr_found" != "yes" && $TEST_X "$withval" && $withval --help > /dev/null 2>&1 ; then
15695 apr_config="$withval"
15699 if test "$apr_found" != "yes"; then
15700 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
15705 if test -n "1" && test "1" = "1"; then
15706 for apr_temp_apr_config_file in $apr_temp_acceptable_apr_config
15708 if $apr_temp_apr_config_file --help > /dev/null 2>&1 ; then
15709 apr_config="$apr_temp_apr_config_file"
15714 for lookdir in /usr /usr/local /usr/local/apr /opt/apr; do
15715 if $TEST_X "$lookdir/bin/$apr_temp_apr_config_file"; then
15716 apr_config="$lookdir/bin/$apr_temp_apr_config_file"
15725 if test "$apr_found" = "no" && test -d ""; then
15726 apr_temp_abs_srcdir="`cd && pwd`"
15727 apr_found="reconfig"
15728 apr_bundled_major="`sed -n '/#define.*APR_MAJOR_VERSION/s/^[^0-9]*\([0-9]*\).*$/\1/p' \"/include
/apr_version.h
\"`"
15729 case $apr_bundled_major in
15731 as_fn_error $? "failed to find major version of bundled APR" "$LINENO" 5
15734 apr_temp_apr_config_file="apr-config"
15737 apr_temp_apr_config_file="apr-$apr_bundled_major-config"
15740 if test -n ""; then
15741 apr_config="/$apr_temp_apr_config_file"
15743 apr_config="/$apr_temp_apr_config_file"
15750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $apr_found" >&5
15751 $as_echo "$apr_found" >&6; }
15753 case $apr_found in #(
15757 for element in `$apr_config --includes`; do
15759 for x in $CPPFLAGS; do
15761 acl_save_prefix="$prefix"
15762 prefix="$acl_final_prefix"
15763 acl_save_exec_prefix="$exec_prefix"
15764 exec_prefix="$acl_final_exec_prefix"
15766 exec_prefix="$acl_save_exec_prefix"
15767 prefix="$acl_save_prefix"
15769 if test "X$x" = "X$element"; then
15774 if test -z "$haveit"; then
15775 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
15779 LTLIBAPR=`$apr_config --link-libtool`
15783 as_fn_error $? "You need apr" "$LINENO" 5 ;;
15787 # Check whether --enable-javascript was given.
15788 if test "${enable_javascript+set}" = set; then :
15789 enableval=$enable_javascript;
15790 case $enableval in #(
15796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
15797 $as_echo_n "checking for WEBKIT... " >&6; }
15799 if test -n "$WEBKIT_CFLAGS"; then
15800 pkg_cv_WEBKIT_CFLAGS="$WEBKIT_CFLAGS"
15801 elif test -n "$PKG_CONFIG"; then
15802 if test -n "$PKG_CONFIG" && \
15803 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"webkit-1.0\""; } >&5
15804 ($PKG_CONFIG --exists --print-errors "webkit-1.0") 2>&5
15806 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15807 test $ac_status = 0; }; then
15808 pkg_cv_WEBKIT_CFLAGS=`$PKG_CONFIG --cflags "webkit-1.0" 2>/dev
/null
`
15809 test "x$?" != "x0" && pkg_failed=yes
15816 if test -n "$WEBKIT_LIBS"; then
15817 pkg_cv_WEBKIT_LIBS="$WEBKIT_LIBS"
15818 elif test -n "$PKG_CONFIG"; then
15819 if test -n "$PKG_CONFIG" && \
15820 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"webkit-1.0\""; } >&5
15821 ($PKG_CONFIG --exists --print-errors "webkit-1.0") 2>&5
15823 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15824 test $ac_status = 0; }; then
15825 pkg_cv_WEBKIT_LIBS=`$PKG_CONFIG --libs "webkit-1.0" 2>/dev
/null
`
15826 test "x$?" != "x0" && pkg_failed=yes
15836 if test $pkg_failed = yes; then
15837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15838 $as_echo "no" >&6; }
15840 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15841 _pkg_short_errors_supported=yes
15843 _pkg_short_errors_supported=no
15845 if test $_pkg_short_errors_supported = yes; then
15846 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "webkit-1.0" 2>&1`
15848 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "webkit-1.0" 2>&1`
15850 # Put the nasty error message in config.log where it belongs
15851 echo "$WEBKIT_PKG_ERRORS" >&5
15856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
15857 $as_echo_n "checking for WEBKIT... " >&6; }
15859 if test -n "$WEBKIT_CFLAGS"; then
15860 pkg_cv_WEBKIT_CFLAGS="$WEBKIT_CFLAGS"
15861 elif test -n "$PKG_CONFIG"; then
15862 if test -n "$PKG_CONFIG" && \
15863 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"WebKitGtk\""; } >&5
15864 ($PKG_CONFIG --exists --print-errors "WebKitGtk") 2>&5
15866 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15867 test $ac_status = 0; }; then
15868 pkg_cv_WEBKIT_CFLAGS=`$PKG_CONFIG --cflags "WebKitGtk" 2>/dev
/null
`
15869 test "x$?" != "x0" && pkg_failed=yes
15876 if test -n "$WEBKIT_LIBS"; then
15877 pkg_cv_WEBKIT_LIBS="$WEBKIT_LIBS"
15878 elif test -n "$PKG_CONFIG"; then
15879 if test -n "$PKG_CONFIG" && \
15880 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"WebKitGtk\""; } >&5
15881 ($PKG_CONFIG --exists --print-errors "WebKitGtk") 2>&5
15883 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15884 test $ac_status = 0; }; then
15885 pkg_cv_WEBKIT_LIBS=`$PKG_CONFIG --libs "WebKitGtk" 2>/dev
/null
`
15886 test "x$?" != "x0" && pkg_failed=yes
15896 if test $pkg_failed = yes; then
15897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15898 $as_echo "no" >&6; }
15900 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15901 _pkg_short_errors_supported=yes
15903 _pkg_short_errors_supported=no
15905 if test $_pkg_short_errors_supported = yes; then
15906 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "WebKitGtk" 2>&1`
15908 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "WebKitGtk" 2>&1`
15910 # Put the nasty error message in config.log where it belongs
15911 echo "$WEBKIT_PKG_ERRORS" >&5
15915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
15916 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
15917 if ${ac_cv_framework_JavaScriptCore+:} false; then :
15918 $as_echo_n "(cached) " >&6
15921 ac_check_framework_save_LIBS=$LIBS
15922 LIBS="-framework JavaScriptCore $LIBS"
15923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15924 /* end confdefs.h. */
15926 #include <JavaScriptCore/JSBase.h>
15931 JSEvaluateScript(0, 0, 0, 0, 0, 0);
15936 if ac_fn_cxx_try_link "$LINENO"; then :
15938 ac_cv_framework_JavaScriptCore=yes
15941 ac_cv_framework_JavaScriptCore=no
15943 rm -f core conftest.err conftest.$ac_objext \
15944 conftest$ac_exeext conftest.$ac_ext
15945 LIBS=$ac_check_framework_save_LIBS
15948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
15949 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
15950 if test $ac_cv_framework_JavaScriptCore = yes; then :
15953 for element in "-framework JavaScriptCore $LIBS"; do
15957 acl_save_prefix="$prefix"
15958 prefix="$acl_final_prefix"
15959 acl_save_exec_prefix="$exec_prefix"
15960 exec_prefix="$acl_final_exec_prefix"
15962 exec_prefix="$acl_save_exec_prefix"
15963 prefix="$acl_save_prefix"
15965 if test "X$x" = "X$element"; then
15970 if test -z "$haveit"; then
15971 LIBS="${LIBS}${LIBS:+ }$element"
15979 elif test $pkg_failed = untried; then
15980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15981 $as_echo "no" >&6; }
15984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
15985 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
15986 if ${ac_cv_framework_JavaScriptCore+:} false; then :
15987 $as_echo_n "(cached) " >&6
15990 ac_check_framework_save_LIBS=$LIBS
15991 LIBS="-framework JavaScriptCore $LIBS"
15992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15993 /* end confdefs.h. */
15995 #include <JavaScriptCore/JSBase.h>
16000 JSEvaluateScript(0, 0, 0, 0, 0, 0);
16005 if ac_fn_cxx_try_link "$LINENO"; then :
16007 ac_cv_framework_JavaScriptCore=yes
16010 ac_cv_framework_JavaScriptCore=no
16012 rm -f core conftest.err conftest.$ac_objext \
16013 conftest$ac_exeext conftest.$ac_ext
16014 LIBS=$ac_check_framework_save_LIBS
16017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
16018 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
16019 if test $ac_cv_framework_JavaScriptCore = yes; then :
16022 for element in "-framework JavaScriptCore $LIBS"; do
16026 acl_save_prefix="$prefix"
16027 prefix="$acl_final_prefix"
16028 acl_save_exec_prefix="$exec_prefix"
16029 exec_prefix="$acl_final_exec_prefix"
16031 exec_prefix="$acl_save_exec_prefix"
16032 prefix="$acl_save_prefix"
16034 if test "X$x" = "X$element"; then
16039 if test -z "$haveit"; then
16040 LIBS="${LIBS}${LIBS:+ }$element"
16049 WEBKIT_CFLAGS=$pkg_cv_WEBKIT_CFLAGS
16050 WEBKIT_LIBS=$pkg_cv_WEBKIT_LIBS
16051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16052 $as_echo "yes" >&6; }
16056 for element in `$PKG_CONFIG --cflags WebKitGtk
`; do
16058 for x in $CXXFLAGS; do
16060 acl_save_prefix="$prefix"
16061 prefix="$acl_final_prefix"
16062 acl_save_exec_prefix="$exec_prefix"
16063 exec_prefix="$acl_final_exec_prefix"
16065 exec_prefix="$acl_save_exec_prefix"
16066 prefix="$acl_save_prefix"
16068 if test "X$x" = "X$element"; then
16073 if test -z "$haveit"; then
16074 CXXFLAGS="${CXXFLAGS}${CXXFLAGS:+ }$element"
16079 for element in `$PKG_CONFIG --libs WebKitGtk
`; do
16083 acl_save_prefix="$prefix"
16084 prefix="$acl_final_prefix"
16085 acl_save_exec_prefix="$exec_prefix"
16086 exec_prefix="$acl_final_exec_prefix"
16088 exec_prefix="$acl_save_exec_prefix"
16089 prefix="$acl_save_prefix"
16091 if test "X$x" = "X$element"; then
16096 if test -z "$haveit"; then
16097 LIBS="${LIBS}${LIBS:+ }$element"
16104 elif test $pkg_failed = untried; then
16105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16106 $as_echo "no" >&6; }
16110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
16111 $as_echo_n "checking for WEBKIT... " >&6; }
16113 if test -n "$WEBKIT_CFLAGS"; then
16114 pkg_cv_WEBKIT_CFLAGS="$WEBKIT_CFLAGS"
16115 elif test -n "$PKG_CONFIG"; then
16116 if test -n "$PKG_CONFIG" && \
16117 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"WebKitGtk\""; } >&5
16118 ($PKG_CONFIG --exists --print-errors "WebKitGtk") 2>&5
16120 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16121 test $ac_status = 0; }; then
16122 pkg_cv_WEBKIT_CFLAGS=`$PKG_CONFIG --cflags "WebKitGtk" 2>/dev
/null
`
16123 test "x$?" != "x0" && pkg_failed=yes
16130 if test -n "$WEBKIT_LIBS"; then
16131 pkg_cv_WEBKIT_LIBS="$WEBKIT_LIBS"
16132 elif test -n "$PKG_CONFIG"; then
16133 if test -n "$PKG_CONFIG" && \
16134 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"WebKitGtk\""; } >&5
16135 ($PKG_CONFIG --exists --print-errors "WebKitGtk") 2>&5
16137 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16138 test $ac_status = 0; }; then
16139 pkg_cv_WEBKIT_LIBS=`$PKG_CONFIG --libs "WebKitGtk" 2>/dev
/null
`
16140 test "x$?" != "x0" && pkg_failed=yes
16150 if test $pkg_failed = yes; then
16151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16152 $as_echo "no" >&6; }
16154 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16155 _pkg_short_errors_supported=yes
16157 _pkg_short_errors_supported=no
16159 if test $_pkg_short_errors_supported = yes; then
16160 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "WebKitGtk" 2>&1`
16162 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "WebKitGtk" 2>&1`
16164 # Put the nasty error message in config.log where it belongs
16165 echo "$WEBKIT_PKG_ERRORS" >&5
16169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
16170 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
16171 if ${ac_cv_framework_JavaScriptCore+:} false; then :
16172 $as_echo_n "(cached) " >&6
16175 ac_check_framework_save_LIBS=$LIBS
16176 LIBS="-framework JavaScriptCore $LIBS"
16177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16178 /* end confdefs.h. */
16180 #include <JavaScriptCore/JSBase.h>
16185 JSEvaluateScript(0, 0, 0, 0, 0, 0);
16190 if ac_fn_cxx_try_link "$LINENO"; then :
16192 ac_cv_framework_JavaScriptCore=yes
16195 ac_cv_framework_JavaScriptCore=no
16197 rm -f core conftest.err conftest.$ac_objext \
16198 conftest$ac_exeext conftest.$ac_ext
16199 LIBS=$ac_check_framework_save_LIBS
16202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
16203 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
16204 if test $ac_cv_framework_JavaScriptCore = yes; then :
16207 for element in "-framework JavaScriptCore $LIBS"; do
16211 acl_save_prefix="$prefix"
16212 prefix="$acl_final_prefix"
16213 acl_save_exec_prefix="$exec_prefix"
16214 exec_prefix="$acl_final_exec_prefix"
16216 exec_prefix="$acl_save_exec_prefix"
16217 prefix="$acl_save_prefix"
16219 if test "X$x" = "X$element"; then
16224 if test -z "$haveit"; then
16225 LIBS="${LIBS}${LIBS:+ }$element"
16233 elif test $pkg_failed = untried; then
16234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16235 $as_echo "no" >&6; }
16238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
16239 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
16240 if ${ac_cv_framework_JavaScriptCore+:} false; then :
16241 $as_echo_n "(cached) " >&6
16244 ac_check_framework_save_LIBS=$LIBS
16245 LIBS="-framework JavaScriptCore $LIBS"
16246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16247 /* end confdefs.h. */
16249 #include <JavaScriptCore/JSBase.h>
16254 JSEvaluateScript(0, 0, 0, 0, 0, 0);
16259 if ac_fn_cxx_try_link "$LINENO"; then :
16261 ac_cv_framework_JavaScriptCore=yes
16264 ac_cv_framework_JavaScriptCore=no
16266 rm -f core conftest.err conftest.$ac_objext \
16267 conftest$ac_exeext conftest.$ac_ext
16268 LIBS=$ac_check_framework_save_LIBS
16271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
16272 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
16273 if test $ac_cv_framework_JavaScriptCore = yes; then :
16276 for element in "-framework JavaScriptCore $LIBS"; do
16280 acl_save_prefix="$prefix"
16281 prefix="$acl_final_prefix"
16282 acl_save_exec_prefix="$exec_prefix"
16283 exec_prefix="$acl_final_exec_prefix"
16285 exec_prefix="$acl_save_exec_prefix"
16286 prefix="$acl_save_prefix"
16288 if test "X$x" = "X$element"; then
16293 if test -z "$haveit"; then
16294 LIBS="${LIBS}${LIBS:+ }$element"
16303 WEBKIT_CFLAGS=$pkg_cv_WEBKIT_CFLAGS
16304 WEBKIT_LIBS=$pkg_cv_WEBKIT_LIBS
16305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16306 $as_echo "yes" >&6; }
16310 for element in `$PKG_CONFIG --cflags WebKitGtk
`; do
16312 for x in $CXXFLAGS; do
16314 acl_save_prefix="$prefix"
16315 prefix="$acl_final_prefix"
16316 acl_save_exec_prefix="$exec_prefix"
16317 exec_prefix="$acl_final_exec_prefix"
16319 exec_prefix="$acl_save_exec_prefix"
16320 prefix="$acl_save_prefix"
16322 if test "X$x" = "X$element"; then
16327 if test -z "$haveit"; then
16328 CXXFLAGS="${CXXFLAGS}${CXXFLAGS:+ }$element"
16333 for element in `$PKG_CONFIG --libs WebKitGtk
`; do
16337 acl_save_prefix="$prefix"
16338 prefix="$acl_final_prefix"
16339 acl_save_exec_prefix="$exec_prefix"
16340 exec_prefix="$acl_final_exec_prefix"
16342 exec_prefix="$acl_save_exec_prefix"
16343 prefix="$acl_save_prefix"
16345 if test "X$x" = "X$element"; then
16350 if test -z "$haveit"; then
16351 LIBS="${LIBS}${LIBS:+ }$element"
16359 WEBKIT_CFLAGS=$pkg_cv_WEBKIT_CFLAGS
16360 WEBKIT_LIBS=$pkg_cv_WEBKIT_LIBS
16361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16362 $as_echo "yes" >&6; }
16366 for element in `$PKG_CONFIG --cflags webkit
-1.0
`; do
16368 for x in $CXXFLAGS; do
16370 acl_save_prefix="$prefix"
16371 prefix="$acl_final_prefix"
16372 acl_save_exec_prefix="$exec_prefix"
16373 exec_prefix="$acl_final_exec_prefix"
16375 exec_prefix="$acl_save_exec_prefix"
16376 prefix="$acl_save_prefix"
16378 if test "X$x" = "X$element"; then
16383 if test -z "$haveit"; then
16384 CXXFLAGS="${CXXFLAGS}${CXXFLAGS:+ }$element"
16389 for element in `$PKG_CONFIG --libs webkit
-1.0
`; do
16393 acl_save_prefix="$prefix"
16394 prefix="$acl_final_prefix"
16395 acl_save_exec_prefix="$exec_prefix"
16396 exec_prefix="$acl_final_exec_prefix"
16398 exec_prefix="$acl_save_exec_prefix"
16399 prefix="$acl_save_prefix"
16401 if test "X$x" = "X$element"; then
16406 if test -z "$haveit"; then
16407 LIBS="${LIBS}${LIBS:+ }$element"
16425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
16426 $as_echo_n "checking for WEBKIT... " >&6; }
16428 if test -n "$WEBKIT_CFLAGS"; then
16429 pkg_cv_WEBKIT_CFLAGS="$WEBKIT_CFLAGS"
16430 elif test -n "$PKG_CONFIG"; then
16431 if test -n "$PKG_CONFIG" && \
16432 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"webkit-1.0\""; } >&5
16433 ($PKG_CONFIG --exists --print-errors "webkit-1.0") 2>&5
16435 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16436 test $ac_status = 0; }; then
16437 pkg_cv_WEBKIT_CFLAGS=`$PKG_CONFIG --cflags "webkit-1.0" 2>/dev
/null
`
16438 test "x$?" != "x0" && pkg_failed=yes
16445 if test -n "$WEBKIT_LIBS"; then
16446 pkg_cv_WEBKIT_LIBS="$WEBKIT_LIBS"
16447 elif test -n "$PKG_CONFIG"; then
16448 if test -n "$PKG_CONFIG" && \
16449 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"webkit-1.0\""; } >&5
16450 ($PKG_CONFIG --exists --print-errors "webkit-1.0") 2>&5
16452 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16453 test $ac_status = 0; }; then
16454 pkg_cv_WEBKIT_LIBS=`$PKG_CONFIG --libs "webkit-1.0" 2>/dev
/null
`
16455 test "x$?" != "x0" && pkg_failed=yes
16465 if test $pkg_failed = yes; then
16466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16467 $as_echo "no" >&6; }
16469 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16470 _pkg_short_errors_supported=yes
16472 _pkg_short_errors_supported=no
16474 if test $_pkg_short_errors_supported = yes; then
16475 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "webkit-1.0" 2>&1`
16477 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "webkit-1.0" 2>&1`
16479 # Put the nasty error message in config.log where it belongs
16480 echo "$WEBKIT_PKG_ERRORS" >&5
16485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
16486 $as_echo_n "checking for WEBKIT... " >&6; }
16488 if test -n "$WEBKIT_CFLAGS"; then
16489 pkg_cv_WEBKIT_CFLAGS="$WEBKIT_CFLAGS"
16490 elif test -n "$PKG_CONFIG"; then
16491 if test -n "$PKG_CONFIG" && \
16492 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"WebKitGtk\""; } >&5
16493 ($PKG_CONFIG --exists --print-errors "WebKitGtk") 2>&5
16495 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16496 test $ac_status = 0; }; then
16497 pkg_cv_WEBKIT_CFLAGS=`$PKG_CONFIG --cflags "WebKitGtk" 2>/dev
/null
`
16498 test "x$?" != "x0" && pkg_failed=yes
16505 if test -n "$WEBKIT_LIBS"; then
16506 pkg_cv_WEBKIT_LIBS="$WEBKIT_LIBS"
16507 elif test -n "$PKG_CONFIG"; then
16508 if test -n "$PKG_CONFIG" && \
16509 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"WebKitGtk\""; } >&5
16510 ($PKG_CONFIG --exists --print-errors "WebKitGtk") 2>&5
16512 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16513 test $ac_status = 0; }; then
16514 pkg_cv_WEBKIT_LIBS=`$PKG_CONFIG --libs "WebKitGtk" 2>/dev
/null
`
16515 test "x$?" != "x0" && pkg_failed=yes
16525 if test $pkg_failed = yes; then
16526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16527 $as_echo "no" >&6; }
16529 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16530 _pkg_short_errors_supported=yes
16532 _pkg_short_errors_supported=no
16534 if test $_pkg_short_errors_supported = yes; then
16535 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "WebKitGtk" 2>&1`
16537 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "WebKitGtk" 2>&1`
16539 # Put the nasty error message in config.log where it belongs
16540 echo "$WEBKIT_PKG_ERRORS" >&5
16544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
16545 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
16546 if ${ac_cv_framework_JavaScriptCore+:} false; then :
16547 $as_echo_n "(cached) " >&6
16550 ac_check_framework_save_LIBS=$LIBS
16551 LIBS="-framework JavaScriptCore $LIBS"
16552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16553 /* end confdefs.h. */
16555 #include <JavaScriptCore/JSBase.h>
16560 JSEvaluateScript(0, 0, 0, 0, 0, 0);
16565 if ac_fn_cxx_try_link "$LINENO"; then :
16567 ac_cv_framework_JavaScriptCore=yes
16570 ac_cv_framework_JavaScriptCore=no
16572 rm -f core conftest.err conftest.$ac_objext \
16573 conftest$ac_exeext conftest.$ac_ext
16574 LIBS=$ac_check_framework_save_LIBS
16577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
16578 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
16579 if test $ac_cv_framework_JavaScriptCore = yes; then :
16582 for element in "-framework JavaScriptCore $LIBS"; do
16586 acl_save_prefix="$prefix"
16587 prefix="$acl_final_prefix"
16588 acl_save_exec_prefix="$exec_prefix"
16589 exec_prefix="$acl_final_exec_prefix"
16591 exec_prefix="$acl_save_exec_prefix"
16592 prefix="$acl_save_prefix"
16594 if test "X$x" = "X$element"; then
16599 if test -z "$haveit"; then
16600 LIBS="${LIBS}${LIBS:+ }$element"
16608 elif test $pkg_failed = untried; then
16609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16610 $as_echo "no" >&6; }
16613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
16614 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
16615 if ${ac_cv_framework_JavaScriptCore+:} false; then :
16616 $as_echo_n "(cached) " >&6
16619 ac_check_framework_save_LIBS=$LIBS
16620 LIBS="-framework JavaScriptCore $LIBS"
16621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16622 /* end confdefs.h. */
16624 #include <JavaScriptCore/JSBase.h>
16629 JSEvaluateScript(0, 0, 0, 0, 0, 0);
16634 if ac_fn_cxx_try_link "$LINENO"; then :
16636 ac_cv_framework_JavaScriptCore=yes
16639 ac_cv_framework_JavaScriptCore=no
16641 rm -f core conftest.err conftest.$ac_objext \
16642 conftest$ac_exeext conftest.$ac_ext
16643 LIBS=$ac_check_framework_save_LIBS
16646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
16647 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
16648 if test $ac_cv_framework_JavaScriptCore = yes; then :
16651 for element in "-framework JavaScriptCore $LIBS"; do
16655 acl_save_prefix="$prefix"
16656 prefix="$acl_final_prefix"
16657 acl_save_exec_prefix="$exec_prefix"
16658 exec_prefix="$acl_final_exec_prefix"
16660 exec_prefix="$acl_save_exec_prefix"
16661 prefix="$acl_save_prefix"
16663 if test "X$x" = "X$element"; then
16668 if test -z "$haveit"; then
16669 LIBS="${LIBS}${LIBS:+ }$element"
16678 WEBKIT_CFLAGS=$pkg_cv_WEBKIT_CFLAGS
16679 WEBKIT_LIBS=$pkg_cv_WEBKIT_LIBS
16680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16681 $as_echo "yes" >&6; }
16685 for element in `$PKG_CONFIG --cflags WebKitGtk
`; do
16687 for x in $CXXFLAGS; do
16689 acl_save_prefix="$prefix"
16690 prefix="$acl_final_prefix"
16691 acl_save_exec_prefix="$exec_prefix"
16692 exec_prefix="$acl_final_exec_prefix"
16694 exec_prefix="$acl_save_exec_prefix"
16695 prefix="$acl_save_prefix"
16697 if test "X$x" = "X$element"; then
16702 if test -z "$haveit"; then
16703 CXXFLAGS="${CXXFLAGS}${CXXFLAGS:+ }$element"
16708 for element in `$PKG_CONFIG --libs WebKitGtk
`; do
16712 acl_save_prefix="$prefix"
16713 prefix="$acl_final_prefix"
16714 acl_save_exec_prefix="$exec_prefix"
16715 exec_prefix="$acl_final_exec_prefix"
16717 exec_prefix="$acl_save_exec_prefix"
16718 prefix="$acl_save_prefix"
16720 if test "X$x" = "X$element"; then
16725 if test -z "$haveit"; then
16726 LIBS="${LIBS}${LIBS:+ }$element"
16733 elif test $pkg_failed = untried; then
16734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16735 $as_echo "no" >&6; }
16739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
16740 $as_echo_n "checking for WEBKIT... " >&6; }
16742 if test -n "$WEBKIT_CFLAGS"; then
16743 pkg_cv_WEBKIT_CFLAGS="$WEBKIT_CFLAGS"
16744 elif test -n "$PKG_CONFIG"; then
16745 if test -n "$PKG_CONFIG" && \
16746 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"WebKitGtk\""; } >&5
16747 ($PKG_CONFIG --exists --print-errors "WebKitGtk") 2>&5
16749 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16750 test $ac_status = 0; }; then
16751 pkg_cv_WEBKIT_CFLAGS=`$PKG_CONFIG --cflags "WebKitGtk" 2>/dev
/null
`
16752 test "x$?" != "x0" && pkg_failed=yes
16759 if test -n "$WEBKIT_LIBS"; then
16760 pkg_cv_WEBKIT_LIBS="$WEBKIT_LIBS"
16761 elif test -n "$PKG_CONFIG"; then
16762 if test -n "$PKG_CONFIG" && \
16763 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"WebKitGtk\""; } >&5
16764 ($PKG_CONFIG --exists --print-errors "WebKitGtk") 2>&5
16766 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16767 test $ac_status = 0; }; then
16768 pkg_cv_WEBKIT_LIBS=`$PKG_CONFIG --libs "WebKitGtk" 2>/dev
/null
`
16769 test "x$?" != "x0" && pkg_failed=yes
16779 if test $pkg_failed = yes; then
16780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16781 $as_echo "no" >&6; }
16783 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16784 _pkg_short_errors_supported=yes
16786 _pkg_short_errors_supported=no
16788 if test $_pkg_short_errors_supported = yes; then
16789 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "WebKitGtk" 2>&1`
16791 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "WebKitGtk" 2>&1`
16793 # Put the nasty error message in config.log where it belongs
16794 echo "$WEBKIT_PKG_ERRORS" >&5
16798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
16799 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
16800 if ${ac_cv_framework_JavaScriptCore+:} false; then :
16801 $as_echo_n "(cached) " >&6
16804 ac_check_framework_save_LIBS=$LIBS
16805 LIBS="-framework JavaScriptCore $LIBS"
16806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16807 /* end confdefs.h. */
16809 #include <JavaScriptCore/JSBase.h>
16814 JSEvaluateScript(0, 0, 0, 0, 0, 0);
16819 if ac_fn_cxx_try_link "$LINENO"; then :
16821 ac_cv_framework_JavaScriptCore=yes
16824 ac_cv_framework_JavaScriptCore=no
16826 rm -f core conftest.err conftest.$ac_objext \
16827 conftest$ac_exeext conftest.$ac_ext
16828 LIBS=$ac_check_framework_save_LIBS
16831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
16832 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
16833 if test $ac_cv_framework_JavaScriptCore = yes; then :
16836 for element in "-framework JavaScriptCore $LIBS"; do
16840 acl_save_prefix="$prefix"
16841 prefix="$acl_final_prefix"
16842 acl_save_exec_prefix="$exec_prefix"
16843 exec_prefix="$acl_final_exec_prefix"
16845 exec_prefix="$acl_save_exec_prefix"
16846 prefix="$acl_save_prefix"
16848 if test "X$x" = "X$element"; then
16853 if test -z "$haveit"; then
16854 LIBS="${LIBS}${LIBS:+ }$element"
16862 elif test $pkg_failed = untried; then
16863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16864 $as_echo "no" >&6; }
16867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
16868 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
16869 if ${ac_cv_framework_JavaScriptCore+:} false; then :
16870 $as_echo_n "(cached) " >&6
16873 ac_check_framework_save_LIBS=$LIBS
16874 LIBS="-framework JavaScriptCore $LIBS"
16875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16876 /* end confdefs.h. */
16878 #include <JavaScriptCore/JSBase.h>
16883 JSEvaluateScript(0, 0, 0, 0, 0, 0);
16888 if ac_fn_cxx_try_link "$LINENO"; then :
16890 ac_cv_framework_JavaScriptCore=yes
16893 ac_cv_framework_JavaScriptCore=no
16895 rm -f core conftest.err conftest.$ac_objext \
16896 conftest$ac_exeext conftest.$ac_ext
16897 LIBS=$ac_check_framework_save_LIBS
16900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
16901 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
16902 if test $ac_cv_framework_JavaScriptCore = yes; then :
16905 for element in "-framework JavaScriptCore $LIBS"; do
16909 acl_save_prefix="$prefix"
16910 prefix="$acl_final_prefix"
16911 acl_save_exec_prefix="$exec_prefix"
16912 exec_prefix="$acl_final_exec_prefix"
16914 exec_prefix="$acl_save_exec_prefix"
16915 prefix="$acl_save_prefix"
16917 if test "X$x" = "X$element"; then
16922 if test -z "$haveit"; then
16923 LIBS="${LIBS}${LIBS:+ }$element"
16932 WEBKIT_CFLAGS=$pkg_cv_WEBKIT_CFLAGS
16933 WEBKIT_LIBS=$pkg_cv_WEBKIT_LIBS
16934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16935 $as_echo "yes" >&6; }
16939 for element in `$PKG_CONFIG --cflags WebKitGtk
`; do
16941 for x in $CXXFLAGS; do
16943 acl_save_prefix="$prefix"
16944 prefix="$acl_final_prefix"
16945 acl_save_exec_prefix="$exec_prefix"
16946 exec_prefix="$acl_final_exec_prefix"
16948 exec_prefix="$acl_save_exec_prefix"
16949 prefix="$acl_save_prefix"
16951 if test "X$x" = "X$element"; then
16956 if test -z "$haveit"; then
16957 CXXFLAGS="${CXXFLAGS}${CXXFLAGS:+ }$element"
16962 for element in `$PKG_CONFIG --libs WebKitGtk
`; do
16966 acl_save_prefix="$prefix"
16967 prefix="$acl_final_prefix"
16968 acl_save_exec_prefix="$exec_prefix"
16969 exec_prefix="$acl_final_exec_prefix"
16971 exec_prefix="$acl_save_exec_prefix"
16972 prefix="$acl_save_prefix"
16974 if test "X$x" = "X$element"; then
16979 if test -z "$haveit"; then
16980 LIBS="${LIBS}${LIBS:+ }$element"
16988 WEBKIT_CFLAGS=$pkg_cv_WEBKIT_CFLAGS
16989 WEBKIT_LIBS=$pkg_cv_WEBKIT_LIBS
16990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16991 $as_echo "yes" >&6; }
16995 for element in `$PKG_CONFIG --cflags webkit
-1.0
`; do
16997 for x in $CXXFLAGS; do
16999 acl_save_prefix="$prefix"
17000 prefix="$acl_final_prefix"
17001 acl_save_exec_prefix="$exec_prefix"
17002 exec_prefix="$acl_final_exec_prefix"
17004 exec_prefix="$acl_save_exec_prefix"
17005 prefix="$acl_save_prefix"
17007 if test "X$x" = "X$element"; then
17012 if test -z "$haveit"; then
17013 CXXFLAGS="${CXXFLAGS}${CXXFLAGS:+ }$element"
17018 for element in `$PKG_CONFIG --libs webkit
-1.0
`; do
17022 acl_save_prefix="$prefix"
17023 prefix="$acl_final_prefix"
17024 acl_save_exec_prefix="$exec_prefix"
17025 exec_prefix="$acl_final_exec_prefix"
17027 exec_prefix="$acl_save_exec_prefix"
17028 prefix="$acl_save_prefix"
17030 if test "X$x" = "X$element"; then
17035 if test -z "$haveit"; then
17036 LIBS="${LIBS}${LIBS:+ }$element"
17045 as_fn_error $? "Unknown JavaScript engine: $enableval" "$LINENO" 5 ;;
17053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
17054 $as_echo_n "checking for WEBKIT... " >&6; }
17056 if test -n "$WEBKIT_CFLAGS"; then
17057 pkg_cv_WEBKIT_CFLAGS="$WEBKIT_CFLAGS"
17058 elif test -n "$PKG_CONFIG"; then
17059 if test -n "$PKG_CONFIG" && \
17060 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"webkit-1.0\""; } >&5
17061 ($PKG_CONFIG --exists --print-errors "webkit-1.0") 2>&5
17063 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17064 test $ac_status = 0; }; then
17065 pkg_cv_WEBKIT_CFLAGS=`$PKG_CONFIG --cflags "webkit-1.0" 2>/dev
/null
`
17066 test "x$?" != "x0" && pkg_failed=yes
17073 if test -n "$WEBKIT_LIBS"; then
17074 pkg_cv_WEBKIT_LIBS="$WEBKIT_LIBS"
17075 elif test -n "$PKG_CONFIG"; then
17076 if test -n "$PKG_CONFIG" && \
17077 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"webkit-1.0\""; } >&5
17078 ($PKG_CONFIG --exists --print-errors "webkit-1.0") 2>&5
17080 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17081 test $ac_status = 0; }; then
17082 pkg_cv_WEBKIT_LIBS=`$PKG_CONFIG --libs "webkit-1.0" 2>/dev
/null
`
17083 test "x$?" != "x0" && pkg_failed=yes
17093 if test $pkg_failed = yes; then
17094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17095 $as_echo "no" >&6; }
17097 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17098 _pkg_short_errors_supported=yes
17100 _pkg_short_errors_supported=no
17102 if test $_pkg_short_errors_supported = yes; then
17103 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "webkit-1.0" 2>&1`
17105 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "webkit-1.0" 2>&1`
17107 # Put the nasty error message in config.log where it belongs
17108 echo "$WEBKIT_PKG_ERRORS" >&5
17113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
17114 $as_echo_n "checking for WEBKIT... " >&6; }
17116 if test -n "$WEBKIT_CFLAGS"; then
17117 pkg_cv_WEBKIT_CFLAGS="$WEBKIT_CFLAGS"
17118 elif test -n "$PKG_CONFIG"; then
17119 if test -n "$PKG_CONFIG" && \
17120 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"WebKitGtk\""; } >&5
17121 ($PKG_CONFIG --exists --print-errors "WebKitGtk") 2>&5
17123 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17124 test $ac_status = 0; }; then
17125 pkg_cv_WEBKIT_CFLAGS=`$PKG_CONFIG --cflags "WebKitGtk" 2>/dev
/null
`
17126 test "x$?" != "x0" && pkg_failed=yes
17133 if test -n "$WEBKIT_LIBS"; then
17134 pkg_cv_WEBKIT_LIBS="$WEBKIT_LIBS"
17135 elif test -n "$PKG_CONFIG"; then
17136 if test -n "$PKG_CONFIG" && \
17137 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"WebKitGtk\""; } >&5
17138 ($PKG_CONFIG --exists --print-errors "WebKitGtk") 2>&5
17140 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17141 test $ac_status = 0; }; then
17142 pkg_cv_WEBKIT_LIBS=`$PKG_CONFIG --libs "WebKitGtk" 2>/dev
/null
`
17143 test "x$?" != "x0" && pkg_failed=yes
17153 if test $pkg_failed = yes; then
17154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17155 $as_echo "no" >&6; }
17157 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17158 _pkg_short_errors_supported=yes
17160 _pkg_short_errors_supported=no
17162 if test $_pkg_short_errors_supported = yes; then
17163 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "WebKitGtk" 2>&1`
17165 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "WebKitGtk" 2>&1`
17167 # Put the nasty error message in config.log where it belongs
17168 echo "$WEBKIT_PKG_ERRORS" >&5
17172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
17173 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
17174 if ${ac_cv_framework_JavaScriptCore+:} false; then :
17175 $as_echo_n "(cached) " >&6
17178 ac_check_framework_save_LIBS=$LIBS
17179 LIBS="-framework JavaScriptCore $LIBS"
17180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17181 /* end confdefs.h. */
17183 #include <JavaScriptCore/JSBase.h>
17188 JSEvaluateScript(0, 0, 0, 0, 0, 0);
17193 if ac_fn_cxx_try_link "$LINENO"; then :
17195 ac_cv_framework_JavaScriptCore=yes
17198 ac_cv_framework_JavaScriptCore=no
17200 rm -f core conftest.err conftest.$ac_objext \
17201 conftest$ac_exeext conftest.$ac_ext
17202 LIBS=$ac_check_framework_save_LIBS
17205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
17206 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
17207 if test $ac_cv_framework_JavaScriptCore = yes; then :
17210 for element in "-framework JavaScriptCore $LIBS"; do
17214 acl_save_prefix="$prefix"
17215 prefix="$acl_final_prefix"
17216 acl_save_exec_prefix="$exec_prefix"
17217 exec_prefix="$acl_final_exec_prefix"
17219 exec_prefix="$acl_save_exec_prefix"
17220 prefix="$acl_save_prefix"
17222 if test "X$x" = "X$element"; then
17227 if test -z "$haveit"; then
17228 LIBS="${LIBS}${LIBS:+ }$element"
17236 elif test $pkg_failed = untried; then
17237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17238 $as_echo "no" >&6; }
17241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
17242 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
17243 if ${ac_cv_framework_JavaScriptCore+:} false; then :
17244 $as_echo_n "(cached) " >&6
17247 ac_check_framework_save_LIBS=$LIBS
17248 LIBS="-framework JavaScriptCore $LIBS"
17249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17250 /* end confdefs.h. */
17252 #include <JavaScriptCore/JSBase.h>
17257 JSEvaluateScript(0, 0, 0, 0, 0, 0);
17262 if ac_fn_cxx_try_link "$LINENO"; then :
17264 ac_cv_framework_JavaScriptCore=yes
17267 ac_cv_framework_JavaScriptCore=no
17269 rm -f core conftest.err conftest.$ac_objext \
17270 conftest$ac_exeext conftest.$ac_ext
17271 LIBS=$ac_check_framework_save_LIBS
17274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
17275 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
17276 if test $ac_cv_framework_JavaScriptCore = yes; then :
17279 for element in "-framework JavaScriptCore $LIBS"; do
17283 acl_save_prefix="$prefix"
17284 prefix="$acl_final_prefix"
17285 acl_save_exec_prefix="$exec_prefix"
17286 exec_prefix="$acl_final_exec_prefix"
17288 exec_prefix="$acl_save_exec_prefix"
17289 prefix="$acl_save_prefix"
17291 if test "X$x" = "X$element"; then
17296 if test -z "$haveit"; then
17297 LIBS="${LIBS}${LIBS:+ }$element"
17306 WEBKIT_CFLAGS=$pkg_cv_WEBKIT_CFLAGS
17307 WEBKIT_LIBS=$pkg_cv_WEBKIT_LIBS
17308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17309 $as_echo "yes" >&6; }
17313 for element in `$PKG_CONFIG --cflags WebKitGtk
`; do
17315 for x in $CXXFLAGS; 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 CXXFLAGS="${CXXFLAGS}${CXXFLAGS:+ }$element"
17336 for element in `$PKG_CONFIG --libs WebKitGtk
`; do
17340 acl_save_prefix="$prefix"
17341 prefix="$acl_final_prefix"
17342 acl_save_exec_prefix="$exec_prefix"
17343 exec_prefix="$acl_final_exec_prefix"
17345 exec_prefix="$acl_save_exec_prefix"
17346 prefix="$acl_save_prefix"
17348 if test "X$x" = "X$element"; then
17353 if test -z "$haveit"; then
17354 LIBS="${LIBS}${LIBS:+ }$element"
17361 elif test $pkg_failed = untried; then
17362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17363 $as_echo "no" >&6; }
17367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
17368 $as_echo_n "checking for WEBKIT... " >&6; }
17370 if test -n "$WEBKIT_CFLAGS"; then
17371 pkg_cv_WEBKIT_CFLAGS="$WEBKIT_CFLAGS"
17372 elif test -n "$PKG_CONFIG"; then
17373 if test -n "$PKG_CONFIG" && \
17374 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"WebKitGtk\""; } >&5
17375 ($PKG_CONFIG --exists --print-errors "WebKitGtk") 2>&5
17377 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17378 test $ac_status = 0; }; then
17379 pkg_cv_WEBKIT_CFLAGS=`$PKG_CONFIG --cflags "WebKitGtk" 2>/dev
/null
`
17380 test "x$?" != "x0" && pkg_failed=yes
17387 if test -n "$WEBKIT_LIBS"; then
17388 pkg_cv_WEBKIT_LIBS="$WEBKIT_LIBS"
17389 elif test -n "$PKG_CONFIG"; then
17390 if test -n "$PKG_CONFIG" && \
17391 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"WebKitGtk\""; } >&5
17392 ($PKG_CONFIG --exists --print-errors "WebKitGtk") 2>&5
17394 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17395 test $ac_status = 0; }; then
17396 pkg_cv_WEBKIT_LIBS=`$PKG_CONFIG --libs "WebKitGtk" 2>/dev
/null
`
17397 test "x$?" != "x0" && pkg_failed=yes
17407 if test $pkg_failed = yes; then
17408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17409 $as_echo "no" >&6; }
17411 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17412 _pkg_short_errors_supported=yes
17414 _pkg_short_errors_supported=no
17416 if test $_pkg_short_errors_supported = yes; then
17417 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "WebKitGtk" 2>&1`
17419 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "WebKitGtk" 2>&1`
17421 # Put the nasty error message in config.log where it belongs
17422 echo "$WEBKIT_PKG_ERRORS" >&5
17426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
17427 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
17428 if ${ac_cv_framework_JavaScriptCore+:} false; then :
17429 $as_echo_n "(cached) " >&6
17432 ac_check_framework_save_LIBS=$LIBS
17433 LIBS="-framework JavaScriptCore $LIBS"
17434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17435 /* end confdefs.h. */
17437 #include <JavaScriptCore/JSBase.h>
17442 JSEvaluateScript(0, 0, 0, 0, 0, 0);
17447 if ac_fn_cxx_try_link "$LINENO"; then :
17449 ac_cv_framework_JavaScriptCore=yes
17452 ac_cv_framework_JavaScriptCore=no
17454 rm -f core conftest.err conftest.$ac_objext \
17455 conftest$ac_exeext conftest.$ac_ext
17456 LIBS=$ac_check_framework_save_LIBS
17459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
17460 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
17461 if test $ac_cv_framework_JavaScriptCore = yes; then :
17464 for element in "-framework JavaScriptCore $LIBS"; do
17468 acl_save_prefix="$prefix"
17469 prefix="$acl_final_prefix"
17470 acl_save_exec_prefix="$exec_prefix"
17471 exec_prefix="$acl_final_exec_prefix"
17473 exec_prefix="$acl_save_exec_prefix"
17474 prefix="$acl_save_prefix"
17476 if test "X$x" = "X$element"; then
17481 if test -z "$haveit"; then
17482 LIBS="${LIBS}${LIBS:+ }$element"
17490 elif test $pkg_failed = untried; then
17491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17492 $as_echo "no" >&6; }
17495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
17496 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
17497 if ${ac_cv_framework_JavaScriptCore+:} false; then :
17498 $as_echo_n "(cached) " >&6
17501 ac_check_framework_save_LIBS=$LIBS
17502 LIBS="-framework JavaScriptCore $LIBS"
17503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17504 /* end confdefs.h. */
17506 #include <JavaScriptCore/JSBase.h>
17511 JSEvaluateScript(0, 0, 0, 0, 0, 0);
17516 if ac_fn_cxx_try_link "$LINENO"; then :
17518 ac_cv_framework_JavaScriptCore=yes
17521 ac_cv_framework_JavaScriptCore=no
17523 rm -f core conftest.err conftest.$ac_objext \
17524 conftest$ac_exeext conftest.$ac_ext
17525 LIBS=$ac_check_framework_save_LIBS
17528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
17529 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
17530 if test $ac_cv_framework_JavaScriptCore = yes; then :
17533 for element in "-framework JavaScriptCore $LIBS"; do
17537 acl_save_prefix="$prefix"
17538 prefix="$acl_final_prefix"
17539 acl_save_exec_prefix="$exec_prefix"
17540 exec_prefix="$acl_final_exec_prefix"
17542 exec_prefix="$acl_save_exec_prefix"
17543 prefix="$acl_save_prefix"
17545 if test "X$x" = "X$element"; then
17550 if test -z "$haveit"; then
17551 LIBS="${LIBS}${LIBS:+ }$element"
17560 WEBKIT_CFLAGS=$pkg_cv_WEBKIT_CFLAGS
17561 WEBKIT_LIBS=$pkg_cv_WEBKIT_LIBS
17562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17563 $as_echo "yes" >&6; }
17567 for element in `$PKG_CONFIG --cflags WebKitGtk
`; do
17569 for x in $CXXFLAGS; do
17571 acl_save_prefix="$prefix"
17572 prefix="$acl_final_prefix"
17573 acl_save_exec_prefix="$exec_prefix"
17574 exec_prefix="$acl_final_exec_prefix"
17576 exec_prefix="$acl_save_exec_prefix"
17577 prefix="$acl_save_prefix"
17579 if test "X$x" = "X$element"; then
17584 if test -z "$haveit"; then
17585 CXXFLAGS="${CXXFLAGS}${CXXFLAGS:+ }$element"
17590 for element in `$PKG_CONFIG --libs WebKitGtk
`; do
17594 acl_save_prefix="$prefix"
17595 prefix="$acl_final_prefix"
17596 acl_save_exec_prefix="$exec_prefix"
17597 exec_prefix="$acl_final_exec_prefix"
17599 exec_prefix="$acl_save_exec_prefix"
17600 prefix="$acl_save_prefix"
17602 if test "X$x" = "X$element"; then
17607 if test -z "$haveit"; then
17608 LIBS="${LIBS}${LIBS:+ }$element"
17616 WEBKIT_CFLAGS=$pkg_cv_WEBKIT_CFLAGS
17617 WEBKIT_LIBS=$pkg_cv_WEBKIT_LIBS
17618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17619 $as_echo "yes" >&6; }
17623 for element in `$PKG_CONFIG --cflags webkit
-1.0
`; do
17625 for x in $CXXFLAGS; do
17627 acl_save_prefix="$prefix"
17628 prefix="$acl_final_prefix"
17629 acl_save_exec_prefix="$exec_prefix"
17630 exec_prefix="$acl_final_exec_prefix"
17632 exec_prefix="$acl_save_exec_prefix"
17633 prefix="$acl_save_prefix"
17635 if test "X$x" = "X$element"; then
17640 if test -z "$haveit"; then
17641 CXXFLAGS="${CXXFLAGS}${CXXFLAGS:+ }$element"
17646 for element in `$PKG_CONFIG --libs webkit
-1.0
`; do
17650 acl_save_prefix="$prefix"
17651 prefix="$acl_final_prefix"
17652 acl_save_exec_prefix="$exec_prefix"
17653 exec_prefix="$acl_final_exec_prefix"
17655 exec_prefix="$acl_save_exec_prefix"
17656 prefix="$acl_save_prefix"
17658 if test "X$x" = "X$element"; then
17663 if test -z "$haveit"; then
17664 LIBS="${LIBS}${LIBS:+ }$element"
17677 case $CY_EXECUTE in #(
17681 for ac_header in ffi.h ffi/ffi.h
17683 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
17684 ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
17685 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
17686 cat >>confdefs.h <<_ACEOF
17687 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
17694 if test "x$ac_cv_header_ffi_h" = xno && test "x$ac_cv_header_ffi_ffi_h" = xno; then :
17699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBFFI" >&5
17700 $as_echo_n "checking for LIBFFI... " >&6; }
17702 if test -n "$LIBFFI_CFLAGS"; then
17703 pkg_cv_LIBFFI_CFLAGS="$LIBFFI_CFLAGS"
17704 elif test -n "$PKG_CONFIG"; then
17705 if test -n "$PKG_CONFIG" && \
17706 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libffi\""; } >&5
17707 ($PKG_CONFIG --exists --print-errors "libffi") 2>&5
17709 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17710 test $ac_status = 0; }; then
17711 pkg_cv_LIBFFI_CFLAGS=`$PKG_CONFIG --cflags "libffi" 2>/dev
/null
`
17712 test "x$?" != "x0" && pkg_failed=yes
17719 if test -n "$LIBFFI_LIBS"; then
17720 pkg_cv_LIBFFI_LIBS="$LIBFFI_LIBS"
17721 elif test -n "$PKG_CONFIG"; then
17722 if test -n "$PKG_CONFIG" && \
17723 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libffi\""; } >&5
17724 ($PKG_CONFIG --exists --print-errors "libffi") 2>&5
17726 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17727 test $ac_status = 0; }; then
17728 pkg_cv_LIBFFI_LIBS=`$PKG_CONFIG --libs "libffi" 2>/dev
/null
`
17729 test "x$?" != "x0" && pkg_failed=yes
17739 if test $pkg_failed = yes; then
17740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17741 $as_echo "no" >&6; }
17743 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17744 _pkg_short_errors_supported=yes
17746 _pkg_short_errors_supported=no
17748 if test $_pkg_short_errors_supported = yes; then
17749 LIBFFI_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libffi" 2>&1`
17751 LIBFFI_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libffi" 2>&1`
17753 # Put the nasty error message in config.log where it belongs
17754 echo "$LIBFFI_PKG_ERRORS" >&5
17757 as_fn_error $? "You need libffi" "$LINENO" 5
17759 elif test $pkg_failed = untried; then
17760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17761 $as_echo "no" >&6; }
17763 as_fn_error $? "You need libffi" "$LINENO" 5
17766 LIBFFI_CFLAGS=$pkg_cv_LIBFFI_CFLAGS
17767 LIBFFI_LIBS=$pkg_cv_LIBFFI_LIBS
17768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17769 $as_echo "yes" >&6; }
17772 for element in `$PKG_CONFIG --cflags libffi
`; do
17774 for x in $CXXFLAGS; do
17776 acl_save_prefix="$prefix"
17777 prefix="$acl_final_prefix"
17778 acl_save_exec_prefix="$exec_prefix"
17779 exec_prefix="$acl_final_exec_prefix"
17781 exec_prefix="$acl_save_exec_prefix"
17782 prefix="$acl_save_prefix"
17784 if test "X$x" = "X$element"; then
17789 if test -z "$haveit"; then
17790 CXXFLAGS="${CXXFLAGS}${CXXFLAGS:+ }$element"
17795 for element in `$PKG_CONFIG --libs libffi
`; do
17799 acl_save_prefix="$prefix"
17800 prefix="$acl_final_prefix"
17801 acl_save_exec_prefix="$exec_prefix"
17802 exec_prefix="$acl_final_exec_prefix"
17804 exec_prefix="$acl_save_exec_prefix"
17805 prefix="$acl_save_prefix"
17807 if test "X$x" = "X$element"; then
17812 if test -z "$haveit"; then
17813 LIBS="${LIBS}${LIBS:+ }$element"
17823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing ffi_call" >&5
17824 $as_echo_n "checking for library containing ffi_call... " >&6; }
17825 if ${ac_cv_search_ffi_call+:} false; then :
17826 $as_echo_n "(cached) " >&6
17828 ac_func_search_save_LIBS=$LIBS
17829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17830 /* end confdefs.h. */
17832 /* Override any GCC internal prototype to avoid an error.
17833 Use char because int might match the return type of a GCC
17834 builtin and then its argument prototype would still apply. */
17842 return ffi_call ();
17847 for ac_lib in '' ffi; do
17848 if test -z "$ac_lib"; then
17849 ac_res="none required"
17852 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17854 if ac_fn_cxx_try_link "$LINENO"; then :
17855 ac_cv_search_ffi_call=$ac_res
17857 rm -f core conftest.err conftest.$ac_objext \
17859 if ${ac_cv_search_ffi_call+:} false; then :
17863 if ${ac_cv_search_ffi_call+:} false; then :
17866 ac_cv_search_ffi_call=no
17868 rm conftest.$ac_ext
17869 LIBS=$ac_func_search_save_LIBS
17871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_ffi_call" >&5
17872 $as_echo "$ac_cv_search_ffi_call" >&6; }
17873 ac_res=$ac_cv_search_ffi_call
17874 if test "$ac_res" != no; then :
17875 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17879 case $ac_cv_search_ffi_call in #(
17884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBFFI" >&5
17885 $as_echo_n "checking for LIBFFI... " >&6; }
17887 if test -n "$LIBFFI_CFLAGS"; then
17888 pkg_cv_LIBFFI_CFLAGS="$LIBFFI_CFLAGS"
17889 elif test -n "$PKG_CONFIG"; then
17890 if test -n "$PKG_CONFIG" && \
17891 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libffi\""; } >&5
17892 ($PKG_CONFIG --exists --print-errors "libffi") 2>&5
17894 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17895 test $ac_status = 0; }; then
17896 pkg_cv_LIBFFI_CFLAGS=`$PKG_CONFIG --cflags "libffi" 2>/dev
/null
`
17897 test "x$?" != "x0" && pkg_failed=yes
17904 if test -n "$LIBFFI_LIBS"; then
17905 pkg_cv_LIBFFI_LIBS="$LIBFFI_LIBS"
17906 elif test -n "$PKG_CONFIG"; then
17907 if test -n "$PKG_CONFIG" && \
17908 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libffi\""; } >&5
17909 ($PKG_CONFIG --exists --print-errors "libffi") 2>&5
17911 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17912 test $ac_status = 0; }; then
17913 pkg_cv_LIBFFI_LIBS=`$PKG_CONFIG --libs "libffi" 2>/dev
/null
`
17914 test "x$?" != "x0" && pkg_failed=yes
17924 if test $pkg_failed = yes; then
17925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17926 $as_echo "no" >&6; }
17928 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17929 _pkg_short_errors_supported=yes
17931 _pkg_short_errors_supported=no
17933 if test $_pkg_short_errors_supported = yes; then
17934 LIBFFI_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libffi" 2>&1`
17936 LIBFFI_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libffi" 2>&1`
17938 # Put the nasty error message in config.log where it belongs
17939 echo "$LIBFFI_PKG_ERRORS" >&5
17942 as_fn_error $? "You need libffi" "$LINENO" 5
17944 elif test $pkg_failed = untried; then
17945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17946 $as_echo "no" >&6; }
17948 as_fn_error $? "You need libffi" "$LINENO" 5
17951 LIBFFI_CFLAGS=$pkg_cv_LIBFFI_CFLAGS
17952 LIBFFI_LIBS=$pkg_cv_LIBFFI_LIBS
17953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17954 $as_echo "yes" >&6; }
17957 for element in `$PKG_CONFIG --cflags libffi
`; do
17959 for x in $CXXFLAGS; do
17961 acl_save_prefix="$prefix"
17962 prefix="$acl_final_prefix"
17963 acl_save_exec_prefix="$exec_prefix"
17964 exec_prefix="$acl_final_exec_prefix"
17966 exec_prefix="$acl_save_exec_prefix"
17967 prefix="$acl_save_prefix"
17969 if test "X$x" = "X$element"; then
17974 if test -z "$haveit"; then
17975 CXXFLAGS="${CXXFLAGS}${CXXFLAGS:+ }$element"
17980 for element in `$PKG_CONFIG --libs libffi
`; do
17984 acl_save_prefix="$prefix"
17985 prefix="$acl_final_prefix"
17986 acl_save_exec_prefix="$exec_prefix"
17987 exec_prefix="$acl_final_exec_prefix"
17989 exec_prefix="$acl_save_exec_prefix"
17990 prefix="$acl_save_prefix"
17992 if test "X$x" = "X$element"; then
17997 if test -z "$haveit"; then
17998 LIBS="${LIBS}${LIBS:+ }$element"
18011 ac_cpp='$OBJCXXCPP $CPPFLAGS'
18012 ac_compile='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18013 ac_link='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18014 ac_compiler_gnu=$ac_cv_objcxx_compiler_gnu
18016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we really have Objective C++" >&5
18017 $as_echo_n "checking if we really have Objective C++... " >&6; }
18018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18019 /* end confdefs.h. */
18021 // This space intentionally left blank
18024 if ac_fn_objcxx_try_compile "$LINENO"; then :
18027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18028 $as_echo "yes" >&6; }
18031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18032 $as_echo "no" >&6; }
18034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18035 if test "x$CY_OBJECTIVEC" = x1; then :
18038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework CoreFoundation" >&5
18039 $as_echo_n "checking for framework CoreFoundation... " >&6; }
18040 if ${ac_cv_framework_CoreFoundation+:} false; then :
18041 $as_echo_n "(cached) " >&6
18044 ac_check_framework_save_LIBS=$LIBS
18045 LIBS="-framework CoreFoundation $LIBS"
18046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18047 /* end confdefs.h. */
18049 #include <CoreFoundation/CFBase.h>
18054 CFAllocatorGetDefault();
18059 if ac_fn_objcxx_try_link "$LINENO"; then :
18061 ac_cv_framework_CoreFoundation=yes
18064 ac_cv_framework_CoreFoundation=no
18066 rm -f core conftest.err conftest.$ac_objext \
18067 conftest$ac_exeext conftest.$ac_ext
18068 LIBS=$ac_check_framework_save_LIBS
18071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_CoreFoundation" >&5
18072 $as_echo "$ac_cv_framework_CoreFoundation" >&6; }
18073 if test $ac_cv_framework_CoreFoundation = yes; then :
18076 for element in "-framework CoreFoundation $LIBS"; do
18080 acl_save_prefix="$prefix"
18081 prefix="$acl_final_prefix"
18082 acl_save_exec_prefix="$exec_prefix"
18083 exec_prefix="$acl_final_exec_prefix"
18085 exec_prefix="$acl_save_exec_prefix"
18086 prefix="$acl_save_prefix"
18088 if test "X$x" = "X$element"; then
18093 if test -z "$haveit"; then
18094 LIBS="${LIBS}${LIBS:+ }$element"
18102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework Foundation" >&5
18103 $as_echo_n "checking for framework Foundation... " >&6; }
18104 if ${ac_cv_framework_Foundation+:} false; then :
18105 $as_echo_n "(cached) " >&6
18108 ac_check_framework_save_LIBS=$LIBS
18109 LIBS="-framework Foundation $LIBS"
18110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18111 /* end confdefs.h. */
18113 #include <Foundation/NSObject.h>
18118 [[NSObject alloc] init];
18123 if ac_fn_objcxx_try_link "$LINENO"; then :
18125 ac_cv_framework_Foundation=yes
18128 ac_cv_framework_Foundation=no
18130 rm -f core conftest.err conftest.$ac_objext \
18131 conftest$ac_exeext conftest.$ac_ext
18132 LIBS=$ac_check_framework_save_LIBS
18135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_Foundation" >&5
18136 $as_echo "$ac_cv_framework_Foundation" >&6; }
18137 if test $ac_cv_framework_Foundation = yes; then :
18140 for element in "-framework Foundation $LIBS"; do
18144 acl_save_prefix="$prefix"
18145 prefix="$acl_final_prefix"
18146 acl_save_exec_prefix="$exec_prefix"
18147 exec_prefix="$acl_final_exec_prefix"
18149 exec_prefix="$acl_save_exec_prefix"
18150 prefix="$acl_save_prefix"
18152 if test "X$x" = "X$element"; then
18157 if test -z "$haveit"; then
18158 LIBS="${LIBS}${LIBS:+ }$element"
18162 cat >>confdefs.h <<_ACEOF
18163 #define HAVE_FRAMEWORK_FOUNDATION 1
18170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework WebKit" >&5
18171 $as_echo_n "checking for framework WebKit... " >&6; }
18172 if ${ac_cv_framework_WebKit+:} false; then :
18173 $as_echo_n "(cached) " >&6
18176 ac_check_framework_save_LIBS=$LIBS
18177 LIBS="-framework WebKit $LIBS"
18178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18179 /* end confdefs.h. */
18181 #include <WebKit/WebScriptObject.h>
18186 [[WebScriptObject alloc] init];
18191 if ac_fn_objcxx_try_link "$LINENO"; then :
18193 ac_cv_framework_WebKit=yes
18196 ac_cv_framework_WebKit=no
18198 rm -f core conftest.err conftest.$ac_objext \
18199 conftest$ac_exeext conftest.$ac_ext
18200 LIBS=$ac_check_framework_save_LIBS
18203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_WebKit" >&5
18204 $as_echo "$ac_cv_framework_WebKit" >&6; }
18205 if test $ac_cv_framework_WebKit = yes; then :
18208 for element in "-framework WebKit $LIBS"; do
18212 acl_save_prefix="$prefix"
18213 prefix="$acl_final_prefix"
18214 acl_save_exec_prefix="$exec_prefix"
18215 exec_prefix="$acl_final_exec_prefix"
18217 exec_prefix="$acl_save_exec_prefix"
18218 prefix="$acl_save_prefix"
18220 if test "X$x" = "X$element"; then
18225 if test -z "$haveit"; then
18226 LIBS="${LIBS}${LIBS:+ }$element"
18230 cat >>confdefs.h <<_ACEOF
18231 #define HAVE_FRAMEWORK_WEBKIT 1
18241 for ac_prog in gnustep-config
18243 # Extract the first word of "$ac_prog", so it can be a program name with args.
18244 set dummy $ac_prog; ac_word=$2
18245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18246 $as_echo_n "checking for $ac_word... " >&6; }
18247 if ${ac_cv_prog_GNUSTEP_CONFIG+:} false; then :
18248 $as_echo_n "(cached) " >&6
18250 if test -n "$GNUSTEP_CONFIG"; then
18251 ac_cv_prog_GNUSTEP_CONFIG="$GNUSTEP_CONFIG" # Let the user override the test.
18253 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18254 for as_dir in $PATH
18257 test -z "$as_dir" && as_dir=.
18258 for ac_exec_ext in '' $ac_executable_extensions; do
18259 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18260 ac_cv_prog_GNUSTEP_CONFIG="$ac_prog"
18261 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18270 GNUSTEP_CONFIG=$ac_cv_prog_GNUSTEP_CONFIG
18271 if test -n "$GNUSTEP_CONFIG"; then
18272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNUSTEP_CONFIG" >&5
18273 $as_echo "$GNUSTEP_CONFIG" >&6; }
18275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18276 $as_echo "no" >&6; }
18280 test -n "$GNUSTEP_CONFIG" && break
18283 if test "x$GNUSTEP_CONFIG" != x; then :
18287 for element in `$GNUSTEP_CONFIG --objc-flags`; do
18289 for x in $OBJCXXFLAGS; do
18291 acl_save_prefix="$prefix"
18292 prefix="$acl_final_prefix"
18293 acl_save_exec_prefix="$exec_prefix"
18294 exec_prefix="$acl_final_exec_prefix"
18296 exec_prefix="$acl_save_exec_prefix"
18297 prefix="$acl_save_prefix"
18299 if test "X$x" = "X$element"; then
18304 if test -z "$haveit"; then
18305 OBJCXXFLAGS="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
18310 for element in `$GNUSTEP_CONFIG --base-libs`; do
18314 acl_save_prefix="$prefix"
18315 prefix="$acl_final_prefix"
18316 acl_save_exec_prefix="$exec_prefix"
18317 exec_prefix="$acl_final_exec_prefix"
18319 exec_prefix="$acl_save_exec_prefix"
18320 prefix="$acl_save_prefix"
18322 if test "X$x" = "X$element"; then
18327 if test -z "$haveit"; then
18328 LIBS="${LIBS}${LIBS:+ }$element"
18342 ac_cpp='$CXXCPP $CPPFLAGS'
18343 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18344 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18345 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a readline compatible library" >&5
18353 $as_echo_n "checking for a readline compatible library... " >&6; }
18354 if ${ax_cv_lib_readline+:} false; then :
18355 $as_echo_n "(cached) " >&6
18359 for readline_lib in readline edit editline; do
18360 for termcap_lib in "" termcap curses ncurses; do
18361 if test -z "$termcap_lib"; then
18362 TRY_LIB="-l$readline_lib"
18364 TRY_LIB="-l$readline_lib -l$termcap_lib"
18366 LIBS="$ORIG_LIBS $TRY_LIB"
18367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18368 /* end confdefs.h. */
18370 /* Override any GCC internal prototype to avoid an error.
18371 Use char because int might match the return type of a GCC
18372 builtin and then its argument prototype would still apply. */
18380 return readline ();
18385 if ac_fn_cxx_try_link "$LINENO"; then :
18386 ax_cv_lib_readline="$TRY_LIB"
18388 rm -f core conftest.err conftest.$ac_objext \
18389 conftest$ac_exeext conftest.$ac_ext
18390 if test -n "$ax_cv_lib_readline"; then
18394 if test -n "$ax_cv_lib_readline"; then
18398 if test -z "$ax_cv_lib_readline"; then
18399 ax_cv_lib_readline="no"
18404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_lib_readline" >&5
18405 $as_echo "$ax_cv_lib_readline" >&6; }
18407 if test "$ax_cv_lib_readline" != "no"; then
18408 LIBS="$LIBS $ax_cv_lib_readline"
18410 $as_echo "#define HAVE_LIBREADLINE 1" >>confdefs.h
18412 for ac_header in readline.h readline/readline.h
18414 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18415 ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18416 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
18417 cat >>confdefs.h <<_ACEOF
18418 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether readline supports history" >&5
18426 $as_echo_n "checking whether readline supports history... " >&6; }
18427 if ${ax_cv_lib_readline_history+:} false; then :
18428 $as_echo_n "(cached) " >&6
18431 ax_cv_lib_readline_history="no"
18432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18433 /* end confdefs.h. */
18435 /* Override any GCC internal prototype to avoid an error.
18436 Use char because int might match the return type of a GCC
18437 builtin and then its argument prototype would still apply. */
18441 char add_history ();
18445 return add_history ();
18450 if ac_fn_cxx_try_link "$LINENO"; then :
18451 ax_cv_lib_readline_history="yes"
18453 rm -f core conftest.err conftest.$ac_objext \
18454 conftest$ac_exeext conftest.$ac_ext
18457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_lib_readline_history" >&5
18458 $as_echo "$ax_cv_lib_readline_history" >&6; }
18459 if test "$ax_cv_lib_readline_history" = "yes"; then
18461 $as_echo "#define HAVE_READLINE_HISTORY 1" >>confdefs.h
18463 for ac_header in history.h readline/history.h
18465 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18466 ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18467 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
18468 cat >>confdefs.h <<_ACEOF
18469 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18479 case $vl_cv_lib_readline in #(
18481 as_fn_error $? "You need readline" "$LINENO" 5 ;; #(
18486 ac_cpp='$CPP $CPPFLAGS'
18487 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18488 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18489 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18492 if test "X$prefix" = "XNONE"; then
18493 acl_final_prefix="$ac_default_prefix"
18495 acl_final_prefix="$prefix"
18497 if test "X$exec_prefix" = "XNONE"; then
18498 acl_final_exec_prefix='${prefix}'
18500 acl_final_exec_prefix="$exec_prefix"
18502 acl_save_prefix="$prefix"
18503 prefix="$acl_final_prefix"
18504 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
18505 prefix="$acl_save_prefix"
18508 # Check whether --with-gnu-ld was given.
18509 if test "${with_gnu_ld+set}" = set; then :
18510 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
18515 # Prepare PATH_SEPARATOR.
18516 # The user is always right.
18517 if test "${PATH_SEPARATOR+set}" != set; then
18518 echo "#! /bin/sh" >conf$$.sh
18519 echo "exit 0" >>conf$$.sh
18521 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
18529 if test "$GCC" = yes; then
18530 # Check if gcc -print-prog-name=ld gives a path.
18531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
18532 $as_echo_n "checking for ld used by GCC... " >&6; }
18535 # gcc leaves a trailing carriage return which upsets mingw
18536 ac_prog=`($CC -print-prog-name=ld
) 2>&5 | tr -d '\015'` ;;
18538 ac_prog=`($CC -print-prog-name=ld
) 2>&5` ;;
18541 # Accept absolute paths.
18542 [\\/]* | [A-Za-z]:[\\/]*)
18543 re_direlt='/[^/][^/]*/\.\./'
18544 # Canonicalize the path of ld
18545 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
18546 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
18547 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
18549 test -z "$LD" && LD="$ac_prog"
18552 # If it fails, then pretend we aren't using GCC.
18556 # If it is relative, then search for the first ld in PATH.
18557 with_gnu_ld=unknown
18560 elif test "$with_gnu_ld" = yes; then
18561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
18562 $as_echo_n "checking for GNU ld... " >&6; }
18564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
18565 $as_echo_n "checking for non-GNU ld... " >&6; }
18567 if ${acl_cv_path_LD+:} false; then :
18568 $as_echo_n "(cached) " >&6
18570 if test -z "$LD"; then
18571 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
18572 for ac_dir in $PATH; do
18573 test -z "$ac_dir" && ac_dir=.
18574 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
18575 acl_cv_path_LD="$ac_dir/$ac_prog"
18576 # Check to see if the program is GNU ld. I'd rather use --version,
18577 # but apparently some GNU ld's only accept -v.
18578 # Break only if it was the GNU/non-GNU ld that we prefer.
18579 case `"$acl_cv_path_LD" -v 2>&1 < /dev
/null
` in
18580 *GNU* | *'with BFD'*)
18581 test "$with_gnu_ld" != no && break ;;
18583 test "$with_gnu_ld" != yes && break ;;
18589 acl_cv_path_LD="$LD" # Let the user override the test with a path.
18593 LD="$acl_cv_path_LD"
18594 if test -n "$LD"; then
18595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
18596 $as_echo "$LD" >&6; }
18598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18599 $as_echo "no" >&6; }
18601 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
18602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
18603 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
18604 if ${acl_cv_prog_gnu_ld+:} false; then :
18605 $as_echo_n "(cached) " >&6
18607 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
18608 case `$LD -v 2>&1 </dev
/null
` in
18609 *GNU* | *'with BFD'*)
18610 acl_cv_prog_gnu_ld=yes ;;
18612 acl_cv_prog_gnu_ld=no ;;
18615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
18616 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
18617 with_gnu_ld=$acl_cv_prog_gnu_ld
18622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
18623 $as_echo_n "checking for shared library run path origin... " >&6; }
18624 if ${acl_cv_rpath+:} false; then :
18625 $as_echo_n "(cached) " >&6
18628 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
18629 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
18631 rm -f ./conftest.sh
18635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
18636 $as_echo "$acl_cv_rpath" >&6; }
18638 acl_libext="$acl_cv_libext"
18639 acl_shlibext="$acl_cv_shlibext"
18640 acl_libname_spec="$acl_cv_libname_spec"
18641 acl_library_names_spec="$acl_cv_library_names_spec"
18642 acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
18643 acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
18644 acl_hardcode_direct="$acl_cv_hardcode_direct"
18645 acl_hardcode_minus_L="$acl_cv_hardcode_minus_L"
18646 # Check whether --enable-rpath was given.
18647 if test "${enable_rpath+set}" = set; then :
18648 enableval=$enable_rpath; :
18660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 64-bit host" >&5
18661 $as_echo_n "checking for 64-bit host... " >&6; }
18662 if ${gl_cv_solaris_64bit+:} false; then :
18663 $as_echo_n "(cached) " >&6
18665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18666 /* end confdefs.h. */
18673 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18674 $EGREP "sixtyfour bits" >/dev/null 2>&1; then :
18675 gl_cv_solaris_64bit=yes
18677 gl_cv_solaris_64bit=no
18683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_solaris_64bit" >&5
18684 $as_echo "$gl_cv_solaris_64bit" >&6; }
18685 if test $gl_cv_solaris_64bit = yes; then
18686 acl_libdirstem=lib/64
18687 case "$host_cpu" in
18688 sparc*) acl_libdirstem2=lib/sparcv9 ;;
18689 i*86 | x86_64) acl_libdirstem2=lib/amd64 ;;
18694 searchpath=`(LC_ALL
=C
$CC -print-search-dirs) 2>/dev
/null
| sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
18695 if test -n "$searchpath"; then
18696 acl_save_IFS="${IFS= }"; IFS=":"
18697 for searchdir in $searchpath; do
18698 if test -d "$searchdir"; then
18699 case "$searchdir" in
18700 */lib64/ | */lib64 ) acl_libdirstem=lib64 ;;
18702 # Better ignore directories of this form. They are misleading.
18704 *) searchdir=`cd "$searchdir" && pwd`
18705 case "$searchdir" in
18706 */lib64 ) acl_libdirstem=lib64 ;;
18711 IFS="$acl_save_IFS"
18715 test -n "$acl_libdirstem2" || acl_libdirstem2="$acl_libdirstem"
18730 acl_save_prefix="$prefix"
18731 prefix="$acl_final_prefix"
18732 acl_save_exec_prefix="$exec_prefix"
18733 exec_prefix="$acl_final_exec_prefix"
18735 eval additional_includedir=\"$includedir\"
18736 eval additional_libdir=\"$libdir\"
18738 exec_prefix="$acl_save_exec_prefix"
18739 prefix="$acl_save_prefix"
18742 # Check whether --with-libiconv-prefix was given.
18743 if test "${with_libiconv_prefix+set}" = set; then :
18744 withval=$with_libiconv_prefix;
18745 if test "X$withval" = "Xno"; then
18748 if test "X$withval" = "X"; then
18750 acl_save_prefix="$prefix"
18751 prefix="$acl_final_prefix"
18752 acl_save_exec_prefix="$exec_prefix"
18753 exec_prefix="$acl_final_exec_prefix"
18755 eval additional_includedir=\"$includedir\"
18756 eval additional_libdir=\"$libdir\"
18758 exec_prefix="$acl_save_exec_prefix"
18759 prefix="$acl_save_prefix"
18762 additional_includedir="$withval/include"
18763 additional_libdir="$withval/$acl_libdirstem"
18764 if test "$acl_libdirstem2" != "$acl_libdirstem" \
18765 && ! test -d "$withval/$acl_libdirstem"; then
18766 additional_libdir="$withval/$acl_libdirstem2"
18780 names_already_handled=
18781 names_next_round='iconv '
18782 while test -n "$names_next_round"; do
18783 names_this_round="$names_next_round"
18785 for name in $names_this_round; do
18787 for n in $names_already_handled; do
18788 if test "$n" = "$name"; then
18789 already_handled=yes
18793 if test -z "$already_handled"; then
18794 names_already_handled="$names_already_handled $name"
18795 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
18796 eval value=\"\$HAVE_LIB$uppername\"
18797 if test -n "$value"; then
18798 if test "$value" = yes; then
18799 eval value=\"\$LIB$uppername\"
18800 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
18801 eval value=\"\$LTLIB$uppername\"
18802 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
18811 eval libname=\"$acl_libname_spec\" # typically: libname=lib$name
18812 if test -n "$acl_shlibext"; then
18813 shrext=".$acl_shlibext" # typically: shrext=.so
18817 if test $use_additional = yes; then
18818 dir="$additional_libdir"
18819 if test -n "$acl_shlibext"; then
18820 if test -f "$dir/$libname$shrext"; then
18822 found_so="$dir/$libname$shrext"
18824 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
18825 ver=`(cd "$dir" && \
18826 for f
in "$libname$shrext".
*; do echo "$f"; done \
18827 | sed -e "s,^$libname$shrext\\\\.,," \
18828 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
18829 | sed 1q
) 2>/dev
/null
`
18830 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
18832 found_so="$dir/$libname$shrext.$ver"
18835 eval library_names=\"$acl_library_names_spec\"
18836 for f in $library_names; do
18837 if test -f "$dir/$f"; then
18846 if test "X$found_dir" = "X"; then
18847 if test -f "$dir/$libname.$acl_libext"; then
18849 found_a="$dir/$libname.$acl_libext"
18852 if test "X$found_dir" != "X"; then
18853 if test -f "$dir/$libname.la"; then
18854 found_la="$dir/$libname.la"
18858 if test "X$found_dir" = "X"; then
18859 for x in $LDFLAGS $LTLIBICONV; do
18861 acl_save_prefix="$prefix"
18862 prefix="$acl_final_prefix"
18863 acl_save_exec_prefix="$exec_prefix"
18864 exec_prefix="$acl_final_exec_prefix"
18866 exec_prefix="$acl_save_exec_prefix"
18867 prefix="$acl_save_prefix"
18871 dir=`echo "X$x" | sed -e 's/^X-L//'`
18872 if test -n "$acl_shlibext"; then
18873 if test -f "$dir/$libname$shrext"; then
18875 found_so="$dir/$libname$shrext"
18877 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
18878 ver=`(cd "$dir" && \
18879 for f
in "$libname$shrext".
*; do echo "$f"; done \
18880 | sed -e "s,^$libname$shrext\\\\.,," \
18881 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
18882 | sed 1q
) 2>/dev
/null
`
18883 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
18885 found_so="$dir/$libname$shrext.$ver"
18888 eval library_names=\"$acl_library_names_spec\"
18889 for f in $library_names; do
18890 if test -f "$dir/$f"; then
18899 if test "X$found_dir" = "X"; then
18900 if test -f "$dir/$libname.$acl_libext"; then
18902 found_a="$dir/$libname.$acl_libext"
18905 if test "X$found_dir" != "X"; then
18906 if test -f "$dir/$libname.la"; then
18907 found_la="$dir/$libname.la"
18912 if test "X$found_dir" != "X"; then
18917 if test "X$found_dir" != "X"; then
18918 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
18919 if test "X$found_so" != "X"; then
18920 if test "$enable_rpath" = no \
18921 || test "X$found_dir" = "X/usr/$acl_libdirstem" \
18922 || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then
18923 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
18926 for x in $ltrpathdirs; do
18927 if test "X$x" = "X$found_dir"; then
18932 if test -z "$haveit"; then
18933 ltrpathdirs="$ltrpathdirs $found_dir"
18935 if test "$acl_hardcode_direct" = yes; then
18936 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
18938 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
18939 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
18941 for x in $rpathdirs; do
18942 if test "X$x" = "X$found_dir"; then
18947 if test -z "$haveit"; then
18948 rpathdirs="$rpathdirs $found_dir"
18952 for x in $LDFLAGS $LIBICONV; do
18954 acl_save_prefix="$prefix"
18955 prefix="$acl_final_prefix"
18956 acl_save_exec_prefix="$exec_prefix"
18957 exec_prefix="$acl_final_exec_prefix"
18959 exec_prefix="$acl_save_exec_prefix"
18960 prefix="$acl_save_prefix"
18962 if test "X$x" = "X-L$found_dir"; then
18967 if test -z "$haveit"; then
18968 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
18970 if test "$acl_hardcode_minus_L" != no; then
18971 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
18973 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
18979 if test "X$found_a" != "X"; then
18980 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
18982 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
18985 additional_includedir=
18986 case "$found_dir" in
18987 */$acl_libdirstem | */$acl_libdirstem/)
18988 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
18989 if test "$name" = 'iconv'; then
18990 LIBICONV_PREFIX="$basedir"
18992 additional_includedir="$basedir/include"
18994 */$acl_libdirstem2 | */$acl_libdirstem2/)
18995 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
18996 if test "$name" = 'iconv'; then
18997 LIBICONV_PREFIX="$basedir"
18999 additional_includedir="$basedir/include"
19002 if test "X$additional_includedir" != "X"; then
19003 if test "X$additional_includedir" != "X/usr/include"; then
19005 if test "X$additional_includedir" = "X/usr/local/include"; then
19006 if test -n "$GCC"; then
19008 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
19012 if test -z "$haveit"; then
19013 for x in $CPPFLAGS $INCICONV; do
19015 acl_save_prefix="$prefix"
19016 prefix="$acl_final_prefix"
19017 acl_save_exec_prefix="$exec_prefix"
19018 exec_prefix="$acl_final_exec_prefix"
19020 exec_prefix="$acl_save_exec_prefix"
19021 prefix="$acl_save_prefix"
19023 if test "X$x" = "X-I$additional_includedir"; then
19028 if test -z "$haveit"; then
19029 if test -d "$additional_includedir"; then
19030 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
19036 if test -n "$found_la"; then
19037 save_libdir="$libdir"
19038 case "$found_la" in
19039 */* | *\\*) . "$found_la" ;;
19040 *) . "./$found_la" ;;
19042 libdir="$save_libdir"
19043 for dep in $dependency_libs; do
19046 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
19047 if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \
19048 && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then
19050 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \
19051 || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then
19052 if test -n "$GCC"; then
19054 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
19058 if test -z "$haveit"; then
19060 for x in $LDFLAGS $LIBICONV; do
19062 acl_save_prefix="$prefix"
19063 prefix="$acl_final_prefix"
19064 acl_save_exec_prefix="$exec_prefix"
19065 exec_prefix="$acl_final_exec_prefix"
19067 exec_prefix="$acl_save_exec_prefix"
19068 prefix="$acl_save_prefix"
19070 if test "X$x" = "X-L$additional_libdir"; then
19075 if test -z "$haveit"; then
19076 if test -d "$additional_libdir"; then
19077 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
19081 for x in $LDFLAGS $LTLIBICONV; do
19083 acl_save_prefix="$prefix"
19084 prefix="$acl_final_prefix"
19085 acl_save_exec_prefix="$exec_prefix"
19086 exec_prefix="$acl_final_exec_prefix"
19088 exec_prefix="$acl_save_exec_prefix"
19089 prefix="$acl_save_prefix"
19091 if test "X$x" = "X-L$additional_libdir"; then
19096 if test -z "$haveit"; then
19097 if test -d "$additional_libdir"; then
19098 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
19105 dir=`echo "X$dep" | sed -e 's/^X-R//'`
19106 if test "$enable_rpath" != no; then
19108 for x in $rpathdirs; do
19109 if test "X$x" = "X$dir"; then
19114 if test -z "$haveit"; then
19115 rpathdirs="$rpathdirs $dir"
19118 for x in $ltrpathdirs; do
19119 if test "X$x" = "X$dir"; then
19124 if test -z "$haveit"; then
19125 ltrpathdirs="$ltrpathdirs $dir"
19130 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
19133 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
19136 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
19137 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
19143 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
19144 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
19150 if test "X$rpathdirs" != "X"; then
19151 if test -n "$acl_hardcode_libdir_separator"; then
19153 for found_dir in $rpathdirs; do
19154 alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
19156 acl_save_libdir="$libdir"
19158 eval flag=\"$acl_hardcode_libdir_flag_spec\"
19159 libdir="$acl_save_libdir"
19160 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
19162 for found_dir in $rpathdirs; do
19163 acl_save_libdir="$libdir"
19164 libdir="$found_dir"
19165 eval flag=\"$acl_hardcode_libdir_flag_spec\"
19166 libdir="$acl_save_libdir"
19167 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
19171 if test "X$ltrpathdirs" != "X"; then
19172 for found_dir in $ltrpathdirs; do
19173 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
19188 am_save_CPPFLAGS="$CPPFLAGS"
19190 for element in $INCICONV; do
19192 for x in $CPPFLAGS; do
19194 acl_save_prefix="$prefix"
19195 prefix="$acl_final_prefix"
19196 acl_save_exec_prefix="$exec_prefix"
19197 exec_prefix="$acl_final_exec_prefix"
19199 exec_prefix="$acl_save_exec_prefix"
19200 prefix="$acl_save_prefix"
19202 if test "X$x" = "X$element"; then
19207 if test -z "$haveit"; then
19208 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
19213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
19214 $as_echo_n "checking for iconv... " >&6; }
19215 if ${am_cv_func_iconv+:} false; then :
19216 $as_echo_n "(cached) " >&6
19219 am_cv_func_iconv="no, consider installing GNU libiconv"
19221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19222 /* end confdefs.h. */
19223 #include <stdlib.h>
19228 iconv_t cd = iconv_open("","");
19229 iconv(cd,NULL,NULL,NULL,NULL);
19235 if ac_fn_c_try_link "$LINENO"; then :
19236 am_cv_func_iconv=yes
19238 rm -f core conftest.err conftest.$ac_objext \
19239 conftest$ac_exeext conftest.$ac_ext
19240 if test "$am_cv_func_iconv" != yes; then
19241 am_save_LIBS="$LIBS"
19242 LIBS="$LIBS $LIBICONV"
19243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19244 /* end confdefs.h. */
19245 #include <stdlib.h>
19250 iconv_t cd = iconv_open("","");
19251 iconv(cd,NULL,NULL,NULL,NULL);
19257 if ac_fn_c_try_link "$LINENO"; then :
19258 am_cv_lib_iconv=yes
19259 am_cv_func_iconv=yes
19261 rm -f core conftest.err conftest.$ac_objext \
19262 conftest$ac_exeext conftest.$ac_ext
19263 LIBS="$am_save_LIBS"
19267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
19268 $as_echo "$am_cv_func_iconv" >&6; }
19269 if test "$am_cv_func_iconv" = yes; then
19270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5
19271 $as_echo_n "checking for working iconv... " >&6; }
19272 if ${am_cv_func_iconv_works+:} false; then :
19273 $as_echo_n "(cached) " >&6
19276 am_save_LIBS="$LIBS"
19277 if test $am_cv_lib_iconv = yes; then
19278 LIBS="$LIBS $LIBICONV"
19280 if test "$cross_compiling" = yes; then :
19282 aix* | hpux*) am_cv_func_iconv_works="guessing no" ;;
19283 *) am_cv_func_iconv_works="guessing yes" ;;
19286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19287 /* end confdefs.h. */
19290 #include <string.h>
19293 /* Test against AIX 5.1 bug: Failures are not distinguishable from successful
19296 iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8");
19297 if (cd_utf8_to_88591 != (iconv_t)(-1))
19299 static const char input[] = "\342\202\254"; /* EURO SIGN */
19301 const char *inptr = input;
19302 size_t inbytesleft = strlen (input);
19303 char *outptr = buf;
19304 size_t outbytesleft = sizeof (buf);
19305 size_t res = iconv (cd_utf8_to_88591,
19306 (char **) &inptr, &inbytesleft,
19307 &outptr, &outbytesleft);
19312 /* Test against Solaris 10 bug: Failures are not distinguishable from
19313 successful returns. */
19315 iconv_t cd_ascii_to_88591 = iconv_open ("ISO8859-1", "646");
19316 if (cd_ascii_to_88591 != (iconv_t)(-1))
19318 static const char input[] = "\263";
19320 const char *inptr = input;
19321 size_t inbytesleft = strlen (input);
19322 char *outptr = buf;
19323 size_t outbytesleft = sizeof (buf);
19324 size_t res = iconv (cd_ascii_to_88591,
19325 (char **) &inptr, &inbytesleft,
19326 &outptr, &outbytesleft);
19331 #if 0 /* This bug could be worked around by the caller. */
19332 /* Test against HP-UX 11.11 bug: Positive return value instead of 0. */
19334 iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591");
19335 if (cd_88591_to_utf8 != (iconv_t)(-1))
19337 static const char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337";
19339 const char *inptr = input;
19340 size_t inbytesleft = strlen (input);
19341 char *outptr = buf;
19342 size_t outbytesleft = sizeof (buf);
19343 size_t res = iconv (cd_88591_to_utf8,
19344 (char **) &inptr, &inbytesleft,
19345 &outptr, &outbytesleft);
19351 /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is
19353 if (/* Try standardized names. */
19354 iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1)
19355 /* Try IRIX, OSF/1 names. */
19356 && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1)
19357 /* Try AIX names. */
19358 && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1)
19359 /* Try HP-UX names. */
19360 && iconv_open ("utf8", "eucJP") == (iconv_t)(-1))
19365 if ac_fn_c_try_run "$LINENO"; then :
19366 am_cv_func_iconv_works=yes
19368 am_cv_func_iconv_works=no
19370 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
19371 conftest.$ac_objext conftest.beam conftest.$ac_ext
19374 LIBS="$am_save_LIBS"
19377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5
19378 $as_echo "$am_cv_func_iconv_works" >&6; }
19379 case "$am_cv_func_iconv_works" in
19380 *no) am_func_iconv=no am_cv_lib_iconv=no ;;
19381 *) am_func_iconv=yes ;;
19384 am_func_iconv=no am_cv_lib_iconv=no
19386 if test "$am_func_iconv" = yes; then
19388 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
19391 if test "$am_cv_lib_iconv" = yes; then
19392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
19393 $as_echo_n "checking how to link with libiconv... " >&6; }
19394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
19395 $as_echo "$LIBICONV" >&6; }
19397 CPPFLAGS="$am_save_CPPFLAGS"
19404 if test "$am_cv_func_iconv" = yes; then
19405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
19406 $as_echo_n "checking for iconv declaration... " >&6; }
19407 if ${am_cv_proto_iconv+:} false; then :
19408 $as_echo_n "(cached) " >&6
19411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19412 /* end confdefs.h. */
19414 #include <stdlib.h>
19420 #if defined(__STDC__) || defined(__cplusplus)
19421 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
19434 if ac_fn_c_try_compile "$LINENO"; then :
19435 am_cv_proto_iconv_arg1=""
19437 am_cv_proto_iconv_arg1="const"
19439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19440 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);"
19443 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
19444 { $as_echo "$as_me:${as_lineno-$LINENO}: result:
19445 $am_cv_proto_iconv" >&5
19447 $am_cv_proto_iconv" >&6; }
19449 cat >>confdefs.h <<_ACEOF
19450 #define ICONV_CONST $am_cv_proto_iconv_arg1
19455 case $am_cv_func_iconv in #(
19460 for cy_iconv_prefix_arg in $CFLAGS $CXXFLAGS $OBJCXXFLAGS $LDFLAGS $LIBS; do
19461 case $cy_iconv_prefix_arg in #(
19465 for element in `echo $cy_iconv_prefix_arg | sed -e 's/^-I//;s|/include$||'`; do
19467 for x in $cy_iconv_prefixes; do
19469 acl_save_prefix="$prefix"
19470 prefix="$acl_final_prefix"
19471 acl_save_exec_prefix="$exec_prefix"
19472 exec_prefix="$acl_final_exec_prefix"
19474 exec_prefix="$acl_save_exec_prefix"
19475 prefix="$acl_save_prefix"
19477 if test "X$x" = "X$element"; then
19482 if test -z "$haveit"; then
19483 cy_iconv_prefixes="${cy_iconv_prefixes}${cy_iconv_prefixes:+ }$element"
19491 for element in `echo $cy_iconv_prefix_arg | sed -e 's/^-L//;s|/lib$||'`; do
19493 for x in $cy_iconv_prefixes; do
19495 acl_save_prefix="$prefix"
19496 prefix="$acl_final_prefix"
19497 acl_save_exec_prefix="$exec_prefix"
19498 exec_prefix="$acl_final_exec_prefix"
19500 exec_prefix="$acl_save_exec_prefix"
19501 prefix="$acl_save_prefix"
19503 if test "X$x" = "X$element"; then
19508 if test -z "$haveit"; then
19509 cy_iconv_prefixes="${cy_iconv_prefixes}${cy_iconv_prefixes:+ }$element"
19518 for with_libiconv_prefix in $cy_iconv_prefixes; do
19519 { am_cv_func_iconv=; unset am_cv_func_iconv;}
19533 acl_save_prefix="$prefix"
19534 prefix="$acl_final_prefix"
19535 acl_save_exec_prefix="$exec_prefix"
19536 exec_prefix="$acl_final_exec_prefix"
19538 eval additional_includedir=\"$includedir\"
19539 eval additional_libdir=\"$libdir\"
19541 exec_prefix="$acl_save_exec_prefix"
19542 prefix="$acl_save_prefix"
19545 # Check whether --with-libiconv-prefix was given.
19546 if test "${with_libiconv_prefix+set}" = set; then :
19547 withval=$with_libiconv_prefix;
19548 if test "X$withval" = "Xno"; then
19551 if test "X$withval" = "X"; then
19553 acl_save_prefix="$prefix"
19554 prefix="$acl_final_prefix"
19555 acl_save_exec_prefix="$exec_prefix"
19556 exec_prefix="$acl_final_exec_prefix"
19558 eval additional_includedir=\"$includedir\"
19559 eval additional_libdir=\"$libdir\"
19561 exec_prefix="$acl_save_exec_prefix"
19562 prefix="$acl_save_prefix"
19565 additional_includedir="$withval/include"
19566 additional_libdir="$withval/$acl_libdirstem"
19567 if test "$acl_libdirstem2" != "$acl_libdirstem" \
19568 && ! test -d "$withval/$acl_libdirstem"; then
19569 additional_libdir="$withval/$acl_libdirstem2"
19583 names_already_handled=
19584 names_next_round='iconv '
19585 while test -n "$names_next_round"; do
19586 names_this_round="$names_next_round"
19588 for name in $names_this_round; do
19590 for n in $names_already_handled; do
19591 if test "$n" = "$name"; then
19592 already_handled=yes
19596 if test -z "$already_handled"; then
19597 names_already_handled="$names_already_handled $name"
19598 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
19599 eval value=\"\$HAVE_LIB$uppername\"
19600 if test -n "$value"; then
19601 if test "$value" = yes; then
19602 eval value=\"\$LIB$uppername\"
19603 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
19604 eval value=\"\$LTLIB$uppername\"
19605 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
19614 eval libname=\"$acl_libname_spec\" # typically: libname=lib$name
19615 if test -n "$acl_shlibext"; then
19616 shrext=".$acl_shlibext" # typically: shrext=.so
19620 if test $use_additional = yes; then
19621 dir="$additional_libdir"
19622 if test -n "$acl_shlibext"; then
19623 if test -f "$dir/$libname$shrext"; then
19625 found_so="$dir/$libname$shrext"
19627 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
19628 ver=`(cd "$dir" && \
19629 for f
in "$libname$shrext".
*; do echo "$f"; done \
19630 | sed -e "s,^$libname$shrext\\\\.,," \
19631 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
19632 | sed 1q
) 2>/dev
/null
`
19633 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
19635 found_so="$dir/$libname$shrext.$ver"
19638 eval library_names=\"$acl_library_names_spec\"
19639 for f in $library_names; do
19640 if test -f "$dir/$f"; then
19649 if test "X$found_dir" = "X"; then
19650 if test -f "$dir/$libname.$acl_libext"; then
19652 found_a="$dir/$libname.$acl_libext"
19655 if test "X$found_dir" != "X"; then
19656 if test -f "$dir/$libname.la"; then
19657 found_la="$dir/$libname.la"
19661 if test "X$found_dir" = "X"; then
19662 for x in $LDFLAGS $LTLIBICONV; do
19664 acl_save_prefix="$prefix"
19665 prefix="$acl_final_prefix"
19666 acl_save_exec_prefix="$exec_prefix"
19667 exec_prefix="$acl_final_exec_prefix"
19669 exec_prefix="$acl_save_exec_prefix"
19670 prefix="$acl_save_prefix"
19674 dir=`echo "X$x" | sed -e 's/^X-L//'`
19675 if test -n "$acl_shlibext"; then
19676 if test -f "$dir/$libname$shrext"; then
19678 found_so="$dir/$libname$shrext"
19680 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
19681 ver=`(cd "$dir" && \
19682 for f
in "$libname$shrext".
*; do echo "$f"; done \
19683 | sed -e "s,^$libname$shrext\\\\.,," \
19684 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
19685 | sed 1q
) 2>/dev
/null
`
19686 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
19688 found_so="$dir/$libname$shrext.$ver"
19691 eval library_names=\"$acl_library_names_spec\"
19692 for f in $library_names; do
19693 if test -f "$dir/$f"; then
19702 if test "X$found_dir" = "X"; then
19703 if test -f "$dir/$libname.$acl_libext"; then
19705 found_a="$dir/$libname.$acl_libext"
19708 if test "X$found_dir" != "X"; then
19709 if test -f "$dir/$libname.la"; then
19710 found_la="$dir/$libname.la"
19715 if test "X$found_dir" != "X"; then
19720 if test "X$found_dir" != "X"; then
19721 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
19722 if test "X$found_so" != "X"; then
19723 if test "$enable_rpath" = no \
19724 || test "X$found_dir" = "X/usr/$acl_libdirstem" \
19725 || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then
19726 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
19729 for x in $ltrpathdirs; do
19730 if test "X$x" = "X$found_dir"; then
19735 if test -z "$haveit"; then
19736 ltrpathdirs="$ltrpathdirs $found_dir"
19738 if test "$acl_hardcode_direct" = yes; then
19739 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
19741 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
19742 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
19744 for x in $rpathdirs; do
19745 if test "X$x" = "X$found_dir"; then
19750 if test -z "$haveit"; then
19751 rpathdirs="$rpathdirs $found_dir"
19755 for x in $LDFLAGS $LIBICONV; do
19757 acl_save_prefix="$prefix"
19758 prefix="$acl_final_prefix"
19759 acl_save_exec_prefix="$exec_prefix"
19760 exec_prefix="$acl_final_exec_prefix"
19762 exec_prefix="$acl_save_exec_prefix"
19763 prefix="$acl_save_prefix"
19765 if test "X$x" = "X-L$found_dir"; then
19770 if test -z "$haveit"; then
19771 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
19773 if test "$acl_hardcode_minus_L" != no; then
19774 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
19776 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
19782 if test "X$found_a" != "X"; then
19783 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
19785 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
19788 additional_includedir=
19789 case "$found_dir" in
19790 */$acl_libdirstem | */$acl_libdirstem/)
19791 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
19792 if test "$name" = 'iconv'; then
19793 LIBICONV_PREFIX="$basedir"
19795 additional_includedir="$basedir/include"
19797 */$acl_libdirstem2 | */$acl_libdirstem2/)
19798 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
19799 if test "$name" = 'iconv'; then
19800 LIBICONV_PREFIX="$basedir"
19802 additional_includedir="$basedir/include"
19805 if test "X$additional_includedir" != "X"; then
19806 if test "X$additional_includedir" != "X/usr/include"; then
19808 if test "X$additional_includedir" = "X/usr/local/include"; then
19809 if test -n "$GCC"; then
19811 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
19815 if test -z "$haveit"; then
19816 for x in $CPPFLAGS $INCICONV; do
19818 acl_save_prefix="$prefix"
19819 prefix="$acl_final_prefix"
19820 acl_save_exec_prefix="$exec_prefix"
19821 exec_prefix="$acl_final_exec_prefix"
19823 exec_prefix="$acl_save_exec_prefix"
19824 prefix="$acl_save_prefix"
19826 if test "X$x" = "X-I$additional_includedir"; then
19831 if test -z "$haveit"; then
19832 if test -d "$additional_includedir"; then
19833 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
19839 if test -n "$found_la"; then
19840 save_libdir="$libdir"
19841 case "$found_la" in
19842 */* | *\\*) . "$found_la" ;;
19843 *) . "./$found_la" ;;
19845 libdir="$save_libdir"
19846 for dep in $dependency_libs; do
19849 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
19850 if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \
19851 && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then
19853 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \
19854 || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then
19855 if test -n "$GCC"; then
19857 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
19861 if test -z "$haveit"; then
19863 for x in $LDFLAGS $LIBICONV; do
19865 acl_save_prefix="$prefix"
19866 prefix="$acl_final_prefix"
19867 acl_save_exec_prefix="$exec_prefix"
19868 exec_prefix="$acl_final_exec_prefix"
19870 exec_prefix="$acl_save_exec_prefix"
19871 prefix="$acl_save_prefix"
19873 if test "X$x" = "X-L$additional_libdir"; then
19878 if test -z "$haveit"; then
19879 if test -d "$additional_libdir"; then
19880 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
19884 for x in $LDFLAGS $LTLIBICONV; do
19886 acl_save_prefix="$prefix"
19887 prefix="$acl_final_prefix"
19888 acl_save_exec_prefix="$exec_prefix"
19889 exec_prefix="$acl_final_exec_prefix"
19891 exec_prefix="$acl_save_exec_prefix"
19892 prefix="$acl_save_prefix"
19894 if test "X$x" = "X-L$additional_libdir"; then
19899 if test -z "$haveit"; then
19900 if test -d "$additional_libdir"; then
19901 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
19908 dir=`echo "X$dep" | sed -e 's/^X-R//'`
19909 if test "$enable_rpath" != no; then
19911 for x in $rpathdirs; do
19912 if test "X$x" = "X$dir"; then
19917 if test -z "$haveit"; then
19918 rpathdirs="$rpathdirs $dir"
19921 for x in $ltrpathdirs; do
19922 if test "X$x" = "X$dir"; then
19927 if test -z "$haveit"; then
19928 ltrpathdirs="$ltrpathdirs $dir"
19933 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
19936 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
19939 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
19940 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
19946 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
19947 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
19953 if test "X$rpathdirs" != "X"; then
19954 if test -n "$acl_hardcode_libdir_separator"; then
19956 for found_dir in $rpathdirs; do
19957 alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
19959 acl_save_libdir="$libdir"
19961 eval flag=\"$acl_hardcode_libdir_flag_spec\"
19962 libdir="$acl_save_libdir"
19963 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
19965 for found_dir in $rpathdirs; do
19966 acl_save_libdir="$libdir"
19967 libdir="$found_dir"
19968 eval flag=\"$acl_hardcode_libdir_flag_spec\"
19969 libdir="$acl_save_libdir"
19970 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
19974 if test "X$ltrpathdirs" != "X"; then
19975 for found_dir in $ltrpathdirs; do
19976 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
19990 case $am_cv_func_iconv in #(
19994 as_fn_error $? "You need iconv" "$LINENO" 5 ;;
19997 ac_cpp='$CXXCPP $CPPFLAGS'
19998 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19999 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20000 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20004 if test "x$CY_OBJECTIVEC" = x1; then :
20006 ac_fn_cxx_check_header_mongrel "$LINENO" "mach/mach.h" "ac_cv_header_mach_mach_h" "$ac_includes_default"
20007 if test "x$ac_cv_header_mach_mach_h" = xyes; then :
20009 if test -n "$ac_tool_prefix"; then
20010 for ac_prog in otool
20012 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
20013 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
20014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20015 $as_echo_n "checking for $ac_word... " >&6; }
20016 if ${ac_cv_prog__OTOOL+:} false; then :
20017 $as_echo_n "(cached) " >&6
20019 if test -n "$_OTOOL"; then
20020 ac_cv_prog__OTOOL="$_OTOOL" # Let the user override the test.
20022 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20023 for as_dir in $PATH
20026 test -z "$as_dir" && as_dir=.
20027 for ac_exec_ext in '' $ac_executable_extensions; do
20028 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20029 ac_cv_prog__OTOOL="$ac_tool_prefix$ac_prog"
20030 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20039 _OTOOL=$ac_cv_prog__OTOOL
20040 if test -n "$_OTOOL"; then
20041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_OTOOL" >&5
20042 $as_echo "$_OTOOL" >&6; }
20044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20045 $as_echo "no" >&6; }
20049 test -n "$_OTOOL" && break
20052 if test -z "$_OTOOL"; then
20053 ac_ct__OTOOL=$_OTOOL
20054 for ac_prog in otool
20056 # Extract the first word of "$ac_prog", so it can be a program name with args.
20057 set dummy $ac_prog; ac_word=$2
20058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20059 $as_echo_n "checking for $ac_word... " >&6; }
20060 if ${ac_cv_prog_ac_ct__OTOOL+:} false; then :
20061 $as_echo_n "(cached) " >&6
20063 if test -n "$ac_ct__OTOOL"; then
20064 ac_cv_prog_ac_ct__OTOOL="$ac_ct__OTOOL" # Let the user override the test.
20066 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20067 for as_dir in $PATH
20070 test -z "$as_dir" && as_dir=.
20071 for ac_exec_ext in '' $ac_executable_extensions; do
20072 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20073 ac_cv_prog_ac_ct__OTOOL="$ac_prog"
20074 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20083 ac_ct__OTOOL=$ac_cv_prog_ac_ct__OTOOL
20084 if test -n "$ac_ct__OTOOL"; then
20085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct__OTOOL" >&5
20086 $as_echo "$ac_ct__OTOOL" >&6; }
20088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20089 $as_echo "no" >&6; }
20093 test -n "$ac_ct__OTOOL" && break
20096 if test "x$ac_ct__OTOOL" = x; then
20099 case $cross_compiling:$ac_tool_warned in
20101 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
20102 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
20103 ac_tool_warned=yes ;;
20105 _OTOOL=$ac_ct__OTOOL
20109 if test "x$_OTOOL" = x; then :
20110 as_fn_error $? "You need otool" "$LINENO" 5
20112 if test -n "$ac_tool_prefix"; then
20113 for ac_prog in lipo
20115 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
20116 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
20117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20118 $as_echo_n "checking for $ac_word... " >&6; }
20119 if ${ac_cv_prog__LIPO+:} false; then :
20120 $as_echo_n "(cached) " >&6
20122 if test -n "$_LIPO"; then
20123 ac_cv_prog__LIPO="$_LIPO" # Let the user override the test.
20125 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20126 for as_dir in $PATH
20129 test -z "$as_dir" && as_dir=.
20130 for ac_exec_ext in '' $ac_executable_extensions; do
20131 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20132 ac_cv_prog__LIPO="$ac_tool_prefix$ac_prog"
20133 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20142 _LIPO=$ac_cv_prog__LIPO
20143 if test -n "$_LIPO"; then
20144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_LIPO" >&5
20145 $as_echo "$_LIPO" >&6; }
20147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20148 $as_echo "no" >&6; }
20152 test -n "$_LIPO" && break
20155 if test -z "$_LIPO"; then
20157 for ac_prog in lipo
20159 # Extract the first word of "$ac_prog", so it can be a program name with args.
20160 set dummy $ac_prog; ac_word=$2
20161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20162 $as_echo_n "checking for $ac_word... " >&6; }
20163 if ${ac_cv_prog_ac_ct__LIPO+:} false; then :
20164 $as_echo_n "(cached) " >&6
20166 if test -n "$ac_ct__LIPO"; then
20167 ac_cv_prog_ac_ct__LIPO="$ac_ct__LIPO" # Let the user override the test.
20169 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20170 for as_dir in $PATH
20173 test -z "$as_dir" && as_dir=.
20174 for ac_exec_ext in '' $ac_executable_extensions; do
20175 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20176 ac_cv_prog_ac_ct__LIPO="$ac_prog"
20177 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20186 ac_ct__LIPO=$ac_cv_prog_ac_ct__LIPO
20187 if test -n "$ac_ct__LIPO"; then
20188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct__LIPO" >&5
20189 $as_echo "$ac_ct__LIPO" >&6; }
20191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20192 $as_echo "no" >&6; }
20196 test -n "$ac_ct__LIPO" && break
20199 if test "x$ac_ct__LIPO" = x; then
20202 case $cross_compiling:$ac_tool_warned in
20204 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
20205 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
20206 ac_tool_warned=yes ;;
20212 if test "x$_LIPO" = x; then :
20213 as_fn_error $? "You need lipo" "$LINENO" 5
20215 if test -n "$ac_tool_prefix"; then
20218 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
20219 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
20220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20221 $as_echo_n "checking for $ac_word... " >&6; }
20222 if ${ac_cv_prog__NM+:} false; then :
20223 $as_echo_n "(cached) " >&6
20225 if test -n "$_NM"; then
20226 ac_cv_prog__NM="$_NM" # Let the user override the test.
20228 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20229 for as_dir in $PATH
20232 test -z "$as_dir" && as_dir=.
20233 for ac_exec_ext in '' $ac_executable_extensions; do
20234 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20235 ac_cv_prog__NM="$ac_tool_prefix$ac_prog"
20236 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20245 _NM=$ac_cv_prog__NM
20246 if test -n "$_NM"; then
20247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_NM" >&5
20248 $as_echo "$_NM" >&6; }
20250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20251 $as_echo "no" >&6; }
20255 test -n "$_NM" && break
20258 if test -z "$_NM"; then
20262 # Extract the first word of "$ac_prog", so it can be a program name with args.
20263 set dummy $ac_prog; ac_word=$2
20264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20265 $as_echo_n "checking for $ac_word... " >&6; }
20266 if ${ac_cv_prog_ac_ct__NM+:} false; then :
20267 $as_echo_n "(cached) " >&6
20269 if test -n "$ac_ct__NM"; then
20270 ac_cv_prog_ac_ct__NM="$ac_ct__NM" # Let the user override the test.
20272 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20273 for as_dir in $PATH
20276 test -z "$as_dir" && as_dir=.
20277 for ac_exec_ext in '' $ac_executable_extensions; do
20278 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20279 ac_cv_prog_ac_ct__NM="$ac_prog"
20280 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20289 ac_ct__NM=$ac_cv_prog_ac_ct__NM
20290 if test -n "$ac_ct__NM"; then
20291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct__NM" >&5
20292 $as_echo "$ac_ct__NM" >&6; }
20294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20295 $as_echo "no" >&6; }
20299 test -n "$ac_ct__NM" && break
20302 if test "x$ac_ct__NM" = x; then
20305 case $cross_compiling:$ac_tool_warned in
20307 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
20308 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
20309 ac_tool_warned=yes ;;
20315 if test "x$_NM" = x; then :
20316 as_fn_error $? "You need nm" "$LINENO" 5
20318 CY_OBJECTIVEC_MACH=1
20320 CY_ATTACH_GROUP=procmod
20328 if test "x$GMAKE" != xmake; then :
20330 ac_config_files="$ac_config_files Makefile"
20334 ac_config_files="$ac_config_files GNUmakefile"
20336 cat >confcache <<\_ACEOF
20337 # This file is a shell script that caches the results of configure
20338 # tests run on this system so they can be shared between configure
20339 # scripts and configure runs, see configure's option --config-cache.
20340 # It is not useful on other systems. If it contains results you don't
20341 # want to keep, you may remove or edit it.
20343 # config.status only pays attention to the cache file if you give it
20344 # the --recheck option to rerun configure.
20346 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
20347 # loading this file, other *unset* `ac_cv_foo' will be assigned the
20348 # following values.
20352 # The following way of writing the cache mishandles newlines in values,
20353 # but we know of no workaround that is simple, portable, and efficient.
20354 # So, we kill variables containing newlines.
20355 # Ultrix sh set writes to stderr and can't be redirected directly,
20356 # and sets the high bit in the cache file unless we assign to the vars.
20358 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
20359 eval ac_val
=\$
$ac_var
20363 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
20364 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
20367 _
| IFS
| as_nl
) ;; #(
20368 BASH_ARGV
| BASH_SOURCE
) eval $ac_var= ;; #(
20369 *) { eval $ac_var=; unset $ac_var;} ;;
20375 case $as_nl`(ac_space=' '; set) 2>&1` in #(
20376 *${as_nl}ac_space
=\
*)
20377 # `set' does not quote correctly, so add quotes: double-quote
20378 # substitution turns \\\\ into \\, and sed turns \\ into \.
20381 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
20384 # `set' quotes correctly as required by POSIX, so do not add quotes.
20385 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
20394 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
20396 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
20398 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
20399 if test -w "$cache_file"; then
20400 if test "x$cache_file" != "x/dev/null"; then
20401 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
20402 $as_echo "$as_me: updating cache $cache_file" >&6;}
20403 if test ! -f "$cache_file" || test -h "$cache_file"; then
20404 cat confcache
>"$cache_file"
20406 case $cache_file in #(
20408 mv -f confcache
"$cache_file"$$
&&
20409 mv -f "$cache_file"$$
"$cache_file" ;; #(
20411 mv -f confcache
"$cache_file" ;;
20416 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
20417 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
20422 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
20423 # Let make expand exec_prefix.
20424 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
20426 # Transform confdefs.h into DEFS.
20427 # Protect against shell expansion while executing Makefile rules.
20428 # Protect against Makefile macro expansion.
20430 # If the first sed substitution is executed (which looks for macros that
20431 # take arguments), then branch to the quote section. Otherwise,
20432 # look for a macro that doesn't take arguments.
20442 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
20444 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
20448 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
20461 DEFS
=`sed -n "$ac_script" confdefs.h`
20467 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
20468 # 1. Remove the extension, and $U if already installed.
20469 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
20470 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
20471 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
20472 # will be set to the directory where LIBOBJS objects are built.
20473 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
20474 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
20476 LIBOBJS
=$ac_libobjs
20478 LTLIBOBJS
=$ac_ltlibobjs
20482 : "${CONFIG_STATUS=./config.status}"
20484 ac_clean_files_save
=$ac_clean_files
20485 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
20486 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
20487 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
20489 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
20491 # Generated by $as_me.
20492 # Run this file to recreate the current configuration.
20493 # Compiler output produced by configure, useful for debugging
20494 # configure, is in config.log if it exists.
20497 ac_cs_recheck=false
20500 SHELL=\${CONFIG_SHELL-$SHELL}
20503 cat >>$CONFIG_STATUS <<\_ASEOF
|| as_write_fail
=1
20504 ## -------------------- ##
20505 ## M4sh Initialization. ##
20506 ## -------------------- ##
20508 # Be more Bourne compatible
20509 DUALCASE
=1; export DUALCASE
# for MKS sh
20510 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
20513 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
20514 # is contrary to our usage. Disable this feature.
20515 alias -g '${1+"$@"}'='"$@"'
20516 setopt NO_GLOB_SUBST
20518 case `(set -o) 2>/dev/null` in #(
20530 # Printing a long string crashes Solaris 7 /usr/bin/printf.
20531 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
20532 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
20533 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
20534 # Prefer a ksh shell builtin over an external printf program on Solaris,
20535 # but without wasting forks for bash or zsh.
20536 if test -z "$BASH_VERSION$ZSH_VERSION" \
20537 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
20538 as_echo='print
-r --'
20539 as_echo_n='print
-rn --'
20540 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
20541 as_echo='printf %s
\n'
20542 as_echo_n='printf %s
'
20544 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
20545 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
20546 as_echo_n='/usr
/ucb
/echo -n'
20548 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
20549 as_echo_n_body='eval
20553 expr "X$arg" : "X\\(.*\\)$as_nl";
20554 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
20556 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
20558 export as_echo_n_body
20559 as_echo_n='sh
-c $as_echo_n_body as_echo
'
20561 export as_echo_body
20562 as_echo='sh
-c $as_echo_body as_echo
'
20565 # The user is always right.
20566 if test "${PATH_SEPARATOR+set}" != set; then
20568 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
20569 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
20576 # We need space, tab and new line, in precisely that order. Quoting is
20577 # there to prevent editors from complaining about space-tab.
20578 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
20579 # splitting by setting IFS to empty value.)
20582 # Find who we are. Look in the path if we contain no directory separator.
20585 *[\\/]* ) as_myself=$0 ;;
20586 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20587 for as_dir in $PATH
20590 test -z "$as_dir" && as_dir=.
20591 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
20597 # We did not find ourselves, most probably we were run as `sh COMMAND'
20598 # in which case we are not to be found in the path.
20599 if test "x$as_myself" = x
; then
20602 if test ! -f "$as_myself"; then
20603 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
20607 # Unset variables that we do not need and which cause bugs (e.g. in
20608 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
20609 # suppresses any "Segmentation fault" message there. '((' could
20610 # trigger a bug in pdksh 5.2.14.
20611 for as_var
in BASH_ENV ENV MAIL MAILPATH
20612 do eval test x\
${$as_var+set} = xset \
20613 && ( (unset $as_var) || exit 1) >/dev
/null
2>&1 && unset $as_var || :
20626 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
20629 # as_fn_error STATUS ERROR [LINENO LOG_FD]
20630 # ----------------------------------------
20631 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
20632 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
20633 # script with STATUS, using 1 if that was 0.
20636 as_status
=$1; test $as_status -eq 0 && as_status
=1
20638 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
20639 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
20641 $as_echo "$as_me: error: $2" >&2
20642 as_fn_exit
$as_status
20646 # as_fn_set_status STATUS
20647 # -----------------------
20648 # Set $? to STATUS, without forking.
20649 as_fn_set_status
()
20652 } # as_fn_set_status
20654 # as_fn_exit STATUS
20655 # -----------------
20656 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
20660 as_fn_set_status
$1
20666 # Portably unset VAR.
20669 { eval $1=; unset $1;}
20671 as_unset
=as_fn_unset
20672 # as_fn_append VAR VALUE
20673 # ----------------------
20674 # Append the text in VALUE to the end of the definition contained in VAR. Take
20675 # advantage of any shell optimizations that allow amortized linear growth over
20676 # repeated appends, instead of the typical quadratic growth present in naive
20678 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
20679 eval 'as_fn_append ()
20690 # as_fn_arith ARG...
20691 # ------------------
20692 # Perform arithmetic evaluation on the ARGs, and store the result in the
20693 # global $as_val. Take advantage of shells that can avoid forks. The arguments
20694 # must be portable across $(()) and expr.
20695 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
20696 eval 'as_fn_arith ()
20703 as_val
=`expr "$@" || test $? -eq 1`
20708 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
20709 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
20715 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
20716 as_basename
=basename
20721 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
20727 as_me
=`$as_basename -- "$0" ||
20728 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
20729 X"$0" : 'X\(//\)$' \| \
20730 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
20732 sed '/^.*\/\([^/][^/]*\)\/*$/{
20746 # Avoid depending upon Character Ranges.
20747 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
20748 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
20749 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
20750 as_cr_digits
='0123456789'
20751 as_cr_alnum
=$as_cr_Letters$as_cr_digits
20753 ECHO_C
= ECHO_N
= ECHO_T
=
20754 case `echo -n x` in #(((((
20756 case `echo 'xy\c'` in
20757 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
20759 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
20766 rm -f conf$$ conf$$.exe conf$$.
file
20767 if test -d conf$$.dir
; then
20768 rm -f conf$$.dir
/conf$$.
file
20771 mkdir conf$$.dir
2>/dev
/null
20773 if (echo >conf$$.
file) 2>/dev
/null
; then
20774 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
20776 # ... but there are two gotchas:
20777 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
20778 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
20779 # In both cases, we have to default to `cp -p'.
20780 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
20782 elif ln conf$$.
file conf$$
2>/dev
/null
; then
20790 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
20791 rmdir conf$$.dir
2>/dev
/null
20796 # Create "$as_dir" as a directory, including parents if necessary.
20801 -*) as_dir
=.
/$as_dir;;
20803 test -d "$as_dir" || eval $as_mkdir_p || {
20807 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
20808 *) as_qdir
=$as_dir;;
20810 as_dirs
="'$as_qdir' $as_dirs"
20811 as_dir
=`$as_dirname -- "$as_dir" ||
20812 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20813 X"$as_dir" : 'X\(//\)[^/]' \| \
20814 X"$as_dir" : 'X\(//\)$' \| \
20815 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
20816 $as_echo X"$as_dir" |
20817 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20821 /^X\(\/\/\)[^/].*/{
20834 test -d "$as_dir" && break
20836 test -z "$as_dirs" || eval "mkdir $as_dirs"
20837 } || test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
20841 if mkdir -p .
2>/dev
/null
; then
20842 as_mkdir_p
='mkdir -p "$as_dir"'
20844 test -d .
/-p && rmdir .
/-p
20848 if test -x / >/dev
/null
2>&1; then
20849 as_test_x
='test -x'
20851 if ls -dL / >/dev
/null
2>&1; then
20858 if test -d "$1"; then
20864 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
20865 ???[sx]*):;;*)false;;esac;fi
20869 as_executable_p
=$as_test_x
20871 # Sed expression to map a string onto a valid CPP name.
20872 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
20874 # Sed expression to map a string onto a valid variable name.
20875 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
20879 ## ----------------------------------- ##
20880 ## Main body of $CONFIG_STATUS script. ##
20881 ## ----------------------------------- ##
20883 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
20885 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
20886 # Save the log message, to keep $0 and so on meaningful, and to
20887 # report actual input values of CONFIG_FILES etc. instead of their
20888 # values after options handling.
20890 This file was extended by Cycript $as_me 0.9, which was
20891 generated by GNU Autoconf 2.68. Invocation command line was
20893 CONFIG_FILES = $CONFIG_FILES
20894 CONFIG_HEADERS = $CONFIG_HEADERS
20895 CONFIG_LINKS = $CONFIG_LINKS
20896 CONFIG_COMMANDS = $CONFIG_COMMANDS
20899 on `(hostname || uname -n) 2>/dev/null | sed 1q`
20904 case $ac_config_files in *"
20905 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
20910 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20911 # Files that config.status was made for.
20912 config_files="$ac_config_files"
20913 config_commands="$ac_config_commands"
20917 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
20919 \`$as_me' instantiates files and other configuration actions
20920 from templates according to the current configuration. Unless the files
20921 and actions are specified as TAGs, all are instantiated by default.
20923 Usage: $0 [OPTION]... [TAG]...
20925 -h, --help print this help, then exit
20926 -V, --version print version number and configuration settings, then exit
20927 --config print configuration, then exit
20928 -q, --quiet, --silent
20929 do not print progress messages
20930 -d, --debug don't remove temporary files
20931 --recheck update $as_me by reconfiguring in the same conditions
20932 --file=FILE[:TEMPLATE]
20933 instantiate the configuration file FILE
20935 Configuration files:
20938 Configuration commands:
20941 Report bugs to <saurik@saurik.com>.
20942 Cycript home page: <http://www.cycript.org/>."
20945 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20946 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
20948 Cycript config.status 0.9
20949 configured by $0, generated by GNU Autoconf 2.68,
20950 with options \\"\$ac_cs_config\\"
20952 Copyright (C) 2010 Free Software Foundation, Inc.
20953 This config.status script is free software; the Free Software Foundation
20954 gives unlimited permission to copy, distribute and modify it."
20959 test -n "\$AWK" || AWK=awk
20962 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
20963 # The default lists apply if the user does not specify any file.
20969 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
20970 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
20974 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
20986 # Handling of the options.
20987 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
20989 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
20990 $as_echo "$ac_cs_version"; exit ;;
20991 --config | --confi | --conf | --con | --co | --c )
20992 $as_echo "$ac_cs_config"; exit ;;
20993 --debug | --debu | --deb | --de | --d | -d )
20995 --file | --fil | --fi | --f )
20998 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
20999 '') as_fn_error $?
"missing file argument" ;;
21001 as_fn_append CONFIG_FILES
" '$ac_optarg'"
21002 ac_need_defaults
=false
;;
21003 --he | --h | --help | --hel | -h )
21004 $as_echo "$ac_cs_usage"; exit ;;
21005 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
21006 | -silent | --silent | --silen | --sile | --sil | --si | --s)
21009 # This is an error.
21010 -*) as_fn_error $?
"unrecognized option: \`$1'
21011 Try \`$0 --help' for more information." ;;
21013 *) as_fn_append ac_config_targets
" $1"
21014 ac_need_defaults
=false
;;
21020 ac_configure_extra_args
=
21022 if $ac_cs_silent; then
21024 ac_configure_extra_args
="$ac_configure_extra_args --silent"
21028 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21029 if \$ac_cs_recheck; then
21030 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
21032 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
21033 CONFIG_SHELL='$SHELL'
21034 export CONFIG_SHELL
21039 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
21043 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
21044 ## Running $as_me. ##
21050 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21056 # The HP-UX ksh and POSIX shell print the target directory to stdout
21057 # if CDPATH is set.
21058 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
21060 sed_quote_subst='$sed_quote_subst'
21061 double_quote_subst='$double_quote_subst'
21062 delay_variable_subst='$delay_variable_subst'
21063 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
21064 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
21065 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
21066 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
21067 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
21068 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
21069 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
21070 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
21071 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
21072 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
21073 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
21074 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
21075 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
21076 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
21077 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
21078 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
21079 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
21080 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
21081 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
21082 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
21083 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
21084 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
21085 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
21086 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
21087 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
21088 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
21089 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
21090 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
21091 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
21092 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
21093 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
21094 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
21095 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
21096 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
21097 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
21098 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
21099 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
21100 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
21101 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
21102 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
21103 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
21104 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
21105 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
21106 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
21107 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
21108 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
21109 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
21110 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
21111 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
21112 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
21113 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
21114 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
21115 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
21116 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
21117 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
21118 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"`'
21119 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
21120 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
21121 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
21122 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
21123 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
21124 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
21125 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
21126 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
21127 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
21128 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
21129 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
21130 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
21131 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
21132 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
21133 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
21134 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
21135 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
21136 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
21137 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
21138 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
21139 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
21140 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
21141 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
21142 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
21143 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
21144 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
21145 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
21146 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
21147 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
21148 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
21149 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
21150 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
21151 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
21152 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
21153 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
21154 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
21155 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
21156 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
21157 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
21158 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
21159 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
21160 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
21161 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
21162 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
21163 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
21164 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
21165 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
21166 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
21167 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
21168 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
21169 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
21170 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
21171 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
21172 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
21173 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
21174 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
21175 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
21176 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
21177 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
21178 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
21179 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
21180 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
21181 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
21182 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
21183 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
21184 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
21185 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
21186 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
21187 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
21188 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
21189 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
21190 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
21191 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
21192 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
21193 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
21194 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
21195 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
21196 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
21197 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
21198 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
21199 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
21200 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
21201 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21202 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21203 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
21204 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
21205 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
21206 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
21207 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
21208 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
21209 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
21210 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
21211 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
21212 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
21213 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
21214 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
21215 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21216 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21217 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21218 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21219 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21220 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21221 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
21222 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
21223 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
21224 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
21225 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
21226 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
21227 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
21228 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
21229 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
21230 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
21231 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
21232 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
21233 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
21234 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
21235 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21236 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
21237 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
21238 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21239 postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21240 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
21241 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
21242 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
21243 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
21244 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
21245 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
21246 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
21247 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
21250 LTCFLAGS='$LTCFLAGS'
21251 compiler='$compiler_DEFAULT'
21253 # A function that is used when there is no print builtin or printf.
21254 func_fallback_echo ()
21256 eval 'cat <<_LTECHO_EOF
21261 # Quote evaled strings.
21275 deplibs_check_method \
21280 sharedlib_from_linklib_cmd \
21283 archiver_list_spec \
21289 lt_cv_sys_global_symbol_pipe \
21290 lt_cv_sys_global_symbol_to_cdecl \
21291 lt_cv_sys_global_symbol_to_c_name_address \
21292 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
21293 nm_file_list_spec \
21294 lt_prog_compiler_no_builtin_flag \
21295 lt_prog_compiler_pic \
21296 lt_prog_compiler_wl \
21297 lt_prog_compiler_static \
21298 lt_cv_prog_compiler_c_o \
21307 export_dynamic_flag_spec \
21308 whole_archive_flag_spec \
21309 compiler_needs_object \
21311 allow_undefined_flag \
21312 no_undefined_flag \
21313 hardcode_libdir_flag_spec \
21314 hardcode_libdir_flag_spec_ld \
21315 hardcode_libdir_separator \
21319 variables_saved_for_relink \
21321 library_names_spec \
21323 install_override_mode \
21327 compiler_lib_search_dirs \
21332 compiler_lib_search_path \
21336 lt_prog_compiler_no_builtin_flag_CXX \
21337 lt_prog_compiler_pic_CXX \
21338 lt_prog_compiler_wl_CXX \
21339 lt_prog_compiler_static_CXX \
21340 lt_cv_prog_compiler_c_o_CXX \
21341 export_dynamic_flag_spec_CXX \
21342 whole_archive_flag_spec_CXX \
21343 compiler_needs_object_CXX \
21345 allow_undefined_flag_CXX \
21346 no_undefined_flag_CXX \
21347 hardcode_libdir_flag_spec_CXX \
21348 hardcode_libdir_flag_spec_ld_CXX \
21349 hardcode_libdir_separator_CXX \
21350 exclude_expsyms_CXX \
21351 include_expsyms_CXX \
21352 file_list_spec_CXX \
21353 compiler_lib_search_dirs_CXX \
21354 predep_objects_CXX \
21355 postdep_objects_CXX \
21358 compiler_lib_search_path_CXX; do
21359 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
21360 *[\\\\\\\`\\"\\\$]*)
21361 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
21364 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
21369 # Double-quote double-evaled strings.
21370 for var in reload_cmds \
21371 old_postinstall_cmds \
21372 old_postuninstall_cmds \
21374 extract_expsyms_cmds \
21375 old_archive_from_new_cmds \
21376 old_archive_from_expsyms_cmds \
21378 archive_expsym_cmds \
21380 module_expsym_cmds \
21381 export_symbols_cmds \
21385 postuninstall_cmds \
21387 sys_lib_search_path_spec \
21388 sys_lib_dlsearch_path_spec \
21390 old_archive_cmds_CXX \
21391 old_archive_from_new_cmds_CXX \
21392 old_archive_from_expsyms_cmds_CXX \
21394 archive_expsym_cmds_CXX \
21396 module_expsym_cmds_CXX \
21397 export_symbols_cmds_CXX \
21399 postlink_cmds_CXX; do
21400 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
21401 *[\\\\\\\`\\"\\\$]*)
21402 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
21405 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
21410 ac_aux_dir='$ac_aux_dir'
21411 xsi_shell='$xsi_shell'
21412 lt_shell_append='$lt_shell_append'
21414 # See if we are running on zsh, and set the options which allow our
21415 # commands through without removal of \ escapes INIT.
21416 if test -n "\${ZSH_VERSION+set}" ; then
21417 setopt NO_GLOB_SUBST
21423 TIMESTAMP='$TIMESTAMP'
21434 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
21436 # Handling of arguments.
21437 for ac_config_target
in $ac_config_targets
21439 case $ac_config_target in
21440 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
21441 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
21442 "GNUmakefile") CONFIG_FILES
="$CONFIG_FILES GNUmakefile" ;;
21444 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
21449 # If the user did not use the arguments to specify the items to instantiate,
21450 # then the envvar interface is used. Set only those that are not.
21451 # We use the long form for the default assignment because of an extremely
21452 # bizarre bug on SunOS 4.1.3.
21453 if $ac_need_defaults; then
21454 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
21455 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
21458 # Have a temporary directory for convenience. Make it in the build tree
21459 # simply because there is no reason against having it here, and in addition,
21460 # creating and moving files from /tmp can sometimes cause problems.
21461 # Hook for its removal unless debugging.
21462 # Note that there is a small window in which the directory will not be cleaned:
21463 # after its creation but before its name has been assigned to `$tmp'.
21467 trap 'exit_status=$?
21468 : "${ac_tmp:=$tmp}"
21469 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
21471 trap 'as_fn_exit 1' 1 2 13 15
21473 # Create a (secure) tmp directory for tmp files.
21476 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
21480 tmp
=.
/conf$$
-$RANDOM
21481 (umask 077 && mkdir "$tmp")
21482 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
21485 # Set up the scripts for CONFIG_FILES section.
21486 # No need to generate them if there are no CONFIG_FILES.
21487 # This happens for instance with `./config.status config.h'.
21488 if test -n "$CONFIG_FILES"; then
21491 ac_cr
=`echo X | tr X '\015'`
21492 # On cygwin, bash can eat \r inside `` if the user requested igncr.
21493 # But we know of no other shell where ac_cr would be empty at this
21494 # point, so we can use a bashism as a fallback.
21495 if test "x$ac_cr" = x
; then
21496 eval ac_cr
=\$
\'\\r
\'
21498 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
21499 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
21502 ac_cs_awk_cr
=$ac_cr
21505 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
21510 echo "cat >conf$$subs.awk <<_ACEOF" &&
21511 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
21513 } >conf$$subs.sh ||
21514 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
21515 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
21517 for ac_last_try in false false false false false :; do
21518 . ./conf$$subs.sh ||
21519 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
21521 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
21522 if test $ac_delim_n = $ac_delim_num; then
21524 elif $ac_last_try; then
21525 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
21527 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
21530 rm -f conf$$subs.sh
21532 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21533 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
21537 s/^/S["/; s
/!.
*/"]=/
21547 s/\(.\{148\}\)..*/\1/
21549 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
21554 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
21561 s/\(.\{148\}\)..*/\1/
21563 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
21567 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
21572 ' <conf$$subs.awk | sed '
21577 ' >>$CONFIG_STATUS || ac_write_fail=1
21578 rm -f conf$$subs.awk
21579 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21581 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
21582 for (key in S) S_is_set[key] = 1
21588 nfields = split(line, field, "@
")
21590 len = length(field[1])
21591 for (i = 2; i < nfields; i++) {
21593 keylen = length(key)
21594 if (S_is_set[key]) {
21596 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
21597 len += length(value) + length(field[++i])
21608 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21609 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
21610 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
21613 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
21614 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
21617 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
21618 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
21619 # trailing colons and then remove the whole line if VPATH becomes empty
21620 # (actually we leave an empty line to preserve line numbers).
21621 if test "x
$srcdir" = x.; then
21622 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
21640 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21641 fi # test -n "$CONFIG_FILES"
21644 eval set X " :F
$CONFIG_FILES :C
$CONFIG_COMMANDS"
21649 :[FHLC]) ac_mode=$ac_tag; continue;;
21651 case $ac_mode$ac_tag in
21653 :L* | :C*:*) as_fn_error $? "invalid tag \
`$ac_tag'" "$LINENO" 5;;
21654 :[FH]-) ac_tag=-:-;;
21655 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
21672 -) ac_f="$ac_tmp/stdin";;
21673 *) # Look for the file first in the build tree, then in the source tree
21674 # (if the path is not absolute). The absolute path cannot be DOS-style,
21675 # because $ac_f cannot contain `:'.
21679 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
21681 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
21683 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s
/'/'\\\\\\\\''/g
"`;; esac
21684 as_fn_append ac_file_inputs " '$ac_f'"
21687 # Let's still pretend it is `configure' which instantiates (i.e., don't
21688 # use $as_me), people would be surprised to read:
21689 # /* config.h. Generated by config.status. */
21690 configure_input='Generated from '`
21691 $as_echo "$
*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
21693 if test x"$ac_file" != x-; then
21694 configure_input="$ac_file.
$configure_input"
21695 { $as_echo "$as_me:${as_lineno-$LINENO}: creating
$ac_file" >&5
21696 $as_echo "$as_me: creating
$ac_file" >&6;}
21698 # Neutralize special characters interpreted by sed in replacement strings.
21699 case $configure_input in #(
21700 *\&* | *\|* | *\\* )
21701 ac_sed_conf_input=`$as_echo "$configure_input" |
21702 sed 's/[\\\\&|]/\\\\&/g'`;; #(
21703 *) ac_sed_conf_input=$configure_input;;
21707 *:-:* | *:-) cat >"$ac_tmp/stdin
" \
21708 || as_fn_error $? "could not create
$ac_file" "$LINENO" 5 ;;
21713 ac_dir=`$as_dirname -- "$ac_file" ||
21714 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21715 X"$ac_file" : 'X\(//\)[^/]' \| \
21716 X"$ac_file" : 'X\(//\)$' \| \
21717 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
21718 $as_echo X"$ac_file" |
21719 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21723 /^X\(\/\/\)[^/].*/{
21736 as_dir="$ac_dir"; as_fn_mkdir_p
21740 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
21742 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
21743 # A "..
" for each directory in $ac_dir_suffix.
21744 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
21745 case $ac_top_builddir_sub in
21746 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
21747 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
21750 ac_abs_top_builddir=$ac_pwd
21751 ac_abs_builddir=$ac_pwd$ac_dir_suffix
21752 # for backward compatibility:
21753 ac_top_builddir=$ac_top_build_prefix
21756 .) # We are building in place.
21758 ac_top_srcdir=$ac_top_builddir_sub
21759 ac_abs_top_srcdir=$ac_pwd ;;
21760 [\\/]* | ?:[\\/]* ) # Absolute name.
21761 ac_srcdir=$srcdir$ac_dir_suffix;
21762 ac_top_srcdir=$srcdir
21763 ac_abs_top_srcdir=$srcdir ;;
21764 *) # Relative name.
21765 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
21766 ac_top_srcdir=$ac_top_build_prefix$srcdir
21767 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
21769 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
21779 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
21780 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
21784 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21785 # If the template does not know about datarootdir, expand it.
21786 # FIXME: This hack should be removed a few years after 2.60.
21787 ac_datarootdir_hack=; ac_datarootdir_seen=
21798 case `eval "sed -n \"\
$ac_sed_dataroot\" $ac_file_inputs"` in
21799 *datarootdir*) ac_datarootdir_seen=yes;;
21800 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
21801 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&5
21802 $as_echo "$as_me: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&2;}
21804 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21805 ac_datarootdir_hack='
21806 s&@datadir@&$datadir&g
21807 s&@docdir@&$docdir&g
21808 s&@infodir@&$infodir&g
21809 s&@localedir@&$localedir&g
21810 s&@mandir@&$mandir&g
21811 s&\\\${datarootdir}&$datarootdir&g' ;;
21815 # Neutralize VPATH when `$srcdir' = `.'.
21816 # Shell code in configure.ac might set extrasub.
21817 # FIXME: do we really want to maintain this feature?
21818 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21819 ac_sed_extra="$ac_vpsub
21822 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
21824 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
21825 s
|@configure_input@
|$ac_sed_conf_input|;t t
21826 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
21827 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
21828 s
&@srcdir@
&$ac_srcdir&;t t
21829 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
21830 s
&@top_srcdir@
&$ac_top_srcdir&;t t
21831 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
21832 s
&@builddir@
&$ac_builddir&;t t
21833 s
&@abs_builddir@
&$ac_abs_builddir&;t t
21834 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
21835 s
&@INSTALL@
&$ac_INSTALL&;t t
21836 $ac_datarootdir_hack
21838 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
21839 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
21841 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
21842 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
21843 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
21844 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
21845 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
21846 which seems to be undefined. Please make sure it is defined" >&5
21847 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
21848 which seems to be undefined. Please make sure it is defined" >&2;}
21850 rm -f "$ac_tmp/stdin"
21852 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
21853 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
21855 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21859 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
21860 $as_echo "$as_me: executing $ac_file commands" >&6;}
21865 case $ac_file$ac_mode in
21868 # See if we are running on zsh, and set the options which allow our
21869 # commands through without removal of \ escapes.
21870 if test -n "${ZSH_VERSION+set}" ; then
21871 setopt NO_GLOB_SUBST
21874 cfgfile="${ofile}T"
21875 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
21878 cat <<_LT_EOF >> "$cfgfile"
21881 # `$ECHO "$ofile" | sed 's
%^.
*/%%'` - Provide generalized library-building support services.
21882 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
21883 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
21884 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
21886 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
21887 # 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
21889 # Written by Gordon Matzigkeit, 1996
21891 # This file is part of GNU Libtool.
21893 # GNU Libtool is free software; you can redistribute it and/or
21894 # modify it under the terms of the GNU General Public License as
21895 # published by the Free Software Foundation; either version 2 of
21896 # the License, or (at your option) any later version.
21898 # As a special exception to the GNU General Public License,
21899 # if you distribute this file as part of a program or library that
21900 # is built using GNU Libtool, you may include this file under the
21901 # same distribution terms that you use for the rest of that program.
21903 # GNU Libtool is distributed in the hope that it will be useful,
21904 # but WITHOUT ANY WARRANTY; without even the implied warranty of
21905 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21906 # GNU General Public License for more details.
21908 # You should have received a copy of the GNU General Public License
21909 # along with GNU Libtool; see the file COPYING. If not, a copy
21910 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
21911 # obtained by writing to the Free Software Foundation, Inc.,
21912 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
21915 # The names of the tagged configurations supported by this script.
21916 available_tags="CXX "
21918 # ### BEGIN LIBTOOL CONFIG
21920 # Which release of libtool.m4 was used?
21921 macro_version=$macro_version
21922 macro_revision=$macro_revision
21924 # Whether or not to build static libraries.
21925 build_old_libs=$enable_static
21927 # Whether or not to build shared libraries.
21928 build_libtool_libs=$enable_shared
21930 # What type of objects to build.
21933 # Whether or not to optimize for fast installation.
21934 fast_install=$enable_fast_install
21936 # Shell to use when invoking shell scripts.
21939 # An echo program that protects backslashes.
21943 host_alias=$host_alias
21947 # The build system.
21948 build_alias=$build_alias
21952 # A sed program that does not truncate output.
21955 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
21956 Xsed="\$SED -e 1s/^X//"
21958 # A grep program that handles long lines.
21964 # A literal string matcher.
21967 # A BSD- or MS-compatible name lister.
21970 # Whether we need soft or hard links.
21973 # What is the maximum length of a command?
21974 max_cmd_len=$max_cmd_len
21976 # Object file suffix (normally "o").
21979 # Executable file suffix (normally "").
21982 # whether the shell understands "unset".
21985 # turn spaces into newlines.
21988 # turn newlines into spaces.
21991 # convert \$build file names to \$host format.
21992 to_host_file_cmd=$lt_cv_to_host_file_cmd
21994 # convert \$build files to toolchain format.
21995 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
21997 # An object symbol dumper.
21998 OBJDUMP=$lt_OBJDUMP
22000 # Method to check whether dependent libraries are shared objects.
22001 deplibs_check_method=$lt_deplibs_check_method
22003 # Command to use when deplibs_check_method = "file_magic".
22004 file_magic_cmd=$lt_file_magic_cmd
22006 # How to find potential files when deplibs_check_method = "file_magic".
22007 file_magic_glob=$lt_file_magic_glob
22009 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
22010 want_nocaseglob=$lt_want_nocaseglob
22012 # DLL creation program.
22013 DLLTOOL=$lt_DLLTOOL
22015 # Command to associate shared and link libraries.
22016 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
22021 # Flags to create an archive.
22022 AR_FLAGS=$lt_AR_FLAGS
22024 # How to feed a file listing to the archiver.
22025 archiver_list_spec=$lt_archiver_list_spec
22027 # A symbol stripping program.
22030 # Commands used to install an old-style archive.
22032 old_postinstall_cmds=$lt_old_postinstall_cmds
22033 old_postuninstall_cmds=$lt_old_postuninstall_cmds
22035 # Whether to use a lock for old archive extraction.
22036 lock_old_archive_extraction=$lock_old_archive_extraction
22041 # LTCC compiler flags.
22042 LTCFLAGS=$lt_CFLAGS
22044 # Take the output of nm and produce a listing of raw symbols and C names.
22045 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
22047 # Transform the output of nm in a proper C declaration.
22048 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
22050 # Transform the output of nm in a C name address pair.
22051 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
22053 # Transform the output of nm in a C name address pair when lib prefix is needed.
22054 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
22056 # Specify filename containing input files for \$NM.
22057 nm_file_list_spec=$lt_nm_file_list_spec
22059 # The root where to search for dependent libraries,and in which our libraries should be installed.
22060 lt_sysroot=$lt_sysroot
22062 # The name of the directory that contains temporary libtool files.
22065 # Used to examine libraries when file_magic_cmd begins with "file".
22066 MAGIC_CMD=$MAGIC_CMD
22068 # Must we lock files when doing compilation?
22069 need_locks=$lt_need_locks
22072 MANIFEST_TOOL=$lt_MANIFEST_TOOL
22074 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
22075 DSYMUTIL=$lt_DSYMUTIL
22077 # Tool to change global to local symbols on Mac OS X.
22080 # Tool to manipulate fat objects and archives on Mac OS X.
22083 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
22086 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
22087 OTOOL64=$lt_OTOOL64
22089 # Old archive suffix (normally "a").
22092 # Shared library suffix (normally ".so").
22093 shrext_cmds=$lt_shrext_cmds
22095 # The commands to extract the exported symbol list from a shared archive.
22096 extract_expsyms_cmds=$lt_extract_expsyms_cmds
22098 # Variables whose values should be saved in libtool wrapper scripts and
22099 # restored at link time.
22100 variables_saved_for_relink=$lt_variables_saved_for_relink
22102 # Do we need the "lib" prefix for modules?
22103 need_lib_prefix=$need_lib_prefix
22105 # Do we need a version for libraries?
22106 need_version=$need_version
22108 # Library versioning type.
22109 version_type=$version_type
22111 # Shared library runtime path variable.
22112 runpath_var=$runpath_var
22114 # Shared library path variable.
22115 shlibpath_var=$shlibpath_var
22117 # Is shlibpath searched before the hard-coded library search path?
22118 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
22120 # Format of library name prefix.
22121 libname_spec=$lt_libname_spec
22123 # List of archive names. First name is the real one, the rest are links.
22124 # The last name is the one that the linker finds with -lNAME
22125 library_names_spec=$lt_library_names_spec
22127 # The coded name of the library, if different from the real name.
22128 soname_spec=$lt_soname_spec
22130 # Permission mode override for installation of shared libraries.
22131 install_override_mode=$lt_install_override_mode
22133 # Command to use after installation of a shared archive.
22134 postinstall_cmds=$lt_postinstall_cmds
22136 # Command to use after uninstallation of a shared archive.
22137 postuninstall_cmds=$lt_postuninstall_cmds
22139 # Commands used to finish a libtool library installation in a directory.
22140 finish_cmds=$lt_finish_cmds
22142 # As "finish_cmds", except a single script fragment to be evaled but
22144 finish_eval=$lt_finish_eval
22146 # Whether we should hardcode library paths into libraries.
22147 hardcode_into_libs=$hardcode_into_libs
22149 # Compile-time system search path for libraries.
22150 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
22152 # Run-time system search path for libraries.
22153 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
22155 # Whether dlopen is supported.
22156 dlopen_support=$enable_dlopen
22158 # Whether dlopen of programs is supported.
22159 dlopen_self=$enable_dlopen_self
22161 # Whether dlopen of statically linked programs is supported.
22162 dlopen_self_static=$enable_dlopen_self_static
22164 # Commands to strip libraries.
22165 old_striplib=$lt_old_striplib
22166 striplib=$lt_striplib
22169 # The linker used to build libraries.
22172 # How to create reloadable object files.
22173 reload_flag=$lt_reload_flag
22174 reload_cmds=$lt_reload_cmds
22176 # Commands used to build an old-style archive.
22177 old_archive_cmds=$lt_old_archive_cmds
22179 # A language specific compiler.
22182 # Is the compiler the GNU compiler?
22185 # Compiler flag to turn off builtin functions.
22186 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
22188 # Additional compiler flags for building library objects.
22189 pic_flag=$lt_lt_prog_compiler_pic
22191 # How to pass a linker flag through the compiler.
22192 wl=$lt_lt_prog_compiler_wl
22194 # Compiler flag to prevent dynamic linking.
22195 link_static_flag=$lt_lt_prog_compiler_static
22197 # Does compiler simultaneously support -c and -o options?
22198 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
22200 # Whether or not to add -lc for building shared libraries.
22201 build_libtool_need_lc=$archive_cmds_need_lc
22203 # Whether or not to disallow shared libs when runtime libs are static.
22204 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
22206 # Compiler flag to allow reflexive dlopens.
22207 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
22209 # Compiler flag to generate shared objects directly from archives.
22210 whole_archive_flag_spec=$lt_whole_archive_flag_spec
22212 # Whether the compiler copes with passing no objects directly.
22213 compiler_needs_object=$lt_compiler_needs_object
22215 # Create an old-style archive from a shared archive.
22216 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
22218 # Create a temporary old-style archive to link instead of a shared archive.
22219 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
22221 # Commands used to build a shared archive.
22222 archive_cmds=$lt_archive_cmds
22223 archive_expsym_cmds=$lt_archive_expsym_cmds
22225 # Commands used to build a loadable module if different from building
22226 # a shared archive.
22227 module_cmds=$lt_module_cmds
22228 module_expsym_cmds=$lt_module_expsym_cmds
22230 # Whether we are building with GNU ld or not.
22231 with_gnu_ld=$lt_with_gnu_ld
22233 # Flag that allows shared libraries with undefined symbols to be built.
22234 allow_undefined_flag=$lt_allow_undefined_flag
22236 # Flag that enforces no undefined symbols.
22237 no_undefined_flag=$lt_no_undefined_flag
22239 # Flag to hardcode \$libdir into a binary during linking.
22240 # This must work even if \$libdir does not exist
22241 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
22243 # If ld is used when linking, flag to hardcode \$libdir into a binary
22244 # during linking. This must work even if \$libdir does not exist.
22245 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
22247 # Whether we need a single "-rpath" flag with a separated argument.
22248 hardcode_libdir_separator=$lt_hardcode_libdir_separator
22250 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
22251 # DIR into the resulting binary.
22252 hardcode_direct=$hardcode_direct
22254 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
22255 # DIR into the resulting binary and the resulting library dependency is
22256 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
22257 # library is relocated.
22258 hardcode_direct_absolute=$hardcode_direct_absolute
22260 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
22261 # into the resulting binary.
22262 hardcode_minus_L=$hardcode_minus_L
22264 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
22265 # into the resulting binary.
22266 hardcode_shlibpath_var=$hardcode_shlibpath_var
22268 # Set to "yes" if building a shared library automatically hardcodes DIR
22269 # into the library and all subsequent libraries and executables linked
22271 hardcode_automatic=$hardcode_automatic
22273 # Set to yes if linker adds runtime paths of dependent libraries
22274 # to runtime path list.
22275 inherit_rpath=$inherit_rpath
22277 # Whether libtool must link a program against all its dependency libraries.
22278 link_all_deplibs=$link_all_deplibs
22280 # Set to "yes" if exported symbols are required.
22281 always_export_symbols=$always_export_symbols
22283 # The commands to list exported symbols.
22284 export_symbols_cmds=$lt_export_symbols_cmds
22286 # Symbols that should not be listed in the preloaded symbols.
22287 exclude_expsyms=$lt_exclude_expsyms
22289 # Symbols that must always be exported.
22290 include_expsyms=$lt_include_expsyms
22292 # Commands necessary for linking programs (against libraries) with templates.
22293 prelink_cmds=$lt_prelink_cmds
22295 # Commands necessary for finishing linking programs.
22296 postlink_cmds=$lt_postlink_cmds
22298 # Specify filename containing input files.
22299 file_list_spec=$lt_file_list_spec
22301 # How to hardcode a shared library path into an executable.
22302 hardcode_action=$hardcode_action
22304 # The directories searched by this compiler when creating a shared library.
22305 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
22307 # Dependencies to place before and after the objects being linked to
22308 # create a shared library.
22309 predep_objects=$lt_predep_objects
22310 postdep_objects=$lt_postdep_objects
22311 predeps=$lt_predeps
22312 postdeps=$lt_postdeps
22314 # The library search path used internally by the compiler when linking
22315 # a shared library.
22316 compiler_lib_search_path=$lt_compiler_lib_search_path
22318 # ### END LIBTOOL CONFIG
22324 cat <<\_LT_EOF >> "$cfgfile"
22325 # AIX sometimes has problems with the GCC collect2 program. For some
22326 # reason, if we set the COLLECT_NAMES environment variable, the problems
22327 # vanish in a puff of smoke.
22328 if test "X${COLLECT_NAMES+set}" != Xset; then
22330 export COLLECT_NAMES
22337 ltmain="$ac_aux_dir/ltmain.sh"
22340 # We use sed instead of cat because bash on DJGPP gets confused if
22341 # if finds mixed CR/LF and LF-only lines. Since sed operates in
22342 # text mode, it properly converts lines to CR/LF. This bash problem
22343 # is reportedly fixed, but why not run on old versions too?
22344 sed '$q' "$ltmain" >> "$cfgfile" \
22345 || (rm -f "$cfgfile"; exit 1)
22347 if test x"$xsi_shell" = xyes; then
22348 sed -e '/^func_dirname
()$
/,/^
} # func_dirname /c\
22352 \
*/*) func_dirname_result
="${1%/*}${2}" ;;\
22353 \
* ) func_dirname_result
="${3}" ;;\
22355 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
22356 && mv -f "$cfgfile.tmp" "$cfgfile" \
22357 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22358 test 0 -eq $?
|| _lt_function_replace_fail
=:
22361 sed -e '/^func_basename ()$/,/^} # func_basename /c\
22364 \ func_basename_result="${1##*/}"\
22365 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
22366 && mv -f "$cfgfile.tmp" "$cfgfile" \
22367 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22368 test 0 -eq $?
|| _lt_function_replace_fail
=:
22371 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
22372 func_dirname_and_basename ()\
22375 \ */*) func_dirname_result="${1%/*}${2}" ;;\
22376 \ * ) func_dirname_result="${3}" ;;\
22378 \ func_basename_result="${1##*/}"\
22379 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
22380 && mv -f "$cfgfile.tmp" "$cfgfile" \
22381 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22382 test 0 -eq $?
|| _lt_function_replace_fail
=:
22385 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
22388 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
22389 \ # positional parameters, so assign one to ordinary parameter first.\
22390 \ func_stripname_result=${3}\
22391 \ func_stripname_result=${func_stripname_result#"${1}"}\
22392 \ func_stripname_result=${func_stripname_result%"${2}"}\
22393 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
22394 && mv -f "$cfgfile.tmp" "$cfgfile" \
22395 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22396 test 0 -eq $?
|| _lt_function_replace_fail
=:
22399 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
22400 func_split_long_opt ()\
22402 \ func_split_long_opt_name=${1%%=*}\
22403 \ func_split_long_opt_arg=${1#*=}\
22404 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
22405 && mv -f "$cfgfile.tmp" "$cfgfile" \
22406 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22407 test 0 -eq $?
|| _lt_function_replace_fail
=:
22410 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
22411 func_split_short_opt ()\
22413 \ func_split_short_opt_arg=${1#??}\
22414 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
22415 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
22416 && mv -f "$cfgfile.tmp" "$cfgfile" \
22417 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22418 test 0 -eq $?
|| _lt_function_replace_fail
=:
22421 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
22425 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
22426 \ *) func_lo2o_result=${1} ;;\
22428 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
22429 && mv -f "$cfgfile.tmp" "$cfgfile" \
22430 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22431 test 0 -eq $?
|| _lt_function_replace_fail
=:
22434 sed -e '/^func_xform ()$/,/^} # func_xform /c\
22437 func_xform_result=${1%.*}.lo\
22438 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
22439 && mv -f "$cfgfile.tmp" "$cfgfile" \
22440 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22441 test 0 -eq $?
|| _lt_function_replace_fail
=:
22444 sed -e '/^func_arith ()$/,/^} # func_arith /c\
22447 func_arith_result=$(( $* ))\
22448 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
22449 && mv -f "$cfgfile.tmp" "$cfgfile" \
22450 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22451 test 0 -eq $?
|| _lt_function_replace_fail
=:
22454 sed -e '/^func_len ()$/,/^} # func_len /c\
22457 func_len_result=${#1}\
22458 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
22459 && mv -f "$cfgfile.tmp" "$cfgfile" \
22460 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22461 test 0 -eq $?
|| _lt_function_replace_fail
=:
22465 if test x
"$lt_shell_append" = xyes
; then
22466 sed -e '/^func_append ()$/,/^} # func_append /c\
22469 eval "${1}+=\\${2}"\
22470 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
22471 && mv -f "$cfgfile.tmp" "$cfgfile" \
22472 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22473 test 0 -eq $?
|| _lt_function_replace_fail
=:
22476 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
22477 func_append_quoted ()\
22479 \ func_quote_for_eval "${2}"\
22480 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
22481 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
22482 && mv -f "$cfgfile.tmp" "$cfgfile" \
22483 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22484 test 0 -eq $?
|| _lt_function_replace_fail
=:
22487 # Save a `func_append' function call where possible by direct use of '+='
22488 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
22489 && mv -f "$cfgfile.tmp" "$cfgfile" \
22490 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22491 test 0 -eq $?
|| _lt_function_replace_fail
=:
22493 # Save a `func_append' function call even when '+=' is not available
22494 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
22495 && mv -f "$cfgfile.tmp" "$cfgfile" \
22496 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22497 test 0 -eq $?
|| _lt_function_replace_fail
=:
22500 if test x
"$_lt_function_replace_fail" = x
":"; then
22501 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
22502 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
22506 mv -f "$cfgfile" "$ofile" ||
22507 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
22511 cat <<_LT_EOF >> "$ofile"
22513 # ### BEGIN LIBTOOL TAG CONFIG: CXX
22515 # The linker used to build libraries.
22518 # How to create reloadable object files.
22519 reload_flag=$lt_reload_flag_CXX
22520 reload_cmds=$lt_reload_cmds_CXX
22522 # Commands used to build an old-style archive.
22523 old_archive_cmds=$lt_old_archive_cmds_CXX
22525 # A language specific compiler.
22526 CC=$lt_compiler_CXX
22528 # Is the compiler the GNU compiler?
22531 # Compiler flag to turn off builtin functions.
22532 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
22534 # Additional compiler flags for building library objects.
22535 pic_flag=$lt_lt_prog_compiler_pic_CXX
22537 # How to pass a linker flag through the compiler.
22538 wl=$lt_lt_prog_compiler_wl_CXX
22540 # Compiler flag to prevent dynamic linking.
22541 link_static_flag=$lt_lt_prog_compiler_static_CXX
22543 # Does compiler simultaneously support -c and -o options?
22544 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
22546 # Whether or not to add -lc for building shared libraries.
22547 build_libtool_need_lc=$archive_cmds_need_lc_CXX
22549 # Whether or not to disallow shared libs when runtime libs are static.
22550 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
22552 # Compiler flag to allow reflexive dlopens.
22553 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
22555 # Compiler flag to generate shared objects directly from archives.
22556 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
22558 # Whether the compiler copes with passing no objects directly.
22559 compiler_needs_object=$lt_compiler_needs_object_CXX
22561 # Create an old-style archive from a shared archive.
22562 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
22564 # Create a temporary old-style archive to link instead of a shared archive.
22565 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
22567 # Commands used to build a shared archive.
22568 archive_cmds=$lt_archive_cmds_CXX
22569 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
22571 # Commands used to build a loadable module if different from building
22572 # a shared archive.
22573 module_cmds=$lt_module_cmds_CXX
22574 module_expsym_cmds=$lt_module_expsym_cmds_CXX
22576 # Whether we are building with GNU ld or not.
22577 with_gnu_ld=$lt_with_gnu_ld_CXX
22579 # Flag that allows shared libraries with undefined symbols to be built.
22580 allow_undefined_flag=$lt_allow_undefined_flag_CXX
22582 # Flag that enforces no undefined symbols.
22583 no_undefined_flag=$lt_no_undefined_flag_CXX
22585 # Flag to hardcode \$libdir into a binary during linking.
22586 # This must work even if \$libdir does not exist
22587 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
22589 # If ld is used when linking, flag to hardcode \$libdir into a binary
22590 # during linking. This must work even if \$libdir does not exist.
22591 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
22593 # Whether we need a single "-rpath" flag with a separated argument.
22594 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
22596 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
22597 # DIR into the resulting binary.
22598 hardcode_direct=$hardcode_direct_CXX
22600 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
22601 # DIR into the resulting binary and the resulting library dependency is
22602 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
22603 # library is relocated.
22604 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
22606 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
22607 # into the resulting binary.
22608 hardcode_minus_L=$hardcode_minus_L_CXX
22610 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
22611 # into the resulting binary.
22612 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
22614 # Set to "yes" if building a shared library automatically hardcodes DIR
22615 # into the library and all subsequent libraries and executables linked
22617 hardcode_automatic=$hardcode_automatic_CXX
22619 # Set to yes if linker adds runtime paths of dependent libraries
22620 # to runtime path list.
22621 inherit_rpath=$inherit_rpath_CXX
22623 # Whether libtool must link a program against all its dependency libraries.
22624 link_all_deplibs=$link_all_deplibs_CXX
22626 # Set to "yes" if exported symbols are required.
22627 always_export_symbols=$always_export_symbols_CXX
22629 # The commands to list exported symbols.
22630 export_symbols_cmds=$lt_export_symbols_cmds_CXX
22632 # Symbols that should not be listed in the preloaded symbols.
22633 exclude_expsyms=$lt_exclude_expsyms_CXX
22635 # Symbols that must always be exported.
22636 include_expsyms=$lt_include_expsyms_CXX
22638 # Commands necessary for linking programs (against libraries) with templates.
22639 prelink_cmds=$lt_prelink_cmds_CXX
22641 # Commands necessary for finishing linking programs.
22642 postlink_cmds=$lt_postlink_cmds_CXX
22644 # Specify filename containing input files.
22645 file_list_spec=$lt_file_list_spec_CXX
22647 # How to hardcode a shared library path into an executable.
22648 hardcode_action=$hardcode_action_CXX
22650 # The directories searched by this compiler when creating a shared library.
22651 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
22653 # Dependencies to place before and after the objects being linked to
22654 # create a shared library.
22655 predep_objects=$lt_predep_objects_CXX
22656 postdep_objects=$lt_postdep_objects_CXX
22657 predeps=$lt_predeps_CXX
22658 postdeps=$lt_postdeps_CXX
22660 # The library search path used internally by the compiler when linking
22661 # a shared library.
22662 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
22664 # ### END LIBTOOL TAG CONFIG: CXX
22675 ac_clean_files
=$ac_clean_files_save
22677 test $ac_write_fail = 0 ||
22678 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
22681 # configure is writing to config.log, and then calls config.status.
22682 # config.status does its own redirection, appending to config.log.
22683 # Unfortunately, on DOS this fails, as config.log is still kept open
22684 # by configure, so config.status won't be able to write to it; its
22685 # output is simply discarded. So we exec the FD to /dev/null,
22686 # effectively closing config.log, so it can be properly (re)opened and
22687 # appended to by config.status. When coming back to configure, we
22688 # need to make the FD available again.
22689 if test "$no_create" != yes; then
22691 ac_config_status_args
=
22692 test "$silent" = yes &&
22693 ac_config_status_args
="$ac_config_status_args --quiet"
22695 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
22697 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22698 # would make configure fail if this is the last instruction.
22699 $ac_cs_success || as_fn_exit
1
22701 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
22702 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
22703 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}