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
724 program_transform_name
737 enable_option_checking
745 enable_universal_binary
752 ac_precious_vars
='build_alias
780 # Initialize some variables set by options.
782 ac_init_version
=false
783 ac_unrecognized_opts
=
785 # The variables have the same names as the options, with
786 # dashes changed to underlines.
794 program_transform_name
=s
,x
,x
,
802 # Installation directory options.
803 # These are left unexpanded so users can "make install exec_prefix=/foo"
804 # and all the variables that are supposed to be based on exec_prefix
805 # by default will actually change.
806 # Use braces instead of parens because sh, perl, etc. also accept them.
807 # (The list follows the same order as the GNU Coding Standards.)
808 bindir
='${exec_prefix}/bin'
809 sbindir
='${exec_prefix}/sbin'
810 libexecdir
='${exec_prefix}/libexec'
811 datarootdir
='${prefix}/share'
812 datadir
='${datarootdir}'
813 sysconfdir
='${prefix}/etc'
814 sharedstatedir
='${prefix}/com'
815 localstatedir
='${prefix}/var'
816 includedir
='${prefix}/include'
817 oldincludedir
='/usr/include'
818 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
819 infodir
='${datarootdir}/info'
824 libdir
='${exec_prefix}/lib'
825 localedir
='${datarootdir}/locale'
826 mandir
='${datarootdir}/man'
832 # If the previous option needs an argument, assign it.
833 if test -n "$ac_prev"; then
834 eval $ac_prev=\
$ac_option
840 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
845 # Accept the important Cygnus configure options, so we can diagnose typos.
847 case $ac_dashdash$ac_option in
851 -bindir | --bindir | --bindi | --bind | --bin | --bi)
853 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
856 -build | --build | --buil | --bui | --bu)
857 ac_prev
=build_alias
;;
858 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
859 build_alias
=$ac_optarg ;;
861 -cache-file | --cache-file | --cache-fil | --cache-fi \
862 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
863 ac_prev
=cache_file
;;
864 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
865 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
866 cache_file
=$ac_optarg ;;
869 cache_file
=config.cache
;;
871 -datadir | --datadir | --datadi | --datad)
873 -datadir=* | --datadir=* | --datadi=* | --datad=*)
874 datadir
=$ac_optarg ;;
876 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
877 | --dataroo | --dataro | --datar)
878 ac_prev
=datarootdir
;;
879 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
880 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
881 datarootdir
=$ac_optarg ;;
883 -disable-* | --disable-*)
884 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
885 # Reject names that are not valid shell variable names.
886 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
887 as_fn_error $?
"invalid feature name: $ac_useropt"
888 ac_useropt_orig
=$ac_useropt
889 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
890 case $ac_user_opts in
894 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
895 ac_unrecognized_sep
=', ';;
897 eval enable_
$ac_useropt=no
;;
899 -docdir | --docdir | --docdi | --doc | --do)
901 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
904 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
906 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
909 -enable-* | --enable-*)
910 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
911 # Reject names that are not valid shell variable names.
912 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
913 as_fn_error $?
"invalid feature name: $ac_useropt"
914 ac_useropt_orig
=$ac_useropt
915 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
916 case $ac_user_opts in
920 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
921 ac_unrecognized_sep
=', ';;
923 eval enable_
$ac_useropt=\
$ac_optarg ;;
925 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
926 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
927 | --exec | --exe | --ex)
928 ac_prev
=exec_prefix
;;
929 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
930 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
931 | --exec=* | --exe=* | --ex=*)
932 exec_prefix
=$ac_optarg ;;
934 -gas | --gas | --ga | --g)
935 # Obsolete; use --with-gas.
938 -help | --help | --hel | --he | -h)
940 -help=r
* | --help=r
* | --hel=r
* | --he=r
* | -hr*)
941 ac_init_help
=recursive
;;
942 -help=s
* | --help=s
* | --hel=s
* | --he=s
* | -hs*)
943 ac_init_help
=short
;;
945 -host | --host | --hos | --ho)
946 ac_prev
=host_alias
;;
947 -host=* | --host=* | --hos=* | --ho=*)
948 host_alias
=$ac_optarg ;;
950 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
952 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
954 htmldir
=$ac_optarg ;;
956 -includedir | --includedir | --includedi | --included | --include \
957 | --includ | --inclu | --incl | --inc)
958 ac_prev
=includedir
;;
959 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
960 | --includ=* | --inclu=* | --incl=* | --inc=*)
961 includedir
=$ac_optarg ;;
963 -infodir | --infodir | --infodi | --infod | --info | --inf)
965 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
966 infodir
=$ac_optarg ;;
968 -libdir | --libdir | --libdi | --libd)
970 -libdir=* | --libdir=* | --libdi=* | --libd=*)
973 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
974 | --libexe | --libex | --libe)
975 ac_prev
=libexecdir
;;
976 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
977 | --libexe=* | --libex=* | --libe=*)
978 libexecdir
=$ac_optarg ;;
980 -localedir | --localedir | --localedi | --localed | --locale)
982 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
983 localedir
=$ac_optarg ;;
985 -localstatedir | --localstatedir | --localstatedi | --localstated \
986 | --localstate | --localstat | --localsta | --localst | --locals)
987 ac_prev
=localstatedir
;;
988 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
989 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
990 localstatedir
=$ac_optarg ;;
992 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
994 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
998 # Obsolete; use --without-fp.
1001 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1002 | --no-cr | --no-c | -n)
1005 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1006 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1009 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1010 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1011 | --oldin | --oldi | --old | --ol | --o)
1012 ac_prev
=oldincludedir
;;
1013 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1014 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1015 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1016 oldincludedir
=$ac_optarg ;;
1018 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1020 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1021 prefix
=$ac_optarg ;;
1023 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1024 | --program-pre | --program-pr | --program-p)
1025 ac_prev
=program_prefix
;;
1026 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1027 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1028 program_prefix
=$ac_optarg ;;
1030 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1031 | --program-suf | --program-su | --program-s)
1032 ac_prev
=program_suffix
;;
1033 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1034 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1035 program_suffix
=$ac_optarg ;;
1037 -program-transform-name | --program-transform-name \
1038 | --program-transform-nam | --program-transform-na \
1039 | --program-transform-n | --program-transform- \
1040 | --program-transform | --program-transfor \
1041 | --program-transfo | --program-transf \
1042 | --program-trans | --program-tran \
1043 | --progr-tra | --program-tr | --program-t)
1044 ac_prev
=program_transform_name
;;
1045 -program-transform-name=* | --program-transform-name=* \
1046 | --program-transform-nam=* | --program-transform-na=* \
1047 | --program-transform-n=* | --program-transform-=* \
1048 | --program-transform=* | --program-transfor=* \
1049 | --program-transfo=* | --program-transf=* \
1050 | --program-trans=* | --program-tran=* \
1051 | --progr-tra=* | --program-tr=* | --program-t=*)
1052 program_transform_name
=$ac_optarg ;;
1054 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1056 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1057 pdfdir
=$ac_optarg ;;
1059 -psdir | --psdir | --psdi | --psd | --ps)
1061 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1064 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1065 | -silent | --silent | --silen | --sile | --sil)
1068 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1070 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1072 sbindir
=$ac_optarg ;;
1074 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1075 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1076 | --sharedst | --shareds | --shared | --share | --shar \
1078 ac_prev
=sharedstatedir
;;
1079 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1080 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1081 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1083 sharedstatedir
=$ac_optarg ;;
1085 -site | --site | --sit)
1087 -site=* | --site=* | --sit=*)
1090 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1092 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1093 srcdir
=$ac_optarg ;;
1095 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1096 | --syscon | --sysco | --sysc | --sys | --sy)
1097 ac_prev
=sysconfdir
;;
1098 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1099 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1100 sysconfdir
=$ac_optarg ;;
1102 -target | --target | --targe | --targ | --tar | --ta | --t)
1103 ac_prev
=target_alias
;;
1104 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1105 target_alias
=$ac_optarg ;;
1107 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1110 -version | --version | --versio | --versi | --vers | -V)
1111 ac_init_version
=: ;;
1114 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1115 # Reject names that are not valid shell variable names.
1116 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1117 as_fn_error $?
"invalid package name: $ac_useropt"
1118 ac_useropt_orig
=$ac_useropt
1119 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1120 case $ac_user_opts in
1124 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1125 ac_unrecognized_sep
=', ';;
1127 eval with_
$ac_useropt=\
$ac_optarg ;;
1129 -without-* | --without-*)
1130 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1131 # Reject names that are not valid shell variable names.
1132 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1133 as_fn_error $?
"invalid package name: $ac_useropt"
1134 ac_useropt_orig
=$ac_useropt
1135 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1136 case $ac_user_opts in
1140 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1141 ac_unrecognized_sep
=', ';;
1143 eval with_
$ac_useropt=no
;;
1146 # Obsolete; use --with-x.
1149 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1150 | --x-incl | --x-inc | --x-in | --x-i)
1151 ac_prev
=x_includes
;;
1152 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1153 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1154 x_includes
=$ac_optarg ;;
1156 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1157 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1158 ac_prev
=x_libraries
;;
1159 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1160 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1161 x_libraries
=$ac_optarg ;;
1163 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1164 Try \`$0 --help' for more information"
1168 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1169 # Reject names that are not valid shell variable names.
1170 case $ac_envvar in #(
1171 '' | [0-9]* | *[!_$as_cr_alnum]* )
1172 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1174 eval $ac_envvar=\
$ac_optarg
1175 export $ac_envvar ;;
1178 # FIXME: should be removed in autoconf 3.0.
1179 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1180 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1181 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1182 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1188 if test -n "$ac_prev"; then
1189 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1190 as_fn_error $?
"missing argument to $ac_option"
1193 if test -n "$ac_unrecognized_opts"; then
1194 case $enable_option_checking in
1196 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1197 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1201 # Check all directory arguments for consistency.
1202 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1203 datadir sysconfdir sharedstatedir localstatedir includedir \
1204 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1205 libdir localedir mandir
1207 eval ac_val
=\$
$ac_var
1208 # Remove trailing slashes.
1211 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1212 eval $ac_var=\
$ac_val;;
1214 # Be sure to have absolute directory names.
1216 [\\/$
]* | ?
:[\\/]* ) continue;;
1217 NONE
| '' ) case $ac_var in *prefix
) continue;; esac;;
1219 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1222 # There might be people who depend on the old broken behavior: `$host'
1223 # used to hold the argument of --host etc.
1224 # FIXME: To remove some day.
1227 target
=$target_alias
1229 # FIXME: To remove some day.
1230 if test "x$host_alias" != x
; then
1231 if test "x$build_alias" = x
; then
1232 cross_compiling
=maybe
1233 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1234 If a cross compiler is detected then cross compile mode will be used" >&2
1235 elif test "x$build_alias" != "x$host_alias"; then
1241 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1243 test "$silent" = yes && exec 6>/dev
/null
1246 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1247 ac_ls_di
=`ls -di .` &&
1248 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1249 as_fn_error $?
"working directory cannot be determined"
1250 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1251 as_fn_error $?
"pwd does not report name of working directory"
1254 # Find the source files, if location was not specified.
1255 if test -z "$srcdir"; then
1256 ac_srcdir_defaulted
=yes
1257 # Try the directory containing this script, then the parent directory.
1258 ac_confdir
=`$as_dirname -- "$as_myself" ||
1259 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1260 X"$as_myself" : 'X\(//\)[^/]' \| \
1261 X"$as_myself" : 'X\(//\)$' \| \
1262 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1263 $as_echo X"$as_myself" |
1264 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1282 if test ! -r "$srcdir/$ac_unique_file"; then
1286 ac_srcdir_defaulted
=no
1288 if test ! -r "$srcdir/$ac_unique_file"; then
1289 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1290 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1292 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1294 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1296 # When building in place, set srcdir=.
1297 if test "$ac_abs_confdir" = "$ac_pwd"; then
1300 # Remove unnecessary trailing slashes from srcdir.
1301 # Double slashes in file names in object file debugging info
1302 # mess up M-x gdb in Emacs.
1304 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1306 for ac_var
in $ac_precious_vars; do
1307 eval ac_env_
${ac_var}_set
=\
${${ac_var}+set}
1308 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1309 eval ac_cv_env_
${ac_var}_set
=\
${${ac_var}+set}
1310 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1314 # Report the --help message.
1316 if test "$ac_init_help" = "long"; then
1317 # Omit some internal or obsolete options to make the list less imposing.
1318 # This message is too long to be a string in the A/UX 3.1 sh.
1320 \`configure' configures Cycript 0.9 to adapt to many kinds of systems.
1322 Usage: $0 [OPTION]... [VAR=VALUE]...
1324 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1325 VAR=VALUE. See below for descriptions of some of the useful variables.
1327 Defaults for the options are specified in brackets.
1330 -h, --help display this help and exit
1331 --help=short display options specific to this package
1332 --help=recursive display the short help of all the included packages
1333 -V, --version display version information and exit
1334 -q, --quiet, --silent do not print \`checking ...' messages
1335 --cache-file=FILE cache test results in FILE [disabled]
1336 -C, --config-cache alias for \`--cache-file=config.cache'
1337 -n, --no-create do not create output files
1338 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1340 Installation directories:
1341 --prefix=PREFIX install architecture-independent files in PREFIX
1342 [$ac_default_prefix]
1343 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1346 By default, \`make install' will install all the files in
1347 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1348 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1349 for instance \`--prefix=\$HOME'.
1351 For better control, use the options below.
1353 Fine tuning of the installation directories:
1354 --bindir=DIR user executables [EPREFIX/bin]
1355 --sbindir=DIR system admin executables [EPREFIX/sbin]
1356 --libexecdir=DIR program executables [EPREFIX/libexec]
1357 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1358 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1359 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1360 --libdir=DIR object code libraries [EPREFIX/lib]
1361 --includedir=DIR C header files [PREFIX/include]
1362 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1363 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1364 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1365 --infodir=DIR info documentation [DATAROOTDIR/info]
1366 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1367 --mandir=DIR man documentation [DATAROOTDIR/man]
1368 --docdir=DIR documentation root [DATAROOTDIR/doc/cycript]
1369 --htmldir=DIR html documentation [DOCDIR]
1370 --dvidir=DIR dvi documentation [DOCDIR]
1371 --pdfdir=DIR pdf documentation [DOCDIR]
1372 --psdir=DIR ps documentation [DOCDIR]
1378 --build=BUILD configure
for building on BUILD
[guessed
]
1379 --host=HOST cross
-compile to build programs to run on HOST
[BUILD
]
1383 if test -n "$ac_init_help"; then
1384 case $ac_init_help in
1385 short
| recursive
) echo "Configuration of Cycript 0.9:";;
1390 --disable-option-checking ignore unrecognized
--enable/--with options
1391 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1392 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1393 --enable-static[=PKGS
] build static libraries
[default
=no
]
1394 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1395 --enable-fast-install[=PKGS
]
1396 optimize
for fast installation
[default
=yes]
1397 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1398 --disable-universal-binary
1399 do not build with universal binary support on Darwin
1400 --enable-javascript[=ENGINE
]
1401 use a JavaScript runtime
(currently the only
1402 available option
for ENGINE is JavaScriptCore
)
1404 --disable-rpath do not hardcode runtime library paths
1407 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1408 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1409 --with-pic try to use only PIC
/non
-PIC objects
[default
=use
1411 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1412 --with-sysroot=DIR Search
for dependent libraries within DIR
1413 (or the compiler
's sysroot if not specified).
1414 --with-frameworks=DIRS add to DIRS (space separated) to the Darwin include
1415 path for frameworks with -F
1416 --with-apr=PATH prefix for installed APR or the full path to
1418 --with-gnu-ld assume the C compiler uses GNU ld default=no
1419 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1420 --without-libiconv-prefix don't search
for libiconv
in includedir and libdir
1422 Some influential environment variables
:
1423 CC C compiler
command
1424 CFLAGS C compiler flags
1425 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1426 nonstandard directory
<lib dir
>
1427 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1428 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1429 you have headers
in a nonstandard directory
<include dir
>
1431 PKG_CONFIG path to pkg
-config utility
1433 directories to add to pkg
-config's search path
1435 path overriding pkg-config's built
-in search path
1436 BISON GNU Project parser generator
(yacc replacement
)
1437 FLEX the fast lexical analyser generator
1438 GPERF perfect
hash function generator
1439 CXX C
++ compiler
command
1440 CXXFLAGS C
++ compiler flags
1441 CXXCPP C
++ preprocessor
1442 OBJCXX Objective C
++ compiler
command
1443 OBJCXXFLAGS Objective C
++ compiler flags
1445 C compiler flags
for WEBKIT
, overriding pkg
-config
1446 WEBKIT_LIBS linker flags
for WEBKIT
, overriding pkg
-config
1448 C compiler flags
for LIBFFI
, overriding pkg
-config
1449 LIBFFI_LIBS linker flags
for LIBFFI
, overriding pkg
-config
1451 prints information about the current gnustep installation
1453 Use these variables to override the choices made by
`configure' or to help
1454 it to find libraries and programs with nonstandard names/locations.
1456 Report bugs to <saurik@saurik.com>.
1457 Cycript home page: <http://www.cycript.org/>.
1462 if test "$ac_init_help" = "recursive"; then
1463 # If there are subdirs, report their specific --help.
1464 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1465 test -d "$ac_dir" ||
1466 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1471 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1473 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1474 # A ".." for each directory in $ac_dir_suffix.
1475 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1476 case $ac_top_builddir_sub in
1477 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1478 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1481 ac_abs_top_builddir=$ac_pwd
1482 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1483 # for backward compatibility:
1484 ac_top_builddir=$ac_top_build_prefix
1487 .) # We are building in place.
1489 ac_top_srcdir=$ac_top_builddir_sub
1490 ac_abs_top_srcdir=$ac_pwd ;;
1491 [\\/]* | ?:[\\/]* ) # Absolute name.
1492 ac_srcdir=$srcdir$ac_dir_suffix;
1493 ac_top_srcdir=$srcdir
1494 ac_abs_top_srcdir=$srcdir ;;
1496 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1497 ac_top_srcdir=$ac_top_build_prefix$srcdir
1498 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1500 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1502 cd "$ac_dir" || { ac_status=$?; continue; }
1503 # Check for guested configure.
1504 if test -f "$ac_srcdir/configure.gnu"; then
1506 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1507 elif test -f "$ac_srcdir/configure"; then
1509 $SHELL "$ac_srcdir/configure" --help=recursive
1511 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1513 cd "$ac_pwd" || { ac_status=$?; break; }
1517 test -n "$ac_init_help" && exit $ac_status
1518 if $ac_init_version; then
1520 Cycript configure 0.9
1521 generated by GNU Autoconf 2.68
1523 Copyright (C) 2010 Free Software Foundation, Inc.
1524 This configure script is free software; the Free Software Foundation
1525 gives unlimited permission to copy, distribute and modify it.
1530 ## ------------------------ ##
1531 ## Autoconf initialization. ##
1532 ## ------------------------ ##
1534 # ac_fn_c_try_compile LINENO
1535 # --------------------------
1536 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1537 ac_fn_c_try_compile ()
1539 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1540 rm -f conftest.$ac_objext
1541 if { { ac_try="$ac_compile"
1543 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
1544 *) ac_try_echo
=$ac_try;;
1546 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1547 $as_echo "$ac_try_echo"; } >&5
1548 (eval "$ac_compile") 2>conftest.err
1550 if test -s conftest.err
; then
1551 grep -v '^ *+' conftest.err
>conftest.er1
1552 cat conftest.er1
>&5
1553 mv -f conftest.er1 conftest.err
1555 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1556 test $ac_status = 0; } && {
1557 test -z "$ac_c_werror_flag" ||
1558 test ! -s conftest.err
1559 } && test -s conftest.
$ac_objext; then :
1562 $as_echo "$as_me: failed program was:" >&5
1563 sed 's/^/| /' conftest.
$ac_ext >&5
1567 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1568 as_fn_set_status
$ac_retval
1570 } # ac_fn_c_try_compile
1572 # ac_fn_c_try_link LINENO
1573 # -----------------------
1574 # Try to link conftest.$ac_ext, and return whether this succeeded.
1577 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1578 rm -f conftest.
$ac_objext conftest
$ac_exeext
1579 if { { ac_try
="$ac_link"
1581 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
1582 *) ac_try_echo=$ac_try;;
1584 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1585 $as_echo "$ac_try_echo"; } >&5
1586 (eval "$ac_link") 2>conftest.err
1588 if test -s conftest.err; then
1589 grep -v '^ *+' conftest.err >conftest.er1
1590 cat conftest.er1 >&5
1591 mv -f conftest.er1 conftest.err
1593 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1594 test $ac_status = 0; } && {
1595 test -z "$ac_c_werror_flag" ||
1596 test ! -s conftest.err
1597 } && test -s conftest$ac_exeext && {
1598 test "$cross_compiling" = yes ||
1599 $as_test_x conftest$ac_exeext
1603 $as_echo "$as_me: failed program was:" >&5
1604 sed 's/^/| /' conftest.$ac_ext >&5
1608 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1609 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1610 # interfere with the next link command; also delete a directory that is
1611 # left behind by Apple's compiler. We do this before executing the actions.
1612 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1613 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1614 as_fn_set_status $ac_retval
1616 } # ac_fn_c_try_link
1618 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1619 # -------------------------------------------------------
1620 # Tests whether HEADER exists and can be compiled using the include files in
1621 # INCLUDES, setting the cache variable VAR accordingly.
1622 ac_fn_c_check_header_compile ()
1624 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1626 $as_echo_n "checking for $2... " >&6; }
1627 if eval \${$3+:} false; then :
1628 $as_echo_n "(cached) " >&6
1630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1631 /* end confdefs.h. */
1635 if ac_fn_c_try_compile "$LINENO"; then :
1640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1644 $as_echo "$ac_res" >&6; }
1645 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1647 } # ac_fn_c_check_header_compile
1649 # ac_fn_c_try_cpp LINENO
1650 # ----------------------
1651 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1654 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1655 if { { ac_try="$ac_cpp conftest.$ac_ext"
1657 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
1658 *) ac_try_echo
=$ac_try;;
1660 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1661 $as_echo "$ac_try_echo"; } >&5
1662 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1664 if test -s conftest.err
; then
1665 grep -v '^ *+' conftest.err
>conftest.er1
1666 cat conftest.er1
>&5
1667 mv -f conftest.er1 conftest.err
1669 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1670 test $ac_status = 0; } > conftest.i
&& {
1671 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1672 test ! -s conftest.err
1676 $as_echo "$as_me: failed program was:" >&5
1677 sed 's/^/| /' conftest.
$ac_ext >&5
1681 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1682 as_fn_set_status
$ac_retval
1686 # ac_fn_c_try_run LINENO
1687 # ----------------------
1688 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1689 # that executables *can* be run.
1692 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1693 if { { ac_try
="$ac_link"
1695 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
1696 *) ac_try_echo=$ac_try;;
1698 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1699 $as_echo "$ac_try_echo"; } >&5
1700 (eval "$ac_link") 2>&5
1702 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1703 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1704 { { case "(($ac_try" in
1705 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
1706 *) ac_try_echo
=$ac_try;;
1708 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1709 $as_echo "$ac_try_echo"; } >&5
1710 (eval "$ac_try") 2>&5
1712 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1713 test $ac_status = 0; }; }; then :
1716 $as_echo "$as_me: program exited with status $ac_status" >&5
1717 $as_echo "$as_me: failed program was:" >&5
1718 sed 's/^/| /' conftest.
$ac_ext >&5
1720 ac_retval
=$ac_status
1722 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1723 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1724 as_fn_set_status
$ac_retval
1728 # ac_fn_c_check_func LINENO FUNC VAR
1729 # ----------------------------------
1730 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1731 ac_fn_c_check_func
()
1733 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1735 $as_echo_n "checking for $2... " >&6; }
1736 if eval \
${$3+:} false
; then :
1737 $as_echo_n "(cached) " >&6
1739 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1740 /* end confdefs.h. */
1741 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1742 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1743 #define $2 innocuous_$2
1745 /* System header to define __stub macros and hopefully few prototypes,
1746 which can conflict with char $2 (); below.
1747 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1748 <limits.h> exists even on freestanding compilers. */
1751 # include <limits.h>
1753 # include <assert.h>
1758 /* Override any GCC internal prototype to avoid an error.
1759 Use char because int might match the return type of a GCC
1760 builtin and then its argument prototype would still apply. */
1765 /* The GNU C library defines this for functions which it implements
1766 to always fail with ENOSYS. Some functions are actually named
1767 something starting with __ and the normal name is an alias. */
1768 #if defined __stub_$2 || defined __stub___$2
1780 if ac_fn_c_try_link
"$LINENO"; then :
1785 rm -f core conftest.err conftest.
$ac_objext \
1786 conftest
$ac_exeext conftest.
$ac_ext
1789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1790 $as_echo "$ac_res" >&6; }
1791 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1793 } # ac_fn_c_check_func
1795 # ac_fn_cxx_try_compile LINENO
1796 # ----------------------------
1797 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1798 ac_fn_cxx_try_compile
()
1800 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1801 rm -f conftest.
$ac_objext
1802 if { { ac_try
="$ac_compile"
1804 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
1805 *) ac_try_echo=$ac_try;;
1807 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1808 $as_echo "$ac_try_echo"; } >&5
1809 (eval "$ac_compile") 2>conftest.err
1811 if test -s conftest.err; then
1812 grep -v '^ *+' conftest.err >conftest.er1
1813 cat conftest.er1 >&5
1814 mv -f conftest.er1 conftest.err
1816 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1817 test $ac_status = 0; } && {
1818 test -z "$ac_cxx_werror_flag" ||
1819 test ! -s conftest.err
1820 } && test -s conftest.$ac_objext; then :
1823 $as_echo "$as_me: failed program was:" >&5
1824 sed 's/^/| /' conftest.$ac_ext >&5
1828 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1829 as_fn_set_status $ac_retval
1831 } # ac_fn_cxx_try_compile
1833 # ac_fn_cxx_try_cpp LINENO
1834 # ------------------------
1835 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1836 ac_fn_cxx_try_cpp ()
1838 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1839 if { { ac_try="$ac_cpp conftest.$ac_ext"
1841 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
1842 *) ac_try_echo
=$ac_try;;
1844 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1845 $as_echo "$ac_try_echo"; } >&5
1846 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1848 if test -s conftest.err
; then
1849 grep -v '^ *+' conftest.err
>conftest.er1
1850 cat conftest.er1
>&5
1851 mv -f conftest.er1 conftest.err
1853 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1854 test $ac_status = 0; } > conftest.i
&& {
1855 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1856 test ! -s conftest.err
1860 $as_echo "$as_me: failed program was:" >&5
1861 sed 's/^/| /' conftest.
$ac_ext >&5
1865 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1866 as_fn_set_status
$ac_retval
1868 } # ac_fn_cxx_try_cpp
1870 # ac_fn_cxx_try_link LINENO
1871 # -------------------------
1872 # Try to link conftest.$ac_ext, and return whether this succeeded.
1873 ac_fn_cxx_try_link
()
1875 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1876 rm -f conftest.
$ac_objext conftest
$ac_exeext
1877 if { { ac_try
="$ac_link"
1879 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
1880 *) ac_try_echo=$ac_try;;
1882 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1883 $as_echo "$ac_try_echo"; } >&5
1884 (eval "$ac_link") 2>conftest.err
1886 if test -s conftest.err; then
1887 grep -v '^ *+' conftest.err >conftest.er1
1888 cat conftest.er1 >&5
1889 mv -f conftest.er1 conftest.err
1891 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1892 test $ac_status = 0; } && {
1893 test -z "$ac_cxx_werror_flag" ||
1894 test ! -s conftest.err
1895 } && test -s conftest$ac_exeext && {
1896 test "$cross_compiling" = yes ||
1897 $as_test_x conftest$ac_exeext
1901 $as_echo "$as_me: failed program was:" >&5
1902 sed 's/^/| /' conftest.$ac_ext >&5
1906 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1907 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1908 # interfere with the next link command; also delete a directory that is
1909 # left behind by Apple's compiler. We do this before executing the actions.
1910 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1911 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1912 as_fn_set_status $ac_retval
1914 } # ac_fn_cxx_try_link
1916 # ac_fn_objcxx_try_compile LINENO
1917 # -------------------------------
1918 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1919 ac_fn_objcxx_try_compile ()
1921 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1922 rm -f conftest.$ac_objext
1923 if { { ac_try="$ac_compile"
1925 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
1926 *) ac_try_echo
=$ac_try;;
1928 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1929 $as_echo "$ac_try_echo"; } >&5
1930 (eval "$ac_compile") 2>conftest.err
1932 if test -s conftest.err
; then
1933 grep -v '^ *+' conftest.err
>conftest.er1
1934 cat conftest.er1
>&5
1935 mv -f conftest.er1 conftest.err
1937 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1938 test $ac_status = 0; } && {
1939 test -z "$ac_objcxx_werror_flag" ||
1940 test ! -s conftest.err
1941 } && test -s conftest.
$ac_objext; then :
1944 $as_echo "$as_me: failed program was:" >&5
1945 sed 's/^/| /' conftest.
$ac_ext >&5
1949 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1950 as_fn_set_status
$ac_retval
1952 } # ac_fn_objcxx_try_compile
1954 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
1955 # ---------------------------------------------------------
1956 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1957 # the include files in INCLUDES and setting the cache variable VAR
1959 ac_fn_cxx_check_header_mongrel
()
1961 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1962 if eval \
${$3+:} false
; then :
1963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1964 $as_echo_n "checking for $2... " >&6; }
1965 if eval \
${$3+:} false
; then :
1966 $as_echo_n "(cached) " >&6
1969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1970 $as_echo "$ac_res" >&6; }
1972 # Is the header compilable?
1973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1974 $as_echo_n "checking $2 usability... " >&6; }
1975 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1976 /* end confdefs.h. */
1980 if ac_fn_cxx_try_compile
"$LINENO"; then :
1981 ac_header_compiler
=yes
1983 ac_header_compiler
=no
1985 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1987 $as_echo "$ac_header_compiler" >&6; }
1989 # Is the header present?
1990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1991 $as_echo_n "checking $2 presence... " >&6; }
1992 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1993 /* end confdefs.h. */
1996 if ac_fn_cxx_try_cpp
"$LINENO"; then :
1997 ac_header_preproc
=yes
1999 ac_header_preproc
=no
2001 rm -f conftest.err conftest.i conftest.
$ac_ext
2002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2003 $as_echo "$ac_header_preproc" >&6; }
2005 # So? What about this header?
2006 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2008 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2009 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2010 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2011 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2014 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2015 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2016 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2017 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2018 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2019 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2020 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2021 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2022 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2023 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2024 ( $as_echo "## -------------------------------- ##
2025 ## Report this to saurik@saurik.com ##
2026 ## -------------------------------- ##"
2027 ) | sed "s/^/$as_me: WARNING: /" >&2
2030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2031 $as_echo_n "checking for $2... " >&6; }
2032 if eval \
${$3+:} false
; then :
2033 $as_echo_n "(cached) " >&6
2035 eval "$3=\$ac_header_compiler"
2038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2039 $as_echo "$ac_res" >&6; }
2041 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2043 } # ac_fn_cxx_check_header_mongrel
2045 # ac_fn_objcxx_try_link LINENO
2046 # ----------------------------
2047 # Try to link conftest.$ac_ext, and return whether this succeeded.
2048 ac_fn_objcxx_try_link
()
2050 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2051 rm -f conftest.
$ac_objext conftest
$ac_exeext
2052 if { { ac_try
="$ac_link"
2054 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
2055 *) ac_try_echo=$ac_try;;
2057 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2058 $as_echo "$ac_try_echo"; } >&5
2059 (eval "$ac_link") 2>conftest.err
2061 if test -s conftest.err; then
2062 grep -v '^ *+' conftest.err >conftest.er1
2063 cat conftest.er1 >&5
2064 mv -f conftest.er1 conftest.err
2066 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2067 test $ac_status = 0; } && {
2068 test -z "$ac_objcxx_werror_flag" ||
2069 test ! -s conftest.err
2070 } && test -s conftest$ac_exeext && {
2071 test "$cross_compiling" = yes ||
2072 $as_test_x conftest$ac_exeext
2076 $as_echo "$as_me: failed program was:" >&5
2077 sed 's/^/| /' conftest.$ac_ext >&5
2081 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2082 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2083 # interfere with the next link command; also delete a directory that is
2084 # left behind by Apple's compiler. We do this before executing the actions.
2085 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2086 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2087 as_fn_set_status $ac_retval
2089 } # ac_fn_objcxx_try_link
2090 cat >config.log <<_ACEOF
2091 This file contains any messages produced by compilers while
2092 running configure, to aid debugging if configure makes a mistake.
2094 It was created by Cycript $as_me 0.9, which was
2095 generated by GNU Autoconf 2.68. Invocation command line was
2107 hostname = `(hostname
|| uname
-n) 2>/dev
/null
| sed 1q
`
2108 uname -m = `(uname
-m) 2>/dev
/null
|| echo unknown
`
2109 uname -r = `(uname
-r) 2>/dev
/null
|| echo unknown
`
2110 uname -s = `(uname
-s) 2>/dev
/null
|| echo unknown
`
2111 uname -v = `(uname
-v) 2>/dev
/null
|| echo unknown
`
2113 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null
|| echo unknown
`
2114 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null
|| echo unknown
`
2116 /bin/arch = `(/bin
/arch
) 2>/dev
/null
|| echo unknown
`
2117 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null
|| echo unknown
`
2118 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null
|| echo unknown
`
2119 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null
|| echo unknown
`
2120 /bin/machine = `(/bin
/machine
) 2>/dev
/null
|| echo unknown
`
2121 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null
|| echo unknown
`
2122 /bin/universe = `(/bin
/universe
) 2>/dev
/null
|| echo unknown
`
2126 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2130 test -z "$as_dir" && as_dir=.
2131 $as_echo "PATH: $as_dir"
2147 # Keep a trace of the command line.
2148 # Strip out --no-create and --no-recursion so they do not pile up.
2149 # Strip out --silent because we don't want to record it for future runs.
2150 # Also quote any args containing shell meta-characters.
2151 # Make two passes to allow for proper duplicate-argument suppression.
2155 ac_must_keep_next=false
2161 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2162 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2163 | -silent | --silent | --silen | --sile | --sil)
2166 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2169 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2171 as_fn_append ac_configure_args1 " '$ac_arg'"
2172 if test $ac_must_keep_next = true; then
2173 ac_must_keep_next=false # Got value, back to normal.
2176 *=* | --config-cache | -C | -disable-* | --disable-* \
2177 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2178 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2179 | -with-* | --with-* | -without-* | --without-* | --x)
2180 case "$ac_configure_args0 " in
2181 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2184 -* ) ac_must_keep_next=true ;;
2187 as_fn_append ac_configure_args " '$ac_arg'"
2192 { ac_configure_args0=; unset ac_configure_args0;}
2193 { ac_configure_args1=; unset ac_configure_args1;}
2195 # When interrupted or exit'd, cleanup temporary files, and complete
2196 # config.log. We remove comments because anyway the quotes in there
2197 # would cause problems or look ugly.
2198 # WARNING: Use '\'' to represent an apostrophe within the trap.
2199 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2200 trap 'exit_status=$?
2201 # Save into config.log some information that might help in debugging.
2205 $as_echo "## ---------------- ##
2206 ## Cache variables. ##
2207 ## ---------------- ##"
2209 # The following way of writing the cache mishandles newlines in values,
2211 for ac_var in `(set) 2>&1 | sed -n '\''s
/^\
([a
-zA-Z_][a
-zA-Z0-9_]*\
)=.
*/\
1/p
'\''`; do
2212 eval ac_val=\$$ac_var
2216 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2217 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2220 _ | IFS | as_nl) ;; #(
2221 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2222 *) { eval $ac_var=; unset $ac_var;} ;;
2227 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2228 *${as_nl}ac_space=\ *)
2230 "s/'\''/'\''\\\\'\'''\''/g;
2231 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2234 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2241 $as_echo "## ----------------- ##
2242 ## Output variables. ##
2243 ## ----------------- ##"
2245 for ac_var in $ac_subst_vars
2247 eval ac_val=\$$ac_var
2249 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2251 $as_echo "$ac_var='\''$ac_val'\''"
2255 if test -n "$ac_subst_files"; then
2256 $as_echo "## ------------------- ##
2257 ## File substitutions. ##
2258 ## ------------------- ##"
2260 for ac_var in $ac_subst_files
2262 eval ac_val=\$$ac_var
2264 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2266 $as_echo "$ac_var='\''$ac_val'\''"
2271 if test -s confdefs.h; then
2272 $as_echo "## ----------- ##
2279 test "$ac_signal" != 0 &&
2280 $as_echo "$as_me: caught signal $ac_signal"
2281 $as_echo "$as_me: exit $exit_status"
2283 rm -f core *.core core.conftest.* &&
2284 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2287 for ac_signal in 1 2 13 15; do
2288 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2292 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2293 rm -f -r conftest* confdefs.h
2295 $as_echo "/* confdefs.h */" > confdefs.h
2297 # Predefined preprocessor variables.
2299 cat >>confdefs.h <<_ACEOF
2300 #define PACKAGE_NAME "$PACKAGE_NAME"
2303 cat >>confdefs.h <<_ACEOF
2304 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2307 cat >>confdefs.h <<_ACEOF
2308 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2311 cat >>confdefs.h <<_ACEOF
2312 #define PACKAGE_STRING "$PACKAGE_STRING"
2315 cat >>confdefs.h <<_ACEOF
2316 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2319 cat >>confdefs.h <<_ACEOF
2320 #define PACKAGE_URL "$PACKAGE_URL"
2324 # Let the site file select an alternate cache file if it wants to.
2325 # Prefer an explicitly selected file to automatically selected ones.
2328 if test -n "$CONFIG_SITE"; then
2329 # We do not want a PATH search for config.site.
2330 case $CONFIG_SITE in #((
2331 -*) ac_site_file1=./$CONFIG_SITE;;
2332 */*) ac_site_file1=$CONFIG_SITE;;
2333 *) ac_site_file1=./$CONFIG_SITE;;
2335 elif test "x$prefix" != xNONE; then
2336 ac_site_file1=$prefix/share/config.site
2337 ac_site_file2=$prefix/etc/config.site
2339 ac_site_file1=$ac_default_prefix/share/config.site
2340 ac_site_file2=$ac_default_prefix/etc/config.site
2342 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2344 test "x$ac_site_file" = xNONE && continue
2345 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2346 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2347 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2348 sed 's/^/| /' "$ac_site_file" >&5
2350 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2351 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2352 as_fn_error $? "failed to load site
script $ac_site_file
2353 See \
`config.log' for more details" "$LINENO" 5; }
2357 if test -r "$cache_file"; then
2358 # Some versions of bash will fail to source /dev/null (special files
2359 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2360 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2361 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2362 $as_echo "$as_me: loading cache $cache_file" >&6;}
2364 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2365 *) . "./$cache_file";;
2369 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2370 $as_echo "$as_me: creating cache $cache_file" >&6;}
2374 # Check that the precious variables saved in the cache have kept the same
2376 ac_cache_corrupted=false
2377 for ac_var in $ac_precious_vars; do
2378 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2379 eval ac_new_set=\$ac_env_${ac_var}_set
2380 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2381 eval ac_new_val=\$ac_env_${ac_var}_value
2382 case $ac_old_set,$ac_new_set in
2384 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2385 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2386 ac_cache_corrupted=: ;;
2388 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2389 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2390 ac_cache_corrupted=: ;;
2393 if test "x$ac_old_val" != "x$ac_new_val"; then
2394 # differences in whitespace do not lead to failure.
2395 ac_old_val_w=`echo x
$ac_old_val`
2396 ac_new_val_w=`echo x
$ac_new_val`
2397 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2398 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2399 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2400 ac_cache_corrupted=:
2402 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2403 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2404 eval $ac_var=\$ac_old_val
2406 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2407 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2408 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2409 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2412 # Pass precious variables to config.status.
2413 if test "$ac_new_set" = set; then
2415 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2416 *) ac_arg=$ac_var=$ac_new_val ;;
2418 case " $ac_configure_args " in
2419 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2420 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2424 if $ac_cache_corrupted; then
2425 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2426 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2427 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2428 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2429 as_fn_error $? "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2431 ## -------------------- ##
2432 ## Main body of script. ##
2433 ## -------------------- ##
2436 ac_cpp='$CPP $CPPFLAGS'
2437 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2438 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2439 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2444 for ac_dir in . "$srcdir"/.; do
2445 if test -f "$ac_dir/install-sh"; then
2447 ac_install_sh="$ac_aux_dir/install-sh -c"
2449 elif test -f "$ac_dir/install.sh"; then
2451 ac_install_sh="$ac_aux_dir/install.sh -c"
2453 elif test -f "$ac_dir/shtool"; then
2455 ac_install_sh="$ac_aux_dir/shtool install -c"
2459 if test -z "$ac_aux_dir"; then
2460 as_fn_error $? "cannot find install-sh, install.sh, or shtool in . \"$srcdir\"/." "$LINENO" 5
2463 # These three variables are undocumented and unsupported,
2464 # and are intended to be withdrawn in a future Autoconf release.
2465 # They can cause serious problems if a builder's source tree is in a directory
2466 # whose full name contains unusual characters.
2467 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2468 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2469 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2474 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&5
2475 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&2;} ;;
2481 macro_revision='1.3293'
2495 ltmain="$ac_aux_dir/ltmain.sh"
2497 # Make sure we can run config.sub.
2498 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2499 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2502 $as_echo_n "checking build system type... " >&6; }
2503 if ${ac_cv_build+:} false; then :
2504 $as_echo_n "(cached) " >&6
2506 ac_build_alias=$build_alias
2507 test "x$ac_build_alias" = x &&
2508 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2509 test "x$ac_build_alias" = x &&
2510 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2511 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2512 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2516 $as_echo "$ac_cv_build" >&6; }
2517 case $ac_cv_build in
2519 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2522 ac_save_IFS=$IFS; IFS='-'
2528 # Remember, the first character of IFS is used to create $*,
2529 # except with old shells:
2532 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2536 $as_echo_n "checking host system type... " >&6; }
2537 if ${ac_cv_host+:} false; then :
2538 $as_echo_n "(cached) " >&6
2540 if test "x$host_alias" = x; then
2541 ac_cv_host=$ac_cv_build
2543 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2544 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2549 $as_echo "$ac_cv_host" >&6; }
2552 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2555 ac_save_IFS=$IFS; IFS='-'
2561 # Remember, the first character of IFS is used to create $*,
2562 # except with old shells:
2565 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2568 # Backslashify metacharacters that are still active within
2569 # double-quoted strings.
2570 sed_quote_subst='s/\(["`$
\\]\
)/\\\
1/g
'
2572 # Same as above, but do not quote variable references.
2573 double_quote_subst='s
/\
(["`\\]\)/\\\1/g'
2575 # Sed substitution to delay expansion of an escaped shell variable in a
2576 # double_quote_subst'ed string.
2577 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
2579 # Sed substitution to delay expansion of an escaped single quote.
2580 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
2582 # Sed substitution to avoid accidental globbing in evaled expressions
2583 no_glob_subst='s/\*/\\\*/g'
2585 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
2586 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
2587 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
2589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print
strings" >&5
2590 $as_echo_n "checking how to print
strings...
" >&6; }
2591 # Test print first, because it will be a builtin if present.
2592 if test "X
`( print -r -- -n ) 2>/dev/null`" = X-n && \
2593 test "X
`print -r -- $ECHO 2>/dev/null`" = "X
$ECHO"; then
2595 elif test "X
`printf %s $ECHO 2>/dev/null`" = "X
$ECHO"; then
2598 # Use this function as a fallback that always works.
2599 func_fallback_echo ()
2601 eval 'cat <<_LTECHO_EOF
2605 ECHO='func_fallback_echo'
2608 # func_echo_all arg...
2609 # Invoke $ECHO with all args, space-separated.
2616 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: printf" >&5
2617 $as_echo "printf" >&6; } ;;
2618 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: print
-r" >&5
2619 $as_echo "print
-r" >&6; } ;;
2620 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: cat" >&5
2621 $as_echo "cat" >&6; } ;;
2638 ac_cpp='$CPP $CPPFLAGS'
2639 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2640 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2641 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2642 if test -n "$ac_tool_prefix"; then
2643 # Extract the first word of "${ac_tool_prefix}gcc
", so it can be a program name with args.
2644 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
2646 $as_echo_n "checking
for $ac_word...
" >&6; }
2647 if ${ac_cv_prog_CC+:} false; then :
2648 $as_echo_n "(cached
) " >&6
2650 if test -n "$CC"; then
2651 ac_cv_prog_CC="$CC" # Let the user override the test.
2653 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2657 test -z "$as_dir" && as_dir=.
2658 for ac_exec_ext in '' $ac_executable_extensions; do
2659 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2660 ac_cv_prog_CC="${ac_tool_prefix}gcc
"
2661 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
2671 if test -n "$CC"; then
2672 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC" >&5
2673 $as_echo "$CC" >&6; }
2675 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
2676 $as_echo "no
" >&6; }
2681 if test -z "$ac_cv_prog_CC"; then
2683 # Extract the first word of "gcc
", so it can be a program name with args.
2684 set dummy gcc; ac_word=$2
2685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
2686 $as_echo_n "checking
for $ac_word...
" >&6; }
2687 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2688 $as_echo_n "(cached
) " >&6
2690 if test -n "$ac_ct_CC"; then
2691 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2693 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2697 test -z "$as_dir" && as_dir=.
2698 for ac_exec_ext in '' $ac_executable_extensions; do
2699 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2700 ac_cv_prog_ac_ct_CC="gcc
"
2701 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
2710 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2711 if test -n "$ac_ct_CC"; then
2712 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_CC" >&5
2713 $as_echo "$ac_ct_CC" >&6; }
2715 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
2716 $as_echo "no
" >&6; }
2719 if test "x
$ac_ct_CC" = x; then
2722 case $cross_compiling:$ac_tool_warned in
2724 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
2725 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
2726 ac_tool_warned=yes ;;
2734 if test -z "$CC"; then
2735 if test -n "$ac_tool_prefix"; then
2736 # Extract the first word of "${ac_tool_prefix}cc
", so it can be a program name with args.
2737 set dummy ${ac_tool_prefix}cc; ac_word=$2
2738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
2739 $as_echo_n "checking
for $ac_word...
" >&6; }
2740 if ${ac_cv_prog_CC+:} false; then :
2741 $as_echo_n "(cached
) " >&6
2743 if test -n "$CC"; then
2744 ac_cv_prog_CC="$CC" # Let the user override the test.
2746 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2750 test -z "$as_dir" && as_dir=.
2751 for ac_exec_ext in '' $ac_executable_extensions; do
2752 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2753 ac_cv_prog_CC="${ac_tool_prefix}cc
"
2754 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
2764 if test -n "$CC"; then
2765 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC" >&5
2766 $as_echo "$CC" >&6; }
2768 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
2769 $as_echo "no
" >&6; }
2775 if test -z "$CC"; then
2776 # Extract the first word of "cc
", so it can be a program name with args.
2777 set dummy cc; ac_word=$2
2778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
2779 $as_echo_n "checking
for $ac_word...
" >&6; }
2780 if ${ac_cv_prog_CC+:} false; then :
2781 $as_echo_n "(cached
) " >&6
2783 if test -n "$CC"; then
2784 ac_cv_prog_CC="$CC" # Let the user override the test.
2787 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2791 test -z "$as_dir" && as_dir=.
2792 for ac_exec_ext in '' $ac_executable_extensions; do
2793 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2794 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr
/ucb
/cc
"; then
2795 ac_prog_rejected=yes
2799 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
2806 if test $ac_prog_rejected = yes; then
2807 # We found a bogon in the path, so make sure we never use it.
2808 set dummy $ac_cv_prog_CC
2810 if test $# != 0; then
2811 # We chose a different compiler from the bogus one.
2812 # However, it has the same basename, so the bogon will be chosen
2813 # first if we set CC to just the basename; use the full file name.
2815 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@
"
2821 if test -n "$CC"; then
2822 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC" >&5
2823 $as_echo "$CC" >&6; }
2825 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
2826 $as_echo "no
" >&6; }
2831 if test -z "$CC"; then
2832 if test -n "$ac_tool_prefix"; then
2833 for ac_prog in cl.exe
2835 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2836 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
2838 $as_echo_n "checking
for $ac_word...
" >&6; }
2839 if ${ac_cv_prog_CC+:} false; then :
2840 $as_echo_n "(cached
) " >&6
2842 if test -n "$CC"; then
2843 ac_cv_prog_CC="$CC" # Let the user override the test.
2845 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2849 test -z "$as_dir" && as_dir=.
2850 for ac_exec_ext in '' $ac_executable_extensions; do
2851 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2852 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2853 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
2863 if test -n "$CC"; then
2864 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC" >&5
2865 $as_echo "$CC" >&6; }
2867 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
2868 $as_echo "no
" >&6; }
2872 test -n "$CC" && break
2875 if test -z "$CC"; then
2877 for ac_prog in cl.exe
2879 # Extract the first word of "$ac_prog", so it can be a program name with args.
2880 set dummy $ac_prog; ac_word=$2
2881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
2882 $as_echo_n "checking
for $ac_word...
" >&6; }
2883 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2884 $as_echo_n "(cached
) " >&6
2886 if test -n "$ac_ct_CC"; then
2887 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2889 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2893 test -z "$as_dir" && as_dir=.
2894 for ac_exec_ext in '' $ac_executable_extensions; do
2895 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2896 ac_cv_prog_ac_ct_CC="$ac_prog"
2897 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
2906 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2907 if test -n "$ac_ct_CC"; then
2908 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_CC" >&5
2909 $as_echo "$ac_ct_CC" >&6; }
2911 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
2912 $as_echo "no
" >&6; }
2916 test -n "$ac_ct_CC" && break
2919 if test "x
$ac_ct_CC" = x; then
2922 case $cross_compiling:$ac_tool_warned in
2924 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
2925 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
2926 ac_tool_warned=yes ;;
2935 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2936 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2937 as_fn_error $? "no acceptable C compiler found in \$PATH
2938 See \`config.log' for more details
" "$LINENO" 5; }
2940 # Provide some information about the compiler.
2941 $as_echo "$as_me:${as_lineno-$LINENO}: checking
for C compiler version
" >&5
2944 for ac_option in --version -v -V -qversion; do
2945 { { ac_try="$ac_compiler $ac_option >&5"
2947 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2948 *) ac_try_echo=$ac_try;;
2950 eval ac_try_echo="\"\
$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2951 $as_echo "$ac_try_echo"; } >&5
2952 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2954 if test -s conftest.err; then
2956 ... rest of stderr output deleted ...
2957 10q' conftest.err >conftest.er1
2958 cat conftest.er1 >&5
2960 rm -f conftest.er1 conftest.err
2961 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
2962 test $ac_status = 0; }
2965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2966 /* end confdefs.h. */
2976 ac_clean_files_save=$ac_clean_files
2977 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out
"
2978 # Try to create an executable without -o first, disregard a.out.
2979 # It will help us diagnose broken compilers, and finding out an intuition
2981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works
" >&5
2982 $as_echo_n "checking whether the C compiler works...
" >&6; }
2983 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2985 # The possible output files:
2986 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.
*"
2989 for ac_file in $ac_files
2992 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2993 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2998 if { { ac_try="$ac_link_default"
3000 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3001 *) ac_try_echo=$ac_try;;
3003 eval ac_try_echo="\"\
$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3004 $as_echo "$ac_try_echo"; } >&5
3005 (eval "$ac_link_default") 2>&5
3007 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
3008 test $ac_status = 0; }; then :
3009 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3010 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3011 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3012 # so that the user can short-circuit this test for compilers unknown to
3014 for ac_file in $ac_files ''
3016 test -f "$ac_file" || continue
3018 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3021 # We found the default executable, but exeext='' is most
3025 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3027 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3029 # We set ac_cv_exeext here because the later test for it is not
3030 # safe: cross compilers may not add the suffix if given an `-o'
3031 # argument, so we may need to know it at that point already.
3032 # Even if this section looks crufty: it has the advantage of
3039 test "$ac_cv_exeext" = no && ac_cv_exeext=
3044 if test -z "$ac_file"; then :
3045 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
3046 $as_echo "no
" >&6; }
3047 $as_echo "$as_me: failed program was
:" >&5
3048 sed 's/^/| /' conftest.$ac_ext >&5
3050 { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
3051 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3052 as_fn_error 77 "C compiler cannot create executables
3053 See \`config.log' for more details
" "$LINENO" 5; }
3055 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
3056 $as_echo "yes" >&6; }
3058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for C compiler default output
file name
" >&5
3059 $as_echo_n "checking
for C compiler default output
file name...
" >&6; }
3060 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_file" >&5
3061 $as_echo "$ac_file" >&6; }
3062 ac_exeext=$ac_cv_exeext
3064 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3065 ac_clean_files=$ac_clean_files_save
3066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for suffix of executables
" >&5
3067 $as_echo_n "checking
for suffix of executables...
" >&6; }
3068 if { { ac_try="$ac_link"
3070 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3071 *) ac_try_echo=$ac_try;;
3073 eval ac_try_echo="\"\
$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3074 $as_echo "$ac_try_echo"; } >&5
3075 (eval "$ac_link") 2>&5
3077 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
3078 test $ac_status = 0; }; then :
3079 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3080 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3081 # work properly (i.e., refer to `conftest.exe'), while it won't with
3083 for ac_file in conftest.exe conftest conftest.*; do
3084 test -f "$ac_file" || continue
3086 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3087 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3093 { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
3094 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3095 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3096 See \`config.log' for more details
" "$LINENO" 5; }
3098 rm -f conftest conftest$ac_cv_exeext
3099 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_exeext" >&5
3100 $as_echo "$ac_cv_exeext" >&6; }
3102 rm -f conftest.$ac_ext
3103 EXEEXT=$ac_cv_exeext
3105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3106 /* end confdefs.h. */
3111 FILE *f = fopen ("conftest.out
", "w
");
3112 return ferror (f) || fclose (f) != 0;
3118 ac_clean_files="$ac_clean_files conftest.out
"
3119 # Check that the compiler produces executables we can run. If not, either
3120 # the compiler is broken, or we cross compile.
3121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling
" >&5
3122 $as_echo_n "checking whether we are cross compiling...
" >&6; }
3123 if test "$cross_compiling" != yes; then
3124 { { ac_try="$ac_link"
3126 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3127 *) ac_try_echo=$ac_try;;
3129 eval ac_try_echo="\"\
$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3130 $as_echo "$ac_try_echo"; } >&5
3131 (eval "$ac_link") 2>&5
3133 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
3134 test $ac_status = 0; }
3135 if { ac_try='./conftest$ac_cv_exeext'
3136 { { case "(($ac_try" in
3137 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3138 *) ac_try_echo=$ac_try;;
3140 eval ac_try_echo="\"\
$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3141 $as_echo "$ac_try_echo"; } >&5
3142 (eval "$ac_try") 2>&5
3144 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
3145 test $ac_status = 0; }; }; then
3148 if test "$cross_compiling" = maybe; then
3151 { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
3152 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3153 as_fn_error $? "cannot run C compiled programs.
3154 If you meant to cross compile, use \`--host'.
3155 See \
`config.log' for more details" "$LINENO" 5; }
3159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3160 $as_echo "$cross_compiling" >&6; }
3162 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3163 ac_clean_files=$ac_clean_files_save
3164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3165 $as_echo_n "checking for suffix of object files... " >&6; }
3166 if ${ac_cv_objext+:} false; then :
3167 $as_echo_n "(cached) " >&6
3169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3170 /* end confdefs.h. */
3180 rm -f conftest.o conftest.obj
3181 if { { ac_try="$ac_compile"
3183 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
3184 *) ac_try_echo
=$ac_try;;
3186 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3187 $as_echo "$ac_try_echo"; } >&5
3188 (eval "$ac_compile") 2>&5
3190 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3191 test $ac_status = 0; }; then :
3192 for ac_file
in conftest.o conftest.obj conftest.
*; do
3193 test -f "$ac_file" || continue;
3195 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.dSYM
) ;;
3196 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
3201 $as_echo "$as_me: failed program was:" >&5
3202 sed 's/^/| /' conftest.
$ac_ext >&5
3204 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3205 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3206 as_fn_error $?
"cannot compute suffix of object files: cannot compile
3207 See \`config.log' for more details" "$LINENO" 5; }
3209 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
3211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3212 $as_echo "$ac_cv_objext" >&6; }
3213 OBJEXT
=$ac_cv_objext
3215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3216 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3217 if ${ac_cv_c_compiler_gnu+:} false
; then :
3218 $as_echo_n "(cached) " >&6
3220 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3221 /* end confdefs.h. */
3234 if ac_fn_c_try_compile
"$LINENO"; then :
3239 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3240 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
3243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3244 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3245 if test $ac_compiler_gnu = yes; then
3250 ac_test_CFLAGS
=${CFLAGS+set}
3251 ac_save_CFLAGS
=$CFLAGS
3252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3253 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3254 if ${ac_cv_prog_cc_g+:} false
; then :
3255 $as_echo_n "(cached) " >&6
3257 ac_save_c_werror_flag
=$ac_c_werror_flag
3258 ac_c_werror_flag
=yes
3261 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3262 /* end confdefs.h. */
3272 if ac_fn_c_try_compile
"$LINENO"; then :
3276 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3277 /* end confdefs.h. */
3287 if ac_fn_c_try_compile
"$LINENO"; then :
3290 ac_c_werror_flag
=$ac_save_c_werror_flag
3292 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3293 /* end confdefs.h. */
3303 if ac_fn_c_try_compile
"$LINENO"; then :
3306 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3308 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3310 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3311 ac_c_werror_flag
=$ac_save_c_werror_flag
3313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3314 $as_echo "$ac_cv_prog_cc_g" >&6; }
3315 if test "$ac_test_CFLAGS" = set; then
3316 CFLAGS
=$ac_save_CFLAGS
3317 elif test $ac_cv_prog_cc_g = yes; then
3318 if test "$GCC" = yes; then
3324 if test "$GCC" = yes; then
3330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3331 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3332 if ${ac_cv_prog_cc_c89+:} false
; then :
3333 $as_echo_n "(cached) " >&6
3335 ac_cv_prog_cc_c89
=no
3337 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3338 /* end confdefs.h. */
3341 #include <sys/types.h>
3342 #include <sys/stat.h>
3343 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3344 struct buf { int x; };
3345 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3346 static char *e (p, i)
3352 static char *f (char * (*g) (char **, int), char **p, ...)
3357 s = g (p, va_arg (v,int));
3362 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3363 function prototypes and stuff, but not '\xHH' hex character constants.
3364 These don't provoke an error unfortunately, instead are silently treated
3365 as 'x'. The following induces an error, until -std is added to get
3366 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3367 array size at least. It's necessary to write '\x00'==0 to get something
3368 that's true only with -std. */
3369 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3371 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3372 inside strings and character constants. */
3374 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3376 int test (int i, double x);
3377 struct s1 {int (*f) (int a);};
3378 struct s2 {int (*f) (double a);};
3379 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3385 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3390 for ac_arg
in '' -qlanglvl=extc89
-qlanglvl=ansi
-std \
3391 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3393 CC
="$ac_save_CC $ac_arg"
3394 if ac_fn_c_try_compile
"$LINENO"; then :
3395 ac_cv_prog_cc_c89
=$ac_arg
3397 rm -f core conftest.err conftest.
$ac_objext
3398 test "x$ac_cv_prog_cc_c89" != "xno" && break
3400 rm -f conftest.
$ac_ext
3405 case "x$ac_cv_prog_cc_c89" in
3407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3408 $as_echo "none needed" >&6; } ;;
3410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3411 $as_echo "unsupported" >&6; } ;;
3413 CC
="$CC $ac_cv_prog_cc_c89"
3414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3415 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3417 if test "x$ac_cv_prog_cc_c89" != xno
; then :
3422 ac_cpp
='$CPP $CPPFLAGS'
3423 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3424 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3425 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
3428 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
3429 if ${ac_cv_path_SED+:} false
; then :
3430 $as_echo_n "(cached) " >&6
3432 ac_script
=s
/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
/
3433 for ac_i
in 1 2 3 4 5 6 7; do
3434 ac_script
="$ac_script$as_nl$ac_script"
3436 echo "$ac_script" 2>/dev
/null
| sed 99q
>conftest.
sed
3437 { ac_script
=; unset ac_script
;}
3438 if test -z "$SED"; then
3439 ac_path_SED_found
=false
3440 # Loop through the user's path and test for each of PROGNAME-LIST
3441 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3445 test -z "$as_dir" && as_dir
=.
3446 for ac_prog
in sed gsed
; do
3447 for ac_exec_ext
in '' $ac_executable_extensions; do
3448 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
3449 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
3450 # Check for GNU ac_path_SED and select it if it is found.
3451 # Check for GNU $ac_path_SED
3452 case `"$ac_path_SED" --version 2>&1` in
3454 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
3457 $as_echo_n 0123456789 >"conftest.in"
3460 cat "conftest.in" "conftest.in" >"conftest.tmp"
3461 mv "conftest.tmp" "conftest.in"
3462 cp "conftest.in" "conftest.nl"
3463 $as_echo '' >> "conftest.nl"
3464 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
3465 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
3466 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3467 if test $ac_count -gt ${ac_path_SED_max-0}; then
3468 # Best one so far, save it but keep looking for a better one
3469 ac_cv_path_SED
="$ac_path_SED"
3470 ac_path_SED_max
=$ac_count
3472 # 10*(2^10) chars as input seems more than enough
3473 test $ac_count -gt 10 && break
3475 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3478 $ac_path_SED_found && break 3
3483 if test -z "$ac_cv_path_SED"; then
3484 as_fn_error $?
"no acceptable sed could be found in \$PATH" "$LINENO" 5
3491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
3492 $as_echo "$ac_cv_path_SED" >&6; }
3493 SED
="$ac_cv_path_SED"
3496 test -z "$SED" && SED
=sed
3497 Xsed
="$SED -e 1s/^X//"
3509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3510 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3511 if ${ac_cv_path_GREP+:} false
; then :
3512 $as_echo_n "(cached) " >&6
3514 if test -z "$GREP"; then
3515 ac_path_GREP_found
=false
3516 # Loop through the user's path and test for each of PROGNAME-LIST
3517 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3518 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3521 test -z "$as_dir" && as_dir
=.
3522 for ac_prog
in grep ggrep
; do
3523 for ac_exec_ext
in '' $ac_executable_extensions; do
3524 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
3525 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3526 # Check for GNU ac_path_GREP and select it if it is found.
3527 # Check for GNU $ac_path_GREP
3528 case `"$ac_path_GREP" --version 2>&1` in
3530 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
3533 $as_echo_n 0123456789 >"conftest.in"
3536 cat "conftest.in" "conftest.in" >"conftest.tmp"
3537 mv "conftest.tmp" "conftest.in"
3538 cp "conftest.in" "conftest.nl"
3539 $as_echo 'GREP' >> "conftest.nl"
3540 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
3541 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
3542 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3543 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3544 # Best one so far, save it but keep looking for a better one
3545 ac_cv_path_GREP
="$ac_path_GREP"
3546 ac_path_GREP_max
=$ac_count
3548 # 10*(2^10) chars as input seems more than enough
3549 test $ac_count -gt 10 && break
3551 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3554 $ac_path_GREP_found && break 3
3559 if test -z "$ac_cv_path_GREP"; then
3560 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3563 ac_cv_path_GREP
=$GREP
3567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3568 $as_echo "$ac_cv_path_GREP" >&6; }
3569 GREP
="$ac_cv_path_GREP"
3572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3573 $as_echo_n "checking for egrep... " >&6; }
3574 if ${ac_cv_path_EGREP+:} false
; then :
3575 $as_echo_n "(cached) " >&6
3577 if echo a
| $GREP -E '(a|b)' >/dev
/null
2>&1
3578 then ac_cv_path_EGREP
="$GREP -E"
3580 if test -z "$EGREP"; then
3581 ac_path_EGREP_found
=false
3582 # Loop through the user's path and test for each of PROGNAME-LIST
3583 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3584 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3587 test -z "$as_dir" && as_dir
=.
3588 for ac_prog
in egrep; do
3589 for ac_exec_ext
in '' $ac_executable_extensions; do
3590 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
3591 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3592 # Check for GNU ac_path_EGREP and select it if it is found.
3593 # Check for GNU $ac_path_EGREP
3594 case `"$ac_path_EGREP" --version 2>&1` in
3596 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
3599 $as_echo_n 0123456789 >"conftest.in"
3602 cat "conftest.in" "conftest.in" >"conftest.tmp"
3603 mv "conftest.tmp" "conftest.in"
3604 cp "conftest.in" "conftest.nl"
3605 $as_echo 'EGREP' >> "conftest.nl"
3606 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
3607 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
3608 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3609 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3610 # Best one so far, save it but keep looking for a better one
3611 ac_cv_path_EGREP
="$ac_path_EGREP"
3612 ac_path_EGREP_max
=$ac_count
3614 # 10*(2^10) chars as input seems more than enough
3615 test $ac_count -gt 10 && break
3617 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3620 $ac_path_EGREP_found && break 3
3625 if test -z "$ac_cv_path_EGREP"; then
3626 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3629 ac_cv_path_EGREP
=$EGREP
3634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3635 $as_echo "$ac_cv_path_EGREP" >&6; }
3636 EGREP
="$ac_cv_path_EGREP"
3639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
3640 $as_echo_n "checking for fgrep... " >&6; }
3641 if ${ac_cv_path_FGREP+:} false
; then :
3642 $as_echo_n "(cached) " >&6
3644 if echo 'ab*c' | $GREP -F 'ab*c' >/dev
/null
2>&1
3645 then ac_cv_path_FGREP
="$GREP -F"
3647 if test -z "$FGREP"; then
3648 ac_path_FGREP_found
=false
3649 # Loop through the user's path and test for each of PROGNAME-LIST
3650 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3651 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3654 test -z "$as_dir" && as_dir
=.
3655 for ac_prog
in fgrep
; do
3656 for ac_exec_ext
in '' $ac_executable_extensions; do
3657 ac_path_FGREP
="$as_dir/$ac_prog$ac_exec_ext"
3658 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
3659 # Check for GNU ac_path_FGREP and select it if it is found.
3660 # Check for GNU $ac_path_FGREP
3661 case `"$ac_path_FGREP" --version 2>&1` in
3663 ac_cv_path_FGREP
="$ac_path_FGREP" ac_path_FGREP_found
=:;;
3666 $as_echo_n 0123456789 >"conftest.in"
3669 cat "conftest.in" "conftest.in" >"conftest.tmp"
3670 mv "conftest.tmp" "conftest.in"
3671 cp "conftest.in" "conftest.nl"
3672 $as_echo 'FGREP' >> "conftest.nl"
3673 "$ac_path_FGREP" FGREP
< "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
3674 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
3675 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3676 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
3677 # Best one so far, save it but keep looking for a better one
3678 ac_cv_path_FGREP
="$ac_path_FGREP"
3679 ac_path_FGREP_max
=$ac_count
3681 # 10*(2^10) chars as input seems more than enough
3682 test $ac_count -gt 10 && break
3684 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3687 $ac_path_FGREP_found && break 3
3692 if test -z "$ac_cv_path_FGREP"; then
3693 as_fn_error $?
"no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3696 ac_cv_path_FGREP
=$FGREP
3701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
3702 $as_echo "$ac_cv_path_FGREP" >&6; }
3703 FGREP
="$ac_cv_path_FGREP"
3706 test -z "$GREP" && GREP
=grep
3726 # Check whether --with-gnu-ld was given.
3727 if test "${with_gnu_ld+set}" = set; then :
3728 withval
=$with_gnu_ld; test "$withval" = no
|| with_gnu_ld
=yes
3734 if test "$GCC" = yes; then
3735 # Check if gcc -print-prog-name=ld gives a path.
3736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
3737 $as_echo_n "checking for ld used by $CC... " >&6; }
3740 # gcc leaves a trailing carriage return which upsets mingw
3741 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3743 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
3746 # Accept absolute paths.
3748 re_direlt
='/[^/][^/]*/\.\./'
3749 # Canonicalize the pathname of ld
3750 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
3751 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev
/null
2>&1; do
3752 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
3754 test -z "$LD" && LD
="$ac_prog"
3757 # If it fails, then pretend we aren't using GCC.
3761 # If it is relative, then search for the first ld in PATH.
3765 elif test "$with_gnu_ld" = yes; then
3766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
3767 $as_echo_n "checking for GNU ld... " >&6; }
3769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
3770 $as_echo_n "checking for non-GNU ld... " >&6; }
3772 if ${lt_cv_path_LD+:} false
; then :
3773 $as_echo_n "(cached) " >&6
3775 if test -z "$LD"; then
3776 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
3777 for ac_dir
in $PATH; do
3779 test -z "$ac_dir" && ac_dir
=.
3780 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
3781 lt_cv_path_LD
="$ac_dir/$ac_prog"
3782 # Check to see if the program is GNU ld. I'd rather use --version,
3783 # but apparently some variants of GNU ld only accept -v.
3784 # Break only if it was the GNU/non-GNU ld that we prefer.
3785 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
3786 *GNU
* | *'with BFD'*)
3787 test "$with_gnu_ld" != no
&& break
3790 test "$with_gnu_ld" != yes && break
3797 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
3802 if test -n "$LD"; then
3803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
3804 $as_echo "$LD" >&6; }
3806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3807 $as_echo "no" >&6; }
3809 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
3810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
3811 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
3812 if ${lt_cv_prog_gnu_ld+:} false
; then :
3813 $as_echo_n "(cached) " >&6
3815 # I'd rather use --version here, but apparently some GNU lds only accept -v.
3816 case `$LD -v 2>&1 </dev/null` in
3817 *GNU
* | *'with BFD'*)
3818 lt_cv_prog_gnu_ld
=yes
3821 lt_cv_prog_gnu_ld
=no
3825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
3826 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
3827 with_gnu_ld
=$lt_cv_prog_gnu_ld
3837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
3838 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
3839 if ${lt_cv_path_NM+:} false
; then :
3840 $as_echo_n "(cached) " >&6
3842 if test -n "$NM"; then
3843 # Let the user override the test.
3846 lt_nm_to_check
="${ac_tool_prefix}nm"
3847 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
3848 lt_nm_to_check
="$lt_nm_to_check nm"
3850 for lt_tmp_nm
in $lt_nm_to_check; do
3851 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
3852 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
3854 test -z "$ac_dir" && ac_dir
=.
3855 tmp_nm
="$ac_dir/$lt_tmp_nm"
3856 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
3857 # Check to see if the nm accepts a BSD-compat flag.
3858 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
3859 # nm: unknown option "B" ignored
3860 # Tru64's nm complains that /dev/null is an invalid object file
3861 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
3862 */dev
/null
* | *'Invalid file or object type'*)
3863 lt_cv_path_NM
="$tmp_nm -B"
3867 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
3869 lt_cv_path_NM
="$tmp_nm -p"
3873 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
3874 continue # so that we can try to find one that supports BSD flags
3883 : ${lt_cv_path_NM=no}
3886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
3887 $as_echo "$lt_cv_path_NM" >&6; }
3888 if test "$lt_cv_path_NM" != "no"; then
3891 # Didn't find any BSD compatible name lister, look for dumpbin.
3892 if test -n "$DUMPBIN"; then :
3893 # Let the user override the test.
3895 if test -n "$ac_tool_prefix"; then
3896 for ac_prog
in dumpbin
"link -dump"
3898 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3899 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3901 $as_echo_n "checking for $ac_word... " >&6; }
3902 if ${ac_cv_prog_DUMPBIN+:} false
; then :
3903 $as_echo_n "(cached) " >&6
3905 if test -n "$DUMPBIN"; then
3906 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
3908 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3912 test -z "$as_dir" && as_dir
=.
3913 for ac_exec_ext
in '' $ac_executable_extensions; do
3914 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3915 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
3916 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3925 DUMPBIN
=$ac_cv_prog_DUMPBIN
3926 if test -n "$DUMPBIN"; then
3927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
3928 $as_echo "$DUMPBIN" >&6; }
3930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3931 $as_echo "no" >&6; }
3935 test -n "$DUMPBIN" && break
3938 if test -z "$DUMPBIN"; then
3939 ac_ct_DUMPBIN
=$DUMPBIN
3940 for ac_prog
in dumpbin
"link -dump"
3942 # Extract the first word of "$ac_prog", so it can be a program name with args.
3943 set dummy
$ac_prog; ac_word
=$2
3944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3945 $as_echo_n "checking for $ac_word... " >&6; }
3946 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false
; then :
3947 $as_echo_n "(cached) " >&6
3949 if test -n "$ac_ct_DUMPBIN"; then
3950 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
3952 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3956 test -z "$as_dir" && as_dir
=.
3957 for ac_exec_ext
in '' $ac_executable_extensions; do
3958 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3959 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
3960 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3969 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
3970 if test -n "$ac_ct_DUMPBIN"; then
3971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
3972 $as_echo "$ac_ct_DUMPBIN" >&6; }
3974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3975 $as_echo "no" >&6; }
3979 test -n "$ac_ct_DUMPBIN" && break
3982 if test "x$ac_ct_DUMPBIN" = x
; then
3985 case $cross_compiling:$ac_tool_warned in
3987 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3988 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3989 ac_tool_warned
=yes ;;
3991 DUMPBIN
=$ac_ct_DUMPBIN
3995 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
3997 DUMPBIN
="$DUMPBIN -symbols"
4005 if test "$DUMPBIN" != ":"; then
4009 test -z "$NM" && NM
=nm
4016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4017 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
4018 if ${lt_cv_nm_interface+:} false
; then :
4019 $as_echo_n "(cached) " >&6
4021 lt_cv_nm_interface
="BSD nm"
4022 echo "int some_variable = 0;" > conftest.
$ac_ext
4023 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
4024 (eval "$ac_compile" 2>conftest.err
)
4025 cat conftest.err
>&5
4026 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4027 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
4028 cat conftest.err
>&5
4029 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
4030 cat conftest.out
>&5
4031 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
4032 lt_cv_nm_interface
="MS dumpbin"
4036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4037 $as_echo "$lt_cv_nm_interface" >&6; }
4039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4040 $as_echo_n "checking whether ln -s works... " >&6; }
4042 if test "$LN_S" = "ln -s"; then
4043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4044 $as_echo "yes" >&6; }
4046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4047 $as_echo "no, using $LN_S" >&6; }
4050 # find the maximum length of command line arguments
4051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4052 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
4053 if ${lt_cv_sys_max_cmd_len+:} false
; then :
4054 $as_echo_n "(cached) " >&6
4061 # On DJGPP, this test can blow up pretty badly due to problems in libc
4062 # (any single argument exceeding 2000 bytes causes a buffer overrun
4063 # during glob expansion). Even if it were fixed, the result of this
4064 # check would be larger than it should be.
4065 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
4069 # Under GNU Hurd, this test is not required because there is
4070 # no limit to the length of command line arguments.
4071 # Libtool will interpret -1 as no limit whatsoever
4072 lt_cv_sys_max_cmd_len
=-1;
4075 cygwin
* | mingw
* | cegcc
*)
4076 # On Win9x/ME, this test blows up -- it succeeds, but takes
4077 # about 5 minutes as the teststring grows exponentially.
4078 # Worse, since 9x/ME are not pre-emptively multitasking,
4079 # you end up with a "frozen" computer, even though with patience
4080 # the test eventually succeeds (with a max line length of 256k).
4081 # Instead, let's just punt: use the minimum linelength reported by
4082 # all of the supported platforms: 8192 (on NT/2K/XP).
4083 lt_cv_sys_max_cmd_len
=8192;
4087 # On MiNT this can take a long time and run out of memory.
4088 lt_cv_sys_max_cmd_len
=8192;
4092 # On AmigaOS with pdksh, this test takes hours, literally.
4093 # So we just punt and use a minimum line length of 8192.
4094 lt_cv_sys_max_cmd_len
=8192;
4097 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
4098 # This has been around since 386BSD, at least. Likely further.
4099 if test -x /sbin
/sysctl
; then
4100 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
4101 elif test -x /usr
/sbin
/sysctl
; then
4102 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
4104 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
4106 # And add a safety zone
4107 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
4108 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
4112 # We know the value 262144 and hardcode it with a safety zone (like BSD)
4113 lt_cv_sys_max_cmd_len
=196608
4117 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4118 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4119 # nice to cause kernel panics so lets avoid the loop below.
4120 # First set a reasonable default.
4121 lt_cv_sys_max_cmd_len
=16384
4123 if test -x /sbin
/sysconfig
; then
4124 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4125 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
4130 lt_cv_sys_max_cmd_len
=102400
4132 sysv5
* | sco5v6
* | sysv4.2uw2
*)
4133 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4134 if test -n "$kargmax"; then
4135 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
4137 lt_cv_sys_max_cmd_len
=32768
4141 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
4142 if test -n "$lt_cv_sys_max_cmd_len"; then
4143 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
4144 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
4146 # Make teststring a little bigger before we do anything with it.
4147 # a 1K string should be a reasonable start.
4148 for i
in 1 2 3 4 5 6 7 8 ; do
4149 teststring
=$teststring$teststring
4151 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
4152 # If test is not a shell built-in, we'll probably end up computing a
4153 # maximum length that is only half of the actual maximum length, but
4155 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
4156 = "X$teststring$teststring"; } >/dev
/null
2>&1 &&
4157 test $i != 17 # 1/2 MB should be enough
4160 teststring
=$teststring$teststring
4162 # Only check the string length outside the loop.
4163 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
4165 # Add a significant safety factor because C++ compilers can tack on
4166 # massive amounts of additional arguments before passing them to the
4167 # linker. It appears as though 1/2 is a usable value.
4168 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
4175 if test -n $lt_cv_sys_max_cmd_len ; then
4176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
4177 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
4179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
4180 $as_echo "none" >&6; }
4182 max_cmd_len
=$lt_cv_sys_max_cmd_len
4193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
4194 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
4195 # Try some XSI features
4198 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
4200 && eval 'test $(( 1 + 1 )) -eq 2 \
4201 && test "${#_lt_dummy}" -eq 5' ) >/dev
/null
2>&1 \
4203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
4204 $as_echo "$xsi_shell" >&6; }
4207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
4208 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
4210 ( foo
=bar
; set foo baz
; eval "$1+=\$2" && test "$foo" = barbaz
) \
4212 && lt_shell_append
=yes
4213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
4214 $as_echo "$lt_shell_append" >&6; }
4217 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
4227 # test EBCDIC or ASCII
4228 case `echo X|tr X '\101'` in
4229 A
) # ASCII based system
4230 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4231 lt_SP2NL
='tr \040 \012'
4232 lt_NL2SP
='tr \015\012 \040\040'
4234 *) # EBCDIC based system
4235 lt_SP2NL
='tr \100 \n'
4236 lt_NL2SP
='tr \r\n \100\100'
4248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
4249 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
4250 if ${lt_cv_to_host_file_cmd+:} false
; then :
4251 $as_echo_n "(cached) " >&6
4256 *-*-mingw* ) # actually msys
4257 lt_cv_to_host_file_cmd
=func_convert_file_msys_to_w32
4260 lt_cv_to_host_file_cmd
=func_convert_file_cygwin_to_w32
4262 * ) # otherwise, assume *nix
4263 lt_cv_to_host_file_cmd
=func_convert_file_nix_to_w32
4269 *-*-mingw* ) # actually msys
4270 lt_cv_to_host_file_cmd
=func_convert_file_msys_to_cygwin
4273 lt_cv_to_host_file_cmd
=func_convert_file_noop
4275 * ) # otherwise, assume *nix
4276 lt_cv_to_host_file_cmd
=func_convert_file_nix_to_cygwin
4280 * ) # unhandled hosts (and "normal" native builds)
4281 lt_cv_to_host_file_cmd
=func_convert_file_noop
4287 to_host_file_cmd
=$lt_cv_to_host_file_cmd
4288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
4289 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
4295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
4296 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
4297 if ${lt_cv_to_tool_file_cmd+:} false
; then :
4298 $as_echo_n "(cached) " >&6
4300 #assume ordinary cross tools, or native build.
4301 lt_cv_to_tool_file_cmd
=func_convert_file_noop
4305 *-*-mingw* ) # actually msys
4306 lt_cv_to_tool_file_cmd
=func_convert_file_msys_to_w32
4314 to_tool_file_cmd
=$lt_cv_to_tool_file_cmd
4315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
4316 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
4322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
4323 $as_echo_n "checking for $LD option to reload object files... " >&6; }
4324 if ${lt_cv_ld_reload_flag+:} false
; then :
4325 $as_echo_n "(cached) " >&6
4327 lt_cv_ld_reload_flag
='-r'
4329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
4330 $as_echo "$lt_cv_ld_reload_flag" >&6; }
4331 reload_flag
=$lt_cv_ld_reload_flag
4332 case $reload_flag in
4334 *) reload_flag
=" $reload_flag" ;;
4336 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
4338 cygwin
* | mingw
* | pw32
* | cegcc
*)
4339 if test "$GCC" != yes; then
4344 if test "$GCC" = yes; then
4345 reload_cmds
='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4347 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
4360 if test -n "$ac_tool_prefix"; then
4361 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
4362 set dummy
${ac_tool_prefix}objdump
; ac_word
=$2
4363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4364 $as_echo_n "checking for $ac_word... " >&6; }
4365 if ${ac_cv_prog_OBJDUMP+:} false
; then :
4366 $as_echo_n "(cached) " >&6
4368 if test -n "$OBJDUMP"; then
4369 ac_cv_prog_OBJDUMP
="$OBJDUMP" # Let the user override the test.
4371 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4375 test -z "$as_dir" && as_dir
=.
4376 for ac_exec_ext
in '' $ac_executable_extensions; do
4377 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4378 ac_cv_prog_OBJDUMP
="${ac_tool_prefix}objdump"
4379 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4388 OBJDUMP
=$ac_cv_prog_OBJDUMP
4389 if test -n "$OBJDUMP"; then
4390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
4391 $as_echo "$OBJDUMP" >&6; }
4393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4394 $as_echo "no" >&6; }
4399 if test -z "$ac_cv_prog_OBJDUMP"; then
4400 ac_ct_OBJDUMP
=$OBJDUMP
4401 # Extract the first word of "objdump", so it can be a program name with args.
4402 set dummy objdump
; ac_word
=$2
4403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4404 $as_echo_n "checking for $ac_word... " >&6; }
4405 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false
; then :
4406 $as_echo_n "(cached) " >&6
4408 if test -n "$ac_ct_OBJDUMP"; then
4409 ac_cv_prog_ac_ct_OBJDUMP
="$ac_ct_OBJDUMP" # Let the user override the test.
4411 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4415 test -z "$as_dir" && as_dir
=.
4416 for ac_exec_ext
in '' $ac_executable_extensions; do
4417 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4418 ac_cv_prog_ac_ct_OBJDUMP
="objdump"
4419 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4428 ac_ct_OBJDUMP
=$ac_cv_prog_ac_ct_OBJDUMP
4429 if test -n "$ac_ct_OBJDUMP"; then
4430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
4431 $as_echo "$ac_ct_OBJDUMP" >&6; }
4433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4434 $as_echo "no" >&6; }
4437 if test "x$ac_ct_OBJDUMP" = x
; then
4440 case $cross_compiling:$ac_tool_warned in
4442 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4443 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4444 ac_tool_warned
=yes ;;
4446 OBJDUMP
=$ac_ct_OBJDUMP
4449 OBJDUMP
="$ac_cv_prog_OBJDUMP"
4452 test -z "$OBJDUMP" && OBJDUMP
=objdump
4462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
4463 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
4464 if ${lt_cv_deplibs_check_method+:} false
; then :
4465 $as_echo_n "(cached) " >&6
4467 lt_cv_file_magic_cmd
='$MAGIC_CMD'
4468 lt_cv_file_magic_test_file
=
4469 lt_cv_deplibs_check_method
='unknown'
4470 # Need to set the preceding variable on all platforms that support
4471 # interlibrary dependencies.
4472 # 'none' -- dependencies not supported.
4473 # `unknown' -- same as none, but documents that we really don't know.
4474 # 'pass_all' -- all dependencies passed with no checks.
4475 # 'test_compile' -- check by making test program.
4476 # 'file_magic [[regex]]' -- check by looking for files in library path
4477 # which responds to the $file_magic_cmd with a given extended regex.
4478 # If you have `file' or equivalent on your system and you're not sure
4479 # whether `pass_all' will *always* work, you probably want this one.
4483 lt_cv_deplibs_check_method
=pass_all
4487 lt_cv_deplibs_check_method
=pass_all
4491 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4492 lt_cv_file_magic_cmd
='/usr/bin/file -L'
4493 lt_cv_file_magic_test_file
=/shlib
/libc.so
4497 # func_win32_libid is a shell function defined in ltmain.sh
4498 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
4499 lt_cv_file_magic_cmd
='func_win32_libid'
4503 # Base MSYS/MinGW do not provide the 'file' command needed by
4504 # func_win32_libid shell function, so use a weaker test based on 'objdump',
4505 # unless we find 'file', for example because we are cross-compiling.
4506 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
4507 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev
/null
2>&1; then
4508 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
4509 lt_cv_file_magic_cmd
='func_win32_libid'
4511 # Keep this pattern in sync with the one in func_win32_libid.
4512 lt_cv_deplibs_check_method
='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
4513 lt_cv_file_magic_cmd
='$OBJDUMP -f'
4518 # use the weaker test based on 'objdump'. See mingw*.
4519 lt_cv_deplibs_check_method
='file_magic file format pe-arm-.*little(.*architecture: arm)?'
4520 lt_cv_file_magic_cmd
='$OBJDUMP -f'
4523 darwin
* | rhapsody
*)
4524 lt_cv_deplibs_check_method
=pass_all
4527 freebsd
* | dragonfly
*)
4528 if echo __ELF__
| $CC -E - | $GREP __ELF__
> /dev
/null
; then
4531 # Not sure whether the presence of OpenBSD here was a mistake.
4532 # Let's accept both of them until this is cleared up.
4533 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
4534 lt_cv_file_magic_cmd
=/usr
/bin
/file
4535 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
4539 lt_cv_deplibs_check_method
=pass_all
4544 lt_cv_deplibs_check_method
=pass_all
4548 lt_cv_deplibs_check_method
=pass_all
4551 hpux10.20
* | hpux11
*)
4552 lt_cv_file_magic_cmd
=/usr
/bin
/file
4555 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4556 lt_cv_file_magic_test_file
=/usr
/lib
/hpux
32/libc.so
4559 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]'
4560 lt_cv_file_magic_test_file
=/usr
/lib
/pa
20_
64/libc.sl
4563 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
4564 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
4570 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
4571 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|\.a)$'
4574 irix5
* | irix6
* | nonstopux
*)
4576 *-32|*"-32 ") libmagic
=32-bit;;
4577 *-n32|*"-n32 ") libmagic
=N32
;;
4578 *-64|*"-64 ") libmagic
=64-bit;;
4579 *) libmagic
=never
-match;;
4581 lt_cv_deplibs_check_method
=pass_all
4584 # This must be Linux ELF.
4585 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
4586 lt_cv_deplibs_check_method
=pass_all
4589 netbsd
* | netbsdelf
*-gnu)
4590 if echo __ELF__
| $CC -E - | $GREP __ELF__
> /dev
/null
; then
4591 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4593 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|_pic\.a)$'
4598 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4599 lt_cv_file_magic_cmd
=/usr
/bin
/file
4600 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
4604 lt_cv_deplibs_check_method
=pass_all
4608 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
4609 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
4611 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4615 osf3
* | osf4
* | osf5
*)
4616 lt_cv_deplibs_check_method
=pass_all
4620 lt_cv_deplibs_check_method
=pass_all
4624 lt_cv_deplibs_check_method
=pass_all
4627 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
4628 lt_cv_deplibs_check_method
=pass_all
4632 case $host_vendor in
4634 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]'
4635 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
4638 lt_cv_deplibs_check_method
=pass_all
4641 lt_cv_file_magic_cmd
='/bin/file'
4642 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
4645 lt_cv_file_magic_cmd
='/bin/file'
4646 lt_cv_deplibs_check_method
="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
4647 lt_cv_file_magic_test_file
=/lib
/libc.so
4650 lt_cv_deplibs_check_method
=pass_all
4653 lt_cv_deplibs_check_method
=pass_all
4659 lt_cv_deplibs_check_method
=pass_all
4664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
4665 $as_echo "$lt_cv_deplibs_check_method" >&6; }
4669 if test "$build" = "$host"; then
4672 if ( shopt | grep nocaseglob
) >/dev
/null
2>&1; then
4675 file_magic_glob
=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
4681 file_magic_cmd
=$lt_cv_file_magic_cmd
4682 deplibs_check_method
=$lt_cv_deplibs_check_method
4683 test -z "$deplibs_check_method" && deplibs_check_method
=unknown
4706 if test -n "$ac_tool_prefix"; then
4707 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
4708 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
4709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4710 $as_echo_n "checking for $ac_word... " >&6; }
4711 if ${ac_cv_prog_DLLTOOL+:} false
; then :
4712 $as_echo_n "(cached) " >&6
4714 if test -n "$DLLTOOL"; then
4715 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
4717 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4721 test -z "$as_dir" && as_dir
=.
4722 for ac_exec_ext
in '' $ac_executable_extensions; do
4723 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4724 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
4725 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4734 DLLTOOL
=$ac_cv_prog_DLLTOOL
4735 if test -n "$DLLTOOL"; then
4736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
4737 $as_echo "$DLLTOOL" >&6; }
4739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4740 $as_echo "no" >&6; }
4745 if test -z "$ac_cv_prog_DLLTOOL"; then
4746 ac_ct_DLLTOOL
=$DLLTOOL
4747 # Extract the first word of "dlltool", so it can be a program name with args.
4748 set dummy dlltool
; ac_word
=$2
4749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4750 $as_echo_n "checking for $ac_word... " >&6; }
4751 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false
; then :
4752 $as_echo_n "(cached) " >&6
4754 if test -n "$ac_ct_DLLTOOL"; then
4755 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
4757 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4761 test -z "$as_dir" && as_dir
=.
4762 for ac_exec_ext
in '' $ac_executable_extensions; do
4763 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4764 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
4765 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4774 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
4775 if test -n "$ac_ct_DLLTOOL"; then
4776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
4777 $as_echo "$ac_ct_DLLTOOL" >&6; }
4779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4780 $as_echo "no" >&6; }
4783 if test "x$ac_ct_DLLTOOL" = x
; then
4786 case $cross_compiling:$ac_tool_warned in
4788 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4789 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4790 ac_tool_warned
=yes ;;
4792 DLLTOOL
=$ac_ct_DLLTOOL
4795 DLLTOOL
="$ac_cv_prog_DLLTOOL"
4798 test -z "$DLLTOOL" && DLLTOOL
=dlltool
4809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
4810 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
4811 if ${lt_cv_sharedlib_from_linklib_cmd+:} false
; then :
4812 $as_echo_n "(cached) " >&6
4814 lt_cv_sharedlib_from_linklib_cmd
='unknown'
4817 cygwin
* | mingw
* | pw32
* | cegcc
*)
4818 # two different shell functions defined in ltmain.sh
4819 # decide which to use based on capabilities of $DLLTOOL
4820 case `$DLLTOOL --help 2>&1` in
4821 *--identify-strict*)
4822 lt_cv_sharedlib_from_linklib_cmd
=func_cygming_dll_for_implib
4825 lt_cv_sharedlib_from_linklib_cmd
=func_cygming_dll_for_implib_fallback
4830 # fallback: assume linklib IS sharedlib
4831 lt_cv_sharedlib_from_linklib_cmd
="$ECHO"
4836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
4837 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
4838 sharedlib_from_linklib_cmd
=$lt_cv_sharedlib_from_linklib_cmd
4839 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd
=$ECHO
4848 if test -n "$ac_tool_prefix"; then
4851 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4852 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4854 $as_echo_n "checking for $ac_word... " >&6; }
4855 if ${ac_cv_prog_AR+:} false
; then :
4856 $as_echo_n "(cached) " >&6
4858 if test -n "$AR"; then
4859 ac_cv_prog_AR
="$AR" # Let the user override the test.
4861 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4865 test -z "$as_dir" && as_dir
=.
4866 for ac_exec_ext
in '' $ac_executable_extensions; do
4867 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4868 ac_cv_prog_AR
="$ac_tool_prefix$ac_prog"
4869 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4879 if test -n "$AR"; then
4880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
4881 $as_echo "$AR" >&6; }
4883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4884 $as_echo "no" >&6; }
4888 test -n "$AR" && break
4891 if test -z "$AR"; then
4895 # Extract the first word of "$ac_prog", so it can be a program name with args.
4896 set dummy
$ac_prog; ac_word
=$2
4897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4898 $as_echo_n "checking for $ac_word... " >&6; }
4899 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
4900 $as_echo_n "(cached) " >&6
4902 if test -n "$ac_ct_AR"; then
4903 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
4905 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4909 test -z "$as_dir" && as_dir
=.
4910 for ac_exec_ext
in '' $ac_executable_extensions; do
4911 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4912 ac_cv_prog_ac_ct_AR
="$ac_prog"
4913 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4922 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
4923 if test -n "$ac_ct_AR"; then
4924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
4925 $as_echo "$ac_ct_AR" >&6; }
4927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4928 $as_echo "no" >&6; }
4932 test -n "$ac_ct_AR" && break
4935 if test "x$ac_ct_AR" = x
; then
4938 case $cross_compiling:$ac_tool_warned in
4940 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4941 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4942 ac_tool_warned
=yes ;;
4961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
4962 $as_echo_n "checking for archiver @FILE support... " >&6; }
4963 if ${lt_cv_ar_at_file+:} false
; then :
4964 $as_echo_n "(cached) " >&6
4967 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4968 /* end confdefs.h. */
4978 if ac_fn_c_try_compile
"$LINENO"; then :
4979 echo conftest.
$ac_objext > conftest.lst
4980 lt_ar_try
='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
4981 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
4982 (eval $lt_ar_try) 2>&5
4984 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4985 test $ac_status = 0; }
4986 if test "$ac_status" -eq 0; then
4987 # Ensure the archiver fails upon bogus file names.
4988 rm -f conftest.
$ac_objext libconftest.a
4989 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
4990 (eval $lt_ar_try) 2>&5
4992 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4993 test $ac_status = 0; }
4994 if test "$ac_status" -ne 0; then
4998 rm -f conftest.
* libconftest.a
5001 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
5005 $as_echo "$lt_cv_ar_at_file" >&6; }
5007 if test "x$lt_cv_ar_at_file" = xno
; then
5010 archiver_list_spec
=$lt_cv_ar_at_file
5019 if test -n "$ac_tool_prefix"; then
5020 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5021 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
5022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5023 $as_echo_n "checking for $ac_word... " >&6; }
5024 if ${ac_cv_prog_STRIP+:} false
; then :
5025 $as_echo_n "(cached) " >&6
5027 if test -n "$STRIP"; then
5028 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
5030 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5034 test -z "$as_dir" && as_dir
=.
5035 for ac_exec_ext
in '' $ac_executable_extensions; do
5036 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5037 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
5038 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5047 STRIP
=$ac_cv_prog_STRIP
5048 if test -n "$STRIP"; then
5049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5050 $as_echo "$STRIP" >&6; }
5052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5053 $as_echo "no" >&6; }
5058 if test -z "$ac_cv_prog_STRIP"; then
5060 # Extract the first word of "strip", so it can be a program name with args.
5061 set dummy strip
; ac_word
=$2
5062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5063 $as_echo_n "checking for $ac_word... " >&6; }
5064 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
5065 $as_echo_n "(cached) " >&6
5067 if test -n "$ac_ct_STRIP"; then
5068 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
5070 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5074 test -z "$as_dir" && as_dir
=.
5075 for ac_exec_ext
in '' $ac_executable_extensions; do
5076 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5077 ac_cv_prog_ac_ct_STRIP
="strip"
5078 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5087 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
5088 if test -n "$ac_ct_STRIP"; then
5089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5090 $as_echo "$ac_ct_STRIP" >&6; }
5092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5093 $as_echo "no" >&6; }
5096 if test "x$ac_ct_STRIP" = x
; then
5099 case $cross_compiling:$ac_tool_warned in
5101 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5102 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5103 ac_tool_warned
=yes ;;
5108 STRIP
="$ac_cv_prog_STRIP"
5111 test -z "$STRIP" && STRIP
=:
5118 if test -n "$ac_tool_prefix"; then
5119 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5120 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5122 $as_echo_n "checking for $ac_word... " >&6; }
5123 if ${ac_cv_prog_RANLIB+:} false
; then :
5124 $as_echo_n "(cached) " >&6
5126 if test -n "$RANLIB"; then
5127 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5129 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5133 test -z "$as_dir" && as_dir
=.
5134 for ac_exec_ext
in '' $ac_executable_extensions; do
5135 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5136 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5137 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5146 RANLIB
=$ac_cv_prog_RANLIB
5147 if test -n "$RANLIB"; then
5148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5149 $as_echo "$RANLIB" >&6; }
5151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5152 $as_echo "no" >&6; }
5157 if test -z "$ac_cv_prog_RANLIB"; then
5158 ac_ct_RANLIB
=$RANLIB
5159 # Extract the first word of "ranlib", so it can be a program name with args.
5160 set dummy ranlib
; ac_word
=$2
5161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5162 $as_echo_n "checking for $ac_word... " >&6; }
5163 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
5164 $as_echo_n "(cached) " >&6
5166 if test -n "$ac_ct_RANLIB"; then
5167 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5169 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5173 test -z "$as_dir" && as_dir
=.
5174 for ac_exec_ext
in '' $ac_executable_extensions; do
5175 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5176 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5177 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5186 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5187 if test -n "$ac_ct_RANLIB"; then
5188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5189 $as_echo "$ac_ct_RANLIB" >&6; }
5191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5192 $as_echo "no" >&6; }
5195 if test "x$ac_ct_RANLIB" = x
; then
5198 case $cross_compiling:$ac_tool_warned in
5200 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5201 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5202 ac_tool_warned
=yes ;;
5204 RANLIB
=$ac_ct_RANLIB
5207 RANLIB
="$ac_cv_prog_RANLIB"
5210 test -z "$RANLIB" && RANLIB
=:
5217 # Determine commands to create old-style static archives.
5218 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs'
5219 old_postinstall_cmds
='chmod 644 $oldlib'
5220 old_postuninstall_cmds
=
5222 if test -n "$RANLIB"; then
5225 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
5228 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB \$oldlib"
5231 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$oldlib"
5236 lock_old_archive_extraction
=yes ;;
5238 lock_old_archive_extraction
=no
;;
5279 # If no C compiler was specified, use CC.
5282 # If no C compiler flags were specified, use CFLAGS.
5283 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
5285 # Allow CC to be a program name with arguments.
5289 # Check for command to grab the raw symbol name followed by C symbol from nm.
5290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
5291 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
5292 if ${lt_cv_sys_global_symbol_pipe+:} false
; then :
5293 $as_echo_n "(cached) " >&6
5296 # These are sane defaults that work on at least a few old systems.
5297 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5299 # Character class describing NM global symbol codes.
5300 symcode
='[BCDEGRST]'
5302 # Regexp to match symbols that can be accessed directly from C.
5303 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
5305 # Define system-specific variables.
5310 cygwin
* | mingw
* | pw32
* | cegcc
*)
5311 symcode
='[ABCDGISTW]'
5314 if test "$host_cpu" = ia64
; then
5315 symcode
='[ABCDEGRST]'
5319 symcode
='[BCDEGRST]'
5322 symcode
='[BCDEGQRST]'
5333 sysv5
* | sco5v6
* | unixware
* | OpenUNIX
*)
5341 # If we're using GNU nm, then use its standard symbol codes.
5342 case `$NM -V 2>&1` in
5343 *GNU
* | *'with BFD'*)
5344 symcode
='[ABCDGIRSTW]' ;;
5347 # Transform an extracted symbol line into a proper C declaration.
5348 # Some systems (esp. on ia64) link data and code symbols differently,
5349 # so use this general approach.
5350 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5352 # Transform an extracted symbol line into symbol name and symbol address
5353 lt_cv_sys_global_symbol_to_c_name_address
="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
5354 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'"
5356 # Handle CRLF in mingw tool chain
5360 opt_cr
=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5364 # Try without a prefix underscore, then with it.
5365 for ac_symprfx
in "" "_"; do
5367 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5368 symxfrm
="\\1 $ac_symprfx\\2 \\2"
5370 # Write the raw and C identifiers.
5371 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
5372 # Fake it for dumpbin and say T for any non-static function
5373 # and D for any global variable.
5374 # Also find C++ and __fastcall symbols from MSVC++,
5375 # which start with @ or ?.
5376 lt_cv_sys_global_symbol_pipe
="$AWK '"\
5377 " {last_section=section; section=\$ 3};"\
5378 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5379 " \$ 0!~/External *\|/{next};"\
5380 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
5381 " {if(hide[section]) next};"\
5382 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
5383 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
5384 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
5385 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
5386 " ' prfx=^$ac_symprfx"
5388 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5390 lt_cv_sys_global_symbol_pipe
="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
5392 # Check to see that the pipe works correctly.
5396 cat > conftest.
$ac_ext <<_LT_EOF
5401 void nm_test_func(void);
5402 void nm_test_func(void){}
5406 int main(){nm_test_var='a';nm_test_func();return(0);}
5409 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5410 (eval $ac_compile) 2>&5
5412 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5413 test $ac_status = 0; }; then
5414 # Now try to grab the symbols.
5416 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
5417 (eval $NM conftest.
$ac_objext \
| "$lt_cv_sys_global_symbol_pipe" \
> $nlist) 2>&5
5419 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5420 test $ac_status = 0; } && test -s "$nlist"; then
5421 # Try sorting and uniquifying the output.
5422 if sort "$nlist" | uniq > "$nlist"T
; then
5423 mv -f "$nlist"T
"$nlist"
5428 # Make sure that we snagged all the symbols we need.
5429 if $GREP ' nm_test_var$' "$nlist" >/dev
/null
; then
5430 if $GREP ' nm_test_func$' "$nlist" >/dev
/null
; then
5431 cat <<_LT_EOF > conftest.$ac_ext
5432 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
5433 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
5434 /* DATA imports from DLLs on WIN32 con't be const, because runtime
5435 relocations are performed -- see ld's documentation on pseudo-relocs. */
5436 # define LT_DLSYM_CONST
5437 #elif defined(__osf__)
5438 /* This system does not cope well with relocations in const data. */
5439 # define LT_DLSYM_CONST
5441 # define LT_DLSYM_CONST const
5449 # Now generate the symbol file.
5450 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
5452 cat <<_LT_EOF >> conftest.$ac_ext
5454 /* The mapping between symbol names and symbols. */
5455 LT_DLSYM_CONST struct {
5459 lt__PROGRAM__LTX_preloaded_symbols[] =
5461 { "@PROGRAM@", (void *) 0 },
5463 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main
>> conftest.
$ac_ext
5464 cat <<\_LT_EOF
>> conftest.
$ac_ext
5468 /* This works around a problem
in FreeBSD linker
*/
5469 #ifdef FREEBSD_WORKAROUND
5470 static const void
*lt_preloaded_setup
() {
5471 return lt__PROGRAM__LTX_preloaded_symbols
;
5479 # Now try linking the two files.
5480 mv conftest.
$ac_objext conftstm.
$ac_objext
5481 lt_globsym_save_LIBS
=$LIBS
5482 lt_globsym_save_CFLAGS
=$CFLAGS
5483 LIBS
="conftstm.$ac_objext"
5484 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5485 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
5486 (eval $ac_link) 2>&5
5488 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5489 test $ac_status = 0; } && test -s conftest
${ac_exeext}; then
5492 LIBS
=$lt_globsym_save_LIBS
5493 CFLAGS
=$lt_globsym_save_CFLAGS
5495 echo "cannot find nm_test_func in $nlist" >&5
5498 echo "cannot find nm_test_var in $nlist" >&5
5501 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
5504 echo "$progname: failed program was:" >&5
5505 cat conftest.
$ac_ext >&5
5507 rm -rf conftest
* conftst
*
5509 # Do not use the global_symbol_pipe unless it works.
5510 if test "$pipe_works" = yes; then
5513 lt_cv_sys_global_symbol_pipe
=
5519 if test -z "$lt_cv_sys_global_symbol_pipe"; then
5520 lt_cv_sys_global_symbol_to_cdecl
=
5522 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
5524 $as_echo "failed" >&6; }
5526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
5527 $as_echo "ok" >&6; }
5530 # Response file support.
5531 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
5532 nm_file_list_spec
='@'
5533 elif $NM --help 2>/dev
/null
| grep '[@]FILE' >/dev
/null
; then
5534 nm_file_list_spec
='@'
5563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
5564 $as_echo_n "checking for sysroot... " >&6; }
5566 # Check whether --with-sysroot was given.
5567 if test "${with_sysroot+set}" = set; then :
5568 withval
=$with_sysroot;
5575 case ${with_sysroot} in #(
5577 if test "$GCC" = yes; then
5578 lt_sysroot
=`$CC --print-sysroot 2>/dev/null`
5582 lt_sysroot
=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
5587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
5588 $as_echo "${with_sysroot}" >&6; }
5589 as_fn_error $?
"The sysroot must be an absolute path." "$LINENO" 5
5593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
5594 $as_echo "${lt_sysroot:-no}" >&6; }
5600 # Check whether --enable-libtool-lock was given.
5601 if test "${enable_libtool_lock+set}" = set; then :
5602 enableval
=$enable_libtool_lock;
5605 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
5607 # Some flags need to be propagated to the compiler or linker for good
5611 # Find out which ABI we are using.
5612 echo 'int i;' > conftest.
$ac_ext
5613 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5614 (eval $ac_compile) 2>&5
5616 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5617 test $ac_status = 0; }; then
5618 case `/usr/bin/file conftest.$ac_objext` in
5630 # Find out which ABI we are using.
5631 echo '#line '$LINENO' "configure"' > conftest.
$ac_ext
5632 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5633 (eval $ac_compile) 2>&5
5635 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5636 test $ac_status = 0; }; then
5637 if test "$lt_cv_prog_gnu_ld" = yes; then
5638 case `/usr/bin/file conftest.$ac_objext` in
5640 LD
="${LD-ld} -melf32bsmip"
5643 LD
="${LD-ld} -melf32bmipn32"
5646 LD
="${LD-ld} -melf64bmip"
5650 case `/usr/bin/file conftest.$ac_objext` in
5666 x86_64
-*kfreebsd
*-gnu|x86_64
-*linux
*|ppc
*-*linux
*|powerpc
*-*linux
*| \
5667 s390
*-*linux
*|s390
*-*tpf
*|sparc
*-*linux
*)
5668 # Find out which ABI we are using.
5669 echo 'int i;' > conftest.
$ac_ext
5670 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5671 (eval $ac_compile) 2>&5
5673 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5674 test $ac_status = 0; }; then
5675 case `/usr/bin/file conftest.o` in
5678 x86_64
-*kfreebsd
*-gnu)
5679 LD
="${LD-ld} -m elf_i386_fbsd"
5682 LD
="${LD-ld} -m elf_i386"
5684 ppc64
-*linux
*|powerpc64
-*linux
*)
5685 LD
="${LD-ld} -m elf32ppclinux"
5688 LD
="${LD-ld} -m elf_s390"
5691 LD
="${LD-ld} -m elf32_sparc"
5697 x86_64
-*kfreebsd
*-gnu)
5698 LD
="${LD-ld} -m elf_x86_64_fbsd"
5701 LD
="${LD-ld} -m elf_x86_64"
5703 ppc
*-*linux
*|powerpc
*-*linux
*)
5704 LD
="${LD-ld} -m elf64ppc"
5706 s390
*-*linux
*|s390
*-*tpf
*)
5707 LD
="${LD-ld} -m elf64_s390"
5710 LD
="${LD-ld} -m elf64_sparc"
5720 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
5721 SAVE_CFLAGS
="$CFLAGS"
5722 CFLAGS
="$CFLAGS -belf"
5723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
5724 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
5725 if ${lt_cv_cc_needs_belf+:} false
; then :
5726 $as_echo_n "(cached) " >&6
5729 ac_cpp
='$CPP $CPPFLAGS'
5730 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5731 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5732 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5734 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5735 /* end confdefs.h. */
5745 if ac_fn_c_try_link
"$LINENO"; then :
5746 lt_cv_cc_needs_belf
=yes
5748 lt_cv_cc_needs_belf
=no
5750 rm -f core conftest.err conftest.
$ac_objext \
5751 conftest
$ac_exeext conftest.
$ac_ext
5753 ac_cpp
='$CPP $CPPFLAGS'
5754 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5755 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5756 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
5760 $as_echo "$lt_cv_cc_needs_belf" >&6; }
5761 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
5762 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
5763 CFLAGS
="$SAVE_CFLAGS"
5767 # Find out which ABI we are using.
5768 echo 'int i;' > conftest.
$ac_ext
5769 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5770 (eval $ac_compile) 2>&5
5772 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5773 test $ac_status = 0; }; then
5774 case `/usr/bin/file conftest.o` in
5776 case $lt_cv_prog_gnu_ld in
5777 yes*) LD
="${LD-ld} -m elf64_sparc" ;;
5779 if ${LD-ld} -64 -r -o conftest2.o conftest.o
>/dev
/null
2>&1; then
5791 need_locks
="$enable_libtool_lock"
5793 if test -n "$ac_tool_prefix"; then
5794 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
5795 set dummy
${ac_tool_prefix}mt
; ac_word
=$2
5796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5797 $as_echo_n "checking for $ac_word... " >&6; }
5798 if ${ac_cv_prog_MANIFEST_TOOL+:} false
; then :
5799 $as_echo_n "(cached) " >&6
5801 if test -n "$MANIFEST_TOOL"; then
5802 ac_cv_prog_MANIFEST_TOOL
="$MANIFEST_TOOL" # Let the user override the test.
5804 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5808 test -z "$as_dir" && as_dir
=.
5809 for ac_exec_ext
in '' $ac_executable_extensions; do
5810 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5811 ac_cv_prog_MANIFEST_TOOL
="${ac_tool_prefix}mt"
5812 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5821 MANIFEST_TOOL
=$ac_cv_prog_MANIFEST_TOOL
5822 if test -n "$MANIFEST_TOOL"; then
5823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
5824 $as_echo "$MANIFEST_TOOL" >&6; }
5826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5827 $as_echo "no" >&6; }
5832 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
5833 ac_ct_MANIFEST_TOOL
=$MANIFEST_TOOL
5834 # Extract the first word of "mt", so it can be a program name with args.
5835 set dummy mt
; ac_word
=$2
5836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5837 $as_echo_n "checking for $ac_word... " >&6; }
5838 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false
; then :
5839 $as_echo_n "(cached) " >&6
5841 if test -n "$ac_ct_MANIFEST_TOOL"; then
5842 ac_cv_prog_ac_ct_MANIFEST_TOOL
="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
5844 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5848 test -z "$as_dir" && as_dir
=.
5849 for ac_exec_ext
in '' $ac_executable_extensions; do
5850 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5851 ac_cv_prog_ac_ct_MANIFEST_TOOL
="mt"
5852 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5861 ac_ct_MANIFEST_TOOL
=$ac_cv_prog_ac_ct_MANIFEST_TOOL
5862 if test -n "$ac_ct_MANIFEST_TOOL"; then
5863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
5864 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
5866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5867 $as_echo "no" >&6; }
5870 if test "x$ac_ct_MANIFEST_TOOL" = x
; then
5873 case $cross_compiling:$ac_tool_warned in
5875 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5876 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5877 ac_tool_warned
=yes ;;
5879 MANIFEST_TOOL
=$ac_ct_MANIFEST_TOOL
5882 MANIFEST_TOOL
="$ac_cv_prog_MANIFEST_TOOL"
5885 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL
=mt
5886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
5887 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
5888 if ${lt_cv_path_mainfest_tool+:} false
; then :
5889 $as_echo_n "(cached) " >&6
5891 lt_cv_path_mainfest_tool
=no
5892 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
5893 $MANIFEST_TOOL '-?' 2>conftest.err
> conftest.out
5894 cat conftest.err
>&5
5895 if $GREP 'Manifest Tool' conftest.out
> /dev
/null
; then
5896 lt_cv_path_mainfest_tool
=yes
5900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
5901 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
5902 if test "x$lt_cv_path_mainfest_tool" != xyes
; then
5912 rhapsody
* | darwin
*)
5913 if test -n "$ac_tool_prefix"; then
5914 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
5915 set dummy
${ac_tool_prefix}dsymutil
; ac_word
=$2
5916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5917 $as_echo_n "checking for $ac_word... " >&6; }
5918 if ${ac_cv_prog_DSYMUTIL+:} false
; then :
5919 $as_echo_n "(cached) " >&6
5921 if test -n "$DSYMUTIL"; then
5922 ac_cv_prog_DSYMUTIL
="$DSYMUTIL" # Let the user override the test.
5924 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5928 test -z "$as_dir" && as_dir
=.
5929 for ac_exec_ext
in '' $ac_executable_extensions; do
5930 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5931 ac_cv_prog_DSYMUTIL
="${ac_tool_prefix}dsymutil"
5932 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5941 DSYMUTIL
=$ac_cv_prog_DSYMUTIL
5942 if test -n "$DSYMUTIL"; then
5943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
5944 $as_echo "$DSYMUTIL" >&6; }
5946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5947 $as_echo "no" >&6; }
5952 if test -z "$ac_cv_prog_DSYMUTIL"; then
5953 ac_ct_DSYMUTIL
=$DSYMUTIL
5954 # Extract the first word of "dsymutil", so it can be a program name with args.
5955 set dummy dsymutil
; ac_word
=$2
5956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5957 $as_echo_n "checking for $ac_word... " >&6; }
5958 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false
; then :
5959 $as_echo_n "(cached) " >&6
5961 if test -n "$ac_ct_DSYMUTIL"; then
5962 ac_cv_prog_ac_ct_DSYMUTIL
="$ac_ct_DSYMUTIL" # Let the user override the test.
5964 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5968 test -z "$as_dir" && as_dir
=.
5969 for ac_exec_ext
in '' $ac_executable_extensions; do
5970 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5971 ac_cv_prog_ac_ct_DSYMUTIL
="dsymutil"
5972 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5981 ac_ct_DSYMUTIL
=$ac_cv_prog_ac_ct_DSYMUTIL
5982 if test -n "$ac_ct_DSYMUTIL"; then
5983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
5984 $as_echo "$ac_ct_DSYMUTIL" >&6; }
5986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5987 $as_echo "no" >&6; }
5990 if test "x$ac_ct_DSYMUTIL" = x
; then
5993 case $cross_compiling:$ac_tool_warned in
5995 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5996 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5997 ac_tool_warned
=yes ;;
5999 DSYMUTIL
=$ac_ct_DSYMUTIL
6002 DSYMUTIL
="$ac_cv_prog_DSYMUTIL"
6005 if test -n "$ac_tool_prefix"; then
6006 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6007 set dummy
${ac_tool_prefix}nmedit
; ac_word
=$2
6008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6009 $as_echo_n "checking for $ac_word... " >&6; }
6010 if ${ac_cv_prog_NMEDIT+:} false
; then :
6011 $as_echo_n "(cached) " >&6
6013 if test -n "$NMEDIT"; then
6014 ac_cv_prog_NMEDIT
="$NMEDIT" # Let the user override the test.
6016 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6020 test -z "$as_dir" && as_dir
=.
6021 for ac_exec_ext
in '' $ac_executable_extensions; do
6022 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6023 ac_cv_prog_NMEDIT
="${ac_tool_prefix}nmedit"
6024 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6033 NMEDIT
=$ac_cv_prog_NMEDIT
6034 if test -n "$NMEDIT"; then
6035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6036 $as_echo "$NMEDIT" >&6; }
6038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6039 $as_echo "no" >&6; }
6044 if test -z "$ac_cv_prog_NMEDIT"; then
6045 ac_ct_NMEDIT
=$NMEDIT
6046 # Extract the first word of "nmedit", so it can be a program name with args.
6047 set dummy nmedit
; ac_word
=$2
6048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6049 $as_echo_n "checking for $ac_word... " >&6; }
6050 if ${ac_cv_prog_ac_ct_NMEDIT+:} false
; then :
6051 $as_echo_n "(cached) " >&6
6053 if test -n "$ac_ct_NMEDIT"; then
6054 ac_cv_prog_ac_ct_NMEDIT
="$ac_ct_NMEDIT" # Let the user override the test.
6056 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6060 test -z "$as_dir" && as_dir
=.
6061 for ac_exec_ext
in '' $ac_executable_extensions; do
6062 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6063 ac_cv_prog_ac_ct_NMEDIT
="nmedit"
6064 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6073 ac_ct_NMEDIT
=$ac_cv_prog_ac_ct_NMEDIT
6074 if test -n "$ac_ct_NMEDIT"; then
6075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
6076 $as_echo "$ac_ct_NMEDIT" >&6; }
6078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6079 $as_echo "no" >&6; }
6082 if test "x$ac_ct_NMEDIT" = x
; then
6085 case $cross_compiling:$ac_tool_warned in
6087 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6088 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6089 ac_tool_warned
=yes ;;
6091 NMEDIT
=$ac_ct_NMEDIT
6094 NMEDIT
="$ac_cv_prog_NMEDIT"
6097 if test -n "$ac_tool_prefix"; then
6098 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6099 set dummy
${ac_tool_prefix}lipo
; ac_word
=$2
6100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6101 $as_echo_n "checking for $ac_word... " >&6; }
6102 if ${ac_cv_prog_LIPO+:} false
; then :
6103 $as_echo_n "(cached) " >&6
6105 if test -n "$LIPO"; then
6106 ac_cv_prog_LIPO
="$LIPO" # Let the user override the test.
6108 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6112 test -z "$as_dir" && as_dir
=.
6113 for ac_exec_ext
in '' $ac_executable_extensions; do
6114 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6115 ac_cv_prog_LIPO
="${ac_tool_prefix}lipo"
6116 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6125 LIPO
=$ac_cv_prog_LIPO
6126 if test -n "$LIPO"; then
6127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
6128 $as_echo "$LIPO" >&6; }
6130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6131 $as_echo "no" >&6; }
6136 if test -z "$ac_cv_prog_LIPO"; then
6138 # Extract the first word of "lipo", so it can be a program name with args.
6139 set dummy lipo
; ac_word
=$2
6140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6141 $as_echo_n "checking for $ac_word... " >&6; }
6142 if ${ac_cv_prog_ac_ct_LIPO+:} false
; then :
6143 $as_echo_n "(cached) " >&6
6145 if test -n "$ac_ct_LIPO"; then
6146 ac_cv_prog_ac_ct_LIPO
="$ac_ct_LIPO" # Let the user override the test.
6148 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6152 test -z "$as_dir" && as_dir
=.
6153 for ac_exec_ext
in '' $ac_executable_extensions; do
6154 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6155 ac_cv_prog_ac_ct_LIPO
="lipo"
6156 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6165 ac_ct_LIPO
=$ac_cv_prog_ac_ct_LIPO
6166 if test -n "$ac_ct_LIPO"; then
6167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
6168 $as_echo "$ac_ct_LIPO" >&6; }
6170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6171 $as_echo "no" >&6; }
6174 if test "x$ac_ct_LIPO" = x
; then
6177 case $cross_compiling:$ac_tool_warned in
6179 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6180 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6181 ac_tool_warned
=yes ;;
6186 LIPO
="$ac_cv_prog_LIPO"
6189 if test -n "$ac_tool_prefix"; then
6190 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
6191 set dummy
${ac_tool_prefix}otool
; ac_word
=$2
6192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6193 $as_echo_n "checking for $ac_word... " >&6; }
6194 if ${ac_cv_prog_OTOOL+:} false
; then :
6195 $as_echo_n "(cached) " >&6
6197 if test -n "$OTOOL"; then
6198 ac_cv_prog_OTOOL
="$OTOOL" # Let the user override the test.
6200 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6204 test -z "$as_dir" && as_dir
=.
6205 for ac_exec_ext
in '' $ac_executable_extensions; do
6206 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6207 ac_cv_prog_OTOOL
="${ac_tool_prefix}otool"
6208 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6217 OTOOL
=$ac_cv_prog_OTOOL
6218 if test -n "$OTOOL"; then
6219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
6220 $as_echo "$OTOOL" >&6; }
6222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6223 $as_echo "no" >&6; }
6228 if test -z "$ac_cv_prog_OTOOL"; then
6230 # Extract the first word of "otool", so it can be a program name with args.
6231 set dummy otool
; ac_word
=$2
6232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6233 $as_echo_n "checking for $ac_word... " >&6; }
6234 if ${ac_cv_prog_ac_ct_OTOOL+:} false
; then :
6235 $as_echo_n "(cached) " >&6
6237 if test -n "$ac_ct_OTOOL"; then
6238 ac_cv_prog_ac_ct_OTOOL
="$ac_ct_OTOOL" # Let the user override the test.
6240 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6244 test -z "$as_dir" && as_dir
=.
6245 for ac_exec_ext
in '' $ac_executable_extensions; do
6246 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6247 ac_cv_prog_ac_ct_OTOOL
="otool"
6248 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6257 ac_ct_OTOOL
=$ac_cv_prog_ac_ct_OTOOL
6258 if test -n "$ac_ct_OTOOL"; then
6259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
6260 $as_echo "$ac_ct_OTOOL" >&6; }
6262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6263 $as_echo "no" >&6; }
6266 if test "x$ac_ct_OTOOL" = x
; then
6269 case $cross_compiling:$ac_tool_warned in
6271 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6272 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6273 ac_tool_warned
=yes ;;
6278 OTOOL
="$ac_cv_prog_OTOOL"
6281 if test -n "$ac_tool_prefix"; then
6282 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
6283 set dummy
${ac_tool_prefix}otool64
; ac_word
=$2
6284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6285 $as_echo_n "checking for $ac_word... " >&6; }
6286 if ${ac_cv_prog_OTOOL64+:} false
; then :
6287 $as_echo_n "(cached) " >&6
6289 if test -n "$OTOOL64"; then
6290 ac_cv_prog_OTOOL64
="$OTOOL64" # Let the user override the test.
6292 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6296 test -z "$as_dir" && as_dir
=.
6297 for ac_exec_ext
in '' $ac_executable_extensions; do
6298 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6299 ac_cv_prog_OTOOL64
="${ac_tool_prefix}otool64"
6300 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6309 OTOOL64
=$ac_cv_prog_OTOOL64
6310 if test -n "$OTOOL64"; then
6311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
6312 $as_echo "$OTOOL64" >&6; }
6314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6315 $as_echo "no" >&6; }
6320 if test -z "$ac_cv_prog_OTOOL64"; then
6321 ac_ct_OTOOL64
=$OTOOL64
6322 # Extract the first word of "otool64", so it can be a program name with args.
6323 set dummy otool64
; ac_word
=$2
6324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6325 $as_echo_n "checking for $ac_word... " >&6; }
6326 if ${ac_cv_prog_ac_ct_OTOOL64+:} false
; then :
6327 $as_echo_n "(cached) " >&6
6329 if test -n "$ac_ct_OTOOL64"; then
6330 ac_cv_prog_ac_ct_OTOOL64
="$ac_ct_OTOOL64" # Let the user override the test.
6332 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6336 test -z "$as_dir" && as_dir
=.
6337 for ac_exec_ext
in '' $ac_executable_extensions; do
6338 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6339 ac_cv_prog_ac_ct_OTOOL64
="otool64"
6340 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6349 ac_ct_OTOOL64
=$ac_cv_prog_ac_ct_OTOOL64
6350 if test -n "$ac_ct_OTOOL64"; then
6351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
6352 $as_echo "$ac_ct_OTOOL64" >&6; }
6354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6355 $as_echo "no" >&6; }
6358 if test "x$ac_ct_OTOOL64" = x
; then
6361 case $cross_compiling:$ac_tool_warned in
6363 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6364 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6365 ac_tool_warned
=yes ;;
6367 OTOOL64
=$ac_ct_OTOOL64
6370 OTOOL64
="$ac_cv_prog_OTOOL64"
6399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
6400 $as_echo_n "checking for -single_module linker flag... " >&6; }
6401 if ${lt_cv_apple_cc_single_mod+:} false
; then :
6402 $as_echo_n "(cached) " >&6
6404 lt_cv_apple_cc_single_mod
=no
6405 if test -z "${LT_MULTI_MODULE}"; then
6406 # By default we will add the -single_module flag. You can override
6407 # by either setting the environment variable LT_MULTI_MODULE
6408 # non-empty at configure time, or by adding -multi_module to the
6410 rm -rf libconftest.dylib
*
6411 echo "int foo(void){return 1;}" > conftest.c
6412 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6413 -dynamiclib -Wl,-single_module conftest.c" >&5
6414 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6415 -dynamiclib -Wl,-single_module conftest.c
2>conftest.err
6417 if test -f libconftest.dylib
&& test ! -s conftest.err
&& test $_lt_result = 0; then
6418 lt_cv_apple_cc_single_mod
=yes
6420 cat conftest.err
>&5
6422 rm -rf libconftest.dylib
*
6426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
6427 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
6428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
6429 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
6430 if ${lt_cv_ld_exported_symbols_list+:} false
; then :
6431 $as_echo_n "(cached) " >&6
6433 lt_cv_ld_exported_symbols_list
=no
6434 save_LDFLAGS
=$LDFLAGS
6435 echo "_main" > conftest.sym
6436 LDFLAGS
="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
6437 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6438 /* end confdefs.h. */
6448 if ac_fn_c_try_link
"$LINENO"; then :
6449 lt_cv_ld_exported_symbols_list
=yes
6451 lt_cv_ld_exported_symbols_list
=no
6453 rm -f core conftest.err conftest.
$ac_objext \
6454 conftest
$ac_exeext conftest.
$ac_ext
6455 LDFLAGS
="$save_LDFLAGS"
6458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
6459 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
6460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
6461 $as_echo_n "checking for -force_load linker flag... " >&6; }
6462 if ${lt_cv_ld_force_load+:} false
; then :
6463 $as_echo_n "(cached) " >&6
6465 lt_cv_ld_force_load
=no
6466 cat > conftest.c
<< _LT_EOF
6467 int forced_loaded() { return 2;}
6469 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
6470 $LTCC $LTCFLAGS -c -o conftest.o conftest.c
2>&5
6471 echo "$AR cru libconftest.a conftest.o" >&5
6472 $AR cru libconftest.a conftest.o
2>&5
6473 echo "$RANLIB libconftest.a" >&5
6474 $RANLIB libconftest.a
2>&5
6475 cat > conftest.c
<< _LT_EOF
6476 int main() { return 0;}
6478 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
6479 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
2>conftest.err
6481 if test -f conftest
&& test ! -s conftest.err
&& test $_lt_result = 0 && $GREP forced_load conftest
2>&1 >/dev
/null
; then
6482 lt_cv_ld_force_load
=yes
6484 cat conftest.err
>&5
6486 rm -f conftest.err libconftest.a conftest conftest.c
6487 rm -rf conftest.dSYM
6490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
6491 $as_echo "$lt_cv_ld_force_load" >&6; }
6493 rhapsody
* | darwin1.
[012])
6494 _lt_dar_allow_undefined
='${wl}-undefined ${wl}suppress' ;;
6496 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6497 darwin
*) # darwin 5.x on
6498 # if running on 10.5 or later, the deployment target defaults
6499 # to the OS version, if on x86, and 10.4, the deployment
6500 # target defaults to 10.4. Don't you love it?
6501 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
6502 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
6503 _lt_dar_allow_undefined
='${wl}-undefined ${wl}dynamic_lookup' ;;
6505 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6507 _lt_dar_allow_undefined
='${wl}-undefined ${wl}dynamic_lookup' ;;
6511 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
6512 _lt_dar_single_mod
='$single_module'
6514 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
6515 _lt_dar_export_syms
=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
6517 _lt_dar_export_syms
='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
6519 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
6520 _lt_dsymutil
='~$DSYMUTIL $lib || :'
6528 ac_cpp
='$CPP $CPPFLAGS'
6529 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6530 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6531 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6533 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6534 # On Suns, sometimes $CPP names a directory.
6535 if test -n "$CPP" && test -d "$CPP"; then
6538 if test -z "$CPP"; then
6539 if ${ac_cv_prog_CPP+:} false
; then :
6540 $as_echo_n "(cached) " >&6
6542 # Double quotes because CPP needs to be expanded
6543 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6546 for ac_c_preproc_warn_flag
in '' yes
6548 # Use a header file that comes with gcc, so configuring glibc
6549 # with a fresh cross-compiler works.
6550 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6551 # <limits.h> exists even on freestanding compilers.
6552 # On the NeXT, cc -E runs the code through the compiler's parser,
6553 # not just through cpp. "Syntax error" is here to catch this case.
6554 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6555 /* end confdefs.h. */
6557 # include <limits.h>
6559 # include <assert.h>
6563 if ac_fn_c_try_cpp
"$LINENO"; then :
6566 # Broken: fails on valid input.
6569 rm -f conftest.err conftest.i conftest.
$ac_ext
6571 # OK, works on sane cases. Now check whether nonexistent headers
6572 # can be detected and how.
6573 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6574 /* end confdefs.h. */
6575 #include <ac_nonexistent.h>
6577 if ac_fn_c_try_cpp
"$LINENO"; then :
6578 # Broken: success on invalid input.
6581 # Passes both tests.
6585 rm -f conftest.err conftest.i conftest.
$ac_ext
6588 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6589 rm -f conftest.i conftest.err conftest.
$ac_ext
6590 if $ac_preproc_ok; then :
6602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6603 $as_echo "$CPP" >&6; }
6605 for ac_c_preproc_warn_flag
in '' yes
6607 # Use a header file that comes with gcc, so configuring glibc
6608 # with a fresh cross-compiler works.
6609 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6610 # <limits.h> exists even on freestanding compilers.
6611 # On the NeXT, cc -E runs the code through the compiler's parser,
6612 # not just through cpp. "Syntax error" is here to catch this case.
6613 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6614 /* end confdefs.h. */
6616 # include <limits.h>
6618 # include <assert.h>
6622 if ac_fn_c_try_cpp
"$LINENO"; then :
6625 # Broken: fails on valid input.
6628 rm -f conftest.err conftest.i conftest.
$ac_ext
6630 # OK, works on sane cases. Now check whether nonexistent headers
6631 # can be detected and how.
6632 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6633 /* end confdefs.h. */
6634 #include <ac_nonexistent.h>
6636 if ac_fn_c_try_cpp
"$LINENO"; then :
6637 # Broken: success on invalid input.
6640 # Passes both tests.
6644 rm -f conftest.err conftest.i conftest.
$ac_ext
6647 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6648 rm -f conftest.i conftest.err conftest.
$ac_ext
6649 if $ac_preproc_ok; then :
6652 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6653 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6654 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
6655 See \`config.log' for more details" "$LINENO" 5; }
6659 ac_cpp
='$CPP $CPPFLAGS'
6660 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6661 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6662 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6666 $as_echo_n "checking for ANSI C header files... " >&6; }
6667 if ${ac_cv_header_stdc+:} false
; then :
6668 $as_echo_n "(cached) " >&6
6670 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6671 /* end confdefs.h. */
6685 if ac_fn_c_try_compile
"$LINENO"; then :
6686 ac_cv_header_stdc
=yes
6688 ac_cv_header_stdc
=no
6690 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6692 if test $ac_cv_header_stdc = yes; then
6693 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6694 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6695 /* end confdefs.h. */
6699 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6700 $EGREP "memchr" >/dev
/null
2>&1; then :
6703 ac_cv_header_stdc
=no
6709 if test $ac_cv_header_stdc = yes; then
6710 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6711 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6712 /* end confdefs.h. */
6716 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6717 $EGREP "free" >/dev
/null
2>&1; then :
6720 ac_cv_header_stdc
=no
6726 if test $ac_cv_header_stdc = yes; then
6727 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6728 if test "$cross_compiling" = yes; then :
6731 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6732 /* end confdefs.h. */
6735 #if ((' ' & 0x0FF) == 0x020)
6736 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6737 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6739 # define ISLOWER(c) \
6740 (('a' <= (c) && (c) <= 'i') \
6741 || ('j' <= (c) && (c) <= 'r') \
6742 || ('s' <= (c) && (c) <= 'z'))
6743 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6746 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6751 for (i = 0; i < 256; i++)
6752 if (XOR (islower (i), ISLOWER (i))
6753 || toupper (i) != TOUPPER (i))
6758 if ac_fn_c_try_run
"$LINENO"; then :
6761 ac_cv_header_stdc
=no
6763 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6764 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6770 $as_echo "$ac_cv_header_stdc" >&6; }
6771 if test $ac_cv_header_stdc = yes; then
6773 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6777 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6778 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
6779 inttypes.h stdint.h unistd.h
6781 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6782 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6784 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6785 cat >>confdefs.h
<<_ACEOF
6786 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6794 for ac_header
in dlfcn.h
6796 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
6798 if test "x$ac_cv_header_dlfcn_h" = xyes
; then :
6799 cat >>confdefs.h
<<_ACEOF
6800 #define HAVE_DLFCN_H 1
6812 # Check whether --enable-static was given.
6813 if test "${enable_static+set}" = set; then :
6814 enableval
=$enable_static; p
=${PACKAGE-default}
6816 yes) enable_static
=yes ;;
6817 no
) enable_static
=no
;;
6820 # Look at the argument we got. We use all the common list separators.
6821 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
6822 for pkg
in $enableval; do
6824 if test "X$pkg" = "X$p"; then
6850 # Check whether --enable-shared was given.
6851 if test "${enable_shared+set}" = set; then :
6852 enableval
=$enable_shared; p
=${PACKAGE-default}
6854 yes) enable_shared
=yes ;;
6855 no
) enable_shared
=no
;;
6858 # Look at the argument we got. We use all the common list separators.
6859 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
6860 for pkg
in $enableval; do
6862 if test "X$pkg" = "X$p"; then
6883 # Check whether --with-pic was given.
6884 if test "${with_pic+set}" = set; then :
6885 withval
=$with_pic; pic_mode
="$withval"
6891 test -z "$pic_mode" && pic_mode
=default
6899 # Check whether --enable-fast-install was given.
6900 if test "${enable_fast_install+set}" = set; then :
6901 enableval
=$enable_fast_install; p
=${PACKAGE-default}
6903 yes) enable_fast_install
=yes ;;
6904 no
) enable_fast_install
=no
;;
6906 enable_fast_install
=no
6907 # Look at the argument we got. We use all the common list separators.
6908 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
6909 for pkg
in $enableval; do
6911 if test "X$pkg" = "X$p"; then
6912 enable_fast_install
=yes
6919 enable_fast_install
=yes
6932 # This can be used to rebuild libtool when needed
6933 LIBTOOL_DEPS
="$ltmain"
6935 # Always use our own libtool.
6936 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
6963 test -z "$LN_S" && LN_S
="ln -s"
6978 if test -n "${ZSH_VERSION+set}" ; then
6979 setopt NO_GLOB_SUBST
6982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
6983 $as_echo_n "checking for objdir... " >&6; }
6984 if ${lt_cv_objdir+:} false
; then :
6985 $as_echo_n "(cached) " >&6
6987 rm -f .libs
2>/dev
/null
6988 mkdir .libs
2>/dev
/null
6989 if test -d .libs
; then
6992 # MS-DOS does not allow filenames that begin with a dot.
6995 rmdir .libs
2>/dev
/null
6997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
6998 $as_echo "$lt_cv_objdir" >&6; }
6999 objdir
=$lt_cv_objdir
7005 cat >>confdefs.h
<<_ACEOF
7006 #define LT_OBJDIR "$lt_cv_objdir/"
7014 # AIX sometimes has problems with the GCC collect2 program. For some
7015 # reason, if we set the COLLECT_NAMES environment variable, the problems
7016 # vanish in a puff of smoke.
7017 if test "X${COLLECT_NAMES+set}" != Xset
; then
7019 export COLLECT_NAMES
7026 can_build_shared
=yes
7028 # All known linkers require a `.a' archive for static linking (except MSVC,
7029 # which needs '.lib').
7032 with_gnu_ld
="$lt_cv_prog_gnu_ld"
7035 old_CFLAGS
="$CFLAGS"
7037 # Set sane defaults for various variables
7038 test -z "$CC" && CC
=cc
7039 test -z "$LTCC" && LTCC
=$CC
7040 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
7041 test -z "$LD" && LD
=ld
7042 test -z "$ac_objext" && ac_objext
=o
7044 for cc_temp
in $compiler""; do
7046 compile
| *[\\/]compile
| ccache
| *[\\/]ccache
) ;;
7047 distcc
| *[\\/]distcc
| purify
| *[\\/]purify
) ;;
7052 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7055 # Only perform the check for file, if the check method requires it
7056 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
7057 case $deplibs_check_method in
7059 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7061 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7062 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
7063 $as_echo_n "(cached) " >&6
7067 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7070 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7071 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7072 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7073 for ac_dir
in $ac_dummy; do
7075 test -z "$ac_dir" && ac_dir
=.
7076 if test -f $ac_dir/${ac_tool_prefix}file; then
7077 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
7078 if test -n "$file_magic_test_file"; then
7079 case $deplibs_check_method in
7081 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7082 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7083 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null
|
7084 $EGREP "$file_magic_regex" > /dev
/null
; then
7089 *** Warning: the command libtool uses to detect shared libraries,
7090 *** $file_magic_cmd, produces output that libtool cannot recognize.
7091 *** The result is that libtool may fail to recognize shared libraries
7092 *** as such. This will affect the creation of libtool libraries that
7093 *** depend on shared libraries, but programs linked with such libtool
7094 *** libraries will work regardless of this problem. Nevertheless, you
7095 *** may want to report the problem to your system manager and/or to
7096 *** bug-libtool@gnu.org
7106 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7111 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7112 if test -n "$MAGIC_CMD"; then
7113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7114 $as_echo "$MAGIC_CMD" >&6; }
7116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7117 $as_echo "no" >&6; }
7124 if test -z "$lt_cv_path_MAGIC_CMD"; then
7125 if test -n "$ac_tool_prefix"; then
7126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7127 $as_echo_n "checking for file... " >&6; }
7128 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
7129 $as_echo_n "(cached) " >&6
7133 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7136 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7137 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7138 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7139 for ac_dir
in $ac_dummy; do
7141 test -z "$ac_dir" && ac_dir
=.
7142 if test -f $ac_dir/file; then
7143 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
7144 if test -n "$file_magic_test_file"; then
7145 case $deplibs_check_method in
7147 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7148 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7149 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null
|
7150 $EGREP "$file_magic_regex" > /dev
/null
; then
7155 *** Warning: the command libtool uses to detect shared libraries,
7156 *** $file_magic_cmd, produces output that libtool cannot recognize.
7157 *** The result is that libtool may fail to recognize shared libraries
7158 *** as such. This will affect the creation of libtool libraries that
7159 *** depend on shared libraries, but programs linked with such libtool
7160 *** libraries will work regardless of this problem. Nevertheless, you
7161 *** may want to report the problem to your system manager and/or to
7162 *** bug-libtool@gnu.org
7172 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7177 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7178 if test -n "$MAGIC_CMD"; then
7179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7180 $as_echo "$MAGIC_CMD" >&6; }
7182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7183 $as_echo "no" >&6; }
7196 # Use C for the default configuration in the libtool script
7200 ac_cpp
='$CPP $CPPFLAGS'
7201 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7202 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7203 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7206 # Source file extension for C test sources.
7209 # Object file extension for compiled C test sources.
7213 # Code to be used in simple compile tests
7214 lt_simple_compile_test_code
="int some_variable = 0;"
7216 # Code to be used in simple link tests
7217 lt_simple_link_test_code
='int main(){return(0);}'
7225 # If no C compiler was specified, use CC.
7228 # If no C compiler flags were specified, use CFLAGS.
7229 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
7231 # Allow CC to be a program name with arguments.
7234 # Save the default compiler, since it gets overwritten when the other
7235 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7236 compiler_DEFAULT
=$CC
7238 # save warnings/boilerplate of simple test code
7239 ac_outfile
=conftest.
$ac_objext
7240 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
7241 eval "$ac_compile" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
7242 _lt_compiler_boilerplate
=`cat conftest.err`
7245 ac_outfile
=conftest.
$ac_objext
7246 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
7247 eval "$ac_link" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
7248 _lt_linker_boilerplate
=`cat conftest.err`
7252 if test -n "$compiler"; then
7254 lt_prog_compiler_no_builtin_flag
=
7256 if test "$GCC" = yes; then
7257 case $cc_basename in
7259 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
7261 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
7264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7265 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7266 if ${lt_cv_prog_compiler_rtti_exceptions+:} false
; then :
7267 $as_echo_n "(cached) " >&6
7269 lt_cv_prog_compiler_rtti_exceptions
=no
7270 ac_outfile
=conftest.
$ac_objext
7271 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7272 lt_compiler_flag
="-fno-rtti -fno-exceptions"
7273 # Insert the option either (1) after the last *FLAGS variable, or
7274 # (2) before a word containing "conftest.", or (3) at the end.
7275 # Note that $ac_compile itself does not contain backslashes and begins
7276 # with a dollar sign (not a hyphen), so the echo should work correctly.
7277 # The option is referenced via a variable to avoid confusing sed.
7278 lt_compile
=`echo "$ac_compile" | $SED \
7279 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7280 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7281 -e 's:$: $lt_compiler_flag:'`
7282 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
7283 (eval "$lt_compile" 2>conftest.err
)
7285 cat conftest.err
>&5
7286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7287 if (exit $ac_status) && test -s "$ac_outfile"; then
7288 # The compiler can only warn and ignore the option if not recognized
7289 # So say no if there are warnings other than the usual output.
7290 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
7291 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7292 if test ! -s conftest.er2
|| diff conftest.exp conftest.er2
>/dev
/null
; then
7293 lt_cv_prog_compiler_rtti_exceptions
=yes
7299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7300 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7302 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
7303 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7315 lt_prog_compiler_wl
=
7316 lt_prog_compiler_pic
=
7317 lt_prog_compiler_static
=
7320 if test "$GCC" = yes; then
7321 lt_prog_compiler_wl
='-Wl,'
7322 lt_prog_compiler_static
='-static'
7326 # All AIX code is PIC.
7327 if test "$host_cpu" = ia64
; then
7328 # AIX 5 now supports IA64 processor
7329 lt_prog_compiler_static
='-Bstatic'
7336 # see comment about AmigaOS4 .so support
7337 lt_prog_compiler_pic
='-fPIC'
7340 # FIXME: we need at least 68020 code to build shared libraries, but
7341 # adding the `-m68020' flag to GCC prevents building anything better,
7343 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
7348 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
7349 # PIC is the default for these OSes.
7352 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
7353 # This hack is so that the source file can tell whether it is being
7354 # built for inclusion in a dll (and should export symbols for example).
7355 # Although the cygwin gcc ignores -fPIC, still need this for old-style
7356 # (--disable-auto-import) libraries
7357 lt_prog_compiler_pic
='-DDLL_EXPORT'
7360 darwin
* | rhapsody
*)
7361 # PIC is the default on this platform
7362 # Common symbols not allowed in MH_DYLIB files
7363 lt_prog_compiler_pic
='-fno-common'
7367 # PIC is the default for Haiku.
7368 # The "-static" flag exists, but is broken.
7369 lt_prog_compiler_static
=
7373 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
7374 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
7375 # sets the default TLS model and affects inlining.
7381 lt_prog_compiler_pic
='-fPIC'
7387 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7388 # Instead, we relocate shared libraries at runtime.
7392 # Just because we use GCC doesn't mean we suddenly get shared libraries
7393 # on systems that don't support them.
7394 lt_prog_compiler_can_build_shared
=no
7399 # QNX uses GNU C++, but need to define -shared option too, otherwise
7401 lt_prog_compiler_pic
='-fPIC -shared'
7405 if test -d /usr
/nec
; then
7406 lt_prog_compiler_pic
=-Kconform_pic
7411 lt_prog_compiler_pic
='-fPIC'
7415 case $cc_basename in
7416 nvcc
*) # Cuda Compiler Driver 2.2
7417 lt_prog_compiler_wl
='-Xlinker '
7418 lt_prog_compiler_pic
='-Xcompiler -fPIC'
7422 # PORTME Check for flag to pass linker flags through the system compiler.
7425 lt_prog_compiler_wl
='-Wl,'
7426 if test "$host_cpu" = ia64
; then
7427 # AIX 5 now supports IA64 processor
7428 lt_prog_compiler_static
='-Bstatic'
7430 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
7434 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
7435 # This hack is so that the source file can tell whether it is being
7436 # built for inclusion in a dll (and should export symbols for example).
7437 lt_prog_compiler_pic
='-DDLL_EXPORT'
7440 hpux9
* | hpux10
* | hpux11
*)
7441 lt_prog_compiler_wl
='-Wl,'
7442 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7449 lt_prog_compiler_pic
='+Z'
7452 # Is there a better lt_prog_compiler_static that works with the bundled CC?
7453 lt_prog_compiler_static
='${wl}-a ${wl}archive'
7456 irix5
* | irix6
* | nonstopux
*)
7457 lt_prog_compiler_wl
='-Wl,'
7458 # PIC (with -KPIC) is the default.
7459 lt_prog_compiler_static
='-non_shared'
7462 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
7463 case $cc_basename in
7464 # old Intel for x86_64 which still supported -KPIC.
7466 lt_prog_compiler_wl
='-Wl,'
7467 lt_prog_compiler_pic
='-KPIC'
7468 lt_prog_compiler_static
='-static'
7470 # icc used to be incompatible with GCC.
7471 # ICC 10 doesn't accept -KPIC any more.
7473 lt_prog_compiler_wl
='-Wl,'
7474 lt_prog_compiler_pic
='-fPIC'
7475 lt_prog_compiler_static
='-static'
7477 # Lahey Fortran 8.1.
7479 lt_prog_compiler_wl
='-Wl,'
7480 lt_prog_compiler_pic
='--shared'
7481 lt_prog_compiler_static
='--static'
7484 # NAG Fortran compiler
7485 lt_prog_compiler_wl
='-Wl,-Wl,,'
7486 lt_prog_compiler_pic
='-PIC'
7487 lt_prog_compiler_static
='-Bstatic'
7489 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
7490 # Portland Group compilers (*not* the Pentium gcc compiler,
7491 # which looks to be a dead project)
7492 lt_prog_compiler_wl
='-Wl,'
7493 lt_prog_compiler_pic
='-fpic'
7494 lt_prog_compiler_static
='-Bstatic'
7497 lt_prog_compiler_wl
='-Wl,'
7498 # All Alpha code is PIC.
7499 lt_prog_compiler_static
='-non_shared'
7501 xl
* | bgxl
* | bgf
* | mpixl
*)
7502 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
7503 lt_prog_compiler_wl
='-Wl,'
7504 lt_prog_compiler_pic
='-qpic'
7505 lt_prog_compiler_static
='-qstaticlink'
7508 case `$CC -V 2>&1 | sed 5q` in
7509 *Sun\ F
* | *Sun
*Fortran
*)
7510 # Sun Fortran 8.3 passes all unrecognized flags to the linker
7511 lt_prog_compiler_pic
='-KPIC'
7512 lt_prog_compiler_static
='-Bstatic'
7513 lt_prog_compiler_wl
=''
7517 lt_prog_compiler_pic
='-KPIC'
7518 lt_prog_compiler_static
='-Bstatic'
7519 lt_prog_compiler_wl
='-Wl,'
7527 lt_prog_compiler_pic
='-KPIC'
7528 lt_prog_compiler_static
='-Bstatic'
7532 # QNX uses GNU C++, but need to define -shared option too, otherwise
7534 lt_prog_compiler_pic
='-fPIC -shared'
7537 osf3
* | osf4
* | osf5
*)
7538 lt_prog_compiler_wl
='-Wl,'
7539 # All OSF/1 code is PIC.
7540 lt_prog_compiler_static
='-non_shared'
7544 lt_prog_compiler_static
='-non_shared'
7548 lt_prog_compiler_pic
='-KPIC'
7549 lt_prog_compiler_static
='-Bstatic'
7550 case $cc_basename in
7551 f77
* | f90
* | f95
* | sunf77
* | sunf90
* | sunf95
*)
7552 lt_prog_compiler_wl
='-Qoption ld ';;
7554 lt_prog_compiler_wl
='-Wl,';;
7559 lt_prog_compiler_wl
='-Qoption ld '
7560 lt_prog_compiler_pic
='-PIC'
7561 lt_prog_compiler_static
='-Bstatic'
7564 sysv4
| sysv4.2uw2
* | sysv4.3
*)
7565 lt_prog_compiler_wl
='-Wl,'
7566 lt_prog_compiler_pic
='-KPIC'
7567 lt_prog_compiler_static
='-Bstatic'
7571 if test -d /usr
/nec
;then
7572 lt_prog_compiler_pic
='-Kconform_pic'
7573 lt_prog_compiler_static
='-Bstatic'
7577 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
7578 lt_prog_compiler_wl
='-Wl,'
7579 lt_prog_compiler_pic
='-KPIC'
7580 lt_prog_compiler_static
='-Bstatic'
7584 lt_prog_compiler_wl
='-Wl,'
7585 lt_prog_compiler_can_build_shared
=no
7589 lt_prog_compiler_pic
='-pic'
7590 lt_prog_compiler_static
='-Bstatic'
7594 lt_prog_compiler_can_build_shared
=no
7600 # For platforms which do not support PIC, -DPIC is meaningless:
7602 lt_prog_compiler_pic
=
7605 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
7609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
7610 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
7611 if ${lt_cv_prog_compiler_pic+:} false
; then :
7612 $as_echo_n "(cached) " >&6
7614 lt_cv_prog_compiler_pic
=$lt_prog_compiler_pic
7616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
7617 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
7618 lt_prog_compiler_pic
=$lt_cv_prog_compiler_pic
7621 # Check to make sure the PIC flag actually works.
7623 if test -n "$lt_prog_compiler_pic"; then
7624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7625 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
7626 if ${lt_cv_prog_compiler_pic_works+:} false
; then :
7627 $as_echo_n "(cached) " >&6
7629 lt_cv_prog_compiler_pic_works
=no
7630 ac_outfile
=conftest.
$ac_objext
7631 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7632 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
7633 # Insert the option either (1) after the last *FLAGS variable, or
7634 # (2) before a word containing "conftest.", or (3) at the end.
7635 # Note that $ac_compile itself does not contain backslashes and begins
7636 # with a dollar sign (not a hyphen), so the echo should work correctly.
7637 # The option is referenced via a variable to avoid confusing sed.
7638 lt_compile
=`echo "$ac_compile" | $SED \
7639 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7640 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7641 -e 's:$: $lt_compiler_flag:'`
7642 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
7643 (eval "$lt_compile" 2>conftest.err
)
7645 cat conftest.err
>&5
7646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7647 if (exit $ac_status) && test -s "$ac_outfile"; then
7648 # The compiler can only warn and ignore the option if not recognized
7649 # So say no if there are warnings other than the usual output.
7650 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
7651 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7652 if test ! -s conftest.er2
|| diff conftest.exp conftest.er2
>/dev
/null
; then
7653 lt_cv_prog_compiler_pic_works
=yes
7659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
7660 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
7662 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
7663 case $lt_prog_compiler_pic in
7665 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
7668 lt_prog_compiler_pic
=
7669 lt_prog_compiler_can_build_shared
=no
7685 # Check to make sure the static flag actually works.
7687 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
7688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7689 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
7690 if ${lt_cv_prog_compiler_static_works+:} false
; then :
7691 $as_echo_n "(cached) " >&6
7693 lt_cv_prog_compiler_static_works
=no
7694 save_LDFLAGS
="$LDFLAGS"
7695 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
7696 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
7697 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
7698 # The linker can only warn and ignore the option if not recognized
7699 # So say no if there are warnings
7700 if test -s conftest.err
; then
7701 # Append any errors to the config.log.
7702 cat conftest.err
1>&5
7703 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
7704 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7705 if diff conftest.exp conftest.er2
>/dev
/null
; then
7706 lt_cv_prog_compiler_static_works
=yes
7709 lt_cv_prog_compiler_static_works
=yes
7713 LDFLAGS
="$save_LDFLAGS"
7716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
7717 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
7719 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
7722 lt_prog_compiler_static
=
7731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
7732 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
7733 if ${lt_cv_prog_compiler_c_o+:} false
; then :
7734 $as_echo_n "(cached) " >&6
7736 lt_cv_prog_compiler_c_o
=no
7737 $RM -r conftest
2>/dev
/null
7741 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7743 lt_compiler_flag
="-o out/conftest2.$ac_objext"
7744 # Insert the option either (1) after the last *FLAGS variable, or
7745 # (2) before a word containing "conftest.", or (3) at the end.
7746 # Note that $ac_compile itself does not contain backslashes and begins
7747 # with a dollar sign (not a hyphen), so the echo should work correctly.
7748 lt_compile
=`echo "$ac_compile" | $SED \
7749 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7750 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7751 -e 's:$: $lt_compiler_flag:'`
7752 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
7753 (eval "$lt_compile" 2>out
/conftest.err
)
7755 cat out
/conftest.err
>&5
7756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7757 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
7759 # The compiler can only warn and ignore the option if not recognized
7760 # So say no if there are warnings
7761 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out
/conftest.exp
7762 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
7763 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
7764 lt_cv_prog_compiler_c_o
=yes
7769 # SGI C++ compiler will create directory out/ii_files/ for
7770 # template instantiation
7771 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
7772 $RM out
/* && rmdir out
7778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
7779 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
7786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
7787 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
7788 if ${lt_cv_prog_compiler_c_o+:} false
; then :
7789 $as_echo_n "(cached) " >&6
7791 lt_cv_prog_compiler_c_o
=no
7792 $RM -r conftest
2>/dev
/null
7796 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7798 lt_compiler_flag
="-o out/conftest2.$ac_objext"
7799 # Insert the option either (1) after the last *FLAGS variable, or
7800 # (2) before a word containing "conftest.", or (3) at the end.
7801 # Note that $ac_compile itself does not contain backslashes and begins
7802 # with a dollar sign (not a hyphen), so the echo should work correctly.
7803 lt_compile
=`echo "$ac_compile" | $SED \
7804 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7805 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7806 -e 's:$: $lt_compiler_flag:'`
7807 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
7808 (eval "$lt_compile" 2>out
/conftest.err
)
7810 cat out
/conftest.err
>&5
7811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7812 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
7814 # The compiler can only warn and ignore the option if not recognized
7815 # So say no if there are warnings
7816 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out
/conftest.exp
7817 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
7818 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
7819 lt_cv_prog_compiler_c_o
=yes
7824 # SGI C++ compiler will create directory out/ii_files/ for
7825 # template instantiation
7826 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
7827 $RM out
/* && rmdir out
7833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
7834 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
7839 hard_links
="nottested"
7840 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
7841 # do not overwrite the value of need_locks provided by the user
7842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
7843 $as_echo_n "checking if we can lock with hard links... " >&6; }
7846 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
7848 ln conftest.a conftest.b
2>&5 || hard_links
=no
7849 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
7850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
7851 $as_echo "$hard_links" >&6; }
7852 if test "$hard_links" = no
; then
7853 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
7854 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
7866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
7867 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
7870 allow_undefined_flag
=
7871 always_export_symbols
=no
7873 archive_expsym_cmds
=
7874 compiler_needs_object
=no
7875 enable_shared_with_static_runtimes
=no
7876 export_dynamic_flag_spec
=
7877 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
7878 hardcode_automatic
=no
7880 hardcode_direct_absolute
=no
7881 hardcode_libdir_flag_spec
=
7882 hardcode_libdir_flag_spec_ld
=
7883 hardcode_libdir_separator
=
7885 hardcode_shlibpath_var
=unsupported
7887 link_all_deplibs
=unknown
7890 old_archive_from_new_cmds
=
7891 old_archive_from_expsyms_cmds
=
7892 thread_safe_flag_spec
=
7893 whole_archive_flag_spec
=
7894 # include_expsyms should be a list of space-separated symbols to be *always*
7895 # included in the symbol list
7897 # exclude_expsyms can be an extended regexp of symbols to exclude
7898 # it will be wrapped by ` (' and `)$', so one must not match beginning or
7899 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
7900 # as well as any symbol that contains `d'.
7901 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
7902 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
7903 # platforms (ab)use it in PIC code, but their linkers get confused if
7904 # the symbol is explicitly referenced. Since portable code cannot
7905 # rely on this symbol name, it's probably fine to never include it in
7906 # preloaded symbol tables.
7907 # Exclude shared library initialization/finalization symbols.
7908 extract_expsyms_cmds
=
7911 cygwin
* | mingw
* | pw32
* | cegcc
*)
7912 # FIXME: the MSVC++ port hasn't been tested in a loooong time
7913 # When not using gcc, we currently assume that we are using
7914 # Microsoft Visual C++.
7915 if test "$GCC" != yes; then
7920 # we just hope/assume this is gcc and not c89 (= MSVC++)
7926 linux
* | k
*bsd
*-gnu | gnu
*)
7933 # On some targets, GNU ld is compatible enough with the native linker
7934 # that we're better off using the native interface for both.
7935 lt_use_gnu_ld_interface
=no
7936 if test "$with_gnu_ld" = yes; then
7939 # The AIX port of GNU ld has always aspired to compatibility
7940 # with the native linker. However, as the warning in the GNU ld
7941 # block says, versions before 2.19.5* couldn't really create working
7942 # shared libraries, regardless of the interface used.
7943 case `$LD -v 2>&1` in
7944 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
7945 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
7946 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
7948 lt_use_gnu_ld_interface
=yes
7953 lt_use_gnu_ld_interface
=yes
7958 if test "$lt_use_gnu_ld_interface" = yes; then
7959 # If archive_cmds runs LD, not CC, wlarc should be empty
7962 # Set some defaults for GNU ld with shared library support. These
7963 # are reset later if shared libraries are not supported. Putting them
7964 # here allows them to be overridden if necessary.
7965 runpath_var
=LD_RUN_PATH
7966 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
7967 export_dynamic_flag_spec
='${wl}--export-dynamic'
7968 # ancient GNU ld didn't support --whole-archive et. al.
7969 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev
/null
; then
7970 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
7972 whole_archive_flag_spec
=
7974 supports_anon_versioning
=no
7975 case `$LD -v 2>&1` in
7976 *GNU\ gold
*) supports_anon_versioning
=yes ;;
7977 *\
[01].
* | *\
2.
[0-9].
* | *\
2.10.
*) ;; # catch versions < 2.11
7978 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
7979 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
7980 *\
2.11.
*) ;; # other 2.11 versions
7981 *) supports_anon_versioning
=yes ;;
7984 # See if GNU ld supports shared libraries.
7987 # On AIX/PPC, the GNU linker is very broken
7988 if test "$host_cpu" != ia64
; then
7992 *** Warning: the GNU linker, at least up to release 2.19, is reported
7993 *** to be unable to reliably create shared libraries on AIX.
7994 *** Therefore, libtool is disabling shared libraries support. If you
7995 *** really care for shared libraries, you may want to install binutils
7996 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
7997 *** You will then need to restart the configuration process.
8006 # see comment about AmigaOS4 .so support
8007 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8008 archive_expsym_cmds
=''
8011 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)'
8012 hardcode_libdir_flag_spec
='-L$libdir'
8013 hardcode_minus_L
=yes
8019 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
8020 allow_undefined_flag
=unsupported
8021 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8022 # support --undefined. This deserves some investigation. FIXME
8023 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8029 cygwin
* | mingw
* | pw32
* | cegcc
*)
8030 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8031 # as there is no search path for DLLs.
8032 hardcode_libdir_flag_spec
='-L$libdir'
8033 export_dynamic_flag_spec
='${wl}--export-all-symbols'
8034 allow_undefined_flag
=unsupported
8035 always_export_symbols
=no
8036 enable_shared_with_static_runtimes
=yes
8037 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'
8038 exclude_expsyms
='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
8040 if $LD --help 2>&1 | $GREP 'auto-import' > /dev
/null
; then
8041 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8042 # If the export-symbols file already is a .def file (1st line
8043 # is EXPORTS), use it as is; otherwise, prepend...
8044 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8045 cp $export_symbols $output_objdir/$soname.def;
8047 echo EXPORTS > $output_objdir/$soname.def;
8048 cat $export_symbols >> $output_objdir/$soname.def;
8050 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8057 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8058 link_all_deplibs
=yes
8063 hardcode_shlibpath_var
=no
8064 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8065 export_dynamic_flag_spec
='${wl}-E'
8066 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8067 # Instead, shared libraries are loaded at an image base (0x10000000 by
8068 # default) and relocated if they conflict, which is a slow very memory
8069 # consuming and fragmenting process. To avoid this, we pick a random,
8070 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8071 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8072 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8073 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'
8076 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
8078 if test "$host_os" = linux
-dietlibc; then
8079 case $cc_basename in
8080 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
8083 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev
/null \
8084 && test "$tmp_diet" = no
8086 tmp_addflag
=' $pic_flag'
8087 tmp_sharedflag
='-shared'
8088 case $cc_basename,$host_cpu in
8089 pgcc
*) # Portland Group C compiler
8090 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'
8091 tmp_addflag
=' $pic_flag'
8093 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
8094 # Portland Group f77 and f90 compilers
8095 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'
8096 tmp_addflag
=' $pic_flag -Mnomain' ;;
8097 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
8098 tmp_addflag
=' -i_dynamic' ;;
8099 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
8100 tmp_addflag
=' -i_dynamic -nofor_main' ;;
8101 ifc
* | ifort
*) # Intel Fortran compiler
8102 tmp_addflag
=' -nofor_main' ;;
8103 lf95
*) # Lahey Fortran 8.1
8104 whole_archive_flag_spec
=
8105 tmp_sharedflag
='--shared' ;;
8106 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8107 tmp_sharedflag
='-qmkshrobj'
8109 nvcc
*) # Cuda Compiler Driver 2.2
8110 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'
8111 compiler_needs_object
=yes
8114 case `$CC -V 2>&1 | sed 5q` in
8115 *Sun\ C
*) # Sun C 5.9
8116 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'
8117 compiler_needs_object
=yes
8118 tmp_sharedflag
='-G' ;;
8119 *Sun\ F
*) # Sun Fortran 8.3
8120 tmp_sharedflag
='-G' ;;
8122 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8124 if test "x$supports_anon_versioning" = xyes
; then
8125 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8126 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8127 echo "local: *; };" >> $output_objdir/$libname.ver~
8128 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8131 case $cc_basename in
8132 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
8133 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8134 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
8135 hardcode_libdir_flag_spec
=
8136 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
8137 archive_cmds
='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
8138 if test "x$supports_anon_versioning" = xyes
; then
8139 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8140 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8141 echo "local: *; };" >> $output_objdir/$libname.ver~
8142 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8151 netbsd
* | netbsdelf
*-gnu)
8152 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
8153 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8156 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8157 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8162 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev
/null
; then
8166 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8167 *** create shared libraries on Solaris systems. Therefore, libtool
8168 *** is disabling shared libraries support. We urge you to upgrade GNU
8169 *** binutils to release 2.9.1 or newer. Another option is to modify
8170 *** your PATH or compiler configuration so that the native linker is
8171 *** used, and then restart.
8174 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
8175 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8176 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8182 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
8183 case `$LD -v 2>&1` in
8184 *\
[01].
* | *\
2.
[0-9].
* | *\
2.1[0-5].
*)
8188 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8189 *** reliably create shared libraries on SCO systems. Therefore, libtool
8190 *** is disabling shared libraries support. We urge you to upgrade GNU
8191 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8192 *** your PATH or compiler configuration so that the native linker is
8193 *** used, and then restart.
8198 # For security reasons, it is highly recommended that you always
8199 # use absolute paths for naming shared libraries, and exclude the
8200 # DT_RUNPATH tag from executables and libraries. But doing so
8201 # requires that you compile everything twice, which is a pain.
8202 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
8203 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8204 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8205 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8214 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8217 hardcode_shlibpath_var
=no
8221 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
8222 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8223 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8230 if test "$ld_shlibs" = no
; then
8232 hardcode_libdir_flag_spec
=
8233 export_dynamic_flag_spec
=
8234 whole_archive_flag_spec
=
8237 # PORTME fill in a description of your system's linker (not GNU ld)
8240 allow_undefined_flag
=unsupported
8241 always_export_symbols
=yes
8242 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'
8243 # Note: this linker hardcodes the directories in LIBPATH if there
8244 # are no directories specified by -L.
8245 hardcode_minus_L
=yes
8246 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8247 # Neither direct hardcoding nor static linking is supported with a
8249 hardcode_direct
=unsupported
8254 if test "$host_cpu" = ia64
; then
8255 # On IA64, the linker does run time linking by default, so we don't
8256 # have to do anything special.
8257 aix_use_runtimelinking
=no
8258 exp_sym_flag
='-Bexport'
8261 # If we're using GNU nm, then we don't want the "-C" option.
8262 # -C means demangle to AIX nm, but means don't demangle with GNU nm
8263 # Also, AIX nm treats weak defined symbols like other global
8264 # defined symbols, whereas GNU nm marks them as "W".
8265 if $NM -V 2>&1 | $GREP 'GNU' > /dev
/null
; then
8266 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'
8268 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'
8270 aix_use_runtimelinking
=no
8272 # Test if we are trying to use run time linking or normal
8273 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8274 # need to do runtime linking.
8275 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
8276 for ld_flag
in $LDFLAGS; do
8277 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
8278 aix_use_runtimelinking
=yes
8285 exp_sym_flag
='-bexport'
8286 no_entry_flag
='-bnoentry'
8289 # When large executables or shared objects are built, AIX ld can
8290 # have problems creating the table of contents. If linking a library
8291 # or program results in "error TOC overflow" add -mminimal-toc to
8292 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8293 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8297 hardcode_direct_absolute
=yes
8298 hardcode_libdir_separator
=':'
8299 link_all_deplibs
=yes
8300 file_list_spec
='${wl}-f,'
8302 if test "$GCC" = yes; then
8303 case $host_os in aix4.
[012]|aix4.
[012].
*)
8304 # We only want to do this on AIX 4.2 and lower, the check
8305 # below for broken collect2 doesn't work under 4.3+
8306 collect2name
=`${CC} -print-prog-name=collect2`
8307 if test -f "$collect2name" &&
8308 strings "$collect2name" | $GREP resolve_lib_name
>/dev
/null
8310 # We have reworked collect2
8313 # We have old collect2
8314 hardcode_direct
=unsupported
8315 # It fails to find uninstalled libraries when the uninstalled
8316 # path is not listed in the libpath. Setting hardcode_minus_L
8317 # to unsupported forces relinking
8318 hardcode_minus_L
=yes
8319 hardcode_libdir_flag_spec
='-L$libdir'
8320 hardcode_libdir_separator
=
8324 shared_flag
='-shared'
8325 if test "$aix_use_runtimelinking" = yes; then
8326 shared_flag
="$shared_flag "'${wl}-G'
8331 if test "$host_cpu" = ia64
; then
8332 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8333 # chokes on -Wl,-G. The following line is correct:
8336 if test "$aix_use_runtimelinking" = yes; then
8337 shared_flag
='${wl}-G'
8339 shared_flag
='${wl}-bM:SRE'
8344 export_dynamic_flag_spec
='${wl}-bexpall'
8345 # It seems that -bexpall does not export symbols beginning with
8346 # underscore (_), so it is better to generate a list of symbols to export.
8347 always_export_symbols
=yes
8348 if test "$aix_use_runtimelinking" = yes; then
8349 # Warning - without using the other runtime loading flags (-brtl),
8350 # -berok will link without error, but may produce a broken library.
8351 allow_undefined_flag
='-berok'
8352 # Determine the default libpath from the value encoded in an
8354 if test "${lt_cv_aix_libpath+set}" = set; then
8355 aix_libpath
=$lt_cv_aix_libpath
8357 if ${lt_cv_aix_libpath_+:} false
; then :
8358 $as_echo_n "(cached) " >&6
8360 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8361 /* end confdefs.h. */
8371 if ac_fn_c_try_link
"$LINENO"; then :
8373 lt_aix_libpath_sed
='
8374 /Import File Strings/,/^$/ {
8376 s/^0 *\([^ ]*\) *$/\1/
8380 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8381 # Check for a 64-bit object if we didn't find anything.
8382 if test -z "$lt_cv_aix_libpath_"; then
8383 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8386 rm -f core conftest.err conftest.
$ac_objext \
8387 conftest
$ac_exeext conftest.
$ac_ext
8388 if test -z "$lt_cv_aix_libpath_"; then
8389 lt_cv_aix_libpath_
="/usr/lib:/lib"
8394 aix_libpath
=$lt_cv_aix_libpath_
8397 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
8398 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"
8400 if test "$host_cpu" = ia64
; then
8401 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
8402 allow_undefined_flag
="-z nodefs"
8403 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"
8405 # Determine the default libpath from the value encoded in an
8407 if test "${lt_cv_aix_libpath+set}" = set; then
8408 aix_libpath
=$lt_cv_aix_libpath
8410 if ${lt_cv_aix_libpath_+:} false
; then :
8411 $as_echo_n "(cached) " >&6
8413 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8414 /* end confdefs.h. */
8424 if ac_fn_c_try_link
"$LINENO"; then :
8426 lt_aix_libpath_sed
='
8427 /Import File Strings/,/^$/ {
8429 s/^0 *\([^ ]*\) *$/\1/
8433 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8434 # Check for a 64-bit object if we didn't find anything.
8435 if test -z "$lt_cv_aix_libpath_"; then
8436 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8439 rm -f core conftest.err conftest.
$ac_objext \
8440 conftest
$ac_exeext conftest.
$ac_ext
8441 if test -z "$lt_cv_aix_libpath_"; then
8442 lt_cv_aix_libpath_
="/usr/lib:/lib"
8447 aix_libpath
=$lt_cv_aix_libpath_
8450 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
8451 # Warning - without using the other run time loading flags,
8452 # -berok will link without error, but may produce a broken library.
8453 no_undefined_flag
=' ${wl}-bernotok'
8454 allow_undefined_flag
=' ${wl}-berok'
8455 if test "$with_gnu_ld" = yes; then
8456 # We only use this code for GNU lds that support --whole-archive.
8457 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
8459 # Exported symbols can be pulled into shared objects from archives
8460 whole_archive_flag_spec
='$convenience'
8462 archive_cmds_need_lc
=yes
8463 # This is similar to how AIX traditionally builds its shared libraries.
8464 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'
8472 # see comment about AmigaOS4 .so support
8473 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8474 archive_expsym_cmds
=''
8477 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)'
8478 hardcode_libdir_flag_spec
='-L$libdir'
8479 hardcode_minus_L
=yes
8485 export_dynamic_flag_spec
=-rdynamic
8488 cygwin
* | mingw
* | pw32
* | cegcc
*)
8489 # When not using gcc, we currently assume that we are using
8490 # Microsoft Visual C++.
8491 # hardcode_libdir_flag_spec is actually meaningless, as there is
8492 # no search path for DLLs.
8493 case $cc_basename in
8496 hardcode_libdir_flag_spec
=' '
8497 allow_undefined_flag
=unsupported
8498 always_export_symbols
=yes
8500 # Tell ltmain to make .lib files, not .a files.
8502 # Tell ltmain to make .dll files, not .so files.
8504 # FIXME: Setting linknames here is a bad hack.
8505 archive_cmds
='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
8506 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8507 sed -n -e 's
/\\\\\\\
(.
*\\\\\\\
)/-link\\\
-EXPORT:\\\\\\\
1/' -e '1\\\
!p
' < $export_symbols > $output_objdir/$soname.exp;
8509 sed -e 's
/\\\\\\\
(.
*\\\\\\\
)/-link\\\
-EXPORT:\\\\\\\
1/' < $export_symbols > $output_objdir/$soname.exp;
8511 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
8513 # The linker will not automatically build a static lib if we build a DLL.
8514 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
8515 enable_shared_with_static_runtimes
=yes
8516 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8518 old_postinstall_cmds
='chmod 644 $oldlib'
8519 postlink_cmds
='lt_outputfile="@OUTPUT@"~
8520 lt_tool_outputfile="@TOOL_OUTPUT@"~
8521 case $lt_outputfile in
8524 lt_outputfile="$lt_outputfile.exe"
8525 lt_tool_outputfile="$lt_tool_outputfile.exe"
8528 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
8529 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
8530 $RM "$lt_outputfile.manifest";
8534 # Assume MSVC wrapper
8535 hardcode_libdir_flag_spec
=' '
8536 allow_undefined_flag
=unsupported
8537 # Tell ltmain to make .lib files, not .a files.
8539 # Tell ltmain to make .dll files, not .so files.
8541 # FIXME: Setting linknames here is a bad hack.
8542 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
8543 # The linker will automatically build a .lib file if we build a DLL.
8544 old_archive_from_new_cmds
='true'
8545 # FIXME: Should let the user specify the lib program.
8546 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
8547 enable_shared_with_static_runtimes
=yes
8552 darwin
* | rhapsody
*)
8555 archive_cmds_need_lc
=no
8557 hardcode_automatic
=yes
8558 hardcode_shlibpath_var
=unsupported
8559 if test "$lt_cv_ld_force_load" = "yes"; then
8560 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\"`'
8562 whole_archive_flag_spec
=''
8564 link_all_deplibs
=yes
8565 allow_undefined_flag
="$_lt_dar_allow_undefined"
8566 case $cc_basename in
8567 ifort
*) _lt_dar_can_shared
=yes ;;
8568 *) _lt_dar_can_shared
=$GCC ;;
8570 if test "$_lt_dar_can_shared" = "yes"; then
8571 output_verbose_link_cmd
=func_echo_all
8572 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
8573 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
8574 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}"
8575 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}"
8584 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8585 hardcode_libdir_flag_spec
='-L$libdir'
8586 hardcode_shlibpath_var
=no
8593 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8594 # support. Future versions do this automatically, but an explicit c++rt0.o
8595 # does not break anything, and helps significantly (at the cost of a little
8598 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8599 hardcode_libdir_flag_spec
='-R$libdir'
8601 hardcode_shlibpath_var
=no
8604 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8606 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8608 hardcode_minus_L
=yes
8609 hardcode_shlibpath_var
=no
8612 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8613 freebsd
* | dragonfly
*)
8614 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8615 hardcode_libdir_flag_spec
='-R$libdir'
8617 hardcode_shlibpath_var
=no
8621 if test "$GCC" = yes; then
8622 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'
8624 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'
8626 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8627 hardcode_libdir_separator
=:
8630 # hardcode_minus_L: Not really in the search PATH,
8631 # but as the default location of the library.
8632 hardcode_minus_L
=yes
8633 export_dynamic_flag_spec
='${wl}-E'
8637 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
8638 archive_cmds
='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8640 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8642 if test "$with_gnu_ld" = no
; then
8643 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8644 hardcode_libdir_flag_spec_ld
='+b $libdir'
8645 hardcode_libdir_separator
=:
8647 hardcode_direct_absolute
=yes
8648 export_dynamic_flag_spec
='${wl}-E'
8649 # hardcode_minus_L: Not really in the search PATH,
8650 # but as the default location of the library.
8651 hardcode_minus_L
=yes
8656 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
8659 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8662 archive_cmds
='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8665 archive_cmds
='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8671 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8674 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8678 # Older versions of the 11.00 compiler do not understand -b yet
8679 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
8680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
8681 $as_echo_n "checking if $CC understands -b... " >&6; }
8682 if ${lt_cv_prog_compiler__b+:} false
; then :
8683 $as_echo_n "(cached) " >&6
8685 lt_cv_prog_compiler__b
=no
8686 save_LDFLAGS
="$LDFLAGS"
8687 LDFLAGS
="$LDFLAGS -b"
8688 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
8689 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
8690 # The linker can only warn and ignore the option if not recognized
8691 # So say no if there are warnings
8692 if test -s conftest.err
; then
8693 # Append any errors to the config.log.
8694 cat conftest.err
1>&5
8695 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8696 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8697 if diff conftest.exp conftest.er2
>/dev
/null
; then
8698 lt_cv_prog_compiler__b
=yes
8701 lt_cv_prog_compiler__b
=yes
8705 LDFLAGS
="$save_LDFLAGS"
8708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
8709 $as_echo "$lt_cv_prog_compiler__b" >&6; }
8711 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
8712 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8714 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8720 if test "$with_gnu_ld" = no
; then
8721 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8722 hardcode_libdir_separator
=:
8727 hardcode_shlibpath_var
=no
8731 hardcode_direct_absolute
=yes
8732 export_dynamic_flag_spec
='${wl}-E'
8734 # hardcode_minus_L: Not really in the search PATH,
8735 # but as the default location of the library.
8736 hardcode_minus_L
=yes
8742 irix5
* | irix6
* | nonstopux
*)
8743 if test "$GCC" = yes; then
8744 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'
8745 # Try to use the -exported_symbol ld option, if it does not
8746 # work, assume that -exports_file does not work either and
8747 # implicitly export all symbols.
8748 # This should be the same for all languages, so no per-tag cache variable.
8749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
8750 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
8751 if ${lt_cv_irix_exported_symbol+:} false
; then :
8752 $as_echo_n "(cached) " >&6
8754 save_LDFLAGS
="$LDFLAGS"
8755 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
8756 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8757 /* end confdefs.h. */
8758 int foo (void) { return 0; }
8760 if ac_fn_c_try_link
"$LINENO"; then :
8761 lt_cv_irix_exported_symbol
=yes
8763 lt_cv_irix_exported_symbol
=no
8765 rm -f core conftest.err conftest.
$ac_objext \
8766 conftest
$ac_exeext conftest.
$ac_ext
8767 LDFLAGS
="$save_LDFLAGS"
8769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
8770 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
8771 if test "$lt_cv_irix_exported_symbol" = yes; then
8772 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'
8775 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'
8776 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'
8778 archive_cmds_need_lc
='no'
8779 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8780 hardcode_libdir_separator
=:
8782 link_all_deplibs
=yes
8785 netbsd
* | netbsdelf
*-gnu)
8786 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
8787 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
8789 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
8791 hardcode_libdir_flag_spec
='-R$libdir'
8793 hardcode_shlibpath_var
=no
8797 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8799 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8800 hardcode_libdir_separator
=:
8801 hardcode_shlibpath_var
=no
8808 if test -f /usr
/libexec
/ld.so
; then
8810 hardcode_shlibpath_var
=no
8811 hardcode_direct_absolute
=yes
8812 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8813 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8814 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8815 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8816 export_dynamic_flag_spec
='${wl}-E'
8819 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
8820 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8821 hardcode_libdir_flag_spec
='-R$libdir'
8824 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8825 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8835 hardcode_libdir_flag_spec
='-L$libdir'
8836 hardcode_minus_L
=yes
8837 allow_undefined_flag
=unsupported
8838 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'
8839 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8843 if test "$GCC" = yes; then
8844 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
8845 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'
8847 allow_undefined_flag
=' -expect_unresolved \*'
8848 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'
8850 archive_cmds_need_lc
='no'
8851 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8852 hardcode_libdir_separator
=:
8855 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
8856 if test "$GCC" = yes; then
8857 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
8858 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'
8859 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8861 allow_undefined_flag
=' -expect_unresolved \*'
8862 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'
8863 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~
8864 $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'
8866 # Both c and cxx compiler support -rpath directly
8867 hardcode_libdir_flag_spec
='-rpath $libdir'
8869 archive_cmds_need_lc
='no'
8870 hardcode_libdir_separator
=:
8874 no_undefined_flag
=' -z defs'
8875 if test "$GCC" = yes; then
8877 archive_cmds
='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8878 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8879 $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'
8881 case `$CC -V 2>&1` in
8884 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8885 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8886 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
8890 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
8891 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8892 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8896 hardcode_libdir_flag_spec
='-R$libdir'
8897 hardcode_shlibpath_var
=no
8899 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
8901 # The compiler driver will combine and reorder linker options,
8902 # but understands `-z linker_flag'. GCC discards it without `$wl',
8903 # but is careful enough not to reorder.
8904 # Supported since Solaris 2.6 (maybe 2.5.1?)
8905 if test "$GCC" = yes; then
8906 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
8908 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
8912 link_all_deplibs
=yes
8916 if test "x$host_vendor" = xsequent
; then
8917 # Use $CC to link under sequent, because it throws in some extra .o
8918 # files that make .init and .fini sections work.
8919 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
8921 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
8923 hardcode_libdir_flag_spec
='-L$libdir'
8925 hardcode_minus_L
=yes
8926 hardcode_shlibpath_var
=no
8930 case $host_vendor in
8932 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8933 hardcode_direct
=yes # is this really true???
8936 ## LD is ld it makes a PLAMLIB
8937 ## CC just makes a GrossModule.
8938 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
8939 reload_cmds
='$CC -r -o $output$reload_objs'
8943 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8944 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
8947 runpath_var
='LD_RUN_PATH'
8948 hardcode_shlibpath_var
=no
8952 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8953 hardcode_shlibpath_var
=no
8954 export_dynamic_flag_spec
='-Bexport'
8958 if test -d /usr
/nec
; then
8959 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8960 hardcode_shlibpath_var
=no
8961 runpath_var
=LD_RUN_PATH
8962 hardcode_runpath_var
=yes
8967 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
8968 no_undefined_flag
='${wl}-z,text'
8969 archive_cmds_need_lc
=no
8970 hardcode_shlibpath_var
=no
8971 runpath_var
='LD_RUN_PATH'
8973 if test "$GCC" = yes; then
8974 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8975 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8977 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8978 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8982 sysv5
* | sco3.2v5
* | sco5v6
*)
8983 # Note: We can NOT use -z defs as we might desire, because we do not
8984 # link with -lc, and that would cause any symbols used from libc to
8985 # always be unresolved, which means just about no library would
8986 # ever link correctly. If we're not using GNU ld we use -z text
8987 # though, which does catch some bad symbols but isn't as heavy-handed
8989 no_undefined_flag
='${wl}-z,text'
8990 allow_undefined_flag
='${wl}-z,nodefs'
8991 archive_cmds_need_lc
=no
8992 hardcode_shlibpath_var
=no
8993 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
8994 hardcode_libdir_separator
=':'
8995 link_all_deplibs
=yes
8996 export_dynamic_flag_spec
='${wl}-Bexport'
8997 runpath_var
='LD_RUN_PATH'
8999 if test "$GCC" = yes; then
9000 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9001 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9003 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9004 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9009 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9010 hardcode_libdir_flag_spec
='-L$libdir'
9011 hardcode_shlibpath_var
=no
9019 if test x
$host_vendor = xsni
; then
9021 sysv4
| sysv4.2uw2
* | sysv4.3
* | sysv5
*)
9022 export_dynamic_flag_spec
='${wl}-Blargedynsym'
9028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9029 $as_echo "$ld_shlibs" >&6; }
9030 test "$ld_shlibs" = no
&& can_build_shared
=no
9032 with_gnu_ld
=$with_gnu_ld
9049 # Do we need to explicitly link libc?
9051 case "x$archive_cmds_need_lc" in
9053 # Assume -lc should be added
9054 archive_cmds_need_lc
=yes
9056 if test "$enable_shared" = yes && test "$GCC" = yes; then
9057 case $archive_cmds in
9059 # FIXME: we may have to deal with multi-command sequences.
9062 # Test whether the compiler implicitly links with -lc since on some
9063 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9064 # to ld, don't add -lc before -lgcc.
9065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9066 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9067 if ${lt_cv_archive_cmds_need_lc+:} false
; then :
9068 $as_echo_n "(cached) " >&6
9071 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9073 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9074 (eval $ac_compile) 2>&5
9076 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9077 test $ac_status = 0; } 2>conftest.err
; then
9080 libobjs
=conftest.
$ac_objext
9082 wl
=$lt_prog_compiler_wl
9083 pic_flag
=$lt_prog_compiler_pic
9089 lt_save_allow_undefined_flag
=$allow_undefined_flag
9090 allow_undefined_flag
=
9091 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9092 (eval $archive_cmds 2\
>\
&1 \
| $GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
9094 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9095 test $ac_status = 0; }
9097 lt_cv_archive_cmds_need_lc
=no
9099 lt_cv_archive_cmds_need_lc
=yes
9101 allow_undefined_flag
=$lt_save_allow_undefined_flag
9103 cat conftest.err
1>&5
9108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
9109 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
9110 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
9273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
9274 $as_echo_n "checking dynamic linker characteristics... " >&6; }
9276 if test "$GCC" = yes; then
9278 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
9279 *) lt_awk_arg
="/^libraries:/" ;;
9282 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
9283 *) lt_sed_strip_eq
="s,=/,/,g" ;;
9285 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
9286 case $lt_search_path_spec in
9288 # if the path contains ";" then we assume it to be the separator
9289 # otherwise default to the standard path separator (i.e. ":") - it is
9290 # assumed that no part of a normal pathname contains ";" but that should
9291 # okay in the real world where ";" in dirpaths is itself problematic.
9292 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
9295 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
9298 # Ok, now we have the path, separated by spaces, we can step through it
9299 # and add multilib dir if necessary.
9300 lt_tmp_lt_search_path_spec
=
9301 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9302 for lt_sys_path
in $lt_search_path_spec; do
9303 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9304 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9306 test -d "$lt_sys_path" && \
9307 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
9310 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
9311 BEGIN {RS=" "; FS="/|\n";} {
9314 for (lt_i = NF; lt_i > 0; lt_i--) {
9315 if ($lt_i != "" && $lt_i != ".") {
9316 if ($lt_i == "..") {
9319 if (lt_count == 0) {
9320 lt_foo="/" $lt_i lt_foo;
9327 if (lt_foo != "") { lt_freq[lt_foo]++; }
9328 if (lt_freq[lt_foo] == 1) { print lt_foo; }
9330 # AWK program above erroneously prepends '/' to C:/dos/paths
9333 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
9334 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
9336 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
9338 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
9341 libname_spec
='lib$name'
9349 shlibpath_overrides_runpath
=unknown
9351 dynamic_linker
="$host_os ld.so"
9352 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
9353 need_lib_prefix
=unknown
9354 hardcode_into_libs
=no
9356 # when you set need_version to no, make sure it does not cause -set_version
9357 # flags to be left without arguments
9358 need_version
=unknown
9363 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
9364 shlibpath_var
=LIBPATH
9366 # AIX 3 has no versioning support, so we append a major version to the name.
9367 soname_spec
='${libname}${release}${shared_ext}$major'
9374 hardcode_into_libs
=yes
9375 if test "$host_cpu" = ia64
; then
9376 # AIX 5 supports IA64
9377 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9378 shlibpath_var
=LD_LIBRARY_PATH
9380 # With GCC up to 2.95.x, collect2 would create an import file
9381 # for dependence libraries. The import file would start with
9382 # the line `#! .'. This would cause the generated library to
9383 # depend on `.', always an invalid library. This was fixed in
9384 # development snapshots of GCC prior to 3.0.
9386 aix4
| aix4.
[01] | aix4.
[01].
*)
9387 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9389 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev
/null
; then
9396 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9397 # soname into executable. Probably we can add versioning support to
9398 # collect2, so additional links can be useful in future.
9399 if test "$aix_use_runtimelinking" = yes; then
9400 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9401 # instead of lib<name>.a to let people know that these are not
9402 # typical AIX shared libraries.
9403 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9405 # We preserve .a as extension for shared libraries through AIX4.2
9406 # and later when we are not doing run time linking.
9407 library_names_spec
='${libname}${release}.a $libname.a'
9408 soname_spec
='${libname}${release}${shared_ext}$major'
9410 shlibpath_var
=LIBPATH
9417 # Since July 2007 AmigaOS4 officially supports .so libraries.
9418 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
9419 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9422 library_names_spec
='$libname.ixlibrary $libname.a'
9423 # Create ${libname}_ixlibrary.a entries in /sys/libs.
9424 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'
9430 library_names_spec
='${libname}${shared_ext}'
9431 dynamic_linker
="$host_os ld.so"
9432 shlibpath_var
=LIBRARY_PATH
9438 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9439 soname_spec
='${libname}${release}${shared_ext}$major'
9440 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
9441 shlibpath_var
=LD_LIBRARY_PATH
9442 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9443 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
9444 # the default ld.so.conf also contains /usr/contrib/lib and
9445 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9446 # libtool to hard-code these into programs
9449 cygwin
* | mingw
* | pw32
* | cegcc
*)
9450 version_type
=windows
9455 case $GCC,$cc_basename in
9458 library_names_spec
='$libname.dll.a'
9459 # DLL is installed to $(libdir)/../bin by postinstall_cmds
9460 postinstall_cmds
='base_file=`basename \${file}`~
9461 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9462 dldir=$destdir/`dirname \$dlpath`~
9463 test -d \$dldir || mkdir -p \$dldir~
9464 $install_prog $dir/$dlname \$dldir/$dlname~
9465 chmod a+x \$dldir/$dlname~
9466 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
9467 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
9469 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9470 dlpath=$dir/\$dldll~
9472 shlibpath_overrides_runpath
=yes
9476 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9477 soname_spec
='`echo ${libname} | sed -e 's
/^lib
/cyg
/'``echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
9479 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
9482 # MinGW DLLs use traditional 'lib' prefix
9483 soname_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
9486 # pw32 DLLs use 'pw' prefix rather than 'lib'
9487 library_names_spec
='`echo ${libname} | sed -e 's
/^lib
/pw
/'``echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
9490 dynamic_linker
='Win32 ld.exe'
9495 libname_spec
='$name'
9496 soname_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
9497 library_names_spec
='${libname}.dll.lib'
9501 sys_lib_search_path_spec
=
9507 # Let DOS variable expansion print the short 8.3 style file name.
9508 lt_path
=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
9509 sys_lib_search_path_spec
="$sys_lib_search_path_spec $lt_path"
9512 # Convert to MSYS style.
9513 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
9516 # Convert to unix form, then to dos form, then back to unix form
9517 # but this time dos style (no spaces!) so that the unix form looks
9518 # like /cygdrive/c/PROGRA~1:/cygdr...
9519 sys_lib_search_path_spec
=`cygpath --path --unix "$LIB"`
9520 sys_lib_search_path_spec
=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
9521 sys_lib_search_path_spec
=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9524 sys_lib_search_path_spec
="$LIB"
9525 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev
/null
; then
9526 # It is most probably a Windows format PATH.
9527 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9529 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9531 # FIXME: find the short name or the path components, as spaces are
9532 # common. (e.g. "Program Files" -> "PROGRA~1")
9536 # DLL is installed to $(libdir)/../bin by postinstall_cmds
9537 postinstall_cmds
='base_file=`basename \${file}`~
9538 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9539 dldir=$destdir/`dirname \$dlpath`~
9540 test -d \$dldir || mkdir -p \$dldir~
9541 $install_prog $dir/$dlname \$dldir/$dlname'
9542 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9543 dlpath=$dir/\$dldll~
9545 shlibpath_overrides_runpath
=yes
9546 dynamic_linker
='Win32 link.exe'
9550 # Assume MSVC wrapper
9551 library_names_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext} $libname.lib'
9552 dynamic_linker
='Win32 ld.exe'
9555 # FIXME: first we should search . and the directory the executable is in
9559 darwin
* | rhapsody
*)
9560 dynamic_linker
="$host_os dyld"
9564 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9565 soname_spec
='${libname}${release}${major}$shared_ext'
9566 shlibpath_overrides_runpath
=yes
9567 shlibpath_var
=DYLD_LIBRARY_PATH
9568 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
9570 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
9571 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
9578 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
9579 soname_spec
='${libname}${release}${shared_ext}$major'
9580 shlibpath_var
=LD_LIBRARY_PATH
9587 freebsd
* | dragonfly
*)
9588 # DragonFly does not have aout. When/if they implement a new
9589 # versioning mechanism, adjust this.
9590 if test -x /usr
/bin
/objformat
; then
9591 objformat
=`/usr/bin/objformat`
9594 freebsd
[123]*) objformat
=aout
;;
9598 version_type
=freebsd
-$objformat
9599 case $version_type in
9601 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9606 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
9610 shlibpath_var
=LD_LIBRARY_PATH
9613 shlibpath_overrides_runpath
=yes
9615 freebsd3.
[01]* | freebsdelf3.
[01]*)
9616 shlibpath_overrides_runpath
=yes
9617 hardcode_into_libs
=yes
9619 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
9620 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
9621 shlibpath_overrides_runpath
=no
9622 hardcode_into_libs
=yes
9624 *) # from 4.6 on, and DragonFly
9625 shlibpath_overrides_runpath
=yes
9626 hardcode_into_libs
=yes
9635 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9636 soname_spec
='${libname}${release}${shared_ext}$major'
9637 shlibpath_var
=LD_LIBRARY_PATH
9638 shlibpath_overrides_runpath
=no
9639 hardcode_into_libs
=yes
9646 dynamic_linker
="$host_os runtime_loader"
9647 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9648 soname_spec
='${libname}${release}${shared_ext}$major'
9649 shlibpath_var
=LIBRARY_PATH
9650 shlibpath_overrides_runpath
=yes
9651 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
9652 hardcode_into_libs
=yes
9655 hpux9
* | hpux10
* | hpux11
*)
9656 # Give a soname corresponding to the major version so that dld.sl refuses to
9657 # link against other versions.
9664 hardcode_into_libs
=yes
9665 dynamic_linker
="$host_os dld.so"
9666 shlibpath_var
=LD_LIBRARY_PATH
9667 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
9668 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9669 soname_spec
='${libname}${release}${shared_ext}$major'
9670 if test "X$HPUX_IA64_MODE" = X32
; then
9671 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
9673 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
9675 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
9679 hardcode_into_libs
=yes
9680 dynamic_linker
="$host_os dld.sl"
9681 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
9682 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
9683 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9684 soname_spec
='${libname}${release}${shared_ext}$major'
9685 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
9686 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
9690 dynamic_linker
="$host_os dld.sl"
9691 shlibpath_var
=SHLIB_PATH
9692 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
9693 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9694 soname_spec
='${libname}${release}${shared_ext}$major'
9697 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
9698 postinstall_cmds
='chmod 555 $lib'
9699 # or fails outright, so override atomically:
9700 install_override_mode
=555
9707 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9708 soname_spec
='${libname}${release}${shared_ext}$major'
9709 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
9710 shlibpath_var
=LD_LIBRARY_PATH
9711 shlibpath_overrides_runpath
=no
9712 hardcode_into_libs
=yes
9715 irix5
* | irix6
* | nonstopux
*)
9717 nonstopux
*) version_type
=nonstopux
;;
9719 if test "$lt_cv_prog_gnu_ld" = yes; then
9727 soname_spec
='${libname}${release}${shared_ext}$major'
9728 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
9730 irix5
* | nonstopux
*)
9734 case $LD in # libtool.m4 will add one of these switches to LD
9735 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
9736 libsuff
= shlibsuff
= libmagic
=32-bit;;
9737 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
9738 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
9739 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
9740 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
9741 *) libsuff
= shlibsuff
= libmagic
=never
-match;;
9745 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
9746 shlibpath_overrides_runpath
=no
9747 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
9748 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
9749 hardcode_into_libs
=yes
9752 # No shared lib support for Linux oldld, aout, or coff.
9753 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
9757 # This must be Linux ELF.
9758 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
9762 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9763 soname_spec
='${libname}${release}${shared_ext}$major'
9764 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9765 shlibpath_var
=LD_LIBRARY_PATH
9766 shlibpath_overrides_runpath
=no
9768 # Some binutils ld are patched to set DT_RUNPATH
9769 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
9770 $as_echo_n "(cached) " >&6
9772 lt_cv_shlibpath_overrides_runpath
=no
9773 save_LDFLAGS
=$LDFLAGS
9775 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
9776 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
9777 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9778 /* end confdefs.h. */
9788 if ac_fn_c_try_link
"$LINENO"; then :
9789 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null
| grep "RUNPATH.*$libdir" >/dev
/null
; then :
9790 lt_cv_shlibpath_overrides_runpath
=yes
9793 rm -f core conftest.err conftest.
$ac_objext \
9794 conftest
$ac_exeext conftest.
$ac_ext
9795 LDFLAGS
=$save_LDFLAGS
9800 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
9802 # This implies no fast_install, which is unacceptable.
9803 # Some rework will be needed to allow for fast_install
9804 # before this can be enabled.
9805 hardcode_into_libs
=yes
9807 # Append ld.so.conf contents to the search path
9808 if test -f /etc
/ld.so.conf
; then
9809 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' ' '`
9810 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
9813 # We used to test for /lib/ld.so.1 and disable shared libraries on
9814 # powerpc, because MkLinux only supported shared libraries with the
9815 # GNU dynamic linker. Since this was broken with cross compilers,
9816 # most powerpc-linux boxes support dynamic linking these days and
9817 # people can always --disable-shared, the test was removed, and we
9818 # assume the GNU/Linux dynamic linker is in use.
9819 dynamic_linker
='GNU/Linux ld.so'
9826 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9827 soname_spec
='${libname}${release}${shared_ext}$major'
9828 shlibpath_var
=LD_LIBRARY_PATH
9829 shlibpath_overrides_runpath
=no
9830 hardcode_into_libs
=yes
9831 dynamic_linker
='NetBSD ld.elf_so'
9838 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
9839 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9840 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9841 dynamic_linker
='NetBSD (a.out) ld.so'
9843 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9844 soname_spec
='${libname}${release}${shared_ext}$major'
9845 dynamic_linker
='NetBSD ld.elf_so'
9847 shlibpath_var
=LD_LIBRARY_PATH
9848 shlibpath_overrides_runpath
=yes
9849 hardcode_into_libs
=yes
9854 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9855 shlibpath_var
=LD_LIBRARY_PATH
9856 shlibpath_overrides_runpath
=yes
9863 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9864 soname_spec
='${libname}${release}${shared_ext}$major'
9865 shlibpath_var
=LD_LIBRARY_PATH
9866 shlibpath_overrides_runpath
=no
9867 hardcode_into_libs
=yes
9868 dynamic_linker
='ldqnx.so'
9873 sys_lib_dlsearch_path_spec
="/usr/lib"
9875 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9877 openbsd3.3
| openbsd3.3.
*) need_version
=yes ;;
9878 *) need_version
=no
;;
9880 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9881 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9882 shlibpath_var
=LD_LIBRARY_PATH
9883 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9885 openbsd2.
[89] | openbsd2.
[89].
*)
9886 shlibpath_overrides_runpath
=no
9889 shlibpath_overrides_runpath
=yes
9893 shlibpath_overrides_runpath
=yes
9898 libname_spec
='$name'
9901 library_names_spec
='$libname${shared_ext} $libname.a'
9902 dynamic_linker
='OS/2 ld.exe'
9903 shlibpath_var
=LIBPATH
9906 osf3
* | osf4
* | osf5
*)
9910 soname_spec
='${libname}${release}${shared_ext}$major'
9911 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9912 shlibpath_var
=LD_LIBRARY_PATH
9913 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
9914 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
9925 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9926 soname_spec
='${libname}${release}${shared_ext}$major'
9927 shlibpath_var
=LD_LIBRARY_PATH
9928 shlibpath_overrides_runpath
=yes
9929 hardcode_into_libs
=yes
9930 # ldd complains unless libraries are executable
9931 postinstall_cmds
='chmod +x $lib'
9936 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9937 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
9938 shlibpath_var
=LD_LIBRARY_PATH
9939 shlibpath_overrides_runpath
=yes
9940 if test "$with_gnu_ld" = yes; then
9948 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9949 soname_spec
='${libname}${release}${shared_ext}$major'
9950 shlibpath_var
=LD_LIBRARY_PATH
9951 case $host_vendor in
9953 shlibpath_overrides_runpath
=no
9955 runpath_var
=LD_RUN_PATH
9963 shlibpath_overrides_runpath
=no
9964 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
9970 if test -d /usr
/nec
;then
9972 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
9973 soname_spec
='$libname${shared_ext}.$major'
9974 shlibpath_var
=LD_LIBRARY_PATH
9978 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
9979 version_type
=freebsd
-elf
9982 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9983 soname_spec
='${libname}${release}${shared_ext}$major'
9984 shlibpath_var
=LD_LIBRARY_PATH
9985 shlibpath_overrides_runpath
=yes
9986 hardcode_into_libs
=yes
9987 if test "$with_gnu_ld" = yes; then
9988 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
9990 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
9993 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
9997 sys_lib_dlsearch_path_spec
='/usr/lib'
10001 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10005 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10006 shlibpath_var
=LD_LIBRARY_PATH
10007 shlibpath_overrides_runpath
=no
10008 hardcode_into_libs
=yes
10013 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10014 soname_spec
='${libname}${release}${shared_ext}$major'
10015 shlibpath_var
=LD_LIBRARY_PATH
10022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10023 $as_echo "$dynamic_linker" >&6; }
10024 test "$dynamic_linker" = no
&& can_build_shared
=no
10026 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
10027 if test "$GCC" = yes; then
10028 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10031 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10032 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
10034 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10035 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
10129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10130 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10132 if test -n "$hardcode_libdir_flag_spec" ||
10133 test -n "$runpath_var" ||
10134 test "X$hardcode_automatic" = "Xyes" ; then
10136 # We can hardcode non-existent directories.
10137 if test "$hardcode_direct" != no
&&
10138 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10139 # have to relink, otherwise we might link with an installed library
10140 # when we should be linking with a yet-to-be-installed one
10141 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10142 test "$hardcode_minus_L" != no
; then
10143 # Linking always hardcodes the temporary library directory.
10144 hardcode_action
=relink
10146 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10147 hardcode_action
=immediate
10150 # We cannot hardcode anything, or else we can only hardcode existing
10152 hardcode_action
=unsupported
10154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10155 $as_echo "$hardcode_action" >&6; }
10157 if test "$hardcode_action" = relink
||
10158 test "$inherit_rpath" = yes; then
10159 # Fast installation is not supported
10160 enable_fast_install
=no
10161 elif test "$shlibpath_overrides_runpath" = yes ||
10162 test "$enable_shared" = no
; then
10163 # Fast installation is not necessary
10164 enable_fast_install
=needless
10172 if test "x$enable_dlopen" != xyes
; then
10173 enable_dlopen
=unknown
10174 enable_dlopen_self
=unknown
10175 enable_dlopen_self_static
=unknown
10182 lt_cv_dlopen
="load_add_on"
10184 lt_cv_dlopen_self
=yes
10187 mingw
* | pw32
* | cegcc
*)
10188 lt_cv_dlopen
="LoadLibrary"
10193 lt_cv_dlopen
="dlopen"
10198 # if libdl is installed we need to link against it
10199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10200 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10201 if ${ac_cv_lib_dl_dlopen+:} false
; then :
10202 $as_echo_n "(cached) " >&6
10204 ac_check_lib_save_LIBS
=$LIBS
10206 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10207 /* end confdefs.h. */
10209 /* Override any GCC internal prototype to avoid an error.
10210 Use char because int might match the return type of a GCC
10211 builtin and then its argument prototype would still apply. */
10224 if ac_fn_c_try_link
"$LINENO"; then :
10225 ac_cv_lib_dl_dlopen
=yes
10227 ac_cv_lib_dl_dlopen
=no
10229 rm -f core conftest.err conftest.
$ac_objext \
10230 conftest
$ac_exeext conftest.
$ac_ext
10231 LIBS
=$ac_check_lib_save_LIBS
10233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10234 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10235 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
10236 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10239 lt_cv_dlopen
="dyld"
10241 lt_cv_dlopen_self
=yes
10248 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
10249 if test "x$ac_cv_func_shl_load" = xyes
; then :
10250 lt_cv_dlopen
="shl_load"
10252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10253 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10254 if ${ac_cv_lib_dld_shl_load+:} false
; then :
10255 $as_echo_n "(cached) " >&6
10257 ac_check_lib_save_LIBS
=$LIBS
10259 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10260 /* end confdefs.h. */
10262 /* Override any GCC internal prototype to avoid an error.
10263 Use char because int might match the return type of a GCC
10264 builtin and then its argument prototype would still apply. */
10272 return shl_load ();
10277 if ac_fn_c_try_link
"$LINENO"; then :
10278 ac_cv_lib_dld_shl_load
=yes
10280 ac_cv_lib_dld_shl_load
=no
10282 rm -f core conftest.err conftest.
$ac_objext \
10283 conftest
$ac_exeext conftest.
$ac_ext
10284 LIBS
=$ac_check_lib_save_LIBS
10286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10287 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10288 if test "x$ac_cv_lib_dld_shl_load" = xyes
; then :
10289 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
10291 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
10292 if test "x$ac_cv_func_dlopen" = xyes
; then :
10293 lt_cv_dlopen
="dlopen"
10295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10296 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10297 if ${ac_cv_lib_dl_dlopen+:} false
; then :
10298 $as_echo_n "(cached) " >&6
10300 ac_check_lib_save_LIBS
=$LIBS
10302 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10303 /* end confdefs.h. */
10305 /* Override any GCC internal prototype to avoid an error.
10306 Use char because int might match the return type of a GCC
10307 builtin and then its argument prototype would still apply. */
10320 if ac_fn_c_try_link
"$LINENO"; then :
10321 ac_cv_lib_dl_dlopen
=yes
10323 ac_cv_lib_dl_dlopen
=no
10325 rm -f core conftest.err conftest.
$ac_objext \
10326 conftest
$ac_exeext conftest.
$ac_ext
10327 LIBS
=$ac_check_lib_save_LIBS
10329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10330 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10331 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
10332 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
10335 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
10336 if ${ac_cv_lib_svld_dlopen+:} false
; then :
10337 $as_echo_n "(cached) " >&6
10339 ac_check_lib_save_LIBS
=$LIBS
10340 LIBS
="-lsvld $LIBS"
10341 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10342 /* end confdefs.h. */
10344 /* Override any GCC internal prototype to avoid an error.
10345 Use char because int might match the return type of a GCC
10346 builtin and then its argument prototype would still apply. */
10359 if ac_fn_c_try_link
"$LINENO"; then :
10360 ac_cv_lib_svld_dlopen
=yes
10362 ac_cv_lib_svld_dlopen
=no
10364 rm -f core conftest.err conftest.
$ac_objext \
10365 conftest
$ac_exeext conftest.
$ac_ext
10366 LIBS
=$ac_check_lib_save_LIBS
10368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
10369 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
10370 if test "x$ac_cv_lib_svld_dlopen" = xyes
; then :
10371 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
10373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
10374 $as_echo_n "checking for dld_link in -ldld... " >&6; }
10375 if ${ac_cv_lib_dld_dld_link+:} false
; then :
10376 $as_echo_n "(cached) " >&6
10378 ac_check_lib_save_LIBS
=$LIBS
10380 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10381 /* end confdefs.h. */
10383 /* Override any GCC internal prototype to avoid an error.
10384 Use char because int might match the return type of a GCC
10385 builtin and then its argument prototype would still apply. */
10393 return dld_link ();
10398 if ac_fn_c_try_link
"$LINENO"; then :
10399 ac_cv_lib_dld_dld_link
=yes
10401 ac_cv_lib_dld_dld_link
=no
10403 rm -f core conftest.err conftest.
$ac_objext \
10404 conftest
$ac_exeext conftest.
$ac_ext
10405 LIBS
=$ac_check_lib_save_LIBS
10407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
10408 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
10409 if test "x$ac_cv_lib_dld_dld_link" = xyes
; then :
10410 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
10431 if test "x$lt_cv_dlopen" != xno
; then
10437 case $lt_cv_dlopen in
10439 save_CPPFLAGS
="$CPPFLAGS"
10440 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
10442 save_LDFLAGS
="$LDFLAGS"
10443 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
10446 LIBS
="$lt_cv_dlopen_libs $LIBS"
10448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
10449 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
10450 if ${lt_cv_dlopen_self+:} false
; then :
10451 $as_echo_n "(cached) " >&6
10453 if test "$cross_compiling" = yes; then :
10454 lt_cv_dlopen_self
=cross
10456 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
10457 lt_status
=$lt_dlunknown
10458 cat > conftest.
$ac_ext <<_LT_EOF
10459 #line $LINENO "configure"
10460 #include "confdefs.h"
10469 # define LT_DLGLOBAL RTLD_GLOBAL
10472 # define LT_DLGLOBAL DL_GLOBAL
10474 # define LT_DLGLOBAL 0
10478 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10479 find out it does not work in some platform. */
10480 #ifndef LT_DLLAZY_OR_NOW
10482 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10485 # define LT_DLLAZY_OR_NOW DL_LAZY
10488 # define LT_DLLAZY_OR_NOW RTLD_NOW
10491 # define LT_DLLAZY_OR_NOW DL_NOW
10493 # define LT_DLLAZY_OR_NOW 0
10500 /* When -fvisbility=hidden is used, assume the code has been annotated
10501 correspondingly for the symbols needed. */
10502 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
10503 int fnord () __attribute__((visibility("default")));
10506 int fnord () { return 42; }
10509 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10510 int status = $lt_dlunknown;
10514 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10517 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10518 else puts (dlerror ());
10520 /* dlclose (self); */
10528 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10529 (eval $ac_link) 2>&5
10531 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10532 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
10533 (.
/conftest
; exit; ) >&5 2>/dev
/null
10535 case x
$lt_status in
10536 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
10537 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
10538 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
10541 # compilation failed
10542 lt_cv_dlopen_self
=no
10549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
10550 $as_echo "$lt_cv_dlopen_self" >&6; }
10552 if test "x$lt_cv_dlopen_self" = xyes
; then
10553 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
10554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
10555 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
10556 if ${lt_cv_dlopen_self_static+:} false
; then :
10557 $as_echo_n "(cached) " >&6
10559 if test "$cross_compiling" = yes; then :
10560 lt_cv_dlopen_self_static
=cross
10562 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
10563 lt_status
=$lt_dlunknown
10564 cat > conftest.
$ac_ext <<_LT_EOF
10565 #line $LINENO "configure"
10566 #include "confdefs.h"
10575 # define LT_DLGLOBAL RTLD_GLOBAL
10578 # define LT_DLGLOBAL DL_GLOBAL
10580 # define LT_DLGLOBAL 0
10584 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10585 find out it does not work in some platform. */
10586 #ifndef LT_DLLAZY_OR_NOW
10588 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10591 # define LT_DLLAZY_OR_NOW DL_LAZY
10594 # define LT_DLLAZY_OR_NOW RTLD_NOW
10597 # define LT_DLLAZY_OR_NOW DL_NOW
10599 # define LT_DLLAZY_OR_NOW 0
10606 /* When -fvisbility=hidden is used, assume the code has been annotated
10607 correspondingly for the symbols needed. */
10608 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
10609 int fnord () __attribute__((visibility("default")));
10612 int fnord () { return 42; }
10615 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10616 int status = $lt_dlunknown;
10620 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10623 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10624 else puts (dlerror ());
10626 /* dlclose (self); */
10634 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10635 (eval $ac_link) 2>&5
10637 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10638 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
10639 (.
/conftest
; exit; ) >&5 2>/dev
/null
10641 case x
$lt_status in
10642 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
10643 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
10644 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
10647 # compilation failed
10648 lt_cv_dlopen_self_static
=no
10655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
10656 $as_echo "$lt_cv_dlopen_self_static" >&6; }
10659 CPPFLAGS
="$save_CPPFLAGS"
10660 LDFLAGS
="$save_LDFLAGS"
10665 case $lt_cv_dlopen_self in
10666 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
10667 *) enable_dlopen_self
=unknown
;;
10670 case $lt_cv_dlopen_self_static in
10671 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
10672 *) enable_dlopen_self_static
=unknown
;;
10694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
10695 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
10696 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev
/null
; then
10697 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
10698 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
10699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10700 $as_echo "yes" >&6; }
10702 # FIXME - insert some real tests, host_os isn't really good enough
10705 if test -n "$STRIP" ; then
10706 striplib
="$STRIP -x"
10707 old_striplib
="$STRIP -S"
10708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10709 $as_echo "yes" >&6; }
10711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10712 $as_echo "no" >&6; }
10716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10717 $as_echo "no" >&6; }
10733 # Report which library types will actually be built
10734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
10735 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
10736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
10737 $as_echo "$can_build_shared" >&6; }
10739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
10740 $as_echo_n "checking whether to build shared libraries... " >&6; }
10741 test "$can_build_shared" = "no" && enable_shared
=no
10743 # On AIX, shared libraries and static libraries use the same namespace, and
10744 # are all built from PIC.
10747 test "$enable_shared" = yes && enable_static
=no
10748 if test -n "$RANLIB"; then
10749 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
10750 postinstall_cmds
='$RANLIB $lib'
10755 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
10756 test "$enable_shared" = yes && enable_static
=no
10760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
10761 $as_echo "$enable_shared" >&6; }
10763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
10764 $as_echo_n "checking whether to build static libraries... " >&6; }
10765 # Make sure either enable_shared or enable_static is yes.
10766 test "$enable_shared" = yes || enable_static
=yes
10767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
10768 $as_echo "$enable_static" >&6; }
10775 ac_cpp
='$CPP $CPPFLAGS'
10776 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10777 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10778 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10794 ac_config_commands
="$ac_config_commands libtool"
10799 # Only expand once:
10809 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
10810 if test -n "$ac_tool_prefix"; then
10811 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
10812 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
10813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10814 $as_echo_n "checking for $ac_word... " >&6; }
10815 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
10816 $as_echo_n "(cached) " >&6
10818 case $PKG_CONFIG in
10820 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
10823 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10824 for as_dir
in $PATH
10827 test -z "$as_dir" && as_dir
=.
10828 for ac_exec_ext
in '' $ac_executable_extensions; do
10829 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10830 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
10831 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10841 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
10842 if test -n "$PKG_CONFIG"; then
10843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
10844 $as_echo "$PKG_CONFIG" >&6; }
10846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10847 $as_echo "no" >&6; }
10852 if test -z "$ac_cv_path_PKG_CONFIG"; then
10853 ac_pt_PKG_CONFIG
=$PKG_CONFIG
10854 # Extract the first word of "pkg-config", so it can be a program name with args.
10855 set dummy pkg
-config; ac_word
=$2
10856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10857 $as_echo_n "checking for $ac_word... " >&6; }
10858 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
10859 $as_echo_n "(cached) " >&6
10861 case $ac_pt_PKG_CONFIG in
10863 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
10866 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10867 for as_dir
in $PATH
10870 test -z "$as_dir" && as_dir
=.
10871 for ac_exec_ext
in '' $ac_executable_extensions; do
10872 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10873 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
10874 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10884 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
10885 if test -n "$ac_pt_PKG_CONFIG"; then
10886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
10887 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
10889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10890 $as_echo "no" >&6; }
10893 if test "x$ac_pt_PKG_CONFIG" = x
; then
10896 case $cross_compiling:$ac_tool_warned in
10898 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10899 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10900 ac_tool_warned
=yes ;;
10902 PKG_CONFIG
=$ac_pt_PKG_CONFIG
10905 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
10909 if test -n "$PKG_CONFIG"; then
10910 _pkg_min_version
=0.22
10911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
10912 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
10913 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
10914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10915 $as_echo "yes" >&6; }
10917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10918 $as_echo "no" >&6; }
10922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU make" >&5
10923 $as_echo_n "checking for GNU make... " >&6; }
10924 if ${_cv_gnu_make_command+:} false
; then :
10925 $as_echo_n "(cached) " >&6
10927 _cv_gnu_make_command
='' ;
10928 for a
in "$MAKE" make gmake gnumake
; do
10929 if test -z "$a" ; then continue ; fi ;
10930 if ( sh
-c "$a --version" 2> /dev
/null
| grep GNU
2>&1 > /dev
/null
) ; then
10931 _cv_gnu_make_command
=$a ;
10937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_cv_gnu_make_command" >&5
10938 $as_echo "$_cv_gnu_make_command" >&6; } ;
10939 if test "x$_cv_gnu_make_command" != "x" ; then
10943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"Not found\"" >&5
10944 $as_echo "\"Not found\"" >&6; };
10948 GMAKE
=$_cv_gnu_make_command
10951 if test "x$GMAKE" = x
; then :
10952 as_fn_error $?
"You need GNU make" "$LINENO" 5
10954 for ac_prog
in bash
10956 # Extract the first word of "$ac_prog", so it can be a program name with args.
10957 set dummy
$ac_prog; ac_word
=$2
10958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10959 $as_echo_n "checking for $ac_word... " >&6; }
10960 if ${ac_cv_path__BASH+:} false
; then :
10961 $as_echo_n "(cached) " >&6
10965 ac_cv_path__BASH
="$_BASH" # Let the user override the test with a path.
10968 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10969 for as_dir
in $PATH
10972 test -z "$as_dir" && as_dir
=.
10973 for ac_exec_ext
in '' $ac_executable_extensions; do
10974 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10975 ac_cv_path__BASH
="$as_dir/$ac_word$ac_exec_ext"
10976 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10986 _BASH
=$ac_cv_path__BASH
10987 if test -n "$_BASH"; then
10988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_BASH" >&5
10989 $as_echo "$_BASH" >&6; }
10991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10992 $as_echo "no" >&6; }
10996 test -n "$_BASH" && break
10999 if test "x$_BASH" = x
; then :
11000 as_fn_error $?
"You need GNU bash" "$LINENO" 5
11002 for ac_prog
in time
11004 # Extract the first word of "$ac_prog", so it can be a program name with args.
11005 set dummy
$ac_prog; ac_word
=$2
11006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11007 $as_echo_n "checking for $ac_word... " >&6; }
11008 if ${ac_cv_path_TIME+:} false
; then :
11009 $as_echo_n "(cached) " >&6
11013 ac_cv_path_TIME
="$TIME" # Let the user override the test with a path.
11016 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11017 for as_dir
in $PATH
11020 test -z "$as_dir" && as_dir
=.
11021 for ac_exec_ext
in '' $ac_executable_extensions; do
11022 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11023 ac_cv_path_TIME
="$as_dir/$ac_word$ac_exec_ext"
11024 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11034 TIME
=$ac_cv_path_TIME
11035 if test -n "$TIME"; then
11036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TIME" >&5
11037 $as_echo "$TIME" >&6; }
11039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11040 $as_echo "no" >&6; }
11044 test -n "$TIME" && break
11050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bison >= 2.3" >&5
11051 $as_echo_n "checking for bison >= 2.3... " >&6; }
11052 if test -z "$BISON"; then
11053 ac_path_BISON_found
=false
11054 # Loop through the user's path and test for each of PROGNAME-LIST
11055 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11056 for as_dir
in $PATH
11059 test -z "$as_dir" && as_dir
=.
11060 for ac_prog
in bison
; do
11061 for ac_exec_ext
in '' $ac_executable_extensions; do
11062 ac_path_BISON
="$as_dir/$ac_prog$ac_exec_ext"
11063 { test -f "$ac_path_BISON" && $as_test_x "$ac_path_BISON"; } || continue
11064 as_awk_strverscmp
='
11065 # Use only awk features that work with 7th edition Unix awk (1978).
11066 # My, what an old awk you have, Mr. Solaris!
11068 while (length(v1) && length(v2)) {
11069 # Set d1 to be the next thing to compare from v1, and likewise for d2.
11070 # Normally this is a single character, but if v1 and v2 contain digits,
11071 # compare them as integers and fractions as strverscmp does.
11072 if (v1 ~ /^0-9/ && v2 ~ /^0-9/) {
11073 # Split v1 and v2 into their leading digit string components d1 and d2,
11074 # and advance v1 and v2 past the leading digit strings.
11075 for (len1 = 1; substr(v1, len1 + 1) ~ /^0-9/; len1++) continue
11076 for (len2 = 1; substr(v2, len2 + 1) ~ /^0-9/; len2++) continue
11077 d1 = substr(v1, 1, len1); v1 = substr(v1, len1 + 1)
11078 d2 = substr(v2, 1, len2); v2 = substr(v2, len2 + 1)
11081 # Compare two fractions.
11082 while (d1 ~ /^0/ && d2 ~ /^0/) {
11083 d1 = substr(d1, 2); len1--
11084 d2 = substr(d2, 2); len2--
11086 if (len1 != len2 && ! (len1 && len2 && substr(d1, 1, 1) == substr(d2, 1, 1))) {
11087 # The two components differ in length, and the common prefix
11088 # contains only leading zeros. Consider the longer to be less.
11092 # Otherwise, compare as strings.
11097 # A fraction is less than an integer.
11102 # An integer is greater than a fraction.
11105 # Compare two integers.
11111 # The normal case, without worrying about digits.
11112 d1 = substr(v1, 1, 1); v1 = substr(v1, 2)
11113 d2 = substr(v2, 1, 1); v2 = substr(v2, 2)
11115 if (d1 < d2) exit 1
11116 if (d1 > d2) exit 2
11118 # Beware Solaris /usr/xgp4/bin/awk (at least through Solaris 10),
11119 # which mishandles some comparisons of empty strings to integers.
11120 if (length(v2)) exit 1
11121 if (length(v1)) exit 2
11124 as_arg_v1
=`$ac_path_BISON -V | $SED -e '1 s/^bison (GNU Bison) \(.*\)$/\1/p;d'`
11126 awk "$as_awk_strverscmp" v1
="$as_arg_v1" v2
="$as_arg_v2" /dev
/null
11131 ac_cv_path_BISON
=$ac_path_BISON
11134 ac_cv_path_BISON
=$ac_path_BISON
11140 $ac_path_BISON_found && break 3
11145 if test -z "$ac_cv_path_BISON"; then
11146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11147 $as_echo "no" >&6; }
11148 as_fn_error $?
"You need bison 2.3 or greater" "$LINENO" 5
11152 ac_cv_path_BISON
=$BISON
11155 BISON
=$ac_cv_path_BISON
11157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
11158 $as_echo "$BISON" >&6; }
11162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for flex >= 2.5.33" >&5
11163 $as_echo_n "checking for flex >= 2.5.33... " >&6; }
11164 if test -z "$FLEX"; then
11165 ac_path_FLEX_found
=false
11166 # Loop through the user's path and test for each of PROGNAME-LIST
11167 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11168 for as_dir
in $PATH
11171 test -z "$as_dir" && as_dir
=.
11172 for ac_prog
in flex
; do
11173 for ac_exec_ext
in '' $ac_executable_extensions; do
11174 ac_path_FLEX
="$as_dir/$ac_prog$ac_exec_ext"
11175 { test -f "$ac_path_FLEX" && $as_test_x "$ac_path_FLEX"; } || continue
11176 as_arg_v1
=`$ac_path_FLEX --version | $SED -e '1 s/^[^0-9.]* \([0-9.]*\).*$/\1/p;d'`
11178 awk "$as_awk_strverscmp" v1
="$as_arg_v1" v2
="$as_arg_v2" /dev
/null
11183 ac_cv_path_FLEX
=$ac_path_FLEX
11186 ac_cv_path_FLEX
=$ac_path_FLEX
11192 $ac_path_FLEX_found && break 3
11197 if test -z "$ac_cv_path_FLEX"; then
11198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11199 $as_echo "no" >&6; }
11200 as_fn_error $?
"You need flex 2.5.33 or greater" "$LINENO" 5
11204 ac_cv_path_FLEX
=$FLEX
11207 FLEX
=$ac_cv_path_FLEX
11209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
11210 $as_echo "$FLEX" >&6; }
11214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gperf >= 3.0.3" >&5
11215 $as_echo_n "checking for gperf >= 3.0.3... " >&6; }
11216 if test -z "$GPERF"; then
11217 ac_path_GPERF_found
=false
11218 # Loop through the user's path and test for each of PROGNAME-LIST
11219 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11220 for as_dir
in $PATH
11223 test -z "$as_dir" && as_dir
=.
11224 for ac_prog
in gperf
; do
11225 for ac_exec_ext
in '' $ac_executable_extensions; do
11226 ac_path_GPERF
="$as_dir/$ac_prog$ac_exec_ext"
11227 { test -f "$ac_path_GPERF" && $as_test_x "$ac_path_GPERF"; } || continue
11228 as_arg_v1
=`$ac_path_GPERF --version | $SED -e '1 s/^.* \([0-9.]*\)$/\1/p;d'`
11230 awk "$as_awk_strverscmp" v1
="$as_arg_v1" v2
="$as_arg_v2" /dev
/null
11235 ac_cv_path_GPERF
=$ac_path_GPERF
11238 ac_cv_path_GPERF
=$ac_path_GPERF
11244 $ac_path_GPERF_found && break 3
11249 if test -z "$ac_cv_path_GPERF"; then
11250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11251 $as_echo "no" >&6; }
11252 as_fn_error $?
"You need gperf 3.0.3 or greater" "$LINENO" 5
11256 ac_cv_path_GPERF
=$GPERF
11259 GPERF
=$ac_cv_path_GPERF
11261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GPERF" >&5
11262 $as_echo "$GPERF" >&6; }
11264 # Find a good install program. We prefer a C program (faster),
11265 # so one script is as good as another. But avoid the broken or
11266 # incompatible versions:
11267 # SysV /etc/install, /usr/sbin/install
11268 # SunOS /usr/etc/install
11269 # IRIX /sbin/install
11271 # AmigaOS /C/install, which installs bootblocks on floppy discs
11272 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
11273 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
11274 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
11275 # OS/2's system install, which has a completely different semantic
11276 # ./install, which can be erroneously created by make from ./install.sh.
11277 # Reject install programs that cannot install multiple files.
11278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
11279 $as_echo_n "checking for a BSD-compatible install... " >&6; }
11280 if test -z "$INSTALL"; then
11281 if ${ac_cv_path_install+:} false
; then :
11282 $as_echo_n "(cached) " >&6
11284 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11285 for as_dir
in $PATH
11288 test -z "$as_dir" && as_dir
=.
11289 # Account for people who put trailing slashes in PATH elements.
11290 case $as_dir/ in #((
11291 .
/ | .
// | /[cC
]/* | \
11292 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
11293 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
11296 # OSF1 and SCO ODT 3.0 have their own names for install.
11297 # Don't use installbsd from OSF since it installs stuff as root
11299 for ac_prog
in ginstall scoinst
install; do
11300 for ac_exec_ext
in '' $ac_executable_extensions; do
11301 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
11302 if test $ac_prog = install &&
11303 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
11304 # AIX install. It has an incompatible calling convention.
11306 elif test $ac_prog = install &&
11307 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
11308 # program-specific install script used by HP pwplus--don't use.
11311 rm -rf conftest.one conftest.two conftest.dir
11312 echo one
> conftest.one
11313 echo two
> conftest.two
11315 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
11316 test -s conftest.one
&& test -s conftest.two
&&
11317 test -s conftest.dir
/conftest.one
&&
11318 test -s conftest.dir
/conftest.two
11320 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
11333 rm -rf conftest.one conftest.two conftest.dir
11336 if test "${ac_cv_path_install+set}" = set; then
11337 INSTALL
=$ac_cv_path_install
11339 # As a last resort, use the slow shell script. Don't cache a
11340 # value for INSTALL within a source directory, because that will
11341 # break other packages using the cache if that directory is
11342 # removed, or if the value is a relative name.
11343 INSTALL
=$ac_install_sh
11346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
11347 $as_echo "$INSTALL" >&6; }
11349 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
11350 # It thinks the first close brace ends the variable substitution.
11351 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
11353 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
11355 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
11357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU tar >=1.19" >&5
11358 $as_echo_n "checking for GNU tar >=1.19... " >&6; }
11359 if test -z "$GNUTAR"; then
11360 ac_path_GNUTAR_found
=false
11361 # Loop through the user's path and test for each of PROGNAME-LIST
11362 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11363 for as_dir
in $PATH
11366 test -z "$as_dir" && as_dir
=.
11367 for ac_prog
in tar gtar gnutar
; do
11368 for ac_exec_ext
in '' $ac_executable_extensions; do
11369 ac_path_GNUTAR
="$as_dir/$ac_prog$ac_exec_ext"
11370 { test -f "$ac_path_GNUTAR" && $as_test_x "$ac_path_GNUTAR"; } || continue
11372 if test "x`$ac_path_GNUTAR --version | $SED -e '1 s/^tar (GNU tar)/&/p;d'`" != x
; then :
11374 as_arg_v1
=`$ac_path_GNUTAR --version | $SED -e '1 s/^tar (GNU tar) \(.*\)$/\1/p;d'`
11376 awk "$as_awk_strverscmp" v1
="$as_arg_v1" v2
="$as_arg_v2" /dev
/null
11382 ac_cv_path_GNUTAR
=$ac_path_GNUTAR
11386 ac_cv_path_GNUTAR
=$ac_path_GNUTAR
11394 $ac_path_GNUTAR_found && break 3
11399 if test -z "$ac_cv_path_GNUTAR"; then
11403 ac_cv_path_GNUTAR
=$GNUTAR
11406 if test "x$ac_cv_path_GNUTAR" != x
; then :
11408 GNUTAR
=$ac_cv_path_GNUTAR
11410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNUTAR" >&5
11411 $as_echo "$GNUTAR" >&6; }
11417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11418 $as_echo "no" >&6; }
11423 # Extract the first word of "$ac_prog", so it can be a program name with args.
11424 set dummy
$ac_prog; ac_word
=$2
11425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11426 $as_echo_n "checking for $ac_word... " >&6; }
11427 if ${ac_cv_prog_GIT+:} false
; then :
11428 $as_echo_n "(cached) " >&6
11430 if test -n "$GIT"; then
11431 ac_cv_prog_GIT
="$GIT" # Let the user override the test.
11433 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11434 for as_dir
in $PATH
11437 test -z "$as_dir" && as_dir
=.
11438 for ac_exec_ext
in '' $ac_executable_extensions; do
11439 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11440 ac_cv_prog_GIT
="$ac_prog"
11441 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11450 GIT
=$ac_cv_prog_GIT
11451 if test -n "$GIT"; then
11452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GIT" >&5
11453 $as_echo "$GIT" >&6; }
11455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11456 $as_echo "no" >&6; }
11460 test -n "$GIT" && break
11464 ac_cpp
='$CXXCPP $CPPFLAGS'
11465 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11466 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11467 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11468 if test -z "$CXX"; then
11469 if test -n "$CCC"; then
11472 if test -n "$ac_tool_prefix"; then
11473 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
11475 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11476 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
11477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11478 $as_echo_n "checking for $ac_word... " >&6; }
11479 if ${ac_cv_prog_CXX+:} false
; then :
11480 $as_echo_n "(cached) " >&6
11482 if test -n "$CXX"; then
11483 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
11485 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11486 for as_dir
in $PATH
11489 test -z "$as_dir" && as_dir
=.
11490 for ac_exec_ext
in '' $ac_executable_extensions; do
11491 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11492 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
11493 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11502 CXX
=$ac_cv_prog_CXX
11503 if test -n "$CXX"; then
11504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
11505 $as_echo "$CXX" >&6; }
11507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11508 $as_echo "no" >&6; }
11512 test -n "$CXX" && break
11515 if test -z "$CXX"; then
11517 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
11519 # Extract the first word of "$ac_prog", so it can be a program name with args.
11520 set dummy
$ac_prog; ac_word
=$2
11521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11522 $as_echo_n "checking for $ac_word... " >&6; }
11523 if ${ac_cv_prog_ac_ct_CXX+:} false
; then :
11524 $as_echo_n "(cached) " >&6
11526 if test -n "$ac_ct_CXX"; then
11527 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
11529 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11530 for as_dir
in $PATH
11533 test -z "$as_dir" && as_dir
=.
11534 for ac_exec_ext
in '' $ac_executable_extensions; do
11535 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11536 ac_cv_prog_ac_ct_CXX
="$ac_prog"
11537 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11546 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
11547 if test -n "$ac_ct_CXX"; then
11548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
11549 $as_echo "$ac_ct_CXX" >&6; }
11551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11552 $as_echo "no" >&6; }
11556 test -n "$ac_ct_CXX" && break
11559 if test "x$ac_ct_CXX" = x
; then
11562 case $cross_compiling:$ac_tool_warned in
11564 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11565 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11566 ac_tool_warned
=yes ;;
11574 # Provide some information about the compiler.
11575 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
11578 for ac_option
in --version -v -V -qversion; do
11579 { { ac_try
="$ac_compiler $ac_option >&5"
11580 case "(($ac_try" in
11581 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
11582 *) ac_try_echo=$ac_try;;
11584 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11585 $as_echo "$ac_try_echo"; } >&5
11586 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
11588 if test -s conftest.err; then
11590 ... rest of stderr output deleted ...
11591 10q' conftest.err >conftest.er1
11592 cat conftest.er1 >&5
11594 rm -f conftest.er1 conftest.err
11595 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11596 test $ac_status = 0; }
11599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
11600 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
11601 if ${ac_cv_cxx_compiler_gnu+:} false; then :
11602 $as_echo_n "(cached) " >&6
11604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11605 /* end confdefs.h. */
11618 if ac_fn_cxx_try_compile "$LINENO"; then :
11619 ac_compiler_gnu=yes
11623 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11624 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
11627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
11628 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
11629 if test $ac_compiler_gnu = yes; then
11634 ac_test_CXXFLAGS=${CXXFLAGS+set}
11635 ac_save_CXXFLAGS=$CXXFLAGS
11636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
11637 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
11638 if ${ac_cv_prog_cxx_g+:} false; then :
11639 $as_echo_n "(cached) " >&6
11641 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
11642 ac_cxx_werror_flag=yes
11643 ac_cv_prog_cxx_g=no
11645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11646 /* end confdefs.h. */
11656 if ac_fn_cxx_try_compile "$LINENO"; then :
11657 ac_cv_prog_cxx_g=yes
11660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11661 /* end confdefs.h. */
11671 if ac_fn_cxx_try_compile "$LINENO"; then :
11674 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
11676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11677 /* end confdefs.h. */
11687 if ac_fn_cxx_try_compile "$LINENO"; then :
11688 ac_cv_prog_cxx_g=yes
11690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11695 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
11697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
11698 $as_echo "$ac_cv_prog_cxx_g" >&6; }
11699 if test "$ac_test_CXXFLAGS" = set; then
11700 CXXFLAGS=$ac_save_CXXFLAGS
11701 elif test $ac_cv_prog_cxx_g = yes; then
11702 if test "$GXX" = yes; then
11708 if test "$GXX" = yes; then
11715 ac_cpp='$CPP $CPPFLAGS'
11716 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11717 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11718 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11722 func_stripname_cnf ()
11725 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
11726 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
11728 } # func_stripname_cnf
11730 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
11731 ( (test "X$CXX" = "Xg++" && `g
++ -v >/dev
/null
2>&1` ) ||
11732 (test "X$CXX" != "Xg++"))) ; then
11734 ac_cpp='$CXXCPP $CPPFLAGS'
11735 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11736 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11737 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
11739 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
11740 if test -z "$CXXCPP"; then
11741 if ${ac_cv_prog_CXXCPP+:} false; then :
11742 $as_echo_n "(cached) " >&6
11744 # Double quotes because CXXCPP needs to be expanded
11745 for CXXCPP in "$CXX -E" "/lib/cpp"
11747 ac_preproc_ok=false
11748 for ac_cxx_preproc_warn_flag in '' yes
11750 # Use a header file that comes with gcc, so configuring glibc
11751 # with a fresh cross-compiler works.
11752 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11753 # <limits.h> exists even on freestanding compilers.
11754 # On the NeXT, cc -E runs the code through the compiler's parser,
11755 # not just through cpp. "Syntax error" is here to catch this case.
11756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11757 /* end confdefs.h. */
11759 # include <limits.h>
11761 # include <assert.h>
11765 if ac_fn_cxx_try_cpp "$LINENO"; then :
11768 # Broken: fails on valid input.
11771 rm -f conftest.err conftest.i conftest.$ac_ext
11773 # OK, works on sane cases. Now check whether nonexistent headers
11774 # can be detected and how.
11775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11776 /* end confdefs.h. */
11777 #include <ac_nonexistent.h>
11779 if ac_fn_cxx_try_cpp "$LINENO"; then :
11780 # Broken: success on invalid input.
11783 # Passes both tests.
11787 rm -f conftest.err conftest.i conftest.$ac_ext
11790 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11791 rm -f conftest.i conftest.err conftest.
$ac_ext
11792 if $ac_preproc_ok; then :
11797 ac_cv_prog_CXXCPP
=$CXXCPP
11800 CXXCPP
=$ac_cv_prog_CXXCPP
11802 ac_cv_prog_CXXCPP
=$CXXCPP
11804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
11805 $as_echo "$CXXCPP" >&6; }
11806 ac_preproc_ok
=false
11807 for ac_cxx_preproc_warn_flag
in '' yes
11809 # Use a header file that comes with gcc, so configuring glibc
11810 # with a fresh cross-compiler works.
11811 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11812 # <limits.h> exists even on freestanding compilers.
11813 # On the NeXT, cc -E runs the code through the compiler's parser,
11814 # not just through cpp. "Syntax error" is here to catch this case.
11815 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11816 /* end confdefs.h. */
11818 # include <limits.h>
11820 # include <assert.h>
11824 if ac_fn_cxx_try_cpp
"$LINENO"; then :
11827 # Broken: fails on valid input.
11830 rm -f conftest.err conftest.i conftest.
$ac_ext
11832 # OK, works on sane cases. Now check whether nonexistent headers
11833 # can be detected and how.
11834 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11835 /* end confdefs.h. */
11836 #include <ac_nonexistent.h>
11838 if ac_fn_cxx_try_cpp
"$LINENO"; then :
11839 # Broken: success on invalid input.
11842 # Passes both tests.
11846 rm -f conftest.err conftest.i conftest.
$ac_ext
11849 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11850 rm -f conftest.i conftest.err conftest.
$ac_ext
11851 if $ac_preproc_ok; then :
11854 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11855 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11856 as_fn_error $?
"C++ preprocessor \"$CXXCPP\" fails sanity check
11857 See \`config.log' for more details" "$LINENO" 5; }
11861 ac_cpp
='$CPP $CPPFLAGS'
11862 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11863 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11864 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11867 _lt_caught_CXX_error
=yes
11871 ac_cpp
='$CXXCPP $CPPFLAGS'
11872 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11873 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11874 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11876 archive_cmds_need_lc_CXX
=no
11877 allow_undefined_flag_CXX
=
11878 always_export_symbols_CXX
=no
11879 archive_expsym_cmds_CXX
=
11880 compiler_needs_object_CXX
=no
11881 export_dynamic_flag_spec_CXX
=
11882 hardcode_direct_CXX
=no
11883 hardcode_direct_absolute_CXX
=no
11884 hardcode_libdir_flag_spec_CXX
=
11885 hardcode_libdir_flag_spec_ld_CXX
=
11886 hardcode_libdir_separator_CXX
=
11887 hardcode_minus_L_CXX
=no
11888 hardcode_shlibpath_var_CXX
=unsupported
11889 hardcode_automatic_CXX
=no
11890 inherit_rpath_CXX
=no
11892 module_expsym_cmds_CXX
=
11893 link_all_deplibs_CXX
=unknown
11894 old_archive_cmds_CXX
=$old_archive_cmds
11895 reload_flag_CXX
=$reload_flag
11896 reload_cmds_CXX
=$reload_cmds
11897 no_undefined_flag_CXX
=
11898 whole_archive_flag_spec_CXX
=
11899 enable_shared_with_static_runtimes_CXX
=no
11901 # Source file extension for C++ test sources.
11904 # Object file extension for compiled C++ test sources.
11908 # No sense in running all these tests if we already determined that
11909 # the CXX compiler isn't working. Some variables (like enable_shared)
11910 # are currently assumed to apply to all compilers on this platform,
11911 # and will be corrupted by setting them based on a non-working compiler.
11912 if test "$_lt_caught_CXX_error" != yes; then
11913 # Code to be used in simple compile tests
11914 lt_simple_compile_test_code
="int some_variable = 0;"
11916 # Code to be used in simple link tests
11917 lt_simple_link_test_code
='int main(int, char *[]) { return(0); }'
11919 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
11926 # If no C compiler was specified, use CC.
11929 # If no C compiler flags were specified, use CFLAGS.
11930 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
11932 # Allow CC to be a program name with arguments.
11936 # save warnings/boilerplate of simple test code
11937 ac_outfile
=conftest.
$ac_objext
11938 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
11939 eval "$ac_compile" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
11940 _lt_compiler_boilerplate
=`cat conftest.err`
11943 ac_outfile
=conftest.
$ac_objext
11944 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
11945 eval "$ac_link" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
11946 _lt_linker_boilerplate
=`cat conftest.err`
11950 # Allow CC to be a program name with arguments.
11952 lt_save_CFLAGS
=$CFLAGS
11956 lt_save_with_gnu_ld
=$with_gnu_ld
11957 lt_save_path_LD
=$lt_cv_path_LD
11958 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
11959 lt_cv_prog_gnu_ld
=$lt_cv_prog_gnu_ldcxx
11961 $as_unset lt_cv_prog_gnu_ld
11963 if test -n "${lt_cv_path_LDCXX+set}"; then
11964 lt_cv_path_LD
=$lt_cv_path_LDCXX
11966 $as_unset lt_cv_path_LD
11968 test -z "${LDCXX+set}" || LD
=$LDCXX
11973 for cc_temp
in $compiler""; do
11975 compile
| *[\\/]compile
| ccache
| *[\\/]ccache
) ;;
11976 distcc
| *[\\/]distcc
| purify
| *[\\/]purify
) ;;
11981 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
11984 if test -n "$compiler"; then
11985 # We don't want -fno-exception when compiling C++ code, so set the
11986 # no_builtin_flag separately
11987 if test "$GXX" = yes; then
11988 lt_prog_compiler_no_builtin_flag_CXX
=' -fno-builtin'
11990 lt_prog_compiler_no_builtin_flag_CXX
=
11993 if test "$GXX" = yes; then
11994 # Set up default GNU C++ configuration
11998 # Check whether --with-gnu-ld was given.
11999 if test "${with_gnu_ld+set}" = set; then :
12000 withval
=$with_gnu_ld; test "$withval" = no
|| with_gnu_ld
=yes
12006 if test "$GCC" = yes; then
12007 # Check if gcc -print-prog-name=ld gives a path.
12008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12009 $as_echo_n "checking for ld used by $CC... " >&6; }
12012 # gcc leaves a trailing carriage return which upsets mingw
12013 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12015 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
12018 # Accept absolute paths.
12020 re_direlt
='/[^/][^/]*/\.\./'
12021 # Canonicalize the pathname of ld
12022 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12023 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev
/null
2>&1; do
12024 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12026 test -z "$LD" && LD
="$ac_prog"
12029 # If it fails, then pretend we aren't using GCC.
12033 # If it is relative, then search for the first ld in PATH.
12034 with_gnu_ld
=unknown
12037 elif test "$with_gnu_ld" = yes; then
12038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12039 $as_echo_n "checking for GNU ld... " >&6; }
12041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12042 $as_echo_n "checking for non-GNU ld... " >&6; }
12044 if ${lt_cv_path_LD+:} false
; then :
12045 $as_echo_n "(cached) " >&6
12047 if test -z "$LD"; then
12048 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
12049 for ac_dir
in $PATH; do
12051 test -z "$ac_dir" && ac_dir
=.
12052 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12053 lt_cv_path_LD
="$ac_dir/$ac_prog"
12054 # Check to see if the program is GNU ld. I'd rather use --version,
12055 # but apparently some variants of GNU ld only accept -v.
12056 # Break only if it was the GNU/non-GNU ld that we prefer.
12057 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12058 *GNU
* | *'with BFD'*)
12059 test "$with_gnu_ld" != no
&& break
12062 test "$with_gnu_ld" != yes && break
12069 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
12073 LD
="$lt_cv_path_LD"
12074 if test -n "$LD"; then
12075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12076 $as_echo "$LD" >&6; }
12078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12079 $as_echo "no" >&6; }
12081 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
12082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12083 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12084 if ${lt_cv_prog_gnu_ld+:} false
; then :
12085 $as_echo_n "(cached) " >&6
12087 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12088 case `$LD -v 2>&1 </dev/null` in
12089 *GNU
* | *'with BFD'*)
12090 lt_cv_prog_gnu_ld
=yes
12093 lt_cv_prog_gnu_ld
=no
12097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12098 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12099 with_gnu_ld
=$lt_cv_prog_gnu_ld
12107 # Check if GNU C++ uses GNU ld as the underlying linker, since the
12108 # archiving commands below assume that GNU ld is being used.
12109 if test "$with_gnu_ld" = yes; then
12110 archive_cmds_CXX
='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12111 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'
12113 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12114 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12116 # If archive_cmds runs LD, not CC, wlarc should be empty
12117 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12118 # investigate it a little bit more. (MM)
12121 # ancient GNU ld didn't support --whole-archive et. al.
12122 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12123 $GREP 'no-whole-archive' > /dev
/null
; then
12124 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12126 whole_archive_flag_spec_CXX
=
12132 # A generic and very simple default shared library creation
12133 # command for GNU C++ for the case where it uses the native
12134 # linker, instead of GNU ld. If possible, this setting should
12135 # overridden to take advantage of the native linker features on
12136 # the platform it is being used on.
12137 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12140 # Commands to make compiler produce verbose output that lists
12141 # what "hidden" libraries, object files and flags are used when
12142 # linking a shared library.
12143 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12151 # PORTME: fill in a description of your system's C++ link characteristics
12152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12153 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12157 # FIXME: insert proper C++ library support
12161 if test "$host_cpu" = ia64
; then
12162 # On IA64, the linker does run time linking by default, so we don't
12163 # have to do anything special.
12164 aix_use_runtimelinking
=no
12165 exp_sym_flag
='-Bexport'
12168 aix_use_runtimelinking
=no
12170 # Test if we are trying to use run time linking or normal
12171 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12172 # need to do runtime linking.
12173 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
12174 for ld_flag
in $LDFLAGS; do
12177 aix_use_runtimelinking
=yes
12185 exp_sym_flag
='-bexport'
12186 no_entry_flag
='-bnoentry'
12189 # When large executables or shared objects are built, AIX ld can
12190 # have problems creating the table of contents. If linking a library
12191 # or program results in "error TOC overflow" add -mminimal-toc to
12192 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12193 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12195 archive_cmds_CXX
=''
12196 hardcode_direct_CXX
=yes
12197 hardcode_direct_absolute_CXX
=yes
12198 hardcode_libdir_separator_CXX
=':'
12199 link_all_deplibs_CXX
=yes
12200 file_list_spec_CXX
='${wl}-f,'
12202 if test "$GXX" = yes; then
12203 case $host_os in aix4.
[012]|aix4.
[012].
*)
12204 # We only want to do this on AIX 4.2 and lower, the check
12205 # below for broken collect2 doesn't work under 4.3+
12206 collect2name
=`${CC} -print-prog-name=collect2`
12207 if test -f "$collect2name" &&
12208 strings "$collect2name" | $GREP resolve_lib_name
>/dev
/null
12210 # We have reworked collect2
12213 # We have old collect2
12214 hardcode_direct_CXX
=unsupported
12215 # It fails to find uninstalled libraries when the uninstalled
12216 # path is not listed in the libpath. Setting hardcode_minus_L
12217 # to unsupported forces relinking
12218 hardcode_minus_L_CXX
=yes
12219 hardcode_libdir_flag_spec_CXX
='-L$libdir'
12220 hardcode_libdir_separator_CXX
=
12223 shared_flag
='-shared'
12224 if test "$aix_use_runtimelinking" = yes; then
12225 shared_flag
="$shared_flag "'${wl}-G'
12229 if test "$host_cpu" = ia64
; then
12230 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12231 # chokes on -Wl,-G. The following line is correct:
12234 if test "$aix_use_runtimelinking" = yes; then
12235 shared_flag
='${wl}-G'
12237 shared_flag
='${wl}-bM:SRE'
12242 export_dynamic_flag_spec_CXX
='${wl}-bexpall'
12243 # It seems that -bexpall does not export symbols beginning with
12244 # underscore (_), so it is better to generate a list of symbols to
12246 always_export_symbols_CXX
=yes
12247 if test "$aix_use_runtimelinking" = yes; then
12248 # Warning - without using the other runtime loading flags (-brtl),
12249 # -berok will link without error, but may produce a broken library.
12250 allow_undefined_flag_CXX
='-berok'
12251 # Determine the default libpath from the value encoded in an empty
12253 if test "${lt_cv_aix_libpath+set}" = set; then
12254 aix_libpath
=$lt_cv_aix_libpath
12256 if ${lt_cv_aix_libpath__CXX+:} false
; then :
12257 $as_echo_n "(cached) " >&6
12259 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12260 /* end confdefs.h. */
12270 if ac_fn_cxx_try_link
"$LINENO"; then :
12272 lt_aix_libpath_sed
='
12273 /Import File Strings/,/^$/ {
12275 s/^0 *\([^ ]*\) *$/\1/
12279 lt_cv_aix_libpath__CXX
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12280 # Check for a 64-bit object if we didn't find anything.
12281 if test -z "$lt_cv_aix_libpath__CXX"; then
12282 lt_cv_aix_libpath__CXX
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12285 rm -f core conftest.err conftest.
$ac_objext \
12286 conftest
$ac_exeext conftest.
$ac_ext
12287 if test -z "$lt_cv_aix_libpath__CXX"; then
12288 lt_cv_aix_libpath__CXX
="/usr/lib:/lib"
12293 aix_libpath
=$lt_cv_aix_libpath__CXX
12296 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
12298 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"
12300 if test "$host_cpu" = ia64
; then
12301 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
12302 allow_undefined_flag_CXX
="-z nodefs"
12303 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"
12305 # Determine the default libpath from the value encoded in an
12306 # empty executable.
12307 if test "${lt_cv_aix_libpath+set}" = set; then
12308 aix_libpath
=$lt_cv_aix_libpath
12310 if ${lt_cv_aix_libpath__CXX+:} false
; then :
12311 $as_echo_n "(cached) " >&6
12313 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12314 /* end confdefs.h. */
12324 if ac_fn_cxx_try_link
"$LINENO"; then :
12326 lt_aix_libpath_sed
='
12327 /Import File Strings/,/^$/ {
12329 s/^0 *\([^ ]*\) *$/\1/
12333 lt_cv_aix_libpath__CXX
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12334 # Check for a 64-bit object if we didn't find anything.
12335 if test -z "$lt_cv_aix_libpath__CXX"; then
12336 lt_cv_aix_libpath__CXX
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12339 rm -f core conftest.err conftest.
$ac_objext \
12340 conftest
$ac_exeext conftest.
$ac_ext
12341 if test -z "$lt_cv_aix_libpath__CXX"; then
12342 lt_cv_aix_libpath__CXX
="/usr/lib:/lib"
12347 aix_libpath
=$lt_cv_aix_libpath__CXX
12350 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
12351 # Warning - without using the other run time loading flags,
12352 # -berok will link without error, but may produce a broken library.
12353 no_undefined_flag_CXX
=' ${wl}-bernotok'
12354 allow_undefined_flag_CXX
=' ${wl}-berok'
12355 if test "$with_gnu_ld" = yes; then
12356 # We only use this code for GNU lds that support --whole-archive.
12357 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12359 # Exported symbols can be pulled into shared objects from archives
12360 whole_archive_flag_spec_CXX
='$convenience'
12362 archive_cmds_need_lc_CXX
=yes
12363 # This is similar to how AIX traditionally builds its shared
12365 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'
12371 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
12372 allow_undefined_flag_CXX
=unsupported
12373 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12374 # support --undefined. This deserves some investigation. FIXME
12375 archive_cmds_CXX
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12382 case $cc_basename in
12384 # FIXME: insert proper C++ library support
12390 cygwin
* | mingw
* | pw32
* | cegcc
*)
12391 case $GXX,$cc_basename in
12394 # hardcode_libdir_flag_spec is actually meaningless, as there is
12395 # no search path for DLLs.
12396 hardcode_libdir_flag_spec_CXX
=' '
12397 allow_undefined_flag_CXX
=unsupported
12398 always_export_symbols_CXX
=yes
12399 file_list_spec_CXX
='@'
12400 # Tell ltmain to make .lib files, not .a files.
12402 # Tell ltmain to make .dll files, not .so files.
12404 # FIXME: Setting linknames here is a bad hack.
12405 archive_cmds_CXX
='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
12406 archive_expsym_cmds_CXX
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12407 $SED -n -e 's
/\\\\\\\
(.
*\\\\\\\
)/-link\\\
-EXPORT:\\\\\\\
1/' -e '1\\\
!p
' < $export_symbols > $output_objdir/$soname.exp;
12409 $SED -e 's
/\\\\\\\
(.
*\\\\\\\
)/-link\\\
-EXPORT:\\\\\\\
1/' < $export_symbols > $output_objdir/$soname.exp;
12411 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
12413 # The linker will not automatically build a static lib if we build a DLL.
12414 # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
12415 enable_shared_with_static_runtimes_CXX
=yes
12417 old_postinstall_cmds_CXX
='chmod 644 $oldlib'
12418 postlink_cmds_CXX
='lt_outputfile="@OUTPUT@"~
12419 lt_tool_outputfile="@TOOL_OUTPUT@"~
12420 case $lt_outputfile in
12423 lt_outputfile="$lt_outputfile.exe"
12424 lt_tool_outputfile="$lt_tool_outputfile.exe"
12427 func_to_tool_file "$lt_outputfile"~
12428 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
12429 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
12430 $RM "$lt_outputfile.manifest";
12435 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12436 # as there is no search path for DLLs.
12437 hardcode_libdir_flag_spec_CXX
='-L$libdir'
12438 export_dynamic_flag_spec_CXX
='${wl}--export-all-symbols'
12439 allow_undefined_flag_CXX
=unsupported
12440 always_export_symbols_CXX
=no
12441 enable_shared_with_static_runtimes_CXX
=yes
12443 if $LD --help 2>&1 | $GREP 'auto-import' > /dev
/null
; then
12444 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'
12445 # If the export-symbols file already is a .def file (1st line
12446 # is EXPORTS), use it as is; otherwise, prepend...
12447 archive_expsym_cmds_CXX
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12448 cp $export_symbols $output_objdir/$soname.def;
12450 echo EXPORTS > $output_objdir/$soname.def;
12451 cat $export_symbols >> $output_objdir/$soname.def;
12453 $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'
12460 darwin
* | rhapsody
*)
12463 archive_cmds_need_lc_CXX
=no
12464 hardcode_direct_CXX
=no
12465 hardcode_automatic_CXX
=yes
12466 hardcode_shlibpath_var_CXX
=unsupported
12467 if test "$lt_cv_ld_force_load" = "yes"; then
12468 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\"`'
12470 whole_archive_flag_spec_CXX
=''
12472 link_all_deplibs_CXX
=yes
12473 allow_undefined_flag_CXX
="$_lt_dar_allow_undefined"
12474 case $cc_basename in
12475 ifort
*) _lt_dar_can_shared
=yes ;;
12476 *) _lt_dar_can_shared
=$GCC ;;
12478 if test "$_lt_dar_can_shared" = "yes"; then
12479 output_verbose_link_cmd
=func_echo_all
12480 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}"
12481 module_cmds_CXX
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12482 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}"
12483 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}"
12484 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
12485 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}"
12486 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}"
12496 case $cc_basename in
12498 # FIXME: insert proper C++ library support
12502 # Green Hills C++ Compiler
12503 # FIXME: insert proper C++ library support
12507 # FIXME: insert proper C++ library support
12514 # C++ shared libraries reported to be fairly broken before
12520 archive_cmds_need_lc_CXX
=no
12523 freebsd
* | dragonfly
*)
12524 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12533 archive_cmds_CXX
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12534 link_all_deplibs_CXX
=yes
12538 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
12539 hardcode_libdir_separator_CXX
=:
12540 export_dynamic_flag_spec_CXX
='${wl}-E'
12541 hardcode_direct_CXX
=yes
12542 hardcode_minus_L_CXX
=yes # Not in the search PATH,
12543 # but as the default
12544 # location of the library.
12546 case $cc_basename in
12548 # FIXME: insert proper C++ library support
12552 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'
12553 # Commands to make compiler produce verbose output that lists
12554 # what "hidden" libraries, object files and flags are used when
12555 # linking a shared library.
12557 # There doesn't appear to be a way to prevent this compiler from
12558 # explicitly linking system object files so we need to strip them
12559 # from the output so that they don't get included in the library
12561 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"'
12564 if test "$GXX" = yes; then
12565 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'
12567 # FIXME: insert proper C++ library support
12575 if test $with_gnu_ld = no
; then
12576 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
12577 hardcode_libdir_separator_CXX
=:
12583 export_dynamic_flag_spec_CXX
='${wl}-E'
12589 hardcode_direct_CXX
=no
12590 hardcode_shlibpath_var_CXX
=no
12593 hardcode_direct_CXX
=yes
12594 hardcode_direct_absolute_CXX
=yes
12595 hardcode_minus_L_CXX
=yes # Not in the search PATH,
12596 # but as the default
12597 # location of the library.
12601 case $cc_basename in
12603 # FIXME: insert proper C++ library support
12609 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12612 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12615 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12618 # Commands to make compiler produce verbose output that lists
12619 # what "hidden" libraries, object files and flags are used when
12620 # linking a shared library.
12622 # There doesn't appear to be a way to prevent this compiler from
12623 # explicitly linking system object files so we need to strip them
12624 # from the output so that they don't get included in the library
12626 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"'
12629 if test "$GXX" = yes; then
12630 if test $with_gnu_ld = no
; then
12633 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12636 archive_cmds_CXX
='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12639 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'
12644 # FIXME: insert proper C++ library support
12652 hardcode_direct_CXX
=no
12653 hardcode_shlibpath_var_CXX
=no
12654 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12655 export_dynamic_flag_spec_CXX
='${wl}-E'
12656 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12657 # Instead, shared libraries are loaded at an image base (0x10000000 by
12658 # default) and relocated if they conflict, which is a slow very memory
12659 # consuming and fragmenting process. To avoid this, we pick a random,
12660 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12661 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12662 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'
12663 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'
12666 case $cc_basename in
12669 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'
12671 # Archives containing C++ object files must be created using
12672 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
12673 # necessary to make sure instantiated templates are included
12675 old_archive_cmds_CXX
='$CC -ar -WR,-u -o $oldlib $oldobjs'
12678 if test "$GXX" = yes; then
12679 if test "$with_gnu_ld" = no
; then
12680 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'
12682 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'
12685 link_all_deplibs_CXX
=yes
12688 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12689 hardcode_libdir_separator_CXX
=:
12690 inherit_rpath_CXX
=yes
12693 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
12694 case $cc_basename in
12696 # Kuck and Associates, Inc. (KAI) C++ Compiler
12698 # KCC will only create a shared library if the output file
12699 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12700 # to its proper name (with version) after linking.
12701 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'
12702 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'
12703 # Commands to make compiler produce verbose output that lists
12704 # what "hidden" libraries, object files and flags are used when
12705 # linking a shared library.
12707 # There doesn't appear to be a way to prevent this compiler from
12708 # explicitly linking system object files so we need to strip them
12709 # from the output so that they don't get included in the library
12711 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"'
12713 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12714 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12716 # Archives containing C++ object files must be created using
12717 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12718 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
12723 # version 8.0 and above of icpc choke on multiply defined symbols
12724 # if we add $predep_objects and $postdep_objects, however 7.1 and
12725 # earlier do not add the objects themselves.
12726 case `$CC -V 2>&1` in
12728 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12729 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'
12731 *) # Version 8.0 or newer
12734 ia64
*) tmp_idyn
=' -i_dynamic';;
12736 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12737 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'
12740 archive_cmds_need_lc_CXX
=no
12741 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12742 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12743 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12746 # Portland Group C++ compiler
12748 *pgCC\
[1-5].
* | *pgcpp\
[1-5].
*)
12749 prelink_cmds_CXX
='tpldir=Template.dir~
12751 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
12752 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
12753 old_archive_cmds_CXX
='tpldir=Template.dir~
12755 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
12756 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
12758 archive_cmds_CXX
='tpldir=Template.dir~
12760 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12761 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12762 archive_expsym_cmds_CXX
='tpldir=Template.dir~
12764 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12765 $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'
12767 *) # Version 6 and above use weak symbols
12768 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12769 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'
12773 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
12774 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12775 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'
12779 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12780 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'
12782 runpath_var
=LD_RUN_PATH
12783 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
12784 hardcode_libdir_separator_CXX
=:
12786 # Commands to make compiler produce verbose output that lists
12787 # what "hidden" libraries, object files and flags are used when
12788 # linking a shared library.
12790 # There doesn't appear to be a way to prevent this compiler from
12791 # explicitly linking system object files so we need to strip them
12792 # from the output so that they don't get included in the library
12794 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'
12796 xl
* | mpixl
* | bgxl
*)
12797 # IBM XL 8.0 on PPC, with GNU ld
12798 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12799 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12800 archive_cmds_CXX
='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12801 if test "x$supports_anon_versioning" = xyes
; then
12802 archive_expsym_cmds_CXX
='echo "{ global:" > $output_objdir/$libname.ver~
12803 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12804 echo "local: *; };" >> $output_objdir/$libname.ver~
12805 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12809 case `$CC -V 2>&1 | sed 5q` in
12812 no_undefined_flag_CXX
=' -zdefs'
12813 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12814 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'
12815 hardcode_libdir_flag_spec_CXX
='-R$libdir'
12816 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'
12817 compiler_needs_object_CXX
=yes
12819 # Not sure whether something based on
12820 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
12822 output_verbose_link_cmd
='func_echo_all'
12824 # Archives containing C++ object files must be created using
12825 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12826 # necessary to make sure instantiated templates are included
12828 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
12836 # FIXME: insert proper C++ library support
12841 # FIXME: insert proper C++ library support
12846 case $cc_basename in
12848 # FIXME: insert proper C++ library support
12852 # FIXME: insert proper C++ library support
12859 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
12860 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
12862 hardcode_libdir_flag_spec_CXX
='-R$libdir'
12863 hardcode_direct_CXX
=yes
12864 hardcode_shlibpath_var_CXX
=no
12866 # Workaround some broken pre-1.5 toolchains
12867 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
12875 # C++ shared libraries are fairly broken
12880 if test -f /usr
/libexec
/ld.so
; then
12881 hardcode_direct_CXX
=yes
12882 hardcode_shlibpath_var_CXX
=no
12883 hardcode_direct_absolute_CXX
=yes
12884 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12885 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12886 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12887 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
12888 export_dynamic_flag_spec_CXX
='${wl}-E'
12889 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12891 output_verbose_link_cmd
=func_echo_all
12897 osf3
* | osf4
* | osf5
*)
12898 case $cc_basename in
12900 # Kuck and Associates, Inc. (KAI) C++ Compiler
12902 # KCC will only create a shared library if the output file
12903 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12904 # to its proper name (with version) after linking.
12905 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'
12907 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12908 hardcode_libdir_separator_CXX
=:
12910 # Archives containing C++ object files must be created using
12911 # the KAI C++ compiler.
12913 osf3
*) old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs' ;;
12914 *) old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs' ;;
12918 # Rational C++ 2.4.1
12919 # FIXME: insert proper C++ library support
12925 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
12926 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'
12927 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12930 allow_undefined_flag_CXX
=' -expect_unresolved \*'
12931 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'
12932 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
12933 echo "-hidden">> $lib.exp~
12934 $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~
12936 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
12940 hardcode_libdir_separator_CXX
=:
12942 # Commands to make compiler produce verbose output that lists
12943 # what "hidden" libraries, object files and flags are used when
12944 # linking a shared library.
12946 # There doesn't appear to be a way to prevent this compiler from
12947 # explicitly linking system object files so we need to strip them
12948 # from the output so that they don't get included in the library
12950 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"'
12953 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
12954 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
12957 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'
12960 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'
12964 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12965 hardcode_libdir_separator_CXX
=:
12967 # Commands to make compiler produce verbose output that lists
12968 # what "hidden" libraries, object files and flags are used when
12969 # linking a shared library.
12970 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12973 # FIXME: insert proper C++ library support
12981 # FIXME: insert proper C++ library support
12986 case $cc_basename in
12989 # FIXME: insert proper C++ library support
12994 # FIXME: insert proper C++ library support
12998 # FIXME: insert proper C++ library support
13005 case $cc_basename in
13007 # Sun C++ 4.2, 5.x and Centerline C++
13008 archive_cmds_need_lc_CXX
=yes
13009 no_undefined_flag_CXX
=' -zdefs'
13010 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13011 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13012 $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'
13014 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13015 hardcode_shlibpath_var_CXX
=no
13017 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
13019 # The compiler driver will combine and reorder linker options,
13020 # but understands `-z linker_flag'.
13021 # Supported since Solaris 2.6 (maybe 2.5.1?)
13022 whole_archive_flag_spec_CXX
='-z allextract$convenience -z defaultextract'
13025 link_all_deplibs_CXX
=yes
13027 output_verbose_link_cmd
='func_echo_all'
13029 # Archives containing C++ object files must be created using
13030 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13031 # necessary to make sure instantiated templates are included
13033 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
13036 # Green Hills C++ Compiler
13037 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13039 # The C++ compiler must be used to create the archive.
13040 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13043 # GNU C++ compiler with Solaris linker
13044 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
13045 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
13046 if $CC --version | $GREP -v '^2\.7' > /dev
/null
; then
13047 archive_cmds_CXX
='$CC -shared $pic_flag -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13048 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13049 $CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13051 # Commands to make compiler produce verbose output that lists
13052 # what "hidden" libraries, object files and flags are used when
13053 # linking a shared library.
13054 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13056 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13058 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13059 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13060 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13062 # Commands to make compiler produce verbose output that lists
13063 # what "hidden" libraries, object files and flags are used when
13064 # linking a shared library.
13065 output_verbose_link_cmd
='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13068 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
13070 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
13072 whole_archive_flag_spec_CXX
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13080 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
13081 no_undefined_flag_CXX
='${wl}-z,text'
13082 archive_cmds_need_lc_CXX
=no
13083 hardcode_shlibpath_var_CXX
=no
13084 runpath_var
='LD_RUN_PATH'
13086 case $cc_basename in
13088 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13089 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13092 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13093 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13098 sysv5
* | sco3.2v5
* | sco5v6
*)
13099 # Note: We can NOT use -z defs as we might desire, because we do not
13100 # link with -lc, and that would cause any symbols used from libc to
13101 # always be unresolved, which means just about no library would
13102 # ever link correctly. If we're not using GNU ld we use -z text
13103 # though, which does catch some bad symbols but isn't as heavy-handed
13105 no_undefined_flag_CXX
='${wl}-z,text'
13106 allow_undefined_flag_CXX
='${wl}-z,nodefs'
13107 archive_cmds_need_lc_CXX
=no
13108 hardcode_shlibpath_var_CXX
=no
13109 hardcode_libdir_flag_spec_CXX
='${wl}-R,$libdir'
13110 hardcode_libdir_separator_CXX
=':'
13111 link_all_deplibs_CXX
=yes
13112 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
13113 runpath_var
='LD_RUN_PATH'
13115 case $cc_basename in
13117 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13118 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13119 old_archive_cmds_CXX
='$CC -Tprelink_objects $oldobjs~
13120 '"$old_archive_cmds_CXX"
13121 reload_cmds_CXX
='$CC -Tprelink_objects $reload_objs~
13122 '"$reload_cmds_CXX"
13125 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13126 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13132 case $cc_basename in
13134 # NonStop-UX NCC 3.20
13135 # FIXME: insert proper C++ library support
13139 # FIXME: insert proper C++ library support
13146 # FIXME: insert proper C++ library support
13151 # FIXME: insert proper C++ library support
13156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13157 $as_echo "$ld_shlibs_CXX" >&6; }
13158 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
13164 ## There is no encapsulation within the following macros, do not change
13165 ## the running order or otherwise move them around unless you know exactly
13166 ## what you are doing...
13167 # Dependencies to place before and after the object being linked:
13168 predep_objects_CXX
=
13169 postdep_objects_CXX
=
13172 compiler_lib_search_path_CXX
=
13174 cat > conftest.
$ac_ext <<_LT_EOF
13178 Foo (void) { a = 0; }
13185 _lt_libdeps_save_CFLAGS
=$CFLAGS
13186 case "$CC $CFLAGS " in #(
13187 *\
-flto*\
*) CFLAGS
="$CFLAGS -fno-lto" ;;
13188 *\
-fwhopr*\
*) CFLAGS
="$CFLAGS -fno-whopr" ;;
13191 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13192 (eval $ac_compile) 2>&5
13194 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13195 test $ac_status = 0; }; then
13196 # Parse the compiler output and extract the necessary
13197 # objects, libraries and library flags.
13199 # Sentinel used to keep track of whether or not we are before
13200 # the conftest object file.
13201 pre_test_object_deps_done
=no
13203 for p
in `eval "$output_verbose_link_cmd"`; do
13204 case ${prev}${p} in
13207 # Some compilers place space between "-{L,R}" and the path.
13208 # Remove the space.
13209 if test $p = "-L" ||
13210 test $p = "-R"; then
13215 # Expand the sysroot to ease extracting the directories later.
13216 if test -z "$prev"; then
13218 -L*) func_stripname_cnf
'-L' '' "$p"; prev
=-L; p
=$func_stripname_result ;;
13219 -R*) func_stripname_cnf
'-R' '' "$p"; prev
=-R; p
=$func_stripname_result ;;
13220 -l*) func_stripname_cnf
'-l' '' "$p"; prev
=-l; p
=$func_stripname_result ;;
13224 =*) func_stripname_cnf
'=' '' "$p"; p
=$lt_sysroot$func_stripname_result ;;
13226 if test "$pre_test_object_deps_done" = no
; then
13229 # Internal compiler library paths should come after those
13230 # provided the user. The postdeps already come after the
13231 # user supplied libs so there is no need to process them.
13232 if test -z "$compiler_lib_search_path_CXX"; then
13233 compiler_lib_search_path_CXX
="${prev}${p}"
13235 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
13238 # The "-l" case would never come before the object being
13239 # linked, so don't bother handling this case.
13242 if test -z "$postdeps_CXX"; then
13243 postdeps_CXX
="${prev}${p}"
13245 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
13251 *.lto.
$objext) ;; # Ignore GCC LTO objects
13253 # This assumes that the test object file only shows up
13254 # once in the compiler output.
13255 if test "$p" = "conftest.$objext"; then
13256 pre_test_object_deps_done
=yes
13260 if test "$pre_test_object_deps_done" = no
; then
13261 if test -z "$predep_objects_CXX"; then
13262 predep_objects_CXX
="$p"
13264 predep_objects_CXX
="$predep_objects_CXX $p"
13267 if test -z "$postdep_objects_CXX"; then
13268 postdep_objects_CXX
="$p"
13270 postdep_objects_CXX
="$postdep_objects_CXX $p"
13275 *) ;; # Ignore the rest.
13283 echo "libtool.m4: error: problem compiling CXX test program"
13286 $RM -f confest.
$objext
13287 CFLAGS
=$_lt_libdeps_save_CFLAGS
13289 # PORTME: override above test on systems where it is broken
13292 # Interix 3.5 installs completely hosed .la files for C++, so rather than
13293 # hack all around it, let's just trust "g++" to DTRT.
13294 predep_objects_CXX
=
13295 postdep_objects_CXX
=
13300 case `$CC -V 2>&1 | sed 5q` in
13304 # The more standards-conforming stlport4 library is
13305 # incompatible with the Cstd library. Avoid specifying
13306 # it if it's in CXXFLAGS. Ignore libCrun as
13307 # -library=stlport4 depends on it.
13308 case " $CXX $CXXFLAGS " in
13309 *" -library=stlport4 "*)
13310 solaris_use_stlport4
=yes
13314 if test "$solaris_use_stlport4" != yes; then
13315 postdeps_CXX
='-library=Cstd -library=Crun'
13322 case $cc_basename in
13324 # The more standards-conforming stlport4 library is
13325 # incompatible with the Cstd library. Avoid specifying
13326 # it if it's in CXXFLAGS. Ignore libCrun as
13327 # -library=stlport4 depends on it.
13328 case " $CXX $CXXFLAGS " in
13329 *" -library=stlport4 "*)
13330 solaris_use_stlport4
=yes
13334 # Adding this requires a known-good setup of shared libraries for
13335 # Sun compiler versions before 5.6, else PIC objects from an old
13336 # archive will be linked into the output, leading to subtle bugs.
13337 if test "$solaris_use_stlport4" != yes; then
13338 postdeps_CXX
='-library=Cstd -library=Crun'
13346 case " $postdeps_CXX " in
13347 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
13349 compiler_lib_search_dirs_CXX
=
13350 if test -n "${compiler_lib_search_path_CXX}"; then
13351 compiler_lib_search_dirs_CXX
=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13384 lt_prog_compiler_wl_CXX
=
13385 lt_prog_compiler_pic_CXX
=
13386 lt_prog_compiler_static_CXX
=
13389 # C++ specific cases for pic, static, wl, etc.
13390 if test "$GXX" = yes; then
13391 lt_prog_compiler_wl_CXX
='-Wl,'
13392 lt_prog_compiler_static_CXX
='-static'
13396 # All AIX code is PIC.
13397 if test "$host_cpu" = ia64
; then
13398 # AIX 5 now supports IA64 processor
13399 lt_prog_compiler_static_CXX
='-Bstatic'
13406 # see comment about AmigaOS4 .so support
13407 lt_prog_compiler_pic_CXX
='-fPIC'
13410 # FIXME: we need at least 68020 code to build shared libraries, but
13411 # adding the `-m68020' flag to GCC prevents building anything better,
13413 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
13418 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
13419 # PIC is the default for these OSes.
13421 mingw
* | cygwin
* | os2
* | pw32
* | cegcc
*)
13422 # This hack is so that the source file can tell whether it is being
13423 # built for inclusion in a dll (and should export symbols for example).
13424 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13425 # (--disable-auto-import) libraries
13426 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
13428 darwin
* | rhapsody
*)
13429 # PIC is the default on this platform
13430 # Common symbols not allowed in MH_DYLIB files
13431 lt_prog_compiler_pic_CXX
='-fno-common'
13434 # DJGPP does not support shared libraries at all
13435 lt_prog_compiler_pic_CXX
=
13438 # PIC is the default for Haiku.
13439 # The "-static" flag exists, but is broken.
13440 lt_prog_compiler_static_CXX
=
13443 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13444 # Instead, we relocate shared libraries at runtime.
13447 if test -d /usr
/nec
; then
13448 lt_prog_compiler_pic_CXX
=-Kconform_pic
13452 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13453 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13454 # sets the default TLS model and affects inlining.
13459 lt_prog_compiler_pic_CXX
='-fPIC'
13464 # QNX uses GNU C++, but need to define -shared option too, otherwise
13465 # it will coredump.
13466 lt_prog_compiler_pic_CXX
='-fPIC -shared'
13469 lt_prog_compiler_pic_CXX
='-fPIC'
13475 # All AIX code is PIC.
13476 if test "$host_cpu" = ia64
; then
13477 # AIX 5 now supports IA64 processor
13478 lt_prog_compiler_static_CXX
='-Bstatic'
13480 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
13484 case $cc_basename in
13486 # Green Hills C++ Compiler
13487 # _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"
13491 mingw
* | cygwin
* | os2
* | pw32
* | cegcc
*)
13492 # This hack is so that the source file can tell whether it is being
13493 # built for inclusion in a dll (and should export symbols for example).
13494 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
13497 case $cc_basename in
13499 lt_prog_compiler_pic_CXX
='-KPIC'
13502 # Green Hills C++ Compiler
13503 lt_prog_compiler_pic_CXX
='-pic'
13509 freebsd
* | dragonfly
*)
13510 # FreeBSD uses GNU C++
13512 hpux9
* | hpux10
* | hpux11
*)
13513 case $cc_basename in
13515 lt_prog_compiler_wl_CXX
='-Wl,'
13516 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
13517 if test "$host_cpu" != ia64
; then
13518 lt_prog_compiler_pic_CXX
='+Z'
13522 lt_prog_compiler_wl_CXX
='-Wl,'
13523 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
13529 lt_prog_compiler_pic_CXX
='+Z'
13538 # This is c89, which is MS Visual C++ (no shared libs)
13539 # Anyone wants to do a port?
13541 irix5
* | irix6
* | nonstopux
*)
13542 case $cc_basename in
13544 lt_prog_compiler_wl_CXX
='-Wl,'
13545 lt_prog_compiler_static_CXX
='-non_shared'
13546 # CC pic flag -KPIC is the default.
13552 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
13553 case $cc_basename in
13556 lt_prog_compiler_wl_CXX
='--backend -Wl,'
13557 lt_prog_compiler_pic_CXX
='-fPIC'
13560 # old Intel C++ for x86_64 which still supported -KPIC.
13561 lt_prog_compiler_wl_CXX
='-Wl,'
13562 lt_prog_compiler_pic_CXX
='-KPIC'
13563 lt_prog_compiler_static_CXX
='-static'
13566 # Intel C++, used to be incompatible with GCC.
13567 # ICC 10 doesn't accept -KPIC any more.
13568 lt_prog_compiler_wl_CXX
='-Wl,'
13569 lt_prog_compiler_pic_CXX
='-fPIC'
13570 lt_prog_compiler_static_CXX
='-static'
13573 # Portland Group C++ compiler
13574 lt_prog_compiler_wl_CXX
='-Wl,'
13575 lt_prog_compiler_pic_CXX
='-fpic'
13576 lt_prog_compiler_static_CXX
='-Bstatic'
13580 # Make sure the PIC flag is empty. It appears that all Alpha
13581 # Linux and Compaq Tru64 Unix objects are PIC.
13582 lt_prog_compiler_pic_CXX
=
13583 lt_prog_compiler_static_CXX
='-non_shared'
13585 xlc
* | xlC
* | bgxl
[cC
]* | mpixl
[cC
]*)
13586 # IBM XL 8.0, 9.0 on PPC and BlueGene
13587 lt_prog_compiler_wl_CXX
='-Wl,'
13588 lt_prog_compiler_pic_CXX
='-qpic'
13589 lt_prog_compiler_static_CXX
='-qstaticlink'
13592 case `$CC -V 2>&1 | sed 5q` in
13595 lt_prog_compiler_pic_CXX
='-KPIC'
13596 lt_prog_compiler_static_CXX
='-Bstatic'
13597 lt_prog_compiler_wl_CXX
='-Qoption ld '
13608 case $cc_basename in
13610 lt_prog_compiler_pic_CXX
='-W c,exportall'
13616 netbsd
* | netbsdelf
*-gnu)
13619 # QNX uses GNU C++, but need to define -shared option too, otherwise
13620 # it will coredump.
13621 lt_prog_compiler_pic_CXX
='-fPIC -shared'
13623 osf3
* | osf4
* | osf5
*)
13624 case $cc_basename in
13626 lt_prog_compiler_wl_CXX
='--backend -Wl,'
13629 # Rational C++ 2.4.1
13630 lt_prog_compiler_pic_CXX
='-pic'
13633 # Digital/Compaq C++
13634 lt_prog_compiler_wl_CXX
='-Wl,'
13635 # Make sure the PIC flag is empty. It appears that all Alpha
13636 # Linux and Compaq Tru64 Unix objects are PIC.
13637 lt_prog_compiler_pic_CXX
=
13638 lt_prog_compiler_static_CXX
='-non_shared'
13647 case $cc_basename in
13649 # Sun C++ 4.2, 5.x and Centerline C++
13650 lt_prog_compiler_pic_CXX
='-KPIC'
13651 lt_prog_compiler_static_CXX
='-Bstatic'
13652 lt_prog_compiler_wl_CXX
='-Qoption ld '
13655 # Green Hills C++ Compiler
13656 lt_prog_compiler_pic_CXX
='-PIC'
13663 case $cc_basename in
13666 lt_prog_compiler_pic_CXX
='-pic'
13667 lt_prog_compiler_static_CXX
='-Bstatic'
13671 lt_prog_compiler_pic_CXX
='-pic'
13677 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
13678 case $cc_basename in
13680 lt_prog_compiler_wl_CXX
='-Wl,'
13681 lt_prog_compiler_pic_CXX
='-KPIC'
13682 lt_prog_compiler_static_CXX
='-Bstatic'
13687 case $cc_basename in
13689 # NonStop-UX NCC 3.20
13690 lt_prog_compiler_pic_CXX
='-KPIC'
13699 lt_prog_compiler_can_build_shared_CXX
=no
13705 # For platforms which do not support PIC, -DPIC is meaningless:
13707 lt_prog_compiler_pic_CXX
=
13710 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
13714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13715 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13716 if ${lt_cv_prog_compiler_pic_CXX+:} false
; then :
13717 $as_echo_n "(cached) " >&6
13719 lt_cv_prog_compiler_pic_CXX
=$lt_prog_compiler_pic_CXX
13721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
13722 $as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
13723 lt_prog_compiler_pic_CXX
=$lt_cv_prog_compiler_pic_CXX
13726 # Check to make sure the PIC flag actually works.
13728 if test -n "$lt_prog_compiler_pic_CXX"; then
13729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13730 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
13731 if ${lt_cv_prog_compiler_pic_works_CXX+:} false
; then :
13732 $as_echo_n "(cached) " >&6
13734 lt_cv_prog_compiler_pic_works_CXX
=no
13735 ac_outfile
=conftest.
$ac_objext
13736 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13737 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
13738 # Insert the option either (1) after the last *FLAGS variable, or
13739 # (2) before a word containing "conftest.", or (3) at the end.
13740 # Note that $ac_compile itself does not contain backslashes and begins
13741 # with a dollar sign (not a hyphen), so the echo should work correctly.
13742 # The option is referenced via a variable to avoid confusing sed.
13743 lt_compile
=`echo "$ac_compile" | $SED \
13744 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13745 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13746 -e 's:$: $lt_compiler_flag:'`
13747 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13748 (eval "$lt_compile" 2>conftest.err
)
13750 cat conftest.err
>&5
13751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13752 if (exit $ac_status) && test -s "$ac_outfile"; then
13753 # The compiler can only warn and ignore the option if not recognized
13754 # So say no if there are warnings other than the usual output.
13755 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
13756 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
13757 if test ! -s conftest.er2
|| diff conftest.exp conftest.er2
>/dev
/null
; then
13758 lt_cv_prog_compiler_pic_works_CXX
=yes
13764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
13765 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
13767 if test x
"$lt_cv_prog_compiler_pic_works_CXX" = xyes
; then
13768 case $lt_prog_compiler_pic_CXX in
13770 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
13773 lt_prog_compiler_pic_CXX
=
13774 lt_prog_compiler_can_build_shared_CXX
=no
13784 # Check to make sure the static flag actually works.
13786 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
13787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13788 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13789 if ${lt_cv_prog_compiler_static_works_CXX+:} false
; then :
13790 $as_echo_n "(cached) " >&6
13792 lt_cv_prog_compiler_static_works_CXX
=no
13793 save_LDFLAGS
="$LDFLAGS"
13794 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
13795 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
13796 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
13797 # The linker can only warn and ignore the option if not recognized
13798 # So say no if there are warnings
13799 if test -s conftest.err
; then
13800 # Append any errors to the config.log.
13801 cat conftest.err
1>&5
13802 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
13803 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
13804 if diff conftest.exp conftest.er2
>/dev
/null
; then
13805 lt_cv_prog_compiler_static_works_CXX
=yes
13808 lt_cv_prog_compiler_static_works_CXX
=yes
13812 LDFLAGS
="$save_LDFLAGS"
13815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
13816 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
13818 if test x
"$lt_cv_prog_compiler_static_works_CXX" = xyes
; then
13821 lt_prog_compiler_static_CXX
=
13827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13828 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13829 if ${lt_cv_prog_compiler_c_o_CXX+:} false
; then :
13830 $as_echo_n "(cached) " >&6
13832 lt_cv_prog_compiler_c_o_CXX
=no
13833 $RM -r conftest
2>/dev
/null
13837 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13839 lt_compiler_flag
="-o out/conftest2.$ac_objext"
13840 # Insert the option either (1) after the last *FLAGS variable, or
13841 # (2) before a word containing "conftest.", or (3) at the end.
13842 # Note that $ac_compile itself does not contain backslashes and begins
13843 # with a dollar sign (not a hyphen), so the echo should work correctly.
13844 lt_compile
=`echo "$ac_compile" | $SED \
13845 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13846 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13847 -e 's:$: $lt_compiler_flag:'`
13848 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13849 (eval "$lt_compile" 2>out
/conftest.err
)
13851 cat out
/conftest.err
>&5
13852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13853 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
13855 # The compiler can only warn and ignore the option if not recognized
13856 # So say no if there are warnings
13857 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out
/conftest.exp
13858 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
13859 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
13860 lt_cv_prog_compiler_c_o_CXX
=yes
13865 # SGI C++ compiler will create directory out/ii_files/ for
13866 # template instantiation
13867 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
13868 $RM out
/* && rmdir out
13874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13875 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13880 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13881 if ${lt_cv_prog_compiler_c_o_CXX+:} false
; then :
13882 $as_echo_n "(cached) " >&6
13884 lt_cv_prog_compiler_c_o_CXX
=no
13885 $RM -r conftest
2>/dev
/null
13889 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13891 lt_compiler_flag
="-o out/conftest2.$ac_objext"
13892 # Insert the option either (1) after the last *FLAGS variable, or
13893 # (2) before a word containing "conftest.", or (3) at the end.
13894 # Note that $ac_compile itself does not contain backslashes and begins
13895 # with a dollar sign (not a hyphen), so the echo should work correctly.
13896 lt_compile
=`echo "$ac_compile" | $SED \
13897 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13898 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13899 -e 's:$: $lt_compiler_flag:'`
13900 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13901 (eval "$lt_compile" 2>out
/conftest.err
)
13903 cat out
/conftest.err
>&5
13904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13905 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
13907 # The compiler can only warn and ignore the option if not recognized
13908 # So say no if there are warnings
13909 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out
/conftest.exp
13910 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
13911 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
13912 lt_cv_prog_compiler_c_o_CXX
=yes
13917 # SGI C++ compiler will create directory out/ii_files/ for
13918 # template instantiation
13919 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
13920 $RM out
/* && rmdir out
13926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13927 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13932 hard_links
="nottested"
13933 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
13934 # do not overwrite the value of need_locks provided by the user
13935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
13936 $as_echo_n "checking if we can lock with hard links... " >&6; }
13939 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
13941 ln conftest.a conftest.b
2>&5 || hard_links
=no
13942 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
13943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
13944 $as_echo "$hard_links" >&6; }
13945 if test "$hard_links" = no
; then
13946 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13947 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13957 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13959 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13960 exclude_expsyms_CXX
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
13963 # If we're using GNU nm, then we don't want the "-C" option.
13964 # -C means demangle to AIX nm, but means don't demangle with GNU nm
13965 # Also, AIX nm treats weak defined symbols like other global defined
13966 # symbols, whereas GNU nm marks them as "W".
13967 if $NM -V 2>&1 | $GREP 'GNU' > /dev
/null
; then
13968 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'
13970 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'
13974 export_symbols_cmds_CXX
="$ltdll_cmds"
13976 cygwin
* | mingw
* | cegcc
*)
13977 case $cc_basename in
13980 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'
13981 exclude_expsyms_CXX
='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
13985 linux
* | k
*bsd
*-gnu | gnu
*)
13986 link_all_deplibs_CXX
=no
13989 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13994 $as_echo "$ld_shlibs_CXX" >&6; }
13995 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
13997 with_gnu_ld_CXX
=$with_gnu_ld
14005 # Do we need to explicitly link libc?
14007 case "x$archive_cmds_need_lc_CXX" in
14009 # Assume -lc should be added
14010 archive_cmds_need_lc_CXX
=yes
14012 if test "$enable_shared" = yes && test "$GCC" = yes; then
14013 case $archive_cmds_CXX in
14015 # FIXME: we may have to deal with multi-command sequences.
14018 # Test whether the compiler implicitly links with -lc since on some
14019 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14020 # to ld, don't add -lc before -lgcc.
14021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14022 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14023 if ${lt_cv_archive_cmds_need_lc_CXX+:} false
; then :
14024 $as_echo_n "(cached) " >&6
14027 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14029 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14030 (eval $ac_compile) 2>&5
14032 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14033 test $ac_status = 0; } 2>conftest.err
; then
14036 libobjs
=conftest.
$ac_objext
14038 wl
=$lt_prog_compiler_wl_CXX
14039 pic_flag
=$lt_prog_compiler_pic_CXX
14045 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
14046 allow_undefined_flag_CXX
=
14047 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14048 (eval $archive_cmds_CXX 2\
>\
&1 \
| $GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
14050 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14051 test $ac_status = 0; }
14053 lt_cv_archive_cmds_need_lc_CXX
=no
14055 lt_cv_archive_cmds_need_lc_CXX
=yes
14057 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
14059 cat conftest.err
1>&5
14064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14065 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14066 archive_cmds_need_lc_CXX
=$lt_cv_archive_cmds_need_lc_CXX
14136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14137 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14139 library_names_spec
=
14140 libname_spec
='lib$name'
14144 postuninstall_cmds
=
14148 shlibpath_overrides_runpath
=unknown
14150 dynamic_linker
="$host_os ld.so"
14151 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
14152 need_lib_prefix
=unknown
14153 hardcode_into_libs
=no
14155 # when you set need_version to no, make sure it does not cause -set_version
14156 # flags to be left without arguments
14157 need_version
=unknown
14162 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
14163 shlibpath_var
=LIBPATH
14165 # AIX 3 has no versioning support, so we append a major version to the name.
14166 soname_spec
='${libname}${release}${shared_ext}$major'
14173 hardcode_into_libs
=yes
14174 if test "$host_cpu" = ia64
; then
14175 # AIX 5 supports IA64
14176 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14177 shlibpath_var
=LD_LIBRARY_PATH
14179 # With GCC up to 2.95.x, collect2 would create an import file
14180 # for dependence libraries. The import file would start with
14181 # the line `#! .'. This would cause the generated library to
14182 # depend on `.', always an invalid library. This was fixed in
14183 # development snapshots of GCC prior to 3.0.
14185 aix4
| aix4.
[01] | aix4.
[01].
*)
14186 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14188 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev
/null
; then
14191 can_build_shared
=no
14195 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14196 # soname into executable. Probably we can add versioning support to
14197 # collect2, so additional links can be useful in future.
14198 if test "$aix_use_runtimelinking" = yes; then
14199 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14200 # instead of lib<name>.a to let people know that these are not
14201 # typical AIX shared libraries.
14202 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14204 # We preserve .a as extension for shared libraries through AIX4.2
14205 # and later when we are not doing run time linking.
14206 library_names_spec
='${libname}${release}.a $libname.a'
14207 soname_spec
='${libname}${release}${shared_ext}$major'
14209 shlibpath_var
=LIBPATH
14216 # Since July 2007 AmigaOS4 officially supports .so libraries.
14217 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14218 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14221 library_names_spec
='$libname.ixlibrary $libname.a'
14222 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14223 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'
14229 library_names_spec
='${libname}${shared_ext}'
14230 dynamic_linker
="$host_os ld.so"
14231 shlibpath_var
=LIBRARY_PATH
14237 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14238 soname_spec
='${libname}${release}${shared_ext}$major'
14239 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
14240 shlibpath_var
=LD_LIBRARY_PATH
14241 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14242 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
14243 # the default ld.so.conf also contains /usr/contrib/lib and
14244 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14245 # libtool to hard-code these into programs
14248 cygwin
* | mingw
* | pw32
* | cegcc
*)
14249 version_type
=windows
14254 case $GCC,$cc_basename in
14257 library_names_spec
='$libname.dll.a'
14258 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14259 postinstall_cmds
='base_file=`basename \${file}`~
14260 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14261 dldir=$destdir/`dirname \$dlpath`~
14262 test -d \$dldir || mkdir -p \$dldir~
14263 $install_prog $dir/$dlname \$dldir/$dlname~
14264 chmod a+x \$dldir/$dlname~
14265 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14266 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14268 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14269 dlpath=$dir/\$dldll~
14271 shlibpath_overrides_runpath
=yes
14275 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14276 soname_spec
='`echo ${libname} | sed -e 's
/^lib
/cyg
/'``echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
14280 # MinGW DLLs use traditional 'lib' prefix
14281 soname_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
14284 # pw32 DLLs use 'pw' prefix rather than 'lib'
14285 library_names_spec
='`echo ${libname} | sed -e 's
/^lib
/pw
/'``echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
14288 dynamic_linker
='Win32 ld.exe'
14293 libname_spec
='$name'
14294 soname_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
14295 library_names_spec
='${libname}.dll.lib'
14299 sys_lib_search_path_spec
=
14302 for lt_path
in $LIB
14305 # Let DOS variable expansion print the short 8.3 style file name.
14306 lt_path
=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
14307 sys_lib_search_path_spec
="$sys_lib_search_path_spec $lt_path"
14310 # Convert to MSYS style.
14311 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
14314 # Convert to unix form, then to dos form, then back to unix form
14315 # but this time dos style (no spaces!) so that the unix form looks
14316 # like /cygdrive/c/PROGRA~1:/cygdr...
14317 sys_lib_search_path_spec
=`cygpath --path --unix "$LIB"`
14318 sys_lib_search_path_spec
=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
14319 sys_lib_search_path_spec
=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14322 sys_lib_search_path_spec
="$LIB"
14323 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev
/null
; then
14324 # It is most probably a Windows format PATH.
14325 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14327 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14329 # FIXME: find the short name or the path components, as spaces are
14330 # common. (e.g. "Program Files" -> "PROGRA~1")
14334 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14335 postinstall_cmds
='base_file=`basename \${file}`~
14336 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14337 dldir=$destdir/`dirname \$dlpath`~
14338 test -d \$dldir || mkdir -p \$dldir~
14339 $install_prog $dir/$dlname \$dldir/$dlname'
14340 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14341 dlpath=$dir/\$dldll~
14343 shlibpath_overrides_runpath
=yes
14344 dynamic_linker
='Win32 link.exe'
14348 # Assume MSVC wrapper
14349 library_names_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext} $libname.lib'
14350 dynamic_linker
='Win32 ld.exe'
14353 # FIXME: first we should search . and the directory the executable is in
14357 darwin
* | rhapsody
*)
14358 dynamic_linker
="$host_os dyld"
14359 version_type
=darwin
14362 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14363 soname_spec
='${libname}${release}${major}$shared_ext'
14364 shlibpath_overrides_runpath
=yes
14365 shlibpath_var
=DYLD_LIBRARY_PATH
14366 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
14368 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
14375 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14376 soname_spec
='${libname}${release}${shared_ext}$major'
14377 shlibpath_var
=LD_LIBRARY_PATH
14384 freebsd
* | dragonfly
*)
14385 # DragonFly does not have aout. When/if they implement a new
14386 # versioning mechanism, adjust this.
14387 if test -x /usr
/bin
/objformat
; then
14388 objformat
=`/usr/bin/objformat`
14391 freebsd
[123]*) objformat
=aout
;;
14392 *) objformat
=elf
;;
14395 version_type
=freebsd
-$objformat
14396 case $version_type in
14398 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14403 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14407 shlibpath_var
=LD_LIBRARY_PATH
14410 shlibpath_overrides_runpath
=yes
14412 freebsd3.
[01]* | freebsdelf3.
[01]*)
14413 shlibpath_overrides_runpath
=yes
14414 hardcode_into_libs
=yes
14416 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
14417 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
14418 shlibpath_overrides_runpath
=no
14419 hardcode_into_libs
=yes
14421 *) # from 4.6 on, and DragonFly
14422 shlibpath_overrides_runpath
=yes
14423 hardcode_into_libs
=yes
14432 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14433 soname_spec
='${libname}${release}${shared_ext}$major'
14434 shlibpath_var
=LD_LIBRARY_PATH
14435 shlibpath_overrides_runpath
=no
14436 hardcode_into_libs
=yes
14443 dynamic_linker
="$host_os runtime_loader"
14444 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14445 soname_spec
='${libname}${release}${shared_ext}$major'
14446 shlibpath_var
=LIBRARY_PATH
14447 shlibpath_overrides_runpath
=yes
14448 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
14449 hardcode_into_libs
=yes
14452 hpux9
* | hpux10
* | hpux11
*)
14453 # Give a soname corresponding to the major version so that dld.sl refuses to
14454 # link against other versions.
14461 hardcode_into_libs
=yes
14462 dynamic_linker
="$host_os dld.so"
14463 shlibpath_var
=LD_LIBRARY_PATH
14464 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
14465 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14466 soname_spec
='${libname}${release}${shared_ext}$major'
14467 if test "X$HPUX_IA64_MODE" = X32
; then
14468 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14470 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
14472 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
14476 hardcode_into_libs
=yes
14477 dynamic_linker
="$host_os dld.sl"
14478 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
14479 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
14480 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14481 soname_spec
='${libname}${release}${shared_ext}$major'
14482 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14483 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
14487 dynamic_linker
="$host_os dld.sl"
14488 shlibpath_var
=SHLIB_PATH
14489 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
14490 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14491 soname_spec
='${libname}${release}${shared_ext}$major'
14494 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
14495 postinstall_cmds
='chmod 555 $lib'
14496 # or fails outright, so override atomically:
14497 install_override_mode
=555
14504 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14505 soname_spec
='${libname}${release}${shared_ext}$major'
14506 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
14507 shlibpath_var
=LD_LIBRARY_PATH
14508 shlibpath_overrides_runpath
=no
14509 hardcode_into_libs
=yes
14512 irix5
* | irix6
* | nonstopux
*)
14514 nonstopux
*) version_type
=nonstopux
;;
14516 if test "$lt_cv_prog_gnu_ld" = yes; then
14524 soname_spec
='${libname}${release}${shared_ext}$major'
14525 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14527 irix5
* | nonstopux
*)
14528 libsuff
= shlibsuff
=
14531 case $LD in # libtool.m4 will add one of these switches to LD
14532 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14533 libsuff
= shlibsuff
= libmagic
=32-bit;;
14534 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14535 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
14536 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14537 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
14538 *) libsuff
= shlibsuff
= libmagic
=never
-match;;
14542 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
14543 shlibpath_overrides_runpath
=no
14544 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14545 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
14546 hardcode_into_libs
=yes
14549 # No shared lib support for Linux oldld, aout, or coff.
14550 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
14554 # This must be Linux ELF.
14555 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
14559 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14560 soname_spec
='${libname}${release}${shared_ext}$major'
14561 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14562 shlibpath_var
=LD_LIBRARY_PATH
14563 shlibpath_overrides_runpath
=no
14565 # Some binutils ld are patched to set DT_RUNPATH
14566 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
14567 $as_echo_n "(cached) " >&6
14569 lt_cv_shlibpath_overrides_runpath
=no
14570 save_LDFLAGS
=$LDFLAGS
14571 save_libdir
=$libdir
14572 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
14573 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
14574 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14575 /* end confdefs.h. */
14585 if ac_fn_cxx_try_link
"$LINENO"; then :
14586 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null
| grep "RUNPATH.*$libdir" >/dev
/null
; then :
14587 lt_cv_shlibpath_overrides_runpath
=yes
14590 rm -f core conftest.err conftest.
$ac_objext \
14591 conftest
$ac_exeext conftest.
$ac_ext
14592 LDFLAGS
=$save_LDFLAGS
14593 libdir
=$save_libdir
14597 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
14599 # This implies no fast_install, which is unacceptable.
14600 # Some rework will be needed to allow for fast_install
14601 # before this can be enabled.
14602 hardcode_into_libs
=yes
14604 # Append ld.so.conf contents to the search path
14605 if test -f /etc
/ld.so.conf
; then
14606 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' ' '`
14607 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
14610 # We used to test for /lib/ld.so.1 and disable shared libraries on
14611 # powerpc, because MkLinux only supported shared libraries with the
14612 # GNU dynamic linker. Since this was broken with cross compilers,
14613 # most powerpc-linux boxes support dynamic linking these days and
14614 # people can always --disable-shared, the test was removed, and we
14615 # assume the GNU/Linux dynamic linker is in use.
14616 dynamic_linker
='GNU/Linux ld.so'
14623 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14624 soname_spec
='${libname}${release}${shared_ext}$major'
14625 shlibpath_var
=LD_LIBRARY_PATH
14626 shlibpath_overrides_runpath
=no
14627 hardcode_into_libs
=yes
14628 dynamic_linker
='NetBSD ld.elf_so'
14635 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
14636 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14637 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14638 dynamic_linker
='NetBSD (a.out) ld.so'
14640 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14641 soname_spec
='${libname}${release}${shared_ext}$major'
14642 dynamic_linker
='NetBSD ld.elf_so'
14644 shlibpath_var
=LD_LIBRARY_PATH
14645 shlibpath_overrides_runpath
=yes
14646 hardcode_into_libs
=yes
14651 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14652 shlibpath_var
=LD_LIBRARY_PATH
14653 shlibpath_overrides_runpath
=yes
14660 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14661 soname_spec
='${libname}${release}${shared_ext}$major'
14662 shlibpath_var
=LD_LIBRARY_PATH
14663 shlibpath_overrides_runpath
=no
14664 hardcode_into_libs
=yes
14665 dynamic_linker
='ldqnx.so'
14670 sys_lib_dlsearch_path_spec
="/usr/lib"
14672 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14674 openbsd3.3
| openbsd3.3.
*) need_version
=yes ;;
14675 *) need_version
=no
;;
14677 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14678 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14679 shlibpath_var
=LD_LIBRARY_PATH
14680 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14682 openbsd2.
[89] | openbsd2.
[89].
*)
14683 shlibpath_overrides_runpath
=no
14686 shlibpath_overrides_runpath
=yes
14690 shlibpath_overrides_runpath
=yes
14695 libname_spec
='$name'
14698 library_names_spec
='$libname${shared_ext} $libname.a'
14699 dynamic_linker
='OS/2 ld.exe'
14700 shlibpath_var
=LIBPATH
14703 osf3
* | osf4
* | osf5
*)
14707 soname_spec
='${libname}${release}${shared_ext}$major'
14708 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14709 shlibpath_var
=LD_LIBRARY_PATH
14710 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14711 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
14722 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14723 soname_spec
='${libname}${release}${shared_ext}$major'
14724 shlibpath_var
=LD_LIBRARY_PATH
14725 shlibpath_overrides_runpath
=yes
14726 hardcode_into_libs
=yes
14727 # ldd complains unless libraries are executable
14728 postinstall_cmds
='chmod +x $lib'
14733 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14734 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14735 shlibpath_var
=LD_LIBRARY_PATH
14736 shlibpath_overrides_runpath
=yes
14737 if test "$with_gnu_ld" = yes; then
14745 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14746 soname_spec
='${libname}${release}${shared_ext}$major'
14747 shlibpath_var
=LD_LIBRARY_PATH
14748 case $host_vendor in
14750 shlibpath_overrides_runpath
=no
14752 runpath_var
=LD_RUN_PATH
14760 shlibpath_overrides_runpath
=no
14761 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
14767 if test -d /usr
/nec
;then
14769 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14770 soname_spec
='$libname${shared_ext}.$major'
14771 shlibpath_var
=LD_LIBRARY_PATH
14775 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
14776 version_type
=freebsd
-elf
14779 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14780 soname_spec
='${libname}${release}${shared_ext}$major'
14781 shlibpath_var
=LD_LIBRARY_PATH
14782 shlibpath_overrides_runpath
=yes
14783 hardcode_into_libs
=yes
14784 if test "$with_gnu_ld" = yes; then
14785 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14787 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
14790 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
14794 sys_lib_dlsearch_path_spec
='/usr/lib'
14798 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
14802 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14803 shlibpath_var
=LD_LIBRARY_PATH
14804 shlibpath_overrides_runpath
=no
14805 hardcode_into_libs
=yes
14810 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14811 soname_spec
='${libname}${release}${shared_ext}$major'
14812 shlibpath_var
=LD_LIBRARY_PATH
14819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14820 $as_echo "$dynamic_linker" >&6; }
14821 test "$dynamic_linker" = no
&& can_build_shared
=no
14823 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
14824 if test "$GCC" = yes; then
14825 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14828 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14829 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
14831 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14832 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
14872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14873 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14874 hardcode_action_CXX
=
14875 if test -n "$hardcode_libdir_flag_spec_CXX" ||
14876 test -n "$runpath_var_CXX" ||
14877 test "X$hardcode_automatic_CXX" = "Xyes" ; then
14879 # We can hardcode non-existent directories.
14880 if test "$hardcode_direct_CXX" != no
&&
14881 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14882 # have to relink, otherwise we might link with an installed library
14883 # when we should be linking with a yet-to-be-installed one
14884 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
14885 test "$hardcode_minus_L_CXX" != no
; then
14886 # Linking always hardcodes the temporary library directory.
14887 hardcode_action_CXX
=relink
14889 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14890 hardcode_action_CXX
=immediate
14893 # We cannot hardcode anything, or else we can only hardcode existing
14895 hardcode_action_CXX
=unsupported
14897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
14898 $as_echo "$hardcode_action_CXX" >&6; }
14900 if test "$hardcode_action_CXX" = relink
||
14901 test "$inherit_rpath_CXX" = yes; then
14902 # Fast installation is not supported
14903 enable_fast_install
=no
14904 elif test "$shlibpath_overrides_runpath" = yes ||
14905 test "$enable_shared" = no
; then
14906 # Fast installation is not necessary
14907 enable_fast_install
=needless
14916 fi # test -n "$compiler"
14919 CFLAGS
=$lt_save_CFLAGS
14923 with_gnu_ld
=$lt_save_with_gnu_ld
14924 lt_cv_path_LDCXX
=$lt_cv_path_LD
14925 lt_cv_path_LD
=$lt_save_path_LD
14926 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
14927 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
14928 fi # test "$_lt_caught_CXX_error" != yes
14931 ac_cpp
='$CPP $CPPFLAGS'
14932 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14933 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14934 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14938 ac_cpp
='$OBJCXXCPP $CPPFLAGS'
14939 ac_compile
='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14940 ac_link
='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14941 ac_compiler_gnu
=$ac_cv_objcxx_compiler_gnu
14942 if test -n "$ac_tool_prefix"; then
14943 for ac_prog
in g
++ objc
++ objcxx c
++ CXX
14945 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
14946 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
14947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14948 $as_echo_n "checking for $ac_word... " >&6; }
14949 if ${ac_cv_prog_OBJCXX+:} false
; then :
14950 $as_echo_n "(cached) " >&6
14952 if test -n "$OBJCXX"; then
14953 ac_cv_prog_OBJCXX
="$OBJCXX" # Let the user override the test.
14955 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14956 for as_dir
in $PATH
14959 test -z "$as_dir" && as_dir
=.
14960 for ac_exec_ext
in '' $ac_executable_extensions; do
14961 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14962 ac_cv_prog_OBJCXX
="$ac_tool_prefix$ac_prog"
14963 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14972 OBJCXX
=$ac_cv_prog_OBJCXX
14973 if test -n "$OBJCXX"; then
14974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCXX" >&5
14975 $as_echo "$OBJCXX" >&6; }
14977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14978 $as_echo "no" >&6; }
14982 test -n "$OBJCXX" && break
14985 if test -z "$OBJCXX"; then
14986 ac_ct_OBJCXX
=$OBJCXX
14987 for ac_prog
in g
++ objc
++ objcxx c
++ CXX
14989 # Extract the first word of "$ac_prog", so it can be a program name with args.
14990 set dummy
$ac_prog; ac_word
=$2
14991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14992 $as_echo_n "checking for $ac_word... " >&6; }
14993 if ${ac_cv_prog_ac_ct_OBJCXX+:} false
; then :
14994 $as_echo_n "(cached) " >&6
14996 if test -n "$ac_ct_OBJCXX"; then
14997 ac_cv_prog_ac_ct_OBJCXX
="$ac_ct_OBJCXX" # Let the user override the test.
14999 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15000 for as_dir
in $PATH
15003 test -z "$as_dir" && as_dir
=.
15004 for ac_exec_ext
in '' $ac_executable_extensions; do
15005 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15006 ac_cv_prog_ac_ct_OBJCXX
="$ac_prog"
15007 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15016 ac_ct_OBJCXX
=$ac_cv_prog_ac_ct_OBJCXX
15017 if test -n "$ac_ct_OBJCXX"; then
15018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJCXX" >&5
15019 $as_echo "$ac_ct_OBJCXX" >&6; }
15021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15022 $as_echo "no" >&6; }
15026 test -n "$ac_ct_OBJCXX" && break
15029 if test "x$ac_ct_OBJCXX" = x
; then
15032 case $cross_compiling:$ac_tool_warned in
15034 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
15035 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
15036 ac_tool_warned
=yes ;;
15038 OBJCXX
=$ac_ct_OBJCXX
15042 # Provide some information about the compiler.
15043 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Objective C++ compiler version" >&5
15046 for ac_option
in --version -v -V -qversion; do
15047 { { ac_try
="$ac_compiler $ac_option >&5"
15048 case "(($ac_try" in
15049 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
15050 *) ac_try_echo=$ac_try;;
15052 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
15053 $as_echo "$ac_try_echo"; } >&5
15054 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
15056 if test -s conftest.err; then
15058 ... rest of stderr output deleted ...
15059 10q' conftest.err >conftest.er1
15060 cat conftest.er1 >&5
15062 rm -f conftest.er1 conftest.err
15063 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15064 test $ac_status = 0; }
15067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Objective C++ compiler" >&5
15068 $as_echo_n "checking whether we are using the GNU Objective C++ compiler... " >&6; }
15069 if ${ac_cv_objcxx_compiler_gnu+:} false; then :
15070 $as_echo_n "(cached) " >&6
15072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15073 /* end confdefs.h. */
15086 if ac_fn_objcxx_try_compile "$LINENO"; then :
15087 ac_compiler_gnu=yes
15091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15092 ac_cv_objcxx_compiler_gnu=$ac_compiler_gnu
15095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objcxx_compiler_gnu" >&5
15096 $as_echo "$ac_cv_objcxx_compiler_gnu" >&6; }
15097 if test $ac_compiler_gnu = yes; then
15102 ac_test_OBJCXXFLAGS=${OBJCXXFLAGS+set}
15103 ac_save_OBJCXXFLAGS=$OBJCXXFLAGS
15104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $OBJCXX accepts -g" >&5
15105 $as_echo_n "checking whether $OBJCXX accepts -g... " >&6; }
15106 if ${ac_cv_prog_objcxx_g+:} false; then :
15107 $as_echo_n "(cached) " >&6
15109 ac_save_objcxx_werror_flag=$ac_objcxx_werror_flag
15110 ac_objcxx_werror_flag=yes
15111 ac_cv_prog_objcxx_g=no
15113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15114 /* end confdefs.h. */
15124 if ac_fn_objcxx_try_compile "$LINENO"; then :
15125 ac_cv_prog_objcxx_g=yes
15128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15129 /* end confdefs.h. */
15139 if ac_fn_objcxx_try_compile "$LINENO"; then :
15142 ac_objcxx_werror_flag=$ac_save_objcxx_werror_flag
15144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15145 /* end confdefs.h. */
15155 if ac_fn_objcxx_try_compile "$LINENO"; then :
15156 ac_cv_prog_objcxx_g=yes
15158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15163 ac_objcxx_werror_flag=$ac_save_objcx_werror_flag
15165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objcxx_g" >&5
15166 $as_echo "$ac_cv_prog_objcxx_g" >&6; }
15167 if test "$ac_test_OBJCXXFLAGS" = set; then
15168 OBJCXXFLAGS=$ac_save_OBJCXXFLAGS
15169 elif test $ac_cv_prog_objcxx_g = yes; then
15170 if test "$GOBJCXX" = yes; then
15171 OBJCXXFLAGS="-g -O2"
15176 if test "$GOBJCXX" = yes; then
15183 ac_cpp='$CPP $CPPFLAGS'
15184 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15185 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15186 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15189 ac_cpp='$CXXCPP $CPPFLAGS'
15190 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15191 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15192 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15195 # Check whether --enable-universal-binary was given.
15196 if test "${enable_universal_binary+set}" = set; then :
15197 enableval=$enable_universal_binary;
15198 case $enableval in #(
15203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for universal binary support" >&5
15204 $as_echo_n "checking for universal binary support... " >&6; }
15205 case $host_vendor in #(
15208 case $host_cpu in #(
15209 armv6|i386|x86_64) :
15211 for cy_arch in armv6 i386 x86_64; do
15212 cy_save_CXXFLAGS=$CXXFLAGS
15214 for element in "-arch $cy_arch"; do
15216 for x in $CXXFLAGS; do
15218 acl_save_prefix="$prefix"
15219 prefix="$acl_final_prefix"
15220 acl_save_exec_prefix="$exec_prefix"
15221 exec_prefix="$acl_final_exec_prefix"
15223 exec_prefix="$acl_save_exec_prefix"
15224 prefix="$acl_save_prefix"
15226 if test "X$x" = "X$element"; then
15231 if test -z "$haveit"; then
15232 CXXFLAGS="${CXXFLAGS}${CXXFLAGS:+ }$element"
15236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15237 /* end confdefs.h. */
15247 if ac_fn_cxx_try_link "$LINENO"; then :
15250 for element in $cy_arch; do
15252 for x in $cy_arches; do
15254 acl_save_prefix="$prefix"
15255 prefix="$acl_final_prefix"
15256 acl_save_exec_prefix="$exec_prefix"
15257 exec_prefix="$acl_final_exec_prefix"
15259 exec_prefix="$acl_save_exec_prefix"
15260 prefix="$acl_save_prefix"
15262 if test "X$x" = "X$element"; then
15267 if test -z "$haveit"; then
15268 cy_arches="${cy_arches}${cy_arches:+ }$element"
15273 for element in "-arch $cy_arch"; do
15275 for x in $CFLAGS; do
15277 acl_save_prefix="$prefix"
15278 prefix="$acl_final_prefix"
15279 acl_save_exec_prefix="$exec_prefix"
15280 exec_prefix="$acl_final_exec_prefix"
15282 exec_prefix="$acl_save_exec_prefix"
15283 prefix="$acl_save_prefix"
15285 if test "X$x" = "X$element"; then
15290 if test -z "$haveit"; then
15291 CFLAGS="${CFLAGS}${CFLAGS:+ }$element"
15296 for element in "-arch $cy_arch"; do
15298 for x in $LDFLAGS; do
15300 acl_save_prefix="$prefix"
15301 prefix="$acl_final_prefix"
15302 acl_save_exec_prefix="$exec_prefix"
15303 exec_prefix="$acl_final_exec_prefix"
15305 exec_prefix="$acl_save_exec_prefix"
15306 prefix="$acl_save_prefix"
15308 if test "X$x" = "X$element"; then
15313 if test -z "$haveit"; then
15314 LDFLAGS="${LDFLAGS}${LDFLAGS:+ }$element"
15319 for element in "-arch $cy_arch"; do
15321 for x in $OBJCXXFLAGS; do
15323 acl_save_prefix="$prefix"
15324 prefix="$acl_final_prefix"
15325 acl_save_exec_prefix="$exec_prefix"
15326 exec_prefix="$acl_final_exec_prefix"
15328 exec_prefix="$acl_save_exec_prefix"
15329 prefix="$acl_save_prefix"
15331 if test "X$x" = "X$element"; then
15336 if test -z "$haveit"; then
15337 OBJCXXFLAGS="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
15344 CXXFLAGS=$cy_save_CXXFLAGS
15347 rm -f core conftest.err conftest.$ac_objext \
15348 conftest$ac_exeext conftest.$ac_ext
15358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${cy_arches-no}" >&5
15359 $as_echo "${cy_arches-no}" >&6; }
15365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for universal binary support" >&5
15366 $as_echo_n "checking for universal binary support... " >&6; }
15367 case $host_vendor in #(
15370 case $host_cpu in #(
15371 armv6|i386|x86_64) :
15373 for cy_arch in armv6 i386 x86_64; do
15374 cy_save_CXXFLAGS=$CXXFLAGS
15376 for element in "-arch $cy_arch"; do
15378 for x in $CXXFLAGS; do
15380 acl_save_prefix="$prefix"
15381 prefix="$acl_final_prefix"
15382 acl_save_exec_prefix="$exec_prefix"
15383 exec_prefix="$acl_final_exec_prefix"
15385 exec_prefix="$acl_save_exec_prefix"
15386 prefix="$acl_save_prefix"
15388 if test "X$x" = "X$element"; then
15393 if test -z "$haveit"; then
15394 CXXFLAGS="${CXXFLAGS}${CXXFLAGS:+ }$element"
15398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15399 /* end confdefs.h. */
15409 if ac_fn_cxx_try_link "$LINENO"; then :
15412 for element in $cy_arch; do
15414 for x in $cy_arches; do
15416 acl_save_prefix="$prefix"
15417 prefix="$acl_final_prefix"
15418 acl_save_exec_prefix="$exec_prefix"
15419 exec_prefix="$acl_final_exec_prefix"
15421 exec_prefix="$acl_save_exec_prefix"
15422 prefix="$acl_save_prefix"
15424 if test "X$x" = "X$element"; then
15429 if test -z "$haveit"; then
15430 cy_arches="${cy_arches}${cy_arches:+ }$element"
15435 for element in "-arch $cy_arch"; do
15437 for x in $CFLAGS; do
15439 acl_save_prefix="$prefix"
15440 prefix="$acl_final_prefix"
15441 acl_save_exec_prefix="$exec_prefix"
15442 exec_prefix="$acl_final_exec_prefix"
15444 exec_prefix="$acl_save_exec_prefix"
15445 prefix="$acl_save_prefix"
15447 if test "X$x" = "X$element"; then
15452 if test -z "$haveit"; then
15453 CFLAGS="${CFLAGS}${CFLAGS:+ }$element"
15458 for element in "-arch $cy_arch"; do
15460 for x in $LDFLAGS; do
15462 acl_save_prefix="$prefix"
15463 prefix="$acl_final_prefix"
15464 acl_save_exec_prefix="$exec_prefix"
15465 exec_prefix="$acl_final_exec_prefix"
15467 exec_prefix="$acl_save_exec_prefix"
15468 prefix="$acl_save_prefix"
15470 if test "X$x" = "X$element"; then
15475 if test -z "$haveit"; then
15476 LDFLAGS="${LDFLAGS}${LDFLAGS:+ }$element"
15481 for element in "-arch $cy_arch"; do
15483 for x in $OBJCXXFLAGS; do
15485 acl_save_prefix="$prefix"
15486 prefix="$acl_final_prefix"
15487 acl_save_exec_prefix="$exec_prefix"
15488 exec_prefix="$acl_final_exec_prefix"
15490 exec_prefix="$acl_save_exec_prefix"
15491 prefix="$acl_save_prefix"
15493 if test "X$x" = "X$element"; then
15498 if test -z "$haveit"; then
15499 OBJCXXFLAGS="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
15506 CXXFLAGS=$cy_save_CXXFLAGS
15509 rm -f core conftest.err conftest.$ac_objext \
15510 conftest$ac_exeext conftest.$ac_ext
15520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${cy_arches-no}" >&5
15521 $as_echo "${cy_arches-no}" >&6; }
15526 # Check whether --with-frameworks was given.
15527 if test "${with_frameworks+set}" = set; then :
15528 withval=$with_frameworks;
15529 for cy_framework in $withval; do
15531 for element in -F$cy_framework; do
15533 for x in $CFLAGS; do
15535 acl_save_prefix="$prefix"
15536 prefix="$acl_final_prefix"
15537 acl_save_exec_prefix="$exec_prefix"
15538 exec_prefix="$acl_final_exec_prefix"
15540 exec_prefix="$acl_save_exec_prefix"
15541 prefix="$acl_save_prefix"
15543 if test "X$x" = "X$element"; then
15548 if test -z "$haveit"; then
15549 CFLAGS="${CFLAGS}${CFLAGS:+ }$element"
15554 for element in -F$cy_framework; do
15556 for x in $CXXFLAGS; do
15558 acl_save_prefix="$prefix"
15559 prefix="$acl_final_prefix"
15560 acl_save_exec_prefix="$exec_prefix"
15561 exec_prefix="$acl_final_exec_prefix"
15563 exec_prefix="$acl_save_exec_prefix"
15564 prefix="$acl_save_prefix"
15566 if test "X$x" = "X$element"; then
15571 if test -z "$haveit"; then
15572 CXXFLAGS="${CXXFLAGS}${CXXFLAGS:+ }$element"
15577 for element in -F$cy_framework; do
15579 for x in $OBJCCXXFLAGS; do
15581 acl_save_prefix="$prefix"
15582 prefix="$acl_final_prefix"
15583 acl_save_exec_prefix="$exec_prefix"
15584 exec_prefix="$acl_final_exec_prefix"
15586 exec_prefix="$acl_save_exec_prefix"
15587 prefix="$acl_save_prefix"
15589 if test "X$x" = "X$element"; then
15594 if test -z "$haveit"; then
15595 OBJCCXXFLAGS="${OBJCCXXFLAGS}${OBJCCXXFLAGS:+ }$element"
15606 if test "$target_os" = "os2-emx"; then
15607 # Scripts don't pass test -x on OS/2
15613 acceptable_majors="1"
15615 apr_temp_acceptable_apr_config=""
15616 for apr_temp_major in $acceptable_majors
15618 case $apr_temp_major in
15620 apr_temp_acceptable_apr_config="$apr_temp_acceptable_apr_config apr-config"
15623 apr_temp_acceptable_apr_config="$apr_temp_acceptable_apr_config apr-$apr_temp_major-config"
15628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for APR" >&5
15629 $as_echo_n "checking for APR... " >&6; }
15631 # Check whether --with-apr was given.
15632 if test "${with_apr+set}" = set; then :
15634 if test "$withval" = "no" || test "$withval" = "yes"; then
15635 as_fn_error $? "--with-apr requires a directory or file to be provided" "$LINENO" 5
15638 for apr_temp_apr_config_file in $apr_temp_acceptable_apr_config
15640 for lookdir in "$withval/bin" "$withval"
15642 if $TEST_X "$lookdir/$apr_temp_apr_config_file"; then
15643 apr_config="$lookdir/$apr_temp_apr_config_file"
15651 if test "$apr_found" != "yes" && $TEST_X "$withval" && $withval --help > /dev/null 2>&1 ; then
15652 apr_config="$withval"
15656 if test "$apr_found" != "yes"; then
15657 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
15662 if test -n "1" && test "1" = "1"; then
15663 for apr_temp_apr_config_file in $apr_temp_acceptable_apr_config
15665 if $apr_temp_apr_config_file --help > /dev/null 2>&1 ; then
15666 apr_config="$apr_temp_apr_config_file"
15671 for lookdir in /usr /usr/local /usr/local/apr /opt/apr; do
15672 if $TEST_X "$lookdir/bin/$apr_temp_apr_config_file"; then
15673 apr_config="$lookdir/bin/$apr_temp_apr_config_file"
15682 if test "$apr_found" = "no" && test -d ""; then
15683 apr_temp_abs_srcdir="`cd && pwd`"
15684 apr_found="reconfig"
15685 apr_bundled_major="`sed -n '/#define.*APR_MAJOR_VERSION/s/^[^0-9]*\([0-9]*\).*$/\1/p' \"/include
/apr_version.h
\"`"
15686 case $apr_bundled_major in
15688 as_fn_error $? "failed to find major version of bundled APR" "$LINENO" 5
15691 apr_temp_apr_config_file="apr-config"
15694 apr_temp_apr_config_file="apr-$apr_bundled_major-config"
15697 if test -n ""; then
15698 apr_config="/$apr_temp_apr_config_file"
15700 apr_config="/$apr_temp_apr_config_file"
15707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $apr_found" >&5
15708 $as_echo "$apr_found" >&6; }
15710 case $apr_found in #(
15714 for element in `$apr_config --includes`; do
15716 for x in $CPPFLAGS; do
15718 acl_save_prefix="$prefix"
15719 prefix="$acl_final_prefix"
15720 acl_save_exec_prefix="$exec_prefix"
15721 exec_prefix="$acl_final_exec_prefix"
15723 exec_prefix="$acl_save_exec_prefix"
15724 prefix="$acl_save_prefix"
15726 if test "X$x" = "X$element"; then
15731 if test -z "$haveit"; then
15732 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
15736 LTLIBAPR=`$apr_config --link-libtool`
15740 as_fn_error $? "You need apr" "$LINENO" 5 ;;
15744 # Check whether --enable-javascript was given.
15745 if test "${enable_javascript+set}" = set; then :
15746 enableval=$enable_javascript;
15747 case $enableval in #(
15753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
15754 $as_echo_n "checking for WEBKIT... " >&6; }
15756 if test -n "$WEBKIT_CFLAGS"; then
15757 pkg_cv_WEBKIT_CFLAGS="$WEBKIT_CFLAGS"
15758 elif test -n "$PKG_CONFIG"; then
15759 if test -n "$PKG_CONFIG" && \
15760 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"webkit-1.0\""; } >&5
15761 ($PKG_CONFIG --exists --print-errors "webkit-1.0") 2>&5
15763 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15764 test $ac_status = 0; }; then
15765 pkg_cv_WEBKIT_CFLAGS=`$PKG_CONFIG --cflags "webkit-1.0" 2>/dev
/null
`
15766 test "x$?" != "x0" && pkg_failed=yes
15773 if test -n "$WEBKIT_LIBS"; then
15774 pkg_cv_WEBKIT_LIBS="$WEBKIT_LIBS"
15775 elif test -n "$PKG_CONFIG"; then
15776 if test -n "$PKG_CONFIG" && \
15777 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"webkit-1.0\""; } >&5
15778 ($PKG_CONFIG --exists --print-errors "webkit-1.0") 2>&5
15780 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15781 test $ac_status = 0; }; then
15782 pkg_cv_WEBKIT_LIBS=`$PKG_CONFIG --libs "webkit-1.0" 2>/dev
/null
`
15783 test "x$?" != "x0" && pkg_failed=yes
15793 if test $pkg_failed = yes; then
15794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15795 $as_echo "no" >&6; }
15797 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15798 _pkg_short_errors_supported=yes
15800 _pkg_short_errors_supported=no
15802 if test $_pkg_short_errors_supported = yes; then
15803 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "webkit-1.0" 2>&1`
15805 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "webkit-1.0" 2>&1`
15807 # Put the nasty error message in config.log where it belongs
15808 echo "$WEBKIT_PKG_ERRORS" >&5
15813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
15814 $as_echo_n "checking for WEBKIT... " >&6; }
15816 if test -n "$WEBKIT_CFLAGS"; then
15817 pkg_cv_WEBKIT_CFLAGS="$WEBKIT_CFLAGS"
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 \"WebKitGtk\""; } >&5
15821 ($PKG_CONFIG --exists --print-errors "WebKitGtk") 2>&5
15823 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15824 test $ac_status = 0; }; then
15825 pkg_cv_WEBKIT_CFLAGS=`$PKG_CONFIG --cflags "WebKitGtk" 2>/dev
/null
`
15826 test "x$?" != "x0" && pkg_failed=yes
15833 if test -n "$WEBKIT_LIBS"; then
15834 pkg_cv_WEBKIT_LIBS="$WEBKIT_LIBS"
15835 elif test -n "$PKG_CONFIG"; then
15836 if test -n "$PKG_CONFIG" && \
15837 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"WebKitGtk\""; } >&5
15838 ($PKG_CONFIG --exists --print-errors "WebKitGtk") 2>&5
15840 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15841 test $ac_status = 0; }; then
15842 pkg_cv_WEBKIT_LIBS=`$PKG_CONFIG --libs "WebKitGtk" 2>/dev
/null
`
15843 test "x$?" != "x0" && pkg_failed=yes
15853 if test $pkg_failed = yes; then
15854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15855 $as_echo "no" >&6; }
15857 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15858 _pkg_short_errors_supported=yes
15860 _pkg_short_errors_supported=no
15862 if test $_pkg_short_errors_supported = yes; then
15863 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "WebKitGtk" 2>&1`
15865 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "WebKitGtk" 2>&1`
15867 # Put the nasty error message in config.log where it belongs
15868 echo "$WEBKIT_PKG_ERRORS" >&5
15872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
15873 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
15874 if ${ac_cv_framework_JavaScriptCore+:} false; then :
15875 $as_echo_n "(cached) " >&6
15878 ac_check_framework_save_LIBS=$LIBS
15879 LIBS="-framework JavaScriptCore $LIBS"
15880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15881 /* end confdefs.h. */
15883 #include <JavaScriptCore/JSBase.h>
15888 JSEvaluateScript(0, 0, 0, 0, 0, 0);
15893 if ac_fn_cxx_try_link "$LINENO"; then :
15895 ac_cv_framework_JavaScriptCore=yes
15898 ac_cv_framework_JavaScriptCore=no
15900 rm -f core conftest.err conftest.$ac_objext \
15901 conftest$ac_exeext conftest.$ac_ext
15902 LIBS=$ac_check_framework_save_LIBS
15905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
15906 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
15907 if test $ac_cv_framework_JavaScriptCore = yes; then :
15910 for element in "-framework JavaScriptCore $LIBS"; do
15914 acl_save_prefix="$prefix"
15915 prefix="$acl_final_prefix"
15916 acl_save_exec_prefix="$exec_prefix"
15917 exec_prefix="$acl_final_exec_prefix"
15919 exec_prefix="$acl_save_exec_prefix"
15920 prefix="$acl_save_prefix"
15922 if test "X$x" = "X$element"; then
15927 if test -z "$haveit"; then
15928 LIBS="${LIBS}${LIBS:+ }$element"
15936 elif test $pkg_failed = untried; then
15937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15938 $as_echo "no" >&6; }
15941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
15942 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
15943 if ${ac_cv_framework_JavaScriptCore+:} false; then :
15944 $as_echo_n "(cached) " >&6
15947 ac_check_framework_save_LIBS=$LIBS
15948 LIBS="-framework JavaScriptCore $LIBS"
15949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15950 /* end confdefs.h. */
15952 #include <JavaScriptCore/JSBase.h>
15957 JSEvaluateScript(0, 0, 0, 0, 0, 0);
15962 if ac_fn_cxx_try_link "$LINENO"; then :
15964 ac_cv_framework_JavaScriptCore=yes
15967 ac_cv_framework_JavaScriptCore=no
15969 rm -f core conftest.err conftest.$ac_objext \
15970 conftest$ac_exeext conftest.$ac_ext
15971 LIBS=$ac_check_framework_save_LIBS
15974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
15975 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
15976 if test $ac_cv_framework_JavaScriptCore = yes; then :
15979 for element in "-framework JavaScriptCore $LIBS"; do
15983 acl_save_prefix="$prefix"
15984 prefix="$acl_final_prefix"
15985 acl_save_exec_prefix="$exec_prefix"
15986 exec_prefix="$acl_final_exec_prefix"
15988 exec_prefix="$acl_save_exec_prefix"
15989 prefix="$acl_save_prefix"
15991 if test "X$x" = "X$element"; then
15996 if test -z "$haveit"; then
15997 LIBS="${LIBS}${LIBS:+ }$element"
16006 WEBKIT_CFLAGS=$pkg_cv_WEBKIT_CFLAGS
16007 WEBKIT_LIBS=$pkg_cv_WEBKIT_LIBS
16008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16009 $as_echo "yes" >&6; }
16013 for element in `$PKG_CONFIG --cflags WebKitGtk
`; do
16015 for x in $CXXFLAGS; do
16017 acl_save_prefix="$prefix"
16018 prefix="$acl_final_prefix"
16019 acl_save_exec_prefix="$exec_prefix"
16020 exec_prefix="$acl_final_exec_prefix"
16022 exec_prefix="$acl_save_exec_prefix"
16023 prefix="$acl_save_prefix"
16025 if test "X$x" = "X$element"; then
16030 if test -z "$haveit"; then
16031 CXXFLAGS="${CXXFLAGS}${CXXFLAGS:+ }$element"
16036 for element in `$PKG_CONFIG --libs WebKitGtk
`; do
16040 acl_save_prefix="$prefix"
16041 prefix="$acl_final_prefix"
16042 acl_save_exec_prefix="$exec_prefix"
16043 exec_prefix="$acl_final_exec_prefix"
16045 exec_prefix="$acl_save_exec_prefix"
16046 prefix="$acl_save_prefix"
16048 if test "X$x" = "X$element"; then
16053 if test -z "$haveit"; then
16054 LIBS="${LIBS}${LIBS:+ }$element"
16061 elif test $pkg_failed = untried; then
16062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16063 $as_echo "no" >&6; }
16067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
16068 $as_echo_n "checking for WEBKIT... " >&6; }
16070 if test -n "$WEBKIT_CFLAGS"; then
16071 pkg_cv_WEBKIT_CFLAGS="$WEBKIT_CFLAGS"
16072 elif test -n "$PKG_CONFIG"; then
16073 if test -n "$PKG_CONFIG" && \
16074 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"WebKitGtk\""; } >&5
16075 ($PKG_CONFIG --exists --print-errors "WebKitGtk") 2>&5
16077 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16078 test $ac_status = 0; }; then
16079 pkg_cv_WEBKIT_CFLAGS=`$PKG_CONFIG --cflags "WebKitGtk" 2>/dev
/null
`
16080 test "x$?" != "x0" && pkg_failed=yes
16087 if test -n "$WEBKIT_LIBS"; then
16088 pkg_cv_WEBKIT_LIBS="$WEBKIT_LIBS"
16089 elif test -n "$PKG_CONFIG"; then
16090 if test -n "$PKG_CONFIG" && \
16091 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"WebKitGtk\""; } >&5
16092 ($PKG_CONFIG --exists --print-errors "WebKitGtk") 2>&5
16094 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16095 test $ac_status = 0; }; then
16096 pkg_cv_WEBKIT_LIBS=`$PKG_CONFIG --libs "WebKitGtk" 2>/dev
/null
`
16097 test "x$?" != "x0" && pkg_failed=yes
16107 if test $pkg_failed = yes; then
16108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16109 $as_echo "no" >&6; }
16111 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16112 _pkg_short_errors_supported=yes
16114 _pkg_short_errors_supported=no
16116 if test $_pkg_short_errors_supported = yes; then
16117 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "WebKitGtk" 2>&1`
16119 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "WebKitGtk" 2>&1`
16121 # Put the nasty error message in config.log where it belongs
16122 echo "$WEBKIT_PKG_ERRORS" >&5
16126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
16127 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
16128 if ${ac_cv_framework_JavaScriptCore+:} false; then :
16129 $as_echo_n "(cached) " >&6
16132 ac_check_framework_save_LIBS=$LIBS
16133 LIBS="-framework JavaScriptCore $LIBS"
16134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16135 /* end confdefs.h. */
16137 #include <JavaScriptCore/JSBase.h>
16142 JSEvaluateScript(0, 0, 0, 0, 0, 0);
16147 if ac_fn_cxx_try_link "$LINENO"; then :
16149 ac_cv_framework_JavaScriptCore=yes
16152 ac_cv_framework_JavaScriptCore=no
16154 rm -f core conftest.err conftest.$ac_objext \
16155 conftest$ac_exeext conftest.$ac_ext
16156 LIBS=$ac_check_framework_save_LIBS
16159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
16160 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
16161 if test $ac_cv_framework_JavaScriptCore = yes; then :
16164 for element in "-framework JavaScriptCore $LIBS"; do
16168 acl_save_prefix="$prefix"
16169 prefix="$acl_final_prefix"
16170 acl_save_exec_prefix="$exec_prefix"
16171 exec_prefix="$acl_final_exec_prefix"
16173 exec_prefix="$acl_save_exec_prefix"
16174 prefix="$acl_save_prefix"
16176 if test "X$x" = "X$element"; then
16181 if test -z "$haveit"; then
16182 LIBS="${LIBS}${LIBS:+ }$element"
16190 elif test $pkg_failed = untried; then
16191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16192 $as_echo "no" >&6; }
16195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
16196 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
16197 if ${ac_cv_framework_JavaScriptCore+:} false; then :
16198 $as_echo_n "(cached) " >&6
16201 ac_check_framework_save_LIBS=$LIBS
16202 LIBS="-framework JavaScriptCore $LIBS"
16203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16204 /* end confdefs.h. */
16206 #include <JavaScriptCore/JSBase.h>
16211 JSEvaluateScript(0, 0, 0, 0, 0, 0);
16216 if ac_fn_cxx_try_link "$LINENO"; then :
16218 ac_cv_framework_JavaScriptCore=yes
16221 ac_cv_framework_JavaScriptCore=no
16223 rm -f core conftest.err conftest.$ac_objext \
16224 conftest$ac_exeext conftest.$ac_ext
16225 LIBS=$ac_check_framework_save_LIBS
16228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
16229 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
16230 if test $ac_cv_framework_JavaScriptCore = yes; then :
16233 for element in "-framework JavaScriptCore $LIBS"; do
16237 acl_save_prefix="$prefix"
16238 prefix="$acl_final_prefix"
16239 acl_save_exec_prefix="$exec_prefix"
16240 exec_prefix="$acl_final_exec_prefix"
16242 exec_prefix="$acl_save_exec_prefix"
16243 prefix="$acl_save_prefix"
16245 if test "X$x" = "X$element"; then
16250 if test -z "$haveit"; then
16251 LIBS="${LIBS}${LIBS:+ }$element"
16260 WEBKIT_CFLAGS=$pkg_cv_WEBKIT_CFLAGS
16261 WEBKIT_LIBS=$pkg_cv_WEBKIT_LIBS
16262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16263 $as_echo "yes" >&6; }
16267 for element in `$PKG_CONFIG --cflags WebKitGtk
`; do
16269 for x in $CXXFLAGS; do
16271 acl_save_prefix="$prefix"
16272 prefix="$acl_final_prefix"
16273 acl_save_exec_prefix="$exec_prefix"
16274 exec_prefix="$acl_final_exec_prefix"
16276 exec_prefix="$acl_save_exec_prefix"
16277 prefix="$acl_save_prefix"
16279 if test "X$x" = "X$element"; then
16284 if test -z "$haveit"; then
16285 CXXFLAGS="${CXXFLAGS}${CXXFLAGS:+ }$element"
16290 for element in `$PKG_CONFIG --libs WebKitGtk
`; do
16294 acl_save_prefix="$prefix"
16295 prefix="$acl_final_prefix"
16296 acl_save_exec_prefix="$exec_prefix"
16297 exec_prefix="$acl_final_exec_prefix"
16299 exec_prefix="$acl_save_exec_prefix"
16300 prefix="$acl_save_prefix"
16302 if test "X$x" = "X$element"; then
16307 if test -z "$haveit"; then
16308 LIBS="${LIBS}${LIBS:+ }$element"
16316 WEBKIT_CFLAGS=$pkg_cv_WEBKIT_CFLAGS
16317 WEBKIT_LIBS=$pkg_cv_WEBKIT_LIBS
16318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16319 $as_echo "yes" >&6; }
16323 for element in `$PKG_CONFIG --cflags webkit
-1.0
`; do
16325 for x in $CXXFLAGS; do
16327 acl_save_prefix="$prefix"
16328 prefix="$acl_final_prefix"
16329 acl_save_exec_prefix="$exec_prefix"
16330 exec_prefix="$acl_final_exec_prefix"
16332 exec_prefix="$acl_save_exec_prefix"
16333 prefix="$acl_save_prefix"
16335 if test "X$x" = "X$element"; then
16340 if test -z "$haveit"; then
16341 CXXFLAGS="${CXXFLAGS}${CXXFLAGS:+ }$element"
16346 for element in `$PKG_CONFIG --libs webkit
-1.0
`; do
16350 acl_save_prefix="$prefix"
16351 prefix="$acl_final_prefix"
16352 acl_save_exec_prefix="$exec_prefix"
16353 exec_prefix="$acl_final_exec_prefix"
16355 exec_prefix="$acl_save_exec_prefix"
16356 prefix="$acl_save_prefix"
16358 if test "X$x" = "X$element"; then
16363 if test -z "$haveit"; then
16364 LIBS="${LIBS}${LIBS:+ }$element"
16382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
16383 $as_echo_n "checking for WEBKIT... " >&6; }
16385 if test -n "$WEBKIT_CFLAGS"; then
16386 pkg_cv_WEBKIT_CFLAGS="$WEBKIT_CFLAGS"
16387 elif test -n "$PKG_CONFIG"; then
16388 if test -n "$PKG_CONFIG" && \
16389 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"webkit-1.0\""; } >&5
16390 ($PKG_CONFIG --exists --print-errors "webkit-1.0") 2>&5
16392 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16393 test $ac_status = 0; }; then
16394 pkg_cv_WEBKIT_CFLAGS=`$PKG_CONFIG --cflags "webkit-1.0" 2>/dev
/null
`
16395 test "x$?" != "x0" && pkg_failed=yes
16402 if test -n "$WEBKIT_LIBS"; then
16403 pkg_cv_WEBKIT_LIBS="$WEBKIT_LIBS"
16404 elif test -n "$PKG_CONFIG"; then
16405 if test -n "$PKG_CONFIG" && \
16406 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"webkit-1.0\""; } >&5
16407 ($PKG_CONFIG --exists --print-errors "webkit-1.0") 2>&5
16409 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16410 test $ac_status = 0; }; then
16411 pkg_cv_WEBKIT_LIBS=`$PKG_CONFIG --libs "webkit-1.0" 2>/dev
/null
`
16412 test "x$?" != "x0" && pkg_failed=yes
16422 if test $pkg_failed = yes; then
16423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16424 $as_echo "no" >&6; }
16426 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16427 _pkg_short_errors_supported=yes
16429 _pkg_short_errors_supported=no
16431 if test $_pkg_short_errors_supported = yes; then
16432 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "webkit-1.0" 2>&1`
16434 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "webkit-1.0" 2>&1`
16436 # Put the nasty error message in config.log where it belongs
16437 echo "$WEBKIT_PKG_ERRORS" >&5
16442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
16443 $as_echo_n "checking for WEBKIT... " >&6; }
16445 if test -n "$WEBKIT_CFLAGS"; then
16446 pkg_cv_WEBKIT_CFLAGS="$WEBKIT_CFLAGS"
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 \"WebKitGtk\""; } >&5
16450 ($PKG_CONFIG --exists --print-errors "WebKitGtk") 2>&5
16452 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16453 test $ac_status = 0; }; then
16454 pkg_cv_WEBKIT_CFLAGS=`$PKG_CONFIG --cflags "WebKitGtk" 2>/dev
/null
`
16455 test "x$?" != "x0" && pkg_failed=yes
16462 if test -n "$WEBKIT_LIBS"; then
16463 pkg_cv_WEBKIT_LIBS="$WEBKIT_LIBS"
16464 elif test -n "$PKG_CONFIG"; then
16465 if test -n "$PKG_CONFIG" && \
16466 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"WebKitGtk\""; } >&5
16467 ($PKG_CONFIG --exists --print-errors "WebKitGtk") 2>&5
16469 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16470 test $ac_status = 0; }; then
16471 pkg_cv_WEBKIT_LIBS=`$PKG_CONFIG --libs "WebKitGtk" 2>/dev
/null
`
16472 test "x$?" != "x0" && pkg_failed=yes
16482 if test $pkg_failed = yes; then
16483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16484 $as_echo "no" >&6; }
16486 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16487 _pkg_short_errors_supported=yes
16489 _pkg_short_errors_supported=no
16491 if test $_pkg_short_errors_supported = yes; then
16492 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "WebKitGtk" 2>&1`
16494 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "WebKitGtk" 2>&1`
16496 # Put the nasty error message in config.log where it belongs
16497 echo "$WEBKIT_PKG_ERRORS" >&5
16501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
16502 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
16503 if ${ac_cv_framework_JavaScriptCore+:} false; then :
16504 $as_echo_n "(cached) " >&6
16507 ac_check_framework_save_LIBS=$LIBS
16508 LIBS="-framework JavaScriptCore $LIBS"
16509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16510 /* end confdefs.h. */
16512 #include <JavaScriptCore/JSBase.h>
16517 JSEvaluateScript(0, 0, 0, 0, 0, 0);
16522 if ac_fn_cxx_try_link "$LINENO"; then :
16524 ac_cv_framework_JavaScriptCore=yes
16527 ac_cv_framework_JavaScriptCore=no
16529 rm -f core conftest.err conftest.$ac_objext \
16530 conftest$ac_exeext conftest.$ac_ext
16531 LIBS=$ac_check_framework_save_LIBS
16534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
16535 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
16536 if test $ac_cv_framework_JavaScriptCore = yes; then :
16539 for element in "-framework JavaScriptCore $LIBS"; do
16543 acl_save_prefix="$prefix"
16544 prefix="$acl_final_prefix"
16545 acl_save_exec_prefix="$exec_prefix"
16546 exec_prefix="$acl_final_exec_prefix"
16548 exec_prefix="$acl_save_exec_prefix"
16549 prefix="$acl_save_prefix"
16551 if test "X$x" = "X$element"; then
16556 if test -z "$haveit"; then
16557 LIBS="${LIBS}${LIBS:+ }$element"
16565 elif test $pkg_failed = untried; then
16566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16567 $as_echo "no" >&6; }
16570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
16571 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
16572 if ${ac_cv_framework_JavaScriptCore+:} false; then :
16573 $as_echo_n "(cached) " >&6
16576 ac_check_framework_save_LIBS=$LIBS
16577 LIBS="-framework JavaScriptCore $LIBS"
16578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16579 /* end confdefs.h. */
16581 #include <JavaScriptCore/JSBase.h>
16586 JSEvaluateScript(0, 0, 0, 0, 0, 0);
16591 if ac_fn_cxx_try_link "$LINENO"; then :
16593 ac_cv_framework_JavaScriptCore=yes
16596 ac_cv_framework_JavaScriptCore=no
16598 rm -f core conftest.err conftest.$ac_objext \
16599 conftest$ac_exeext conftest.$ac_ext
16600 LIBS=$ac_check_framework_save_LIBS
16603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
16604 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
16605 if test $ac_cv_framework_JavaScriptCore = yes; then :
16608 for element in "-framework JavaScriptCore $LIBS"; do
16612 acl_save_prefix="$prefix"
16613 prefix="$acl_final_prefix"
16614 acl_save_exec_prefix="$exec_prefix"
16615 exec_prefix="$acl_final_exec_prefix"
16617 exec_prefix="$acl_save_exec_prefix"
16618 prefix="$acl_save_prefix"
16620 if test "X$x" = "X$element"; then
16625 if test -z "$haveit"; then
16626 LIBS="${LIBS}${LIBS:+ }$element"
16635 WEBKIT_CFLAGS=$pkg_cv_WEBKIT_CFLAGS
16636 WEBKIT_LIBS=$pkg_cv_WEBKIT_LIBS
16637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16638 $as_echo "yes" >&6; }
16642 for element in `$PKG_CONFIG --cflags WebKitGtk
`; do
16644 for x in $CXXFLAGS; do
16646 acl_save_prefix="$prefix"
16647 prefix="$acl_final_prefix"
16648 acl_save_exec_prefix="$exec_prefix"
16649 exec_prefix="$acl_final_exec_prefix"
16651 exec_prefix="$acl_save_exec_prefix"
16652 prefix="$acl_save_prefix"
16654 if test "X$x" = "X$element"; then
16659 if test -z "$haveit"; then
16660 CXXFLAGS="${CXXFLAGS}${CXXFLAGS:+ }$element"
16665 for element in `$PKG_CONFIG --libs WebKitGtk
`; do
16669 acl_save_prefix="$prefix"
16670 prefix="$acl_final_prefix"
16671 acl_save_exec_prefix="$exec_prefix"
16672 exec_prefix="$acl_final_exec_prefix"
16674 exec_prefix="$acl_save_exec_prefix"
16675 prefix="$acl_save_prefix"
16677 if test "X$x" = "X$element"; then
16682 if test -z "$haveit"; then
16683 LIBS="${LIBS}${LIBS:+ }$element"
16690 elif test $pkg_failed = untried; then
16691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16692 $as_echo "no" >&6; }
16696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
16697 $as_echo_n "checking for WEBKIT... " >&6; }
16699 if test -n "$WEBKIT_CFLAGS"; then
16700 pkg_cv_WEBKIT_CFLAGS="$WEBKIT_CFLAGS"
16701 elif test -n "$PKG_CONFIG"; then
16702 if test -n "$PKG_CONFIG" && \
16703 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"WebKitGtk\""; } >&5
16704 ($PKG_CONFIG --exists --print-errors "WebKitGtk") 2>&5
16706 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16707 test $ac_status = 0; }; then
16708 pkg_cv_WEBKIT_CFLAGS=`$PKG_CONFIG --cflags "WebKitGtk" 2>/dev
/null
`
16709 test "x$?" != "x0" && pkg_failed=yes
16716 if test -n "$WEBKIT_LIBS"; then
16717 pkg_cv_WEBKIT_LIBS="$WEBKIT_LIBS"
16718 elif test -n "$PKG_CONFIG"; then
16719 if test -n "$PKG_CONFIG" && \
16720 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"WebKitGtk\""; } >&5
16721 ($PKG_CONFIG --exists --print-errors "WebKitGtk") 2>&5
16723 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16724 test $ac_status = 0; }; then
16725 pkg_cv_WEBKIT_LIBS=`$PKG_CONFIG --libs "WebKitGtk" 2>/dev
/null
`
16726 test "x$?" != "x0" && pkg_failed=yes
16736 if test $pkg_failed = yes; then
16737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16738 $as_echo "no" >&6; }
16740 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16741 _pkg_short_errors_supported=yes
16743 _pkg_short_errors_supported=no
16745 if test $_pkg_short_errors_supported = yes; then
16746 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "WebKitGtk" 2>&1`
16748 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "WebKitGtk" 2>&1`
16750 # Put the nasty error message in config.log where it belongs
16751 echo "$WEBKIT_PKG_ERRORS" >&5
16755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
16756 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
16757 if ${ac_cv_framework_JavaScriptCore+:} false; then :
16758 $as_echo_n "(cached) " >&6
16761 ac_check_framework_save_LIBS=$LIBS
16762 LIBS="-framework JavaScriptCore $LIBS"
16763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16764 /* end confdefs.h. */
16766 #include <JavaScriptCore/JSBase.h>
16771 JSEvaluateScript(0, 0, 0, 0, 0, 0);
16776 if ac_fn_cxx_try_link "$LINENO"; then :
16778 ac_cv_framework_JavaScriptCore=yes
16781 ac_cv_framework_JavaScriptCore=no
16783 rm -f core conftest.err conftest.$ac_objext \
16784 conftest$ac_exeext conftest.$ac_ext
16785 LIBS=$ac_check_framework_save_LIBS
16788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
16789 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
16790 if test $ac_cv_framework_JavaScriptCore = yes; then :
16793 for element in "-framework JavaScriptCore $LIBS"; do
16797 acl_save_prefix="$prefix"
16798 prefix="$acl_final_prefix"
16799 acl_save_exec_prefix="$exec_prefix"
16800 exec_prefix="$acl_final_exec_prefix"
16802 exec_prefix="$acl_save_exec_prefix"
16803 prefix="$acl_save_prefix"
16805 if test "X$x" = "X$element"; then
16810 if test -z "$haveit"; then
16811 LIBS="${LIBS}${LIBS:+ }$element"
16819 elif test $pkg_failed = untried; then
16820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16821 $as_echo "no" >&6; }
16824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
16825 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
16826 if ${ac_cv_framework_JavaScriptCore+:} false; then :
16827 $as_echo_n "(cached) " >&6
16830 ac_check_framework_save_LIBS=$LIBS
16831 LIBS="-framework JavaScriptCore $LIBS"
16832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16833 /* end confdefs.h. */
16835 #include <JavaScriptCore/JSBase.h>
16840 JSEvaluateScript(0, 0, 0, 0, 0, 0);
16845 if ac_fn_cxx_try_link "$LINENO"; then :
16847 ac_cv_framework_JavaScriptCore=yes
16850 ac_cv_framework_JavaScriptCore=no
16852 rm -f core conftest.err conftest.$ac_objext \
16853 conftest$ac_exeext conftest.$ac_ext
16854 LIBS=$ac_check_framework_save_LIBS
16857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
16858 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
16859 if test $ac_cv_framework_JavaScriptCore = yes; then :
16862 for element in "-framework JavaScriptCore $LIBS"; do
16866 acl_save_prefix="$prefix"
16867 prefix="$acl_final_prefix"
16868 acl_save_exec_prefix="$exec_prefix"
16869 exec_prefix="$acl_final_exec_prefix"
16871 exec_prefix="$acl_save_exec_prefix"
16872 prefix="$acl_save_prefix"
16874 if test "X$x" = "X$element"; then
16879 if test -z "$haveit"; then
16880 LIBS="${LIBS}${LIBS:+ }$element"
16889 WEBKIT_CFLAGS=$pkg_cv_WEBKIT_CFLAGS
16890 WEBKIT_LIBS=$pkg_cv_WEBKIT_LIBS
16891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16892 $as_echo "yes" >&6; }
16896 for element in `$PKG_CONFIG --cflags WebKitGtk
`; do
16898 for x in $CXXFLAGS; do
16900 acl_save_prefix="$prefix"
16901 prefix="$acl_final_prefix"
16902 acl_save_exec_prefix="$exec_prefix"
16903 exec_prefix="$acl_final_exec_prefix"
16905 exec_prefix="$acl_save_exec_prefix"
16906 prefix="$acl_save_prefix"
16908 if test "X$x" = "X$element"; then
16913 if test -z "$haveit"; then
16914 CXXFLAGS="${CXXFLAGS}${CXXFLAGS:+ }$element"
16919 for element in `$PKG_CONFIG --libs WebKitGtk
`; do
16923 acl_save_prefix="$prefix"
16924 prefix="$acl_final_prefix"
16925 acl_save_exec_prefix="$exec_prefix"
16926 exec_prefix="$acl_final_exec_prefix"
16928 exec_prefix="$acl_save_exec_prefix"
16929 prefix="$acl_save_prefix"
16931 if test "X$x" = "X$element"; then
16936 if test -z "$haveit"; then
16937 LIBS="${LIBS}${LIBS:+ }$element"
16945 WEBKIT_CFLAGS=$pkg_cv_WEBKIT_CFLAGS
16946 WEBKIT_LIBS=$pkg_cv_WEBKIT_LIBS
16947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16948 $as_echo "yes" >&6; }
16952 for element in `$PKG_CONFIG --cflags webkit
-1.0
`; do
16954 for x in $CXXFLAGS; do
16956 acl_save_prefix="$prefix"
16957 prefix="$acl_final_prefix"
16958 acl_save_exec_prefix="$exec_prefix"
16959 exec_prefix="$acl_final_exec_prefix"
16961 exec_prefix="$acl_save_exec_prefix"
16962 prefix="$acl_save_prefix"
16964 if test "X$x" = "X$element"; then
16969 if test -z "$haveit"; then
16970 CXXFLAGS="${CXXFLAGS}${CXXFLAGS:+ }$element"
16975 for element in `$PKG_CONFIG --libs webkit
-1.0
`; do
16979 acl_save_prefix="$prefix"
16980 prefix="$acl_final_prefix"
16981 acl_save_exec_prefix="$exec_prefix"
16982 exec_prefix="$acl_final_exec_prefix"
16984 exec_prefix="$acl_save_exec_prefix"
16985 prefix="$acl_save_prefix"
16987 if test "X$x" = "X$element"; then
16992 if test -z "$haveit"; then
16993 LIBS="${LIBS}${LIBS:+ }$element"
17002 as_fn_error $? "Unknown JavaScript engine: $enableval" "$LINENO" 5 ;;
17010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
17011 $as_echo_n "checking for WEBKIT... " >&6; }
17013 if test -n "$WEBKIT_CFLAGS"; then
17014 pkg_cv_WEBKIT_CFLAGS="$WEBKIT_CFLAGS"
17015 elif test -n "$PKG_CONFIG"; then
17016 if test -n "$PKG_CONFIG" && \
17017 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"webkit-1.0\""; } >&5
17018 ($PKG_CONFIG --exists --print-errors "webkit-1.0") 2>&5
17020 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17021 test $ac_status = 0; }; then
17022 pkg_cv_WEBKIT_CFLAGS=`$PKG_CONFIG --cflags "webkit-1.0" 2>/dev
/null
`
17023 test "x$?" != "x0" && pkg_failed=yes
17030 if test -n "$WEBKIT_LIBS"; then
17031 pkg_cv_WEBKIT_LIBS="$WEBKIT_LIBS"
17032 elif test -n "$PKG_CONFIG"; then
17033 if test -n "$PKG_CONFIG" && \
17034 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"webkit-1.0\""; } >&5
17035 ($PKG_CONFIG --exists --print-errors "webkit-1.0") 2>&5
17037 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17038 test $ac_status = 0; }; then
17039 pkg_cv_WEBKIT_LIBS=`$PKG_CONFIG --libs "webkit-1.0" 2>/dev
/null
`
17040 test "x$?" != "x0" && pkg_failed=yes
17050 if test $pkg_failed = yes; then
17051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17052 $as_echo "no" >&6; }
17054 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17055 _pkg_short_errors_supported=yes
17057 _pkg_short_errors_supported=no
17059 if test $_pkg_short_errors_supported = yes; then
17060 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "webkit-1.0" 2>&1`
17062 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "webkit-1.0" 2>&1`
17064 # Put the nasty error message in config.log where it belongs
17065 echo "$WEBKIT_PKG_ERRORS" >&5
17070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
17071 $as_echo_n "checking for WEBKIT... " >&6; }
17073 if test -n "$WEBKIT_CFLAGS"; then
17074 pkg_cv_WEBKIT_CFLAGS="$WEBKIT_CFLAGS"
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 \"WebKitGtk\""; } >&5
17078 ($PKG_CONFIG --exists --print-errors "WebKitGtk") 2>&5
17080 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17081 test $ac_status = 0; }; then
17082 pkg_cv_WEBKIT_CFLAGS=`$PKG_CONFIG --cflags "WebKitGtk" 2>/dev
/null
`
17083 test "x$?" != "x0" && pkg_failed=yes
17090 if test -n "$WEBKIT_LIBS"; then
17091 pkg_cv_WEBKIT_LIBS="$WEBKIT_LIBS"
17092 elif test -n "$PKG_CONFIG"; then
17093 if test -n "$PKG_CONFIG" && \
17094 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"WebKitGtk\""; } >&5
17095 ($PKG_CONFIG --exists --print-errors "WebKitGtk") 2>&5
17097 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17098 test $ac_status = 0; }; then
17099 pkg_cv_WEBKIT_LIBS=`$PKG_CONFIG --libs "WebKitGtk" 2>/dev
/null
`
17100 test "x$?" != "x0" && pkg_failed=yes
17110 if test $pkg_failed = yes; then
17111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17112 $as_echo "no" >&6; }
17114 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17115 _pkg_short_errors_supported=yes
17117 _pkg_short_errors_supported=no
17119 if test $_pkg_short_errors_supported = yes; then
17120 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "WebKitGtk" 2>&1`
17122 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "WebKitGtk" 2>&1`
17124 # Put the nasty error message in config.log where it belongs
17125 echo "$WEBKIT_PKG_ERRORS" >&5
17129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
17130 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
17131 if ${ac_cv_framework_JavaScriptCore+:} false; then :
17132 $as_echo_n "(cached) " >&6
17135 ac_check_framework_save_LIBS=$LIBS
17136 LIBS="-framework JavaScriptCore $LIBS"
17137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17138 /* end confdefs.h. */
17140 #include <JavaScriptCore/JSBase.h>
17145 JSEvaluateScript(0, 0, 0, 0, 0, 0);
17150 if ac_fn_cxx_try_link "$LINENO"; then :
17152 ac_cv_framework_JavaScriptCore=yes
17155 ac_cv_framework_JavaScriptCore=no
17157 rm -f core conftest.err conftest.$ac_objext \
17158 conftest$ac_exeext conftest.$ac_ext
17159 LIBS=$ac_check_framework_save_LIBS
17162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
17163 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
17164 if test $ac_cv_framework_JavaScriptCore = yes; then :
17167 for element in "-framework JavaScriptCore $LIBS"; do
17171 acl_save_prefix="$prefix"
17172 prefix="$acl_final_prefix"
17173 acl_save_exec_prefix="$exec_prefix"
17174 exec_prefix="$acl_final_exec_prefix"
17176 exec_prefix="$acl_save_exec_prefix"
17177 prefix="$acl_save_prefix"
17179 if test "X$x" = "X$element"; then
17184 if test -z "$haveit"; then
17185 LIBS="${LIBS}${LIBS:+ }$element"
17193 elif test $pkg_failed = untried; then
17194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17195 $as_echo "no" >&6; }
17198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
17199 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
17200 if ${ac_cv_framework_JavaScriptCore+:} false; then :
17201 $as_echo_n "(cached) " >&6
17204 ac_check_framework_save_LIBS=$LIBS
17205 LIBS="-framework JavaScriptCore $LIBS"
17206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17207 /* end confdefs.h. */
17209 #include <JavaScriptCore/JSBase.h>
17214 JSEvaluateScript(0, 0, 0, 0, 0, 0);
17219 if ac_fn_cxx_try_link "$LINENO"; then :
17221 ac_cv_framework_JavaScriptCore=yes
17224 ac_cv_framework_JavaScriptCore=no
17226 rm -f core conftest.err conftest.$ac_objext \
17227 conftest$ac_exeext conftest.$ac_ext
17228 LIBS=$ac_check_framework_save_LIBS
17231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
17232 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
17233 if test $ac_cv_framework_JavaScriptCore = yes; then :
17236 for element in "-framework JavaScriptCore $LIBS"; do
17240 acl_save_prefix="$prefix"
17241 prefix="$acl_final_prefix"
17242 acl_save_exec_prefix="$exec_prefix"
17243 exec_prefix="$acl_final_exec_prefix"
17245 exec_prefix="$acl_save_exec_prefix"
17246 prefix="$acl_save_prefix"
17248 if test "X$x" = "X$element"; then
17253 if test -z "$haveit"; then
17254 LIBS="${LIBS}${LIBS:+ }$element"
17263 WEBKIT_CFLAGS=$pkg_cv_WEBKIT_CFLAGS
17264 WEBKIT_LIBS=$pkg_cv_WEBKIT_LIBS
17265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17266 $as_echo "yes" >&6; }
17270 for element in `$PKG_CONFIG --cflags WebKitGtk
`; do
17272 for x in $CXXFLAGS; do
17274 acl_save_prefix="$prefix"
17275 prefix="$acl_final_prefix"
17276 acl_save_exec_prefix="$exec_prefix"
17277 exec_prefix="$acl_final_exec_prefix"
17279 exec_prefix="$acl_save_exec_prefix"
17280 prefix="$acl_save_prefix"
17282 if test "X$x" = "X$element"; then
17287 if test -z "$haveit"; then
17288 CXXFLAGS="${CXXFLAGS}${CXXFLAGS:+ }$element"
17293 for element in `$PKG_CONFIG --libs WebKitGtk
`; do
17297 acl_save_prefix="$prefix"
17298 prefix="$acl_final_prefix"
17299 acl_save_exec_prefix="$exec_prefix"
17300 exec_prefix="$acl_final_exec_prefix"
17302 exec_prefix="$acl_save_exec_prefix"
17303 prefix="$acl_save_prefix"
17305 if test "X$x" = "X$element"; then
17310 if test -z "$haveit"; then
17311 LIBS="${LIBS}${LIBS:+ }$element"
17318 elif test $pkg_failed = untried; then
17319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17320 $as_echo "no" >&6; }
17324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
17325 $as_echo_n "checking for WEBKIT... " >&6; }
17327 if test -n "$WEBKIT_CFLAGS"; then
17328 pkg_cv_WEBKIT_CFLAGS="$WEBKIT_CFLAGS"
17329 elif test -n "$PKG_CONFIG"; then
17330 if test -n "$PKG_CONFIG" && \
17331 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"WebKitGtk\""; } >&5
17332 ($PKG_CONFIG --exists --print-errors "WebKitGtk") 2>&5
17334 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17335 test $ac_status = 0; }; then
17336 pkg_cv_WEBKIT_CFLAGS=`$PKG_CONFIG --cflags "WebKitGtk" 2>/dev
/null
`
17337 test "x$?" != "x0" && pkg_failed=yes
17344 if test -n "$WEBKIT_LIBS"; then
17345 pkg_cv_WEBKIT_LIBS="$WEBKIT_LIBS"
17346 elif test -n "$PKG_CONFIG"; then
17347 if test -n "$PKG_CONFIG" && \
17348 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"WebKitGtk\""; } >&5
17349 ($PKG_CONFIG --exists --print-errors "WebKitGtk") 2>&5
17351 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17352 test $ac_status = 0; }; then
17353 pkg_cv_WEBKIT_LIBS=`$PKG_CONFIG --libs "WebKitGtk" 2>/dev
/null
`
17354 test "x$?" != "x0" && pkg_failed=yes
17364 if test $pkg_failed = yes; then
17365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17366 $as_echo "no" >&6; }
17368 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17369 _pkg_short_errors_supported=yes
17371 _pkg_short_errors_supported=no
17373 if test $_pkg_short_errors_supported = yes; then
17374 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "WebKitGtk" 2>&1`
17376 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "WebKitGtk" 2>&1`
17378 # Put the nasty error message in config.log where it belongs
17379 echo "$WEBKIT_PKG_ERRORS" >&5
17383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
17384 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
17385 if ${ac_cv_framework_JavaScriptCore+:} false; then :
17386 $as_echo_n "(cached) " >&6
17389 ac_check_framework_save_LIBS=$LIBS
17390 LIBS="-framework JavaScriptCore $LIBS"
17391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17392 /* end confdefs.h. */
17394 #include <JavaScriptCore/JSBase.h>
17399 JSEvaluateScript(0, 0, 0, 0, 0, 0);
17404 if ac_fn_cxx_try_link "$LINENO"; then :
17406 ac_cv_framework_JavaScriptCore=yes
17409 ac_cv_framework_JavaScriptCore=no
17411 rm -f core conftest.err conftest.$ac_objext \
17412 conftest$ac_exeext conftest.$ac_ext
17413 LIBS=$ac_check_framework_save_LIBS
17416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
17417 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
17418 if test $ac_cv_framework_JavaScriptCore = yes; then :
17421 for element in "-framework JavaScriptCore $LIBS"; do
17425 acl_save_prefix="$prefix"
17426 prefix="$acl_final_prefix"
17427 acl_save_exec_prefix="$exec_prefix"
17428 exec_prefix="$acl_final_exec_prefix"
17430 exec_prefix="$acl_save_exec_prefix"
17431 prefix="$acl_save_prefix"
17433 if test "X$x" = "X$element"; then
17438 if test -z "$haveit"; then
17439 LIBS="${LIBS}${LIBS:+ }$element"
17447 elif test $pkg_failed = untried; then
17448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17449 $as_echo "no" >&6; }
17452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
17453 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
17454 if ${ac_cv_framework_JavaScriptCore+:} false; then :
17455 $as_echo_n "(cached) " >&6
17458 ac_check_framework_save_LIBS=$LIBS
17459 LIBS="-framework JavaScriptCore $LIBS"
17460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17461 /* end confdefs.h. */
17463 #include <JavaScriptCore/JSBase.h>
17468 JSEvaluateScript(0, 0, 0, 0, 0, 0);
17473 if ac_fn_cxx_try_link "$LINENO"; then :
17475 ac_cv_framework_JavaScriptCore=yes
17478 ac_cv_framework_JavaScriptCore=no
17480 rm -f core conftest.err conftest.$ac_objext \
17481 conftest$ac_exeext conftest.$ac_ext
17482 LIBS=$ac_check_framework_save_LIBS
17485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
17486 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
17487 if test $ac_cv_framework_JavaScriptCore = yes; then :
17490 for element in "-framework JavaScriptCore $LIBS"; do
17494 acl_save_prefix="$prefix"
17495 prefix="$acl_final_prefix"
17496 acl_save_exec_prefix="$exec_prefix"
17497 exec_prefix="$acl_final_exec_prefix"
17499 exec_prefix="$acl_save_exec_prefix"
17500 prefix="$acl_save_prefix"
17502 if test "X$x" = "X$element"; then
17507 if test -z "$haveit"; then
17508 LIBS="${LIBS}${LIBS:+ }$element"
17517 WEBKIT_CFLAGS=$pkg_cv_WEBKIT_CFLAGS
17518 WEBKIT_LIBS=$pkg_cv_WEBKIT_LIBS
17519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17520 $as_echo "yes" >&6; }
17524 for element in `$PKG_CONFIG --cflags WebKitGtk
`; do
17526 for x in $CXXFLAGS; do
17528 acl_save_prefix="$prefix"
17529 prefix="$acl_final_prefix"
17530 acl_save_exec_prefix="$exec_prefix"
17531 exec_prefix="$acl_final_exec_prefix"
17533 exec_prefix="$acl_save_exec_prefix"
17534 prefix="$acl_save_prefix"
17536 if test "X$x" = "X$element"; then
17541 if test -z "$haveit"; then
17542 CXXFLAGS="${CXXFLAGS}${CXXFLAGS:+ }$element"
17547 for element in `$PKG_CONFIG --libs WebKitGtk
`; do
17551 acl_save_prefix="$prefix"
17552 prefix="$acl_final_prefix"
17553 acl_save_exec_prefix="$exec_prefix"
17554 exec_prefix="$acl_final_exec_prefix"
17556 exec_prefix="$acl_save_exec_prefix"
17557 prefix="$acl_save_prefix"
17559 if test "X$x" = "X$element"; then
17564 if test -z "$haveit"; then
17565 LIBS="${LIBS}${LIBS:+ }$element"
17573 WEBKIT_CFLAGS=$pkg_cv_WEBKIT_CFLAGS
17574 WEBKIT_LIBS=$pkg_cv_WEBKIT_LIBS
17575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17576 $as_echo "yes" >&6; }
17580 for element in `$PKG_CONFIG --cflags webkit
-1.0
`; do
17582 for x in $CXXFLAGS; do
17584 acl_save_prefix="$prefix"
17585 prefix="$acl_final_prefix"
17586 acl_save_exec_prefix="$exec_prefix"
17587 exec_prefix="$acl_final_exec_prefix"
17589 exec_prefix="$acl_save_exec_prefix"
17590 prefix="$acl_save_prefix"
17592 if test "X$x" = "X$element"; then
17597 if test -z "$haveit"; then
17598 CXXFLAGS="${CXXFLAGS}${CXXFLAGS:+ }$element"
17603 for element in `$PKG_CONFIG --libs webkit
-1.0
`; do
17607 acl_save_prefix="$prefix"
17608 prefix="$acl_final_prefix"
17609 acl_save_exec_prefix="$exec_prefix"
17610 exec_prefix="$acl_final_exec_prefix"
17612 exec_prefix="$acl_save_exec_prefix"
17613 prefix="$acl_save_prefix"
17615 if test "X$x" = "X$element"; then
17620 if test -z "$haveit"; then
17621 LIBS="${LIBS}${LIBS:+ }$element"
17634 case $CY_EXECUTE in #(
17638 for ac_header in ffi.h ffi/ffi.h
17640 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
17641 ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
17642 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
17643 cat >>confdefs.h <<_ACEOF
17644 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
17651 if test "x$ac_cv_header_ffi_h" = xno && test "x$ac_cv_header_ffi_ffi_h" = xno; then :
17656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBFFI" >&5
17657 $as_echo_n "checking for LIBFFI... " >&6; }
17659 if test -n "$LIBFFI_CFLAGS"; then
17660 pkg_cv_LIBFFI_CFLAGS="$LIBFFI_CFLAGS"
17661 elif test -n "$PKG_CONFIG"; then
17662 if test -n "$PKG_CONFIG" && \
17663 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libffi\""; } >&5
17664 ($PKG_CONFIG --exists --print-errors "libffi") 2>&5
17666 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17667 test $ac_status = 0; }; then
17668 pkg_cv_LIBFFI_CFLAGS=`$PKG_CONFIG --cflags "libffi" 2>/dev
/null
`
17669 test "x$?" != "x0" && pkg_failed=yes
17676 if test -n "$LIBFFI_LIBS"; then
17677 pkg_cv_LIBFFI_LIBS="$LIBFFI_LIBS"
17678 elif test -n "$PKG_CONFIG"; then
17679 if test -n "$PKG_CONFIG" && \
17680 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libffi\""; } >&5
17681 ($PKG_CONFIG --exists --print-errors "libffi") 2>&5
17683 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17684 test $ac_status = 0; }; then
17685 pkg_cv_LIBFFI_LIBS=`$PKG_CONFIG --libs "libffi" 2>/dev
/null
`
17686 test "x$?" != "x0" && pkg_failed=yes
17696 if test $pkg_failed = yes; then
17697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17698 $as_echo "no" >&6; }
17700 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17701 _pkg_short_errors_supported=yes
17703 _pkg_short_errors_supported=no
17705 if test $_pkg_short_errors_supported = yes; then
17706 LIBFFI_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libffi" 2>&1`
17708 LIBFFI_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libffi" 2>&1`
17710 # Put the nasty error message in config.log where it belongs
17711 echo "$LIBFFI_PKG_ERRORS" >&5
17714 as_fn_error $? "You need libffi" "$LINENO" 5
17716 elif test $pkg_failed = untried; then
17717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17718 $as_echo "no" >&6; }
17720 as_fn_error $? "You need libffi" "$LINENO" 5
17723 LIBFFI_CFLAGS=$pkg_cv_LIBFFI_CFLAGS
17724 LIBFFI_LIBS=$pkg_cv_LIBFFI_LIBS
17725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17726 $as_echo "yes" >&6; }
17729 for element in `$PKG_CONFIG --cflags libffi
`; do
17731 for x in $CXXFLAGS; do
17733 acl_save_prefix="$prefix"
17734 prefix="$acl_final_prefix"
17735 acl_save_exec_prefix="$exec_prefix"
17736 exec_prefix="$acl_final_exec_prefix"
17738 exec_prefix="$acl_save_exec_prefix"
17739 prefix="$acl_save_prefix"
17741 if test "X$x" = "X$element"; then
17746 if test -z "$haveit"; then
17747 CXXFLAGS="${CXXFLAGS}${CXXFLAGS:+ }$element"
17752 for element in `$PKG_CONFIG --libs libffi
`; do
17756 acl_save_prefix="$prefix"
17757 prefix="$acl_final_prefix"
17758 acl_save_exec_prefix="$exec_prefix"
17759 exec_prefix="$acl_final_exec_prefix"
17761 exec_prefix="$acl_save_exec_prefix"
17762 prefix="$acl_save_prefix"
17764 if test "X$x" = "X$element"; then
17769 if test -z "$haveit"; then
17770 LIBS="${LIBS}${LIBS:+ }$element"
17780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing ffi_call" >&5
17781 $as_echo_n "checking for library containing ffi_call... " >&6; }
17782 if ${ac_cv_search_ffi_call+:} false; then :
17783 $as_echo_n "(cached) " >&6
17785 ac_func_search_save_LIBS=$LIBS
17786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17787 /* end confdefs.h. */
17789 /* Override any GCC internal prototype to avoid an error.
17790 Use char because int might match the return type of a GCC
17791 builtin and then its argument prototype would still apply. */
17799 return ffi_call ();
17804 for ac_lib in '' ffi; do
17805 if test -z "$ac_lib"; then
17806 ac_res="none required"
17809 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17811 if ac_fn_cxx_try_link "$LINENO"; then :
17812 ac_cv_search_ffi_call=$ac_res
17814 rm -f core conftest.err conftest.$ac_objext \
17816 if ${ac_cv_search_ffi_call+:} false; then :
17820 if ${ac_cv_search_ffi_call+:} false; then :
17823 ac_cv_search_ffi_call=no
17825 rm conftest.$ac_ext
17826 LIBS=$ac_func_search_save_LIBS
17828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_ffi_call" >&5
17829 $as_echo "$ac_cv_search_ffi_call" >&6; }
17830 ac_res=$ac_cv_search_ffi_call
17831 if test "$ac_res" != no; then :
17832 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17836 case $ac_cv_search_ffi_call in #(
17841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBFFI" >&5
17842 $as_echo_n "checking for LIBFFI... " >&6; }
17844 if test -n "$LIBFFI_CFLAGS"; then
17845 pkg_cv_LIBFFI_CFLAGS="$LIBFFI_CFLAGS"
17846 elif test -n "$PKG_CONFIG"; then
17847 if test -n "$PKG_CONFIG" && \
17848 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libffi\""; } >&5
17849 ($PKG_CONFIG --exists --print-errors "libffi") 2>&5
17851 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17852 test $ac_status = 0; }; then
17853 pkg_cv_LIBFFI_CFLAGS=`$PKG_CONFIG --cflags "libffi" 2>/dev
/null
`
17854 test "x$?" != "x0" && pkg_failed=yes
17861 if test -n "$LIBFFI_LIBS"; then
17862 pkg_cv_LIBFFI_LIBS="$LIBFFI_LIBS"
17863 elif test -n "$PKG_CONFIG"; then
17864 if test -n "$PKG_CONFIG" && \
17865 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libffi\""; } >&5
17866 ($PKG_CONFIG --exists --print-errors "libffi") 2>&5
17868 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17869 test $ac_status = 0; }; then
17870 pkg_cv_LIBFFI_LIBS=`$PKG_CONFIG --libs "libffi" 2>/dev
/null
`
17871 test "x$?" != "x0" && pkg_failed=yes
17881 if test $pkg_failed = yes; then
17882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17883 $as_echo "no" >&6; }
17885 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17886 _pkg_short_errors_supported=yes
17888 _pkg_short_errors_supported=no
17890 if test $_pkg_short_errors_supported = yes; then
17891 LIBFFI_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libffi" 2>&1`
17893 LIBFFI_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libffi" 2>&1`
17895 # Put the nasty error message in config.log where it belongs
17896 echo "$LIBFFI_PKG_ERRORS" >&5
17899 as_fn_error $? "You need libffi" "$LINENO" 5
17901 elif test $pkg_failed = untried; then
17902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17903 $as_echo "no" >&6; }
17905 as_fn_error $? "You need libffi" "$LINENO" 5
17908 LIBFFI_CFLAGS=$pkg_cv_LIBFFI_CFLAGS
17909 LIBFFI_LIBS=$pkg_cv_LIBFFI_LIBS
17910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17911 $as_echo "yes" >&6; }
17914 for element in `$PKG_CONFIG --cflags libffi
`; do
17916 for x in $CXXFLAGS; do
17918 acl_save_prefix="$prefix"
17919 prefix="$acl_final_prefix"
17920 acl_save_exec_prefix="$exec_prefix"
17921 exec_prefix="$acl_final_exec_prefix"
17923 exec_prefix="$acl_save_exec_prefix"
17924 prefix="$acl_save_prefix"
17926 if test "X$x" = "X$element"; then
17931 if test -z "$haveit"; then
17932 CXXFLAGS="${CXXFLAGS}${CXXFLAGS:+ }$element"
17937 for element in `$PKG_CONFIG --libs libffi
`; do
17941 acl_save_prefix="$prefix"
17942 prefix="$acl_final_prefix"
17943 acl_save_exec_prefix="$exec_prefix"
17944 exec_prefix="$acl_final_exec_prefix"
17946 exec_prefix="$acl_save_exec_prefix"
17947 prefix="$acl_save_prefix"
17949 if test "X$x" = "X$element"; then
17954 if test -z "$haveit"; then
17955 LIBS="${LIBS}${LIBS:+ }$element"
17968 ac_cpp='$OBJCXXCPP $CPPFLAGS'
17969 ac_compile='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17970 ac_link='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17971 ac_compiler_gnu=$ac_cv_objcxx_compiler_gnu
17973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we really have Objective C++" >&5
17974 $as_echo_n "checking if we really have Objective C++... " >&6; }
17975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17976 /* end confdefs.h. */
17978 // This space intentionally left blank
17981 if ac_fn_objcxx_try_compile "$LINENO"; then :
17984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17985 $as_echo "yes" >&6; }
17988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17989 $as_echo "no" >&6; }
17991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17992 if test "x$CY_OBJECTIVEC" = x1; then :
17995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework CoreFoundation" >&5
17996 $as_echo_n "checking for framework CoreFoundation... " >&6; }
17997 if ${ac_cv_framework_CoreFoundation+:} false; then :
17998 $as_echo_n "(cached) " >&6
18001 ac_check_framework_save_LIBS=$LIBS
18002 LIBS="-framework CoreFoundation $LIBS"
18003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18004 /* end confdefs.h. */
18006 #include <CoreFoundation/CFBase.h>
18011 CFAllocatorGetDefault();
18016 if ac_fn_objcxx_try_link "$LINENO"; then :
18018 ac_cv_framework_CoreFoundation=yes
18021 ac_cv_framework_CoreFoundation=no
18023 rm -f core conftest.err conftest.$ac_objext \
18024 conftest$ac_exeext conftest.$ac_ext
18025 LIBS=$ac_check_framework_save_LIBS
18028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_CoreFoundation" >&5
18029 $as_echo "$ac_cv_framework_CoreFoundation" >&6; }
18030 if test $ac_cv_framework_CoreFoundation = yes; then :
18033 for element in "-framework CoreFoundation $LIBS"; do
18037 acl_save_prefix="$prefix"
18038 prefix="$acl_final_prefix"
18039 acl_save_exec_prefix="$exec_prefix"
18040 exec_prefix="$acl_final_exec_prefix"
18042 exec_prefix="$acl_save_exec_prefix"
18043 prefix="$acl_save_prefix"
18045 if test "X$x" = "X$element"; then
18050 if test -z "$haveit"; then
18051 LIBS="${LIBS}${LIBS:+ }$element"
18059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework Foundation" >&5
18060 $as_echo_n "checking for framework Foundation... " >&6; }
18061 if ${ac_cv_framework_Foundation+:} false; then :
18062 $as_echo_n "(cached) " >&6
18065 ac_check_framework_save_LIBS=$LIBS
18066 LIBS="-framework Foundation $LIBS"
18067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18068 /* end confdefs.h. */
18070 #include <Foundation/NSObject.h>
18075 [[NSObject alloc] init];
18080 if ac_fn_objcxx_try_link "$LINENO"; then :
18082 ac_cv_framework_Foundation=yes
18085 ac_cv_framework_Foundation=no
18087 rm -f core conftest.err conftest.$ac_objext \
18088 conftest$ac_exeext conftest.$ac_ext
18089 LIBS=$ac_check_framework_save_LIBS
18092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_Foundation" >&5
18093 $as_echo "$ac_cv_framework_Foundation" >&6; }
18094 if test $ac_cv_framework_Foundation = yes; then :
18097 for element in "-framework Foundation $LIBS"; do
18101 acl_save_prefix="$prefix"
18102 prefix="$acl_final_prefix"
18103 acl_save_exec_prefix="$exec_prefix"
18104 exec_prefix="$acl_final_exec_prefix"
18106 exec_prefix="$acl_save_exec_prefix"
18107 prefix="$acl_save_prefix"
18109 if test "X$x" = "X$element"; then
18114 if test -z "$haveit"; then
18115 LIBS="${LIBS}${LIBS:+ }$element"
18119 cat >>confdefs.h <<_ACEOF
18120 #define HAVE_FRAMEWORK_FOUNDATION 1
18127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework WebKit" >&5
18128 $as_echo_n "checking for framework WebKit... " >&6; }
18129 if ${ac_cv_framework_WebKit+:} false; then :
18130 $as_echo_n "(cached) " >&6
18133 ac_check_framework_save_LIBS=$LIBS
18134 LIBS="-framework WebKit $LIBS"
18135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18136 /* end confdefs.h. */
18138 #include <WebKit/WebScriptObject.h>
18143 [[WebScriptObject alloc] init];
18148 if ac_fn_objcxx_try_link "$LINENO"; then :
18150 ac_cv_framework_WebKit=yes
18153 ac_cv_framework_WebKit=no
18155 rm -f core conftest.err conftest.$ac_objext \
18156 conftest$ac_exeext conftest.$ac_ext
18157 LIBS=$ac_check_framework_save_LIBS
18160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_WebKit" >&5
18161 $as_echo "$ac_cv_framework_WebKit" >&6; }
18162 if test $ac_cv_framework_WebKit = yes; then :
18165 for element in "-framework WebKit $LIBS"; do
18169 acl_save_prefix="$prefix"
18170 prefix="$acl_final_prefix"
18171 acl_save_exec_prefix="$exec_prefix"
18172 exec_prefix="$acl_final_exec_prefix"
18174 exec_prefix="$acl_save_exec_prefix"
18175 prefix="$acl_save_prefix"
18177 if test "X$x" = "X$element"; then
18182 if test -z "$haveit"; then
18183 LIBS="${LIBS}${LIBS:+ }$element"
18187 cat >>confdefs.h <<_ACEOF
18188 #define HAVE_FRAMEWORK_WEBKIT 1
18198 for ac_prog in gnustep-config
18200 # Extract the first word of "$ac_prog", so it can be a program name with args.
18201 set dummy $ac_prog; ac_word=$2
18202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18203 $as_echo_n "checking for $ac_word... " >&6; }
18204 if ${ac_cv_prog_GNUSTEP_CONFIG+:} false; then :
18205 $as_echo_n "(cached) " >&6
18207 if test -n "$GNUSTEP_CONFIG"; then
18208 ac_cv_prog_GNUSTEP_CONFIG="$GNUSTEP_CONFIG" # Let the user override the test.
18210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18211 for as_dir in $PATH
18214 test -z "$as_dir" && as_dir=.
18215 for ac_exec_ext in '' $ac_executable_extensions; do
18216 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18217 ac_cv_prog_GNUSTEP_CONFIG="$ac_prog"
18218 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18227 GNUSTEP_CONFIG=$ac_cv_prog_GNUSTEP_CONFIG
18228 if test -n "$GNUSTEP_CONFIG"; then
18229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNUSTEP_CONFIG" >&5
18230 $as_echo "$GNUSTEP_CONFIG" >&6; }
18232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18233 $as_echo "no" >&6; }
18237 test -n "$GNUSTEP_CONFIG" && break
18240 if test "x$GNUSTEP_CONFIG" != x; then :
18244 for element in `$GNUSTEP_CONFIG --objc-flags`; do
18246 for x in $OBJCXXFLAGS; do
18248 acl_save_prefix="$prefix"
18249 prefix="$acl_final_prefix"
18250 acl_save_exec_prefix="$exec_prefix"
18251 exec_prefix="$acl_final_exec_prefix"
18253 exec_prefix="$acl_save_exec_prefix"
18254 prefix="$acl_save_prefix"
18256 if test "X$x" = "X$element"; then
18261 if test -z "$haveit"; then
18262 OBJCXXFLAGS="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
18267 for element in `$GNUSTEP_CONFIG --base-libs`; do
18271 acl_save_prefix="$prefix"
18272 prefix="$acl_final_prefix"
18273 acl_save_exec_prefix="$exec_prefix"
18274 exec_prefix="$acl_final_exec_prefix"
18276 exec_prefix="$acl_save_exec_prefix"
18277 prefix="$acl_save_prefix"
18279 if test "X$x" = "X$element"; then
18284 if test -z "$haveit"; then
18285 LIBS="${LIBS}${LIBS:+ }$element"
18299 ac_cpp='$CXXCPP $CPPFLAGS'
18300 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18301 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18302 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a readline compatible library" >&5
18310 $as_echo_n "checking for a readline compatible library... " >&6; }
18311 if ${ax_cv_lib_readline+:} false; then :
18312 $as_echo_n "(cached) " >&6
18316 for readline_lib in readline edit editline; do
18317 for termcap_lib in "" termcap curses ncurses; do
18318 if test -z "$termcap_lib"; then
18319 TRY_LIB="-l$readline_lib"
18321 TRY_LIB="-l$readline_lib -l$termcap_lib"
18323 LIBS="$ORIG_LIBS $TRY_LIB"
18324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18325 /* end confdefs.h. */
18327 /* Override any GCC internal prototype to avoid an error.
18328 Use char because int might match the return type of a GCC
18329 builtin and then its argument prototype would still apply. */
18337 return readline ();
18342 if ac_fn_cxx_try_link "$LINENO"; then :
18343 ax_cv_lib_readline="$TRY_LIB"
18345 rm -f core conftest.err conftest.$ac_objext \
18346 conftest$ac_exeext conftest.$ac_ext
18347 if test -n "$ax_cv_lib_readline"; then
18351 if test -n "$ax_cv_lib_readline"; then
18355 if test -z "$ax_cv_lib_readline"; then
18356 ax_cv_lib_readline="no"
18361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_lib_readline" >&5
18362 $as_echo "$ax_cv_lib_readline" >&6; }
18364 if test "$ax_cv_lib_readline" != "no"; then
18365 LIBS="$LIBS $ax_cv_lib_readline"
18367 $as_echo "#define HAVE_LIBREADLINE 1" >>confdefs.h
18369 for ac_header in readline.h readline/readline.h
18371 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18372 ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18373 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
18374 cat >>confdefs.h <<_ACEOF
18375 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether readline supports history" >&5
18383 $as_echo_n "checking whether readline supports history... " >&6; }
18384 if ${ax_cv_lib_readline_history+:} false; then :
18385 $as_echo_n "(cached) " >&6
18388 ax_cv_lib_readline_history="no"
18389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18390 /* end confdefs.h. */
18392 /* Override any GCC internal prototype to avoid an error.
18393 Use char because int might match the return type of a GCC
18394 builtin and then its argument prototype would still apply. */
18398 char add_history ();
18402 return add_history ();
18407 if ac_fn_cxx_try_link "$LINENO"; then :
18408 ax_cv_lib_readline_history="yes"
18410 rm -f core conftest.err conftest.$ac_objext \
18411 conftest$ac_exeext conftest.$ac_ext
18414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_lib_readline_history" >&5
18415 $as_echo "$ax_cv_lib_readline_history" >&6; }
18416 if test "$ax_cv_lib_readline_history" = "yes"; then
18418 $as_echo "#define HAVE_READLINE_HISTORY 1" >>confdefs.h
18420 for ac_header in history.h readline/history.h
18422 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18423 ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18424 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
18425 cat >>confdefs.h <<_ACEOF
18426 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18436 case $vl_cv_lib_readline in #(
18438 as_fn_error $? "You need readline" "$LINENO" 5 ;; #(
18443 ac_cpp='$CPP $CPPFLAGS'
18444 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18445 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18446 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18449 if test "X$prefix" = "XNONE"; then
18450 acl_final_prefix="$ac_default_prefix"
18452 acl_final_prefix="$prefix"
18454 if test "X$exec_prefix" = "XNONE"; then
18455 acl_final_exec_prefix='${prefix}'
18457 acl_final_exec_prefix="$exec_prefix"
18459 acl_save_prefix="$prefix"
18460 prefix="$acl_final_prefix"
18461 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
18462 prefix="$acl_save_prefix"
18465 # Check whether --with-gnu-ld was given.
18466 if test "${with_gnu_ld+set}" = set; then :
18467 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
18472 # Prepare PATH_SEPARATOR.
18473 # The user is always right.
18474 if test "${PATH_SEPARATOR+set}" != set; then
18475 echo "#! /bin/sh" >conf$$.sh
18476 echo "exit 0" >>conf$$.sh
18478 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
18486 if test "$GCC" = yes; then
18487 # Check if gcc -print-prog-name=ld gives a path.
18488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
18489 $as_echo_n "checking for ld used by GCC... " >&6; }
18492 # gcc leaves a trailing carriage return which upsets mingw
18493 ac_prog=`($CC -print-prog-name=ld
) 2>&5 | tr -d '\015'` ;;
18495 ac_prog=`($CC -print-prog-name=ld
) 2>&5` ;;
18498 # Accept absolute paths.
18499 [\\/]* | [A-Za-z]:[\\/]*)
18500 re_direlt='/[^/][^/]*/\.\./'
18501 # Canonicalize the path of ld
18502 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
18503 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
18504 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
18506 test -z "$LD" && LD="$ac_prog"
18509 # If it fails, then pretend we aren't using GCC.
18513 # If it is relative, then search for the first ld in PATH.
18514 with_gnu_ld=unknown
18517 elif test "$with_gnu_ld" = yes; then
18518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
18519 $as_echo_n "checking for GNU ld... " >&6; }
18521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
18522 $as_echo_n "checking for non-GNU ld... " >&6; }
18524 if ${acl_cv_path_LD+:} false; then :
18525 $as_echo_n "(cached) " >&6
18527 if test -z "$LD"; then
18528 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
18529 for ac_dir in $PATH; do
18530 test -z "$ac_dir" && ac_dir=.
18531 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
18532 acl_cv_path_LD="$ac_dir/$ac_prog"
18533 # Check to see if the program is GNU ld. I'd rather use --version,
18534 # but apparently some GNU ld's only accept -v.
18535 # Break only if it was the GNU/non-GNU ld that we prefer.
18536 case `"$acl_cv_path_LD" -v 2>&1 < /dev
/null
` in
18537 *GNU* | *'with BFD'*)
18538 test "$with_gnu_ld" != no && break ;;
18540 test "$with_gnu_ld" != yes && break ;;
18546 acl_cv_path_LD="$LD" # Let the user override the test with a path.
18550 LD="$acl_cv_path_LD"
18551 if test -n "$LD"; then
18552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
18553 $as_echo "$LD" >&6; }
18555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18556 $as_echo "no" >&6; }
18558 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
18559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
18560 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
18561 if ${acl_cv_prog_gnu_ld+:} false; then :
18562 $as_echo_n "(cached) " >&6
18564 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
18565 case `$LD -v 2>&1 </dev
/null
` in
18566 *GNU* | *'with BFD'*)
18567 acl_cv_prog_gnu_ld=yes ;;
18569 acl_cv_prog_gnu_ld=no ;;
18572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
18573 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
18574 with_gnu_ld=$acl_cv_prog_gnu_ld
18579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
18580 $as_echo_n "checking for shared library run path origin... " >&6; }
18581 if ${acl_cv_rpath+:} false; then :
18582 $as_echo_n "(cached) " >&6
18585 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
18586 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
18588 rm -f ./conftest.sh
18592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
18593 $as_echo "$acl_cv_rpath" >&6; }
18595 acl_libext="$acl_cv_libext"
18596 acl_shlibext="$acl_cv_shlibext"
18597 acl_libname_spec="$acl_cv_libname_spec"
18598 acl_library_names_spec="$acl_cv_library_names_spec"
18599 acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
18600 acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
18601 acl_hardcode_direct="$acl_cv_hardcode_direct"
18602 acl_hardcode_minus_L="$acl_cv_hardcode_minus_L"
18603 # Check whether --enable-rpath was given.
18604 if test "${enable_rpath+set}" = set; then :
18605 enableval=$enable_rpath; :
18617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 64-bit host" >&5
18618 $as_echo_n "checking for 64-bit host... " >&6; }
18619 if ${gl_cv_solaris_64bit+:} false; then :
18620 $as_echo_n "(cached) " >&6
18622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18623 /* end confdefs.h. */
18630 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18631 $EGREP "sixtyfour bits" >/dev/null 2>&1; then :
18632 gl_cv_solaris_64bit=yes
18634 gl_cv_solaris_64bit=no
18640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_solaris_64bit" >&5
18641 $as_echo "$gl_cv_solaris_64bit" >&6; }
18642 if test $gl_cv_solaris_64bit = yes; then
18643 acl_libdirstem=lib/64
18644 case "$host_cpu" in
18645 sparc*) acl_libdirstem2=lib/sparcv9 ;;
18646 i*86 | x86_64) acl_libdirstem2=lib/amd64 ;;
18651 searchpath=`(LC_ALL
=C
$CC -print-search-dirs) 2>/dev
/null
| sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
18652 if test -n "$searchpath"; then
18653 acl_save_IFS="${IFS= }"; IFS=":"
18654 for searchdir in $searchpath; do
18655 if test -d "$searchdir"; then
18656 case "$searchdir" in
18657 */lib64/ | */lib64 ) acl_libdirstem=lib64 ;;
18659 # Better ignore directories of this form. They are misleading.
18661 *) searchdir=`cd "$searchdir" && pwd`
18662 case "$searchdir" in
18663 */lib64 ) acl_libdirstem=lib64 ;;
18668 IFS="$acl_save_IFS"
18672 test -n "$acl_libdirstem2" || acl_libdirstem2="$acl_libdirstem"
18687 acl_save_prefix="$prefix"
18688 prefix="$acl_final_prefix"
18689 acl_save_exec_prefix="$exec_prefix"
18690 exec_prefix="$acl_final_exec_prefix"
18692 eval additional_includedir=\"$includedir\"
18693 eval additional_libdir=\"$libdir\"
18695 exec_prefix="$acl_save_exec_prefix"
18696 prefix="$acl_save_prefix"
18699 # Check whether --with-libiconv-prefix was given.
18700 if test "${with_libiconv_prefix+set}" = set; then :
18701 withval=$with_libiconv_prefix;
18702 if test "X$withval" = "Xno"; then
18705 if test "X$withval" = "X"; then
18707 acl_save_prefix="$prefix"
18708 prefix="$acl_final_prefix"
18709 acl_save_exec_prefix="$exec_prefix"
18710 exec_prefix="$acl_final_exec_prefix"
18712 eval additional_includedir=\"$includedir\"
18713 eval additional_libdir=\"$libdir\"
18715 exec_prefix="$acl_save_exec_prefix"
18716 prefix="$acl_save_prefix"
18719 additional_includedir="$withval/include"
18720 additional_libdir="$withval/$acl_libdirstem"
18721 if test "$acl_libdirstem2" != "$acl_libdirstem" \
18722 && ! test -d "$withval/$acl_libdirstem"; then
18723 additional_libdir="$withval/$acl_libdirstem2"
18737 names_already_handled=
18738 names_next_round='iconv '
18739 while test -n "$names_next_round"; do
18740 names_this_round="$names_next_round"
18742 for name in $names_this_round; do
18744 for n in $names_already_handled; do
18745 if test "$n" = "$name"; then
18746 already_handled=yes
18750 if test -z "$already_handled"; then
18751 names_already_handled="$names_already_handled $name"
18752 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
18753 eval value=\"\$HAVE_LIB$uppername\"
18754 if test -n "$value"; then
18755 if test "$value" = yes; then
18756 eval value=\"\$LIB$uppername\"
18757 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
18758 eval value=\"\$LTLIB$uppername\"
18759 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
18768 eval libname=\"$acl_libname_spec\" # typically: libname=lib$name
18769 if test -n "$acl_shlibext"; then
18770 shrext=".$acl_shlibext" # typically: shrext=.so
18774 if test $use_additional = yes; then
18775 dir="$additional_libdir"
18776 if test -n "$acl_shlibext"; then
18777 if test -f "$dir/$libname$shrext"; then
18779 found_so="$dir/$libname$shrext"
18781 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
18782 ver=`(cd "$dir" && \
18783 for f
in "$libname$shrext".
*; do echo "$f"; done \
18784 | sed -e "s,^$libname$shrext\\\\.,," \
18785 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
18786 | sed 1q
) 2>/dev
/null
`
18787 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
18789 found_so="$dir/$libname$shrext.$ver"
18792 eval library_names=\"$acl_library_names_spec\"
18793 for f in $library_names; do
18794 if test -f "$dir/$f"; then
18803 if test "X$found_dir" = "X"; then
18804 if test -f "$dir/$libname.$acl_libext"; then
18806 found_a="$dir/$libname.$acl_libext"
18809 if test "X$found_dir" != "X"; then
18810 if test -f "$dir/$libname.la"; then
18811 found_la="$dir/$libname.la"
18815 if test "X$found_dir" = "X"; then
18816 for x in $LDFLAGS $LTLIBICONV; do
18818 acl_save_prefix="$prefix"
18819 prefix="$acl_final_prefix"
18820 acl_save_exec_prefix="$exec_prefix"
18821 exec_prefix="$acl_final_exec_prefix"
18823 exec_prefix="$acl_save_exec_prefix"
18824 prefix="$acl_save_prefix"
18828 dir=`echo "X$x" | sed -e 's/^X-L//'`
18829 if test -n "$acl_shlibext"; then
18830 if test -f "$dir/$libname$shrext"; then
18832 found_so="$dir/$libname$shrext"
18834 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
18835 ver=`(cd "$dir" && \
18836 for f
in "$libname$shrext".
*; do echo "$f"; done \
18837 | sed -e "s,^$libname$shrext\\\\.,," \
18838 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
18839 | sed 1q
) 2>/dev
/null
`
18840 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
18842 found_so="$dir/$libname$shrext.$ver"
18845 eval library_names=\"$acl_library_names_spec\"
18846 for f in $library_names; do
18847 if test -f "$dir/$f"; then
18856 if test "X$found_dir" = "X"; then
18857 if test -f "$dir/$libname.$acl_libext"; then
18859 found_a="$dir/$libname.$acl_libext"
18862 if test "X$found_dir" != "X"; then
18863 if test -f "$dir/$libname.la"; then
18864 found_la="$dir/$libname.la"
18869 if test "X$found_dir" != "X"; then
18874 if test "X$found_dir" != "X"; then
18875 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
18876 if test "X$found_so" != "X"; then
18877 if test "$enable_rpath" = no \
18878 || test "X$found_dir" = "X/usr/$acl_libdirstem" \
18879 || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then
18880 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
18883 for x in $ltrpathdirs; do
18884 if test "X$x" = "X$found_dir"; then
18889 if test -z "$haveit"; then
18890 ltrpathdirs="$ltrpathdirs $found_dir"
18892 if test "$acl_hardcode_direct" = yes; then
18893 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
18895 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
18896 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
18898 for x in $rpathdirs; do
18899 if test "X$x" = "X$found_dir"; then
18904 if test -z "$haveit"; then
18905 rpathdirs="$rpathdirs $found_dir"
18909 for x in $LDFLAGS $LIBICONV; do
18911 acl_save_prefix="$prefix"
18912 prefix="$acl_final_prefix"
18913 acl_save_exec_prefix="$exec_prefix"
18914 exec_prefix="$acl_final_exec_prefix"
18916 exec_prefix="$acl_save_exec_prefix"
18917 prefix="$acl_save_prefix"
18919 if test "X$x" = "X-L$found_dir"; then
18924 if test -z "$haveit"; then
18925 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
18927 if test "$acl_hardcode_minus_L" != no; then
18928 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
18930 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
18936 if test "X$found_a" != "X"; then
18937 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
18939 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
18942 additional_includedir=
18943 case "$found_dir" in
18944 */$acl_libdirstem | */$acl_libdirstem/)
18945 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
18946 if test "$name" = 'iconv'; then
18947 LIBICONV_PREFIX="$basedir"
18949 additional_includedir="$basedir/include"
18951 */$acl_libdirstem2 | */$acl_libdirstem2/)
18952 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
18953 if test "$name" = 'iconv'; then
18954 LIBICONV_PREFIX="$basedir"
18956 additional_includedir="$basedir/include"
18959 if test "X$additional_includedir" != "X"; then
18960 if test "X$additional_includedir" != "X/usr/include"; then
18962 if test "X$additional_includedir" = "X/usr/local/include"; then
18963 if test -n "$GCC"; then
18965 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
18969 if test -z "$haveit"; then
18970 for x in $CPPFLAGS $INCICONV; do
18972 acl_save_prefix="$prefix"
18973 prefix="$acl_final_prefix"
18974 acl_save_exec_prefix="$exec_prefix"
18975 exec_prefix="$acl_final_exec_prefix"
18977 exec_prefix="$acl_save_exec_prefix"
18978 prefix="$acl_save_prefix"
18980 if test "X$x" = "X-I$additional_includedir"; then
18985 if test -z "$haveit"; then
18986 if test -d "$additional_includedir"; then
18987 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
18993 if test -n "$found_la"; then
18994 save_libdir="$libdir"
18995 case "$found_la" in
18996 */* | *\\*) . "$found_la" ;;
18997 *) . "./$found_la" ;;
18999 libdir="$save_libdir"
19000 for dep in $dependency_libs; do
19003 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
19004 if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \
19005 && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then
19007 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \
19008 || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then
19009 if test -n "$GCC"; then
19011 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
19015 if test -z "$haveit"; then
19017 for x in $LDFLAGS $LIBICONV; do
19019 acl_save_prefix="$prefix"
19020 prefix="$acl_final_prefix"
19021 acl_save_exec_prefix="$exec_prefix"
19022 exec_prefix="$acl_final_exec_prefix"
19024 exec_prefix="$acl_save_exec_prefix"
19025 prefix="$acl_save_prefix"
19027 if test "X$x" = "X-L$additional_libdir"; then
19032 if test -z "$haveit"; then
19033 if test -d "$additional_libdir"; then
19034 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
19038 for x in $LDFLAGS $LTLIBICONV; do
19040 acl_save_prefix="$prefix"
19041 prefix="$acl_final_prefix"
19042 acl_save_exec_prefix="$exec_prefix"
19043 exec_prefix="$acl_final_exec_prefix"
19045 exec_prefix="$acl_save_exec_prefix"
19046 prefix="$acl_save_prefix"
19048 if test "X$x" = "X-L$additional_libdir"; then
19053 if test -z "$haveit"; then
19054 if test -d "$additional_libdir"; then
19055 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
19062 dir=`echo "X$dep" | sed -e 's/^X-R//'`
19063 if test "$enable_rpath" != no; then
19065 for x in $rpathdirs; do
19066 if test "X$x" = "X$dir"; then
19071 if test -z "$haveit"; then
19072 rpathdirs="$rpathdirs $dir"
19075 for x in $ltrpathdirs; do
19076 if test "X$x" = "X$dir"; then
19081 if test -z "$haveit"; then
19082 ltrpathdirs="$ltrpathdirs $dir"
19087 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
19090 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
19093 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
19094 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
19100 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
19101 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
19107 if test "X$rpathdirs" != "X"; then
19108 if test -n "$acl_hardcode_libdir_separator"; then
19110 for found_dir in $rpathdirs; do
19111 alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
19113 acl_save_libdir="$libdir"
19115 eval flag=\"$acl_hardcode_libdir_flag_spec\"
19116 libdir="$acl_save_libdir"
19117 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
19119 for found_dir in $rpathdirs; do
19120 acl_save_libdir="$libdir"
19121 libdir="$found_dir"
19122 eval flag=\"$acl_hardcode_libdir_flag_spec\"
19123 libdir="$acl_save_libdir"
19124 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
19128 if test "X$ltrpathdirs" != "X"; then
19129 for found_dir in $ltrpathdirs; do
19130 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
19145 am_save_CPPFLAGS="$CPPFLAGS"
19147 for element in $INCICONV; do
19149 for x in $CPPFLAGS; do
19151 acl_save_prefix="$prefix"
19152 prefix="$acl_final_prefix"
19153 acl_save_exec_prefix="$exec_prefix"
19154 exec_prefix="$acl_final_exec_prefix"
19156 exec_prefix="$acl_save_exec_prefix"
19157 prefix="$acl_save_prefix"
19159 if test "X$x" = "X$element"; then
19164 if test -z "$haveit"; then
19165 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
19170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
19171 $as_echo_n "checking for iconv... " >&6; }
19172 if ${am_cv_func_iconv+:} false; then :
19173 $as_echo_n "(cached) " >&6
19176 am_cv_func_iconv="no, consider installing GNU libiconv"
19178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19179 /* end confdefs.h. */
19180 #include <stdlib.h>
19185 iconv_t cd = iconv_open("","");
19186 iconv(cd,NULL,NULL,NULL,NULL);
19192 if ac_fn_c_try_link "$LINENO"; then :
19193 am_cv_func_iconv=yes
19195 rm -f core conftest.err conftest.$ac_objext \
19196 conftest$ac_exeext conftest.$ac_ext
19197 if test "$am_cv_func_iconv" != yes; then
19198 am_save_LIBS="$LIBS"
19199 LIBS="$LIBS $LIBICONV"
19200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19201 /* end confdefs.h. */
19202 #include <stdlib.h>
19207 iconv_t cd = iconv_open("","");
19208 iconv(cd,NULL,NULL,NULL,NULL);
19214 if ac_fn_c_try_link "$LINENO"; then :
19215 am_cv_lib_iconv=yes
19216 am_cv_func_iconv=yes
19218 rm -f core conftest.err conftest.$ac_objext \
19219 conftest$ac_exeext conftest.$ac_ext
19220 LIBS="$am_save_LIBS"
19224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
19225 $as_echo "$am_cv_func_iconv" >&6; }
19226 if test "$am_cv_func_iconv" = yes; then
19227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5
19228 $as_echo_n "checking for working iconv... " >&6; }
19229 if ${am_cv_func_iconv_works+:} false; then :
19230 $as_echo_n "(cached) " >&6
19233 am_save_LIBS="$LIBS"
19234 if test $am_cv_lib_iconv = yes; then
19235 LIBS="$LIBS $LIBICONV"
19237 if test "$cross_compiling" = yes; then :
19239 aix* | hpux*) am_cv_func_iconv_works="guessing no" ;;
19240 *) am_cv_func_iconv_works="guessing yes" ;;
19243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19244 /* end confdefs.h. */
19247 #include <string.h>
19250 /* Test against AIX 5.1 bug: Failures are not distinguishable from successful
19253 iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8");
19254 if (cd_utf8_to_88591 != (iconv_t)(-1))
19256 static const char input[] = "\342\202\254"; /* EURO SIGN */
19258 const char *inptr = input;
19259 size_t inbytesleft = strlen (input);
19260 char *outptr = buf;
19261 size_t outbytesleft = sizeof (buf);
19262 size_t res = iconv (cd_utf8_to_88591,
19263 (char **) &inptr, &inbytesleft,
19264 &outptr, &outbytesleft);
19269 /* Test against Solaris 10 bug: Failures are not distinguishable from
19270 successful returns. */
19272 iconv_t cd_ascii_to_88591 = iconv_open ("ISO8859-1", "646");
19273 if (cd_ascii_to_88591 != (iconv_t)(-1))
19275 static const char input[] = "\263";
19277 const char *inptr = input;
19278 size_t inbytesleft = strlen (input);
19279 char *outptr = buf;
19280 size_t outbytesleft = sizeof (buf);
19281 size_t res = iconv (cd_ascii_to_88591,
19282 (char **) &inptr, &inbytesleft,
19283 &outptr, &outbytesleft);
19288 #if 0 /* This bug could be worked around by the caller. */
19289 /* Test against HP-UX 11.11 bug: Positive return value instead of 0. */
19291 iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591");
19292 if (cd_88591_to_utf8 != (iconv_t)(-1))
19294 static const char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337";
19296 const char *inptr = input;
19297 size_t inbytesleft = strlen (input);
19298 char *outptr = buf;
19299 size_t outbytesleft = sizeof (buf);
19300 size_t res = iconv (cd_88591_to_utf8,
19301 (char **) &inptr, &inbytesleft,
19302 &outptr, &outbytesleft);
19308 /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is
19310 if (/* Try standardized names. */
19311 iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1)
19312 /* Try IRIX, OSF/1 names. */
19313 && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1)
19314 /* Try AIX names. */
19315 && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1)
19316 /* Try HP-UX names. */
19317 && iconv_open ("utf8", "eucJP") == (iconv_t)(-1))
19322 if ac_fn_c_try_run "$LINENO"; then :
19323 am_cv_func_iconv_works=yes
19325 am_cv_func_iconv_works=no
19327 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
19328 conftest.$ac_objext conftest.beam conftest.$ac_ext
19331 LIBS="$am_save_LIBS"
19334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5
19335 $as_echo "$am_cv_func_iconv_works" >&6; }
19336 case "$am_cv_func_iconv_works" in
19337 *no) am_func_iconv=no am_cv_lib_iconv=no ;;
19338 *) am_func_iconv=yes ;;
19341 am_func_iconv=no am_cv_lib_iconv=no
19343 if test "$am_func_iconv" = yes; then
19345 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
19348 if test "$am_cv_lib_iconv" = yes; then
19349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
19350 $as_echo_n "checking how to link with libiconv... " >&6; }
19351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
19352 $as_echo "$LIBICONV" >&6; }
19354 CPPFLAGS="$am_save_CPPFLAGS"
19361 if test "$am_cv_func_iconv" = yes; then
19362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
19363 $as_echo_n "checking for iconv declaration... " >&6; }
19364 if ${am_cv_proto_iconv+:} false; then :
19365 $as_echo_n "(cached) " >&6
19368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19369 /* end confdefs.h. */
19371 #include <stdlib.h>
19377 #if defined(__STDC__) || defined(__cplusplus)
19378 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
19391 if ac_fn_c_try_compile "$LINENO"; then :
19392 am_cv_proto_iconv_arg1=""
19394 am_cv_proto_iconv_arg1="const"
19396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19397 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);"
19400 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
19401 { $as_echo "$as_me:${as_lineno-$LINENO}: result:
19402 $am_cv_proto_iconv" >&5
19404 $am_cv_proto_iconv" >&6; }
19406 cat >>confdefs.h <<_ACEOF
19407 #define ICONV_CONST $am_cv_proto_iconv_arg1
19412 case $am_cv_func_iconv in #(
19417 for cy_iconv_prefix_arg in $CFLAGS $CXXFLAGS $OBJCXXFLAGS $LDFLAGS $LIBS; do
19418 case $cy_iconv_prefix_arg in #(
19422 for element in `echo $cy_iconv_prefix_arg | sed -e 's/^-I//;s|/include$||'`; do
19424 for x in $cy_iconv_prefixes; do
19426 acl_save_prefix="$prefix"
19427 prefix="$acl_final_prefix"
19428 acl_save_exec_prefix="$exec_prefix"
19429 exec_prefix="$acl_final_exec_prefix"
19431 exec_prefix="$acl_save_exec_prefix"
19432 prefix="$acl_save_prefix"
19434 if test "X$x" = "X$element"; then
19439 if test -z "$haveit"; then
19440 cy_iconv_prefixes="${cy_iconv_prefixes}${cy_iconv_prefixes:+ }$element"
19448 for element in `echo $cy_iconv_prefix_arg | sed -e 's/^-L//;s|/lib$||'`; do
19450 for x in $cy_iconv_prefixes; do
19452 acl_save_prefix="$prefix"
19453 prefix="$acl_final_prefix"
19454 acl_save_exec_prefix="$exec_prefix"
19455 exec_prefix="$acl_final_exec_prefix"
19457 exec_prefix="$acl_save_exec_prefix"
19458 prefix="$acl_save_prefix"
19460 if test "X$x" = "X$element"; then
19465 if test -z "$haveit"; then
19466 cy_iconv_prefixes="${cy_iconv_prefixes}${cy_iconv_prefixes:+ }$element"
19475 for with_libiconv_prefix in $cy_iconv_prefixes; do
19476 { am_cv_func_iconv=; unset am_cv_func_iconv;}
19490 acl_save_prefix="$prefix"
19491 prefix="$acl_final_prefix"
19492 acl_save_exec_prefix="$exec_prefix"
19493 exec_prefix="$acl_final_exec_prefix"
19495 eval additional_includedir=\"$includedir\"
19496 eval additional_libdir=\"$libdir\"
19498 exec_prefix="$acl_save_exec_prefix"
19499 prefix="$acl_save_prefix"
19502 # Check whether --with-libiconv-prefix was given.
19503 if test "${with_libiconv_prefix+set}" = set; then :
19504 withval=$with_libiconv_prefix;
19505 if test "X$withval" = "Xno"; then
19508 if test "X$withval" = "X"; then
19510 acl_save_prefix="$prefix"
19511 prefix="$acl_final_prefix"
19512 acl_save_exec_prefix="$exec_prefix"
19513 exec_prefix="$acl_final_exec_prefix"
19515 eval additional_includedir=\"$includedir\"
19516 eval additional_libdir=\"$libdir\"
19518 exec_prefix="$acl_save_exec_prefix"
19519 prefix="$acl_save_prefix"
19522 additional_includedir="$withval/include"
19523 additional_libdir="$withval/$acl_libdirstem"
19524 if test "$acl_libdirstem2" != "$acl_libdirstem" \
19525 && ! test -d "$withval/$acl_libdirstem"; then
19526 additional_libdir="$withval/$acl_libdirstem2"
19540 names_already_handled=
19541 names_next_round='iconv '
19542 while test -n "$names_next_round"; do
19543 names_this_round="$names_next_round"
19545 for name in $names_this_round; do
19547 for n in $names_already_handled; do
19548 if test "$n" = "$name"; then
19549 already_handled=yes
19553 if test -z "$already_handled"; then
19554 names_already_handled="$names_already_handled $name"
19555 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
19556 eval value=\"\$HAVE_LIB$uppername\"
19557 if test -n "$value"; then
19558 if test "$value" = yes; then
19559 eval value=\"\$LIB$uppername\"
19560 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
19561 eval value=\"\$LTLIB$uppername\"
19562 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
19571 eval libname=\"$acl_libname_spec\" # typically: libname=lib$name
19572 if test -n "$acl_shlibext"; then
19573 shrext=".$acl_shlibext" # typically: shrext=.so
19577 if test $use_additional = yes; then
19578 dir="$additional_libdir"
19579 if test -n "$acl_shlibext"; then
19580 if test -f "$dir/$libname$shrext"; then
19582 found_so="$dir/$libname$shrext"
19584 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
19585 ver=`(cd "$dir" && \
19586 for f
in "$libname$shrext".
*; do echo "$f"; done \
19587 | sed -e "s,^$libname$shrext\\\\.,," \
19588 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
19589 | sed 1q
) 2>/dev
/null
`
19590 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
19592 found_so="$dir/$libname$shrext.$ver"
19595 eval library_names=\"$acl_library_names_spec\"
19596 for f in $library_names; do
19597 if test -f "$dir/$f"; then
19606 if test "X$found_dir" = "X"; then
19607 if test -f "$dir/$libname.$acl_libext"; then
19609 found_a="$dir/$libname.$acl_libext"
19612 if test "X$found_dir" != "X"; then
19613 if test -f "$dir/$libname.la"; then
19614 found_la="$dir/$libname.la"
19618 if test "X$found_dir" = "X"; then
19619 for x in $LDFLAGS $LTLIBICONV; do
19621 acl_save_prefix="$prefix"
19622 prefix="$acl_final_prefix"
19623 acl_save_exec_prefix="$exec_prefix"
19624 exec_prefix="$acl_final_exec_prefix"
19626 exec_prefix="$acl_save_exec_prefix"
19627 prefix="$acl_save_prefix"
19631 dir=`echo "X$x" | sed -e 's/^X-L//'`
19632 if test -n "$acl_shlibext"; then
19633 if test -f "$dir/$libname$shrext"; then
19635 found_so="$dir/$libname$shrext"
19637 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
19638 ver=`(cd "$dir" && \
19639 for f
in "$libname$shrext".
*; do echo "$f"; done \
19640 | sed -e "s,^$libname$shrext\\\\.,," \
19641 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
19642 | sed 1q
) 2>/dev
/null
`
19643 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
19645 found_so="$dir/$libname$shrext.$ver"
19648 eval library_names=\"$acl_library_names_spec\"
19649 for f in $library_names; do
19650 if test -f "$dir/$f"; then
19659 if test "X$found_dir" = "X"; then
19660 if test -f "$dir/$libname.$acl_libext"; then
19662 found_a="$dir/$libname.$acl_libext"
19665 if test "X$found_dir" != "X"; then
19666 if test -f "$dir/$libname.la"; then
19667 found_la="$dir/$libname.la"
19672 if test "X$found_dir" != "X"; then
19677 if test "X$found_dir" != "X"; then
19678 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
19679 if test "X$found_so" != "X"; then
19680 if test "$enable_rpath" = no \
19681 || test "X$found_dir" = "X/usr/$acl_libdirstem" \
19682 || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then
19683 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
19686 for x in $ltrpathdirs; do
19687 if test "X$x" = "X$found_dir"; then
19692 if test -z "$haveit"; then
19693 ltrpathdirs="$ltrpathdirs $found_dir"
19695 if test "$acl_hardcode_direct" = yes; then
19696 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
19698 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
19699 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
19701 for x in $rpathdirs; do
19702 if test "X$x" = "X$found_dir"; then
19707 if test -z "$haveit"; then
19708 rpathdirs="$rpathdirs $found_dir"
19712 for x in $LDFLAGS $LIBICONV; do
19714 acl_save_prefix="$prefix"
19715 prefix="$acl_final_prefix"
19716 acl_save_exec_prefix="$exec_prefix"
19717 exec_prefix="$acl_final_exec_prefix"
19719 exec_prefix="$acl_save_exec_prefix"
19720 prefix="$acl_save_prefix"
19722 if test "X$x" = "X-L$found_dir"; then
19727 if test -z "$haveit"; then
19728 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
19730 if test "$acl_hardcode_minus_L" != no; then
19731 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
19733 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
19739 if test "X$found_a" != "X"; then
19740 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
19742 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
19745 additional_includedir=
19746 case "$found_dir" in
19747 */$acl_libdirstem | */$acl_libdirstem/)
19748 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
19749 if test "$name" = 'iconv'; then
19750 LIBICONV_PREFIX="$basedir"
19752 additional_includedir="$basedir/include"
19754 */$acl_libdirstem2 | */$acl_libdirstem2/)
19755 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
19756 if test "$name" = 'iconv'; then
19757 LIBICONV_PREFIX="$basedir"
19759 additional_includedir="$basedir/include"
19762 if test "X$additional_includedir" != "X"; then
19763 if test "X$additional_includedir" != "X/usr/include"; then
19765 if test "X$additional_includedir" = "X/usr/local/include"; then
19766 if test -n "$GCC"; then
19768 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
19772 if test -z "$haveit"; then
19773 for x in $CPPFLAGS $INCICONV; do
19775 acl_save_prefix="$prefix"
19776 prefix="$acl_final_prefix"
19777 acl_save_exec_prefix="$exec_prefix"
19778 exec_prefix="$acl_final_exec_prefix"
19780 exec_prefix="$acl_save_exec_prefix"
19781 prefix="$acl_save_prefix"
19783 if test "X$x" = "X-I$additional_includedir"; then
19788 if test -z "$haveit"; then
19789 if test -d "$additional_includedir"; then
19790 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
19796 if test -n "$found_la"; then
19797 save_libdir="$libdir"
19798 case "$found_la" in
19799 */* | *\\*) . "$found_la" ;;
19800 *) . "./$found_la" ;;
19802 libdir="$save_libdir"
19803 for dep in $dependency_libs; do
19806 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
19807 if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \
19808 && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then
19810 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \
19811 || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then
19812 if test -n "$GCC"; then
19814 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
19818 if test -z "$haveit"; then
19820 for x in $LDFLAGS $LIBICONV; do
19822 acl_save_prefix="$prefix"
19823 prefix="$acl_final_prefix"
19824 acl_save_exec_prefix="$exec_prefix"
19825 exec_prefix="$acl_final_exec_prefix"
19827 exec_prefix="$acl_save_exec_prefix"
19828 prefix="$acl_save_prefix"
19830 if test "X$x" = "X-L$additional_libdir"; then
19835 if test -z "$haveit"; then
19836 if test -d "$additional_libdir"; then
19837 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
19841 for x in $LDFLAGS $LTLIBICONV; do
19843 acl_save_prefix="$prefix"
19844 prefix="$acl_final_prefix"
19845 acl_save_exec_prefix="$exec_prefix"
19846 exec_prefix="$acl_final_exec_prefix"
19848 exec_prefix="$acl_save_exec_prefix"
19849 prefix="$acl_save_prefix"
19851 if test "X$x" = "X-L$additional_libdir"; then
19856 if test -z "$haveit"; then
19857 if test -d "$additional_libdir"; then
19858 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
19865 dir=`echo "X$dep" | sed -e 's/^X-R//'`
19866 if test "$enable_rpath" != no; then
19868 for x in $rpathdirs; do
19869 if test "X$x" = "X$dir"; then
19874 if test -z "$haveit"; then
19875 rpathdirs="$rpathdirs $dir"
19878 for x in $ltrpathdirs; do
19879 if test "X$x" = "X$dir"; then
19884 if test -z "$haveit"; then
19885 ltrpathdirs="$ltrpathdirs $dir"
19890 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
19893 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
19896 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
19897 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
19903 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
19904 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
19910 if test "X$rpathdirs" != "X"; then
19911 if test -n "$acl_hardcode_libdir_separator"; then
19913 for found_dir in $rpathdirs; do
19914 alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
19916 acl_save_libdir="$libdir"
19918 eval flag=\"$acl_hardcode_libdir_flag_spec\"
19919 libdir="$acl_save_libdir"
19920 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
19922 for found_dir in $rpathdirs; do
19923 acl_save_libdir="$libdir"
19924 libdir="$found_dir"
19925 eval flag=\"$acl_hardcode_libdir_flag_spec\"
19926 libdir="$acl_save_libdir"
19927 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
19931 if test "X$ltrpathdirs" != "X"; then
19932 for found_dir in $ltrpathdirs; do
19933 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
19947 case $am_cv_func_iconv in #(
19951 as_fn_error $? "You need iconv" "$LINENO" 5 ;;
19954 ac_cpp='$CXXCPP $CPPFLAGS'
19955 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19956 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19957 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19961 if test "x$CY_OBJECTIVEC" = x1; then :
19963 ac_fn_cxx_check_header_mongrel "$LINENO" "mach/mach.h" "ac_cv_header_mach_mach_h" "$ac_includes_default"
19964 if test "x$ac_cv_header_mach_mach_h" = xyes; then :
19966 if test -n "$ac_tool_prefix"; then
19967 for ac_prog in otool
19969 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
19970 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
19971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19972 $as_echo_n "checking for $ac_word... " >&6; }
19973 if ${ac_cv_prog__OTOOL+:} false; then :
19974 $as_echo_n "(cached) " >&6
19976 if test -n "$_OTOOL"; then
19977 ac_cv_prog__OTOOL="$_OTOOL" # Let the user override the test.
19979 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19980 for as_dir in $PATH
19983 test -z "$as_dir" && as_dir=.
19984 for ac_exec_ext in '' $ac_executable_extensions; do
19985 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19986 ac_cv_prog__OTOOL="$ac_tool_prefix$ac_prog"
19987 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19996 _OTOOL=$ac_cv_prog__OTOOL
19997 if test -n "$_OTOOL"; then
19998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_OTOOL" >&5
19999 $as_echo "$_OTOOL" >&6; }
20001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20002 $as_echo "no" >&6; }
20006 test -n "$_OTOOL" && break
20009 if test -z "$_OTOOL"; then
20010 ac_ct__OTOOL=$_OTOOL
20011 for ac_prog in otool
20013 # Extract the first word of "$ac_prog", so it can be a program name with args.
20014 set dummy $ac_prog; ac_word=$2
20015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20016 $as_echo_n "checking for $ac_word... " >&6; }
20017 if ${ac_cv_prog_ac_ct__OTOOL+:} false; then :
20018 $as_echo_n "(cached) " >&6
20020 if test -n "$ac_ct__OTOOL"; then
20021 ac_cv_prog_ac_ct__OTOOL="$ac_ct__OTOOL" # Let the user override the test.
20023 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20024 for as_dir in $PATH
20027 test -z "$as_dir" && as_dir=.
20028 for ac_exec_ext in '' $ac_executable_extensions; do
20029 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20030 ac_cv_prog_ac_ct__OTOOL="$ac_prog"
20031 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20040 ac_ct__OTOOL=$ac_cv_prog_ac_ct__OTOOL
20041 if test -n "$ac_ct__OTOOL"; then
20042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct__OTOOL" >&5
20043 $as_echo "$ac_ct__OTOOL" >&6; }
20045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20046 $as_echo "no" >&6; }
20050 test -n "$ac_ct__OTOOL" && break
20053 if test "x$ac_ct__OTOOL" = x; then
20056 case $cross_compiling:$ac_tool_warned in
20058 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
20059 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
20060 ac_tool_warned=yes ;;
20062 _OTOOL=$ac_ct__OTOOL
20066 if test "x$_OTOOL" = x; then :
20067 as_fn_error $? "You need otool" "$LINENO" 5
20069 if test -n "$ac_tool_prefix"; then
20070 for ac_prog in lipo
20072 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
20073 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
20074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20075 $as_echo_n "checking for $ac_word... " >&6; }
20076 if ${ac_cv_prog__LIPO+:} false; then :
20077 $as_echo_n "(cached) " >&6
20079 if test -n "$_LIPO"; then
20080 ac_cv_prog__LIPO="$_LIPO" # Let the user override the test.
20082 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20083 for as_dir in $PATH
20086 test -z "$as_dir" && as_dir=.
20087 for ac_exec_ext in '' $ac_executable_extensions; do
20088 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20089 ac_cv_prog__LIPO="$ac_tool_prefix$ac_prog"
20090 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20099 _LIPO=$ac_cv_prog__LIPO
20100 if test -n "$_LIPO"; then
20101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_LIPO" >&5
20102 $as_echo "$_LIPO" >&6; }
20104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20105 $as_echo "no" >&6; }
20109 test -n "$_LIPO" && break
20112 if test -z "$_LIPO"; then
20114 for ac_prog in lipo
20116 # Extract the first word of "$ac_prog", so it can be a program name with args.
20117 set dummy $ac_prog; ac_word=$2
20118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20119 $as_echo_n "checking for $ac_word... " >&6; }
20120 if ${ac_cv_prog_ac_ct__LIPO+:} false; then :
20121 $as_echo_n "(cached) " >&6
20123 if test -n "$ac_ct__LIPO"; then
20124 ac_cv_prog_ac_ct__LIPO="$ac_ct__LIPO" # Let the user override the test.
20126 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20127 for as_dir in $PATH
20130 test -z "$as_dir" && as_dir=.
20131 for ac_exec_ext in '' $ac_executable_extensions; do
20132 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20133 ac_cv_prog_ac_ct__LIPO="$ac_prog"
20134 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20143 ac_ct__LIPO=$ac_cv_prog_ac_ct__LIPO
20144 if test -n "$ac_ct__LIPO"; then
20145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct__LIPO" >&5
20146 $as_echo "$ac_ct__LIPO" >&6; }
20148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20149 $as_echo "no" >&6; }
20153 test -n "$ac_ct__LIPO" && break
20156 if test "x$ac_ct__LIPO" = x; then
20159 case $cross_compiling:$ac_tool_warned in
20161 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
20162 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
20163 ac_tool_warned=yes ;;
20169 if test "x$_LIPO" = x; then :
20170 as_fn_error $? "You need lipo" "$LINENO" 5
20172 if test -n "$ac_tool_prefix"; then
20175 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
20176 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
20177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20178 $as_echo_n "checking for $ac_word... " >&6; }
20179 if ${ac_cv_prog__NM+:} false; then :
20180 $as_echo_n "(cached) " >&6
20182 if test -n "$_NM"; then
20183 ac_cv_prog__NM="$_NM" # Let the user override the test.
20185 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20186 for as_dir in $PATH
20189 test -z "$as_dir" && as_dir=.
20190 for ac_exec_ext in '' $ac_executable_extensions; do
20191 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20192 ac_cv_prog__NM="$ac_tool_prefix$ac_prog"
20193 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20202 _NM=$ac_cv_prog__NM
20203 if test -n "$_NM"; then
20204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_NM" >&5
20205 $as_echo "$_NM" >&6; }
20207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20208 $as_echo "no" >&6; }
20212 test -n "$_NM" && break
20215 if test -z "$_NM"; then
20219 # Extract the first word of "$ac_prog", so it can be a program name with args.
20220 set dummy $ac_prog; ac_word=$2
20221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20222 $as_echo_n "checking for $ac_word... " >&6; }
20223 if ${ac_cv_prog_ac_ct__NM+:} false; then :
20224 $as_echo_n "(cached) " >&6
20226 if test -n "$ac_ct__NM"; then
20227 ac_cv_prog_ac_ct__NM="$ac_ct__NM" # Let the user override the test.
20229 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20230 for as_dir in $PATH
20233 test -z "$as_dir" && as_dir=.
20234 for ac_exec_ext in '' $ac_executable_extensions; do
20235 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20236 ac_cv_prog_ac_ct__NM="$ac_prog"
20237 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20246 ac_ct__NM=$ac_cv_prog_ac_ct__NM
20247 if test -n "$ac_ct__NM"; then
20248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct__NM" >&5
20249 $as_echo "$ac_ct__NM" >&6; }
20251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20252 $as_echo "no" >&6; }
20256 test -n "$ac_ct__NM" && break
20259 if test "x$ac_ct__NM" = x; then
20262 case $cross_compiling:$ac_tool_warned in
20264 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
20265 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
20266 ac_tool_warned=yes ;;
20272 if test "x$_NM" = x; then :
20273 as_fn_error $? "You need nm" "$LINENO" 5
20275 CY_OBJECTIVEC_MACH=1
20277 CY_ATTACH_GROUP=procmod
20285 if test "x$GMAKE" != xmake; then :
20287 ac_config_files="$ac_config_files Makefile"
20291 ac_config_files="$ac_config_files GNUmakefile"
20293 cat >confcache <<\_ACEOF
20294 # This file is a shell script that caches the results of configure
20295 # tests run on this system so they can be shared between configure
20296 # scripts and configure runs, see configure's option --config-cache.
20297 # It is not useful on other systems. If it contains results you don't
20298 # want to keep, you may remove or edit it.
20300 # config.status only pays attention to the cache file if you give it
20301 # the --recheck option to rerun configure.
20303 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
20304 # loading this file, other *unset* `ac_cv_foo' will be assigned the
20305 # following values.
20309 # The following way of writing the cache mishandles newlines in values,
20310 # but we know of no workaround that is simple, portable, and efficient.
20311 # So, we kill variables containing newlines.
20312 # Ultrix sh set writes to stderr and can't be redirected directly,
20313 # and sets the high bit in the cache file unless we assign to the vars.
20315 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
20316 eval ac_val
=\$
$ac_var
20320 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
20321 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
20324 _
| IFS
| as_nl
) ;; #(
20325 BASH_ARGV
| BASH_SOURCE
) eval $ac_var= ;; #(
20326 *) { eval $ac_var=; unset $ac_var;} ;;
20332 case $as_nl`(ac_space=' '; set) 2>&1` in #(
20333 *${as_nl}ac_space
=\
*)
20334 # `set' does not quote correctly, so add quotes: double-quote
20335 # substitution turns \\\\ into \\, and sed turns \\ into \.
20338 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
20341 # `set' quotes correctly as required by POSIX, so do not add quotes.
20342 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
20351 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
20353 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
20355 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
20356 if test -w "$cache_file"; then
20357 if test "x$cache_file" != "x/dev/null"; then
20358 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
20359 $as_echo "$as_me: updating cache $cache_file" >&6;}
20360 if test ! -f "$cache_file" || test -h "$cache_file"; then
20361 cat confcache
>"$cache_file"
20363 case $cache_file in #(
20365 mv -f confcache
"$cache_file"$$
&&
20366 mv -f "$cache_file"$$
"$cache_file" ;; #(
20368 mv -f confcache
"$cache_file" ;;
20373 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
20374 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
20379 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
20380 # Let make expand exec_prefix.
20381 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
20383 # Transform confdefs.h into DEFS.
20384 # Protect against shell expansion while executing Makefile rules.
20385 # Protect against Makefile macro expansion.
20387 # If the first sed substitution is executed (which looks for macros that
20388 # take arguments), then branch to the quote section. Otherwise,
20389 # look for a macro that doesn't take arguments.
20399 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
20401 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
20405 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
20418 DEFS
=`sed -n "$ac_script" confdefs.h`
20424 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
20425 # 1. Remove the extension, and $U if already installed.
20426 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
20427 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
20428 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
20429 # will be set to the directory where LIBOBJS objects are built.
20430 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
20431 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
20433 LIBOBJS
=$ac_libobjs
20435 LTLIBOBJS
=$ac_ltlibobjs
20439 : "${CONFIG_STATUS=./config.status}"
20441 ac_clean_files_save
=$ac_clean_files
20442 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
20443 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
20444 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
20446 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
20448 # Generated by $as_me.
20449 # Run this file to recreate the current configuration.
20450 # Compiler output produced by configure, useful for debugging
20451 # configure, is in config.log if it exists.
20454 ac_cs_recheck=false
20457 SHELL=\${CONFIG_SHELL-$SHELL}
20460 cat >>$CONFIG_STATUS <<\_ASEOF
|| as_write_fail
=1
20461 ## -------------------- ##
20462 ## M4sh Initialization. ##
20463 ## -------------------- ##
20465 # Be more Bourne compatible
20466 DUALCASE
=1; export DUALCASE
# for MKS sh
20467 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
20470 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
20471 # is contrary to our usage. Disable this feature.
20472 alias -g '${1+"$@"}'='"$@"'
20473 setopt NO_GLOB_SUBST
20475 case `(set -o) 2>/dev/null` in #(
20487 # Printing a long string crashes Solaris 7 /usr/bin/printf.
20488 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
20489 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
20490 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
20491 # Prefer a ksh shell builtin over an external printf program on Solaris,
20492 # but without wasting forks for bash or zsh.
20493 if test -z "$BASH_VERSION$ZSH_VERSION" \
20494 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
20495 as_echo='print
-r --'
20496 as_echo_n='print
-rn --'
20497 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
20498 as_echo='printf %s
\n'
20499 as_echo_n='printf %s
'
20501 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
20502 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
20503 as_echo_n='/usr
/ucb
/echo -n'
20505 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
20506 as_echo_n_body='eval
20510 expr "X$arg" : "X\\(.*\\)$as_nl";
20511 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
20513 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
20515 export as_echo_n_body
20516 as_echo_n='sh
-c $as_echo_n_body as_echo
'
20518 export as_echo_body
20519 as_echo='sh
-c $as_echo_body as_echo
'
20522 # The user is always right.
20523 if test "${PATH_SEPARATOR+set}" != set; then
20525 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
20526 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
20533 # We need space, tab and new line, in precisely that order. Quoting is
20534 # there to prevent editors from complaining about space-tab.
20535 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
20536 # splitting by setting IFS to empty value.)
20539 # Find who we are. Look in the path if we contain no directory separator.
20542 *[\\/]* ) as_myself=$0 ;;
20543 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20544 for as_dir in $PATH
20547 test -z "$as_dir" && as_dir=.
20548 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
20554 # We did not find ourselves, most probably we were run as `sh COMMAND'
20555 # in which case we are not to be found in the path.
20556 if test "x$as_myself" = x
; then
20559 if test ! -f "$as_myself"; then
20560 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
20564 # Unset variables that we do not need and which cause bugs (e.g. in
20565 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
20566 # suppresses any "Segmentation fault" message there. '((' could
20567 # trigger a bug in pdksh 5.2.14.
20568 for as_var
in BASH_ENV ENV MAIL MAILPATH
20569 do eval test x\
${$as_var+set} = xset \
20570 && ( (unset $as_var) || exit 1) >/dev
/null
2>&1 && unset $as_var || :
20583 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
20586 # as_fn_error STATUS ERROR [LINENO LOG_FD]
20587 # ----------------------------------------
20588 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
20589 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
20590 # script with STATUS, using 1 if that was 0.
20593 as_status
=$1; test $as_status -eq 0 && as_status
=1
20595 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
20596 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
20598 $as_echo "$as_me: error: $2" >&2
20599 as_fn_exit
$as_status
20603 # as_fn_set_status STATUS
20604 # -----------------------
20605 # Set $? to STATUS, without forking.
20606 as_fn_set_status
()
20609 } # as_fn_set_status
20611 # as_fn_exit STATUS
20612 # -----------------
20613 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
20617 as_fn_set_status
$1
20623 # Portably unset VAR.
20626 { eval $1=; unset $1;}
20628 as_unset
=as_fn_unset
20629 # as_fn_append VAR VALUE
20630 # ----------------------
20631 # Append the text in VALUE to the end of the definition contained in VAR. Take
20632 # advantage of any shell optimizations that allow amortized linear growth over
20633 # repeated appends, instead of the typical quadratic growth present in naive
20635 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
20636 eval 'as_fn_append ()
20647 # as_fn_arith ARG...
20648 # ------------------
20649 # Perform arithmetic evaluation on the ARGs, and store the result in the
20650 # global $as_val. Take advantage of shells that can avoid forks. The arguments
20651 # must be portable across $(()) and expr.
20652 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
20653 eval 'as_fn_arith ()
20660 as_val
=`expr "$@" || test $? -eq 1`
20665 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
20666 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
20672 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
20673 as_basename
=basename
20678 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
20684 as_me
=`$as_basename -- "$0" ||
20685 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
20686 X"$0" : 'X\(//\)$' \| \
20687 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
20689 sed '/^.*\/\([^/][^/]*\)\/*$/{
20703 # Avoid depending upon Character Ranges.
20704 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
20705 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
20706 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
20707 as_cr_digits
='0123456789'
20708 as_cr_alnum
=$as_cr_Letters$as_cr_digits
20710 ECHO_C
= ECHO_N
= ECHO_T
=
20711 case `echo -n x` in #(((((
20713 case `echo 'xy\c'` in
20714 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
20716 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
20723 rm -f conf$$ conf$$.exe conf$$.
file
20724 if test -d conf$$.dir
; then
20725 rm -f conf$$.dir
/conf$$.
file
20728 mkdir conf$$.dir
2>/dev
/null
20730 if (echo >conf$$.
file) 2>/dev
/null
; then
20731 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
20733 # ... but there are two gotchas:
20734 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
20735 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
20736 # In both cases, we have to default to `cp -p'.
20737 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
20739 elif ln conf$$.
file conf$$
2>/dev
/null
; then
20747 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
20748 rmdir conf$$.dir
2>/dev
/null
20753 # Create "$as_dir" as a directory, including parents if necessary.
20758 -*) as_dir
=.
/$as_dir;;
20760 test -d "$as_dir" || eval $as_mkdir_p || {
20764 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
20765 *) as_qdir
=$as_dir;;
20767 as_dirs
="'$as_qdir' $as_dirs"
20768 as_dir
=`$as_dirname -- "$as_dir" ||
20769 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20770 X"$as_dir" : 'X\(//\)[^/]' \| \
20771 X"$as_dir" : 'X\(//\)$' \| \
20772 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
20773 $as_echo X"$as_dir" |
20774 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20778 /^X\(\/\/\)[^/].*/{
20791 test -d "$as_dir" && break
20793 test -z "$as_dirs" || eval "mkdir $as_dirs"
20794 } || test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
20798 if mkdir -p .
2>/dev
/null
; then
20799 as_mkdir_p
='mkdir -p "$as_dir"'
20801 test -d .
/-p && rmdir .
/-p
20805 if test -x / >/dev
/null
2>&1; then
20806 as_test_x
='test -x'
20808 if ls -dL / >/dev
/null
2>&1; then
20815 if test -d "$1"; then
20821 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
20822 ???[sx]*):;;*)false;;esac;fi
20826 as_executable_p
=$as_test_x
20828 # Sed expression to map a string onto a valid CPP name.
20829 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
20831 # Sed expression to map a string onto a valid variable name.
20832 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
20836 ## ----------------------------------- ##
20837 ## Main body of $CONFIG_STATUS script. ##
20838 ## ----------------------------------- ##
20840 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
20842 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
20843 # Save the log message, to keep $0 and so on meaningful, and to
20844 # report actual input values of CONFIG_FILES etc. instead of their
20845 # values after options handling.
20847 This file was extended by Cycript $as_me 0.9, which was
20848 generated by GNU Autoconf 2.68. Invocation command line was
20850 CONFIG_FILES = $CONFIG_FILES
20851 CONFIG_HEADERS = $CONFIG_HEADERS
20852 CONFIG_LINKS = $CONFIG_LINKS
20853 CONFIG_COMMANDS = $CONFIG_COMMANDS
20856 on `(hostname || uname -n) 2>/dev/null | sed 1q`
20861 case $ac_config_files in *"
20862 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
20867 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20868 # Files that config.status was made for.
20869 config_files="$ac_config_files"
20870 config_commands="$ac_config_commands"
20874 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
20876 \`$as_me' instantiates files and other configuration actions
20877 from templates according to the current configuration. Unless the files
20878 and actions are specified as TAGs, all are instantiated by default.
20880 Usage: $0 [OPTION]... [TAG]...
20882 -h, --help print this help, then exit
20883 -V, --version print version number and configuration settings, then exit
20884 --config print configuration, then exit
20885 -q, --quiet, --silent
20886 do not print progress messages
20887 -d, --debug don't remove temporary files
20888 --recheck update $as_me by reconfiguring in the same conditions
20889 --file=FILE[:TEMPLATE]
20890 instantiate the configuration file FILE
20892 Configuration files:
20895 Configuration commands:
20898 Report bugs to <saurik@saurik.com>.
20899 Cycript home page: <http://www.cycript.org/>."
20902 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20903 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
20905 Cycript config.status 0.9
20906 configured by $0, generated by GNU Autoconf 2.68,
20907 with options \\"\$ac_cs_config\\"
20909 Copyright (C) 2010 Free Software Foundation, Inc.
20910 This config.status script is free software; the Free Software Foundation
20911 gives unlimited permission to copy, distribute and modify it."
20916 test -n "\$AWK" || AWK=awk
20919 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
20920 # The default lists apply if the user does not specify any file.
20926 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
20927 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
20931 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
20943 # Handling of the options.
20944 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
20946 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
20947 $as_echo "$ac_cs_version"; exit ;;
20948 --config | --confi | --conf | --con | --co | --c )
20949 $as_echo "$ac_cs_config"; exit ;;
20950 --debug | --debu | --deb | --de | --d | -d )
20952 --file | --fil | --fi | --f )
20955 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
20956 '') as_fn_error $?
"missing file argument" ;;
20958 as_fn_append CONFIG_FILES
" '$ac_optarg'"
20959 ac_need_defaults
=false
;;
20960 --he | --h | --help | --hel | -h )
20961 $as_echo "$ac_cs_usage"; exit ;;
20962 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
20963 | -silent | --silent | --silen | --sile | --sil | --si | --s)
20966 # This is an error.
20967 -*) as_fn_error $?
"unrecognized option: \`$1'
20968 Try \`$0 --help' for more information." ;;
20970 *) as_fn_append ac_config_targets
" $1"
20971 ac_need_defaults
=false
;;
20977 ac_configure_extra_args
=
20979 if $ac_cs_silent; then
20981 ac_configure_extra_args
="$ac_configure_extra_args --silent"
20985 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20986 if \$ac_cs_recheck; then
20987 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
20989 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
20990 CONFIG_SHELL='$SHELL'
20991 export CONFIG_SHELL
20996 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
21000 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
21001 ## Running $as_me. ##
21007 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21013 # The HP-UX ksh and POSIX shell print the target directory to stdout
21014 # if CDPATH is set.
21015 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
21017 sed_quote_subst='$sed_quote_subst'
21018 double_quote_subst='$double_quote_subst'
21019 delay_variable_subst='$delay_variable_subst'
21020 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
21021 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
21022 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
21023 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
21024 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
21025 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
21026 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
21027 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
21028 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
21029 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
21030 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
21031 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
21032 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
21033 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
21034 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
21035 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
21036 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
21037 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
21038 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
21039 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
21040 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
21041 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
21042 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
21043 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
21044 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
21045 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
21046 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
21047 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
21048 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
21049 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
21050 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
21051 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
21052 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
21053 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
21054 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
21055 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
21056 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
21057 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
21058 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
21059 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
21060 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
21061 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
21062 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
21063 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
21064 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
21065 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
21066 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
21067 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
21068 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
21069 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
21070 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
21071 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
21072 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
21073 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
21074 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
21075 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"`'
21076 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
21077 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
21078 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
21079 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
21080 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
21081 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
21082 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
21083 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
21084 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
21085 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
21086 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
21087 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
21088 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
21089 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
21090 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
21091 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
21092 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
21093 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
21094 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
21095 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
21096 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
21097 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
21098 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
21099 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
21100 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
21101 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
21102 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
21103 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
21104 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
21105 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
21106 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
21107 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
21108 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
21109 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
21110 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
21111 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
21112 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
21113 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
21114 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
21115 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
21116 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
21117 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
21118 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
21119 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
21120 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
21121 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
21122 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
21123 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
21124 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
21125 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
21126 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
21127 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
21128 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
21129 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
21130 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
21131 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
21132 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
21133 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
21134 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
21135 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
21136 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
21137 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
21138 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
21139 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
21140 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
21141 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
21142 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
21143 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
21144 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
21145 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
21146 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
21147 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
21148 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
21149 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
21150 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
21151 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
21152 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
21153 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
21154 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
21155 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
21156 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
21157 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
21158 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21159 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21160 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
21161 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
21162 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
21163 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
21164 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
21165 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
21166 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
21167 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
21168 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
21169 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
21170 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
21171 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
21172 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21173 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21174 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21175 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21176 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21177 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21178 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
21179 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
21180 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
21181 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
21182 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
21183 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
21184 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
21185 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
21186 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
21187 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
21188 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
21189 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
21190 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
21191 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
21192 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21193 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
21194 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
21195 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21196 postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21197 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
21198 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
21199 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
21200 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
21201 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
21202 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
21203 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
21204 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
21207 LTCFLAGS='$LTCFLAGS'
21208 compiler='$compiler_DEFAULT'
21210 # A function that is used when there is no print builtin or printf.
21211 func_fallback_echo ()
21213 eval 'cat <<_LTECHO_EOF
21218 # Quote evaled strings.
21232 deplibs_check_method \
21237 sharedlib_from_linklib_cmd \
21240 archiver_list_spec \
21246 lt_cv_sys_global_symbol_pipe \
21247 lt_cv_sys_global_symbol_to_cdecl \
21248 lt_cv_sys_global_symbol_to_c_name_address \
21249 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
21250 nm_file_list_spec \
21251 lt_prog_compiler_no_builtin_flag \
21252 lt_prog_compiler_pic \
21253 lt_prog_compiler_wl \
21254 lt_prog_compiler_static \
21255 lt_cv_prog_compiler_c_o \
21264 export_dynamic_flag_spec \
21265 whole_archive_flag_spec \
21266 compiler_needs_object \
21268 allow_undefined_flag \
21269 no_undefined_flag \
21270 hardcode_libdir_flag_spec \
21271 hardcode_libdir_flag_spec_ld \
21272 hardcode_libdir_separator \
21276 variables_saved_for_relink \
21278 library_names_spec \
21280 install_override_mode \
21284 compiler_lib_search_dirs \
21289 compiler_lib_search_path \
21293 lt_prog_compiler_no_builtin_flag_CXX \
21294 lt_prog_compiler_pic_CXX \
21295 lt_prog_compiler_wl_CXX \
21296 lt_prog_compiler_static_CXX \
21297 lt_cv_prog_compiler_c_o_CXX \
21298 export_dynamic_flag_spec_CXX \
21299 whole_archive_flag_spec_CXX \
21300 compiler_needs_object_CXX \
21302 allow_undefined_flag_CXX \
21303 no_undefined_flag_CXX \
21304 hardcode_libdir_flag_spec_CXX \
21305 hardcode_libdir_flag_spec_ld_CXX \
21306 hardcode_libdir_separator_CXX \
21307 exclude_expsyms_CXX \
21308 include_expsyms_CXX \
21309 file_list_spec_CXX \
21310 compiler_lib_search_dirs_CXX \
21311 predep_objects_CXX \
21312 postdep_objects_CXX \
21315 compiler_lib_search_path_CXX; do
21316 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
21317 *[\\\\\\\`\\"\\\$]*)
21318 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
21321 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
21326 # Double-quote double-evaled strings.
21327 for var in reload_cmds \
21328 old_postinstall_cmds \
21329 old_postuninstall_cmds \
21331 extract_expsyms_cmds \
21332 old_archive_from_new_cmds \
21333 old_archive_from_expsyms_cmds \
21335 archive_expsym_cmds \
21337 module_expsym_cmds \
21338 export_symbols_cmds \
21342 postuninstall_cmds \
21344 sys_lib_search_path_spec \
21345 sys_lib_dlsearch_path_spec \
21347 old_archive_cmds_CXX \
21348 old_archive_from_new_cmds_CXX \
21349 old_archive_from_expsyms_cmds_CXX \
21351 archive_expsym_cmds_CXX \
21353 module_expsym_cmds_CXX \
21354 export_symbols_cmds_CXX \
21356 postlink_cmds_CXX; do
21357 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
21358 *[\\\\\\\`\\"\\\$]*)
21359 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
21362 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
21367 ac_aux_dir='$ac_aux_dir'
21368 xsi_shell='$xsi_shell'
21369 lt_shell_append='$lt_shell_append'
21371 # See if we are running on zsh, and set the options which allow our
21372 # commands through without removal of \ escapes INIT.
21373 if test -n "\${ZSH_VERSION+set}" ; then
21374 setopt NO_GLOB_SUBST
21380 TIMESTAMP='$TIMESTAMP'
21391 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
21393 # Handling of arguments.
21394 for ac_config_target
in $ac_config_targets
21396 case $ac_config_target in
21397 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
21398 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
21399 "GNUmakefile") CONFIG_FILES
="$CONFIG_FILES GNUmakefile" ;;
21401 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
21406 # If the user did not use the arguments to specify the items to instantiate,
21407 # then the envvar interface is used. Set only those that are not.
21408 # We use the long form for the default assignment because of an extremely
21409 # bizarre bug on SunOS 4.1.3.
21410 if $ac_need_defaults; then
21411 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
21412 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
21415 # Have a temporary directory for convenience. Make it in the build tree
21416 # simply because there is no reason against having it here, and in addition,
21417 # creating and moving files from /tmp can sometimes cause problems.
21418 # Hook for its removal unless debugging.
21419 # Note that there is a small window in which the directory will not be cleaned:
21420 # after its creation but before its name has been assigned to `$tmp'.
21424 trap 'exit_status=$?
21425 : "${ac_tmp:=$tmp}"
21426 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
21428 trap 'as_fn_exit 1' 1 2 13 15
21430 # Create a (secure) tmp directory for tmp files.
21433 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
21437 tmp
=.
/conf$$
-$RANDOM
21438 (umask 077 && mkdir "$tmp")
21439 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
21442 # Set up the scripts for CONFIG_FILES section.
21443 # No need to generate them if there are no CONFIG_FILES.
21444 # This happens for instance with `./config.status config.h'.
21445 if test -n "$CONFIG_FILES"; then
21448 ac_cr
=`echo X | tr X '\015'`
21449 # On cygwin, bash can eat \r inside `` if the user requested igncr.
21450 # But we know of no other shell where ac_cr would be empty at this
21451 # point, so we can use a bashism as a fallback.
21452 if test "x$ac_cr" = x
; then
21453 eval ac_cr
=\$
\'\\r
\'
21455 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
21456 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
21459 ac_cs_awk_cr
=$ac_cr
21462 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
21467 echo "cat >conf$$subs.awk <<_ACEOF" &&
21468 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
21470 } >conf$$subs.sh ||
21471 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
21472 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
21474 for ac_last_try in false false false false false :; do
21475 . ./conf$$subs.sh ||
21476 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
21478 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
21479 if test $ac_delim_n = $ac_delim_num; then
21481 elif $ac_last_try; then
21482 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
21484 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
21487 rm -f conf$$subs.sh
21489 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21490 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
21494 s/^/S["/; s
/!.
*/"]=/
21504 s/\(.\{148\}\)..*/\1/
21506 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
21511 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
21518 s/\(.\{148\}\)..*/\1/
21520 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
21524 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
21529 ' <conf$$subs.awk | sed '
21534 ' >>$CONFIG_STATUS || ac_write_fail=1
21535 rm -f conf$$subs.awk
21536 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21538 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
21539 for (key in S) S_is_set[key] = 1
21545 nfields = split(line, field, "@
")
21547 len = length(field[1])
21548 for (i = 2; i < nfields; i++) {
21550 keylen = length(key)
21551 if (S_is_set[key]) {
21553 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
21554 len += length(value) + length(field[++i])
21565 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21566 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
21567 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
21570 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
21571 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
21574 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
21575 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
21576 # trailing colons and then remove the whole line if VPATH becomes empty
21577 # (actually we leave an empty line to preserve line numbers).
21578 if test "x
$srcdir" = x.; then
21579 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
21597 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21598 fi # test -n "$CONFIG_FILES"
21601 eval set X " :F
$CONFIG_FILES :C
$CONFIG_COMMANDS"
21606 :[FHLC]) ac_mode=$ac_tag; continue;;
21608 case $ac_mode$ac_tag in
21610 :L* | :C*:*) as_fn_error $? "invalid tag \
`$ac_tag'" "$LINENO" 5;;
21611 :[FH]-) ac_tag=-:-;;
21612 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
21629 -) ac_f="$ac_tmp/stdin";;
21630 *) # Look for the file first in the build tree, then in the source tree
21631 # (if the path is not absolute). The absolute path cannot be DOS-style,
21632 # because $ac_f cannot contain `:'.
21636 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
21638 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
21640 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s
/'/'\\\\\\\\''/g
"`;; esac
21641 as_fn_append ac_file_inputs " '$ac_f'"
21644 # Let's still pretend it is `configure' which instantiates (i.e., don't
21645 # use $as_me), people would be surprised to read:
21646 # /* config.h. Generated by config.status. */
21647 configure_input='Generated from '`
21648 $as_echo "$
*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
21650 if test x"$ac_file" != x-; then
21651 configure_input="$ac_file.
$configure_input"
21652 { $as_echo "$as_me:${as_lineno-$LINENO}: creating
$ac_file" >&5
21653 $as_echo "$as_me: creating
$ac_file" >&6;}
21655 # Neutralize special characters interpreted by sed in replacement strings.
21656 case $configure_input in #(
21657 *\&* | *\|* | *\\* )
21658 ac_sed_conf_input=`$as_echo "$configure_input" |
21659 sed 's/[\\\\&|]/\\\\&/g'`;; #(
21660 *) ac_sed_conf_input=$configure_input;;
21664 *:-:* | *:-) cat >"$ac_tmp/stdin
" \
21665 || as_fn_error $? "could not create
$ac_file" "$LINENO" 5 ;;
21670 ac_dir=`$as_dirname -- "$ac_file" ||
21671 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21672 X"$ac_file" : 'X\(//\)[^/]' \| \
21673 X"$ac_file" : 'X\(//\)$' \| \
21674 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
21675 $as_echo X"$ac_file" |
21676 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21680 /^X\(\/\/\)[^/].*/{
21693 as_dir="$ac_dir"; as_fn_mkdir_p
21697 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
21699 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
21700 # A "..
" for each directory in $ac_dir_suffix.
21701 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
21702 case $ac_top_builddir_sub in
21703 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
21704 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
21707 ac_abs_top_builddir=$ac_pwd
21708 ac_abs_builddir=$ac_pwd$ac_dir_suffix
21709 # for backward compatibility:
21710 ac_top_builddir=$ac_top_build_prefix
21713 .) # We are building in place.
21715 ac_top_srcdir=$ac_top_builddir_sub
21716 ac_abs_top_srcdir=$ac_pwd ;;
21717 [\\/]* | ?:[\\/]* ) # Absolute name.
21718 ac_srcdir=$srcdir$ac_dir_suffix;
21719 ac_top_srcdir=$srcdir
21720 ac_abs_top_srcdir=$srcdir ;;
21721 *) # Relative name.
21722 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
21723 ac_top_srcdir=$ac_top_build_prefix$srcdir
21724 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
21726 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
21736 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
21737 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
21741 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21742 # If the template does not know about datarootdir, expand it.
21743 # FIXME: This hack should be removed a few years after 2.60.
21744 ac_datarootdir_hack=; ac_datarootdir_seen=
21755 case `eval "sed -n \"\
$ac_sed_dataroot\" $ac_file_inputs"` in
21756 *datarootdir*) ac_datarootdir_seen=yes;;
21757 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
21758 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&5
21759 $as_echo "$as_me: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&2;}
21761 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21762 ac_datarootdir_hack='
21763 s&@datadir@&$datadir&g
21764 s&@docdir@&$docdir&g
21765 s&@infodir@&$infodir&g
21766 s&@localedir@&$localedir&g
21767 s&@mandir@&$mandir&g
21768 s&\\\${datarootdir}&$datarootdir&g' ;;
21772 # Neutralize VPATH when `$srcdir' = `.'.
21773 # Shell code in configure.ac might set extrasub.
21774 # FIXME: do we really want to maintain this feature?
21775 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21776 ac_sed_extra="$ac_vpsub
21779 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
21781 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
21782 s
|@configure_input@
|$ac_sed_conf_input|;t t
21783 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
21784 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
21785 s
&@srcdir@
&$ac_srcdir&;t t
21786 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
21787 s
&@top_srcdir@
&$ac_top_srcdir&;t t
21788 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
21789 s
&@builddir@
&$ac_builddir&;t t
21790 s
&@abs_builddir@
&$ac_abs_builddir&;t t
21791 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
21792 s
&@INSTALL@
&$ac_INSTALL&;t t
21793 $ac_datarootdir_hack
21795 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
21796 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
21798 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
21799 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
21800 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
21801 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
21802 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
21803 which seems to be undefined. Please make sure it is defined" >&5
21804 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
21805 which seems to be undefined. Please make sure it is defined" >&2;}
21807 rm -f "$ac_tmp/stdin"
21809 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
21810 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
21812 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21816 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
21817 $as_echo "$as_me: executing $ac_file commands" >&6;}
21822 case $ac_file$ac_mode in
21825 # See if we are running on zsh, and set the options which allow our
21826 # commands through without removal of \ escapes.
21827 if test -n "${ZSH_VERSION+set}" ; then
21828 setopt NO_GLOB_SUBST
21831 cfgfile="${ofile}T"
21832 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
21835 cat <<_LT_EOF >> "$cfgfile"
21838 # `$ECHO "$ofile" | sed 's
%^.
*/%%'` - Provide generalized library-building support services.
21839 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
21840 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
21841 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
21843 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
21844 # 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
21846 # Written by Gordon Matzigkeit, 1996
21848 # This file is part of GNU Libtool.
21850 # GNU Libtool is free software; you can redistribute it and/or
21851 # modify it under the terms of the GNU General Public License as
21852 # published by the Free Software Foundation; either version 2 of
21853 # the License, or (at your option) any later version.
21855 # As a special exception to the GNU General Public License,
21856 # if you distribute this file as part of a program or library that
21857 # is built using GNU Libtool, you may include this file under the
21858 # same distribution terms that you use for the rest of that program.
21860 # GNU Libtool is distributed in the hope that it will be useful,
21861 # but WITHOUT ANY WARRANTY; without even the implied warranty of
21862 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21863 # GNU General Public License for more details.
21865 # You should have received a copy of the GNU General Public License
21866 # along with GNU Libtool; see the file COPYING. If not, a copy
21867 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
21868 # obtained by writing to the Free Software Foundation, Inc.,
21869 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
21872 # The names of the tagged configurations supported by this script.
21873 available_tags="CXX "
21875 # ### BEGIN LIBTOOL CONFIG
21877 # Which release of libtool.m4 was used?
21878 macro_version=$macro_version
21879 macro_revision=$macro_revision
21881 # Whether or not to build static libraries.
21882 build_old_libs=$enable_static
21884 # Whether or not to build shared libraries.
21885 build_libtool_libs=$enable_shared
21887 # What type of objects to build.
21890 # Whether or not to optimize for fast installation.
21891 fast_install=$enable_fast_install
21893 # Shell to use when invoking shell scripts.
21896 # An echo program that protects backslashes.
21900 host_alias=$host_alias
21904 # The build system.
21905 build_alias=$build_alias
21909 # A sed program that does not truncate output.
21912 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
21913 Xsed="\$SED -e 1s/^X//"
21915 # A grep program that handles long lines.
21921 # A literal string matcher.
21924 # A BSD- or MS-compatible name lister.
21927 # Whether we need soft or hard links.
21930 # What is the maximum length of a command?
21931 max_cmd_len=$max_cmd_len
21933 # Object file suffix (normally "o").
21936 # Executable file suffix (normally "").
21939 # whether the shell understands "unset".
21942 # turn spaces into newlines.
21945 # turn newlines into spaces.
21948 # convert \$build file names to \$host format.
21949 to_host_file_cmd=$lt_cv_to_host_file_cmd
21951 # convert \$build files to toolchain format.
21952 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
21954 # An object symbol dumper.
21955 OBJDUMP=$lt_OBJDUMP
21957 # Method to check whether dependent libraries are shared objects.
21958 deplibs_check_method=$lt_deplibs_check_method
21960 # Command to use when deplibs_check_method = "file_magic".
21961 file_magic_cmd=$lt_file_magic_cmd
21963 # How to find potential files when deplibs_check_method = "file_magic".
21964 file_magic_glob=$lt_file_magic_glob
21966 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
21967 want_nocaseglob=$lt_want_nocaseglob
21969 # DLL creation program.
21970 DLLTOOL=$lt_DLLTOOL
21972 # Command to associate shared and link libraries.
21973 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
21978 # Flags to create an archive.
21979 AR_FLAGS=$lt_AR_FLAGS
21981 # How to feed a file listing to the archiver.
21982 archiver_list_spec=$lt_archiver_list_spec
21984 # A symbol stripping program.
21987 # Commands used to install an old-style archive.
21989 old_postinstall_cmds=$lt_old_postinstall_cmds
21990 old_postuninstall_cmds=$lt_old_postuninstall_cmds
21992 # Whether to use a lock for old archive extraction.
21993 lock_old_archive_extraction=$lock_old_archive_extraction
21998 # LTCC compiler flags.
21999 LTCFLAGS=$lt_CFLAGS
22001 # Take the output of nm and produce a listing of raw symbols and C names.
22002 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
22004 # Transform the output of nm in a proper C declaration.
22005 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
22007 # Transform the output of nm in a C name address pair.
22008 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
22010 # Transform the output of nm in a C name address pair when lib prefix is needed.
22011 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
22013 # Specify filename containing input files for \$NM.
22014 nm_file_list_spec=$lt_nm_file_list_spec
22016 # The root where to search for dependent libraries,and in which our libraries should be installed.
22017 lt_sysroot=$lt_sysroot
22019 # The name of the directory that contains temporary libtool files.
22022 # Used to examine libraries when file_magic_cmd begins with "file".
22023 MAGIC_CMD=$MAGIC_CMD
22025 # Must we lock files when doing compilation?
22026 need_locks=$lt_need_locks
22029 MANIFEST_TOOL=$lt_MANIFEST_TOOL
22031 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
22032 DSYMUTIL=$lt_DSYMUTIL
22034 # Tool to change global to local symbols on Mac OS X.
22037 # Tool to manipulate fat objects and archives on Mac OS X.
22040 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
22043 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
22044 OTOOL64=$lt_OTOOL64
22046 # Old archive suffix (normally "a").
22049 # Shared library suffix (normally ".so").
22050 shrext_cmds=$lt_shrext_cmds
22052 # The commands to extract the exported symbol list from a shared archive.
22053 extract_expsyms_cmds=$lt_extract_expsyms_cmds
22055 # Variables whose values should be saved in libtool wrapper scripts and
22056 # restored at link time.
22057 variables_saved_for_relink=$lt_variables_saved_for_relink
22059 # Do we need the "lib" prefix for modules?
22060 need_lib_prefix=$need_lib_prefix
22062 # Do we need a version for libraries?
22063 need_version=$need_version
22065 # Library versioning type.
22066 version_type=$version_type
22068 # Shared library runtime path variable.
22069 runpath_var=$runpath_var
22071 # Shared library path variable.
22072 shlibpath_var=$shlibpath_var
22074 # Is shlibpath searched before the hard-coded library search path?
22075 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
22077 # Format of library name prefix.
22078 libname_spec=$lt_libname_spec
22080 # List of archive names. First name is the real one, the rest are links.
22081 # The last name is the one that the linker finds with -lNAME
22082 library_names_spec=$lt_library_names_spec
22084 # The coded name of the library, if different from the real name.
22085 soname_spec=$lt_soname_spec
22087 # Permission mode override for installation of shared libraries.
22088 install_override_mode=$lt_install_override_mode
22090 # Command to use after installation of a shared archive.
22091 postinstall_cmds=$lt_postinstall_cmds
22093 # Command to use after uninstallation of a shared archive.
22094 postuninstall_cmds=$lt_postuninstall_cmds
22096 # Commands used to finish a libtool library installation in a directory.
22097 finish_cmds=$lt_finish_cmds
22099 # As "finish_cmds", except a single script fragment to be evaled but
22101 finish_eval=$lt_finish_eval
22103 # Whether we should hardcode library paths into libraries.
22104 hardcode_into_libs=$hardcode_into_libs
22106 # Compile-time system search path for libraries.
22107 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
22109 # Run-time system search path for libraries.
22110 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
22112 # Whether dlopen is supported.
22113 dlopen_support=$enable_dlopen
22115 # Whether dlopen of programs is supported.
22116 dlopen_self=$enable_dlopen_self
22118 # Whether dlopen of statically linked programs is supported.
22119 dlopen_self_static=$enable_dlopen_self_static
22121 # Commands to strip libraries.
22122 old_striplib=$lt_old_striplib
22123 striplib=$lt_striplib
22126 # The linker used to build libraries.
22129 # How to create reloadable object files.
22130 reload_flag=$lt_reload_flag
22131 reload_cmds=$lt_reload_cmds
22133 # Commands used to build an old-style archive.
22134 old_archive_cmds=$lt_old_archive_cmds
22136 # A language specific compiler.
22139 # Is the compiler the GNU compiler?
22142 # Compiler flag to turn off builtin functions.
22143 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
22145 # Additional compiler flags for building library objects.
22146 pic_flag=$lt_lt_prog_compiler_pic
22148 # How to pass a linker flag through the compiler.
22149 wl=$lt_lt_prog_compiler_wl
22151 # Compiler flag to prevent dynamic linking.
22152 link_static_flag=$lt_lt_prog_compiler_static
22154 # Does compiler simultaneously support -c and -o options?
22155 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
22157 # Whether or not to add -lc for building shared libraries.
22158 build_libtool_need_lc=$archive_cmds_need_lc
22160 # Whether or not to disallow shared libs when runtime libs are static.
22161 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
22163 # Compiler flag to allow reflexive dlopens.
22164 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
22166 # Compiler flag to generate shared objects directly from archives.
22167 whole_archive_flag_spec=$lt_whole_archive_flag_spec
22169 # Whether the compiler copes with passing no objects directly.
22170 compiler_needs_object=$lt_compiler_needs_object
22172 # Create an old-style archive from a shared archive.
22173 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
22175 # Create a temporary old-style archive to link instead of a shared archive.
22176 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
22178 # Commands used to build a shared archive.
22179 archive_cmds=$lt_archive_cmds
22180 archive_expsym_cmds=$lt_archive_expsym_cmds
22182 # Commands used to build a loadable module if different from building
22183 # a shared archive.
22184 module_cmds=$lt_module_cmds
22185 module_expsym_cmds=$lt_module_expsym_cmds
22187 # Whether we are building with GNU ld or not.
22188 with_gnu_ld=$lt_with_gnu_ld
22190 # Flag that allows shared libraries with undefined symbols to be built.
22191 allow_undefined_flag=$lt_allow_undefined_flag
22193 # Flag that enforces no undefined symbols.
22194 no_undefined_flag=$lt_no_undefined_flag
22196 # Flag to hardcode \$libdir into a binary during linking.
22197 # This must work even if \$libdir does not exist
22198 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
22200 # If ld is used when linking, flag to hardcode \$libdir into a binary
22201 # during linking. This must work even if \$libdir does not exist.
22202 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
22204 # Whether we need a single "-rpath" flag with a separated argument.
22205 hardcode_libdir_separator=$lt_hardcode_libdir_separator
22207 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
22208 # DIR into the resulting binary.
22209 hardcode_direct=$hardcode_direct
22211 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
22212 # DIR into the resulting binary and the resulting library dependency is
22213 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
22214 # library is relocated.
22215 hardcode_direct_absolute=$hardcode_direct_absolute
22217 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
22218 # into the resulting binary.
22219 hardcode_minus_L=$hardcode_minus_L
22221 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
22222 # into the resulting binary.
22223 hardcode_shlibpath_var=$hardcode_shlibpath_var
22225 # Set to "yes" if building a shared library automatically hardcodes DIR
22226 # into the library and all subsequent libraries and executables linked
22228 hardcode_automatic=$hardcode_automatic
22230 # Set to yes if linker adds runtime paths of dependent libraries
22231 # to runtime path list.
22232 inherit_rpath=$inherit_rpath
22234 # Whether libtool must link a program against all its dependency libraries.
22235 link_all_deplibs=$link_all_deplibs
22237 # Set to "yes" if exported symbols are required.
22238 always_export_symbols=$always_export_symbols
22240 # The commands to list exported symbols.
22241 export_symbols_cmds=$lt_export_symbols_cmds
22243 # Symbols that should not be listed in the preloaded symbols.
22244 exclude_expsyms=$lt_exclude_expsyms
22246 # Symbols that must always be exported.
22247 include_expsyms=$lt_include_expsyms
22249 # Commands necessary for linking programs (against libraries) with templates.
22250 prelink_cmds=$lt_prelink_cmds
22252 # Commands necessary for finishing linking programs.
22253 postlink_cmds=$lt_postlink_cmds
22255 # Specify filename containing input files.
22256 file_list_spec=$lt_file_list_spec
22258 # How to hardcode a shared library path into an executable.
22259 hardcode_action=$hardcode_action
22261 # The directories searched by this compiler when creating a shared library.
22262 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
22264 # Dependencies to place before and after the objects being linked to
22265 # create a shared library.
22266 predep_objects=$lt_predep_objects
22267 postdep_objects=$lt_postdep_objects
22268 predeps=$lt_predeps
22269 postdeps=$lt_postdeps
22271 # The library search path used internally by the compiler when linking
22272 # a shared library.
22273 compiler_lib_search_path=$lt_compiler_lib_search_path
22275 # ### END LIBTOOL CONFIG
22281 cat <<\_LT_EOF >> "$cfgfile"
22282 # AIX sometimes has problems with the GCC collect2 program. For some
22283 # reason, if we set the COLLECT_NAMES environment variable, the problems
22284 # vanish in a puff of smoke.
22285 if test "X${COLLECT_NAMES+set}" != Xset; then
22287 export COLLECT_NAMES
22294 ltmain="$ac_aux_dir/ltmain.sh"
22297 # We use sed instead of cat because bash on DJGPP gets confused if
22298 # if finds mixed CR/LF and LF-only lines. Since sed operates in
22299 # text mode, it properly converts lines to CR/LF. This bash problem
22300 # is reportedly fixed, but why not run on old versions too?
22301 sed '$q' "$ltmain" >> "$cfgfile" \
22302 || (rm -f "$cfgfile"; exit 1)
22304 if test x"$xsi_shell" = xyes; then
22305 sed -e '/^func_dirname
()$
/,/^
} # func_dirname /c\
22309 \
*/*) func_dirname_result
="${1%/*}${2}" ;;\
22310 \
* ) func_dirname_result
="${3}" ;;\
22312 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
22313 && mv -f "$cfgfile.tmp" "$cfgfile" \
22314 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22315 test 0 -eq $?
|| _lt_function_replace_fail
=:
22318 sed -e '/^func_basename ()$/,/^} # func_basename /c\
22321 \ func_basename_result="${1##*/}"\
22322 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
22323 && mv -f "$cfgfile.tmp" "$cfgfile" \
22324 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22325 test 0 -eq $?
|| _lt_function_replace_fail
=:
22328 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
22329 func_dirname_and_basename ()\
22332 \ */*) func_dirname_result="${1%/*}${2}" ;;\
22333 \ * ) func_dirname_result="${3}" ;;\
22335 \ func_basename_result="${1##*/}"\
22336 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
22337 && mv -f "$cfgfile.tmp" "$cfgfile" \
22338 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22339 test 0 -eq $?
|| _lt_function_replace_fail
=:
22342 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
22345 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
22346 \ # positional parameters, so assign one to ordinary parameter first.\
22347 \ func_stripname_result=${3}\
22348 \ func_stripname_result=${func_stripname_result#"${1}"}\
22349 \ func_stripname_result=${func_stripname_result%"${2}"}\
22350 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
22351 && mv -f "$cfgfile.tmp" "$cfgfile" \
22352 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22353 test 0 -eq $?
|| _lt_function_replace_fail
=:
22356 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
22357 func_split_long_opt ()\
22359 \ func_split_long_opt_name=${1%%=*}\
22360 \ func_split_long_opt_arg=${1#*=}\
22361 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
22362 && mv -f "$cfgfile.tmp" "$cfgfile" \
22363 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22364 test 0 -eq $?
|| _lt_function_replace_fail
=:
22367 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
22368 func_split_short_opt ()\
22370 \ func_split_short_opt_arg=${1#??}\
22371 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
22372 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
22373 && mv -f "$cfgfile.tmp" "$cfgfile" \
22374 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22375 test 0 -eq $?
|| _lt_function_replace_fail
=:
22378 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
22382 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
22383 \ *) func_lo2o_result=${1} ;;\
22385 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
22386 && mv -f "$cfgfile.tmp" "$cfgfile" \
22387 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22388 test 0 -eq $?
|| _lt_function_replace_fail
=:
22391 sed -e '/^func_xform ()$/,/^} # func_xform /c\
22394 func_xform_result=${1%.*}.lo\
22395 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
22396 && mv -f "$cfgfile.tmp" "$cfgfile" \
22397 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22398 test 0 -eq $?
|| _lt_function_replace_fail
=:
22401 sed -e '/^func_arith ()$/,/^} # func_arith /c\
22404 func_arith_result=$(( $* ))\
22405 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
22406 && mv -f "$cfgfile.tmp" "$cfgfile" \
22407 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22408 test 0 -eq $?
|| _lt_function_replace_fail
=:
22411 sed -e '/^func_len ()$/,/^} # func_len /c\
22414 func_len_result=${#1}\
22415 } # Extended-shell func_len 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
=:
22422 if test x
"$lt_shell_append" = xyes
; then
22423 sed -e '/^func_append ()$/,/^} # func_append /c\
22426 eval "${1}+=\\${2}"\
22427 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
22428 && mv -f "$cfgfile.tmp" "$cfgfile" \
22429 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22430 test 0 -eq $?
|| _lt_function_replace_fail
=:
22433 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
22434 func_append_quoted ()\
22436 \ func_quote_for_eval "${2}"\
22437 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
22438 } # Extended-shell func_append_quoted 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 # Save a `func_append' function call where possible by direct use of '+='
22445 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
22446 && mv -f "$cfgfile.tmp" "$cfgfile" \
22447 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22448 test 0 -eq $?
|| _lt_function_replace_fail
=:
22450 # Save a `func_append' function call even when '+=' is not available
22451 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
22452 && mv -f "$cfgfile.tmp" "$cfgfile" \
22453 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22454 test 0 -eq $?
|| _lt_function_replace_fail
=:
22457 if test x
"$_lt_function_replace_fail" = x
":"; then
22458 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
22459 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
22463 mv -f "$cfgfile" "$ofile" ||
22464 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
22468 cat <<_LT_EOF >> "$ofile"
22470 # ### BEGIN LIBTOOL TAG CONFIG: CXX
22472 # The linker used to build libraries.
22475 # How to create reloadable object files.
22476 reload_flag=$lt_reload_flag_CXX
22477 reload_cmds=$lt_reload_cmds_CXX
22479 # Commands used to build an old-style archive.
22480 old_archive_cmds=$lt_old_archive_cmds_CXX
22482 # A language specific compiler.
22483 CC=$lt_compiler_CXX
22485 # Is the compiler the GNU compiler?
22488 # Compiler flag to turn off builtin functions.
22489 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
22491 # Additional compiler flags for building library objects.
22492 pic_flag=$lt_lt_prog_compiler_pic_CXX
22494 # How to pass a linker flag through the compiler.
22495 wl=$lt_lt_prog_compiler_wl_CXX
22497 # Compiler flag to prevent dynamic linking.
22498 link_static_flag=$lt_lt_prog_compiler_static_CXX
22500 # Does compiler simultaneously support -c and -o options?
22501 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
22503 # Whether or not to add -lc for building shared libraries.
22504 build_libtool_need_lc=$archive_cmds_need_lc_CXX
22506 # Whether or not to disallow shared libs when runtime libs are static.
22507 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
22509 # Compiler flag to allow reflexive dlopens.
22510 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
22512 # Compiler flag to generate shared objects directly from archives.
22513 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
22515 # Whether the compiler copes with passing no objects directly.
22516 compiler_needs_object=$lt_compiler_needs_object_CXX
22518 # Create an old-style archive from a shared archive.
22519 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
22521 # Create a temporary old-style archive to link instead of a shared archive.
22522 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
22524 # Commands used to build a shared archive.
22525 archive_cmds=$lt_archive_cmds_CXX
22526 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
22528 # Commands used to build a loadable module if different from building
22529 # a shared archive.
22530 module_cmds=$lt_module_cmds_CXX
22531 module_expsym_cmds=$lt_module_expsym_cmds_CXX
22533 # Whether we are building with GNU ld or not.
22534 with_gnu_ld=$lt_with_gnu_ld_CXX
22536 # Flag that allows shared libraries with undefined symbols to be built.
22537 allow_undefined_flag=$lt_allow_undefined_flag_CXX
22539 # Flag that enforces no undefined symbols.
22540 no_undefined_flag=$lt_no_undefined_flag_CXX
22542 # Flag to hardcode \$libdir into a binary during linking.
22543 # This must work even if \$libdir does not exist
22544 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
22546 # If ld is used when linking, flag to hardcode \$libdir into a binary
22547 # during linking. This must work even if \$libdir does not exist.
22548 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
22550 # Whether we need a single "-rpath" flag with a separated argument.
22551 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
22553 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
22554 # DIR into the resulting binary.
22555 hardcode_direct=$hardcode_direct_CXX
22557 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
22558 # DIR into the resulting binary and the resulting library dependency is
22559 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
22560 # library is relocated.
22561 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
22563 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
22564 # into the resulting binary.
22565 hardcode_minus_L=$hardcode_minus_L_CXX
22567 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
22568 # into the resulting binary.
22569 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
22571 # Set to "yes" if building a shared library automatically hardcodes DIR
22572 # into the library and all subsequent libraries and executables linked
22574 hardcode_automatic=$hardcode_automatic_CXX
22576 # Set to yes if linker adds runtime paths of dependent libraries
22577 # to runtime path list.
22578 inherit_rpath=$inherit_rpath_CXX
22580 # Whether libtool must link a program against all its dependency libraries.
22581 link_all_deplibs=$link_all_deplibs_CXX
22583 # Set to "yes" if exported symbols are required.
22584 always_export_symbols=$always_export_symbols_CXX
22586 # The commands to list exported symbols.
22587 export_symbols_cmds=$lt_export_symbols_cmds_CXX
22589 # Symbols that should not be listed in the preloaded symbols.
22590 exclude_expsyms=$lt_exclude_expsyms_CXX
22592 # Symbols that must always be exported.
22593 include_expsyms=$lt_include_expsyms_CXX
22595 # Commands necessary for linking programs (against libraries) with templates.
22596 prelink_cmds=$lt_prelink_cmds_CXX
22598 # Commands necessary for finishing linking programs.
22599 postlink_cmds=$lt_postlink_cmds_CXX
22601 # Specify filename containing input files.
22602 file_list_spec=$lt_file_list_spec_CXX
22604 # How to hardcode a shared library path into an executable.
22605 hardcode_action=$hardcode_action_CXX
22607 # The directories searched by this compiler when creating a shared library.
22608 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
22610 # Dependencies to place before and after the objects being linked to
22611 # create a shared library.
22612 predep_objects=$lt_predep_objects_CXX
22613 postdep_objects=$lt_postdep_objects_CXX
22614 predeps=$lt_predeps_CXX
22615 postdeps=$lt_postdeps_CXX
22617 # The library search path used internally by the compiler when linking
22618 # a shared library.
22619 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
22621 # ### END LIBTOOL TAG CONFIG: CXX
22632 ac_clean_files
=$ac_clean_files_save
22634 test $ac_write_fail = 0 ||
22635 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
22638 # configure is writing to config.log, and then calls config.status.
22639 # config.status does its own redirection, appending to config.log.
22640 # Unfortunately, on DOS this fails, as config.log is still kept open
22641 # by configure, so config.status won't be able to write to it; its
22642 # output is simply discarded. So we exec the FD to /dev/null,
22643 # effectively closing config.log, so it can be properly (re)opened and
22644 # appended to by config.status. When coming back to configure, we
22645 # need to make the FD available again.
22646 if test "$no_create" != yes; then
22648 ac_config_status_args
=
22649 test "$silent" = yes &&
22650 ac_config_status_args
="$ac_config_status_args --quiet"
22652 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
22654 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22655 # would make configure fail if this is the last instruction.
22656 $ac_cs_success || as_fn_exit
1
22658 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
22659 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
22660 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}